CN102609326A - Data downloading processing method and data downloading processing device - Google Patents

Data downloading processing method and data downloading processing device Download PDF

Info

Publication number
CN102609326A
CN102609326A CN2012100151021A CN201210015102A CN102609326A CN 102609326 A CN102609326 A CN 102609326A CN 2012100151021 A CN2012100151021 A CN 2012100151021A CN 201210015102 A CN201210015102 A CN 201210015102A CN 102609326 A CN102609326 A CN 102609326A
Authority
CN
China
Prior art keywords
file
value
mirror image
software
original version
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
CN2012100151021A
Other languages
Chinese (zh)
Other versions
CN102609326B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201210015102.1A priority Critical patent/CN102609326B/en
Publication of CN102609326A publication Critical patent/CN102609326A/en
Application granted granted Critical
Publication of CN102609326B publication Critical patent/CN102609326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a data downloading processing method and a data downloading processing device, which are used for guaranteeing correctness of a software updating packet downloaded by an automatic drive test terminal and improving success rate of software upgrading of the automatic drive test terminal. The data downloading processing method includes steps of: downloading the software updating packet by selecting a network, acquiring a first MD5 (message digest algorithm5) value used for checking whether the software updating packet is downloaded correctly or not, computing the MD5 value of the software updating packet, and determining whether the software updating packet is downloaded correctly or not by comparing the computed MD5 of the software updating packet and the first MD5 value.

Description

A kind of data download processing method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of data download processing method and device.
Background technology
The automatic road measuring terminal can be according to the real-time command of predefined testing scheme or automatic road measuring platform; Accomplish the collecting work of the relevant wave point data of multiple standard; Test data can be passed through data modem unit (MODEM), in real time or by the time of arranging returning data is arrived far-end server.
In the actual moving process, because of wireless parameter variation, acquisition method adjustment or software defect reparation, automatic test terminal has frequent software upgrade requirement, because terminal device quantity is many, it is wide to distribute, and the necessary method that adopts the automatic software upgrading.
The traditional software upgrading scheme basically all is after AKU downloads to this locality, carries out completeness check; And then carry out updating file and operate; In this course, if accidental outage, disk sector mistake, basic version mistake etc. will cause the upgrading failure.
The automatic road measuring terminal is because of business needs such as wireless parameter variation, acquisition method adjustment or software defect reparations; Frequent software upgrade requirement is arranged; Success rate for upgrading is of great importance to equipment operation maintenance, is that escalation process failure or the upgrading failure that exists defective to cause because of the original system core document all are difficult to accept.
The method for upgrading software of prior art is: through wireless air interface, between automatic road measuring terminal and automatic road measuring Platform Server, set up network and connect (socket) communication, after the verification of download and upgrade bag is correct, carries out file and upgrade operation.
The upgrading mode of prior art (the download and upgrade software package covers after the verification and upgrades) is in proper working order in the ideal case.But in the actual mechanical process; Disturb the problem that causes because of there are virus in escalation process outage, disk sector mistake or basic version, tend to run into the situation of upgrading failure, performance is after issuing AKU; Software can not upgrade automatically, even upgrading back equipment can't operate as normal.
Make a concrete analysis of as follows:
Update software wraps in to be carried out when upgrading operation, often needs tens of seconds time, if outage or disk sector mistake occur in this time, escalation process will interrupt, if in the process of overriding, fail, then can cause appliance boot failure;
After the software upgrading, only, report software version number, but whether actual updating file can't guarantee by correct covering according to version information in certain file (like the xml file);
After the software upgrading, even updating file by correct covering, (is changed down by virus or damages like file) because former basic version existing problems, though report software to be upgraded by correct, real work is undesired.
In sum, automatic road measuring of the prior art terminal is in the operational process of reality, and the success ratio of automatic road measuring device software upgrading is not high, brings great interference for daily O&M.
Summary of the invention
The embodiment of the invention provides a kind of data download processing method and device, in order to the integrality of the software upgrade package that guarantees the automatic road measuring terminal downloads, and the integrality of kernel file.
A kind of data download processing method that the embodiment of the invention provides comprises:
The downloaded software update package therefrom obtains and is used for the verification software update package and whether downloads the first correct Message Digest Algorithm 5 MD5 value;
The MD5 value of software for calculation update package, whether consistent through the MD5 value of the software upgrading bag that relatively calculates with a said MD5 value, confirm whether the software upgrading bag is downloaded correctly.
A kind of data download process device that the embodiment of the invention provides comprises:
Select download unit, be used for the downloaded software update package, therefrom obtain and be used for the verification software update package and whether download the first correct Message Digest Algorithm 5 MD5 value;
Whether first verification unit is used for the MD5 value of software for calculation update package, consistent with a said MD5 value through the MD5 value of the software upgrading bag that relatively calculates, confirms whether the software upgrading bag is downloaded correctly.
Whether the embodiment of the invention downloads a correct MD5 value through selecting download network downloaded software update package, therefrom obtain to be used for the verification software update package; The MD5 value of software for calculation update package; Whether the MD5 value through the software upgrading bag that relatively calculates is consistent with a said MD5 value; Confirm whether the software upgrading bag is downloaded correctly; Thereby realize the correctness of the software upgrading bag of assurance automatic road measuring terminal downloads, improved the success ratio of automatic road measuring terminal software upgrading.
Description of drawings
The overall procedure synoptic diagram of a kind of data download processing method that Fig. 1 provides for the embodiment of the invention;
The idiographic flow synoptic diagram of a kind of data download processing method that Fig. 2 provides for the embodiment of the invention;
The structural representation of a kind of data download process device that Fig. 3 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of data download processing method and device.
The technical scheme that the embodiment of the invention provides, the technical matters that can solve comprises:
To the not high problem of existing automatic road measuring terminal software upgrading success ratio, a kind of new automatic software upgrading scheme is proposed, assemble verification through AKU verification, kernel, can not only guarantee the AKU integrality, can guarantee the kernel file integrality simultaneously; Simultaneously; Through mirror image switch, version number and kernel Hash (Hash) control methods; Guaranteed the flatness that software version switches; Avoid accident (like outage, disk sector mistake etc.), to guarantee the success ratio of software upgrading, solved the not high problem of automatic road measuring terminal software upgrading success ratio the interference of software upgrading.
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described.
Referring to Fig. 1, a kind of data download processing method that the embodiment of the invention provides comprises step:
S101, select download network downloaded software update package, therefrom obtain and be used for the verification software update package and whether download the first correct Message Digest Algorithm 5 (Message DigestAlgorithm, MD5) value;
The MD5 value of S102, software for calculation update package, whether consistent through the MD5 value of the software upgrading bag that relatively calculates with a said MD5 value, confirm whether the software upgrading bag is downloaded correctly.
Preferably, when the MD5 value of the software upgrading bag that calculates was consistent with a said MD5 value, this method also comprised:
From the software upgrading bag, obtain and be used for the 2nd MD5 value that the correctness of all kernel file of original version is carried out verification;
According to said the 2nd MD5 value, judge whether all kernel file of original version are correct.
Preferably, said according to said the 2nd MD5 value, judge whether all kernel file of original version are correct, comprising:
All kernel file of original version are copied in the preset mirror image catalogue;
Kernel file in the mirror image catalogue is compressed, the file after obtaining compressing, and calculate the MD5 value of the file after this compression;
Whether the MD5 value of judging the file after compressing is identical with said the 2nd MD5 value, if, confirm that then all kernel file of original version are correct, otherwise, report original version file error information.
Preferably, when all kernel file of confirming original version were correct, this method also comprised:
From the software upgrading bag, obtain file the 3rd MD5 value of carrying out verification that is used for after the upgrading;
According to said the 3rd MD5 value, the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification.
Preferably, said according to said the 3rd MD5 value, the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification, comprising:
Kernel file in the software upgrading bag is covered in the mirror image catalogue, upgrade all kernel file of the original version in the mirror image catalogue;
Kernel file in the mirror image catalogue after upgrading is compressed, and calculates the MD5 value of the file after the compression;
Judge whether the MD5 value of calculating the file after compressing is identical with said the 3rd MD5 value, if, be updated to target version this shop by master this shop then with the version information file in the mirror image catalogue; Otherwise, confirm the upgrading failure.
Preferably, with the version information file in the mirror image catalogue, be updated to target version this shop by master this shop after, this method also comprises:
The original version catalogue is updated to the mirror image catalogue.
Preferably, the original version catalogue successfully is updated to the mirror image catalogue after, this method also comprises:
Start the file of redaction, starts successfully after, clear up the file in the mirror image catalogue.
Preferably, said selection download network comprises:
Select download network at random; Perhaps,
Select download network according to preset priority orders; Perhaps,
According to the specific download network of pre-configured selection.
Preferably, said downloaded software update package comprises:
Through air interface download software upgrading bag, real time record transmitting data stream and document misregistration position in the downloading process.
That is to say that in the embodiment of the invention, 96 bytes of software upgrading bag comprise 3 MD5 values, MD5 value of per 32 byte representations, a MD5 value are used for whether the downloaded software update package is correctly carried out verification, and be correct to guarantee the downloaded software update package.The 2nd MD5 value is used for the correctness of all kernel file of original version is carried out verification, and is correct with all kernel file that guarantee original version.The 3rd MD5 value is used for the file after the upgrading is carried out verification, guarantees software upgrade success.
The new automatic road measuring terminal intelligent software upgrading scheme that the embodiment of the invention provides has overcome the not high problem of software upgrade success rate in the traditional scheme.Simultaneously, because escalation process has adopted kernel to assemble method of calibration, can not only guarantee that software upgrading coats the correctness of lid, can guarantee the correctness of whole software as a full release simultaneously.
Referring to Fig. 2, the new automatic road measuring terminal intelligent software upgrading scheme that the embodiment of the invention provides, concrete upgrade step comprises:
S201, in the multi-system agreement that has connected (WCDMA, TD-SCDMA, CDMA2000, GSM, WIFI), select to connect, can select at random, also can select according to preset priority, also can be according to the specific connection of selection of configuration.
For example, select the priority orders of connection following:
WIFI>WCDMA>TD-SCDMA>CDMA2000>GSM。
The priority that is WIFI is the highest, and the priority of GSM is minimum.That is to say that the terminal preferentially selects WIFI to connect, and does not exist if WIFI connects, then preferentially select WCDMA to connect, also do not exist, then select the connection of next priority again, by that analogy if WCDMA connects.
Perhaps, the pre-configured connection that can only select a certain agreement, for example, pre-configured selection TD-SCDMA connects, and then only selects and should connect, and select not according to priority.
S202, through air interface download software upgrading bag, real time record transmitting data stream and document misregistration position in the downloading process, thus realize supporting the function of breakpoint transmission download.
After S203, download finish; 32 bytes (i.e. first 32 bytes of this software upgrading bag) of reading software update package; As the unique MD5 value of software upgrading bag (this MD5 value is called a MD5 value); While verification software update package, the MD5 value of software for calculation update package (concrete computing method can adopt prior art).
S204, the following formula () of basis, whether the MD5 of the software upgrading bag that judgement calculates is identical with the MD5 value in the software upgrading bag, if think that then the download of software upgrading bag is correct; Otherwise, return step S201, again the downloaded software update package.
MD5 (update.zip)==GetUpdateMD5 (update.zip) formula ()
Wherein, the MD5 of the software upgrading bag that MD5 (update.zip) expression calculates, the MD5 value in GetUpdateMD5 (update.zip) the expression software upgrading bag.
S205, according to the tabulation of kernel file built-in in the software upgrading bag, kernel file Message Digest 5 (Message Digest Algorithm; MD) value and updating file tabulation; All kernel file of original version are copied among the preset mirror image catalogue adt_mirror; Use compression (zip) algorithm to converge in the adt_kernel.zip file kernel file among the mirror image catalogue adt_mirror; Promptly use the zip algorithm that the kernel file in the software upgrading bag is compressed, obtain the adt_kernel.zip file.Then, calculate the MD5 value of this adt_kernel.zip file.
The MD5 value of S206, verification adt_kernel.zip file promptly utilizes formula (two) to judge whether the MD5 value (this MD5 value is second 32 value that byte is represented of software upgrading bag, can claim that this MD5 value is the 2nd MD5 value) of MD5 value and the kernel file in the software upgrading bag of adt_kernel.zip file is identical; If; Then continue follow-up step, otherwise, reported event basic version mistake; Return step S201, again the downloaded software update package.
MD5 (ZIP (GetKernelList (update.zip), baseVersion))==GetBaseVersionMD5 (update.zip) formula (two)
Wherein, MD5 (the MD5 value of ZIP (GetKernelList (update.zip), baseVersion)) expression adt_kernel.zip file, the 2nd MD5 value in GetBaseVersionMD5 (update.zip) the expression software upgrading bag.
S207, executive software upgrade operation, execute file overlapping operation in the mirror image catalogue, and the kernel file that is about in the software upgrading bag covers among the mirror image catalogue adt_mirror, upgrades all kernel file of the original version among the mirror image catalogue adt_mirror.
Whether S208, judgement cover successful, if covering is failed or cut off the power supply, then return step S203, otherwise, cover successfully then execution in step S209.
Owing to adopted the mirror image catalogue, can not produce any influence to original version.
S209, the mirror image catalogue after upgrading is carried out kernel file assemble, promptly use the zip algorithm that the kernel file among the mirror image catalogue adt_mirror is compressed, and calculate the MD5 value of the file after the compression.
S210, utilize following formula (three), judge whether the 3rd MD5 value (being the 3rd 32 values that byte is represented in the software upgrading bag, in order to expression target version this shop) in this MD5 value and the software upgrading bag is identical,, then return step S203 if inequality.If identical, then, be updated to target version this shop, i.e. the version number of software upgrading bag by master this shop with the version information file among the mirror image catalogue adt_mirror.
MD5 (ZIP (GetKernelList (update.zip), destVersion))==GetDestVersionMD5 (update.zip) formula (three)
Wherein, MD5 (ZIP (GetKernelList (update.zip); The MD5 value of the file that obtains after destVersion)) expression use zip algorithm compresses the kernel file among the mirror image catalogue adt_mirror, the 3rd MD5 value in GetDestVersionMD5 (update.zip) the expression software upgrading bag.
S211, the operation of execution mirror image switch, setting is flexible coupling, and the original version catalogue is updated to the mirror image catalogue.
S212, judge whether success of mirror image switch operation, most milliseconds are carried out in this action, possibly fail hardly, if step S207 is then returned in failure; If success, execution in step S213.
After S213, new software version started successfully, the garbage files that stays in the cleaning upgrade step was promptly deleted the file among the mirror image catalogue adt_mirror, for next software upgrading is got ready.
In sum, the technical scheme that the embodiment of the invention provides needs the downloaded software update package to download according to any existing wireless connections, simultaneously the Intelligence Selection download network.The software upgrading bag adopts the breakpoint transmission mode, log file skew in transmitting data stream.The built-in update package MD5 of automatic road measuring software upgrading bag value, the mode that can adopt the oneself to detect is verified the update package correctness.According to kernel file tabulation in the software upgrading bag, carry out kernel and assemble action, and detect the former MD5 value of kernel file, guarantee the correctness of basic version.Mirror image catalogue after the upgrading is carried out kernel assemble action, file MD5 value and version number's consistance after the detection upgrading are guaranteed software upgrade success.The mirror image switch mode that use is flexible coupling, the operation of Millisecond possibly failed hardly, even failure also can be carried out through the rollback flow process again, can not have influence on original version software.
Referring to Fig. 3, a kind of data download process device that the embodiment of the invention provides comprises:
Select download unit 11, be used to select download network downloaded software update package, therefrom obtain and be used for the verification software update package and whether download a correct MD5 value;
Whether first verification unit 12 is used for the MD5 value of software for calculation update package, consistent with a said MD5 value through the MD5 value of the software upgrading bag that relatively calculates, confirms whether the software upgrading bag is downloaded correctly.
Preferably, this device also comprises:
Second verification unit 13; When the MD5 value of the software upgrading bag that is used for confirming to calculate when first verification unit 12 is consistent with a said MD5 value, from the software upgrading bag, obtains and be used for the 2nd MD5 value that the correctness of all kernel file of original version is carried out verification; According to said the 2nd MD5 value, judge whether all kernel file of original version are correct.
Preferably, said second verification unit 13 is according to said the 2nd MD5 value, judges when whether all kernel file of original version are correct, specifically is used for:
All kernel file of original version are copied in the preset mirror image catalogue;
Kernel file in the mirror image catalogue is compressed, the file after obtaining compressing, and calculate the MD5 value of the file after this compression;
Whether the MD5 value of judging the file after compressing is identical with said the 2nd MD5 value, if, confirm that then all kernel file of original version are correct, otherwise, report original version file error information.
Preferably, this device also comprises:
The 3rd verification unit 14 when all kernel file that are used for confirming original versions when said second verification unit 13 are correct, obtained from the software upgrading bag and is used for the 3rd MD5 value that the file after the upgrading is carried out verification; According to said the 3rd MD5 value, the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification.
Preferably, said the 3rd verification unit 14, specifically is used for when the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification according to said the 3rd MD5 value:
Kernel file in the software upgrading bag is covered in the mirror image catalogue, upgrade all kernel file of the original version in the mirror image catalogue;
Kernel file in the mirror image catalogue after upgrading is compressed, and calculates the MD5 value of the file after the compression;
Judge whether the MD5 value of calculating the file after compressing is identical with said the 3rd MD5 value, if, be updated to target version this shop by master this shop then with the version information file in the mirror image catalogue; Otherwise, confirm the upgrading failure.
Preferably, this device also comprises:
Mirror image switch unit 15 is used in the version information file of said the 3rd verification unit with the mirror image catalogue, be updated to target version this shop by master this shop after, the original version catalogue is updated to the mirror image catalogue.
Preferably, this device also comprises:
Cleaning unit 16 is used for behind the file that successfully starts redaction, the file in the cleaning mirror image catalogue.
Preferably, said selection download unit 11 when selecting download network, specifically is used for:
Select download network at random; Perhaps,
Select download network according to preset priority orders; Perhaps,
According to the specific download network of pre-configured selection.
Preferably, said selection download unit 11 during the downloaded software update package, specifically is used for:
Through air interface download software upgrading bag, real time record transmitting data stream and document misregistration position in the downloading process.
In a word, the technical scheme that the embodiment of the invention provides, the software upgrading scheme than existing automatic road measuring terminal has following advantage:
Built-in update package MD5 value, updating file tabulation, kernel file tabulation in the software upgrading bag, source kernel version MD5 value and target kernel MD5 value.
Version number is corresponding with kernel file convergence back MD5 value, and software upgrade success is guaranteed in the change of non-simple version number.
Escalation process is the correctness of verification software update package not only, the correctness of former basic version of simultaneous verification and upgrading target version, owing to can detect the consistance of target version this shop and target kernel version again after the upgrading, so can guarantee to upgrade successfully.
Adopted the mirror image switch mode that is flexible coupling during upgrading, the upgrading failure problem of having avoided the failure of outage or overlay file to cause has improved the success ratio of upgrading greatly.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device; Make on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computing machine or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (18)

1. a data download processing method is characterized in that, this method comprises:
The downloaded software update package therefrom obtains and is used for the verification software update package and whether downloads the first correct Message Digest Algorithm 5 MD5 value;
The MD5 value of software for calculation update package, whether consistent through the MD5 value of the software upgrading bag that relatively calculates with a said MD5 value, confirm whether the software upgrading bag is downloaded correctly.
2. method according to claim 1 is characterized in that, when the MD5 value of the software upgrading bag that calculates was consistent with a said MD5 value, this method also comprised:
From the software upgrading bag, obtain and be used for the 2nd MD5 value that the correctness of all kernel file of original version is carried out verification;
According to said the 2nd MD5 value, judge whether all kernel file of original version are correct.
3. method according to claim 2 is characterized in that, and is said according to said the 2nd MD5 value, judges whether all kernel file of original version are correct, comprising:
All kernel file of original version are copied in the preset mirror image catalogue;
Kernel file in the mirror image catalogue is compressed, the file after obtaining compressing, and calculate the MD5 value of the file after this compression;
Whether the MD5 value of judging the file after compressing is identical with said the 2nd MD5 value, if, confirm that then all kernel file of original version are correct, otherwise, report original version file error information.
4. method according to claim 3 is characterized in that, when all kernel file of confirming original version were correct, this method also comprised:
From the software upgrading bag, obtain file the 3rd MD5 value of carrying out verification that is used for after the upgrading;
According to said the 3rd MD5 value, the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification.
5. method according to claim 4 is characterized in that, and is said according to said the 3rd MD5 value, and the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification, comprising:
Kernel file in the software upgrading bag is covered in the mirror image catalogue, upgrade all kernel file of the original version in the mirror image catalogue;
Kernel file in the mirror image catalogue after upgrading is compressed, and calculates the MD5 value of the file after the compression;
Judge whether the MD5 value of calculating the file after compressing is identical with said the 3rd MD5 value, if, be updated to target version this shop by master this shop then with the version information file in the mirror image catalogue; Otherwise, confirm the upgrading failure.
6. method according to claim 5 is characterized in that, with the version information file in the mirror image catalogue, be updated to target version this shop by master this shop after, this method also comprises:
The original version catalogue is updated to the mirror image catalogue.
7. method according to claim 6 is characterized in that, the original version catalogue successfully is updated to the mirror image catalogue after, this method also comprises:
Start the file of redaction, starts successfully after, clear up the file in the mirror image catalogue.
8. method according to claim 1 is characterized in that, also comprises the step of selecting download network before the said downloaded software update package, and this step specifically comprises:
Select download network at random; Perhaps,
Select download network according to preset priority orders; Perhaps,
According to the specific download network of pre-configured selection.
9. method according to claim 1 is characterized in that, said downloaded software update package comprises:
Through air interface download software upgrading bag, real time record transmitting data stream and document misregistration position in the downloading process.
10. data download process device is characterized in that this device comprises:
Select download unit, be used for the downloaded software update package, therefrom obtain and be used for the verification software update package and whether download the first correct Message Digest Algorithm 5 MD5 value;
Whether first verification unit is used for the MD5 value of software for calculation update package, consistent with a said MD5 value through the MD5 value of the software upgrading bag that relatively calculates, confirms whether the software upgrading bag is downloaded correctly.
11. device according to claim 10 is characterized in that, this device also comprises:
Second verification unit when MD5 value of the software upgrading bag that is used for confirming to calculate when first verification unit is consistent with a said MD5 value, is obtained from the software upgrading bag and is used for the 2nd MD5 value that the correctness of all kernel file of original version is carried out verification; According to said the 2nd MD5 value, judge whether all kernel file of original version are correct.
12. device according to claim 11 is characterized in that, said second verification unit is according to said the 2nd MD5 value, judges when whether all kernel file of original version are correct, specifically is used for:
All kernel file of original version are copied in the preset mirror image catalogue;
Kernel file in the mirror image catalogue is compressed, the file after obtaining compressing, and calculate the MD5 value of the file after this compression;
Whether the MD5 value of judging the file after compressing is identical with said the 2nd MD5 value, if, confirm that then all kernel file of original version are correct, otherwise, report original version file error information.
13. device according to claim 12 is characterized in that, this device also comprises:
The 3rd verification unit is used for when said second verification unit confirms that all kernel file of original version are correct, from the software upgrading bag, obtains to be used for the 3rd MD5 value that the file after the upgrading is carried out verification; According to said the 3rd MD5 value, the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification.
14. device according to claim 13 is characterized in that, said the 3rd verification unit, specifically is used for when the file that obtains after utilizing the software upgrading bag that the original version file is upgraded is carried out verification according to said the 3rd MD5 value:
Kernel file in the software upgrading bag is covered in the mirror image catalogue, upgrade all kernel file of the original version in the mirror image catalogue;
Kernel file in the mirror image catalogue after upgrading is compressed, and calculates the MD5 value of the file after the compression;
Judge whether the MD5 value of calculating the file after compressing is identical with said the 3rd MD5 value, if, be updated to target version this shop by master this shop then with the version information file in the mirror image catalogue; Otherwise, confirm the upgrading failure.
15. device according to claim 14 is characterized in that, this device also comprises:
The mirror image switch unit is used in the version information file of said the 3rd verification unit with the mirror image catalogue, be updated to target version this shop by master this shop after, the original version catalogue is updated to the mirror image catalogue.
16. device according to claim 15 is characterized in that, this device also comprises:
The cleaning unit is used for behind the file that successfully starts redaction, the file in the cleaning mirror image catalogue.
17. device according to claim 10 is characterized in that, said selection download unit also is used to select download network, specifically comprises:
Select download network at random; Perhaps,
Select download network according to preset priority orders; Perhaps,
According to the specific download network of pre-configured selection.
18. device according to claim 10 is characterized in that, said selection download unit during the downloaded software update package, specifically is used for:
Through air interface download software upgrading bag, real time record transmitting data stream and document misregistration position in the downloading process.
CN201210015102.1A 2012-01-17 2012-01-17 Data downloading processing method and data downloading processing device Active CN102609326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210015102.1A CN102609326B (en) 2012-01-17 2012-01-17 Data downloading processing method and data downloading processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210015102.1A CN102609326B (en) 2012-01-17 2012-01-17 Data downloading processing method and data downloading processing device

Publications (2)

Publication Number Publication Date
CN102609326A true CN102609326A (en) 2012-07-25
CN102609326B CN102609326B (en) 2014-11-12

Family

ID=46526718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210015102.1A Active CN102609326B (en) 2012-01-17 2012-01-17 Data downloading processing method and data downloading processing device

Country Status (1)

Country Link
CN (1) CN102609326B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399804A (en) * 2013-07-31 2013-11-20 珠海金山网络游戏科技有限公司 Method and system for repairing remote package files
CN103984585A (en) * 2014-06-06 2014-08-13 浪潮电子信息产业股份有限公司 Method for upgrading Linux kernel in running process of kernel module capable of being plugged in thermal mode
CN104050054A (en) * 2014-06-27 2014-09-17 广州金山网络科技有限公司 Processing method for installation package installation failure and cause determining method and device
CN104702631A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Method and system for upgrading client software
CN105117472A (en) * 2015-08-31 2015-12-02 上海斐讯数据通信技术有限公司 Generation system and introduction system for incremental file
WO2016015244A1 (en) * 2014-07-30 2016-02-04 华为技术有限公司 Multi-communication-mode transmission method and apparatus
CN105446769A (en) * 2015-11-03 2016-03-30 广东欧珀移动通信有限公司 Mirror image file update processing method and apparatus and terminal device
CN105468477A (en) * 2015-11-20 2016-04-06 青岛海信移动通信技术股份有限公司 Android system protection method and apparatus
CN106293831A (en) * 2016-08-09 2017-01-04 南京南瑞继保电气有限公司 A kind of method and system of embedded software I&M
CN106411902A (en) * 2016-09-30 2017-02-15 广东网金控股股份有限公司 Data secure transmission method and system
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test
CN106921667A (en) * 2017-03-06 2017-07-04 济南浪潮高新科技投资发展有限公司 A kind of provision price control method, system and supervision center and grain purchases terminal
CN107577935A (en) * 2017-08-02 2018-01-12 清华大学 Cipher protection system and data-updating method
CN109218345A (en) * 2017-06-29 2019-01-15 武汉斗鱼网络科技有限公司 Obtain method, storage medium, electronic equipment and the system of target resource
CN109542474A (en) * 2018-10-15 2019-03-29 广东宝莱特医用科技股份有限公司 A kind of batch upgrading method of patient monitor firmware
CN109922049A (en) * 2019-02-02 2019-06-21 立旃(上海)科技有限公司 Verifying device and method based on block chain
CN110262816A (en) * 2019-05-15 2019-09-20 深圳市优博讯科技股份有限公司 It is a kind of to power off the upgrade method and its terminal system resumed
CN110474673A (en) * 2019-08-22 2019-11-19 上海航天计算机技术研究所 A kind of in-orbit hot update method of dynamic for supporting breakpoint transmission
CN110716735A (en) * 2019-10-11 2020-01-21 东莞市小精灵教育软件有限公司 System upgrading method and device, intelligent terminal and computer readable storage medium
CN110809189A (en) * 2019-12-03 2020-02-18 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium
CN112506543A (en) * 2020-12-07 2021-03-16 天津津航计算技术研究所 Multi-device software upgrading management method and system
CN112948243A (en) * 2021-02-25 2021-06-11 维沃移动通信有限公司 File auditing method, file auditing device, electronic equipment and readable storage medium
CN114257456A (en) * 2021-12-29 2022-03-29 武汉思普崚技术有限公司 Method and system for controlling breakpoint continuous file transmission based on FTP (File transfer protocol)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090452A (en) * 2007-07-18 2007-12-19 中国网络通信集团公司 Set-top box software updating method and system
JP2008047050A (en) * 2006-08-21 2008-02-28 Toshihiko Mizukami Software download method, medium preparation method and program for application, and software distribution system
CN101359293A (en) * 2008-09-04 2009-02-04 腾讯科技(深圳)有限公司 Method and apparatus for making part update pack

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008047050A (en) * 2006-08-21 2008-02-28 Toshihiko Mizukami Software download method, medium preparation method and program for application, and software distribution system
CN101090452A (en) * 2007-07-18 2007-12-19 中国网络通信集团公司 Set-top box software updating method and system
CN101359293A (en) * 2008-09-04 2009-02-04 腾讯科技(深圳)有限公司 Method and apparatus for making part update pack

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399804A (en) * 2013-07-31 2013-11-20 珠海金山网络游戏科技有限公司 Method and system for repairing remote package files
CN104702631A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Method and system for upgrading client software
CN104702631B (en) * 2013-12-04 2018-04-10 航天信息股份有限公司 The upgrade method and system of a kind of client software
CN103984585A (en) * 2014-06-06 2014-08-13 浪潮电子信息产业股份有限公司 Method for upgrading Linux kernel in running process of kernel module capable of being plugged in thermal mode
CN104050054A (en) * 2014-06-27 2014-09-17 广州金山网络科技有限公司 Processing method for installation package installation failure and cause determining method and device
CN104050054B (en) * 2014-06-27 2017-05-10 广州金山网络科技有限公司 Processing method for installation package installation failure and cause determining method and device
WO2016015244A1 (en) * 2014-07-30 2016-02-04 华为技术有限公司 Multi-communication-mode transmission method and apparatus
US10165486B2 (en) 2014-07-30 2018-12-25 Huawei Technologies Co., Ltd. Multiple-communications-standard transmission method and apparatus
CN105117472A (en) * 2015-08-31 2015-12-02 上海斐讯数据通信技术有限公司 Generation system and introduction system for incremental file
CN105446769B (en) * 2015-11-03 2018-03-30 广东欧珀移动通信有限公司 Image file upgrade processing method, device and terminal device
CN105446769A (en) * 2015-11-03 2016-03-30 广东欧珀移动通信有限公司 Mirror image file update processing method and apparatus and terminal device
CN105468477A (en) * 2015-11-20 2016-04-06 青岛海信移动通信技术股份有限公司 Android system protection method and apparatus
CN106293831A (en) * 2016-08-09 2017-01-04 南京南瑞继保电气有限公司 A kind of method and system of embedded software I&M
CN106411902A (en) * 2016-09-30 2017-02-15 广东网金控股股份有限公司 Data secure transmission method and system
CN106411902B (en) * 2016-09-30 2020-02-07 广东网金控股股份有限公司 Data secure transmission method and system
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test
CN106502883B (en) * 2016-10-09 2019-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and server-side when automatic test
CN106921667A (en) * 2017-03-06 2017-07-04 济南浪潮高新科技投资发展有限公司 A kind of provision price control method, system and supervision center and grain purchases terminal
CN109218345A (en) * 2017-06-29 2019-01-15 武汉斗鱼网络科技有限公司 Obtain method, storage medium, electronic equipment and the system of target resource
CN107577935A (en) * 2017-08-02 2018-01-12 清华大学 Cipher protection system and data-updating method
CN107577935B (en) * 2017-08-02 2020-07-28 清华大学 Password protection system and data updating method
CN109542474A (en) * 2018-10-15 2019-03-29 广东宝莱特医用科技股份有限公司 A kind of batch upgrading method of patient monitor firmware
CN109922049A (en) * 2019-02-02 2019-06-21 立旃(上海)科技有限公司 Verifying device and method based on block chain
CN109922049B (en) * 2019-02-02 2021-09-28 立旃(上海)科技有限公司 Verification device and method based on block chain
CN110262816A (en) * 2019-05-15 2019-09-20 深圳市优博讯科技股份有限公司 It is a kind of to power off the upgrade method and its terminal system resumed
CN110474673A (en) * 2019-08-22 2019-11-19 上海航天计算机技术研究所 A kind of in-orbit hot update method of dynamic for supporting breakpoint transmission
CN110474673B (en) * 2019-08-22 2022-02-25 上海航天计算机技术研究所 Dynamic on-orbit thermal updating method supporting breakpoint continuous transmission
CN110716735A (en) * 2019-10-11 2020-01-21 东莞市小精灵教育软件有限公司 System upgrading method and device, intelligent terminal and computer readable storage medium
CN110809189A (en) * 2019-12-03 2020-02-18 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium
CN112506543A (en) * 2020-12-07 2021-03-16 天津津航计算技术研究所 Multi-device software upgrading management method and system
CN112506543B (en) * 2020-12-07 2023-07-14 天津津航计算技术研究所 Multi-device software upgrading management method and system
CN112948243A (en) * 2021-02-25 2021-06-11 维沃移动通信有限公司 File auditing method, file auditing device, electronic equipment and readable storage medium
CN114257456A (en) * 2021-12-29 2022-03-29 武汉思普崚技术有限公司 Method and system for controlling breakpoint continuous file transmission based on FTP (File transfer protocol)
CN114257456B (en) * 2021-12-29 2024-04-12 武汉思普崚技术有限公司 Control method and system for breakpoint continuous file transfer based on FTP protocol

