CN111562933B - Air conditioner upgrading method and air conditioner system - Google Patents

Air conditioner upgrading method and air conditioner system Download PDF

Info

Publication number
CN111562933B
CN111562933B CN202010326717.0A CN202010326717A CN111562933B CN 111562933 B CN111562933 B CN 111562933B CN 202010326717 A CN202010326717 A CN 202010326717A CN 111562933 B CN111562933 B CN 111562933B
Authority
CN
China
Prior art keywords
air conditioner
data
upgrade data
unit
upgrade
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
CN202010326717.0A
Other languages
Chinese (zh)
Other versions
CN111562933A (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.)
TCL Air Conditioner Zhongshan Co Ltd
Original Assignee
TCL Air Conditioner Zhongshan 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 TCL Air Conditioner Zhongshan Co Ltd filed Critical TCL Air Conditioner Zhongshan Co Ltd
Priority to CN202010326717.0A priority Critical patent/CN111562933B/en
Publication of CN111562933A publication Critical patent/CN111562933A/en
Application granted granted Critical
Publication of CN111562933B publication Critical patent/CN111562933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses an air conditioner upgrading method and an air conditioner system, wherein in the method, an air conditioner inner unit acquires upgrading data, wherein the upgrading data is used for upgrading operation parameters in an air conditioner outer unit; and the air conditioner inner unit transmits the upgrade data to the air conditioner outer unit, so that the air conditioner outer unit upgrades the operation parameters stored by the air conditioner outer unit based on the upgrade data. According to the invention, the upgrade data is acquired through the air conditioner inner unit, the upgrade data is sent to the air conditioner outer unit, and the operation parameters in the air conditioner outer unit are modified through the upgrade data, so that the on-line modification of the operation parameters in the air conditioner outer unit is realized, the labor cost required by the modification of the operation parameters in the air conditioner outer unit is reduced, and the modification cost of the operation parameters in the air conditioner outer unit is reduced.

Description

Air conditioner upgrading method and air conditioner system
Technical Field
The invention relates to the technical field of air conditioners, in particular to an air conditioner upgrading method and an air conditioner system.
Background
Most of the external units of the variable frequency air conditioner currently have EPROM (Electrically Erasable Programmable read only memory, charged erasable programmable read only memory) chips, for example, 24C16 type chips, 24C08 type chips, and the like. The EPROM chip stores the operation parameters of the air conditioner control, and when the application scene of the air conditioner needs to be modified, the operation parameters stored in the EPROM chip can be modified under the condition that the main program of the air conditioner controller is kept unchanged. However, in the development process of the air conditioner, the problem that the operation parameters in the EPROM chip of the whole machine of the air conditioner which is produced in mass production are unreasonable due to insufficient cognition or insufficient verification and the like often exists, and the modification is needed. The current common modification method is to change the operation parameters stored in the EPROM chip for after-sales maintenance personnel to go to the door for maintenance, which requires a great deal of labor cost, thereby increasing the maintenance cost of the air conditioner.
Disclosure of Invention
The invention aims to solve the technical problem of providing an air conditioner upgrading method and an air conditioner system aiming at the defects of the prior art.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
an air conditioner upgrading method is applied to an air conditioning system, and the air conditioning system comprises an air conditioner inner unit and an air conditioner outer unit; the method comprises the following steps:
the method comprises the steps that an air conditioner internal unit obtains upgrade data, wherein the upgrade data are used for upgrading operation parameters stored in the air conditioner external unit;
and the air conditioner inner unit transmits the upgrade data to the air conditioner outer unit, so that the air conditioner outer unit upgrades the operation parameters stored by the air conditioner outer unit based on the upgrade data.
The air conditioner upgrading method, wherein the air conditioner indoor unit obtaining upgrading data specifically comprises the following steps:
the air conditioner indoor unit is connected with the cloud end, and the upgrade data are obtained through the cloud end.
The air conditioner upgrading method, wherein the air conditioner internal unit transmits the upgrading data to the air conditioner external unit, so that the air conditioner external unit upgrades the operation parameters stored by the air conditioner external unit based on the upgrading data specifically comprises the following steps:
the air conditioner inner unit transmits the upgrade data to the air conditioner outer unit and controls the air conditioner outer unit to determine data to be upgraded corresponding to the upgrade data;
and controlling the air conditioner external unit to cover the data to be upgraded by adopting the upgrading data so as to upgrade the operation parameters in the air conditioner external unit.
The air conditioner upgrading method, wherein the air conditioner internal unit transmits the upgrading data to the air conditioner external unit, and controls the air conditioner external unit to determine to-be-upgraded data corresponding to the upgrading data specifically comprises the following steps:
the air conditioner internal unit transmits the upgrade data to the air conditioner external unit, wherein the upgrade data comprises a data address code and a data code;
and the air conditioner inner unit controls the air conditioner outer unit to determine the data to be upgraded corresponding to the data code based on the data address code.
The air conditioner upgrading method, wherein the air conditioner internal unit transmits the upgrading data to the air conditioner external unit, so that after the air conditioner external unit upgrades the operation parameters stored by the air conditioner external unit based on the upgrading data, the method comprises the following steps:
the air conditioner inner unit receives feedback information sent by the air conditioner outer unit, wherein the feedback information carries a feedback check code;
if the feedback check code is the same as the check code corresponding to the upgrade data, finishing the upgrade of the operation parameters of the air conditioner external unit;
and if the feedback check code is different from the check code corresponding to the upgrade data, the step of transmitting the upgrade data to the air conditioner external unit is executed again by the air conditioner internal unit.
The air conditioner upgrading method comprises the steps that upgrading data comprise data address codes and data codes, and the feedback verification codes are generated according to the data address codes and the data codes.
The air conditioner upgrading method, wherein if the feedback check code is the same as the check code corresponding to the upgrading data, after the operation parameter of the air conditioner external unit is upgraded, the method comprises the following steps:
and the air conditioner inner unit sends the end information to the air conditioner outer unit so that the air conditioner outer unit stops receiving the upgrade data.
The air conditioner upgrading method, wherein before the air conditioner internal unit transmits the upgrading data to the air conditioner external unit, the method comprises the following steps:
the air conditioner internal unit sends request information to the air conditioner external unit so that the air conditioner external unit generates response information based on the request information;
and the air conditioner internal unit receives the response information and sends upgrading data to the air conditioner external unit based on the response information.
An air conditioner upgrading method is applied to an air conditioning system, and the air conditioning system comprises an air conditioner inner unit and an air conditioner outer unit; the method comprises the following steps:
the method comprises the steps that an air conditioner external unit receives upgrade data sent by an air conditioner internal unit, wherein the upgrade data are used for upgrading operation parameters in the air conditioner external unit;
and the air conditioner external unit determines the data to be upgraded corresponding to the upgrading data, and covers the data to be upgraded by adopting the upgrading data so as to upgrade the operation parameters in the air conditioner external unit.
The air conditioner upgrading method comprises the steps that upgrading data are obtained through an air conditioner inner unit through a cloud and are sent to an air conditioner outer unit.
The air conditioner upgrading method, wherein the air conditioner external unit determines data to be upgraded corresponding to the upgrading data, and covers the data to be upgraded by adopting the upgrading data so as to upgrade the operation parameters in the air conditioner external unit, and the method further comprises:
the air conditioner external unit sends feedback information carrying a feedback check code to the air conditioner internal unit, so that the air conditioner internal unit finishes upgrading the operation parameters of the air conditioner external unit when the feedback check code is the same as a preset check code; and when the feedback check code is different from the preset check code, retransmitting the upgrade data to an external machine of the air conditioner.
An air conditioning system comprises an air conditioning inner unit and an air conditioning outer unit;
the air conditioner indoor unit is used for: acquiring upgrade data and transmitting the upgrade data to an air conditioner external unit, wherein the upgrade data is used for upgrading operation parameters in the air conditioner external unit;
the air conditioner external unit is used for: and receiving upgrade data sent by the air conditioner internal unit, determining data to be upgraded corresponding to the upgrade data, and covering the data to be upgraded by adopting the upgrade data so as to upgrade the operation parameters in the air conditioner external unit.
A computer readable storage medium storing one or more programs executable by one or more processors to implement the steps in the air conditioner upgrade method as described in any one of the above.
The beneficial effects are that: compared with the prior art, the invention provides an air conditioner upgrading method and an air conditioner system, wherein in the method, an air conditioner inner unit acquires upgrading data, and the upgrading data is used for upgrading operation parameters in the air conditioner outer unit; and the air conditioner inner unit transmits the upgrade data to the air conditioner outer unit, so that the air conditioner outer unit upgrades the operation parameters stored by the air conditioner outer unit based on the upgrade data. According to the invention, the upgrade data is acquired through the air conditioner inner unit, the upgrade data is sent to the air conditioner outer unit, and the operation parameters in the air conditioner outer unit are modified through the upgrade data, so that the on-line modification of the operation parameters in the air conditioner outer unit is realized, the labor cost required by the modification of the operation parameters in the air conditioner outer unit is reduced, and the modification cost of the operation parameters in the air conditioner outer unit is reduced.
Drawings
Fig. 1 is a flowchart of an air conditioner upgrading method provided by the invention.
Fig. 2 is a flowchart of step S20 in the air conditioner upgrade method provided by the present invention.
Fig. 3 is a schematic structural diagram of an air conditioning system according to the present invention.
Detailed Description
The invention provides an air conditioner upgrading method and an air conditioner system, and aims to make the purposes, technical schemes and effects of the invention clearer and more definite. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment provides an air conditioner upgrading method, which is applied to an air conditioning system, wherein the air conditioning system comprises an air conditioner inner unit and an air conditioner outer unit, as shown in fig. 1, and the method comprises the following steps:
s10, the air conditioner indoor unit acquires upgrade data, wherein the upgrade data are used for upgrading operation parameters stored in the air conditioner outdoor unit.
Specifically, the upgrade data is data for upgrading operation parameters in the external air conditioner, wherein the operation parameters in the external air conditioner can be stored in an electrified erasable programmable read-only memory assembled in the external air conditioner. The charged erasable programmable read-only memory is assembled on a control main board of the air conditioner external unit and stores operation parameters for controlling the operation of the air conditioner, and the operation parameters in the charged erasable programmable read-only memory are not lost when the air conditioner is powered down.
Further, the upgrade data may be issued to the air conditioner indoor unit through the cloud, or may be transmitted to the air conditioner indoor unit through an external device (for example, a smart phone or the like) connected to the air conditioner indoor unit. In an implementation manner of this embodiment, the upgrade data is sent to the air conditioner indoor unit through the cloud. Therefore, the air conditioner indoor unit is connected with the cloud end, and the upgrade data are obtained through the cloud end. For example, when the cloud end is configured with upgrade data of operation parameters in the air conditioner external unit, the cloud end issues an upgrade instruction to the air conditioner internal unit, so that the air conditioner internal unit obtains the upgrade data from the cloud end in an upgrade mode. Of course, in practical applications, the air conditioner indoor unit may further acquire the upgrade data in other manners, for example, the air conditioner indoor unit receives a control instruction, and sends an upgrade request to the cloud according to the control instruction, so that the cloud sends the upgrade data as upgrade data of the air conditioner indoor unit to the air conditioner indoor unit, so that the air conditioner indoor unit may acquire the upgrade data online.
S20, the air conditioner internal unit transmits the upgrade data to the air conditioner external unit.
Specifically, the air conditioner internal unit is communicated with the air conditioner external unit, and the upgrade data is sent to the air conditioner external unit through the air conditioner internal unit, so that the air conditioner external unit can acquire the upgrade data, and the upgrade of the operation parameters stored by the air conditioner external unit is realized. In addition, before the upgrade data is transmitted to the air conditioner external unit, the air conditioner internal unit needs to communicate with the air conditioner external unit to negotiate to determine the use of the upgrade data, so that the upgrade data is used for upgrading the operation parameters stored by the air conditioner internal unit. Thus, in one implementation manner of this embodiment, before the air conditioner indoor unit transmits the upgrade data to the air conditioner outdoor unit, the method includes:
correspondingly, as shown in fig. 2, the sending, by the air conditioner indoor unit, the first upgrade data to the air conditioner outdoor unit specifically includes:
s21, the air conditioner internal unit sends request information to the air conditioner external unit;
s22, the air conditioner external unit receives the request information, generates response information based on the request information and sends the response information to the air conditioner internal unit;
s23, the air conditioner internal unit receives the response information and sends upgrading data to the air conditioner external unit based on the response information.
Specifically, the request information is sent by the air conditioner internal unit to the air conditioner external unit so as to request the air conditioner external unit to perform operation parameter upgrading communication, wherein the request information can comprise an upgrading identifier, and the upgrading identifier is used for indicating that operation parameter upgrading is started. In addition, the request information may be sent in a preset data format, where the data address code field, the data code field and the check code field in the preset data format may store preset characters, and the preset characters are used to indicate that the air conditioner indoor unit requests to perform operation parameter upgrade communication to the air conditioner outdoor unit.
Further, the request information may be generated by the air conditioner indoor unit according to a trigger instruction sent by the external device, may be generated based on a trigger instruction generated by the air conditioner indoor unit to the remote control device, or may be triggered by a user triggering a trigger button set on the air conditioner indoor unit. Of course, it should be noted that, when the air conditioner indoor unit sends the request information to the air conditioner outdoor unit, the air conditioner indoor unit stores upgrade data for upgrading the operation parameters. It can be understood that when the air conditioner internal unit acquires the upgrade data, the request information can be automatically triggered; the upgrade data is stored and a trigger instruction for generating the request information is received.
Further, the response information is generated by the air conditioner external unit based on the request information and is used for indicating that the air conditioner external unit enters an operation parameter communication state, so that the air conditioner internal unit sends upgrading data to the air conditioner external unit based on the response information. In addition, the response information can be sent in a preset data format, wherein a data address code field, a data code field and a check code field in the data format can store response characters, and the response characters are used for indicating the running parameter upgrading communication state of the air conditioner external unit.
Further, the air conditioner indoor unit transmitting the upgrade data to an air conditioner outdoor unit specifically includes:
the air conditioner inner unit receives feedback information sent by the air conditioner outer unit, wherein the feedback information carries a feedback check code;
if the feedback check code is the same as the check code corresponding to the upgrade data, finishing the upgrade of the operation parameters of the air conditioner external unit;
and if the feedback check code is different from the check code corresponding to the upgrade data, the step of transmitting the upgrade data to the air conditioner external unit is executed again by the air conditioner internal unit.
Specifically, the feedback check code is generated by the air conditioner external unit based on the upgrade data and is used for representing the data identifier of the received upgrade data; the preset check code is a data identifier which is obtained in advance by the air conditioner indoor unit and used for identifying the upgrade data. After the feedback check code is received by the air conditioner internal unit, comparing the feedback check code with the preset check code to determine whether upgrade data received by the air conditioner external unit are identical with upgrade data sent by the air conditioner internal unit, if so, indicating that the operation parameters of the air conditioner external unit are upgraded, if not, indicating that the air conditioner external unit does not acquire the upgrade data to be configured, and then retransmitting the upgrade data by the air conditioner internal unit and recording the repeated sending times; and if the repeated transmission times reach the time threshold, judging that the operation parameters of the air conditioner external unit are failed to upgrade. The frequency threshold is preset, for example, 3 times, 4 times, etc.
In one implementation of this embodiment, the upgrade data includes a data address code and a data code, and the feedback verification code is generated according to the data address code and the data code. The feedback verification code can be generated by the external air conditioner according to the data address code and the data code written by the received upgrade data, or can be written and read by the external air conditioner directly from the upgrade data. It can be understood that the upgrade data may carry a check code generated according to the data address code and the data code, and after the air conditioner external unit receives the upgrade data, the air conditioner external unit reads the check code in the upgrade data, and uses the read check code as a feedback check code; the upgrade data does not carry a check code, and after the air conditioner external unit obtains the upgrade data, the check code is generated based on the data address code and the data code in the upgrade data. In addition, the check code corresponding to the upgrade data is stored in the air conditioner internal unit, and the check code corresponding to the upgrade data is generated by the air conditioner internal unit according to the data address code and the data code corresponding to the upgrade data and is used for verifying whether the feedback check code sent by the air conditioner external unit is correct, wherein the check code corresponding to the upgrade data is the same as the generation process of the feedback check code, and the generation process of the feedback check code is described as an example.
In a specific implementation manner of this embodiment, the feedback check code is generated by the external air conditioner according to the data address code and the data code in the upgrade data, and the generating process of the feedback check code specifically may include:
the external air conditioner reads the data address code carried by the upgrade data and the data code;
and adding the data address code and the data code, and performing inverting operation on the obtained result to generate a feedback check code.
Specifically, the data address code and the data code are correspondingly added according to the data bit, and when the data obtained by adding the data bit A corresponding to the data bit A in the first data code needs carry, the difference between the data and the binary number is directly adopted as the added data bit, and carry operation is not carried out. For example, the data bit a and the data bit B are all decimal, wherein the data corresponding to the data bit a is 5, and the data corresponding to the data bit B is 8, and then the data bit a and the data bit B are added to obtain the data of 3. In addition, in one implementation manner of this embodiment, the first upgrade data is stored in a preset data format, where a data address code occupies two bytes, a data code occupies two bytes, and a check code occupies one byte; the first check code may thus be generated from one byte in the data address code and one byte in the data code, e.g. the first check code is generated from the first bit byte in the data address code and the first bit byte in the data code. For example, if the data corresponding to the first byte in the data address code is 1 and the data corresponding to the first byte in the data code is 1, the address bit 0x0001 in the 16-ary representation and the data bit 0x0001 in the 16-ary representation are added to obtain 0x0002, and the inverse is the first check code 0Xfffd.
Further, in an implementation manner of this embodiment, when the air conditioner indoor unit transmits the upgrade data to the air conditioner outdoor unit, the upgrade data may be divided into a plurality of data segments, and each data segment obtained by dividing forms an upgrade data sequence according to a position sequence of the data segment in the upgrade data, and the air conditioner indoor unit sequentially sends each data segment in the upgrade data sequence to the air conditioner outdoor unit. Each data segment in the upgrade data sequence forms one upgrade data, which is respectively recorded as a first upgrade data, a second upgrade data, and an nth upgrade data, wherein N is the total number of the data segments in the upgrade data sequence. The first upgrade data, the second upgrade data, and the nth upgrade data each include a data address code and a data code, the data address codes of the upgrade data in the upgrade data sequence are different from each other, and the data codes of the upgrade data in the upgrade data sequence are different from each other.
In addition, the first upgrade data, the second upgrade data and the third, the nth upgrade data can be stored in a preset data format, the preset data format is determined by negotiation between the air conditioner internal unit and the air conditioner external unit, and when the air conditioner internal unit sends the first data to the air conditioner external unit, the first data is stored in the preset data format; when the air conditioner external unit sends second data to the air conditioner internal unit, the second data is stored in the preset data format, so that the air conditioner internal unit can analyze the second data, and the air conditioner external unit can analyze the first data.
In one implementation manner, the preset data format includes a data address code field, a data code field and a check code field, wherein the data address code field is used for storing a data address; the data code field is used for storing data content, and the check code field is used for storing check codes corresponding to the data. Furthermore, the data address codeword takes up two bytes, one for storing the upper 8 bits and the lower 8 bits of the address, respectively, e.g., the first byte of the two bytes is used to store the upper 8 bits of the address and the second byte is used to store the lower 8 bits of the address. The data codeword takes up two bytes, one for storing the upper 8 bits and the lower 8 bits of data, respectively, e.g., the first byte of the two bytes is used to store the upper 8 bits of data and the second byte is used to store the lower 8 bits of data. The check code field occupies 1 byte, and is used for storing check codes.
Further, the data address code in each upgrade data in the upgrade data sequence is stored in the data address code field, and the data code in each upgrade data in the upgrade data sequence is stored in the data code field. The first upgrade data is described here as an example. The data address code of the first upgrade data is stored in the data address code field, and the data code of the first upgrade data is stored in the data code field. In addition, since the first liter of data may not include the check code, when the first upgrade of data does not include the check code, the check code fields may be null, may be both 0, and the like. When the air conditioner external unit acquires the first upgrade data, the data address of the first upgrade data can be read from the data address code field, so that the data code field reads the data content of the first upgrade data, the data to be upgraded corresponding to the first upgrade data can be searched in the operation parameters of the air conditioner external unit according to the data address, and the data to be upgraded is replaced by the data code to be searched for upgrading.
Further, in an implementation manner of this embodiment, the sending, by the air conditioner internal unit, upgrade data to the air conditioner external unit may include:
dividing the upgrade data by the air conditioner indoor unit to obtain an upgrade data sequence;
taking the first upgrade data in the upgrade data sequence as target upgrade data, sending the target upgrade data to an air conditioner external unit, and receiving feedback data sent by the air conditioner external unit, wherein the feedback data carries a first check code;
the air conditioner indoor unit generates a second check code according to the first upgrade data, and compares the second check code with the first check code;
if the second check code is the same as the first check code, taking the next upgrade data of the target upgrade data as the target upgrade data, and continuously executing the step of sending the target upgrade data to the air conditioner external unit until all the upgrade data in the upgrade data sequence are sent;
and if the second check code is different from the first check code, taking the first upgrade data as target upgrade data, and re-executing the step of sending the target upgrade data to an air conditioner external unit.
Specifically, the feedback data is sent in a preset data format, that is, the feedback data includes a data address code field, a data code field and a check code field, where the first check code is stored in the check code field, and the data address code field and the data code field may be null or both be 0 and the like.
Further, the first check code may be generated by an air conditioner internal unit or may be generated by an air conditioner external unit. When the first check code is generated by the air conditioner internal unit, the air conditioner internal unit adds the first check code into first upgrade data and sends the first upgrade data to the air conditioner external unit, and when the air conditioner external unit receives the first upgrade data, the first upgrade data is read to carry the first check code and is used as feedback data to be sent to the air conditioner internal unit. When the first check code is generated by an external unit of the air conditioner, the first upgrade data does not carry the check code; when the air conditioner external unit receives first upgrade data sent by the air conditioner internal unit, the air conditioner external unit generates a first check code according to a data address code and a data code included in the first upgrade data, and sends the first check code to the air conditioner internal unit as feedback data. Of course, it should be noted that the generating process of the first check code is the same as the generating process of the feedback check code, for example, the generating process may refer to the generating process of the feedback data code according to the data address code and the data code in the first upgrade data, which is not described herein.
Further, the second check code is generated by the air conditioner indoor unit based on the first upgrade data, where a generating process of the second check code is the same as a generating process of the first check code, and specific reference may be made to the generating process of the first check code, which is not described herein. In addition, if the second check code is the same as the first check code, the instruction book air conditioner external unit receives the first upgrade data and the first upgrade data sent by the air conditioner internal unit, and at the moment, the first upgrade data is judged to be upgraded, and at the moment, whether the first upgrade data is the last upgrade data in an upgrade data sequence is judged; if the target upgrading data is not the last upgrading data, taking the last upgrading data of the target upgrading data as the target upgrading data; and continuing to send the target upgrade data to the air conditioner external unit until all the upgrade data in the upgrade data sequence are sent. If the second check code is different from the first check code, the fact that the first upgrade data received by the air conditioner external unit is different from the first upgrade data sent by the air conditioner internal unit is indicated, and at the moment, the fact that the first upgrade data is not upgraded is judged to be finished is carried out, and the first upgrade data is sent to the air conditioner external unit again. It can be understood that the first upgrade data is sent to the external air conditioner as target upgrade data, so that the external air conditioner upgrades the data to be upgraded corresponding to the first upgrade data again, and thus the accuracy of the upgrade of the operation parameters in the external air conditioner can be improved.
In addition, in order to avoid the air conditioner upgrade from entering the dead cycle, when the second check code is different from the first check code, the times of the second check code being different from the first check code are recorded. Meanwhile, when the first upgrade data is sent as second upgrade data, the number of times is read, if the number of times reaches a preset number of times threshold, the upgrade failure of the first upgrade data is recorded, and whether upgrade data different from the first upgrade exists or not is judged; if the upgrade data which is different from the first upgrade exists, one upgrade data is selected from the upgrade data which is different from the first upgrade to serve as second upgrade data, and the second upgrade data is sent to an air conditioner external unit. The preset frequency threshold is preset and is used for limiting the frequency of repeatedly generating the first upgrade data, for example, the preset frequency threshold is 20.
S30, the air conditioner external unit determines data to be upgraded corresponding to the upgrading data, and covers the data to be upgraded by adopting the upgrading data so as to upgrade the operation parameters in the air conditioner external unit.
Specifically, the air conditioner external unit receives the upgrade data and analyzes the upgrade data to obtain a data address code and a data code carried by the upgrade data; and determining the data to be upgraded corresponding to the upgrading data according to the data address code, and updating the data to be upgraded by adopting the data content corresponding to the data code. Correspondingly, in an implementation manner of this embodiment, the determining, by the external air conditioner, to-be-upgraded data corresponding to the upgrade data specifically includes:
the air conditioner internal unit transmits the upgrade data to the air conditioner external unit, wherein the upgrade data comprises a data address code and a data code;
and the air conditioner inner unit controls the air conditioner outer unit to determine the data to be upgraded corresponding to the data code based on the data address code.
Specifically, after receiving upgrade data sent by an air conditioner internal unit, an air conditioner external unit acquires a data address code corresponding to the upgrade data, determines a storage position of data to be upgraded corresponding to the upgrade data according to the data address code, and writes the data code of the upgrade data into the storage position to cover the data to be upgraded. Of course, it is worth to say that after the air conditioner external unit receives the upgrade data, the air conditioner external unit sends feedback information carrying a feedback check code to the air conditioner internal unit, so that the air conditioner internal unit finishes upgrading the operation parameters of the air conditioner external unit when the feedback check code is the same as a preset check code; and when the feedback check code is different from the preset check code, retransmitting the upgrade data to an external machine of the air conditioner.
In addition, in a specific implementation manner of the embodiment, the operation parameters in the external air conditioner are stored in an electrified erasable programmable read-only memory assembled in the external air conditioner. Therefore, after the air conditioner external unit receives the upgrade data through the air conditioner external unit mainboard, the upgrade data is written into the charged erasable programmable read-only memory so as to modify the data to be upgraded, which corresponds to the first upgrade data, in the charged erasable programmable read-only memory. The upgrade data is all operation parameters in the operation parameters corresponding to the charged erasable programmable read-only memory, and can also be part of operation parameters. It can be understood that when the operation parameters are modified by the air conditioner indoor unit, all the operation parameters in the charged erasable programmable read-only memory can be modified, and part of the operation parameters in the charged erasable programmable read-only memory can be modified.
Further, in an implementation manner of this embodiment, when the operation parameter in the air conditioner external unit is updated, the air conditioner internal unit needs to send end data to the air conditioner external unit, so that the air conditioner external unit knows that the operation parameter in the air conditioner external unit is updated, and stops performing the operation parameter updating communication with the air conditioner internal unit in the air conditioner external unit. In addition, after the operation parameters in the air conditioner external unit are updated, the air conditioner internal unit sends end data to the air conditioner external unit, so that when the air conditioner external unit receives the data sent by the air conditioner internal unit, the air conditioner external unit can judge whether the received data is the end data or not, and if the second updated data is not the end data, the air conditioner external unit sends feedback data to the air conditioner internal unit; and if the second upgrading data is the ending data, stopping sending feedback data to the air conditioner inner unit by the air conditioner outer unit. In this embodiment, the end data may carry predetermined data content, where the predetermined data content is used to indicate that the operation parameter in the external air conditioner is updated, for example, the preset data content is 0, or an end character is specified.
Based on the above air conditioning upgrading method, the present embodiment provides an air conditioning system, as shown in fig. 3, where the air conditioning system includes an air conditioning inner unit 100 and an air conditioning outer unit 200, and the air conditioning outer unit 200 is equipped with an electrically-charged erasable programmable read-only memory;
the air conditioner indoor unit 100 is configured to: acquiring upgrade data and transmitting the upgrade data to an air conditioner external unit, wherein the upgrade data is used for upgrading operation parameters in the air conditioner external unit;
the air conditioner outdoor unit 200 is configured to: and receiving upgrade data sent by the air conditioner internal unit, determining data to be upgraded corresponding to the upgrade data, and covering the data to be upgraded by adopting the upgrade data so as to upgrade the operation parameters in the air conditioner external unit.
Based on the air conditioning upgrade method described above, the present embodiment provides a computer-readable storage medium storing one or more programs executable by one or more processors to implement the air conditioning upgrade method and the steps in the air conditioning system described in the above embodiments.
In addition, the specific processes of loading and executing the plurality of instruction processors in the storage medium and the specific processes of executing the air conditioner internal unit and the air conditioner external unit have been described in detail in the above methods, and are not stated here.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. The air conditioner upgrading method is characterized by being applied to an air conditioner system, wherein the air conditioner system comprises an air conditioner inner unit and an air conditioner outer unit; the method comprises the following steps:
the method comprises the steps that an air conditioner internal unit obtains upgrade data, wherein the upgrade data are used for upgrading operation parameters stored in the air conditioner external unit;
the air conditioner inner unit transmits the upgrade data to the air conditioner outer unit, so that the air conditioner outer unit upgrades the operation parameters stored by the air conditioner outer unit based on the upgrade data;
after the air conditioner internal unit transmits the upgrade data to the air conditioner external unit so that the air conditioner external unit upgrades the operation parameters stored by the air conditioner external unit based on the upgrade data, the method comprises the following steps:
the air conditioner inner unit receives feedback information sent by the air conditioner outer unit, wherein the feedback information carries a feedback check code;
if the feedback check code is the same as the check code corresponding to the upgrade data, finishing the upgrade of the operation parameters of the air conditioner external unit;
if the feedback check code is different from the check code corresponding to the upgrade data, the step of transmitting the upgrade data to the air conditioner external unit is re-executed by the air conditioner internal unit;
the transmission of the upgrade data to the air conditioner external unit by the air conditioner internal unit comprises the following steps:
dividing the upgrade data by the air conditioner indoor unit to obtain an upgrade data sequence;
taking the first upgrade data in the upgrade data sequence as target upgrade data, sending the target upgrade data to an air conditioner external unit, and receiving feedback data sent by the air conditioner external unit, wherein the feedback data carries a first check code;
the air conditioner indoor unit generates a second check code according to the first upgrade data, and compares the second check code with the first check code;
if the second check code is the same as the first check code, taking the next upgrade data of the target upgrade data as the target upgrade data, and continuously executing the step of sending the target upgrade data to the air conditioner external unit until all the upgrade data in the upgrade data sequence are sent;
and if the second check code is different from the first check code, taking the first upgrade data as target upgrade data, and re-executing the step of sending the target upgrade data to an air conditioner external unit.
2. The method for upgrading an air conditioner according to claim 1, wherein the acquiring upgrade data by the air conditioner indoor unit specifically comprises:
the air conditioner indoor unit is connected with the cloud end, and the upgrade data are obtained through the cloud end.
3. The method for upgrading an air conditioner according to claim 1, wherein the air conditioner internal unit transmits the upgrade data to an air conditioner external unit, so that the air conditioner external unit upgrades the operation parameters stored by itself based on the upgrade data specifically includes:
the air conditioner inner unit transmits the upgrade data to the air conditioner outer unit and controls the air conditioner outer unit to determine data to be upgraded corresponding to the upgrade data;
and controlling the air conditioner external unit to cover the data to be upgraded by adopting the upgrading data so as to upgrade the operation parameters in the air conditioner external unit.
4. The method for upgrading an air conditioner according to claim 3, wherein the air conditioner internal unit transmits the upgrade data to an air conditioner external unit, and controlling the air conditioner external unit to determine the data to be upgraded corresponding to the upgrade data specifically comprises:
the air conditioner internal unit transmits the upgrade data to the air conditioner external unit, wherein the upgrade data comprises a data address code and a data code;
and the air conditioner inner unit controls the air conditioner outer unit to determine the data to be upgraded corresponding to the data code based on the data address code.
5. The air conditioner upgrade method according to claim 1, wherein the upgrade data includes a data address code and a data code, and the feedback check code is generated according to the data address code and the data code.
6. The method for upgrading an air conditioner according to claim 1, wherein if the feedback check code is the same as the check code corresponding to the upgrade data, after the operation parameter of the air conditioner external unit is upgraded, the method comprises:
and the air conditioner inner unit sends the end information to the air conditioner outer unit so that the air conditioner outer unit stops receiving the upgrade data.
7. The air conditioner upgrade method according to claim 1, wherein before the air conditioner internal unit transmits the upgrade data to the air conditioner external unit, the method comprises:
the air conditioner internal unit sends request information to the air conditioner external unit so that the air conditioner external unit generates response information based on the request information;
and the air conditioner internal unit receives the response information and sends upgrading data to the air conditioner external unit based on the response information.
8. The air conditioner upgrading method is characterized by being applied to an air conditioner system, wherein the air conditioner system comprises an air conditioner inner unit and an air conditioner outer unit; the method comprises the following steps:
the method comprises the steps that an air conditioner external unit receives upgrade data sent by an air conditioner internal unit, wherein the upgrade data are used for upgrading operation parameters in the air conditioner external unit;
the external air conditioner determines data to be upgraded corresponding to the upgrading data, and covers the data to be upgraded by adopting the upgrading data so as to upgrade the operation parameters in the external air conditioner;
after the air conditioner external unit determines the data to be upgraded corresponding to the upgrade data and covers the data to be upgraded by adopting the upgrade data so as to upgrade the operation parameters in the air conditioner external unit, the method further comprises the following steps:
the air conditioner external unit sends feedback information carrying a feedback check code to the air conditioner internal unit, so that the air conditioner internal unit finishes upgrading the operation parameters of the air conditioner external unit when the feedback check code is the same as a preset check code; when the feedback check code is different from a preset check code, the upgrade data is transmitted to an air conditioner external unit again;
the external air conditioner reads the data address code and the data code carried by the upgrade data;
and adding the data address code and the data code, and performing inverting operation on the obtained result to generate a feedback check code.
9. The method for upgrading an air conditioner according to claim 8, wherein the upgrade data is upgrade data obtained by an air conditioner internal unit through a cloud and transmitted to an air conditioner external unit.
10. An air conditioning system is characterized by comprising an air conditioning inner unit and an air conditioning outer unit;
the air conditioner indoor unit is used for: acquiring upgrade data and transmitting the upgrade data to an air conditioner external unit, wherein the upgrade data is used for upgrading operation parameters in the air conditioner external unit; receiving feedback information sent by the air conditioner external unit, wherein the feedback information carries a feedback check code; if the feedback check code is the same as the check code corresponding to the upgrade data, finishing the upgrade of the operation parameters of the air conditioner external unit; if the feedback check code is different from the check code corresponding to the upgrade data, the step of transmitting the upgrade data to the air conditioner external unit is re-executed by the air conditioner internal unit; dividing the upgrade data to obtain an upgrade data sequence; taking the first upgrade data in the upgrade data sequence as target upgrade data, sending the target upgrade data to an air conditioner external unit, and receiving feedback data sent by the air conditioner external unit, wherein the feedback data carries a first check code; generating a second check code according to the first upgrade data, and comparing the second check code with the first check code; if the second check code is the same as the first check code, taking the next upgrade data of the target upgrade data as the target upgrade data, and continuously executing the step of sending the target upgrade data to the air conditioner external unit until all the upgrade data in the upgrade data sequence are sent; if the second check code is different from the first check code, the first upgrade data is used as target upgrade data, and the step of sending the target upgrade data to an air conditioner external unit is re-executed;
the air conditioner external unit is used for: receiving upgrade data sent by an air conditioner internal unit, determining data to be upgraded corresponding to the upgrade data, and covering the data to be upgraded by adopting the upgrade data so as to upgrade operation parameters in the air conditioner external unit; sending feedback information carrying a feedback check code to the air conditioner internal unit so that the air conditioner internal unit finishes upgrading the operation parameters of the air conditioner external unit when the feedback check code is the same as a preset check code; when the feedback check code is different from a preset check code, the upgrade data is transmitted to an air conditioner external unit again; reading a data address code carried by the upgrade data and the data code; and adding the data address code and the data code, and performing inverting operation on the obtained result to generate a feedback check code.
11. A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the air conditioning upgrade method of any one of claims 1-7 or the steps of the air conditioning upgrade method of any one of claims 8-9.
CN202010326717.0A 2020-04-23 2020-04-23 Air conditioner upgrading method and air conditioner system Active CN111562933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010326717.0A CN111562933B (en) 2020-04-23 2020-04-23 Air conditioner upgrading method and air conditioner system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010326717.0A CN111562933B (en) 2020-04-23 2020-04-23 Air conditioner upgrading method and air conditioner system

Publications (2)

Publication Number Publication Date
CN111562933A CN111562933A (en) 2020-08-21
CN111562933B true CN111562933B (en) 2023-08-01

Family

ID=72070572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010326717.0A Active CN111562933B (en) 2020-04-23 2020-04-23 Air conditioner upgrading method and air conditioner system

Country Status (1)

Country Link
CN (1) CN111562933B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112611066A (en) * 2020-12-15 2021-04-06 青岛海尔空调电子有限公司 Parameter configuration method of multi-split air conditioner and multi-split air conditioner
CN112944566B (en) * 2021-02-24 2023-03-31 青岛海尔空调电子有限公司 Method for automatically matching operation parameters of outdoor unit with newly installed indoor unit
CN113218042A (en) * 2021-04-29 2021-08-06 Tcl空调器(中山)有限公司 Air conditioner outdoor unit parameter modification method and device, storage medium and air conditioning system
CN113138788A (en) * 2021-05-14 2021-07-20 四川虹美智能科技有限公司 Air conditioner program upgrading method and air conditioner system
CN113465132B (en) * 2021-06-25 2023-06-23 Tcl空调器(中山)有限公司 Start control method and device for air conditioner, air conditioner and storage medium
CN113551363A (en) * 2021-07-30 2021-10-26 佛山市顺德区美的电子科技有限公司 Upgrading method of main program of air conditioner external unit, operation control device and air conditioner
CN114268513B (en) * 2021-11-23 2023-10-24 青岛海尔科技有限公司 Data sharing method, device, electronic equipment, storage medium and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205807789U (en) * 2016-07-11 2016-12-14 山东朗洁空气净化科技有限公司 A kind of fresh air purifying air-conditioning
KR20180101812A (en) * 2017-03-06 2018-09-14 엘지전자 주식회사 Air conditioner and method for controlling the same
CN109669714A (en) * 2018-12-19 2019-04-23 广东美的暖通设备有限公司 Firmware upgrade method, device and computer readable storage medium
CN110525167A (en) * 2019-08-23 2019-12-03 一汽解放汽车有限公司 Commercial vehicle air-conditioner control system
CN110990040A (en) * 2019-12-02 2020-04-10 珠海格力电器股份有限公司 Software upgrading method of air conditioning system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647317B2 (en) * 2000-09-06 2003-11-11 Hitachi Ltd Air conditioner management system
US7180437B1 (en) * 2005-08-03 2007-02-20 The Boeing Company Parallel-to-serial converter
CN105354059A (en) * 2015-10-29 2016-02-24 珠海格力电器股份有限公司 Upgrading method and device for controller of air conditioning system
US10209983B2 (en) * 2017-04-19 2019-02-19 Servicenow, Inc. Distributed incremental updating of trays using a source control system
CN107273158B (en) * 2017-06-08 2021-10-26 广东美的暖通设备有限公司 Program upgrading method and device, host, slave and multi-split air conditioning system
CN110762773A (en) * 2019-10-28 2020-02-07 海信(山东)空调有限公司 Upgrading method of air conditioner and air conditioner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205807789U (en) * 2016-07-11 2016-12-14 山东朗洁空气净化科技有限公司 A kind of fresh air purifying air-conditioning
KR20180101812A (en) * 2017-03-06 2018-09-14 엘지전자 주식회사 Air conditioner and method for controlling the same
CN109669714A (en) * 2018-12-19 2019-04-23 广东美的暖通设备有限公司 Firmware upgrade method, device and computer readable storage medium
CN110525167A (en) * 2019-08-23 2019-12-03 一汽解放汽车有限公司 Commercial vehicle air-conditioner control system
CN110990040A (en) * 2019-12-02 2020-04-10 珠海格力电器股份有限公司 Software upgrading method of air conditioning system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
VRV空调系统新风设计改造应用;刘健;;陕西建筑(第07期);全文 *
浅析VRV小型中央空调系统;周立嘉;;中国新技术新产品(第08期);全文 *

Also Published As

Publication number Publication date
CN111562933A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN111562933B (en) Air conditioner upgrading method and air conditioner system
CN109117168A (en) Unmanned plane firmware update, device, unmanned plane and storage medium
CN111769962A (en) MCU firmware OTA upgrading method
CN110727454A (en) Updating method and device of intelligent equipment, electronic equipment and storage medium
US20090198770A1 (en) System and method of updating codes in controller
CN106775778B (en) Program updating identification method and system in embedded program development
CN111190629B (en) Embedded terminal upgrading software package and analysis method thereof
CN103838591A (en) Upgrading method and device of multiple single-chip microcomputers based on serial buses
CN113608772A (en) Application program upgrading method and device
CN108845823B (en) Software online upgrading method based on F2812 chip
US20240094938A1 (en) Electronic apparatus, system, and method for erasing data stored in storage device of electronic apparatus
CN112788576B (en) Equipment offline processing method and system, storage medium and electronic device
CN113590152A (en) Equipment upgrading method and system, embedded equipment, upper computer and storage medium
CN109062622A (en) One kind being based on long-range FPGA loading system and method
CN101197959B (en) Terminal control method, system and equipment
CN107515757A (en) Software program upgrading method and system and terminal
CN116155350A (en) Method and system for generating instructions of satellite in batches, storage medium and electronic equipment
CN110827532B (en) Control method, terminal and storage medium
CN114357428A (en) Unbinding method and related device of Internet of things equipment
CN107977216B (en) Method, system and device for updating component program based on instrument
CN114217831A (en) Multifunctional software upgrading method and system for embedded system
CN108932171B (en) Embedded software interaction method
CN113220345A (en) Instruction block processing method, device, equipment and storage medium
CN112181448A (en) Remote application program installation method and device and computer equipment
CN111538371A (en) Real-time clock device, working method thereof and USB (universal serial bus) equipment

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