Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of this specification provides is described in detail.
In one embodiment, the mode for obtaining patch be by the assigned catalogue of patch data manual loading to application program,
Go to detect when client terminal start-up under program directory and whether store patch data, if it is present adding in client terminal start-up
The carrying row patch data.When needing to reduce the patch data, then need also exist for deleting the patch data manually, be again started up
Client is so as to coming into force.In the present embodiment, operating process is complicated, it is to be understood that the storing directory of patch data is, it is necessary to pass through
Patch data is loaded into assigned catalogue by control command, for the user for being ignorant of software development, verifies the patch number
Do not accomplish completely according to whether problem to be solved repairs.
In another embodiment, patch data from be generated to by client downloads installation process include:Cooperation R & D is put down
Platform changes code, and after the code of modification then is carried out into packing processing so as to form patch data, cooperation R & D platform is by described in
Patch data is uploaded to content distributing network, and then distribution platform is by the patch number being uploaded on the content distributing network
According to client is pushed to, client is after the push of the distribution platform is received, from the content distributing network described in download
Patch data, the patch data is loaded after the correctness of the patch data is verified.Whole process operation is more complicated, tests
It is equally long to demonstrate,prove the process whether patch data problem to be solved repairs.
The embodiment of this specification one provides a kind of edition data issue and acquisition methods, needs to issue to solve client
Platform push can just obtain patch data and can not active obtaining patch data, and operation is more complicated, verifies the benefit
The problem of process whether fourth data problem to be solved repairs is long.The edition data dissemination method includes:First,
Obtain updating the data for version updating;Secondly, it is determined that first storage address updated the data;Finally, based on described
First storage address, generate and issue the first identification image, terminal device is identified by described first described in image acquisition more
New data.
Specifically, as shown in figure 1, Fig. 1 is the flow chart of edition data dissemination method in the embodiment of this specification one.Step
S101, obtain updating the data for version updating.
Described update the data updates the data and incremental update data including full dose, that is to say, that one in this specification is real
Apply in example, described update the data can be that full dose updates the data, such as can be full dose version of the application program in version updating
Notebook data;Can also be incremental update data, such as the patch data during application program update.
Next, with incremental update data instance come introduce obtain described in the process that updates the data.First, second server
(can be understood as server corresponding to development platform) modifies to the code of application program;Then, the code of modification is entered
Row packing, and then generate patch data bag.Here the data included in patch data bag can be understood as this specification implementation
Updating the data described in example.It should be noted that this is only to obtain update the data a implementation for version updating
Example, in other embodiments, the purpose for obtaining and updating the data can also be reached by other means.
In an embodiment of this specification, the second server can also include cooperation R & D platform, and (i.e. packing is flat
Platform).That is, in above-mentioned steps, described update the data is obtained by the cooperation R & D platform.
Step S103, it is determined that first storage address updated the data.
Specifically, second server after being updated the data described in acquisition, can update the data transmission to the first clothes by described
Be engaged in device, the first server receive described in update the data and store, then updated the data described in the first server
In the first storage address send to the second server, the second server receives the institute that the first server is sent
State the first storage address.
The first server includes but is not limited to content distributing network (Content Delivery Network, CDN).
Specifically, cooperation R & D platform updates the data transmission to CDN by described, and receives the described of CDN transmissions and update the data in CDN
In the first storage address.
Here first server may belong to different servers from second server, and " first " and " second " is without spy
Different implication, only represent different servers.
In this specification embodiment, second server can also update the data this after described update the data is obtained
It is stored in second server, and this is updated the data to the storage address being stored in second server and is defined as the renewal number
According to the first storage address.
Step S105, based on first storage address, generate and issue the first identification image, terminal device is passed through institute
State and updated the data described in the acquisition of the first identification image.
The cooperation R & D platform obtain described in update the data the first storage address on CDN after, based on described the
One storage address, the identification image of generation first, so as to which first storage address is stored in the first identification image, institute
State the first identification image and include but is not limited to image corresponding to Quick Response Code, terminal device is obtained by scanning image corresponding to Quick Response Code
First storage address is taken, and then is updated the data from described in first storage address acquisition.
Further, the cooperation R & D platform is also updated the data when generating the first identification image based on described
Verification data, i.e., also the verification data updated the data is stored in the first identification image, that is to say, that described the
First storage address and its verification data updated the data is stored with one identification image, the verification data is used to verify
The correctness updated the data, to ensure the security updated the data.
Terminal device can obtain institute according to first storage address after the first identification image is identified from CDN
State and update the data, after being updated the data described in acquisition, first with the encryption information that updates the data described in verification data verification,
To ensure the security updated the data.
In an embodiment of this specification, above-mentioned edition data dissemination method can be additionally used in released version restoring data.
Specific process is as described below:First, it is determined that to described update the data corresponding to the related restoring data of version, the reduction number
Reduced according to for version;Secondly, the second storage address of the restoring data is determined;Second storage address is then based on,
Generate and issue the second identification image, terminal device is obtained the restoring data by the described second identification image.Such as
Shown in Fig. 2, Fig. 2 is the flow chart that version dissemination method released version restoring data is utilized in the embodiment of this specification one.
Step S200, it is determined that to described update the data corresponding to the related restoring data of version, the restoring data is used for
Version reduces.
Specifically, the restoring data that the cooperation R & D platform acquisition is related to version corresponding to described update the data.Example
Such as, it is described to update the data as patch data, and the version number of the patch data is 1.5, before this, application program has been sent out
Cloth crosses the patch data of 5 versions, and the high patch data of version number includes the low patch data of version number, specifically, described
Application program the patch data of issued mistake version number difference it is as follows:1.0th, 1.1,1.2,1.3 and 1.4.In general,
Patch data 1.1 includes patch data 1.0, and patch data 1.2 includes patch data 1.1, and patch data 1.3 includes patch data
1.2, patch data 1.4 includes patch data 1.3, and patch data 1.5 includes patch data 1.4.Certainly, in other embodiment,
It can also be independent between 6 above-mentioned patch datas, it is uncorrelated each other.
Now, the restoring data has 5, and this 5 restoring datas are respectively restoring data 0, restoring data 1, reduction number
According to 2, restoring data 3 and restoring data 4.This 5 restoring datas can cause the patch data of the application program from version
1.5 revert to version 1.0,1.1,1.2,1.3 and 1.4 respectively.That is this 5 restoring datas correspond to different version letters
Breath.Version information corresponding to the restoring data is that the restoring data enables the application program in terminal device to reduce
To the version information updated the data.Specifically, version information corresponding to restoring data 0 is 1.0, i.e. the restoring data 0
So that the patch data of the application program is restored to 1.0.By that analogy, version information corresponding to restoring data 1 is 1.1, also
Version information corresponding to former data 2 is 1.2, and version information corresponding to restoring data 3 is 1.3, and version corresponding to restoring data 4 is believed
Cease for 1.4.
On this basis, it is determined that described update the data version letter corresponding to corresponding version information and the restoring data
Breath.For example, the version information updated the data is 1.5, i.e., it is described to update the data as patch data 1.5, the restoring data
Corresponding version information is 1.0, that is, needs application program in the terminal device being restored to patch data 1.0.
Then, further according between version information corresponding to version information corresponding to described update the data and the restoring data
Incidence relation, it is determined that to described update the data corresponding to the related restoring data of version.Connect example, the version of patch data 1.5
Version information 1.0 establishes incidence relation by the restoring data 0 corresponding to this information 1.5 and restoring data 0.According to above-mentioned benefit
Incidence relation between the version information of fourth data 1.5 and the version information 1.0 that will be reverted to, it may be determined that with the patch
The related restoring data of version corresponding to data 1.5 is restoring data 0.Certainly, when version information corresponding to the restoring data
For other values when, in the present embodiment, for example, for any one in 1.1,1.2,1.3 and 1.4 when, can use above-mentioned
Identical method determines corresponding restoring data.
Step S202, determine the second storage address of the restoring data.
Example is connected, because the restoring data there are 5, then just need to determine respectively each for this 5 restoring datas
The second storage address.
Step S204, based on second storage address, generate and issue the second identification image, lead to terminal device
Cross the second identification image and obtain the restoring data.
Specifically, first, for the second storage address of each restoring data, the second identification image is generated respectively.Connect
Example, for above-mentioned 5 restoring datas, respectively restoring data 0, restoring data 1, restoring data 2, restoring data 3 and reduction
Data 4, respective second storage address are respectively the second storage address 0, the second storage address 1, the second storage address 2, second
The storage address 4 of storage address 3 and second.For this 5 the second storage address, 5 second identification images are generated respectively, respectively
Identify that image 1, second identifies that image 2, second identifies that image 3 and second identifies image 4 for the second identification image 0, second.Respectively
Individual second identification image is also image corresponding to Quick Response Code, i.e., the second identification image 0, second identifies that image 1, second identifies image
2nd, the second identification image 3 and second identifies that image 4 is image corresponding to Quick Response Code.
Further, the version information that restoring data corresponding to each second storage address can revert to is determined, and is built
Found the mapping relations between the version information and the second identification image.
Specifically, what is stored in the second identification image 0 is the second storage address 0, pass through the described second identification image 0
Restoring data 0 can be obtained.By the second identification image 0 described in scanning recognition, so as to obtain restoring data 0, and then cause institute
State patch data and revert to version 1.0 from version 1.5.Equally, what is stored in the second identification image 1 is the second storage address
1, the restoring data 1 is obtained by the described second identification image 1.By the second identification image 1 described in scanning recognition, gone back
Former data 1 so that the patch data reverts to version 1.1 from version 1.5.By the identification image 2 of scanning second, reduced
Data 2 so that the patch data reverts to version 1.2 from version 1.5.By the identification image 3 of scanning second, reduction number is obtained
According to 3 so that the patch data reverts to version 1.3 from version 1.5.Likewise, by the identification image 4 of scanning second, obtain
Restoring data 4 so that the patch data reverts to version 1.4 from version 1.5.That is, establish each restoring data institute
Mapping relations between the version information and each second identification image that revert to.
After above-mentioned 5 second identification image is generated, determine version information that the restoring data reverts to it is described more
Version information corresponding to new data.Specifically, with reference to above-described embodiment, it is first determined restoring data 0, restoring data 1, reduction
Data 2, restoring data 3 and restoring data 4 and the incidence relation updated the data between 1.5.Then further according to above-mentioned 5
Restoring data and the incidence relation updated the data between 1.5, the first identification image corresponding to 1.5 is updated the data described in foundation
With the mapping relations between above-mentioned 5 second identification images.
In one embodiment of this specification, the restoring data is the version information pair that terminal device needs to revert to
That answers updates the data.Now, version information corresponding to the restoring data is the application program needs on the terminal device
The version information reverted to.Specifically, connect example, patch data 1.0 to be between patch data 1.5 it is separate, according to
The patch data 1.5 can be restored to patch data 1.3 by restoring data 3, and now, the restoring data 3 is exactly that will apply journey
Sequence is updated to updating the data for patch data 1.3 from reset condition, and version information corresponding to the restoring data 3 is 1.3.Eventually
End equipment obtains the second of the restoring data 3 by scanning the second identification image 3 from the described second identification image 3
Storage address 3, the restoring data 3 is obtained according to second storage address 3, so that terminal device is from patch data
1.5 are restored to patch data 1.3.Certainly, in the present embodiment, if patch data 1.0 is to being mutually to close between patch data 1.5
Connection, such a embodiment can also realize that version reduces, and specific reduction process is same as described above.
In the another embodiment of this specification, the restoring data is the version information that terminal device needs to revert to,
Now, version information corresponding to the restoring data is that the application program on the terminal device needs the version letter reverted to
Breath.For example, the patch data of the application program update to after patch data 1.5, it is necessary to the version of the patch data reverted to
This information is 1.3, i.e., described restoring data 3 is the version information 1.3 of patch data 1.3, version corresponding to the restoring data 3
Information is 1.3, and the second identification image 3, then reduce the application program from patch data 1.5 described in the terminal device scans
To patch data 1.3.In this embodiment, the terminal device just stores it on CDN when obtaining patch data 1.3
The first storage address, therefore, when the terminal device scan it is described second identification image 3 when, obtain the restoring data 3
Second storage address 3 of (needing the version information 1.3 reverted to), and then the acquisition restoring data 3 (needs to revert to
Version information 1.3), and then obtain and be stored in first storage of the patch data 1.3 on CDN on the terminal device
Location, the patch data 1.5 is restored to patch data further according to first storage address of the patch data 1.3 on CDN
1.3。
In the another embodiment of this specification, if not updated patch data 1.3 before the terminal device,
Direct reduction is to the state for not updating any patch data.If specifically, the application program on the terminal device needs to reduce
The version information of the patch data arrived is 1.3, but it is to be updated directly into version 1.5 from patch data 1.2 that the terminal, which is set,
, then, when the terminal device is scanning the second identification image 3, the second storage address 3 of restoring data 3 is obtained, and then
Obtain the restoring data 3 (i.e. the version information 1.3 of patch data 1.3).Due to described in no storage in the terminal device
First storage address of the patch data 1.3 on CDN, the terminal device can not obtain the patch data on themselves
1.3 the first storage address on CDN, also patch data 1.3 can not be obtained on CDN from the described second identification image 3
First storage address, the terminal device will be unable to be restored to patch data from patch data 1.5 according to the restoring data 3
1.3.In one embodiment, the terminal device direct reduction is to no any state updated the data.In another embodiment,
The version information highest version stored in the terminal device can be restored to, example is connected, patch data can be restored to
1.2。
Finally, each second identification image is issued.Connect example, issue the second identification image 0, second identifies image 1, the
Two identification images 2, second identify that image 3 and second identifies image 4.
In an embodiment of this specification, the second server also obtains while being updated the data described in acquisition
The version information updated the data, and generated based on the version information updated the data and mark data and issue the 3rd
Image is identified, the mark data is used to indicate to be restored to initial version from version corresponding to the version information updated the data
This, though terminal device by the described 3rd identification image reset to not loading any state updated the data.
That is, the second server is generated and issued based on the version information updated the data and mark data
The 3rd identification image.Specifically, when the described 3rd identification image is image corresponding to Quick Response Code, the terminal device leads to
The mode for crossing barcode scanning identifies the 3rd identification image.
When terminal device identification the 3rd identification image, the terminal device, which obtains, is stored in the 3rd knowledge
The version information updated the data and the mark data in other image, then according to the mark data, the terminal
Application program in equipment is reset to from the version updated the data does not load any original state updated the data.It is specific and
The mark data, can be interpreted as an identifier, when the terminal device is identifying the identifier, just hold by speech
Row is following to be acted:The application program of the terminal device is reset to original state from the version updated the data.In this explanation
In one embodiment of book, the mark data can also be a variable, when the value of the variable is 1, is carried out the above and moves
Make, when the value of the variable is 0, just do not perform above action.Certainly, in other embodiments, can also be when the variable
Be worth for 0 when, perform more than act, when the variable value be 1 when, do not perform the above action.
The embodiment of this specification one additionally provides a kind of version acquisition methods, for obtaining edition data, methods described bag
Include:The first identification image is obtained from second server;The first identification image is parsed, obtains the first storage address;According to
First storage address, acquisition update the data, described to update the data for being carried out to the application program installed in terminal device
Version updating.
Specifically, as shown in figure 3, Fig. 3 is the flow chart of version acquisition methods in the embodiment of this specification one.Step
S301, the first identification image is obtained from second server.
Specifically, in an embodiment of this specification, terminal device obtains first identification from cooperation R & D platform
Image.The first storage address and verification data are stored with the first identification image.When the described first identification image is two dimension
Corresponding to code during image, the terminal device obtains the first identification figure by barcode scanning mode from the second server
Picture.
Step S303, parsing the first identification image, obtains the first storage address.
Specifically, being stored with first storage address in the first identification image, first storage address is more
Storage address of the new data in CDN.By parsing the first identification image, first storage address is obtained.
Step S305, according to first storage address, acquisition updates the data, described to update the data for terminal device
The application program of middle installation carries out version updating.
After first storage address is obtained, according to first storage address, obtain and be stored in CDN from CDN
Updating the data in the first storage address.Also it is stored with the first identification image and updates the data corresponding check number with described
According to the correctness updated the data being verified by the verification data, to ensure the security updated the data.
Above-mentioned edition data acquisition methods can be additionally used in the reduction that terminal device carries out edition data, and specific flow is such as
Under:First, the second identification image is obtained from the second server;Then, the second identification image is parsed, obtains second
Storage address;Finally, according to second storage address, restoring data is obtained, the restoring data is used in terminal device
The application program of installation carries out version reduction.
Specifically, referring to accompanying drawing 4, Fig. 4 is that edition data acquisition methods are used for into version in the embodiment of this specification one
The flow chart of reduction.
Step S400, the second identification image is obtained from second server.
The second server can also be issued and known with described first while the first identification image that issue updates the data
The second related identification image of other image.When the described first identification image and the second identification image are image corresponding to Quick Response Code
When, the terminal device obtains the second identification image by way of barcode scanning from the second server.
For any one the first identification image, at least one second identification image is associated therewith, reduction as needed
Mapping relations between the version information and the second identification image that arrive, choose one second identification image.Specifically, first
A version information to be restored is determined, is closed further according to the mapping between the version information to be restored and the second identification image
System, it is determined that second identification image corresponding with the version information to be restored.
For example, example is connected, it is necessary to which the version information 1.0 for reverting to patch data 1.0 needs corresponding to the second identification image 0
The version information 1.1 for reverting to patch data 1.1 corresponds to the second identification image 1, it is necessary to revert to the version of patch data 1.2
This information 1.2 corresponds to the second identification image 2, it is necessary to which the version information 1.3 for reverting to patch data 1.3 corresponds to the second identification
Image 3 is, it is necessary to which the version information 1.4 for reverting to patch data 1.4 corresponds to the second identification image 4, it is necessary to revert to patch number
Correspond to the second identification image 5 according to 1.5 version information 1.5.When it is 1.2 to need the version information that reverts to, then the is chosen
Two identification images 2, the second identification image 2 is obtained from the second server.
Step S402, parsing the second identification image, obtains the second storage address.
Example is connected, after the terminal device obtains the second identification image 2, parsing the second identification image 2, so as to
Obtain the second storage address 2 being stored in the second identification image 2.
Step S404, according to second storage address, restoring data is obtained, the restoring data is used for terminal device
The application program of middle installation carries out version reduction.
According to second storage address 2, the restoring data 2 being stored in the second storage address 2 on CDN is obtained.
In an embodiment of this specification, the restoring data is that the application program on the terminal device needs to reduce
To version information corresponding to update the data.Now, version information corresponding to the restoring data is on the terminal device
Application program need the version information that reverts to.For example, patch data 1.0 to be between patch data 1.5 it is separate,
The patch data 1.5 can be restored to by patch data 1.2 according to restoring data 2, now, the restoring data 2 is exactly should
Updating the data for patch data 1.2 is updated to from reset condition with program, version information corresponding to the restoring data 2 is
1.2.Terminal device obtains the restoring data 2 by scanning the second identification image 2 from the described second identification image 2
The second storage address 2, the restoring data 2 is obtained according to second storage address 2, so that terminal device is from patch
Data 1.5 are restored to patch data 1.2.Certainly, in the present embodiment, if patch data 1.0 is to being phase between patch data 1.5
Mutual correlation, such a embodiment can also realize that version reduces, and specific reduction process is same as described above.
In the another embodiment of this specification, the restoring data is the version information that terminal device needs to revert to,
Now, version information corresponding to the restoring data is that the application program on the terminal device needs the version letter reverted to
Breath.For example, the patch data of the application program update to after patch data 1.5, it is necessary to the version of the patch data reverted to
This information is 1.2, i.e., described restoring data 2 is the version information 1.2 of patch data 1.2, the described in the terminal device scans
Two identification images 2, then be restored to patch data 1.2 by the application program from patch data 1.5.In this embodiment, it is described
Terminal device just stores its first storage address on CDN when obtaining patch data 1.2, therefore, when the terminal is set
It is standby when scanning the second identification image 2, obtain the of the restoring data 2 (needing the version information 1.2 reverted to)
Two storage address 2, and then the restoring data 2 (needing the version information 1.2 reverted to) is obtained, and then obtain and be stored in institute
First storage address of the patch data 1.2 on terminal device on CDN is stated, further according to the patch data 1.2 on CDN
The patch data 1.5 is restored to patch data 1.2 by the first storage address.
In the another embodiment of this specification, if not updated patch data 1.2 before the terminal device,
Direct reduction is to the state for not updating any patch data.If specifically, the application program on the terminal device needs to reduce
The version information of the patch data arrived is 1.2, but it is to be updated directly into version 1.5 from patch data 1.1 that the terminal, which is set,
, then, when the terminal device is scanning the second identification image 2, the second storage address 2 of restoring data 2 is obtained, and then
Obtain the restoring data 2 (i.e. the version information 1.2 of patch data 1.2).Due to described in no storage in the terminal device
First storage address of the patch data 1.2 on CDN, it also can not obtain patch data 1.2 from the described second identification image 2 and exist
The first storage address on CDN, the terminal device will be unable to be obtained from patch data 1.5 according to the restoring data 2 and reduce
To the patch data 1.2.In one embodiment, the terminal device direct reduction is to no any state updated the data.
In another embodiment, the version information highest version stored in the terminal device can be restored to, connects example, can be also
As far as patch data 1.1.
Therefore, this specification is carried out to the specific embodiment of edition data dissemination method and edition data acquisition methods
Description.Other embodiments are within the scope of the appended claims.In some cases, that records in detail in the claims is dynamic
Work can in a different order perform and still can realize desired result.In addition, the process described in the accompanying drawings
The particular order shown or consecutive order are not necessarily required, to realize desired result.In some embodiments, multitask
Processing and parallel processing can be favourable.
The embodiment of this specification one provides a kind of edition data distributing device again, as shown in figure 5, Fig. 5 is this specification
The structural representation of edition data distributing device in one embodiment.Described device includes:Data acquisition module 501, address acquisition
Module 505, the determining module 503 of first processing module 509 and first.
Specifically, the data acquisition module 501 obtains updating the data for version updating;The address acquisition module 505
Transmission is updated the data to first server by described, and receive that the first server sends described updates the data described the
The first storage address in one server;The first processing module 509 is based on first storage address, generates and issues
One identification image, make terminal device by being updated the data described in the described first identification image acquisition.First determining module 503
It is determined that to described update the data corresponding to the related restoring data of version, the restoring data is used for version reduction, and determination
Second storage address of the restoring data;The first processing module 509 is based on second storage address, generates and issues
Second identification image, terminal device is set to obtain the restoring data by the described second identification image.
Specifically, when to described update the data corresponding to the related restoring data of version have multiple when, i.e., described first is true
When cover half block 503 obtains multiple restoring datas, for each restoring data, first determining module 503 determines each respectively
Second storage address of restoring data.For example, (it is respectively restoring data 0, restoring data 1, reduction number when there is 5 restoring datas
According to 2, restoring data 3 and restoring data 4) when, determine second storage address of this 5 restoring datas respectively, respectively second
Storage address 0, the second storage address 1, the second storage address 2, the second storage address 3 and the second storage address 4.
To any one in above-mentioned 5 the second storage address, the first processing module 509 generates one second identification
Image is corresponding, specifically, for the second storage address 0, the first processing module 509 generates corresponding second and known
Other image 0;For the second storage address 1, the first processing module 509 generates the second corresponding identification image 1;For
Second storage address 2, the first processing module 509 generate the second corresponding identification image 2;For the second storage address
3, the first processing module 509 generates the second corresponding identification image 3;For the second storage address 4, at described first
Reason module 509 generates the second corresponding identification image 4.
The first processing module 509 also determines each second storage address while the second identification image is generated
The version information that corresponding restoring data reverts to, and the mapping established between the version information and the second identification image
Relation.For example, connecting example, the version information that restoring data 0 corresponding to the second storage address 0 will revert to is 1.0, i.e. patch
The version information 1.0 of data 1.0 is corresponding with the second identification image 0.That is, terminal device can pass through the identification of identification second
Image 0, the patch data for causing the application program on the terminal device according to the restoring data 0 are restored to from current version
Patch data 1.0.
Finally, the first processing module 509 issues the second identification image.
The edition data distributing device also includes authentication module 507.The authentication module 507 updates the data described in determining
Corresponding verification data, the verification data be used to verify the correctness updated the data, to ensure described update the data
Security.The first processing module 509 is on the basis of based on first storage address, also based on the verification data,
Generate the first identification image.In the case where the first processing module 509 generates the second identification image, described the
One determining module 503 determine version information corresponding to the restoring data and it is described update the data corresponding version information, and build
Found version information corresponding to the restoring data and be mapping relations between the second identification image.The first processing module
509 in the case where generating the second identification image, and corresponding first identification image and at least one is updated the data described in foundation
Mapping relations between second identification image corresponding to the individual restoring data.
Using the edition data distributing device that is provided in this specification embodiment carry out the method for edition data issue as
Above-described edition data dissemination method, will not be repeated here.
It should be noted that the edition data distributing device that this specification embodiment provides can be real by software mode
It is existing, it can also be realized by hardware mode, be not specifically limited here.The edition data distributing device is according to being used for version updating
Update the data the first storage address generation first identification image, make terminal device pass through described first identification image obtain institute
State and update the data.So that terminal device obtains, the process updated the data is simpler, reduces the time updated the data described in checking
And difficulty.
Based on same inventive concept, this specification embodiment additionally provides a kind of edition data and obtains equipment, including:Extremely
A few memory and at least one processor, wherein:Have program stored therein, and be configured to by the processing in the memory
Device performs following steps:Obtain updating the data for version updating;It is determined that first storage address updated the data;It is based on
First storage address, generate and issue the first identification image, terminal device is obtained institute by the described first identification image
State and update the data.
The specific implementation of described processor can use the embodiment party of above-mentioned record in this specification embodiment
Formula, no longer repeat one by one here.
A kind of edition data acquisition device is additionally provided in this specification in another embodiment, as shown in fig. 6, Fig. 6 is this
The structural representation of edition data acquisition device in the embodiment of specification one.Described device includes:Image collection module 602, figure
As parsing module 604 and Second processing module 608.
Specifically, described image acquisition module 602 obtains the first identification image from second server, in this specification
In one embodiment, if the first identification image is image corresponding to Quick Response Code, described image acquisition device passes through barcode scanning side
Formula obtains the first identification image from the second server.Described image parsing module 604 parses first identification
Image, obtain the first storage address.The Second processing module 608 updates the data according to first storage address, acquisition, institute
State and update the data for carrying out version updating to the application program installed in terminal device.
Described image parsing module 604, which parses second that described image acquisition module obtains from the second server, to be known
Other image, obtains the second storage address.The Second processing module 608 obtains restoring data according to second storage address,
The application program that the restoring data is used in terminal device install carries out version reduction.
Specifically, the edition data acquisition device also includes the second determining module 606, described image acquisition module 602
When obtaining the second identification image from the second server, second determining module 606 determines version letter to be restored
Breath, and according to the mapping relations between the version information to be restored and the second identification image, determine the second identification figure
Picture.Mapping relations between the version information and the second identification image that revert to as needed, determine one second knowledge
Other image.
For example, example is connected, it is necessary to which the version information 1.0 for reverting to patch data 1.0 needs corresponding to the second identification image 0
The version information 1.1 for reverting to patch data 1.1 corresponds to the second identification image 1, it is necessary to revert to the version of patch data 1.2
This information 1.2 corresponds to the second identification image 2, it is necessary to which the version information 1.3 for reverting to patch data 1.3 corresponds to the second identification
Image 3 is, it is necessary to which the version information 1.4 for reverting to patch data 1.4 corresponds to the second identification image 4, it is necessary to revert to patch number
Correspond to the second identification image 5 according to 1.5 version information 1.5.When it is 1.2 to need the version information that reverts to, then the is chosen
Two identification images 2, described image acquisition module obtain the second identification image 2 from the second server.
Described image parsing module 604 parses the second identification image 2, obtains the second storage address 2.Then, it is described
Second processing module 608 obtains restoring data 2 according to second storage address 2, and the application program in terminal device is according to institute
State the progress version of restoring data 2 and be restored to patch data 1.2.
Using the edition data acquisition device that is provided in this specification embodiment carry out the method for edition data acquisition as
Above-described edition data acquisition methods, will not be repeated here.
It should be noted that the edition data acquisition device that this specification embodiment provides can be real by software mode
It is existing, it can also be realized by hardware mode, be not specifically limited here.The edition data acquisition device is according to being used for version updating
Update the data the first storage address generation first identification image, make terminal device pass through described first identification image obtain institute
State and update the data.So that terminal device obtains, the process updated the data is simpler, reduces what is updated the data described in checking
Time and difficulty.
Based on same inventive concept, this specification embodiment additionally provides a kind of edition data and obtains equipment, including:Extremely
A few memory and at least one processor, wherein:Have program stored therein, and be configured to by the processing in the memory
Device performs following steps:The first identification image is obtained from second server;The first identification image is parsed, first is obtained and deposits
Store up address;According to first storage address, acquisition updates the data, described to update the data for answering what is installed in terminal device
Version updating is carried out with program.
The specific implementation of described processor can use the embodiment party of above-mentioned record in this specification embodiment
Formula, no longer repeat one by one here.
A kind of edition data more new system is additionally provided in the another embodiment of this specification, as shown in fig. 7, Fig. 7 is this
The structural representation of edition data more new system in the embodiment of specification one.The system includes:Second server 703 and terminal
Equipment 701, the second server 703 obtain updating the data for version updating, it is determined that it is described update the data first deposit
Store up address, based on first storage address, generate and issue the first identification image, also determine to it is described update the data it is related
Restoring data, and the second storage address of the restoring data, based on second storage address, generate and issue described
Two identification images.
The terminal device 701 obtains the first identification image that the second server 703 is issued, and parsing described first is known
Other image, first storage address is obtained, according to first storage address, acquisition updates the data, described to update the data use
The application program installed in terminal device carries out version updating, also obtains and parses the second identification image, obtains the
Two storage address, according to second storage address, the restoring data is obtained, the restoring data is used in terminal device
The application program of installation carries out version reduction.
In an embodiment of this specification, the terminal device includes but is not limited to:Smart mobile phone, PC, pen
Remember this computer and tablet personal computer.
In the 1990s, the improvement for a technology can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And as the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
Can is readily available the hardware circuit for realizing the logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller include but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode realized beyond controller, completely can be by the way that method and step is carried out into programming in logic to make
Controller is obtained in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions regards
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,
Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during specification.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
This specification can be described in the general context of computer executable instructions, such as journey
Sequence module.Usually, program module include performing particular task or realize the routine of particular abstract data type, program, object,
Component, data structure etc..This specification can also be put into practice in a distributed computing environment, in these DCEs
In, by performing task by communication network and connected remote processing devices.In a distributed computing environment, program module
It can be located in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
The embodiment of this specification is the foregoing is only, is not limited to this specification.For art technology
For personnel, this specification can have various modifications and variations.It is all this specification spirit and principle within made it is any
Modification, equivalent substitution, improvement etc., should be included within the right of this specification.