[go: up one dir, main page]

CN114440389B - Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium - Google Patents

Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN114440389B
CN114440389B CN202210071096.5A CN202210071096A CN114440389B CN 114440389 B CN114440389 B CN 114440389B CN 202210071096 A CN202210071096 A CN 202210071096A CN 114440389 B CN114440389 B CN 114440389B
Authority
CN
China
Prior art keywords
indoor unit
air conditioner
upgrade
bin
server
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
CN202210071096.5A
Other languages
Chinese (zh)
Other versions
CN114440389A (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.)
Foshan Voyin Technology Co ltd
Guangdong Sanhua Vanadium Technology Co ltd
Original Assignee
Foshan Voyin Technology 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 Foshan Voyin Technology Co ltd filed Critical Foshan Voyin Technology Co ltd
Priority to CN202210071096.5A priority Critical patent/CN114440389B/en
Publication of CN114440389A publication Critical patent/CN114440389A/en
Application granted granted Critical
Publication of CN114440389B publication Critical patent/CN114440389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • 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

Landscapes

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

Abstract

The invention discloses an air conditioner and an upgrading method thereof, a computer device and a computer readable storage medium, wherein the upgrading method comprises the following steps: making an upgrade package and deploying the upgrade package to a server, wherein the upgrade package comprises a father bin file formed by combining a plurality of child bin files, and the child bin files are in one-to-one correspondence with a plurality of running programs; the air conditioner control app of the user terminal respectively acquires a local version and a server version of the parent bin file; after the air conditioner control app determines that the local version is lower than the server version, upgrading prompt information is sent to a user; the user controls the app to send an upgrade instruction to the indoor unit through the air conditioner; the indoor unit is connected with the server to execute the upgrade operation. According to the air conditioner upgrading method, the running programs of all the functional modules to be upgraded of the air conditioner can be upgraded at one time, and compared with the running programs of a plurality of functional modules, the operation is simpler, the upgrading efficiency is higher, and the maintenance efficiency is improved.

Description

Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of air conditioner upgrade technology, and in particular, to an air conditioner, an upgrade method thereof, a computer device, and a computer readable storage medium.
Background
In the related art, it is pointed out that the main indoor machine control program, the outdoor machine control program, the indoor EEPROM (electrically erasable programmable read only memory) parameter, the outdoor EEPROM parameter and so on which need to be frequently updated and maintained are operated in the current air conditioner system.
The existing upgrade operation requires the user to manually execute the upgrade operation for 4 times to upgrade each program respectively. The upgrading method is complicated to use, low in automation degree and poor in user experience. Meanwhile, because the user needs to upgrade for a plurality of times, waiting time is prolonged when the user upgrades.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention aims to provide an air conditioner upgrading method which can improve the upgrading and maintenance efficiency of the air conditioner.
The invention also provides an air conditioner applying the air conditioner upgrading method.
The invention also provides computer equipment.
The invention also proposes a computer readable storage medium.
According to an air conditioner upgrade method of a first aspect of the present invention, the air conditioner includes an indoor unit adapted to communicate with a user terminal, a server, and an outdoor unit, respectively, the indoor unit being adapted to download an upgrade package including running programs of a plurality of functional modules of the indoor unit and the outdoor unit from the server after receiving an upgrade instruction transmitted from the user terminal, the upgrade method comprising the steps of: making an upgrade package and deploying the upgrade package to a server, wherein the upgrade package comprises a father bin file formed by combining a plurality of child bin files, and the child bin files are in one-to-one correspondence with the running programs; the air conditioner control app of the user terminal respectively acquires a local version and a server version of the parent bin file; after the air conditioner control app determines that the local version is lower than the server version, upgrading prompt information is sent to a user; the user controls the app to send an upgrade instruction to the indoor unit through the air conditioner; the indoor unit is connected with the server to execute upgrading operation.
According to the air conditioner upgrading method, the child bin files corresponding to the running programs of the plurality of functional modules of the air conditioner are combined into the parent bin file, so that when the firmware of the air conditioner is upgraded, the running programs of all the functional modules which need to be upgraded can be upgraded at one time.
According to some embodiments of the invention, the plurality of running programs comprises: indoor unit control program, outdoor unit control program, indoor unit EEPROM parameter and outdoor unit EEPROM parameter.
According to some embodiments of the invention, the making of the upgrade package comprises the steps of: adding header information to the parent bin file, wherein the header information comprises: the file size, the starting address, the program name identification and the program upgrading identification of each sub-bin file.
In some embodiments, the indoor unit is connected to the server to perform an upgrade operation, including the steps of: the indoor unit sends a connection request instruction to the server; the server sends a response instruction to the indoor unit and establishes data transmission connection with the indoor unit; and the server transmits an upgrade package to the indoor unit.
According to some embodiments of the invention, the indoor unit is connected to the server to perform an upgrade operation, and further includes the steps of: the indoor unit analyzes the received upgrade package to obtain header information of the father bin file; determining an operation program to be upgraded according to the header information; storing the sub bin files corresponding to the running program to be upgraded into a guide area of a corresponding functional module; and after the upgrade package transmission is completed and the verification is successful, importing the sub-bin files from the guide area to an operation area of the functional module.
In some embodiments, after the upgrade package transmission is completed, the air conditioner upgrade method further includes: acquiring version numbers of running programs of the plurality of updated functional modules; merging the acquired version numbers of the running programs of the plurality of functional modules to generate an overall version number; judging whether the overall version number is consistent with the version number of the server version; if the two types are consistent, the upgrading is completed.
According to a second aspect of the present invention, the air conditioner applies the air conditioner upgrading method according to the first aspect of the present invention, the air conditioner includes an indoor unit and an outdoor unit, and a functional module of the indoor unit includes: the indoor unit MCU module and indoor unit EEPROM, the functional module of off-premises station includes: the indoor unit MCU module is suitable for being respectively communicated with the server and the user terminal, and is suitable for downloading an upgrade package containing running programs of a plurality of functional modules of the indoor unit and the outdoor unit from the server after receiving an upgrade instruction sent by the user terminal, wherein the upgrade package comprises a father bin file combined by a plurality of child bin files, and the child bin files are in one-to-one correspondence with the running programs.
According to the air conditioner, by applying the air conditioner upgrading method, when the firmware of the air conditioner is upgraded, the running programs of all the functional modules which need to be upgraded can be upgraded at one time, and compared with the running programs of a plurality of functional modules which are respectively upgraded, the operation is simpler, the upgrading efficiency is higher, and the maintenance efficiency is improved.
Further, each of the plurality of functional modules includes a boot zone and an operating zone, and the indoor unit MCU module is further adapted to: analyzing the received upgrade package to obtain header information of the father bin file; determining an operation program to be upgraded according to the header information; storing the sub bin files corresponding to the running program to be upgraded into a guide area of a corresponding functional module; after the upgrade package transmission is completed and the verification is successful, the sub-bin files are imported from the guide area to the operation area of the corresponding functional module.
The computer device according to the third aspect of the present invention comprises a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor is adapted to perform the steps of the air conditioner upgrade method according to the first aspect of the present invention.
According to the computer device of the present invention, the processor is included to execute the steps of the air conditioner upgrade method in any of the above embodiments, so that the computer device can realize all the beneficial effects of the air conditioner upgrade method, which is not described herein.
A computer readable storage medium according to a fourth aspect of the present invention, on which an air conditioner upgrade program is stored, which when executed by a processor, implements the steps of the method according to the first aspect of the present invention.
The computer readable storage medium according to the present invention, when the computer program stored thereon is executed by the processor, implements the steps of the air conditioner upgrade method according to any of the above embodiments, so that the computer readable storage medium can implement all the advantages of the air conditioner upgrade method, which will not be described herein.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic diagram of an upgrade method of an air conditioner according to an embodiment of the present invention;
fig. 2 is a partial control flow chart of a specific embodiment of an air conditioner upgrade method shown in fig. 1.
Fig. 3 is a schematic view of an air conditioner according to an embodiment of the present invention;
Fig. 4 is a schematic view of an indoor unit according to an embodiment of the present invention;
fig. 5 is a schematic view of an outdoor unit according to an embodiment of the present invention.
Reference numerals:
Air conditioner 100:
Indoor unit 10, indoor unit MCU module 101, indoor unit EEPROM 102,
The outdoor unit 20, the outdoor unit MCU module 201, the outdoor unit EEPROM 202.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
An upgrading method of an air conditioner according to an embodiment of the first aspect of the present invention will be described with reference to fig. 1 to 5.
As shown in fig. 1, according to an embodiment of the first aspect of the present invention, an air conditioner 100 includes an indoor unit 10 and an outdoor unit 20, wherein the indoor unit 10 is adapted to communicate with a user terminal, a server, and the outdoor unit 20, respectively, and the indoor unit 10 is adapted to download an upgrade package including running programs of a plurality of functional modules of the indoor unit 10 and the outdoor unit 20 from the server after receiving an upgrade instruction transmitted from the user terminal.
When the firmware of each functional module of the indoor unit 10 and the outdoor unit 20 of the air conditioner 100 is updated, the indoor unit 10 is used as a client to perform data transmission with a server, at this time, a plurality of upgrade files corresponding to running programs of a plurality of functional modules of the outdoor unit 20 and the indoor unit 10 may be combined into one upgrade package and deployed to the server, then the combined upgrade package is downloaded from the server to the indoor unit 10, and then the upgrade files of other functional modules, such as the outdoor unit MCU module 201, the outdoor unit EEPROM 202 (charged erasable programmable read only memory), and the indoor unit EEPROM 102, are respectively transmitted to the corresponding functional modules by the indoor unit 10. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud storage, basic cloud computing services such as big data and an artificial intelligence platform.
The upgrading method of the air conditioner of the embodiment comprises the following steps:
S1, making an upgrade package and deploying the upgrade package to a server, wherein the upgrade package comprises a father bin file formed by combining a plurality of child bin files, and the child bin files are in one-to-one correspondence with running programs of a plurality of functional modules of the air conditioner 100;
S2, the air conditioner 100 of the user terminal controls the app to respectively acquire the local version and the server version of the parent bin file
S3, after the air conditioner 100 controls the app to determine that the local version is lower than the server version, upgrade prompt information is sent to the user;
S4, a user controls the app to send an upgrade instruction to the indoor unit 10 through the air conditioner 100;
S5, the indoor unit 10 is connected with the server to execute upgrading operation.
Specifically, the air conditioner 100 system includes a plurality of functional modules, for example, the indoor unit 10 may include: the outdoor unit 20 may include functional modules such as an outdoor unit MCU module 101 and an indoor unit EEPROM 102, and the outdoor unit MCU module 201 and an outdoor unit EEPROM 202. Each function module has a corresponding operation program and/or control parameter, each operation program corresponds to a sub-bin file, when an upgrade package is manufactured, in order to download the operation program of all the function modules to be upgraded of the air conditioner 100 at one time, the sub-bin files corresponding to all the function modules to be upgraded can be combined into a parent bin file by using the PC software, and the parent bin file is manufactured into an upgrade package and deployed to a server, so that the simultaneous transmission of a plurality of upgrade files is realized. Optionally, when the upgrade package is manufactured, only the new version of the sub-bin file corresponding to the functional module to be upgraded may be combined, or the new version of the sub-bin file of the functional module to be upgraded and the old board of the functional module not to be upgraded may be combined, and the program upgrade identifier not to be upgraded may be set for the sub-bin file of the functional module not to be upgraded.
After the upgrade package is uploaded to the server, the server may push an upgrade prompt message including a new version number to the air conditioner 100 control app of the user terminal, or the air conditioner 100 control app may actively query the server for whether a new version of the firmware upgrade program is available at regular time or periodically, and at the same time, the air conditioner 100 control app may communicate with the indoor unit MCU module 101 to obtain a local version of the parent bin file stored in the indoor unit 10. Then, the air conditioner 100 of the user terminal controls the app to compare the local version of the parent bin file with the server version, and when it is determined that the local version is lower than the server version, a prompt message is sent to the user, an upgrade key is displayed on an interactive interface of the app, the user sends an upgrade instruction to the indoor unit 10 by clicking the upgrade key on the app, the indoor unit 10 starts to handshake with the server to establish a data transmission connection after receiving the upgrade instruction sent from the user terminal, and then the server transmits an upgrade package containing the parent bin file to the indoor unit 10.
According to the air conditioner upgrading method provided by the embodiment of the invention, the child bin files corresponding to the running programs of the plurality of functional modules of the air conditioner 100 are combined into one parent bin file, so that when the firmware of the air conditioner 100 is upgraded, the running programs of all the functional modules needing to be upgraded can be upgraded at one time.
According to some embodiments of the invention, the plurality of operating programs includes at least: the indoor unit 10 control program, the outdoor unit 20 control program, the indoor unit EEPROM 102 parameters and the outdoor unit EEPROM 202 parameters, wherein the indoor unit 10 control program may be a control program of the indoor unit 10 indoor unit MCU module 101, for example, the indoor unit MCU module 101, the outdoor unit 20 control program may be a control program of the outdoor unit 20 indoor unit MCU module 101, for example, the outdoor unit MCU module 201, the indoor unit EEPROM 102 parameters are control parameters stored in the indoor unit EEPROM 102 and the outdoor unit EEPROM 202, and the outdoor unit EEPROM 202 parameters are control parameters stored in the outdoor unit EEPROM 202, although the present invention is not limited thereto, and the plurality of operation programs may also include operation programs of other function modules of the air conditioner 100.
In some embodiments, the indoor unit 10 is connected to a server to perform an upgrade operation, including the steps of: the indoor unit 10 sends a request connection instruction to the server, and the server sends a response instruction to the indoor unit 10 and establishes data transmission connection with the indoor unit 10; the server transmits an upgrade package including the parent bin file to the indoor unit 10.
Specifically, after the user starts the indoor unit 10 to perform an upgrade operation, that is, after the indoor unit 10 receives an upgrade instruction, the indoor unit 10 and the server start a handshake, that is, the indoor unit 10 first sends a connection request instruction for data transmission to the server, after the server receives the connection request instruction sent by the indoor unit 10, sends a response instruction to the indoor unit 10, the server establishes a data transmission connection with the indoor unit 10, and then the server transmits an upgrade package including a parent bin file to the indoor unit 10, and the indoor unit 10 may save the upgrade package in a storage space of the indoor unit MCU module 101.
Alternatively, the server and the indoor unit 10 perform data transmission through the xmodem protocol, and it will be understood that, when the server transmits the upgrade packet including the parent bin file to the indoor unit 10, the upgrade packet may be divided into a plurality of data packets for transmission in sequence.
Further, the indoor unit 10 is connected to a server to perform an upgrade operation, including the steps of: the indoor unit 10 analyzes the received upgrade package to obtain header information of the father bin file; determining an operation program to be upgraded according to the header information; storing the sub bin files corresponding to the running programs to be upgraded into the guide areas of the corresponding functional modules; after the transmission of the upgrade package is completed and the verification is completed, the sub-bin file is imported from the boot area to the operation area of the functional module.
Specifically, each functional module may be opened up with a boot area and an operation area, where the boot area is used to temporarily store an upgrade file during an upgrade process, and the operation area is used to provide a storage space for an operation program during an operation process of the functional module. In the transmission process of the upgrade package, the indoor unit 10 analyzes the received data package to obtain header information of the parent bin file, where the header information is added to the header of the parent bin file by the PC software when making the upgrade package, and the header information may include: manufacturer information, a version number, a file size of each sub-bin file, a start address, a program name identifier and a program upgrade identifier, wherein a functional module which needs to be upgraded in a plurality of functional modules of the air conditioner 100 can be determined through a program upgrade identifier field in header information.
For example, if it is determined that the program upgrade identifier of the sub-bin file corresponding to the running program of the indoor unit MCU module 101 expresses a certain upgrade, the sub-bin file is written into the boot area of the indoor unit MCU module 101, if it is determined that the program upgrade identifier of the sub-bin file corresponding to the running program of the indoor unit MCU module 101 expresses no upgrade, the sub-bin file is directly discarded, and then the next sub-bin file writing boot area or discarding judgment and operation are performed, and so on until all the plurality of functional modules corresponding to the plurality of sub-bin files included in the upgrade package are upgraded.
After the complete transmission of the upgrade package, the indoor unit MCU module 101 of the indoor unit 10 may verify all the received data packages, and in case of correct verification, write the sub-bin files in the boot area of each functional module into the operation areas of each functional module, thereby completing the upgrade of each functional module.
In some embodiments, after the upgrade package transmission is completed, the air conditioner upgrade method further includes: acquiring version numbers of running programs of the plurality of updated functional modules; merging the acquired version numbers of the running programs of the functional modules to generate an overall version number; judging whether the overall version number is consistent with the version number of the server version of the upgrade package; if the two types are consistent, the upgrading is completed.
Specifically, after the transmission of the upgrade package is completed, the indoor unit MCU module 101 of the indoor unit 10 communicates with the outdoor unit MCU module 201, the indoor unit EEPROM 102 and the outdoor unit EEPROM 202 respectively, so as to obtain version numbers updated by running programs of each functional module respectively, combine the obtained version numbers to generate a new overall version number, and then determine whether the overall version number is consistent with the version number of the server version of the upgrade package; if the function modules are consistent, the function modules to be upgraded are all updated, if the function modules are inconsistent, the function modules are not updated successfully, and the upgrading can be carried out again.
According to some embodiments of the present invention, it may be appreciated that, to enhance the upgrade experience of the indoor unit 10, a breakpoint resume mechanism may be added to the indoor unit 10. Specifically, in the upgrading process of the indoor unit 10, the control module of the indoor unit 10, that is, the indoor unit MCU module 101 may suspend transmission of the parent bin file as required, until the specific operation is completed, and then continue to perform transmission, for example, after the indoor unit MCU module 101 receives an upgrade instruction sent by the user through the control app of the air conditioner 100, it is first determined whether the air conditioner 100 is in an operating state, if so, the indoor unit MCU module waits for the air conditioner 100 to perform handshake and data transmission with the server after stopping operation, and if so, the indoor unit MCU module may directly perform handshake with the server; or in the transmission process of the upgrade package, when the user regulates and controls the wind speed, the blowing angle, the timing and the operation mode of the air conditioner 100, the indoor unit MCU module 101 waits for the end of the current operation process and then continues to transmit, so that the upgrade package downloading efficiency and the stability of the indoor unit 10 can be improved.
An air conditioner 100 according to an embodiment of the second aspect of the present invention is described below with reference to fig. 1 to 5.
The air conditioner 100 according to the embodiment of the second aspect of the present invention is suitable for applying the air conditioner upgrade method according to the above-described embodiment of the present invention.
Specifically, the air conditioner 100 may include an indoor unit 10 and an outdoor unit 20, and functional modules of the indoor unit 10 include: the indoor unit MCU module 101 and the indoor unit EEPROM 102, and the functional modules of the outdoor unit 20 include: an outdoor unit MCU module 201 and an outdoor unit EEPROM 202.
The indoor unit MCU module 101 is adapted to communicate with a server and a user terminal, respectively, and the indoor unit MCU module 101 is adapted to download an upgrade package including running programs of a plurality of functional modules of the indoor unit 10 and the outdoor unit 20 from the server after receiving an upgrade instruction sent by the user terminal, where the upgrade package includes a parent bin file formed by combining a plurality of child bin files, and the plurality of child bin files are respectively in one-to-one correspondence with the running programs of the plurality of functional modules of the indoor unit MCU module 101, the indoor unit EEPROM 102, the outdoor unit MCU module 201, the outdoor unit EEPROM 202, and the like.
According to the air conditioner 100 of the embodiment of the invention, by applying the air conditioner upgrading method, when the air conditioner 100 is subjected to firmware upgrading, the running programs of all the functional modules to be upgraded can be upgraded at one time, and compared with the running programs of a plurality of functional modules, the air conditioner is simpler to operate, has higher upgrading efficiency and is beneficial to improving maintenance efficiency.
Further, the storage module includes a boot area and an operation area, and the indoor unit MCU module 101 is further adapted to: in the transmission process of the upgrade package, analyzing the upgrade package and acquiring header information of the father bin file; determining an operation program to be upgraded according to the header information; storing the sub-bin files corresponding to the running programs to be upgraded into a guide area; after the upgrade package transmission is completed, the sub-bin files are imported from the boot area to the running area.
Specifically, each of the plurality of functional modules, such as the indoor unit MCU module 101, the indoor unit EEPROM 102, the outdoor unit MCU module 201, and the outdoor unit EEPROM 202, may open up a boot area for temporarily storing an upgrade file during an upgrade process, and an operation area for providing a storage space for an operation program during the operation of the functional modules. In the transmission process of the upgrade package, the indoor unit MCU module 101 analyzes the received data package to obtain header information of the parent bin file, where the header information is added to a header of the parent bin file by PC software when making the upgrade package, and the header information may include: the manufacturer information, version number, file size of each sub-bin file, start address, program name identifier and program upgrade identifier, wherein the functional module needing upgrade operation in the plurality of functional modules of the air conditioner 100 can be determined through the program upgrade identifier field in the header information, and the header information can be reasonably selected and added according to actual needs.
For example, if it is determined that the program upgrade identifier of the sub-bin file corresponding to the running program of the indoor unit MCU module 101 expresses a certain upgrade, the sub-bin file is written into the boot area of the indoor unit MCU module 101, if it is determined that the program upgrade identifier of the sub-bin file corresponding to the running program of the indoor unit MCU module 101 expresses no upgrade, the sub-bin file is directly discarded, and then the next sub-bin file writing boot area or discarding judgment and operation are performed, and so on until all the plurality of functional modules corresponding to the plurality of sub-bin files included in the upgrade package are upgraded.
After the complete transmission of the upgrade package, the indoor unit MCU module 101 of the indoor unit 10 may verify all the received data packages, and in case of correct verification, write the sub-bin files in the boot area of each functional module into the operation areas of each functional module, thereby completing the upgrade of each functional module.
According to some embodiments of the present invention, it may be appreciated that, to enhance the upgrade experience of the indoor unit 10, a breakpoint resume mechanism may be added to the indoor unit 10. Specifically, in the upgrading process of the indoor unit 10, the control module of the indoor unit 10, that is, the indoor unit MCU module 101 may suspend transmission of the parent bin file as required, until the specific operation is completed, and then continue to perform transmission, for example, after the indoor unit MCU module 101 receives an upgrade instruction sent by the user through the control app of the air conditioner 100, it is first determined whether the air conditioner 100 is in an operating state, if so, the indoor unit MCU module waits for the air conditioner 100 to perform handshake and data transmission with the server after stopping operation, and if so, the indoor unit MCU module may directly perform handshake with the server; or in the transmission process of the upgrade package, when the user regulates and controls the wind speed, the blowing angle, the timing and the operation mode of the air conditioner 100, the indoor unit MCU module 101 waits for the end of the current operation process and then continues to transmit, so that the upgrade package downloading efficiency and the stability of the indoor unit 10 can be improved.
A computer device according to an embodiment of the third aspect of the present invention is described below.
The computer device according to the third aspect of the present invention comprises a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor is adapted to perform the steps of the air conditioner upgrade method according to the above-described embodiments of the present invention.
According to the computer device of the present invention, the processor is included to execute the steps of the air conditioner upgrade method in any of the above embodiments, so that the computer device can realize all the beneficial effects of the air conditioner upgrade method, which is not described herein.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention is described below.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention stores thereon an air conditioner 100 upgrade program, which when executed by a processor, implements the steps of the air conditioner upgrade method according to the above-described embodiment of the present invention.
The computer readable storage medium according to the embodiment of the present invention implements the steps of the air conditioner upgrade method according to any of the above embodiments when the computer program stored thereon is executed by the processor, so that the computer readable storage medium can implement all the advantages of the air conditioner upgrade method, which will not be described herein.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; the device can be mechanically connected, electrically connected and communicated; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.

