CN113865043A - 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
CN113865043A
CN113865043A CN202111076753.7A CN202111076753A CN113865043A CN 113865043 A CN113865043 A CN 113865043A CN 202111076753 A CN202111076753 A CN 202111076753A CN 113865043 A CN113865043 A CN 113865043A
Authority
CN
China
Prior art keywords
air conditioner
program
program upgrading
instruction
frequency
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.)
Granted
Application number
CN202111076753.7A
Other languages
Chinese (zh)
Other versions
CN113865043B (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

Abstract

The present disclosure relates to a program upgrading method and apparatus for an air conditioner, an air conditioner and a storage medium, the method comprising: acquiring at least one of a control instruction, compressor frequency and ambient temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the ambient 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 and the device can adapt to 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 comfort of a user 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, in particular to a program upgrading method and device for 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 an indoor environment, and the parameters are related to air quality or comfort, so that the air conditioner is an electric appliance which is unavailable in life. The development of the air conditioner is rapid, the functions are increased, meanwhile, the running program in the air conditioner is continuously upgraded, and the air conditioner needs to acquire and run a new version of program file during upgrading. In the related art, when the air conditioner performs program upgrading, the operation effect of the air conditioner is often influenced, and the time for program upgrading is long, so that the comfort of a user is poor and the use experience is poor during program upgrading.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for upgrading a program of an air conditioner, and a storage medium, so as to solve the defects in the related art.
According to a first aspect of an embodiment of the present disclosure, there is provided a program upgrading method of an air conditioner, including:
acquiring at least one of a control instruction, compressor frequency and ambient temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the ambient 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 obtaining at least one of a control instruction, a compressor frequency, and an ambient temperature collected by a main control board of an 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 ambient temperature includes 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 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;
the method comprises the steps of obtaining a control instruction, compressor frequency and ambient temperature collected by a main control board of the air conditioner, and determining program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the ambient temperature.
In one embodiment, the obtaining of the control instruction collected 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 the control instructions acquired by a main control board of the air conditioner;
and 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 obtaining of the control instruction collected 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 the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor acquired by a main control board of the air conditioner;
and if the frequency of the compressor is smaller than a preset frequency threshold value, determining the current time as the program upgrading time, and determining the program upgrading mode as an interrupted upgrading mode.
In one embodiment, the obtaining of the control instruction collected 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 the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor 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;
and if the environment temperature is lower than the temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is the interrupted upgrading mode, wherein the temperature threshold is equal to the set temperature or is higher than the set temperature by a preset temperature difference value.
In one embodiment, the obtaining the frequency of the compressor collected by the main control board of the air conditioner if the latest control instruction is a non-shutdown instruction includes:
acquiring the generation time of the latest starting instruction in the control instructions acquired by the main control panel 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 value, acquiring the frequency of the compressor acquired by a main control board of the air conditioner.
In an embodiment, in a case that the program upgrade mode is a continuous upgrade mode, the downloading a program file of a latest version to a server according to the program upgrade 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.
In an embodiment, in a case that the program upgrade mode is an upgrade interruption mode, the downloading a program file of a latest version to a server according to the program upgrade mode 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 all the program files of the latest version are completely downloaded, wherein when the air conditioner is in normal operation, the compressor operates according to the target frequency, and when the air conditioner is in standby, the air conditioner sends a second download request to the server, and the second download request is used for downloading the segments of the program files of the latest version.
In one embodiment, after sending the download request to the server according to the program upgrade manner, 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 of successful checking.
In one embodiment, the obtaining at least one of a control instruction, a compressor frequency, and an ambient temperature collected by a main control board of an air conditioner, and determining a program upgrade time and a program upgrade mode of the air conditioner according to the at least one of the control instruction, the compressor frequency, and the ambient temperature includes:
and if an upgrading instruction sent by the server, an upgrading instruction sent by a remote controller or an upgrading instruction sent by terminal equipment running a remote control program of the air conditioner is received, acquiring at least one of a control instruction, a compressor frequency and an ambient temperature collected 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 ambient temperature.
In an embodiment, in the process of sending a download request to a server according to the program upgrade 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 the air conditioner that the program is upgraded and cannot be controlled.
According to a second aspect of the embodiments of the present disclosure, there is provided a program upgrading apparatus of an air conditioner, including:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for acquiring at least one of a control instruction, compressor frequency and ambient temperature acquired by a main control panel 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 ambient 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 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 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;
the method comprises the steps of obtaining a control instruction, compressor frequency and ambient temperature collected by a main control board of the air conditioner, and determining program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the ambient temperature.
In one embodiment, the determining module is configured to, when acquiring a control instruction acquired by a main control board of an air conditioner and determining a program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, further:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
and 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 acquired by a main control board of an 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:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor acquired by a main control board of the air conditioner;
and if the frequency of the compressor is smaller than a preset frequency threshold value, determining the current time as the program upgrading time, and determining the program upgrading mode as an interrupted 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 panel 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 compressor frequency, and the ambient temperature, further configured to:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor 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;
and if the environment temperature is lower than the temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is the interrupted upgrading mode, wherein the temperature threshold is equal to the set temperature or is 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, when obtaining a compressor frequency acquired by a main control board of an air conditioner, further:
acquiring the generation time of the latest starting instruction in the control instructions acquired by the main control panel 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 value, acquiring the frequency of the compressor acquired by a main control board of the air conditioner.
In one embodiment, in the case that the program upgrading mode is a continuous upgrading mode, the downloading 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 an embodiment, in the case that the program upgrading mode is an interrupted upgrading 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 all the program files of the latest version are completely downloaded, wherein when the air conditioner is in normal operation, the compressor operates according to the target frequency, and when the air conditioner is in standby, the air conditioner sends a second download request to the server, and the second download request is used for downloading the segments of the program files of the latest version.
In one embodiment, the system further comprises an execution module for:
after the request is downloaded to the sending server according to the program upgrading mode, the program file of the latest version is verified, and the program file of the latest version is operated under the condition that verification is successful.
In one embodiment, the determining module is further configured to:
and if an upgrading instruction sent by the server, an upgrading instruction sent by a remote controller or an upgrading instruction sent by terminal equipment running a remote control program matched with the air conditioner is received, acquiring at least one of a control instruction, a compressor frequency and an ambient temperature collected 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 ambient 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 the air conditioner that the program upgrading is carried out and the control cannot be carried out.
According to a third aspect of the embodiments of the present disclosure, there is provided an air conditioner, the air conditioner comprising a memory and a processor, the memory is used for storing computer instructions executable on the processor, and the processor is used for the program upgrading method of the air conditioner based on the first aspect when executing the computer instructions.
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 have the following beneficial effects:
according to the method, at least one of a control instruction, compressor frequency and ambient temperature collected by a main board of the air conditioner is obtained, program upgrading time and a program upgrading mode of the air conditioner are determined according to the collected at least one of the control instruction, the compressor frequency and the ambient temperature, and then after the program upgrading time is reached, a downloading request is sent to a server according to the program upgrading mode to download a 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 and the device can adapt to 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 comfort of a user 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 upgrading method of an air conditioner according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a program upgrading apparatus of an air conditioner according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended 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 and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such 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 "when … …" or "in response to a determination", depending on the context.
In the related art, when the air conditioner is upgraded, the original program cannot normally run, so that the running function of the air conditioner is forced to be stopped, the effect achieved by the function is influenced or even disappears, and the comfort and the use experience of a user are poor. For example, if the air conditioner normally starts program upgrading in the process of refrigeration, the refrigeration program is stopped, so that refrigeration cannot be performed in the process of program upgrading, the indoor air temperature rises, the comfort of a user is deteriorated, 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 illustrates 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 specifically can be applied to a main control board of the air conditioner or an MCU (micro controller Unit) special for the method. The air conditioner is internally provided with a storage space for storing the program file, and the main control board reads the program file from the storage space and operates the program file, so that the operation of each function of the air conditioner can be realized.
The program upgrade refers to the Air conditioner downloading the latest version of the program file from the server using an Over-the-Air Technology (OTA).
In step S101, at least one of a control instruction, a compressor frequency, and an ambient temperature collected by a main control board of the air conditioner is obtained, and a program upgrade time and a program upgrade 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 the initialization of the air conditioner for upgrading the program, and can be triggered by an upgrading instruction, and the upgrading instruction can be sent by a server, namely when the version of the program file existing in the server is more updated than the version of the program file in the air conditioner, the upgrading instruction can be sent to the air conditioner; the upgrading instruction can also be sent by a remote controller, namely, a user operates the remote controller to generate the upgrading instruction and sends the upgrading instruction to the air conditioner through infrared and other media; 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 to generate the upgrade instruction, and the upgrade instruction is transmitted to the air conditioner through a medium such as bluetooth or a wireless network. The method comprises the steps that the air conditioner obtains at least one of a control instruction, a compressor frequency and an ambient temperature collected by a main control board of the air conditioner under the condition that the air conditioner receives an upgrading instruction sent by the server, an upgrading instruction sent by a remote controller or an upgrading instruction sent by a terminal device running a remote control program of the air conditioner, and determines 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 ambient temperature.
The air conditioner can simultaneously acquire the three parameters, namely the control instruction, the compression frequency and the ambient temperature, and determines 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 part of the parameters are acquired, 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 do not need to be acquired again, if the program upgrading time and the program upgrading mode cannot be successfully determined, the subsequent parameters need to be continuously acquired, and after the subsequent parameters are acquired, the program upgrading time and the program upgrading mode are determined again.
The main control board controls the operation of the air conditioner, and generates control instructions, such as a start instruction, a shutdown instruction, a temperature setting instruction, an operation mode setting instruction, and the like, in the control process, so that the control instructions can be obtained from the main control board, and the obtained control instructions can represent the operation state of the air conditioner at the current time to a certain extent, for example, if the latest control instruction is a shutdown instruction, the air conditioner at the current time is in a standby state. Some states of the air conditioner cannot be accurately determined by using the control command, so that the states can be further determined according to the frequency of the compressor and the ambient temperature. In the operation process of the air conditioner, the frequency of the compressor can change, and the changes can be adjusted by the main control board or can be adjusted by the compressor spontaneously, but can be reported to the main control board, so that the frequency of the compressor can be acquired from the main control board. The air conditioner can be equipped with temperature sensor, for example the temperature sensor who sets up on the interior machine, then indoor ambient temperature can be gathered to this temperature sensor to report the temperature of gathering to the main control board, consequently can acquire ambient temperature to 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., the later time is the program upgrade time). The program upgrading mode of the air conditioner can be a continuous upgrading mode or an interrupted upgrading mode, wherein the continuous upgrading mode is a mode of downloading all at once, and the interrupted upgrading mode is a mode of downloading for multiple times.
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 carried out immediately; 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 upgrading mode is different, the mode of downloading the program file of the latest version is different, for example, if the program upgrading mode is a continuous upgrading mode, a first downloading request may be sent to the server, where the first downloading request is used to download the complete program file of the latest version.
The air conditioner generally comprises an internal unit and an external unit, the method can be operated on the internal unit, and after the internal unit downloads a program file, the internal unit file in the program file can be reserved, and the external unit file in the program file can be sent to the external unit.
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 the terminal equipment running the remote control program of the air conditioner, and the reminding instruction is used for enabling the remote control program to generate a reminding interface, wherein the reminding interface is used for reminding the air conditioner that the program upgrading is carried out and the control cannot be carried out. Through the reminding interface, when a user wants to control the air conditioner through the program, the user can know the upgrading condition, so that the error control is avoided. Furthermore, the interface can shield the operation of the user on the program, thereby more thoroughly avoiding error control and avoiding influencing program upgrading. 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 downloading the program file of the latest version to the server according to the program upgrading mode, the program file of the latest version can be verified, and the program file of the latest version is operated under the condition of successful verification. Specifically, a Cyclic Redundancy Check (CRC) mode may be used to Check the program file of the latest version, that is, a Cyclic Redundancy Check value is calculated according to the program file, and then the Cyclic Redundancy Check value carried in the program file is obtained, and if the two Cyclic Redundancy Check values are the same, the Check is successful. Through verification and then operation of the program file, the correctness of the program file can be ensured, and therefore all functions of the air conditioner can operate normally after the program file is operated.
According to the method, at least one of a control instruction, compressor frequency and ambient temperature collected by a main board of the air conditioner is obtained, program upgrading time and a program upgrading mode of the air conditioner are determined according to the collected at least one of the control instruction, the compressor frequency and the ambient temperature, and then after the program upgrading time is reached, a downloading request is sent to a server according to the program upgrading mode to download a 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 and the device can adapt to 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 comfort of a user during the program upgrading and improving the use experience of the user.
In some embodiments of the present disclosure, the obtaining at least one of a control instruction, a compressor frequency, and an ambient temperature collected by a main control board of an air conditioner, and determining a program upgrade time and a program upgrade mode of the air conditioner according to the 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 panel of the air conditioner, wherein the instruction type comprises a shutdown instruction and a non-shutdown instruction. And determining whether at least one of the compressor frequency and the ambient temperature is acquired 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 and is sent by a user 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: standby instructions or standby state. The non-shutdown instruction comprises: the method comprises the following steps of starting up an instruction, wherein the air conditioner is in a full-load running state when the air conditioner does not reach the setting of a user (comprising the temperature, the humidity, the fresh air volume and the like set by the user), or the air conditioner is in a low-load running state when the air conditioner reaches the setting of the user (comprising the temperature, the humidity, the fresh air volume and the like set by the user).
In some embodiments of the present disclosure, at least one of a control instruction, a compressor frequency, and an ambient temperature collected by a main control board of an air conditioner may be obtained according to 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 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; the method comprises the steps of obtaining a control instruction, compressor frequency and ambient temperature collected by a main control board of the air conditioner, and determining program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the ambient temperature.
In some embodiments of the present disclosure, a control instruction collected by a main control board of an air conditioner may be obtained as follows, and a program upgrade time and a program upgrade mode of the air conditioner may be determined according to the control instruction: firstly, acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner; next, if the latest control instruction is a shutdown instruction, it is determined that the current time is the program upgrading time (in this step, the current time refers to the time when the judgment result that the latest control instruction is the shutdown instruction is obtained), and it is determined that the program upgrading mode is the continuous upgrading mode.
The latest control instruction is a shutdown instruction, which indicates that the air conditioner is in a standby state at present, that is, a state without any function is not operated, so that the condition that the operation of the air conditioner is not influenced when the program is upgraded in the state, and the condition that the comfort and the user experience are not influenced, so that the current time is determined as the program upgrading time, and the operation effect of the air conditioner is not considered in the current time, 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 already sufficient to determine the program upgrade time and the program upgrade mode, there is no need to subsequently acquire the compressor frequency and the ambient temperature.
In 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, the control instruction and the compressor frequency collected by the main control board of the air conditioner may be obtained as follows, and the program upgrade time and the program upgrade mode of the air conditioner may be determined according to the control instruction and the compressor frequency: firstly, acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner; next, if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor acquired by a main control board of the air conditioner; finally, if the frequency of the compressor is smaller than the preset frequency threshold, the current time is determined as the program upgrading time (in the step, the current time refers to the time for obtaining the judgment result that the frequency of the compressor is smaller than the preset frequency threshold), and the program upgrading mode is determined as the interrupt upgrading mode.
When the latest control instruction is a non-shutdown instruction, the air conditioner is in a certain function of operation, such as cooling, heating and the like, that is, the air conditioner is not in a standby state, so that the program upgrading time and the program upgrading mode cannot be simply determined 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 adjustment stage or a stabilization stage and the like, or representing the effect achieved by the operated function, namely the difference between the current effect and a target effect; for example, if the frequency of the compressor is high, the air conditioner is operated at full load or high power, which indicates that the operated function is in the initial stage, and the difference between the current achieved effect and the target effect is large; for example, if the frequency of the compressor is low, the air conditioner is operated at low power, which indicates that the function is in the fine tuning stage or the stabilization stage, and the difference between the current achieved effect and the target effect is small, or the target effect is achieved. Therefore, when the frequency of the compressor is high, if the compressor is stopped to carry out program upgrading, the effect is greatly influenced, and when the frequency of the compressor is low, if the compressor is stopped to carry out program upgrading, the effect is less influenced.
The frequency threshold value can be preset in advance, and can be determined according to the relation between the frequency and the effect in the operation process of the air conditioner, namely when the frequency of the compressor is lower than the frequency threshold value, the difference between the function reached at the current time and the target effect is considered to be small, and the influence on the effect caused by program upgrading during shutdown can be borne.
In the embodiment, the effect achieved by the current time of the running function of 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 program upgrading time is determined when the effect is better, namely the distance from the target effect is shorter, so that the influence on the comfort can be reduced as much as possible; and different from the standby state, the program upgrading mode at the current time is an interrupted upgrading mode, so that the influence of upgrading on comfort can be further reduced.
In some embodiments of the present disclosure, the control instruction, the compressor frequency, and the ambient temperature collected by the main control board of the air conditioner may be obtained as follows, and the program upgrade time and the program upgrade mode 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 the control instructions acquired by a main control board of the air conditioner; next, if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor acquired by a main control board of the air conditioner; next, if the frequency of the compressor is smaller than a preset frequency threshold, acquiring the ambient temperature collected 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 the temperature threshold, determining the current time as the program upgrading time (in this step, the current time refers to the time when the judgment result that the frequency of the compressor is smaller than the preset frequency threshold is obtained), and determining the program upgrading mode as an interruption 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 +1 ℃. 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 ℃, the current time is determined as the program upgrading time; for another example, when the set temperature is 24 ℃ and the temperature threshold is +1 ℃, when the ambient temperature is lower than 25 ℃, the current time is determined as the program upgrade time.
Compared with the foregoing embodiment, in the present embodiment, when the frequency of the compressor is lower than the frequency threshold, the indoor ambient temperature and the set temperature of the air conditioner are further obtained, so that the gap between the current effect and the target effect can be more accurately determined through the dimension of temperature, that is, the influence of program upgrade on comfort is further reduced.
It should be noted that, in the two embodiments, when the latest control instruction is the non-power-off instruction, the frequency of the compressor is obtained to determine the stage of the currently operated function or the effect achieved by the operated function, so that when the latest control instruction is the non-power-off instruction, the generation time of the latest power-on instruction in the control instructions collected by the main control board of the air conditioner can be further obtained; and if the time interval between the generation time of the starting instruction and the current time is greater than a preset time threshold (in the step, the current time refers to the time for acquiring the data of the generation time of the latest starting instruction), acquiring the frequency of the compressor acquired by the main control board of the air conditioner.
This is because, when the air conditioner is started initially and operates a certain function, it takes a certain time to reach the stable stage of the function, or it takes a certain time effect to approach or reach the target effect, so that the compressor is inevitably operated at a high frequency within the certain time, and therefore, the operation of acquiring the frequency of the compressor within the certain time can be omitted, and after the certain time elapses, the operation stage or effect of the function is determined by acquiring the frequency of the compressor. The certain time can be determined by counting the frequency of the compressor and is preset as a time threshold.
The time after the starting instruction is monitored, so that the operation of acquiring the frequency of the compressor within a time threshold is omitted, the operation is simplified, and the load is reduced.
In some embodiments of the present disclosure, in a case that the program upgrading mode is an interrupted upgrading mode, the program file of the latest version may be downloaded to the server according to the program upgrading mode in the following manner: firstly, acquiring the frequency of a compressor acquired by a main control board of an air conditioner, and increasing the acquired frequency of the compressor 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 all the program files of the latest version are completely downloaded, wherein when the air conditioner is in normal operation, the compressor operates according to the target frequency, and when the air conditioner is in standby, the air conditioner sends a second download request to the server, and the second download request is used for downloading the segments of the program files of the latest version.
The latest version of the program file can be divided into a plurality of segments, then one segment is downloaded each time the program file is standby, and the segments are downloaded sequentially during downloading, so that the whole program file can be completely downloaded after standby for many times. For example, the program file is divided into 10 pieces, and then the first piece is downloaded at the first standby time, the second piece is downloaded at the second standby time, the third piece is downloaded at the third standby time, the fourth piece is downloaded at the fourth standby time, the fifth piece is downloaded at the fifth standby time, the sixth piece is downloaded at the sixth standby time, the seventh piece is downloaded at the seventh standby time, the eighth piece is downloaded at the eighth standby time, the ninth piece is downloaded at the ninth standby time, and the tenth piece is downloaded at the tenth standby time, thereby completing the downloading of the entire program file.
During normal operation before standby each time, the operation is carried out according to a target frequency higher than the theoretical compression frequency, so that the environment can be over-adjusted in the normal operation process, namely the effect exceeds the target effect, and the negative effect of shutdown on the effect is counteracted in the subsequent standby upgrading process. For example, when the program is to be upgraded and the target temperature is 25 ℃, during normal operation before standby, the temperature is adjusted to 24 ℃ due to the target frequency operation, and then during subsequent shutdown upgrade, the temperature rises back to 25 ℃ but does not rise immediately, and particularly, the standby upgrade may be completed when the temperature rises to 25 ℃.
In the embodiment, the program file can be sequentially downloaded in a segmented mode through alternate normal operation and standby, and the environment is adjusted before the downloading is stopped every time, so that the effect caused by stopping is offset, the program upgrading is completed under the condition that the comfort is not influenced 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, there is provided a program upgrading apparatus for an air conditioner, referring 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 ambient 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 ambient 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 disclosure, the determining module is 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 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;
the method comprises the steps of obtaining a control instruction, compressor frequency and ambient temperature collected by a main control board of the air conditioner, and determining program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the ambient temperature.
In some embodiments of the present disclosure, the determining module is configured to, when obtaining a control instruction collected by a main control board of an air conditioner and determining a program upgrading time and a program upgrading mode of the air conditioner according to the control instruction, further:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
and 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 upgrading time and a program upgrading mode of the air conditioner according to the control instruction and the compressor frequency, and further configured to:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor acquired by a main control board of the air conditioner;
and if the frequency of the compressor is smaller than a preset frequency threshold value, determining the current time as the program upgrading time, and determining the program upgrading mode as an interrupted 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 when determining a program upgrade time and a program upgrade mode of the air conditioner according to the control instruction, the compressor frequency, and the ambient temperature, the determining module is further configured to:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor 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;
and if the environment temperature is lower than the temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is the interrupted upgrading mode, wherein the temperature threshold is equal to the set temperature or is 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:
acquiring the generation time of the latest starting instruction in the control instructions acquired by the main control panel 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 value, acquiring the frequency of the compressor acquired by a main control board of the air conditioner.
In some embodiments of the disclosure, in a case that the program upgrading mode is a continuous upgrading mode, the downloading 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 disclosure, in a case that the program upgrading mode is an interrupted upgrading 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 all the program files of the latest version are completely downloaded, wherein when the air conditioner is in normal operation, the compressor operates according to the target frequency, and when the air conditioner is in standby, the air conditioner sends a second download request to the server, and the second download request is used for downloading the segments of the program files of the latest version.
In some embodiments of the present disclosure, the system further comprises an execution module for:
after the request is downloaded to the sending server according to the program upgrading mode, the program file of the latest version is verified, and the program file of the latest version is operated under the condition that verification is successful.
In some embodiments of the present disclosure, the determining module is further configured to:
and if an upgrading instruction sent by the server, an upgrading instruction sent by a remote controller or an upgrading instruction sent by terminal equipment running a remote control program matched with the air conditioner is received, acquiring at least one of a control instruction, a compressor frequency and an ambient temperature collected 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 ambient temperature.
In some embodiments of the present disclosure, the system further comprises a reminder module configured to:
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 the air conditioner that the program upgrading is carried out and the control cannot be carried out.
With regard to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs the operation has been described in detail in the first aspect with respect to the embodiment of the method, and will not be elaborated here.
According to a third aspect of the embodiments of the present disclosure, there is provided an air conditioner, the air conditioner comprising a memory and a processor, the memory is used for storing computer instructions executable on the processor, and the processor is used for the program upgrading method of the air conditioner based on the first aspect when executing the computer instructions.
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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A program upgrading method of an air conditioner is characterized by comprising the following steps:
acquiring at least one of a control instruction, compressor frequency and ambient temperature acquired by a main control board of the air conditioner, and determining the program upgrading time and program upgrading mode of the air conditioner according to the control instruction, the compressor frequency and the ambient 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.
2. The program upgrading method of an air conditioner according to claim 1, wherein the obtaining at least one of a control instruction, a compressor frequency and an ambient temperature collected by a main control panel 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 ambient temperature comprises:
acquiring the instruction type of a control instruction acquired 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 at least one of the compressor frequency and the ambient temperature is acquired 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 program upgrading method of the air conditioner according to claim 1, wherein the obtaining of the control instruction collected by the main control panel of the air conditioner and the determining of the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction comprises:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
and 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 program upgrading method of the air conditioner according to claim 1, wherein the obtaining of the control instruction collected by the main control panel of the air conditioner and the determining of the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction comprises:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor acquired by a main control board of the air conditioner;
and if the frequency of the compressor is smaller than a preset frequency threshold value, determining the current time as the program upgrading time, and determining the program upgrading mode as an interrupted upgrading mode.
5. The program upgrading method of the air conditioner according to claim 1, wherein the obtaining of the control instruction collected by the main control panel of the air conditioner and the determining of the program upgrading time and the program upgrading mode of the air conditioner according to the control instruction comprises:
acquiring the latest control instruction in the control instructions acquired by a main control board of the air conditioner;
if the latest control instruction is a non-shutdown instruction, acquiring the frequency of a compressor 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;
and if the environment temperature is lower than the temperature threshold, determining that the current time is the program upgrading time, and determining that the program upgrading mode is the interrupted upgrading mode, wherein the temperature threshold is equal to the set temperature or is higher than the set temperature by a preset temperature difference value.
6. The method for upgrading the program of the air conditioner according to claim 4 or 5, wherein if the latest control command is a non-shutdown command, acquiring the frequency of the compressor collected by a main control panel of the air conditioner comprises:
acquiring the generation time of the latest starting instruction in the control instructions acquired by the main control panel 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 value, acquiring the frequency of the compressor acquired by a main control board of the air conditioner.
7. The program upgrading method of an air conditioner according to claim 1, wherein, in case that the program upgrading mode is a continuous upgrading mode, the downloading of the program file of the latest version to the server in the program upgrading mode comprises:
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 upgrading method of an air conditioner according to claim 1, wherein, in case that the program upgrading mode is a break-in upgrading mode, the downloading a program file of a latest version to a server in the program upgrading mode 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 all the program files of the latest version are completely downloaded, wherein when the air conditioner is in normal operation, the compressor operates according to the target frequency, and when the air conditioner is in standby, the air conditioner sends a second download request to the server, and the second download request is used for downloading the segments of the program files of the latest version.
9. The program upgrading method of an air conditioner according to claim 1, further comprising, after the sending of the download request to the server in the program upgrading manner:
and checking the program file of the latest version, and running the program file of the latest version under the condition of successful checking.
10. The program upgrading method of an air conditioner according to claim 1, wherein the obtaining at least one of a control instruction, a compressor frequency and an ambient temperature collected by a main control panel 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 ambient temperature comprises:
and if an upgrading instruction sent by the server, an upgrading instruction sent by a remote controller or an upgrading instruction sent by terminal equipment running a remote control program of the air conditioner is received, acquiring at least one of a control instruction, a compressor frequency and an ambient temperature collected 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 ambient temperature.
11. The program upgrading method of an air conditioner according to claim 1, wherein in the process of sending a download request to a server according to the program upgrading method, 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 the air conditioner that the program is upgraded and cannot be controlled.
12. A program upgrading apparatus for an air conditioner, comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for acquiring at least one of a control instruction, compressor frequency and ambient temperature acquired by a main control panel 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 ambient 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.
13. The program upgrading apparatus of an air conditioner according to claim 12, wherein the determining module is configured to:
acquiring the instruction type of a control instruction acquired 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 at least one of the compressor frequency and the ambient temperature is acquired 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.
14. An air conditioner, characterized in that the air conditioner comprises a memory for storing computer instructions executable on a processor, and a processor for performing the computer instructions based on the program upgrading method of the air conditioner according to any one of claims 1 to 11.
15. A computer-readable storage medium on which a computer program is stored, characterized in that the program realizes the program upgrading method of the air conditioner according to any one of claims 1 to 11 when executed by a processor.
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 true CN113865043A (en) 2021-12-31
CN113865043B 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)

Cited By (2)

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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007078221A (en) * 2005-09-13 2007-03-29 Daikin Ind Ltd Air conditioning control system
CN101473684A (en) * 2006-06-20 2009-07-01 诺基亚公司 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 珠海格力电器股份有限公司 Upgrade method and apparatus for controller of air-conditioner system
CN106897100A (en) * 2017-02-28 2017-06-27 深圳天珑无线科技有限公司 The method and terminal of a kind of firmware upgrade
CN107957880A (en) * 2017-11-30 2018-04-24 广东美的暖通设备有限公司 Air-conditioning firmware upgrade method, device, air-conditioning and computer equipment
WO2019030896A1 (en) * 2017-08-10 2019-02-14 三菱電機株式会社 Program update method, outdoor unit, and management device
CN109683930A (en) * 2018-12-17 2019-04-26 珠海格力电器股份有限公司 Air-conditioning equipment programme upgrade method, device, system and household appliance
CN110275721A (en) * 2019-06-18 2019-09-24 珠海格力电器股份有限公司 Multi-gang air conditioner and its upgrade method, update device and air-conditioning equipment
JP2019174076A (en) * 2018-03-29 2019-10-10 株式会社富士通ゼネラル Air conditioning system
JP2019178810A (en) * 2018-03-30 2019-10-17 株式会社富士通ゼネラル Air conditioner
CN112283867A (en) * 2020-10-16 2021-01-29 海信(山东)空调有限公司 Air conditioner and upgrading control method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007078221A (en) * 2005-09-13 2007-03-29 Daikin Ind Ltd Air conditioning control system
CN101473684A (en) * 2006-06-20 2009-07-01 诺基亚公司 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 珠海格力电器股份有限公司 Upgrade method and apparatus for controller of air-conditioner system
CN106897100A (en) * 2017-02-28 2017-06-27 深圳天珑无线科技有限公司 The method and terminal of a kind of firmware upgrade
WO2019030896A1 (en) * 2017-08-10 2019-02-14 三菱電機株式会社 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
JP2019174076A (en) * 2018-03-29 2019-10-10 株式会社富士通ゼネラル Air conditioning system
JP2019178810A (en) * 2018-03-30 2019-10-17 株式会社富士通ゼネラル Air conditioner
CN109683930A (en) * 2018-12-17 2019-04-26 珠海格力电器股份有限公司 Air-conditioning equipment programme upgrade method, device, system and household appliance
CN110275721A (en) * 2019-06-18 2019-09-24 珠海格力电器股份有限公司 Multi-gang air conditioner and its upgrade method, update device and air-conditioning equipment
CN112283867A (en) * 2020-10-16 2021-01-29 海信(山东)空调有限公司 Air conditioner and upgrading control method

Cited By (2)

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

Also Published As

Publication number Publication date
CN113865043B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN105162841B (en) Control method and control system of household appliance
CN110659046B (en) Firmware upgrading method, terminal, charging box, earphone and storage medium
KR102107478B1 (en) Monitoring And Managing Processor Activity In Power Save Mode Of Portable Electronic Device And Portable Electronic Device supporting the same
CN109445819B (en) Online upgrade control method of household appliance system and household appliance system
CN106325929B (en) Firmware upgrading method, firmware upgrading device, refrigerator and server
CN110996405B (en) Earphone connection method, terminal, earphone box and computer readable storage medium
JP5710680B2 (en) System and method for reducing factory program time for wireless devices
CN113757950B (en) Program upgrading method and device for air conditioner, air conditioner and storage medium
KR20170115802A (en) Electronic apparatus and IOT Device Controlling Method thereof
CN105020844A (en) Air conditioner and air guide control method thereof
EP4230927A1 (en) Connection and control board for air conditioning system, air conditioning system, and adaptive control method
CN108006903A (en) Control method, air conditioner and the computer-readable recording medium of air conditioner wind deflector
RU2676892C2 (en) Blower noise compensation method and system in a vehicle
CN107015829B (en) Audio system upgrading method and device
CN105430448A (en) Control processing method for video player and video player client
CN105843642A (en) Upgrading method of terminal, terminal upgrading control method, terminal and server
CN113865043B (en) Program upgrading method and device for air conditioner, air conditioner and storage medium
CN109240101B (en) Equipment remote control method and control system
CN111142900A (en) Program updating method and device and terminal equipment
CN113970157A (en) Rotating speed adjusting method and device, electronic equipment and readable storage medium
CN108595193B (en) Firmware updating method of baseboard management controller for fan rotating speed control
CN103235728A (en) Mounting method and device for presetting third party appliances in Android terminal
CN114995845A (en) OTA (over the air) upgrading method and device
EP4184317A1 (en) Upgradable electronic device, server for upgrdading electronic device, and method for upgrading electronic device
CN112735118B (en) Household appliance remote control method and device, infrared device and storage medium

Legal Events

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