CN109683930A - Air-conditioning equipment programme upgrade method, device, system and household appliance - Google Patents

Air-conditioning equipment programme upgrade method, device, system and household appliance Download PDF

Info

Publication number
CN109683930A
CN109683930A CN201811543902.4A CN201811543902A CN109683930A CN 109683930 A CN109683930 A CN 109683930A CN 201811543902 A CN201811543902 A CN 201811543902A CN 109683930 A CN109683930 A CN 109683930A
Authority
CN
China
Prior art keywords
upgrading
subfile
communication module
air
conditioning equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811543902.4A
Other languages
Chinese (zh)
Other versions
CN109683930B (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

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

Abstract

This application involves a kind of air-conditioning equipment programme upgrade method, device, system and household appliances.The described method includes: obtaining upgrade file;The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, and, obtain the available communication module connecting with air-conditioning equipment;The module number and ability to communicate value of communication module can be used described in acquisition, and the module number and the ability to communicate value are matched with the quantity of documents of the upgrading subfile, determine target communication module;The upgrading subfile is sent to the air-conditioning equipment by the target communication module, so that the air-conditioning equipment completes program upgrading.Using this method, the flow cost of data transmission can not only be saved, additionally it is possible to avoid because upgrade file it is larger caused by data transmission exception situations such as, realize the raising to air-conditioning equipment program success rate for upgrading.

Description

Air-conditioning equipment programme upgrade method, device, system and household appliance
Technical field
This application involves wireless communication technique fields, more particularly to a kind of air-conditioning equipment programme upgrade method, device, are System, household appliance, computer equipment and storage medium.
Background technique
Currently, air-conditioning has become household electrical appliance indispensable in the modern life, and update with air-conditioning products Speed is gradually accelerated, and the upgrading and maintenance of air-conditioning equipment program have become its most important thing.
Traditional air-conditioning equipment programme upgrade method usually stores upgrade procedure using Cloud Server, to air-conditioning equipment When program needs to upgrade, upgrade file is sent to air-conditioning equipment by Cloud Server, to realize to the long-range of air-conditioning equipment program Upgrading.
But when using traditional air-conditioning equipment programme upgrade method, often occur because data transmission is slow, transmission time is long And upgrading caused by midway goes offline fails.
Therefore, traditional air-conditioning equipment programme upgrade method has that success rate for upgrading is low.
Summary of the invention
Based on this, it is necessary to be directed to above-mentioned air-conditioning equipment programme upgrade method, there is the low technologies of success rate for upgrading to ask Topic, provide a kind of air-conditioning equipment programme upgrade method that can rationally solve above-mentioned technical problem, device, system, household appliance, Computer equipment and storage medium.
A kind of air-conditioning equipment programme upgrade method, comprising:
Obtain upgrade file;
The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, and, what acquisition was connect with air-conditioning equipment Communication module can be used;
The module number and ability to communicate value of communication module can be used described in acquisition, and by the module number and the communication Ability value is matched with the quantity of documents of the upgrading subfile, determines target communication module;
The upgrading subfile is sent to the air-conditioning equipment by the target communication module, so that the air-conditioning is set It is standby to complete program upgrading.
It is described in one of the embodiments, that the upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, packet It includes:
Obtain the data type of the upgrade file;
The upgrade file of same data type is merged, similar upgrade file is obtained;
According to the data volume of the similar upgrade file, the similar upgrade file such as is subjected at the data volumes and is divided, is obtained The more parts of upgrading subfiles.
In one of the embodiments, it is described obtain similar upgrade file after, further includes:
The similar upgrade file is verified, the first check code is obtained;First check code is used to supply the sky Equipment is adjusted to be verified, and after verify successfully, the merging similar upgrade file is obtained after the upgrade file described in progress Program upgrading;
The upgrading subfile of the data volumes such as described is verified, the second check code is obtained;Second check code is used for It is verified for the target communication module, and is verified after verifying successfully for the air-conditioning equipment, so that the air-conditioning After equipment verifies successfully the upgrading subfile, merge the upgrading subfile, obtains the similar upgrade file.
The ability to communicate value of communication module can be used described in the acquisition in one of the embodiments, comprising:
The signal strength of communication module and/or busy degree can be used described in acquisition;
According to the signal strength and/or the busy degree, the ability to communicate value is determined.
It is described according to the signal strength and/or the busy degree in one of the embodiments, determine the communication energy Force value, comprising:
The ratio for calculating the signal strength Yu the busy degree obtains the ability to communicate value;
Alternatively, obtaining the weight ratio of the signal strength Yu the busy degree;
The product for calculating the signal strength and the busy degree and the weight ratio, obtains the first product value and multiplies with second Product value;
Calculate first product value and the second product value and value, obtain the ability to communicate value.
In one of the embodiments, the method also includes:
The sum of the ability to communicate value that communication module can be used described in calculating, obtains ability to communicate and value is a;
It is described to match the module number and the ability to communicate value with the quantity of documents of the upgrading subfile, Determine target communication module, comprising:
The quantity of documents for determining upgrading subfile is b;
Compare the quantity of documents b and the ability to communicate and value a;
As b >=a, communication module can be used described in determination, as the target communication module.
It is described by the module number and the ability to communicate value and the upgrading subfile in one of the embodiments, Quantity of documents matched, determine target communication module, comprising:
As b < a, according to the ability to communicate value, can be ranked up with communication module to described;
N the sum of the ability to communicate values that can use communication module before sorting are calculated, obtaining ability value summation is c;n≥1;
As c >=b, communication module can be used by determining described in n before sorting, as the target communication module.
In one of the embodiments, it is described the upgrading subfile is sent to by the target communication module it is described Air-conditioning equipment, comprising:
According to the ability to communicate value of the target communication module and the quantity of documents, in proportion by the upgrading subfile It is sent to the target communication module, the upgrading subfile received is sent to the sky for the target communication module Adjust equipment.
It is described in one of the embodiments, that the upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, packet It includes:
The upgrade file is divided into more parts of upgrading subfiles by data volume;
The ability to communicate value according to the target communication module and the quantity of documents press the upgrading subfile Ratio is sent to the target communication module, comprising:
Determine the module number of the target communication module;
The upgrading subfile is divided according to the module number, obtains grouping subfile;The grouping Ziwen The file group number of part is matched with the module number;
Determine the quantity of documents for upgrading subfile in the grouping subfile;The quantity of documents and the ability to communicate value Matching;
The upgrading subfile after grouping is sent to the corresponding target communication module of matching.
The quantity of documents of the upgrading subfile is b, the communication of the target communication module in one of the embodiments, Ability value is an, described that the upgrading subfile is sent to the target communication module in proportion, comprising:
As b≤∑ anWhen, a is extracted in the upgrading subfilenA upgrading subfile upgrades subfile as n-th group;n ≥1;
It sends the n-th group and upgrades subfile to n-th of target communication module;N-th of target communication module is led to News ability value is an
It is described in one of the embodiments, that the upgrading subfile is sent to the target communication module in proportion, Include:
Work as b > ∑ anWhen, a is extracted in the upgrading subfilenA upgrading subfile upgrades subfile as n-th group;n ≥1;
It sends the n-th group and upgrades subfile to n-th of target communication module;N-th of target communication module is led to News ability value is an
According to the ability to communicate value of the target communication module, the remaining upgrading subfile is sent respectively to the target Communication module.
In one of the embodiments, the described method includes:
Receive the upgrading subfile of server;The upgrading subfile includes the second check code;The upgrading subfile Upgrade file is divided into for the server by pre-defined rule more parts of upgrading subfile;
According to second check code, the upgrading subfile is verified;
When the upgrading subfile verifies successfully, the upgrading subfile is sent to air-conditioning equipment, so that the air-conditioning Equipment completes program upgrading.
In one of the embodiments, the described method includes:
Receive the upgrading subfile of communication module;The upgrading subfile includes the second check code;The upgrading Ziwen Part is communication module verification successfully upgrading subfile;
When being verified successfully according to second check code to the upgrading subfile, merges the upgrading subfile, obtain To similar upgrade file;The similar upgrade file includes the first check code;
When verifying successfully according to first check code to the similar upgrade file, merge the similar upgrading text Part obtains upgrade file;
According to the upgrade file, air-conditioning equipment program upgrade operations are executed.
A kind of air-conditioning equipment program upgrade apparatus, described device include:
File acquisition module, for obtaining upgrade file;
Subfile obtains module, for the upgrade file to be divided into more parts of upgrading subfiles by pre-defined rule, and, it obtains Take the available communication module connecting with air-conditioning equipment;
File matching module, for obtaining the module number and ability to communicate value that can use communication module, and will be described Module number and the ability to communicate value are matched with the quantity of documents of the upgrading subfile, determine target communication module;
File sending module is set for the upgrading subfile to be sent to the air-conditioning by the target communication module It is standby, so that the air-conditioning equipment completes program upgrading.
A kind of air-conditioning equipment program upgrade apparatus, described device include:
File reception module, for receiving the upgrading subfile of server;The upgrading subfile includes the second verification Code;The upgrading subfile is the upgrading subfile that upgrade file is divided into more parts by pre-defined rule by the server;
File verification module, for being verified to the upgrading subfile according to second check code;
Subfile sending module, for when the upgrading subfile verifies successfully, sending the upgrading subfile to sky Equipment is adjusted, so that the air-conditioning equipment completes program upgrading.
A kind of air-conditioning equipment program upgrade apparatus, described device include:
Subfile receiving module, for receiving the upgrading subfile of communication module;The upgrading subfile includes second Check code;The upgrading subfile is communication module verification successfully upgrading subfile;
Similar file acquisition module is used for when being verified successfully according to second check code to the upgrading subfile, Merge the upgrading subfile, obtains similar upgrade file;The similar upgrade file includes the first check code;
Upgrade file obtains module, is verified successfully according to first check code to the similar upgrade file for working as When, merge the similar upgrade file, obtains upgrade file;
Device program upgraded module, for executing air-conditioning equipment program upgrade operations according to the upgrade file.
A kind of air-conditioning equipment program upgrade system, the system comprises:
Server, communication module and air-conditioning equipment;
The upgrade file is divided into more parts of upgrading by pre-defined rule after obtaining upgrade file by the server File, and, obtain the available communication module connecting with air-conditioning equipment;And the number of modules by the way that communication module can be used described in acquisition Amount and ability to communicate value, by the quantity of documents progress of the module number and the ability to communicate value and the upgrading subfile Match, determines target communication module;The upgrading subfile is sent to the air-conditioning equipment by the target communication module, with The air-conditioning equipment is set to complete program upgrading;
The communication module, for receiving the upgrading subfile of server;The upgrading subfile includes the second verification Code;And according to second check code, the upgrading subfile is verified;When the upgrading subfile verifies successfully, The upgrading subfile is sent to air-conditioning equipment, so that the air-conditioning equipment completes program upgrading;
The air-conditioning equipment, for receiving the upgrading subfile of communication module;The upgrading subfile includes the second school Test code;When verifying successfully according to second check code to the upgrading subfile, merge the upgrading subfile, obtains same Class upgrade file;The similar upgrade file includes the first check code;When according to first check code to the similar liter When grade file verification success, merges the similar upgrade file, obtain upgrade file;According to the upgrade file, air-conditioning is executed Device program updating operation.
A kind of household appliance, including memory and processor, the memory are stored with computer program, and feature exists In the processor realizes following steps when executing the computer program:
Receive the upgrading subfile of communication module;The upgrading subfile includes the second check code;
When being verified successfully according to second check code to the upgrading subfile, merges the upgrading subfile, obtain To similar upgrade file;The similar upgrade file includes the first check code;
When verifying successfully according to first check code to the similar upgrade file, merge the similar upgrading text Part obtains upgrade file;According to the upgrade file, air-conditioning equipment program upgrade operations are executed.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Obtain upgrade file;
The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, and, what acquisition was connect with air-conditioning equipment Communication module can be used;
The module number and ability to communicate value of communication module can be used described in acquisition, and by the module number and the communication Ability value is matched with the quantity of documents of the upgrading subfile, determines target communication module;
The upgrading subfile is sent to the air-conditioning equipment by the target communication module, so that the air-conditioning is set It is standby to complete program upgrading.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Obtain upgrade file;
The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, and, what acquisition was connect with air-conditioning equipment Communication module can be used;
The module number and ability to communicate value of communication module can be used described in acquisition, and by the module number and the communication Ability value is matched with the quantity of documents of the upgrading subfile, determines target communication module;
The upgrading subfile is sent to the air-conditioning equipment by the target communication module, so that the air-conditioning is set It is standby to complete program upgrading.
Above-mentioned air-conditioning equipment programme upgrade method, device, system, household appliance, computer equipment and storage medium, service Device passes through acquisition upgrade file first, and upgrade file is divided into more parts and obtains upgrading subfile with this, and obtains to use and communicate Module;Then the module number and ability to communicate value that can use communication module are obtained, module number, ability to communicate value and text are enable Number of packages is flux matched, determines target communication module;Upgrading subfile is finally sent to target communication module, for target communication module Upgrading subfile is verified, and then errorless upgrading subfile will be verified and be forwarded to air-conditioning equipment, is continued for air-conditioning equipment pair Upgrading subfile is verified, is merged and program upgrading processing.Using this method, upgrade file is divided, and is utilized Matched target communication module verifies upgrading subfile, the data scale of transfer bus is not only reduced, to save Flow cost, it is thus also avoided that because upgrade file it is larger caused by data transmission exception situations such as, realize to air-conditioning equipment program The raising of success rate for upgrading.
Detailed description of the invention
Fig. 1 is the applied environment figure of air-conditioning device program upgrade method in one embodiment;
Fig. 2 is the flow diagram of air-conditioning device program upgrade method in one embodiment;
Fig. 3 is the structural block diagram of air-conditioning device program update device in one embodiment;
Fig. 4 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Firstly the need of explanation, term involved in the embodiment of the present invention " first second " be only be that difference is similar Object, do not represent the particular sorted for object, it is possible to understand that ground, " first second " can be interchanged in the case where permission Specific sequence or precedence.It should be understood that the object that " first second " is distinguished is interchangeable under appropriate circumstances, so that this In the embodiment of the present invention for describing can be performed in other sequences than those illustrated or described herein.
Provided by the present invention, a kind of air-conditioning equipment programme upgrade method can be applied to application environment as shown in Figure 1 In.It wherein, may include having server 102, communication module 104 and air-conditioning equipment 106 in an air conditioning managing system.
Wherein, server 102 can be with the server cluster that independent server or multiple servers form come real Existing, server 102 can carry out division and checking treatment to upgrade file.Communication module 104 can use NBIOT (Narrow Band Internet of Things, NBIOT) technology, to server 102 transmit upgrading subfile verify, and with sky Equipment 106 is adjusted to be communicated.Communication module 104 can be deployed directly into GSM (Global System For Mobile Communications, GSM) network, UMTS (Universal Mobile Telecommunications System, UMTS) In network or LTE (Long Term Evolution, LTE) network, there is low-power consumption, reliable communications, at low cost and can have Feature is arbitrarily disposed in any region of no public network.Air-conditioning equipment 106 can be the air-conditioning equipment 106 of single control or joint control air-conditioning, It can be air-conditioning cluster control unit, air-conditioning equipment 106 can be used for that the upgrading subfile that communication module 104 transmits is verified and merged Processing, and the upgrade file after merging is used to upgrade the program of air-conditioning equipment 106.
In actual application scenarios, when upgrading to the program of air-conditioning equipment 106, often due to server 102 with Communication quality between air-conditioning equipment 106 is poor or upgrade file it is larger caused by data transmission exception situations such as, reduce To the success rate for upgrading of 106 program of air-conditioning equipment, therefore, there is success rates for upgrading for the device program upgrade method of the prior art Low problem.
In one embodiment, it as shown in Fig. 2, providing a kind of air-conditioning equipment programme upgrade method, applies in this way It is illustrated for server 102 in Fig. 1, comprising the following steps:
Step S210 obtains upgrade file.
Wherein, upgrade file refers to the file for replacing 106 program file of legacy version air-conditioning equipment, and upgrade file can be with It is using computer language editor, the code file with logic control instruction, for example, the burning text of programmable device or single-chip microcontroller Part.
In the specific implementation, upgrade file is uploaded to service first by technical staff before the program of upgrading air-conditioning equipment 106 Device 102 carries out dissection process to upgrade file by server 102, sends upgrading subfile later to communication module 104, by leading to It interrogates module 104 and verifies file, and be forwarded to air-conditioning equipment 106, merge upgrading subfile for air-conditioning equipment 106, to set to air-conditioning Standby 106 programs are upgraded.
For example, air-conditioning equipment 106 before obtaining program upgrade command, will receive some terminal by server 102 and send Upgrade file.
Certainly, those skilled in the art can obtain upgrade file by other means, for example, server 102 can be with Other servers establish communication connection, obtain upgrade file from other server ends, it can be seen that, obtain the mode of upgrade file Can there are many, the embodiment of the present application to obtain upgrade file concrete mode with no restriction.
The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule by step S220, and, acquisition is set with air-conditioning The available communication module of standby connection.
Wherein, upgrading subfile refers to be divided by upgrade file by file type classification processing, data volume and obtain later Subfile, upgrading subfile has the characteristics that EMS memory occupation is few, transmission speed is fast and transmission province flow.Communication module 104 Refer to the module for upgrading subfile to be transmitted and verified, communication module 104 can be using NBIOT technology NBIOT module, the verification mode of communication module 104 can be CRC (Cyclic Redundancy Check) verification.It can use logical It interrogates module to refer in communication module 104, online, to can be used for transmitting file communication module 104.
In the specific implementation, after server 102 gets upgrade file dissection process will be carried out to upgrade file, i.e., will Upgrade file is divided into more parts of upgrading subfiles according to scheduled rule.Meanwhile after server 102 gets upgrade file, also It will acquire the available communication module connecting with air-conditioning equipment 106, which is online, energy in communication module 104 Normal file is enough provided and transmits the communication module 104 used.
Step S230, can use the module number and ability to communicate value of communication module described in acquisition, and by the module number It is matched with the ability to communicate value with the quantity of documents of the upgrading subfile, determines target communication module.
Wherein, module number refers to the quantity of available communication module, for example, 1,2,3.Ability to communicate value refers to communication module The quantity of documents that 104 pairs of upgrading subfiles can be verified, can be transmitted can then verify for example, ability to communicate value is 3, transmit 2 lists The upgrading subfile of bit quantity.Quantity of documents refers to the quantity of file, for example, 1,2,3.
In the specific implementation, server 102 gets upgrade file, and upgrade file is divided and obtains upgrading Ziwen After part, will continue obtain can use communication module, wherein acquisition can need to be considered with communication module communication module 104 in threadiness State, i.e., available communication module refer to communication module 104 that is online, can provide normal file transfer capability.Further, it It determines target communication module, not only needs to know the quantity of documents of upgrading subfile, it is also necessary to know the mould of available communication module Number of blocks and ability to communicate value.Since the ability to communicate value of each available communication module is there may be difference, server 102 is being obtained To after the quantity of documents of upgrading subfile, ability to communicate value based on the verification principle for meeting quantity of documents, will be obtained therewith The available communication module matched, as the target communication module for transmitting, verifying the upgrading subfile.
For example, the quantity of documents of upgrading subfile is 20, there is currently the available communication modules that module number is 3, lead to Interrogating ability value is respectively 7,5,10, then target communication module can be the available communication mould that ability to communicate value is respectively 7,5,10 Block.
The upgrading subfile is sent to the air-conditioning equipment by the target communication module by step S240, so that The air-conditioning equipment completes program upgrading.
In the specific implementation, after server 102 has determined target communication module, by the communication energy according to target communication module Force value sends upgrading of the upgrading subfile of corresponding document quantity to target communication module, for target communication module to receiving Subfile is verified, and is forwarded to air-conditioning equipment 106 after verification is errorless, further for 106 pairs of upgrading subfiles of air-conditioning equipment Checking treatment, line program of going forward side by side upgrading.
For example, when the quantity of documents that server 102 obtains upgrading subfile is 20, and target communication module is communication energy When force value is respectively 3,7,10 communication module 104, it is 3 that 20 3 upgraded in subfile, which are sent to ability to communicate value, 7 upgrading subfiles are sent to the target communication module that ability to communicate value is 7, by 10 upgrading Ziwens by target communication module Part is sent to the target communication module that ability to communicate value is 10, by this method transmission upgrading subfile to target communication module, and By target communication module forwards to air-conditioning equipment 106.
In above-mentioned air-conditioning equipment programme upgrade method, server passes through acquisition upgrade file first, by upgrade file point Upgrading subfile is obtained with this at more parts, and acquisition can use communication module;Then obtain can with the module number of communication module and Ability to communicate value enables module number, ability to communicate value to match with quantity of documents, determines target communication module;It will finally rise Grade subfile is sent to target communication module, air-conditioning equipment is forwarded to by subfile is upgraded for target communication module, so that air-conditioning Equipment utilization upgrades subfile and carries out program upgrading processing.Using this method, upgrade file is divided, and is utilized matched Target communication module transmits upgrading subfile respectively, not only reduces the data scale of transfer bus, so that flow cost is saved, Also avoid because upgrade file it is larger caused by data transmission exception situations such as, realize to air-conditioning equipment program success rate for upgrading Raising.
In one embodiment, the step S220 includes:
Obtain the data type of the upgrade file;The upgrade file of same data type is merged, is obtained Similar upgrade file;According to the data volume of the similar upgrade file, the similar upgrade file such as is subjected at the data volumes and is divided, Obtain the more parts of upgrading subfiles.
Wherein, data type refers to the type of data included in upgrade file.Similar upgrade file refers to data type File made of the upgrade file of identical, multiple same data types merges.Data volume refers to the data scale of file, for example, 10KB、10M。
In the specific implementation, after server 102 gets upgrade file dissection process will be carried out to upgrade file, i.e., will Upgrade file is classified using data type as standard, first merges upgrade file by data type, is obtained multiple Similar upgrade file, and then divided further according to the data volume of file, multiple upgrading subfiles are obtained, file can not only be improved Transmission speed, additionally it is possible to reduce the data scale of transfer bus, envoy cost-saving.
For example, including the different types of upgrade files such as " data record ", " address segment record " in upgrade file, i.e., will Different types of upgrade file carries out classification merging, obtains one group of similar upgrade file, text that file type is " data record " Part type is another group of similar upgrade file of " address segment record ", and then similar upgrade file is subject to 500KB, is divided into Multiple data volumes are the upgrading subfile of 500KB.If the upgrade file that server 102 is got is Hex (16 system) file, 4th byte representation data type of Hex file, data type have " 0x00,0x01,0x02,0x03,0x04,0x05 ", In " 00 " indicate be used for data record, " 03 " indicate start sector address record, " 05 " indicate start linear address record, server 102 will carry out classification processing to upgrade file according to data type, obtain different types of similar upgrade file.Further, In order to reduce the size of upgrade file, server 102 will be subject to a specific data volume, by each similar upgrade file into Row divides, and obtains the relatively small upgrading subfile of data volume.
In one embodiment, it is described obtain similar upgrade file after, further includes:
The similar upgrade file is verified, the first check code is obtained;First check code is used to supply the sky Equipment is adjusted to be verified, and after verify successfully, the merging similar upgrade file is obtained after the upgrade file described in progress Program upgrading;The upgrading subfile of the data volumes such as described is verified, the second check code is obtained;Second check code is used for It is verified for the target communication module, and is verified after verifying successfully for the air-conditioning equipment, so that the air-conditioning After equipment verifies successfully the upgrading subfile, merge the upgrading subfile, obtains the similar upgrade file.
In the specific implementation, server 102 to upgrade file carry out data type division, obtain similar upgrade file it Afterwards, similar upgrade file will be verified, to get the first check code.Then, server 102 is using to similar upgrading File the upgrading subfile that data volumes divide such as carries out and is verified, and further gets the second check code, services as a result, Device 102 is sent in the upgrading subfile of target communication module, includes the first check code and the second check code.Target communication mould Block will equally carry out file verification work after receiving upgrading subfile, i.e., upgrade subfile using the second verification code check It is whether errorless, obtain upgrading subfile it is intact in the case where be sent to air-conditioning equipment 106.Air-conditioning equipment 106 receives upgrading After subfile, also with second verification code check upgrade subfile, check results be successfully after merging upgrade subfile, obtain Similar upgrade file continues after verifying the similar upgrade file success of code check using first again, and merging is restored to for program liter The upgrade file of grade.
In one embodiment, the step S230, comprising:
The signal strength of communication module and/or busy degree can be used described in acquisition;According to the signal strength and/or described numerous Busy degree, determines the ability to communicate value.
Wherein, signal strength refers to the network signal intensity of communication module 104, and signal strength determines Current communications module 104 communication quality, the i.e. signal strength of communication module 104 may change with the variation of network coverage, for example, 1, 3,5.It is busy degree indicate communication module 104 operating status, communication module 104 work when busy degree relative to it is standby when it is numerous Busy degree is high, for example, 2,4,6.
In the specific implementation, server 102 gets the upgrading subfile divided by upgrade file, and communication module can be used Later, it will acquire the ability to communicate value of available communication module.Wherein, the ability to communicate value that can use communication module is obtained, is depended on The signal strength of communication module and/or busy degree can be used, it can be by obtaining signal strength and/or busy degree, being calculated can With the ability to communicate value of communication module.
For example, server 102 gets an available communication module, it is 3 that the signal strength of communication module, which can be used, in this, busy Degree be 5, then can be according to signal strength 3 and/or it is busy degree be 5, calculating ability to communicate value.
In one embodiment, described according to the signal strength and/or the busy degree, determine the ability to communicate Value, comprising: the ratio for calculating the signal strength Yu the busy degree obtains the ability to communicate value;Alternatively, obtaining the letter The weight ratio of number intensity and the busy degree;The product for calculating the signal strength and the busy degree and the weight ratio, obtains To the first product value and the second product value;Calculate first product value and the second product value and value, obtain the communication energy Force value.
Wherein, weight ratio refers to mathematically, if in order to show dry measure number possessed significance level in total amount, respectively Give different proportionality coefficients.First product value refers to the product value of signal strength Yu signal strength weight ratio.Second product value Refer to the product value of busy degree with busy degree weight ratio.
In the specific implementation, ability to communicate value can be determined according to the calculating of signal strength and/or busy degree, first can be Kind of calculation: calculating the ratio of signal strength and busy degree, obtain the ability to communicate value, i.e., using signal strength as dividing Son regard busy degree as denominator, calculates its ratio and obtain ability to communicate value;It is also possible to second of calculation: obtains respectively When busy degree weight ratio, the product of calculating signal strength and signal strength weight ratio obtain the first product to signal strength weight Value calculates the product of busy degree with busy degree weight ratio, obtains the second product value, and then calculate the first product value and the second product Be worth and value, can be obtained ability to communicate value.
For example, the signal strength of some available communication module is 5, busy degree is 5, signal strength weight ratio is 0.4, busy Spending weight ratio is 0.6, then it is 2 that the first product value, which is calculated, and it is 3 that the second product value, which is calculated to obtain, and ability to communicate value is 5.
In one embodiment, further includes:
The sum of the ability to communicate value that communication module can be used described in calculating, obtains ability to communicate and value is a;It is described by the mould Number of blocks and the ability to communicate value are matched with the quantity of documents of the upgrading subfile, are determined target communication module, are wrapped Include: the quantity of documents for determining upgrading subfile is b;Compare the quantity of documents b and the ability to communicate and value a;As b >=a, Communication module can be used described in determination, as the target communication module.
Wherein, the sum of ability to communicate value a refers to all available communication modules, ability to communicate value summation, for example, 20, 40、60。
In the specific implementation, if the summation of the ability to communicate value of all available communication modules, is unable to satisfy the upgrading to be transmitted Ziwen number of packages then regard all available communication modules as target communication module.
For example, the ability to communicate value that the quantity of documents of upgrading subfile is 20,2 available communication modules is respectively 5,7, lead to Interrogating the sum of ability value is 12, then regard this 2 available communication modules as target communication module.
In one embodiment, the step S230 includes:
As b < a, according to the ability to communicate value, can be ranked up with communication module to described;Calculate n institute before sorting The sum of the ability to communicate value for stating available communication module, obtaining ability value summation is c;n≥1;As c >=b, n are determined before sorting It is described to use communication module, as the target communication module.
In the specific implementation, if the summation of the ability to communicate value of all available communication modules, can satisfy the upgrading to be transmitted Ziwen number of packages can then be ranked up available communication module, ordering rule can according to the ability to communicate value of each available communication module To be ascending order arrangement, it is also possible to descending arrangement.After module sequence, the ability to communicate of n available communication modules before sorting is calculated The sum of value, obtains ability value summation c, when ability value summation c is more than or equal to quantity of documents, it may be determined that n is a available logical before sorting Module is interrogated, as target communication module.
For example, the summation 30 of the ability to communicate value of 3 available communication modules, and the quantity of documents for upgrading subfile is 20, After then descending arrangement being carried out according to ability to communicate value with communication module, the communication energy of first available communication module in sequence Force value be the ability to communicate value of 12, second available communication modules be 10, the ability to communicate value of third available communication module is 8, then target communication module can be identified as second available communication module of first available communication module of sequence and sequence.
In one embodiment, the step S240 includes:
According to the ability to communicate value of the target communication module and the quantity of documents, in proportion by the upgrading subfile It is sent to the target communication module, the upgrading subfile received is sent to the sky for the target communication module Adjust equipment.
In the specific implementation, after target communication module has been determined, it will be according to the ability to communicate value of target communication module and upgrading Upgrading subfile is sent to target communication module in proportion, will received for target communication module by the quantity of documents of subfile Upgrading subfile be sent to air-conditioning equipment.
It is in one embodiment, described that the upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, comprising:
The upgrade file is divided into more parts of upgrading subfiles by data volume;It is described according to the target communication module The upgrading subfile is sent to the target communication module by ability to communicate value and the quantity of documents in proportion, comprising: really The module number of the fixed target communication module;The upgrading subfile is divided according to the module number, is divided Group subfile;The file group number of the grouping subfile is matched with the module number;It determines and upgrades in the grouping subfile The quantity of documents of subfile;The quantity of documents is matched with the ability to communicate value;By the upgrading subfile hair after grouping Send the target communication module corresponding to matching.
Wherein, grouping subfile refers to that, by upgrading subfile grouping N group, N is equal to the module number of target communication module.
In the specific implementation, upgrading subfile is sent to target communication module, it is first that upgrade file is equal by data volume It is divided into more parts of upgrading subfiles, i.e., the data volume of every part upgrading subfile is equal, then, it is determined that the number of modules of target communication module Upgrading subfile is divided according to module number, obtains grouping subfile by amount, be grouped the file group number of subfile with it is described Module number is equal.Further, it is determined that upgrading the quantity of documents of subfile in grouping subfile, and by quantity of documents and communicate Ability value is matched, and the upgrading subfile after grouping can be finally sent to the corresponding target communication module of matching.
In one embodiment, the quantity of documents of the upgrading subfile is b, the ability to communicate of the target communication module Value is an, described that the upgrading subfile is sent to the target communication module in proportion, comprising:
As b≤∑ anWhen, a is extracted in the upgrading subfilenA upgrading subfile upgrades subfile as n-th group;n ≥1;It sends the n-th group and upgrades subfile to n-th of target communication module;The communication energy of n-th of target communication module Force value is an
In the specific implementation, server 102 by upgrade subfile be sent to target communication module mode can there are many.Example Such as, when target communication module is only 1, and 1 target communication module verifies the upgrading subfile of current file quantity enough When verification, server 102 will directly transmit the upgrading subfile of All Files quantity to the target communication module, without to liter Grade subfile carries out the allocation processing of module.When 1 available communication module can not verify all upgrading subfiles, server 102 will acquire n target communication module to verify upgrading subfile, at this point, target communication module has n, n target communication mould The ability to communicate value of block is respectively a1、a2、a3……an, then upgrading subfile is sent to target communication module, should incited somebody to action first Upgrade subfile distribute with the quantity of number of modules, i.e., extracts a in upgrading subfile1A upgrading subfile, as first Group upgrading subfile, it is a which, which can be transmitted to ability to communicate value,1Target communication module, extract anIt is a to rise Grade subfile upgrades subfile as n-th group, and it is a that n-th group upgrading subfile, which can be transmitted to ability to communicate value,nTarget it is logical Interrogate module.
For example, target communication module has 3, the ability to communicate value of target communication module is sequentially classified as in no particular order: a1= 3、a2=7, a3=5, the quantity of documents for upgrading subfile at this time is 15, then 3 Ziwens are extracted first in 15 upgrading subfiles Part is sent to a as first group of upgrading subfile1=3 first aim communication module continues to extract 7 subfile conducts Second group of upgrading subfile, is sent to a2=7 second target communication module finally extracts 5 subfiles as third group Upgrade subfile, is sent to a3=5 third target communication module.
It is in one embodiment, described that the upgrading subfile is sent to the target communication module in proportion, comprising:
Work as b > ∑ anWhen, a is extracted in the upgrading subfilenA upgrading subfile upgrades subfile as n-th group;n ≥1;It sends the n-th group and upgrades subfile to n-th of target communication module;The communication energy of n-th of target communication module Force value is an;According to the ability to communicate value of the target communication module, the remaining upgrading subfile is sent respectively to the mesh Mark communication module.
In the specific implementation, if quantity of documents is greater than transmitting, can verifying number of files for existing target communication module, i.e., it is logical Ability value is interrogated, then subfile will be upgraded by, which not only needing to be scaled, is sent to the target communication module that ability to communicate value matches, also Remaining, not sent upgrading subfile need to be handled, then handles the rule of remaining upgrading subfile, can be by belonging to file Quantity carries out the distribution of certain rule, e.g., by the ratio cut partition of ability to communicate value, is also possible to all be sent to some target Communication module.It can be seen that send upgrading subfile to target communication module mode can there are many, the embodiment of the present application pair Send upgrading subfile to target communication module concrete mode with no restriction.
The scheme provided according to embodiments of the present invention, server can use the ability to communicate value of communication module by obtaining, Obtain and upgrade the target communication module that subfile its quantity of documents matches, and according to quantity of documents and ability to communicate value, Suitable upgrading subfile is distributed to corresponding target communication module, so that target communication module can be sufficiently utilized, herein In the process, server also verifies similar upgrade file and upgrading subfile, has obtained two kinds of file verification codes, so that Target communication module and air-conditioning equipment can ensure that file is available, finally ensures by rising in subsequent operation using the check code Upgrade file made of grade subfile merges can be used for program upgrading.Using this method, cost can not only be saved, moreover it is possible to Enough avoid because upgrade file it is larger caused by data transmission exception situations such as, it is ensured that the validity of file is realized to air-conditioning The raising of device program success rate for upgrading.
In one embodiment, a kind of air-conditioning equipment programme upgrade method is provided, is applied in this way logical in Fig. 1 It is illustrated for news module 104, comprising the following steps:
Step S310, the upgrading subfile of server is received;The upgrading subfile includes the second check code;The liter Grade subfile is the upgrading subfile that upgrade file is divided into more parts by pre-defined rule by the server.
Step S320, according to second check code, the upgrading subfile is verified.
Step S330, when the upgrading subfile verifies successfully, the transmission upgrading subfile to air-conditioning equipment, so that The air-conditioning equipment completes program upgrading.
Wherein, it after the second check code refers to that all data in 102 pairs of server upgrading subfiles carry out CRC check, obtains The check code arrived, first identifying code are sent to target communication module with upgrading subfile.
In the specific implementation, after target communication module gets upgrading subfile, it will be according to upgrading subfile existing second Check code verifies upgrading subfile, and when upgrading subfile verifies successfully, sends verified successful upgrading File is to air-conditioning equipment 102, and verification mode can be the new check code of acquisition and match with the second check code, if matching is consistent It verifies successfully.
In above-mentioned air-conditioning equipment programme upgrade method, target communication module receives the colleague of upgrading subfile, also obtains Upgrading subfile is verified to the second check code, and using the second check code, is sent in the case where verifying successful situation To air-conditioning equipment, so that air-conditioning equipment completes program upgrading.Using this method, it ensure that the availability of upgrading subfile, avoid It is continued to use in the case where file corruption, therefore saves upgrade cost, realized to air-conditioning equipment program success rate for upgrading Raising.
In one embodiment, the method also includes:
When the upgrading subfile verifies failure, file retransmission request is generated;The file retransmission is sent to request to institute State server;The file retransmission request is used to indicate the server and retransmits the upgrading subfile, until the liter Grade subfile verifies successfully.
In the specific implementation, i.e. upgrading subfile has been damaged if the result of target communication module verification upgrading subfile is failure It is bad, then file retransmission request is generated, and this document is retransmitted into request and is sent to server 102, request server 102 retransmits Upgrade subfile, until target communication module verifies successfully the upgrading subfile received.
The scheme provided according to embodiments of the present invention first has to pair after target communication module gets upgrading subfile Upgrading subfile is verified, and if it exists the case where verification failure, then shows that upgrading subfile damages, and can not be used as and set to air-conditioning The basic document of standby program upgrading then needs to generate file retransmission request, and sends this request to server, and instruction service is thought highly of It is new to send upgrading subfile, until communication module verifies successfully the upgrading subfile received.Using this method, liter ensure that The availability of grade subfile, avoids continuing to use in the case where file corruption, therefore save upgrade cost, realize to sky Adjust the raising of device program success rate for upgrading.
In one embodiment, a kind of air-conditioning equipment programme upgrade method is provided, the sky being applied in Fig. 1 in this way It is illustrated for tune equipment 106, comprising the following steps:
Step S410, the upgrading subfile of communication module is received;The upgrading subfile includes the second check code;It is described Upgrading subfile is communication module verification successfully upgrading subfile.
Step S420, when verifying successfully according to second check code to the upgrading subfile, merge the upgrading Subfile obtains similar upgrade file;The similar upgrade file includes the first check code.
Step S430, when being verified successfully according to first check code to the similar upgrade file, merge described same Class upgrade file, obtains upgrade file.
Step S440, according to the upgrade file, air-conditioning equipment program upgrade operations are executed.
In above-mentioned air-conditioning equipment programme upgrade method, after air-conditioning equipment receives upgrading subfile, first with the second school It tests code to verify upgrading subfile, upgrading subfile is merged after verifying successfully and obtains similar upgrade file, further also Similar upgrade file will be verified, and after verifying successfully again, merge similar upgrade file and obtain upgrade file, the process Belong to the recuperation to upgrade file.Using this method, it ensure that the availability of upgrading subfile, avoid in file corruption In the case of continue to use, therefore save upgrade cost, realize the raising to air-conditioning equipment program success rate for upgrading.
In one embodiment, before the upgrading subfile for receiving communication module, further includes:
Receive program upgrade command;According to described program upgrade command, the upgrading Ziwen of the communication module is received Part.
In the specific implementation, air-conditioning equipment verifies upgrading subfile, restores after obtaining upgrade file, program is being carried out Before upgrading, it can be and updating operation is carried out according to the program upgrade command received again, that is, receiving program upgrade command Under the premise of, program upgrade operations can be carried out using upgrade file.
In one embodiment, described according to the upgrade file, before executing air-conditioning equipment program upgrade operations, also Include:
Obtain air-conditioning equipment operating status;When the air-conditioning equipment operating status is to stop, the air-conditioning equipment is executed Program upgrade operations.
In the specific implementation, air-conditioning equipment can be before air-conditioning equipment is out of service before executing program upgrade operations It puts, then executes program upgrade operations, avoiding upgrading in the air-conditioning equipment runtime causes program chaotic.
In one embodiment, after the execution air-conditioning equipment program upgrade operations, further includes:
Obtain the program updating result of the air-conditioning equipment;When described program updating result is successfully, generate upgrading at Function prompt;It is described to upgrade successfully prompt for prompting the air-conditioning equipment program to upgrade successfully;When described program updating result is When failure, generates upgrading and unsuccessfully prompt;The upgrading unsuccessfully prompts to indicate the communication mould for being sent to the communication module Block retransmits the upgrading subfile, until the air-conditioning equipment program upgrades successfully.
In the specific implementation, whether can judge upgrading by obtaining updating result after the completion of the upgrading of air-conditioning equipment program Success, and then terminate this secondary program upgrading task, if updating result be it is unsuccessful, need to execute previous embodiment description again Step process, until program updating result is successfully, to terminate this upgrading task.
The scheme provided according to embodiments of the present invention, air-conditioning equipment can complete program upgrading in several cases, it can It is to be also possible in the case where receiving program upgrade command in the case where air-conditioning equipment is out of service, and in program liter Grade judges whether upgrading succeeds after completing, terminate this air-conditioning equipment program upgrading task with this.Using this method, ensure that The availability for upgrading subfile, avoids continuing to use in the case where file corruption, therefore save upgrade cost, realizes pair The raising of air-conditioning equipment program success rate for upgrading.
It should be understood that although each step in the flow chart of Fig. 2 is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part of Fig. 2 walks It suddenly may include that perhaps these sub-steps of multiple stages or stage have been executed in synchronization to multiple sub-steps At, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, and It is that can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in figure 3, providing a kind of air-conditioning equipment program upgrade apparatus, including file acquisition Module 310, subfile obtain module 320, file matching module 330 and file sending module 340, in which:
File acquisition module 310, for obtaining upgrade file;
Subfile obtains module 320, for the upgrade file to be divided into more parts of upgrading subfiles by pre-defined rule, with And obtain the available communication module connecting with air-conditioning equipment;
File matching module 330, for obtaining the module number and ability to communicate value that can use communication module, and by institute It states module number and the ability to communicate value to be matched with the quantity of documents of the upgrading subfile, determines target communication mould Block;
File sending module 340, for the upgrading subfile to be sent to the sky by the target communication module Equipment is adjusted, so that the air-conditioning equipment completes program upgrading.
The scheme provided according to embodiments of the present invention, server can use the ability to communicate value of communication module by obtaining, Obtain and upgrade the target communication module that subfile its quantity of documents matches, and according to quantity of documents and ability to communicate value, Suitable upgrading subfile is distributed to corresponding target communication module, so that target communication module can be sufficiently utilized, herein In the process, server also verifies similar upgrade file and upgrading subfile, has obtained two kinds of file verification codes, so that Target communication module and air-conditioning equipment can ensure that file is available, finally ensures by rising in subsequent operation using the check code Upgrade file made of grade subfile merges can be used for program upgrading.Using the program, cost can not only be saved, moreover it is possible to Enough avoid because upgrade file it is larger caused by data transmission exception situations such as, it is ensured that the validity of file is realized to air-conditioning The raising of device program success rate for upgrading.
In one embodiment, the subfile obtains module 320, comprising:
Data type acquisition submodule, for obtaining the data type of the upgrade file;Similar file mergences submodule, For merging the upgrade file of same data type, similar upgrade file is obtained;Submodule is divided with class file, For the data volume according to the similar upgrade file, the similar upgrade file such as is subjected at the data volumes and is divided, obtains more parts The upgrading subfile.
In one embodiment, the same class file divides submodule, comprising:
Similar file verification unit obtains the first check code for verifying to the similar upgrade file;Described One check code is used to be verified for the air-conditioning equipment, and after verifying successfully, merges the similar upgrade file, obtain institute Described program upgrading is carried out after stating upgrade file;Subfile verification unit, for the upgrading subfile to the data volumes such as described into Row verification, obtains the second check code;Second check code is used to be verified for the target communication module, and verification at It is verified after function for the air-conditioning equipment, so as to merge institute after the air-conditioning equipment verifies successfully the upgrading subfile Upgrading subfile is stated, the similar upgrade file is obtained.
In one embodiment, the file matching module 330, comprising:
Feature acquisition submodule, for obtaining the signal strength that can use communication module and/or busy degree;Ability value is true Stator modules, for determining the ability to communicate value according to the signal strength and/or the busy degree.
In one embodiment, the ability value determines submodule, comprising:
Ability value computing unit obtains the communication energy for calculating the ratio of the signal strength Yu the busy degree Force value;Weight ratio acquiring unit, for obtaining the weight ratio of the signal strength Yu the busy degree;Product value acquiring unit, For calculating the product of the signal strength and the busy degree and the weight ratio, the first product value and the second product are obtained Value;Ability value acquiring unit obtains the ability to communicate for calculate first product value and the second product value and value Value.
In one embodiment, described device further include:
Ability to communicate and value computing module are led to for calculating the sum of the ability to communicate value that can use communication module News ability and value are a;The file matching module 330, comprising: quantity of documents determines submodule, for determining upgrading subfile Quantity of documents be b;Feature Comparative sub-module, for the quantity of documents b and the ability to communicate and value a;Target mould Block determines submodule, for that communication module can be used described in determination, as the target communication module as b >=a.
In one embodiment, the file matching module 330, comprising:
Module sorting sub-module, for that according to the ability to communicate value, can be carried out with communication module to described as b < a Sequence;Ability value summation computational submodule, for calculating first n the sum of the ability to communicate values that can use communication module that sort, Obtaining ability value summation is c;n≥1;Target communication module determines submodule, and for determining as c >=b, n is a described before sorting Communication module can be used, as the target communication module.
In one embodiment, the file sending module 340, comprising:
Ratio file sending submodule, for the ability to communicate value and the number of files according to the target communication module Amount, by the upgrading subfile is sent to the target communication module in proportion, will receive for the target communication module The upgrading subfile is sent to the air-conditioning equipment.
In one embodiment, the ratio file sending submodule, comprising:
The sub-units such as subfile, for the upgrade file to be divided into more parts of upgrading subfiles by data volume;Number of modules Determination unit is measured, for determining the module number of the target communication module;It is grouped subfile acquiring unit, is used for the liter Grade subfile is divided according to the module number, obtains grouping subfile;The file group number of the grouping subfile and institute State module number matching;Quantity of documents determination unit, for determining the quantity of documents for upgrading subfile in the grouping subfile; The quantity of documents is matched with the ability to communicate value;Subfile transmission unit, for the upgrading subfile after being grouped It is sent to the corresponding target communication module of matching.
In one embodiment, the quantity of documents of the upgrading subfile is b, the ability to communicate of the target communication module Value is an, the ratio file sending submodule, comprising:
Subfile is grouped first unit, for working as b≤∑ anWhen, a is extracted in the upgrading subfilenA upgrading Ziwen Part upgrades subfile as n-th group;n≥1;Subfile grouping sends first unit, for sending the n-th group upgrading Ziwen Part is to n-th of target communication module;The ability to communicate value of n-th of target communication module is an
In one embodiment, the ratio file sending submodule, comprising:
Subfile is grouped second unit, for working as b > ∑ anWhen, a is extracted in the upgrading subfilenA upgrading Ziwen Part upgrades subfile as n-th group;n≥1;Subfile grouping sends second unit, for sending the n-th group upgrading Ziwen Part is to n-th of target communication module;The ability to communicate value of n-th of target communication module is an;Remaining file transmission unit, For the ability to communicate value according to the target communication module, the remaining upgrading subfile is sent respectively to the target communication Module.
The scheme provided according to embodiments of the present invention, server can use the ability to communicate value of communication module by obtaining, Obtain and upgrade the target communication module that subfile its quantity of documents matches, and according to quantity of documents and ability to communicate value, Suitable upgrading subfile is distributed to corresponding target communication module, so that target communication module can be sufficiently utilized, herein In the process, server also verifies similar upgrade file and upgrading subfile, has obtained two kinds of file verification codes, so that Target communication module and air-conditioning equipment can ensure that file is available, finally ensures by rising in subsequent operation using the check code Upgrade file made of grade subfile merges can be used for program upgrading.Using scheme, cost can not only be saved, additionally it is possible to Avoid because upgrade file it is larger caused by data transmission exception situations such as, it is ensured that the validity of file is realized and is set to air-conditioning The raising of standby program success rate for upgrading.
In one embodiment, a kind of air-conditioning equipment program upgrade apparatus, including file reception module 410, text are provided Part correction verification module 420 and subfile sending module 430, in which:
File reception module 410, for receiving the upgrading subfile of server;The upgrading subfile includes the second school Test code;The upgrading subfile is the upgrading subfile that upgrade file is divided into more parts by pre-defined rule by the server;
File verification module 420, for being verified to the upgrading subfile according to second check code;
Subfile sending module 430, for sending the upgrading subfile extremely when the upgrading subfile verifies successfully Air-conditioning equipment, so that the air-conditioning equipment completes program upgrading.
The scheme provided according to embodiments of the present invention, target communication module receive the colleague of upgrading subfile, also obtain Upgrading subfile is verified to the second check code, and using the second check code, is sent in the case where verifying successful situation To air-conditioning equipment, so that air-conditioning equipment completes program upgrading.Using the program, it ensure that the availability of upgrading subfile, avoid It is continued to use in the case where file corruption, therefore saves upgrade cost, realized to air-conditioning equipment program success rate for upgrading Raising.
In one embodiment, described device further include:
It retransmits request and generates submodule, for generating file retransmission request when the upgrading subfile verifies failure;Weight Request-to-send submodule is sent out, is requested for sending the file retransmission to the server;The file retransmission request is for referring to Show that the server retransmits the upgrading subfile, until the upgrading subfile verifies successfully.
The scheme provided according to embodiments of the present invention first has to pair after target communication module gets upgrading subfile Upgrading subfile is verified, and if it exists the case where verification failure, then shows that upgrading subfile damages, and can not be used as and set to air-conditioning The basic document of standby program upgrading then needs to generate file retransmission request, and sends this request to server, and instruction service is thought highly of It is new to send upgrading subfile, until communication module verifies successfully the upgrading subfile received.Using the program, liter ensure that The availability of grade subfile, avoids continuing to use in the case where file corruption, therefore save upgrade cost, realize to sky Adjust the raising of device program success rate for upgrading.
In one embodiment, a kind of air-conditioning equipment program upgrade apparatus is provided, including subfile receiving module 510, Similar file acquisition module 520, upgrade file obtain module 530 and device program upgraded module 540, in which:
Subfile receiving module 510, for receiving the upgrading subfile of communication module;The upgrading subfile includes Two check codes;The upgrading subfile is communication module verification successfully upgrading subfile;
Similar file acquisition module 520 verifies successfully the upgrading subfile according to second check code for working as When, merge the upgrading subfile, obtains similar upgrade file;The similar upgrade file includes the first check code;
Upgrade file obtains module 530, for when according to first check code to the similar upgrade file verification at When function, merges the similar upgrade file, obtain upgrade file;
Device program upgraded module 540, for executing air-conditioning equipment program upgrade operations according to the upgrade file.
The scheme provided according to embodiments of the present invention, after air-conditioning equipment receives upgrading subfile, first with the second school It tests code to verify upgrading subfile, upgrading subfile is merged after verifying successfully and obtains similar upgrade file, further also Similar upgrade file will be verified, and after verifying successfully again, merge similar upgrade file and obtain upgrade file, the process Belong to the recuperation to upgrade file.Using the program, it ensure that the availability of upgrading subfile, avoid in file corruption In the case of continue to use, therefore save upgrade cost, realize the raising to air-conditioning equipment program success rate for upgrading.
In one embodiment, described device further include:
Command reception module, for receiving program upgrade command;Upgrade subfile receiving module, for according to described program Upgrade command receives the upgrading subfile of the communication module.
In one embodiment, described device further include:
Operating status obtains module, for obtaining air-conditioning equipment operating status;Halted state upgraded module, for when described Air-conditioning equipment operating status is when stopping, executing the air-conditioning equipment program upgrade operations.
In one embodiment, described device further include:
Updating result obtains module, for obtaining the program updating result of the air-conditioning equipment;Prompt is upgraded successfully to generate Module, for when described program updating result is successfully, generation to upgrade successfully prompt;It is described to upgrade successfully prompt for prompting The air-conditioning equipment program upgrades successfully;Upgrading unsuccessfully prompts generation module, is used for when described program updating result is failure, Upgrading is generated unsuccessfully to prompt;The upgrading unsuccessfully prompts to indicate the communication module again for being sent to the communication module The upgrading subfile is sent, until the air-conditioning equipment program upgrades successfully.
The scheme provided according to embodiments of the present invention, air-conditioning equipment can complete program upgrading in several cases, it can It is to be also possible in the case where receiving program upgrade command in the case where air-conditioning equipment is out of service, and in program liter Grade judges whether upgrading succeeds after completing, terminate this air-conditioning equipment program upgrading task with this.Using the program, ensure that The availability for upgrading subfile, avoids continuing to use in the case where file corruption, therefore save upgrade cost, realizes pair The raising of air-conditioning equipment program success rate for upgrading.
About the specific restriction of air-conditioning equipment program upgrade apparatus, may refer to above to air-conditioning equipment program upgrading side The restriction of method, details are not described herein.Modules in above-mentioned air-conditioning equipment program upgrade apparatus can be fully or partially through soft Part, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the processing in computer equipment It in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution above each The corresponding operation of a module.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 4.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing identification information and facility information.The network interface of the computer equipment is used for and external end End passes through network connection communication.The computer program realizes a kind of air-conditioning equipment programme upgrade method when being executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 4, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of household appliance, including memory and processor are provided, the memory is stored with Computer program, which is characterized in that the processor realizes following steps when executing the computer program:
Receive the upgrading subfile of communication module;The upgrading subfile includes the second check code;When according to described When two check codes verify successfully to the upgrading subfile, merges the upgrading subfile, obtain similar upgrade file;It is described same Class upgrade file includes the first check code;When being verified successfully according to first check code to the similar upgrade file, Merge the similar upgrade file, obtains upgrade file;According to the upgrade file, air-conditioning equipment program upgrade operations are executed.
The scheme provided according to embodiments of the present invention, after household appliance receives upgrading subfile, first with the second school It tests code to verify upgrading subfile, upgrading subfile is merged after verifying successfully and obtains similar upgrade file, further also Similar upgrade file will be verified, and after verifying successfully again, merge similar upgrade file and obtain upgrade file, the process Belong to the recuperation to upgrade file.Using the program, it ensure that the availability of upgrading subfile, avoid in file corruption In the case of continue to use, therefore save upgrade cost, realize the raising to household appliance program success rate for upgrading.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Obtain upgrade file;The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, and, it obtains and sky Adjust the available communication module of equipment connection;The module number and ability to communicate value of communication module can be used described in acquisition, and will be described Module number and the ability to communicate value are matched with the quantity of documents of the upgrading subfile, determine target communication module; The upgrading subfile is sent to the air-conditioning equipment by the target communication module, so that the air-conditioning equipment completes journey Sequence upgrading.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Obtain upgrade file;The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, and, it obtains and sky Adjust the available communication module of equipment connection;
The module number and ability to communicate value of communication module can be used described in acquisition, and by the module number and the communication Ability value is matched with the quantity of documents of the upgrading subfile, determines target communication module;The upgrading subfile is led to It crosses the target communication module and is sent to the air-conditioning equipment, so that the air-conditioning equipment completes program upgrading.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synch link) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (24)

1. a kind of air-conditioning equipment programme upgrade method, which is characterized in that the described method includes:
Obtain upgrade file;
The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule, and, acquisition is connect available with air-conditioning equipment Communication module;
The module number and ability to communicate value of communication module can be used described in acquisition, and by the module number and the ability to communicate Value is matched with the quantity of documents of the upgrading subfile, determines target communication module;
The upgrading subfile is sent to the air-conditioning equipment by the target communication module, so that the air-conditioning equipment is complete Upgrade at program.
2. the method according to claim 1, wherein described be divided into more parts by pre-defined rule for the upgrade file Upgrade subfile, comprising:
Obtain the data type of the upgrade file;
The upgrade file of same data type is merged, similar upgrade file is obtained;
According to the data volume of the similar upgrade file, the similar upgrade file such as is subjected at the data volumes and is divided, obtains more parts The upgrading subfile.
3. according to the method described in claim 2, it is characterized in that, it is described obtain similar upgrade file after, further includes:
The similar upgrade file is verified, the first check code is obtained;First check code is used to set for the air-conditioning It is standby to be verified, and after verifying successfully, merge the similar upgrade file, carries out described program after obtaining the upgrade file Upgrading;
The upgrading subfile of the data volumes such as described is verified, the second check code is obtained;Second check code is used for for institute It states target communication module to be verified, and is verified after verifying successfully for the air-conditioning equipment, so that the air-conditioning equipment After verifying successfully to the upgrading subfile, merge the upgrading subfile, obtains the similar upgrade file.
4. the method according to claim 1, wherein the ability to communicate of communication module can be used described in the acquisition Value, comprising:
The signal strength of communication module and/or busy degree can be used described in acquisition;
According to the signal strength and/or the busy degree, the ability to communicate value is determined.
5. according to the method described in claim 4, it is characterized in that, described according to the signal strength and/or the busy degree, Determine the ability to communicate value, comprising:
The ratio for calculating the signal strength Yu the busy degree obtains the ability to communicate value;
Alternatively, obtaining the weight ratio of the signal strength Yu the busy degree;
The product for calculating the signal strength and the busy degree and the weight ratio, obtains the first product value and the second product Value;
Calculate first product value and the second product value and value, obtain the ability to communicate value.
6. the method according to claim 1, wherein further include:
The sum of the ability to communicate value that communication module can be used described in calculating, obtains ability to communicate and value is a;
It is described to match the module number and the ability to communicate value with the quantity of documents of the upgrading subfile, it determines Target communication module, comprising:
The quantity of documents for determining upgrading subfile is b;
Compare the quantity of documents b and the ability to communicate and value a;
As b >=a, communication module can be used described in determination, as the target communication module.
7. according to the method described in claim 6, it is characterized in that, it is described by the module number and the ability to communicate value with The quantity of documents of the upgrading subfile is matched, and determines target communication module, comprising:
As b < a, according to the ability to communicate value, can be ranked up with communication module to described;
N the sum of the ability to communicate values that can use communication module before sorting are calculated, obtaining ability value summation is c;n≥1;
As c >=b, communication module can be used by determining described in n before sorting, as the target communication module.
8. the method according to claim 1, wherein described pass through the target communication for the upgrading subfile Module is sent to the air-conditioning equipment, comprising:
According to the ability to communicate value of the target communication module and the quantity of documents, the upgrading subfile is sent in proportion To the target communication module, the upgrading subfile received is sent to the air-conditioning for the target communication module and is set It is standby.
9. according to the method described in claim 8, it is characterized in that, described be divided into more parts by pre-defined rule for the upgrade file Upgrade subfile, comprising:
The upgrade file is divided into more parts of upgrading subfiles by data volume;
The ability to communicate value according to the target communication module and the quantity of documents, in proportion by the upgrading subfile It is sent to the target communication module, comprising:
Determine the module number of the target communication module;
The upgrading subfile is divided according to the module number, obtains grouping subfile;The grouping subfile File group number is matched with the module number;
Determine the quantity of documents for upgrading subfile in the grouping subfile;The quantity of documents and the ability to communicate value Match;
The upgrading subfile after grouping is sent to the corresponding target communication module of matching.
10. according to the method described in claim 8, it is characterized in that, the quantity of documents of the upgrading subfile is b, the mesh The ability to communicate value for marking communication module is an, it is described that the upgrading subfile is sent to the target communication module in proportion, Include:
As b≤∑ anWhen, a is extracted in the upgrading subfilenA upgrading subfile upgrades subfile as n-th group;n≥1;
It sends the n-th group and upgrades subfile to n-th of target communication module;The communication energy of n-th of target communication module Force value is an
11. according to the method described in claim 10, it is characterized in that, described be sent to institute for the upgrading subfile in proportion State target communication module, comprising:
Work as b > ∑ anWhen, a is extracted in the upgrading subfilenA upgrading subfile upgrades subfile as n-th group;n≥1;
It sends the n-th group and upgrades subfile to n-th of target communication module;The communication energy of n-th of target communication module Force value is an
According to the ability to communicate value of the target communication module, the remaining upgrading subfile is sent respectively to the target communication Module.
12. a kind of air-conditioning equipment programme upgrade method, which is characterized in that the described method includes:
Receive the upgrading subfile of server;The upgrading subfile includes the second check code;The upgrading subfile is institute State the upgrading subfile that upgrade file is divided into more parts by pre-defined rule by server;
According to second check code, the upgrading subfile is verified;
When the upgrading subfile verifies successfully, the upgrading subfile is sent to air-conditioning equipment, so that the air-conditioning equipment Complete program upgrading.
13. according to the method for claim 12, which is characterized in that further include:
When the upgrading subfile verifies failure, file retransmission request is generated;
The file retransmission is sent to request to the server;The file retransmission request is used to indicate the server and sends out again The upgrading subfile is sent, until the upgrading subfile verifies successfully.
14. a kind of air-conditioning equipment programme upgrade method, which is characterized in that the described method includes:
Receive the upgrading subfile of communication module;The upgrading subfile includes the second check code;The upgrading subfile is The communication module verification successfully upgrades subfile;
When verifying successfully according to second check code to the upgrading subfile, merge the upgrading subfile, obtains same Class upgrade file;The similar upgrade file includes the first check code;
When being verified successfully according to first check code to the similar upgrade file, merges the similar upgrade file, obtain To upgrade file;
According to the upgrade file, air-conditioning equipment program upgrade operations are executed.
15. according to the method for claim 14, which is characterized in that it is described receive communication module upgrading subfile it Before, further includes:
Receive program upgrade command;
According to described program upgrade command, the upgrading subfile of the communication module is received.
16. according to the method for claim 14, which is characterized in that described according to the upgrade file, execute air-conditioning and set Before standby program upgrade operations, further includes:
Obtain air-conditioning equipment operating status;
When the air-conditioning equipment operating status is to stop, the air-conditioning equipment program upgrade operations are executed.
17. according to the method for claim 14, which is characterized in that the execution air-conditioning equipment program upgrade operations it Afterwards, further includes:
Obtain the program updating result of the air-conditioning equipment;
When described program updating result is successfully, generation upgrades successfully prompt;It is described that upgrade successfully prompt described for prompting Air-conditioning equipment program upgrades successfully;
When described program updating result is failure, generates upgrading and unsuccessfully prompt;The upgrading is unsuccessfully prompted for being sent to State communication module, indicate that the communication module retransmits the upgrading subfile, until air-conditioning equipment program upgrading at Function.
18. a kind of air-conditioning equipment program upgrade apparatus, which is characterized in that described device includes:
File acquisition module, for obtaining upgrade file;
Subfile obtains module, for the upgrade file to be divided into more parts of upgrading subfiles by pre-defined rule, and, obtain and The available communication module of air-conditioning equipment connection;
File matching module, for obtaining the module number and ability to communicate value that can use communication module, and by the module Quantity and the ability to communicate value are matched with the quantity of documents of the upgrading subfile, determine target communication module;
File sending module, for the upgrading subfile to be sent to the air-conditioning equipment by the target communication module, So that the air-conditioning equipment completes program upgrading.
19. a kind of air-conditioning equipment program upgrade apparatus, which is characterized in that described device includes:
File reception module, for receiving the upgrading subfile of server;The upgrading subfile includes the second check code;Institute Stating upgrading subfile is the upgrading subfile that upgrade file is divided into more parts by pre-defined rule by the server;
File verification module, for being verified to the upgrading subfile according to second check code;
Subfile sending module is set for when the upgrading subfile verifies successfully, sending the upgrading subfile to air-conditioning It is standby, so that the air-conditioning equipment completes program upgrading.
20. a kind of air-conditioning equipment program upgrade apparatus, which is characterized in that described device includes:
Subfile receiving module, for receiving the upgrading subfile of communication module;The upgrading subfile includes the second verification Code;The upgrading subfile is communication module verification successfully upgrading subfile;
Similar file acquisition module, for merging when being verified successfully according to second check code to the upgrading subfile The upgrading subfile, obtains similar upgrade file;The similar upgrade file includes the first check code;
Upgrade file obtains module, for closing when being verified successfully according to first check code to the similar upgrade file And the similar upgrade file, obtain upgrade file;
Device program upgraded module, for executing air-conditioning equipment program upgrade operations according to the upgrade file.
21. a kind of air-conditioning equipment program upgrade system, which is characterized in that the system comprises:
Server, communication module and air-conditioning equipment;
The upgrade file is divided into more parts of upgrading subfiles by pre-defined rule after obtaining upgrade file by the server, And obtain the available communication module connecting with air-conditioning equipment;And by described in obtaining can with the module number of communication module and Ability to communicate value matches the module number and the ability to communicate value with the quantity of documents of the upgrading subfile, Determine target communication module;The upgrading subfile is sent to the air-conditioning equipment by the target communication module, so that The air-conditioning equipment completes program upgrading;
The communication module, for receiving the upgrading subfile of server;The upgrading subfile includes the second check code;And According to second check code, the upgrading subfile is verified;When the upgrading subfile verifies successfully, institute is sent Upgrading subfile is stated to air-conditioning equipment, so that the air-conditioning equipment completes program upgrading;
The air-conditioning equipment, for receiving the upgrading subfile of communication module;The upgrading subfile includes the second check code; When being verified successfully according to second check code to the upgrading subfile, merges the upgrading subfile, obtain similar liter Grade file;The similar upgrade file includes the first check code;When literary to the similar upgrading according to first check code When part is verified successfully, merges the similar upgrade file, obtain upgrade file;According to the upgrade file, air-conditioning equipment is executed Program upgrade operations.
22. a kind of household appliance, which is characterized in that including memory and processor, the memory is stored with computer program, It is characterized in that, the processor realizes following steps when executing the computer program:
Receive the upgrading subfile of communication module;The upgrading subfile includes the second check code;
When verifying successfully according to second check code to the upgrading subfile, merge the upgrading subfile, obtains same Class upgrade file;The similar upgrade file includes the first check code;
When being verified successfully according to first check code to the similar upgrade file, merges the similar upgrade file, obtain To upgrade file;According to the upgrade file, air-conditioning equipment program upgrade operations are executed.
23. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 17 the method when executing the computer program.
24. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 17 is realized when being executed by processor.
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 true CN109683930A (en) 2019-04-26
CN109683930B 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)

Cited By (6)

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

Citations (9)

* 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
CN101436141A (en) * 2008-11-21 2009-05-20 深圳创维数字技术股份有限公司 Firmware upgrading and encapsulating method and device based on digital signing
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
CN105138384A (en) * 2015-10-15 2015-12-09 珠海格力电器股份有限公司 Air conditioner as well as program upgrading method and program upgrading device thereof
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
CN108958777A (en) * 2018-08-03 2018-12-07 广州云海智联科技有限公司 A kind of wireless charging device and control method

Patent Citations (9)

* 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
CN101436141A (en) * 2008-11-21 2009-05-20 深圳创维数字技术股份有限公司 Firmware upgrading and encapsulating method and device based on digital signing
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
CN105138384A (en) * 2015-10-15 2015-12-09 珠海格力电器股份有限公司 Air conditioner as well as program upgrading method and program upgrading device thereof
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
CN108958777A (en) * 2018-08-03 2018-12-07 广州云海智联科技有限公司 A kind of wireless charging device and control method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110762775A (en) * 2019-10-28 2020-02-07 海信(山东)空调有限公司 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
WO2021103309A1 (en) * 2019-11-29 2021-06-03 浪潮电子信息产业股份有限公司 Out-of-band updating method and system of expander
CN111031536A (en) * 2019-12-26 2020-04-17 大连市共进科技有限公司 Method and device for transmitting burning file and 5G small base station burning equipment
CN111459522A (en) * 2020-04-01 2020-07-28 珠海格力电器股份有限公司 Air conditioner and communication module upgrading method thereof
CN111459522B (en) * 2020-04-01 2021-09-14 珠海格力电器股份有限公司 Air conditioner and communication module upgrading method thereof
CN113865043A (en) * 2021-09-14 2021-12-31 北京小米移动软件有限公司 Program upgrading method and device for air conditioner, air conditioner and storage medium

Also Published As

Publication number Publication date
CN109683930B (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN109683930A (en) Air-conditioning equipment programme upgrade method, device, system and household appliance
CN111488166B (en) Method and device for upgrading software of management unit of double-core intelligent ammeter and storage medium
CN104917586B (en) Transmit method of calibration, the apparatus and system of data
CN110995513B (en) Data sending and receiving method in Internet of things system, internet of things equipment and platform
CN106484453B (en) Method and device for realizing system upgrading
CN105786549B (en) Smart machine and its upgrade method
CN103259797B (en) data file transmission method and platform
CN105389177A (en) Software version confirmation method, device and system
CN103186466A (en) Information interaction device and method based on automatic generation of associated test cases
CN106612204B (en) Service checking method and device
CN109614131A (en) A kind of broadcasting equipment upgrading control system
CN111970236A (en) Cross-network data transmission method and device
CN112152825B (en) Multi-stage module upgrading method and device for household appliance and electronic equipment
CN112486535A (en) Remote upgrading method and system for NB-IoT (NB-IoT) equipment
CN107800667B (en) Information processing method and access processing device
CN108459863A (en) Electrically-charging equipment method for upgrading software, device, equipment, system and storage medium
CN108319551B (en) Software testing method and device, computer equipment and readable storage medium
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN110768962A (en) File self-checking method, system, sending end equipment and receiving end equipment
CN104022948A (en) Type X message transmission system and method
CN114238234A (en) File interaction method and device, computer equipment and storage medium
CN111124909A (en) Test method and device
CN110580172A (en) Configuration rule verification method and device, storage medium and electronic device
CN113596005B (en) Binding method, binding device, binding system, storage medium and binding electronic device for 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