Claims (8)

1. An upgrade method of an air conditioner, wherein the air conditioner includes an indoor unit and an outdoor unit, the indoor unit is adapted to communicate with a user terminal, a server and the outdoor unit, respectively, the indoor unit is adapted to download an upgrade package including running programs of a plurality of functional modules of the indoor unit and the outdoor unit from the server after receiving an upgrade instruction sent by the user terminal, the upgrade method includes the steps of:
Making an upgrade package and deploying the upgrade package to a server, wherein the upgrade package comprises a father bin file formed by combining a plurality of child bin files, and the child bin files are in one-to-one correspondence with the running programs;
The sub-bin files of the new version corresponding to the functional module to be upgraded are combined, or the sub-bin files of the new version of the functional module to be upgraded and the sub-bin files of the old plate of the functional module not to be upgraded can be combined, and program upgrading identifiers not to be upgraded are set for the sub-bin files of the functional module not to be upgraded;
Each functional module has a corresponding running program and/or control parameter, each running program corresponds to a sub-bin file,
The air conditioner control app of the user terminal respectively acquires a local version and a server version of the parent bin file;
after the air conditioner control app determines that the local version is lower than the server version, upgrading prompt information is sent to a user; when an upgrade package is manufactured, only the sub-bin files of the new version corresponding to the functional module to be upgraded are combined, or the sub-bin files of the new version of the functional module to be upgraded and the sub-bin files of the old board of the functional module not to be upgraded are combined;
The user controls the app to send an upgrade instruction to the indoor unit through the air conditioner;
The indoor unit is connected with the server to execute upgrading operation;
The indoor unit is connected with the server to execute upgrade operation, and comprises the following steps:
The indoor unit sends a connection request instruction to the server;
the server sends a response instruction to the indoor unit and establishes data transmission connection with the indoor unit;
The server transmits an upgrade package to the indoor unit;
The method also comprises the following steps: the indoor unit analyzes the received upgrade package to obtain header information of the father bin file;
determining an operation program to be upgraded according to the header information;
storing the sub bin files corresponding to the running program to be upgraded into a guide area of a corresponding functional module;
after the transmission of the upgrade package is completed and the verification is successful, the sub-bin files are imported from the guide area to the operation area of the functional module;
If the program upgrading identification of the sub-bin file corresponding to the running program of the MCU module of the indoor unit is judged to be expressed, the sub-bin file is written into a guide area of the MCU module of the indoor unit, if the program upgrading identification of the sub-bin file corresponding to the running program of the MCU module of the indoor unit is judged to be expressed, the sub-bin file is directly discarded, and then the writing guide area of the next sub-bin file or the judgment and operation of discarding are carried out, and the like, until all the functional modules corresponding to the sub-bin files contained in the upgrading package are upgraded.
2. The air conditioner upgrade method according to claim 1, wherein the plurality of the operation programs include: indoor unit control program, outdoor unit control program, indoor unit EEPROM parameter and outdoor unit EEPROM parameter.
3. The method for upgrading an air conditioner according to claim 1, wherein the making of the upgrade package comprises the steps of:
adding header information to the parent bin file, wherein the header information comprises: the file size, the starting address, the program name identification and the program upgrading identification of each sub-bin file.
4. The air conditioner upgrade method according to claim 3, wherein after the upgrade package transmission is completed, the air conditioner upgrade method further comprises:
Acquiring version numbers of running programs of the plurality of updated functional modules;
merging the acquired version numbers of the running programs of the plurality of functional modules to generate an overall version number;
judging whether the overall version number is consistent with the version number of the server version;
If the two types are consistent, the upgrading is completed.
5. An air conditioner, wherein the air conditioner applies the air conditioner upgrading method according to any one of claims 1-4, the air conditioner comprises an indoor unit and an outdoor unit, and a functional module of the indoor unit comprises: the indoor unit MCU module and indoor unit EEPROM, the functional module of off-premises station includes: an outdoor unit MCU module and an outdoor unit EEPROM,
The indoor unit MCU module is suitable for being respectively communicated with the server and the user terminal, the indoor unit MCU module is suitable for downloading an upgrade package containing running programs of a plurality of functional modules of the indoor unit and the outdoor unit from the server after receiving an upgrade instruction sent by the user terminal, the upgrade package comprises a father bin file formed by combining a plurality of son bin files, and the son bin files are in one-to-one correspondence with the running programs.
6. The air conditioner of claim 5, wherein each of the plurality of functional modules includes a guide area and an operation area, the indoor unit MCU module further adapted to:
Analyzing the received upgrade package to obtain header information of the father bin file;
determining an operation program to be upgraded according to the header information;
storing the sub bin files corresponding to the running program to be upgraded into a guide area of a corresponding functional module;
after the upgrade package transmission is completed and the verification is successful, the sub-bin files are imported from the guide area to the operation area of the corresponding functional module.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor is adapted to perform the steps of the air conditioner upgrade method of any one of claims 1-4.
8. A computer readable storage medium, wherein an air conditioner upgrade program is stored on the readable storage medium, which when executed by a processor, implements the steps of the method according to any one of claims 1-4.
CN202210071096.5A 2022-01-21 2022-01-21 Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium Active CN114440389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210071096.5A CN114440389B (en) 2022-01-21 2022-01-21 Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210071096.5A CN114440389B (en) 2022-01-21 2022-01-21 Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114440389A CN114440389A (en) 2022-05-06
CN114440389B true CN114440389B (en) 2024-07-19

Family

ID=81367967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210071096.5A Active CN114440389B (en) 2022-01-21 2022-01-21 Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114440389B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115077063B (en) * 2022-06-21 2024-06-11 北京小米移动软件有限公司 Program acquisition method, program acquisition device, electronic equipment and storage medium
CN115277276B (en) * 2022-06-27 2024-08-13 北京小米移动软件有限公司 Program upgrading method and device for air conditioner, air conditioning system and storage medium
CN115567390A (en) * 2022-09-26 2023-01-03 北京朝歌数码科技股份有限公司 Method and device for upgrading power line carrier communication equipment
CN116358138A (en) * 2023-04-03 2023-06-30 海信空调有限公司 Air conditioner and personalized customization system of air conditioner

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889481A (en) * 2005-06-30 2007-01-03 乐金电子(天津)电器有限公司 Air conditioner system capable of utilizing Internet to conduct to conduct software staging and operating method thereof
WO2016082547A1 (en) * 2014-11-25 2016-06-02 中兴通讯股份有限公司 Upgrade file manufacturing method and apparatus and upgrade file acquiring method and apparatus
CN105786542A (en) * 2014-12-26 2016-07-20 乐视致新电子科技(天津)有限公司 Intelligent device and system update method of the intelligent device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101426710B1 (en) * 2006-07-14 2014-09-23 삼성전자주식회사 Apparatus and method for updating version information of a mobile terminal
CN102567049B (en) * 2011-12-09 2016-06-22 惠州市德赛西威汽车电子股份有限公司 The upgrade method of embedded OS
CN106909429A (en) * 2017-04-05 2017-06-30 微鲸科技有限公司 A kind of synchronous upgrade method and device
CN113932383A (en) * 2020-07-13 2022-01-14 海信(山东)空调有限公司 Air conditioner and upgrading method
CN111796853A (en) * 2020-07-16 2020-10-20 深圳市千分一智能技术有限公司 Firmware upgrade method, system, device and computer storage medium
CN113865024B (en) * 2021-09-27 2023-02-10 青岛海信日立空调系统有限公司 Remote upgrading system for central air conditioner

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889481A (en) * 2005-06-30 2007-01-03 乐金电子(天津)电器有限公司 Air conditioner system capable of utilizing Internet to conduct to conduct software staging and operating method thereof
WO2016082547A1 (en) * 2014-11-25 2016-06-02 中兴通讯股份有限公司 Upgrade file manufacturing method and apparatus and upgrade file acquiring method and apparatus
CN105786542A (en) * 2014-12-26 2016-07-20 乐视致新电子科技(天津)有限公司 Intelligent device and system update method of the intelligent device

Also Published As

Publication number Publication date
CN114440389A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN114440389B (en) Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium
CN109460245B (en) Remote upgrading method for embedded system
CN101241364B (en) Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system
CN105591824A (en) Method and system for firmware upgrade
CN109842523A (en) A kind of firmware upgrade method, device, equipment and storage medium
CN114745740B (en) Intelligent household appliance upgrading system and method
CN110597539A (en) Electric energy meter upgrading method, system and storage medium
CN110262820A (en) Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading
CN111769962A (en) MCU firmware OTA upgrading method
CN111998510B (en) Air conditioner and control method thereof
CN112104501A (en) Remote software upgrading method for agricultural machinery subsoiling Internet of things terminal equipment
CN112698857A (en) Data flashing method and device
CN106453629B (en) A kind of automobile electronic system remote update system and its method based on mobile network
CN118981330A (en) A device firmware upgrade method, system, terminal and storage medium
CN109358872A (en) Remote firmware updating method, device and computer readable storage medium
CN112035129A (en) Method and device for driver installation and upgrade and computer equipment
CN114884935A (en) Data upgrading method and device, electronic equipment and storage medium
CN113791800A (en) Automatic parking control module remote upgrading method and system and automobile
CN113553083A (en) Program upgrading method and device for air conditioning system, air conditioning system and storage medium
CN110149389B (en) Data transmission control method and system of holographic display device
CN115334358B (en) Fusion gateway automation software remanufacturing method and storage medium
CN112464090A (en) Electronic price tag information updating method, electronic price tag and computer readable storage medium
CN112732307B (en) Firmware upgrading method, system and device for SSDs with different capacities
CN110730168B (en) Communication control method and device and server equipment
CN109889368A (en) A GPRS remote upgrade method based on STM32 controller

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240906

Address after: Room 401, 4th Floor, Comprehensive Building B, No. 3 Shuxiang East Road, Fengsha Village, Daliang Street, Shunde District, Foshan City, Guangdong Province, 528000

Patentee after: Foshan voyin Technology Co.,Ltd.

Country or region after: China

Patentee after: Guangdong Sanhua Vanadium Technology Co.,Ltd.

Address before: 528000 room 409, 4th floor, complex building, block B, No. 3, Shuxiang East Road, fengsha village, Daliang street, Shunde District, Foshan City, Guangdong Province (residence declaration)

Patentee before: Foshan voyin Technology Co.,Ltd.

Country or region before: China