CN109358872A - Remote firmware updating method, device and computer readable storage medium - Google Patents
Remote firmware updating method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109358872A CN109358872A CN201811112328.7A CN201811112328A CN109358872A CN 109358872 A CN109358872 A CN 109358872A CN 201811112328 A CN201811112328 A CN 201811112328A CN 109358872 A CN109358872 A CN 109358872A
- Authority
- CN
- China
- Prior art keywords
- data
- air conditioner
- firmware
- firmware updating
- remote
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of remote firmware updating method, device and computer readable storage medium, the remote firmware updating method is the following steps are included: server receives the upgrade request of air conditioner;According to the upgrade request, firmware updating data and the current firmware data of air conditioner are subjected to comparison in difference, obtain variance data;The variance data is sent to the air conditioner, for the air conditioner according to received variance data carry out data with the data that are stored and combine, complete firmware upgrade according to combined data.Technical solution of the present invention, by transmit firmware updating file be different from air conditioner current firmware file difference section data to air conditioner, for air conditioner according to received variance data and its own data for being replicated carry out data combination, obtain new firmware updating file, solves lesser modification of program, the problem of transmitting entire application program is needed, the time of remote upgrade is effectively shortened, improves the efficiency of remote upgrade.
Description
Technical field
The present invention relates to technical field of electrical equipment more particularly to a kind of remote firmware updating methods, device and computer
Readable storage medium storing program for executing.
Background technique
In recent years, with the raising of people's level of consumption, air-conditioning products have obtained the approval of more and more consumers, in order to
Meet the needs of consumer is growing, air-conditioning products performance, automatically controlled horizontal, automation and in terms of have
Larger promotion, thus, it is desirable to also more and more the case where remote upgrade.Product is sold to after user, if there are bug for software
(loophole) or function need to increase, and generally require upgrading software.Generally upgrade some function or modifies some bug (leakage
Hole), need the whole application program for upgrading main control chip.If application file is big, it is long to will lead to update time, upgrades efficiency
It is low.
Summary of the invention
The embodiment of the present application is by providing a kind of remote firmware updating method, device and computer readable storage medium, purport
The problem of when solving remote firmware updating, since upgrade procedure file is big, causing update time long, upgrading low efficiency.
To achieve the above object, the present invention provides a kind of remote firmware updating method, comprising the following steps:
The upgrade request of server reception air conditioner;
According to the upgrade request, firmware updating data and the current firmware data of air conditioner are subjected to comparison in difference, are obtained
Obtain variance data;
The variance data is sent to the air conditioner, so that the air conditioner is according to the received variance data of institute and institute
The data of storage carry out data combination, complete firmware upgrade according to combined data.
Optionally, before the step of upgrade request of the server reception air conditioner, further includes:
Determine the version information of the current firmware data of air conditioner and the version information of firmware updating data;
Judge whether the version of the current firmware data of the air conditioner is lower than the version of the firmware updating data;
When the version of the current firmware data of the air conditioner is lower than the version of the firmware updating data, by the sky
The current firmware data and the firmware updating data for adjusting device carry out comparison in difference;
When the version of the current firmware data of the air conditioner is not less than the version of the firmware updating data, not by institute
The current firmware data and the firmware updating data for stating air conditioner carry out comparison in difference.
Optionally, described that firmware updating data and the current firmware data of air conditioner are subjected to comparison in difference, obtain difference
The step of data, specifically includes:
Firmware updating data and the current firmware data of air conditioner are poor according to the progress of data corresponding to identical address
Different comparison;
Data corresponding to address if they are the same are consistent, obtain each identical data length and address;
Data corresponding to address if they are the same are inconsistent, obtain each variance data length and address.
Optionally, data corresponding to the address if they are the same are consistent, obtain the step of each identical data length and address
Suddenly include:
Data corresponding to address if they are the same are consistent, obtain data length corresponding to each identical address and address;
Copy command is sent to the air conditioner, for the air conditioner root according to each data length obtained and address
Corresponding data corresponding position into upgrading buffer area is replicated according to the copy command.
Optionally, described that the variance data is sent to the air conditioner, so that the air conditioner is received according to institute
Variance data carries out data with the data stored and combines, and the step of completing firmware upgrade according to combined data includes:
When the data corresponding to identical address are inconsistent, corresponding variance data is obtained;
The variance data is sent to the air conditioner, so that the air conditioner is according to the received variance data of institute and institute
The data of duplication carry out data combination, obtain new upgrade file, and carry out updating operation according to the new upgrade file.
Optionally, the remote firmware updating method the following steps are included:
Air conditioner sends upgrade request to server;
The variance data that server is sent is received according to the upgrade request;
The variance data is carried out data with the data stored to combine, and completes firmware liter according to combined data
Grade.
Optionally, the step of variance data that server transmission is received according to the upgrade request includes:
The copy command that server is sent is received, corresponding data are copied to by upgrading buffer area according to the copy command
In corresponding position;
The variance data that server is sent is received, the received variance data of institute is stored in the upgrading buffer area.
Optionally, described to combine the variance data with the data progress data stored, it is complete according to combined data
Include: at the step of firmware upgrade
By received variance data carry out data with the data that are replicated and combine, obtain new upgrade file;
The new upgrade file is verified;
If verification passes through, updating operation is carried out with the new upgrade file.
To achieve the above object, the present invention also provides a kind of remote firmware updating device, the remote firmware updating devices
Include: memory, processor and storage on a memory and the remote firmware updating program that can run on a processor, it is described remote
As above described in any item remote firmware updating methods are realized when journey firmware upgrade procedure is run by the processor.
To achieve the above object, the present invention also provides a kind of computer readable storage medium, the computer-readable storages
It is stored with remote firmware updating program on medium, realizes when the remote firmware updating program is executed by the processor and such as takes up an official post
Remote firmware updating method described in one.
Technical solution of the present invention, the difference for being different from the current firmware file of air conditioner by transmitting firmware updating file
Partial data to air conditioner, for air conditioner can according to received variance data and its own data replicated carry out data
Combination, obtains new firmware updating file, effectively shortens the remote upgrade time, improve remote upgrade efficiency.
Detailed description of the invention
Fig. 1 is the electronic devices structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of remote firmware updating method first embodiment of the present invention;
Fig. 3 is the flow diagram of remote firmware updating method second embodiment of the present invention;
Fig. 4 is the flow diagram of remote firmware updating method 3rd embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the electronic devices structure signal for the hardware running environment that one embodiment of the invention scheme is related to
Figure.
The electronic equipment of the embodiment of the present invention can be the electronic products such as air conditioner, PC or television set.
As shown in Figure 1, the electronic equipment may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood to those skilled in the art that terminal structure shown in fig. 1 does not constitute the restriction to electronic equipment, it can
To include than illustrating more or fewer components or different component layouts.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium
Network communication module, Subscriber Interface Module SIM and remote firmware updating program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for calling the remote firmware updating program stored in memory 1005, and execute following operation:
The upgrade request of server reception air conditioner;
According to the upgrade request, firmware updating data and the current firmware data of air conditioner are subjected to comparison in difference, are obtained
Obtain variance data;
The variance data is sent to the air conditioner, so that the air conditioner is according to the received variance data of institute and institute
The data of storage carry out data combination, complete firmware upgrade according to combined data.
Further, processor 1001 can call the remote firmware updating program stored in memory 1005, and execute
It operates below:
Determine the version information of the current firmware data of air conditioner and the version information of firmware updating data;
Judge whether the version of the current firmware data of the air conditioner is lower than the version of the firmware updating data;
When the version of the current firmware data of the air conditioner is lower than the version of the firmware updating data, by the sky
The current firmware data and the firmware updating data for adjusting device carry out comparison in difference;
When the version of the current firmware data of the air conditioner is not less than the version of the firmware updating data, not by institute
The current firmware data and the firmware updating data for stating air conditioner carry out comparison in difference.
Further, processor 1001 can call the remote firmware updating program stored in memory 1005, and execute
It operates below:
Firmware updating data and the current firmware data of air conditioner are poor according to the progress of data corresponding to identical address
Different comparison;
Data corresponding to address if they are the same are consistent, obtain each identical data length and address;
Data corresponding to address if they are the same are inconsistent, obtain each variance data length and address.
Further, processor 1001 can call the remote firmware updating program stored in memory 1005, and execute
It operates below:
Data corresponding to address if they are the same are consistent, obtain data length corresponding to each identical address and address;
Copy command is sent to the air conditioner, for the air conditioner root according to each data length obtained and address
Corresponding data corresponding position into upgrading buffer area is replicated according to the copy command.
Further, processor 1001 can call the remote firmware updating program stored in memory 1005, and execute
It operates below:
When the data corresponding to identical address are inconsistent, corresponding variance data is obtained;
The variance data is sent to the air conditioner, so that the air conditioner is according to the received variance data of institute and institute
The data of duplication carry out data combination, obtain new upgrade file, and carry out updating operation according to the new upgrade file.
Further, processor 1001 can call the remote firmware updating program stored in memory 1005, and execute
It operates below:
Air conditioner sends upgrade request to server;
The variance data that server is sent is received according to the upgrade request;
The variance data is carried out data with the data stored to combine, and completes firmware liter according to combined data
Grade.
Further, processor 1001 can call the remote firmware updating program stored in memory 1005, and execute
It operates below:
The copy command that server is sent is received, corresponding data are copied to by upgrading buffer area according to the copy command
In corresponding position;
The variance data that server is sent is received, the received variance data of institute is stored in the upgrading buffer area.
Further, processor 1001 can call the remote firmware updating program stored in memory 1005, and execute
It operates below:
By received variance data carry out data with the data that are replicated and combine, obtain new upgrade file;
The new upgrade file is verified;
If verification passes through, updating operation is carried out with the new upgrade file.
As shown in Fig. 2, Fig. 2 is remote firmware updating method first embodiment flow diagram of the present invention.
In the present embodiment, the remote firmware updating method, comprising:
Step S101, server receive the upgrade request of air conditioner;
The server refers to a kind of high-performance computer in network, for providing for all kinds of terminal devices that are attached thereto
Service, that is, server is used to provide service for coupled air conditioner.Need to increase function or air conditioner in air conditioner
There are when loophole (bug), need to carry out upgrading update to the application program of master chip in air conditioner.
Its operating process may include: and firmware updating file to be stored in advance firstly, server creates upgrading task,
When air conditioner is connect with server, the log-on message of air conditioner is received, wherein log-on message may include the SN code of air conditioner,
Type, the information such as current version of firmware and current firmware check code CRC;Further, server is according to the login of air conditioner
Information judges the legitimacy of air conditioner, for example, by will store in the database of the SN code of air conditioner and server
SN code is compared, and is stored the SN code if having in the database of server, is judged the air conditioner for legal air conditioner.It is servicing
After device is to the confirmation of the legitimacy of air conditioner, server sends firmware updating information to air conditioner, wherein firmware updating information can be with
Including firmware updating version number, the information such as firmware updating size and check code.Air conditioner is in the liter for receiving server transmission
After grade firmware information, judge whether to upgrade according to firmware updating information, for example, air conditioner judges that server is pre-stored
Whether firmware updating version is higher than the currently running firmware version of air conditioner, if firmware updating version is higher than air conditioner and currently runs
Firmware version, air conditioner confirmation can upgrade, and then send upgrade request to server, the upgrade request include air conditioner permit
Perhaps the maximum byte of data transmission and the minimum time interval of data transmission.Wherein, server is stored with that air conditioner is all have been sent out
The program file of cloth.
Step S102, according to the upgrade request, it is poor that firmware updating data and the current firmware data of air conditioner are carried out
Different comparison obtains variance data;
After receiving the upgrade request of air conditioner, server is searched current with air conditioner according to the log-on message of air conditioner
Firmware version corresponds to current firmware file, and verifies to the current firmware file found, and method of calibration can lead to
It crosses and compares the check code of check code and the current firmware file found that air conditioner provides, if they are the same, then verify
Pass through.After verification passes through, server will work as corresponding to the current version of firmware of the data of firmware updating file and air conditioner
The data of preceding firmware file carry out comparison in difference, and the mode compared can be by by the data and air conditioner of firmware updating file
Current firmware file data according to data corresponding to identical address carry out comparison in difference;Corresponding to address if they are the same
Data it is consistent, server obtains data length and the address of corresponding same section, and according to each data length obtained
And address sends copy command to air conditioner, to require air conditioner according to copy command from a certain of currently running firmware file
Position starts to replicate the data of corresponding length to upgrading buffer area;Data corresponding to address if they are the same are inconsistent, server
Data length and the address of corresponding difference section are obtained, and obtained each variance data is sent to air conditioner.For example, empty
The current firmware file of device is adjusted to be set as FileA, firmware updating file is set as FileB, inclined using the benchmark of CntB as file FileB
Shifting amount, using CntA as the datum offset amount of file FileA, the M byte data for taking FileB file to start with CntB, with FileA
The M byte data that file is started with CntA are compared, if identical, continue byte-by-byte comparison namely data length M by
One increases, until occur data it is not identical when, server sends remote copy order to air conditioner, it is desirable that air conditioner is from current solid
The position CntA of part file starts, and the data that duplication length is M are to upgrading buffer area, at this point, CntB is updated to CntB+M, CntA
The datum offset amount for being updated to CntA+M namely file FileB is updated to CntB+M, and the datum offset amount of file FileA updates
For CntA+M.If data are not identical, compare since FileA file CntA+1, namely since the different position of data
Compare, if subsequent data are not identical always, compares the last one data segment before the end of file always, and comparing knot
Variance data obtained is sent to air conditioner by Shu Shi.If intermediate identical data occur again, from there is identical data
Position starts to compare, until occur data it is not identical when, send copy command to air conditioner.That is, server will rise
During grade firmware data and the current firmware data of air conditioner carry out comparison in difference, if obtaining identical number in comparison procedure
According to, then send copy command to air conditioner, for air conditioner according to copy command by corresponding number in its current firmware file
According to the corresponding position being copied in upgrading buffer area, if obtaining different data in comparison procedure, by not same section
Data are packaged, and different part data are sent to air conditioner after comparing end.
The variance data is sent to the air conditioner by step S103, so that the air conditioner is according to the received difference of institute
Heteromerism is combined according to the data progress data stored, completes firmware upgrade according to combined data.
Server is after completing for firmware updating data to be compared with the current firmware data of air conditioner, by the difference of acquisition
According to air conditioner is transferred to by way of frame by frame, variance data is temporarily stored in heteromerism by air conditioner when receiving the variance data
Upgrade buffer area.And by by the same section data that are replicated in received variance data and comparison procedure carry out data weight
The data of difference are also placed in the corresponding position of replicated data, to obtain new firmware file, and according to service by group
The firmware updating information that device is sent before relatively, namely school is carried out to new firmware file according to the identifying code that server is sent
It tests, if verification passes through, by the current firmware file of new firmware file replacement air conditioner, also just completes and air conditioner is carried out
The operation of firmware upgrade.
It should be understood that all further including corresponding for establishing communication link in air conditioner and server in the present embodiment
The link block connect.For example, communication connection can be established using serial manner or parallel form.Establishing communication connection
In the process, air conditioner and server realize the foundation of communication connection and the interaction of follow-up data by Peripheral Interface.It is establishing
After communication connection, server can send command adapted thereto and data to air conditioner, so that air conditioner is completed according to corresponding instruction
Upgrading.
The present embodiment is passed by the way that firmware updating file to be different to the difference section data of the current firmware file of air conditioner
It is defeated by air conditioner, so that air conditioner carries out data combination according to the data of self-replication and the difference section data received,
To obtaining new firmware file, so set, not needing entire application file being transferred to air conditioner, solve compared with
Small modification of program, needs the problem of transmitting entire application program, shortens the time of remote upgrade, improves remote upgrade
Efficiency.
As shown in figure 3, Fig. 3 is remote firmware updating method second embodiment flow diagram of the present invention.
Based on above-mentioned first embodiment, before step S102, further includes:
Step S104 determines the version information of the current firmware data of air conditioner and the version information of firmware updating data;
The version information of the current firmware data of air conditioner can be air conditioner current version of firmware number, firmware updating data
Version information can be firmware version number to be upgraded, receive air conditioner send upgrade request before, server first confirms that
The firmware version number of firmware version number corresponding with air conditioner current firmware data and firmware updating data, to judge that air conditioner is
It is no to need to carry out firmware upgrade.
Step S105, judges whether the version of the current firmware data of air conditioner is lower than the version of firmware updating data:
If the version information of the current firmware data of air conditioner is identical as the version information of firmware updating data, show air-conditioning
Device current version of firmware has been newest firmware version, no longer needs to carry out upgrading update.If the current firmware data of air conditioner
Version information it is not identical as the version information of firmware updating data namely air conditioner current version of firmware is not newest firmware
Version needs to carry out upgrading update.For example, the current version of firmware number of air conditioner is V1.0, and firmware version number to be upgraded is
V2.0, since V1.0 version is lower than V2.0 version, thus server judges that air conditioner needs to carry out upgrading update.
The present embodiment, server execute the current firmware version for judging air conditioner before receiving the upgrade request of air conditioner
Whether this is lower than firmware updating version, carries out repeatedly upgrading to avoid to air conditioner, improves upgrading efficiency.
As shown in figure 4, Fig. 3 is remote firmware updating method 3rd embodiment flow diagram of the present invention.
In the present embodiment, in air conditioner side, in order to realize the upgrading of air conditioner, the firmware upgrade management method, packet
It includes:
Step S201, air conditioner send upgrade request to server;
Its operating process may include: and to transmit log-on message to server firstly, air conditioner login service device, wherein
Log-on message may include the SN code of air conditioner, type, the information such as current version of firmware and current firmware check code CRC;Into
One step, after server confirms the legitimacy of air conditioner according to the log-on message of air conditioner, receive the liter that server is sent
Grade firmware information, wherein firmware updating information may include firmware updating version number, the letter such as firmware updating size and check code
Breath.The firmware updating information that air conditioner is sent according to server judges whether to upgrade, for example, air conditioner passes through firmware updating
Information judges whether the version of firmware updating in server is higher than the currently running firmware version of air conditioner, if the version of firmware updating
This is higher than the currently running firmware version of air conditioner, and air conditioner confirmation can upgrade, and then sends upgrade request to server, is somebody's turn to do
Upgrade request includes the minimum time interval that the maximum byte for allowing data to transmit and data are transmitted.If the version of firmware updating is not
Higher than the currently running firmware version of air conditioner, air conditioner does not initiate upgrade request or refusal initiates upgrade request.
Step S202 receives the variance data that server is sent according to the upgrade request;
For air conditioner after sending upgrade request to server, air conditioner, which is in, waits upgrade status, and has finger in server
The corresponding operation of instruction execution when coming according to server is enabled, that is, when the copy command for receiving server transmission
When, according to copy command, corresponding position replicates the data of corresponding length to upgrading buffer area from currently running firmware file,
When receiving the variance data that server sends over, variance data is temporarily stored in upgrading buffer area.
The variance data is carried out data with the data stored and combined by step S203, and complete according to combined data
At firmware upgrade.
Air conditioner by received variance data carry out data recombination with the data that are replicated, also i.e. by received difference
Heteromerism is according to the corresponding position of replicated data is placed in, thus the upgrading for obtaining new firmware file, and being sent according to server
Firmware information, namely new firmware file is verified according to the firmware validation code to be upgraded that server is sent, if verification is logical
It crosses, then the firmware file that new firmware file replacement air conditioner is current, also just completes and carry out firmware upgrade to air conditioner
Operation.
The difference section data that the present embodiment is different from the current firmware file of air conditioner by receiving firmware updating file,
And data combination is carried out according to the data of air conditioner self-replication, so that new firmware file is obtained, so set, not needing
Entire upgrade applications file is received, solves lesser modification of program, needs the problem of receiving entire application program, is shortened
The time of remote upgrade, improve remote upgrade efficiency.
The present invention also provides a kind of remote firmware updating device, including memory, processor and storage are on a memory simultaneously
The remote firmware updating program that can be run on a processor, the processor are realized such as when executing the remote firmware updating program
The step of upper described in any item remote firmware updating methods.
Remote firmware updating device of the invention can be air conditioner, be equipped with master control borad in the air conditioner, in master control borad
It is integrated with master chip and control device, the various interfaces of peripheral hardware on master control borad are real by the Peripheral Interface on air conditioner master control borad
It now transmits, is realized when the remote firmware updating program is executed by the processor as above with the information exchange of server and data
The step of described remote firmware updating method.
In other embodiments, the remote firmware updating device can also be various computer equipments, described long-range solid
Part update device can be used for cooperation/control air conditioner and complete firmware upgrade.
Each implementation of the specific embodiment and above-mentioned remote firmware updating method of remote firmware updating device of the invention
Example is essentially identical, and this will not be repeated here.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of remote firmware updating method, which is characterized in that the remote firmware updating method the following steps are included:
The upgrade request of server reception air conditioner;
According to the upgrade request, firmware updating data and the current firmware data of air conditioner are subjected to comparison in difference, it is poor to obtain
Heteromerism evidence;
The variance data is sent to the air conditioner, for the air conditioner according to the received variance data of institute with stored
Data carry out data combination, complete firmware upgrade according to combined data.
2. remote firmware updating method as described in claim 1, which is characterized in that the server receives the upgrading of air conditioner
Before the step of request, further includes:
Determine the version information of the current firmware data of air conditioner and the version information of firmware updating data;
Judge whether the version of the current firmware data of the air conditioner is lower than the version of the firmware updating data;
When the version of the current firmware data of the air conditioner is lower than the version of the firmware updating data, by the air conditioner
Current firmware data and the firmware updating data carry out comparison in difference;
When the version of the current firmware data of the air conditioner is not less than the version of the firmware updating data, not by the sky
The current firmware data and the firmware updating data for adjusting device carry out comparison in difference.
3. remote firmware updating method as described in claim 1, which is characterized in that described by firmware updating data and air conditioner
Current firmware data carry out comparison in difference, obtain variance data the step of specifically include:
Firmware updating data and the current firmware data of air conditioner are subjected to diversity ratio according to data corresponding to identical address
Compared with;
Data corresponding to address if they are the same are consistent, obtain each identical data length and address;
Data corresponding to address if they are the same are inconsistent, obtain each variance data length and address.
4. remote firmware updating method as claimed in claim 3, which is characterized in that number corresponding to the address if they are the same
According to consistent, the step of obtaining each identical data length and address, includes:
Data corresponding to address if they are the same are consistent, obtain data length corresponding to each identical address and address;
Copy command is sent to the air conditioner, so that the air conditioner is according to institute according to each data length obtained and address
It states copy command and replicates corresponding data corresponding position into upgrading buffer area.
5. remote firmware updating method as claimed in claim 4, which is characterized in that described that the variance data is sent to institute
State air conditioner, for the air conditioner according to received variance data carry out data with the data that are stored and combine, and according to
Combined data complete the step of firmware upgrade and include:
When the data corresponding to identical address are inconsistent, corresponding variance data is obtained;
The variance data is sent to the air conditioner, so that the air conditioner according to the received variance data of institute and is replicated
Data carry out data combination, obtain new upgrade file, and updating operation is carried out according to the new upgrade file.
6. a kind of remote firmware updating method, which is characterized in that the remote firmware updating method the following steps are included:
Air conditioner sends upgrade request to server;
The variance data that server is sent is received according to the upgrade request;
The variance data is carried out data with the data stored to combine, completes firmware upgrade according to combined data.
7. remote firmware updating method as claimed in claim 6, which is characterized in that described received according to the upgrade request takes
Business device send variance data the step of include:
Receive server send copy command, according to the copy command by corresponding data be copied to upgrading buffer area in it is right
The position answered;
The variance data that server is sent is received, the received variance data of institute is stored in the upgrading buffer area.
8. remote firmware updating method as claimed in claim 7, which is characterized in that it is described by the variance data with stored
Data the step of carrying out data combination, completing firmware upgrade according to combined data include:
By received variance data carry out data with the data that are replicated and combine, obtain new upgrade file;
The new upgrade file is verified;
If verification passes through, updating operation is carried out with the new upgrade file.
9. a kind of remote firmware updating device, which is characterized in that on a memory and can be including memory, processor and storage
The remote firmware updating program run on processor, the processor realize such as right when executing the remote firmware updating program
It is required that the step of 1 to 8 described in any item remote firmware updating methods.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium long-range solid
Part upgrade procedure, the remote firmware updating program are realized as claimed in any one of claims 1 to 8 remote when being executed by processor
The step of journey firmware upgrade method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811112328.7A CN109358872A (en) | 2018-09-21 | 2018-09-21 | Remote firmware updating method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811112328.7A CN109358872A (en) | 2018-09-21 | 2018-09-21 | Remote firmware updating method, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109358872A true CN109358872A (en) | 2019-02-19 |
Family
ID=65351459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811112328.7A Pending CN109358872A (en) | 2018-09-21 | 2018-09-21 | Remote firmware updating method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109358872A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347412A (en) * | 2019-06-27 | 2019-10-18 | 中国第一汽车股份有限公司 | Electronic control unit firmware upgrade management method, device, equipment and storage medium |
CN110618830A (en) * | 2019-08-14 | 2019-12-27 | 恒鸿达科技有限公司 | Remote upgrading method and system based on NBIOT network |
CN110784348A (en) * | 2019-10-23 | 2020-02-11 | 迈普通信技术股份有限公司 | Firmware upgrading method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104184814A (en) * | 2014-08-25 | 2014-12-03 | 中山市永衡日用制品有限公司 | Method and system for generating and compounding embedded firmware differential upgrading file |
CN104932909A (en) * | 2014-03-17 | 2015-09-23 | 中兴通讯股份有限公司 | Terminal software upgrading method and device |
CN106161336A (en) * | 2015-03-25 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of information updating method, Apparatus and system |
-
2018
- 2018-09-21 CN CN201811112328.7A patent/CN109358872A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104932909A (en) * | 2014-03-17 | 2015-09-23 | 中兴通讯股份有限公司 | Terminal software upgrading method and device |
CN104184814A (en) * | 2014-08-25 | 2014-12-03 | 中山市永衡日用制品有限公司 | Method and system for generating and compounding embedded firmware differential upgrading file |
CN106161336A (en) * | 2015-03-25 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of information updating method, Apparatus and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347412A (en) * | 2019-06-27 | 2019-10-18 | 中国第一汽车股份有限公司 | Electronic control unit firmware upgrade management method, device, equipment and storage medium |
CN110347412B (en) * | 2019-06-27 | 2023-05-30 | 中国第一汽车股份有限公司 | Electronic control unit firmware upgrade management method, device, equipment and storage medium |
CN110618830A (en) * | 2019-08-14 | 2019-12-27 | 恒鸿达科技有限公司 | Remote upgrading method and system based on NBIOT network |
CN110618830B (en) * | 2019-08-14 | 2022-07-08 | 恒鸿达科技有限公司 | Remote upgrading method and system based on NBIOT network |
CN110784348A (en) * | 2019-10-23 | 2020-02-11 | 迈普通信技术股份有限公司 | Firmware upgrading method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103327117B (en) | Cross-system running method and device for application programs | |
CN109669714A (en) | Firmware upgrade method, device and computer readable storage medium | |
CN109358872A (en) | Remote firmware updating method, device and computer readable storage medium | |
CN106572372A (en) | Set-top box upgrading method and set-top box | |
CN109842523A (en) | A kind of firmware upgrade method, device, equipment and storage medium | |
CN104424095A (en) | Automatic testing method and system of mobile terminal | |
CN109067559A (en) | A kind of device updating method and device | |
CN114124917B (en) | Remote upgrading method, equipment, system and medium for ground locking piece | |
CN102567061B (en) | The method and system of televisor and the two-way upgrading of telepilot | |
CN110147242A (en) | Upgrading in the downloading of space relies on inspection method and device, storage medium and terminal | |
CN106453629B (en) | A kind of automobile electronic system remote update system and its method based on mobile network | |
CN114440389B (en) | Air conditioner, upgrading method thereof, computer equipment and computer readable storage medium | |
CN114915554A (en) | Remote upgrading method and device, computer equipment and storage medium | |
CN109104292B (en) | Update deployment processing method, related device, and computer-readable storage medium | |
CN113138788A (en) | Air conditioner program upgrading method and air conditioner system | |
CN108897689A (en) | Built-in application program emulation debugging method, equipment and readable storage medium storing program for executing | |
CN110489147A (en) | Things-internet gateway remote upgrade method, device and computer readable storage medium | |
CN108107792A (en) | Loading method, terminal and the computer readable storage medium of LUA scripts | |
CN106912037A (en) | A kind of OTA upgrade methods and device | |
CN103677919A (en) | Airborne software updating method based on serial port | |
CN112118567A (en) | Device upgrading method, electronic device and medium | |
CN110529985A (en) | Matching method and device of air conditioning unit and data transmission terminal DTU | |
CN110505304A (en) | Terminal execution, application method, device, Cloud Server and the system of scene mode | |
CN109343880A (en) | RN packet updating method, RN packet updating device and readable storage medium | |
CN109889368A (en) | A kind of GPRS remote upgrade method based on STM32 controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |
|
RJ01 | Rejection of invention patent application after publication |