Air conditioner program upgrade method, device, air conditioner and readable storage medium

By flexibly adjusting the upgrade order of indoor and outdoor units according to the air conditioner's usage scenarios, the user experience problems caused by a fixed upgrade order are solved, and a more efficient program upgrade is achieved.

CN120830896BActive Publication Date: 2026-07-31XIAOMI TECH (WUHAN) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XIAOMI TECH (WUHAN) CO LTD
Filing Date
2024-04-23
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In the existing technology, the fixed upgrade sequence during the air conditioner program upgrade process makes the upgrade process inflexible and affects the user experience, especially when the indoor unit cannot work during the outdoor unit upgrade.

Method used

By acquiring the air conditioner's usage scenarios, including operating modes, the target upgrade sequence is determined, and firmware upgrade packages are received according to this sequence. The upgrade sequence of indoor and outdoor units is flexibly adjusted to ensure that the indoor unit can still maintain some functions while the outdoor unit is being upgraded.

Benefits of technology

It improves the flexibility of program upgrades, reduces the impact of outdoor unit upgrades on user operation, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120830896B_ABST
    Figure CN120830896B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method, apparatus, air conditioner, and readable storage medium for upgrading an air conditioner's program. The method includes: responding to an upgrade command, acquiring the usage scenario of the air conditioner, the usage scenario including the air conditioner's operating mode; determining a target upgrade sequence corresponding to the usage scenario, and receiving a firmware upgrade package according to the target upgrade sequence, the firmware upgrade package including outdoor unit program data and / or indoor unit program data; and upgrading the indoor and outdoor unit data of the air conditioner according to the firmware upgrade package and the target upgrade sequence. This disclosure determines the target upgrade sequence through the air conditioner's operating mode, which can ensure the flexibility of upgrading the indoor and outdoor units to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of air conditioning technology, and in particular to a method, apparatus, air conditioner, and readable storage medium for upgrading an air conditioner's program. Background Technology

[0002] With the development of air conditioning and the increasingly widespread application of IoT technology, the functions of air conditioners are becoming more and more diversified. Due to changes in user needs, upgrades to air conditioner functions, and fault repairs, upgrading air conditioner data is becoming increasingly common, such as upgrading the indoor and / or outdoor units. Therefore, how to better upgrade air conditioner programs is a technical problem that urgently needs to be solved. Summary of the Invention

[0003] To overcome the problems existing in the related technologies, this disclosure provides a method, apparatus, air conditioner, and readable storage medium for upgrading the program of an air conditioner.

[0004] According to a first aspect of the present disclosure, a method for upgrading the program of an air conditioner is provided, comprising: In response to an upgrade command, the usage scenario of the air conditioner is obtained, including the operating mode of the air conditioner; Determine the target upgrade order corresponding to the usage scenario, and receive the firmware upgrade package according to the target upgrade order. The firmware upgrade package includes external program data and / or internal program data. The indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade sequence.

[0005] Optionally, the usage scenario includes the outdoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case includes: When the operating mode is cooling mode, determine whether the outdoor ambient temperature exceeds the first preset temperature; If the outdoor ambient temperature exceeds the first preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit.

[0006] Optionally, the usage scenario also includes the indoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case further includes: When the operating mode is the cooling mode, determine whether the difference between the indoor ambient temperature and the first target temperature exceeds the first temperature difference. If the difference between the indoor ambient temperature of the air conditioner and the first target temperature exceeds the first temperature difference, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0007] Optionally, the method further includes: When the operating mode is the cooling mode, if it is determined that the outdoor ambient temperature is lower than the first preset temperature, and it is determined that the difference between the indoor ambient temperature of the air conditioner and the first target temperature is lower than the first temperature difference, then the target upgrade sequence is set to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

[0008] Optionally, the usage scenario includes the outdoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case further includes: When the operating mode is heating mode, determine whether the outdoor ambient temperature is lower than the second preset temperature; If the outdoor ambient temperature is lower than the second preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0009] Optionally, the usage scenario also includes the indoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case further includes: When the operating mode is the heating mode, determine whether the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference. If it is determined that the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0010] Optionally, the method further includes: When the operating mode is heating mode, if it is determined that the outdoor ambient temperature is higher than the second preset temperature, and it is determined that the difference between the second target temperature and the indoor ambient temperature is lower than the second temperature difference, then the target upgrade sequence is set to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

[0011] According to a second aspect of the present disclosure, an air conditioner program upgrade device is provided, comprising: The acquisition module is configured to acquire the usage scenario of the air conditioner in response to an upgrade command, the usage scenario including the operating mode of the air conditioner; The determination module is configured to determine the target upgrade order corresponding to the usage scenario, and receive the firmware upgrade package according to the target upgrade order, wherein the firmware upgrade package includes external program data and / or internal program data; The upgrade module is configured to upgrade the indoor and outdoor unit data of the air conditioner according to the firmware upgrade package and the target upgrade sequence.

[0012] According to a third aspect of the present disclosure, an air conditioner is provided, the air conditioner comprising: processor; Memory used to store processor-executable instructions; The processor is configured as follows: In response to an upgrade command, the usage scenario of the air conditioner is obtained, including the operating mode of the air conditioner; Determine the target upgrade order corresponding to the usage scenario, and receive the firmware upgrade package according to the target upgrade order. The firmware upgrade package includes external program data and / or internal program data. The indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade sequence.

[0013] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the air conditioner program upgrade method provided in the first aspect of the present disclosure.

[0014] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the air conditioner program upgrade method provided in the first aspect of the present disclosure.

[0015] This disclosure flexibly obtains the corresponding upgrade order by utilizing the air conditioner's usage mode. Specifically, in response to an upgrade command, the air conditioner's usage scenario is obtained, which may include the air conditioner's operating mode. Based on this, the target upgrade order corresponding to the usage scenario is determined, and a firmware upgrade package is received according to the target upgrade order. This firmware upgrade package may include outdoor unit program data and / or indoor unit program data. Finally, the indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade order. Different usage scenarios result in different firmware upgrade orders, which can improve the flexibility of program upgrades to a certain extent.

[0016] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0018] Figure 1This is an example diagram illustrating an applicable scenario for an air conditioner program upgrade method according to an exemplary embodiment.

[0019] Figure 2 A schematic diagram of the air conditioning equipment is shown.

[0020] Figure 3 This is a flowchart illustrating an air conditioner program upgrade method according to an exemplary embodiment.