Also Published As

Publication number Publication date
CN102609326B (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN102609326B (en) Data downloading processing method and data downloading processing device
WO2017067448A1 (en) Firmware-over-the-air upgrade method, system and computer storage medium
TWI540424B (en) Method, device and system of repairing software run-time error
US9471300B2 (en) Wireless firmware upgrades to an alarm security panel
CN106325929B (en) Firmware upgrading method, firmware upgrading device, refrigerator and server
CN113946358B (en) Automatic driving vehicle software remote upgrading method based on vehicle management system
CN104199706A (en) Firmware upgrade method and device for eMMC
CN103530150A (en) Remote updating method for Linux operating system
CN112152846B (en) Metering instrument remote upgrading method based on Internet of things
TWI533216B (en) Operating system updating method
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
CN105260209A (en) Hot-update solution of program
CN101442688A (en) Method and system for updating intelligent network platform, controller and intelligent network platform equipment
CN104918114A (en) Method and device for upgrading operation system
CN113342387A (en) Automatic software upgrading method, updating client and updating server
CN111651352B (en) Warehouse code merging method and device
CN110502264A (en) Method for upgrading system, terminal and readable storage medium storing program for executing
CN110597544A (en) Software system upgrading method and device
CN114840242A (en) System upgrading method and device of electronic equipment and readable storage medium
CN109002305B (en) Method and system for updating equipment program
CN106648762A (en) Development environment building method and device
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
WO2022156277A1 (en) Application program installation method and apparatus, and computing device and readable storage medium
CN110851168A (en) Data processing method and device and computer readable storage medium
CN110795105A (en) Automatic compiling and deploying method and system for power distribution automation master station system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant