UPGRADABLE ELECTRONIC DEVICE AND METHOD FOR UPGRADING ELECTRONIC DEVICE
20230236826 · 2023-07-27
Inventors
Cpc classification
G06F8/654
PHYSICS
International classification
Abstract
An upgradable electronic device is disclosed. The electronic device includes: a main controller including a single-chip microcomputer including an internal memory and a processing unit; and a communication unit receiving upgrade data from outside the electronic device, wherein, when existing program data stored in a first area of the internal memory has a size less than or equal to a reference size, the processing unit updates the existing program data stored in the first area based on the upgrade data after backing the existing program data up to a second area of the internal memory, the second area being different from the first area.
Claims
1. An electronic device comprising: a main controller that includes an internal memory and a processor, the internal memory includes a first area and a second area different from the first area; and a communication device configured to receive upgrade data from outside the electronic device, wherein, when a size of existing program data stored in the first area of the internal memory is less than or equal to a reference size, the processor is configured to: back up the existing program data stored in the first area to the second area of the internal memory, and update the existing program data in the first area based on the received upgrade data.
2. The electronic device according to claim 1, wherein the internal memory is a nonvolatile memory.
3. The electronic device according to claim 1, wherein the reference size is less than or equal to half of an entire area of the internal memory excluding a boot sector of the internal memory.
4. The electronic device according to claim 1, wherein, when the back up of the existing program data to the second area is unsuccessful or when the size of the existing program data stored in the first area exceeds the reference size, the processor is to: control notification that data backup has failed, and update the existing program data stored in the first area based on the received upgrade data.
5. The electronic device according to claim 4, wherein, when the update of the existing program data stored in the first area is unsuccessful, the processor is to control data rollback to the first area based on the existing program data stored in the second area.
6. The electronic device according to claim 5, wherein, when the update of the existing program data stored in the first area is unsuccessful, the processor is to wait in a boot mode without stopping operation of the electronic device, if the backup of data is unsuccessful or the data rollback to the first area is unsuccessful.
7. The electronic device according to claim 1, wherein: the main controller includes an external memory mounted on a board having the processor and the internal memory mounted thereon; and when the size of the existing program data stored in the first area exceeds the reference size, the processor is to: back up the existing program data from the first area to the external memory, and update the existing program data stored in the first area after the back up of the existing program data to the external memory.
8. The electronic device according to claim 7, wherein, when the back up of the existing program data from the first area to the second area is unsuccessful, the processor is to: back up the existing program data from the first area to the external memory, and update the existing program data stored in the first area after the back up of the existing program data to the external memory.
9. The electronic device according to claim 7, wherein, when the back up of the existing program data from the first area to the external memory is unsuccessful, the processor is to: control notification that data backup has failed, and update the existing program data stored in the first area based on the received upgrade data.
10. The electronic device according to claim 8, wherein, when the update of the existing program data stored in the first area is unsuccessful, the processor is to control data rollback to the first area based on the existing program data stored in the external memory.
11. The electronic device according to claim 8, wherein, when the update of the existing program data stored in the first area is unsuccessful, the processor is to wait in a boot mode without stopping operation of the electronic device, if the backup of data is unsuccessful or the data rollback is unsuccessful.
12. A method for upgrading an electronic device that includes a controller having an internal memory and a processor, the internal memory including a first area and a second area different from the first area, the method comprising: backing up existing program data stored in the first area of the internal memory to the second area of the internal memory when a size of the existing program data is less than or equal to a reference size; and updating the existing program data stored in the first area based on upgrade data received from outside the electronic device.
13. The method according to claim 12, further comprising: notifying that data backup to the second area has failed when the backing up of the existing program data to the second area is unsuccessful or when the size of the existing program data stored in the first area exceeds the reference size.
14. The method according to claim 13, further comprising: controlling data rollback to the first area based on the existing program data stored in the second area when the updating of the existing program data in the first area is unsuccessful.
15. The method according to claim 14, further comprising: when the updating of the existing program data in the first area is unsuccessful, waiting in a boot mode without stopping operation of the electronic device, if the backup of data is unsuccessful or the data rollback is unsuccessful.
16. The method according to claim 12, further comprising: backing up the existing program data stored in the first area to an external memory when the size of the existing program data stored in the first area exceeds the reference size.
17. The method according to claim 12, further comprising: backing up the existing program data stored in the first area to an external memory when the backing up of the existing program data to the second area is unsuccessful.
18. The method of claim 16, further comprising: controlling data rollback to the first area based on the existing program data stored in the external memory when the updating of the existing program data is unsuccessful.
19. An electronic device comprising: a single chip that includes a first memory and a processor, the first memory having a first memory area and a second memory area different from the first area; and a communication device configured to receive upgrade data from outside the electronic device, wherein the processor is configured to: copy existing program data from the first memory area to the second memory area, and update the existing program data in the first memory area based on the received upgrade data, and perform data rollback of the existing program data from the second memory area to the first memory area.
20. The electronic device according to claim 19, comprising: a second memory disposed on a same board as the single chip, and wherein the processor is configured to: copy the existing program data from the first memory area to the second memory.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Arrangements and embodiments may be described in detail with reference to the following drawings in which like reference numerals refer to like elements and wherein:
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
DETAILED DESCRIPTION
[0016] The above and other objects, features, and advantages of the present disclosure will become apparent from the detailed description of the following embodiments in conjunction with the accompanying drawings. Description of known functions and constructions which may unnecessarily obscure the subject matter of the present disclosure will be omitted. Like components will be denoted by like reference numerals throughout the specification.
[0017] It will be understood that, although the terms “first”, “second”, and the like may be used herein to describe various elements and the like, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. Thus, unless stated otherwise, a first element discussed below could be termed a second element, or vice versa, without departing from the scope of the present disclosure.
[0018] In addition, when a component is referred to as being “connected to”, “coupled to” or “joined to” another component, these components may be connected, coupled, or joined to each other directly or through another component, or intervening component(s) may be “interposed” therebetween.
[0019] Throughout the specification, unless stated otherwise, each element may be singular or plural in number.
[0020] As used herein, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. Moreover, the terms “comprises”, “comprising”, “includes” and/or “including” when used in this specification, should not be construed to mean that a process, method, article, or apparatus comprising a list of elements or steps necessarily comprises all the elements or all the steps. Thus, such a process, method, article, or apparatus may be free from some of the elements or the steps, or may further include one or more other elements or steps.
[0021] Throughout the specification, the expression “A and/or B” means A, B, or A and B, unless stated otherwise, and the expression “C to D” means “greater than or equal to C and less than or equal to D”, unless stated otherwise.
[0022] Hereinafter, an upgradable home appliance, a management server for upgrading the home appliance, and a method for upgrading the home appliance according to some embodiments of the present disclosure will be described.
[0023]
[0024] The management server 100 may store information about electronic devices to be upgraded and information about electronic devices owned by each user.
[0025] The information about electronic devices to be upgraded may include program data for a most recent version of each electronic device to be upgraded. In some embodiments, the information about electronic devices to be upgraded may further include at least one of an identifier of each electronic device to be upgraded, program data for each previous version of the electronic device, and delta data derived from comparison between the program data for each previous version of the electronic device and the program data for the most recent version of the electronic device. Herein, program data is data related to operation of the electronic device, and refers to data that can improve functions of the electronic device or add new functions to the electronic device. For example, when the electronic device is an air conditioner, program data may be data for improving a program for adjusting at least one of air volume, airflow direction, and indoor temperature, may be data for improving images displayed on a display module or for displaying a new image, or may be data related to voice information provided by a voice information module.
[0026] The information about electronic devices owned by each user may include a user identifier and an identifier of an electronic device associated with the user identifier.
[0027] The management server 100 may determine whether to upgrade a corresponding electronic device and what upgrade method to use based on information about the electronic device. Details thereof will be described below.
[0028] In addition, the management server 100 may transmit data for upgrading each of the user devices 210, 220, 230, 240 (hereinafter, “upgrade data”). The upgrade data may include program data for a most recent version of a corresponding electronic device and/or delta data as described above. In some embodiments, the data transmitted by the management server 100 may further include a set of instructions that need to be executed by each of the user devices 210, 220, 230, 240. The management server 100 may determine what type of upgrade data to transmit or when to transmit the upgrade data based on determination as to whether to upgrade the corresponding electronic device and what upgrade method to use.
[0029] Each of the multiple user devices 210, 220, 230, 240 may include at least one electronic device. Here, the electronic device may include a variety of electronic devices, including a variety of home appliances, such as an air conditioner, an air purifier, a refrigerator, a washing machine, a steam closet, and a water purifier, mobile devices, such as a smartphone, and a variety of automotive electronic devices (for example, a device for autonomous driving, a device for controlling vehicle operation, and the like).
[0030] In addition, each of the multiple user devices 210, 220, 230, 240 may include at least one user terminal. The at least one electronic device may update program data in response to a file received from the management server 100 (that is, a file including the delta data and/or the set of instructions).
[0031] In the following description, a home appliance will be used as an example of an electronic device to be upgraded. However, it will be understood that the present disclosure is not limited thereto.
[0032]
[0033] The management server 100 may have the same functions as described in
[0034] The access point 300 may serve to relay communication between the management server 100 and the home appliances 410, 420, 500, 600. The access point 300 may be a Wi-Fi router.
[0035] Each of the multiple home appliances 410, 420, 430, 440, 500, 600 may perform a unique function through execution of a corresponding program.
[0036] The home appliances 410, 420, 430, 440 may be individual units of a split-type home appliance, wherein the individual units each have a predetermined function and are connected to one another. For example, a 1-1.sup.st home appliance 410, a 1-2.sup.nd home appliance 420, and a 1-3.sup.rd home appliance 430 may be indoor units of an air conditioner, each of which controls one of indoor temperature, humidity, and air quality, and a 1-4.sup.th home appliance 440 may be an outdoor unit of the air conditioner, which is connected to the indoor units. Here, indoor air quality may include the concentration of fine dust and/or the concentration of chemicals that cause odors and the like. In addition, the 1-1.sup.st home appliance 410 and the 1-2.sup.nd home appliance 420 may include a communication module (for example, a Wi-Fi module) for connection to the access point 300. In addition, the 1-1.sup.st home appliance 410, the 1-2.sup.nd home appliance 420, the 1-3.sup.rd home appliance 430, and the 1-4.sup.th home appliance 440 may include a communication module for intercommunication. Each of the 1-1.sup.st home appliance 410, the 1-2.sup.nd home appliance 420, and the 1-3.sup.rd home appliance 430 may control at least one of indoor air temperature, humidity, and fine dust concentration through execution of a corresponding program. The 1-4.sup.th home appliance 440 may control operation of at least one of a compressor and a fan through execution of a corresponding program.
[0037] Each of the second home appliance 500 and the third home appliance 600 may be an independent home appliance. For example, each of the second home appliance 500 and the third home appliance 600 may be one of various home appliances such as a washing machine, an air purifier, a steam closet, and a refrigerator. Each of the second home appliance 500 and the third home appliance 600 may include a communication module (for example, a Wi-Fi module).
[0038] The user terminal 700 may be a mobile terminal of a user who owns the multiple home appliances 410, 420, 430, 440, 500, 600.
[0039] In some embodiments, the access point 300 may be omitted. In this case, each of the home appliances 410, 420, 500, 600 may access the management server 100 via the Internet or the like. In this case, each of the home appliances 410, 420, 500, 600 may access the management server 100 via wired and/or electronic connection.
[0040] Although not shown, in one embodiment, the user device may further include a remote controller capable of controlling each of the multiple home appliances 410, 420, 430, 440, 500, 600. The remote control may transmit/receive data to/from a corresponding home appliance via near-field wireless communication. For example, the remote controller may transmit/receive data to/from a corresponding home appliance via Bluetooth. In one embodiment, besides the multiple home appliances 410, 420, 430, 440, 500, 600, the remote controller or other devices connected to the multiple home appliances may also be upgraded.
[0041]
[0042] The controller 110 may transmit program data stored in the storage unit 130. Here, the program data transmitted by the controller 110 may be program data for a most recent version of a corresponding home appliance. In some embodiments, the controller 110 may generate home appliance-specific delta data based on data stored in the storage unit 130 and may transmit the delta data to home appliances 410, 420, 500, 600 (see
[0043] In addition, the controller 110 may determine whether to upgrade a corresponding home appliance and what upgrade method to use based on information about the home appliance.
[0044] The controller 110 may include at least one processing unit and/or a memory. Here, the processing unit may include, for example, a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor, an application-specific integrated circuit (ASIC), and a field-programmable gate array (FPGA), and may have multiple cores. The memory may be a volatile memory (for example, RAM and the like), a nonvolatile memory (for example, ROM, flash memory, and the like), or a combination thereof.
[0045] The communication unit 120 may transmit signals outside the management server under the control of the controller 110. In addition, the communication unit 120 may receive signals from outside the management server and may transmit the received signals to the controller 110. The communication unit 120 may transmit/receive signals via wired and/or electronic connection. The communication unit 120 may include a modem, a network interface card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB port, or any other interface for communication with other computing devices.
[0046] Under the control of the controller 110, the storage unit 130 may store data received through the communication unit 120 and/or data processed by the controller 110. For example, the storage unit 130 may store at least one of a user identifier, an identifier of a home appliance associated with the user identifier, program data for each version of the home appliance, and delta data derived from comparison between program data for each previous version of the home appliance and program data for a most recent version of the home appliance.
[0047]
[0048] First, the management server 100 may receive product information from a corresponding home appliance (step S11). The product information may include at least one of a user identifier, a home appliance identifier, and a current version of a program for the home appliance.
[0049] Then, the management server 100 may determine whether to upgrade the home appliance and/or what upgrade method to use based on the product information (step S12).
[0050] For example, the management server 100 may determine whether to upgrade the home appliance by ascertaining user rights and/or services that a user uses using the user identifier. Alternatively, the management server 100 may determine whether to upgrade the home appliance based on the home appliance identifier. Alternatively, the management server 100 may determine whether to upgrade the home appliance by ascertaining whether the current version of the program for the home appliance is the most recent version or not.
[0051] In addition, the management server 100 may determine what upgrade method to use based on at least one of functions to be upgraded, size of upgrade data, format of the upgrade data, estimated transmission time of the upgrade data, and the home appliance identifier. For example, the management server 100 may determine an appropriate upgrade method depending on the functions to be upgraded. Alternatively, the management server 100 may determine what upgrade method to use by comparing the size of the upgrade data with at least one reference size. Alternatively, the management server 100 may determine what upgrade method to use according to whether the upgrade data includes instructions. Alternatively, the management server 100 may determine what upgrade method to use by identifying the type of home appliance to be upgraded or connectivity of a communication unit of the corresponding home appliance using the home appliance identifier. Alternatively, the management server 100 may determine what upgrade method to use by ascertaining how long it takes to transmit the upgrade data based on the size of the upgrade data and the home appliance identifier.
[0052] According to one embodiment of the present disclosure, upgrade methods may include, for example, a general upgrade in which the entirety of data including a program executing functions to be upgraded is transmitted to a corresponding home appliance and then the home appliance is upgraded based on the entirety of the transmitted data; a delta upgrade in which delta data as described above is transmitted to a corresponding home appliance and then the home appliance is upgraded based on the delta data; and an automatic upgrade in which the upgrade data is transmitted to a corresponding home appliance before receipt of an acceptance of upgrade from a user and then the home appliance is upgraded upon the user accepting upgrade.
[0053] According to the general upgrade and the delta upgrade, the management server 100 may transmit the upgrade data after receiving an acceptance of upgrade from a user. In addition, according to the general upgrade and the delta upgrade, the upgrade data may be transmitted to the home appliance (more specifically, a functional module of the home appliance) after a unique operation of the home appliance is stopped.
[0054] Herein, the unique operation of the home appliance refers to an operation that the home appliance performs to provide an original function thereof. For example, for an air conditioner, an operation of controlling a compressor or a fan to perform cooling or heating may be the unique operation. For a washing machine, an operation of controlling a motor or a valve to wash laundry may be the unique operation. For a refrigerator, an operation of controlling a compressor or a fan to adjust or maintain the internal temperature may be the unique operation.
[0055] According to the automatic upgrade, the upgrade data may be transmitted to the home appliance (more specifically, a functional module of the home appliance) regardless of whether the unique operation of the home appliance is stopped or not. That is, according to the automatic upgrade, some or all of the upgrade data may be transmitted to the home appliance (more specifically, a functional module of the home appliance) while the home appliance performs the unique operation.
[0056] In one embodiment of the present disclosure, the management server 100 may determine the automatic upgrade as an appropriate upgrade method if the upgrade data has a size greater than or equal to a first reference size. And/or, the management server 100 may determine the delta upgrade as an appropriate upgrade method if the upgrade data has a size less than the first reference size. And/or, the management server 100 may determine the general upgrade as an appropriate upgrade method if the upgrade data has a size less than a second reference size smaller than the first reference size. The first reference size may be 1 MB. The second reference size may be 128 kB. This is because, if the upgrade data has a size greater than the first reference size, it takes a lot of time to complete data transmission even when the delta upgrade is employed. This is also because, if the upgrade data has a size less than the second reference size, it does not take much time to complete data transmission even when the delta upgrade is not employed.
[0057] Alternatively, in one embodiment of the present disclosure, the management server 100 may determine the automatic upgrade as an appropriate upgrade method if an estimated transmission time of the upgrade data is longer than or equal to a first reference time. And/or, the management server 100 may determine the delta upgrade as an appropriate upgrade method if an estimated transmission time of the upgrade data is less than the first reference time. And/or, the management server 100 may determine the general upgrade as an appropriate upgrade method if an estimated transmission time of the upgrade data is less than a second reference time shorter than the first reference time. The first reference time may be 20 minutes. The second reference time may be 2 minutes.
[0058] Alternatively, in one embodiment of the present disclosure, the management server 100 may determine the general upgrade or the delta upgrade as an appropriate upgrade method if traffic on a communication line used by a home appliance to be upgraded and/or a functional module of the home appliance is greater than or equal to a reference rate with respect to the capacity of the communication line. And/or, the management server 100 may determine the automatic upgrade as an appropriated upgrade method if the traffic on the communication line used by the home appliance to be upgraded and/or the functional module of the home appliance is less than the reference rate with respect to the capacity of the communication line. This is because, if the traffic on the communication line is greater than usual, it takes a lot of time to transmit the upgrade data even when the automatic upgrade is employed.
[0059] Alternatively, in one embodiment of the present disclosure, the management server 100 may determine the automatic upgrade as an appropriate upgrade method if the upgrade data does not include instructions.
[0060] The management server 100 may determine what upgrade method to use by considering at least two of the aforementioned criteria in combination.
[0061] Then, the management server 100 may provide upgrade information to the home appliance and/or the user terminal 700 and then may receive an acceptance of upgrade from the home appliance and/or the user terminal 700 (step S13). In addition, the management server 100 may transmit the upgrade data to the home appliance (step S14).
[0062] The order of steps S13 to S14 may be changed. That is, when the general upgrade or the delta upgrade is employed, the management server 100 may perform step S14 after step S13. In addition, when the automatic upgrade is employed, the management server 100 may perform step S13 before step S14.
[0063] Then, the management server 100 may request the home appliance to execute an upgrade operation.
[0064]
[0065] The first communication unit 810 may receive data from the management server 100 (see
[0066] The storage unit 811 may store data received from the management server 100 (see
[0067] The transceiver 812 may transmit data stored in the storage unit 811 to the controller 820.
[0068] The controller 820 may store a program for implementing functions of a corresponding home appliance, and may execute the stored program to cause the home appliance to perform a specific function. In addition, the controller 820 may update the stored program in response to data received from the communication unit 810.
[0069] The processing unit 821 may include a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), and the like, and may have multiple cores.
[0070] The first storage unit 822 may be a nonvolatile memory. For example, the first storage unit 822 may be a flash memory. The first storage unit 822 may store the program described above.
[0071] The second storage unit 823 may be a volatile memory. For example, the second storage unit 823 may be a RAM. A portion of program data stored in the first storage unit 822 may be loaded into the second storage unit 823, and the program data stored in the second storage unit 823 may be written to a specific area of the first storage unit 822.
[0072] The third storage unit 830 may be a nonvolatile memory. The third storage unit may be one selected from among a flash memory, a magnetic storage, and an optical storage. The program for implementing functions of the home appliance may also be stored in the third storage unit 830.
[0073] The processing unit 821, the first storage unit 822, and the second storage unit 823 may be implemented by a single chip. That is, the controller 820 may include a single-chip microcomputer including the processing unit 821 and an internal memory. The internal memory may include the first storage unit 822 and/or the second storage unit 823.
[0074] The controller 820 and the third storage unit 830 may be mounted on the same board. Here, the first communication unit 810 may also be mounted on the same board as the controller 820 and the third storage unit 830.
[0075]
[0076] The 1-1.sup.st home appliance 410 may include a first communication unit 411, a main controller 412, and a second communication unit 413. In some embodiments, the 1-1.sup.st home appliance 410 may further include at least one of a display module 414, a voice information module 415, and a sensor unit 416.
[0077] The first communication unit 411 may receive data from a management server 100 (see
[0078] The main controller 412 may receive data from the first communication unit 411 and may transmit the received data to the second communication unit 413. When the data received from the first communication unit 411 is data used in the display module 414 and/or the voice information module 415, the main controller 412 may also transmit the data to the display module 414 and/or the voice information module 415. The main controller 412 may have the same configuration as the controller 820 of
[0079] When the 1-1.sup.st home appliance 410 is an indoor unit of an air conditioner, the main controller 412 may control the overall operation of the indoor unit of the air conditioner. For example, the main controller 412 may control the speed or direction of air discharged from the indoor unit according to settings prescribed by a user (for example, a target temperature, air speed, mode, or the like). To this end, the main controller 412 may control a fan motor inside the indoor unit and/or a motor for adjusting the angle of vanes adapted to adjust the direction of the discharged air. In order to implement such an operation, a relatively large-sized program may be required. Accordingly, the main controller 412 may include a microcomputer including an internal memory and an external memory separate from the microcomputer. The internal memory of the microcomputer may include a volatile memory and/or a nonvolatile memory. The external memory may generally be a nonvolatile memory.
[0080] The second communication unit 413 may transmit/receive data to/from at least one of the 1-2nd home appliance 420, the 1-3.sup.rd home appliance 430, and the 1-4.sup.th home appliance 440. The second communication unit 413 may transmit/receive data via asynchronous serial communication. Asynchronous serial communication allows straightforward implementation of hardware of a corresponding home appliance. In addition, the second communication unit 413 may transmit/receive data at a rate of 4,800 bps to 4 Mbps. Preferably, the second communication unit 413 transmits/receives data at a rate of 9,600 bps. As described above, the 1-1.sup.st home appliance 410 may be an indoor unit of an air conditioner, and the 1-4.sup.th home appliance 440 may be an outdoor unit of the air conditioner. Considering the distance between indoor and outdoor units of an air conditioner in a typical installation environment and surroundings thereof, the communication speed within the above range can ensure reliable communication while shortening the time required for data transmission. For example, the second communication unit 413 may include a universal asynchronous receiver/transmitter (UART), and may transmit/receive data via RS485 communication. The second communication unit 413 may include a buffer to temporarily store data.
[0081] The display module 414 may visually display various types of information for user convenience. For example, the display module 414 may display at least one of information related to operation of a corresponding home appliance, information related to the condition of the home appliance, and other daily life-related information. The display module 414 may be operated under the control of the main controller 412, or may include a separate display controller. Predetermined data may be transmitted from the management server to drive the display module 414. The display module 414 may receive the data via the main controller 412.
[0082] The voice information module 415 may provide various types of voice information for user convenience. Similar to the display module 414, the voice information module 415 may provide at least one of voice information related to operation of a corresponding home appliance, voice information related to the condition of the home appliance, and other daily life-related voice information. The voice information module 415 may be operated under the control of the main controller 412, or may include a separate voice controller. Predetermined data may be transmitted from the management server to drive the voice information module 415. The voice information module 415 may receive the data via the main controller 412.
[0083] The sensor unit 416 may acquire information related to operation of a corresponding home appliance. For example, when the home appliance is an air conditioner, the sensor unit 416 may detect at least one of indoor temperature, the temperature of air discharged from the air conditioner, indoor humidity, and the temperature and/or pressure of a circulating refrigerant. The sensor unit 416 may include at least one sensor.
[0084] The 1-2.sup.nd home appliance 420 may have substantially the same configuration as the 1-1.sup.st home appliance 410. That is, a first communication unit 421, a main controller 422, a second communication unit 423, a display module 424, a voice information module 425, and a sensor unit 426 may be substantially the same as the first communication unit 411, the main controller 412, the second communication unit 413, the display module 414, the voice information module 415, and the sensor unit 416, respectively.
[0085] The 1-3.sup.rd home appliance 430 may be substantially the same as the 1-1.sup.st home appliance except that the first communication unit described above is omitted therefrom. That is, a main controller 432, a second communication unit 433, a display module 434, a voice information module 435, and a sensor unit 436 may be substantially the same as the main controller 412, the second communication unit 413, the display module 414, the voice information module 415, and the sensor unit 416, respectively.
[0086] A main controller 442 and a second communication unit 443 of the 1-4.sup.th home appliance 440 may be substantially the same as the main controller 412 and the second communication unit 413 of the 1-1.sup.st home appliance 410, respectively. As described above, the 1-4.sup.th home appliance 440 may be an outdoor unit of an air conditioner. In this case, the 1-4.sup.th home appliance 440 may further include a compressor 444, a fan 445, and the like. The main controller 442 may control the compressor 444 and/or the fan 445 using a program contained in data received from the 1-1.sup.st home appliance 410. The 1-4.sup.th home appliance 440 may also include a sensor unit 446 that acquires information related to operation of a corresponding home appliance. When the 1-4.sup.th home appliance 440 is an outdoor unit of an air conditioner, the sensor unit 446 may detect at least one of the pressure or temperature of a refrigerant, outdoor temperature, and outdoor humidity. The sensor unit 446 may include at least one sensor.
[0087] When the 1-4.sup.th home appliance 440 is an outdoor unit of an air conditioner, the main controller 442 may control a cycle implemented by a compressor and a vaporizer. That is, the main controller 442 may control various valves through calculation of the operating frequency of the compressor 444 and the rpm of a fan motor driving the fan 445 based on readings received from the sensor unit 446 and/or settings prescribed by a user. In order to implement these functions, a relatively large-sized program is required. Accordingly, the main controller 442 may include a microcomputer including a processing unit and an internal memory and an external memory separate from the microcomputer. The internal memory may include a volatile memory and/or a nonvolatile memory.
[0088] Although not shown, the 1-4.sup.th home appliances 440 may further include a compressor controller that controls the compressor and/or a motor controller that controls the fan motor. The compressor controller may control the compressor to operate at an operating frequency input from the main controller 442. The motor controller unit may control the fan motor to operate at an rpm input from the main controller 442. Each of the compressor controller and the motor controller may include a microcomputer including a processing unit and an internal memory. In addition, a program for implementing the operations of the compressor controller and the motor controller unit may have a relatively small size. Accordingly, the compressor controller and the motor controller may not include an external memory.
[0089] Although an air conditioner including one outdoor unit and three indoor units connected to the outdoor unit is illustrated as an example of an electronic device to be upgraded in
[0090]
[0091] First, an upgrade start message that notifies of upgrade start may be received from the first communication unit 810 or 411 (see
[0092] Then, a backup of existing program data (that is, currently executed program data) may be made (step S22). Here, the existing program data may be backed up to a nonvolatile memory inside a microcomputer or to a nonvolatile memory separate from the microcomputer. For example, the existing program data may be stored in a first area of the internal memory of the microcomputer. In this case, the program data that is stored in the first area in step S22 may be copied into a second area of the internal memory of the microcomputer or into an external memory outside the microcomputer. Details of step S22 will be described below with reference to
[0093] Then, upgrade may be executed (step S23). That is, the program data stored in the first area of the internal memory of the microcomputer may be updated based on upgrade data received from outside the electronic device.
[0094] Then, a determination may be made as to whether data rollback is needed or not, and data rollback may be performed depending on the determination result (step S24). Details of step S24 will be described later with reference to
[0095]
[0096] As described above, the main controllers 412, 422, 432, 442 (see
[0097] First, the size of currently stored program data may be ascertained (step S31). For example, the size of the program data may be ascertained by writing specific data to an end of an execution file of the program data and identifying an address where the specific data is written. Here, the program data may be stored in a first area of an internal memory of a microcomputer (for example, the second storage unit 823 of
[0098] Then, a determination is made as to whether the size of the currently stored program data (that is, existing program data) is less than or equal to a reference size (step S32). The reference size may be less than or equal to half of an available area of the internal memory of the microcomputer. More specifically, the reference size may be set to 40% to 50% (for example, 50%) of the available area of the internal memory of the microcomputer. Here, the available area refers to the entire area of the internal memory excluding the boot sector. In step S32, the processing unit may determine whether the size of the existing program data currently stored in the internal memory is less than or equal to half of the entire area of the internal memory excluding the boot sector.
[0099] When a determination is made in step S32 that the size of the existing program data is less than or equal to the reference size, the existing program data may be stored in a second area of the internal memory of the microcomputer (that is, a second area of the second storage unit 822 if the main controllers 412, 422, 432, 442 (see
[0100] Then, a determination may be made as to whether data backup is successful or not (step S34). In step S34, the processing unit may determine whether data backup is successful by checking a checksum or by various other methods.
[0101] When a determination is made in step S32 that the size of the existing program data exceeds the reference size or when a determination is made in step S34 that data backup is unsuccessful, a determination may be made as to whether there is an external memory outside the microcomputer (step S35). Here, the external memory may be the third storage unit 830 of
[0102] In some embodiments, in step S35, a further determination may be made as to whether there is an external memory in other home appliances connected to the home appliance to be upgraded. For example, in step S35, the main controller 442 (see
[0103] When a determination is made in step S32 that there is an available external memory, the existing program data may be stored in the external memory (step S36).
[0104] Then, a determination may be made as to whether backup of the existing program to the external memory is successful or not (step S37). Step S37 may be performed in a similar manner to step S34.
[0105] When a determination is made in step S34 that the existing program data has been successfully stored in the internal memory of the microcomputer or when a determination is made in step S37 that the existing program data has been successfully stored in the external memory, the processing unit may confirm that backup of the existing program data has succeeded (step S38) and may terminate the data backup process.
[0106] When a determination is made in step S35 that there is no available external memory or when a determination is made in step S37 that backup of the existing program data to the external memory is unsuccessful, the processing unit may confirm that backup of the existing program data has failed (step S39) and may terminate the data backup process.
[0107] In some embodiments, the order of the steps of
[0108] When the electronic device is an air conditioner, the electronic device may include an indoor unit main controller that controls an indoor unit (or an indoor part in the case of an integrated air conditioner), an outdoor unit main controller that controls the overall operation of an outdoor unit (or an outdoor part in the case of an integrated air conditioner), a compressor controller that controls the operation of the compressor, and a motor controller that controls the operation of an outdoor fan. Each of the controllers may include a microcomputer including a processing unit and an internal memory. In addition, each of the indoor unit main controller and the outdoor unit main controller may include an external memory and may need relatively large-sized program data for the operation thereof. Each of the compressor controller and the motor controller may not include an external memory and may need relatively small-sized program data for operation thereof. Accordingly, the processing unit of the microcomputer of each of the indoor unit main controller and the outdoor unit main controller may back existing program data up to the external memory. In contrast, the processing unit of the microcomputer of each of the compressor controller and the motor controller may back existing program data up to the internal memory.
[0109]
[0110] First, a checksum of updated new program data may be calculated (step S41).
[0111] Then, a determination may be made as to whether the checksum of the new program data is correct or not (step S42).
[0112] When a determination is made in step S42 that the checksum of the new program data is not correct, a determination may be made as to whether there is a backup of existing program data (step S43).
[0113] When a determination is made in step S43 that there is a backup of the existing program data, data rollback may be performed (step S44). The existing program data backed up to the second area of the internal memory or to the external memory may be copied into the first area of the internal memory to perform data rollback. Alternatively, if the existing program data is in the state of being backed up to the second area of the internal memory, data rollback may be performed by changing the start address upon program execution from a previous one to a start address of the second area.
[0114] Then, a determination may be made as to whether data rollback is successful or not (step S45). In step S45, the processing unit may determine whether data rollback is successful by checking a checksum or by various other methods.
[0115] When a determination is made in step S42 that the checksum of the new program data is correct or when a determination is made in step S45 that data rollback is successful, the processing unit may terminate the electronic device upgrade process while terminating a boot mode (step S46).
[0116] When a determination is made in step S43 that there is no backup of the existing program data or when a determination is made in step S45 that data rollback is unsuccessful, the processing unit may wait in the boot mode without stopping operation of the electronic device (step S47).
[0117] In step S47, the main controller 412, 422, 432, or 442 may notify a user that upgrade has not been successfully completed and then may perform the step of executing upgrade (step S23 of
[0118] In some embodiments, some of the steps shown in
[0119]
[0120] First, the first communication unit 810 may request home appliance-related information (product information) from the controller 820 (step S101). Here, the product information may be a home appliance identifier. The home appliance identifier may include at least one of a serial number and model name of a corresponding home appliance. In step S101, the management server 100 may request the home appliance-related information from the first communication unit 810 and, in response thereto, the first communication unit 810 may request the home appliance-related information from the controller 820.
[0121] Then, in response to the request for product information, the controller 820 may reply to the first communication unit 810 with the home appliance-related information (for example, the home appliance identifier) (step S102).
[0122] Then, the first communication unit 810 may request information about whether there are upgrades to be made to the home appliance from the management server 100 (step S103). Here, the first communication unit 810 may transmit the home appliance-related information (for example, the home appliance identifier) to the management server 100. In addition, the first communication unit 810 may further transmit user information to the management server 100. The first communication unit 810 may transmit/receive data to/from the management server 100 through a repeater. Here, the repeater may be the access point of
[0123] Then, the management server 100 may reply to the first communication unit 810 with upgrade information (step S104). Here, the upgrade information may include at least one of information about whether there are upgrades to be made to the corresponding home appliance, which is identified based on the home appliance-related information, and information about the content or details of the upgrades. To this end, the management server 100 may determine whether to upgrade the home appliance. In addition, the management server 100 may determine what upgrade method to use. For example, the management server 100 may determine what upgrade method to use by identifying the details of the upgrades. Examples of upgrade methods may include full upgrade, differential upgrade, and background upgrade.
[0124] In addition, the management server 100 may also provide the upgrade information to the user terminal 700 (step S105). The management server 100 may retrieve information about a user of the home appliance from the storage unit 130 (see
[0125] Then, when the user accepts upgrade of the home appliance using the user terminal 700, information about upgrade acceptance may be transmitted from the user terminal 700 to the management server 100 (step S106).
[0126] Alternatively, the user may accept upgrade of the home appliance using an input/output unit of the home appliance, instead of using the user terminal 700.
[0127] In response to user acceptance of upgrade, the management server 100 may send an upgrade start request to the communication unit 810 (step S107). In some embodiments, the management server 100 may determine what upgrade method to use in this step. How to determine what upgrade method to use will be easily understood by referring to the description of step S104.
[0128] In response to the upgrade start request from the management server 100, the first communication unit 810 may send a file transmission request to the management server 100 (step S108).
[0129] In response to the file transmission request from the communication unit 810, the management server 100 may transmit a file including data for upgrade of the home appliance to the first communication unit 810 (step S109). Here, the data may include at least one of program data for a most recent version of the home appliance, delta data, and/or a set of instructions.
[0130] Then, the first communication unit 810 and the controller 820 may update a program for the home appliance using the file received from the management server 100 (step S110).
[0131] When upgrade is completed, the first communication unit 810 may send a reply indicating completion of upgrade to the management server 100 (step S111).
[0132] In response to the reply from the first communication unit 810 that indicates completion of upgrade, the management server 100 may provide information about completion of upgrade to the user terminal (step S112).
[0133] As described above, the controller 820 of
[0134]
[0135] First, the management server 100 may request information about the 1-3.sup.rd home appliance 430 from the first communication unit 411 of the 1-1.sup.st home appliance 410 (step S121). Similar to that described in
[0136] The request for product information transmitted from the management server 100 to the first communication unit 411 may be delivered to the main controller 432 of the 1-3.sup.rd home appliance 430 through the main controller 412 of the 1-1.sup.st home appliance 410, the second communication unit 413 of the 1-1.sup.st home appliance 410, and the second communication unit 433 of the 1-3.sup.rd home appliance 430 (steps S122 to S125).
[0137] In response to the request for product information, the main controller 432 of the 1-3.sup.rd home appliance 430 may reply to the management server 100 with the information about the 1-3.sup.rd home appliance (for example, the identifier of the 1-3.sup.rd home appliance) through the second communication unit 433 of the 1-3.sup.rd home appliance 430, the second communication unit 413 of the 1-1.sup.st home appliance 410, the main controller 412 of the 1-1.sup.st home appliance 410, and the first communication unit 411 of the 1-1.sup.st home appliance 410 (steps S126 to S130).
[0138] Then, the management server 100 may reply with the upgrade information described above. More specifically, the management server 100 may provide the upgrade information to the main controller 432 of the 1-3.sup.rd home appliance 430 through the first communication unit 411 of the 1-1.sup.st home appliance 410, the main controller 412 of the 1-1.sup.st home appliance 410, the second communication unit 413 of the 1-1.sup.st home appliance 410, and the second communication unit 433 of the 1-3.sup.rd home appliance 430 (steps S133 to S137). In addition, the management server 100 may also provide the upgrade information to the user terminal 700 (step S132). The management server 100 may retrieve information about a user of a corresponding home appliance from the storage unit 130 (see
[0139] Then, the management server 100 may receive an acceptance of upgrade. More specifically, the management server 100 may receive the acceptance of upgrade from the main controller 432 of the 1-3.sup.rd home appliance 430 through the second communication unit 433 of the 1-3.sup.rd home appliance 430, the second communication unit 413 of the 1-1.sup.st home appliance 410, the main controller 412 of the 1-1.sup.st home appliance 410, and the first communication unit 411 of the 1-1.sup.st home appliance 410. For example, the 1-3.sup.rd home appliance 430 may display the upgrade information on a display unit (for example, a display panel or LED) and then may send the acceptance of upgrade to the management server 100 in response to user input received through an input unit (a touchpad, switch, or remote controller). Alternatively, when the user accepts upgrade using the user terminal 700, information about upgrade acceptance may be transmitted from the user terminal 700 to the management server 100 (step S143).
[0140] Then, the management server 100 may determine what upgrade method to use (step S144). For example, the management server 100 may determine what upgrade method to use by identifying the details of upgrades to be made. Examples of upgrade methods may include full upgrade, differential upgrade, and background upgrade.
[0141] Then, in response to user acceptance of upgrade, the management server 100 may send an upgrade start request to the first communication unit 411 (step S145).
[0142] In response to the upgrade start request from the management server 100, the first communication unit 411 may send a file transmission request to the management server 100 (step S146).
[0143] In response to the file transmission request from the communication unit 810, the management server 100 may transmit a file including data for upgrade of the corresponding home appliance to the first communication unit 411 (step S147). Here, the upgrade data may include program data for a most recent version of the home appliance, delta data, and/or a set of instructions.
[0144] At least one of the first communication unit 411 of the 1-1.sup.st home appliance 410, the main controller 412 of the 1-1.sup.st home appliance 410, and the second communication unit 413 of the 1-1.sup.st home appliance 410, the second communication unit 433 of the 1-3.sup.rd home appliance 430, and the main controller 432 of the 1-3.sup.rd home appliance 430 may upgrade the home appliance using the received file (step S148). A process of upgrading the home appliance may include at least one of transmitting data and replacing data stored in the home appliance with data in the received file.
[0145] In step S148, the first communication unit 411 may transmit the upgrade data when the home appliance does not perform a unique operation thereof. In some embodiments, the first communication unit 411 may transmit the upgrade data after temporarily stopping the unique operation of the home appliance.
[0146] When upgrade is completed, the first communication unit 411 may send a reply indicating completion of upgrade to the management server 100 (step S149).
[0147] In response to the reply from the first communication unit 411 that indicates completion of upgrade, the management server 100 may provide information about completion of upgrade to the user terminal (step S150).
[0148]
[0149] In
[0150] More specifically, when the management server 100 receives home appliance-related information from the 1-3.sup.rd home appliance 430, the management server 100 may determine whether to upgrade a corresponding home appliance and what upgrade method to use (step S131-1). Here, step S131-1 may be the same as step S131 and step S144 of
[0151] Then, the management server 100 may send an upgrade start request to the first communication unit 411 (step S131-2). Then, in response to the upgrade start request from the management server 100, the first communication unit 411 may send a file transmission request to the management server 100 (step S131-3). Then, in response to the file transmission request from the first communication unit 411, the management server 100 may transmit a file including data for upgrade of the home appliance to the first communication unit 411 (step S131-4). Here, steps S131-2 to S131-4 may be the same as steps S145 to S147 of
[0152] Then, in response to user acceptance of upgrade, the management server 100 may send an upgrade execution request to the first communication unit 411. Then, in response to the upgrade execution request from the management server 100, at least one of the first communication unit 411 of the 1-1.sup.st home appliance 410, the main controller 412 of the 1-1.sup.st home appliance 410, the second communication unit 413 of the 1-1.sup.st home appliance 410, the second communication unit 433 of the 1-3.sup.rd home appliance 430, and the main controller 432 of the 1-3.sup.rd home appliance 430 may upgrade the home appliance using the received file (step S148).
[0153] Although
[0154]
[0155] First, the management server 100 may send a request for product information to the first communication unit 411 of the 1-1.sup.st home appliance 410 (step S161).
[0156] Then, the first communication unit 411 may transmit the request for product information received from the management server 100 to the main controller 412 (step S162).
[0157] Then, in response to the request for product information, the main controller 412 may transmit the product information to the first communication unit 411 (step S163).
[0158] Then, the first communication unit 411 may transmit the product information received from the main controller 412 to the management server 100 (step S164).
[0159] Then, the management server 100 may determine whether to upgrade a corresponding home appliance and what upgrade method to use (step S165).
[0160] Then the management server 100 may send an upgrade start request to the first communication unit 411 (step S166).
[0161] Then, in response to the upgrade start request, the first communication unit 411 may send a file transmission request to the management server 100 (step S167).
[0162] Then, in response to the file transmission request from the first communication unit 411, the management server 100 may transmit a file including upgrade data to the first communication unit 411 (step S168).
[0163] Then, the file transmitted to the first communication unit 411 may be delivered to the display module 414 through the main controller 412 (steps S169 and S170).
[0164] When receipt of the file is completed, the display module 414 may transmit a receipt acknowledgement message to the main controller 412 (step S171).
[0165] Then, the receipt acknowledgement message received by the main controller 412 may be transmitted to the management server 100 through the first communication unit 411 (steps S172 and S173).
[0166] Then, the management server 100 may provide upgrade information. More specifically, the management server 100 may provide the upgrade information to the display module 414 of the 1-1.sup.st home appliance through the first communication unit 411 of the 1-1.sup.st home appliance 410 and the main controller 412 of the 1-1.sup.st home appliance 410 (steps S175 to S177). In addition, the management server 100 may also provide the upgrade information to the user terminal 700 (step S174). The management server 100 may retrieve information about a user of the home appliance from the storage unit 130 (see
[0167] Then, the management server 100 may receive an acceptance of upgrade. More specifically, the management server 100 may receive an acceptance of upgrade from the display module 414 of the 1-1.sup.st home appliance through the main controller 412 of the 1-1.sup.st home appliance 410 and the first communication unit 411 of the 1-1.sup.st home appliance 410 (steps S178 to S180). Alternatively, if a user accepts upgrade using the user terminal 700, information about upgrade acceptance may be transmitted from the user terminal 700 to the management server 100 (step S181).
[0168] Then, in response to user acceptance of upgrade, the management server 100 may send an upgrade execution request to the first communication unit 411 (step S182).
[0169] Then, the upgrade execution request received from the management server 100 may be delivered to the display module 414 through the main controller 412 (steps S183 and S184).
[0170] Then, in response to the upgrade execution request, the display module 414 may execute an upgrade operation (step S185).
[0171] When upgrade is completed, the display module 414 may send a reply indicating completion of upgrade to the management server 100 through the main controller 412 and the first communication unit 411 (steps S186 to S188).
[0172] Then, in response to the reply from the first communication unit 411 that indicates completion of upgrade, the management server 100 may provide information about completion of upgrade to the user terminal 700 (step S189).
[0173] Although
[0174] In addition, upgrade of the display module or the voice information module of the 1-2.sup.nd home appliance 420 or the 1-3.sup.rd home appliance 430 may also be performed in a similar way to that described in
[0175] Further, although not shown, upgrade of a specific functional module of the home appliance may also be performed in a similar way to that described in
[0176] Although
[0177] Embodiments of the present disclosure provide an upgradable electronic device and a method for upgrading the electronic device, which can ensure normal operation of the electronic device even when an error occurs during upgrade of the electronic device.
[0178] Embodiments of the present disclosure provide an upgradable electronic device and a method for upgrading the electronic device, which can ensure reliable rollback when upgrade of the electronic device fails.
[0179] Embodiments of the present disclosure provide an upgradable electronic device and a method for upgrading the electronic device, which can ensure more rapid upgrade of the electronic device.
[0180] The above and other objects and advantages of the present disclosure will become apparent from the detailed description of the following embodiments in conjunction with the accompanying drawings. In addition, it will be readily understood that the objects and advantages of the present disclosure can be realized by features set forth in the appended claims or combinations thereof.
[0181] An electronic device and a method according to embodiments of the present disclosure provide a rollback process in which a storage area for backup of existing program data is selected depending on the memory situation of a controller.
[0182] An electronic device and a method according to embodiments of the present disclosure provide a rollback process in which existing program data is backed up to a built-in memory of a microcomputer when the existing program data has a size less than or equal to half of a memory space of the built-in memory of the microcomputer.
[0183] In accordance with one aspect of the present disclosure, there is provided an electronic device including: a main controller including a single-chip microcomputer including an internal memory and a processing unit; and a communication unit receiving upgrade data from outside the electronic device, wherein, when existing program data stored in a first area of the internal memory has a size less than or equal to a reference size, the processing unit updates the existing program data stored in the first area based on the upgrade data after backing the existing program data up to a second area of the internal memory, the second area being different from the first area.
[0184] In one embodiment, the internal memory may be a nonvolatile memory.
[0185] In one embodiment, the reference size may be less than or equal to half of the entire area of the internal memory excluding a boot sector.
[0186] In one embodiment, when the process of backing the existing program data stored in the first area up to the second area of the internal memory is unsuccessful or when the existing program data stored in the first area has a size exceeding the reference size, the processing unit may confirm that data backup has failed and may update the existing program data stored in the first area based on the upgrade data.
[0187] In one embodiment, when the process of updating the existing program data stored in the first area is unsuccessful, the processing unit may perform data rollback based on the existing program data stored in the second area.
[0188] In one embodiment, when the process of updating the existing program data stored in the first area is unsuccessful, the processing unit may wait in a boot mode, if failure of data backup is confirmed or data rollback is unsuccessful.
[0189] In one embodiment, the main controller may further include an external memory mounted on a board having the microcomputer mounted thereon and, when the existing program data stored in the first area has a size exceeding the reference size, the processing unit may update the existing program data stored in the first area after backing the existing program data up to the external memory.
[0190] In one embodiment, when the process of backing the existing program data stored in the first area up to the second area is unsuccessful, the processing unit may update the existing program data stored in the first area after backing the existing program data up to the external memory.
[0191] In one embodiment, when the process of backing the existing program data stored in the first area up to the external memory is unsuccessful, the processing unit may confirm that data backup has failed and may upgrade the existing program data stored in the first area based on the upgrade data.
[0192] In one embodiment, when the process of updating the existing program data stored in the first area is unsuccessful, the processing unit may perform data rollback based on the existing program data stored in the external memory.
[0193] In one embodiment, when the process of updating the existing program data stored in the first area is unsuccessful, the processing unit may wait in a boot mode, if failure of data backup is confirmed or data rollback is unsuccessful.
[0194] In accordance with another aspect of the present disclosure, there is provided a method for upgrading an electronic device including a single-chip microcomputer including an internal memory and a processing unit, the method including: backing existing program data stored in a first area of the internal memory up to a second area of the internal memory different from the first area when the existing program data has a size less than or equal to a reference size; and updating the existing program stored in the first area based on upgrade data received from outside the electronic device.
[0195] In one embodiment, the method may further include: confirming that data backup has failed when the step of backing the existing program data stored in the first area up to the second area of the internal memory is unsuccessful or when the existing program data stored in the first area has a size exceeding the reference size.
[0196] In one embodiment, the method may further include: performing data rollback based on the existing program data stored in the second area when the step of updating the existing program data is unsuccessful.
[0197] In one embodiment, the method may further include: when the step of updating the existing program data stored in the first area is unsuccessful, waiting in a boot mode, if failure of data backup is confirmed or data rollback is unsuccessful.
[0198] In one embodiment, the method may further include: backing the existing program data stored in the first area up to an external memory mounted on a board having the microcomputer mounted thereon when the existing program data stored in the first area has a size exceeding the reference size.
[0199] In one embodiment, the method may further include: backing the existing program data stored in the first area up to an external memory mounted on a board having the microcomputer mounted thereon when the step of backing the existing program data up to the second area is unsuccessful.
[0200] In one embodiment, the method may further include: performing data rollback based on the existing program data stored in the external memory when the step of updating the existing program data is unsuccessful.
[0201] The apparatus and the method according to embodiments of the present disclosure can ensure easy and efficient upgrade of electronic devices.
[0202] The apparatus and the method according to embodiments of the present disclosure can ensure normal operation of an electronic device even when an error occurs during upgrade of the electronic device.
[0203] The apparatus and the method according to embodiments of the present disclosure can ensure reliable rollback when upgrade of an electronic device fails.
[0204] The apparatus and the method according to embodiments of the present disclosure can ensure more rapid upgrade of an electronic device.
[0205] The above and other effects of the present disclosure will become apparent from the following detailed description of the present disclosure.
[0206] Although some exemplary embodiments have been described herein, it should be understood by those skilled in the art that these embodiments are given by way of example only, and that various modifications, variations, and alterations can be made without departing from the spirit and scope of the present disclosure. In addition, although advantageous effects provided by a certain configuration are not clearly described in description of the exemplary embodiments, it should be noted that expectable effects of the corresponding configuration should be acknowledged.
[0207] It will be understood that when an element or layer is referred to as being “on” another element or layer, the element or layer can be directly on another element or layer or intervening elements or layers. In contrast, when an element is referred to as being “directly on” another element or layer, there are no intervening elements or layers present. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.
[0208] It will be understood that, although the terms first, second, third, etc., may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another region, layer or section. Thus, a first element, component, region, layer or section could be termed a second element, component, region, layer or section without departing from the teachings of the present invention.
[0209] Spatially relative terms, such as “lower”, “upper” and the like, may be used herein for ease of description to describe the relationship of one element or feature to another element(s) or feature(s) as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation, in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as “lower” relative to other elements or features would then be oriented “upper” relative to the other elements or features. Thus, the exemplary term “lower” can encompass both an orientation of above and below. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
[0210] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
[0211] Embodiments are described herein with reference to cross-section illustrations that are schematic illustrations of idealized embodiments (and intermediate structures). As such, variations from the shapes of the illustrations as a result, for example, of manufacturing techniques and/or tolerances, are to be expected. Thus, embodiments should not be construed as limited to the particular shapes of regions illustrated herein but are to include deviations in shapes that result, for example, from manufacturing.
[0212] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
[0213] Any reference in this specification to “one embodiment,” “an embodiment,” “example embodiment,” etc., means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with any embodiment, it is submitted that it is within the purview of one skilled in the art to effect such feature, structure, or characteristic in connection with other ones of the embodiments.
[0214] Although embodiments have been described with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure. More particularly, various variations and modifications are possible in the component parts and/or arrangements of the subject combination arrangement within the scope of the disclosure, the drawings and the appended claims. In addition to variations and modifications in the component parts and/or arrangements, alternative uses will also be apparent to those skilled in the art.