CN106610839A - Method for releasing upgrading package and lightweight upgrading method, device and system - Google Patents
Method for releasing upgrading package and lightweight upgrading method, device and system Download PDFInfo
- Publication number
- CN106610839A CN106610839A CN201510688641.5A CN201510688641A CN106610839A CN 106610839 A CN106610839 A CN 106610839A CN 201510688641 A CN201510688641 A CN 201510688641A CN 106610839 A CN106610839 A CN 106610839A
- Authority
- CN
- China
- Prior art keywords
- light weight
- aku
- upgrade
- information
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method and device for releasing upgrading package, a lightweight upgrading method and device, a lightweight upgrading system and a method and device for making lightweight upgrading package. The method for releasing the upgrading package comprises the steps of making the lightweight upgrading package with regard to an application program which is to be released and coupled to the system in degree conforming to preset requirement; and sending lightweight upgrading information to a client so that the client acquires the lightweight upgrading package and executes corresponding upgrading operation. The invention discloses the method. Rapid upgrading and releasing of the application program are achieved, namely, the application program coupled to the system in the degree conforming to the preset requirement can be released to the client in a lightweight upgrading package mode once being developed and tested, and it is not necessary to wait for the whole software system to be released; and moreover, the lightweight upgrading package can be adaptive to various machines, and machine type matching and partitioning are not needed during the client upgrading process, so that operation is simplified, and the execution efficiency is improved.
Description
Technical field
The application is related to firmware upgrade technology, and in particular to a kind of method and device of release upgrade bag.This Shen
Please it is related to a kind of light weight upgrade method and device, a kind of light weight upgrade-system, and a kind of making light weight simultaneously
The method and device of AKU.
Background technology
FOTA (Firmware Over-The-Air), i.e., aerial downloaded software upgrade technique is also referred to as remotely solid
Part is upgraded, and is referred to by high in the clouds upgrade technique, is the equipment with networking function:Such as mobile phone, flat board electricity
Brain, portable electronic device, mobile internet device etc. provide firmware update services, and user uses network
With on demand, easy extension way obtain intelligent terminal system AKU, so as to completion system upgrading, system repaiies
The functions such as multiple and optimization.For operator and wireless terminal manufacturer, can be kept away using FOTA technologies
Exempt from equipment and recall, reduce service calls and reduce running executory cost;For a user, using possessing FOTA
The terminal unit of function, can conveniently and efficiently complete updating operation, it is to avoid go to service centre to go to ask for help
Complicated processes.
Existing firmware upgrade mainly has two ways:Full dose is upgraded and increment upgrading.So-called full dose upgrading, be
The packing of whole firmware is upgraded, this AKU is generally larger, and an AKU can only be adapted to a machine
Type;And increment upgrading (also referred to as differential mode), then by comparing the difference between former and later two versions, by difference
AKU is not made, this AKU is less, an AKU can only also be adapted to a type.
Whether using incremental mode or full dose mode, being both for single type is carried out for existing firmware upgrade
Upgrading, and be all based on the upgrading of whole software system, due to the software system of mobile terminal device it is usual
It is more complicated, including application layer and directly or indirectly for application layer provide each of various services
Supporting layer is (for example:Ccf layer, system operation storehouse layer in android system, inner nuclear layer), thus it is whole soft
The upgrading of part system needs exploitation and the test period relatively grown, particularly type it is numerous or meet
To function relative abundance supporting layer (for example:Ccf layer) when needing upgrading, whole system needs more
Time develops, tests and verifies.And the release cycle of application program is generally all shorter, it is desirable to be able to
Be published to rapidly on different types of machines, above-mentioned firmware update mode obviously cannot meet application program quickly update and
The demand of issue.
Additionally, the AKU of existing mode is generally just for a type and is related to multiple subregions more
Newly, need to distinguish type and subregion in upgrading, in strictly verifying the subregion and AKU of the equipment of being upgraded
Setting it is whether consistent, including size, the initial address of subregion etc., cumbersome, execution efficiency is low.
The content of the invention
The embodiment of the present application provides a kind of method and apparatus of release upgrade bag, with solve existing full dose and
Increment upgrading mode cannot meet the problem of the quick renewal and issue of application.The embodiment of the present application also provides one
Plant light weight upgrade method and device, a kind of light weight upgrade-system, and a kind of method for making light weight AKU
And device.
The application provides a kind of method of release upgrade bag, including:
Application program to be released for meeting preset requirement with system degree of coupling, makes light weight AKU;
Light weight upgrade information is sent to client, so that client obtains light weight AKU and performs corresponding liter
Level operation.
Optionally, the application program to be released for meeting preset requirement with system degree of coupling includes:
The application program to be released of self-defined library file is not used.
Optionally, the application program to be released for meeting preset requirement with system degree of coupling includes:
Using self-defined library file and the self-defined library file not with to application program provide service support
The application program to be released that layer is integrated;
The application program to be released for meeting preset requirement with system degree of coupling makes light weight upgrading
Bag, including:Above-mentioned application program and the self-defined library file for using are packed together and generates light weight AKU.
Optionally, the client device includes:Using the mobile terminal device of android system;Described
Support layer includes:Application framework layer.
Optionally, before the light weight upgrade information to client transmission, operations described below is performed:
The upgrade request from client is received, light weight upgraded version number is at least carried in the request;
Judge whether light weight AKU of its version number more than the light weight upgraded version number;
If so, the step of then performing the transmission light weight upgrade information to client, the light weight upgrade information
In comprising the light weight AKU relevant information.
Optionally, the residual capacity information for installing the subregion of light weight AKU is also carried in the request;
When judging whether that its version number is more than the result of light weight AKU of the light weight upgraded version number
When being, operations described below is performed:
Judge whether the residual capacity meets the demand for installing the light weight AKU;
If so, the step of then performing the transmission light weight upgrade information to client.
Optionally, one of following information that client is reported or combination are also carried in the request:Client
Firmware version number, client device model;
It is described to judge whether light weight AKU of its version number more than the light weight upgraded version number, including:
Judge whether that and its version number corresponding with above-mentioned client reporting information upgrades more than the light weight
The light weight AKU of version number.
Optionally, the application program to be released for meeting preset requirement with system degree of coupling makes light
Amount AKU, including:
The client partition identical bibliographic structure for generating and installing light weight AKU;
It is described to treat that packaging file is at least wrapped during the respective directories that packaging file copies to the bibliographic structure will be treated
Containing the application program to be released that preset requirement is met with system degree of coupling;
The compression of above-mentioned catalogue is packed, the light weight AKU is obtained.
Optionally, after by the compression packing of above-mentioned catalogue, operations described below is performed:
Compressed package is signed, and using the compressed package after signature as the light weight AKU.
Optionally, before the compression packing by above-mentioned catalogue, operations described below is performed:
Write in the ROMPaq of client executing updating operation, and by the ROMPaq copy to
In the bibliographic structure that client is made an appointment;
It is described to include the compression packing of above-mentioned catalogue:The catalogue of packaging file is treated by including and comprising upgrading
The catalogue compression packing of program.
Optionally, the light weight upgrade information sent to client includes:For obtaining the light weight upgrading
The address information of bag.
Accordingly, the application also provides a kind of device of release upgrade bag, including:
Light weight AKU production unit, for answering for meeting the to be released of preset requirement with system degree of coupling
With program, light weight AKU is made;
Upgrade information transmitting element, for sending light weight upgrade information to client, so that client obtains light
Amount AKU simultaneously performs corresponding updating operation.
Optionally, described device includes:
Upgrade request receiving unit, for before the upgrade information transmitting element is triggered, receiving from visitor
The upgrade request at family end, at least carries light weight upgraded version number in the request;
Version judging unit, for judging whether that its version number is light more than the light weight upgraded version number
Amount AKU;
The upgrade information transmitting element to client specifically for sending light weight upgrade information, the light weight
Relevant information comprising the light weight AKU in upgrade information.
Optionally, also carry for installing light weight in the upgrade request that the upgrade request receiving unit is received
The residual capacity information of the subregion of AKU;
Described device also includes:
Residual capacity judging unit, it is described surplus for when the version judging unit is output as being, judging
Whether covolume amount meets is installed the demand of the light weight AKU, and the upgrade information is triggered when meeting
Transmitting element works.
Optionally, also carry what client was reported in the upgrade request that the upgrade request receiving unit is received
One of following information or combination:Client firmware version number, client device model;
The version judging unit is specifically for judging whether corresponding with above-mentioned client reporting information
And its version number more than the light weight upgraded version number light weight AKU.
Optionally, the light weight AKU production unit includes:
Bibliographic structure generates subelement, for generating and installing the client partition identical mesh of light weight AKU
Directory structures;
File replicate subelement, for the respective directories that packaging file copies to the bibliographic structure will to be treated in,
It is described to treat packaging file including at least the application journey to be released that preset requirement is met with system degree of coupling
Sequence;
Compression packing subelement, for the compression of above-mentioned catalogue to be packed, obtains the light weight AKU.
Optionally, the light weight AKU production unit also includes:
Compression packet signature subelement, it is right for after the compression packing subelement completes to compress packaging operation
Compressed package is signed, and using the compressed package after signature as the light weight AKU.
Optionally, the light weight AKU production unit also includes:
ROMPaq replicate subelement, for trigger it is described compression packing subelement before, write for
The ROMPaq of client executing updating operation, and the ROMPaq is copied to make an appointment with client
Bibliographic structure in;
The compression packing subelement by including specifically for treating the catalogue of packaging file and comprising upgrading
The catalogue compression packing of program.
Optionally, the light weight upgrade information that the upgrade information transmitting element sends includes:It is described for obtaining
The address information of light weight AKU.
Additionally, the application also provides a kind of light weight upgrade method, including:
The light weight upgrade information that the reception server end sends, and obtain light weight AKU;
The light weight AKU is installed in default subregion;
Wherein, the light weight AKU is for meeting preset requirement with system degree of coupling by server end
Application program packing is generated.
Optionally, before the light weight upgrade information that the reception server end sends, operations described below is performed:
Obtain local light weight upgraded version number;
Upgrade request is sent to server end, the light weight upgraded version number is at least carried in the upgrade request.
Optionally, before upgrade request is sent to server end, one of following information or combination are also obtained:
Firmware version number, unit type;
The light weight upgraded version number is not only carried in the upgrade request, the information of above-mentioned acquisition is also carried.
Optionally, the information for carrying in the upgrade request is obtained in the following way:By reading system
Subordination obtains described information.
Optionally, before upgrade request is sent to server end, operations described below is performed:
Calculate the residual capacity of the default subregion;
The light weight upgraded version number is not only carried in the upgrade request, the residual capacity information is also carried.
Optionally, the light weight upgrade information includes:For obtaining the address information of the light weight AKU;
The acquisition light weight AKU includes:The light weight AKU is downloaded according to the address information.
Optionally, it is described that the light weight AKU is installed in default subregion, including:
Decompress the light weight AKU;
Application program in light weight AKU and related library file are copied to into the respective directories of the default subregion
In;
Update local light weight upgraded version number.
Optionally, the application program and associated documents in the AKU by light weight copies to the default subregion
Respective directories in and update light weight upgraded version the step of, realize in the following way:
The ROMPaq in the light weight AKU is performed, the operation is completed.
Optionally, methods described is implemented on the mobile terminal device using android system;Described default point
Area includes:System partitioning.
Accordingly, the application also provides a kind of light weight update device, including:
Light weight AKU acquiring unit, for the light weight upgrade information that the reception server end sends, and obtains light
Amount AKU, wherein, the light weight AKU is to be directed to meet default with system degree of coupling by server end
What the application program packing of requirement was generated;
Light weight AKU installation unit, for the light weight AKU to be installed in default subregion.
Optionally, described device includes:
Light weight version number acquiring unit, for before the light weight AKU acquiring unit works, obtaining this
The light weight upgraded version number on ground;
Upgrade request transmitting element, for sending upgrade request to server end, in the upgrade request at least
Carry the light weight upgraded version number.
Optionally, described device also includes:
Apparatus information acquiring unit, for before upgrade request transmitting element work is triggered, obtain with
One of lower information or combination:Firmware version number, unit type;
Light weight upgraded version number is not only carried in the upgrade request that the upgrade request transmitting element sends, is also taken
With the above- mentioned information that the apparatus information acquiring unit is obtained.
Optionally, light weight version number acquiring unit and the apparatus information acquiring unit are specifically for leading to
Cross reading system property and obtain information needed.
Optionally, described device also includes:
Residual capacity computing unit, for before the upgrade request transmitting element work is triggered, calculating institute
State the residual capacity of default subregion;
Light weight upgraded version number is not only carried in the upgrade request that the upgrade request transmitting element sends, is also taken
With the residual capacity information.
Optionally, include in the light weight upgrade information that the light weight AKU acquiring unit is received:For obtaining
The address information of the light weight AKU;
The light weight upgrade information that the light weight AKU acquiring unit sends specifically for, the reception server end,
And light weight AKU is downloaded according to address information therein.
Optionally, the light weight AKU installation unit includes:
Decompression unit, for decompressing the light weight AKU;
File is replicated installs subelement, for the application program in light weight AKU and related library file to be replicated
To in the respective directories of the default subregion;
Version number updates subelement, for updating local light weight upgraded version number.
Additionally, the application also provides a kind of light weight upgrade-system, including:According to above-mentioned any one
The device of release upgrade bag, and the light weight update device according to above-mentioned any one.
Additionally, the application also provides a kind of method for making light weight AKU, including:
The client partition identical bibliographic structure for generating and installing light weight AKU;
The application copy to be released of preset requirement will be met with system degree of coupling to the bibliographic structure
In respective directories;
The compression of above-mentioned catalogue is packed, the light weight AKU is obtained.
Accordingly, the application also provides a kind of device for making light weight AKU, including:
Directory creating unit, for generating and installing the client partition identical bibliographic structure of light weight AKU;
File copied cells, for the application program to be released that preset requirement is met with system degree of coupling to be answered
In making the respective directories of the bibliographic structure;
Compression packaged unit, for the compression of above-mentioned catalogue to be packed, obtains the light weight AKU.
Compared with prior art, the application has advantages below:
The technical scheme that the application is provided, server end with system degree of coupling for meeting treating for preset requirement
Release application program makes light weight AKU, and sends light weight upgrade information to client;Client then basis
The light weight upgrade information that server end is provided obtains light weight AKU, and light weight AKU is installed to into default point
Qu Zhong, so as to the application program that preset requirement is met with system degree of coupling is completed once developing, so that it may
It is real without waiting whole software system to issue together to be distributed to client in the form of light weight AKU
The quick renewal of application program is showed and has issued.And because light weight AKU can be adapted to different types of machines,
Can simplify operation, improve execution efficiency without distinguishing type, subregion in client escalation process.
Description of the drawings
Fig. 1 is a kind of flow chart of the embodiment of the method for release upgrade bag of the application;
Fig. 2 is the process chart of the making light weight AKU that the embodiment of the present application is provided;
Fig. 3 is the processing stream that light weight upgrade information is sent based on request/response mode that the embodiment of the present application is provided
Cheng Tu;
Fig. 4 is a kind of schematic diagram of the embodiment of the device of release upgrade bag of the application;
Fig. 5 is a kind of flow chart of the embodiment of light weight upgrade method of the application;
Fig. 6 is the processing stream that light weight upgrade information is obtained based on request/response mode that the embodiment of the present application is provided
Cheng Tu;
Fig. 7 is the process chart that light weight AKU is installed to default subregion that the embodiment of the present application is provided;
Fig. 8 is a kind of schematic diagram of the embodiment of light weight update device of the application;
Fig. 9 is a kind of schematic diagram of the embodiment of light weight upgrade-system of the application;
Figure 10 is a kind of flow chart of the embodiment of method for making light weight AKU of the application;
Figure 11 is a kind of schematic diagram of the embodiment of device for making light weight AKU of the application.
Specific embodiment
Elaborate many details in order to fully understand the application in the following description.But, this Shen
Please be implemented with being much different from alternate manner described here, those skilled in the art can not disobey
Similar popularization is done in the case of back of the body the application intension, therefore, the application is not embodied as by following public
Limit.
In this application, a kind of method and device of issue light weight AKU, a kind of light weight liter are each provided
Level method and device, a kind of light weight upgrade-system, and a kind of method and device for making light weight AKU,
It is described in detail one by one in the following embodiments.
Fig. 1 is refer to, it is a kind of flow chart of the embodiment of the method for release upgrade bag of the application.It is described
Method is generally implemented in the server end for being responsible for release upgrade bag, and methods described comprises the steps:
Step 101, the application program to be released for meeting preset requirement with system degree of coupling, make light weight
AKU.
Existing client firmware upgrading mode, whether full dose upgrading or increment upgrading, are both for whole
Individual software system makes AKU, therefore release cycle is long.And the technical scheme of the application then only for be
System degree of coupling meets the application program to be released of preset requirement and makes light weight AKU, so as to realize applying journey
The release quickly of sequence.
The application program to be released, the stage such as typically refers to have completed to develop and debug, can be supplied to
Client updates the application program for using.With the application program to be released that system degree of coupling meets preset requirement,
Typically refer to that the application program of software system whole updating upgrading can not be relied on independently updated upgrading.
For the client using different platform, its software system architecture may be incomplete same, but generally
All by the way of layer architecture, not only including application layer, also include directly or indirectly being to apply journey
Sequence provides each supporting layer of various services.The application to be released that preset requirement is met with system degree of coupling
Program can include:Do not use the application program to be released of self-defined library file and use self-defined library text
Part and self-defined library file do not integrate with the supporting layer that service is provided to application program it is to be released should
Use program.Below by taking the client software framework using Android platform as an example, it is described further.
Based on the software architecture of Android platform, four layers are can be generally divided into from high to low:Application layer,
Application framework layer (framework), system operation storehouse layer and core layer.Wherein, application layer includes
A series of core applications and conventional application program;Application framework layer then runs comprising application program
Necessary functional unit, application program can realize the function needed for it by using these functional units;
System operation storehouse layer provides each seed routine and Java core libraries;Core layer is then linux kernel, there is provided
The Core Features such as hardware driving, memory management, management of process.It is to be understood that ccf layer (framework)
It is directly to provide the supporting layer supported for application program, system operation storehouse layer and core layer are connected in application between being then
Program provides the supporting layer supported.
Some application programs are by using framework layer assembly, you can realize the function of oneself;Some application programs
Need to realize some specific functions and ccf layer does not provide corresponding assembly, in this case application program can be with
Corresponding storehouse oneself is defined and developed, and self-defined library file and application program are integrated, i.e.,:Beat
Into a bag;Self-defined library file is then placed on ccf layer by some application programs, but not with ccf layer
Integrate, i.e., be not compiled in a JAR bag with ccf layer, but library file is independently packed.
Above-named these three situations, to belong to and meet default with system degree of coupling described in the present embodiment
The application program of requirement, wherein first two situation can consider and do not coupled with system, though the third situation with
But system has coupling, and degree of coupling is relatively low, and the application program for meeting these three situations can be independently of
The supporting layer for providing it service is updated upgrading, therefore this step can be for meeting treating for above-mentioned condition
Release application program makes light weight AKU, such that it is able to realize the quick renewal and issue of application program.
When light weight AKU is made, for above-mentioned the first situation, application program to be released is added into light weight
AKU, for the last two cases, then can be by application program to be released and the library file for using together
Add light weight AKU.
The above-mentioned file to be updated can be only included in light weight AKU, it is correct for the ease of client executing
Updating operation, the present embodiment also provides a kind of preferred implementation:Write for grasping in client executing upgrading
The ROMPaq of work, and the ROMPaq is also added in light weight AKU.
Based on foregoing description, the process for making light weight AKU specifically includes generation bibliographic structure, replicates and wait to beat
APMB package, compression packing, the so several steps of signing, below in conjunction with the accompanying drawings 2, to make Android client
As a example by the light weight AKU at end, the process to making light weight AKU elaborates.
Step 101-1, the client partition identical bibliographic structure for generating and installing light weight AKU.
Light weight AKU is typically mounted in the default subregion of client, for the client using android system
For end, the default subregion typically refers to system (system) subregion.This step is in local file system
Create and FTP client FTP subregion identical bibliographic structure, i.e.,:System catalogues are first created, then in system
The subdirectories such as app, framework, lib are created under catalogue.
Step 101-2, will treat in the respective directories that packaging file copies to the bibliographic structure, it is described to wait to pack
File is including at least the application program to be released that preset requirement is met with system coupling procedure.
Can will need upgrading application copy under app catalogues;If it is self-defined that application program is used
Library file is placed on ccf layer in the form of independent JAR bags, can be by corresponding JAR packet replications to framework
Under catalogue.
Step 101-3, write in the ROMPaq of client executing updating operation, and by the upgrading journey
Sequence is copied in the bibliographic structure made an appointment with client.
For the client using android system, the ROMPaq for performing updating operation is commonly referred to foot
Presents, also referred to as upgrade script, server end can include this document in the particular category of light weight AKU,
Client is then obtained from the particular category of light weight AKU (both sides make an appointment identical catalogue) should
File is simultaneously performed, so as to complete updating operation.
Upgrade script is mainly responsible for that the file in light weight AKU is write in corresponding system partitioning and rewritten
The local light weight upgraded version number of client.This step writes the upgrade script for realizing above-mentioned functions, for example:
Updater-script files, then create with system catalogues in same layer in local file system
The subdirectory com of META-INF catalogues and the catalogue custom fota, and by the upgrading foot for writing
Originally in copying to the subdirectory.
If it should be noted that during order in client executing upgrade script, needing to call other to hold
Style of writing part or function library, then can be also copied to these executable files or function library and upgrade script
In identical catalogue.
Step 101-4, by above-mentioned catalogue compression pack.
By the above-mentioned catalogue comprising application program (and related library file) and the catalogue comprising ROMPaq
Compression packing.It is for instance possible to use the zip tools of compression being usually used to above-mentioned system catalogues and
META-INF catalogues are compressed, and generate light weight AKU update_unsigned.zip, it would however also be possible to employ such as
Lower shown zip orders are compressed packing:
$zip-qry../update_unsigned.zip./
Step 101-5, compressed package is signed, and using the compressed package after signature as the light weight AKU.
The light weight AKU that client device is approved generally only for it performs updating operation, for the ease of client
Hold the source to light weight AKU and safety to verify, the light weight of compressed generation can be upgraded
Bag is signed.For example:Can be signed using signature instrument signapk.jar or jarsigner, be generated
The light weight AKU update.zip of final be distributed to client.
So far, the making of light weight AKU is completed by above-mentioned steps 101-1 to 101-5.Need explanation
It is that above-mentioned steps are the manufacturing process that light weight AKU is described by taking the client using android system as an example,
In other implementation processes, can be using different partition names, directory name, tool of compression, signature work
Tool etc., as long as light weight AKU described herein can be made and successfully upgraded in client, just not
Deviate the core of the application, within the protection domain of the application.
By above description as can be seen that prior art makes full dose or increment AKU needs by compiling
Translate instrument, scalable is obtained to whole software system (full dose or increment) execution build processes to be upgraded
The image files of installation, and the technical program is only needed for meeting preset requirement (nothing with system degree of coupling
Coupling or degree of coupling it is relatively low) application program to be released, packing compression by way of make light weight liter
Level bag, simplifies the manufacturing process of AKU, and the AKU size for obtaining is less, can be adapted to many
Client type is planted, in client update, it is not necessary to distinguish type, subregion.
In the specific implementation, when the application program that preset requirement is met with system degree of coupling is completed to develop, adjusted
When the stages such as examination can be issued, server end can make corresponding light weight AKU using this step.
For the ease of distinguishing each light weight AKU for generating, typically light weight AKU specifies light weight liter
Level version number, the application scenarios numerous for firmware version variation and unit type, can also set up
Light weight AKU and firmware version number and the corresponding relation of client device model.For example:Make light weight liter
The version number of level bag is 20150801.0111, and the light weight AKU can apply to multiple firmware versions, then may be used
To set up the corresponding relation between above-mentioned light weight upgraded version number and the plurality of firmware version;If the light weight
AKU used in multiple client unit type, but can be limited in indivedual types, then can be by
The light weight upgraded version number sets up corresponding relation with the client device model that can be suitable for.So as to follow-up
The step of in, the information searching that can be reported according to client is with the presence or absence of the light weight AKU for being adapted to client.
Step 102, light weight upgrade information is sent to client, light weight AKU and performed so that client is obtained
Corresponding updating operation.
After having made light weight AKU, can to client send light weight upgrade information, for example can by with
Long interface channel between client, to client push light weight upgrade information, it is also possible to according to client
Upgrade request to client sends light weight upgrade information.
In the specific implementation, above two sends mode (push mode, the request/response of light weight upgrade information
Mode) all it is feasible, it is contemplated that and the latter can select to be adapted to visitor according to the information carried in client request
The light weight AKU of family end installation simultaneously sends relevant information, thereby may be ensured that client executing is correctly upgraded
Operation, therefore be a kind of preferred implementation, below in conjunction with the accompanying drawings 3 pairs of preferred implementations make further
Illustrate, specifically include step 102-1 to 102-3.
Step 102-1, receive from client upgrade request.
Light weight upgraded version number is at least carried in the upgrade request, the version number is to enter client the last time
Row updates adopted light weight upgraded version number.Consider in the numerous application scenarios of firmware version and unit type
Under, light weight AKU possibly cannot be applied to all of firmware version, it is also possible to cannot be applied to all of setting
Standby model, can also include that client firmware version number and/or client set in the upgrade request of client
Standby model;Additionally, in order to ensure to have enough spaces to be upgraded, can also include in the upgrade request
Client is used for the residual capacity information of the subregion for installing light weight AKU.This step is obtained from upgrade request
Above- mentioned information, can consider these information that client is reported in step 102-2, and selection is available for client
The light weight AKU that end is installed.
Step 102-2, judge whether to be available for the light weight AKU that client installs, if existing, perform step
Rapid 102-3, otherwise returns to client and does not update response.
The firmware version number that first can be reported according to client and/or unit type, search whether exist with it is described
Firmware version number and/or the corresponding light weight AKU of unit type;If it is found, further judging what is found
Upgrade more than the light weight of the light weight upgraded version number that client is reported with the presence or absence of its version number in light weight AKU
Bag, for example:The light weight upgraded version number that client is reported is 20150801.0111, the light weight AKU for finding
Version number be 20150818.0111, then it is assumed that exist version number more than the light weight upgraded version number new edition
This light weight AKU, the AKU is the light weight AKU for being available for client to install, and can continue executing with step
Rapid 102-3.If there is no the light weight AKU for meeting above-mentioned two condition simultaneously, then return to client and do not have
There is renewal response.
Preferably, after qualified light weight AKU is found, before step 102-3 is continued executing with, can
Judge whether client there are enough Free Partitions to install with the subregion residual capacity information reported according to client
The light weight AKU:If the size of redaction light weight AKU and the mounted light weight AKU of client
Difference illustrate that client has enough Free Partitions more than the subregion residual capacity that client is reported, then, then
Step 102-3 can be continued executing with, is otherwise returned to client and is not updated response.
If it should be noted that the information that client is reported in upgrade request only includes light weight upgraded version
Number, then this step directly searches whether there is light weight liter of its version number more than the light weight upgraded version number
Level is wrapped just can be can equally realize the technical scheme of the application.
Step 102-3, light weight upgrade information is sent to client, light weight AKU and held so that client is obtained
The corresponding updating operation of row.
The light weight AKU selected in step 102-2 can be directly contained in the light weight upgrade information, also may be used
With comprising the address information for downloading the light weight AKU, so as to client can be according to the light weight liter for receiving
Level acquisition of information light weight AKU simultaneously performs corresponding updating operation.
So far, by step 101 to step 102, a kind of method reality of release upgrade bag that the application is provided
Apply example to be described in detail.By description as can be seen that because this method does not adopt traditional making complete
The mode of amount or increment AKU, but only for system without coupling or the less application journey of coupling ratio
Sequence makes light weight AKU and sends light weight upgrade information to client, i.e.,:Whole software system need not be waited
System such as all completes to develop, debug at the latter issue of task, but individually issues the light weight liter for being directed to application program
Level bag, so as to meet the fast-changing demand of application program, realizes the quick renewal of application program and sends out
Cloth.
In the above-described embodiment, there is provided a kind of method of release upgrade bag, corresponding, this Shen
A kind of device of release upgrade bag is please also provided.Fig. 4 is refer to, it is a kind of release upgrade bag of the application
The embodiment schematic diagram of device.Because device embodiment is substantially similar to embodiment of the method, so describe to compare
Relatively simple, related part is illustrated referring to the part of embodiment of the method.Device embodiment described below is only
It is only illustrative.
A kind of device of the release upgrade bag of the present embodiment, including:Light weight AKU production unit 401, is used for
Application program to be released for meeting preset requirement with system degree of coupling, makes light weight AKU;Upgrading
Information transmitting unit 402, for sending light weight upgrade information to client, so that client obtains light weight upgrading
Wrap and perform corresponding updating operation.
Optionally, described device includes:
Upgrade request receiving unit, for before the upgrade information transmitting element is triggered, receiving from visitor
The upgrade request at family end, at least carries light weight upgraded version number in the request;
Version judging unit, for judging whether that its version number is light more than the light weight upgraded version number
Amount AKU;
The upgrade information transmitting element to client specifically for sending light weight upgrade information, the light weight
Relevant information comprising the light weight AKU in upgrade information.
Optionally, also carry for installing light weight in the upgrade request that the upgrade request receiving unit is received
The residual capacity information of the subregion of AKU;
Described device also includes:
Residual capacity judging unit, it is described surplus for when the version judging unit is output as being, judging
Whether covolume amount meets is installed the demand of the light weight AKU, and the upgrade information is triggered when meeting
Transmitting element works.
Optionally, also carry what client was reported in the upgrade request that the upgrade request receiving unit is received
One of following information or combination:Client firmware version number, client device model;
The version judging unit is specifically for judging whether corresponding with above-mentioned client reporting information
And its version number more than the light weight upgraded version number light weight AKU.
Optionally, the light weight AKU production unit includes:
Bibliographic structure generates subelement, for generating and installing the client partition identical mesh of light weight AKU
Directory structures;
File replicate subelement, for the respective directories that packaging file copies to the bibliographic structure will to be treated in,
It is described to treat packaging file including at least the application journey to be released that preset requirement is met with system degree of coupling
Sequence;
Compression packing subelement, for the compression of above-mentioned catalogue to be packed, obtains the light weight AKU.
Optionally, the light weight AKU production unit also includes:
Compression packet signature subelement, it is right for after the compression packing subelement completes to compress packaging operation
Compressed package is signed, and using the compressed package after signature as the light weight AKU.
Optionally, the light weight AKU production unit also includes:
ROMPaq replicate subelement, for trigger it is described compression packing subelement before, write for
The ROMPaq of client executing updating operation, and the ROMPaq is copied to make an appointment with client
Bibliographic structure in;
The compression packing subelement by including specifically for treating the catalogue of packaging file and comprising upgrading
The catalogue compression packing of program.
Optionally, the light weight upgrade information that the upgrade information transmitting element sends includes:It is described for obtaining
The address information of light weight AKU.
Additionally, the application also provides a kind of light weight upgrade method, methods described is generally being carried out using AKU
The client implementation that firmware upgrade updates.Fig. 5 is refer to, a kind of its light weight upgrade method provided for the application
Embodiment flow chart, the present embodiment repeats no more with said method embodiment step identical part, under
Face emphasis describes difference.A kind of light weight upgrade method that the application is provided includes:
The light weight upgrade information that step 501, the reception server end send, and obtain light weight AKU.
The light weight AKU is that the application journey that preset requirement is met with system degree of coupling is directed to by server end
Sequence packing is generated, and related description is referred in a kind of embodiment of the method for the release upgrade bag for providing before
Word, here is omitted.
As a kind of simple and easy to do embodiment, server end after light weight AKU is made, Ke Yizhi
Connect and light weight upgrade information is pushed to into client, client can be obtained according to the light weight upgrade information for receiving
Light weight AKU.
In the specific implementation, client can also obtain light weight upgrade information using request/response mode, under
Face combines accompanying drawing 6 and this embodiment is made into a description, specifically includes step 501-1 to 501-5.
Step 501-1, acquisition local light weight upgraded version number, firmware version number, unit type.
This step obtains the essential information of client device, including:Light weight upgraded version number, firmware version number
And unit type.In the specific implementation, the interface function that system is provided can be adopted to obtain above- mentioned information, example
Such as in the client device using android system, can be read by getprop () function or similar interface
The attribute information of taking equipment, so as to obtain above-mentioned each information.
Step 501-2, calculate residual capacity for installing the default subregion of light weight AKU.
The installation process of light weight AKU, is to by system mode (such as full dose upgrading or increment upgrading)
Information in the subregion (default subregion i.e. described herein) that the application program of installation is located is replaced more
New process.In order to guarantee to be properly completed updating operation, and the original in other subregions is not interfered with
There is information, the residual capacity of the default subregion can be calculated and server is reported in subsequent step 501-3
End, so that server end makes corresponding judgement.In the specific implementation, generally can be adopted by client
The interface that system or platform are provided obtains the relevant information of the default subregion and is further calculated
Residual capacity.
By taking the smart mobile phone using android system as an example, generally there is following subregion:preload、userdata、
Cache, boot, system, recovery etc., wherein application program in for installing light weight AKU and
Typically system subregions, the i.e. system partitioning of related library file.The StatFs provided by android system
Class can obtain the state of file system, therefore this step can obtain system by the function of StatFs apoplexy due to endogenous wind
The number and data block size of the freed data blocks of subregion, so as to be calculated the size of free space, i.e.,
The residual capacity information.
Step 501-3, to server end send upgrade request, above-mentioned each information is carried in the request.
Server end to responsible offer light weight upgrade information sends upgrade request, at least carries in the request
Light weight upgraded version number.In addition it is also possible to carry firmware version number, unit type and for installing gently
The residual capacity information of the default subregion of amount AKU.
If light weight AKU goes for various firmware versions, then the firmware version of itself can not be obtained
This number, the information can not also be carried in upgrade request (server end is without being screened);Same road
Reason, if light weight AKU goes for various unit types, then the equipment type of itself can not be obtained
Number, the information can not also be carried in upgrade request.If the capacity of the default subregion of client is sufficiently large,
Or check whether sufficient function is voluntarily completed before upgrading by client for the residual capacity of default subregion,
So can not also be by the residual capacity information reporting to server end.These are all the concrete of embodiment
Change mode, all without departing from the core of the application, all within the protection domain of the application.
The light weight upgrade information that step 501-4, the reception server end return, and obtain light weight AKU.
If light weight AKU is included in the light weight upgrade information that server end is returned, then directly therefrom read
Light weight AKU;If comprising acquisition light weight AKU in the light weight upgrade information that server end is returned
Address information, then this step can download the light weight AKU according to the address information.
When being embodied as, server end is likely to return and does not update response (for example, because described presetting is divided
The residual capacity in area is not enough, therefore cannot be upgraded), it is in this case, then follow-up without continuing executing with
Step 502.
Step 502, the light weight AKU is installed in default subregion.
The light weight AKU for obtaining in step 501 is installed in default subregion, can first be checked and sign
Whether name information is correct, for example, can be verified using jarsigner instruments, if by checking, performing
Follow-up updating operation, specifically includes step 502-1 to step 502-3,7 illustrates below in conjunction with the accompanying drawings.
Step 502-1, the decompression light weight AKU.
The light weight AKU generally adopts compressed package form, can adopt the compression adopted with server end
The corresponding decompression instrument of instrument, by light weight AKU original bibliographic structure is expanded into.
Step 502-2, the application program in light weight AKU and related library file are copied to into the default subregion
Respective directories in.
Still by taking the client device using android system as an example, can be by system/app in light weight AKU
Application copy under catalogue under the app catalogues of system partitioning, by under system/framework catalogues
Jar APMB packages are copied under the framework catalogues of system partitioning.
The local light weight upgraded version number of step 502-3, renewal.
After completing above-mentioned duplication operation, local light weight upgraded version number can be updated, for example, for employing
The client device of android system, can call setprop () function or similar interface, will be locally stored
Device attribute information in light weight upgraded version number be updated to step 501 acquisition light weight AKU version
Number.
In the specific implementation, if providing ROMPaq (such as upgrade script in light weight AKU
Updater-script files), then the function that above-mentioned steps 502-2 are completed with 502-3, generally can pass through
Perform the ROMPaq to complete.
So far, by step 501 to step 502, the embodiment of the light weight upgrade method provided the application is entered
Description is gone.By foregoing description as can be seen that because light weight AKU is sent out for the quick of application program
Mode for cloth, client can shorten client by obtaining light weight AKU and performing corresponding updating operation
User is obtained and using the latent period of new edition application, lifts experience.And due to light weight
AKU can be adapted to plurality of devices model and be updated generally only for default subregion, therefore in visitor
Without distinguishing type, subregion in the escalation process at family end, operation can be simplified, execution efficiency is improved.
In the above-described embodiment, there is provided a kind of light weight upgrade method, corresponding, the application is also
A kind of light weight update device is provided.Fig. 8 is refer to, it is a kind of embodiment of light weight update device of the application
Schematic diagram.Because device embodiment is substantially similar to embodiment of the method, so describe fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.Device embodiment described below is only schematic.
A kind of light weight update device of the present embodiment, including:Light weight AKU acquiring unit 801, for receiving
The light weight upgrade information that server end sends, and light weight AKU is obtained, wherein, the light weight AKU is
Pack what is generated for the application program that preset requirement is met with system degree of coupling by server end;Light weight liter
Level bag installation unit 802, for the light weight AKU to be installed in default subregion.
Optionally, described device includes:
Light weight version number acquiring unit, for before the light weight AKU acquiring unit works, obtaining this
The light weight upgraded version number on ground;
Upgrade request transmitting element, for sending upgrade request to server end, in the upgrade request at least
Carry the light weight upgraded version number.
Optionally, described device also includes:
Apparatus information acquiring unit, for before upgrade request transmitting element work is triggered, obtain with
One of lower information or combination:Firmware version number, unit type;
Light weight upgraded version number is not only carried in the upgrade request that the upgrade request transmitting element sends, is also taken
With the above- mentioned information that the apparatus information acquiring unit is obtained.
Optionally, light weight version number acquiring unit and the apparatus information acquiring unit are specifically for leading to
Cross reading system property and obtain information needed.
Optionally, described device also includes:
Residual capacity computing unit, for before the upgrade request transmitting element work is triggered, calculating institute
State the residual capacity of default subregion;
Light weight upgraded version number is not only carried in the upgrade request that the upgrade request transmitting element sends, is also taken
With the residual capacity information.
Optionally, include in the light weight upgrade information that the light weight AKU acquiring unit is received:For obtaining
The address information of the light weight AKU;
The light weight upgrade information that the light weight AKU acquiring unit sends specifically for, the reception server end,
And light weight AKU is downloaded according to address information therein.
Optionally, the light weight AKU installation unit includes:
Decompression unit, for decompressing the light weight AKU;
File is replicated installs subelement, for the application program in light weight AKU and related library file to be replicated
To in the respective directories of the default subregion;
Version number updates subelement, for updating local light weight upgraded version number.
Additionally, the application also provides a kind of light weight upgrade-system, as shown in figure 9, the system includes above-mentioned reality
Apply the device 901 and light weight update device 902 of release upgrade bag described in example.The light weight update device can be with
It is deployed in various client devices such as smart mobile phone, panel computer;The usual portion of device of the release upgrade bag
It is deployed on the server being responsible for client release upgrade bag, but is not limited to server, or can
Realize any equipment of the method for release upgrade bag described herein.
For example, light weight update device is deployed on smart mobile phone, and the device of release upgrade bag is deployed in server
On.The server is directed to the application program to be released that preset requirement is met with system degree of coupling, makes light
Amount AKU, and the address for obtaining corresponding light weight AKU is sent to client according to the upgrade request of client
Information, client is downloaded light weight AKU and is installed in default subregion according to the address information, so as to
Realize the quick renewal of application program and issue.
Above-mentioned example is only schematically, in other implementations, it would however also be possible to employ different deployment
Mode and embodiment, as long as the allomeric function of light weight upgrade-system described herein can be realized, just all
Within the protection domain of the application.
Additionally, the application also provides a kind of method for making light weight AKU.Figure 10 is refer to, it is this Shen
The flow chart of the embodiment of the method for the making light weight AKU that please be provide, the present embodiment and above-mentioned two method reality
Apply a step identical part to repeat no more, below emphasis difference is described.The making that the application is provided is light
The method of amount AKU includes:
Step 1001, the client partition identical bibliographic structure for generating and installing light weight AKU.
Step 1002, the application copy to be released of preset requirement will be met with system degree of coupling to described
In the respective directories of bibliographic structure.
If the application program to be released for meeting the preset requirement uses self-defined library file, can also be by institute
In stating the respective directories that self-defined library file copies to the bibliographic structure.
Step 1003, by above-mentioned catalogue compression pack, obtain the light weight AKU.
It is in the above-described embodiment, there is provided a kind of method for making light weight AKU, corresponding,
The application also provides a kind of device for making light weight AKU.Figure 11 is refer to, it is a kind of system of the application
Make the device embodiment schematic diagram of light weight AKU.Because device embodiment is substantially similar to embodiment of the method,
So describing fairly simple, related part is illustrated referring to the part of embodiment of the method.Described below
Device embodiment is only schematic.
A kind of device for making light weight AKU of the present embodiment, including:Directory creating unit 1101, is used for
The client partition identical bibliographic structure for generating and installing light weight AKU;File copied cells 1102, uses
In the phase of the application copy to be released of preset requirement to the bibliographic structure will be met with system degree of coupling
In answering catalogue;Compression packaged unit 1103, for the compression of above-mentioned catalogue to be packed, obtains the light weight upgrading
Bag.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, Ren Heben
Art personnel can make possible variation and modification in without departing from spirit and scope,
Therefore the scope that the protection domain of the application should be defined by the application claim is defined.
In a typical configuration, computing device includes one or more processors (CPU), input/output
Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read only memory (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).
Internal memory is the example of computer-readable medium.
1st, computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by
Any method or technique is realizing information Store.Information can be computer-readable instruction, data structure, journey
The module of sequence or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
The random access memory (RAM) of his type, read only memory (ROM), electrically erasable is read-only deposits
Reservoir (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory
(CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be set by calculating
The standby information for accessing.Define according to herein, computer-readable medium does not include non-temporary computer-readable matchmaker
The data signal and carrier wave of body (transitory media), such as modulation.
2nd, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer
Program product.Therefore, the application can adopt complete hardware embodiment, complete software embodiment or combine software
With the form of the embodiment of hardware aspect.And, the application can be adopted and wherein include meter at one or more
Calculation machine usable program code computer-usable storage medium (including but not limited to disk memory,
CD-ROM, optical memory etc.) on implement computer program form.
Claims (38)
1. a kind of method of release upgrade bag, it is characterised in that include:
Application program to be released for meeting preset requirement with system degree of coupling, makes light weight AKU;
Light weight upgrade information is sent to client, so that client obtains light weight AKU and performs corresponding liter
Level operation.
2. the method for release upgrade bag according to claim 1, it is characterised in that described with system coupling
Conjunction degree meets the application program to be released of preset requirement to be included:
The application program to be released of self-defined library file is not used.
3. the method for release upgrade bag according to claim 1, it is characterised in that described with system coupling
Conjunction degree meets the application program to be released of preset requirement to be included:
Using self-defined library file and the self-defined library file not with to application program provide service support
The application program to be released that layer is integrated;
The application program to be released for meeting preset requirement with system degree of coupling makes light weight upgrading
Bag, including:Above-mentioned application program and the self-defined library file for using are packed together and generates light weight AKU.
4. the method for release upgrade bag according to claim 3, it is characterised in that the client sets
It is standby to include:Using the mobile terminal device of android system;The supporting layer includes:Application framework layer.
5. the method for release upgrade bag according to claim 1, it is characterised in that described to client
End is sent before the light weight upgrade information, performs operations described below:
The upgrade request from client is received, light weight upgraded version number is at least carried in the request;
Judge whether light weight AKU of its version number more than the light weight upgraded version number;
If so, the step of then performing the transmission light weight upgrade information to client, the light weight upgrade information
In comprising the light weight AKU relevant information.
6. the method for release upgrade bag according to claim 5, it is characterised in that in the request also
Carry the residual capacity information for installing the subregion of light weight AKU;
When judging whether that its version number is more than the result of light weight AKU of the light weight upgraded version number
When being, operations described below is performed:
Judge whether the residual capacity meets the demand for installing the light weight AKU;
If so, the step of then performing the transmission light weight upgrade information to client.
7. the method for release upgrade bag according to claim 5, it is characterised in that in the request also
Carry one of following information that client is reported or combination:Client firmware version number, client device type
Number;
It is described to judge whether light weight AKU of its version number more than the light weight upgraded version number, including:
Judge whether that and its version number corresponding with above-mentioned client reporting information upgrades more than the light weight
The light weight AKU of version number.
8. the method for release upgrade bag according to claim 1, it is characterised in that it is described for be
System degree of coupling meets the application program to be released of preset requirement and makes light weight AKU, including:
The client partition identical bibliographic structure for generating and installing light weight AKU;
It is described to treat that packaging file is at least wrapped during the respective directories that packaging file copies to the bibliographic structure will be treated
Containing the application program to be released that preset requirement is met with system degree of coupling;
The compression of above-mentioned catalogue is packed, the light weight AKU is obtained.
9. the method for release upgrade bag according to claim 8, it is characterised in that by above-mentioned catalogue
After compression packing, operations described below is performed:
Compressed package is signed, and using the compressed package after signature as the light weight AKU.
10. the method for release upgrade bag according to claim 8, it is characterised in that it is described will be upper
Before stating catalogue compression packing, operations described below is performed:
Write in the ROMPaq of client executing updating operation, and by the ROMPaq copy to
In the bibliographic structure that client is made an appointment;
It is described to include the compression packing of above-mentioned catalogue:The catalogue of packaging file is treated by including and comprising upgrading
The catalogue compression packing of program.
The method of the 11. release upgrade bags according to any one of claim 1-10, it is characterised in that institute
Stating the light weight upgrade information sent to client includes:For obtaining the address information of the light weight AKU.
12. a kind of devices of release upgrade bag, it is characterised in that include:
Light weight AKU production unit, for answering for meeting the to be released of preset requirement with system degree of coupling
With program, light weight AKU is made;
Upgrade information transmitting element, for sending light weight upgrade information to client, so that client obtains light
Amount AKU simultaneously performs corresponding updating operation.
The device of 13. release upgrade bags according to claim 12, it is characterised in that include:
Upgrade request receiving unit, for before the upgrade information transmitting element is triggered, receiving from visitor
The upgrade request at family end, at least carries light weight upgraded version number in the request;
Version judging unit, for judging whether that its version number is light more than the light weight upgraded version number
Amount AKU;
The upgrade information transmitting element to client specifically for sending light weight upgrade information, the light weight
Relevant information comprising the light weight AKU in upgrade information.
The device of 14. release upgrade bags according to claim 13, it is characterised in that the upgrading please
Seek the residual capacity also carried in the upgrade request that receiving unit receives for installing the subregion of light weight AKU
Information;
Described device also includes:
Residual capacity judging unit, it is described surplus for when the version judging unit is output as being, judging
Whether covolume amount meets is installed the demand of the light weight AKU, and the upgrade information is triggered when meeting
Transmitting element works.
The device of 15. release upgrade bags according to claim 13, it is characterised in that the upgrading please
Ask and one of following information that client is reported or combination are also carried in the upgrade request that receiving unit receives:
Client firmware version number, client device model;
The version judging unit is specifically for judging whether corresponding with above-mentioned client reporting information
And its version number more than the light weight upgraded version number light weight AKU.
The device of 16. release upgrade bags according to claim 12, it is characterised in that the light weight liter
Level bag production unit includes:
Bibliographic structure generates subelement, for generating and installing the client partition identical mesh of light weight AKU
Directory structures;
File replicate subelement, for the respective directories that packaging file copies to the bibliographic structure will to be treated in,
It is described to treat packaging file including at least the application journey to be released that preset requirement is met with system degree of coupling
Sequence;
Compression packing subelement, for the compression of above-mentioned catalogue to be packed, obtains the light weight AKU.
The device of 17. release upgrade bags according to claim 16, it is characterised in that the light weight liter
Level bag production unit also includes:
Compression packet signature subelement, it is right for after the compression packing subelement completes to compress packaging operation
Compressed package is signed, and using the compressed package after signature as the light weight AKU.
The device of 18. release upgrade bags according to claim 16, it is characterised in that the light weight liter
Level bag production unit also includes:
ROMPaq replicate subelement, for trigger it is described compression packing subelement before, write for
The ROMPaq of client executing updating operation, and the ROMPaq is copied to make an appointment with client
Bibliographic structure in;
The compression packing subelement by including specifically for treating the catalogue of packaging file and comprising upgrading
The catalogue compression packing of program.
The device of the 19. release upgrade bags according to any one of claim 12-18, it is characterised in that institute
Stating the light weight upgrade information of upgrade information transmitting element transmission includes:For obtaining the ground of the light weight AKU
Location information.
20. a kind of light weight upgrade methods, it is characterised in that include:
The light weight upgrade information that the reception server end sends, and obtain light weight AKU;
The light weight AKU is installed in default subregion;
Wherein, the light weight AKU is for meeting preset requirement with system degree of coupling by server end
Application program packing is generated.
21. light weight upgrade methods according to claim 20, it is characterised in that receive service described
Before the light weight upgrade information that device end sends, operations described below is performed:
Obtain local light weight upgraded version number;
Upgrade request is sent to server end, the light weight upgraded version number is at least carried in the upgrade request.
22. light weight upgrade methods according to claim 21, it is characterised in that sending out to server end
Before sending upgrade request, one of following information or combination are also obtained:Firmware version number, unit type;
The light weight upgraded version number is not only carried in the upgrade request, the information of above-mentioned acquisition is also carried.
The 23. light weight upgrade methods according to claim 21 or 22, it is characterised in that the upgrading
The information carried in request is obtained in the following way:Described information is obtained by reading system property.
24. light weight upgrade methods according to claim 21, it is characterised in that sending out to server end
Before sending upgrade request, operations described below is performed:
Calculate the residual capacity of the default subregion;
The light weight upgraded version number is not only carried in the upgrade request, the residual capacity information is also carried.
25. light weight upgrade methods according to claim 20, it is characterised in that the light weight upgrading letter
Breath includes:For obtaining the address information of the light weight AKU;
The acquisition light weight AKU includes:The light weight AKU is downloaded according to the address information.
26. light weight upgrade methods according to claim 20, it is characterised in that described by the light weight
AKU is installed in default subregion, including:
Decompress the light weight AKU;
Application program in light weight AKU and related library file are copied to into the respective directories of the default subregion
In;
Update local light weight upgraded version number.
27. light weight upgrade methods according to claim 26, it is characterised in that described that light weight is upgraded
Application program and associated documents in bag copies in the respective directories of the default subregion and updates light weight
The step of upgraded version, realize in the following way:
The ROMPaq in the light weight AKU is performed, the operation is completed.
The 28. light weight upgrade methods according to any one of claim 21-27, it is characterised in that the side
Method is implemented on the mobile terminal device using android system;The default subregion includes:System partitioning.
29. a kind of light weight update devices, it is characterised in that include:
Light weight AKU acquiring unit, for the light weight upgrade information that the reception server end sends, and obtains light
Amount AKU, wherein, the light weight AKU is to be directed to meet default with system degree of coupling by server end
What the application program packing of requirement was generated;
Light weight AKU installation unit, for the light weight AKU to be installed in default subregion.
30. light weight update devices according to claim 29, it is characterised in that include:
Light weight version number acquiring unit, for before the light weight AKU acquiring unit works, obtaining this
The light weight upgraded version number on ground;
Upgrade request transmitting element, for sending upgrade request to server end, in the upgrade request at least
Carry the light weight upgraded version number.
31. light weight update devices according to claim 30, it is characterised in that also include:
Apparatus information acquiring unit, for before upgrade request transmitting element work is triggered, obtain with
One of lower information or combination:Firmware version number, unit type;
Light weight upgraded version number is not only carried in the upgrade request that the upgrade request transmitting element sends, is also taken
With the above- mentioned information that the apparatus information acquiring unit is obtained.
The 32. light weight update devices according to claim 30 or 31, it is characterised in that the light weight
Version number's acquiring unit and the apparatus information acquiring unit by reading system property specifically for obtaining institute
Need information.
33. light weight update devices according to claim 30, it is characterised in that also include:
Residual capacity computing unit, for before the upgrade request transmitting element work is triggered, calculating institute
State the residual capacity of default subregion;
Light weight upgraded version number is not only carried in the upgrade request that the upgrade request transmitting element sends, is also taken
With the residual capacity information.
34. light weight update devices according to claim 29, it is characterised in that the light weight AKU
Include in the light weight upgrade information that acquiring unit is received:For obtaining the address information of the light weight AKU;
The light weight upgrade information that the light weight AKU acquiring unit sends specifically for, the reception server end,
And light weight AKU is downloaded according to address information therein.
35. light weight update devices according to claim 29, it is characterised in that the light weight AKU
Installation unit includes:
Decompression unit, for decompressing the light weight AKU;
File is replicated installs subelement, for the application program in light weight AKU and related library file to be replicated
To in the respective directories of the default subregion;
Version number updates subelement, for updating local light weight upgraded version number.
36. a kind of light weight upgrade-systems, it is characterised in that include:As claimed in claim 12 issue rises
The device of level bag and light weight update device as claimed in claim 29.
A kind of 37. methods for making light weight AKU, it is characterised in that include:
The client partition identical bibliographic structure for generating and installing light weight AKU;
The application copy to be released of preset requirement will be met with system degree of coupling to the bibliographic structure
In respective directories;
The compression of above-mentioned catalogue is packed, the light weight AKU is obtained.
38. a kind of devices for making light weight AKU, it is characterised in that include:
Directory creating unit, for generating and installing the client partition identical bibliographic structure of light weight AKU;
File copied cells, for the application program to be released that preset requirement is met with system degree of coupling to be answered
In making the respective directories of the bibliographic structure;
Compression packaged unit, for the compression of above-mentioned catalogue to be packed, obtains the light weight AKU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510688641.5A CN106610839B (en) | 2015-10-21 | 2015-10-21 | Method for issuing upgrade package, lightweight upgrade method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510688641.5A CN106610839B (en) | 2015-10-21 | 2015-10-21 | Method for issuing upgrade package, lightweight upgrade method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106610839A true CN106610839A (en) | 2017-05-03 |
CN106610839B CN106610839B (en) | 2020-10-30 |
Family
ID=58611308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510688641.5A Active CN106610839B (en) | 2015-10-21 | 2015-10-21 | Method for issuing upgrade package, lightweight upgrade method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106610839B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108389617A (en) * | 2018-01-15 | 2018-08-10 | 上海奕瑞光电子科技股份有限公司 | Portfolio management/firmware upgrading method/system, medium and electronic equipment of firmware |
CN108984198A (en) * | 2018-07-16 | 2018-12-11 | 深圳市茁壮网络股份有限公司 | A kind of upgrade method and device of android system |
CN109189459A (en) * | 2018-11-16 | 2019-01-11 | 北京微播视界科技有限公司 | Application program update method, apparatus, electronic equipment, server and storage medium |
CN110083381A (en) * | 2018-01-26 | 2019-08-02 | 启碁科技股份有限公司 | The method and device of increment upgrading |
CN110597544A (en) * | 2019-08-20 | 2019-12-20 | 杭州辰汉智能科技有限公司 | Software system upgrading method and device |
CN110865842A (en) * | 2018-08-28 | 2020-03-06 | 成都鼎桥通信技术有限公司 | OTA (over the air) upgrading method and device |
CN111580850A (en) * | 2020-05-12 | 2020-08-25 | 重庆科技学院 | Increment upgrading method and device, computer equipment and storage medium |
CN112486520A (en) * | 2020-12-07 | 2021-03-12 | 深圳市欢太科技有限公司 | Application program upgrading method and device, mobile terminal and server |
CN112752154A (en) * | 2019-10-29 | 2021-05-04 | 青岛海尔多媒体有限公司 | Software upgrading method and device and smart television |
CN115865662A (en) * | 2022-11-17 | 2023-03-28 | 四川启睿克科技有限公司 | Smart factory APP updating method based on light application framework |
CN116737208A (en) * | 2023-08-16 | 2023-09-12 | 深圳市德兰明海新能源股份有限公司 | Software maintenance upgrade management method and device and electronic equipment |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009589A (en) * | 2006-01-26 | 2007-08-01 | 腾讯科技(深圳)有限公司 | A method and system for software upgrade |
CN101126979A (en) * | 2007-06-08 | 2008-02-20 | 北京大学 | Loose coupling access method by employing server public service |
CN101685392A (en) * | 2008-09-27 | 2010-03-31 | 盛乐信息技术(上海)有限公司 | Device for separating user interface form service logic |
CN101853165A (en) * | 2010-06-01 | 2010-10-06 | 杭州和利时自动化有限公司 | Management method and system for library in configuration software |
CN101916198A (en) * | 2010-07-23 | 2010-12-15 | 深圳创维-Rgb电子有限公司 | Method for updating web TV and managing software version thereof |
CN102609304A (en) * | 2012-02-08 | 2012-07-25 | 广东欧珀移动通信有限公司 | Management method for internal third-party applications of Android mobile phone |
CN103227789A (en) * | 2013-04-19 | 2013-07-31 | 武汉大学 | Lightweight fine-grained access control method in cloud environment |
US8522232B1 (en) * | 2009-07-06 | 2013-08-27 | Arris Enterprises, Inc. | Decoupling software loads for customer premise equipment |
CN103559065A (en) * | 2013-11-13 | 2014-02-05 | 广东欧珀移动通信有限公司 | Method and system for OTA (Over-the-Air Technology) upgrade |
CN103595131A (en) * | 2013-11-15 | 2014-02-19 | 国家电网公司 | On-line monitoring system of transformer device of transformer substation |
CN103701856A (en) * | 2013-11-29 | 2014-04-02 | 四川长虹电器股份有限公司 | Method for defining and acquiring upgrade package of terminal equipment |
US20140207894A1 (en) * | 2012-12-11 | 2014-07-24 | Thomson Licensing | Method and apparatus for improved loading of web-pages |
CN103995721A (en) * | 2014-05-22 | 2014-08-20 | 广州金山网络科技有限公司 | Application program upgrading method, device and system |
CN104216731A (en) * | 2013-05-30 | 2014-12-17 | 达索***艾诺维亚公司 | Live upgrade |
CN104375891A (en) * | 2014-11-04 | 2015-02-25 | 普华基础软件股份有限公司 | Application program management system |
CN104536737A (en) * | 2014-12-16 | 2015-04-22 | 深圳市金证科技股份有限公司 | Program development framework based on assemblies |
CN104702631A (en) * | 2013-12-04 | 2015-06-10 | 航天信息股份有限公司 | Method and system for upgrading client software |
CN104714819A (en) * | 2013-12-16 | 2015-06-17 | 中兴通讯股份有限公司 | File system upgrading package making method, upgrading method and device and terminal |
CN104866341A (en) * | 2015-05-07 | 2015-08-26 | 北京金山安全软件有限公司 | Component upgrading method and device and terminal |
-
2015
- 2015-10-21 CN CN201510688641.5A patent/CN106610839B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009589A (en) * | 2006-01-26 | 2007-08-01 | 腾讯科技(深圳)有限公司 | A method and system for software upgrade |
CN101126979A (en) * | 2007-06-08 | 2008-02-20 | 北京大学 | Loose coupling access method by employing server public service |
CN101685392A (en) * | 2008-09-27 | 2010-03-31 | 盛乐信息技术(上海)有限公司 | Device for separating user interface form service logic |
US8522232B1 (en) * | 2009-07-06 | 2013-08-27 | Arris Enterprises, Inc. | Decoupling software loads for customer premise equipment |
CN101853165A (en) * | 2010-06-01 | 2010-10-06 | 杭州和利时自动化有限公司 | Management method and system for library in configuration software |
CN101916198A (en) * | 2010-07-23 | 2010-12-15 | 深圳创维-Rgb电子有限公司 | Method for updating web TV and managing software version thereof |
CN102609304A (en) * | 2012-02-08 | 2012-07-25 | 广东欧珀移动通信有限公司 | Management method for internal third-party applications of Android mobile phone |
US20140207894A1 (en) * | 2012-12-11 | 2014-07-24 | Thomson Licensing | Method and apparatus for improved loading of web-pages |
CN103227789A (en) * | 2013-04-19 | 2013-07-31 | 武汉大学 | Lightweight fine-grained access control method in cloud environment |
CN104216731A (en) * | 2013-05-30 | 2014-12-17 | 达索***艾诺维亚公司 | Live upgrade |
CN103559065A (en) * | 2013-11-13 | 2014-02-05 | 广东欧珀移动通信有限公司 | Method and system for OTA (Over-the-Air Technology) upgrade |
CN103595131A (en) * | 2013-11-15 | 2014-02-19 | 国家电网公司 | On-line monitoring system of transformer device of transformer substation |
CN103701856A (en) * | 2013-11-29 | 2014-04-02 | 四川长虹电器股份有限公司 | Method for defining and acquiring upgrade package of terminal equipment |
CN104702631A (en) * | 2013-12-04 | 2015-06-10 | 航天信息股份有限公司 | Method and system for upgrading client software |
CN104714819A (en) * | 2013-12-16 | 2015-06-17 | 中兴通讯股份有限公司 | File system upgrading package making method, upgrading method and device and terminal |
CN103995721A (en) * | 2014-05-22 | 2014-08-20 | 广州金山网络科技有限公司 | Application program upgrading method, device and system |
CN104375891A (en) * | 2014-11-04 | 2015-02-25 | 普华基础软件股份有限公司 | Application program management system |
CN104536737A (en) * | 2014-12-16 | 2015-04-22 | 深圳市金证科技股份有限公司 | Program development framework based on assemblies |
CN104866341A (en) * | 2015-05-07 | 2015-08-26 | 北京金山安全软件有限公司 | Component upgrading method and device and terminal |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108389617A (en) * | 2018-01-15 | 2018-08-10 | 上海奕瑞光电子科技股份有限公司 | Portfolio management/firmware upgrading method/system, medium and electronic equipment of firmware |
CN110083381A (en) * | 2018-01-26 | 2019-08-02 | 启碁科技股份有限公司 | The method and device of increment upgrading |
CN108984198A (en) * | 2018-07-16 | 2018-12-11 | 深圳市茁壮网络股份有限公司 | A kind of upgrade method and device of android system |
CN110865842A (en) * | 2018-08-28 | 2020-03-06 | 成都鼎桥通信技术有限公司 | OTA (over the air) upgrading method and device |
CN110865842B (en) * | 2018-08-28 | 2023-11-03 | 成都鼎桥通信技术有限公司 | OTA upgrading method and equipment |
CN109189459A (en) * | 2018-11-16 | 2019-01-11 | 北京微播视界科技有限公司 | Application program update method, apparatus, electronic equipment, server and storage medium |
CN110597544A (en) * | 2019-08-20 | 2019-12-20 | 杭州辰汉智能科技有限公司 | Software system upgrading method and device |
CN112752154A (en) * | 2019-10-29 | 2021-05-04 | 青岛海尔多媒体有限公司 | Software upgrading method and device and smart television |
CN111580850A (en) * | 2020-05-12 | 2020-08-25 | 重庆科技学院 | Increment upgrading method and device, computer equipment and storage medium |
CN111580850B (en) * | 2020-05-12 | 2023-03-31 | 重庆科技学院 | Increment upgrading method and device, computer equipment and storage medium |
CN112486520A (en) * | 2020-12-07 | 2021-03-12 | 深圳市欢太科技有限公司 | Application program upgrading method and device, mobile terminal and server |
CN115865662A (en) * | 2022-11-17 | 2023-03-28 | 四川启睿克科技有限公司 | Smart factory APP updating method based on light application framework |
CN116737208A (en) * | 2023-08-16 | 2023-09-12 | 深圳市德兰明海新能源股份有限公司 | Software maintenance upgrade management method and device and electronic equipment |
CN116737208B (en) * | 2023-08-16 | 2023-10-24 | 深圳市德兰明海新能源股份有限公司 | Software maintenance upgrade management method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106610839B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106610839A (en) | Method for releasing upgrading package and lightweight upgrading method, device and system | |
CN104793946B (en) | Dispositions method and system are applied based on cloud computing platform | |
CN111095338B (en) | System and method for executing different types of blockchain contracts | |
CN102455912B (en) | Expand during operation | |
US10055216B2 (en) | Minimizing image copying during partition updates | |
US7926051B2 (en) | Automatic parallel non-dependent component deployment | |
CN105893008A (en) | Method and device for customizing multi-channel installation package | |
CN106775723A (en) | The method and Android device of the system firmware customization based on Android platform | |
CN106569869A (en) | Plug-in packaging method and device | |
CN107506221A (en) | Application program updating method, apparatus and equipment | |
US11816458B2 (en) | Method and system for packaging infrastructure as code | |
CN107797818A (en) | Application program updating method and device | |
CN109032631A (en) | Application program service packs acquisition methods, device, computer equipment and storage medium | |
CN108694049B (en) | Method and equipment for updating software | |
US10990507B2 (en) | System and method for provisioning a virtual machine test environment | |
CN112286543B (en) | Application service deployment method and device | |
CN113867768A (en) | Operating system processing method and device, electronic equipment and storage medium | |
CN103955423B (en) | Test evaluation method of domestic JVM (Java Virtual Machine) | |
US20130167138A1 (en) | Method and apparatus for simulating installations | |
CN114391136A (en) | Enhanced virtual machine image management system | |
CN107463423A (en) | Rely on verification method, storage medium, electronic equipment and the system of job contract tool | |
US20120084772A1 (en) | Method and system for deploying application components in a partial deployment | |
CN106648788A (en) | Installing method and device of application program | |
CN105068796A (en) | Pushing method for patch program set and pushing system for patch program set | |
CN111651189A (en) | Product delivery method and device of continuous integration system and electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201111 Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China Patentee after: Zebra smart travel network (Hong Kong) Limited Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands Patentee before: Alibaba Group Holding Ltd. |