CN111998510A - Air conditioner and control method thereof - Google Patents
Air conditioner and control method thereof Download PDFInfo
- Publication number
- CN111998510A CN111998510A CN202010883118.9A CN202010883118A CN111998510A CN 111998510 A CN111998510 A CN 111998510A CN 202010883118 A CN202010883118 A CN 202010883118A CN 111998510 A CN111998510 A CN 111998510A
- Authority
- CN
- China
- Prior art keywords
- upgrade package
- information
- communication module
- upgrade
- air conditioner
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
- F24F11/32—Responding to malfunctions or emergencies
- F24F11/38—Failure diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses an air conditioner, comprising: the communication module is used for acquiring the upgrading information sent by the server so as to download the upgrading package according to the upgrading information; after the upgrade package is downloaded, verifying the upgrade package; wherein the upgrade information comprises a download link and file size information; the control module is used for acquiring the instruction information sent by the communication module after the upgrade package is verified, and checking the instruction information; after the verification is successful, the upgrade package is stored, the stored upgrade package is compared with the verification sum of the upgrade package downloaded by the communication module, and the upgrade package is stored in an operation area for upgrading after the comparison is completed; wherein the instruction information includes file size information and a checksum. The invention also discloses an air conditioner control method. By adopting the embodiment of the invention, remote fault repair and remote software upgrade of the air conditioner can be carried out.
Description
Technical Field
The invention relates to the field of air conditioners, in particular to an air conditioner and a control method thereof.
Background
When an air conditioner fails, after-sales service personnel need to check the air conditioner, control parameters are modified by refreshing outdoor unit main board software or an EEPROM memory chip, and the defects of high risk, low efficiency and high after-sales cost of the after-sales service personnel in the mode of needing the after-sales service personnel to maintain the air conditioner at the door exist. In addition, when the program is upgraded, an engineer needs to go to the field to upgrade through wired connection, and when the program is upgraded on an embedded main control chip of the air conditioner, online upgrade cannot be performed through a network, so that the upgrading efficiency is low, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention aims to provide an air conditioner and a control method thereof, which can carry out remote fault repair and remote software upgrade of the air conditioner.
To achieve the above object, an embodiment of the present invention provides an air conditioner, including:
the communication module is used for acquiring the upgrading information sent by the server so as to download the upgrading package according to the upgrading information; after the upgrade package is downloaded, verifying the upgrade package; wherein the upgrade information comprises a download link and file size information;
the control module is used for acquiring the instruction information sent by the communication module after the upgrade package is verified, and checking the instruction information; after the verification is successful, the upgrade package is stored, the stored upgrade package is compared with the verification sum of the upgrade package downloaded by the communication module, and the upgrade package is stored in an operation area for upgrading after the comparison is completed; wherein the instruction information includes file size information and a checksum.
As an improvement of the above scheme, the control module comprises at least one of an indoor MCU and an outdoor MCU.
As an improvement of the above scheme, the verifying the upgrade package includes:
and verifying the upgrade package by adopting an MD5 verification mode.
As an improvement of the above, the control module acquires the upgrade package from the communication module in byte blocks based on an Xmodem protocol; wherein each byte block uses a checksum for error detection; then, the comparing the stored upgrade package with the checksum of the upgrade package downloaded by the communication module includes:
if the check sum of one byte block is the same as the check sum of the upgrade package downloaded by the communication module, sending an approved byte corresponding to the current byte block to the communication module;
judging whether approved bytes corresponding to all byte blocks are sent to the control module or not;
if yes, returning an acknowledgement signal to the communication module; if not, returning a negative response signal to the communication module.
As an improvement of the above, the server is configured to:
when fault information reported by a user terminal is received, judging whether the fault information can be solved by modifying the control parameter of the air conditioner;
if so, searching an upgrade package corresponding to the control parameter, and sending information for reminding a user that an available upgrade package exists to the user terminal; if not, sending information for reminding the user to select to report the repair to the user terminal;
and when acquiring indication information sent by the user terminal for upgrading selected by the user, sending upgrading information corresponding to the upgrading packet to the air conditioner.
As an improvement of the above scheme, the sending of the upgrade information corresponding to the upgrade package to the air conditioner includes:
when only one upgrade package is available, sending upgrade information corresponding to the current upgrade package to the air conditioner;
when at least two upgrade packages exist, sending information for reminding a user that a plurality of upgrade packages exist to the user terminal;
and returning the upgrading information corresponding to the user selection information to the air conditioner according to the user selection information sent by the user terminal.
In order to achieve the above object, an embodiment of the present invention further provides an air conditioner control method, including:
the communication module acquires upgrade information sent by a server to download an upgrade package according to the upgrade information;
after the communication module finishes downloading the upgrade package, verifying the upgrade package; wherein the upgrade information comprises a download link and file size information;
the control module acquires the instruction information sent by the communication module after the upgrade package is verified, and the instruction information is verified;
after the verification is successful, the control module stores the upgrade package, compares the stored upgrade package with the verification sum of the upgrade package downloaded by the communication module, and stores the upgrade package in an operation area for upgrading after the comparison is completed; wherein the instruction information includes file size information and a checksum.
As an improvement of the above scheme, the control module comprises at least one of an indoor MCU and an outdoor MCU.
As an improvement of the above scheme, the verifying the upgrade package includes:
and verifying the upgrade package by adopting an MD5 verification mode.
As an improvement of the above, the control module acquires the upgrade package from the communication module in byte blocks based on an Xmodem protocol; wherein each byte block uses a checksum for error detection; then, the comparing the stored upgrade package with the checksum of the upgrade package downloaded by the communication module includes:
if the check sum of one byte block is the same as the check sum of the upgrade package downloaded by the communication module, sending an approved byte corresponding to the current byte block to the communication module;
judging whether approved bytes corresponding to all byte blocks are sent to the control module or not;
if yes, returning an acknowledgement signal to the communication module; if not, returning a negative response signal to the communication module.
Compared with the prior art, the air conditioner and the control method thereof in the embodiment of the invention can perform directional upgrading by modifying the control parameters according to the air conditioner fault requirements of different users by acquiring the upgrading information remotely sent by the server for upgrading, thereby realizing remote fault repair and remote software upgrading. In addition, the communication module and the control module verify the upgrade package, and the safety of data interaction can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an air conditioner according to an embodiment of the present invention;
fig. 2 is a flowchart of a server-side operation according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an indoor MCU according to an embodiment of the present invention;
fig. 4 is a flowchart of an air conditioner control method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present application, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be construed as limiting the present application.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Referring to fig. 1, fig. 1 shows an air conditioner according to a first embodiment of the present invention, including:
the communication module 10 is used for acquiring the upgrade information sent by the server so as to download the upgrade package according to the upgrade information; after the upgrade package is downloaded, verifying the upgrade package; wherein the upgrade information comprises a download link and file size information;
the control module 20 is configured to acquire instruction information sent by the communication module 10 after the upgrade package is verified, and check the instruction information; after the verification is successful, the upgrade package is stored, the stored upgrade package is compared with the verification sum of the upgrade package downloaded by the communication module 10, and the upgrade package is stored in an operation area for upgrading after the comparison is completed; wherein the instruction information includes file size information and a checksum.
It should be noted that the control module includes at least one of an indoor MCU and an outdoor MCU, and the communication module 10 is a WiFi module, an 2/3/4/5G module, or an NB-IoT.
Optionally, referring to fig. 2, the server is configured to:
when fault information reported by a user terminal is received, judging whether the fault information can be solved by modifying the control parameter of the air conditioner;
if so, searching an upgrade package corresponding to the control parameter, and sending information for reminding a user that an available upgrade package exists to the user terminal; if not, sending information for reminding the user to select to report the repair to the user terminal;
and when acquiring indication information sent by the user terminal for upgrading selected by the user, sending upgrading information corresponding to the upgrading packet to the air conditioner.
In an embodiment, upload fault information to the server through APP, the user can initiatively observe whether the air conditioner finds the trouble this moment to according to the information correspondence input fault information that guides in the APP, thereby report air conditioner fault information to the high in the clouds server through APP.
In another kind of embodiment, the air conditioner can carry out the self-checking, after detecting the air conditioner trouble, can report in the high in the clouds to at the corresponding trouble suggestion of APP end propelling movement, the user can look over current air conditioner trouble through the APP.
It should be noted that the above two modes can be implemented individually or in combination, and the present invention is not limited thereto. When the control module is an indoor MCU, the control parameters are indoor operation parameters, and the indoor operation parameters include but are not limited to wind speed (high wind, medium wind, low wind, automatic, silent, and the like), left and right wind, up and down wind, indoor cleaning, outdoor cleaning, refreshing, rapid cooling and heating, auxiliary heating and other functional parameters. When the control module is an outdoor MCU, the control parameters are outdoor operation parameters, and the outdoor operation parameters include but are not limited to compressor frequency and outdoor fan parameters in different modes. Further, when the control module is an indoor MCU, the control parameter may also be a display screen operation parameter, and the display screen operation parameter includes, but is not limited to, display screen brightness and display mode of the display screen.
Illustratively, when the fault information can be solved by modifying the control parameters of the air conditioner, the server searches for an upgrade package corresponding to the control parameters and sends information for reminding a user that an available upgrade package is available to the user terminal, at this time, a prompt for confirming whether the upgrade is confirmed is displayed on the user terminal for the user to select, if the user confirms the upgrade, the user terminal returns indication information for selecting the upgrade by the user to the server, and at this time, the server sends upgrade information corresponding to the upgrade package to the air conditioner; when the fault information can not be solved by modifying the control parameters of the air conditioner, the server sends information for reminding a user to select repair to the user terminal, at the moment, prompt information for reminding the user of repair is displayed on the user terminal, and after the user confirms repair, the fault information of the air conditioner is fed back to the background monitoring center, so that maintenance personnel can conveniently obtain the fault information.
Optionally, the sending upgrade information corresponding to an upgrade package to the air conditioner includes:
when only one upgrade package is available, sending upgrade information corresponding to the current upgrade package to the air conditioner;
when at least two upgrade packages exist, sending information for reminding a user that a plurality of upgrade packages exist to the user terminal;
and returning the upgrading information corresponding to the user selection information to the air conditioner according to the user selection information sent by the user terminal.
Specifically, after the server confirms that the air conditioner needs to be remotely upgraded, the communication module 10 acquires upgrade information sent by the server, wherein the upgrade information includes a download link URL, file size information and a problem to be solved by upgrading; the communication module 10 downloads the upgrade package according to the download link in the upgrade information, and after the upgrade package is downloaded, the upgrade package is verified.
Illustratively, the communication module 10 checks the upgrade package by using an MD5 check method, calculates the downloaded upgrade package to obtain an MD5 check value, and then compares the MD5 check value with an MD5 reference value extracted from a file, if the MD5 check value is the same as the MD5 reference value, it can be determined that the downloaded file is complete and correct, and the check is completed; if the MD5 check value is different from the MD5 reference value, the downloaded upgrade package is incomplete or an error occurs in the network downloading process, and the upgrade package needs to be downloaded again.
Specifically, after the communication module 10 successfully verifies the upgrade package, the control module obtains instruction information sent by the communication module 10 after the upgrade package is verified, where the instruction information includes file size information, a checksum, a subsystem number, a serial number, a version, an effective length, and other contents. And the control module carries out integrity check on the instruction information and judges whether all the contents are received completely. After the control module successfully verifies the integrity of the instruction information, the control module stores the upgrade package, compares the stored upgrade package with the checksum of the upgrade package downloaded by the communication module 10, and stores the upgrade package in the operation area for upgrading after the comparison is completed.
Specifically, the control module obtains the upgrade package from the communication module 10 in byte blocks based on an Xmodem protocol; wherein each byte block uses a checksum for error detection; then, the comparing the stored upgrade package with the checksum of the upgrade package downloaded by the communication module 10 includes: if the checksum of a byte block is the same as the checksum of the upgrade package downloaded by the communication module 10, sending an approved byte corresponding to the current byte block to the communication module 10; judging whether approved bytes corresponding to all byte blocks are sent to the control module or not; if yes, an acknowledgement signal (ACK) is returned to the communication module 10; if not, a negative acknowledgement signal (NAK) is returned to the communication module 10 and the upgrade package is downloaded again. Optionally, each byte block contains 128 bytes.
Furthermore, the control module stores the upgrade package in an operation area, and then restarts and resets the upgrade package to complete the upgrade of the MCU. After sending an end of text (EOT) command, the communication module 10 receives ACK feedback from the communication module 10, starts sending an instruction to inquire the communication module 10 every preset time period, confirms whether the communication module 10 is upgraded and restarted, and after finishing, restarts and re-networks the communication module 10 to complete the synchronization of the upgrade state.
It should be noted that, reference may be made to fig. 3 for the working process of the communication module 10 and the control module, and fig. 3 takes a WiFi module and an indoor MCU as an example for description, which is not repeated herein.
Compared with the prior art, the air conditioner provided by the embodiment of the invention can be upgraded by acquiring the upgrading information remotely sent by the server, can be directionally upgraded by modifying the control parameters according to the air conditioner fault requirements of different users, and can realize remote fault repair and remote software upgrading. In addition, the communication module and the control module verify the upgrade package, and the safety of data interaction can be improved.
Referring to fig. 4, fig. 4 shows an air conditioner control method according to a second embodiment of the present invention, including:
s1, the communication module acquires the upgrade information sent by the server to download the upgrade package according to the upgrade information;
s2, after the communication module finishes downloading the upgrade package, verifying the upgrade package; wherein the upgrade information comprises a download link and file size information;
s3, the control module acquires the instruction information sent by the communication module after the upgrade package is verified, and the instruction information is checked;
s4, after the verification is successful, the control module stores the upgrade package, compares the stored upgrade package with the verification sum of the upgrade package downloaded by the communication module, and stores the upgrade package in the operation area for upgrading after the comparison is completed; wherein the instruction information includes file size information and a checksum.
Optionally, the control module includes at least one of an indoor MCU and an outdoor MCU, and the communication module is a WiFi module, an 2/3/4/5G module, or an NB-IoT.
Optionally, the server is configured to:
when fault information reported by a user terminal is received, judging whether the fault information can be solved by modifying the control parameter of the air conditioner;
if so, searching an upgrade package corresponding to the control parameter, and sending information for reminding a user that an available upgrade package exists to the user terminal; if not, sending information for reminding the user to select to report the repair to the user terminal;
and when acquiring indication information sent by the user terminal for upgrading selected by the user, sending upgrading information corresponding to the upgrading packet to the air conditioner.
In an embodiment, upload fault information to the server through APP, the user can initiatively observe whether the air conditioner finds the trouble this moment to according to the information correspondence input fault information that guides in the APP, thereby report air conditioner fault information to the high in the clouds server through APP.
In another kind of embodiment, the air conditioner can carry out the self-checking, after detecting the air conditioner trouble, can report in the high in the clouds to at the corresponding trouble suggestion of APP end propelling movement, the user can look over current air conditioner trouble through the APP.
It should be noted that the above two modes can be implemented individually or in combination, and the present invention is not limited thereto. When the control module is an indoor MCU, the control parameters are indoor operation parameters, and the indoor operation parameters include but are not limited to wind speed (high wind, medium wind, low wind, automatic, silent, and the like), left and right wind, up and down wind, indoor cleaning, outdoor cleaning, refreshing, rapid cooling and heating, auxiliary heating and other functional parameters. When the control module is an outdoor MCU, the control parameters are outdoor operation parameters, and the outdoor operation parameters include but are not limited to compressor frequency and outdoor fan parameters in different modes. Further, when the control module is an indoor MCU, the control parameter may also be a display screen operation parameter, and the display screen operation parameter includes, but is not limited to, display screen brightness and display mode of the display screen.
Illustratively, when the fault information can be solved by modifying the control parameters of the air conditioner, the server searches for an upgrade package corresponding to the control parameters and sends information for reminding a user that an available upgrade package is available to the user terminal, at this time, a prompt for confirming whether the upgrade is confirmed is displayed on the user terminal for the user to select, if the user confirms the upgrade, the user terminal returns indication information for selecting the upgrade by the user to the server, and at this time, the server sends upgrade information corresponding to the upgrade package to the air conditioner; when the fault information can not be solved by modifying the control parameters of the air conditioner, the server sends information for reminding a user to select repair to the user terminal, at the moment, prompt information for reminding the user of repair is displayed on the user terminal, and after the user confirms repair, the fault information of the air conditioner is fed back to the background monitoring center, so that maintenance personnel can conveniently obtain the fault information.
Optionally, the sending upgrade information corresponding to an upgrade package to the air conditioner includes:
when only one upgrade package is available, sending upgrade information corresponding to the current upgrade package to the air conditioner;
when at least two upgrade packages exist, sending information for reminding a user that a plurality of upgrade packages exist to the user terminal;
and returning the upgrading information corresponding to the user selection information to the air conditioner according to the user selection information sent by the user terminal.
Specifically, in steps S1 to S2, after the server confirms that the air conditioner needs to be upgraded remotely, the communication module obtains upgrade information sent by the server, where the upgrade information includes a download link URL, file size information, and a problem to be solved by the upgrade. And the communication module downloads an upgrade package according to the download link in the upgrade information, and verifies the upgrade package after the upgrade package is downloaded.
Illustratively, the communication module verifies the upgrade package by using an MD5 verification method, calculates the downloaded upgrade package to obtain an MD5 verification value, compares the MD5 verification value with an MD5 reference value extracted from a file, and if the MD5 verification value is the same as the MD5 reference value, it is determined that the downloaded file is complete and correct, and the verification is completed; if the MD5 check value is different from the MD5 reference value, the downloaded upgrade package is incomplete or an error occurs in the network downloading process, and the upgrade package needs to be downloaded again.
Specifically, in step S3, after the communication module successfully verifies the upgrade package, the control module obtains instruction information sent by the communication module after the communication module completes verification of the upgrade package, where the instruction information includes file size information, checksum, subsystem number, serial number, version, effective length, and other contents. And the control module carries out integrity check on the instruction information and judges whether all the contents are received completely.
Specifically, in step S4, after the integrity of the instruction information is successfully verified, the control module stores the upgrade package, compares the stored upgrade package with a checksum of the upgrade package downloaded by the communication module, and stores the upgrade package in the operation area for upgrading after the comparison is completed.
Specifically, the control module acquires the upgrade package from the communication module in a byte block based on an Xmodem protocol; wherein each byte block uses a checksum for error detection; then, the comparing the stored upgrade package with the checksum of the upgrade package downloaded by the communication module includes: if the check sum of one byte block is the same as the check sum of the upgrade package downloaded by the communication module, sending an approved byte corresponding to the current byte block to the communication module; judging whether approved bytes corresponding to all byte blocks are sent to the control module or not; if yes, returning an acknowledgement signal (ACK) to the communication module; if not, returning a negative acknowledgement signal (NAK) to the communication module, and downloading the upgrade package again. Optionally, each byte block contains 128 bytes.
Furthermore, the control module stores the upgrade package in an operation area, and then restarts and resets the upgrade package to complete the upgrade of the MCU. After the communication module sends an end of text (EOT) command, the communication module receives ACK feedback of the communication module, starts to send commands to inquire the communication module at intervals of a preset time period, confirms whether the communication module is upgraded and restarted, and after the completion, the communication module is restarted and re-networked to complete the synchronization of the upgrading state.
Compared with the prior art, the air conditioner control method provided by the embodiment of the invention can be used for carrying out directional upgrading by modifying the control parameters according to the air conditioner fault requirements of different users by acquiring the upgrading information remotely sent by the server for upgrading, so that remote fault repair and remote software upgrading are realized. In addition, the communication module and the control module verify the upgrade package, and the safety of data interaction can be improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. An air conditioner, comprising:
the communication module is used for acquiring the upgrading information sent by the server so as to download the upgrading package according to the upgrading information; after the upgrade package is downloaded, verifying the upgrade package; wherein the upgrade information comprises a download link and file size information;
the control module is used for acquiring the instruction information sent by the communication module after the upgrade package is verified, and checking the instruction information; after the verification is successful, the upgrade package is stored, the stored upgrade package is compared with the verification sum of the upgrade package downloaded by the communication module, and the upgrade package is stored in an operation area for upgrading after the comparison is completed; wherein the instruction information includes file size information and a checksum.
2. The air conditioner according to claim 1, wherein the control module includes at least one of an indoor MCU and an outdoor MCU.
3. The air conditioner of claim 1, wherein said verifying said upgrade package comprises:
and verifying the upgrade package by adopting an MD5 verification mode.
4. The air conditioner of claim 1, wherein the control module obtains the upgrade package from the communication module in byte blocks based on an Xmodem protocol; wherein each byte block uses a checksum for error detection; then, the comparing the stored upgrade package with the checksum of the upgrade package downloaded by the communication module includes:
if the check sum of one byte block is the same as the check sum of the upgrade package downloaded by the communication module, sending an approved byte corresponding to the current byte block to the communication module;
judging whether approved bytes corresponding to all byte blocks are sent to the control module or not;
if yes, returning an acknowledgement signal to the communication module; if not, returning a negative response signal to the communication module.
5. The air conditioner of claim 1, wherein the server is configured to:
when fault information reported by a user terminal is received, judging whether the fault information can be solved by modifying the control parameter of the air conditioner;
if so, searching an upgrade package corresponding to the control parameter, and sending information for reminding a user that an available upgrade package exists to the user terminal; if not, sending information for reminding the user to select to report the repair to the user terminal;
and when acquiring indication information sent by the user terminal for upgrading selected by the user, sending upgrading information corresponding to the upgrading packet to the air conditioner.
6. The air conditioner of claim 5, wherein said transmitting upgrade information corresponding to an upgrade package to the air conditioner comprises:
when only one upgrade package is available, sending upgrade information corresponding to the current upgrade package to the air conditioner;
when at least two upgrade packages exist, sending information for reminding a user that a plurality of upgrade packages exist to the user terminal;
and returning the upgrading information corresponding to the user selection information to the air conditioner according to the user selection information sent by the user terminal.
7. An air conditioner control method, comprising:
the communication module acquires upgrade information sent by a server to download an upgrade package according to the upgrade information;
after the communication module finishes downloading the upgrade package, verifying the upgrade package; wherein the upgrade information comprises a download link and file size information;
the control module acquires the instruction information sent by the communication module after the upgrade package is verified, and the instruction information is verified;
after the verification is successful, the control module stores the upgrade package, compares the stored upgrade package with the verification sum of the upgrade package downloaded by the communication module, and stores the upgrade package in an operation area for upgrading after the comparison is completed; wherein the instruction information includes file size information and a checksum.
8. The air conditioner controlling method of claim 7, wherein the control module includes at least one of an indoor MCU and an outdoor MCU.
9. The air conditioner controlling method of claim 7, wherein the verifying the upgrade package comprises:
and verifying the upgrade package by adopting an MD5 verification mode.
10. The air conditioner controlling method according to claim 7, wherein the control module acquires the upgrade package from the communication module in a byte block based on an Xmodem protocol; wherein each byte block uses a checksum for error detection; then, the comparing the stored upgrade package with the checksum of the upgrade package downloaded by the communication module includes:
if the check sum of one byte block is the same as the check sum of the upgrade package downloaded by the communication module, sending an approved byte corresponding to the current byte block to the communication module;
judging whether approved bytes corresponding to all byte blocks are sent to the control module or not;
if yes, returning an acknowledgement signal to the communication module; if not, returning a negative response signal to the communication module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010883118.9A CN111998510B (en) | 2020-08-28 | 2020-08-28 | Air conditioner and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010883118.9A CN111998510B (en) | 2020-08-28 | 2020-08-28 | Air conditioner and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111998510A true CN111998510A (en) | 2020-11-27 |
CN111998510B CN111998510B (en) | 2022-02-18 |
Family
ID=73464407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010883118.9A Active CN111998510B (en) | 2020-08-28 | 2020-08-28 | Air conditioner and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111998510B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113504919A (en) * | 2021-05-24 | 2021-10-15 | 海信(山东)空调有限公司 | Air conditioner and upgrading method |
CN113551363A (en) * | 2021-07-30 | 2021-10-26 | 佛山市顺德区美的电子科技有限公司 | Upgrading method of main program of air conditioner external unit, operation control device and air conditioner |
CN113568635A (en) * | 2021-07-06 | 2021-10-29 | 青岛中科英泰商用***股份有限公司 | Automatic upgrading system and method for intelligent stamping machine |
CN115277276A (en) * | 2022-06-27 | 2022-11-01 | 北京小米移动软件有限公司 | Program upgrading method and device for air conditioner, air conditioning system and storage medium |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102163155A (en) * | 2011-03-09 | 2011-08-24 | 深圳创维数字技术股份有限公司 | Upgrade controlling device and method for upgrading memory device |
CN103197943A (en) * | 2013-04-11 | 2013-07-10 | 航天科工深圳(集团)有限公司 | Online single-chip microcomputer upgrading method and system |
US8782632B1 (en) * | 2012-06-18 | 2014-07-15 | Tellabs Operations, Inc. | Methods and apparatus for performing in-service software upgrade for a network device using system virtualization |
CN104049996A (en) * | 2014-05-29 | 2014-09-17 | 湖北三江航天红峰控制有限公司 | Method for carrying out software updating of missile-borne computer based on serial port |
CN105260215A (en) * | 2015-11-04 | 2016-01-20 | 福建星海通信科技有限公司 | Method of updating vehicle-mounted automobile data recorder terminal by USB flash disk |
CN105318497A (en) * | 2015-09-24 | 2016-02-10 | 珠海格力电器股份有限公司 | Updating method and device for operating parameters of air conditioning unit |
CN106016578A (en) * | 2016-04-29 | 2016-10-12 | 珠海格力电器股份有限公司 | Air conditioner fault detection processing method, air conditioner fault analysis processing method and system |
WO2017199331A1 (en) * | 2016-05-17 | 2017-11-23 | 三菱電機株式会社 | Air conditioner system, overwrite control method, and overwrite control program |
CN108021410A (en) * | 2017-12-06 | 2018-05-11 | 九阳股份有限公司 | A kind of firmware upgrade method and system of intelligent appliance equipment |
CN108829421A (en) * | 2018-06-20 | 2018-11-16 | 合肥美的电冰箱有限公司 | The method and system and refrigerator and storage medium of upgrading refrigerator controller software |
CN109189405A (en) * | 2018-07-19 | 2019-01-11 | 山东省科学院自动化研究所 | A kind of method and system of proving program Flash data consistency |
CN109343873A (en) * | 2018-08-28 | 2019-02-15 | 九阳股份有限公司 | A kind of intelligent appliance remote upgrade control method |
US20190095192A1 (en) * | 2017-09-22 | 2019-03-28 | Konica Minolta, Inc. | Information processing apparatus and firmware update method |
CN109669708A (en) * | 2018-11-02 | 2019-04-23 | 金卡智能集团股份有限公司 | Remote upgrade method for modularization internet-of-things terminal equipment |
CN109918105A (en) * | 2019-02-21 | 2019-06-21 | 福建星云电子股份有限公司 | A kind of charging pile software automatic on-line upgrade method and system |
CN110311964A (en) * | 2019-06-20 | 2019-10-08 | 厦门四信通信科技有限公司 | Socket OTA upgrade method, device, system, user terminal and storage medium |
JP2019211882A (en) * | 2018-06-01 | 2019-12-12 | 三菱電機株式会社 | Communication system |
CN111459522A (en) * | 2020-04-01 | 2020-07-28 | 珠海格力电器股份有限公司 | Air conditioner and communication module upgrading method thereof |
-
2020
- 2020-08-28 CN CN202010883118.9A patent/CN111998510B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102163155A (en) * | 2011-03-09 | 2011-08-24 | 深圳创维数字技术股份有限公司 | Upgrade controlling device and method for upgrading memory device |
US8782632B1 (en) * | 2012-06-18 | 2014-07-15 | Tellabs Operations, Inc. | Methods and apparatus for performing in-service software upgrade for a network device using system virtualization |
CN103197943A (en) * | 2013-04-11 | 2013-07-10 | 航天科工深圳(集团)有限公司 | Online single-chip microcomputer upgrading method and system |
CN104049996A (en) * | 2014-05-29 | 2014-09-17 | 湖北三江航天红峰控制有限公司 | Method for carrying out software updating of missile-borne computer based on serial port |
CN105318497A (en) * | 2015-09-24 | 2016-02-10 | 珠海格力电器股份有限公司 | Updating method and device for operating parameters of air conditioning unit |
CN105260215A (en) * | 2015-11-04 | 2016-01-20 | 福建星海通信科技有限公司 | Method of updating vehicle-mounted automobile data recorder terminal by USB flash disk |
CN106016578A (en) * | 2016-04-29 | 2016-10-12 | 珠海格力电器股份有限公司 | Air conditioner fault detection processing method, air conditioner fault analysis processing method and system |
WO2017199331A1 (en) * | 2016-05-17 | 2017-11-23 | 三菱電機株式会社 | Air conditioner system, overwrite control method, and overwrite control program |
US20190095192A1 (en) * | 2017-09-22 | 2019-03-28 | Konica Minolta, Inc. | Information processing apparatus and firmware update method |
CN108021410A (en) * | 2017-12-06 | 2018-05-11 | 九阳股份有限公司 | A kind of firmware upgrade method and system of intelligent appliance equipment |
JP2019211882A (en) * | 2018-06-01 | 2019-12-12 | 三菱電機株式会社 | Communication system |
CN108829421A (en) * | 2018-06-20 | 2018-11-16 | 合肥美的电冰箱有限公司 | The method and system and refrigerator and storage medium of upgrading refrigerator controller software |
CN109189405A (en) * | 2018-07-19 | 2019-01-11 | 山东省科学院自动化研究所 | A kind of method and system of proving program Flash data consistency |
CN109343873A (en) * | 2018-08-28 | 2019-02-15 | 九阳股份有限公司 | A kind of intelligent appliance remote upgrade control method |
CN109669708A (en) * | 2018-11-02 | 2019-04-23 | 金卡智能集团股份有限公司 | Remote upgrade method for modularization internet-of-things terminal equipment |
CN109918105A (en) * | 2019-02-21 | 2019-06-21 | 福建星云电子股份有限公司 | A kind of charging pile software automatic on-line upgrade method and system |
CN110311964A (en) * | 2019-06-20 | 2019-10-08 | 厦门四信通信科技有限公司 | Socket OTA upgrade method, device, system, user terminal and storage medium |
CN111459522A (en) * | 2020-04-01 | 2020-07-28 | 珠海格力电器股份有限公司 | Air conditioner and communication module upgrading method thereof |
Non-Patent Citations (1)
Title |
---|
马潮: "《高档8位单片机ATmega 128原理与开发应用指南 上》", 31 December 2004, 北京航空航天大学出版社 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113504919A (en) * | 2021-05-24 | 2021-10-15 | 海信(山东)空调有限公司 | Air conditioner and upgrading method |
CN113504919B (en) * | 2021-05-24 | 2024-06-07 | 海信空调有限公司 | Air conditioner and upgrading method |
CN113568635A (en) * | 2021-07-06 | 2021-10-29 | 青岛中科英泰商用***股份有限公司 | Automatic upgrading system and method for intelligent stamping machine |
CN113551363A (en) * | 2021-07-30 | 2021-10-26 | 佛山市顺德区美的电子科技有限公司 | Upgrading method of main program of air conditioner external unit, operation control device and air conditioner |
CN115277276A (en) * | 2022-06-27 | 2022-11-01 | 北京小米移动软件有限公司 | Program upgrading method and device for air conditioner, air conditioning system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111998510B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111998510B (en) | Air conditioner and control method thereof | |
CN105162841B (en) | Control method and control system of household appliance | |
CN111623476B (en) | Data updating method and device in outdoor EEPROM of air conditioner and storage medium | |
CN105843645B (en) | Firmware upgrading method and device for zigbee equipment | |
CN101241364B (en) | Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system | |
CN111780342B (en) | Air conditioner | |
CN110708205A (en) | Method and system for performing FOTA (firmware over the air) on equipment through gateway | |
US8477647B2 (en) | Connection setting apparatus, connection setting method, and computer program product | |
CN106648781B (en) | Method and system for upgrading remote firmware of communication equipment | |
JP2019144959A (en) | Communication system, relay apparatus, and hot water machine | |
CN106453629B (en) | A kind of automobile electronic system remote update system and its method based on mobile network | |
CN112333278A (en) | Intelligent equipment upgrading method and system and intelligent equipment | |
CN112114897B (en) | Parameter configuration method and device based on industrial control screen and computer equipment | |
CN114440389B (en) | Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium | |
CN113660317A (en) | Vehicle-mounted terminal remote upgrading method based on FTP protocol | |
CN111399878A (en) | Data transmission method and device and method and device for upgrading multi-connected cluster system unit | |
CN111258603A (en) | Intelligent door lock firmware upgrading method and intelligent door lock | |
CN113685921B (en) | Multi-split air conditioner | |
CN113138788A (en) | Air conditioner program upgrading method and air conditioner system | |
CN113551363A (en) | Upgrading method of main program of air conditioner external unit, operation control device and air conditioner | |
WO2007123528A1 (en) | Remote software loading for refrigerant system | |
CN111682965A (en) | FOTA controller | |
CN110457058A (en) | Control node online upgrading method, apparatus, host computer, system and electronic equipment | |
CN116107618A (en) | Flowmeter controller upgrading method, computer equipment and storage medium | |
CN113865043B (en) | Program upgrading method and device for air conditioner, air conditioner and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |