CN109683930B - Air conditioning equipment program upgrading method, device and system and household electrical appliance - Google Patents

Air conditioning equipment program upgrading method, device and system and household electrical appliance Download PDF

Info

Publication number
CN109683930B
CN109683930B CN201811543902.4A CN201811543902A CN109683930B CN 109683930 B CN109683930 B CN 109683930B CN 201811543902 A CN201811543902 A CN 201811543902A CN 109683930 B CN109683930 B CN 109683930B
Authority
CN
China
Prior art keywords
upgrading
file
upgrade
communication module
files
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
CN201811543902.4A
Other languages
Chinese (zh)
Other versions
CN109683930A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811543902.4A priority Critical patent/CN109683930B/en
Publication of CN109683930A publication Critical patent/CN109683930A/en
Application granted granted Critical
Publication of CN109683930B publication Critical patent/CN109683930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a method, a device and a system for upgrading air conditioning equipment programs and household electrical appliances. The method comprises the following steps: obtaining an upgrade file; dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with air conditioning equipment; acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module; and sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading. By adopting the method, the flow cost of data transmission can be saved, the conditions of abnormal data transmission and the like caused by a larger upgrade file can be avoided, and the success rate of upgrading the program of the air conditioner equipment is improved.

Description

Air conditioning equipment program upgrading method, device and system and household electrical appliance
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a method, an apparatus, a system, a home appliance, a computer device, and a storage medium for upgrading an air conditioner program.
Background
At present, air conditioners become indispensable household appliances in modern life, and along with the gradual increase of the updating speed of air conditioner products, the upgrading and maintenance of air conditioner equipment programs become important.
In a traditional air conditioning equipment program upgrading method, a cloud server is usually adopted to store an upgrading program, and when the air conditioning equipment program needs to be upgraded, an upgrading file is sent to the air conditioning equipment by the cloud server, so that the air conditioning equipment program is upgraded remotely.
However, when the conventional method for upgrading the air conditioning equipment program is adopted, upgrading failure caused by midway disconnection due to slow data transmission and long transmission time often occurs.
Therefore, the conventional air conditioner program upgrading method has a problem of upgrading to low power.
Disclosure of Invention
Accordingly, there is a need for an air conditioner program upgrading method, which can solve the above technical problems reasonably, and provide an air conditioner program upgrading method, an air conditioner program upgrading apparatus, an air conditioner program upgrading system, a home appliance, a computer device, and a storage medium.
An air conditioning equipment program upgrading method comprises the following steps:
obtaining an upgrade file;
dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with air conditioning equipment;
acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module;
and sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading.
In one embodiment, the dividing the upgrade file into a plurality of upgrade subfiles according to a predetermined rule includes:
acquiring the data type of the upgrade file;
merging the upgrading files with the same data type to obtain the same type of upgrading files;
and according to the data volume of the same type of upgrading file, performing equal data volume division on the same type of upgrading file to obtain a plurality of upgrading sub-files.
In one embodiment, after obtaining the upgrade files of the same type, the method further includes:
verifying the same kind of upgrading files to obtain a first verification code; the first check code is used for checking the air conditioning equipment, and after the checking is successful, the like upgrading files are combined to obtain the upgrading file and then the program is upgraded;
verifying the upgrading sub-file with the same data volume to obtain a second verification code; and the second check code is used for checking the target communication module and for checking the air conditioning equipment after the checking is successful, so that the air conditioning equipment combines the upgrading sub-files after the checking of the upgrading sub-files is successful, and the similar upgrading files are obtained.
In one embodiment, the obtaining the communication capability value of the available communication module includes:
acquiring the signal intensity and/or busyness of the available communication module;
and determining the communication capacity value according to the signal intensity and/or the busyness.
In one embodiment, the determining the communication capability value according to the signal strength and/or the busyness includes:
calculating the ratio of the signal intensity to the busyness degree to obtain the communication capacity value;
or, acquiring a weight ratio of the signal strength to the busyness;
calculating the product of the signal intensity and the busyness degree and the weight ratio to obtain a first product value and a second product value;
and calculating the sum of the first product value and the second product value to obtain the communication capacity value.
In one embodiment, the method further comprises:
calculating the sum of the communication capacity values of the available communication modules to obtain a communication capacity sum value a;
the matching the module number and the communication capacity value with the file number of the upgrading sub-file to determine a target communication module comprises:
determining the number of files of the upgrading subfile as b;
comparing the file quantity b with the communication capacity and the value a;
and when b is larger than or equal to a, determining the available communication module as the target communication module.
In one embodiment, the matching the number of modules and the communication capability value with the number of files of the upgrade subfile to determine a target communication module includes:
when b is less than a, sorting the available communication modules according to the communication capacity value;
calculating the sum of the communication capacity values of n available communication modules before sequencing to obtain a capacity value sum c; n is more than or equal to 1;
and when c is larger than or equal to b, determining the top n available communication modules in the sequence as the target communication modules.
In one embodiment, the sending the upgrade subfile to the air conditioning equipment through the target communication module includes:
and sending the upgrading sub-file to the target communication module in proportion according to the communication capacity value of the target communication module and the number of the files, so that the target communication module sends the received upgrading sub-file to the air conditioning equipment.
In one embodiment, the dividing the upgrade file into a plurality of upgrade subfiles according to a predetermined rule includes:
dividing the upgrade file into a plurality of upgrade sub-files according to the data volume;
the step of sending the upgrading sub-files to the target communication module according to the communication capacity value of the target communication module and the number of the files in proportion comprises the following steps:
determining the number of modules of the target communication module;
dividing the upgrading subfiles according to the number of the modules to obtain grouping subfiles; the number of file groups of the grouping subfile is matched with the number of modules;
determining the file quantity of upgrading subfiles in the grouping subfiles; the number of the files is matched with the communication capacity value;
and sending the grouped upgrading sub-files to the target communication module corresponding to the grouping.
In one embodiment, the number of the upgrading sub-file is b, and the communication capability value of the target communication module is anThe sending the upgrade subfile to the target communication module in proportion comprises:
when b is less than or equal to ∑ anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1;
sending the nth group of upgrading subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an
In one embodiment, the sending the upgrade subfile to the target communication module in proportion includes:
when b is>∑anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1;
sending the nth group of upgrading subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an
And respectively sending the rest of the upgrading sub-files to the target communication module according to the communication capacity value of the target communication module.
In one embodiment, the method comprises:
receiving an upgrading sub-file of a server; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is obtained by dividing the upgrading file into a plurality of parts by the server according to a preset rule;
according to the second check code, checking the upgrading sub-file;
and when the upgrade subfile is successfully verified, sending the upgrade subfile to air-conditioning equipment so that the air-conditioning equipment finishes program upgrade.
In one embodiment, the method comprises:
receiving an upgrading sub-file of the communication module; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is successfully verified by the communication module;
when the upgrading sub-file is successfully verified according to the second check code, merging the upgrading sub-file to obtain the same kind of upgrading file; the same kind of upgrading file comprises a first check code;
when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files;
and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
An air conditioning equipment program upgrade apparatus, the apparatus comprising:
the file acquisition module is used for acquiring the upgrade file;
the subfile acquisition module is used for dividing the upgrading file into a plurality of upgrading subfiles according to a preset rule and acquiring an available communication module connected with the air conditioning equipment;
the file matching module is used for acquiring the number of the modules of the available communication modules and the communication capacity value, matching the number of the modules and the communication capacity value with the number of the files of the upgrading sub-file and determining a target communication module;
and the file sending module is used for sending the upgrading sub-file to the air conditioning equipment through the target communication module so as to enable the air conditioning equipment to finish program upgrading.
An air conditioning equipment program upgrade apparatus, the apparatus comprising:
the file receiving module is used for receiving the upgrading sub-file of the server; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is obtained by dividing the upgrading file into a plurality of parts by the server according to a preset rule;
the file checking module is used for checking the upgrading sub-file according to the second check code;
and the subfile sending module is used for sending the upgrading subfile to the air-conditioning equipment when the upgrading subfile is successfully verified so as to enable the air-conditioning equipment to finish program upgrading.
An air conditioning equipment program upgrade apparatus, the apparatus comprising:
the subfile receiving module is used for receiving the upgrading subfile of the communication module; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is successfully verified by the communication module;
the same-class file acquisition module is used for merging the upgrading sub-files to obtain the same-class upgrading files when the upgrading sub-files are successfully verified according to the second verification codes; the same kind of upgrading file comprises a first check code;
the upgrade file acquisition module is used for merging the same type of upgrade files to obtain upgrade files when the same type of upgrade files are successfully verified according to the first verification code;
and the equipment program upgrading module is used for executing the upgrading operation of the air conditioning equipment program according to the upgrading file.
An air conditioning unit program upgrade system, the system comprising:
the system comprises a server, a communication module and air conditioning equipment;
the server is used for dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule after the upgrade file is obtained, and obtaining an available communication module connected with the air conditioning equipment; matching the number of modules and the communication capacity value with the number of files of the upgrading sub-file by acquiring the number of modules and the communication capacity value of the available communication modules to determine a target communication module; sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading;
the communication module is used for receiving the upgrading subfile of the server; the upgrading subfile comprises a second check code; verifying the upgrading sub-file according to the second verification code; when the upgrade subfile is successfully verified, sending the upgrade subfile to air-conditioning equipment so that the air-conditioning equipment finishes program upgrade;
the air conditioning equipment is used for receiving the upgrading sub-file of the communication module; the upgrading subfile comprises a second check code; when the upgrading sub-file is successfully verified according to the second check code, merging the upgrading sub-file to obtain the same kind of upgrading file; the same kind of upgrading file comprises a first check code; when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files; and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
An appliance comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of:
receiving an upgrading sub-file of the communication module; the upgrading subfile comprises a second check code;
when the upgrading sub-file is successfully verified according to the second check code, merging the upgrading sub-file to obtain the same kind of upgrading file; the same kind of upgrading file comprises a first check code;
when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files; and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
obtaining an upgrade file;
dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with air conditioning equipment;
acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module;
and sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
obtaining an upgrade file;
dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with air conditioning equipment;
acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module;
and sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading.
According to the air conditioning equipment program upgrading method, device, system, household appliance equipment, computer equipment and storage medium, the server firstly divides the upgrading file into a plurality of parts by obtaining the upgrading file to obtain the upgrading subfile and obtains the available communication module; then, the number of modules and the communication capacity value of the available communication modules are obtained, so that the number of the modules and the communication capacity value can be matched with the number of the files, and a target communication module is determined; and finally, the upgrading sub-file is sent to the target communication module for the target communication module to check the upgrading sub-file, the checked upgrading sub-file without errors is forwarded to the air conditioning equipment, and the air conditioning equipment is continuously used for checking, combining and upgrading the upgrading sub-file. By adopting the method, the upgrade file is divided, and the matched target communication module is utilized to check the upgrade subfile, so that the data scale of a transmission bus is reduced, the flow cost is saved, the conditions of abnormal data transmission and the like caused by the larger upgrade file are avoided, and the success rate of upgrading the program of the air-conditioning equipment is improved.
Drawings
FIG. 1 is a diagram illustrating an application environment of a program upgrading method for an air conditioner according to an embodiment;
FIG. 2 is a flow chart illustrating a method for upgrading a program of an air conditioning apparatus according to an embodiment;
FIG. 3 is a block diagram showing the configuration of an air conditioner program upgrading apparatus according to an embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that, in the embodiments of the present invention, the term "first \ second" merely distinguishes similar objects and does not represent a specific ordering of the objects, and it should be understood that "first \ second" may be interchanged with a specific order or sequence, where the case allows. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that embodiments of the invention described herein may be practiced in sequences other than those illustrated or described herein.
The air conditioning equipment program upgrading method provided by the invention can be applied to the application environment shown in figure 1. The air-conditioning management system may include a server 102, a communication module 104, and an air-conditioning device 106.
The communication module 104 may be directly deployed in a GSM (Global System For Mobile communications, GSM) network, UMTS (Universal Mobile Telecommunications System, UMTS) network, or L TE (L on terminal resolution, L TE) network, and has the characteristics of low power consumption, reliable communication, low cost, and random deployment in any area with or without a public network, the air conditioning equipment 106 may be air conditioning equipment 106 of a single-control or joint-control air conditioner, or may be an air conditioning cluster controller, and the air conditioning equipment 106 may be used to perform upgrade processing and verification processing on the upgrade subfiles transmitted by the communication module 104, and merge the upgrade subfiles with the upgrade subfiles and the verification processing on the upgrade subfiles, and perform communication with the air conditioning equipment 106.
In an actual application scenario, when a program of the air-conditioning equipment 106 is upgraded, the upgrade success rate of the program of the air-conditioning equipment 106 is often reduced due to the situations that the communication quality between the server 102 and the air-conditioning equipment 106 is poor, or data transmission is abnormal due to a large upgrade file, and the like, so that the device program upgrading method in the prior art has the problem of low upgrade success rate.
In one embodiment, as shown in fig. 2, an air conditioner program upgrading method is provided, which is described by taking the method as an example applied to the server 102 in fig. 1, and includes the following steps:
step S210, obtaining an upgrade file.
The upgrade file is a file used to replace an old version of the program file of the air conditioning equipment 106, and the upgrade file may be a code file edited by a computer language and having a logic control instruction, for example, a programming file of a programmer or a single chip microcomputer.
In a specific implementation, before upgrading a program of the air-conditioning equipment 106, a technician first uploads an upgrade file to the server 102, the server 102 analyzes the upgrade file, then sends an upgrade subfile to the communication module 104, the communication module 104 verifies the file, and forwards the file to the air-conditioning equipment 106, so that the air-conditioning equipment 106 merges the upgrade subfile to upgrade the program of the air-conditioning equipment 106.
For example, the air conditioner 106 receives an upgrade file transmitted from a certain terminal by the server 102 before acquiring a program upgrade instruction.
Of course, a person skilled in the art may obtain the upgrade file in other manners, for example, the server 102 may establish a communication connection with other servers, and obtain the upgrade file from other server sides, so that, as can be seen, there may be a variety of manners for obtaining the upgrade file, and the specific manner for obtaining the upgrade file is not limited in the embodiment of the present application.
Step S220, dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with the air conditioning equipment.
The upgrading subfile is a subfile obtained by carrying out file type classification processing and data volume division on the upgrading file, and the upgrading subfile has the characteristics of small memory occupation, high transmission speed, flow saving transmission and the like. The communication module 104 is a module for transmitting and checking the upgrade sub-file, the communication module 104 may be an NBIOT module using an NBIOT technology, and the checking mode of the communication module 104 may be crc (cyclic Redundancy check) checking. The available communication module refers to the communication module 104 which is online and can be used for transmitting files in the communication module 104.
In a specific implementation, after the server 102 obtains the upgrade file, the upgrade file is analyzed, that is, the upgrade file is divided into a plurality of upgrade subfiles according to a predetermined rule. Meanwhile, after the server 102 obtains the upgrade file, an available communication module connected to the air conditioner 106 is obtained, where the available communication module is the communication module 104 that is online in the communication module 104 and can provide normal file transmission.
And step S230, acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module.
The number of modules refers to the number of available communication modules, for example, 1, 2, and 3. The communication capability value refers to the number of files that can be verified and transmitted by the communication module 104 for the upgrade subfile, for example, if the communication capability value is 3, 2 unit number of upgrade subfiles can be verified and transmitted. The number of files refers to the number of files, for example, 1, 2, 3.
In a specific implementation, after the server 102 obtains the upgrade file and divides the upgrade file to obtain the upgrade subfile, the available communication module is continuously obtained, where the obtaining of the available communication module needs to consider the online state of the communication module 104, that is, the available communication module refers to the communication module 104 that is online and can provide normal file transmission capability. Further, to determine the target communication module, not only the number of files of the upgrade subfile but also the number of modules and the communication capability value of the available communication modules need to be known. Because the communication capability values of the available communication modules may be different, after the server 102 obtains the number of files of the upgrade subfile, the server obtains the available communication module with the communication capability value matched with the communication capability value based on the verification principle that the number of files is satisfied, and the obtained available communication module is used as a target communication module for transmitting and verifying the upgrade subfile.
For example, the number of files of the upgrade subfile is 20, there are currently available communication modules with a module number of 3, and the communication capability values are 7, 5, and 10, respectively, then the target communication module may be an available communication module with a communication capability value of 7, 5, and 10, respectively.
Step S240, sending the upgrade subfile to the air conditioning equipment through the target communication module, so that the air conditioning equipment completes program upgrade.
In a specific implementation, after the server 102 determines the target communication module, the server sends the upgrade subfiles of the corresponding number of files to the target communication module according to the communication capability value of the target communication module, so that the target communication module checks the received upgrade subfiles, and forwards the upgrade subfiles to the air conditioning equipment 106 after checking that the upgrade subfiles are correct, so that the air conditioning equipment 106 further checks the upgrade subfiles and performs program upgrade.
For example, when the number of files of the upgrade subfile obtained by the server 102 is 20, and the target communication module is the communication module 104 with communication capability values of 3, 7, and 10, respectively, 3 of the 20 upgrade subfiles are sent to the target communication module with communication capability value of 3, 7 upgrade subfiles are sent to the target communication module with communication capability value of 7, and 10 upgrade subfiles are sent to the target communication module with communication capability value of 10, so that the upgrade subfiles are sent to the target communication module, and forwarded to the air conditioner 106 by the target communication module.
In the method for upgrading the air conditioning equipment program, the server firstly divides the upgrade file into a plurality of parts by acquiring the upgrade file to obtain an upgrade subfile and acquires an available communication module; then, the number of modules and the communication capacity value of the available communication modules are obtained, so that the number of the modules and the communication capacity value can be matched with the number of the files, and a target communication module is determined; and finally, the upgrading sub-file is sent to the target communication module, so that the target communication module forwards the upgrading sub-file to the air-conditioning equipment, and the air-conditioning equipment utilizes the upgrading sub-file to carry out program upgrading treatment. By adopting the method, the upgrade files are divided, and the matched target communication modules are utilized to respectively transmit the upgrade subfiles, so that the data scale of a transmission bus is reduced, the flow cost is saved, the conditions of abnormal data transmission and the like caused by the larger upgrade files are avoided, and the success rate of upgrading programs of the air-conditioning equipment is improved.
In one embodiment, the step S220 includes:
acquiring the data type of the upgrade file; merging the upgrading files with the same data type to obtain the same type of upgrading files; and according to the data volume of the same type of upgrading file, performing equal data volume division on the same type of upgrading file to obtain a plurality of upgrading sub-files.
The data type refers to the type of data contained in the upgrade file. The same-class upgrading file refers to a file formed by combining a plurality of upgrading files with the same data type. The data size refers to the data size of the file, for example, 10KB, 10M.
In specific implementation, after the server 102 obtains the upgrade file, the upgrade file is analyzed, that is, the upgrade file is classified by using the data type as a standard, the upgrade file is merged according to the data type to obtain a plurality of upgrade files of the same type, and then the upgrade files are divided according to the data amount of the file to obtain a plurality of upgrade subfiles.
For example, the upgrade files include different types of upgrade files such as "data records", "address segment records", that is, the upgrade files of different types are classified and combined to obtain a group of similar upgrade files with a file type of "data records" and another group of similar upgrade files with a file type of "address segment records", and then the similar upgrade files are divided into a plurality of upgrade subfiles with a data size of 500KB based on 500 KB. If the upgrade file acquired by the server 102 is a Hex (16-ary) file, the fourth byte of the Hex file represents a data type, the data type includes "0 x00, 0x01, 0x02, 0x03, 0x04, and 0x 05", where "00" represents a data record, "03" represents a start segment address record, and "05" represents a start linear address record, and the server 102 classifies the upgrade file according to the data type to obtain similar upgrade files of different types. Further, in order to reduce the size of the upgrade file, the server 102 divides each similar upgrade file based on a specific data size to obtain an upgrade subfile with a relatively small data size.
In an embodiment, after obtaining the upgrade files of the same type, the method further includes:
verifying the same kind of upgrading files to obtain a first verification code; the first check code is used for checking the air conditioning equipment, and after the checking is successful, the like upgrading files are combined to obtain the upgrading file and then the program is upgraded; verifying the upgrading sub-file with the same data volume to obtain a second verification code; and the second check code is used for checking the target communication module and for checking the air conditioning equipment after the checking is successful, so that the air conditioning equipment combines the upgrading sub-files after the checking of the upgrading sub-files is successful, and the similar upgrading files are obtained.
In a specific implementation, after the server 102 performs data type division on the upgrade file to obtain the same type of upgrade file, the same type of upgrade file is verified to obtain the first verification code. Then, the server 102 checks the upgrade subfiles obtained by dividing the same data volume of the same type of upgrade files to further obtain the second check codes, and therefore the upgrade subfiles sent by the server 102 to the target communication module include the first check codes and the second check codes. After receiving the upgrade subfile, the target communication module also needs to perform file verification, that is, verify whether the upgrade subfile is correct by using the second verification code, and send the upgrade subfile to the air conditioning equipment 106 when the upgrade subfile is intact. After receiving the upgrade subfile, the air conditioning equipment 106 also uses the second check code to check the upgrade subfile, merges the upgrade subfile after the check result is successful to obtain the same kind of upgrade file, and merges and restores the upgrade file into the upgrade file for program upgrade after continuing to use the first check code to check the same kind of upgrade file successfully.
In one embodiment, the step S230 includes:
acquiring the signal intensity and/or busyness of the available communication module; and determining the communication capacity value according to the signal intensity and/or the busyness.
The signal strength refers to a network signal strength of the communication module 104, and the signal strength determines the communication quality of the communication module 104, that is, the signal strength of the communication module 104 may vary with the network coverage, for example, 1, 3, and 5. The busy level indicates an operation state of the communication module 104, and the busy level of the communication module 104 during operation is higher than that during standby, for example, 2, 4, and 6.
In a specific implementation, after the server 102 obtains the upgrade subfile divided by the upgrade file and the available communication module, the server obtains the communication capability value of the available communication module. The communication capacity value of the available communication module is obtained by obtaining the signal strength and/or the busyness of the available communication module, and the communication capacity value of the available communication module can be obtained by calculating according to the signal strength and/or the busyness of the available communication module.
For example, if the server 102 acquires an available communication module with a signal strength of 3 and a busyness of 5, the communication capability value may be calculated according to the signal strength of 3 and/or the busyness of 5.
In one embodiment, the determining the communication capability value according to the signal strength and/or the busyness includes: calculating the ratio of the signal intensity to the busyness degree to obtain the communication capacity value; or, acquiring a weight ratio of the signal strength to the busyness; calculating the product of the signal intensity and the busyness degree and the weight ratio to obtain a first product value and a second product value; and calculating the sum of the first product value and the second product value to obtain the communication capacity value.
The weight ratio is mathematically given different scale factors in order to show how important a number of numbers have in the total amount. The first product value is a product of the signal strength and a signal strength weight ratio. The second product value is a product value of the busy level and the busy level weight ratio.
In specific implementation, the communication capacity value may be determined by calculating the signal strength and/or busyness, and may be a first calculation method: calculating the ratio of the signal strength to the busyness degree to obtain the communication capacity value, namely, taking the signal strength as a numerator and the busyness degree as a denominator, and calculating the ratio to obtain the communication capacity value; the second calculation method may also be: respectively obtaining a signal strength weight ratio and a busyness weight ratio, calculating the product of the signal strength and the signal strength weight ratio to obtain a first product value, calculating the product of the busyness and the busyness weight ratio to obtain a second product value, and further calculating the sum of the first product value and the second product value to obtain the communication capacity value.
For example, if the signal strength of a certain available communication module is 5, the busyness is 5, the signal strength weight ratio is 0.4, and the busyness weight ratio is 0.6, the first product value is calculated to be 2, the second product value is calculated to be 3, and the communication capability value is 5.
In one embodiment, further comprising:
calculating the sum of the communication capacity values of the available communication modules to obtain a communication capacity sum value a; the matching the module number and the communication capacity value with the file number of the upgrading sub-file to determine a target communication module comprises: determining the number of files of the upgrading subfile as b; comparing the file quantity b with the communication capacity and the value a; and when b is larger than or equal to a, determining the available communication module as the target communication module.
The sum of the communication capability values a refers to the sum of the communication capability values of all available communication modules, for example, 20, 40, and 60.
In the specific implementation, if the sum of the communication capacity values of all the available communication modules cannot meet the number of the upgrade sub-files to be transmitted, all the available communication modules are used as the target communication modules.
For example, if the number of files in the upgrade subfile is 20, the communication capability values of 2 available communication modules are 5 and 7, respectively, and the sum of the communication capability values is 12, all the 2 available communication modules are used as the target communication module.
In one embodiment, the step S230 includes:
when b is less than a, sorting the available communication modules according to the communication capacity value; calculating the sum of the communication capacity values of n available communication modules before sequencing to obtain a capacity value sum c; n is more than or equal to 1; and when c is larger than or equal to b, determining the top n available communication modules in the sequence as the target communication modules.
In the specific implementation, if the sum of the communication capacity values of all the available communication modules can satisfy the number of the upgrade sub-files to be transmitted, the available communication modules can be sorted according to the communication capacity values of the available communication modules, and the sorting rule can be in ascending order or descending order. And after modules are sequenced, calculating the sum of the communication capacity values of n available communication modules before sequencing to obtain a capacity value sum c, and determining the n available communication modules before sequencing to serve as target communication modules when the capacity value sum c is larger than or equal to the number of files.
For example, if the sum of the communication capability values of the 3 available communication modules is 30 and the number of files in the upgrade subfile is 20, the available communication modules are arranged in a descending order according to the communication capability values, and if the communication capability value of the first available communication module in the sequence is 12, the communication capability value of the second available communication module in the sequence is 10, and the communication capability value of the third available communication module in the sequence is 8, the target communication module can be determined as the first available communication module in the sequence and the second available communication module in the sequence.
In one embodiment, the step S240 includes:
and sending the upgrading sub-file to the target communication module in proportion according to the communication capacity value of the target communication module and the number of the files, so that the target communication module sends the received upgrading sub-file to the air conditioning equipment.
In specific implementation, after the target communication module is determined, the upgrading sub-file is sent to the target communication module according to the communication capacity value of the target communication module and the file number of the upgrading sub-file in proportion, and the target communication module sends the received upgrading sub-file to the air conditioning equipment.
In one embodiment, the dividing the upgrade file into a plurality of upgrade subfiles according to a predetermined rule includes:
dividing the upgrade file into a plurality of upgrade sub-files according to the data volume; the step of sending the upgrading sub-files to the target communication module according to the communication capacity value of the target communication module and the number of the files in proportion comprises the following steps: determining the number of modules of the target communication module; dividing the upgrading subfiles according to the number of the modules to obtain grouping subfiles; the number of file groups of the grouping subfile is matched with the number of modules; determining the file quantity of upgrading subfiles in the grouping subfiles; the number of the files is matched with the communication capacity value; and sending the grouped upgrading sub-files to the target communication module corresponding to the grouping.
The grouping subfile refers to grouping the upgrading subfile into N groups, wherein N is equal to the number of modules of the target communication module.
In the specific implementation, the upgrading sub-file is sent to the target communication module, the upgrading file is divided into a plurality of upgrading sub-files according to the data volume, namely the data volume of each upgrading sub-file is equal, then, the number of modules of the target communication module is determined, the upgrading sub-files are divided according to the number of the modules, grouping sub-files are obtained, and the number of file groups of the grouping sub-files is equal to the number of the modules. And further, determining the file quantity of the upgrading sub-files in the grouped sub-files, matching the file quantity with the communication capacity value, and finally sending the grouped upgrading sub-files to the target communication module corresponding to the matching.
In one embodiment, the number of the upgrading sub-file is b, and the communication capacity value of the target communication module is anThe sending the upgrade subfile to the target communication module in proportion comprises:
when b is less than or equal to ∑ anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1; sending the nth group of upgrading subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an
In a specific implementation, the manner in which the server 102 sends the upgrade subfile to the target communication module may be various. For example, when the number of the target communication modules is only 1, and the number of the target communication modules is enough to check the number of the upgrade subfiles of the current file number, the server 102 will directly send the upgrade subfiles of all the file numbers to the target communication module without performing module allocation processing on the upgrade subfiles. When 1 available communication module can not check all the upgrading subfiles, the server 102 acquires n target communication modules to check the upgrading subfiles, at the moment, the number of the target communication modules is n, and the communication capacity values of the n target communication modules are respectively a1、a2、a3……anIf the upgrade subfile needs to be sent to the target communication module, the upgrade subfile is firstly allocated with the same number of modules, namely a is extracted from the upgrade subfile1The upgrading subfile is used as a first group of upgrading subfiles, and the first group of upgrading subfiles can be sent to the communication capacity value a1Target communication module of (a)nThe upgrading sub-file is used as the nth group of upgrading sub-files, and the nth group of upgrading sub-files can be sent to the communication capacity value anThe target communication module of (1).
For example, there are 3 target communication modules, and the communication capability values of the target communication modules are listed as follows in no sequence: a is1=3、a2=7、a3=5,At this time, the number of the upgrade subfiles is 15, and then 3 subfiles are extracted from the 15 upgrade subfiles as a first group of upgrade subfiles and sent to a1Continuously extracting 7 sub-files as a second group of upgrading sub-files by the first target communication module of 3, and sending the second group of upgrading sub-files to a2And (c) finally extracting 5 sub-files as a third group of upgrading sub-files and sending the third group of upgrading sub-files to the second target communication module (7) to be sent to the a3And 5, a third target communication module.
In one embodiment, the sending the upgrade subfile to the target communication module in proportion includes:
when b is>∑anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1; sending the nth group of upgrading subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an(ii) a And respectively sending the rest of the upgrading sub-files to the target communication module according to the communication capacity value of the target communication module.
In the specific implementation, if the number of files is greater than the number of transmittable and verifiable files of the existing target communication module, that is, the communication capability value, the upgrade subfiles need to be sent to the target communication module matched with the communication capability value in proportion, and the remaining upgrade subfiles which are not sent need to be processed, so that the rules of the remaining upgrade subfiles are processed, and the upgrade subfiles can be distributed according to the number of files, for example, the files are divided according to the proportion of the communication capability value, or all files can be sent to a certain target communication module. Therefore, the mode of sending the upgrade subfile to the target communication module can be various, and the specific mode of sending the upgrade subfile to the target communication module is not limited in the embodiment of the application.
According to the scheme provided by the embodiment of the invention, the server can acquire the target communication module matched with the file number of the upgrading sub-file by acquiring the communication capacity value of the available communication module, and can allocate a proper amount of upgrading sub-files to the corresponding target communication module according to the file number and the communication capacity value, so that the target communication module can be fully utilized. By adopting the method, the cost can be saved, the conditions of abnormal data transmission and the like caused by the larger updated file can be avoided, the effectiveness of the file is ensured, and the success rate of updating the program of the air-conditioning equipment is improved.
In one embodiment, an air conditioner program upgrading method is provided, which is exemplified by the method applied to the communication module 104 in fig. 1, and includes the following steps:
step S310, receiving an upgrading subfile of the server; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which divides the upgrading file into a plurality of parts according to a preset rule by the server.
And S320, verifying the upgrading sub-file according to the second verification code.
And S330, when the upgrade subfile is successfully verified, sending the upgrade subfile to air-conditioning equipment so as to enable the air-conditioning equipment to finish program upgrade.
The second check code is obtained by the server 102 performing CRC check on all data in the upgrade subfile, and the first verification code is sent to the target communication module along with the upgrade subfile.
In the specific implementation, after the target communication module acquires the upgrade subfile, the upgrade subfile is checked according to the existing second check code of the upgrade subfile, and when the upgrade subfile is successfully checked, the upgrade subfile which is successfully checked is sent to the air conditioning equipment 102.
In the method for upgrading the program of the air conditioning equipment, the target communication module receives the colleague upgrading the subfile, acquires the second check code, verifies the upgrading subfile by using the second check code, and sends the verification result to the air conditioning equipment under the condition of successful verification so that the air conditioning equipment finishes upgrading the program. By adopting the method, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air-conditioning equipment is improved.
In one embodiment, the method further comprises:
when the verification of the upgrading sub-file fails, generating a file retransmission request; sending the file retransmission request to the server; and the file retransmission request is used for indicating the server to retransmit the upgrading sub-file until the upgrading sub-file is successfully verified.
In a specific implementation, if the result of the target communication module verifying the upgrade subfile is failure, that is, the upgrade subfile is damaged, a file retransmission request is generated and sent to the server 102, and the server 102 is requested to resend the upgrade subfile until the target communication module successfully verifies the received upgrade subfile.
According to the scheme provided by the embodiment of the invention, after the target communication module acquires the upgrading sub-file, the upgrading sub-file is firstly verified, if the verification fails, the upgrading sub-file is damaged and cannot be used as a basic file for upgrading the air conditioner equipment program, a file retransmission request needs to be generated, the request is sent to the server, and the server is instructed to resend the upgrading sub-file until the communication module successfully verifies the received upgrading sub-file. By adopting the method, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air-conditioning equipment is improved.
In one embodiment, an air conditioner program upgrading method is provided, which is described by taking the method as an example applied to the air conditioner 106 in fig. 1, and includes the following steps:
s410, receiving an upgrading sub-file of the communication module; the upgrading subfile comprises a second check code; the upgrading sub-file is the upgrading sub-file which is successfully verified by the communication module.
Step S420, when the upgrade subfile is successfully checked according to the second check code, merging the upgrade subfile to obtain a similar upgrade file; the same kind of upgrading file comprises a first check code.
And step S430, when the same type of upgrading file is successfully verified according to the first verification code, combining the same type of upgrading file to obtain an upgrading file.
And step S440, according to the upgrading file, executing the upgrading operation of the air conditioning equipment program.
In the method for upgrading the air conditioning equipment program, after the air conditioning equipment receives the upgrade subfile, the upgrade subfile is firstly verified by using the second verification code, the upgrade subfile is combined after the verification is successful to obtain the same kind of upgrade file, the same kind of upgrade file is further verified, the same kind of upgrade file is combined after the verification is successful again to obtain the upgrade file, and the process belongs to the restoration process of the upgrade file. By adopting the method, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air-conditioning equipment is improved.
In one embodiment, before the receiving the upgrade subfile of the communication module, the method further includes:
receiving a program upgrading instruction; and receiving the upgrading subfile of the communication module according to the program upgrading instruction.
In a specific implementation, after the air conditioning equipment checks and restores the upgrade subfile to obtain the upgrade file, before the program upgrade is performed, the upgrade operation may be performed according to the received program upgrade instruction, that is, on the premise of receiving the program upgrade instruction, the program upgrade operation may be performed by using the upgrade file.
In one embodiment, before the performing an air conditioner program upgrading operation according to the upgrade file, the method further includes:
acquiring the running state of the air conditioning equipment; and when the running state of the air conditioning equipment is stopped, executing the program upgrading operation of the air conditioning equipment.
In specific implementation, before the air conditioning equipment executes the program upgrading operation, the program upgrading operation can be executed again on the premise that the air conditioning equipment stops running, so that the problem that the program is disordered due to upgrading in the running period of the air conditioning equipment is avoided.
In one embodiment, after the performing the air conditioner program upgrading operation, the method further includes:
acquiring a program upgrading result of the air conditioning equipment; when the program upgrading result is successful, generating an upgrading success prompt; the upgrade success prompt is used for prompting the success of the upgrade of the air conditioning equipment program; when the program upgrading result is failure, generating an upgrading failure prompt; and the upgrade failure prompt is used for sending to the communication module and indicating the communication module to resend the upgrade subfile until the program of the air conditioning equipment is upgraded successfully.
In the specific implementation, after the program of the air conditioning equipment is upgraded, whether the upgrade is successful or not can be judged by obtaining the upgrade result, and then the program upgrade task is ended, if the upgrade result is unsuccessful, the steps described in the foregoing embodiment need to be executed again until the program upgrade result is successful, and the program upgrade task is ended.
According to the scheme provided by the embodiment of the invention, the air conditioning equipment can finish program upgrading under various conditions, namely under the condition that a program upgrading instruction is received, or under the condition that the air conditioning equipment stops running, and after the program upgrading is finished, whether the upgrading is successful is judged, so that the task of the program upgrading of the air conditioning equipment is finished. By adopting the method, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air-conditioning equipment is improved.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps of fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, an air conditioner program upgrading apparatus is provided, which includes a file acquiring module 310, a subfile acquiring module 320, a file matching module 330, and a file sending module 340, wherein:
a file obtaining module 310, configured to obtain an upgrade file;
the subfile acquisition module 320 is used for dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule and acquiring an available communication module connected with the air conditioning equipment;
the file matching module 330 is configured to obtain the number of modules and the communication capability value of the available communication modules, match the number of modules and the communication capability value with the number of files of the upgrade subfile, and determine a target communication module;
and the file sending module 340 is configured to send the upgrade subfile to the air conditioning equipment through the target communication module, so that the air conditioning equipment completes program upgrade.
According to the scheme provided by the embodiment of the invention, the server can acquire the target communication module matched with the file number of the upgrading sub-file by acquiring the communication capacity value of the available communication module, and can allocate a proper amount of upgrading sub-files to the corresponding target communication module according to the file number and the communication capacity value, so that the target communication module can be fully utilized. By adopting the scheme, the cost can be saved, the conditions of abnormal data transmission and the like caused by the large updated file can be avoided, the effectiveness of the file is ensured, and the success rate of updating the program of the air-conditioning equipment is improved.
In one embodiment, the subfile obtaining module 320 includes:
the data type obtaining submodule is used for obtaining the data type of the upgrading file; the same-class file merging submodule is used for merging the upgrading files with the same data type to obtain the same-class upgrading files; and the same-class file dividing submodule is used for dividing the same-class upgrading file according to the data volume of the same-class upgrading file to obtain a plurality of upgrading sub-files.
In one embodiment, the homogeneous file partitioning sub-module includes:
the same-class file checking unit is used for checking the same-class upgrading file to obtain a first checking code; the first check code is used for checking the air conditioning equipment, and after the checking is successful, the like upgrading files are combined to obtain the upgrading file and then the program is upgraded; the subfile checking unit is used for checking the upgrading subfiles with the same data volume to obtain a second check code; and the second check code is used for checking the target communication module and for checking the air conditioning equipment after the checking is successful, so that the air conditioning equipment combines the upgrading sub-files after the checking of the upgrading sub-files is successful, and the similar upgrading files are obtained.
In one embodiment, the file matching module 330 includes:
the characteristic acquisition submodule is used for acquiring the signal intensity and/or busyness of the available communication module; and the capacity value determining submodule is used for determining the communication capacity value according to the signal strength and/or the busyness.
In one embodiment, the capability value determination submodule includes:
the capacity value calculating unit is used for calculating the ratio of the signal intensity to the busyness degree to obtain the communication capacity value; a weight ratio obtaining unit, configured to obtain a weight ratio between the signal strength and the busyness; a product value obtaining unit, configured to calculate a product of the signal strength and the busyness and the weight ratio to obtain a first product value and a second product value; and the capacity value acquisition unit is used for calculating the sum of the first product value and the second product value to obtain the communication capacity value.
In one embodiment, the apparatus further comprises:
the communication capacity sum value calculating module is used for calculating the sum of the communication capacity values of the available communication modules to obtain a communication capacity sum value a; the file matching module 330 includes: the file quantity determining submodule is used for determining the file quantity of the upgrading subfile as b; the characteristic comparison submodule is used for comparing the file quantity b with the communication capacity and the value a; and the target module determining submodule is used for determining the available communication module as the target communication module when b is larger than or equal to a.
In one embodiment, the file matching module 330 includes:
the module sorting submodule is used for sorting the available communication modules according to the communication capacity value when b is less than a; the capacity value sum calculation submodule is used for calculating the sum of the communication capacity values of the n available communication modules before the sequencing to obtain the sum of the capacity values as c; n is more than or equal to 1; and the target communication module determining submodule is used for determining the top n available communication modules as the target communication modules when c is larger than or equal to b.
In one embodiment, the file sending module 340 includes:
and the proportion file sending submodule is used for sending the upgrading sub-file to the target communication module in proportion according to the communication capacity value of the target communication module and the number of the files, so that the target communication module sends the received upgrading sub-file to the air conditioning equipment.
In one embodiment, the scale file sending sub-module includes:
the subfile equally dividing unit is used for equally dividing the upgrading file into a plurality of upgrading subfiles according to the data size; the module number determining unit is used for determining the number of the modules of the target communication module; the grouping subfile acquisition unit is used for dividing the upgrading subfile according to the number of the modules to obtain a grouping subfile; the number of file groups of the grouping subfile is matched with the number of modules; a file number determination unit for determining the number of files of the upgrade subfiles in the grouping subfiles; the number of the files is matched with the communication capacity value; and the subfile sending unit is used for sending the grouped upgrading subfiles to the matched and corresponding target communication module.
In one embodiment, the number of the upgrading sub-file is b, and the communication capacity value of the target communication module is anThe proportion file sending submodule comprises:
the subfile is grouped into the first unit for when b is not more than ∑ anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1; a first subfile grouping and sending unit, configured to send the nth set of upgrade subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an
In one embodiment, the scale file sending sub-module includes:
a second unit of sub-file grouping for b>∑anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1; a second subfile grouping and sending unit, configured to send the nth set of upgrade subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an(ii) a And the residual file sending unit is used for respectively sending the residual upgrading sub-files to the target communication module according to the communication capacity value of the target communication module.
According to the scheme provided by the embodiment of the invention, the server can acquire the target communication module matched with the file number of the upgrading sub-file by acquiring the communication capacity value of the available communication module, and can allocate a proper amount of upgrading sub-files to the corresponding target communication module according to the file number and the communication capacity value, so that the target communication module can be fully utilized. By adopting the scheme, the cost can be saved, the conditions of abnormal data transmission and the like caused by the large updated file can be avoided, the effectiveness of the file is ensured, and the success rate of updating the program of the air conditioner is improved.
In one embodiment, an air conditioner program upgrading apparatus is provided, which includes a file receiving module 410, a file checking module 420, and a subfile sending module 430, wherein:
a file receiving module 410, configured to receive an upgrade subfile of a server; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is obtained by dividing the upgrading file into a plurality of parts by the server according to a preset rule;
the file checking module 420 is configured to check the upgrade subfile according to the second check code;
and a subfile sending module 430, configured to send the upgrade subfile to an air conditioning device when the upgrade subfile is successfully verified, so that the air conditioning device completes program upgrade.
According to the scheme provided by the embodiment of the invention, the target communication module receives the colleague of the upgrading subfile, also obtains the second check code, verifies the upgrading subfile by using the second check code, and sends the second check code to the air conditioning equipment under the condition of successful verification so that the air conditioning equipment finishes program upgrading. By adopting the scheme, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air conditioner is improved.
In one embodiment, the apparatus further comprises:
the retransmission request generation submodule is used for generating a file retransmission request when the verification of the upgrading sub-file fails; the retransmission request sending submodule is used for sending the file retransmission request to the server; and the file retransmission request is used for indicating the server to retransmit the upgrading sub-file until the upgrading sub-file is successfully verified.
According to the scheme provided by the embodiment of the invention, after the target communication module acquires the upgrading sub-file, the upgrading sub-file is firstly verified, if the verification fails, the upgrading sub-file is damaged and cannot be used as a basic file for upgrading the air conditioner equipment program, a file retransmission request needs to be generated, the request is sent to the server, and the server is instructed to resend the upgrading sub-file until the communication module successfully verifies the received upgrading sub-file. By adopting the scheme, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air conditioner is improved.
In one embodiment, an air conditioner program upgrading apparatus is provided, which includes a subfile receiving module 510, a homogeneous file obtaining module 520, an upgrade file obtaining module 530, and a device program upgrading module 540, wherein:
a subfile receiving module 510, configured to receive an upgrade subfile of the communication module; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is successfully verified by the communication module;
a similar file obtaining module 520, configured to, when the upgrade subfile is successfully verified according to the second check code, merge the upgrade subfile to obtain a similar upgrade file; the same kind of upgrading file comprises a first check code;
an upgrade file obtaining module 530, configured to, when the same type of upgrade files are successfully verified according to the first check code, combine the same type of upgrade files to obtain an upgrade file;
and the device program upgrading module 540 is used for executing the air conditioning device program upgrading operation according to the upgrading file.
According to the scheme provided by the embodiment of the invention, after receiving the upgrade subfile, the air conditioning equipment firstly checks the upgrade subfile by using the second check code, combines the upgrade subfile after the check succeeds to obtain the same kind of upgrade file, further checks the same kind of upgrade file, combines the same kind of upgrade file to obtain the upgrade file after the check succeeds again, and the process belongs to the restoration process of the upgrade file. By adopting the scheme, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air conditioner is improved.
In one embodiment, the apparatus further comprises:
the instruction receiving module is used for receiving a program upgrading instruction; and the upgrading subfile receiving module is used for receiving the upgrading subfile of the communication module according to the program upgrading instruction.
In one embodiment, the apparatus further comprises:
the operation state acquisition module is used for acquiring the operation state of the air conditioning equipment; and the stop state upgrading module is used for executing the program upgrading operation of the air conditioning equipment when the running state of the air conditioning equipment is stop.
In one embodiment, the apparatus further comprises:
the upgrading result acquisition module is used for acquiring the program upgrading result of the air conditioning equipment; the upgrading success prompt generating module is used for generating upgrading success prompts when the program upgrading results are successful; the upgrade success prompt is used for prompting the success of the upgrade of the air conditioning equipment program; the upgrading failure prompt generating module is used for generating upgrading failure prompts when the program upgrading results are failures; and the upgrade failure prompt is used for sending to the communication module and indicating the communication module to resend the upgrade subfile until the program of the air conditioning equipment is upgraded successfully.
According to the scheme provided by the embodiment of the invention, the air conditioning equipment can finish program upgrading under various conditions, namely under the condition that a program upgrading instruction is received, or under the condition that the air conditioning equipment stops running, and after the program upgrading is finished, whether the upgrading is successful is judged, so that the task of the program upgrading of the air conditioning equipment is finished. By adopting the scheme, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the air conditioner is improved.
For specific limitations of the air conditioning equipment program upgrading device, reference may be made to the above limitations of the air conditioning equipment program upgrading method, which are not described herein again. All or part of each module in the air conditioning equipment program upgrading device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing identification information and device information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for upgrading an air conditioning unit program.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a home appliance is provided, which includes a memory and a processor, the memory storing a computer program, wherein the processor implements the following steps when executing the computer program:
receiving an upgrading sub-file of the communication module; the upgrading subfile comprises a second check code; when the upgrading sub-file is successfully verified according to the second check code, merging the upgrading sub-file to obtain the same kind of upgrading file; the same kind of upgrading file comprises a first check code; when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files; and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
According to the scheme provided by the embodiment of the invention, after the household appliance receives the upgrade subfile, the upgrade subfile is checked by using the second check code, the upgrade subfile is combined to obtain the same kind of upgrade file after the check is successful, the same kind of upgrade file is further checked, the same kind of upgrade file is combined to obtain the upgrade file after the check is successful again, and the process belongs to the restoration process of the upgrade file. By adopting the scheme, the usability of the upgrading sub-file is ensured, and the file is prevented from being used continuously under the condition of file damage, so that the upgrading cost is saved, and the success rate of upgrading the program of the household appliance is improved.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
obtaining an upgrade file; dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with air conditioning equipment; acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module; and sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
obtaining an upgrade file; dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with air conditioning equipment;
acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module; and sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading.
It will be understood by those of ordinary skill in the art that all or a portion of the processes of the methods of the embodiments described above may be implemented by instructions associated with hardware via a computer program that may be stored on a non-volatile computer-readable storage medium, which when executed, may include the processes of the embodiments of the methods described above, wherein any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (24)

1. An air conditioning equipment program upgrading method is characterized by comprising the following steps:
obtaining an upgrade file;
dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule, and acquiring an available communication module connected with air conditioning equipment;
acquiring the number of modules and the communication capacity value of the available communication modules, matching the number of the modules and the communication capacity value with the number of files of the upgrading sub-file, and determining a target communication module; the matching the module number and the communication capacity value with the file number of the upgrading sub-file to determine a target communication module comprises: obtaining the sum of the communication capacity values of the available communication modules according to the number of the available communication modules and the communication capacity value, and determining the target communication module according to the matching condition of the sum of the communication capacity values and the file number of the upgrading sub-file;
and sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading.
2. The method of claim 1, wherein the dividing the upgrade file into a plurality of upgrade subfiles according to a predetermined rule comprises:
acquiring the data type of the upgrade file;
merging the upgrading files with the same data type to obtain the same type of upgrading files;
and according to the data volume of the same type of upgrading file, performing equal data volume division on the same type of upgrading file to obtain a plurality of upgrading sub-files.
3. The method of claim 2, further comprising, after said obtaining the same kind upgrade file:
verifying the same kind of upgrading files to obtain a first verification code; the first check code is used for checking the air conditioning equipment, and after the checking is successful, the like upgrading files are combined to obtain the upgrading file and then the program is upgraded;
verifying the upgrading sub-file with the same data volume to obtain a second verification code; and the second check code is used for checking the target communication module and for checking the air conditioning equipment after the checking is successful, so that the air conditioning equipment combines the upgrading sub-files after the checking of the upgrading sub-files is successful, and the similar upgrading files are obtained.
4. The method of claim 1, wherein the obtaining the communication capability value of the available communication module comprises:
acquiring the signal intensity and/or busyness of the available communication module;
and determining the communication capacity value according to the signal intensity and/or the busyness.
5. The method of claim 4, wherein determining the communication capability value based on the signal strength and/or the busyness comprises:
calculating the ratio of the signal intensity to the busyness degree to obtain the communication capacity value;
or, acquiring a weight ratio of the signal strength to the busyness;
calculating the product of the signal intensity and the busyness degree and the weight ratio to obtain a first product value and a second product value;
and calculating the sum of the first product value and the second product value to obtain the communication capacity value.
6. The method of claim 1, further comprising:
calculating the sum of the communication capacity values of the available communication modules to obtain a communication capacity sum value a;
the matching the module number and the communication capacity value with the file number of the upgrading sub-file to determine a target communication module comprises:
determining the number of files of the upgrading subfile as b;
comparing the file quantity b with the communication capacity and the value a;
and when b is larger than or equal to a, determining the available communication module as the target communication module.
7. The method of claim 6, wherein matching the number of modules and the communication capability value with the number of files in the upgrade subfile to determine a target communication module comprises:
when b is less than a, sorting the available communication modules according to the communication capacity value;
calculating the sum of the communication capacity values of n available communication modules before sequencing to obtain a capacity value sum c; n is more than or equal to 1;
and when c is larger than or equal to b, determining the top n available communication modules in the sequence as the target communication modules.
8. The method of claim 1, wherein the sending the upgrade subfile to the air conditioning equipment through the target communication module comprises:
and sending the upgrading sub-file to the target communication module in proportion according to the communication capacity value of the target communication module and the number of the files, so that the target communication module sends the received upgrading sub-file to the air conditioning equipment.
9. The method of claim 8, wherein the dividing the upgrade file into a plurality of upgrade subfiles according to a predetermined rule comprises:
dividing the upgrade file into a plurality of upgrade sub-files according to the data volume;
the step of sending the upgrading sub-files to the target communication module according to the communication capacity value of the target communication module and the number of the files in proportion comprises the following steps:
determining the number of modules of the target communication module;
dividing the upgrading subfiles according to the number of the modules to obtain grouping subfiles; the number of file groups of the grouping subfile is matched with the number of modules;
determining the file quantity of upgrading subfiles in the grouping subfiles; the number of the files is matched with the communication capacity value;
and sending the grouped upgrading sub-files to the target communication module corresponding to the grouping.
10. The method of claim 8, wherein the number of the upgrading sub-file is b, and the communication capability value of the target communication module is anThe sending the upgrade subfile to the target communication module in proportion comprises:
when b is less than or equal to ∑ anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1;
sending the nth group of upgrading subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an
11. The method of claim 10, wherein the sending the upgrade subfile to the target communication module in proportion comprises:
when b is>∑anThen, extracting a from the upgrade subfilenThe upgrading subfile is used as the nth group of upgrading subfiles; n is more than or equal to 1;
sending the nth group of upgrading subfiles to the nth target communication module; the communication capacity value of the nth target communication module is an
And respectively sending the rest of the upgrading sub-files to the target communication module according to the communication capacity value of the target communication module.
12. An air conditioning equipment program upgrading method is characterized by comprising the following steps:
receiving an upgrading sub-file of a server; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is obtained by dividing the upgrading file into a plurality of parts by the server according to a preset rule;
according to the second check code, checking the upgrading sub-file;
when the upgrade subfile is successfully verified, sending the upgrade subfile to air-conditioning equipment so that the air-conditioning equipment finishes program upgrade; the air conditioning equipment is specifically used for merging the upgrading sub-files when the upgrading sub-files are successfully verified according to the second verification codes to obtain the same type of upgrading files comprising the first verification codes; when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files; and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
13. The method of claim 12, further comprising:
when the verification of the upgrading sub-file fails, generating a file retransmission request;
sending the file retransmission request to the server; and the file retransmission request is used for indicating the server to retransmit the upgrading sub-file until the upgrading sub-file is successfully verified.
14. An air conditioning equipment program upgrading method is characterized by comprising the following steps:
receiving an upgrading sub-file of the communication module; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is successfully verified by the communication module;
when the upgrading sub-file is successfully verified according to the second check code, merging the upgrading sub-file to obtain the same kind of upgrading file; the same kind of upgrading file comprises a first check code;
when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files;
and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
15. The method of claim 14, further comprising, prior to receiving the upgrade subfile for the communication module:
receiving a program upgrading instruction;
and receiving the upgrading subfile of the communication module according to the program upgrading instruction.
16. The method of claim 14, further comprising, prior to said performing an air conditioning equipment program upgrade operation according to said upgrade file:
acquiring the running state of the air conditioning equipment;
and when the running state of the air conditioning equipment is stopped, executing the program upgrading operation of the air conditioning equipment.
17. The method of claim 14, further comprising, after said performing an air conditioning unit program upgrade operation:
acquiring a program upgrading result of the air conditioning equipment;
when the program upgrading result is successful, generating an upgrading success prompt; the upgrade success prompt is used for prompting the success of the upgrade of the air conditioning equipment program;
when the program upgrading result is failure, generating an upgrading failure prompt; and the upgrade failure prompt is used for sending to the communication module and indicating the communication module to resend the upgrade subfile until the program of the air conditioning equipment is upgraded successfully.
18. An air conditioning equipment program upgrading apparatus, characterized in that the apparatus comprises:
the file acquisition module is used for acquiring the upgrade file;
the subfile acquisition module is used for dividing the upgrading file into a plurality of upgrading subfiles according to a preset rule and acquiring an available communication module connected with the air conditioning equipment;
the file matching module is used for acquiring the number of the modules of the available communication modules and the communication capacity value, matching the number of the modules and the communication capacity value with the number of the files of the upgrading sub-file and determining a target communication module; further for: obtaining the sum of the communication capacity values of the available communication modules according to the number of the available communication modules and the communication capacity value, and determining the target communication module according to the matching condition of the sum of the communication capacity values and the file number of the upgrading sub-file;
and the file sending module is used for sending the upgrading sub-file to the air conditioning equipment through the target communication module so as to enable the air conditioning equipment to finish program upgrading.
19. An air conditioning equipment program upgrading apparatus, characterized in that the apparatus comprises:
the file receiving module is used for receiving the upgrading sub-file of the server; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is obtained by dividing the upgrading file into a plurality of parts by the server according to a preset rule;
the file checking module is used for checking the upgrading sub-file according to the second check code;
the subfile sending module is used for sending the upgrading subfile to the air-conditioning equipment when the upgrading subfile is successfully verified so as to enable the air-conditioning equipment to finish program upgrading; the air conditioning equipment is specifically used for merging the upgrading sub-files when the upgrading sub-files are successfully verified according to the second verification codes to obtain the same type of upgrading files comprising the first verification codes; when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files; and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
20. An air conditioning equipment program upgrading apparatus, characterized in that the apparatus comprises:
the subfile receiving module is used for receiving the upgrading subfile of the communication module; the upgrading subfile comprises a second check code; the upgrading sub-file is an upgrading sub-file which is successfully verified by the communication module;
the same-class file acquisition module is used for merging the upgrading sub-files to obtain the same-class upgrading files when the upgrading sub-files are successfully verified according to the second verification codes; the same kind of upgrading file comprises a first check code;
the upgrade file acquisition module is used for merging the same type of upgrade files to obtain upgrade files when the same type of upgrade files are successfully verified according to the first verification code;
and the equipment program upgrading module is used for executing the upgrading operation of the air conditioning equipment program according to the upgrading file.
21. An air conditioning apparatus program upgrade system, the system comprising:
the system comprises a server, a communication module and air conditioning equipment;
the server is used for dividing the upgrade file into a plurality of upgrade subfiles according to a preset rule after the upgrade file is obtained, and obtaining an available communication module connected with the air conditioning equipment; matching the number of modules and the communication capacity value with the number of files of the upgrading sub-file by acquiring the number of modules and the communication capacity value of the available communication modules to determine a target communication module; sending the upgrading sub-file to the air conditioning equipment through the target communication module so that the air conditioning equipment finishes program upgrading; further for: obtaining the sum of the communication capacity values of the available communication modules according to the number of the available communication modules and the communication capacity value, and determining the target communication module according to the matching condition of the sum of the communication capacity values and the file number of the upgrading sub-file;
the communication module is used for receiving the upgrading subfile of the server; the upgrading subfile comprises a second check code; verifying the upgrading sub-file according to the second verification code; when the upgrade subfile is successfully verified, sending the upgrade subfile to air-conditioning equipment so that the air-conditioning equipment finishes program upgrade;
the air conditioning equipment is used for receiving the upgrading sub-file of the communication module; the upgrading subfile comprises a second check code; when the upgrading sub-file is successfully verified according to the second check code, merging the upgrading sub-file to obtain the same kind of upgrading file; the same kind of upgrading file comprises a first check code; when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files; and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
22. An appliance comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of:
receiving an upgrading sub-file of the communication module; the upgrading subfile comprises a second check code;
when the upgrading sub-file is successfully verified according to the second check code, merging the upgrading sub-file to obtain the same kind of upgrading file; the same kind of upgrading file comprises a first check code;
when the same-class upgrading files are successfully verified according to the first verification code, combining the same-class upgrading files to obtain upgrading files; and executing the program upgrading operation of the air conditioning equipment according to the upgrading file.
23. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 17 when executing the computer program.
24. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 17.
CN201811543902.4A 2018-12-17 2018-12-17 Air conditioning equipment program upgrading method, device and system and household electrical appliance Active CN109683930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811543902.4A CN109683930B (en) 2018-12-17 2018-12-17 Air conditioning equipment program upgrading method, device and system and household electrical appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811543902.4A CN109683930B (en) 2018-12-17 2018-12-17 Air conditioning equipment program upgrading method, device and system and household electrical appliance

Publications (2)

Publication Number Publication Date
CN109683930A CN109683930A (en) 2019-04-26
CN109683930B true CN109683930B (en) 2020-07-24

Family

ID=66186261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811543902.4A Active CN109683930B (en) 2018-12-17 2018-12-17 Air conditioning equipment program upgrading method, device and system and household electrical appliance

Country Status (1)

Country Link
CN (1) CN109683930B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110762775B (en) * 2019-10-28 2022-04-15 海信(山东)空调有限公司 Upgrading method of air conditioner and air conditioner
CN112866046A (en) * 2019-11-27 2021-05-28 宇龙计算机通信科技(深圳)有限公司 Software upgrading method and device for intelligent rod, storage medium and intelligent rod
CN111104145B (en) * 2019-11-29 2021-08-31 浪潮电子信息产业股份有限公司 Out-of-band updating method and system for Expander
CN111031536A (en) * 2019-12-26 2020-04-17 大连市共进科技有限公司 Method and device for transmitting burning file and 5G small base station burning equipment
CN111459522B (en) * 2020-04-01 2021-09-14 珠海格力电器股份有限公司 Air conditioner and communication module upgrading method thereof
CN113865043B (en) * 2021-09-14 2023-05-02 北京小米移动软件有限公司 Program upgrading method and device for air conditioner, air conditioner and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130112261A (en) * 2012-04-03 2013-10-14 도로교통공단 Firmware upgrade method for traffic signal controller
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN107015829A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio system upgrade method, device
CN107896237A (en) * 2017-09-29 2018-04-10 珠海格力电器股份有限公司 A kind of control method of equipment, system, storage medium and equipment
CN108021410A (en) * 2017-12-06 2018-05-11 九阳股份有限公司 A kind of firmware upgrade method and system of intelligent appliance equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050012060A (en) * 2003-07-24 2005-01-31 유티스타콤코리아 유한회사 Method for downloading between processors of different kind CPU module
CN101436141B (en) * 2008-11-21 2012-07-18 深圳创维数字技术股份有限公司 Firmware upgrading and encapsulating method and device based on digital signing
CN105138384B (en) * 2015-10-15 2018-09-18 珠海格力电器股份有限公司 Air-conditioning and its programme upgrade method and device
CN108958777A (en) * 2018-08-03 2018-12-07 广州云海智联科技有限公司 A kind of wireless charging device and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130112261A (en) * 2012-04-03 2013-10-14 도로교통공단 Firmware upgrade method for traffic signal controller
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN107015829A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Audio system upgrade method, device
CN107896237A (en) * 2017-09-29 2018-04-10 珠海格力电器股份有限公司 A kind of control method of equipment, system, storage medium and equipment
CN108021410A (en) * 2017-12-06 2018-05-11 九阳股份有限公司 A kind of firmware upgrade method and system of intelligent appliance equipment

Also Published As

Publication number Publication date
CN109683930A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109683930B (en) Air conditioning equipment program upgrading method, device and system and household electrical appliance
CN107992321B (en) ECU software updating method and device, vehicle-mounted T-BOX and vehicle
CN110995513B (en) Data sending and receiving method in Internet of things system, internet of things equipment and platform
CN111522264A (en) Device control method and device, storage medium, and electronic device
CN109002424B (en) File format conversion method and device, computer equipment and storage medium
CN110674440A (en) Buried point data processing method, system, computer device and readable storage medium
CN108279916A (en) Electronic control unit program updating method and device
CN112486535B (en) Remote upgrading method and system for NB-IoT (NB-IoT) equipment
CN103259797A (en) Data file transmission method and platform
CN111831297A (en) Zero-difference upgrading method and device
CN114362983A (en) Firewall policy management method and device, computer equipment and storage medium
CN113824760A (en) File concurrent block uploading method and device, electronic equipment and storage medium
CN113986296A (en) Firmware upgrading method and device, electronic equipment and storage medium
CN105812380A (en) Verification method and device
CN113037850A (en) Application program upgrading method and device, electronic equipment and storage medium
CN112235422A (en) Data processing method and device, computer readable storage medium and electronic device
CN112925546B (en) Multistage verification method and system for preventing vehicle-mounted ECU from refreshing errors
CN110768962A (en) File self-checking method, system, sending end equipment and receiving end equipment
CN100578557C (en) Demo plant, portable terminal device and verification method
KR102417801B1 (en) Remote meter reading system and its firmware upgrade method
CN115460075A (en) Multi-network mode implementation method, device, equipment and medium based on cloud-native
CN111539029B (en) Industrial internet-based big data storage rate optimization method and cloud computing center
CN110769016A (en) File uploading method and computer storage medium
CN110580172A (en) Configuration rule verification method and device, storage medium and electronic device
CN114726505B (en) Vehicle remote security authentication method and device, storage medium and terminal equipment

Legal Events

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