CN111780342B - Air conditioner - Google Patents

Air conditioner Download PDF

Info

Publication number
CN111780342B
CN111780342B CN202010512083.8A CN202010512083A CN111780342B CN 111780342 B CN111780342 B CN 111780342B CN 202010512083 A CN202010512083 A CN 202010512083A CN 111780342 B CN111780342 B CN 111780342B
Authority
CN
China
Prior art keywords
air conditioner
fault
upgrading
data packet
communication module
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
CN202010512083.8A
Other languages
Chinese (zh)
Other versions
CN111780342A (en
Inventor
李洋
温燕斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Air Conditioning Co Ltd
Original Assignee
Hisense 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 Air Conditioning Co Ltd filed Critical Hisense Air Conditioning Co Ltd
Priority to CN202010512083.8A priority Critical patent/CN111780342B/en
Publication of CN111780342A publication Critical patent/CN111780342A/en
Application granted granted Critical
Publication of CN111780342B publication Critical patent/CN111780342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/49Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring ensuring correct operation, e.g. by trial operation or configuration checks
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/54Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • 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/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Biomedical Technology (AREA)
  • Health & Medical Sciences (AREA)
  • Air Conditioning Control Device (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an air conditioner, comprising: the communication module is used for communicating with a cloud server so as to acquire an upgrading data packet from the cloud server; the control section is configured to include: when an upgrading data packet sent by the communication module is received, upgrading a corresponding firmware program according to the upgrading data packet to obtain an upgraded firmware program; after the upgraded firmware program is started, respectively controlling an indoor unit and an outdoor unit of the air conditioner to perform self-detection; and when no fault of the indoor unit and the outdoor unit is detected, sending a fault-free signal to the communication module, so that when the communication module receives the fault-free signal, the firmware program is determined to be successfully upgraded. The invention discloses an air conditioner, which is used for realizing OTA upgrading by using machine self-detection and can ensure the applicability of an upgraded air conditioner version.

Description

Air conditioner
Technical Field
The invention relates to the technical field of air conditioners, in particular to an air conditioner for OTA (over the air technology) upgrading by using machine self-detection.
Background
The control structure of the traditional air conditioner is that a single chip microcomputer program is directly burnt and entered, all functions are executed according to an air conditioner control mode, and logics are all consistent, so that the purposes of conventional refrigeration and heating are achieved. Along with the improvement of living standard, people no longer satisfy the traditional refrigeration and heating function of air conditioner, have proposed higher requirement to the travelling comfort of air conditioner, if the demand to the temperature is different, environmental parameter is different between the area, and the habits and customs are different, all lead to the unable adaptation existing mode of conventional air conditioner mode, and the air conditioner development must be after basic data reports in the future, and the big data processing of high in the clouds server, calculation, and then generate this area or even this user's peculiar mode or peculiar control parameter. Currently, the following problems exist in The conventional OTA (Over The Air technology) upgrade process of The Air conditioner: firstly, the conventional OTA technology only ensures downloading and program upgrading, but cannot ensure the effectiveness of the upgraded program in the air-conditioning product when the air-conditioning product is applied; this is because the air conditioner has its own exclusive mode for different areas, however, the position information is obtained abnormally due to the error of the position information or the inaccuracy of the user position filling, and the exclusive characteristic property of the area cannot be verified by the conventional verification method, so the validity of the air conditioner upgrade cannot be guaranteed.
Disclosure of Invention
The embodiment of the invention provides an air conditioner, which aims to realize the air conditioner for OTA upgrading by using machine self-detection and can ensure the applicability of the upgraded air conditioner version.
An air conditioner provided in a first embodiment of the present invention includes:
the communication module is used for communicating with a cloud server to acquire an upgrading data packet from the cloud server;
the control section is configured to include:
when an upgrading data packet sent by the communication module is received, upgrading a corresponding firmware program according to the upgrading data packet to obtain an upgraded firmware program;
after the upgraded firmware program is started, respectively controlling an indoor unit and an outdoor unit of the air conditioner to perform self-detection;
and when no fault of the indoor unit and the outdoor unit is detected, sending a fault-free signal to the communication module, so that when the communication module receives the fault-free signal, the firmware program is determined to be successfully upgraded.
In the air conditioner provided in the first embodiment of the present invention, the indoor unit and the outdoor unit of the air conditioner are self-detected after the upgraded firmware program is started, so as to determine whether the OTA upgrade is successful, and thus the applicability of the upgraded version of the air conditioner can be ensured, thereby ensuring the reliability and stability of the operation of the air conditioner.
The air conditioner provided in the second embodiment of the present invention further includes:
the memory comprises a backup storage area and is used for storing a firmware program before upgrading;
the control section is configured to further include:
when the indoor unit or the outdoor unit is detected to be in fault, acquiring and re-burning the firmware program before upgrading from the backup storage area;
and after completing the burning of the firmware program before upgrading, starting the firmware program before upgrading.
In the air conditioner provided in the second embodiment of the present invention, the control unit processes the self-detected fault, so as to prevent the air conditioner from being upgraded to a fault machine due to a low-level error, and the air conditioner has the characteristics of error prevention and fool prevention, and ensures the normal operation of the air conditioner.
In the air conditioner provided in the third embodiment of the present invention, the control section is configured to further include:
after the upgraded firmware program is started, the indoor unit and the outdoor unit of the air conditioner are respectively controlled to perform self-detection, and the method specifically comprises the following steps:
after the upgraded firmware program is started, correspondingly revising the operation mode parameters of the air conditioner;
and respectively controlling the indoor unit and the outdoor unit to carry out self-detection according to the operation mode parameters.
In the air conditioner provided in the third embodiment of the present invention, the operation mode parameters of the air conditioner are revised and corrected according to the upgraded firmware program, so that the air conditioner is operated according to the upgraded operation mode parameters, and the upgrading efficiency can be effectively improved.
In an air conditioner provided in a fourth embodiment of the present invention, the control section is configured to further include:
acquiring a first fault zone bit generated by the indoor unit in the self-detection process and a second fault zone bit generated by the outdoor unit in the self-detection process;
judging whether the indoor unit and the outdoor unit have faults or not according to the first fault zone bit and the second fault zone bit;
when the first fault zone bit and the second fault zone bit are both zero, detecting that no fault occurs in the indoor unit and the outdoor unit;
when the first fault zone bit is not zero, detecting that the indoor unit has a fault;
and when the second fault flag is not zero, detecting that the outdoor unit has a fault.
In the air conditioner provided in the fourth embodiment of the present invention, whether the indoor unit and the outdoor unit have a fault is determined according to the first fault flag and the second fault flag during the self-detection process, so that whether the indoor unit and the outdoor unit have a fault is used as a determination condition for determining whether the OTA upgrade is successful.
In the air conditioner provided in a fifth embodiment of the present invention, the control section is configured to further include:
when the indoor unit or the outdoor unit is detected to have a fault, the corresponding fault zone bit and the equipment identifier of the air conditioner are sent to the cloud server through the communication module, so that the cloud server prohibits the air conditioner with the same type as the air conditioner corresponding to the equipment identifier from being upgraded until the upgrade data packet of the air conditioner corresponding to the equipment identifier is verified to be updated.
In the air conditioner provided in the fifth embodiment of the present invention, under the condition that a fault occurs in the indoor unit or the outdoor unit is detected, the corresponding fault flag and the device identifier of the air conditioner are sent to the cloud server, so that the cloud server prohibits upgrading of the air conditioner of the same model as the air conditioner, and optimizes the upgrade data packet for the fault flag until the limit on upgrading of the air conditioner of the model is removed after the fault flag is optimized, thereby ensuring the effectiveness of the upgraded firmware program in the air conditioner, and greatly improving the upgrade efficiency.
In an air conditioner provided in a sixth embodiment of the present invention, the control section is configured to further include:
before receiving the upgrade data packet sent by the communication module, the method further comprises the following steps:
sending the current version of the control part to the cloud server through the communication module so that the cloud server sends an upgrading request to a user terminal when detecting that a version different from the current version of the control part exists; when the cloud server receives a rejection instruction returned by the user terminal, the upgrading operation is quitted; when the cloud server receives a confirmation instruction returned by the user terminal, the download link of the upgrading data package is sent to the communication module, so that the communication module downloads the upgrading data package according to the download link of the upgrading data package; and the rejection instruction and the confirmation instruction are sent by the user terminal after responding to the upgrading request.
In the air conditioner provided in the sixth embodiment of the present invention, the cloud server determines whether to trigger the upgrade by sending the current version of the control unit to the cloud server before the upgrade, and sends a download link of the upgrade data package to the air conditioner when it is determined that the upgrade is triggered, so that the air conditioner downloads the upgrade data package.
In an air conditioner provided in a seventh embodiment of the present invention, the control section is configured to further include:
when it is detected that the indoor unit and the outdoor unit are not in fault, after a fault-free signal is sent to the communication module, the method further comprises the following steps:
and sending the current version of the control part to the cloud server through a communication module so that the cloud server detects whether a version different from the current version of the control part exists again.
In the air conditioner provided in the seventh embodiment of the present invention, the current version of the control unit is sent to the cloud server after the upgrade is successful, so that the cloud server monitors the current version of the control unit in real time to determine whether to trigger the upgrade, thereby effectively improving the upgrade efficiency.
In an air conditioner provided in an eighth embodiment of the present invention, the communication module is configured to further include:
checking the upgrading data packet;
when the upgrade data packet is successfully verified, sending the upgrade data packet to the control part;
and when the upgrading data packet is not successfully verified, downloading the upgrading data packet again until the upgrading data packet is successfully verified.
In the air conditioner provided in the eighth embodiment of the present invention, the upgrade data packet is verified, when the verification is successful, the self-detection is performed after the upgraded firmware program is started, and when the verification is unsuccessful, the upgrade data packet is downloaded again, so that the possibility of an error after the transmission of the upgrade data packet can be avoided, and the accuracy of the self-detection can be effectively improved.
In the air conditioner provided in the ninth embodiment of the present invention, the verifying the upgrade data packet specifically includes:
verifying the upgrading data packet according to a preset verification mode; wherein the check mode comprises a CRC check mode.
In the air conditioner provided in the ninth embodiment of the present invention, the upgrade data packet may be checked in a preset CRC check manner, so that the possibility of an error after transmission of the upgrade data packet may be avoided.
The air conditioner provided by the embodiment of the invention has the following beneficial effects:
in the air conditioner provided by the first embodiment of the present invention, the applicability of the upgraded version of the air conditioner can be ensured, thereby ensuring the reliability and stability of the operation of the air conditioner.
In the air conditioner provided by the second embodiment of the invention, the condition that the air conditioner is upgraded into a fault machine due to low-level errors is avoided, the air conditioner has the characteristics of error prevention and fool prevention, and the normal operation of the air conditioner is ensured.
In the air conditioner provided by the third embodiment of the present invention, the operation mode parameters of the air conditioner are revised and corrected according to the upgraded firmware program, so that the upgrading efficiency can be effectively improved.
In the air conditioner provided in the fourth to fifth embodiments of the present invention, whether the indoor unit and the outdoor unit have a fault is determined according to the fault flag, so that when the indoor unit or the outdoor unit is detected to have a fault, the upgrade data packet is updated according to the fault flag, the validity of the upgraded firmware program in the air conditioner can be ensured, and the upgrade efficiency is greatly improved.
In the air conditioner provided by the sixth to seventh embodiments of the present invention, the current version of the control unit is sent to the cloud server before the upgrade, and the current version of the control unit is sent to the cloud server after the upgrade is successful, so that the cloud server monitors the current version of the control unit in real time to determine whether to trigger the upgrade, and the upgrade efficiency can be effectively improved.
In the air conditioner provided by the eighth to ninth embodiments of the present invention, by checking the upgrade data packet, the possibility of an error after transmission of the upgrade data packet can be avoided, and thus the accuracy of self-detection can be effectively improved.
Drawings
Fig. 1 is a schematic structural view of an air conditioner according to an embodiment of the present invention;
fig. 2 is a schematic control flow diagram of a control part of an air conditioner according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an air conditioner according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating an exemplary configuration of a control unit according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating self-testing of an indoor unit and an outdoor unit according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a specific process for performing OTA upgrade on an air conditioner and a cloud server according to an embodiment of the present invention.
Wherein the reference numbers in the drawings of the specification are as follows:
1: a communication module; 2: a control unit; 3: a memory.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present application, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be construed as limiting the present application.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, the meaning of "a plurality" is two or more unless otherwise specified.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
The air conditioner performs a refrigeration cycle of the air conditioner by using a compressor, a condenser, an expansion valve, and an evaporator in the present application. The refrigeration cycle includes a series of processes involving compression, condensation, expansion, and evaporation, and supplies refrigerant to the air that has been conditioned and heat-exchanged.
The compressor compresses a refrigerant gas in a high-temperature and high-pressure state and discharges the compressed refrigerant gas. The discharged refrigerant gas flows into the condenser. The condenser condenses the compressed refrigerant into a liquid phase, and heat is released to the surrounding environment through the condensation process.
The expansion valve expands the liquid-phase refrigerant in a high-temperature and high-pressure state condensed in the condenser into a low-pressure liquid-phase refrigerant. The evaporator evaporates the refrigerant expanded in the expansion valve and returns the refrigerant gas in a low-temperature and low-pressure state to the compressor. The evaporator can achieve a cooling effect by heat-exchanging with a material to be cooled using latent heat of evaporation of a refrigerant. The air conditioner can adjust the temperature of the indoor space throughout the cycle.
The outdoor unit of the air conditioner refers to a portion of a refrigeration cycle including a compressor and an outdoor heat exchanger, the indoor unit of the air conditioner includes an indoor heat exchanger, and an expansion valve may be provided in the indoor unit or the outdoor unit.
The indoor heat exchanger and the outdoor heat exchanger serve as a condenser or an evaporator. When the indoor heat exchanger is used as a condenser, the air conditioner is used as a heater in a heating mode, and when the indoor heat exchanger is used as an evaporator, the air conditioner is used as a cooler in a cooling mode.
Fig. 1 is a schematic structural diagram of an air conditioner according to an embodiment of the present invention. The embodiment of the invention provides an air conditioner, which comprises a communication module 1 and a control part 2. The communication module 1 is used for communicating with a cloud server to obtain an upgrade data packet from the cloud server. In this embodiment, the communication module 1 may be an equipment component having functions of communication and data processing, such as a WiFi module.
In an embodiment, referring to fig. 2, a schematic control flow diagram of a control unit of an air conditioner according to an embodiment of the present invention is shown, where the control unit 2 is configured to include:
s11, when an upgrading data packet sent by the communication module is received, upgrading a corresponding firmware program according to the upgrading data packet to obtain an upgraded firmware program;
s12, after the upgraded firmware program is started, respectively controlling an indoor unit and an outdoor unit of the air conditioner to carry out self-detection;
and S13, when no fault occurs in the indoor unit and the outdoor unit, sending a fault-free signal to the communication module, so that when the communication module receives the fault-free signal, the firmware program is determined to be successfully upgraded.
In the present embodiment, after the control unit 2 obtains the upgraded firmware program, the upgraded firmware program is started, the air conditioner starts to operate, and the indoor unit and the outdoor unit of the air conditioner are self-detected. For example, the indoor unit self-test is to detect mechanisms such as an indoor heat exchanger, an indoor fan, an electric control board, and a damper of the indoor unit, and the outdoor unit self-test is to detect mechanisms such as a compressor and an outdoor fan of the outdoor unit. And when detecting that the indoor unit and the outdoor unit are not in fault, the controller sends a fault-free signal to the communication module so that the communication module judges that the OTA is successfully upgraded. At the moment, the applicability of the upgraded firmware program to the air conditioner can be ensured, the upgrading of the air conditioner is ensured to be effective, and the operation reliability and stability of the air conditioner are ensured.
Fig. 3 is a schematic structural diagram of an air conditioner according to an embodiment of the present invention. The air conditioner provided by the embodiment of the invention further comprises a memory 3, wherein the memory 3 comprises a backup storage area which is used for storing the firmware program before upgrading.
In another embodiment, referring to fig. 4, which is a schematic flow chart of a specific embodiment of a configuration of a control unit provided in an embodiment of the present invention, the control unit 2 is configured to further include:
s21, when the indoor unit or the outdoor unit is detected to be in failure, acquiring and re-burning the firmware program before upgrading from the backup storage area;
and S22, after the burning of the firmware program before upgrading is finished, starting the firmware program before upgrading.
In this embodiment, after the control unit 2 receives the upgrade data packet, the firmware program running before the upgrade is stored in the backup storage area of the memory 3. Therefore, when the control unit 2 detects a failure of the indoor unit or the outdoor unit, the firmware program before the upgrade is acquired from the backup storage area, and the firmware program before the upgrade is started to be burned, so that the air conditioner starts to operate. At this time, the control part 2 processes the self-detection fault to avoid the air conditioner from being upgraded into a fault machine due to low-level errors, so that the air conditioner has the characteristics of error prevention and fool prevention and ensures the normal operation of the air conditioner.
In some embodiments, step S12 specifically includes: after the upgraded firmware program is started, correspondingly revising the operation mode parameters of the air conditioner; and respectively controlling the indoor unit and the outdoor unit to carry out self-detection according to the operation mode parameters. In the embodiment, the operation mode parameters of the air conditioner are self-corrected according to the upgraded firmware program, so that the air conditioner is operated according to the upgraded operation mode parameters, and the upgrading efficiency can be effectively improved.
In some embodiments, referring to fig. 5, a schematic flow chart of performing self-detection on an indoor unit and an outdoor unit according to an embodiment of the present invention includes:
s121, acquiring a first fault zone bit generated by the indoor unit in the self-detection process and a second fault zone bit generated by the outdoor unit in the self-detection process;
s122, judging whether the indoor unit and the outdoor unit have faults or not according to the first fault zone bit and the second fault zone bit;
s1221, when the first fault flag bit and the second fault flag bit are both zero, detecting that no fault occurs in the indoor unit and the outdoor unit;
s1222, when the first fault flag bit is not zero, detecting that the indoor unit has a fault;
and S1223, when the second fault flag is not zero, detecting that the outdoor unit has a fault.
In this embodiment, in the self-detection process, the controller determines whether the indoor unit and the outdoor unit have a fault according to the first fault flag and the second fault flag, so that whether the indoor unit and the outdoor unit have the fault is used as a determination condition for determining whether the OTA upgrade is successful.
In a specific embodiment, the control portion is configured to further include:
when the indoor unit or the outdoor unit is detected to have a fault, the corresponding fault zone bit and the equipment identifier of the air conditioner are sent to the cloud server through the communication module, so that the cloud server prohibits the air conditioner with the same type as the air conditioner corresponding to the equipment identifier from being upgraded until the upgrade data packet of the air conditioner corresponding to the equipment identifier is verified to be updated.
It should be noted that, when the control unit detects that the indoor unit or the outdoor unit has a fault, the control unit reports a corresponding fault flag and the device identifier of the air conditioner to the cloud server through the communication module. Therefore, the cloud server does not trigger OTA upgrading for the air conditioner corresponding to the equipment identifier, and the air conditioner with the same type as the air conditioner is forbidden to be upgraded. Meanwhile, the cloud server optimizes the upgrading data packet according to the fault zone bit until the limit of upgrading the air conditioner of the machine type is removed after the fault zone bit is optimized in place. Therefore, the embodiment of the invention greatly improves the effectiveness of the upgraded firmware program in the air conditioner and greatly improves the upgrading efficiency.
In some embodiments, referring to fig. 6, a specific flowchart of the OTA upgrading of the air conditioner and the cloud server provided in the embodiment of the present invention is shown. In an embodiment of the present invention, the control section is configured to further include:
before receiving the upgrade data packet sent by the communication module, the method further comprises the following steps:
sending the current version of the control part to the cloud server through the communication module so that the cloud server sends an upgrading request to a user terminal when detecting that a version different from the current version of the control part exists; when the cloud server receives a rejection instruction returned by the user terminal, exiting the upgrading operation; when the cloud server receives a confirmation instruction returned by the user terminal, the download link of the upgrading data packet is sent to the communication module, so that the communication module downloads the upgrading data packet according to the download link of the upgrading data packet; and the rejection instruction and the confirmation instruction are sent by the user terminal after responding to the upgrading request.
Please refer to fig. 6, the air conditioner reports the current version of the control unit before upgrading, i.e. the original version in fig. 6, to the cloud server, so that the cloud server detects whether there is a version different from the current version of the control unit. Optionally, when the cloud server detects that there is a version different from the current version of the control portion, the cloud server sends an upgrade request to the user terminal (which may be specifically the APP in fig. 6), so that the user terminal pushes an upgrade selection to the user. Further, for example, in an optional embodiment, when the user selects "no, no upgrade is needed", the user terminal returns the generated rejection instruction to the cloud server, so that the cloud server exits the upgrade operation when receiving the rejection instruction, and the air conditioner continues to run the firmware program corresponding to the original version. Preferably, when the cloud server receives the rejection instruction, the upgrade is necessary unless the special condition is met, otherwise, the upgrade request is not pushed to the user terminal. In another optional embodiment, when the user selects "upgrade immediately", the user terminal returns a generated confirmation instruction to the cloud server, so that when the cloud server receives the confirmation instruction, the download link of the upgrade data package is sent to the communication module, so that the communication module downloads the upgrade data package according to the download link of the upgrade data package.
In some embodiments, the control portion is configured to further include:
when it is detected that the indoor unit and the outdoor unit are not in fault, after a fault-free signal is sent to the communication module, the method further comprises the following steps:
and sending the current version of the control part to the cloud server through a communication module so that the cloud server detects whether a version different from the current version of the control part exists again.
In this embodiment, referring to fig. 6, after the communication module transfers the upgrade data packet to the control portion, the control portion writes the corresponding firmware program according to the upgrade data packet to form the upgraded firmware program. And then, self-correcting the operation mode parameters of the air conditioner according to the upgraded firmware program, so that self-checking of the indoor unit and the outdoor unit is performed according to the corrected operation mode parameters, and whether a fault occurs is judged. When the indoor unit and the outdoor unit are detected to be out of order, the upgrading is judged to be successful, the current version of the control part of the air conditioner is the latest upgraded firmware version, and the current version of the control part is reported to the cloud server. Therefore, the cloud server detects whether the version different from the current version of the control part exists again so as to judge whether the upgrading is triggered. In this embodiment, the air conditioner reports the current version of the control part in real time, and the cloud server monitors and judges whether to trigger upgrading in real time, so that the timeliness and efficiency of upgrading can be improved.
In some embodiments, the communication module is configured to further comprise:
checking the upgrading data packet;
when the upgrade data packet is successfully verified, sending the upgrade data packet to the control part;
and when the upgrading data packet is not successfully verified, downloading the upgrading data packet again until the upgrading data packet is successfully verified.
In this embodiment, referring to fig. 6, after downloading the upgrade data package, the communication module verifies the downloaded upgrade data package. Optionally, when the upgrade data packet is successfully verified, the upgrade data packet is transferred to the control unit to obtain the upgraded firmware program. Optionally, when the upgrade data package is unsuccessful, returning to the downloading operation of the upgrade data package, and downloading the upgrade data package again according to the download link of the upgrade data package until the upgrade data package is successfully verified. Therefore, by checking the upgrade data packet, the possibility of errors after the transmission of the upgrade data packet can be avoided, and the accuracy of self-detection can be effectively improved.
In some embodiments, the verifying the upgrade data packet specifically includes: verifying the upgrading data packet according to a preset verification mode; wherein the check mode comprises a CRC check mode.
The air conditioner provided by the embodiment of the invention has the following beneficial effects:
the indoor unit and the outdoor unit of the air conditioner are automatically detected after the upgraded firmware program is started to judge whether OTA upgrade is successful or not, so that the applicability of the upgraded version of the air conditioner can be ensured, and the running reliability and stability of the air conditioner are ensured;
the control part processes the self-detection fault, thereby avoiding the upgrade of the air conditioner into a fault machine caused by low-level errors, having the characteristics of error prevention and fool prevention, and ensuring the normal operation of the air conditioner;
revising and correcting the operation mode parameters of the air conditioner according to the upgraded firmware program so as to enable the air conditioner to be operated according to the upgraded operation mode parameters, and effectively improving the upgrading efficiency;
whether the indoor unit and the outdoor unit have faults or not is judged according to the fault zone bit, so that when the indoor unit or the outdoor unit is detected to have faults, the upgrading data packet is updated according to the fault zone bit, the applicability of the upgraded firmware program in the air conditioner can be ensured, and the upgrading efficiency is greatly improved;
the current version of the control part is sent to the cloud server before the upgrade, and the current version of the control part is sent to the cloud server after the upgrade is successful, so that the cloud server monitors the current version of the control part in real time to judge whether the upgrade is triggered or not, and the timeliness and the efficiency of the upgrade can be effectively improved;
by checking the upgrade data packet, the possibility of error after the transmission of the upgrade data packet can be avoided, and the accuracy of self-detection can be effectively improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (8)

1. An air conditioner, comprising:
the communication module is used for communicating with a cloud server so as to acquire an upgrading data packet from the cloud server;
the control section is configured to include:
when an upgrading data packet sent by the communication module is received, upgrading a corresponding firmware program according to the upgrading data packet to obtain an upgraded firmware program;
after the upgraded firmware program is started, respectively controlling an indoor unit and an outdoor unit of the air conditioner to perform self-detection;
when detecting that the indoor unit and the outdoor unit have no fault, sending a fault-free signal to the communication module, so that when the communication module receives the fault-free signal, the firmware program is determined to be successfully upgraded;
when the indoor unit or the outdoor unit is detected to have a fault, the corresponding fault zone bit and the equipment identifier of the air conditioner are sent to the cloud server through the communication module, so that the cloud server prohibits the air conditioner with the same type as the air conditioner corresponding to the equipment identifier from being upgraded until the upgrade data packet of the air conditioner corresponding to the equipment identifier is verified to be updated.
2. The air conditioner according to claim 1, further comprising:
the memory comprises a backup storage area and is used for storing a firmware program before upgrading;
the control section is configured to further include:
when the indoor unit or the outdoor unit is detected to be in fault, acquiring and re-burning the firmware program before upgrading from the backup storage area;
and after the burning of the firmware program before upgrading is finished, starting the firmware program before upgrading.
3. The air conditioner according to claim 1, wherein the control section is configured to further include:
after the upgraded firmware program is started, the indoor unit and the outdoor unit of the air conditioner are respectively controlled to perform self-detection, and the method specifically comprises the following steps:
after the upgraded firmware program is started, correspondingly revising the operation mode parameters of the air conditioner;
and respectively controlling the indoor unit and the outdoor unit to carry out self-detection according to the operation mode parameters.
4. The air conditioner according to claim 3, wherein the control section is configured to further include:
acquiring a first fault zone bit generated by the indoor unit in the self-detection process and a second fault zone bit generated by the outdoor unit in the self-detection process;
judging whether the indoor unit and the outdoor unit have faults or not according to the first fault zone bit and the second fault zone bit;
when the first fault zone bit and the second fault zone bit are both zero, detecting that no fault occurs in the indoor unit and the outdoor unit;
when the first fault flag bit is not zero, detecting that the indoor unit has a fault;
and when the second fault zone bit is not zero, detecting that the outdoor unit has a fault.
5. The air conditioner according to claim 1, wherein the control section is configured to further include:
before receiving the upgrade data packet sent by the communication module, the method further comprises the following steps:
sending the current version of the control part to the cloud server through the communication module, so that the cloud server sends an upgrading request to a user terminal when detecting that a version different from the current version of the control part exists; when the cloud server receives a rejection instruction returned by the user terminal, the upgrading operation is quitted; when the cloud server receives a confirmation instruction returned by the user terminal, the download link of the upgrading data package is sent to the communication module, so that the communication module downloads the upgrading data package according to the download link of the upgrading data package; and the rejection instruction and the confirmation instruction are sent by the user terminal after responding to the upgrading request.
6. The air conditioner according to claim 5, wherein the control portion is configured to further include:
when it is detected that the indoor unit and the outdoor unit are not in fault, after a fault-free signal is sent to the communication module, the method further comprises the following steps:
and sending the current version of the control part to the cloud server through a communication module so that the cloud server detects whether a version different from the current version of the control part exists again.
7. The air conditioner according to claim 5, wherein said communication module is configured to further comprise:
verifying the upgrade data packet;
when the upgrade data packet is successfully verified, sending the upgrade data packet to the control part;
and when the upgrading data packet is not successfully verified, downloading the upgrading data packet again until the upgrading data packet is successfully verified.
8. The air conditioner according to claim 7, wherein the verifying the upgrade data package specifically comprises:
verifying the upgrading data packet according to a preset verification mode; wherein the check mode comprises a CRC check mode.
CN202010512083.8A 2020-06-08 2020-06-08 Air conditioner Active CN111780342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010512083.8A CN111780342B (en) 2020-06-08 2020-06-08 Air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010512083.8A CN111780342B (en) 2020-06-08 2020-06-08 Air conditioner

Publications (2)

Publication Number Publication Date
CN111780342A CN111780342A (en) 2020-10-16
CN111780342B true CN111780342B (en) 2022-12-20

Family

ID=72753852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010512083.8A Active CN111780342B (en) 2020-06-08 2020-06-08 Air conditioner

Country Status (1)

Country Link
CN (1) CN111780342B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114484778B (en) * 2020-10-27 2024-05-28 北京小米移动软件有限公司 Method and device for updating parameters of air conditioner outdoor unit and storage medium
CN114756257B (en) * 2020-12-28 2023-09-05 成都鼎桥通信技术有限公司 Data updating method, device, communication module and readable storage medium
CN113757950B (en) * 2021-09-14 2023-04-11 北京小米移动软件有限公司 Program upgrading method and device for air conditioner, air conditioner and storage medium
CN115111700A (en) * 2022-06-23 2022-09-27 北京小米移动软件有限公司 Air conditioner OTA (over the air technology) upgrade control method and device, readable storage medium and chip
CN115277276A (en) * 2022-06-27 2022-11-01 北京小米移动软件有限公司 Program upgrading method and device for air conditioner, air conditioning system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060042446A (en) * 2004-11-09 2006-05-15 삼성전자주식회사 Apparatus and method of upgrading program in a multi type air-conditioner
JP2007079764A (en) * 2005-09-13 2007-03-29 Daikin Ind Ltd Automatic program update system and information equipment
EP2581676A2 (en) * 2011-10-10 2013-04-17 LG Electronics Inc. Air conditioning system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018120213A1 (en) * 2016-12-30 2018-07-05 深圳配天智能技术研究院有限公司 Firmware updating method and controller
CN107092510A (en) * 2017-04-19 2017-08-25 努比亚技术有限公司 Mobile terminal and its firmware upgrade method and device
CN108021410A (en) * 2017-12-06 2018-05-11 九阳股份有限公司 A kind of firmware upgrade method and system of intelligent appliance equipment
CN110633091A (en) * 2019-08-28 2019-12-31 西安超霸电气科技有限公司 Electronic module and software wireless upgrading method thereof
CN110851156A (en) * 2019-10-24 2020-02-28 无锡小天鹅电器有限公司 Software upgrading method and device for electric appliance and electric appliance
CN110762773A (en) * 2019-10-28 2020-02-07 海信(山东)空调有限公司 Upgrading method of air conditioner and air conditioner
CN110762774B (en) * 2019-10-28 2021-12-14 海信(山东)空调有限公司 Upgrading method of air conditioner and air conditioner
CN110762775B (en) * 2019-10-28 2022-04-15 海信(山东)空调有限公司 Upgrading method of air conditioner and air conditioner

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060042446A (en) * 2004-11-09 2006-05-15 삼성전자주식회사 Apparatus and method of upgrading program in a multi type air-conditioner
JP2007079764A (en) * 2005-09-13 2007-03-29 Daikin Ind Ltd Automatic program update system and information equipment
EP2581676A2 (en) * 2011-10-10 2013-04-17 LG Electronics Inc. Air conditioning system

Also Published As

Publication number Publication date
CN111780342A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111780342B (en) Air conditioner
CN113465240B (en) Refrigerant filling method and device
US11346570B2 (en) Refrigerant leakage determination system and refrigeration cycle apparatus
KR101911264B1 (en) Air conditioner and method for controlling the same
CN111998510B (en) Air conditioner and control method thereof
CN107477775B (en) Cold draining matchmaker detection method, device, storage equipment, terminal and the air-conditioning of air-conditioning
CN111765602B (en) Air conditioner and remote upgrading method thereof
CN110469953A (en) Detection method, air conditioner and the medium of the exhaust gas temperature sensor of air conditioner
CN109883003A (en) Control method, air conditioner and the computer readable storage medium of air conditioner
US9464835B2 (en) Remote software loading for refrigerant system
CN113865024B (en) Remote upgrading system for central air conditioner
CN113203192B (en) Method for updating operation data of outdoor unit, air conditioner and computer storage medium
CN113218051A (en) Method for updating outdoor unit operation data, air conditioner and computer storage medium
CN113587485B (en) Method for acquiring installation position of temperature detection device, air conditioner and storage medium
US20220082286A1 (en) Control system for an hvac system
CN113932383A (en) Air conditioner and upgrading method
JPH11141957A (en) Air conditioner
CN113587391A (en) Multi-split system based on Bluetooth communication
CN214094738U (en) Air conditioner system
CN112254284A (en) Air conditioner and remote upgrading method thereof
CN114877495B (en) Compressor phase sequence control method and device and air conditioner
CN113932381B (en) Air conditioner and remote upgrading method thereof
CN115289626A (en) Multi-split air conditioning system
CN114576794B (en) Air conditioner and heating intelligent control method thereof
US20230236826A1 (en) Upgradable electronic device and method for upgrading electronic device

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
GR01 Patent grant
GR01 Patent grant