CN111679844A - Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner - Google Patents

Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner Download PDF

Info

Publication number
CN111679844A
CN111679844A CN202010337205.4A CN202010337205A CN111679844A CN 111679844 A CN111679844 A CN 111679844A CN 202010337205 A CN202010337205 A CN 202010337205A CN 111679844 A CN111679844 A CN 111679844A
Authority
CN
China
Prior art keywords
eeprom
air conditioner
outdoor
outdoor unit
upgrading
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.)
Pending
Application number
CN202010337205.4A
Other languages
Chinese (zh)
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 CN202010337205.4A priority Critical patent/CN111679844A/en
Publication of CN111679844A publication Critical patent/CN111679844A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/89Arrangement or mounting of control or safety devices

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses an upgrading method and device of an outdoor EEPROM of an air conditioner, a storage medium and the air conditioner, wherein when the outdoor EEPROM of the air conditioner needs to be upgraded, an upgrading mark is set to electrify an outdoor unit of the air conditioner, and an upgrading request instruction is sent to the outdoor unit; when an upgrading response instruction returned by the outdoor unit is received, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to the running state of the air conditioner, a preset first sending rule or a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction; and when the upgrading completion instruction is received, clearing the upgrading mark. By adopting the technical scheme of the invention, the outdoor EEPROM can be remotely upgraded, so that the user requirements can be quickly and efficiently met, and the user experience is improved.

Description

Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner
Technical Field
The invention relates to the technical field of air conditioner upgrading, in particular to an upgrading method and device of an outdoor EEPROM of an air conditioner, a computer readable storage medium and the air conditioner.
Background
The outdoor control panel of the air conditioner is generally provided with a data storage chip EEPROM, various parameters of the air conditioner operation, such as the highest operation frequency, the lowest operation frequency, protection parameters, motor parameters and the like of a compressor, are stored in the outdoor EEPROM, and when the parameters are not suitable for the actual operation requirement, a user can actively report the repair and related workers can perform door-to-door repair to solve the problem.
However, the air conditioner needs to be repaired on the door to solve corresponding problems after workers arrive at the site, so that the user requirements cannot be met in time, the efficiency is low, and the user experience is poor.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide an upgrading method and apparatus for an outdoor EEPROM of an air conditioner, a computer-readable storage medium, and an air conditioner, which can remotely upgrade the outdoor EEPROM, thereby quickly and efficiently satisfying user demands and improving user experience.
In order to solve the above technical problem, an embodiment of the present invention provides an upgrading method for an outdoor EEPROM of an air conditioner, including:
judging whether the outdoor EEPROM of the air conditioner needs to be upgraded or not;
when the outdoor EEPROM is judged to be needed to be upgraded, an upgrading mark is set, an outdoor unit of an air conditioner is electrified, and an upgrading request instruction is sent to the outdoor unit;
when an upgrade response instruction returned by the outdoor unit is received, judging the running state of the air conditioner;
if the running state of the air conditioner is in a standby state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset first sending rule; if the running state of the air conditioner is the starting state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction;
and when the upgrading completion instruction is received, clearing the upgrading mark.
Further, the determining whether the outdoor EEPROM of the air conditioner needs to be upgraded specifically includes:
judging whether the outdoor EEPROM needs to be upgraded or not according to the received repair content of the user; or the like, or, alternatively,
analyzing big data of the air conditioner according to a preset time period;
and judging whether the outdoor EEPROM needs to be upgraded or not according to the analysis result.
Further, the EEPROM data packet is pre-stored in an indoor MCU of the air conditioner; the upgrading mark is arranged in an indoor EEPROM of the air conditioner.
Further, the communication data packet comprises a control instruction of the air conditioner; if the operation state of the air conditioner is the standby state, sending at least one EEPROM packet or/and at least one communication packet to the outdoor unit according to a preset first sending rule, specifically including:
if the running state of the air conditioner is the standby state, at least one EEPROM data packet is sent to the outdoor unit according to a preset communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns a corresponding second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
Further, the communication data packet comprises a control instruction of the air conditioner; if the operation state of the air conditioner is the on state, sending at least one EEPROM packet or/and at least one communication packet to the outdoor unit according to a preset second sending rule, specifically including:
if the running state of the air conditioner is the starting state, the communication data packet is sent to the outdoor unit according to a preset communication rate; after receiving the communication data packet, the outdoor unit returns a corresponding second response instruction;
when the second response instruction is received, at least one EEPROM data packet is sent to the outdoor unit according to the communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns the second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
Further, after clearing the upgrade flag when the upgrade complete instruction is received, the method further includes:
judging whether the outdoor EEPROM needs to be upgraded or not;
and if the outdoor EEPROM needs to be upgraded, judging that the upgrading treatment of the outdoor EEPROM fails, resetting the upgrading mark, electrifying the outdoor unit, and sending the upgrading request instruction to the outdoor unit so as to perform corresponding upgrading treatment on the outdoor EEPROM.
Further, the method further comprises:
when the upgrading treatment on the outdoor EEPROM is judged to be failed for N times continuously, the upgrading treatment on the outdoor EEPROM is stopped; wherein N > 2.
In order to solve the above technical problem, an embodiment of the present invention further provides an apparatus for upgrading an outdoor EEPROM of an air conditioner, including:
the upgrading judgment module is used for judging whether the outdoor EEPROM of the air conditioner needs to be upgraded or not;
the upgrading request sending module is used for setting an upgrading mark when the outdoor EEPROM is judged to be required to be upgraded, electrifying an outdoor unit of the air conditioner and sending an upgrading request instruction to the outdoor unit;
the running state judging module is used for judging the running state of the air conditioner when receiving an upgrading response instruction returned by the outdoor unit;
the upgrading data sending module is used for sending at least one EEPROM data packet or/and at least one communication data packet to the outdoor unit according to a preset first sending rule if the running state of the air conditioner is a standby state; if the running state of the air conditioner is the starting state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction;
and the upgrading mark clearing module is used for clearing the upgrading mark when the upgrading completion instruction is received.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; when the computer program runs, the computer program controls the equipment where the computer readable storage medium is located to execute any one of the above-mentioned methods for upgrading the outdoor EEPROM of the air conditioner.
An embodiment of the present invention further provides an air conditioner, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method for upgrading the outdoor EEPROM of the air conditioner when executing the computer program.
Compared with the prior art, the embodiment of the invention provides an air conditioner outdoor EEPROM upgrading method, device, computer readable storage medium and air conditioner, which judges whether the outdoor EEPROM of the air conditioner needs to be upgraded; when the outdoor EEPROM is judged to be needed to be upgraded, an upgrading mark is set, an outdoor unit of an air conditioner is electrified, and an upgrading request instruction is sent to the outdoor unit; when an upgrade response instruction returned by the outdoor unit is received, judging the running state of the air conditioner; if the running state of the air conditioner is in a standby state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset first sending rule; if the running state of the air conditioner is the starting state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction; when the upgrade completion instruction is received, the upgrade flag is cleared, the outdoor EEPROM can be upgraded remotely without the need of workers to solve the problems on site, so that the user requirements can be met quickly and efficiently, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating an upgrading method of an outdoor EEPROM of an air conditioner according to a preferred embodiment of the present invention;
fig. 2 is a block diagram of an embodiment of an apparatus for updating an outdoor EEPROM of an air conditioner according to the present invention;
fig. 3 is a block diagram of an air conditioner according to a preferred 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 any inventive step, are within the scope of the present invention.
It should be noted that the air conditioner generally comprises an indoor MCU, an indoor EEPROM, an outdoor MCU and an outdoor EEPROM, and the embodiment of the invention can be controlled and executed by the indoor MCU and executed on the premise that the indoor MCU can be normally upgraded; wherein, a long-range upgrading flow of indoor MCU specifically includes: the method comprises the steps of firstly uploading a new indoor software version to a cloud server, then issuing an indoor MCU program upgrading instruction through a mobile phone APP, after receiving the instruction, the cloud server sends related codes to a WiFi module in the air conditioner, and the codes are transmitted to an indoor MCU chip through the WiFi module to be upgraded.
An embodiment of the present invention provides an upgrading method for an outdoor EEPROM of an air conditioner, which is a flowchart of a preferred embodiment of the upgrading method for the outdoor EEPROM of the air conditioner, as shown in fig. 1, and the method includes steps S11 to S15:
step S11, judging whether the outdoor EEPROM of the air conditioner needs to be upgraded;
step S12, when the outdoor EEPROM is judged to need to be upgraded, an upgrade flag is set, an outdoor unit of the air conditioner is electrified, and an upgrade request instruction is sent to the outdoor unit;
step S13, when receiving an upgrade response instruction returned by the outdoor unit, judging the running state of the air conditioner;
step S14, if the running state of the air conditioner is the standby state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset first sending rule; if the running state of the air conditioner is the starting state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction;
and step S15, when the upgrade completion instruction is received, clearing the upgrade flag.
Specifically, the indoor MCU judges whether the outdoor EEPROM of the air conditioner needs to be upgraded, and when it is judged that the outdoor EEPROM needs to be upgraded, the indoor MCU sets an upgrade flag corresponding to the upgraded outdoor EEPROM (for example, the value of the upgrade flag is set to 1), controls the outdoor unit of the air conditioner to be powered on, and sends a corresponding outdoor EEPROM upgrade request instruction to the outdoor unit (for example, to the outdoor MCU of the outdoor unit); after receiving the upgrading request instruction, the outdoor unit responds to the upgrading request instruction and returns a corresponding upgrading response instruction to the indoor MCU; when the indoor MCU receives an upgrade response instruction returned by the outdoor unit, the current running state of the air conditioner is further judged, so that a packet sending rule of an EEPROM (electrically erasable programmable read-only memory) data packet and a communication data packet is determined according to the running state of the air conditioner, if the running state of the air conditioner is in a standby state, at least one EEPROM data packet or/and at least one communication data packet (the communication data packet at least comprises related control instructions of the air conditioner, such as an on-off control instruction, a temperature regulation control instruction, an air door regulation control instruction, an air speed regulation control instruction and the like) is sent to the outdoor unit according to a preset first sending rule; if the running state of the air conditioner is a starting state, at least one EEPROM data packet or/and at least one communication data packet is/are sent to the outdoor unit according to a preset second sending rule until all the EEPROM data packets are sent, after all the EEPROM data packets sent by the indoor MCU are received by the outdoor unit, the data stored in the outdoor EEPROM are updated according to all the received EEPROM data packets, and meanwhile, the outdoor unit returns a corresponding updating completion instruction to the indoor MCU; and when the indoor MCU receives an upgrade completion instruction returned by the outdoor unit, clearing the upgrade flag (for example, clearing the value of the upgrade flag to 0).
It should be noted that the EEPROM data packets sent by the indoor MCU to the outdoor unit include new outdoor EEPROM data required for upgrading, after the outdoor unit receives all the EEPROM data packets sent by the indoor MCU, the outdoor unit updates and replaces the data stored in the outdoor EEPROM with the data included in all the received EEPROM data packets, and if all the data is replaced, it indicates that the upgrading process of the outdoor EEPROM is completed.
According to the method for upgrading the outdoor EEPROM of the air conditioner, when the outdoor EEPROM is judged to be needed to be upgraded, an upgrading mark is set, an outdoor unit of the air conditioner is electrified, and an upgrading request instruction is sent to the outdoor unit; when an upgrading response instruction returned by the outdoor unit is received, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to the running state of the air conditioner and a preset first sending rule or a preset second sending rule, so that the outdoor unit can upgrade and update data in the outdoor EEPROM according to all the EEPROM data packets after receiving all the EEPROM data packets, the outdoor EEPROM can be upgraded remotely, workers do not need to arrive at a field to solve problems, user requirements can be met rapidly and efficiently, user experience is improved, meanwhile, the communication data packets can be sent to the outdoor unit timely while the outdoor EEPROM is upgraded, and the control requirements of the user on the air conditioner can be responded.
In another preferred embodiment, the determining whether the outdoor EEPROM of the air conditioner needs to be upgraded specifically includes:
judging whether the outdoor EEPROM needs to be upgraded or not according to the received repair content of the user; or the like, or, alternatively,
analyzing big data of the air conditioner according to a preset time period;
and judging whether the outdoor EEPROM needs to be upgraded or not according to the analysis result.
Specifically, with the above embodiment, the indoor MCU may determine whether to upgrade the outdoor EEPROM of the air conditioner according to the received user repair content (for example, the user finds that the air conditioner is poor in effect and actively reports related content for repair); or cloud big data analysis may be performed on the air conditioner according to a preset time period, so as to determine whether the outdoor EEPROM of the air conditioner needs to be upgraded according to an analysis result.
As an improvement of the scheme, the EEPROM data packet is stored in an indoor MCU of the air conditioner in advance; the upgrading mark is arranged in an indoor EEPROM of the air conditioner.
Specifically, with the combination of the above embodiments, when the indoor MCU determines that the outdoor EEPROM needs to be upgraded, all EEPROM data packets required for the upgrade can be pre-stored in the FLASH of the indoor MCU for subsequent upgrade; and the indoor MCU can set an upgrade flag corresponding to the outdoor EEPROM for upgrading in the indoor EEPROM, and the indoor MCU can judge whether the upgrade process is finished or not by reading the upgrade flag value in the indoor EEPROM.
It should be noted that, an area may be separately defined in advance in the FLASH area of the indoor MCU for storing the outdoor EEPROM data, for example, the storage space of the outdoor EEPROM is 8k Bytes, and an area with a size of at least 8k Bytes may be separately defined in the FLASH area of the indoor MCU for storing the outdoor EEPROM data.
In another preferred embodiment, the communication data packet contains a control instruction of the air conditioner; if the operation state of the air conditioner is the standby state, sending at least one EEPROM packet or/and at least one communication packet to the outdoor unit according to a preset first sending rule, specifically including:
if the running state of the air conditioner is the standby state, at least one EEPROM data packet is sent to the outdoor unit according to a preset communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns a corresponding second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
Specifically, in combination with the above embodiment, the communication data packet at least includes related control instructions of the air conditioner, such as a power on/off control instruction, a temperature regulation control instruction, an air door regulation control instruction, an air speed regulation control instruction, and the like; when the indoor MCU judges that the current operation state of the air conditioner is a standby state, at least one EEPROM data packet is sent to the outdoor unit according to a preset communication rate, and the outdoor unit returns a corresponding first response instruction to the indoor MCU after receiving each EEPROM data packet; in the process that the indoor MCU sends the EEPROM data packet to the outdoor unit, if a control instruction change request is received, the communication data packet is updated according to the changed control instruction, the updated communication data packet is sent to the outdoor unit according to the preset communication rate so as to send the latest control instruction to the outdoor unit, and the outdoor unit returns a corresponding second response instruction to the indoor MCU after receiving the updated communication data packet; when the indoor MCU receives a second response instruction returned by the outdoor unit, the outdoor unit continues to send EEPROM data packets to the outdoor unit according to the preset communication rate, and the like until all the EEPROM data packets are sent, correspondingly, after the outdoor unit receives all the EEPROM data packets sent by the indoor MCU, the outdoor unit updates and updates the data stored in the outdoor EEPROM according to all the received EEPROM data packets, and simultaneously, the outdoor unit returns a corresponding update completion instruction to the indoor MCU; and when the indoor MCU receives an upgrade completion instruction returned by the outdoor unit, the upgrade flag is cleared.
For example, assuming that the number of the EEPROM packets is 5, when the air conditioner is in a standby state, the indoor MCU first transmits the EEPROM packets to the outdoor unit according to the preset communication rate, if a control instruction change request is received after transmitting 2 EEPROM packets, the communication packets are updated according to the changed control instruction, and the updated communication packets (the number is one) are transmitted to the outdoor unit according to the preset communication rate, so as to transmit the latest control instruction to the outdoor unit, and after transmitting 1 updated communication packet, the EEPROM packets are continuously transmitted to the outdoor unit according to the preset communication rate, and so on until 5 EEPROM packets are transmitted.
It can be understood that if the control instruction change request is not received, the EEPROM data packets are sent to the outdoor unit until 5 EEPROM data packets are sent; and if the indoor MCU sends an EEPROM data packet to the outdoor unit when receiving the control instruction change request, sending an updated communication data packet to the outdoor unit after the current EEPROM data packet is sent.
It should be noted that, when the indoor MCU sends an EEPROM packet and a communication packet to the outdoor unit, since the data size is large, bytes for each transmission can be defined according to actual needs, that is, an appropriate communication rate is set for data transmission.
According to the method for upgrading the outdoor EEPROM of the air conditioner, the EEPROM data packets or/and the communication data packets are alternately sent to the outdoor unit according to the preset first sending rule and the preset communication speed, the outdoor EEPROM can be remotely upgraded and simultaneously the communication data packets can be sent to the outdoor unit in time, the outdoor EEPROM can be upgraded and updated in the shortest time possible, the control requirement of a user on the air conditioner can be responded in time, and the use of the user is not influenced.
In another preferred embodiment, the communication data packet contains a control instruction of the air conditioner; if the operation state of the air conditioner is the on state, sending at least one EEPROM packet or/and at least one communication packet to the outdoor unit according to a preset second sending rule, specifically including:
if the running state of the air conditioner is the starting state, the communication data packet is sent to the outdoor unit according to a preset communication rate; after receiving the communication data packet, the outdoor unit returns a corresponding second response instruction;
when the second response instruction is received, at least one EEPROM data packet is sent to the outdoor unit according to the communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns the second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
Specifically, with reference to the above embodiment, when the indoor MCU determines that the current operation state of the air conditioner is the on state, a communication data packet is sent to the outdoor unit according to a preset communication rate, and after receiving the communication data packet, the outdoor unit returns a corresponding second response instruction to the indoor MCU; when the indoor MCU receives a second response instruction returned by the outdoor unit, at least one EEPROM data packet is sent to the outdoor unit according to the preset communication rate, and the outdoor unit returns a corresponding first response instruction to the indoor MCU after receiving each EEPROM data packet; in the process that the indoor MCU sends the EEPROM data packet to the outdoor unit, if a control instruction change request is received, the communication data packet is updated according to the changed control instruction, the updated communication data packet is sent to the outdoor unit according to the preset communication rate so as to send the latest control instruction to the outdoor unit, and the outdoor unit returns a corresponding second response instruction to the indoor MCU after receiving the updated communication data packet; when the indoor MCU receives a second response instruction returned by the outdoor unit, the outdoor unit continues to send EEPROM data packets to the outdoor unit according to the preset communication rate, and the like until all the EEPROM data packets are sent, correspondingly, after the outdoor unit receives all the EEPROM data packets sent by the indoor MCU, the outdoor unit updates and updates the data stored in the outdoor EEPROM according to all the received EEPROM data packets, and simultaneously, the outdoor unit returns a corresponding update completion instruction to the indoor MCU; and when the indoor MCU receives an upgrade completion instruction returned by the outdoor unit, the upgrade flag is cleared.
For example, assuming that the number of the EEPROM packets is 5, when the air conditioner is in an on state, the indoor MCU first sends a communication packet to the outdoor unit according to a preset communication rate, and then sends the EEPROM packet to the outdoor unit according to the preset communication rate, if a control instruction change request is received after 2 EEPROM packets are sent, the communication packet is updated according to the changed control instruction, and sends the updated communication packet (the number is one) to the outdoor unit according to the preset communication rate, so as to send the latest control instruction to the outdoor unit, and after 1 updated communication packet is sent, the EEPROM packet continues to be sent to the outdoor unit according to the preset communication rate, and so on until 5 EEPROM packets are sent.
It can be understood that if the control command change request is not received, the EEPROM packet is always sent to the outdoor unit after one communication packet is sent to the outdoor unit; if the indoor MCU sends an EEPROM data packet to the outdoor unit when receiving a control instruction change request, then sending an updated communication data packet to the outdoor unit after the current data packet is sent; if the control instruction change request is received again in the process of sending the EEPROM data packet to the outdoor unit, the communication data packet which is updated again is sent first, and then the EEPROM data packet is sent again until 5 EEPROM data packets are sent.
In a further preferred embodiment, after said clearing said upgrade flag when said upgrade complete instruction is received, said method further comprises:
judging whether the outdoor EEPROM needs to be upgraded or not;
and if the outdoor EEPROM needs to be upgraded, judging that the upgrading treatment of the outdoor EEPROM fails, resetting the upgrading mark, electrifying the outdoor unit, and sending the upgrading request instruction to the outdoor unit so as to perform corresponding upgrading treatment on the outdoor EEPROM.
Specifically, with the above embodiment, after the data in the outdoor EEPROM is updated and updated, if the compressor is powered on again after being shut down, the operation is performed according to the updated data, which indicates that the outdoor EEPROM is successfully updated, the outdoor unit returns a corresponding update completion instruction to the indoor MCU, and if the compressor is not powered on again after being shut down, the update of the outdoor EEPROM fails, and the update process needs to be performed again, therefore, after the indoor MCU receives the update completion instruction returned by the outdoor unit and clears the update flag, the indoor MCU can determine again whether the outdoor EEPROM of the air conditioner needs to be updated, and when it is determined that the outdoor EEPROM needs to be updated, the previous update process on the outdoor EEPROM fails, the indoor MCU sets the update flag corresponding to the updated outdoor EEPROM again, controls the outdoor unit of the air conditioner to be powered on, and sends a corresponding outdoor EEPROM request instruction to the outdoor unit to perform a corresponding update process on the outdoor EEPROM, the subsequent upgrade processing procedure is the same as the above embodiment, and is not described herein again.
In yet another preferred embodiment, the method further comprises:
when the upgrading treatment on the outdoor EEPROM is judged to be failed for N times continuously, the upgrading treatment on the outdoor EEPROM is stopped; wherein N > 2.
Specifically, with reference to the foregoing embodiment, when the indoor MCU determines that the upgrade process on the outdoor EEPROM fails for N consecutive times (N >2, for example, N ═ 3), the indoor MCU does not perform the upgrade process on the outdoor EEPROM any more, and it can be understood that the air conditioner continues to operate according to the relevant data parameters before the upgrade.
The embodiment of the invention also provides an upgrading device of the outdoor EEPROM of the air conditioner, which can realize all the processes of the upgrading method of the outdoor EEPROM of the air conditioner described in any embodiment, and the functions and the realized technical effects of each module and unit in the device are respectively the same as the functions and the realized technical effects of the upgrading method of the outdoor EEPROM of the air conditioner described in the embodiment, and are not repeated herein.
Referring to fig. 2, it is a block diagram of an upgrade apparatus of an outdoor EEPROM of an air conditioner according to a preferred embodiment of the present invention, where the apparatus is disposed in an indoor MCU of the air conditioner; the device comprises:
the upgrading judgment module 11 is used for judging whether the outdoor EEPROM of the air conditioner needs to be upgraded or not;
an upgrade request sending module 12, configured to set an upgrade flag when it is determined that the outdoor EEPROM needs to be upgraded, power up an outdoor unit of an air conditioner, and send an upgrade request instruction to the outdoor unit;
an operation state judgment module 13, configured to judge an operation state of the air conditioner when an upgrade response instruction returned by the outdoor unit is received;
the upgrade data sending module 14 is configured to send at least one EEPROM data packet or/and at least one communication data packet to the outdoor unit according to a preset first sending rule if the operating state of the air conditioner is the standby state; if the running state of the air conditioner is the starting state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction;
and the upgrade flag clearing module 15 is configured to clear the upgrade flag when the upgrade completion instruction is received.
Preferably, the upgrade determining module 11 specifically includes:
the first upgrading judgment unit is used for judging whether the outdoor EEPROM needs to be upgraded according to the received repair content of the user; or the like, or, alternatively,
the data analysis unit is used for carrying out big data analysis on the air conditioner according to a preset time period;
and the second upgrading judgment unit is used for judging whether the outdoor EEPROM needs to be upgraded or not according to the analysis result.
Preferably, the EEPROM data packet is pre-stored in an indoor MCU of the air conditioner; the upgrading mark is arranged in an indoor EEPROM of the air conditioner.
Preferably, the communication data packet includes a control instruction of the air conditioner; then, the upgrade data sending module 14 is specifically configured to:
if the running state of the air conditioner is the standby state, at least one EEPROM data packet is sent to the outdoor unit according to a preset communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns a corresponding second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
Preferably, the communication data packet includes a control instruction of the air conditioner; then, the upgrade data sending module 14 is specifically configured to:
if the running state of the air conditioner is the starting state, the communication data packet is sent to the outdoor unit according to a preset communication rate; after receiving the communication data packet, the outdoor unit returns a corresponding second response instruction;
when the second response instruction is received, at least one EEPROM data packet is sent to the outdoor unit according to the communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns the second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
Preferably, the apparatus further comprises:
the first upgrading judgment module is used for judging whether the outdoor EEPROM needs to be upgraded or not;
and the first exception handling module is used for resetting the upgrading mark, electrifying the outdoor unit and sending the upgrading request instruction to the outdoor unit to correspondingly upgrade the outdoor EEPROM if the outdoor EEPROM needs to be upgraded and the upgrading processing on the outdoor EEPROM is judged to fail.
Preferably, the apparatus further comprises:
the second exception handling module is used for stopping upgrading the outdoor EEPROM when judging that the upgrading treatment of the outdoor EEPROM fails for N times; wherein N > 2.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; when the computer program runs, the computer program controls the device where the computer readable storage medium is located to execute the method for upgrading the outdoor EEPROM of the air conditioner according to any one of the embodiments.
An embodiment of the present invention further provides an air conditioner, which is shown in fig. 3 and is a block diagram of a preferred embodiment of the air conditioner provided by the present invention, the air conditioner includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and the processor 10 implements the method for upgrading the air conditioner external EEPROM according to any of the embodiments when executing the computer program.
Preferably, the computer program can be divided into one or more modules/units (e.g. computer program 1, computer program 2,) which are stored in the memory 20 and executed by the processor 10 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the air conditioner.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor 10 may be any conventional Processor, the Processor 10 is a control center of the air conditioner, and various interfaces and lines are used to connect various parts of the air conditioner.
The memory 20 mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory 20 may be a high speed random access memory, may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may also be other volatile solid state memory devices.
It should be noted that the air conditioner may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram of fig. 3 is only an example of the air conditioner, and does not constitute a limitation of the air conditioner, and may include more or less components than those shown, or combine some components, or different components.
To sum up, the method and the device for upgrading the outdoor EEPROM of the air conditioner, the computer-readable storage medium and the air conditioner provided by the embodiments of the present invention set an upgrade flag when it is determined that the outdoor EEPROM needs to be upgraded, power up the outdoor unit of the air conditioner, and send an upgrade request instruction to the outdoor unit; when an upgrading response instruction returned by the outdoor unit is received, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to the running state of the air conditioner and a preset first sending rule or a preset second sending rule, so that the outdoor unit can upgrade and update data in the outdoor EEPROM according to all the EEPROM data packets after receiving all the EEPROM data packets, the outdoor EEPROM can be upgraded remotely, workers do not need to arrive at a field to solve problems, user requirements can be met rapidly and efficiently, user experience is improved, meanwhile, the communication data packets can be sent to the outdoor unit timely while the outdoor EEPROM is upgraded, and the control requirements of the user on the air conditioner can be responded.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An upgrading method of outdoor EEPROM of air conditioner is characterized in that the method comprises the following steps:
judging whether the outdoor EEPROM of the air conditioner needs to be upgraded or not;
when the outdoor EEPROM is judged to be needed to be upgraded, an upgrading mark is set, an outdoor unit of an air conditioner is electrified, and an upgrading request instruction is sent to the outdoor unit;
when an upgrade response instruction returned by the outdoor unit is received, judging the running state of the air conditioner;
if the running state of the air conditioner is in a standby state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset first sending rule; if the running state of the air conditioner is the starting state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction;
and when the upgrading completion instruction is received, clearing the upgrading mark.
2. The method for upgrading an outdoor EEPROM of an air conditioner as claimed in claim 1, wherein the determining whether the outdoor EEPROM of the air conditioner needs to be upgraded includes:
judging whether the outdoor EEPROM needs to be upgraded or not according to the received repair content of the user; or the like, or, alternatively,
analyzing big data of the air conditioner according to a preset time period;
and judging whether the outdoor EEPROM needs to be upgraded or not according to the analysis result.
3. The method for upgrading an outdoor EEPROM of an air conditioner as claimed in claim 1, wherein the EEPROM packet is pre-stored in an indoor MCU of the air conditioner; the upgrading mark is arranged in an indoor EEPROM of the air conditioner.
4. The method for upgrading an outdoor EEPROM of an air conditioner as claimed in claim 1, wherein the communication data packet includes a control command of the air conditioner; if the operation state of the air conditioner is the standby state, sending at least one EEPROM packet or/and at least one communication packet to the outdoor unit according to a preset first sending rule, specifically including:
if the running state of the air conditioner is the standby state, at least one EEPROM data packet is sent to the outdoor unit according to a preset communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns a corresponding second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
5. The method for upgrading an outdoor EEPROM of an air conditioner as claimed in claim 1, wherein the communication data packet includes a control command of the air conditioner; if the operation state of the air conditioner is the on state, sending at least one EEPROM packet or/and at least one communication packet to the outdoor unit according to a preset second sending rule, specifically including:
if the running state of the air conditioner is the starting state, the communication data packet is sent to the outdoor unit according to a preset communication rate; after receiving the communication data packet, the outdoor unit returns a corresponding second response instruction;
when the second response instruction is received, at least one EEPROM data packet is sent to the outdoor unit according to the communication rate; after receiving each EEPROM data packet, the outdoor unit returns a corresponding first response instruction;
when a control instruction change request is received, updating the communication data packet according to the changed control instruction, and sending the updated communication data packet to the outdoor unit according to the communication rate; after receiving the updated communication data packet, the outdoor unit returns the second response instruction;
and when the second response instruction is received, continuously sending the EEPROM data packets to the outdoor unit according to a preset communication rate until all the EEPROM data packets are sent.
6. The method for upgrading an outdoor EEPROM of an air conditioner as claimed in any one of claims 1 to 5, wherein after the upgrading flag is cleared when the upgrading completion instruction is received, the method further comprises:
judging whether the outdoor EEPROM needs to be upgraded or not;
and if the outdoor EEPROM needs to be upgraded, judging that the upgrading treatment of the outdoor EEPROM fails, resetting the upgrading mark, electrifying the outdoor unit, and sending the upgrading request instruction to the outdoor unit so as to perform corresponding upgrading treatment on the outdoor EEPROM.
7. The method for upgrading an outdoor EEPROM of an air conditioner as claimed in claim 6, wherein the method further comprises:
when the upgrading treatment on the outdoor EEPROM is judged to be failed for N times continuously, the upgrading treatment on the outdoor EEPROM is stopped; wherein N > 2.
8. An upgrade device of outdoor EEPROM of air conditioner is characterized in that it includes:
the upgrading judgment module is used for judging whether the outdoor EEPROM of the air conditioner needs to be upgraded or not;
the upgrading request sending module is used for setting an upgrading mark when the outdoor EEPROM is judged to be required to be upgraded, electrifying an outdoor unit of the air conditioner and sending an upgrading request instruction to the outdoor unit;
the running state judging module is used for judging the running state of the air conditioner when receiving an upgrading response instruction returned by the outdoor unit;
the upgrading data sending module is used for sending at least one EEPROM data packet or/and at least one communication data packet to the outdoor unit according to a preset first sending rule if the running state of the air conditioner is a standby state; if the running state of the air conditioner is the starting state, at least one EEPROM data packet or/and at least one communication data packet is sent to the outdoor unit according to a preset second sending rule; after receiving all the EEPROM data packets, the outdoor unit updates the data in the outdoor EEPROM according to all the EEPROM data packets and returns an update completion instruction;
and the upgrading mark clearing module is used for clearing the upgrading mark when the upgrading completion instruction is received.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program controls the device where the computer readable storage medium is located to execute the method for upgrading the outdoor EEPROM of the air conditioner as claimed in any one of claims 1 to 7 when running.
10. An air conditioner, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method for upgrading the outdoor EEPROM of the air conditioner as claimed in any one of claims 1 to 7 when executing the computer program.
CN202010337205.4A 2020-04-27 2020-04-27 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner Pending CN111679844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010337205.4A CN111679844A (en) 2020-04-27 2020-04-27 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010337205.4A CN111679844A (en) 2020-04-27 2020-04-27 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner

Publications (1)

Publication Number Publication Date
CN111679844A true CN111679844A (en) 2020-09-18

Family

ID=72452217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010337205.4A Pending CN111679844A (en) 2020-04-27 2020-04-27 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner

Country Status (1)

Country Link
CN (1) CN111679844A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060119297A (en) * 2005-05-19 2006-11-24 엘지전자 주식회사 Air-conditioner system enable to upgrade by internet and its operating method
CN105465913A (en) * 2016-01-18 2016-04-06 美的集团武汉制冷设备有限公司 Air conditioning system and parameter updating method thereof
CN106500239A (en) * 2016-09-22 2017-03-15 深圳麦格米特电气股份有限公司 A kind of method that convertible frequency air-conditioner updates EEPROM data
CN109084428A (en) * 2018-08-16 2018-12-25 广东美的制冷设备有限公司 Air conditioner operating parameter update method, device and readable storage medium storing program for executing
CN110262822A (en) * 2019-06-17 2019-09-20 珠海格力电器股份有限公司 Multi-line system and its upgrade method and device
CN110837389A (en) * 2019-11-01 2020-02-25 北京云迹科技有限公司 Equipment upgrading method and device, Internet of things equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060119297A (en) * 2005-05-19 2006-11-24 엘지전자 주식회사 Air-conditioner system enable to upgrade by internet and its operating method
CN105465913A (en) * 2016-01-18 2016-04-06 美的集团武汉制冷设备有限公司 Air conditioning system and parameter updating method thereof
CN106500239A (en) * 2016-09-22 2017-03-15 深圳麦格米特电气股份有限公司 A kind of method that convertible frequency air-conditioner updates EEPROM data
CN109084428A (en) * 2018-08-16 2018-12-25 广东美的制冷设备有限公司 Air conditioner operating parameter update method, device and readable storage medium storing program for executing
CN110262822A (en) * 2019-06-17 2019-09-20 珠海格力电器股份有限公司 Multi-line system and its upgrade method and device
CN110837389A (en) * 2019-11-01 2020-02-25 北京云迹科技有限公司 Equipment upgrading method and device, Internet of things equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111623475A (en) Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner
CN111623476B (en) Data updating method and device in outdoor EEPROM of air conditioner and storage medium
CN105318497A (en) Upgrading method and device for air conditioning unit operation parameters
CN110262822B (en) Multi-split system and upgrading method and device thereof
CN103438551B (en) Central air conditioning system and control software design upgrade method thereof
US9870222B2 (en) Air-conditioning system
CN111562933A (en) Air conditioner upgrading method and air conditioner system
CN103970553A (en) Control method for function upgrading of household appliance product
CN105259806A (en) Controller upgrade method and system, main controller and slave controller
US10222082B2 (en) Air conditioner, air conditioner system, and rewrite control program with rewrite control for control data
CN104132424A (en) Method for controlling air conditioner and remote control unit
CN105135599A (en) Air conditioner firmware upgrading device and method
CN105094914A (en) Remote online programming method, device and system
CN104331330A (en) Resource pool generation method and device
CN105792025A (en) Device information obtaining method and terminal
CN111679844A (en) Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner
US20220307717A1 (en) Installation position confirmation support system, server, program, and method
CN106648726A (en) Software online upgrading method for variable-air-volume air conditioning terminal devices
CN111679845A (en) Data updating method and device in outdoor EEPROM of air conditioner and storage medium
CN111666084A (en) Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner
CN109297150A (en) Air conditioning control method, device, system, air-conditioning, terminal and readable storage medium storing program for executing
CN106331183A (en) Implementation method of internet of things, controller of internet of things and system of internet of things
CN111679843B (en) Data updating method and device in outdoor EEPROM of air conditioner and storage medium
KR101290727B1 (en) Apparatus to update S/W of system air conditioner and method thereof
CN115208932B (en) Air conditioner control method, internet of things platform, electronic equipment, chip 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
CB02 Change of applicant information

Address after: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Applicant after: Hisense Air Conditioning Co.,Ltd.

Address before: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Applicant before: HISENSE (SHANDONG) AIR-CONDITIONING Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20200918