Upgrading method, upgrading equipment and upgrading system for software in air conditioning unit

By setting up upgrade equipment in the air conditioner and automatically downloading, installing and monitoring upgrade packages, the problem of low monitoring efficiency of air conditioner software upgrade is solved, automatic upgrade and real-time progress reporting is realized, and labor costs are saved.

CN119847561AInactive Publication Date: 2025-04-18GREE ELECTRIC APPLIANCE INC OF ZHUHAI

Patent Information

Application Number
CN202411892039.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The monitoring efficiency of the air conditioner software upgrade process in the prior art is low, and installation workers need to collect and feedback, resulting in high time cost.

Method used

Set up an upgrade device in the air conditioner. The device receives the upgrade frame sent by the server, downloads the upgrade package from the server, and calculates the verification code. When the comparison verification code is consistent, the upgrade package is distributed for installation, and the upgrade process is monitored, and the upgrade progress is calculated and reported.

Benefits of technology

Through the built-in upgrade equipment of the air conditioner, the software upgrade and progress monitoring are automatically carried out, which improves the monitoring efficiency of the air conditioner upgrade, saves manpower, and reports the upgrade progress to the server in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847561A_ABST
    Figure CN119847561A_ABST
Patent Text Reader

Abstract

The invention relates to an upgrading method, upgrading equipment and upgrading system for software in an air conditioning unit, an air conditioner comprises the upgrading equipment and the air conditioning unit, and the method comprises the steps that under the condition that the upgrading equipment receives an upgrading frame sent by a server, the upgrading equipment downloads an upgrading package from the server based on the upgrading frame, calculating a check code corresponding to the upgrade package; the upgrading equipment compares the check code obtained through calculation with the check code in the upgrading frame, and distributes an upgrading package to the air conditioning unit to install the upgrading package when the check code is consistent with the check code in the upgrading frame; the upgrading device monitors the upgrading process and calculates and reports the upgrading progress of each upgrading process; wherein the upgrading process comprises upgrading package downloading, upgrading package distribution and upgrading package installation. According to the method and the device, the problems that the monitoring efficiency of software upgrading is low and time and labor are consumed due to the fact that the monitoring of the software upgrading process of the air conditioner can only be collected and fed back by an installation worker in the related technology are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of air conditioning, and in particular to a method, device and system for upgrading software in an air conditioning unit. Background Art

[0002] When using air conditioners, whenever there are software defects or software updates, an upgrade package is required for upgrading. Problems may also occur during the upgrade process, and these problems need to be solved by the air conditioner software developers. However, for air conditioners that have already been shipped, developers cannot monitor the upgrade process problems and can only ask installers to check, collect upgrade information and then provide feedback. The upgrade monitoring of air conditioner software in related technologies not only has low monitoring efficiency, but also wastes manpower and leads to high time costs.

[0003] There is currently no effective solution to the above-mentioned problems in the related art. Summary of the invention

[0004] The present application provides a method, device and system for upgrading the software in an air-conditioning unit, so as to solve the problem in the related art that the monitoring of the air-conditioning software upgrading process can only be collected and fed back by the installation workers, resulting in low efficiency and time-consuming and labor-intensive monitoring of the software upgrading.

[0005] In a first aspect, the present application provides a method for upgrading software in an air-conditioning unit, wherein the air-conditioning unit includes an upgrading device and an air-conditioning unit, and the method includes: when the upgrading device receives an upgrading frame sent by a server, the upgrading device downloads an upgrading package from the server based on the upgrading frame, and calculates a verification code corresponding to the upgrading package; the upgrading device compares the calculated verification code with the verification code in the upgrading frame, and distributes the upgrading package to the air-conditioning unit for installation when they are consistent; the upgrading device monitors the upgrading process, and calculates and reports the upgrading progress of each upgrading process; wherein the upgrading process includes downloading the upgrading package, distributing the upgrading package and installing the upgrading package.

[0006] Optionally, the upgrade device distributes an upgrade package to the air-conditioning unit for installation of the upgrade package, comprising: the upgrade device divides the upgrade package into a corresponding plurality of sub-upgrade packages based on a plurality of modules to be upgraded in the air-conditioning unit, and sets corresponding priorities for the plurality of sub-upgrade packages based on the importance of the plurality of modules to be upgraded; the upgrade device sends the plurality of sub-upgrade packages to the air-conditioning unit in sequence based on the priorities, and installs the sub-upgrade packages based on the sending order.

[0007] Optionally, the upgrade device sets corresponding priorities for the multiple sub-upgrade packages based on the importance of the multiple modules to be upgraded, including: the upgrade device determines the usage frequency of the multiple modules to be upgraded within a preset time period, and determines the corresponding importance based on the usage frequency, wherein the preset time period refers to a preset time period before a current moment; the higher the usage frequency, the higher the corresponding importance; the upgrade device sets corresponding priorities for the multiple sub-upgrade packages based on the importance, wherein the higher the importance, the higher the corresponding priority.

[0008] Optionally, the upgrade device installs the sub-upgrade package based on the sending order, including: when the upgrade device determines that the installation of the sub-upgrade package corresponding to the current module fails, the upgrade device installs the received sub-upgrade package of the next priority; the upgrade device sends the sub-upgrade package of the current module to the air-conditioning unit again, and installs the sub-upgrade package of the current module again when the installation of the sub-upgrade package of the next priority is completed.

[0009] Optionally, the upgrading device downloads the upgrading package from the server based on the upgrading frame, including: the upgrading device downloads the sub-upgrade packages from the server in sequence based on the importance of each sub-upgrade package in the upgrading package.

[0010] Optionally, the upgrade device monitors the upgrade process, and calculates and reports the upgrade progress of each upgrade process, including: the upgrade device monitors the upgrade completion ratio of each upgrade process, and determines the upgrade progress of each upgrade process in combination with the preset weight of each upgrade process; the upgrade device sums the upgrade progress of each upgrade process to obtain the upgrade progress of the air-conditioning unit; the upgrade device reports the upgrade progress of each upgrade process and the upgrade progress of the air-conditioning unit.

[0011] In a second aspect, the present application provides an upgrade device, which is arranged in an air conditioner, and the upgrade device comprises: a first processing module, which is used to download an upgrade package from a server based on the upgrade frame when the upgrade device receives an upgrade frame sent by the server, and calculate a verification code corresponding to the upgrade package; a second processing module, which is used to compare the calculated verification code with the verification code in the upgrade frame, and distribute the upgrade package to the air conditioner unit for installation when they are consistent; a third processing module, which is used to monitor the upgrade process, and calculate and report the upgrade progress of each upgrade process; wherein the upgrade process includes downloading, distributing and installing the upgrade package.

[0012] In a third aspect, the present application provides an upgrade system, the upgrade system comprising an air conditioner and a server, the air conditioner comprising the upgrade device in the second aspect.

[0013] In a fourth aspect, the present application provides an air conditioner, comprising an upgrade device, the upgrade device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; at least one memory connected to the at least one bus, wherein the processor is configured to execute the software upgrade method in the air conditioning unit described in the above-mentioned first aspect of the present application.

[0014] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for upgrading software in an air-conditioning unit described in the first aspect of the present application.

[0015] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art: through the present application, an upgrade device is set in the air conditioner, and the upgrade device can receive the upgrade frame sent by the server, and then download the upgrade package from the server according to the upgrade frame, and calculate the check code corresponding to the upgrade package and compare it with the check code in the upgrade frame, and install the upgrade package when they are consistent, and monitor the progress of each upgrade process, and finally report the upgrade progress to the server, so that the server can understand the current upgrade process in real time. It can be seen that through the present application, after the upgrade device is built into the air conditioner, the upgrade device can perform equipment upgrades and report the upgrade progress, without the need for staff to monitor it, which improves the monitoring efficiency of the air conditioner upgrade, so that the server can also obtain the current upgrade progress in time, saving manpower, thereby solving the problem in the related technology that the monitoring of the air conditioner software upgrade process can only be collected and fed back by the installation workers, resulting in low monitoring efficiency and time-consuming and labor-intensive software upgrades. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0019] Figure 1A flowchart of a method for upgrading software in an air-conditioning unit provided in an embodiment of the present application;

[0020] Figure 2 A schematic diagram of an upgrade of an air conditioning upgrade system in a specific implementation manner provided in an embodiment of the present application;

[0021] Figure 3 A flow chart of a method for upgrading an air conditioner in a specific implementation manner provided in an embodiment of the present application;

[0022] Figure 4 A schematic diagram of the structure of an upgrade device provided in an embodiment of the present application;

[0023] Figure 5 A communication diagram of an upgrade device in an air conditioner provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0025] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0026] In order to solve the problem in the related art that the monitoring of the air conditioner software upgrade process can only be collected and fed back by the installation workers, resulting in low monitoring efficiency and time-consuming and labor-intensive software upgrades, the present application provides a method for upgrading software in an air conditioner unit, wherein the air conditioner includes an upgrading device and an air conditioner unit, such as Figure 1 As shown, the steps of the method include:

[0027] Step 101, when the upgrade device receives the upgrade frame sent by the server, the upgrade device downloads the upgrade package from the server based on the upgrade frame and calculates the verification code corresponding to the upgrade package;

[0028] In an embodiment of the present application, the user may first send an upgrade instruction to the server. For example, if the user sends a message to the server through the terminal that the current air conditioner needs to be upgraded, the terminal sends an upgrade instruction to the server. The upgrade instruction includes the upgrade package path, the upgrade package verification code, the unit number to be upgraded, etc. After receiving the upgrade instruction, the server converts the upgrade instruction into an upgrade frame that can be recognized by the upgrade device of the air conditioner, and sends the upgrade frame to the air conditioner. After the upgrade device of the air conditioner receives the upgrade frame, it will download the upgrade package from the server, specifically download the upgrade package from the upgrade path and calculate the verification code. In a specific example, the upgrade package path is an http or https connection; the upgrade package verification code is a string calculated based on the content of the upgrade package using a hash algorithm, such as crc16, crc32, MD5, etc.; the unit number to be upgraded is a unique ID that distinguishes each device in a single unit. Multiple IDs can be included in the upgrade command to upgrade multiple devices of the same type at the same time.

[0029] Step 102, the upgrade device compares the calculated check code with the check code in the upgrade frame, and distributes the upgrade package to the air conditioner unit for installation when they are consistent;

[0030] In a specific example, if the current air-conditioning unit needs to upgrade multiple modules, the corresponding upgrade packages can be sent separately. For example, if the control module, communication module, and display module all need to be upgraded, the corresponding upgrade packages can be distributed to the air-conditioning unit in turn for installation.

[0031] Step 103, the upgrade device monitors the upgrade process, and calculates and reports the upgrade progress of each upgrade process; wherein the upgrade process includes downloading the upgrade package, distributing the upgrade package, and installing the upgrade package.

[0032] In the specific example, the completion of each upgrade process is monitored to obtain the upgrade progress of the current upgrade process and report it to the server. The server can know the current progress of each upgrade process and the total upgrade progress of the entire upgrade process, so that the server can obtain the current upgrade progress in real time.

[0033] Through the above steps 101 to 103, an upgrade device is set in the air conditioner, and the upgrade device can receive the upgrade frame sent by the server, and then download the upgrade package from the server according to the upgrade frame, and calculate the check code corresponding to the upgrade package and compare it with the check code in the upgrade frame. When they are consistent, the upgrade package is installed, and the progress of each upgrade process is monitored. Finally, the upgrade progress is reported to the server, and the server can understand the current upgrade process in real time. It can be seen that through this application, after the upgrade device is built into the air conditioner, the upgrade device can perform equipment upgrades and report the upgrade progress, without the need for staff to monitor it, which improves the monitoring efficiency of the air conditioner upgrade, so that the server can also obtain the current upgrade progress in time, saving manpower, thereby solving the problem in the related technology that the monitoring of the air conditioner software upgrade process can only be collected and fed back by the installation workers, resulting in low monitoring efficiency and time-consuming and labor-intensive software upgrades.

[0034] In the embodiment of the present application, the air conditioning unit includes multiple modules, each of which includes software, so multiple modules in the air conditioning unit can be upgraded during the upgrade process. During the upgrade process, the upgrade package can be distributed according to the importance of the module, that is, the higher the importance, the priority is given to the corresponding upgrade package so that the upgrade installation can be performed first. Based on this, the method of the upgrade device involved in the above step 102 to distribute the upgrade package to the air conditioning unit for installation of the upgrade package can further include:

