CN111998510B - Air conditioner and control method thereof - Google Patents

Air conditioner and control method thereof Download PDF

Info

Publication number
CN111998510B
CN111998510B CN202010883118.9A CN202010883118A CN111998510B CN 111998510 B CN111998510 B CN 111998510B CN 202010883118 A CN202010883118 A CN 202010883118A CN 111998510 B CN111998510 B CN 111998510B
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.)
Active
Application number
CN202010883118.9A
Other languages
Chinese (zh)
Other versions
CN111998510A (en
Inventor
史甜甜
袁秀娟
温燕斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Shandong Air Conditioning Co Ltd
Original Assignee
Hisense Shandong Air Conditioning Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hisense Shandong Air Conditioning Co Ltd filed Critical Hisense Shandong Air Conditioning Co Ltd
Priority to CN202010883118.9A priority Critical patent/CN111998510B/en
Publication of CN111998510A publication Critical patent/CN111998510A/en
Application granted granted Critical
Publication of CN111998510B publication Critical patent/CN111998510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

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)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (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

Air conditioner and control method thereof
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.
CN202010883118.9A 2020-08-28 2020-08-28 Air conditioner and control method thereof Active CN111998510B (en)

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 CN111998510A (en) 2020-11-27
CN111998510B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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 珠海格力电器股份有限公司 Upgrading method and device for air conditioning unit operation parameters
CN106016578A (en) * 2016-04-29 2016-10-12 珠海格力电器股份有限公司 Air conditioner fault detecting and processing method and air conditioner fault analyzing and 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
CN109343873A (en) * 2018-08-28 2019-02-15 九阳股份有限公司 A kind of intelligent appliance remote upgrade control method
CN109918105A (en) * 2019-02-21 2019-06-21 福建星云电子股份有限公司 A kind of charging pile software automatic on-line upgrade method and system
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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
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
JP6953947B2 (en) * 2017-09-22 2021-10-27 コニカミノルタ株式会社 Information processing equipment, firmware update program
CN109189405B (en) * 2018-07-19 2022-03-01 山东省科学院自动化研究所 Method and system for verifying Flash data consistency of program
CN109669708B (en) * 2018-11-02 2022-08-12 金卡智能集团股份有限公司 Remote upgrading method for modular Internet of things terminal equipment
CN110311964A (en) * 2019-06-20 2019-10-08 厦门四信通信科技有限公司 Socket OTA upgrade method, device, system, user terminal and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 珠海格力电器股份有限公司 Upgrading method and device for air conditioning unit operation parameters
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 detecting and processing method and air conditioner fault analyzing and 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
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
CN109343873A (en) * 2018-08-28 2019-02-15 九阳股份有限公司 A kind of intelligent appliance remote upgrade control method
CN109918105A (en) * 2019-02-21 2019-06-21 福建星云电子股份有限公司 A kind of charging pile software automatic on-line upgrade method and system
CN111459522A (en) * 2020-04-01 2020-07-28 珠海格力电器股份有限公司 Air conditioner and communication module upgrading method thereof

Also Published As

Publication number Publication date
CN111998510A (en) 2020-11-27

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
US8477647B2 (en) Connection setting apparatus, connection setting method, and computer program product
CN105045626A (en) Program burning method, burning device and controller
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
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
CN105180378A (en) Air conditioner and upgrading control method and device thereof
CN112114897B (en) Parameter configuration method and device based on industrial control screen and computer equipment
CN113660317A (en) Vehicle-mounted terminal remote upgrading method based on FTP protocol
CN113865024B (en) Remote upgrading system for central air conditioner
CN111399878A (en) Data transmission method and device and method and device for upgrading multi-connected cluster system unit
CN114884935A (en) Data upgrading method and device, electronic equipment and storage medium
CN113685921B (en) Multi-split air conditioner
CN114440389A (en) Air conditioner, method of upgrading the same, computer device, and computer-readable storage medium
CN113138788A (en) Air conditioner program upgrading method and air conditioner system
US20090139246A1 (en) Remote software loading for refrigerant system
CN111682965A (en) FOTA controller
CN111258603A (en) Intelligent door lock firmware upgrading method and intelligent door lock
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

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