Air conditioner outdoor unit upgrading method, air conditioner and storage medium
By adding an upgrade data bit to the communication protocol between the indoor and outdoor units of the air conditioner, the conflict problem with control instructions during the upgrade of the air conditioner outdoor unit is solved, an efficient and safe upgrade method is implemented, and system compatibility and user experience are improved.
Patent Information
- Application Number
- CN202510931731.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-09-12
AI Technical Summary
The existing air-conditioning outdoor unit is prone to conflict with control instructions during the program upgrade process, affecting normal operation. In addition, the upgrade process is highly complex and has poor compatibility and security.
Add the data bit corresponding to the upgrade program to the original communication protocol of the air conditioner indoor and outdoor units, transmit the upgrade program data through this data bit, and restore the original communication protocol after the upgrade is completed to avoid interference with the control function and ensure data integrity and security.
The upgrade process minimizes interference with original control functions, improves system compatibility, reliability and security, shortens downtime, and reduces upgrade costs and network bandwidth usage.
Smart Images

Figure CN120639612A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and in particular, to a method for upgrading an air conditioner outdoor unit, an air conditioner applying the method for upgrading an air conditioner outdoor unit, and a computer-readable storage medium applying the method for upgrading an air conditioner outdoor unit. Background Art
[0002] Remote program upgrades refer to the process of remotely updating or upgrading a device's control program or firmware over a network (such as Wi-Fi, 4G / 5G, etc.). This technology, also known as OTA (Over-The-Air) technology, is becoming increasingly common in smart air conditioners, especially those that support the Internet of Things (IoT).
[0003] OTA technology relies on the internet, but since almost all air conditioners only have Wi-Fi or other communication methods for networking, outdoor units lack direct internet connectivity. Therefore, OTA technology isn't widely used to remotely update controller programs in outdoor units. Most remote updates are for indoor units.
[0004] The communication protocols between traditional air conditioner indoor and outdoor units typically only support basic control commands (such as temperature adjustment and mode switching) and do not reserve dedicated channels for upgraded data transmission. Directly reusing existing communication protocols to transmit upgrade data can lead to the following risks: conflicts between control commands and upgrade data, resulting in communication interruptions or data loss; the upgrade process consumes a significant amount of communication bandwidth, impacting the normal operation of the air conditioner (such as temperature fluctuations and response delays). Furthermore, some existing technologies permanently modify the communication protocol to support upgrades, but this approach presents the following issues: increased protocol complexity and reduced system reliability; poor compatibility with older outdoor units, requiring simultaneous upgrades of the indoor and outdoor unit communication modules; and the long-term retention of upgrade-related data bits can pose a system security risk, such as being exploited for unauthorized access by malicious actors.
[0005] In an existing air conditioner program upgrade method, when an outdoor unit needs to be upgraded, the outdoor unit communicates with the indoor unit via a wireless communication module, and the indoor unit's communication module connects to a remote server. This allows the upgrade file to be downloaded and stored on the outdoor unit. When the upgrade instruction is received, the upgrade file stored on the outdoor unit is directly read and upgraded. This improves upgrade efficiency and minimizes the impact on the air conditioner. However, this solution also does not address the impact of the upgrade file transmission between the indoor and outdoor units on the normal operation of the air conditioner.
[0006] Therefore, it is necessary to consider a more optimized method for upgrading the air conditioner outdoor unit. Summary of the Invention
[0007] The first object of the present invention is to provide an air conditioner outdoor unit upgrade method that avoids interference with original control functions when downloading an upgrade program and improves system compatibility.
[0008] A second object of the present invention is to provide an air conditioner that avoids interference with original control functions when downloading an upgrade program and improves system compatibility.
[0009] A third object of the present invention is to provide a computer-readable storage medium that avoids interference with original control functions when downloading an upgrade program and improves system compatibility.
[0010] In order to achieve the above-mentioned first purpose, the air-conditioning outdoor unit upgrade method provided by the present invention includes: when obtaining the download instruction of the outdoor unit upgrade program, adding the data bit corresponding to the upgrade program in the original communication protocol between the indoor unit and the outdoor unit; the indoor unit downloads the upgrade program data and forwards it to the outdoor unit after the communication of the newly added data bit is successfully established; the outdoor unit stores the upgrade program data in a preset storage area of the storage chip; after the outdoor unit completes the download and storage of the upgrade program data, if the upgrade instruction is obtained, the upgrade program data in the preset storage area is read to perform the upgrade operation; after the upgrade operation is completed, the original communication protocol of the indoor unit and the outdoor unit is restored.
[0011] As can be seen from the above scheme, in the air-conditioning outdoor unit upgrade method of the present invention, by temporarily adding a dedicated upgrade data bit in the original communication protocol, the indoor unit downloads the upgrade program data from the cloud or local server, and forwards it to the outdoor unit through the data bit, thereby realizing independent transmission of the upgrade program, avoiding interference with the original control function, and restoring the protocol to its original state after the upgrade is completed, releasing communication resources, and avoiding redundant data bits affecting the transmission efficiency of normal control instructions. At the same time, it reduces the risk of protocol vulnerabilities, prevents unauthorized access to the system through temporary data bits, and improves system compatibility, reliability, and security. In addition, the outdoor unit first receives and stores the program to be upgraded in the outdoor unit's storage chip. During the upgrade, the upgrade operation is performed by reading the upgrade program data in the preset storage area. The communication rate is fast, and the downtime of the upgrade process will be greatly shortened, which can improve the user experience.
[0012] In a further solution, the step of adding data bits corresponding to the upgrade program to the original communication protocol of the indoor unit and the outdoor unit includes: adding data bits corresponding to the upgrade program to the end of the original data bits in the original communication protocol of the indoor unit and the outdoor unit.
[0013] As can be seen, adding the upgrade program's corresponding data bits to the end of the existing data bits does not affect the original data bit order or meaning. Older versions of indoor and outdoor units can still parse the protocol normally, simply ignoring the newly added data bits, achieving plug-and-play operation. Furthermore, with strong hardware compatibility, there's no need to upgrade the communication module firmware of existing devices, reducing upgrade costs.
[0014] In a further scheme, the steps of reading the upgrade program data in the preset storage area for upgrading operation include: backing up the original program data in the outdoor unit main control chip; erasing the original program data in the outdoor unit main control chip, and writing the upgrade program data in the preset storage area into the outdoor unit main control chip to complete the upgrade.
[0015] It can be seen from this that by backing up the original program data in the outdoor unit main control chip and then erasing it, the outdoor unit can be restored to operation by restoring the original program data when the upgrade fails.
[0016] In a further solution, when backing up the original program data in the outdoor unit main control chip, the operating status data of the current air-conditioning unit is also recorded; when the upgrade is completed, the operating status data is read and the air conditioner is operated according to the operating status data.
[0017] It can be seen that by recording the operating status data of the current air-conditioning unit before the upgrade, reading the operating status data after the upgrade is completed, and operating the air conditioner according to the operating status data, the user experience can be improved.
[0018] In a further solution, after writing the upgrade program data in the preset storage area into the outdoor unit main control chip, it also includes: verifying the data written into the outdoor unit main control chip. If the verification fails, reading the backed-up original program data and writing it into the outdoor unit main control chip.
[0019] This shows that by verifying the data entering the outdoor unit's main control chip, the successful installation and accuracy of the upgrade program can be ensured. At the same time, if the verification fails, the original program data can be restored to ensure the normal operation of the air conditioner.
[0020] In a further solution, the step of the outdoor unit storing the upgrade program data in the preset storage area of the storage chip includes: each time a data packet of the upgrade program data is stored in the preset storage area, the data packet is verified, and after the verification passes, the next data packet is obtained for storage.
[0021] This shows that by verifying each data packet, the security and correctness of the data can be guaranteed, and upgrade failures can be avoided.
[0022] In a further solution, after the outdoor unit stores the upgrade program data in a preset storage area of the memory chip, the method further includes: verifying the upgrade program data in the preset storage area, and sending an upgrade permission prompt message if the verification is successful.
[0023] It can be seen that the upgrade program data in the preset storage area is verified, and after the verification is successful, a prompt message allowing the upgrade is sent to facilitate the user to control the upgrade.
[0024] In a further solution, the step of the outdoor unit storing the upgrade program data in a preset storage area of the storage chip also includes: if it is determined that an abnormal power outage occurred during the last transmission and storage process, then it is determined whether the currently transmitted upgrade program data is the same program as the last transmitted upgrade program data. If so, the transmission continues from the last interruption position.
[0025] As can be seen, after an abnormal power outage, the system can determine whether the current upgrade program data is the same as the last transmitted data. If so, the transmission will continue directly from the last interruption point, without having to download the entire upgrade package from the beginning. This significantly reduces the amount of data transmitted and reduces network bandwidth usage, significantly improving the upgrade success rate, especially when the network is unstable or when transmitting large upgrade packages.
[0026] In order to achieve the second object of the present invention, the present invention provides an air conditioner including a processor and a memory, the memory storing a computer program, and the computer program, when executed by the processor, implements the steps of the above-mentioned air conditioner outdoor unit upgrading method.
[0027] In order to achieve the third objective of the present invention, the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above-mentioned air conditioner outdoor unit upgrading method when executed by a controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The present invention is a block diagram of the principle of an air conditioner to which the method for upgrading the outdoor unit of the air conditioner of the present invention is applied.
[0029] Figure 2 The figure is a schematic diagram of the partitioning of the outdoor unit main control chip and the storage chip in the air conditioner to which the air conditioner outdoor unit upgrading method of the present invention is applied.
[0030] Figure 3 It is a flow chart of an embodiment of a method for upgrading an air conditioner outdoor unit of the present invention.
[0031] Figure 4 It is a schematic diagram of data bits corresponding to the added upgrade program in the embodiment of the air conditioner outdoor unit upgrade method of the present invention.
[0032] Figure 5 It is a flowchart of the steps of reading the upgrade program data in the preset storage area to perform the upgrade operation in the embodiment of the air conditioner outdoor unit upgrade method of the present invention.
[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments. DETAILED DESCRIPTION
[0034] The air-conditioning outdoor unit upgrading method of the present invention is an application program applied in the air-conditioning, and is used for performing upgrading operations on the air-conditioning outdoor unit.
[0035] Preferably, Figure 1 As shown, the air conditioner includes an indoor unit 1 and an outdoor unit 2, and the indoor unit 1 and the outdoor unit 2 can exchange information through a zero-live communication module or a 485 communication module.
[0036] The indoor unit 1 includes an indoor unit control chip 11 and a network module 12. The network module 12 includes wired communication and wireless communication, has the ability to connect to the Internet, and can communicate with a remote server. The outdoor unit 2 includes an outdoor unit control chip 21 and a storage chip 22. Preferably, the storage chip is an EEPROM chip. In this embodiment, Figure 2 As shown, the outdoor unit main control chip 21 must be divided into at least two areas, a BOOT area and a USER area, based on the required space and chip storage address. The BOOT area is used to store the boot program, and the USER area stores user programs (i.e., updateable and upgradeable programs). Similarly, the memory chip 22 must be divided into at least an area A1 for storing original program data of the memory chip 22, an area A2 for storing program data to be updated and upgraded of the memory chip 22, an area B1 for backing up the original program data of the outdoor unit control chip 21, and an area B2 for storing program data to be updated and upgraded of the outdoor unit control chip 21, based on the address and required space.
[0037] Example of the method for upgrading the outdoor unit of the air conditioner: like Figure 3 As shown, in this embodiment, the air conditioner outdoor unit upgrade method, when in operation, first executes step S1 to determine whether a download instruction for the outdoor unit upgrade program has been obtained. The download instruction for the outdoor unit upgrade program can be obtained through detection by a remote server. The remote server obtains the unit device number and the unit's current program version information sent by the indoor unit to determine whether the outdoor unit requires an upgrade program. If an upgrade program is confirmed to be necessary, the remote server sends the outdoor unit upgrade program download instruction to the indoor unit.
[0038] If no download instruction for the outdoor unit upgrade program is received, step S1 is continued for continuous testing. If a download instruction for the outdoor unit upgrade program is received, step S2 is executed to add data bits corresponding to the upgrade program to the original communication protocol between the indoor and outdoor units. Because the outdoor unit cannot connect to the Internet, when the outdoor unit needs to be upgraded, it must obtain the upgrade program data through the indoor unit. To avoid interference with existing control functions when downloading the upgrade program, data bits corresponding to the upgrade program must be added to the original communication protocol between the indoor and outdoor units for transmitting the upgrade program data.
[0039] In this embodiment, the step of adding data bits corresponding to the upgrade program to the original communication protocol of the indoor unit and the outdoor unit includes: adding data bits corresponding to the upgrade program to the end of the original data bits in the original communication protocol of the indoor unit and the outdoor unit. Figure 4The original communication protocol between the indoor and outdoor units contained 1,000 data bits, but now 100 new data bits are needed to send and receive data related to program upgrades. The newly added data bits include: device information, program code, program version, program content, program checksum, exception flag, status flag, etc. Adding the data bits corresponding to the upgrade program at the end of the original data bits does not affect the order and meaning of the original data bits. The old version of the indoor and outdoor units can still parse the protocol normally, only ignoring the newly added data bits, and are plug-and-play. Furthermore, the hardware compatibility is strong, and there is no need to upgrade the firmware of the communication module of the existing equipment, reducing the upgrade cost. Of course, the data bits corresponding to the added upgrade program can also be inserted at any position of the original data bits.
[0040] After adding the data bits corresponding to the upgrade program to the original communication protocol between the indoor and outdoor units, step S3 is executed. The indoor unit downloads the upgrade program data and forwards it to the outdoor unit after communication is successfully established via the newly added data bits. The program data includes information such as the program code, version, and checksum. After the newly added data bits are added to the original communication protocol, the indoor and outdoor units need to establish communication via the modified communication protocol to enable normal communication between the indoor and outdoor units. Establishing communication is a well-known technique for those skilled in the art and will not be described in detail here. The indoor unit communicates with the remote server and downloads the upgrade program data. After communication is successfully established via the newly added data bits, the downloaded upgrade program data is sent to the outdoor unit via the newly added data bits.
[0041] After the indoor unit downloads the upgrade program data and forwards it to the outdoor unit, step S4 is executed, where the outdoor unit stores the upgrade program data in a preset storage area of the memory chip. To reduce the memory space occupied by the upgrade program data on the outdoor unit's main control chip, which could affect program operation, the upgrade program data is stored in the preset storage area of the memory chip. In this embodiment, the outdoor unit receives the upgrade program data, encodes it, and stores it in area B2 of the memory chip.
[0042] In this embodiment, the step of the external device storing the upgrade program data in a preset storage area of the memory chip includes: each time a packet of upgrade program data is stored in the preset storage area, the packet is verified. If the verification passes, the next packet is retrieved and stored. After each packet is stored, it is read back and compared with the received data for verification. If the verification fails, the packet is resent. If the packet fails the verification after a preset number of times, the transmission fails, and a record is generated as feedback. If the verification passes, the next packet is retrieved and stored. By verifying each packet, the security and accuracy of the data can be guaranteed, preventing upgrade failures.
[0043] In this embodiment, the step of the outdoor unit storing the upgrade program data in a preset storage area of the memory chip further includes: if it is determined that an abnormal power outage occurred during the previous transmission and storage process, then determining whether the currently transmitted upgrade program data is the same as the previously transmitted upgrade program data. If so, transmission continues from the last interruption point. After an abnormal power outage, the system can identify whether the currently transmitted upgrade program data is the same as the previously transmitted upgrade program data. If so, transmission continues directly from the last interruption point, without having to re-download the entire upgrade package. This significantly reduces the amount of data transmitted and reduces network bandwidth usage, significantly improving the upgrade success rate, especially when the network is unstable or when transmitting large upgrade packages.
[0044] In this embodiment, after the outdoor unit stores the upgrade program data in a preset storage area of the memory chip, the outdoor unit further includes: verifying the upgrade program data in the preset storage area. If the verification is successful, a prompt message indicating that the upgrade is allowed is sent. After storage is complete, the outdoor unit calculates a verification code of the stored upgrade program data and compares it with the received verification code. If the verification codes do not match, the data is retransmitted. If the verification is successful, a prompt message indicating that the upgrade is allowed is sent. By verifying the upgrade program data in the preset storage area and sending a prompt message indicating that the upgrade is allowed after the verification is successful, the user can control the upgrade.
[0045] After the outdoor unit completes downloading and storing the upgrade program data, step S5 is executed to determine whether an upgrade instruction has been obtained. The step of obtaining the upgrade instruction includes: the outdoor unit can automatically obtain the upgrade instruction after completing downloading and storing the upgrade program data; or obtain the upgrade instruction by obtaining an instruction for upgrade control sent by the control terminal.
[0046] If no upgrade instruction is received, the process continues with step S5 for continuous testing. If an upgrade instruction is received, the process proceeds to step S6, where the upgrade program data in the preset storage area is read and the upgrade operation is performed. The outdoor unit first receives and stores the program to be upgraded in its memory chip. During the upgrade, the upgrade operation is performed by reading the upgrade program data in the preset storage area. This allows for faster communication speeds, significantly reducing downtime during the upgrade process and improving the user experience.
[0047] In this embodiment, see Figure 5 When reading the upgrade program data from the preset storage area for the upgrade operation, step S11 is first executed to back up the original program data in the outdoor unit's main control chip. After receiving the upgrade instruction, the outdoor unit's main control chip encodes the original program data in the USER area and sends it to the B1 area of the storage chip. By backing up the original program data in the outdoor unit's main control chip, the outdoor unit can resume operation by restoring the original program data in the event of an upgrade failure.
[0048] After backing up the original program data in the outdoor unit main control chip, step S12 is executed to erase the original program data in the outdoor unit main control chip and write the upgraded program data in the preset storage area into the outdoor unit main control chip to complete the upgrade. In this embodiment, the program in the BOOT area of the outdoor unit main control chip first erases the program in the USER area, and then reads the upgraded program data in the B2 area and writes it into the USER area.
[0049] In this embodiment, after writing the upgrade program data from the preset storage area to the outdoor unit main control chip, the system further includes verifying the data written to the outdoor unit main control chip. If the verification fails, the system reads the backed-up original program data and writes it back to the outdoor unit main control chip. This verification of the data entered into the outdoor unit main control chip ensures the successful installation and accuracy of the upgrade program. Furthermore, if the verification fails, the original program data can be restored to ensure normal operation of the air conditioner.
[0050] In this embodiment, when backing up the original program data in the outdoor unit's main control chip, the current operating status data of the air conditioner unit is also recorded. When the upgrade is complete, the operating status data is read and the air conditioner is operated accordingly. By recording the operating status data of the current air conditioner unit before the upgrade and reading the operating status data after the upgrade is complete and operating the air conditioner according to the operating status data, the user experience can be improved.
[0051] After the upgrade is complete, step S7 is executed to restore the original communication protocol for the indoor and outdoor units. After the upgrade is complete, the data bits corresponding to the upgrade program are no longer needed. Therefore, after the upgrade is complete, the communication protocol returns to its original data frame structure, freeing up the occupied transmission bandwidth and freeing up communication resources. This prevents redundant data bits from affecting the transmission efficiency of normal control commands, restoring the transmission delay of air conditioning control commands to pre-upgrade levels and avoiding response delays caused by redundant data bits. This also reduces the risk of protocol vulnerabilities, prevents unauthorized access to the system through temporary data bits, and improves system compatibility, reliability, and security.
[0052] From the above, it can be seen that in the air-conditioning outdoor unit upgrade method of the present invention, by temporarily adding a dedicated upgrade data bit in the original communication protocol, the indoor unit downloads the upgrade program data from the cloud or local server, and forwards it to the outdoor unit through the data bit, thereby realizing independent transmission of the upgrade program, avoiding interference with the original control function, and restoring the protocol to its original state after the upgrade is completed, releasing communication resources, and avoiding redundant data bits affecting the transmission efficiency of normal control instructions. At the same time, it reduces the risk of protocol vulnerabilities, prevents unauthorized access to the system through temporary data bits, and improves system compatibility, reliability and security.
[0053] Air conditioner embodiment: The air conditioner of this embodiment includes a controller, and when the controller executes a computer program, the steps in the above-mentioned embodiment of the method for upgrading the air conditioner outdoor unit are implemented.
[0054] For example, a computer program may be divided into one or more modules, one or more of which are stored in a memory and executed by a controller to implement the present invention. One or more modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the air conditioner.
[0055] The air conditioner may include, but is not limited to, a controller and a memory. Those skilled in the art will appreciate that the air conditioner may include more or fewer components, or a combination of certain components, or different components. For example, the air conditioner may also include input and output devices, network access devices, buses, etc.
[0056] For example, the controller can be a central processing unit (CPU), other general-purpose controllers, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose controller can be a microcontroller or any conventional controller. The controller is the control center of the air conditioner and connects the various parts of the entire air conditioner using various interfaces and lines.
[0057] The memory can be used to store computer programs and / or modules. The controller implements various functions of the air conditioner by running or executing the computer programs and / or modules stored in the memory and accessing data stored in the memory. For example, the memory may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (e.g., a voice reception function, a voice-to-text function, etc.); the data storage area may store data generated based on the use of the mobile phone (e.g., audio data, text data, etc.). Furthermore, the memory may include high-speed random access memory (RAM) and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a SmartMediaCard (SMC), a Secure Digital (SD) card, a flash memory card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0058] Computer readable storage medium embodiment: If the air conditioner integrated module of the above-mentioned embodiment is implemented as a software functional unit and sold or used as a standalone product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the process described in the above-mentioned air conditioner outdoor unit upgrade method embodiment can also be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by a controller, the computer program can implement the steps of the above-mentioned air conditioner outdoor unit upgrade method embodiment. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. Storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, removable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content of the computer-readable medium can be appropriately expanded or reduced based on the requirements of legislation and patent practice within a jurisdiction. For example, in some jurisdictions, legislation and patent practice do not require that computer-readable media include electrical carrier signals and telecommunications signals.
[0059] It should be noted that the above are only preferred embodiments of the present invention, but the design concept of the invention is not limited thereto. Any non-substantial modifications made to the present invention using this concept also fall within the scope of protection of the present invention.
Claims
1. A method for upgrading an air conditioner outdoor unit, characterized in that: include: When the download instruction of the outdoor unit upgrade program is obtained, the data bit corresponding to the upgrade program is added to the original communication protocol of the indoor and outdoor units; The indoor unit downloads the upgrade program data and forwards it to the outdoor unit after the communication of the newly added data bit is successfully established; The outdoor unit stores the upgrade program data in a preset storage area of a storage chip; After the outdoor unit completes downloading and storing the upgrade program data, if an upgrade instruction is obtained, the outdoor unit reads the upgrade program data in the preset storage area to perform an upgrade operation; After the upgrade operation is completed, the original communication protocol of the indoor unit and the outdoor unit is restored.
2. The method for upgrading an air conditioner outdoor unit according to claim 1, characterized in that: The steps for adding data bits corresponding to the upgrade program to the original communication protocols of the indoor and outdoor units include: The data bits corresponding to the upgrade program are added to the ends of the original data bits in the original communication protocol of the indoor unit and the outdoor unit.
3. The method for upgrading an air conditioner outdoor unit according to claim 1 or 2, characterized in that: The step of reading the upgrade program data in the preset storage area to perform an upgrade operation includes: Back up the original program data in the outdoor unit's main control chip; The original program data in the outdoor unit main control chip is erased, and the upgraded program data in the preset storage area is written into the outdoor unit main control chip to complete the upgrade.
4. The method for upgrading an air conditioner outdoor unit according to claim 3, wherein: When backing up the original program data in the outdoor unit main control chip, the current operating status data of the air-conditioning unit is also recorded; When the upgrade is completed, the operating status data is read and the air conditioner is operated according to the operating status data.
5. The method for upgrading an air conditioner outdoor unit according to claim 3, wherein: After writing the upgrade program data in the preset storage area into the outdoor unit main control chip, the method further includes: The data written into the outdoor unit main control chip is verified. If the verification fails, the backed-up original program data is read and written into the outdoor unit main control chip.
6. The method for upgrading an air conditioner outdoor unit according to claim 1 or 2, characterized in that: The step of the outdoor unit storing the upgrade program data in a preset storage area of a storage chip includes: Each time a data packet of the upgrade program data is stored in the preset storage area, the data packet is verified, and after the verification passes, the next data packet is obtained and stored.
7. The method for upgrading an air conditioner outdoor unit according to claim 1 or 2, characterized in that: After the outdoor unit stores the upgrade program data in a preset storage area of a storage chip, the outdoor unit further includes: The upgrade program data in the preset storage area is verified, and if the verification is successful, a prompt message allowing the upgrade is sent.
8. The method for upgrading an air conditioner outdoor unit according to claim 1 or 2, characterized in that: The step of the outdoor unit storing the upgrade program data in a preset storage area of a storage chip further includes: If it is determined that an abnormal power failure occurred during the last transmission and storage process, it is determined whether the currently transmitted upgrade program data is the same program as the last transmitted upgrade program data. If so, the transmission is continued from the last interruption position.
9. An air conditioner comprising a processor and a memory, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the steps of the air conditioner outdoor unit upgrading method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the controller, the steps of the air conditioner outdoor unit upgrading method according to any one of claims 1 to 8 are implemented.