[0035] Step 11, the upgrade device divides the upgrade package into corresponding sub-upgrade packages based on the multiple modules to be upgraded in the air-conditioning unit, and sets corresponding priorities for the multiple sub-upgrade packages based on the importance of the multiple modules to be upgraded;

[0036] Step 12: The upgrade device sends multiple sub-upgrade packages to the air-conditioning unit in sequence based on the priority, and installs the sub-upgrade packages based on the sending order.

[0037] In this regard, in a specific example, the modules of the air-conditioning unit may include a control module, a communication module, a wire controller module, a display module, and the like. The importance of each module to the air-conditioning unit is different. Specifically, the importance of the control module, the communication module, the wire controller module, and the display module decreases in sequence. Therefore, when upgrading the software in the control module, the communication module, the wire controller module, and the display module, the upgrade package required for the control module upgrade can be distributed first, and then the upgrade package required for the communication module, followed by the upgrade package required for the wire control module, and finally the upgrade package required for the display module upgrade. Through the above steps 11 and 12, upgrade packages with higher importance can be distributed and installed first, so that users can use the corresponding functions first. The importance of each of the above modules is only an example, and the importance of the modules can be set accordingly according to actual needs.

[0038] In the embodiment of the present application, the importance can be determined based on the frequency of use of the module in the recent period of time, that is, the higher the current frequency of use, the higher the user's demand for it, so the importance of the module can also be set higher to meet the user's needs. Therefore, for the upgrade device involved in step 11 above, the method of setting corresponding priorities for multiple sub-upgrade packages based on the importance of multiple modules to be upgraded can further include:

[0039] Step 21, the upgrade device determines the usage frequency of multiple modules to be upgraded within a preset time period, and determines the corresponding importance based on the usage frequency, wherein the preset time period refers to the preset time period before the current moment; the higher the usage frequency, the higher the corresponding importance;

[0040] Step 22: The upgrade device sets corresponding priorities for the multiple sub-upgrade packages based on their importance, wherein a higher importance has a higher corresponding priority.

[0041] In this regard, the frequency of use of the module indicates which modules of the air conditioner the user currently has a high demand for, and the modules with high demand can be upgraded first, which has less impact on the user's use of the air conditioner. That is, through the method of the embodiment of the present application, in the process of upgrading the air-conditioning unit, the modules with high current user demand can also be upgraded first, and when other modules are upgraded, the user can also use the modules that have been upgraded, which improves the user's experience in the process of upgrading the air-conditioning unit. For example, the module software that currently needs to be upgraded includes the software in the control module, communication module, wire controller module, and display module, and the applicable frequency of each module is from high to low, which is the control module, communication module, wire controller module, and display module. The upgrade device distributes the upgrade packages of the control module, communication module, wire controller module, and display module in turn according to the frequency of use, and installs them after distributing the upgrade package of the control module. After the installation is completed, the control module can be used, even if there may be other module upgrade packages installed at present, the software that has been upgraded and installed in the control module can still be used.

[0042] In the embodiment of the present application, if the installation of the sub-upgrade package fails during the installation process, the sub-upgrade package of other modules will continue to be sent to the air-conditioning unit, and after the installation of the next sub-upgrade package is completed, the sub-upgrade package of the module will be sent to the air-conditioning unit again. Based on this, the method of installing the sub-upgrade package based on the sending order involved in step 12 of the embodiment of the present application can further include:

[0043] Step 31: When the upgrade device determines that the sub-upgrade package corresponding to the current module fails to be installed, the sub-upgrade package with the next priority level received is installed;

[0044] Step 32: the upgrade device sends the sub-upgrade package of the current module to the air-conditioning unit again, and installs the sub-upgrade package of the current module again when the sub-upgrade package of the next priority is installed.

[0045] In this regard, in a specific example, the modules that need to be upgraded in the current air-conditioning unit include a control module, a communication module, a wire controller module, and a display module. The priorities of the control module, the communication module, the wire controller module, and the display module are reduced in sequence. Therefore, for the above steps 31 and 32, if the software installation of the current communication module fails, the sub-upgrade package of the wire controller module will continue to be distributed and upgraded and installed. During the upgrade and installation of the software of the wire controller module, the upgrade device will send the sub-upgrade package of the communication module again so that it can be upgraded and installed again later. Therefore, after the upgrade and installation of the sub-upgrade package of the wire controller module is completed, the sub-upgrade package of the communication module will be upgraded and installed again.

