CN113865043B - Program upgrading method and device for air conditioner, air conditioner and storage medium - Google Patents

Program upgrading method and device for air conditioner, air conditioner and storage medium Download PDF

Info

Publication number
CN113865043B
CN113865043B CN202111076753.7A CN202111076753A CN113865043B CN 113865043 B CN113865043 B CN 113865043B CN 202111076753 A CN202111076753 A CN 202111076753A CN 113865043 B CN113865043 B CN 113865043B
Authority
CN
China
Prior art keywords
air conditioner
program
instruction
upgrading
program 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.)
Active
Application number
CN202111076753.7A
Other languages
Chinese (zh)
Other versions
CN113865043A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111076753.7A priority Critical patent/CN113865043B/en
Publication of CN113865043A publication Critical patent/CN113865043A/en
Application granted granted Critical
Publication of CN113865043B publication Critical patent/CN113865043B/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/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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • 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/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/80Control systems characterised by their outputs; Constructional details thereof for controlling the temperature of the supplied air
    • F24F11/86Control systems characterised by their outputs; Constructional details thereof for controlling the temperature of the supplied air by controlling compressors within refrigeration or heat pump circuits
    • 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/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/10Temperature
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

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

Abstract

The disclosure relates to a program upgrading method and device for an air conditioner, the air conditioner and a storage medium, wherein the method comprises the following steps: acquiring at least one of a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the at least one of the control instruction, the compressor frequency and the environment temperature; and after the program upgrading time is up, sending a downloading request to a server according to the program upgrading mode, wherein the downloading request is used for downloading the program file of the latest version. Because the program upgrading time and the program upgrading mode are determined according to at least one parameter, the method can be suitable for the running state of the air conditioner, thereby avoiding the influence of the program upgrading on the running effect of the air conditioner, improving the user comfort during the program upgrading and improving the use experience of the user.

Description

Program upgrading method and device for air conditioner, air conditioner and storage medium
Technical Field
The disclosure relates to the technical field of echo cancellation, and in particular relates to a program upgrading method and device of an air conditioner, the air conditioner and a storage medium.
Background
The air conditioner can adjust parameters such as temperature, humidity, carbon dioxide concentration and the like of indoor environment, and the parameters are related to air quality or comfort, so the air conditioner becomes an unavailable electric appliance in life. The development of the air conditioner is rapid, the functions are increased, meanwhile, the programs running in the air conditioner are continuously updated, and the air conditioner needs to acquire and run new program files during the updating. In the related art, when the air conditioner performs program upgrading, the running effect of the air conditioner is often affected, and the time for program upgrading is long, so that the comfort of a user is poor and the use experience is poor when the program is upgraded.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a program upgrade method and apparatus for an air conditioner, and a storage medium to solve the drawbacks in the related art.
According to a first aspect of an embodiment of the present disclosure, there is provided a program upgrade method of an air conditioner, including:
acquiring at least one of a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the at least one of the control instruction, the compressor frequency and the environment temperature;
And after the program upgrading time is up, sending a downloading request to a server according to the program upgrading mode, wherein the downloading request is used for downloading the program file of the latest version.
In one embodiment, the acquiring at least one of a control command, a compressor frequency and an ambient temperature acquired by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to at least one of the control command, the compressor frequency and the ambient temperature includes at least one of the following:
acquiring a control instruction acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction;
acquiring a control instruction and a compressor frequency acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction and the compressor frequency;
and acquiring a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the environment temperature.
In one embodiment, the acquiring the control instruction acquired by the main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction includes:
Acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a shutdown instruction, determining the current time as the program upgrading time and determining the program upgrading mode as a continuous upgrading mode.
In one embodiment, the acquiring the control instruction acquired by the main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction includes:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
if the compressor frequency is smaller than a preset frequency threshold, determining that the current time is the program upgrading time and determining that the program upgrading mode is a breaking upgrading mode.
In one embodiment, the acquiring the control instruction acquired by the main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction includes:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
If the frequency of the compressor is smaller than a preset frequency threshold value, acquiring the ambient temperature acquired by a main board of the air conditioner, and determining the set temperature of the air conditioner according to the control instruction;
if the ambient temperature is lower than a temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is a breaking upgrading mode, wherein the temperature threshold is equal to the set temperature or higher than the set temperature by a preset temperature difference value.
In one embodiment, if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by the main control board of the air conditioner includes:
acquiring the generation time of the latest starting instruction in control instructions acquired by a main control board of the air conditioner;
and if the time interval between the generation time of the starting instruction and the current time is greater than a preset time threshold, acquiring the compressor frequency acquired by the main control board of the air conditioner.
In one embodiment, in a case that the program upgrade mode is a continuous upgrade mode, the downloading, according to the program upgrade mode, the program file of the latest version to the server includes:
and sending a first downloading request to the server, wherein the first downloading request is used for downloading the complete program file of the latest version.
In one embodiment, in the case that the program upgrade mode is a break upgrade mode, the downloading, according to the program upgrade mode, the program file of the latest version to the server includes:
acquiring the frequency of a compressor acquired by a main control board of the air conditioner, and increasing the acquired frequency of the compressor by a preset frequency band to obtain a target frequency;
and controlling the air conditioner to alternately perform normal operation and standby according to a preset time interval until the whole downloading of the program file of the latest version is completed, wherein the compressor operates according to the target frequency when the air conditioner operates normally, and the air conditioner sends a second downloading request to the server when the air conditioner stands by, wherein the second downloading request is used for downloading the fragments of the program file of the latest version.
In one embodiment, after the downloading request is sent to the server according to the program upgrading mode, the method further includes:
and checking the program file of the latest version, and running the program file of the latest version under the condition that the checking is successful.
In one embodiment, the acquiring at least one of a control instruction, a compressor frequency and an ambient temperature acquired by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to at least one of the control instruction, the compressor frequency and the ambient temperature includes:
If the upgrade instruction sent by the server, the upgrade instruction sent by the remote controller or the upgrade instruction sent by the terminal equipment running the remote control program of the air conditioner is received, at least one of the control instruction, the compressor frequency and the environment temperature acquired by the main control board of the air conditioner is acquired, and the program upgrade time and the program upgrade mode of the air conditioner are determined according to the at least one of the control instruction, the compressor frequency and the environment temperature.
In one embodiment, in the process of sending the download request to the server according to the program upgrading mode, the method further includes:
and sending a reminding instruction to terminal equipment running a remote control program of the air conditioner, wherein the reminding instruction is used for enabling the remote control program to generate a reminding interface, and the reminding interface is used for reminding that the air conditioner is in program upgrading and cannot be controlled.
According to a second aspect of the embodiments of the present disclosure, there is provided a program upgrade apparatus of an air conditioner, including:
the determining module is used for acquiring at least one of a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner and determining the program upgrading time and the program upgrading mode of the air conditioner according to the at least one of the control instruction, the compressor frequency and the environment temperature;
And the downloading module is used for sending a downloading request to the server according to the program upgrading mode after the program upgrading time is up, wherein the downloading request is used for downloading the program file of the latest version.
In one embodiment, the determination module is configured to at least one of:
acquiring a control instruction acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction;
acquiring a control instruction and a compressor frequency acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction and the compressor frequency;
and acquiring a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the environment temperature.
In one embodiment, the determining module is configured to obtain a control instruction collected by a main control board of the air conditioner, and when determining a program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, the determining module is further configured to:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
If the latest control instruction is a shutdown instruction, determining the current time as the program upgrading time and determining the program upgrading mode as a continuous upgrading mode.
In one embodiment, the determining module is configured to obtain a control instruction and a compressor frequency collected by a main control board of the air conditioner, determine a program upgrading time and a program upgrading mode of the air conditioner according to the control instruction and the compressor frequency, and further is configured to:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
if the compressor frequency is smaller than a preset frequency threshold, determining that the current time is the program upgrading time and determining that the program upgrading mode is a breaking upgrading mode.
In one embodiment, the determining module is configured to obtain a control instruction, a compressor frequency and an ambient temperature collected by a main control board of the air conditioner, and determine, according to the control instruction, the compressor frequency and the ambient temperature, a program upgrading time and a program upgrading mode of the air conditioner, and is further configured to:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
If the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
if the frequency of the compressor is smaller than a preset frequency threshold value, acquiring the ambient temperature acquired by a main board of the air conditioner, and determining the set temperature of the air conditioner according to the control instruction;
if the ambient temperature is lower than a temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is a breaking upgrading mode, wherein the temperature threshold is equal to the set temperature or higher than the set temperature by a preset temperature difference value.
In one embodiment, the determining module is configured to, if the latest control instruction is a non-shutdown instruction, further when acquiring a compressor frequency acquired by a main control board of the air conditioner, further be configured to:
acquiring the generation time of the latest starting instruction in control instructions acquired by a main control board of the air conditioner;
and if the time interval between the generation time of the starting instruction and the current time is greater than a preset time threshold, acquiring the compressor frequency acquired by the main control board of the air conditioner.
In one embodiment, in a case where the program upgrade mode is a continuous upgrade mode, the download module is further configured to:
And sending a first downloading request to the server, wherein the first downloading request is used for downloading the complete program file of the latest version.
In one embodiment, in the case that the program upgrade mode is a break upgrade mode, the downloading module is further configured to:
acquiring the frequency of a compressor acquired by a main control board of the air conditioner, and increasing the acquired frequency of the compressor by a preset frequency band to obtain a target frequency;
and controlling the air conditioner to alternately perform normal operation and standby according to a preset time interval until the whole downloading of the program file of the latest version is completed, wherein the compressor operates according to the target frequency when the air conditioner operates normally, and the air conditioner sends a second downloading request to the server when the air conditioner stands by, wherein the second downloading request is used for downloading the fragments of the program file of the latest version.
In one embodiment, the system further comprises an operation module for:
and after the downloading request is sent to the server according to the program upgrading mode, checking the program file of the latest version, and running the program file of the latest version under the condition that the checking is successful.
In one embodiment, the determining module is further configured to:
If an upgrade instruction sent by the server, an upgrade instruction sent by the remote controller or an upgrade instruction sent by terminal equipment running a remote control program matched with the air conditioner is received, at least one of a control instruction acquired by a main control board of the air conditioner, a compressor frequency and an environment temperature is acquired, and the program upgrade time and the program upgrade mode of the air conditioner are determined according to the at least one of the control instruction, the compressor frequency and the environment temperature.
In one embodiment, the system further comprises a reminder module for:
and in the process of sending a downloading request to a server according to the program upgrading mode, sending a reminding instruction to a terminal device running a remote control program matched with the air conditioner, wherein the reminding instruction is used for enabling the remote control program to generate a reminding interface, and the reminding interface is used for reminding that the air conditioner is in program upgrading and cannot be controlled.
According to a third aspect of embodiments of the present disclosure, there is provided an air conditioner including a memory for storing computer instructions executable on a processor for performing the program upgrade method of the air conditioner according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the method comprises the steps of acquiring at least one of a control instruction, a compressor frequency and an environment temperature acquired by a main board of an air conditioner, determining the program upgrading time and the program upgrading mode of the air conditioner according to the acquired at least one of the control instruction, the compressor frequency and the environment temperature, and then sending a downloading request to a server according to the program upgrading mode after the program upgrading time is up to, so as to download a latest version of program file. Because the program upgrading time and the program upgrading mode are determined according to at least one parameter, the method can be suitable for the running state of the air conditioner, thereby avoiding the influence of the program upgrading on the running effect of the air conditioner, improving the user comfort during the program upgrading and improving the use experience of the user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a program upgrade method of an air conditioner according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic structural view of a program upgrade apparatus of an air conditioner according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
In the related art, when an air conditioner performs program upgrading, an original program cannot normally run, so that the running function of the air conditioner is forced to be stopped, and the effect achieved by the function is influenced or even eliminated, so that the comfort and the use experience of a user are poor. For example, when the air conditioner starts a program upgrade during the normal cooling process, the cooling program is stopped, so that during the program upgrade process, cooling cannot be performed, the indoor air temperature rises, the user comfort is degraded, and the use experience is correspondingly reduced.
Based on this, in a first aspect, at least one embodiment of the present disclosure provides a program upgrading method for an air conditioner, please refer to fig. 1, which shows a flow of the method, including step S101 and step S102.
The program upgrading method of the air conditioner is applied to the air conditioner, and can be particularly applied to a main control board of the air conditioner or an MCU (Microcontroller Unit, micro control unit) special for the method. The air conditioner is internally provided with a storage space for storing program files, and the main control board reads the program files from the storage space and operates the program files, so that the operation of various functions of the air conditioner can be realized.
Program upgrades refer to Air conditioners that use Over-the-Air Technology (OTA) to download the latest version of program files from a server.
In step S101, at least one of a control instruction, a compressor frequency and an ambient temperature acquired by a main control board of the air conditioner is acquired, and a program upgrading time and a program upgrading mode of the air conditioner are determined according to the at least one of the control instruction, the compressor frequency and the ambient temperature.
The step is that the air conditioner performs the program upgrade initial, which can be triggered by the upgrade instruction, and the upgrade instruction can be sent by the server, namely, when the version of the program file existing in the server is updated compared with the version of the program file in the air conditioner, the upgrade instruction can be sent to the air conditioner; the upgrade instruction can also be sent by the remote controller, namely, a user operates the remote controller to generate the upgrade instruction and sends the upgrade instruction to the air conditioner through mediums such as infrared; the upgrade instruction may also be generated by a remote control program of the air conditioner, for example, a user operates a terminal device running the remote control program of the air conditioner, thereby generating the upgrade instruction, and transmitting the upgrade instruction to the air conditioner through a medium such as bluetooth, a wireless network, or the like. And under the condition that the air conditioner receives an upgrade instruction sent by the server, an upgrade instruction sent by the remote controller or an upgrade instruction sent by terminal equipment running a remote control program of the air conditioner, acquiring at least one of a control instruction acquired by a main control board of the air conditioner, a compressor frequency and an environment temperature, and determining the program upgrade time and the program upgrade mode of the air conditioner according to the at least one of the control instruction, the compressor frequency and the environment temperature.
The air conditioner can acquire the three parameters, namely the control instruction, the compression frequency and the environment temperature, and determine the program upgrading time and the program upgrading mode according to the three parameters. The air conditioner can also acquire the three parameters according to a certain sequence, and after acquiring part of the parameters, the acquired parameters are used for determining the program upgrading time and the program upgrading mode, if the program upgrading time and the program upgrading mode can be successfully determined, the subsequent parameters are not required to be acquired again, if the program upgrading time and the program upgrading mode cannot be successfully determined, the subsequent parameters are required to be continuously acquired, and after acquiring the subsequent parameters, the program upgrading time and the program upgrading mode are determined again.
The main control board controls the operation of the air conditioner, and control instructions, such as a start-up instruction, a shutdown instruction, a set temperature instruction, a set operation mode instruction and the like, are generated in the control process, so that the control instructions can be obtained from the main control board, the obtained control instructions can represent the operation state of the air conditioner at the current time to a certain extent, for example, the latest control instruction is the shutdown instruction, and the air conditioner at the current time is in a standby state. Some states of the air conditioner cannot be accurately determined by the control command, so that the states can be further determined according to the frequency of the compressor and the ambient temperature. In the running process of the air conditioner, the frequency of the compressor can be changed, and the changes can be regulated by the main control board or can be regulated by the compressor spontaneously, but the changes can be reported to the main control board, so that the frequency of the compressor can be obtained from the main control board. The air conditioner may be provided with a temperature sensor, for example, a temperature sensor provided on the internal machine, and the temperature sensor may collect indoor ambient temperature and report the collected temperature to the main control board, so that the ambient temperature may be obtained from the main control board.
The program upgrade time of the air conditioner may be an immediate upgrade (i.e., the current time is the program upgrade time) or a later upgrade (i.e., a later time is the program upgrade time). The program upgrading mode of the air conditioner can be a continuous upgrading mode or a breaking upgrading mode, wherein the continuous upgrading mode is a one-time whole downloading mode, and the breaking upgrading mode is a continuous multiple downloading mode.
In step S102, after the program upgrade time is reached, a download request is sent to the server according to the program upgrade mode, where the download request is used to download the program file of the latest version.
Under the condition that the program upgrading time is the current time, the upgrading can be immediately carried out; in the case where the program upgrade time is a certain time later, the upgrade may be performed when the time is reached. If the program upgrade modes are different, the mode of downloading the program file of the latest version is different, for example, if the program upgrade mode is a continuous upgrade mode, a first download request may be sent to the server, where the first download request is used to download the program file of the complete latest version.
The air conditioner generally comprises an inner machine and an outer machine, the method can run on the inner machine, after the inner machine downloads the program files, the inner machine files in the program files can be reserved, and the outer machine files in the program files can be sent to the outer machine.
In addition, in the process of sending a downloading request to the server according to the program upgrading mode, a reminding instruction can be sent to a terminal device running a remote control program of the air conditioner, wherein the reminding instruction is used for enabling the remote control program to generate a reminding interface, and the reminding interface is used for reminding that the air conditioner is in program upgrading and cannot be controlled. Through the reminding interface, a user can know the upgrading condition when wanting to control the air conditioner through the program, so that error control is avoided. Furthermore, the interface can shield the operation of a user on the program, so that the error control is avoided more thoroughly, and the influence on the program upgrading is avoided. Furthermore, the progress of program upgrading (i.e. the progress of downloading the program file of the latest version) can be displayed on the interface, so that the user can more intuitively know the state of the air conditioner.
In addition, after the program file of the latest version is downloaded to the server according to the program upgrading mode, the program file of the latest version can be checked, and the program file of the latest version is operated under the condition that the check is successful. Specifically, a cyclic redundancy check (Cyclic Redundancy Check, CRC) mode can be adopted to check the program file of the latest version, namely, a cyclic redundancy check value is obtained according to the calculation of the program file, then the cyclic redundancy check value carried in the program file is obtained, and if the two cyclic redundancy check values are consistent, the check is successful. Through verification and then running the program file, the correctness of the program file can be ensured, so that each function of the air conditioner can normally run after the program file is run.
The method comprises the steps of acquiring at least one of a control instruction, a compressor frequency and an environment temperature acquired by a main board of an air conditioner, determining the program upgrading time and the program upgrading mode of the air conditioner according to the acquired at least one of the control instruction, the compressor frequency and the environment temperature, and then sending a downloading request to a server according to the program upgrading mode after the program upgrading time is up to, so as to download a latest version of program file. Because the program upgrading time and the program upgrading mode are determined according to at least one parameter, the method can be suitable for the running state of the air conditioner, thereby avoiding the influence of the program upgrading on the running effect of the air conditioner, improving the user comfort during the program upgrading and improving the use experience of the user.
In some embodiments of the present disclosure, the acquiring at least one of a control instruction, a compressor frequency, and an ambient temperature acquired by a main control board of an air conditioner, and determining a program upgrading time and a program upgrading manner of the air conditioner according to at least one of the control instruction, the compressor frequency, and the ambient temperature includes:
the method comprises the steps of obtaining the instruction type of a control instruction collected by a main control board of the air conditioner, wherein the instruction type comprises a shutdown instruction and a non-shutdown instruction. And determining whether to acquire at least one of the frequency of the compressor and the ambient temperature according to the instruction type of the control instruction so as to determine the program upgrading time and the program upgrading mode of the air conditioner. It should be noted that the control instruction includes an instruction that the air conditioner receives a user transmission through a remote controller or a mobile phone application program, and also includes an operation state of the air conditioner. In addition, the shutdown instruction in the present application includes: a standby instruction or a standby state. The non-shutdown instruction includes: the starting-up instruction, the air conditioner not reaching the user setting (including the user setting temperature, humidity, fresh air quantity and the like) is in a full-load running state or the air conditioner reaching the user setting (including the user setting temperature, humidity, fresh air quantity and the like) is in a low-load running state.
In some embodiments of the present disclosure, at least one of a control instruction, a compressor frequency, and an ambient temperature acquired by a main control board of an air conditioner may be acquired in at least one of the following manners, and a program upgrade time and a program upgrade manner of the air conditioner may be determined according to the at least one of the control instruction, the compressor frequency, and the ambient temperature: acquiring a control instruction acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction; acquiring a control instruction and a compressor frequency acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction and the compressor frequency; and acquiring a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the environment temperature.
In some embodiments of the present disclosure, a control instruction collected by a main control board of an air conditioner may be obtained, and a program upgrading time and a program upgrading mode of the air conditioner may be determined according to the control instruction: firstly, acquiring the latest control instruction in control instructions acquired by a main control board of an air conditioner; next, if the latest control instruction is a shutdown instruction, determining that the current time is a program upgrade time (in this step, the current time refers to a time when a determination result of "the latest control instruction is a shutdown instruction") and determining that the program upgrade mode is a continuous upgrade mode.
The latest control instruction is a shutdown instruction, which indicates that the current air conditioner is in a standby state, that is, a state without any function, so that program upgrading is performed in the state without affecting the operation of the air conditioner, and without affecting comfort and user experience, the current time is determined as program upgrading time, and the operation effect of the air conditioner is not required to be considered, so that the program upgrading mode is determined as a continuous upgrading mode, that is, a complete program file is downloaded at one time.
In addition, since the control instructions are sufficient to determine the program upgrade time and the program upgrade mode, there is no need to acquire the compressor frequency and the ambient temperature next.
According to the embodiment, the standby state is determined by controlling one parameter of the instruction, and the program upgrading time and the program upgrading mode are determined in the standby state, so that the program upgrading process does not influence any function operation of any air conditioner, and the comfort and the use experience of a user are not influenced.
In some embodiments of the present disclosure, a control instruction and a compressor frequency acquired by a main control board of an air conditioner may be acquired, and a program upgrading time and a program upgrading manner of the air conditioner may be determined according to the control instruction and the compressor frequency: firstly, acquiring the latest control instruction in control instructions acquired by a main control board of an air conditioner; next, if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner; finally, if the compressor frequency is less than a preset frequency threshold, determining that the current time is a program upgrading time (in this step, the current time refers to a time when a judgment result that the compressor frequency is less than the preset frequency threshold is obtained), and determining that the program upgrading mode is a breaking upgrading mode.
When the latest control instruction is a non-shutdown instruction, the air conditioner is running a certain function, such as cooling, heating, etc., i.e. the air conditioner is not in a standby state, so that the program upgrading time and the program upgrading mode cannot be determined simply according to the control instruction.
The compressor frequency can be used for representing the stage of the currently operated function, namely an initial stage, a fine tuning stage, a stable stage and the like, or representing the effect achieved by the operated function, namely the difference of the current effect from the target effect; for example, if the compressor frequency is higher, the air conditioner is operated at full load or higher power, which means that the operated function is in the initial stage, and the effect achieved at present is far from the target effect; for example, if the compressor frequency is low, the air conditioner is operated at low power, indicating that the function being operated is in a fine tuning stage or a steady stage, and that the effect currently achieved is less distant from the target effect, or that the target effect has been achieved. Therefore, when the frequency of the compressor is higher, if the shutdown is performed for program upgrading, the effect is greatly influenced, and when the frequency of the compressor is lower, if the shutdown is performed for program upgrading, the effect is less influenced.
The frequency threshold can be preset in advance, and can be determined according to the relation between the frequency and the effect in the running process of the air conditioner, namely, when the frequency of the compressor is lower than the frequency threshold, the difference between the function reached in the current time and the target effect is considered to be smaller, and the influence of program upgrading on the effect caused by shutdown can be borne.
In this embodiment, the effect achieved by the current time of the function operated by the air conditioner is further determined according to the frequency of the compressor under the condition that the air conditioner is not stopped, and the effect is better, that is, the program upgrading time is determined when the distance from the target effect is closer, so that the influence on the comfort can be reduced as much as possible; and the program upgrading mode at the current time is a breaking upgrading mode, which is different from the standby state, so that the influence of upgrading on comfort can be further reduced.
In some embodiments of the present disclosure, a control instruction, a compressor frequency, and an ambient temperature acquired by a main control board of an air conditioner may be acquired, and a program upgrading time and a program upgrading manner of the air conditioner may be determined according to the control instruction, the compressor frequency, and the ambient temperature: firstly, acquiring the latest control instruction in control instructions acquired by a main control board of an air conditioner; next, if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner; next, if the frequency of the compressor is smaller than a preset frequency threshold value, acquiring the ambient temperature acquired by a main board of the air conditioner, and determining the set temperature of the air conditioner according to the control instruction; finally, if the ambient temperature is lower than a temperature threshold, determining that the current time is a program upgrading time (in this step, the current time refers to a time when a judgment result that the compressor frequency is lower than a preset frequency threshold is obtained), and determining that the program upgrading mode is a breaking upgrading mode, wherein the temperature threshold is equal to the set temperature or higher than the set temperature by a preset temperature difference value.
The temperature threshold may be preset in advance, for example, set to the set temperature itself, or set to the set temperature +1deg.C, or the like. For example, when the set temperature is 24 ℃ and the temperature threshold is the set temperature itself, when the ambient temperature is lower than 24 ℃, determining the current time as the program upgrading time; for another example, when the set temperature is 24 ℃ and the temperature threshold is set temperature +1 ℃, then when the ambient temperature is lower than 25 ℃, the current time is determined to be the program upgrade time.
Compared with the previous embodiment, in the case that the frequency of the compressor is lower than the frequency threshold, the embodiment further obtains the indoor environment temperature and the set temperature of the air conditioner, so that the difference between the current effect and the target effect can be more accurately determined through the dimension of the temperature, namely, the influence of program upgrading on comfort is further reduced.
It should be noted that in the above two embodiments, when the latest control instruction is a non-shutdown instruction, the compressor frequency is obtained to determine the stage of the currently operated function or the effect achieved by the operated function, so that the generation time of the latest startup instruction in the control instruction collected by the main control board of the air conditioner can be further obtained when the latest control instruction is the non-shutdown instruction; if the time interval between the generation time of the start-up instruction and the current time is greater than a preset time threshold (in this step, the current time refers to the time when the data of the latest generation time of the start-up instruction is acquired), the compressor frequency acquired by the main control board of the air conditioner is acquired.
This is because, when the air conditioner is started and operates a certain function, it takes a certain time to reach a stable stage of the function, or a certain time effect to approach or reach a target effect, so that the compressor is necessarily operated at a high frequency during the certain time, and thus the operation of acquiring the compressor frequency during the certain time can be omitted, and after the certain time has elapsed, the operation stage or effect of the function is determined after the acquisition of the compressor frequency. This certain time may be determined by counting the compressor frequency and preset as a time threshold.
By monitoring the time after the start command, the operation of acquiring the frequency of the compressor in the time threshold is omitted, the operation is simplified, and the load is reduced.
In some embodiments of the present disclosure, in the case that the program upgrade mode is a break upgrade mode, the latest version of the program file may be downloaded to the server according to the program upgrade mode in the following manner: firstly, acquiring a compressor frequency acquired by a main control board of an air conditioner, and raising the acquired compressor frequency by a preset frequency band to obtain a target frequency; and then, controlling the air conditioner to alternately perform normal operation and standby according to a preset time interval until the whole downloading of the program file of the latest version is completed, wherein the compressor operates according to the target frequency when the air conditioner operates normally, and sending a second downloading request to the server when the air conditioner stands by, wherein the second downloading request is used for downloading the fragments of the program file of the latest version.
The program file of the latest version can be divided into a plurality of fragments, then one fragment is downloaded in each standby, and the fragments are downloaded in sequence in the downloading process, so that the whole program file can be completely downloaded after multiple standby. For example, the program file is divided into 10 pieces, then a first piece is downloaded in a first standby, a second piece is downloaded in a second standby, a third piece is downloaded in a third standby, a fourth piece is downloaded in a fourth standby, a fifth piece is downloaded in a fifth standby, a sixth piece is downloaded in a sixth standby, a seventh piece is downloaded in a seventh standby, an eighth piece is downloaded in an eighth standby, a ninth piece is downloaded in a ninth standby, and a tenth piece is downloaded in a tenth standby, thereby completing the downloading of the entire program file.
During normal operation before each standby, the device operates according to a target frequency higher than a theoretical compression frequency, so that the environment can be over-regulated in the normal operation process, namely the effect exceeds the target effect, and the negative influence of shutdown on the effect is counteracted in the subsequent standby upgrading process. For example, when the cooling is performed before the program is updated, the target temperature is 25 ℃, and when the normal operation is performed before the standby, the temperature is adjusted to 24 ℃ due to the target frequency operation, and then the temperature is raised in a subsequent shutdown upgrading process, but the temperature is not immediately higher than 25 ℃, and particularly, the standby upgrading is possibly completed when the temperature is raised to 25 ℃.
In this embodiment, through alternate normal operation and standby, sequential segmented downloading can be performed on the program files, and the environment is adjusted before each shutdown downloading, so that the effect decline caused by shutdown is counteracted, program upgrading is completed under the condition that comfort is not affected as much as possible, and the use experience of a user is improved.
According to a second aspect of the embodiments of the present disclosure, a program upgrading apparatus for an air conditioner is provided, please refer to fig. 2, which shows a structure of the apparatus, including:
the determining module 201 is configured to obtain at least one of a control instruction, a compressor frequency and an environmental temperature collected by a main control board of the air conditioner, and determine a program upgrading time and a program upgrading mode of the air conditioner according to the at least one of the control instruction, the compressor frequency and the environmental temperature;
and the downloading module 202 is configured to send a downloading request to the server according to the program upgrading mode after the program upgrading time is reached, where the downloading request is used to download the program file of the latest version.
In some embodiments of the present disclosure, the determining module is configured to at least one of:
acquiring a control instruction acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction;
Acquiring a control instruction and a compressor frequency acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction and the compressor frequency;
and acquiring a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the environment temperature.
In some embodiments of the present disclosure, the determining module is configured to obtain a control instruction collected by a main control board of an air conditioner, and when determining a program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, the determining module is further configured to:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a shutdown instruction, determining the current time as the program upgrading time and determining the program upgrading mode as a continuous upgrading mode.
In some embodiments of the present disclosure, the determining module is configured to obtain a control instruction and a compressor frequency collected by a main control board of an air conditioner, determine a program upgrade time and a program upgrade mode of the air conditioner according to the control instruction and the compressor frequency, and is further configured to:
Acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
if the compressor frequency is smaller than a preset frequency threshold, determining that the current time is the program upgrading time and determining that the program upgrading mode is a breaking upgrading mode.
In some embodiments of the present disclosure, the determining module is configured to obtain a control instruction, a compressor frequency, and an ambient temperature collected by a main control board of an air conditioner, and determine, according to the control instruction, the compressor frequency, and the ambient temperature, a program upgrading time and a program upgrading manner of the air conditioner, where the determining module is further configured to:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
if the frequency of the compressor is smaller than a preset frequency threshold value, acquiring the ambient temperature acquired by a main board of the air conditioner, and determining the set temperature of the air conditioner according to the control instruction;
if the ambient temperature is lower than a temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is a breaking upgrading mode, wherein the temperature threshold is equal to the set temperature or higher than the set temperature by a preset temperature difference value.
In some embodiments of the present disclosure, the determining module is configured to, if the latest control instruction is a non-shutdown instruction, further when acquiring a compressor frequency acquired by a main control board of the air conditioner, further be configured to:
acquiring the generation time of the latest starting instruction in control instructions acquired by a main control board of the air conditioner;
and if the time interval between the generation time of the starting instruction and the current time is greater than a preset time threshold, acquiring the compressor frequency acquired by the main control board of the air conditioner.
In some embodiments of the present disclosure, in a case where the program upgrade mode is a continuous upgrade mode, the download module is further configured to:
and sending a first downloading request to the server, wherein the first downloading request is used for downloading the complete program file of the latest version.
In some embodiments of the present disclosure, in a case where the program upgrade mode is a break upgrade mode, the downloading module is further configured to:
acquiring the frequency of a compressor acquired by a main control board of the air conditioner, and increasing the acquired frequency of the compressor by a preset frequency band to obtain a target frequency;
and controlling the air conditioner to alternately perform normal operation and standby according to a preset time interval until the whole downloading of the program file of the latest version is completed, wherein the compressor operates according to the target frequency when the air conditioner operates normally, and the air conditioner sends a second downloading request to the server when the air conditioner stands by, wherein the second downloading request is used for downloading the fragments of the program file of the latest version.
In some embodiments of the present disclosure, the method further comprises an execution module for:
and after the downloading request is sent to the server according to the program upgrading mode, checking the program file of the latest version, and running the program file of the latest version under the condition that the checking is successful.
In some embodiments of the disclosure, the determining module is further to:
if an upgrade instruction sent by the server, an upgrade instruction sent by the remote controller or an upgrade instruction sent by terminal equipment running a remote control program matched with the air conditioner is received, at least one of a control instruction acquired by a main control board of the air conditioner, a compressor frequency and an environment temperature is acquired, and the program upgrade time and the program upgrade mode of the air conditioner are determined according to the at least one of the control instruction, the compressor frequency and the environment temperature.
In some embodiments of the present disclosure, a reminder module is further included for:
and in the process of sending a downloading request to a server according to the program upgrading mode, sending a reminding instruction to a terminal device running a remote control program matched with the air conditioner, wherein the reminding instruction is used for enabling the remote control program to generate a reminding interface, and the reminding interface is used for reminding that the air conditioner is in program upgrading and cannot be controlled.
The specific manner in which the various modules perform the operations in relation to the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method of the first aspect and will not be described in detail here.
According to a third aspect of embodiments of the present disclosure, there is provided an air conditioner including a memory for storing computer instructions executable on a processor for performing the program upgrade method of the air conditioner according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A program upgrading method of an air conditioner, comprising:
acquiring at least one of a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to the at least one of the control instruction, the compressor frequency and the environment temperature, wherein the program upgrading mode comprises a breaking upgrading mode;
after the program upgrading time is up, a downloading request is sent to a server according to the program upgrading mode, and the downloading request is used for downloading the program file of the latest version;
and under the condition that the program upgrading mode is a breaking upgrading mode, downloading the program file of the latest version to a server according to the program upgrading mode, wherein the method comprises the following steps:
acquiring the frequency of a compressor acquired by a main control board of the air conditioner, and increasing the acquired frequency of the compressor by a preset frequency band to obtain a target frequency;
And controlling the air conditioner to alternately perform normal operation and standby according to a preset time interval until the whole downloading of the program file of the latest version is completed, wherein the compressor operates according to the target frequency when the air conditioner operates normally, and the air conditioner sends a second downloading request to the server when the air conditioner stands by, wherein the second downloading request is used for downloading the fragments of the program file of the latest version.
2. The method for upgrading a program of an air conditioner according to claim 1, wherein the step of obtaining at least one of a control command, a compressor frequency and an ambient temperature acquired by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to at least one of the control command, the compressor frequency and the ambient temperature comprises the steps of:
acquiring an instruction type of a control instruction acquired by a main control board of an air conditioner, wherein the instruction type comprises a shutdown instruction and a non-shutdown instruction;
and determining whether to acquire at least one of the frequency of the compressor and the ambient temperature according to the instruction type of the control instruction so as to determine the program upgrading time and the program upgrading mode of the air conditioner.
3. The method for upgrading a program of an air conditioner according to claim 1, wherein the steps of obtaining a control command collected by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to the control command include:
Acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a shutdown instruction, determining the current time as the program upgrading time and determining the program upgrading mode as a continuous upgrading mode.
4. The method for upgrading a program of an air conditioner according to claim 1, wherein the steps of obtaining a control command collected by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to the control command include:
acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
if the compressor frequency is smaller than a preset frequency threshold, determining that the current time is the program upgrading time and determining that the program upgrading mode is a breaking upgrading mode.
5. The method for upgrading a program of an air conditioner according to claim 1, wherein the steps of obtaining a control command collected by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to the control command include:
Acquiring the latest control instruction in control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the compressor frequency acquired by a main control board of the air conditioner;
if the frequency of the compressor is smaller than a preset frequency threshold value, acquiring the ambient temperature acquired by a main board of the air conditioner, and determining the set temperature of the air conditioner according to the control instruction;
if the ambient temperature is lower than a temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is a breaking upgrading mode, wherein the temperature threshold is equal to the set temperature or higher than the set temperature by a preset temperature difference value.
6. The program upgrading method according to claim 4 or 5, wherein if the latest control instruction is a non-shutdown instruction, obtaining a compressor frequency collected by a main control board of the air conditioner includes:
acquiring the generation time of the latest starting instruction in control instructions acquired by a main control board of the air conditioner;
and if the time interval between the generation time of the starting instruction and the current time is greater than a preset time threshold, acquiring the compressor frequency acquired by the main control board of the air conditioner.
7. The program upgrading method according to claim 1, wherein, in the case that the program upgrading mode is a continuous upgrading mode, the downloading the program file of the latest version to the server according to the program upgrading mode includes:
and sending a first downloading request to the server, wherein the first downloading request is used for downloading the complete program file of the latest version.
8. The program upgrade method of an air conditioner according to claim 1, further comprising, after the transmitting a download request to a server according to the program upgrade manner:
and checking the program file of the latest version, and running the program file of the latest version under the condition that the checking is successful.
9. The method for upgrading a program of an air conditioner according to claim 1, wherein the step of obtaining at least one of a control command, a compressor frequency and an ambient temperature acquired by a main control board of the air conditioner, and determining a program upgrading time and a program upgrading mode of the air conditioner according to at least one of the control command, the compressor frequency and the ambient temperature comprises the steps of:
if the upgrade instruction sent by the server, the upgrade instruction sent by the remote controller or the upgrade instruction sent by the terminal equipment running the remote control program of the air conditioner is received, at least one of the control instruction, the compressor frequency and the environment temperature acquired by the main control board of the air conditioner is acquired, and the program upgrade time and the program upgrade mode of the air conditioner are determined according to the at least one of the control instruction, the compressor frequency and the environment temperature.
10. The program upgrading method of an air conditioner according to claim 1, wherein in the process of transmitting a download request to a server according to the program upgrading manner, further comprising:
and sending a reminding instruction to terminal equipment running a remote control program of the air conditioner, wherein the reminding instruction is used for enabling the remote control program to generate a reminding interface, and the reminding interface is used for reminding that the air conditioner is in program upgrading and cannot be controlled.
11. A program upgrade apparatus of an air conditioner, comprising:
the system comprises a determining module, a control module and a control module, wherein the determining module is used for acquiring at least one of a control instruction, a compressor frequency and an environment temperature acquired by a main control board of the air conditioner and determining the program upgrading time and the program upgrading mode of the air conditioner according to the at least one of the control instruction, the compressor frequency and the environment temperature, wherein the program upgrading mode comprises a breaking upgrading mode;
the downloading module is used for sending a downloading request to the server according to the program upgrading mode after the program upgrading time is up, and the downloading request is used for downloading the program file of the latest version;
and under the condition that the program upgrading mode is a breaking upgrading mode, downloading the program file of the latest version to a server according to the program upgrading mode, wherein the method comprises the following steps:
Acquiring the frequency of a compressor acquired by a main control board of the air conditioner, and increasing the acquired frequency of the compressor by a preset frequency band to obtain a target frequency;
and controlling the air conditioner to alternately perform normal operation and standby according to a preset time interval until the whole downloading of the program file of the latest version is completed, wherein the compressor operates according to the target frequency when the air conditioner operates normally, and the air conditioner sends a second downloading request to the server when the air conditioner stands by, wherein the second downloading request is used for downloading the fragments of the program file of the latest version.
12. The program upgrade apparatus of an air conditioner according to claim 11, wherein the determination module is configured to:
acquiring an instruction type of a control instruction acquired by a main control board of an air conditioner, wherein the instruction type comprises a shutdown instruction and a non-shutdown instruction;
and determining whether to acquire at least one of the frequency of the compressor and the ambient temperature according to the instruction type of the control instruction so as to determine the program upgrading time and the program upgrading mode of the air conditioner.
13. An air conditioner, characterized in that the air conditioner comprises a memory for storing computer instructions executable on a processor for a program upgrade method based on the air conditioner of any one of claims 1 to 10 when executing the computer instructions.
14. A computer-readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor implements the program upgrade method of an air conditioner according to any one of claims 1 to 10.
CN202111076753.7A 2021-09-14 2021-09-14 Program upgrading method and device for air conditioner, air conditioner and storage medium Active CN113865043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111076753.7A CN113865043B (en) 2021-09-14 2021-09-14 Program upgrading method and device for air conditioner, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111076753.7A CN113865043B (en) 2021-09-14 2021-09-14 Program upgrading method and device for air conditioner, air conditioner and storage medium

Publications (2)

Publication Number Publication Date
CN113865043A CN113865043A (en) 2021-12-31
CN113865043B true CN113865043B (en) 2023-05-02

Family

ID=78995789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111076753.7A Active CN113865043B (en) 2021-09-14 2021-09-14 Program upgrading method and device for air conditioner, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN113865043B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114577498B (en) * 2022-02-28 2024-05-14 北京小米移动软件有限公司 Method and device for testing torque compensation parameters of air conditioner

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275721A (en) * 2019-06-18 2019-09-24 珠海格力电器股份有限公司 Multi-connected air conditioning system, upgrading method and device thereof and air conditioning equipment
JP2019178810A (en) * 2018-03-30 2019-10-17 株式会社富士通ゼネラル Air conditioner

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4274163B2 (en) * 2005-09-13 2009-06-03 ダイキン工業株式会社 Air conditioning control system
US7916675B2 (en) * 2006-06-20 2011-03-29 Nokia Corporation Method and system for providing interim discontinuous reception/transmission
US8594850B1 (en) * 2012-09-30 2013-11-26 Nest Labs, Inc. Updating control software on a network-connected HVAC controller
CN105354059A (en) * 2015-10-29 2016-02-24 珠海格力电器股份有限公司 Upgrading method and device for controller of air conditioning system
CN106897100A (en) * 2017-02-28 2017-06-27 深圳天珑无线科技有限公司 The method and terminal of a kind of firmware upgrade
JPWO2019030896A1 (en) * 2017-08-10 2019-11-07 三菱電機株式会社 Program update method, outdoor unit and management device
CN107957880A (en) * 2017-11-30 2018-04-24 广东美的暖通设备有限公司 Air-conditioning firmware upgrade method, device, air-conditioning and computer equipment
JP7095359B2 (en) * 2018-03-29 2022-07-05 株式会社富士通ゼネラル Air conditioning system
CN109683930B (en) * 2018-12-17 2020-07-24 珠海格力电器股份有限公司 Air conditioning equipment program upgrading method, device and system and household electrical appliance
CN112283867B (en) * 2020-10-16 2021-11-09 海信(山东)空调有限公司 Air conditioner and upgrading control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019178810A (en) * 2018-03-30 2019-10-17 株式会社富士通ゼネラル Air conditioner
CN110275721A (en) * 2019-06-18 2019-09-24 珠海格力电器股份有限公司 Multi-connected air conditioning system, upgrading method and device thereof and air conditioning equipment

Also Published As

Publication number Publication date
CN113865043A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
CN105162841B (en) Control method and control system of household appliance
CN103136072B (en) Automatic repair system and automatic repair method thereof
CN106612192A (en) An equipment upgrading method, apparatus and system
KR20170115802A (en) Electronic apparatus and IOT Device Controlling Method thereof
CN113865043B (en) Program upgrading method and device for air conditioner, air conditioner and storage medium
CN113757950B (en) Program upgrading method and device for air conditioner, air conditioner and storage medium
CN111562933A (en) Air conditioner upgrading method and air conditioner system
CN105530130A (en) Method and device for upgrading Over-The-Air downloading technology
CN107656751A (en) User program upgrade method and device
CN108958784B (en) Software upgrading control method, household appliance, server, device and medium
CN109425076A (en) Adjusting method, device and the storage medium of air regulator
CN114440389A (en) Air conditioner, method of upgrading the same, computer device, and computer-readable storage medium
CN113535202A (en) Charging pile upgrading method and device and charging pile system
CN104469278B (en) A kind of monitoring system upgrade method and device
CN105843642A (en) Upgrading method of terminal, terminal upgrading control method, terminal and server
WO2020110312A1 (en) Device control system, communication adapter, and household appliance
CN111787378B (en) Software upgrading method applied to remote control device and remote control device
CN114138312A (en) Upgrade test method, device, electronic equipment and computer readable storage medium
CN108595193B (en) Firmware updating method of baseboard management controller for fan rotating speed control
CN114995845A (en) OTA (over the air) upgrading method and device
CN112925538A (en) Equipment updating method, system and device
CN112735118B (en) Household appliance remote control method and device, infrared device and storage medium
CN105333564A (en) System and method for supporting mobile terminal to control air-conditioner
CN113115417B (en) Wireless upgrading method and device for remote controller program, remote controller and electric appliance system
CN116545860B (en) Calibration data reading method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant