CN106557335A - The update method of application program, apparatus and system - Google Patents
The update method of application program, apparatus and system Download PDFInfo
- Publication number
- CN106557335A CN106557335A CN201510627421.1A CN201510627421A CN106557335A CN 106557335 A CN106557335 A CN 106557335A CN 201510627421 A CN201510627421 A CN 201510627421A CN 106557335 A CN106557335 A CN 106557335A
- Authority
- CN
- China
- Prior art keywords
- application program
- picture
- version
- sub
- pictures
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention discloses a kind of update method of application program, apparatus and system.Methods described includes:The request instruction being updated to application program is sent to server;The request instruction includes the first version information of the application program;Receive the difference corresponding to the first version information of the server feedback and describe file;The difference is installed and describes file, with the application program by the application program update of first version as the second edition;The difference describes file includes picture differential file, and the picture differential file is the server according to the discrepant sub-pictures of tool obtained after the picture contrast in the picture in the application program of the first version and the application program of the second edition generating;Picture in the application program of the first version and the picture in the application program of the second edition are spliced by multiple sub-pictures respectively.Using the embodiment of the present invention, network bandwidth resources can be effectively reduced, and improves renewal efficiency.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of update method of application program, device and it is
System.
Background technology
In the prior art, the renewal of application program generally adopts two kinds of update modes.The first generally adopts
The update mode of " incremental update ".Such as, in Games Software, with the operation of Games Software, can not
The renewal patch of disconnected releasing Games Software, each patch can correspond to a version number.And game client is certainly
Body can also safeguard a version number, after downloading to renewal patch and complete to update from server every time, can be by
The version number which is safeguarded updates the version number to latest patch, but this mode can cause substantial amounts of redundancy.
Second is updated based on the mode of file hash list.When such as game client updates every time,
The hash information of All Files in the synchronous game client of server meeting, then finds out what all hash were changed
File, and all files for changing are transmitted to game client, but this update mode causes net
Network flow consumes big.
The content of the invention
Two kinds of update modes that background technology is referred to can realize the renewal to application program, but respectively exist not
Foot, for the first update mode, if player is not turned on the Games Software for some time, needs
Multiple patches are downloaded in order, until the Games Software is updated to latest edition.In the middle of these patches,
Substantial amounts of redundancy is there is often.Such as certain size is that the file of 1M or so is repeatedly modified, then
Include this file in each patch, if 10 patches, then player needs to download altogether this text
Part 10 times, consumes at least flow of 10M.For second update mode, client need to be by All Files
Hash information is transferred to server so that network flow consumption is big, and the renewal granularity of this mode is text
Part aspect, if there was only a small amount of change in file, can cause the renewal patch volume for generating larger.
The many aspects of the embodiment of the present invention propose a kind of update method of application program, apparatus and system, energy
It is enough effectively to reduce network bandwidth resources, and improve renewal efficiency.
The one side of the embodiment of the present invention provides a kind of update method of application program, including:
The request instruction being updated to application program is sent to server;The request instruction includes described answering
With the first version information of program;
Receive the difference corresponding to the first version information of the server feedback and describe file;
The difference is installed and describes file, with the application by the application program update of first version as the second edition
Program;Wherein, the difference describes file includes picture differential file, and the picture differential file is described
In application program of the server according to the picture in the application program of the first version with the second edition
What is obtained after picture contrast has discrepant sub-pictures to generate;In the application program of the first version
Picture in the application program of picture and the second edition is spliced by multiple sub-pictures respectively.
In one preferred embodiment, the installation difference describes file, by first version
Application program update is the application program of the second edition, specifically includes:
According to the picture differential file, the picture in the application program of the first version is processed,
With by application program that the application program update of the first version is the second edition.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
It is the server according to the text in the application program of the first version and described to state text differential file
The difference text that obtains after transcription comparison in the application program of two versions is generating;
It is described the difference is installed describes file, with by the application program update of first version as the second edition
Application program, specifically includes:
According to the picture differential file, the picture in the application program of the first version is processed,
And, according to the text differential file, the text in the application program of the first version is processed,
With by application program that the application program update of the first version is the second edition.
In one preferred embodiment, the discrepant sub-pictures of the tool are the application of the second edition
Picture in program relative to the picture in the application program of the first version increase it is at least one first sub
Picture;The picture differential file include first sub-pictures, first sub-pictures addition instruction and
The positional information of each sub-pictures in the picture of the application program of the second edition;
It is described according to the picture differential file, at the picture in the application program of the first version
Reason, specifically includes:
According to the addition instruction in the picture differential file in the picture of the application program of the first version
Increase by first sub-pictures, obtain the first intermediate picture;
According to the positional information in the picture differential file, to each subgraph in first intermediate picture
The position of piece is adjusted, and obtains the picture in the application program of the second edition.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one second deleted with the picture in application program of the picture in program relative to the first version
Sub-pictures;The picture differential file includes the deletion instruction of second sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program;
It is described according to the picture differential file, at the picture in the application program of the first version
Reason, specifically includes:
Instructed according to the deletion in the picture differential file, delete the figure of the application program of the first version
Second sub-pictures in piece, obtain the second intermediate picture;
According to the positional information in the picture differential file, to each subgraph in second intermediate picture
The position of piece is adjusted, and obtains the picture in the application program of the second edition.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one first increased with the picture in application program of the picture in program relative to the first version
Sub-pictures and at least one second sub-pictures deleted;The picture differential file include first sub-pictures,
Addition instruction, the deletion instruction of second sub-pictures and the answering for the second edition of first sub-pictures
With the positional information of each sub-pictures in the picture of program;
It is described according to the picture differential file, at the picture in the application program of the first version
Reason, specifically includes:
According to the addition instruction in the picture differential file in the picture of the application program of the first version
Increase by first sub-pictures, and, described the is deleted according to the deletion instruction in the picture differential file
Second sub-pictures in the picture of the application program of one version, obtain the 3rd intermediate picture;
According to the positional information in the picture differential file, to each subgraph in the 3rd intermediate picture
The position of piece is adjusted, and obtains the picture in the application program of the second edition.
Further, before the request instruction being updated to application program to server transmission, also
Including:
The first version information of the application program is sent to the server;
The download link of the server feedback is received, the download link is for right to server transmission
The request instruction that the application program is updated;The download link be the server detect it is described
What first version information was fed back when different from the version information of the application program of the second edition.
Further, the update method of the application program also includes:
Receive the version information of the application program of the second edition that the server sends;
After the renewal to the application program is completed, the first version information is revised as into described second
The version information of the application program of version.
The other side of the embodiment of the present invention also provides a kind of update method of application program, including:
Receive the request instruction being updated to application program that client sends;The request instruction includes institute
State the first version information of application program;
Obtain the difference corresponding to the first version information and describe file, and the difference is described into file reverse
Feed the client, make the client that the difference to be installed and file is described with by the application journey of first version
Sequence is updated to the application program of the second edition;Wherein, the difference describes file includes picture differential file,
The picture differential file is picture and the second edition in the application program according to the first version
What is obtained after picture contrast in application program has discrepant sub-pictures to generate;The first version
Picture in application program and the picture in the application program of the second edition are spliced by multiple sub-pictures respectively
Form.
In one preferred embodiment, the difference description obtained corresponding to the first version information
File, and the difference is described into file feed back to the client, make the client that the difference to be installed
Description file is specifically included with the application program by the application program update of first version as the second edition:
The picture differential file corresponding to the first version information is obtained, and will be the picture differential file anti-
Feed the client, make application of the client according to the picture differential file to the first version
Picture in program is processed, and the application program update by the first version is the second edition
Application program.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
State text differential file be text in the application program according to the first version with the second edition should
Generated with the difference text obtained after the transcription comparison in program.
The difference obtained corresponding to the first version information describes file, and will be difference description literary
Part feeds back to the client, makes the client install the difference and describes file with answering first version
The application program of the second edition is updated to program, is specifically included:
The picture differential file and text differential file corresponding to the first version information is obtained, and will be described
Picture differential file and the text differential file feed back to the client, make the client according to described
Picture differential file is processed to the picture in the application program of the first version, and, according to described
Text differential file is processed to the text in the application program of the first version, by the first edition
This application program update is the application program of the second edition.
Further, the discrepant sub-pictures of the tool are the picture phase in the application program of the second edition
For at least one first sub-pictures that the picture in the application program of the first version increases;The picture
Differential file includes first sub-pictures, the addition instruction of first sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one second sub-pictures that picture in the application program of the first version is deleted;The picture difference
File includes that deleting for second sub-pictures is each in the picture instructed with the application program of the second edition
The positional information of individual sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one first sub-pictures and at least the one of deletion that picture in the application program of the first version increases
Individual second sub-pictures;The picture differential file includes that first sub-pictures, first sub-pictures add
Plus it is each in instruction, the picture of the application program of the deletion instruction and the second edition of second sub-pictures
The positional information of individual sub-pictures.
Further, before the request instruction being updated to application program for receiving client transmission,
Also include:
Receive the first version information of the application program that the client sends;
Detecting, the first version information is different from the version information of the application program of the second edition
When, download link is sent to the client, sent to described by the download link for the client
The request instruction that application program is updated.
Further, the update method of the application program also includes:
The version information of the application program of the second edition is sent to the client, makes the client exist
The first version information is revised as into answering for the second edition after completing the renewal to the application program
With the version information of program.
Accordingly, the one side of the embodiment of the present invention also provides a kind of updating device of application program, including:
Instruction sending module, for sending the request instruction being updated to application program to server;It is described
Request instruction includes the first version information of the application program;
File reception module, for receiving the difference corresponding to the first version information of the server feedback
Different description file;And,
Update module, describes file for installing the difference, by the application program update of first version is
The application program of the second edition;Wherein, the difference describes file includes picture differential file, the picture
Differential file is the server according to the picture in the application program of the first version and the second edition
Application program in picture contrast after the discrepant sub-pictures of tool that obtain generating;The first version
Application program in picture and the second edition application program in picture spelled by multiple sub-pictures respectively
Connect and form.
In one preferred embodiment, the update module is specifically included:
Picture update unit, for according to the picture differential file, the application program to the first version
In picture processed, the application program update by the first version is the application of the second edition
Program.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
It is the server according to the text in the application program of the first version and described to state text differential file
The difference text that obtains after transcription comparison in the application program of two versions is generating;
The update module is specifically included:
Picture update unit, for according to the picture differential file, the application program to the first version
In picture processed, and,
Text updating block, for according to the text differential file, the application program to the first version
In text processed, the application program update by the first version is the application of the second edition
Program.
In one preferred embodiment, the discrepant sub-pictures of the tool are the application of the second edition
Picture in program relative to the picture in the application program of the first version increase it is at least one first sub
Picture;The picture differential file include first sub-pictures, first sub-pictures addition instruction and
The positional information of each sub-pictures in the picture of the application program of the second edition;
The picture update unit is specifically included:
Increase subelement, for instructing in the first version according to the addition in the picture differential file
Increase by first sub-pictures in the picture of application program, obtain the first intermediate picture;And,
First adjustment subelement, for according to the positional information in the picture differential file, to described first
The position of each sub-pictures in intermediate picture is adjusted, and obtains in the application program of the second edition
Picture.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one second deleted with the picture in application program of the picture in program relative to the first version
Sub-pictures;The picture differential file includes the deletion instruction of second sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program;
The picture update unit is specifically included:
Subelement is deleted, for instructing according to the deletion in the picture differential file, the first edition is deleted
Second sub-pictures in the picture of this application program, obtain the second intermediate picture;And,
Second adjustment subelement, for according to the positional information in the picture differential file, to described second
The position of each sub-pictures in intermediate picture is adjusted, and obtains in the application program of the second edition
Picture.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one first increased with the picture in application program of the picture in program relative to the first version
Sub-pictures and at least one second sub-pictures deleted;The picture differential file include first sub-pictures,
Addition instruction, the deletion instruction of second sub-pictures and the answering for the second edition of first sub-pictures
With the positional information of each sub-pictures in the picture of program;
The picture update unit is specifically included:
Change subelement, for being instructed in the first version according to the addition in the picture differential file
Increase by first sub-pictures in the picture of application program, and, according to deleting in the picture differential file
Except second sub-pictures in the picture of the application program of the first version are deleted in instruction, obtain in the 3rd
Between picture;And,
3rd adjustment unit, for according to the positional information in the picture differential file, in the described 3rd
Between the position of each sub-pictures in picture be adjusted, obtain the figure in the application program of the second edition
Piece.
Further, the updating device of the application program also includes:
Information sending module, for the first version information of the application program is sent to the server;With
And,
Download link receiver module, for receiving the download link of the server feedback, the download link
For sending the request instruction being updated to the application program to the server;The download link is
The server is detecting the version information of the first version information and the application program of the second edition
Asynchronously feed back.
Further, the updating device of the application program also includes:
Information receiving module, for receiving the version of the application program of the second edition that the server sends
This information;And,
Modified module, for after the renewal to the application program is completed, by the first version information
It is revised as the version information of the application program of the second edition.
The other side of the embodiment of the present invention also provides a kind of updating device of application program, including:
Command reception module, for receiving the request instruction being updated to application program of client transmission;
The request instruction includes the first version information of the application program;And,
File feedback module, describes file for obtaining the difference corresponding to the first version information, and will
The difference describes file and feeds back to the client, make the client install the difference file is described with
By the application program that the application program update of first version is the second edition;Wherein, the difference describes file
Including picture differential file, the picture differential file is the figure in the application program according to the first version
The discrepant sub-pictures of tool obtained after picture contrast in piece and the application program of the second edition are generating
's;Picture in the application program of the first version and the picture in the application program of the second edition point
It is not spliced by multiple sub-pictures.
In one preferred embodiment, the file feedback module is specifically for obtaining the first version
Picture differential file corresponding to information, and the picture differential file is fed back to into the client, make institute
State at the picture in application program of the client according to the picture differential file to the first version
Reason, the application program update by the first version is the application program of the second edition.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
State text differential file be text in the application program according to the first version with the second edition should
Generated with the difference text obtained after the transcription comparison in program.
The file feedback module is specifically for obtaining the picture differential file corresponding to the first version information
With text differential file, and the picture differential file and the text differential file are fed back to into the client
End, makes the picture in application program of the client according to the picture differential file to the first version
Processed, and, according to the text in application program of the text differential file to the first version
Processed, the application program update by the first version is the application program of the second edition.
Further, the discrepant sub-pictures of the tool are the picture phase in the application program of the second edition
For at least one first sub-pictures that the picture in the application program of the first version increases;The picture
Differential file includes first sub-pictures, the addition instruction of first sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one second sub-pictures that picture in the application program of the first version is deleted;The picture difference
File includes that deleting for second sub-pictures is each in the picture instructed with the application program of the second edition
The positional information of individual sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one first sub-pictures and at least the one of deletion that picture in the application program of the first version increases
Individual second sub-pictures;The picture differential file includes that first sub-pictures, first sub-pictures add
Plus it is each in instruction, the picture of the application program of the deletion instruction and the second edition of second sub-pictures
The positional information of individual sub-pictures.
Further, the updating device of the application program also includes:
Version information receiver module, for receiving the first version of the application program that the client sends
Information;And,
Download link sending module, for should detect the first version information and the second edition
With the version information of program it is different when, send download link to the client, pass through institute for the client
State download link and send the request instruction being updated to the application program.
Further, the updating device of the application program also includes:
Version information sending module, for the version of the application program of the second edition is sent to the client
This information, makes the client after the renewal to the application program is completed by the first version information
It is revised as the version information of the application program of the second edition.
Accordingly, the embodiment of the present invention also provides a kind of more new system of application program, including client kimonos
Business device;
The client is configured with the updating device of the application program provided by the one side of above-described embodiment;
The updating device of the application program provided by the another aspect that the server configures have above-described embodiment.
Implement the embodiment of the present invention, have the advantages that:
The update method of application program provided in an embodiment of the present invention, apparatus and system, can be according to the first edition
Have discrepant sub-pictures to generate difference description text in this application program and the application program of the second edition
Part, and the renewal that file realizes the application program to first version is described according to difference, so as to greatly reduce more
The volume of new data packets, effectively reduces network bandwidth resources, and improves renewal efficiency;According to increased subgraph
The sub-pictures of piece or deletion increase the picture in the application program of first version generating picture differential file
Or sub-pictures are deleted, the renewal of the application program to first version is realized, so as to eliminate the redundancy letter in updating
Breath, saves network traffics.
Description of the drawings
Fig. 1 is the schematic flow sheet of one embodiment of the update method of the application program that the present invention is provided;
Fig. 2 be the present invention provide application program update method in picture update one embodiment stream
Journey schematic diagram;
Fig. 3 be the present invention provide application program update method in picture update second embodiment stream
Journey schematic diagram;
Fig. 4 be the present invention provide application program update method in picture update the 3rd embodiment stream
Journey schematic diagram;
Fig. 5 is the schematic flow sheet of second embodiment of the update method of the application program that the present invention is provided;
Fig. 6 is the structural representation of one embodiment of the updating device of the application program that the present invention is provided;
Fig. 7 be the present invention provide application program updating device in picture update unit one embodiment
Structural representation;
Fig. 8 be the present invention provide application program updating device in picture update unit second embodiment
Structural representation;
Fig. 9 be the present invention provide application program updating device in picture update unit the 3rd embodiment
Structural representation;
Figure 10 is the structural representation of second embodiment of the updating device of the application program that the present invention is provided;
Figure 11 is the structural representation of one embodiment of the more new system of the application program that the present invention is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that obtained, belong to the scope of protection of the invention.
Referring to Fig. 1, it is that the flow process of one embodiment of the update method of the application program that the present invention is provided is illustrated
Figure, including:
S11, request instruction application program being updated to server transmission;The request instruction includes institute
State the first version information of application program;
Difference corresponding to S12, the first version information of the reception server feedback describes file;
S13, the difference be installed describe file, with by the application program update of first version as the second edition
Application program;Wherein, the difference describes file includes picture differential file, and the picture differential file is
Application program of the server according to the picture in the application program of the first version and the second edition
In picture contrast after the discrepant sub-pictures of tool that obtain generating;The application program of the first version
In picture and the second edition application program in picture be spliced by multiple sub-pictures respectively.
Wherein, application program of the application program of first version for legacy version, the application program of the second edition is
The application program of latest edition.The application program update of each legacy version is pre-saved in server to newest
Difference needed for the application program of version describes file, i.e., required during the application program update of different legacy versions
Difference describes file difference, is achieved with its corresponding difference according to the version information of the application program of legacy version
Description file.Wherein, difference describes the patch that file is more new application, the version letter of application program
Breath includes the version number of application program.For example, it is this 9 versions of 1-9 that certain application program has had version number,
Now by the version that the application program update to version number is 10, then server need to generate a patch set, bag
Containing 9 patches:1-10.patch, 2-10.patch, 3-10.patch, 4-10.patch, 5-10.patch, 6-10.patch,
7-10.patch, 8-10.patch, 9-10.patch.The content included by this 9 patches is different, respectively
Difference between the application program and the application program of the 10th version of 1-9 each version describes file.1-9 each
The application program of version only needs the patch for selecting its version number corresponding to update.
After request instruction is sent to server, the difference corresponding to server feedback application program current version
Description file.Wherein, difference describe file include the application program of picture differential file, i.e. current version with
Difference pictures in the application program of latest edition.In order to reduce the memory consumption of picture resource, application program,
Such as mobile phone games, substantial amounts of sub-pictures can be assemblied into a big figure when issuing and be issued, thus, it is only required to look for
The big figure gone out in the application program of current version has discrepant son with the big figure in the application program of latest edition
Picture describes file generating difference, describes redundancy in file so as to eliminate difference, and it is poor to reduce
The volume of different description file, reduces network bandwidth resources, and improves renewal efficiency.
It should be noted that the client of the present embodiment is downloaded accordingly according to the application program of oneself current version
Difference describe file and installed, you can realize the renewal to application program.In addition, server is included opening
Send out server and update server.Exploitation server generates the application program update of all legacy versions to latest edition
Difference needed for this application program describes file, and all differences of generation are described files passe to renewal
Server, updates server and the version information of the application program of each legacy version and each difference is described file
One-to-one corresponding is preserved, and so as to reduce updating the performance of server, will not also reduce Consumer's Experience.
In one preferred embodiment, the installation difference describes file, by first version
Application program update is the application program of the second edition, specifically includes:
According to the picture differential file, the picture in the application program of the first version is processed,
With by application program that the application program update of the first version is the second edition.
Wherein, difference is described, then according to having in picture differential file
The sub-pictures of difference, are processed to the picture in the application program of first version, by the application of first version
Picture in program completes the renewal of application program by being updated to the picture in the application program of the second edition.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
It is the server according to the text in the application program of the first version and described to state text differential file
The difference text that obtains after transcription comparison in the application program of two versions is generating;
It is described the difference is installed describes file, with by the application program update of first version as the second edition
Application program, specifically includes:
According to the picture differential file, the picture in the application program of the first version is processed,
And, according to the text differential file, the text in the application program of the first version is processed,
With by application program that the application program update of the first version is the second edition.
Wherein, difference describes file includes picture differential file and text differential file.According to picture difference text
Have discrepant sub-pictures in part, the picture in the application program of first version is processed, by the first edition
Picture in this application program is updated to the picture in the application program of the second edition, meanwhile, according to text
Difference text in differential file, is processed to the text in the application program of first version, by the first edition
Text in this application program is updated to the text in the application program of the second edition, so as to realize to application
The renewal of program.Wherein, typically adopt binary d iff algorithm to find out in the application program of first version
The difference between text in the application program of text and the second edition, and the difference is stored in into text difference
In file.
In one preferred embodiment, the discrepant sub-pictures of the tool are the application of the second edition
Picture in program relative to the picture in the application program of the first version increase it is at least one first sub
Picture;The picture differential file include first sub-pictures, first sub-pictures addition instruction and
The positional information of each sub-pictures in the picture of the application program of the second edition.
As shown in Fig. 2 it is described according to the picture differential file, in the application program to the first version
Picture processed, specifically include:
S21, the figure that the application program in the first version is instructed according to the addition in the picture differential file
Increase by first sub-pictures in piece, obtain the first intermediate picture;
S22, according to the positional information in the picture differential file, to each in first intermediate picture
The position of sub-pictures is adjusted, and obtains the picture in the application program of the second edition.
Wherein, the picture in the application program of the second edition is relative to the picture in the application program of first version
For, increased the first sub-pictures.Server refers to according to the addition of first sub-pictures, first sub-pictures
Make, each subgraph in the picture of the application program of the pictorial information and the second edition belonging to the first sub-pictures
The positional information of piece generates picture differential file.Wherein, assembly would know that by texture packer softwares
For the positional information of each sub-pictures of the picture of the application program of the second edition.Client is being received and is being installed
During the picture differential file, instructed according to the addition in the picture differential file, the first sub-pictures are added to
In its affiliated picture, then by each sub-pictures after the first sub-pictures of addition according to the position in picture differential file
Confidence breath re-starts assembly, so as to obtain the picture in the application program of the second edition.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one second deleted with the picture in application program of the picture in program relative to the first version
Sub-pictures;The picture differential file includes the deletion instruction of second sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program.
As shown in figure 3, it is described according to the picture differential file, in the application program to the first version
Picture processed, specifically include:
S31, instructed according to the deletion in the picture differential file, delete the application program of the first version
Picture in second sub-pictures, obtain the second intermediate picture;
S32, according to the positional information in the picture differential file, to each in second intermediate picture
The position of sub-pictures is adjusted, and obtains the picture in the application program of the second edition.
Wherein, the picture in the application program of the second edition is relative to the picture in the application program of first version
For, delete the second sub-pictures.Server is instructed according to the deletion of second sub-pictures, second subgraph
The positional information life of each sub-pictures in the picture of the application program of pictorial information and the second edition belonging to piece
Into picture differential file.Client is when receiving and install the picture differential file, literary according to the picture difference
Deletion instruction in part, deletes the second sub-pictures from its affiliated picture, then will delete after the second sub-pictures
Each sub-pictures re-starts assembly according to the positional information in picture differential file, so as to obtain the second edition
Application program in picture.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one first increased with the picture in application program of the picture in program relative to the first version
Sub-pictures and at least one second sub-pictures deleted;The picture differential file include first sub-pictures,
Addition instruction, the deletion instruction of second sub-pictures and the answering for the second edition of first sub-pictures
With the positional information of each sub-pictures in the picture of program.
As shown in figure 4, it is described according to the picture differential file, in the application program to the first version
Picture processed, specifically include:
S41, the figure that the application program in the first version is instructed according to the addition in the picture differential file
Increase by first sub-pictures in piece, and, institute is deleted according to the deletion instruction in the picture differential file
Second sub-pictures in the picture of the application program for stating first version, obtain the 3rd intermediate picture;
S42, according to the positional information in the picture differential file, to each in the 3rd intermediate picture
The position of sub-pictures is adjusted, and obtains the picture in the application program of the second edition.
Wherein, the picture in the application program of the second edition is relative to the picture in the application program of first version
For, increased the first sub-pictures and delete the second sub-pictures.Server according to the first sub-pictures, first
The addition instruction of sub-pictures, the pictorial information belonging to the first sub-pictures, the deletion instruction of the second sub-pictures, the
The position of each sub-pictures in the picture of the application program of pictorial information and the second edition belonging to two sub-pictures
Information generates picture differential file.Client when receiving and install the picture differential file, according to the picture
Addition instruction in differential file, the first sub-pictures are added in its affiliated picture, meanwhile, according to the figure
Deletion instruction in piece differential file, deletes the second sub-pictures from the affiliated picture of the second sub-pictures, then will
Each sub-pictures after with the addition of the first sub-pictures and deleting the second sub-pictures are according in picture differential file
Positional information re-starts assembly, so as to obtain the picture in the application program of the second edition.
In addition, for some special picture/mb-types, such as PVRTC pictures, due to storing this type
Picture when, the pixel of whole figure is divided into many little modules, using binary d iff algorithm, to first
Picture in the application program of version and the picture in the application program of the second edition are contrasted, and are found out and are had
The module pixel of difference, describes file so as to have discrepant module pixel generation difference.
Further, before the request instruction being updated to application program to server transmission, also
Including:
The first version information of the application program is sent to the server;
The download link of the server feedback is received, the download link is for right to server transmission
The request instruction that the application program is updated;The download link be the server detect it is described
What first version information was fed back when different from the version information of the application program of the second edition.
Before the update, the current version information of application program, i.e. first version information are sent by client
To server, according to the current version information, server judges whether the application program of client needs to update,
If desired, then download link is sent to client.Client is sent to server by clicking on the download link
Request instruction is being updated to application program.
Further, the update method of the application program also includes:
Receive the version information of the application program of the second edition that the server sends;
After the renewal to the application program is completed, the first version information is revised as into described second
The version information of the application program of version.
It should be noted that when difference is described file and feeds back to client by server, also by latest edition
The version information of application program feed back to client.After the renewal that client completes application program, by which
Current version information is revised as the version information of the application program of latest edition.
Referring to Fig. 5, it is that the flow process of second embodiment of the update method of the application program that the present invention is provided is illustrated
Figure, including:
S51, the request instruction is updated by application program for receiving client transmission;The request instruction bag
Include the first version information of the application program;
S52, the difference obtained corresponding to the first version information describe file, and will be difference description literary
Part feeds back to the client, makes the client install the difference and describes file with answering first version
The application program of the second edition is updated to program;Wherein, the difference describes file includes picture difference text
Part, the picture differential file are picture and the second edition in the application program according to the first version
What is obtained after picture contrast in this application program has discrepant sub-pictures to generate;The first edition
Picture in this application program and the picture in the application program of the second edition are respectively by multiple sub-pictures
It is spliced.
In one preferred embodiment, the difference description obtained corresponding to the first version information
File, and the difference is described into file feed back to the client, make the client that the difference to be installed
Description file is specifically included with the application program by the application program update of first version as the second edition:
The picture differential file corresponding to the first version information is obtained, and will be the picture differential file anti-
Feed the client, make application of the client according to the picture differential file to the first version
Picture in program is processed, and the application program update by the first version is the second edition
Application program.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
State text differential file be text in the application program according to the first version with the second edition should
Generated with the difference text obtained after the transcription comparison in program.
The difference obtained corresponding to the first version information describes file, and will be difference description literary
Part feeds back to the client, makes the client install the difference and describes file with answering first version
The application program of the second edition is updated to program, is specifically included:
The picture differential file and text differential file corresponding to the first version information is obtained, and will be described
Picture differential file and the text differential file feed back to the client, make the client according to described
Picture differential file is processed to the picture in the application program of the first version, and, according to described
Text differential file is processed to the text in the application program of the first version, by the first edition
This application program update is the application program of the second edition.
Further, the discrepant sub-pictures of the tool are the picture phase in the application program of the second edition
For at least one first sub-pictures that the picture in the application program of the first version increases;The picture
Differential file includes first sub-pictures, the addition instruction of first sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one second sub-pictures that picture in the application program of the first version is deleted;The picture difference
File includes that deleting for second sub-pictures is each in the picture instructed with the application program of the second edition
The positional information of individual sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one first sub-pictures and at least the one of deletion that picture in the application program of the first version increases
Individual second sub-pictures;The picture differential file includes that first sub-pictures, first sub-pictures add
Plus it is each in instruction, the picture of the application program of the deletion instruction and the second edition of second sub-pictures
The positional information of individual sub-pictures.
Further, before the request instruction being updated to application program for receiving client transmission,
Also include:
Receive the first version information of the application program that the client sends;
Detecting, the first version information is different from the version information of the application program of the second edition
When, download link is sent to the client, sent to described by the download link for the client
The request instruction that application program is updated.
Further, the update method of the application program also includes:
The version information of the application program of the second edition is sent to the client, makes the client exist
The first version information is revised as into answering for the second edition after completing the renewal to the application program
With the version information of program.
The update method of application program provided in an embodiment of the present invention, can be according to the application program of first version
Difference is generated with having discrepant sub-pictures in the application program of the second edition and describes file, and according to difference
Description file realizes the renewal of the application program to first version, so as to greatly reduce the volume of updated data package,
Network bandwidth resources are effectively reduced, and improves renewal efficiency;According to the sub-pictures of increased sub-pictures or deletion
To generate picture differential file, the picture in the application program of first version is made to increase or delete sub-pictures, it is real
The now renewal to the application program of first version, so as to eliminate the redundancy in updating, saves network flow
Amount.
Accordingly, the present invention also provides a kind of updating device and system of application program, can realize above-mentioned reality
Apply all flow processs of the update method of application program in example.
Referring to Fig. 6, it is that the flow process of one embodiment of the updating device of the application program that the present invention is provided is illustrated
Figure, including:
Instruction sending module 61, for sending the request instruction being updated to application program to server;Institute
Stating request instruction includes the first version information of the application program;
File reception module 62, for receiving corresponding to the first version information of the server feedback
Difference describes file;And,
Update module 63, describes file for installing the difference, by the application program update of first version
For the application program of the second edition;Wherein, the difference describes file includes picture differential file, the figure
Piece differential file is the server according to the picture in the application program of the first version and the second edition
What is obtained after picture contrast in this application program has discrepant sub-pictures to generate;The first edition
Picture in this application program and the picture in the application program of the second edition are respectively by multiple sub-pictures
It is spliced.
In one preferred embodiment, the update module is specifically included:
Picture update unit, for according to the picture differential file, the application program to the first version
In picture processed, the application program update by the first version is the application of the second edition
Program.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
It is the server according to the text in the application program of the first version and described to state text differential file
The difference text that obtains after transcription comparison in the application program of two versions is generating;
The update module is specifically included:
Picture update unit, for according to the picture differential file, the application program to the first version
In picture processed, and,
Text updating block, for according to the text differential file, the application program to the first version
In text processed, the application program update by the first version is the application of the second edition
Program.
In one preferred embodiment, the discrepant sub-pictures of the tool are the application of the second edition
Picture in program relative to the picture in the application program of the first version increase it is at least one first sub
Picture;The picture differential file include first sub-pictures, first sub-pictures addition instruction and
The positional information of each sub-pictures in the picture of the application program of the second edition.
As shown in fig. 7, the picture update unit is specifically included:
Increase subelement 71, for instructing in the first version according to the addition in the picture differential file
Application program picture in increase by first sub-pictures, obtain the first intermediate picture;And,
First adjustment subelement 72, for according to the positional information in the picture differential file, to described the
The position of each sub-pictures in one intermediate picture is adjusted, and obtains in the application program of the second edition
Picture.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one second deleted with the picture in application program of the picture in program relative to the first version
Sub-pictures;The picture differential file includes the deletion instruction of second sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program.
As shown in figure 8, the picture update unit is specifically included:
Subelement 81 is deleted, for instructing according to the deletion in the picture differential file, described first is deleted
Second sub-pictures in the picture of the application program of version, obtain the second intermediate picture;And,
Second adjustment subelement 82, for according to the positional information in the picture differential file, to described the
The position of each sub-pictures in two intermediate pictures is adjusted, and obtains in the application program of the second edition
Picture.
Another preferred embodiment in, the discrepant sub-pictures of the tool be the second edition should
At least one first increased with the picture in application program of the picture in program relative to the first version
Sub-pictures and at least one second sub-pictures deleted;The picture differential file include first sub-pictures,
Addition instruction, the deletion instruction of second sub-pictures and the answering for the second edition of first sub-pictures
With the positional information of each sub-pictures in the picture of program.
As shown in figure 9, the picture update unit is specifically included:
Change subelement 91, for being instructed in the first version according to the addition in the picture differential file
Application program picture in increase by first sub-pictures, and, according in the picture differential file
Second sub-pictures in the picture of the application program that the first version is deleted in instruction are deleted, the 3rd is obtained
Intermediate picture;And,
3rd adjustment unit 92, for according to the positional information in the picture differential file, to the described 3rd
The position of each sub-pictures in intermediate picture is adjusted, and obtains in the application program of the second edition
Picture.
Further, the updating device of the application program also includes:
Information sending module, for the first version information of the application program is sent to the server;With
And,
Download link receiver module, for receiving the download link of the server feedback, the download link
For sending the request instruction being updated to the application program to the server;The download link is
The server is detecting the version information of the first version information and the application program of the second edition
Asynchronously feed back.
Further, the updating device of the application program also includes:
Information receiving module, for receiving the version of the application program of the second edition that the server sends
This information;And,
Modified module, for after the renewal to the application program is completed, by the first version information
It is revised as the version information of the application program of the second edition.
Referring to Figure 10, it is that the flow process of second embodiment of the updating device of the application program that the present invention is provided is shown
It is intended to, including:
Command reception module 101, for receiving referring to the request that application program is updated for client transmission
Order;The request instruction includes the first version information of the application program;And,
File feedback module 102, describes file for obtaining the difference corresponding to the first version information, and
The difference is described into file and feeds back to the client, made the client that the difference to be installed and describe file
With the application program by the application program update of first version as the second edition;Wherein, the difference description text
During part includes that picture differential file, the picture differential file are the application program according to the first version
The tool discrepant sub-pictures next life obtained after picture contrast in picture and the application program of the second edition
Into;Picture in the application program of the first version and the picture in the application program of the second edition
It is spliced by multiple sub-pictures respectively.
In one preferred embodiment, the file feedback module is specifically for obtaining the first version
Picture differential file corresponding to information, and the picture differential file is fed back to into the client, make institute
State at the picture in application program of the client according to the picture differential file to the first version
Reason, the application program update by the first version is the application program of the second edition.
Another preferred embodiment in, the difference describe file also include text differential file;Institute
State text differential file be text in the application program according to the first version with the second edition should
Generated with the difference text obtained after the transcription comparison in program.
The file feedback module is specifically for obtaining the picture differential file corresponding to the first version information
With text differential file, and the picture differential file and the text differential file are fed back to into the client
End, makes the picture in application program of the client according to the picture differential file to the first version
Processed, and, according to the text in application program of the text differential file to the first version
Processed, the application program update by the first version is the application program of the second edition.
Further, the discrepant sub-pictures of the tool are the picture phase in the application program of the second edition
For at least one first sub-pictures that the picture in the application program of the first version increases;The picture
Differential file includes first sub-pictures, the addition instruction of first sub-pictures and the second edition
The positional information of each sub-pictures in the picture of application program;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one second sub-pictures that picture in the application program of the first version is deleted;The picture difference
File includes that deleting for second sub-pictures is each in the picture instructed with the application program of the second edition
The positional information of individual sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one first sub-pictures and at least the one of deletion that picture in the application program of the first version increases
Individual second sub-pictures;The picture differential file includes that first sub-pictures, first sub-pictures add
Plus it is each in instruction, the picture of the application program of the deletion instruction and the second edition of second sub-pictures
The positional information of individual sub-pictures.
Further, the updating device of the application program also includes:
Version information receiver module, for receiving the first version of the application program that the client sends
Information;And,
Download link sending module, for should detect the first version information and the second edition
With the version information of program it is different when, send download link to the client, pass through institute for the client
State download link and send the request instruction being updated to the application program.
Further, the updating device of the application program also includes:
Version information sending module, for the version of the application program of the second edition is sent to the client
This information, makes the client after the renewal to the application program is completed by the first version information
It is revised as the version information of the application program of the second edition.
Referring to Figure 11, it is that the flow process of one embodiment of the more new system of the application program that the present invention is provided is illustrated
Figure, including client 111 and server 112;
The client 111 is configured with the updating device of the application program in above-mentioned first embodiment, and here is not
Describe in detail again.
The server 112 is configured with the updating device of the application program in above-mentioned second embodiment, and here is not
Describe in detail again.
The updating device and system of application program provided in an embodiment of the present invention, being capable of answering according to first version
Difference is generated with having discrepant sub-pictures in application program of the program with the second edition and describes file, and root
The renewal that file realizes the application program to first version is described according to difference, so as to greatly reduce updated data package
Volume, effectively reduce network bandwidth resources, and improve and update efficiency;According to increased sub-pictures or deletion
Sub-pictures generating picture differential file, the picture in the application program of first version is increased or is deleted son
Picture, realizes the renewal of the application program to first version, so as to eliminate the redundancy in updating, saves
Network traffics.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, this
A little improvements and modifications are also considered as protection scope of the present invention.
Claims (29)
1. a kind of update method of application program, it is characterised in that include:
The request instruction being updated to application program is sent to server;The request instruction includes described answering
With the first version information of program;
Receive the difference corresponding to the first version information of the server feedback and describe file;
The difference is installed and describes file, with the application by the application program update of first version as the second edition
Program;Wherein, the difference describes file includes picture differential file, and the picture differential file is described
In application program of the server according to the picture in the application program of the first version with the second edition
What is obtained after picture contrast has discrepant sub-pictures to generate;In the application program of the first version
Picture in the application program of picture and the second edition is spliced by multiple sub-pictures respectively.
2. the update method of application program as claimed in claim 1, it is characterised in that described in the installation
Difference describes file, with the application program by the application program update of first version as the second edition, concrete to wrap
Include:
According to the picture differential file, the picture in the application program of the first version is processed,
With by application program that the application program update of the first version is the second edition.
3. the update method of application program as claimed in claim 1, it is characterised in that the difference description
File also includes text differential file;The text differential file is the server according to the first version
Application program in text and the application program of the second edition in transcription comparison after the difference text that obtains
Original generation;
It is described the difference is installed describes file, with by the application program update of first version as the second edition
Application program, specifically includes:
According to the picture differential file, the picture in the application program of the first version is processed,
And, according to the text differential file, the text in the application program of the first version is processed,
With by application program that the application program update of the first version is the second edition.
4. the update method of application program as claimed in claim 2 or claim 3, it is characterised in that described to have
The sub-pictures of difference are application of the picture in the application program of the second edition relative to the first version
At least one first sub-pictures that picture in program increases;The picture differential file includes that described first is sub
Picture, first sub-pictures addition instruction and the second edition application program picture in each
The positional information of sub-pictures;
It is described according to the picture differential file, at the picture in the application program of the first version
Reason, specifically includes:
According to the addition instruction in the picture differential file in the picture of the application program of the first version
Increase by first sub-pictures, obtain the first intermediate picture;
According to the positional information in the picture differential file, to each subgraph in first intermediate picture
The position of piece is adjusted, and obtains the picture in the application program of the second edition.
5. the update method of application program as claimed in claim 2 or claim 3, it is characterised in that described to have
The sub-pictures of difference are application of the picture in the application program of the second edition relative to the first version
At least one second sub-pictures that picture in program is deleted;The picture differential file includes that described second is sub
The position letter of each sub-pictures in the picture of the application program of the deletion instruction and the second edition of picture
Breath;
It is described according to the picture differential file, at the picture in the application program of the first version
Reason, specifically includes:
Instructed according to the deletion in the picture differential file, delete the figure of the application program of the first version
Second sub-pictures in piece, obtain the second intermediate picture;
According to the positional information in the picture differential file, to each subgraph in second intermediate picture
The position of piece is adjusted, and obtains the picture in the application program of the second edition.
6. the update method of application program as claimed in claim 2 or claim 3, it is characterised in that described to have
The sub-pictures of difference are application of the picture in the application program of the second edition relative to the first version
At least one first sub-pictures and at least one second sub-pictures deleted that picture in program increases;It is described
Picture differential file includes first sub-pictures, the addition instruction of first sub-pictures, described second sub
The position letter of each sub-pictures in the picture of the application program of the deletion instruction and the second edition of picture
Breath;
It is described according to the picture differential file, at the picture in the application program of the first version
Reason, specifically includes:
According to the addition instruction in the picture differential file in the picture of the application program of the first version
Increase by first sub-pictures, and, described the is deleted according to the deletion instruction in the picture differential file
Second sub-pictures in the picture of the application program of one version, obtain the 3rd intermediate picture;
According to the positional information in the picture differential file, to each subgraph in the 3rd intermediate picture
The position of piece is adjusted, and obtains the picture in the application program of the second edition.
7. the update method of application program as claimed in claim 1, it is characterised in that described to service
Before device sends the request instruction being updated to application program, also include:
The first version information of the application program is sent to the server;
The download link of the server feedback is received, the download link is for right to server transmission
The request instruction that the application program is updated;The download link be the server detect it is described
What first version information was fed back when different from the version information of the application program of the second edition.
8. the update method of application program as claimed in claim 1, it is characterised in that the application program
Update method also include:
Receive the version information of the application program of the second edition that the server sends;
After the renewal to the application program is completed, the first version information is revised as into described second
The version information of the application program of version.
9. a kind of update method of application program, it is characterised in that include:
Receive the request instruction being updated to application program that client sends;The request instruction includes institute
State the first version information of application program;
Obtain the difference corresponding to the first version information and describe file, and the difference is described into file reverse
Feed the client, make the client that the difference to be installed and file is described with by the application journey of first version
Sequence is updated to the application program of the second edition;Wherein, the difference describes file includes picture differential file,
The picture differential file is picture and the second edition in the application program according to the first version
What is obtained after picture contrast in application program has discrepant sub-pictures to generate;The first version
Picture in application program and the picture in the application program of the second edition are spliced by multiple sub-pictures respectively
Form.
10. the update method of application program as claimed in claim 9, it is characterised in that the acquisition institute
State the difference corresponding to first version information and describe file, and the difference is described into file and feed back to the visitor
Family end, make the client install the difference describe file with by the application program update of first version as the
The application program of two versions, specifically includes:
The picture differential file corresponding to the first version information is obtained, and will be the picture differential file anti-
Feed the client, make application of the client according to the picture differential file to the first version
Picture in program is processed, and the application program update by the first version is the second edition
Application program.
The update method of 11. application programs as claimed in claim 9, it is characterised in that the difference is retouched
Stating file also includes text differential file;The text differential file is the application journey according to the first version
The difference text obtained after transcription comparison in text in sequence and the application program of the second edition is generating
's.
The difference obtained corresponding to the first version information describes file, and will be difference description literary
Part feeds back to the client, makes the client install the difference and describes file with answering first version
The application program of the second edition is updated to program, is specifically included:
The picture differential file and text differential file corresponding to the first version information is obtained, and will be described
Picture differential file and the text differential file feed back to the client, make the client according to described
Picture differential file is processed to the picture in the application program of the first version, and, according to described
Text differential file is processed to the text in the application program of the first version, by the first edition
This application program update is the application program of the second edition.
The update method of 12. application programs as described in claim 10 or 11, it is characterised in that described
Has the picture in the application program that discrepant sub-pictures are the second edition relative to the first version
At least one first sub-pictures that picture in application program increases;The picture differential file includes described
In one sub-pictures, the picture of the application program of the addition instruction and the second edition of first sub-pictures
The positional information of each sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one second sub-pictures that picture in the application program of the first version is deleted;The picture difference
File includes that deleting for second sub-pictures is each in the picture instructed with the application program of the second edition
The positional information of individual sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one first sub-pictures and at least the one of deletion that picture in the application program of the first version increases
Individual second sub-pictures;The picture differential file includes that first sub-pictures, first sub-pictures add
Plus it is each in instruction, the picture of the application program of the deletion instruction and the second edition of second sub-pictures
The positional information of individual sub-pictures.
The update method of 13. application programs as claimed in claim 9, it is characterised in that in the reception
Before the request instruction being updated to application program that client sends, also include:
Receive the first version information of the application program that the client sends;
Detecting, the first version information is different from the version information of the application program of the second edition
When, download link is sent to the client, sent to described by the download link for the client
The request instruction that application program is updated.
The update method of 14. application programs as claimed in claim 9, it is characterised in that the application journey
The update method of sequence also includes:
The version information of the application program of the second edition is sent to the client, makes the client exist
The first version information is revised as into answering for the second edition after completing the renewal to the application program
With the version information of program.
15. a kind of updating devices of application program, it is characterised in that include:
Instruction sending module, for sending the request instruction being updated to application program to server;It is described
Request instruction includes the first version information of the application program;
File reception module, for receiving the difference corresponding to the first version information of the server feedback
Different description file;And,
Update module, describes file for installing the difference, by the application program update of first version is
The application program of the second edition;Wherein, the difference describes file includes picture differential file, the picture
Differential file is the server according to the picture in the application program of the first version and the second edition
Application program in picture contrast after the discrepant sub-pictures of tool that obtain generating;The first version
Application program in picture and the second edition application program in picture spelled by multiple sub-pictures respectively
Connect and form.
The updating device of 16. application programs as claimed in claim 15, it is characterised in that the renewal mould
Block is specifically included:
Picture update unit, for according to the picture differential file, the application program to the first version
In picture processed, the application program update by the first version is the application of the second edition
Program.
The updating device of 17. application programs as claimed in claim 15, it is characterised in that the difference is retouched
Stating file also includes text differential file;The text differential file is the server according to the first edition
The difference obtained after transcription comparison in text in this application program and the application program of the second edition
Text is generating;
The update module is specifically included:
Picture update unit, for according to the picture differential file, the application program to the first version
In picture processed, and,
Text updating block, for according to the text differential file, the application program to the first version
In text processed, the application program update by the first version is the application of the second edition
Program.
The updating device of 18. application programs as described in claim 16 or 17, it is characterised in that described
Has the picture in the application program that discrepant sub-pictures are the second edition relative to the first version
At least one first sub-pictures that picture in application program increases;The picture differential file includes described
In one sub-pictures, the picture of the application program of the addition instruction and the second edition of first sub-pictures
The positional information of each sub-pictures;
The picture update unit is specifically included:
Increase subelement, for instructing in the first version according to the addition in the picture differential file
Increase by first sub-pictures in the picture of application program, obtain the first intermediate picture;And,
First adjustment subelement, for according to the positional information in the picture differential file, to described first
The position of each sub-pictures in intermediate picture is adjusted, and obtains in the application program of the second edition
Picture.
The updating device of 19. application programs as described in claim 16 or 17, it is characterised in that described
Has the picture in the application program that discrepant sub-pictures are the second edition relative to the first version
At least one second sub-pictures that picture in application program is deleted;The picture differential file includes described
The position of each sub-pictures in the picture of the application program of the deletion instruction and the second edition of two sub-pictures
Information;
The picture update unit is specifically included:
Subelement is deleted, for instructing according to the deletion in the picture differential file, the first edition is deleted
Second sub-pictures in the picture of this application program, obtain the second intermediate picture;And,
Second adjustment subelement, for according to the positional information in the picture differential file, to described second
The position of each sub-pictures in intermediate picture is adjusted, and obtains in the application program of the second edition
Picture.
The updating device of 20. application programs as described in claim 16 or 17, it is characterised in that described
Has the picture in the application program that discrepant sub-pictures are the second edition relative to the first version
At least one first sub-pictures and at least one second sub-pictures deleted that picture in application program increases;
The picture differential file include first sub-pictures, the addition instruction of first sub-pictures, described the
The position of each sub-pictures in the picture of the application program of the deletion instruction and the second edition of two sub-pictures
Information;
The picture update unit is specifically included:
Change subelement, for being instructed in the first version according to the addition in the picture differential file
Increase by first sub-pictures in the picture of application program, and, according to deleting in the picture differential file
Except second sub-pictures in the picture of the application program of the first version are deleted in instruction, obtain in the 3rd
Between picture;And,
3rd adjustment unit, for according to the positional information in the picture differential file, in the described 3rd
Between the position of each sub-pictures in picture be adjusted, obtain the figure in the application program of the second edition
Piece.
The updating device of 21. application programs as claimed in claim 15, it is characterised in that the application journey
The updating device of sequence also includes:
Information sending module, for the first version information of the application program is sent to the server;With
And,
Download link receiver module, for receiving the download link of the server feedback, the download link
For sending the request instruction being updated to the application program to the server;The download link is
The server is detecting the version information of the first version information and the application program of the second edition
Asynchronously feed back.
The updating device of 22. application programs as claimed in claim 15, it is characterised in that the application journey
The updating device of sequence also includes:
Information receiving module, for receiving the version of the application program of the second edition that the server sends
This information;And,
Modified module, for after the renewal to the application program is completed, by the first version information
It is revised as the version information of the application program of the second edition.
23. a kind of updating devices of application program, it is characterised in that include:
Command reception module, for receiving the request instruction being updated to application program of client transmission;
The request instruction includes the first version information of the application program;And,
File feedback module, describes file for obtaining the difference corresponding to the first version information, and will
The difference describes file and feeds back to the client, make the client install the difference file is described with
By the application program that the application program update of first version is the second edition;Wherein, the difference describes file
Including picture differential file, the picture differential file is the figure in the application program according to the first version
The discrepant sub-pictures of tool obtained after picture contrast in piece and the application program of the second edition are generating
's;Picture in the application program of the first version and the picture in the application program of the second edition point
It is not spliced by multiple sub-pictures.
The updating device of 24. application programs as claimed in claim 23, it is characterised in that the file reverse
Feedback module specifically for obtaining the picture differential file corresponding to the first version information, and by the picture
Differential file feeds back to the client, makes the client according to the picture differential file to described first
Picture in the application program of version is processed, with by the application program update of the first version as described
The application program of the second edition.
The updating device of 25. application programs as claimed in claim 23, it is characterised in that the difference is retouched
Stating file also includes text differential file;The text differential file is the application journey according to the first version
The difference text obtained after transcription comparison in text in sequence and the application program of the second edition is generating
's.
The file feedback module is specifically for obtaining the picture differential file corresponding to the first version information
With text differential file, and the picture differential file and the text differential file are fed back to into the client
End, makes the picture in application program of the client according to the picture differential file to the first version
Processed, and, according to the text in application program of the text differential file to the first version
Processed, the application program update by the first version is the application program of the second edition.
The updating device of 26. application programs as described in claim 24 or 25, it is characterised in that described
Has the picture in the application program that discrepant sub-pictures are the second edition relative to the first version
At least one first sub-pictures that picture in application program increases;The picture differential file includes described
In one sub-pictures, the picture of the application program of the addition instruction and the second edition of first sub-pictures
The positional information of each sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one second sub-pictures that picture in the application program of the first version is deleted;The picture difference
File includes that deleting for second sub-pictures is each in the picture instructed with the application program of the second edition
The positional information of individual sub-pictures;
Or, the discrepant sub-pictures of the tool be picture in the application program of the second edition relative to
At least one first sub-pictures and at least the one of deletion that picture in the application program of the first version increases
Individual second sub-pictures;The picture differential file includes that first sub-pictures, first sub-pictures add
Plus it is each in instruction, the picture of the application program of the deletion instruction and the second edition of second sub-pictures
The positional information of individual sub-pictures.
The updating device of 27. application programs as claimed in claim 23, it is characterised in that the application journey
The updating device of sequence also includes:
Version information receiver module, for receiving the first version of the application program that the client sends
Information;And,
Download link sending module, for should detect the first version information and the second edition
With the version information of program it is different when, send download link to the client, pass through institute for the client
State download link and send the request instruction being updated to the application program.
The updating device of 28. application programs as claimed in claim 23, it is characterised in that the application journey
The updating device of sequence also includes:
Version information sending module, for the version of the application program of the second edition is sent to the client
This information, makes the client after the renewal to the application program is completed by the first version information
It is revised as the version information of the application program of the second edition.
The more new system of 29. a kind of application programs, it is characterised in that including client and server;
Updating device of the client configuration just like the application program described in any one of claim 15 to 22;
Updating device of the server configures just like the application program described in any one of claim 23 to 28.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510627421.1A CN106557335A (en) | 2015-09-28 | 2015-09-28 | The update method of application program, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510627421.1A CN106557335A (en) | 2015-09-28 | 2015-09-28 | The update method of application program, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106557335A true CN106557335A (en) | 2017-04-05 |
Family
ID=58416542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510627421.1A Pending CN106557335A (en) | 2015-09-28 | 2015-09-28 | The update method of application program, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106557335A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109063067A (en) * | 2018-07-23 | 2018-12-21 | 五八有限公司 | Picture update method, picture updating device, server, terminal and storage medium |
CN109450977A (en) * | 2018-10-09 | 2019-03-08 | 阿里巴巴集团控股有限公司 | Data cached push, update method and device |
CN109815349A (en) * | 2018-12-20 | 2019-05-28 | 维沃移动通信有限公司 | A kind of information acquisition method and terminal device |
CN111488410A (en) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | NDS data differential processing method, NDS data differential processing device, NDS data updating device and electronic equipment |
CN111523026A (en) * | 2020-04-15 | 2020-08-11 | 咪咕文化科技有限公司 | User portrait updating method, system, network equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077161A (en) * | 2014-06-19 | 2014-10-01 | 无锡天脉聚源传媒科技有限公司 | Client application updating method and device |
CN104660549A (en) * | 2013-11-19 | 2015-05-27 | 深圳市腾讯计算机系统有限公司 | Identity verification method and device |
CN104657170A (en) * | 2013-11-25 | 2015-05-27 | 腾讯科技(上海)有限公司 | Data updating method, device and system |
-
2015
- 2015-09-28 CN CN201510627421.1A patent/CN106557335A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660549A (en) * | 2013-11-19 | 2015-05-27 | 深圳市腾讯计算机系统有限公司 | Identity verification method and device |
CN104657170A (en) * | 2013-11-25 | 2015-05-27 | 腾讯科技(上海)有限公司 | Data updating method, device and system |
CN104077161A (en) * | 2014-06-19 | 2014-10-01 | 无锡天脉聚源传媒科技有限公司 | Client application updating method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109063067A (en) * | 2018-07-23 | 2018-12-21 | 五八有限公司 | Picture update method, picture updating device, server, terminal and storage medium |
CN109450977A (en) * | 2018-10-09 | 2019-03-08 | 阿里巴巴集团控股有限公司 | Data cached push, update method and device |
CN109450977B (en) * | 2018-10-09 | 2021-12-14 | 创新先进技术有限公司 | Cache data pushing and updating method and device |
CN109815349A (en) * | 2018-12-20 | 2019-05-28 | 维沃移动通信有限公司 | A kind of information acquisition method and terminal device |
CN111488410A (en) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | NDS data differential processing method, NDS data differential processing device, NDS data updating device and electronic equipment |
CN111488410B (en) * | 2019-01-25 | 2023-05-09 | 阿里巴巴集团控股有限公司 | NDS data differential processing method, NDS data differential processing device, NDS data updating device and electronic equipment |
CN111523026A (en) * | 2020-04-15 | 2020-08-11 | 咪咕文化科技有限公司 | User portrait updating method, system, network equipment and storage medium |
CN111523026B (en) * | 2020-04-15 | 2023-10-17 | 咪咕文化科技有限公司 | User portrait updating method, system, network equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106557335A (en) | The update method of application program, apparatus and system | |
CN102821161B (en) | A kind of network security auditing method, Apparatus and system | |
CN102355500B (en) | Service push method and device | |
CN102129378B (en) | A kind of software menu updating method and device | |
CN102970362B (en) | The method of a kind of high in the clouds data sharing and device | |
CN105227594A (en) | Document transmission method, Apparatus and system | |
CN104486388A (en) | Accessing method and device of cloud storage file | |
CN201886473U (en) | Configuration file-updating system, configuration server and application servers | |
CN104252374A (en) | Program control method and device on basis of architecture change | |
CN102098330A (en) | Method, device and system for asynchronous transmission based on json data format | |
CN104252373A (en) | Method and device for clearing application data | |
CN102077553A (en) | Method, apparatus and computer program product for providing context triggered distribution of context models | |
CN102708192A (en) | Method, system and device for sharing documents | |
CN104935443A (en) | Multicast data processing method, device and system, transmitting equipment, and receiving client | |
CN107018189A (en) | Migrate application data and receive the method and device of application data | |
CN102185701A (en) | Method and system for realizing group information interaction | |
CN113572864A (en) | Data processing method, network element equipment and readable storage medium | |
JP2009089003A (en) | Communication system, base station device, and terminal device | |
CN102647470A (en) | Cloud download method in on-line application platform and on-line application platform system | |
WO2017051665A1 (en) | Communication processing system, group message processing method, communication processing apparatus and its control method and control program | |
CN102148839A (en) | Method, device and system for managing FTP (file transfer protocol) server | |
CN105635222A (en) | Cloud terminal upgrading method and system, network management server and proxy server | |
CN102332989A (en) | Method for sending configuration information and service boards | |
CN106790347A (en) | A kind of large-scale concurrent data forwarding method based on netty | |
CN102256211A (en) | Group-based method and system for application realization of M2M terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170405 |