CN104281504A - MD5-code-based method and system applied to backup and reduction of application program data - Google Patents

MD5-code-based method and system applied to backup and reduction of application program data Download PDF

Info

Publication number
CN104281504A
CN104281504A CN201410607049.3A CN201410607049A CN104281504A CN 104281504 A CN104281504 A CN 104281504A CN 201410607049 A CN201410607049 A CN 201410607049A CN 104281504 A CN104281504 A CN 104281504A
Authority
CN
China
Prior art keywords
application program
data
file
application
value
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
CN201410607049.3A
Other languages
Chinese (zh)
Other versions
CN104281504B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410607049.3A priority Critical patent/CN104281504B/en
Publication of CN104281504A publication Critical patent/CN104281504A/en
Application granted granted Critical
Publication of CN104281504B publication Critical patent/CN104281504B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an MD5-code-based method applied to the backup and the reduction of application program data. The MD5-code-based method applied to the backup and the reduction of application program data comprises the following steps: S1, backing-up and storing the application program data, namely calculating the MD5 values of all files associated with an application program by virtue of an MD5 information abstract algorithm, then backing-up and the storing the MD5 values of the files associated with the application program, the version number of the application program, names of all the relevant files and directory paths of the files on a cloud server; and S2, downloading and restoring the application program data, namely updating the application program, downloading and restoring the application program data when a user opens and uses account information to log in the application program at another intelligent mobile terminal. The method is capable of accurately calculating the difference between data files; when the backup and reduction of the data are carried out, the data traffic for uploading and downloading the data files can be saved; the operation speed of the backup and restoration can be increased; when the version number of the application program is inconsistent, a reduction path from the application program to a previous version can be provided.

Description

A kind of method and system of the application data backup and reduction based on MD5 code
Technical field
The present invention relates to the technical field of intelligent mobile terminal program application, particularly a kind of method and system of the application data backup and reduction based on MD5 code.
Background technology
Along with the innovation day by day of 21st century electronics technology product, intelligent mobile terminal is intelligent all the more, present intelligent mobile terminal can carry out the backup of application program, upgrade and recover, but the backup of application data, upgrading and recovering is not also much see, when user uses certain application time long in certain intelligent mobile terminal equipment, the setting of some data wherein and some hobby has often defined a kind of custom, after changing and employing a new intelligent mobile terminal, if when carrying out the setting of terminal and the more newly downloaded of data or other operations again, user can feel very uncomfortable, sometimes also there will be and can not find some loss of data important information etc. situation like this, experience effect is very bad.Just provide the method for the backup-and-restore of user herein, and have employed the method for a kind of Application Backup based on MD5 code reduction, data file difference can be calculated exactly, save the flow of upload and download data file, and adopt MD5 code check can improve the confidence level of verification, improve the security of data backup and resume.
Summary of the invention
First object of the present invention is that the shortcoming overcoming prior art is with not enough, provides a kind of method of the application data backup and reduction based on MD5 code.Utilize this to invent, application data can upload onto the server and back up by user, and what upload is variance data file, save the data traffic of upload and download, this backup and recovery are as distinguishing rule according to MD5 code simultaneously, improve the validity that application data recovers, the application data of user can be carried out synchronously easily in another intelligent mobile terminal equipment.
Another object of the present invention is that the shortcoming overcoming prior art is with not enough, provides a kind of system of the application data backup and reduction based on MD5 code.
First object of the present invention is achieved through the following technical solutions:
Based on a method for the application data backup and reduction of MD5 code, be applied to intelligent mobile terminal, comprise the following steps:
The back-up storage of S1, application data, the associated documents of application program are calculated the MD5 value of each file by this step by MD5 message digest algorithm, then together with in the version number of application program, the title of relevant All Files and the corresponding directory path back-up storage existed beyond the clouds server;
The download of S2, application data recovers, and this step is when user is when another one intelligent mobile terminal is opened and the information registration that accesses to your account enters this application program, and the renewal and the application data that carry out application program download recovery.
Further, also comprise the following steps:
S3, the backup updating of application data, this step uses in this application program process for user, the situation that the file of application program can change, user can select to carry out application data backup updating at any time, the associated documents of application program are calculated the MD5 value of each file by MD5 message digest algorithm, the MD5 value of the MD5 value of each file after backup updating and each file of last back-up storage is contrasted, find out the file that MD5 value is different, by the title of the set of files different for above all MD5 values, the MD5 value that file is corresponding and the corresponding directory path existed are recorded, these all data and the version number of application program constitute mapping relations, and save the data on cloud server.
Further, described step S1 is specially:
S101, the acquisition installation directory of application program and the All Files information of data directory, calculate the MD5 value of each file respectively by MD5 message digest algorithm by the All Files in above catalogue;
S102, MD5 value corresponding to the title of the set of the installation directory of described application program and the All Files of data directory, each file and the corresponding directory path existed are stored packet data recording as first preserve, and the version number that first stores packet and application program is constituted mapping relations;
S103, by described first store packet be saved on cloud server.
Further, described step S2 is specially:
S201, when user select to carry out the renewal of application program and application data download recover time, whether contrast application version number identical, if version number is different, first by application program update to the application version number backed up, if version number is identical, then do not upgrade application program;
S202, acquisition are about to the installation directory of the application program be updated and the All Files information of data directory, the All Files in above catalogue are calculated the MD5 value of each file respectively by MD5 message digest algorithm;
S203, the MD5 value of the MD5 value of each file in described step S202 and each file of application program of back-up storage to be contrasted, find out the differential file that MD5 value is different;
S204, from cloud server download discrepancy data, differential file is unziped to corresponding path by the directory path according to differential file, completes the renewal of application data.
Further, the first time back-up storage that in described step S1, application programs data are carried out can be application program just installed or application program use operation a period of time after.
Further, described intelligent mobile terminal comprises mobile phone, notebook computer, panel computer and palm equipment for surfing the net.
Another object of the present invention is achieved through the following technical solutions:
Based on a system for the application data backup and reduction of MD5 code, be applied to intelligent mobile terminal, comprise following devices:
The backup storage device of application data, the associated documents of application program are calculated the MD5 value of each file by this device by MD5 message digest algorithm, then together with in the version number of application program, the title of relevant All Files and the corresponding directory path back-up storage existed beyond the clouds server;
The download recovery device of application data, this device is when user is when another one intelligent mobile terminal is opened and the information registration that accesses to your account enters this application program, and the renewal and the application data that carry out application program download recovery.
Further, also following devices is comprised:
The backup updating device of application data, this device uses in this application program process for user, the situation that the file of application program can change, user can use this device to select to carry out application data backup updating at any time, the associated documents of application program are calculated the MD5 value of each file by MD5 message digest algorithm, the MD5 value of the MD5 value of each file after backup updating and each file of last back-up storage is contrasted, find out the file that MD5 value is different, by the title of the set of files different for above all MD5 values, the MD5 value that file is corresponding and the corresponding directory path existed are recorded, these all data and the version number of application program constitute mapping relations, and save the data on cloud server.
Further, the backup storage device of described application data comprises:
First fileinfo MD5 value computing module, the All Files in above catalogue, for the All Files information of the installation directory and data directory that obtain application program, is calculated the MD5 value of each file by this module respectively by MD5 message digest algorithm;
First data acquisition and version mapping block, this module is used for that MD5 value corresponding to the title of the set of the installation directory of described application program and the All Files of data directory, each file and the corresponding directory path existed are stored packet data recording as first and preserves, and the version number of the first storage packet and application program is constituted mapping relations;
First data upload preserves module, and this module uploads to cloud server for first in the first data acquisition and version mapping block is stored packet.
Further, the download recovery device of described application data comprises:
Application version update module, this module is when user selects renewal and the application data download recovery carrying out application program, number whether identical for contrasting application version, if version number is different, first by the application version number of application program update to backup, if version number is identical, then do not upgrade application program;
Second fileinfo MD5 value computing module, All Files in above catalogue for the All Files information of the installation directory and data directory that obtain the application program being about to be updated, and is calculated the MD5 value of each file by this module respectively by MD5 message digest algorithm;
Differential file searches comparing module, and this module is used for the MD5 value of the MD5 value of each file and each file of application program of back-up storage in described second fileinfo MD5 value computing module to contrast, and finds out the differential file that MD5 value is different;
Application data download module, this module is used for downloading discrepancy data from cloud server, and differential file is unziped to corresponding path by the directory path according to differential file, completes the renewal of application data.
Further, the first time back-up storage that in the backup storage device of described application data, application programs data are carried out can be after application program has just installed or application program uses operation a period of time.
The present invention has following advantage and effect relative to prior art:
1) method of the application data backup and reduction based on MD5 code disclosed in this invention is adopted, difference between data file can be calculated exactly, when carrying out the backup and restore of data, the flow of upload and download data file can be saved, operating speed when improving backup and recover.
2) when the version number of intelligent mobile terminal is inconsistent, the method for the application data backup and reduction based on MD5 code disclosed in this invention can provide a kind of application program to the reduction approach of previous version.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of application data backup and reduction based on MD5 code in the present embodiment one;
Fig. 2 is the block diagram of system of a kind of application data backup and reduction based on MD5 code in the present embodiment two.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Embodiment one
Message Digest Algorithm MD5 (Chinese Message Digest Algorithm 5 by name) is the widely used a kind of hash function of computer safety field, in order to provide the integrity protection of message.The document number of this algorithm is RFC 1321 (R.Rivest, MIT Laboratory for Computer Science and RSA Data Security Inc.April 1992)
MD5 and Message-Digest Algorithm 5 (Message-Digest Algorithm 5), for guaranteeing that information transmission is unanimously complete.Be one of widely used hash algorithm of computing machine (translating again digest algorithm, hash algorithm), main flow programming language generally existing MD5 realizes.
Be another fixed-length value by data (as Chinese character) computing, be the basic principle of hash algorithm, there are MD2, MD3 and MD4 in the predecessor of MD5.
The effect of MD5 allows Large Copacity information be become a kind of secret form (being exactly the sexadecimal number word string byte serial of a random length being transformed into a fixed length) by " compression " before with digital signature software signature private key.
Typical apply produces informative abstract (Message-Digest) to a segment information (Message), to prevent from being tampered.Such as, have under Unix a lot of software download in have a filename identical, file extent is called the file of .md5, usually only has a line text in this document, general configuration as:
MD5(tanajiya.tar.gz)=0ca175b9c0f726a831d895e269332461
The digital signature of Here it is tanajiya.tar.gz file.Whole file is used as a Long Binary information by MD5, by its irreversible character string mapping algorithm, creates the MD5 informative abstract that this is unique.In order to have more intuitive understanding to the application of MD5, with an analogy and an example, its course of work once is briefly described below:
People know, on the earth, anyone has oneself unique fingerprint, and this usually becomes juridical authorities and differentiates the most trustworthy method of criminal's identity; Similar with it, MD5 just can produce one same unique " digital finger-print " for any file (regardless of its size, form, quantity), if anyone has done any change to file, namely corresponding " digital finger-print " of its MD5 value all can change.
Usually in certain software information of some software download site, see its MD5 value; its effect is just that we can after this software of download; do a MD5 verification to downloading the special software (as Windows MD5Check etc.) of file of returning, the file provided with the file and this website of guaranteeing acquisition is for identical file.MD5 algorithm is utilized to be widely applied the aspects such as software download website, forum data storehouse, system file security to the scheme of carrying out file verification.
MD5 message digest algorithm: MD5 message digest algorithm is using the information of random length as input value, and " finger print information " or " message digest " value being converted into 128 bit lengths is to represent this input value, and with the value after converting as a result.MD5 algorithm mainly designs for digital signature applications program; In this digital signature applications program, larger file by encryption (ciphering process here by under a cryptographic system [as RSA] public-key cryptography under private cipher key be set complete) before compress in a secure manner.
Refer to Fig. 1, Fig. 1 is the method flow diagram based on the application data backup and reduction of MD5 code in the present embodiment one.The method of the application data backup and reduction based on MD5 code shown in Fig. 1, application data can be uploaded onto the server by user back up, and what upload is variance data file, save the data traffic of upload and download, this backup and recovery are as distinguishing rule according to MD5 code simultaneously, improve the validity that application data recovers, the application data of user can be carried out synchronously easily in another intelligent mobile terminal equipment.The method is applied to the intelligent mobile terminal comprising mobile phone, panel computer, notebook and palm equipment for surfing the net etc., and the method specifically comprises the following steps:
The back-up storage of ■ step S1, application data, the associated documents of application program are calculated the MD5 value of each file by this step by MD5 message digest algorithm, then together with in the version number of application program, the title of relevant All Files and the corresponding directory path back-up storage existed beyond the clouds server.
After the first installation of application program, some data messages can be produced at the associative directory of/data catalogue and SD card, application developer provides all these data, the corresponding version number of each version and each data directory, All Files under data directory is calculated MD5 value, the title of All Files, MD5 value and the corresponding directory path existed are recorded, these all data and version number constitute a mapping, and data are preserved on the server.It should be noted that, the first time back-up storage that application programs data are carried out can be application program just installed or application program use operation a period of time after.
This step is specifically subdivided into following sub-step again:
Step S101, the acquisition installation directory of application program and the All Files information of data directory, calculate the MD5 value of each file respectively by MD5 message digest algorithm by the All Files in above catalogue;
Step S102, MD5 value corresponding to the title of the set of the installation directory of described application program and the All Files of data directory, each file and the corresponding directory path existed are stored packet data recording as first preserve, and the version number that first stores packet and application program is constituted mapping relations;
Wherein said mapping relations are a kind of corresponding relations, can by a structure in these relation record process sequences.Such as: version A is corresponding: filename set aa (a lot of filename), the md5 that in aa, each file is corresponding, the storage directory that in aa, each file is corresponding.
Step S103, by described first store packet be saved on cloud server.
The download of ■ step S2, application data recovers, and this step is when user is when another one intelligent mobile terminal is opened and the information registration that accesses to your account enters this application program, and the renewal and the application data that carry out application program download recovery.
Different according to version number herein, will down load application program version again, be in order to some application version compatibility forward do bad, prevent from using the application data on cloud server and the local application program downloaded incompatible and cause using abnormal problem.Once the version that edition upgrading to cloud server is uploaded, and data are also updated to the version on server, and the version of the version of so subsequent upgrade renewal does not generally have problem, because most application program is all back compatible.
This step is specifically subdivided into following sub-step again:
S201, when user select to carry out the renewal of application program and application data download recover time, whether contrast application version number identical, if version number is different, first by application program update to the application version number backed up, if version number is identical, then do not upgrade application program;
S202, acquisition are about to the installation directory of the application program be updated and the All Files information of data directory, the All Files in above catalogue are calculated the MD5 value of each file respectively by MD5 message digest algorithm;
S203, the MD5 value of the MD5 value of each file in described step S202 and each file of application program of back-up storage to be contrasted, find out the differential file that MD5 value is different;
S204, from cloud server download discrepancy data, differential file is unziped to corresponding path by the directory path according to differential file, completes the renewal of application data.
■ step S3, the backup updating of application data, this step uses in this application program process for user, the situation that the file of application program can change, user can select to carry out application data backup updating at any time, the associated documents of application program are calculated the MD5 value of each file by MD5 message digest algorithm, the MD5 value of the MD5 value of each file after backup updating and each file of last back-up storage is contrasted, find out the file that MD5 value is different, by the title of the set of files different for above all MD5 values, the MD5 value that file is corresponding and the corresponding directory path existed are recorded, these all data and the version number of application program constitute mapping relations, and save the data on cloud server.
User uses in this application program process, and a lot of data directory files of application program can change, and when user needs backup, according to the step recording MD5 value in step 1, records the MD5 value of new All Files.Data in this MD5 value and step 1 are contrasted, goes out data difference according to file name, MD5 value and directory name record, application version number, variance data packing are uploaded onto the server.And the accounts information of discrepancy data, application version number and user is bound.
Embodiment two
Refer to Fig. 2, Fig. 2 is the block diagram of system based on the application data backup and reduction of MD5 code in the present embodiment two.The present embodiment two discloses a kind of system of the application data backup and reduction based on MD5 code, is applied in intelligent mobile terminal, and wherein said intelligent mobile terminal comprises mobile phone, panel computer and palm equipment for surfing the net.Known as shown in Figure 2, this system comprises following devices:
1, the backup storage device of application data,
The associated documents of application program are calculated the MD5 value of each file by this device by MD5 message digest algorithm, then together with in the version number of application program, the title of relevant All Files and the corresponding directory path back-up storage existed beyond the clouds server.
This device specifically can be subdivided into following modules again:
First fileinfo MD5 value computing module, the All Files in above catalogue, for the All Files information of the installation directory and data directory that obtain application program, is calculated the MD5 value of each file by this module respectively by MD5 message digest algorithm.
The first time back-up storage that in this device, application programs data are carried out can be that application program has just installed or after application program use operation a period of time, can select back up at any time according to user.
First data acquisition and version mapping block, this module is used for that MD5 value corresponding to the title of the set of the installation directory of described application program and the All Files of data directory, each file and the corresponding directory path existed are stored packet data recording as first and preserves, and the version number of the first storage packet and application program is constituted mapping relations.
First data upload preserves module, and this module uploads to cloud server for first in the first data acquisition and version mapping block is stored packet.
2, the download recovery device of application data,
This device is when user is when another one intelligent mobile terminal is opened and the information registration that accesses to your account enters this application program, and the renewal and the application data that carry out application program download recovery.
This device comprises following modules again:
Application version update module, this module is when user selects renewal and the application data download recovery carrying out application program, number whether identical for contrasting application version, if version number is different, first by the application version number of application program update to backup, if version number is identical, then do not upgrade application program.
Second fileinfo MD5 value computing module, All Files in above catalogue for the All Files information of the installation directory and data directory that obtain the application program being about to be updated, and is calculated the MD5 value of each file by this module respectively by MD5 message digest algorithm.
Differential file searches comparing module, and this module is used for the MD5 value of the MD5 value of each file and each file of application program of back-up storage in described second fileinfo MD5 value computing module to contrast, and finds out the differential file that MD5 value is different.
Application data download module, this module is used for downloading discrepancy data from cloud server, and differential file is unziped to corresponding path by the directory path according to differential file, completes the renewal of application data.
3, the backup updating device of application data,
This device uses in this application program process for user, the situation that the file of application program can change, user can use this device to select to carry out application data backup updating at any time, the associated documents of application program are calculated the MD5 value of each file by MD5 message digest algorithm, the MD5 value of the MD5 value of each file after backup updating and each file of last back-up storage is contrasted, find out the file that MD5 value is different, by the title of the set of files different for above all MD5 values, the MD5 value that file is corresponding and the corresponding directory path existed are recorded, these all data and the version number of application program constitute mapping relations, and save the data on cloud server.
It should be noted that in said system embodiment, each included device and module are carry out dividing according to function logic, but are not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each device and module, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Above-described embodiment is the present invention's preferably embodiment; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (11)

1., based on a method for the application data backup and reduction of MD5 code, be applied to intelligent mobile terminal, it is characterized in that, comprise the following steps:
The back-up storage of S1, application data, the associated documents of application program are calculated the MD5 value of each file by this step by MD5 message digest algorithm, then together with in the version number of application program, the title of relevant All Files and the corresponding directory path back-up storage existed beyond the clouds server;
The download of S2, application data recovers, and this step is when user is when another one intelligent mobile terminal is opened and the information registration that accesses to your account enters this application program, and the renewal and the application data that carry out application program download recovery.
2. the method for a kind of application data backup and reduction based on MD5 code according to claim 1, is characterized in that, also comprise the following steps:
S3, the backup updating of application data, this step uses in this application program process for user, the situation that the file of application program can change, user can select to carry out application data backup updating at any time, the associated documents of application program are calculated the MD5 value of each file by MD5 message digest algorithm, the MD5 value of the MD5 value of each file after backup updating and each file of last back-up storage is contrasted, find out the file that MD5 value is different, by the title of the set of files different for above all MD5 values, the MD5 value that file is corresponding and the corresponding directory path existed are recorded, these all data and the version number of application program constitute mapping relations, and save the data on cloud server.
3. the method for a kind of application data backup and reduction based on MD5 code according to claim 1, it is characterized in that, described step S1 is specially:
S101, the acquisition installation directory of application program and the All Files information of data directory, calculate the MD5 value of each file respectively by MD5 message digest algorithm by the All Files in above catalogue;
S102, MD5 value corresponding to the title of the set of the installation directory of described application program and the All Files of data directory, each file and the corresponding directory path existed are stored packet data recording as first preserve, and the version number that first stores packet and application program is constituted mapping relations;
S103, by described first store packet be saved on cloud server.
4. the method for a kind of application data backup and reduction based on MD5 code according to claim 1, it is characterized in that, described step S2 is specially:
S201, when user select to carry out the renewal of application program and application data download recover time, whether contrast application version number identical, if version number is different, first by application program update to the application version number backed up, if version number is identical, then do not upgrade application program;
S202, acquisition are about to the installation directory of the application program be updated and the All Files information of data directory, the All Files in above catalogue are calculated the MD5 value of each file respectively by MD5 message digest algorithm;
S203, the MD5 value of the MD5 value of each file in described step S202 and each file of application program of back-up storage to be contrasted, find out the differential file that MD5 value is different;
S204, from cloud server download discrepancy data, differential file is unziped to corresponding path by the directory path according to differential file, completes the renewal of application data.
5. the method for a kind of application data backup and reduction based on MD5 code according to claim 1, is characterized in that:
The first time back-up storage that in described step S1, application programs data are carried out can be application program just installed or application program use operation a period of time after.
6., according to the method for the arbitrary described a kind of application data backup and reduction based on MD5 code of claim 1 to 5, it is characterized in that:
Described intelligent mobile terminal comprises mobile phone, notebook computer, panel computer and palm equipment for surfing the net.
7., based on a system for the application data backup and reduction of MD5 code, be applied to intelligent mobile terminal, it is characterized in that, comprise following devices:
The backup storage device of application data, the associated documents of application program are calculated the MD5 value of each file by this device by MD5 message digest algorithm, then together with in the version number of application program, the title of relevant All Files and the corresponding directory path back-up storage existed beyond the clouds server;
The download recovery device of application data, this device is when user is when another one intelligent mobile terminal is opened and the information registration that accesses to your account enters this application program, and the renewal and the application data that carry out application program download recovery.
8. the system of a kind of application data backup and reduction based on MD5 code according to claim 7, is characterized in that, also comprise following devices:
The backup updating device of application data, this device uses in this application program process for user, the situation that the file of application program can change, user can use this device to select to carry out application data backup updating at any time, the associated documents of application program are calculated the MD5 value of each file by MD5 message digest algorithm, the MD5 value of the MD5 value of each file after backup updating and each file of last back-up storage is contrasted, find out the file that MD5 value is different, by the title of the set of files different for above all MD5 values, the MD5 value that file is corresponding and the corresponding directory path existed are recorded, these all data and the version number of application program constitute mapping relations, and save the data on cloud server.
9. the system of a kind of application data backup and reduction based on MD5 code according to claim 7, it is characterized in that, the backup storage device of described application data comprises:
First fileinfo MD5 value computing module, the All Files in above catalogue, for the All Files information of the installation directory and data directory that obtain application program, is calculated the MD5 value of each file by this module respectively by MD5 message digest algorithm;
First data acquisition and version mapping block, this module is used for that MD5 value corresponding to the title of the set of the installation directory of described application program and the All Files of data directory, each file and the corresponding directory path existed are stored packet data recording as first and preserves, and the version number of the first storage packet and application program is constituted mapping relations;
First data upload preserves module, and this module uploads to cloud server for first in the first data acquisition and version mapping block is stored packet.
10. the system of a kind of application data backup and reduction based on MD5 code according to claim 7, it is characterized in that, the download recovery device of described application data comprises:
Application version update module, this module is when user selects renewal and the application data download recovery carrying out application program, number whether identical for contrasting application version, if version number is different, first by the application version number of application program update to backup, if version number is identical, then do not upgrade application program;
Second fileinfo MD5 value computing module, All Files in above catalogue for the All Files information of the installation directory and data directory that obtain the application program being about to be updated, and is calculated the MD5 value of each file by this module respectively by MD5 message digest algorithm;
Differential file searches comparing module, and this module is used for the MD5 value of the MD5 value of each file and each file of application program of back-up storage in described second fileinfo MD5 value computing module to contrast, and finds out the differential file that MD5 value is different;
Application data download module, this module is used for downloading discrepancy data from cloud server, and differential file is unziped to corresponding path by the directory path according to differential file, completes the renewal of application data.
The system of 11. a kind of application data backup and reductions based on MD5 code according to claim 7, is characterized in that:
The first time back-up storage that in the backup storage device of described application data, application programs data are carried out can be application program just installed or application program use operation a period of time after.
CN201410607049.3A 2014-10-30 2014-10-30 A kind of method and system of the application data backup of storage reduction based on MD5 codes Expired - Fee Related CN104281504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410607049.3A CN104281504B (en) 2014-10-30 2014-10-30 A kind of method and system of the application data backup of storage reduction based on MD5 codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410607049.3A CN104281504B (en) 2014-10-30 2014-10-30 A kind of method and system of the application data backup of storage reduction based on MD5 codes

Publications (2)

Publication Number Publication Date
CN104281504A true CN104281504A (en) 2015-01-14
CN104281504B CN104281504B (en) 2018-03-27

Family

ID=52256405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410607049.3A Expired - Fee Related CN104281504B (en) 2014-10-30 2014-10-30 A kind of method and system of the application data backup of storage reduction based on MD5 codes

Country Status (1)

Country Link
CN (1) CN104281504B (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794400A (en) * 2015-01-30 2015-07-22 深圳市金立通信设备有限公司 Application program restoration method
CN104850472A (en) * 2015-05-18 2015-08-19 西安诺瓦电子科技有限公司 Method and device for restoring backup of system application software
CN104866394A (en) * 2015-06-08 2015-08-26 肖选文 Distributed file backup method and system
CN105512014A (en) * 2015-12-10 2016-04-20 北京金山安全管理系统技术有限公司 Application usage condition data acquisition method and device
CN105653399A (en) * 2015-12-23 2016-06-08 北京奇虎科技有限公司 Application backup restoration method, device and system
CN105827683A (en) * 2015-09-29 2016-08-03 维沃移动通信有限公司 Data synchronization method, server and electronic device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating
CN106446715A (en) * 2016-10-11 2017-02-22 武汉斗鱼网络科技有限公司 File encryption method and device
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test
CN106528677A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Data comparison method and device
CN106528145A (en) * 2016-10-28 2017-03-22 北京海誉动想科技股份有限公司 Instance system and version management method for agent in instance system
CN106790581A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 Application data processing method, device and terminal
CN107315658A (en) * 2017-06-26 2017-11-03 珠海市魅族科技有限公司 A kind of data back up method and device, computer installation and readable storage medium storing program for executing
CN107678882A (en) * 2017-09-14 2018-02-09 北京春鸿科技有限公司 A kind of method and system of data backup
CN107741889A (en) * 2017-09-01 2018-02-27 广州视源电子科技股份有限公司 Document recovery method, system, readable storage medium and terminal
CN108011882A (en) * 2017-12-05 2018-05-08 北京小米移动软件有限公司 A kind of methods, devices and systems for carrying out data synchronization
CN108667881A (en) * 2017-03-31 2018-10-16 中国科学院声学研究所 A kind of synchronous method of the business datum of intelligent terminal and Cloud Server
CN108933681A (en) * 2017-05-22 2018-12-04 贵州白山云科技有限公司 A kind of cloud computing system configuration update method, control centre and cloud computing node
CN105825066B (en) * 2016-03-25 2019-04-19 东华软件股份公司 A kind of electronic health record generation method and device
CN110209423A (en) * 2019-04-24 2019-09-06 深圳点猫科技有限公司 A kind of programming works synchronous method and system based on artificial intelligence
CN110365627A (en) * 2018-04-11 2019-10-22 腾讯科技(深圳)有限公司 Application program synchronous method, calculates equipment and storage medium at device
CN110417785A (en) * 2019-07-31 2019-11-05 湖南微算互联信息技术有限公司 A kind of installation method, system and the storage medium of cloud mobile phone games
CN111553139A (en) * 2019-01-23 2020-08-18 北大方正集团有限公司 Picture typesetting method and equipment
CN112328295A (en) * 2020-11-25 2021-02-05 昆山丘钛光电科技有限公司 Software updating method and device
CN112558994A (en) * 2020-12-23 2021-03-26 上海眼控科技股份有限公司 Application software upgrading method, device, equipment and storage medium
CN112926063A (en) * 2020-11-25 2021-06-08 杭州视洞科技有限公司 Embedded equipment information acquisition method based on SD card authentication
CN112929423A (en) * 2021-01-25 2021-06-08 上海契云科技有限公司 Method and device for data packaging of terminal equipment
CN113672950A (en) * 2021-08-03 2021-11-19 苏州优炫智能科技有限公司 Electronic file circulation tamper-proofing method and device
CN117827545A (en) * 2024-03-05 2024-04-05 成都金海境科技有限公司 Data backup method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522160B (en) * 2018-11-29 2020-05-05 上海英方软件股份有限公司 Method and system for comparing and backing up file directory by saving file information abstract

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523268A (en) * 2011-12-08 2012-06-27 北京新媒传信科技有限公司 Client side upgrading method and system
CN102857570A (en) * 2012-09-13 2013-01-02 清华大学 Cloud synchronized method of files and cloud storage server
CN103037076A (en) * 2012-11-28 2013-04-10 广东欧珀移动通信有限公司 State backup reduction method and device of mobile terminal
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103825925A (en) * 2012-11-19 2014-05-28 腾讯科技(深圳)有限公司 Application program upgrading method and system, and application program upgrading client terminal
CN103838645A (en) * 2014-01-02 2014-06-04 上海爱数软件有限公司 Remote difference synthesis backup method based on Hash

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523268A (en) * 2011-12-08 2012-06-27 北京新媒传信科技有限公司 Client side upgrading method and system
CN102857570A (en) * 2012-09-13 2013-01-02 清华大学 Cloud synchronized method of files and cloud storage server
CN103825925A (en) * 2012-11-19 2014-05-28 腾讯科技(深圳)有限公司 Application program upgrading method and system, and application program upgrading client terminal
CN103037076A (en) * 2012-11-28 2013-04-10 广东欧珀移动通信有限公司 State backup reduction method and device of mobile terminal
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103838645A (en) * 2014-01-02 2014-06-04 上海爱数软件有限公司 Remote difference synthesis backup method based on Hash

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794400A (en) * 2015-01-30 2015-07-22 深圳市金立通信设备有限公司 Application program restoration method
CN104850472A (en) * 2015-05-18 2015-08-19 西安诺瓦电子科技有限公司 Method and device for restoring backup of system application software
CN104850472B (en) * 2015-05-18 2018-07-20 西安诺瓦电子科技有限公司 System software backup and reduction method and apparatus
CN104866394A (en) * 2015-06-08 2015-08-26 肖选文 Distributed file backup method and system
CN104866394B (en) * 2015-06-08 2018-03-09 肖选文 A kind of distributed document backup method and system
CN105827683A (en) * 2015-09-29 2016-08-03 维沃移动通信有限公司 Data synchronization method, server and electronic device
CN105827683B (en) * 2015-09-29 2019-01-11 维沃移动通信有限公司 A kind of method, server and electronic equipment that data are synchronous
CN105512014A (en) * 2015-12-10 2016-04-20 北京金山安全管理系统技术有限公司 Application usage condition data acquisition method and device
CN105512014B (en) * 2015-12-10 2018-09-25 北京金山安全管理系统技术有限公司 A kind of method and apparatus of application program service condition data acquisition
CN105653399B (en) * 2015-12-23 2019-07-23 北京奇虎科技有限公司 Using backup and reduction method, apparatus and system
CN105653399A (en) * 2015-12-23 2016-06-08 北京奇虎科技有限公司 Application backup restoration method, device and system
CN105825066B (en) * 2016-03-25 2019-04-19 东华软件股份公司 A kind of electronic health record generation method and device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating
CN106502883B (en) * 2016-10-09 2019-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and server-side when automatic test
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test
CN106446715A (en) * 2016-10-11 2017-02-22 武汉斗鱼网络科技有限公司 File encryption method and device
CN106528145A (en) * 2016-10-28 2017-03-22 北京海誉动想科技股份有限公司 Instance system and version management method for agent in instance system
CN106528677A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Data comparison method and device
CN106790581A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 Application data processing method, device and terminal
CN108667881A (en) * 2017-03-31 2018-10-16 中国科学院声学研究所 A kind of synchronous method of the business datum of intelligent terminal and Cloud Server
CN108933681A (en) * 2017-05-22 2018-12-04 贵州白山云科技有限公司 A kind of cloud computing system configuration update method, control centre and cloud computing node
CN108933681B (en) * 2017-05-22 2021-12-14 贵州白山云科技股份有限公司 Configuration updating method of cloud computing system, control center and cloud computing node
CN107315658A (en) * 2017-06-26 2017-11-03 珠海市魅族科技有限公司 A kind of data back up method and device, computer installation and readable storage medium storing program for executing
CN107741889A (en) * 2017-09-01 2018-02-27 广州视源电子科技股份有限公司 Document recovery method, system, readable storage medium and terminal
CN107678882A (en) * 2017-09-14 2018-02-09 北京春鸿科技有限公司 A kind of method and system of data backup
CN108011882A (en) * 2017-12-05 2018-05-08 北京小米移动软件有限公司 A kind of methods, devices and systems for carrying out data synchronization
CN110365627B (en) * 2018-04-11 2021-10-29 腾讯科技(深圳)有限公司 Application program synchronization method and device, computing equipment and storage medium
CN110365627A (en) * 2018-04-11 2019-10-22 腾讯科技(深圳)有限公司 Application program synchronous method, calculates equipment and storage medium at device
CN111553139A (en) * 2019-01-23 2020-08-18 北大方正集团有限公司 Picture typesetting method and equipment
CN110209423A (en) * 2019-04-24 2019-09-06 深圳点猫科技有限公司 A kind of programming works synchronous method and system based on artificial intelligence
CN110417785A (en) * 2019-07-31 2019-11-05 湖南微算互联信息技术有限公司 A kind of installation method, system and the storage medium of cloud mobile phone games
CN112328295A (en) * 2020-11-25 2021-02-05 昆山丘钛光电科技有限公司 Software updating method and device
CN112926063A (en) * 2020-11-25 2021-06-08 杭州视洞科技有限公司 Embedded equipment information acquisition method based on SD card authentication
CN112328295B (en) * 2020-11-25 2024-09-24 昆山丘钛光电科技有限公司 Software updating method and device
CN112558994A (en) * 2020-12-23 2021-03-26 上海眼控科技股份有限公司 Application software upgrading method, device, equipment and storage medium
CN112929423A (en) * 2021-01-25 2021-06-08 上海契云科技有限公司 Method and device for data packaging of terminal equipment
CN113672950A (en) * 2021-08-03 2021-11-19 苏州优炫智能科技有限公司 Electronic file circulation tamper-proofing method and device
CN113672950B (en) * 2021-08-03 2024-04-05 苏州优炫智能科技有限公司 Electronic file circulation tamper-proof method and device
CN117827545A (en) * 2024-03-05 2024-04-05 成都金海境科技有限公司 Data backup method and system

Also Published As

Publication number Publication date
CN104281504B (en) 2018-03-27

Similar Documents

Publication Publication Date Title
CN104281504A (en) MD5-code-based method and system applied to backup and reduction of application program data
Zafar et al. A survey of cloud computing data integrity schemes: Design challenges, taxonomy and future trends
US10552640B2 (en) In-situ data verification for the cloud
US10762229B2 (en) Secure searchable and shareable remote storage system and method
US10158483B1 (en) Systems and methods for efficiently and securely storing data in a distributed data storage system
CN102724310B (en) A kind of method that realizes cloud search by mobile terminal
US8244678B1 (en) Method and apparatus for managing backup data
CN103023875B (en) A kind of account management system and method
CN105760781B (en) The storage method, restoration methods and operating method of large data files can be deduced in order
CN111656343A (en) Error correction coding based shared blockchain data storage in trusted execution environments
CN111837117A (en) Error correction coding based shared blockchain data storage in trusted execution environments
US9749132B1 (en) System and method for secure deletion of data
CN104541266A (en) Mechanism for synchronising devices, system and method
CN111008034B (en) Patch generation method and device
Kuppusamy et al. Mercury:{Bandwidth-Effective} Prevention of Rollback Attacks Against Community Repositories
CN114041134A (en) System and method for block chain based secure storage
Catuogno et al. A trusted versioning file system for passive mobile storage devices
US20200382284A1 (en) Tracking, storage and authentication of documented intellectual property
CN112307503A (en) Signature management method and device and electronic equipment
CN115659378A (en) Case record information evidence storing method and related equipment
CN102821110B (en) A kind of password method for retrieving for audio/video storage device
CN112925750A (en) Method, electronic device and computer program product for accessing data
CN109800009A (en) The hot update method and system of mixed type App functional module
WO2017124179A1 (en) Automated updates for encrypted attached, network or cloud data storage systems
US8595271B1 (en) Systems and methods for performing file system checks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180327