[0046] In the embodiment of the present application, after determining the module to be upgraded in the current air-conditioning unit, the corresponding sub-upgrade package can be downloaded from the server in sequence according to the important programs of the module to be upgraded, so that the modules with higher importance can be upgraded and installed preferentially. Based on this, the method of downloading the upgrade package from the server based on the upgrade frame involved in step 101 of the embodiment of the present application can further include:

[0047] Step 41: The upgrade device downloads the sub-upgrade packages from the server in sequence based on the importance of each sub-upgrade package in the upgrade package.

[0048] In this regard, in a specific example, if the modules that need to be upgraded in the current air-conditioning unit include the software in the control module, communication module, wire controller module, and display module, and the importance of each module decreases in turn, then when the upgrade device downloads the upgrade package from the server, it can first download the sub-upgrade package of the control module, and then the sub-upgrade packages of the communication module, wire controller module, and display module in turn. In this way, the sub-upgrade packages of the modules with higher importance can be downloaded first, and then upgraded and installed first, so that the air conditioner can be used conveniently and quickly in the future.

[0049] In the embodiment of the present application, the upgrade device can monitor the upgrade progress of each upgrade process, and then report the upgrade progress to the server, so that the user does not need to manually monitor the upgrade process, thereby improving the monitoring efficiency of the air conditioner upgrade process. By reporting the upgrade progress, the server can timely understand the current upgrade progress, such as when an upgrade failure or problem occurs, the server can handle it in time. Based on this, the method for the upgrade device involved in step 103 of the embodiment of the present application to monitor the upgrade process and calculate and report the upgrade progress of each upgrade process can further include:

[0050] Step 51, the upgrade device monitors the upgrade completion ratio of each upgrade process, and determines the upgrade progress of each upgrade process in combination with the preset weight of each upgrade process;

[0051] Step 52, the upgrading device sums the upgrading progress of each upgrading process to obtain the upgrading progress of the air conditioning unit;

[0052] Step 53, the upgrading device reports the upgrading progress of each upgrading process and the upgrading progress of the air-conditioning unit.

[0053] In this regard, in the embodiment of the present application, the upgrade process includes the download of the upgrade package, the distribution of the upgrade package and the installation of the upgrade package, and the weight of each upgrade process is different, such as the weight of the upgrade process of the download of the upgrade package is 0.4, the weight of the upgrade process of the distribution of the upgrade package is 0.2, and the weight of the upgrade process of the installation of the upgrade package is 0.4. It can be seen from the above weights that if the upgrade process of the current upgrade package download has been completed, it means that the current entire upgrade process has been completed by 40%, and if the upgrade process of the distribution of the upgrade package has been completed, it means that the current entire upgrade process has been completed by 20%, but because the distribution of the upgrade package is executed after the download of the upgrade package, it indicates that the progress of the current entire upgrade process is 60%. However, it is also possible that the current upgrade package download has been completed by 30%, and the distribution of the upgrade package has been completed by 10%. At this time, the installation of the upgrade package has not yet started, then it is 0, so the progress of the entire upgrade process is 40% at this time.

[0054] The present application is explained below in conjunction with the specific implementation of the embodiment of the present application. The specific implementation provides an air conditioning upgrade method and system, which includes an air conditioning unit, an upgrade server and a terminal device; wherein the air conditioning unit includes a communication module and an upgrade information acquisition module. The communication module communicates with the upgrade server, and the upgrade server obtains and stores the information submitted by the communication module, which is displayed by the user interface of the terminal device. Based on this, the upgrade system of the specific implementation is as follows: Figure 2 As shown, the upgrade progress is calculated through the upgrade information collection module, the abnormal information is collected when an abnormality occurs during the upgrade, and after the upgrade process is completed, the upgrade information is packaged and sent to the server through the communication module.

[0055] Furthermore, the upgrade information collection method in this specific implementation is as follows: Figure 3 As shown, including:

[0056] Step 301, the communication module receives an upgrade instruction;

