CN103942058A - Embedded electronic equipment software updating method and system - Google Patents

Embedded electronic equipment software updating method and system Download PDF

Info

Publication number
CN103942058A
CN103942058A CN201310017187.1A CN201310017187A CN103942058A CN 103942058 A CN103942058 A CN 103942058A CN 201310017187 A CN201310017187 A CN 201310017187A CN 103942058 A CN103942058 A CN 103942058A
Authority
CN
China
Prior art keywords
file
value
upgrade
terminal device
filename
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
CN201310017187.1A
Other languages
Chinese (zh)
Other versions
CN103942058B (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.)
GRANDSTREAM NETWORKS Inc
SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY Co Ltd
Original Assignee
GRANDSTREAM NETWORKS Inc
SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GRANDSTREAM NETWORKS Inc, SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY Co Ltd filed Critical GRANDSTREAM NETWORKS Inc
Priority to CN201310017187.1A priority Critical patent/CN103942058B/en
Publication of CN103942058A publication Critical patent/CN103942058A/en
Application granted granted Critical
Publication of CN103942058B publication Critical patent/CN103942058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an embedded electronic equipment software updating method. The method includes the steps that different file catalogs are created under a system of a terminal device for downloading files corresponding to different operations, wherein the file catalogs comprise one or more of ADD, MOD, DEL and SKIP; an updating file information sheet of updating firmware is downloaded from a server side, filenames and verification values in the updating file information sheet are compared with filenames and verification values in an old file information sheet stored in the terminal device, and it is determined that any operation of ADD, MOD, DEL and SKIP is executed; for operations executing ADD or MOD, deviation values and the file length are used as parameters, requests for acquiring corresponding file data are sent to a server, the terminal device receives the file data and then conducts decryption processing on the file data, restores the file data into compressed sack files, and stores the compressed files in the ADD/MOD catalogs; when the updating process is started, the files in the ADD catalog are directly decompressed to the corresponding catalog according to file paths recorded in compressed sacks; old files in the files in the MOD catalog are firstly deleted and then decompression coverage is conducted. According to the software updating method, software updating of the terminal device is faster and safer, the harmful effect of device updating on users is reduced to the maximum degree, and maintenance complexity and maintenance cost of the terminal device are reduced.

Description

A kind of EMBEDDED AVIONICS method for upgrading software and system
Technical field
The invention belongs to communication technique field, relate in particular to the method for upgrading software of embedded communication apparatus.
Background technology
Along with popularizing of multimedia intelligent equipment, in order to meet user to the new demand of the equipment proposition problem known with repairing software and to add new functional module, conventionally need to carry out software upgrading to equipment.In EMBEDDED AVIONICS, especially the conventional upgrade method such as multimedia intelligent equipment is mainly by SD card or usb data line, upgrade file to be copied in equipment, wipe the legacy data in the storage mediums such as FLASH, by ROMPaq, new file decompress(ion) is installed to and in FLASH, completes upgrading again, or by OTA(aerial upgrade) complete with the form of upgrade patch.
But there is following limitation in above method: (1) complicated operation, needs people manually to go upgrading, easily because misoperation occurs upgrading unsuccessfully; (2) need to remove one by one updating apparatus, be unfavorable for large-scale Software deployment, increase cost and the complicacy safeguarded; (3) update time is long.Along with the increase of software function, firmware volume constantly increases, and causes the transmission decompression time of firmware greatly to increase.(4) if by OTA patch form upgrading, in the time that version number's span of new and old edition is larger, need to be upgraded to latest edition by patch installing repeatedly, increase the complicacy of plant maintenance.
Summary of the invention
The object of the present invention is to provide a kind of EMBEDDED AVIONICS method for upgrading software, in order to solve long and the problem that cannot large scale deployment of complicated operation, update time.
In order to realize foregoing invention object, technical scheme of the present invention is as follows:
A kind of EMBEDDED AVIONICS method for upgrading software, the method comprises:
Under the system of terminal device, create different file directorys for downloading the file of corresponding different operating, described file directory comprise following one or more: ADD, MOD, DEL and SKIP;
Download the information of upgrade file table of firmware updating from server end, filename and proof test value in the ancient deed information table of more described information of upgrade file table and described terminal device storage, carry out to determine to carry out any operation that increases, revises, deletes and skip thus;
To carrying out the operation that increases or revise, using off-set value and file size as parameter, send the request of obtaining respective file data to described server, described terminal device receives it to be decrypted to process after described file data and is reduced to compressed package files and is saved in described ADD/MOD catalogue;
Start escalation process, the file in described ADD catalogue is directly unziped to corresponding catalogue according to the file path recording in described compressed package; File in described MOD catalogue is first deleted to ancient deed decompress(ion) covering again; Scan all local ancient deed in described terminal device file system, calculation document name MD5 value is set up the two mapping table Record of file path and filename MD5 value, contrast one by one filename under described DEL catalogue and the filename MD5 value in Record, from described Record file, read the path of described file if identical and according to file described in route deletion.
In addition, the present invention also provides a kind of EMBEDDED AVIONICS software update system, this system comprises: firmware updating producing device, server, and be provided with the terminal device of memory module and update device, described server is connected with described each terminal device communication, it is built-in with the firmware updating that described firmware updating producing device completes and carries out the upgrading of software version for described terminal device, described firmware updating producing device comprises: counter, compress-encrypt module and file packetization module, wherein:
Counter, is responsible for that compressing file bag is carried out to file size, offset address and calculates, and MD5 value and filename MD5 value to compressing file bag carried out computing;
Compress-encrypt module, for compressing and encryption single target file;
File packetization module, generates described information of upgrade file table for organizing, makes described firmware updating header file, makes file bag.
The update device of terminal device further comprises: file download module, comparison module, document analysis module and upgrade execution module, wherein, file download module, for obtaining described firmware updating header file, information of upgrade file table, file bag from described server end, and create arrange at least one for carrying out the file sub-directory of different operating: ADD, MOD, DEL and SKIP; Whether comparison module, have the list item identical with described filename MD5 value for the ancient deed information table of more described terminal device, and whether the MD5 value of more described compressed package is identical; Document analysis module, for resolving described information of upgrade file table data, obtains described filename MD5 value, file size, document misregistration address, file MD5 value.
Adopt technical scheme provided by the invention can shorten greatly the update time of terminal device, thereby reduce impact user being caused because of device upgrade.Simultaneously for equipment manager, without removing one by one updating apparatus, in only new firmware updating need being uploaded onto the server, all terminal devices all can go automatic upgrading, for containing the terminal device of any legacy version software and Yan Douke by same firmware, it to be upgraded to up-to-date, without carrying out staged upgrading, thereby reduce the complexity of safeguarding and reduce maintenance cost.
Brief description of the drawings
Fig. 1 is the schematic diagram of terminal equipment software upgrade system in the specific embodiment of the invention;
Fig. 2 is terminal equipment software upgrading method process flow diagram in the specific embodiment of the invention;
Fig. 3 is the method flow diagram of making firmware updating in the specific embodiment of the invention;
Fig. 4 is that in the specific embodiment of the invention, terminal device is resolved firmware updating classifying downloaded process flow diagram;
Fig. 5 is the process flow diagram that in the specific embodiment of the invention, terminal device carries out updating operation.
Embodiment
Ultimate principle of the present invention is in firmware updating, record the information such as each filename, proof test value, off-set value and file size and be written in information of upgrade file Table I DT by the form of specifying.Determine need to upgrade time according to the ancient deed information table LIDT(Local IDT in relatively firmware updating and terminal device at terminal device) in filename and proof test value determine that different files need to carry out different updating operation modes, such as increasing, revise, delete, skip etc.The method is for the terminal device that comprises any legacy version software and Yan Douke makes it be upgraded to latest edition by same firmware.
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the schematic diagram of terminal equipment software upgrade system in the specific embodiment of the invention, and described upgrade-system comprises as seen from the figure: firmware updating producing device 100, server 200, and terminal device 300.
In order to realize the object that the present invention is directed to different files and carry out different updating operation and reach quick upgrading, for terminal device, upgrade file is compared, classified carrying out must making specific firmware updating before software upgrading.This firmware updating manufacturing process is all to be completed by the firmware updating producing device 100 of software supplier conventionally.The ultimate principle of making described firmware updating is: the information such as each filename, proof test value, off-set value and file size that record in firmware updating are written in information of upgrade file Table I DT by the form of specifying.Determine need to upgrade time according to the filename in the ancient deed information table LIDT of more above-mentioned IDT and terminal device storage and proof test value and determine that different files need to carry out different updating operation modes at terminal device, such as increase, revision, deletion etc.In firmware updating producing device 100, be provided with counter 110, compress-encrypt module 120, and file packetization module 130.
Wherein, counter 110, is responsible for the file after each file destination name and its compression to carry out MD5 numerical evaluation, and the calculating to compressed package files size, the calculating of compressed package offset address.Describe below the filename MD5 value of counter 110 calculation document info.txt: a1425019a18343a4b03cfb8c9e72d245 as an example of file info.txt example; The file MD5 value of the info.zip compressed package that calculation document info.txt compression generates: 08a4a0cf5af90fbb286cc8067f3057a4.The file size that simultaneously calculates info.zip compressed package is 181065, and the offset address that packing enters in file bag system.img is 6243994.
Compress-encrypt module 120, for single target file is compressed and encryption, as above-mentioned file info.txt compression is generated to info.zip compressed package, in compressed package, the path of while include file, is encrypted above-mentioned compressed package in addition.
File packetization module 130, generates an IDT list item for filename MD5 value, info.zip file MD5 value, file size, the document misregistration address Deng An format organization of info.txt that above-mentioned processing is obtained and writes information of upgrade file Table I DT; Compressed package info.zip is encrypted and packs in file bag system.img; Version information by setting in advance: V1.2.0, facility information: the information such as the size of Vendor:Grandstream Type:IP phone Modle:0x17, IDT file size and system.img are written in header file HEAD by form, finally HEAD, IDT, system.img are packaged into firmware updating firmware.bin together, and are uploaded to server 200 by firmware updating producing device 100.When terminal device 300 has need to upgrade time and server 200 carries out communication and downloads above-mentioned firmware updating.
Terminal device 300 comprises memory module 310 and update device 320, and update device 320 further comprises: file download module 321, comparison module 322, document analysis module 323 and upgrade execution module 324.
File download module 321, for obtain from server end firmware updating header file HEAD, IDT file each list item, need to carry out increase or the file bag of revision operation file as info.zip etc.Under update_system catalogue in the system at terminal device, create three sub-directory A DD, MOD, DEL in addition.
Comparison module 322, in the ancient deed information table LIDT storing for comparison terminal equipment, whether there is the IDT information of obtaining from terminal device, as the IDT list item identical with the filename MD5 value of file info.txt, filename MD5 value, file MD5 value are compared.
Document analysis module 323, resolves for the header file HEAD that file download module 321 is downloaded, and obtains file version information and facility information, with judge whether be this model terminal device firmware updating, whether be new version; Simultaneously by the parsing of HEAD being obtained to off-set value and the file size of IDT file.Download and obtain after IDT file when file download module 321, this file parsing module 323 is for resolving filename MD5 value in the each IDT list item information that obtains IDT file, file size, document misregistration address, file MD5 value etc.; And for the file of downloading is decrypted to processing, data block is reduced to compressed package files info.zip.
Upgrade execution module 324, carries out different updating operation to the file in different directories ADD, MOD, DEL.First, all local ancient deed the file in program scanning terminal device file system under update_system catalogue, sets up the two mapping table Record of file path and filename MD5 value after calculation document name MD5 value.Contrast one by one the filename MD5 value in filename and the Record under DEL catalogue, from Record file, read the path of this file if identical and according to the above-mentioned file of route deletion, until that the All Files in DEL is deleted is complete.For the file in ADD catalogue, decompress(ion) program directly unzips to corresponding catalogue according to the file path recording in each compressing file bag.File in MOD catalogue is first deleted to ancient deed decompress(ion) covering again, i.e. the combination of DEL and ADD operation.After All Files processing finishes, delete old LIDT, and IDT is saved as to new LIDT.
Memory module 310, for depositing ancient deed, the ancient deed information table LIDT(Local IDT of terminal device system), and download the data such as file bag info.txt after the compressed file bag info.zip and the decompress(ion) that obtain.
Fig. 2 is terminal equipment software upgrading method process flow diagram in the specific embodiment of the invention, and upgrade method of the present invention mainly comprises following operation steps as shown in the figure:
Step S201: make firmware updating: scanning destination folder, calculate and record the filename MD5 value of each file, file MD5 value, after again compressing file being encrypted to packing, add in file bag and record off-set value and the file size of this file in bag, by the filename MD5 value of each file of record, file MD5 value, the information such as off-set value and file size is written in information of upgrade file Table I DT by the form of specifying, finally after completing the packing of All Files, generate firmware header, again by the IDT generating, file bag is made on firmware updating uploads onto the server together with header.
Step S202: terminal device sends to the server of depositing firmware updating the firmware updating header request of obtaining.
Step S203: resolve the firmware updating header getting, judge whether to meet upgrading requirement, if be defined as suitable version, terminal device sends the request of obtaining IDT to server.
Step S204: the comparison of filename MD5 value and file MD5 value, whether there is for the ancient deed information table LIDT storing on comparison terminal equipment the IDT information of obtaining from terminal device, as the IDT list item identical with the filename MD5 value of file info.txt, filename MD5 value, file MD5 value are compared, determine the operation species of required execution and create different directories according to comparative result: ADD, MOD and DEL.
Step S205: download and arrange each catalogue file according to the comparative result of filename MD5 value in above-mentioned steps S204 and file MD5 value: obtain its off-set value and file size from IDT, initiate obtain file request and the file of download is kept in ADD/MOD catalogue to server as parameter; To the file in DEL catalogue, calculate and record its filename MD5 value and corresponding file path; The file of carrying out SKIP is not done to any operation.
Step S206: start upgrade execution module, ROMPaq is added or upgraded the file in ADD/MOD catalogue and delete DEL catalogue file, preserves new IDT catalogue file in terminal device, completion system upgrading.
Fig. 3 is the method flow diagram of making firmware updating in the specific embodiment of the invention.In order to adopt method for upgrading software of the present invention, must make specific firmware updating to the file of required upgrading.The ultimate principle of making firmware updating is: the information such as each filename MD5 value, file MD5 value, off-set value and file size that record in firmware updating are written in information of upgrade file Table I DT by the form of specifying.Determine need to upgrade time according to the filename MD5 value in the file information table LIDT of more above-mentioned IDT and terminal device storage and file MD5 value and determine that different files need to carry out different updating operation modes at terminal device, such as increase, revision, deletion etc.Describe as an example of file info.txt example below, concrete method for making is as follows:
Step S301: info.txt carries out MD5 calculating to single target file.
Packing program scanning destination folder file reading info.txt, first calculates the MD5 value of filename character string " info.txt ": a1425019a18343a4b03cfb8c9e72d245 by MD5 calculation procedure.
Step S302: carry out again MD5 calculating after file info.txt compression is generated to info.zip, obtain file MD5 value.
File info.txt is compressed and generated info.zip compressed package by ZIP, the path of include file in compressed package, the MD5 value that simultaneously calculates compressed package info.zip is that 08a4a0cf5af90fbb286cc8067f3057a4 and size are 181065.
Step S303: by compressed package info.zip encryption and calculating offset address.
Compressed package info.zip be encrypted and pack in file bag system.img, calculating its offset address in system.img simultaneously and be 6243994 and preserved.
Step S304: tissue generates IDT list item and writes in information of upgrade file Table I DT file.
Filename MD5 value that above-mentioned steps is obtained, file size, document misregistration address, file MD5 value etc. generate an IDT list item by format organization and are written in IDT file, and wherein each table item size is identical.The operation of repeating step S301 ~ S304 until All Files all pack in file bag system.img.
Step S305: make firmware updating header file HEAD, and by HEAD, IDT, the system.img generation firmware updating of packing together.
The program of finally packing is by the version information setting in advance: V1.2.0, facility information: the information such as the size of Vendor:Grandstream Type:IP phone Modle:0x17, IDT file size and system.img are written in header file HEAD by form, finally HEAD, IDT, system.img are packaged into firmware updating firmware.bin together.
Fig. 4 is that in the specific embodiment of the invention, terminal device is resolved firmware updating classifying downloaded process flow diagram, and as seen from the figure, terminal device is downloaded and mainly comprised following operation steps the parsing of firmware updating:
Step S401: the address that upgrade server is set or directly arranges in terminal device by Long-distance Control instrument.
Step S402: terminal device timing or while starting at every turn operating file download module go to detect in server, whether have firmware, download the header file HEAD of firmware updating if having, resolve and therefrom obtain terminal device information and version information, further judge whether be this model terminal device firmware updating, whether be new version, if create three sub-directory A DD, MOD, DEL under the update_system catalogue in system, and enter step 403, otherwise finish upgrading.
Step S403: according to off-set value and the file size of file information table IDT in header file HEAD, download the file information table IDT of firmware updating from server.
Step S404: parsing IDT file therefrom obtains the IDT list item information of file info.txt, retrieval is also relatively kept in the ancient deed information table LIDT in terminal device, whether there be the IDT list item identical with the filename MD5 value of file info.txt, above-mentioned MD5 value is a1425019a18343a4b03cfb8c9e72d245, if increase operation without info.txt being carried out to ADD, further contrast the MD5 value of compressed package info.zip if having, whether identical with 08a4a0cf5af90fbb286cc8067f3057a4, carry out MOD revision operation if not identical, otherwise file info.txt skips and processes next IDT list item without upgrading.
Step S405: for the file of carrying out ADD/MOD operation as info.txt, using its off-set value as 6243994 and file size as 181065 as parameter, file download module is sent and obtains file request to server by procotols such as tftp/http/https.
Step S406: server receives after the request of terminal device according to above-mentioned off-set value and file size, as info.txt, is that 6243994 to read size be that 181065 Data Concurrent is given terminal device from firmware updating start offset.
Step S407: the file download module in terminal device is passed to document analysis module by data after receiving data, document analysis module is decrypted to process to data data block is reduced to compressed package files info.zip, and file is saved in ADD/MOD catalogue, delete IDT list item corresponding in IDT and LIDT simultaneously.
Repeating step S403 ~ S407, until all IDT list items enter step S408 after being all disposed in IDT.
Step S408: will remain running after fame and create empty file under DEL catalogue with its filename MD5 value respectively of list item in ancient deed information table LIDT.
Fig. 5 is the process flow diagram that in the specific embodiment of the invention, terminal device carries out updating operation.Terminal device starts upgrade execution module, enters upgrade mode, and different directories ADD, the MOD to above-mentioned generation, the file of DEL are carried out different updating operation, and as shown in Figure 5, this updating operation method specifically comprises:
Step S501: first the file in DEL catalogue is processed, all local ancient deed file in program scanning terminal device file system under update_system catalogue, and calculation document name MD5 value is set up the two mapping table Record of file path and filename MD5 value.Contrast one by one the filename MD5 value in filename and the Record under DEL catalogue, from Record file, read the path of this file if identical and according to route deletion file, until that the All Files in DEL catalogue is deleted is complete.
Step S502: for the file in ADD catalogue, decompress(ion) program directly unzips to corresponding catalogue according to the file path recording in compressed package.
Step S503: for the file in MOD catalogue, first delete ancient deed decompress(ion) covering again, i.e. the combination of DEL and ADD operation.
Step S504: after All Files processing finishes, delete old LIDT, and IDT is saved as to new LIDT.
Step S505: restart terminal device and enter new system.
In addition,, for terminal device being carried out to the large scale deployment of software upgrading, also need to carry out following operation: terminal device control client is sent upgrade server address (server name) and sends upgrading order to terminal device by DHCP option 66; All terminal devices receive after upgrading order and server address, and the server address that heavy duty is old also starts ROMPaq, and then ROMPaq completes the upgrading of terminal device according to the step of describing in Fig. 3 to Fig. 5.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. an EMBEDDED AVIONICS method for upgrading software, is characterized in that, described method comprises:
Under the system of terminal device, create different file directorys for downloading the file of corresponding different operating, described file directory comprise following one or more: ADD, MOD, DEL and SKIP;
Download the information of upgrade file table of firmware updating from server end, filename and proof test value in the ancient deed information table of more described information of upgrade file table and described terminal device storage, carry out to determine to carry out any operation that increases, revises, deletes and skip thus;
To carrying out the operation that increases or revise, using off-set value and file size as parameter, send the request of obtaining respective file data to described server, described terminal device receives it to be decrypted to process after described file data and is reduced to compressed package files and is saved in described ADD/MOD catalogue;
Start escalation process, the file in described ADD catalogue is directly unziped to corresponding catalogue according to the file path recording in described compressed package, the file in described MOD catalogue is first deleted to ancient deed decompress(ion) covering again.
2. upgrade method according to claim 1, it is characterized in that, described upgrade method also comprises: make described firmware updating, comprise: tissue generates described information of upgrade file table, makes firmware updating header file, makes file bag, and wherein said information of upgrade file table comprises Message Digest 5 numerical value, document misregistration address, the file size of file and filename; Described making file bag is compressing file bag to be encrypted and to be packed generate described file bag.
3. upgrade method according to claim 2, is characterized in that, the Message Digest 5 numerical value of described file and filename refers to MD5 value and the filename MD5 value of described compressing file bag.
4. upgrade method according to claim 3, is characterized in that, described firmware updating header file comprises: the size of version information, facility information, information of upgrade file table, the size of file bag.
5. upgrade method according to claim 4, is characterized in that, described method also comprises:
When there is no the list item identical with described filename MD5 value in described ancient deed information table, file corresponding to described list item carried out and increased operation, otherwise further compare the MD5 value of compressed package, just carry out revision operation if not identical.
6. according to the upgrade method described in claim 2 or 5, it is characterized in that, described startup escalation process also comprises: scan all local ancient deed in described terminal device file system, calculation document name MD5 value is set up the two mapping table Record of file path and filename MD5 value, contrast one by one filename under described DEL catalogue and the filename MD5 value in Record, from described Record file, read the path of described file if identical and according to file described in route deletion.
7. an EMBEDDED AVIONICS software update system, comprise: firmware updating producing device, server, and be provided with the terminal device of memory module and update device, described server is connected with described each terminal device communication, and receive the firmware updating that described firmware updating producing device completes and carry out the upgrading of software version for described terminal device, it is characterized in that, described firmware updating producing device comprises: counter, compress-encrypt module and file packetization module, wherein
Described counter, is responsible for compressing file bag to carry out file size, offset address calculating, and the Message Digest 5 numerical value of file and filename is carried out to computing;
Described compress-encrypt module, for compressing and encryption single target file;
Described file packetization module, generates described information of upgrade file table for organizing, makes described firmware updating header file, makes file bag.
8. upgrade-system as claimed in claim 7, is characterized in that, the Message Digest 5 numerical value of described file and filename refers to MD5 value and the filename MD5 value of described compressing file bag.
9. upgrade-system as claimed in claim 8, is characterized in that, the update device of described terminal device further comprises: file download module, comparison module, document analysis module and upgrade execution module, wherein,
Described file download module, for obtaining described firmware updating header file, described information of upgrade file table, described file bag from described server end, and create arrange at least one for carrying out the file sub-directory of different operating: ADD, MOD, DEL and SKIP;
Whether described comparison module, have the list item identical with described filename MD5 value for the ancient deed information table of more described terminal device, and whether the MD5 value of more described compressed package is identical;
Described document analysis module, for resolving described information of upgrade file table data, obtains described filename MD5 value, file size, document misregistration address, file MD5 value;
Described upgrade execution module, is responsible for the file in sub-directory: ADD, MOD, DEL and SKIP to carry out different updating operation, and the file decompress(ion) program in ADD catalogue is directly unziped to corresponding catalogue according to the file path recording in compressed package; File in MOD catalogue is first deleted to ancient deed decompress(ion) covering again.
10. upgrade-system as claimed in claim 9, it is characterized in that, described upgrade execution module is also for scanning all local ancient deed of described terminal device file system, calculation document name MD5 value is set up the two mapping table Record of file path and filename MD5 value, contrast one by one filename under described DEL catalogue and the filename MD5 value in Record, from described Record file, read the path of described file if identical and according to file described in route deletion.
CN201310017187.1A 2013-01-17 2013-01-17 A kind of EMBEDDED AVIONICS method for upgrading software and system Active CN103942058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310017187.1A CN103942058B (en) 2013-01-17 2013-01-17 A kind of EMBEDDED AVIONICS method for upgrading software and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310017187.1A CN103942058B (en) 2013-01-17 2013-01-17 A kind of EMBEDDED AVIONICS method for upgrading software and system

Publications (2)

Publication Number Publication Date
CN103942058A true CN103942058A (en) 2014-07-23
CN103942058B CN103942058B (en) 2018-04-27

Family

ID=51189735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310017187.1A Active CN103942058B (en) 2013-01-17 2013-01-17 A kind of EMBEDDED AVIONICS method for upgrading software and system

Country Status (1)

Country Link
CN (1) CN103942058B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808273A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Software upgrading method and software upgrading device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating
CN106372538A (en) * 2016-08-30 2017-02-01 苏州国芯科技有限公司 Firmware protection method based on SoC (System on Chip)
CN107291497A (en) * 2017-06-08 2017-10-24 Tcl通力电子(惠州)有限公司 Multi-firmware upgrading method and system and readable storage medium
CN107844318A (en) * 2017-12-11 2018-03-27 维沃移动通信有限公司 The upgrade method and mobile terminal and server of a kind of operating system
CN107888648A (en) * 2016-09-29 2018-04-06 精工爱普生株式会社 The control method and network system of server, server
CN107885519A (en) * 2017-11-09 2018-04-06 上海奕瑞光电子科技股份有限公司 Firmware packings, upgrade method, system, storage medium and the flat panel detector of flat panel detector
CN107943501A (en) * 2017-11-30 2018-04-20 深圳市东微智能科技股份有限公司 Embedded device upgrade method, device, computer equipment and storage medium
CN108173888A (en) * 2016-12-06 2018-06-15 杭州海康威视数字技术股份有限公司 A kind of method for upgrading software of distributed system, apparatus and system
CN109284123A (en) * 2017-07-21 2019-01-29 深圳市中兴微电子技术有限公司 It is a kind of to divide the method and system for realizing compressed version upgrading using version
CN109358879A (en) * 2018-10-15 2019-02-19 广东宝莱特医用科技股份有限公司 A method of updating monitor system part programs
CN109388618A (en) * 2018-10-15 2019-02-26 深圳市太山科技有限公司 The method and device of embedded system compressing file, decompression and encryption, decryption
CN110650169A (en) * 2018-06-27 2020-01-03 视联动力信息技术股份有限公司 Terminal equipment upgrading method and device
CN111078153A (en) * 2019-12-20 2020-04-28 同方知网(北京)技术有限公司 Distributed storage method based on files
CN111552511A (en) * 2020-05-14 2020-08-18 山东省计算中心(国家超级计算济南中心) Method for unpacking and recovering file name of Internet of things firmware of VxWorks system
CN111813436A (en) * 2020-06-17 2020-10-23 中车株洲电力机车研究所有限公司 Method and system for updating configuration files in batch
CN111970161A (en) * 2020-09-21 2020-11-20 浙江大学 Internet of things application differential upgrading method based on address prediction
CN112579385A (en) * 2019-09-29 2021-03-30 中国石油天然气集团有限公司 Server file monitoring method and device
CN113225397A (en) * 2021-05-06 2021-08-06 深圳沃迪声科技股份有限公司 Firmware upgrading method and device for embedded equipment, terminal and storage medium
CN113342383A (en) * 2021-06-30 2021-09-03 广州市保伦电子有限公司 Remote online burning upgrading method for single chip microcomputer
CN113568636A (en) * 2021-07-08 2021-10-29 深圳市骁巨智能科技有限公司 Intelligent watch OTA upgrading system and method
CN116185460A (en) * 2023-04-26 2023-05-30 深圳市鼎盛科电子有限公司 Method and device for automatically upgrading embedded system software

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1493262A1 (en) * 2002-04-11 2005-01-05 HI/FN, Inc. Method, system and computer product for processing packets with layered headers
KR20070081868A (en) * 2006-02-14 2007-08-20 삼성전자주식회사 Method for updating software efficiently in mobile communication system
CN101436141A (en) * 2008-11-21 2009-05-20 深圳创维数字技术股份有限公司 Firmware upgrading and encapsulating method and device based on digital signing
CN101719072A (en) * 2009-11-23 2010-06-02 青岛海信宽带多媒体技术有限公司 Embedded type terminal equipment software upgrading method and upgrading device
CN102064960A (en) * 2010-11-26 2011-05-18 北京安天电子设备有限公司 Method, server and system for software upgrading

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1493262A1 (en) * 2002-04-11 2005-01-05 HI/FN, Inc. Method, system and computer product for processing packets with layered headers
KR20070081868A (en) * 2006-02-14 2007-08-20 삼성전자주식회사 Method for updating software efficiently in mobile communication system
CN101436141A (en) * 2008-11-21 2009-05-20 深圳创维数字技术股份有限公司 Firmware upgrading and encapsulating method and device based on digital signing
CN101719072A (en) * 2009-11-23 2010-06-02 青岛海信宽带多媒体技术有限公司 Embedded type terminal equipment software upgrading method and upgrading device
CN102064960A (en) * 2010-11-26 2011-05-18 北京安天电子设备有限公司 Method, server and system for software upgrading

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808273B (en) * 2014-12-30 2019-03-29 Tcl集团股份有限公司 Method for upgrading software and software updating apparatus
CN105808273A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Software upgrading method and software upgrading device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating
CN106372538A (en) * 2016-08-30 2017-02-01 苏州国芯科技有限公司 Firmware protection method based on SoC (System on Chip)
CN107888648A (en) * 2016-09-29 2018-04-06 精工爱普生株式会社 The control method and network system of server, server
CN107888648B (en) * 2016-09-29 2020-09-29 精工爱普生株式会社 Server, server control method, and network system
CN108173888A (en) * 2016-12-06 2018-06-15 杭州海康威视数字技术股份有限公司 A kind of method for upgrading software of distributed system, apparatus and system
CN107291497A (en) * 2017-06-08 2017-10-24 Tcl通力电子(惠州)有限公司 Multi-firmware upgrading method and system and readable storage medium
CN107291497B (en) * 2017-06-08 2021-02-05 Tcl通力电子(惠州)有限公司 Multi-firmware upgrading method and system and readable storage medium
CN109284123A (en) * 2017-07-21 2019-01-29 深圳市中兴微电子技术有限公司 It is a kind of to divide the method and system for realizing compressed version upgrading using version
CN107885519A (en) * 2017-11-09 2018-04-06 上海奕瑞光电子科技股份有限公司 Firmware packings, upgrade method, system, storage medium and the flat panel detector of flat panel detector
CN107943501A (en) * 2017-11-30 2018-04-20 深圳市东微智能科技股份有限公司 Embedded device upgrade method, device, computer equipment and storage medium
CN107844318A (en) * 2017-12-11 2018-03-27 维沃移动通信有限公司 The upgrade method and mobile terminal and server of a kind of operating system
CN110650169A (en) * 2018-06-27 2020-01-03 视联动力信息技术股份有限公司 Terminal equipment upgrading method and device
CN109358879A (en) * 2018-10-15 2019-02-19 广东宝莱特医用科技股份有限公司 A method of updating monitor system part programs
CN109388618A (en) * 2018-10-15 2019-02-26 深圳市太山科技有限公司 The method and device of embedded system compressing file, decompression and encryption, decryption
CN109388618B (en) * 2018-10-15 2021-02-12 密卡思(深圳)电讯有限公司 Method and device for compressing, decompressing, encrypting and decrypting file of embedded system
CN112579385A (en) * 2019-09-29 2021-03-30 中国石油天然气集团有限公司 Server file monitoring method and device
CN111078153A (en) * 2019-12-20 2020-04-28 同方知网(北京)技术有限公司 Distributed storage method based on files
CN111552511A (en) * 2020-05-14 2020-08-18 山东省计算中心(国家超级计算济南中心) Method for unpacking and recovering file name of Internet of things firmware of VxWorks system
CN111813436A (en) * 2020-06-17 2020-10-23 中车株洲电力机车研究所有限公司 Method and system for updating configuration files in batch
CN111970161A (en) * 2020-09-21 2020-11-20 浙江大学 Internet of things application differential upgrading method based on address prediction
CN111970161B (en) * 2020-09-21 2021-07-13 浙江大学 Internet of things application differential upgrading method based on address prediction
CN113225397A (en) * 2021-05-06 2021-08-06 深圳沃迪声科技股份有限公司 Firmware upgrading method and device for embedded equipment, terminal and storage medium
CN113342383A (en) * 2021-06-30 2021-09-03 广州市保伦电子有限公司 Remote online burning upgrading method for single chip microcomputer
CN113568636A (en) * 2021-07-08 2021-10-29 深圳市骁巨智能科技有限公司 Intelligent watch OTA upgrading system and method
CN116185460A (en) * 2023-04-26 2023-05-30 深圳市鼎盛科电子有限公司 Method and device for automatically upgrading embedded system software

Also Published As

Publication number Publication date
CN103942058B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN103942058A (en) Embedded electronic equipment software updating method and system
CN106021023B (en) Application program recovery method and device and terminal
WO2016192197A1 (en) Software upgrade method, apparatus and system of terminal, and computer storage medium
US20150220317A1 (en) Method, equipment and system of incremental update
CN106648766B (en) Method and device for generating patch upgrade patch based on folder and differentially upgrading patch based on folder
JP2017504879A (en) Method and apparatus for creating differential update package, system differential update method and apparatus
CN109309725B (en) Application downloading and updating method and device, computer equipment and storage medium
CN107528718B (en) Method, device and system for acquiring resources
CN104754002A (en) File cleaning method and device, mobile terminal and cloud-side server
CN103544030A (en) Software upgrading method, software upgrading system and intelligent terminal
WO2016202000A1 (en) Differential rollback upgrading method and apparatus
CN111897846A (en) Cache data verification method, device, equipment and storage medium
CN108874439B (en) Method and device for acquiring customized difference packet, and upgrading method and device
CN102687472A (en) Processing devices and methods for transmitting and receiving data
CN109558161A (en) Upgrade packet processing method, device and OTA cloud server
CN103019795A (en) Method and system for upgrading software basic data
CN111221682B (en) Method for mirroring storage system
CN115509582A (en) Application program issuing method, device, equipment and storage medium
CN102820982B (en) Data transmission method and device
CN112328284A (en) Application program upgrading method, system, equipment and storage medium
CN105243141A (en) APP resource management method and mobile terminal
CN111417927A (en) Resource authority processing method and device, storage medium and chip
CN114237976A (en) Data acquisition method and device
CN112988176A (en) Channel package generation method and device, storage medium and electronic equipment
JP6313987B2 (en) File management program, file management method, and file management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant