Air conditioner, method for updating the same, computer program, and storage medium
By segregating firmware data into safety-critical and non-critical areas within the air conditioner's storage unit, updates are performed only in the non-critical area, ensuring safety and efficiency in firmware updates.
Patent Information
- Application Number
- JP2023020092
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-13
- Publication Date
- 2024-08-23
AI Technical Summary
Conventional air conditioner firmware update methods lack sufficient security and usability, potentially compromising product safety and requiring excessive communication and time due to complete storage unit rewriting.
The air conditioner's storage unit is divided into a first area for critical safety data and a second area for other data, allowing updates to occur only in the second area, thereby preserving safety and reducing the amount of data to be updated.
This approach enhances safety by preventing unintentional rewriting of safety-critical data and reduces communication and update time, improving overall usability during firmware updates.
Smart Images

Figure 2024114368000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an air conditioner, an updating method for updating firmware for the air conditioner, a computer program, and a storage medium. [Background technology]
[0002] With the current development of the Internet of Things (IoT), it is now possible to update the firmware (FW) of home appliances via the Internet, as described in Patent Document 1. The air conditioner described in Patent Document 1 updates its firmware by downloading it from an external server via a communication network. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6597747 Summary of the Invention [Problem to be solved by the invention]
[0004] Conventional air conditioners can update their own FW. However, conventional update methods leave room for improvement in safety and usability.
[0005] An object of the present disclosure is to provide an air conditioner, an updating method thereof, a computer program, and a storage medium that improve safety and usability during FW updating. [Means for solving the problem]
[0006] In order to solve the above-mentioned problems, the present disclosure provides an air conditioner, an updating method thereof, a computer program, and a storage medium.
[0007] An air conditioner according to one aspect of the present disclosure includes a storage unit and a control unit. The storage unit is a storage unit for storing firmware (FW) of the air conditioner, and includes a first area and a second area. Data relating to product safety in the FW is stored in the first area, and the remaining data in the FW is stored in the second area. The control unit is configured to obtain FW data for update when updating the FW, and to update the second area of the storage unit using the obtained FW data for update without updating the first area of the storage unit.
[0008] Another aspect of the update method according to the present disclosure is a method for updating firmware of an air conditioner. The air conditioner includes a storage unit for storing FW of the air conditioner. The storage unit includes a first area and a second area. Data relating to product safety in the FW is stored in the first area, and the remaining data in the FW is stored in the second area. The update method includes the steps of acquiring FW data for update, and updating the second area of the storage unit using the acquired FW data for update without updating the first area of the storage unit.
[0009] Furthermore, a computer program according to another aspect of the present disclosure causes an air conditioner to execute the above-described updating method.
[0010] A storage medium according to another aspect of the present disclosure is a non-transitory computer-readable storage medium having a computer program stored therein. When the computer program is executed by a processor, the above-described update method is realized. Effect of the Invention
[0011] According to the air conditioner, the updating method thereof, the computer program, and the storage medium disclosed herein, it is possible to improve safety and usability during FW updating. [Brief description of the drawings]
[0012] [Figure 1] A block diagram showing an example of a schematic configuration of an air conditioner. [Diagram 2] An example of FW stored in the memory unit [Diagram 3] Flowchart of an example of an updating method [Figure 4] An example of a specified area in the memory DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] First, various aspects of an air conditioner, an updating method thereof, a computer program, and a storage medium will be described.
[0014] An air conditioner according to a first aspect of the present disclosure includes a storage unit and a control unit. The storage unit is a storage unit for storing firmware (FW) of the air conditioner, and includes a first area and a second area. Data relating to product safety in the FW is stored in the first area, and the remaining data in the FW is stored in the second area. The control unit is configured to obtain FW data for update when updating the FW, and to use the obtained FW data for update to update the second area of the storage unit without updating the first area of the storage unit.
[0015] In the air conditioner of the second aspect according to the present disclosure, in the first aspect, the data stored in the first area may include data related to control to stop operation of the air conditioner.
[0016] The air conditioner of the third aspect according to the present disclosure may further include a communication unit capable of communicating with a server associated with the air conditioner in the second aspect. The data stored in the first area may include data regarding control when communication with the communication unit is interrupted.
[0017] The air conditioner of a fourth aspect according to the present disclosure may further include a compressor in the second or third aspect. The data stored in the first area may include data related to control when the compressor has an abnormal rotation.
[0018] The air conditioner of a fifth aspect according to the present disclosure is any one of the second to fourth aspects and may further include at least one fan motor. The data stored in the first area may include data related to control when the fan motor is locked.
[0019] In the air conditioner of a sixth aspect according to the present disclosure, in any one of the second to fifth aspects, the data stored in the first area may include data relating to control when a refrigerant leaks.
[0020] An air conditioner of a seventh aspect according to the present disclosure is any one of the second to sixth aspects, wherein the data stored in the first area may include data relating to control when an abnormality occurs in the refrigeration cycle.
[0021] In the air conditioner of an eighth aspect according to the present disclosure, in any one of the second to seventh aspects, the data stored in the first area may include data relating to control when tracking occurs due to water leakage.
[0022] The air conditioner of a ninth aspect according to the present disclosure is any one of the second to eighth aspects and may further include a four-way valve. The data stored in the first area may include data related to control by the four-way valve when an anomaly occurs in switching between heating and cooling operation.
[0023] In the air conditioner of a tenth aspect according to the present disclosure in any one of the first to ninth aspects, the storage unit can be set so that the first area is prohibited from being rewritten when updating the FW.
[0024] In an air conditioner of an eleventh aspect of the present disclosure, in a tenth aspect, the memory unit can be configured so that when updating the FW, rewriting is prohibited for addresses corresponding to the first area or for memory blocks contained in the first area.
[0025] In an air conditioner of a twelfth aspect of the present disclosure, in any one of the first to eleventh aspects, the control unit may be further configured to, when updating the FW, extract data relating to a specific control item from the FW data for update, and partially update the second area using the extracted data.
[0026] In an air conditioner of a thirteenth aspect of the present disclosure, in any one of the first to twelfth aspects, the control unit may be further configured to obtain update FW data by downloading the update FW from a server associated with the air conditioner.
[0027] An updating method according to a fourteenth aspect of the present disclosure is a method for updating firmware of an air conditioner. The air conditioner includes a memory unit for storing FW of the air conditioner. The memory unit includes a first area and a second area. Data relating to product safety in the FW is stored in the first area, and the remaining data in the FW is stored in the second area. The updating method includes a step of acquiring FW data for updating, and a step of updating the second area of the storage unit using the acquired FW data for updating without updating the first area of the storage unit.
[0028] A computer program according to a fifteenth aspect of the present disclosure causes an air conditioner to execute the updating method according to the fourteenth aspect.
[0029] A storage medium according to a sixteenth aspect of the present disclosure is a non-transitory computer-readable storage medium having a computer program stored therein. When the computer program is executed by a processor, the update method according to the fourteenth aspect is realized.
[0030] 《Technical concept》 Before describing specific embodiments of an air conditioner, an update method thereof, a computer program, and a storage medium according to the present disclosure, the technical concept described in the present disclosure will be described using an example. In this example, the air conditioner includes at least one storage unit and a control unit. The storage unit is a storage unit for storing firmware (FW) of the air conditioner. In general, a ROM (Read Only Memory), such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) or a flash ROM (flash ROM), is used as the storage unit for storing FW.
[0031] Conventionally, when updating the FW in the storage unit, a new FW is downloaded from a server, and the current FW stored in the storage unit is completely rewritten with the downloaded FW. That is, even if the old and new FWs contain the same data (for example, an air conditioner identifier, data related to a specific control item, etc.), the entire storage unit is completely rewritten. However, the FW of an air conditioner is often designed to be related to product safety, such as for an electrically driven rotating object such as a compressor and a refrigerant. If an area related to product safety in the storage unit is unintentionally rewritten by a FW update, it may affect product safety and may cause damage to the user. Alternatively, if an error occurs in the rewriting operation in an area related to product safety during a FW update, it may affect product safety. In addition, an update method that completely rewrites the entire storage unit regardless of the contents of the FW requires downloading and rewriting data equivalent to the capacity of the storage unit, which requires a corresponding amount of communication traffic, download time, and update time.
[0032] The main concept of the update method of the present disclosure is to divide the storage unit of the present disclosure into at least two areas, and not to rewrite the area in which the data on the product safety of the air conditioner is stored when updating the FW. In this example, the storage unit includes a first area and a second area. In the FW, data on the product safety of the air conditioner is stored in the first area, and the remaining data in the FW is stored in the second area. In this example, the control unit of the air conditioner acquires FW data for update when updating the FW, and updates only the second area without updating the first area using the acquired FW data for update. Since the first area in which the data on product safety is stored is not rewritten, it is possible to avoid affecting product safety and causing damage to the user in the FW update, and it is possible to improve safety during the FW update. In addition, since the amount of data to be acquired and updated is smaller than in the past, it is possible to reduce the communication amount, download time, and update time (time to rewrite the storage unit) for the FW update, and it is possible to improve the usability during the FW update.
[0033] The embodiments described below are examples of the present disclosure. The numerical values, shapes, configurations, steps, and order of steps shown in the following embodiments are examples and do not limit the present disclosure. Among the components in the following embodiments, components that are not described in an independent claim showing a top concept are described as optional components.
[0034] In the embodiments described below, there may be cases where modified examples are shown for specific elements, and other elements include appropriate combinations of any configuration, and the combined configurations provide the respective effects. In the embodiments, the respective modified configurations are combined to provide the respective effects of the respective modified configurations.
[0035] In the following detailed description, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as expressing or implying the relative importance or ranking of technical features. Features qualified as "first" and "second" expressly or imply the inclusion of one or more of that feature.
[0036] Hereinafter, embodiments of an air conditioner, an updating method thereof, a computer program, and a storage medium according to the present disclosure will be described in detail with reference to the drawings as appropriate.
[0037] <Embodiment> Fig. 1 is a block diagram showing an example of a schematic configuration of an air conditioner. Fig. 1 is a schematic diagram created from the perspective of causing an air conditioner to execute an update method and its computer program, and from the perspective of the relationship between the air conditioner and another external device. The air conditioner 10 executes the air conditioner update method and appropriately updates the firmware (FW).
[0038] 1, the air conditioner 10 includes a memory unit 11, a control unit 12, and a communication unit 13. The air conditioner 10 may further include components such as various sensors 14, a compressor 15, at least one fan 16, and a four-way valve 18 in order to perform its functions. The fan 16 has a fan motor 17 for rotating the fan 16. The air conditioner 10 may include a display for displaying visual information to a user.
[0039] The air conditioner 10 can be connected to a server 40 and / or a terminal device 50 via the communication unit 13. For example, as described below, the air conditioner 10 may be connected to the server 40 via the Internet. The air conditioner 10 may be connected to the terminal device 50 via the Internet or infrared rays, etc. The terminal device 50 may be a smartphone of a user of the air conditioner 10, or a remote controller for the air conditioner 10. The air conditioner 10 may also be directly or indirectly connected to an external information source 60 and acquire part of the information required for temperature control, humidity control, or ventilation control from the external information source 60.
[0040] Below, an overview of each component will be given.
[0041] <Air conditioner 10> The air conditioner 10 treats, for example, the interior space of a room in a home or office as a controlled space that is the target of air conditioning control. The air conditioner 10 may have an indoor unit provided on a wall or ceiling of the controlled space, and an outdoor unit provided outdoors, in a central air-conditioned room, or the like, other than the controlled space. The air conditioner 10 has, for example, a cooling / heating function, a ventilation function, a dehumidifying / humidifying function, and / or an air cleaning function.
[0042] <Storage section 11> The air conditioner 10 includes at least one storage unit 11. One storage unit 11 is a storage unit for storing the FW of the air conditioner. In one embodiment, the storage unit 11 for storing the FW is a rewritable ROM. For example, the storage unit 11 may be a ROM such as an EEPROM or a flash memory, or may be a combination of a ROM and another storage device. As will be described later, the control unit 11 may be a memory separate from the memory that functions as a work area for the control unit 12.
[0043] The storage unit 11 for storing the FW is divided into at least two areas. Below, the update method of the present disclosure will be described using an example in which the storage unit 11 for storing the FW is divided into a first area 11a and a second area 11b, but is not limited to this division form.
[0044] 2 is an example of a FW stored in the storage unit 11. The first area 11a and the second area 11b are spaces that are logically or physically divided in terms of memory management and can store data in the storage unit 11. In one embodiment, the storage unit 11 is a rewritable ROM, and the first area 11a and the second area 11b are storage areas defined by specific addresses or memory blocks. The first area 11a and the second area 11b each store different parts of one FW, that is, the first area 11a and the second area 11b store one FW together.
[0045] Data relating to product safety in FW is stored in the first area 11a, and the remaining data in FW is stored in the second area 11b. For example, suppose that data relating to a control item "motor operation" that controls the operation of fan motor 17 that rotates fan 16 is data relating to product safety. In this case, the data relating to "motor operation" is stored in the first area 11a. Meanwhile, the remaining data in FW, i.e., data not relating to product safety, is stored in the second area 11b. The "data relating to product safety in FW" stored in the first area 11a will be described in detail later.
[0046] The air conditioner 10 may further include a third area 11c, which is a memory that functions as a working area for the control unit 12. In FIG. 1, the third area 11c that functions as a working area for the control unit 12 belongs to the same storage unit 11 as the first area 11a and the second area 11b. However, the third area 11c may be included in another storage unit 11. The other storage unit 11 may be, for example, a flash memory or a RAM (Random Access Memory). The third area 11c may store criteria or thresholds for performing the various functions described above. The third area 11c may store various information acquired from the sensor 14. Information acquired from an external information source 60 may also be stored in the third area 11c. These pieces of information may be read out by the control unit 12 when the various functions described above are performed.
[0047] Furthermore, the third area 11c of the storage unit 11 may store an update program for causing the control unit 12 to execute the update method.
[0048] <Control unit 12> The control unit 12 is a controller that controls at least some of the functions of the air conditioner 10. The control unit 12 includes a general-purpose processor such as a CPU, MPU, MCU, FPGA, DSP, or ASIC that executes a program to realize a predetermined function. The control unit 12 can realize various controls in the air conditioner 10 by calling and executing a control program stored in the storage unit 11. The control unit 12 can also work with the storage unit 11 to read and write data stored in the storage unit 11. The control unit 12 is not limited to a controller that realizes a predetermined function through the cooperation of hardware and software, and may be a hardware circuit designed specifically to realize the predetermined function.
[0049] The control unit 12 can communicate with the server 40 via the communication unit 13. Similarly, the control unit 12 can receive various commands and setting values by the user (e.g., a command to start the supply air humidification operation / supply air humidification mode of the air conditioner 10, a humidity setting command) from the terminal device 50 via the communication unit 13. The control unit 12 controls each component of the air conditioner 10 so as to perform various functions such as the cooling and heating function of the air conditioner 10 based on these setting values and detection values (e.g., indoor humidity, user's location) received from the various sensors 14. The control unit 12 also performs FW updates of the air conditioner 10 based on an update method described below.
[0050] <Communications Division 13> The communication unit 13 can also communicate with the server 40, the user's terminal device 50, etc., and can also transmit and receive Internet packets, for example. The control unit 12 can download a new FW from the server 40 via the communication unit 13. As described above, the control unit 12 may also cooperate with the server 40 and / or the terminal device 50 via the communication unit 13. The communication unit 13 may communicate between the server 40, the air conditioner 10, and the terminal device 50 in accordance with standards such as Wi-Fi (registered trademark), IEEE802.2, IEEE802.3, 3G, and LTE, and transmit and receive data. The communication unit 13 may communicate via the Internet, an intranet, an extranet, a LAN, ISDN, a VAN, a CATV communication network, a virtual private network, a telephone line network, a mobile communication network, a satellite communication network, infrared rays, or Bluetooth (registered trademark).
[0051] <Sensor 14> The sensor 14 is for acquiring various information from outside the air conditioner 10 in order to fulfill the functions of the air conditioner 10. For example, the sensor 14 may include at least one of a human presence sensor that detects the number and location of users in the controlled space and their activity status, an indoor temperature and humidity sensor that detects the temperature and humidity in the controlled space, an outdoor temperature and humidity sensor that detects the temperature and humidity outside the controlled space, an indoor air quality sensor that detects the quality of air in the controlled space, etc. The information detected by the sensor 14 is input and stored in the third area 11c of the memory unit 11, and is later used by the control unit 12 or transmitted to the terminal device 50 or the server 40.
[0052] <Server 40> The server 40 is a server for providing FW for updating to at least one air conditioner 10, but may be used for other purposes. For example, the server 40 may be a management server of a manufacturer of the air conditioner 10 for managing at least one air conditioner 10 or for collecting data. Alternatively, the server 40 may be an application server.
[0053] The storage unit of the server 40 stores FW to be provided to the air conditioner 10. In one embodiment, multiple FWs corresponding to various models, model numbers, sales regions, etc. of the air conditioner 10 are generated in advance by the manufacturing company or management company of the air conditioner 10 and stored in the server 40. In addition to the latest version of the FW, the server 40 may save at least a portion of previous versions of the FW, and may also store the publication history of the FW. Furthermore, the server 40 may store information such as the version information, required memory size, and identification number of each FW, as well as the model, model number, sales region, etc. of the air conditioner 10 corresponding to the FW, and the server 40 can cross-reference the information based on this information.
[0054] <Terminal device 50> The terminal device 50 is a device related to the air conditioner 10. The terminal device 50 may be, for example, a controller for the air conditioner 10, or a controller capable of managing and controlling a plurality of types of home appliances. The terminal device 50 may also be an information terminal capable of performing data communication with the air conditioner 10, such as a smartphone, a mobile phone, a tablet, a wearable device, or a computer incorporating a dedicated related application 52.
[0055] <External information sources 60> The external information source 60 is an information source that provides information about services not directly related to the air conditioner 10 or information outside the controlled space, such as weather information or information about the air quality in a specific area. For example, the external information source 60 may be a website of the Japan Meteorological Agency. The server 40 may transfer information acquired from the external information source 60 to the air conditioner 10 or the terminal device 50. The air conditioner 10 may directly connect to the external information source 60 and acquire part of the information required for various functions from the external information source 60, or may indirectly connect to the external information source 60 via the server 40 or the terminal device 50 to acquire the required information.
[0056] So far, the configuration and operation of the air conditioner 10 according to the present disclosure have been schematically described. From here on, the features of the air conditioner 10, its update method, computer program, and storage medium according to the present disclosure will be described.
[0057] <Data related to product safety in FW> In one embodiment, the storage unit 11 for storing the FW is divided into a first area 11a for storing data related to product safety in the FW and a second area 11b for storing the remaining data in the FW. When updating the FW, the control unit 12 does not update the first area 11a in which the data related to product safety is stored, that is, does not rewrite the first area 11a.
[0058] First, the FW has control items for various components of the air conditioner 10. For example, there are controls for the operation of the compressor 15, controls for the operation of the fan motor 17, controls for the flap operation of the air direction louver, and the like. The data related to control includes how each component operates in which situation, how each component operates when it fails or malfunctions, or parameters and setting values related to control. The data related to control can be classified as to whether it is data related to control for stopping the operation of the air conditioner 10. The data classified as "data related to control for stopping the operation of the air conditioner 10" is stored in the first area 11a, and the remaining data is stored in the second area 11b.
[0059] Certain failures or abnormalities may affect the product safety of the air conditioner 10 and cause harm to the user. For example, if the compressor 15 breaks down and causes the indoor temperature to drop or rise excessively, this may be harmful to the user's health. In response to such failures or abnormalities, the control unit 12 performs control based on the FW to stop the operation of the entire air conditioner 10 before the parts become uncontrollable or the operation cannot be stopped. Data related to such control items that may lead to a failure or the like and ultimately to the operation stop of the main body of the air conditioner 10 is classified as "data related to control to stop the operation of the air conditioner 10."
[0060] The data stored in the first area 11a may also include data related to errors (failures or abnormalities) specified in regulations regarding the air conditioner 10. The location (e.g., country, region) in which the air conditioner 10 is installed may have regulations regarding the air conditioner 10, such as regulations regarding the safety of the air conditioner 10. Such regulations may specify errors that should cause the operation of the air conditioner 10 to be stopped, or other errors related to product safety. When an error specified in a regulation exists, for example, data related to that error is stored in the first area 11a.
[0061] Hereinafter, a more specific example of "data relating to product safety in FW", that is, data stored in the first area 11a will be described.
[0062] The data stored in the first area 11a may include data regarding control when communication of the communication unit 13 is interrupted. When communication of the communication unit 13 is interrupted, the air conditioner 10 cannot communicate with the server 40 and / or the terminal device 50, and cannot be controlled by the server 40 and / or the terminal device 50. In order to monitor the operation of the air conditioner 10 and ensure safe use of the air conditioner 10, operation of the entire air conditioner 10 may be stopped when communication of the communication unit 13 is interrupted for a certain period of time. As an example, if wireless communication by the communication unit 13 cannot be performed for a certain period of time, the control unit 12 stops operation of the entire air conditioner 10. In this case, for example, such data regarding control when communication of the communication unit 13 is interrupted is stored in the first area 11a.
[0063] The data stored in the first area 11a may include data regarding control when the compressor 15 rotates abnormally. In one embodiment, the air conditioner 10 has a sensor 14 for detecting the number of revolutions of the compressor 15. The control unit 12 can determine whether the compressor 15 is operating according to the specified rotation value or whether the compressor 15 is out of step by monitoring the detected number of revolutions of the compressor 15. Since the rotation of the compressor 15 plays an important role in heating and cooling operation, there is a possibility that the heating and cooling operation will not be performed correctly due to a rotation abnormality, and the user may be harmed. In order to ensure the safe use of the air conditioner 10, the control unit 12 may stop the operation of the entire air conditioner 10 when it is determined that the compressor 15 has a rotation abnormality such as a step-out. In this case, for example, such data regarding control when the compressor 15 rotates abnormally is stored in the first area 11a.
[0064] The data stored in the first area 11a may include data related to control when the fan motor 17 is locked abnormally. The fan motor 17 is a motor for rotating the fan of the indoor unit or the fan of the outdoor unit of the air conditioner 10. The lock abnormality refers to an abnormality in which the motor is in a state where it does not rotate (locked state). When the fan motor 17 is locked abnormally, there is a possibility that the cooling / heating operation, the ventilation operation, and the dehumidification / humidification operation will not be performed correctly. In order to ensure product safety, the control unit 12 may stop the operation of the entire air conditioner 10 when it is determined that the fan motor 17 is locked. In this case, for example, such data related to control when the fan motor 17 is locked abnormally is stored in the first area 11a.
[0065] The data stored in the first area 11a may include data related to control in the event of a refrigerant leak. In one embodiment, the air conditioner 10 has a sensor 14 that is provided outside the refrigerant piping and detects leakage of refrigerant gas. The sensor 14 corresponds to the type of refrigerant. When a refrigerant leak occurs, the toxicity or flammability of the refrigerant may cause harm to the environment, the health of the user, or the safety of the user. In order to eliminate such a risk, when the control unit 12 detects a refrigerant leak, the control unit 12 may stop the compressor 15, mix the air to reduce the concentration of the refrigerant, and then stop the operation of the entire air conditioner 10. In this case, for example, such data related to control in the event of a refrigerant leak is stored in the first area 11a.
[0066] The data stored in the first area 11a may include data related to control when the refrigeration cycle is abnormal. For example, if the refrigerant continues to leak, the amount of refrigerant flowing through the refrigeration cycle decreases, resulting in a gas shortage. When there is an abnormality in the refrigeration cycle, the cooling and heating functions cannot be performed effectively. The control unit 12 may monitor the frequency of the compressor 15, the expansion valve, the current, and other conditions. When the monitored conditions satisfy the conditions specified as a refrigeration cycle abnormality, the control unit 12 may determine that the refrigeration cycle has run out of gas and an abnormality has occurred, and may stop the operation of the entire air conditioner 10. In this case, for example, such data related to control when the refrigeration cycle is abnormal is stored in the first area 11a.
[0067] The data stored in the first area 11a may include data related to control when tracking (also called tracking phenomenon) occurs due to water leakage. When a water leak occurs in the air conditioner 10, an electric circuit is formed at the location of the leak, and there is a possibility that a spark will occur due to a short circuit in the electric circuit (i.e., tracking will occur). Since tracking may lead to a fire, the control unit 12 may stop the operation of the entire air conditioner 10 when it determines that tracking has occurred or may occur. In this case, for example, such data related to control when tracking occurs due to water leakage is stored in the first area 11a.
[0068] The data stored in the first area 11a may include data related to control when an abnormality occurs in switching between heating and cooling operation by the four-way valve 18. When the four-way valve 18 breaks down, the flow of the refrigerant may not follow the heating and cooling operation that should be performed. The control unit 12 may monitor the indoor temperature via an indoor temperature sensor. For example, when the indoor temperature continues to drop during heating operation, the control unit 12 may determine that an abnormality has occurred in switching between heating and cooling operation and that the four-way valve 18 has broken down. When it is determined that the four-way valve 18 has broken down, the control unit 12 may stop the operation of the entire air conditioner 10. In this case, for example, such data related to control when an abnormality occurs in switching between heating and cooling operation by the four-way valve 18 is stored in the first area 11a.
[0069] Although specific examples of data related to product safety in some FWs have been described above, the present invention is not limited to these. Other data related to product safety or combinations of these data can be stored in the first area 11a. Data that is not directly related to product safety but should not be overwritten can also be stored in the first area 11a.
[0070] The remaining data in the FW, i.e., data not related to product safety, is stored in the second area 11b. For example, suppose the air conditioner 10 includes a display device such as an LED (light-emitting diode) for displaying the operation mode. Even if the LED malfunctions, the possibility of harming product safety is extremely low, so data related to the control of the LED is stored in the second area 11b.
[0071] <How to update the FW of the air conditioner 10> The control unit 12 executes a method for updating the air conditioner 10. According to this updating method, it is possible to improve safety and usability during FW updating.
[0072] 3 is a flowchart of an example of an update method, and the update method includes steps S100 and S200. In one embodiment, the control unit 12 executes steps S100 and S200 when the air conditioner 10 starts updating the FW in response to a command from a user. In another embodiment, the control unit 12 determines that there is new FW to be applied in response to a notification from the server 40, automatically starts updating the FW, and executes steps S100 and S200.
[0073] When a FW update is started, the control unit 12 first acquires FW data for the update (step S100). In one embodiment, the control unit 12 acquires the FW data for the update by downloading the FW for the update from a server 40 associated with the air conditioner 10. In one embodiment, the control unit 12 downloads the FW for the update from the terminal device 50 or the server 40 via an associated application 52 in the terminal device 50. In one embodiment, the control unit 12 acquires the FW data for the update from an input device of the air conditioner 10 or a connection port for connecting to an external device.
[0074] The FW data for updating may be data corresponding to the second area 11b, or may be data corresponding to the entire storage unit 11. As will be described later, the FW data for updating may be data corresponding to a part of the second area 11b, for example, data related to a specific control item.
[0075] Then, the control unit 12 uses the acquired FW data for update to update the second area 11b of the storage unit 11 without updating the first area 11a of the storage unit 11 (step S200). In step S200, the control unit 12 does not rewrite the first area 11a. The control unit 12 updates only the second area 11b by deleting the data therein and writing data in the new FW corresponding to the second area 11b to the second area 11b.
[0076] In one embodiment, the storage unit 11 may be set so that the first area 11a is write-protected when updating the FW. The write-protect setting may be realized by software means. For example, the storage unit 11 may be set so that the address corresponding to the first area 11a or the memory block included in the first area 11a is write-protected when updating the FW.
[0077] Suppose that the air conditioner 10 includes another storage unit 11 different from the storage unit 11 for storing the FW, the other storage unit 11 includes a third area 11c, and an update program for updating the FW is stored in the third area 11c. In one example, a flag indicating whether the memory block is rewritable or not is attached to each memory block of the storage unit 11. For memory blocks included in the first area 11a, the flag is set to indicate that the memory block is not rewritable. When processing a command to rewrite the storage unit 11, the control unit 12 determines the flag of the memory block to be rewritten. If it is determined that the flag of the memory block to be rewritten is set to indicate that the memory block is not rewritable, the control unit 12 does not execute the command to rewrite the memory block.
[0078] In another example, the update program sets an address or memory block number corresponding to the first area 11a as a prohibition list. When updating the FW, the data in the first area 11a is not deleted based on the address or memory block number. When processing a command to rewrite the memory unit 11, the control unit 12 checks the address or memory block number of the object to be rewritten against the prohibition list. If the object to be rewritten corresponds to the prohibition list, the control unit 12 does not execute the command to rewrite.
[0079] The write protection setting may also be implemented by hardware means. For example, the first area 11a may have a structure that makes it physically impossible to rewrite data that has been written therein.
[0080] When the FW data acquired in S100 includes data corresponding to the second region 11b and other data, the control unit 12 can extract the data to be updated, i.e., the data corresponding to the second region 11b, from the acquired FW data. In one example, the server 40 transmits a command to the air conditioner 10 specifying which part of the FW data for update is the data to be updated. The control unit 12 receives the command, extracts the data to be updated based on the command, and updates the second region 11b with the data to be updated. In another example, the control unit 12 determines the data to be updated by comparing the acquired FW data with the current FW. Based on the determination result, the control unit 12 extracts the data to be updated from the acquired FW data, and updates the second region 11b with the data to be updated.
[0081] As a result, the control unit 12 completes the process of updating the FW of the air conditioner 10. Since the first area 11a in which the data related to product safety is stored is not updated, it is possible to avoid affecting product safety and causing damage to the user by the FW update, and the safety during the FW update can be improved. In addition, data related to control when a communication failure, a failure related to an electrically-driven rotating object such as the compressor 15 and the fan motor 17, an error due to a refrigerant leak or water leak, etc. occurs is stored in the first area 11a, which is prohibited from being rewritten, as data related to product safety. Therefore, when an abnormality or error related to product safety occurs, the control unit 12 can read the corresponding data from the first area 11a and reliably deal with the abnormality or error. Furthermore, since the amount of data to be acquired and updated during the FW update is smaller than in the past, the communication amount, download time, and update time for the FW update can be reduced, and the usability during the FW update can be improved.
[0082] <Example of change> In this modified example, when updating the FW, the control unit 12 can partially update the second area 11b. The content of the new FW to be updated may have relatively few differences from the current FW. For example, only the control of a specific component or the control of a specific function may be changed. If only the changed parts are downloaded and updated, the FW can be updated more efficiently.
[0083] FIG. 4 is an example of the designated area R1 of the storage unit 11. Suppose that in a new FW, data related to voice actions is changed, but other data is not changed. The portion in the second area 11b of the storage unit 11 in which data related to voice actions is stored is set as the designated area R1. In one embodiment, the control unit 12 downloads only data related to voice actions from the server 40, and rewrites the designated area R1 with the downloaded data. In another embodiment, the control unit 12 downloads FW data for update, which includes data related to voice actions and other data, from the server 40. Then, when updating the FW, the control unit 12 extracts data related to a specific control item, i.e., data related to voice actions, from the FW data for update, and rewrites the designated area R1 with the extracted data.
[0084] When downloading both the data corresponding to the designated area R1 and FW data for updating including other data from the server 40, the control unit 12 can extract the data corresponding to the designated area R1 as follows. In one example, the designated area R1 or the data corresponding to the designated area R1 is designated by the server 40. The control unit 12 receives a command representing the designation, and extracts the data corresponding to the designated area R1 based on the command. In another example, the control unit 12 compares the acquired FW data with the current FW data, and determines the different portion of the two data as the designated area R1. The control unit 12 extracts the data corresponding to the designated area R1 from the acquired FW data based on the determination result.
[0085] In this way, the amount of data to be acquired and updated during a FW update can be further reduced, and the communication traffic, download time, and update time required for a FW update can also be further reduced, further improving usability during a FW update.
[0086] In one embodiment, the air conditioner 10 includes a computer program used to execute the update method as described above. The computer program causes the control unit 12 of the air conditioner 10 to execute the update method.
[0087] In one embodiment, the air conditioner 10 has a non-transitory computer-readable storage medium in which a computer program is stored. When the computer program is executed by the processor (control unit 12), the update method of the present disclosure is realized. The storage medium may be the same as the third area 11c of the air conditioner 10, may be included in the third area 11c, or may be a component different from the third area 11c.
[0088] The above are merely specific embodiments of the present disclosure, and the scope of protection of the present disclosure is not limited thereto. The present disclosure includes the contents described above in the drawings and the specific embodiments described above, but the present disclosure is not limited thereto. Various disclosed embodiments or examples can be combined without departing from the scope or spirit of the present disclosure. Modifications that do not depart from the functional and structural principles of the present disclosure are within the scope of the claims. [Explanation of symbols]
[0089] 10. Air conditioners 11 Storage section 11a 1st area 11b Second area 11c 3rd area 12 Control section 13. Communications Department 14 Sensors 15 Compressor 16 Fans 17 Fan motor 18 Four-way valve 40 Servers 50 Terminal Equipment 52 Related Applications 60 External information sources R1 Specified area
Claims
1. a storage unit for storing firmware (FW) of an air conditioner, the storage unit including a first area and a second area, data relating to product safety in the FW being stored in the first area, and remaining data in the FW being stored in the second area; a control unit configured to, when updating the FW, acquire FW data for update, and update the second area of the storage unit using the acquired FW data for update without updating the first area of the storage unit; Including, Air conditioner.
2. The air conditioner according to claim 1 , wherein the data stored in the first area includes data related to control for stopping operation of the air conditioner.
3. The air conditioner further includes a communication unit capable of communicating with a server associated with the air conditioner, The data stored in the first area includes data regarding control when communication with the communication unit is interrupted. The air conditioner according to claim 2.
4. The air conditioner further includes a compressor, The data stored in the first area includes data regarding control when the compressor has an abnormal rotation. The air conditioner according to claim 2.
5. The air conditioner further includes at least one fan motor, The data stored in the first area includes data regarding control when the fan motor is locked. The air conditioner according to claim 2.
6. The data stored in the first area includes data regarding control when a refrigerant leaks. The air conditioner according to claim 2.
7. The data stored in the first area includes data regarding control when a refrigeration cycle abnormality occurs. The air conditioner according to claim 2.
8. The data stored in the first area includes data regarding control when tracking occurs due to water leakage. The air conditioner according to claim 2.
9. The air conditioner further includes a four-way valve, The data stored in the first area includes data regarding control by the four-way valve when a switching abnormality occurs in the cooling / heating operation, The air conditioner according to claim 2.
10. the storage unit is configured such that the first area is write-protected when updating the FW; The air conditioner according to claim 1.
11. the storage unit is set so that, when updating the FW, rewriting is prohibited for an address corresponding to the first area or for a memory block included in the first area; The air conditioner according to claim 10.
12. When updating the FW, the control unit Extracting data related to a specific control item from the FW data for update; The second region is partially updated using the retrieved data. [0023] The air conditioner according to claim 1.
13. The control unit is further configured to acquire the FW data for update by downloading the FW data for update from a server associated with the air conditioner. The air conditioner according to claim 1.
14. A method for updating firmware of an air conditioner, the air conditioner including a storage unit for storing firmware (FW) of the air conditioner, the storage unit including a first area and a second area, data relating to product safety in the FW being stored in the first area, and remaining data in the FW being stored in the second area, The update method includes: Obtaining FW data for update; updating the second area of the storage unit without updating the first area of the storage unit by using the acquired FW data for update; Including, How to update the firmware of your air conditioner.
15. A computer program for causing an air conditioner to execute the updating method according to claim 14.
16. A non-transitory computer-readable storage medium having a computer program stored thereon, The computer program, when executed by a processor, implements the update method according to claim 14. A non-transitory computer-readable storage medium.
Citation Information
Patent Citations
air conditioner
JP6597747B2