[0057] Step 302, the upgrade information collection module starts monitoring the collection process;

[0058] Step 303, the communication module downloads the upgrade package;

[0059] Step 304, the communication module determines whether the download of the upgrade package is successful, if not, execute step 305, if successful, execute step 307;

[0060] Step 305, determine whether it is possible to re-download, if yes, execute step 303, if not, execute step 306;

[0061] Step 306, reporting failure information through the communication module;

[0062] Step 307, calculating the upgrade progress threshold and reporting it through the communication module;

[0063] Step 308, determine whether the upgrade package verification is successful, if not, execute step 306, if successful, execute step 309;

[0064] Step 309, calculating the upgrade progress threshold and reporting it through the communication module;

[0065] Step 310, determine whether the upgrade package distribution is successful, if not, execute step 311, if successful, execute step 312;

[0066] Step 311, whether redistribution is allowed, if it is allowed, go to step 310, if not, go to step 306;

[0067] Step 312, calculating the upgrade progress threshold and reporting it through the communication module;

[0068] Step 313, determine whether the upgrade package is installed successfully; if not, execute step 306; if successful, execute step 314;

[0069] Step 314: reporting the upgrade success information through the communication module.

[0070] Through the above steps 301 to 314, the air conditioning developer specifies the unit to be upgraded and the upgrade package on the user interface of the terminal device, and the terminal device encapsulates the relevant upgrade information into an upgrade command and sends it to the upgrade server. The upgrade command includes the upgrade package path, the upgrade package verification code, and the unit number to be upgraded. The upgrade server receives the upgrade command, converts the upgrade command into an upgrade frame of the air conditioning communication module, and sends it to the air conditioning communication module. The air conditioning communication module downloads the upgrade package from the upgrade package path, calculates the verification code, and compares it with the verification code of the upgrade frame. If they are consistent, the upgrade package is forwarded to the mainboard of the unit to be upgraded. If they are inconsistent, the upgrade is terminated, and the upgrade information collection module collects the verification code error information, and then sends it to the upgrade server through the communication module. The mainboard of the unit to be upgraded installs the upgrade package.

[0071] The upgrade information collection module monitors the above upgrade process and calculates the upgrade progress according to the weight of each process in the upgrade process. Set the upgrade progress reporting stage threshold. When the upgrade progress reaches the threshold, such as 25%, 50%, 75%, 100%, the upgrade progress and the time when the progress is reached are sent to the communication module. The communication module reports the upgrade progress to the upgrade server once.

[0072] In addition, when an exception occurs during the above upgrade process, such as failure to download the upgrade package, failure to verify the upgrade package, failure to forward the upgrade package, failure to install the upgrade package, etc., the upgrade information collection module collects the exception information and the time when the exception occurs, and reports the upgrade exception information to the upgrade server through the communication module. When the upgrade is completed, or when the upgrade information collection module determines that the upgrade cannot continue, the communication module sends the upgrade end information to the server. The upgrade end information includes the reason for the upgrade end, the upgrade end time, etc., as well as the current installation package name and version number of each unit. The upgrade server receives the information reported by the communication module, organizes the information, summarizes and stores what exceptions occurred in which progress time period, and finally displays the upgrade progress, upgrade exceptions and other information on the user interface of the terminal device.

[0073] Through the specific implementation method of the embodiment of the present application, the air conditioner itself collects and reports the upgrade information, which saves the time cost of manual investigation, allows air conditioner developers to locate the cause of upgrade failure more conveniently and quickly, and improves the quality of air conditioner maintenance.

[0074] Corresponding to the above Figure 1 , the embodiment of the present application provides an upgrade device, the upgrade device is arranged in the air conditioner, such as Figure 4 As shown, the upgrade equipment includes:

[0075] The first processing module 402 is used to download the upgrade package from the server based on the upgrade frame when the upgrade device receives the upgrade frame sent by the server, and calculate the verification code corresponding to the upgrade package;

[0076] The second processing module 404 is used to compare the calculated check code with the check code in the upgrade frame, and distribute the upgrade package to the air conditioner unit for installation of the upgrade package when they are consistent;

[0077] The third processing module 406 is used to monitor the upgrade process, and calculate and report the upgrade progress of each upgrade process; wherein the upgrade process includes the downloading of the upgrade package, the distribution of the upgrade package and the installation of the upgrade package.

[0078] Through the upgrade device of the embodiment of the present application, the upgrade device can receive the upgrade frame sent by the server, and then download the upgrade package from the server according to the upgrade frame, and calculate the check code corresponding to the upgrade package and compare it with the check code in the upgrade frame, install the upgrade package when they are consistent, and monitor the progress of each upgrade process, and finally report the upgrade progress to the server, so that the server can understand the current upgrade process in real time. It can be seen that through this application, after the upgrade device is built into the air conditioner, the upgrade device can perform equipment upgrades and report the upgrade progress, without the need for staff to monitor it, which improves the monitoring efficiency of the air conditioner upgrade, so that the server can also obtain the current upgrade progress in time, saving manpower, thereby solving the problem in the related technology that the monitoring of the air conditioner software upgrade process can only be collected and fed back by the installation workers, resulting in low monitoring efficiency and time-consuming and labor-intensive software upgrades.

[0079] In an optional implementation of an embodiment of the present application, the second processing module of the embodiment of the present application may further include: a first processing unit, used to divide the upgrade package into corresponding multiple sub-upgrade packages based on multiple modules to be upgraded in the air-conditioning unit, and set corresponding priorities for the multiple sub-upgrade packages based on the importance of the multiple modules to be upgraded; a second processing unit, used to send multiple sub-upgrade packages to the air-conditioning unit in sequence based on the priority, and install the sub-upgrade packages based on the sending order.

[0080] In an optional implementation of the embodiment of the present application, the first processing unit of the embodiment of the present application may further include: a first processing sub-unit, used to determine the usage frequency of multiple modules to be upgraded within a preset time period, and determine the corresponding importance based on the usage frequency, wherein the preset time period refers to the preset duration before the current moment; the higher the usage frequency, the higher the corresponding importance; a second processing sub-unit, used to set corresponding priorities for multiple sub-upgrade packages based on the importance, wherein the higher the importance, the higher the corresponding priority.

[0081] In an optional implementation of an embodiment of the present application, the second processing unit of the embodiment of the present application may further include: a third processing sub-unit, used to install the received sub-upgrade package of the next priority level when determining that the installation of the sub-upgrade package corresponding to the current module has failed; a fourth processing sub-unit, used to send the sub-upgrade package of the current module to the air-conditioning unit again, and install the sub-upgrade package of the current module again when the installation of the sub-upgrade package of the next priority level is completed.

[0082] In an optional implementation manner of the embodiment of the present application, the first processing module of the embodiment of the present application may further include: a downloading unit, configured to download sub-upgrade packages from the server in sequence based on the importance of each sub-upgrade package in the upgrade package.

[0083] In an optional implementation manner of the embodiment of the present application, the third processing module of the embodiment of the present application may further include: a third processing unit, used to monitor the upgrade completion ratio of each upgrade process, and determine the upgrade progress of each upgrade process in combination with the preset weight of each upgrade process; a fourth processing unit, used to sum the upgrade progress of each upgrade process to obtain the upgrade progress of the air-conditioning unit; a fifth processing unit, used to report the upgrade progress of each upgrade process and the upgrade progress of the air-conditioning unit.

[0084] like Figure 5 As shown, the embodiment of the present application provides an upgrade device in an air conditioner, including a processor 511, a communication interface 512, a memory 513 and a communication bus 514, wherein the processor 511, the communication interface 512, and the memory 513 communicate with each other through the communication bus 514.

[0085] Memory 513, used for storing computer programs;

[0086] In one embodiment of the present application, the processor 511 is used to execute the program stored in the memory 513 to implement the method for upgrading the software in the air-conditioning unit provided by any of the aforementioned method embodiments, and its role is similar and will not be repeated here.

[0087] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of a method for upgrading software in an air-conditioning unit provided in any one of the aforementioned method embodiments are implemented.

