Summary of the invention
The technical problem to be solved in the present invention is that needing volume for the version information in the application software package of the prior art
Outer addition field marks the defect for making application software package increase redundancy, provide it is a kind of based on mobile terminal using soft
Part packet version updating processing method and system;It is intended to reduce the version information field in application software package to save application software package
Capacity, faster, flow more saves speed, provides users with the convenient significantly when making downloading application software.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of application software package version updating processing method based on mobile terminal, wherein the following steps are included:
The sequence of application software each in the application software package of downloading is converted into corresponding symbol sebolic addressing in advance and stored by S,
The symbol sebolic addressing represents the version information of application software package;
A represents the symbol sebolic addressing of version information in acquisition for mobile terminal application software package;
B, when the version information of the application software package of downloading is newly when the version information of current mobile terminal application software package,
Then control update application software package.
The application software package version updating processing method based on mobile terminal, wherein step A is specifically included:
A1, it obtains each application software in application software package and puts in order, search each application software generation in application software package
The symbol of table;
Each application software sequence is converted into symbol sebolic addressing by A2.
The application software package version updating processing method based on mobile terminal, wherein the step B is specifically included:
B1 is answered as what is stored in the rule predetermined relatively symbol sebolic addressing and mobile terminal of the application software package of downloading
The symbol sebolic addressing represented with software package version information;
B2, when the symbol sebolic addressing of the application software package of downloading is greater than the application software package version information stored in mobile terminal
The symbol sebolic addressing of representative then determines the version information of the application software package of downloading newly in the version of current mobile terminal application software package
This information;
B3, if the version information of the application software package of downloading newly in the version information of current mobile terminal application software package,
Update application software package is then controlled, and symbol sebolic addressing is replaced to the version information of the application software package stored in mobile terminal.
The application software package version updating processing method based on mobile terminal, wherein the step B2 further include:
B21, when the symbol sebolic addressing of the application software package of downloading is less than or equal to the application software package stored in mobile terminal
The symbol sebolic addressing that version information represents then determines the version information of the application software package of downloading not newly in current mobile terminal application
The version information of software package, then control and do not update application software package.
The application software package version updating processing method based on mobile terminal, wherein the version of all application software packages
This is provided with ten's digit, and the big then version of number is new, and the small then version of number is old.
A kind of application software package version updating processing system based on mobile terminal, wherein include:
Module is preset, it is corresponding for being in advance converted into the sequence of application software each in the application software package of downloading
Symbol sebolic addressing simultaneously stores, and the symbol sebolic addressing represents the version information of application software package;
Module is obtained, for controlling the symbol sebolic addressing for representing version information in acquisition for mobile terminal application software package;
Control module is updated, the version information for the application software package when downloading is newly in current mobile terminal application software
When the version information of packet, then update application software package is controlled.
The application software package version updating processing system based on mobile terminal, wherein obtaining module includes:
The software acquiring unit that sorts for obtaining putting in order for each application software in application software package it is soft to search application
The symbol that each application software represents in part packet;
Each application software sequence is converted into symbol sebolic addressing.
The application software package version updating processing system based on mobile terminal, wherein the update control module packet
It includes:
Edition comparison unit, for by the rule predetermined relatively symbol sebolic addressing of the application software package of downloading and movement
The symbol sebolic addressing that the application software package version information stored in terminal represents;
Judging unit, the symbol sebolic addressing for the application software package when downloading are greater than the application software stored in mobile terminal
The symbol sebolic addressing that packet version information represents then determines the version information of the application software package of downloading newly in current mobile terminal application
The version information of software package;
Software upgrading control unit, if the version information of the application software package for downloading is newly in current mobile terminal application
The version information of software package then controls update application software package, and will be stored in symbol sebolic addressing replacement mobile terminal using soft
The version information of part packet;
Software constantly updates control unit, when the symbol sebolic addressing of the application software package of downloading is less than or equal in mobile terminal
The symbol sebolic addressing that the application software package version information of storage represents, then determine the version information of the application software package of downloading not newly in
The version information of current mobile terminal application software package, then control and do not update application software package.
The application software package version updating processing system based on mobile terminal, wherein the version of all application software packages
This is provided with ten's digit, and the big then version of number is new, and the small then version of number is old.
The utility model has the advantages that application software package version updating processing method provided by the present invention based on mobile terminal and being
System, the method are put in order by obtaining each software in application software package;Search what each software in application software package represented
Symbol;Each software sequence is converted into symbol sebolic addressing;When version information is newly when the version of current phone application software package, update
Application software package;To reduce the version information field in application software package to save the capacity of application software package, answer downloading
Faster with speed when software, flow more saves.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
Referring to Figure 1, Fig. 1 is the preferable reality of the application software package version updating processing method the present invention is based on mobile terminal
Apply the flow chart of example.As shown in Figure 1, a kind of application software package version updating processing method based on mobile terminal of the present invention compared with
Good embodiment, as shown in Figure 1, comprising the following steps:
The sequence of application software each in the application software package of downloading is converted into corresponding symbol sebolic addressing in advance by step S100
And store, the symbol sebolic addressing represents the version information of application software package.
In the embodiment of the present invention, first downloading application software packet is needed, the application software package is soft to include a plurality of applications
The packet of part, and the version information of application software package is formed with software putting in order in software package.
And the sequence of application software each in the application software package of downloading is converted into corresponding symbol sebolic addressing and is stored, it is described
Symbol sebolic addressing represents the version of application software package.
The for example software in application software package are as follows: software 1, software 2, software 3, software 4, software 5, software 6, corresponding symbol
It stores number in mobile phone as follows:
The corresponding symbol of software 1 is 1;
The corresponding symbol of software 2 is 2;
The corresponding symbol of software 3 is 4;
The corresponding symbol of software 4 is 3;
The corresponding symbol of software 5 is 5;
The corresponding symbol of software 6 is 6.
Step S200 represents the symbol sebolic addressing of version information in acquisition for mobile terminal application software package.
It puts in order for example, obtaining each application software in application software package, searches each application software in application software package
The symbol of representative;Each application software sequence is converted into symbol sebolic addressing.
For example, in the application software package obtained each software put in order it is as follows:
Software 2, software 3, software 1, software 4, software 5, software 6;
It is then corresponding to be converted into symbol sebolic addressing are as follows: 241356;This symbol sebolic addressing is the version information of application software package.
Step S300, when downloading application software package version information newly in the version of current mobile terminal application software package
When information, then update application software package is controlled.
For example, stored in the symbol sebolic addressing and mobile terminal of the application software package relatively downloaded by rule predetermined
The symbol sebolic addressing that application software package version information represents;It is deposited when the symbol sebolic addressing of the application software package of downloading is greater than in mobile terminal
The symbol sebolic addressing that the application software package version information of storage represents then determines the new Yu Dangqian of version information of the application software package of downloading
The version information of application software of mobile terminal packet;Wherein, the version of all application software packages is provided with ten's digit, number
Big then version is new, the small then version of number is old.
If the version information of the application software package of downloading is controlled newly in the version information of current mobile terminal application software package
System updates application software package, and symbol sebolic addressing is replaced to the version information of the application software package stored in mobile terminal.
And when the symbol sebolic addressing of the application software package of downloading is less than or equal to the application software package version stored in mobile terminal
The symbol sebolic addressing of this representative then determines the version information of the application software package of downloading not newly in current mobile terminal application software package
Version information, then control and do not update application software package.
Referring to Fig. 2, Fig. 2 is specifically answering for the application software package version updating processing method the present invention is based on mobile terminal
With the flow chart of embodiment, described method includes following steps for this concrete application embodiment:
S1 obtains each software in application software package and puts in order;
Wherein, user needs downloading application software packet before this step S1, the application software package be include a plurality of
The packet of application software, and the version information of application software package is formed with software putting in order in software package.
S2 searches the symbol that each software represents in application software package;
Wherein, the step S2 stores in advance the symbol of application software representative, for example in application software package in mobile phone
Software are as follows: software 1, software 2, software 3, software 4, software 5, software 6, their corresponding symbols store as follows in mobile phone:
The corresponding symbol of software 1 is 1;
The corresponding symbol of software 2 is 2;
The corresponding symbol of software 3 is 4;
The corresponding symbol of software 4 is 3;
The corresponding symbol of software 5 is 5;
The corresponding symbol of software 6 is 6.
S3 is converted into symbol sebolic addressing by the sequence of each software obtained in step S1;
Connect the example in S2, for example, in application software package obtained in step S1 each software put in order it is as follows:
Software 2, software 3, software 1, software 4, software 5, software 6;
It is then corresponding to be converted into symbol sebolic addressing are as follows: 241356;This symbol sebolic addressing is the version of application software package.
S4, by the application software package stored in symbol sebolic addressing obtained in regular comparison step S3 predetermined and mobile phone
Version;
In the present embodiment, it is the simplest regular to be compared by Digital size to pre-define rule;It is all to answer
It is provided with the version of software package with ten's digit, the big then version of number is new, and the small then version of number is old;For example mobile phone stores
Application software package version is 123456, and the version of application software package obtained in step S3 is 241356, then the application software
The version of packet newly in mobile phone application software package currently in use version.
S5 updates application software package if the application software package version newly stored in mobile phone, and symbol sebolic addressing is replaced
The Software Edition stored in mobile phone;Application software package is updated if the application software package version not stored in mobile phone newly,
Application software package is not updated then.
Therefore a kind of application software package version flag method for saving capacity of the present invention, the method pass through acquisition
Each software puts in order in application software package;Search the symbol that each software represents in application software package;Each software sequence is turned
Change symbol sebolic addressing into;When version information is newly when the version of current phone application software package, application software package is updated;To reduce
Version information field in application software package to save the capacity of application software package, when making downloading application software speed faster, stream
Amount more saves.
Based on above method embodiment, the application software package version updating based on mobile terminal that the present invention also provides a kind of
Processing system, as shown in figure 3, the system comprises:
Module 210 is preset, for being in advance converted into the sequence of application software each in the application software package of downloading pair
The symbol sebolic addressing answered and storage, the symbol sebolic addressing represent the version information of application software package;As detailed above.
Module 220 is obtained, for controlling the symbol sebolic addressing for representing version information in acquisition for mobile terminal application software package;Tool
Body is as described above.
Control module 230 is updated, the version information for the application software package when downloading is newly in current mobile terminal application
When the version information of software package, then update application software package is controlled;As detailed above.
Further, the application software package version updating processing system based on mobile terminal, wherein obtain module packet
It includes:
The software acquiring unit that sorts for obtaining putting in order for each application software in application software package it is soft to search application
The symbol that each application software represents in part packet;As detailed above.
Each application software sequence is converted into symbol sebolic addressing;As detailed above.
The application software package version updating processing system based on mobile terminal, wherein the update control module packet
It includes:
Edition comparison unit, for by the rule predetermined relatively symbol sebolic addressing of the application software package of downloading and movement
The symbol sebolic addressing that the application software package version information stored in terminal represents;As detailed above.
Judging unit, the symbol sebolic addressing for the application software package when downloading are greater than the application software stored in mobile terminal
The symbol sebolic addressing that packet version information represents then determines the version information of the application software package of downloading newly in current mobile terminal application
The version information of software package;As detailed above.
Software upgrading control unit, if the version information of the application software package for downloading is newly in current mobile terminal application
The version information of software package then controls update application software package, and will be stored in symbol sebolic addressing replacement mobile terminal using soft
The version information of part packet;As detailed above.
Software constantly updates control unit, when the symbol sebolic addressing of the application software package of downloading is less than or equal in mobile terminal
The symbol sebolic addressing that the application software package version information of storage represents, then determine the version information of the application software package of downloading not newly in
The version information of current mobile terminal application software package, then control and do not update application software package;As detailed above.
The application software package version updating processing system based on mobile terminal, wherein the version of all application software packages
This is provided with ten's digit, and the big then version of number is new, and the small then version of number is old;As detailed above.
In conclusion application software package version updating processing method provided by the present invention based on mobile terminal and being
System, the method are put in order by obtaining each software in application software package;Search what each software in application software package represented
Symbol;Each software sequence is converted into symbol sebolic addressing;When version information is newly when the version of current phone application software package, update
Application software package;To reduce the version information field in application software package to save the capacity of application software package, answer downloading
Faster with speed when software, flow more saves.
Certainly, those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method,
It is that related hardware (such as processor, controller etc.) can be instructed to complete by computer program, the program can store
In a computer-readable storage medium, which may include the process such as above-mentioned each method embodiment when being executed.Its
Described in storage medium can be for memory, magnetic disk, CD etc..
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.