OTA version updating method for indoor unit and outdoor unit of air conditioner

By comparing the SN code and OTA version number of the internal and external units of the air conditioner, the OTA data is automatically synchronized, which solves the problem of inconsistent versions of the internal and external units and ensures the consistency of equipment functions and user experience.

CN118567682APending Publication Date: 2024-08-30FOSHAN VANADIUM SOUND TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410716296.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Inconsistent OTA versions of the air conditioner's internal and external units result in device unavailability or functional problems, affecting user experience.

Method used

By judging the SN code, OTA version number and memory data of the air conditioner's internal and external units, comparison and verification are performed, and the higher version of OTA data is automatically synchronized to make the parameters of the internal and external units consistent.

Benefits of technology

It solves the problem of version inconsistency during the OTA upgrade process, ensures the consistency of functional parameters of air conditioning equipment, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567682A
    Figure CN118567682A
Patent Text Reader

Abstract

The invention relates to the technical field of smart home, in particular to an air conditioner indoor and outdoor unit OTA version updating method which comprises the following steps: S101, judging whether indoor unit equipment of an air conditioner runs for the first time after OTA upgrading is completed, and if yes, executing the step S102; s102, acquiring a current first parameter of outdoor unit equipment of the air conditioner; s103, a second parameter stored after the OTA upgrading of the indoor unit equipment is completed is read; s104, comparing the first parameter with the second parameter in the indoor unit equipment, and writing all memory parameters of the outdoor unit equipment into the indoor unit equipment or writing all memory parameters of the indoor unit equipment into the outdoor unit equipment according to a comparison result; and S105, OTA version updating of the indoor and outdoor units of the air conditioner is ended. According to the method, the consistency of functional parameters of the air conditioning equipment after OTA upgrading of the indoor unit and the outdoor unit is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and in particular to an OTA version update method for indoor and outdoor units of an air conditioner. Background Art

[0002] With the development and popularization of intelligence, more and more air conditioners can remotely upgrade programs or parameters. The upgrade of programs and parameters allows users to customize various functions of air conditioners. At present, the more common practice in the market is to upgrade the program of the WIFI module or Bluetooth module itself, but not the main control program; or to upgrade the main control program, but not the external unit driver board program; or all programs can be upgraded, but some parameters in the program need to be upgraded through the entire program, or the parameters cannot be upgraded.

[0003] In this case, the system versions of the indoor and outdoor units of the air conditioner may be different, which is not conducive to the cloud hardware push in the case of OTA upgrade, that is, the required system version file cannot be determined. At the same time, the replacement of the indoor and outdoor units of the air conditioner may result in different machine versions after replacement. Different versions of the indoor and outdoor units of the air conditioner may cause the air conditioner to be unavailable or have functional problems, affecting the user experience. Summary of the invention

[0004] The embodiment of the present invention aims to solve the problem that the OTA version data of the indoor and outdoor units of the existing intelligent air-conditioning equipment are different.

[0005] In order to solve the above technical problems, the present invention provides an OTA version update method for indoor and outdoor units of an air conditioner, comprising the following steps:

[0006] S101, determining whether the indoor device of the air conditioner is running for the first time after completing the OTA upgrade, if so, executing step S102;

[0007] S102, obtaining a current first parameter of an outdoor device of the air conditioner;

[0008] S103, reading a second parameter saved after the internal device completes the OTA upgrade;

[0009] S104, comparing the first parameter with the second parameter in the indoor device, and writing all memory parameters of the outdoor device into the indoor device, or writing all memory parameters of the indoor device into the outdoor device according to the comparison result;

[0010] S105: End the OTA version update of the indoor and outdoor units of the air conditioner.

[0011] Furthermore, in step S101, it is determined whether the indoor device of the air conditioner is running for the first time after completing the OTA upgrade. If not, the first power-on flag of the indoor device is cleared, and then step S102 is executed.

[0012] Furthermore, the first parameter includes a first external unit SN code, a first external unit parameter version number and a first external unit CRC check code, and the second parameter includes a second external unit SN code, a second external unit parameter version number and a second external unit CRC check code.

[0013] Furthermore, step S104 includes the following sub-steps:

[0014] S1041, performing a matching check on the first external machine SN code and the first external machine parameter version number according to the second CRC check code, and if they match each other, executing step S1042;

[0015] S1042: Compare the second external machine parameter version number with the first external machine parameter version number, wherein:

[0016] If the second external machine parameter version number is greater than or equal to the first external machine parameter version number, then:

[0017] S10421, judging whether the memory parameters of the internal device and the external device match according to the second external device CRC check code, if so, executing step S105; if not, writing all the memory parameters of the internal device into the external device, and then executing step S105;

[0018] If the second external machine parameter version number is smaller than the first external machine parameter version number, then:

[0019] S10422. Determine whether the memory parameters of the internal device and the external device match based on the first external device CRC check code. If so, execute step S105. If not, write all memory parameters of the external device into the internal device, and then execute step S105.

[0020] Furthermore, in step S1041, when the first external machine SN code and the first external machine parameter version number are matched according to the second CRC check code, if they do not match each other, the first external machine parameter version number is set to 0, and then step S1042 is executed.

[0021] Furthermore, after step S105, the method further includes the following steps:

[0022] S106: Clear the first power-on flags of the indoor device and the outdoor device.

[0023] The beneficial effect achieved by the present invention is that, in response to the problems of the prior art, a method for updating OTA version data that can automatically synchronize the indoor and outdoor units of an air conditioner is proposed. The method compares and verifies the validity of the different SN codes, OTA version numbers and memory data of the indoor and outdoor units, so that the higher version of OTA data between the two can be automatically synchronized between the indoor and outdoor units, thereby solving the problem of OTA version inconsistency caused by the point-to-point upgrade process during the OTA upgrade process, ensuring the consistency of the functional parameters of the air-conditioning equipment and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flowchart of the steps of the OTA version update method of the indoor and outdoor units of the air conditioner provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0026] Please refer to Figure 1 , Figure 1 It is a schematic diagram of the steps of the OTA version update method for the indoor and outdoor units of the air conditioner provided in an embodiment of the present invention. OTA (Over-the-Air) is a remote upgrade technology that can send updated firmware from the cloud to the device that needs to be updated through wireless communication methods such as cellular networks, thereby achieving instant updates. The situation discussed in the embodiment of the present invention is that the cloud sends updated firmware to the indoor device, and the firmware may include the firmware of the indoor device and the firmware of the outdoor device. At this time, it is necessary to determine whether the firmware on the outdoor device that is not connected to the cloud for updating needs to be updated.

[0027] The method for updating the OTA version of the indoor and outdoor units of the air conditioner comprises the following steps:

[0028] S101, determining whether the indoor device of the air conditioner is running for the first time after completing the OTA upgrade, if so, executing step S102;

[0029] S102, obtaining a current first parameter of an outdoor device of the air conditioner;

[0030] S103, reading a second parameter saved after the internal device completes the OTA upgrade;

[0031] S104, comparing the first parameter with the second parameter in the indoor device, and writing all memory parameters of the outdoor device into the indoor device, or writing all memory parameters of the indoor device into the outdoor device according to the comparison result;

[0032] S105: End the OTA version update of the indoor and outdoor units of the air conditioner.

[0033] Furthermore, in step S101, it is determined whether the indoor device of the air conditioner is running for the first time after completing the OTA upgrade. If not, the first power-on flag of the indoor device is cleared, and then step S102 is executed.

[0034] Furthermore, the first parameter includes a first external unit SN code, a first external unit parameter version number and a first external unit CRC check code, and the second parameter includes a second external unit SN code, a second external unit parameter version number and a second external unit CRC check code.

[0035] Furthermore, step S104 includes the following sub-steps:

[0036] S1041, performing a matching check on the first external machine SN code and the first external machine parameter version number according to the second CRC check code, and if they match each other, executing step S1042;

[0037] S1042: Compare the second external machine parameter version number with the first external machine parameter version number, wherein:

[0038] If the second external machine parameter version number is greater than or equal to the first external machine parameter version number, then:

[0039] S10421, judging whether the memory parameters of the internal device and the external device match according to the second external device CRC check code, if so, executing step S105; if not, writing all the memory parameters of the internal device into the external device, and then executing step S105;

[0040] If the second external machine parameter version number is smaller than the first external machine parameter version number, then:

[0041] S10422. Determine whether the memory parameters of the internal device and the external device match based on the first external device CRC check code. If so, execute step S105. If not, write all memory parameters of the external device into the internal device, and then execute step S105.

[0042] In the above process, step S1042 is aimed at determining whether the corresponding external unit data is consistent with the data stored in the internal unit after the OTA upgrade. If they are inconsistent, in order to ensure that the external unit is available, the embodiment of the present invention writes the data stored in the internal unit into the external unit, thereby ensuring the consistency of the current internal and external unit functions.

[0043] Step S10422 discusses a situation where the firmware on the external device is updated compared to the internal device. At this time, in order to ensure that the two match normally, the data saved on the external device needs to be written into the internal device, thereby ensuring the consistency of the current internal and external device functions.

[0044] Furthermore, in step S1041, when the first external machine SN code and the first external machine parameter version number are matched according to the second CRC check code, if they do not match each other, the first external machine parameter version number is set to 0, and then step S1042 is executed.

[0045] Furthermore, after step S105, the method further includes the following steps:

[0046] S106: Clear the first power-on flags of the indoor device and the outdoor device.

[0047] The beneficial effect achieved by the present invention is that, in response to the problems of the prior art, a method for updating OTA version data that can automatically synchronize the indoor and outdoor units of an air conditioner is proposed. The method compares and verifies the validity of the different SN codes, OTA version numbers and memory data of the indoor and outdoor units, so that the higher version of OTA data between the two can be automatically synchronized between the indoor and outdoor units, thereby solving the problem of OTA version inconsistency caused by the point-to-point upgrade process during the OTA upgrade process, ensuring the consistency of the functional parameters of the air-conditioning equipment and improving the user experience.

[0048] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0049] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0050] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0051] The embodiments of the present invention are described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiment of the present invention. However, the present invention is not limited to the above-mentioned specific implementation manner. The above-mentioned specific implementation manner is only illustrative rather than restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms and equivalent changes without departing from the scope of protection of the purpose of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A method for updating the OTA version of an air conditioner indoor and outdoor unit, characterized in that: The following steps are involved: S101, determining whether the indoor device of the air conditioner is running for the first time after completing the OTA upgrade, if so, executing step S102; S102, obtaining a current first parameter of an outdoor device of the air conditioner; S103, reading a second parameter saved after the internal device completes the OTA upgrade; S104, comparing the first parameter with the second parameter in the indoor device, and writing all memory parameters of the outdoor device into the indoor device, or writing all memory parameters of the indoor device into the outdoor device according to the comparison result; S105: End the OTA version update of the indoor and outdoor units of the air conditioner.

2. The OTA version update method for the indoor and outdoor units of the air conditioner according to claim 1, characterized in that: In step S101, it is determined whether the indoor device of the air conditioner is running for the first time after completing the OTA upgrade. If not, the first power-on flag of the indoor device is cleared, and then step S102 is executed.

3. The OTA version update method for the indoor and outdoor units of the air conditioner according to claim 1, characterized in that: The first parameter includes a first external unit SN code, a first external unit parameter version number and a first external unit CRC check code, and the second parameter includes a second external unit SN code, a second external unit parameter version number and a second external unit CRC check code.

4. The OTA version update method for the indoor and outdoor units of the air conditioner according to claim 1, characterized in that: Step S104 includes the following sub-steps: S1041, performing a matching check on the first external machine SN code and the first external machine parameter version number according to the second CRC check code, and if they match each other, executing step S1042; S1042: Compare the second external machine parameter version number with the first external machine parameter version number, wherein: If the second external machine parameter version number is greater than or equal to the first external machine parameter version number, then: S10421, judging whether the memory parameters of the internal device and the external device match according to the second external device CRC check code, if so, executing step S105; if not, writing all the memory parameters of the internal device into the external device, and then executing step S105; If the second external machine parameter version number is smaller than the first external machine parameter version number, then: S10422. Determine whether the memory parameters of the internal device and the external device match based on the first external device CRC check code. If so, execute step S105. If not, write all memory parameters of the external device into the internal device, and then execute step S105.

5. The method for updating the OTA version of the indoor and outdoor units of the air conditioner according to claim 1, characterized in that: In step S1041, when the first external machine SN code and the first external machine parameter version number are matched according to the second CRC check code, if they do not match each other, the first external machine parameter version number is set to 0, and then step S1042 is executed.

6. The method for updating the OTA version of the indoor and outdoor units of the air conditioner according to claim 1, characterized in that: After step S105, the method further includes the following steps: S106: Clear the first power-on flags of the indoor device and the outdoor device.