[0021] Figure 4 This is a flowchart illustrating another method for upgrading the program of an air conditioner according to an exemplary embodiment.

[0022] Figure 5 This is a schematic diagram illustrating how firmware is upgraded based on the air conditioner's operating mode in another air conditioner program upgrade method according to an exemplary embodiment.

[0023] Figure 6 This is a block diagram illustrating an air conditioner program upgrade device according to an exemplary embodiment.

[0024] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment.

[0025] Figure 8 This is a block diagram illustrating a chip system according to an exemplary embodiment. Detailed Implementation

[0026] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0027] In the description of this disclosure, terms such as "first" and "second" are used to distinguish similar objects and should not be construed as indicating a specific order or sequence. Furthermore, unless otherwise stated, in the description with reference to the accompanying drawings, the same reference numerals in different drawings denote the same elements.

[0028] Although operations or steps are described in a specific order in the accompanying drawings in the embodiments of this disclosure, it should not be construed as requiring these operations or steps to be performed in the specific order or serial order shown, or requiring all of the shown operations or steps to be performed to obtain the desired result. In the embodiments of this disclosure, these operations or steps may be performed serially; they may be performed in parallel; or a portion of these operations or steps may be performed.

[0029] The following explanations of some terms used in the embodiments of this application are provided to facilitate understanding by those skilled in the art.

[0030] A WiFi module, also known as a serial WiFi module or WiFi module, belongs to the IoT transmission layer. Its function is to convert serial or TTL level signals into embedded modules that conform to the WiFi wireless network communication standard. Traditional hardware devices with embedded WiFi modules can directly connect to the Internet using WiFi, making them an important component for realizing IoT applications such as wireless smart homes and machine-to-machine (M2M) communication.

[0031] OTA (Over-The-Air) is a technology that enables remote management of mobile terminal devices and SIM card data through the air interface of mobile communication. OTA is a data value-added service (OTA service) based on the SMS mechanism, which allows for the dynamic download, deletion, and updating of service menus within the SIM card via mobile terminal or server (online). It provides users with personalized information services. The application of OTA technology enables new service downloads, allowing application and content service providers to continuously develop more personalized services that meet user needs without being limited by a single platform. Through OTA technology, users can easily download various service menus provided by the network to their devices according to their preferences using the OTA mechanism, and can also customize specific services according to their own wishes.

[0032] Figure 1 This is a schematic diagram illustrating an applicable scenario for an air conditioner program upgrade method according to an exemplary embodiment. For example... Figure 1 As shown, the scenario may include an air conditioner 10, a server 20, and electronic equipment 30. The air conditioner 10 is a device that regulates and controls parameters such as temperature, humidity, and airflow rate of the ambient air within a building or structure. The air conditioner 10 can be a cabinet air conditioner, a wall-mounted air conditioner, a central air conditioner, etc. This embodiment does not impose any special limitations on the specific form of the air conditioner 10.

[0033] Air conditioner 10 may include a WiFi module, through which it can obtain firmware upgrade packages from server 20. Additionally, air conditioner 10 may include an indoor unit and an outdoor unit. The indoor unit is responsible for regulating and processing indoor air, while the outdoor unit provides cooling or heating. The indoor and outdoor units work together to form a complete air conditioning system, providing users with a comfortable indoor environment.

[0034] The specific structure of air conditioner 10 can be as follows: Figure 2 As shown, based on Figure 2It is known that air conditioner 10 may include: indoor unit 11 and outdoor unit 12.

[0035] The indoor unit 11 of the air conditioner includes a network module 11, an indoor unit main control unit 112, a local storage unit 113, and an indoor unit control unit 114. The network module 111, local storage unit 113, and indoor unit control unit 114 are all connected to the indoor unit main control unit 112. The outdoor unit 12 of the air conditioner includes an outdoor unit main control unit 121 and an outdoor unit control unit 122. The indoor unit main control unit 112 and the outdoor unit control unit 122 are both connected to the outdoor unit main control unit 121. The connection in this embodiment can be wired or wireless. The indoor unit main control unit 112, indoor unit control unit 114, outdoor unit main control unit 121, and outdoor unit control unit 122 can all be MCUs (Micro Control Units), CPUs (Central Processing Units), etc.

[0036] The network module 111 can be a WiFi module, which can be used for communication between the air conditioning equipment 10, the server 20, and the electronic equipment 30.

[0037] Local storage unit 113 is used to store information, for example, to store firmware upgrade packages.

[0038] The indoor unit main control unit 112 is used to upgrade the firmware of the indoor unit of the air conditioner according to the firmware upgrade package stored in the local storage unit 113. The indoor unit main control unit 112 is also used to send the firmware upgrade package stored in the local storage unit 113 to the outdoor unit control unit 122.

[0039] The indoor unit control unit 114 is used to control the operation of the motor, fan, etc. in the indoor unit of the air conditioner.

[0040] The outdoor unit main control unit 121 is used to upgrade the air conditioner outdoor unit 12 according to the firmware upgrade package.

[0041] The outdoor unit control unit 122 is used to control the operation of the compressor, motor, four-way valve, etc. in the outdoor unit of the air conditioner.

[0042] Server 20 can connect to both air conditioner 10 and electronic device 30. After receiving an upgrade command from electronic device 30, server 20 can send a firmware upgrade package to the WiFi module of air conditioner 10. Server 20 can be... Figure 1 The cloud server shown can also be a physical server, and this is not a limitation here.

[0043] Electronic device 30 can be a mobile phone, tablet computer, personal computer (PC), personal digital assistant (PDA), smartwatch, netbook, wearable electronic device, augmented reality (AR) device, virtual reality (VR) device, robot, etc. Figure 1 The electronic device 30 shown is merely an example of a terminal device, and this application does not impose any special restrictions on the specific form of the electronic device 30.

[0044] In some implementations, a connection can be established between the air conditioner 10 and the electronic device 30 for data transmission, allowing the user to control the air conditioner 10 via the electronic device 30. Optionally, the air conditioner 10 can also receive user usage data from the electronic device 30 for intelligent control of the air conditioner 10.

[0045] In addition, a remote control APP can be installed on the electronic device 30. Users can operate the APP on the electronic device 30 to remotely control the air conditioner 10 in the air conditioning network via the server 20. As one method, the electronic device 30 is used for interaction with the user, facilitating wireless communication between the user and the server 20.

