CN107948239A - Version upgrading method and its system based on android system - Google Patents
Version upgrading method and its system based on android system Download PDFInfo
- Publication number
- CN107948239A CN107948239A CN201710959446.0A CN201710959446A CN107948239A CN 107948239 A CN107948239 A CN 107948239A CN 201710959446 A CN201710959446 A CN 201710959446A CN 107948239 A CN107948239 A CN 107948239A
- Authority
- CN
- China
- Prior art keywords
- version
- upgrade package
- server
- new
- difference
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of version upgrading method and its system based on android system, the described method comprises the following steps:Web client uploads onto the server apk file new version upgrade package;Server receive apk file new version upgrade package, and by the new version upgrade package with storage each legacy version upgrade package of the apk files one by one compared with, generation correspondence the apk file difference legacy versions version difference bag;App clients download the version difference bag of corresponding current version according to its current version from server, and complete upgrading into apk file new version upgrade package, installation new version upgrade package using current version and the version difference downloaded inclusion.Only need mobile terminal to download difference bag when using the upgrade method upgrading to can be achieved with upgrading, without downloading complete new version upgrade package, the flow of mobile terminal is greatly saved, saves the set-up time, improve installation effectiveness, splendid user experience is brought to mobile terminal client.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of version upgrading method based on android system
And its system.
Background technology
With the popularization of mobile Internet, various App come into being.The function of simple App slowly is full
The advantages of demand of user, more version iterations do not produce to meet the needs of users foot, mobile Internet is exactly portable
Property, that can't do without the generation of mobile flow naturally.It is of a relatively high to move campus network at this stage, and the upgrading of user becomes
One problem, it is matter of time that the ratio shared by flow, which surmounts voice communication, and the expense of more consumption of flow consumption is more
It is more, and version updating means that consumed flow expense, the size of common app is substantially all to be produced more than 10w, more new version
Flow user can be allowed to contradict.
Therefore, the prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of version based on android system
Upgrade method and its system, it is intended to which solving version in the prior art, frequently more mobile flow needed for upgrading brings expense to client
The problem of burden.
Technical scheme is as follows:
A kind of version upgrading method based on android system, wherein, it the described method comprises the following steps:
Web client uploads onto the server apk file new version upgrade package;
Server receives apk file new version upgrade package, and the new version upgrade package and the apk files of storage is each old
Upgrade edition upgrade pack compares one by one, generates the version difference bag of the corresponding apk file difference legacy versions;
App clients download the version difference bag of corresponding current version according to its current version from server, and utilize and work as
Preceding version and the version difference inclusion downloaded complete upgrading into apk file new version upgrade package, installation new version upgrade package.
The version upgrading method based on android system, wherein, included in the apk files new version upgrade package
The upgrade file listed in version information, updatingfile list and list.
The version upgrading method based on android system, wherein, the step Web client is by apk file new editions
This upgrade package uploads onto the server specially:Web client sends new version upgrade package reception request to server, server and connects
After receiving request, new version upgrade package is uploaded onto the server by Web client.
The version upgrading method based on android system, wherein, server receives apk file new version upgrade package
Afterwards, corresponding APl interfaces are called to be compared processing to new version upgrade package and each legacy version, the corresponding different legacy versions of generation
Version difference bag.
The version upgrading method based on android system, wherein, App clients are according to its current version from service
The version difference bag that device downloads corresponding current version is specially:
App clients send upgrade request to server, wherein, apk file current version information is included in upgrade request;
It is corresponding according to the apk file current version information searchings parsed after server receives and parses through upgrade request
Version difference bag, version difference bag is sent to App clients by client downloads mode.
The version upgrading method based on android system, wherein, believe in the version difference bag comprising new and old edition
Breath, version check the mark listed files and version is checked the mark file.
The version upgrading method based on android system, wherein, utilize current version and the version difference bag downloaded
Synthesizing apk file new version upgrade package is specially:New and old edition information, version in parsing version difference bag are checked the mark listed files
Check the mark file with version, search the Miscellaneous Documents of corresponding current version using version listed files of checking the mark, corresponding version is looked into
Single cent part is integrated into found current version respective file, generates new version upgrade package.
A kind of edition upgrading system based on android system, wherein, the system comprises:
Web client, for uploading apk file new version upgrade package;
Server, the apk file new version upgrade package for receiving Web client upload, and by the new version upgrade package
With each legacy version upgrade package of the apk files of storage one by one compared with, generate the version difference of the corresponding apk file difference legacy versions
Bag;
App clients, for downloading the version difference bag of corresponding current version, and profit from server according to its current version
With current version and the version difference downloaded inclusion upgrading is completed into apk file new version upgrade package, installation new version upgrade package.
Beneficial effect:Version upgrading method and its system provided by the present invention based on android system, use the liter
Only need mobile terminal to download difference bag during level method upgrading to can be achieved with upgrading, without downloading complete new version upgrade package,
The flow of mobile terminal is greatly saved, saves the set-up time, improve installation effectiveness, splendid use is brought to mobile terminal client
Experience at family.
Brief description of the drawings
Fig. 1 is the flow chart of the version upgrading method of the present invention based on android system.
Fig. 2 is the edition upgrading system construction drawing based on android system in the specific embodiment of the invention.
Fig. 3 is functional block diagram between Web client and server in the specific embodiment of the invention.
Fig. 4 is functional block diagram between the App client and servers in the specific embodiment of the invention.
Embodiment
The present invention provides a kind of version upgrading method and its system based on android system, for make the purpose of the present invention,
Technical solution and effect are clearer, clear and definite, and the present invention is described in more detail below.It is it should be appreciated that described herein
Specific embodiment only to explain the present invention, is not intended to limit the present invention.
Please refer to Fig.1, it is the flow chart of the version upgrading method of the present invention based on android system.Such as Fig. 1 institutes
Show, the version upgrading method based on android system comprises the following steps:
Step S100, Web client uploads onto the server apk file new version upgrade package.
Apk files are the installation package files under Android system, and all Android App are using .apk as suffix.Specifically, institute
State the upgrade file for including in apk file new version upgrade package and being listed in version information, updatingfile list and list.Version is believed
The corresponding version number of breath record new version, list in updatingfile list the fileinfo in need upgraded, utilize liter
Level listed files can quickly search which file is upgraded in new version.
The detailed process of above-mentioned steps is:Web client sends new version upgrade package and receives request to server, server
After receiving request, new version upgrade package is uploaded onto the server by Web client.
Step S200, server receives apk file new version upgrade package, and the new version upgrade package is somebody's turn to do with what is stored
Each legacy version upgrade package of apk files compares one by one, generates the version difference bag of the corresponding apk file difference legacy versions.
Specifically, after server receives apk file new version upgrade package, corresponding api interface is called to upgrade new version
Bag and each legacy version are compared processing, the version difference bag of the corresponding different legacy versions of generation.Server receives apk new versions
After upgrade package and already present early version apk compares the discrepant each version difference APMB package of generation, and difference APMB package is only
It is to save discrepant a part of content, thus the volume of new version upgrade package can be substantially reduced.Specifically, the version is poor
Comprising new and old edition information, version listed files is checked the mark in subpackage and version is checked the mark file.The version difference bag of server generation
Check the mark except comprising the version needed for upgrading in addition to file, further include the new and old edition information that can show that new and old edition number, and bag
The version of file upgraded required for can quickly finding is included to check the mark listed files.
In specific embodiment, App clients send upgrade request to server, wherein, apk files are included in upgrade request
Current version information.After server receives and parses through upgrade request, according to the apk file current version information searchings pair parsed
The version difference bag answered, version difference bag is sent to App clients by client downloads mode.
Step S300, App clients download the version difference bag of corresponding current version according to its current version from server,
And completed using current version and the version difference downloaded inclusion into apk file new version upgrade package, installation new version upgrade package
Upgrading.
Concretely comprising the following steps into apk file new version upgrade package is included using current version and the version difference downloaded:Solution
New and old edition information, version in analysis version difference bag check the mark listed files and version is checked the mark file, is checked the mark file using version
List lookup corresponds to the Miscellaneous Documents of current version, and corresponding version is checked the mark integrating documents into the current version pair found
Answer in file, generate new version upgrade package.
A kind of edition upgrading system based on android system as shown in Figure 2, the system comprises:Web client,
For uploading apk files new version upgrade package to server
Server, the apk file new version upgrade package for receiving Web client upload, and by the new version upgrade package
With each legacy version upgrade package of the apk files of storage one by one compared with, generate each version difference bag of the corresponding apk files.
App clients (are often referred to mobile phone app), for downloading corresponding current version from server according to its current version
Version difference bag, and new version is installed into apk file new version upgrade package using current version and the version difference downloaded inclusion
Upgrade package completes upgrading.
Fig. 3 illustrates function between Web client and server, and each version of apk files is stored with server
Installation package file, each version installation kit are corresponded to different version numbers and are stored with journal, such as installation kit can be with version
1.0th, the name definition such as version 2 .0, version 3 .0, after the installation kit that the apk files have new version comes out, user passes through web visitors
Family end uploads onto the server the new version installation kit, server by new version installation kit and stored each version installation kit into
Row corner is handled, and generates each version difference bag, each version difference bag is named with version number, example enters apk files from version
1.0 when being upgraded to version 2 .0, after server receives the installation kit of version 2 .0, can pass through the comparison generation 2.0 with version 1.0
Difference bag, the 2.0 difference bag are the difference part of version 2 .0 and 1.0 installation kit of version, and 2.0 difference bags are also stored in servicing
In device.Similarly, when apk document upgradings are to version 3 .0, after server receives the version 3 .0 installation kits that web client uploads,
By generating 3.0 difference bags compared with 1.0 installation kit of version, by generating 2.0 difference bags compared with version 2 .0 installation kits.Phase
The difference bag answered is stored with being called in server.
Fig. 4 illustrates function between App clients and server, when App clients need upgrading, can be sent out to server
Send download request, server receive after download request can in clear and definite App clients currently used version information, based on this letter
Breath server can call corresponding version difference bag to supply App client downloads, for example, when the current version information of App clients
For version 1.0 when, and the edition upgrading of App clients request be to be upgraded to version 2 .0, then server can call corresponding version
1.0 upgrade to the difference bag (2.0 difference bag) of version 2 .0, and the corresponding interface that App clients are provided using server is downloaded
2.0 difference bags, parse 2.0 difference bags and are synthesized itself and 1.0 installation kit of version, obtain version 2 .0 installation kits, most afterwards
Afterwards installation is completed using version 2 .0 installation kits.
Similarly, when the current version information of App clients is version 2 .0, and the edition upgrading of App clients request is
When being upgraded to version 3 .0, then server can call corresponding version 2 .0 to upgrade to the difference bag (2.0 difference bag) of version 3 .0, App
The corresponding interface that client is provided using server downloads 2.0 difference bags, parses 2.0 difference bags afterwards and by itself and version
2.0 installation kits are synthesized, and obtain version 3 .0 installation kits, finally complete to install using version 3 .0 installation kits.
When the current version information of App clients is version 1.0, and the edition upgrading of App clients request is upgrading
During to version 3 .0, then server can call corresponding version 1.0 to upgrade to the difference bag (3.0 difference bag) of version 3 .0, App client
The corresponding interface that end is provided using server downloads 3.0 difference bags, parses 3.0 difference bags afterwards and pacifies itself and version 1.0
Dress bag is synthesized, and obtains version 3 .0 installation kits, finally completes to install using version 3 .0 installation kits.
Version upgrading method and its system provided by the present invention based on android system, use the upgrade method liter
Only need mobile terminal to download difference bag during level to can be achieved with upgrading, without downloading complete new version upgrade package, greatly save
The flow of mobile terminal, saves the set-up time, improves installation effectiveness, splendid user experience is brought to mobile terminal client.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.
Claims (8)
1. a kind of version upgrading method based on android system, it is characterised in that the described method comprises the following steps:
Web client uploads onto the server apk file new version upgrade package;
Server receive apk file new version upgrade package, and by the new version upgrade package with storage each legacy version of apk files
Upgrade package compares one by one, generates the version difference bag of the corresponding apk file difference legacy versions;
App clients download the version difference bag of corresponding current version according to its current version from server, and utilize current version
This and the version difference inclusion downloaded complete upgrading into apk file new version upgrade package, installation new version upgrade package.
2. the version upgrading method based on android system according to claim 1, it is characterised in that the apk files are new
The upgrade file listed in version information, updatingfile list and list is included in upgrade edition upgrade pack.
3. the version upgrading method based on android system according to claim 1, it is characterised in that the step Web visitors
Family end uploads onto the server apk file new version upgrade package specially:Web client sends new version upgrade package and receives request
To server, after server receives request, new version upgrade package is uploaded onto the server by Web client.
4. the version upgrading method based on android system according to claim 1, it is characterised in that server receives apk
After file new version upgrade package, call corresponding api interface to be compared processing to new version upgrade package and each legacy version, generate
The version difference bag of corresponding different legacy versions.
5. the version upgrading method based on android system according to claim 1, it is characterised in that App clients according to
The version difference bag that its current version downloads corresponding current version from server is specially:
App clients send upgrade request to server, wherein, apk file current version information is included in upgrade request;
After server receives and parses through upgrade request, according to the corresponding version of apk file current version information searchings parsed
Difference bag, version difference bag is sent to App clients by client downloads mode.
6. the version upgrading method based on android system according to claim 1, it is characterised in that the version difference
Comprising new and old edition information, version listed files is checked the mark in bag and version is checked the mark file.
7. the version upgrading method based on android system according to claim 6, it is characterised in that utilize current version
Included with the version difference of download into apk file new version upgrade package and be specially:Parse the new and old edition letter in version difference bag
Breath, version check the mark listed files and version is checked the mark file, all kinds of of corresponding current version are searched using version listed files of checking the mark
File, checks the mark integrating documents into the current version respective file found by corresponding version, generates new version upgrade package.
A kind of 8. edition upgrading system based on android system, it is characterised in that the system comprises:
Web client, for uploading apk file new version upgrade package;
Server, the apk file new version upgrade package for receiving Web client upload, and by the new version upgrade package with depositing
Each legacy version upgrade package of the apk files of storage compares one by one, generates the version difference bag of the corresponding apk file difference legacy versions;
App clients, for downloading the version difference bag of corresponding current version from server according to its current version, and utilize and work as
Preceding version and the version difference inclusion downloaded complete upgrading into apk file new version upgrade package, installation new version upgrade package.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710959446.0A CN107948239A (en) | 2017-10-16 | 2017-10-16 | Version upgrading method and its system based on android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710959446.0A CN107948239A (en) | 2017-10-16 | 2017-10-16 | Version upgrading method and its system based on android system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107948239A true CN107948239A (en) | 2018-04-20 |
Family
ID=61935343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710959446.0A Pending CN107948239A (en) | 2017-10-16 | 2017-10-16 | Version upgrading method and its system based on android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948239A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874439A (en) * | 2018-07-02 | 2018-11-23 | 京东方科技集团股份有限公司 | Obtain method and device, upgrade method and the device of customization difference packet |
CN110874226A (en) * | 2018-08-29 | 2020-03-10 | 山东华软金盾软件股份有限公司 | Android system function upgrading method |
CN111158716A (en) * | 2019-12-20 | 2020-05-15 | 中国平安财产保险股份有限公司 | Version upgrade calling method and device, computer system and readable storage medium |
CN111273939A (en) * | 2020-01-20 | 2020-06-12 | Oppo(重庆)智能科技有限公司 | Information processing method, information processing device and terminal equipment |
-
2017
- 2017-10-16 CN CN201710959446.0A patent/CN107948239A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874439A (en) * | 2018-07-02 | 2018-11-23 | 京东方科技集团股份有限公司 | Obtain method and device, upgrade method and the device of customization difference packet |
CN110874226A (en) * | 2018-08-29 | 2020-03-10 | 山东华软金盾软件股份有限公司 | Android system function upgrading method |
CN111158716A (en) * | 2019-12-20 | 2020-05-15 | 中国平安财产保险股份有限公司 | Version upgrade calling method and device, computer system and readable storage medium |
CN111273939A (en) * | 2020-01-20 | 2020-06-12 | Oppo(重庆)智能科技有限公司 | Information processing method, information processing device and terminal equipment |
CN111273939B (en) * | 2020-01-20 | 2023-11-10 | Oppo(重庆)智能科技有限公司 | Information processing method, information processing device and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9081638B2 (en) | User experience and dependency management in a mobile device | |
CN107948239A (en) | Version upgrading method and its system based on android system | |
CN102622241B (en) | A kind of method for upgrading software and device | |
US6996818B2 (en) | Update system for facilitating software update and data conversion in an electronic device | |
CN103095838B (en) | A kind of method of Android smartphone software of being upgraded by download increment AKU | |
US6816895B2 (en) | Updating the capability negotiation information of a mobile station with an editing application downloaded from a service provider | |
CN105373396B (en) | Update of plug-in loading method and device in plug-platform | |
US20060230395A1 (en) | Embedded device update service | |
CN102129378A (en) | Software menu updating method and device | |
CN102063299A (en) | Method and device for assessing application running condition of mobile terminal, mobile terminal | |
CN100421072C (en) | Method for realizing software updating | |
CN1689299A (en) | System and method for application and application metadata filtering based on wireless device capabilities | |
CN101958933A (en) | Method and device for upgrading terminal software | |
CN103825925A (en) | Application program upgrading method and system, and application program upgrading client terminal | |
CN101656739B (en) | Method, system and equipment for updating assembly | |
CN101312567A (en) | Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource | |
CN105975298A (en) | Method and system for remotely controlling applications of Android terminal | |
CN106201577A (en) | A kind of method and device updating Lua file | |
EP1678931A4 (en) | Method, software and apparatus for performing actions on a wireless device using action lists and versioning | |
CN101980503B (en) | Method, device and system for managing widget application | |
CN106686073A (en) | Information processing method and system | |
CN105808282A (en) | Method and device for updating webpage contents of application program | |
CN100493111C (en) | Device and method for automatically updating menu for mobile phone | |
CN107733974A (en) | A kind of upgrade method of mobile terminal | |
CN113590151A (en) | Method and system for OTA (over the air) upgrade of Bluetooth equipment |
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 |
Application publication date: 20180420 |
|
RJ01 | Rejection of invention patent application after publication |