[0088] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0090] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0091] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for upgrading software in an air conditioning unit, characterized in that: The air conditioner comprises an upgrading device and an air conditioning unit, and the method comprises: When the upgrade device receives the upgrade frame sent by the server, the upgrade device downloads the upgrade package from the server based on the upgrade frame and calculates a verification code corresponding to the upgrade package; The upgrade device compares the calculated check code with the check code in the upgrade frame, and distributes the upgrade package to the air conditioner unit for installation of the upgrade package when the two codes are consistent; The upgrade device monitors the upgrade process, and calculates and reports the upgrade progress of each upgrade process; wherein the upgrade process includes downloading the upgrade package, distributing the upgrade package, and installing the upgrade package.

2. The method according to claim 1, characterized in that The upgrading device distributes the upgrading package to the air conditioner unit to install the upgrading package, including: The upgrading device divides the upgrading package into corresponding sub-upgrading packages based on the multiple modules to be upgraded in the air-conditioning unit, and sets corresponding priorities for the multiple sub-upgrading packages based on the importance of the multiple modules to be upgraded; The upgrade device sends the plurality of sub-upgrade packages to the air-conditioning unit in sequence based on the priorities, and installs the sub-upgrade packages based on the sending order.

3. The method according to claim 2, characterized in that The upgrading device sets corresponding priorities for the multiple upgrade sub-packages based on the importance of the multiple modules to be upgraded, including: The upgrading device determines the usage frequency of the plurality of modules to be upgraded within a preset time period, and determines the corresponding importance based on the usage frequency, wherein the preset time period refers to a preset time period before the current moment; the higher the usage frequency, the higher the corresponding importance; The upgrade device sets corresponding priorities for the plurality of sub-upgrade packages based on the importance levels, wherein a higher importance level corresponds to a higher priority level.

4. The method according to claim 3, characterized in that The upgrade device installs the sub-upgrade package based on the sending order, including: When the upgrade device determines that the sub-upgrade package corresponding to the current module fails to be installed, the upgrade device installs the received sub-upgrade package of the next priority; The upgrade device sends the sub-upgrade package of the current module to the air-conditioning unit again, and installs the sub-upgrade package of the current module again when the installation of the sub-upgrade package of the next priority is completed.

5. The method according to claim 2, characterized in that: The upgrading device downloads the upgrading package from the server based on the upgrading frame, including: The upgrade device downloads the sub-upgrade packages from the server in sequence based on the importance of each sub-upgrade package in the upgrade package.

6. The method according to claim 1, characterized in that The upgrade device monitors the upgrade process, and calculates and reports the upgrade progress of each upgrade process, including: The upgrading device monitors the upgrading completion ratio of each upgrading process, and determines the upgrading progress of each upgrading process in combination with the preset weight of each upgrading process; The upgrading device sums the upgrading progress of each upgrading process to obtain the upgrading progress of the air conditioning unit; The upgrading device reports the upgrading progress of each upgrading process and the upgrading progress of the air-conditioning unit.

7. An upgrade device, characterized in that: The upgrade device is arranged in the air conditioner, and the upgrade device comprises: A first processing module, configured to, when the upgrade device receives an upgrade frame sent by the server, download an upgrade package from the server based on the upgrade frame, and calculate a check code corresponding to the upgrade package; A second processing module is used to compare the calculated check code with the check code in the upgrade frame, and when they are consistent, distribute the upgrade package to the air conditioner unit to install the upgrade package; The third processing module is used to monitor the upgrade process, and calculate and report the upgrade progress of each upgrade process; wherein the upgrade process includes downloading the upgrade package, distributing the upgrade package, and installing the upgrade package.

8. An upgrade system, characterized in that: The upgrading system comprises an air conditioner and a server, and the air conditioner comprises the upgrading device of claim 7.

9. An air conditioner, comprising an upgrade device, wherein the upgrade device comprises: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the method for monitoring the upgrade process of the air conditioning unit as described in any one of claims 1 to 6.

10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for monitoring the upgrading process of an air conditioning unit according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • OTA cloud-based upgrade management method and system, storage medium and OTA cloud

    CN110381138A

  • Upgrading method and device of air conditioning unit, air conditioning unit and communication equipment

    CN114115948A

  • CAN bus-based upgrading method and system for vehicle-mounted satellite communication terminal

    CN119010997A

  • Online upgrade method for household appliance multi-MCU system, electronic device, and medium

    WO2021120887A1

Cited By

  • Software downloading management method and electronic equipment

    CN120896937A