Program upgrading method and device of air conditioner, air conditioner and readable storage medium

By flexibly determining the upgrade sequence based on the air conditioner usage scenarios, the problem of inflexibility caused by fixed upgrade sequences for air conditioners is solved. This ensures that the basic functions of the indoor unit are maintained during the upgrade of the outdoor unit, thereby improving the user experience.

CN120830895BActive 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

The fixed upgrade sequence during the current air conditioner program upgrade process makes the upgrade inflexible and affects the user experience, especially when the outdoor unit upgrade takes a long time and the indoor unit cannot work.

Method used

By acquiring information about the air conditioner's usage scenarios, including runtime and upgrade time, the target upgrade sequence can be flexibly determined. Based on the firmware upgrade package, the data of the indoor and outdoor units can be upgraded. During the upgrade of the outdoor unit, the indoor unit keeps the fan running or enters standby mode to ensure stable indoor temperature.

Benefits of technology

This improves the flexibility of air conditioner program upgrades and enhances the user experience. The indoor unit can still provide basic functions during the outdoor unit upgrade process, reducing the impact of the upgrade on user operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120830895B_ABST
    Figure CN120830895B_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 runtime and / or upgrade time; determining a target upgrade sequence corresponding to the usage scenario; receiving a firmware upgrade package, 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 target upgrade sequence and the firmware upgrade package. This disclosure determines the target upgrade sequence by using the air conditioner's runtime and / or upgrade time, which to a certain extent ensures the flexibility of upgrading the indoor and outdoor units.
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 running time and / or upgrade time of the air conditioner; Determine the target upgrade sequence corresponding to the usage scenario, and receive the firmware upgrade package, which includes external program data and / or internal program data; The indoor and outdoor unit data of the air conditioner are upgraded according to the target upgrade sequence and the firmware upgrade package.

[0005] Optionally, determining the target upgrade order corresponding to the use case includes: If it is determined that the running time exceeds the preset time, 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.

[0006] Optionally, determining the target upgrade order corresponding to the use case includes: If the upgrade time is determined to be within a specified time period, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit.

[0007] Optionally, the method further includes: If it is determined that the runtime does not exceed the preset duration and the upgrade time is not within the specified time period, 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 method further includes: Obtain weather data for the area where the air conditioner is located, and determine the specified time period based on the weather data.

[0009] Optionally, the method further includes: Obtain the user's usage needs in the air conditioner's usage scenario, and determine the specified time period based on the usage needs.

[0010] Optionally, the method further includes: If it is determined that the runtime does not exceed the preset duration and the upgrade time is not within the specified time period, 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] Optionally, the method further includes: The target upgrade sequence is sent to the slave air conditioner connected to the air conditioner, and the slave air conditioner is instructed to upgrade the indoor and outdoor unit data of the slave air conditioner according to the target upgrade sequence.

[0012] 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 running time and / or upgrade time of the air conditioner; The determination module is configured to determine the target upgrade order corresponding to the usage scenario and receive a firmware upgrade package, 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 target upgrade sequence and the firmware upgrade package.

[0013] According to a third aspect of the present disclosure, an air conditioner is provided, 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 running time and / or upgrade time of the air conditioner; Determine the target upgrade sequence corresponding to the usage scenario, and receive the firmware upgrade package, which includes external program data and / or internal program data; The indoor and outdoor unit data of the air conditioner are upgraded according to the target upgrade sequence and the firmware upgrade package.

[0014] 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.

[0015] 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.

[0016] This disclosure flexibly obtains the corresponding upgrade order by taking into account the air conditioner's runtime and / or upgrade time. Specifically, in response to the upgrade command, the usage scenario of the air conditioner is obtained, which may include the air conditioner's runtime and / or upgrade time. 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 will result in different firmware upgrade orders, which can improve the flexibility of program upgrades to a certain extent.

[0017] 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

[0018] 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.

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

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

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

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

[0023] Figure 5 This is a schematic diagram illustrating a specified time period in another air conditioner program upgrade method according to an exemplary embodiment.

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

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

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

[0027] 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.

[0028] 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.

[0029] 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.

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

[0031] 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.

[0032] 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.

[0033] 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.

[0034] 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.

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

[0036] 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.

[0037] 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.

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

[0039] 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.

[0040] 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.

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

[0042] 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.

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] In step S11, in response to the upgrade command, the usage scenario of the air conditioner is obtained, including the running time of the air conditioner and / or the upgrade time.

[0050] 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.

[0051] In other words, in response to an upgrade command, the air conditioner can determine its usage scenario, which may include the air conditioner's operating time and / or the upgrade time. Here, the air conditioner's operating time can be the total duration of operation after the air conditioner is turned on. For example, if the air conditioner receives the upgrade command at 14:00 and its start-up time is 12:00, then the operating time can be determined to be 2 hours. That is, the air conditioner's operating time is the difference between the time the upgrade command is received and the time the air conditioner is turned on.

[0052] Alternatively, the running time of the air conditioner can also be the sum of multiple non-continuous running times. That is, the running time of the air conditioner can involve multiple on / off cycles, but the time difference between each on / off cycle (the difference between the previous off time and the next on time) is less than a preset difference.

[0053] As an example, the air conditioner is turned on at 1:40 and turned off at 3:00. Then, the air conditioner is turned on again at 3:05 and continues until the current time of 4:00. The difference between turning it on and off is 5 minutes, which is less than the preset difference. The running time of the air conditioner can be the duration between 1:40 and 3:00 (80 minutes) + the duration between 3:05 and 4:00 (55 minutes). In this case, the running time of the air conditioner can be determined to be 135 minutes (2 hours and 15 minutes).

[0054] Optionally, the upgrade time for the air conditioner can be the time when the air conditioner receives the upgrade instruction, that is, the time when the user triggers the upgrade via electronic device. For example, if the user triggers the upgrade instruction via electronic device at 4:00 PM, then the upgrade time at that time is 4:00 PM.

[0055] 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 running time and / or upgrade time of the air conditioner. Based on this, the indoor unit of the air conditioner can determine the corresponding target upgrade sequence according to the running time and / or upgrade time of the air conditioner, that is, proceed to step S12.

[0056] 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.

[0057] 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.

[0058] 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 (running time and / or upgrade time) and determine the target upgrade order corresponding to that usage scenario.

[0059] 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.

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] 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.

[0066] As a specific implementation, when the runtime and / or upgrade time meet preset conditions, 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 runtime and / or upgrade time do not meet the preset conditions, 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.

[0067] 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.

[0068] As an alternative approach, after obtaining the target upgrade sequence and firmware upgrade package, embodiments of this disclosure can upgrade the indoor and outdoor units of the air conditioner using the firmware upgrade package based on the target upgrade sequence.

[0069] 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.

[0070] 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.

[0071] 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.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] 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.

[0076] 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 (runtime and / or upgrade time) at the time of upgrade. Different usage scenarios at the time of air conditioner upgrade may result in different upgrade orders for indoor and outdoor units, which can improve the flexibility of firmware upgrades to a certain extent.

[0077] 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.

[0078] This embodiment of the disclosure flexibly obtains the corresponding upgrade order by the air conditioner's running time and / or upgrade time. Specifically, in response to the upgrade command, the usage scenario of the air conditioner is obtained, which may include the air conditioner's running time and / or upgrade time. 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.

[0079] 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.

[0080] In step S21, in response to the upgrade command, the usage scenario of the air conditioner is obtained, including the running time of the air conditioner and / or the upgrade time.

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

[0082] In step S22, if it is determined that the running time exceeds the preset time, 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.

[0083] As an optional approach, in response to an upgrade command, embodiments of this disclosure can determine whether the runtime exceeds a preset duration. If it is determined that the air conditioner's runtime exceeds the preset duration, embodiments of this disclosure can set the target upgrade sequence to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit. Here, the preset duration can be a preset duration used to measure the user's demand for air conditioning. A runtime exceeding the preset duration indicates a high demand for air conditioning from the user, while a runtime within the preset duration indicates a low demand. For example, the preset duration can be 3 hours.

[0084] Optionally, if the air conditioner's running time exceeds the preset time, it indicates that the user has a high demand for the air conditioner. In order to ensure the user's experience, this embodiment of the disclosure can first upgrade the indoor unit for the user's use, and then upgrade the outdoor unit on this basis.

[0085] Optionally, the reason for upgrading the indoor unit first when the air conditioner's running time exceeds the preset time can also be that the indoor unit is usually responsible for controlling and managing various functions of the entire air conditioning system, including temperature control, mode selection, fan speed adjustment, etc. It can be seen that the function update 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 when the user's demand for air conditioning is relatively large.

[0086] 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.

[0087] For example, once the upgrade process begins, the indoor unit can determine whether the air conditioner's operating time exceeds the preset time. If the air conditioner's operating time is greater than the preset time, it means that the user has a greater demand for the air conditioner and the indoor unit needs to be upgraded first, followed by the outdoor unit. Therefore, the upgrade order of the indoor and outdoor units can be set to upgrade the indoor unit first, followed by the outdoor unit.

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

[0089] In step S24, 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.

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

[0091] In step S25, if the upgrade time is determined to be within a specified time period, the target upgrade order is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0092] Alternatively, in response to an upgrade command, embodiments of this disclosure can determine whether the air conditioner's upgrade time falls within a specified time period. If it is determined that the air conditioner's upgrade time falls within the specified time period, embodiments of this disclosure can set the target upgrade sequence to upgrade the indoor unit of the air conditioner first, followed by upgrading the outdoor unit.

[0093] In this embodiment of the disclosure, the specified time period may include at least one sub-time period, and the at least one sub-time period may be discontinuous. For example, the specified time period may include... Figure 5 The first and second sub-time periods are shown. The first sub-time period can be from 12:00 PM to 2:00 PM; the second sub-time period is from 8:00 PM to 2:00 AM. If the air conditioner upgrade time falls within the first or second sub-time period, it indicates that the user's demand for air conditioning is high at this time, and the indoor unit needs to be upgraded first, followed by the outdoor unit. Therefore, the upgrade order of the indoor and outdoor units can be set to upgrade the indoor unit first, followed by the outdoor unit.

[0094] Here, the specified time period can be determined based on weather data of the area where the air conditioner is located. That is, before determining whether the air conditioner upgrade time falls within the specified time period, this embodiment of the disclosure can first predict the weather data of the area where the air conditioner is located. Based on this, the specified time period is determined using the predicted weather data.

[0095] For example, if it is determined from the weather forecast data that there will be a rainstorm between 12:00 and 1:00, then in this embodiment of the disclosure, the specified time period can be set to before 12:00 or after 1:00, that is, the time period before 12:00 and the time period after 1:00 can both be used as the specified time period.

[0096] Optionally, the specified time period can also be determined based on the user's usage needs in the air conditioner's usage scenario. That is, before determining whether the air conditioner's upgrade time falls within the specified time period, this embodiment of the disclosure can obtain the user's usage habits in the air conditioner's usage scenario. Based on this, the specified time period is determined according to these usage habits.

[0097] For example, in a scenario where air conditioning is used, users typically turn it on between 12:00 PM and 2:00 PM in summer, and between 8:00 PM and 1:00 AM. Therefore, the corresponding designated time periods for summer could be 12:00 PM to 2:00 PM and 8:00 PM to 1:00 AM. Conversely, in a scenario where air conditioning is used, users typically turn it on between 7:00 PM and 12:00 AM in winter. Therefore, the corresponding designated time periods for winter could also be 7:00 PM to 12:00 AM. It is evident that the designated time periods can be adjusted based on user habits, season, temperature, and other factors.

[0098] Optionally, users can set the specified time period according to their personal needs, or it can be determined by combining weather data, personal usage needs, and usage habits. There are no specific restrictions on how to obtain the specified time period; users can choose according to the actual situation.

[0099] As another alternative approach, if it is determined that the running time of the air conditioner does not exceed the preset time, the present embodiment can continue to determine whether the upgrade time of the air conditioner is within a specified time period. If the upgrade time of the air conditioner is within a specified time period, the upgrade order of the air conditioner is set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner. That is, during the upgrade process, the indoor unit can be upgraded first and then the outdoor unit can be upgraded.

[0100] As an alternative approach, if it is determined that the air conditioner's operating time does not exceed the preset duration and the air conditioner's upgrade time is not within the specified time period, then the target upgrade sequence of this disclosure can be set to upgrade the outdoor unit of the air conditioner first and then upgrade the indoor unit of the air conditioner, that is, when upgrading, the outdoor unit is upgraded first and then the indoor unit is upgraded.

[0101] In addition, if it is determined that the air conditioner's operating time does not exceed the preset time and the air conditioner's upgrade time is not within the specified time period, in this embodiment of the disclosure, if the air conditioner's operating mode is detected to be cooling mode and the outdoor ambient temperature is determined to exceed the first preset temperature, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0102] Optionally, if it is determined that the air conditioner's operating time does not exceed the preset time and the air conditioner's upgrade time is not within the specified time period, in this embodiment of the present disclosure, if the air conditioner's operating mode is detected to be cooling mode and it is determined that the difference between the air conditioner's indoor ambient temperature and the first target temperature exceeds the first temperature difference, the target upgrade sequence can be set to upgrade the air conditioner's indoor unit first and then upgrade the air conditioner's outdoor unit.

[0103] Optionally, if it is determined that the air conditioner's operating time does not exceed the preset duration and the air conditioner's upgrade time is not within the specified time period, in this embodiment of the disclosure, if the air conditioner's operating mode is detected to be heating mode and the outdoor ambient temperature is determined to be lower than the second preset temperature, the target upgrade sequence can be set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0104] Optionally, if it is determined that the air conditioner's operating time does not exceed the preset duration and the air conditioner's upgrade time is not within the specified time period, in this embodiment of the present disclosure, if the air conditioner's operating mode is detected to be heating mode and 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 can be set to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0105] After obtaining the target upgrade order, this embodiment of the disclosure can receive the firmware upgrade package according to the target upgrade order, that is, proceed to step S23.

[0106] 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.

[0107] 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.

[0108] In some implementations, when it is determined that the air conditioner's operating time exceeds a preset duration, or when it is determined that the air conditioner's upgrade time falls within a specified time period, 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, this embodiment of the disclosure can upgrade the outdoor unit first and then upgrade the indoor unit.

[0109] In summary, the embodiments of this disclosure intelligently select the upgrade order of indoor and outdoor units by judging information such as the user's usage time on the upgrade day and the exact time of the upgrade. That is, the upgrade order of indoor and outdoor units is intelligently selected by judging the air conditioner usage scenario at the time of the 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.

[0110] 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.

[0111] This disclosure flexibly obtains the corresponding upgrade order by taking into account the air conditioner's runtime and / or upgrade time. Specifically, in response to an upgrade command, the usage scenario of the air conditioner is obtained, which may include the air conditioner's runtime and / or upgrade time. 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. 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.

[0112] 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.

[0113] 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 running time and / or upgrade time 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.

[0114] In some implementations, the determining module 302 may be configured to, if it is determined that the running time exceeds a preset time, set the target upgrade sequence to upgrade the indoor unit of the air conditioner first and then the outdoor unit of the air conditioner.