[0046] In related technologies, both the indoor and outdoor units of an air conditioner can undergo OTA (Over-The-Air) upgrades. Once the programs for the indoor and outdoor units are finalized, the air conditioner supplier can upload the complete program package to a server (platform). After receiving the upgrade command, the air conditioner can download the program package from the server via a WiFi module. However, the indoor and outdoor units typically need to be upgraded in a fixed order, such as upgrading the firmware of the air conditioner only after upgrading the outdoor unit. This fixed upgrade order leads to inflexibility in the upgrade process, and the outdoor unit upgrade takes a long time. During the outdoor unit upgrade process, the indoor unit cannot function, which negatively impacts the user experience.

[0047] Figure 3 This is a flowchart illustrating an air conditioner program upgrade method according to an exemplary embodiment, such as... Figure 3 As shown, the method may include the following steps.

[0048] In step S11, in response to the upgrade command, the usage scenario of the air conditioner is obtained, including the operating mode of the air conditioner.

[0049] As an optional method, the upgrade command can be sent by the user via electronic device / remote control. After receiving the upgrade command, the air conditioner can use the WiFi module to download the corresponding complete program package based on the air conditioner's model number. Here, the complete program package can include both the indoor unit program package and the outdoor unit program package. Based on this, the WiFi module can send the complete program package to the air conditioner's indoor unit. At this point, the indoor unit can determine the upgrade sequence based on the air conditioner's usage scenario before the upgrade.

[0050] In other words, in response to an upgrade command, the air conditioner can acquire its usage scenario, which can include the air conditioner's operating mode, including cooling and heating modes. Furthermore, the air conditioner's operating mode can be a mode selected by the user through electronic devices or a remote control according to their individual needs.

[0051] In addition, when the indoor unit of the air conditioner detects an upgrade command, it can obtain the current usage scenario of the air conditioner, that is, obtain the operating mode of the air conditioner. Based on this, the indoor unit of the air conditioner can determine the corresponding target upgrade sequence according to the operating mode, that is, proceed to step S12.

[0052] In step S12, the target upgrade order corresponding to the use scenario is determined, and the firmware upgrade package is received according to the target upgrade order.

[0053] As an optional approach, after obtaining the air conditioner's usage scenario, this embodiment of the disclosure can determine the target upgrade sequence corresponding to that usage scenario, and based on this, receive firmware upgrade packages according to the target upgrade sequence. The target upgrade sequence may include outdoor unit program data and / or indoor unit program data.

[0054] It should be noted that, before determining the target upgrade order corresponding to the usage scenario, this embodiment of the disclosure may first determine whether the indoor unit program data (indoor unit target program data) and / or outdoor unit program data (outdoor unit target program data) received at the WiFi module are the latest version of program data. If it is determined that the received indoor unit program data is the latest version of program data, and it is determined that the received outdoor unit program data is the latest version of program data, then this embodiment of the disclosure can obtain the air conditioner's usage scenario (operating mode) and determine the target upgrade order corresponding to the usage scenario.

[0055] Here, in determining whether the received indoor unit program data and / or outdoor unit program data are the latest version, the air conditioner can obtain the current indoor unit program data, which is the program data currently used by the indoor unit. Based on this, the current indoor unit program data is matched with the target indoor unit program data. If it is determined that the current indoor unit program data and the target indoor unit program data do not match, then the target indoor unit program data is determined to be the latest version, meaning the indoor unit needs to be upgraded. Conversely, if it is determined that the current indoor unit program data and the target indoor unit program data match, then the target indoor unit program data is determined to be not the latest version, and in this case, an upgrade of the indoor unit is not required.

[0056] Similarly, the air conditioner can obtain the current program data of the outdoor unit. This current program data is the program data currently used by the outdoor unit. Based on this, the current program data is matched with the target program data. If it is determined that the current program data does not match the target program data, then the target program data is determined to be the latest version, meaning the outdoor unit needs to be upgraded. Conversely, if it is determined that the current program data matches the target program data, then the target program data is determined not to be the latest version, and in this case, an upgrade is not required.

[0057] In this embodiment of the disclosure, the internal target program data and the external target program data can be the latest data received from the server.

[0058] In some implementations, if it is determined that both the outdoor and indoor units require upgrades, this disclosure can obtain the air conditioner's usage scenario and determine the corresponding target upgrade sequence based on that scenario. Conversely, if it is determined that only one of the outdoor or indoor units needs a firmware upgrade, this disclosure can directly upgrade the firmware that needs upgrading.

[0059] It should be noted that during the firmware upgrade process for either the outdoor unit or the indoor unit, this embodiment of the disclosure can determine whether the air conditioner's usage scenario is suitable for the target firmware (outdoor / indoor unit) upgrade conditions. If the air conditioner's usage scenario is suitable for the target firmware upgrade conditions, the target firmware is directly upgraded. If the air conditioner's usage scenario is not suitable for the target firmware upgrade, this embodiment of the disclosure can detect the air conditioner's usage scenario. When a change in the usage scenario is detected and meets the target firmware upgrade requirements, the target firmware is then upgraded. In this way, while ensuring firmware security, the air conditioner's program can be flexibly upgraded.

[0060] As an alternative approach, after determining the target upgrade order corresponding to the usage scenario, the indoor unit can receive the firmware upgrade package from the WiFi module according to the target upgrade order. For example, when the target upgrade order is to upgrade the indoor unit first and then the outdoor unit, the indoor unit can first receive the indoor unit program data from the WiFi module, and then receive the outdoor unit program data from the WiFi module after the indoor unit program data reception is complete.

[0061] As another example, when the target upgrade order is determined to be upgrading the outdoor unit first and then the indoor unit, the indoor unit can first receive the outdoor unit's program data from the WiFi module and then send that outdoor unit's program data back to the outdoor unit. Additionally, after confirming that the outdoor unit's program data reception is complete, the indoor unit can receive its own program data from the WiFi module.

[0062] As a specific implementation method, when the air conditioner is operating in cooling mode and is determined to be in a low-temperature environment, this embodiment of the disclosure can set the upgrade order of the air conditioner to upgrade the indoor unit first and then the outdoor unit. Conversely, when the air conditioner is operating in cooling mode and is determined not to be in a low-temperature environment, this embodiment of the disclosure can set the upgrade order of the air conditioner to upgrade the outdoor unit first and then the indoor unit.

[0063] As another specific implementation, when the air conditioner is operating in heating mode and is determined to be in a high-temperature environment, this embodiment of the disclosure can set the upgrade order of the air conditioner to upgrade the indoor unit first and then the outdoor unit. Conversely, when the air conditioner is operating in heating mode and is determined not to be in a high-temperature environment, this embodiment of the disclosure can set the upgrade order of the air conditioner to upgrade the outdoor unit first and then the indoor unit.

[0064] In step S13, the data of the indoor and outdoor units of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade sequence.

[0065] Alternatively, after obtaining the target upgrade sequence and firmware upgrade package, this embodiment of the disclosure can upgrade the indoor and outdoor units of the air conditioner based on the target upgrade sequence using the firmware upgrade package.

[0066] It should be noted that the upgrade order of the air conditioner in this embodiment can also be determined by the user according to their personal needs. Specifically, before upgrading the data of the indoor and outdoor units of the air conditioner according to the firmware upgrade package and the target upgrade order, this embodiment outputs the target upgrade order to the user to inform the user that the air conditioner will be upgraded and to prompt the user with the upgrade order of the indoor and outdoor units.

[0067] Based on this, the air conditioner can detect whether it has received a user-inputted instruction to modify the upgrade order within a specified time period. If such an instruction is received, the air conditioner's indoor and outdoor units will be upgraded according to the user-inputted upgrade order.

[0068] For example, by using the scenario to determine that the target upgrade order is to upgrade the indoor unit first and then the outdoor unit, and outputting the upgrade order of upgrading the indoor unit first and then the outdoor unit to the user, the air conditioner receives the user's input instruction to modify the upgrade order within a specified time period. At this time, the upgrade order of the air conditioner can be modified to upgrade the outdoor unit first and then the indoor unit.

[0069] In this embodiment of the disclosure, during the upgrade of the outdoor unit, the indoor unit can keep its fan running. Even if the outdoor unit stops running, the indoor unit's fan will usually continue to operate, thus ensuring indoor air circulation, which helps to distribute temperature and reduce local temperature differences. Specifically, the indoor unit has a temperature compensation function, which can automatically adjust operating parameters according to changes in indoor temperature to maintain the set temperature level as much as possible. This temperature compensation function can ensure that the indoor temperature remains within the user-set range when the outdoor unit is not running.

[0070] In addition, the indoor unit can also be set to a first standby mode. During the outdoor unit upgrade, the indoor unit can enter the first standby mode. In the first standby mode, the indoor unit can continue to provide basic cooling or heating functions, which helps to ensure that the indoor temperature can still be maintained at a comfortable level during the outdoor unit upgrade.

[0071] In other implementations, the outdoor unit may be equipped with a second standby mode, which the outdoor unit can enter during the indoor unit upgrade. In the second standby mode, the outdoor unit can continue to provide basic cooling or heating functions.

[0072] Optionally, during the indoor unit upgrade, the outdoor unit may operate according to preset temporary settings to maintain a stable indoor temperature as much as possible. Furthermore, users can also manually adjust the outdoor unit's operating parameters, such as temperature settings or fan speed, to ensure that the indoor temperature remains within a comfortable range during the indoor unit upgrade.

[0073] In summary, the embodiments of this disclosure can intelligently select the upgrade order of indoor and outdoor units based on the user's usage scenario (operating mode) at the time of upgrade. The usage scenario at the time of air conditioner upgrade is different, and the corresponding upgrade order of indoor and outdoor units may also be different, which can improve the flexibility of firmware upgrade to a certain extent.

[0074] It should be noted that, in the embodiments of this disclosure, the data can be backed up synchronously during the upgrade of the internal unit, that is, the internal unit can work at the same time as the upgrade, so as to avoid affecting the user experience due to the upgrade.

[0075] This embodiment of the disclosure flexibly obtains the corresponding upgrade order based on the air conditioner's usage mode. Specifically, in response to the upgrade command, the usage scenario of the air conditioner is obtained, which may include the air conditioner's operating mode. Based on this, the target upgrade order corresponding to the usage scenario is determined, and a firmware upgrade package is received according to the target upgrade order. The firmware upgrade package may include outdoor unit program data and / or indoor unit program data. Finally, the indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade order. Different usage scenarios result in different firmware upgrade orders, which can improve the flexibility of program upgrades to a certain extent.

[0076] Figure 4 This is a flowchart illustrating another method for upgrading an air conditioner's program, according to an exemplary embodiment, such as... Figure 4 As shown, the method may include the following steps.

[0077] In step S21, in response to the upgrade command, the usage scenario of the air conditioner is obtained, including the operating mode of the air conditioner.

[0078] The specific implementation method of step S21 has been described in detail in the above embodiments and will not be repeated here.

[0079] In step S22, when the operating mode is cooling mode, it is determined whether the outdoor ambient temperature exceeds the first preset temperature.

[0080] As an optional approach, when the air conditioner's operating mode is determined to be cooling mode, this embodiment of the present disclosure can obtain the outdoor ambient temperature and determine whether the outdoor ambient temperature exceeds a first preset temperature. The first preset temperature can be a high-temperature cooling ambient temperature, which can be a preset high-temperature threshold, such as 35°C. If the outdoor ambient temperature exceeds the first preset temperature, it indicates that the air conditioner is used in a high-temperature environment. In this case, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit, i.e., proceeding to step S23.

[0081] In step S23, if the outdoor ambient temperature exceeds the first preset temperature, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0082] In this embodiment of the disclosure, if it is determined that the outdoor ambient temperature exceeds a first preset temperature, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; that is, upgrade the indoor unit first, then the outdoor unit. The main reason for upgrading the indoor unit first in high-temperature environments is that the indoor unit is usually responsible for controlling and managing various functions of the entire air conditioning system, including temperature control, mode selection, and fan speed adjustment. It is evident that updating the functions of the indoor unit has a greater impact on the overall performance of the system. Therefore, in this embodiment of the disclosure, the indoor unit can be upgraded first in high-temperature environments.

[0083] Furthermore, users typically interact with the indoor unit more frequently, such as adjusting air conditioner settings via remote control or control panel. Therefore, upgrading the indoor unit first can bring more significant improvements to the user experience. Moreover, upgrading the indoor unit usually does not affect the basic operating functions of the outdoor unit. Therefore, upgrading the indoor unit first allows for testing new features or fixing potential problems, ensuring system stability.

[0084] For example, once the upgrade process begins, if the indoor unit determines that the air conditioner is currently operating in cooling mode, it can then determine whether the outer ring temperature (T) is greater than the [cooling high-temperature ambient temperature]. If the outer ring temperature (T) is determined to be greater than the [cooling high-temperature ambient temperature], it indicates that the air conditioner is currently in a high-temperature environment, and the indoor unit needs to be upgraded before the outdoor unit. Therefore, the upgrade order can be set to upgrade the indoor unit first, followed by the outdoor unit.

[0085] High-temperature environments require rapid upgrades. Since the indoor unit can be upgraded quickly, this embodiment of the present disclosure can upgrade the indoor unit first and then the outdoor unit when the air conditioner is determined to be in a high-temperature scenario.

[0086] Alternatively, when the air conditioner's operating mode is determined to be cooling mode, this embodiment of the disclosure can also determine whether the difference between the indoor ambient temperature and the first target temperature exceeds a first temperature difference value. If it is determined that the difference between the indoor ambient temperature and the first target temperature exceeds the first temperature difference value, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first, followed by upgrading the outdoor unit. Here, the first target temperature can be a cooling setting temperature input by the user through an electronic device / remote control according to personal needs, which is used to control the air conditioner to lower the indoor temperature.

[0087] For example, if the T inner ring - T setting is greater than or equal to the [user-set temperature difference], it indicates that the user's cooling demand is relatively high. In this case, the upgrade order can be set to the indoor unit first and then the outdoor unit.

[0088] As an alternative approach, when the air conditioner is set to cooling mode, if the outdoor ambient temperature is determined not to exceed the first preset temperature, then it is further determined whether the difference between the indoor ambient temperature and the first target temperature exceeds the first temperature difference. If the difference between the indoor ambient temperature and the first target temperature exceeds the first temperature difference, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0089] For example, once the upgrade process begins, the indoor unit can obtain the operating mode of the air conditioner before the upgrade. When the operating mode is determined to be cooling mode, if the outer ring temperature (outdoor ambient temperature) is greater than the [cooling high temperature ambient temperature], it means that the environment is currently at a high temperature. The indoor unit can be upgraded first, followed by the outdoor unit. In other words, the upgrade order is set to upgrade the indoor unit first and then the outdoor unit.

[0090] Additionally, when the outer ring temperature (outdoor ambient temperature) is determined to be <= [cooling high temperature ambient temperature], if the inner ring temperature (indoor ambient temperature) - T setting is determined to be ≥ [user-set temperature difference], it indicates that the user's cooling demand is relatively high and the indoor unit needs to be upgraded first. In this case, the indoor unit can be upgraded first and then the outdoor unit can be upgraded, that is, the upgrade order is set to upgrade the indoor unit first and then the outdoor unit.

[0091] As an alternative approach, when the air conditioner is in cooling mode, if it is determined that the outdoor ambient temperature is lower than the first preset temperature, and the difference between the indoor ambient temperature and the first target temperature is lower than the first temperature difference, then the target upgrade sequence is set to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

[0092] It should be noted that when the air conditioner is operating in cooling mode, if it is determined that the outdoor ambient temperature is higher than the first preset temperature, or if it is determined that the difference between the indoor ambient temperature and the first target temperature is higher than the first temperature difference, this embodiment of the disclosure can determine whether the outdoor unit program data contains critical performance optimization data or whether it contains security patch data. If it is determined that the outdoor unit program data package contains critical performance optimization data or whether it contains security patch data, then this embodiment of the disclosure can upgrade the outdoor unit first and then upgrade the indoor unit.

[0093] In step S24, firmware upgrade packages are received according to the target upgrade order.

[0094] In step S25, the data of the indoor and outdoor units of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade sequence.

[0095] The specific implementation methods of steps S24 to S25 have been described in detail in the above embodiments and will not be repeated here.

[0096] In step S26, when the operating mode is heating mode, it is determined whether the outdoor ambient temperature is lower than the second preset temperature.

[0097] As an optional approach, when the air conditioner's operating mode is determined to be heating mode, this embodiment of the present disclosure can obtain the outdoor ambient temperature and determine whether the outdoor ambient temperature is lower than a second preset temperature. The second preset temperature can be a low-temperature ambient temperature for heating, which can be a preset low-temperature threshold, such as 10°C. If the outdoor ambient temperature is determined to be lower than the second preset temperature, it indicates that the air conditioner is used in a low-temperature environment. In this case, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit, i.e., proceeding to step S27.

[0098] In step S27, if the outdoor ambient temperature is lower than the second preset temperature, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit.

[0099] In this embodiment of the disclosure, if it is determined that the outdoor ambient temperature is lower than the second preset temperature, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; that is, upgrade the indoor unit first, then the outdoor unit. The main reason for upgrading the indoor unit first in low-temperature environments is that the indoor unit is usually responsible for controlling and managing various functions of the entire air conditioning system, including temperature control, mode selection, and fan speed adjustment. It is evident that updating the functions of the indoor unit has a greater impact on the overall performance of the system. Therefore, in this embodiment of the disclosure, the indoor unit can be upgraded first in low-temperature environments.

[0100] Furthermore, users typically interact with the indoor unit more frequently, such as adjusting air conditioner settings via remote control or control panel. Therefore, upgrading first can bring more significant improvements to the user experience. Moreover, upgrading the indoor unit usually does not affect the basic operating functions of the outdoor unit. Therefore, upgrading the indoor unit first allows for testing new features or fixing potential problems, ensuring system stability.

[0101] For example, once the upgrade process begins, if the indoor unit determines that the air conditioner is currently operating in heating mode, it can then determine whether the outer ring temperature (T) is lower than the [low-temperature ambient temperature for heating]. If the outer ring temperature (T) is determined to be lower than the [low-temperature ambient temperature for heating], it indicates that the air conditioner is operating in a low-temperature environment, and the indoor unit must be upgraded before the outdoor unit. Therefore, the upgrade order can be set to upgrade the indoor unit first, followed by the outdoor unit.

[0102] Low-temperature environments require rapid upgrades. Since the indoor unit can be upgraded quickly, this embodiment of the present disclosure can upgrade the indoor unit first and then the outdoor unit when the air conditioner is determined to be in a low-temperature scenario.

[0103] Alternatively, when the air conditioner's operating mode is determined to be heating mode, this embodiment of the disclosure can also determine whether the difference between the second target temperature and the indoor ambient temperature exceeds a second temperature difference value. If it is determined that the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference value, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first, followed by upgrading the outdoor unit. Here, the second target temperature can be a set temperature input by the user through an electronic device / remote control according to personal needs, which is used to control the air conditioner to increase the indoor temperature.

[0104] For example, if T_set - T_inner_loop ≥ [user-set temperature difference], it means that the user's heating demand is relatively high. In this case, the upgrade order can be set to indoor unit first and then outdoor unit.

[0105] As an alternative approach, when the air conditioner is set to heating mode, if the outdoor ambient temperature exceeds the second preset temperature, then it is further determined whether the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference. If the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0106] For example, once the upgrade process begins, the indoor unit can obtain the operating mode of the air conditioner before the upgrade. When the operating mode is determined to be heating mode, if the outer ring temperature (outdoor ambient temperature) is less than the [low-temperature ambient temperature for heating], it means that the environment is in a low temperature. The indoor unit can be upgraded first, followed by the outdoor unit. In other words, the upgrade order is set to upgrade the indoor unit first and then the outdoor unit.

[0107] Additionally, when the outer ring temperature (outdoor ambient temperature) is determined to be greater than or equal to the heating low ambient temperature, if the set temperature (T_set) - inner ring temperature (indoor ambient temperature) is determined to be greater than or equal to the user-set temperature difference, it indicates that the user's heating demand is relatively high and the indoor unit needs to be upgraded first. In this case, the indoor unit can be upgraded first and then the outdoor unit can be upgraded, that is, the upgrade order is set to upgrade the indoor unit first and then the outdoor unit.

[0108] As an optional approach, the air conditioner upgrade sequence is determined to be indoor unit first, followed by outdoor unit. In this embodiment, the indoor unit can be upgraded first, and the outdoor unit upgraded immediately after the indoor unit upgrade is complete. Alternatively, after the indoor unit upgrade is complete, it can be determined whether the current environment of the air conditioner meets the conditions for outdoor unit upgrade. If the conditions are met, the outdoor unit is upgraded immediately. Conversely, if the conditions are not met, the environment is continuously monitored until the conditions are met, at which point the outdoor unit is upgraded.

[0109] As an example, if the outdoor ambient temperature exceeds the temperature threshold and the weather is windy after the indoor unit upgrade is completed, the outdoor unit upgrade can be delayed to ensure the safety of the upgrade. The outdoor unit upgrade can be performed after the outdoor ambient temperature is lower than the temperature threshold.

[0110] As an alternative approach, when the air conditioner is in heating mode, if it is determined that the outdoor ambient temperature is higher than the second preset temperature, and the difference between the second target temperature and the indoor ambient temperature is lower than the second temperature difference, then the target upgrade sequence is set to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

[0111] It should be noted that when the air conditioner is in heating mode, if it is determined that the outdoor ambient temperature is lower than the second preset temperature, or if it is determined that the difference between the second target temperature of the air conditioner and the indoor ambient temperature is higher than the second temperature difference, this embodiment of the disclosure can determine whether the outdoor unit program data contains critical performance optimization data or whether it contains security patch data. If it is determined that the outdoor unit program data package contains critical performance optimization data or whether it contains security patch data, then this embodiment of the disclosure can upgrade the outdoor unit first and then upgrade the indoor unit.

[0112] After determining the upgrade order of the air conditioner in cooling mode, this embodiment of the present disclosure can receive the firmware upgrade package according to the target upgrade order, that is, proceed to step S24.

[0113] In this embodiment of the disclosure, the first temperature difference and the second temperature difference can be user-defined temperature differences, and they can be the same or different. For example, both the first temperature difference and the second temperature difference can be 3°C.

[0114] As a specific implementation method, such as Figure 5 As shown, when the air conditioner detects that a user has initiated an OTA upgrade, it can determine the air conditioner's operating mode before the upgrade and whether the operating mode is cooling mode. If the air conditioner's operating mode is determined to be cooling mode, the air conditioner can determine whether the outer ring temperature (T) is greater than the high-temperature ambient temperature (first preset temperature). If the outer ring temperature (T) is greater than the high-temperature ambient temperature (T), the indoor unit is upgraded first, followed by the outdoor unit. If the outer ring temperature (T) is less than or equal to the high-temperature ambient temperature (T), the air conditioner continues to determine whether the difference between the inner ring temperature (T) and the set temperature (T) is greater than or equal to the user-set temperature difference. If the inner ring temperature (T) - the set temperature (T) is greater than or equal to the user-set temperature difference, the outdoor unit is upgraded first, followed by the indoor unit.

[0115] Optionally, if the air conditioner's operating mode is determined to be heating mode, the air conditioner can determine whether the outer ring temperature (T) is lower than the low-temperature ambient temperature (second preset temperature). If the outer ring temperature (T) is determined to be less than the low-temperature ambient temperature (heating), the indoor unit is upgraded first, followed by the outdoor unit. If the outer ring temperature (T) is determined to be greater than or equal to the low-temperature ambient temperature (heating), the difference between the set temperature (T) and the inner ring temperature (T) is determined to be greater than or equal to the user-set temperature difference. If the set temperature (T) - the inner ring temperature (T) is determined to be greater than or equal to the user-set temperature difference, the outdoor unit is upgraded first, followed by the indoor unit.

[0116] In summary, the embodiments of this disclosure intelligently select the upgrade order of indoor and outdoor units by judging information such as the air conditioner's operating mode, indoor and outdoor ambient temperature, and set temperature at the time of upgrade. That is, the upgrade order of indoor and outdoor units is intelligently selected by judging the air conditioner's usage scenario at the time of upgrade. In this way, flexible upgrades of indoor and outdoor units can be achieved without increasing costs, and it has strong versatility and is applicable to OTA upgrades of most air conditioner indoor and outdoor units.

[0117] It should be noted that the air conditioner in this embodiment can be the main air conditioner. After the main air conditioner obtains the target upgrade sequence, it can send the target upgrade sequence to other slave devices connected to it and instruct the other slave devices to upgrade the programs of the indoor and outdoor units based on the target upgrade sequence. This can improve the flexibility of data upgrade and the upgrade speed to a certain extent.

[0118] This embodiment of the disclosure flexibly obtains the corresponding upgrade order based on the air conditioner's usage mode. Specifically, in response to an upgrade command, the air conditioner's usage scenario is obtained, which may include the air conditioner's operating mode. Based on this, a target upgrade order corresponding to the usage scenario is determined, and a firmware upgrade package is received according to the target upgrade order. This firmware upgrade package may include outdoor unit program data and / or indoor unit program data. Finally, the indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade order. Different usage scenarios result in different firmware upgrade orders, which can improve the flexibility of program upgrades to a certain extent. In addition, this embodiment of the disclosure can flexibly determine the upgrade order of the indoor and outdoor units based on information such as the air conditioner's usage mode, indoor and outdoor ambient temperatures, and set temperatures before the air conditioner upgrade.

[0119] Figure 6 This is a block diagram illustrating a program upgrade device for an air conditioner according to an exemplary embodiment. (Refer to...) Figure 6 The air conditioner's program upgrade device 300 includes an acquisition module 301, a determination module 302, and an upgrade module 303.

[0120] The acquisition module 301 is configured to acquire the usage scenario of the air conditioner in response to an upgrade command, the usage scenario including the operating mode of the air conditioner; The determining module 302 is configured to determine the target upgrade order corresponding to the usage scenario, and receive a firmware upgrade package according to the target upgrade order, wherein the firmware upgrade package includes external program data and / or internal program data; The upgrade module 303 is configured to upgrade the indoor and outdoor unit data of the air conditioner according to the firmware upgrade package and the target upgrade sequence.

[0121] In some implementations, the usage scenario includes the outdoor ambient temperature of the air conditioner. The determining module 302 can be configured to determine whether the outdoor ambient temperature exceeds a first preset temperature when the operating mode is cooling mode; if the outdoor ambient temperature exceeds the first preset temperature, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0122] In some implementations, the usage scenario also includes the indoor ambient temperature of the air conditioner. The determining module 302 can also be configured to determine whether the difference between the indoor ambient temperature and the first target temperature exceeds a first temperature difference when the operating mode is the cooling mode; if the difference between the indoor ambient temperature of the air conditioner and the first target temperature exceeds the first temperature difference, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0123] In some implementations, the determining module 302 may also be configured to, when the operating mode is the cooling mode, if it is determined that the outdoor ambient temperature is lower than the first preset temperature, and it is determined that the difference between the indoor ambient temperature of the air conditioner and the first target temperature is lower than the first temperature difference, then set the target upgrade sequence to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

[0124] In some implementations, the usage scenario includes the outdoor ambient temperature of the air conditioner. The determining module 302 can also be configured to determine whether the outdoor ambient temperature is lower than a second preset temperature when the operating mode is heating mode; if the outdoor ambient temperature is lower than the second preset temperature, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0125] In some implementations, the usage scenario also includes the indoor ambient temperature of the air conditioner. The determining module 302 can also be configured to determine whether the difference between the second target temperature and the indoor ambient temperature exceeds a second temperature difference when the operating mode is the heating mode; if it is determined that the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0126] In some implementations, the determining module 302 may also be configured to, when the operating mode is heating mode, if it is determined that the outdoor ambient temperature is higher than the second preset temperature, and it is determined that the difference between the second target temperature and the indoor ambient temperature is lower than the second temperature difference, then set the target upgrade sequence to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

[0127] This embodiment of the disclosure flexibly obtains the corresponding upgrade order based on the air conditioner's usage mode. Specifically, in response to the upgrade command, the usage scenario of the air conditioner is obtained, which may include the air conditioner's operating mode. Based on this, the target upgrade order corresponding to the usage scenario is determined, and a firmware upgrade package is received according to the target upgrade order. The firmware upgrade package may include outdoor unit program data and / or indoor unit program data. Finally, the indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade order. Different usage scenarios result in different firmware upgrade orders, which can improve the flexibility of program upgrades to a certain extent.

[0128] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0129] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the air conditioner program upgrade method provided in this disclosure.

[0130] Figure 7 This is a block diagram illustrating an electronic device 800 for a program upgrade method for an air conditioner, according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0131] Reference Figure 7 The electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output interface 812, sensor component 814, and communication component 816.

[0132] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the aforementioned air conditioner program upgrade method. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0133] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0134] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.

[0135] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0136] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0137] Input / output interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0138] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0139] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0140] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described air conditioner program upgrade method.

[0141] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to complete the aforementioned air conditioner program upgrade method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0142] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described air conditioner program upgrade method when executed by the programmable device.

[0143] Some embodiments of this disclosure also provide a chip system, such as Figure 8 As shown, the chip system includes at least one processor 1301 and at least one interface circuit 1302. The processor 1301 and the interface circuit 1302 are interconnected via lines. For example, the interface circuit 1302 can be used to receive signals from other devices (e.g., the memory of an electronic device). As another example, the interface circuit 1302 can be used to send signals to other devices (e.g., the processor 1301). Exemplarily, the interface circuit 1302 can read instructions stored in memory and send those instructions to the processor 1301. When the instructions are executed by the processor 1301, the air conditioner's program upgrade device can perform the steps in the above embodiments. Of course, the chip system may also include other discrete components, and some embodiments of this disclosure do not specifically limit this.

[0144] In some embodiments of this disclosure, the interface circuit 1302 can acquire data, program instructions, and / or information from the internal storage area of ​​the chip system; it can also acquire data, program instructions, and / or information from outside the chip system.

[0145] Optionally, the chip system may also include memory for storing necessary computer programs and data.

[0146] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented through hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this application.

[0147] In the above detailed description, reference has been made to the accompanying drawings, which illustrate specific aspects of this disclosure by way of illustration. In this regard, terms indicating direction or positional relationship, such as “center,” “longitudinal,” “lateral,” “length,” “width,” “thickness,” “upper,” “lower,” “front,” “rear,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” “outer,” “clockwise,” “counterclockwise,” “axial,” “radial,” and “circumferential,” are used with reference to the orientation of the described figures. Since components of the described device can be positioned in multiple different orientations, directional terms are used for illustrative purposes and not for limitation. It should be understood that other aspects can be utilized and structural or logical changes can be made without departing from the concept of this disclosure. Therefore, the following detailed description should not be considered limiting.

[0148] It should be understood that, unless otherwise specifically indicated, features of various embodiments of this disclosure described herein can be combined with each other. As used herein, the term “and / or” includes any one of the relevant listed items and any combination of any two or more; similarly, “at least one of…” includes any one of the relevant listed items and any combination of any two or more.