[0115] In some implementations, the determining module 302 may also be configured to, if the upgrade time is determined to be within a specified time period, set the target upgrade sequence to upgrade the indoor unit of the air conditioner first and then upgrade the outdoor unit of the air conditioner.

[0116] In some embodiments, the air conditioner program upgrade device 300 may further include: The time period determination module is configured to acquire weather data of the area where the air conditioner is located, and determine the specified time period based on the weather data.

[0117] In some implementations, the time period determination module can also be configured to obtain the user's usage needs in the usage scenario of the air conditioner, and determine the specified time period based on the usage needs.

[0118] In some implementations, the determining module 302 may also be configured to, if it is determined that the running time does not exceed the preset duration and the upgrade time is not within the specified time period, 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.

[0119] In some implementations, the upgrade module 303 may also be configured to send a target upgrade sequence to a slave air conditioner connected to the air conditioner, and instruct the slave air conditioner to upgrade the indoor and outdoor unit data of the slave air conditioner according to the target upgrade sequence.

[0120] This disclosure embodiment flexibly obtains the corresponding upgrade order by utilizing the air conditioner's runtime and / or upgrade time. Specifically, in response to an upgrade command, the air conditioner's usage scenario is obtained, which may include the air conditioner's runtime and / or upgrade time. Based on this, a target upgrade order corresponding to the usage scenario is determined, and a firmware upgrade package is received according to this 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.

[0121] 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.

[0122] 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.

[0123] 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.

[0124] 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.

[0125] 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.

[0126] 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.

[0127] 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.

[0128] 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.

[0129] 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.

[0130] 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.

[0131] 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.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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.

[0136] 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.

[0137] 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.

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

[0139] 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.

[0140] 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.

[0141] 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.

[0142] 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.

[0143] 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.

[0144] 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.

[0145] 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.

[0146] 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.”

[0147] 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.”

[0148] 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.

[0149] 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 running time and / or upgrade time 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 target upgrade sequence and the firmware upgrade package; The step of determining the target upgrade order corresponding to the use case includes: If it is determined that the runtime exceeds the preset duration, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; and / or, If the upgrade time is determined to be within a specified time period, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit.

2. The method according to claim 1, characterized in that, The method further includes: Obtain weather data for the area where the air conditioner is located, and determine the specified time period based on the weather data.

3. The method according to claim 1, characterized in that, The method further includes: Obtain the user's usage needs in the air conditioner's usage scenario, and determine the specified time period based on the usage needs.

4. The method according to claim 1, characterized in that, The method further includes: If it is determined that the runtime does not exceed the preset duration and the upgrade time is not within the specified time period, 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.

5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The target upgrade sequence is sent to the slave air conditioner connected to the air conditioner, and the slave air conditioner is instructed to upgrade the indoor and outdoor unit data of the slave air conditioner according to the target upgrade sequence.

6. A program upgrade device for an air conditioner, 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 running time and / or upgrade time of the air conditioner; The determination module is configured to determine the target upgrade order corresponding to the usage scenario and receive a firmware upgrade package, 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 target upgrade sequence and the firmware upgrade package; The determining module is configured as follows: If it is determined that the runtime exceeds the preset duration, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; and / or, If the upgrade time is determined to be within a specified time period, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit.

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 running time and / or upgrade time of the air conditioner; Determine the target upgrade sequence corresponding to the usage scenario, and receive the firmware upgrade package, which includes external program data and / or internal program data; The indoor and outdoor unit data of the air conditioner are upgraded according to the target upgrade sequence and the firmware upgrade package; The step of determining the target upgrade order corresponding to the use case includes: If it is determined that the runtime exceeds the preset duration, then the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit; and / or, If the upgrade time is determined to be within a specified time period, the target upgrade sequence is set to upgrade the indoor unit of the air conditioner first, followed by the outdoor unit.

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.