[0149] It should be understood that, unless otherwise expressly specified and limited, the terms "joining," "attaching," "installing," "connecting," "linking," "fixing," etc., used in the embodiments of this disclosure should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms herein based on the specific circumstances.

[0150] Furthermore, the term "above" as used herein with respect to components, elements, or material layers formed or located "above" a surface may be used to indicate that the component, element, or material layer is "indirectly" positioned (e.g., placed, formed, deposited, etc.) on the surface such that one or more additional components, elements, or layers are arranged between the surface and the component, element, or material layer. However, the term "above" as used with respect to components, elements, or material layers formed or located "above" a surface may also optionally have a specific meaning: that the component, element, or material layer is "directly" positioned (e.g., placed, formed, deposited, etc.) on the surface, for example, in direct contact with the surface.

[0151] Although terms such as “first,” “second,” and “third” may be used herein to describe various components, parts, regions, layers, or sections, these components, parts, regions, layers, or sections are not limited to these terms. Rather, these terms are used only to distinguish one component, part, region, layer, or section from another. Therefore, without departing from the teachings of the examples described herein, the first component, part, region, layer, or section mentioned in the examples may also be referred to as the second component, part, region, layer, or section. Furthermore, the terms “first” and “second” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include at least one of that feature. In the description herein, “a plurality” means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0152] It should be understood that spatial relative terms, such as “above,” “upper,” “below,” and “lower,” are used herein to describe the relationship between one element and another shown in the figures. In addition to the orientation depicted in the figures, these spatial relative terms are also intended to encompass different orientations of the device in use or operation. For example, if the device in the figures is flipped, an element described as “above” or “upper” relative to another element would be “below” or “lower” relative to that other element. Thus, depending on the spatial orientation of the device, the term “above” encompasses both above and below orientations. Devices may have other orientations (e.g., rotated 90 degrees or in other orientations), and the spatial relative terms used herein should be interpreted accordingly.

[0153] Furthermore, the term “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term “exemplary” is intended to present the concept in a concrete manner. As used herein, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless otherwise specified or clear from the context, “X applies A or B” is intended to mean any of the natural inclusive arrangements. That is, “X applies A or B” satisfies any of the foregoing instances if X applies A; X applies B; or both X applies A and B. Additionally, unless otherwise specified or clear from the context to refer to the singular form, the articles “a” and “an” as used in this application and the appended claims are generally understood to mean “one or more.”

[0154] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the accompanying drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if structurally not equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “including.”

[0155] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

[0156] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for upgrading the program of an air conditioner, characterized in that, include: In response to an upgrade command, the usage scenario of the air conditioner is obtained, including the operating mode of the air conditioner; Determine the target upgrade order corresponding to the usage scenario, and receive the firmware upgrade package according to the target upgrade order. The firmware upgrade package includes external program data and / or internal program data. The indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade sequence; The usage scenario includes the outdoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case includes: When the operating mode is cooling mode, determine whether the outdoor ambient temperature exceeds the first preset temperature; If the outdoor ambient temperature exceeds the first preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; or The usage scenario includes the outdoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case further includes: When the operating mode is heating mode, determine whether the outdoor ambient temperature is lower than the second preset temperature; If the outdoor ambient temperature is lower than the second preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

2. The method according to claim 1, characterized in that, The usage scenario also includes the indoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case further includes: When the operating mode is the cooling mode, determine whether the difference between the indoor ambient temperature and the first target temperature exceeds the first temperature difference. If the difference between the indoor ambient temperature of the air conditioner and the first target temperature exceeds the first temperature difference, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

3. The method according to claim 2, characterized in that, The method further includes: When the operating mode is the cooling mode, if it is determined that the outdoor ambient temperature is lower than the first preset temperature, and it is determined that the difference between the indoor ambient temperature of the air conditioner and the first target temperature is lower than the first temperature difference, then the target upgrade sequence is set to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

4. The method according to claim 1, characterized in that, The usage scenario also includes the indoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case further includes: When the operating mode is the heating mode, determine whether the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference. If it is determined that the difference between the second target temperature and the indoor ambient temperature exceeds the second temperature difference, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

5. The method according to claim 4, characterized in that, The method further includes: When the operating mode is heating mode, if it is determined that the outdoor ambient temperature is higher than the second preset temperature, and it is determined that the difference between the second target temperature and the indoor ambient temperature is lower than the second temperature difference, then the target upgrade sequence is set to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner.

6. An air conditioner program upgrade device, characterized in that, include: The acquisition module is configured to acquire the usage scenario of the air conditioner in response to an upgrade command, the usage scenario including the operating mode of the air conditioner; The determination module is configured to determine the target upgrade order corresponding to the usage scenario, and receive the firmware upgrade package according to the target upgrade order, wherein the firmware upgrade package includes external program data and / or internal program data; The upgrade module is configured to upgrade the indoor and outdoor unit data of the air conditioner according to the firmware upgrade package and the target upgrade sequence; The usage scenario includes the outdoor ambient temperature of the air conditioner; The determining module is further configured to: When the operating mode is cooling mode, determine whether the outdoor ambient temperature exceeds the first preset temperature; If the outdoor ambient temperature exceeds the first preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; or The usage scenario includes the outdoor ambient temperature of the air conditioner; The determining module is further configured to: When the operating mode is heating mode, determine whether the outdoor ambient temperature is lower than the second preset temperature; If the outdoor ambient temperature is lower than the second preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

7. An air conditioner, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured as follows: In response to an upgrade command, the usage scenario of the air conditioner is obtained, including the operating mode of the air conditioner; Determine the target upgrade order corresponding to the usage scenario, and receive the firmware upgrade package according to the target upgrade order. The firmware upgrade package includes external program data and / or internal program data. The indoor and outdoor unit data of the air conditioner are upgraded according to the firmware upgrade package and the target upgrade sequence; The usage scenario includes the outdoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case includes: When the operating mode is cooling mode, determine whether the outdoor ambient temperature exceeds the first preset temperature; If the outdoor ambient temperature exceeds the first preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; or The usage scenario includes the outdoor ambient temperature of the air conditioner; Determining the target upgrade order corresponding to the use case further includes: When the operating mode is heating mode, determine whether the outdoor ambient temperature is lower than the second preset temperature; If the outdoor ambient temperature is lower than the second preset temperature, the target upgrade sequence will be set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 5.

9. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1 to 5.