CN106886437A - Application program update method and apparatus - Google Patents
Application program update method and apparatus Download PDFInfo
- Publication number
- CN106886437A CN106886437A CN201710055037.8A CN201710055037A CN106886437A CN 106886437 A CN106886437 A CN 106886437A CN 201710055037 A CN201710055037 A CN 201710055037A CN 106886437 A CN106886437 A CN 106886437A
- Authority
- CN
- China
- Prior art keywords
- attached bag
- bag
- business platform
- application program
- main
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- 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/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
A kind of application program update method and apparatus is the embodiment of the invention provides, wherein, methods described includes:Loading application programs installation kit, installs application program;Wherein, the installation kit includes the main bag of main program and business platform plug-in unit, and the business platform plug-in unit includes main bag and at least one attached bag;When receiving the unlatching application program instructions, application program is started by the main program;In the application program running, the renewal management program in the main bag is called by the main program, by attached bag of the renewal management program from business platform after down loading updating;Wherein, management program is updated comprising attached bag in the main bag.By application program update scheme provided in an embodiment of the present invention, the amount of updating the data can be reduced, reduce human cost, lift application program update efficiency.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of application program update method and apparatus.
Background technology
After application developers develop application program, can be by business platform release application program installation kit.It is mobile
After terminal downloads application program installation kit from business platform, application program installation is carried out in local loading application programs installation kit
., it is necessary to application developers are developed, to be adapted to the business flat before issue on the business platform for application program installation kit
The business platform plug-in unit of platform, application program installation kit is compressed into by the business platform plug-in unit and the packing of application program main program.It is logical
Then may be used between the mobile terminal three for crossing the server of the plug-in applications, business platform and the subsequent installation application program
Carry out data interaction.
After application program installation kit is issued on business platform, application developers have and application program are updated
Demand.At present, when either application program main program or business platform plug-in unit are updated, by the main journey of application program
Sequence, business platform plug-in unit are integrally updated treatment, are issued on business platform after generating new application program installation kit, required
The data volume of renewal is big, has both expended substantial amounts of human cost, and the renewal efficiency of application program is influenceed again.
The content of the invention
In view of the low problem of the application program update efficiency of existing application program update scheme presence, it is proposed that the present invention
To provide a kind of application program update method and apparatus for overcoming above mentioned problem.
According to one aspect of the present invention, there is provided a kind of application program update method, wherein, methods described includes:Plus
Application program installation kit is carried, application program is installed;Wherein, the installation kit includes the master of main program and business platform plug-in unit
Bag, the business platform plug-in unit includes main bag and at least one attached bag;When receiving the unlatching application program instructions, pass through
The main program starts application program;In the application program running, in calling the main bag by the main program
Renewal management program, by the renewal attached bag of the management program from business platform after down loading updating;Wherein, in the main bag
Management program is updated comprising attached bag.
Preferably, it is described by renewal management program attached bag after down loading updating from business platform the step of it
Afterwards, methods described also includes:When receiving the instruction for opening the application program, application program is started by the main program,
And load each attached bag after the renewal downloaded;In the application program running, called by the main program described
Main bag and each attached bag for having loaded.
Preferably, in the loading application programs installation kit, install application program the step of before, methods described is also wrapped
Include:When the main bag of business platform plug-in unit updates, the application program installation kit from business platform after down loading updating.
Preferably, it is described to update management program from business platform the step of attached bag after down loading updating, including:It is described more
New management program obtains business platform update of plug-in information;Wherein, business platform update of plug-in information includes:The mark of the main bag
The identification information and version information of knowledge information and version information, each attached bag downloaded;By business platform update of plug-in letter
Breath is sent to business platform so that the business platform according to institute business platform update of plug-in information, determine attached bag to be downloaded
Identification information and version information;Receive the identification information and version information of the attached bag to be downloaded that the business platform is returned;
Identification information and version information based on attached bag to be downloaded download correspondence attached bag from business platform.
It is preferably, described that application program is started by the main program when receiving the instruction for opening the application program,
And each attached bag step after the renewal downloaded is loaded, including:When receiving the instruction for opening the application program, by described
Main program starts application program;For the identification information of each attached bag, it is determined that corresponding each of the identification information being locally stored
Version attached bag;Attached bag loading is carried out successively from high to low according to version, until attached bag corresponding to the identification information is loaded successfully.
Preferably, it is described to carry out attached bag loading successively from high to low according to version, until attached bag identification information correspondence
Attached bag load successful step, including:It is determined that do not load, highest version attached bag;The attached bag is loaded, and is judged to described
Whether the loading of attached bag succeeds;If success, it is determined that attached bag corresponding to the attached bag identification information has been loaded successfully;If not into
Work(, then return perform it is described determine do not load, highest version attached bag the step of.
Preferably, the loading of attached bag is being carried out successively from high to low according to version, until attached bag identification information correspondence
Attached bag load successful step after, methods described also includes:If each version attached bag corresponding to the attached bag identification information is equal
Do not load successfully, then report attached bag to load failed message to the business platform, mobile terminal model, institute are carried in the message
State the identification information and the attached bag identification information of application program.
Preferably, it is described by renewal management program attached bag after down loading updating from business platform the step of it
Afterwards, methods described also includes:For each attached bag identification information, locally stored attached bag mark each version of correspondence is determined
Attached bag;According to preset rules, determine from each version attached bag and delete attached bag to be deleted.
Preferably, each attached bag of the business platform plug-in unit is divided according to type of service.
According to another aspect of the present invention, a kind of application program update device is additionally provided, wherein, described device bag
Include:Module is installed, for loading application programs installation kit, application program is installed;Wherein, the installation kit include main program with
And the main bag of business platform plug-in unit, the business platform plug-in unit include it is main bag and at least one attached bag;First starting module, uses
When the unlatching application program instructions are received, application program is started by the main program;Attached bag download module, for
In the application program running, the renewal management program in the main bag is called by the main program, by the renewal
Attached bag of the management program from business platform after down loading updating;Wherein, management program is updated comprising attached bag in the main bag.
Preferably, described device also includes:Load-on module, for being adjusted by the main program in the attached bag download module
With the renewal management program in the main bag, by attached bag of the renewal management program from business platform after down loading updating it
Afterwards, when receiving the instruction for opening the application program, application program is started by the main program, and loading has been downloaded more
Each attached bag after new;Second starting module, in the application program running, being called by the main program described
Main bag and each attached bag for having loaded.
Preferably, described device also includes:Installation kit download module, in the installation module loading application program peace
Dress bag, before application program is installed, when the main bag of business platform plug-in unit updates, the application from business platform after down loading updating
Program installation kit.
Preferably, the attached bag download module is by updating attached bag of the management program from business platform after down loading updating
When, specifically for:Business platform update of plug-in information is obtained by the renewal management program;Wherein, business platform plug-in unit is more
Fresh information includes:The identification information and version information of the identification information and version information of the main bag, each attached bag downloaded;Will
The business platform update of plug-in information is sent to business platform, so that the business platform is according to institute's business platform update of plug-in
Information, the identification information and version information that determine attached bag to be downloaded;Receive the attached bag to be downloaded that the business platform is returned
Identification information and version information;Identification information and version information based on attached bag to be downloaded download correspondence from business platform
Attached bag.
Preferably, the load-on module includes:Command reception submodule, the finger of the application program is opened for receiving
When making, application program is started by the main program;Determination sub-module, for the identification information for each attached bag, it is determined that this
Each version attached bag corresponding to the identification information of ground storage;Loading submodule, for being carried out successively from high to low according to version
Attached bag is loaded, until attached bag corresponding to the identification information is loaded successfully.
Preferably, the loading submodule includes:Version determining unit, do not loaded for determination, highest version attached bag;
Judging unit, for loading the attached bag, and judges whether the loading of the attached bag is succeeded;If success, it is determined that the son
Attached bag corresponding to bag identification information has been loaded successfully;If failed, the execution version determining unit execution is returned to described really
The operation of fixed do not load, highest version attached bag.
Preferably, described device also includes:Information reporting module, if for each version corresponding to the attached bag identification information
Attached bag is not loaded successfully, then report attached bag to load failed message to the business platform, and mobile terminal is carried in the message
Model, the identification information of the application program and the attached bag identification information.
Preferably, described device also includes:Removing module, for being adjusted by the main program in the attached bag download module
With the renewal management program in the main bag, by attached bag of the renewal management program from business platform after down loading updating it
Afterwards, for each attached bag identification information, locally stored attached bag mark each version attached bag of correspondence is determined;According to default rule
Then, determine from each version attached bag and delete attached bag to be deleted.
Preferably, each attached bag of the business platform plug-in unit is divided according to type of service.
Application program update scheme provided in an embodiment of the present invention, a main bag and multiple are divided into by business platform plug-in unit
Attached bag, when a certain attached bag in only needing to business platform plug-in unit is updated, enters again without more new application installation kit
Row issue, individually issue correspondence attached bag is downloaded for mobile terminal to update only on business platform, compared to existing renewal
For scheme needs to be updated main program and whole business platform plug-in unit, the amount of updating the data is greatly reduced, reduced
Human cost, improves application program update efficiency.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
The step of Fig. 1 shows a kind of application program update method according to an embodiment of the invention schematic flow sheet;
The step of Fig. 2 shows a kind of application program update method according to an embodiment of the invention schematic flow sheet;
Fig. 3 shows a kind of structural representation of application program update device according to an embodiment of the invention;And
Fig. 4 shows a kind of structural representation of application program update device according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Embodiment one
Reference picture 1, flow chart the step of show a kind of application program update method of the embodiment of the present invention one.
The application program update method of the embodiment of the present invention is comprised the following steps:
Step 101:Loading application programs installation kit, installs application program.
Wherein, application program installation kit includes the main bag of main program and business platform plug-in unit, business platform plug-in unit bag
Include main bag and at least one attached bag.Each attached bag can be divided according to type of service, for example:By the corresponding journey of registering service
Sequence is packaged into an attached bag, and the corresponding program of recharging service is packaged into attached bag etc..
Main bag includes the main program for controlling mobile terminal to be interacted with business platform.Generally, even should
Needed to update with program, the main bag of business platform plug-in unit is only to update attached bag without being updated.
In the embodiment of the present invention, updated with application program installation kit, be only that business platform plug-in unit attached bag occurs more
Illustrated as a example by new.Because application program installation kit updates, it is therefore not necessary to from business platform after down loading updating
Application program installation kit.
Step 102:When receiving unlatching application program instructions, application program is started by main program.
Step 103:In application program running, the renewal management program in main bag is called by main program, by more
Attached bag of the new management program from business platform after down loading updating.
Management program is updated comprising attached bag in main bag, can be run in application program by the renewal management program in main bag
During, each attached bag from business platform after down loading updating, the method for this renewal attached bag in the embodiment of the present invention will not
The use of business function of the influence user to having before application program update.Each attached bag for being loaded, in next application program
Can be loaded during unlatching, then the business function after corresponding renewal then can be for users to use.
For example:The corresponding business platform plug-in units of application program A include main bag, attached bag 1,2 and 3.Sent out on business platform
The installation kit of cloth application program A, and the installation kit of application program A has been downloaded in mobile terminal, when needing to application program A
When corresponding business platform plug-in unit attached bag 2 is updated, then enter without the installation kit to announced application program A, attached bag 1,3
Row updates, and is only that the corresponding packet of attached bag 2 after updating is issued on business platform.
By application program update method provided in an embodiment of the present invention, by business platform plug-in unit be divided into a main bag and
Multiple attached bags, when a certain attached bag in only needing to business platform plug-in unit is updated, without more new application installation kit weight
Newly issued, individually issue correspondence attached bag is downloaded for mobile terminal to update only on business platform, compared to existing
For update method needs to be updated main program and whole business platform plug-in unit, the amount of updating the data is greatly reduced, dropped
Low human cost, improves application program update efficiency.
Embodiment two
Reference picture 2, flow chart the step of show a kind of application program update method of the embodiment of the present invention two.
The application program update method of the embodiment of the present invention specifically includes following steps:
Step 201:When the main bag of business platform plug-in unit updates, the application program peace from business platform after down loading updating
Dress bag.
Application program can be business application, such as play.Application program installation kit includes main program and business
The main bag of platform plug-in, business platform plug-in unit includes main bag and at least one attached bag.Each attached bag can be with business platform plug-in unit
Divided according to type of service.
The application program of application developers exploitation can intervene business platform by business platform plug-in unit.Therefore, should
With being needed in program installation kit comprising application program main program and business platform plug-in unit.In the embodiment of the present invention, by business platform
Plug-in unit is divided into main bag and multiple attached bags, in order to increase the efficiency and convenience of application program update, only by business platform
The main bag of plug-in unit is compressed in application program installation kit with application program main program.Certainly, during implementing, it is also possible to
Individual traffic plug-in unit attached bag is compressed in application program installation kit according to the actual requirements.
Illustrated so that the main bag of business platform plug-in unit updates as an example in the embodiment of the present invention.On application development
Need more new application main program and the main bag of business platform plug-in unit again, and by the application of the data compression Cheng Xin after renewal
Program installation kit is issued on business platform.Mobile terminal re-downloads the application program after updating from business platform and installs
Bag.During implementing, if the main bag and application program main program of business platform plug-in unit update, need not
Re-download application program installation kit, be only business platform plug-in unit attached bag during application program launching after down loading updating i.e.
Can.
Step 202:Loading application programs installation kit, installs application program.
Step 203:When receiving unlatching application program instructions, application program is started by main program.
Step 204:In application program running, the renewal management program in main bag is called by main program, by more
Attached bag of the new management program from business platform after down loading updating.
Wherein, management program is updated comprising attached bag in main bag.
A kind of mode of attached bag of preferred renewal management program from business platform after down loading updating is as follows:
First, update management program and obtain business platform update of plug-in information.
Wherein, business platform update of plug-in information includes:The identification information and version information of main bag, each attached bag downloaded
Identification information and version information.
Secondly, business platform update of plug-in information is sent to business platform, so that business platform is inserted according to business platform
Part fresh information, the identification information and version information that determine attached bag to be downloaded.
By the identification information and version information of main bag, it may be determined that the latest edition of application program.It is each by what is downloaded
The identification information and version information of attached bag, it may be determined that whether each attached bag downloaded in mobile terminal is latest edition;If in the presence of
When needing the attached bag for updating, the identification information and latest version information of attached bag to be downloaded are back to mobile terminal.
Again, the identification information and version information of the attached bag to be downloaded that business platform is returned are received.
Mobile terminal receives the identification information and version information of the attached bag to be downloaded that business platform is returned and shows, for
Family carries out selection download.Additionally, mobile terminal can also be in the identification information of the attached bag to be downloaded for receiving business platform return
And after version information, attached bag download request is sent from trend business platform, download the attached bag of latest edition.
Finally, identification information and version information based on attached bag to be downloaded download correspondence attached bag from business platform.
With the continuous renewal of business platform plug-in version, the attached bag in mobile terminal for same type of service may be deposited
In multiple versions, in order to alleviate the storage load of mobile terminal, then the business of each version downloaded to mobile terminal is needed to put down
Platform plug-in unit attached bag is managed.A kind of preferred way to manage is:For each attached bag identification information, determine locally stored
Attached bag mark each version attached bag of correspondence;According to preset rules, attached bag to be deleted is determined from each version attached bag and deleted.
Wherein, preset rules could be arranged to only retain the attached bag of latest edition;Could be arranged to retain latest edition
The attached bag of attached bag and secondary redaction.
Succeeded by above-mentioned steps and the attached bag of redaction has been downloaded from business platform.The attached bag of the redaction of download is worked as should
During with being again started up after stop, application program is started by main program, and load each attached bag after the renewal downloaded, tool
Body loads flow as shown in step 205 to step 207.
Step 205:When receiving the instruction for opening application program, application program is started by main program.
Step 206:For the identification information of each attached bag, it is determined that each version corresponding to the identification information being locally stored
Bag.
Attached bag one identification information of correspondence of each type of service, because mobile terminal may locally store multiple versions
Attached bag, therefore, each identification information may correspond to multiple version attached bags.
Step 207:Attached bag loading is carried out successively from high to low according to version, until attached bag corresponding to identification information is loaded into
Work(.
A kind of preferred foundation version carries out attached bag loading successively from high to low, until attached bag corresponding to attached bag identification information
Load successful mode as follows:
First, it is determined that do not load, highest version attached bag;
Secondly, the attached bag is loaded, and judges whether the loading of the attached bag is succeeded;If success, it is determined that attached bag mark
The corresponding attached bag of knowledge information has been loaded successfully;If failed, the step for performing determination is not loaded highest version attached bag is returned
Suddenly.
When loading attached bag corresponding to each attached bag identification information, circulation performs above-mentioned preferred embodiment until attached bag is loaded into
Work(, or untill all versions attached bag corresponding to the attached bag identification information loads failure.If corresponding each of attached bag identification information
Version attached bag is not loaded successfully, then report attached bag to load failed message to business platform, for the technical staff of business platform
Carry out the analysis that reports an error.
Wherein, mobile terminal model, the identification information of application program and attached bag mark letter are carried in loading failed message
Breath.
Step 208:In application program running, main bag and each attached bag for having loaded are called by main program.
Now mobile terminal can then be communicated by the main bag after renewal and each attached bag for having loaded with business platform,
The all types of business of maintenance applications.
Application program update method provided in an embodiment of the present invention, a main bag and multiple are divided into by business platform plug-in unit
Attached bag, when application program main program is updated, it is only necessary to which the main bag of application journey main program and business platform plug-in unit is preferential
It is updated, can be issued on business platform after application program installation kit is constituted after renewal, compared to existing update method
For needing to be updated main program and whole business platform plug-in unit, the amount of updating the data before installation kit issue is reduced,
Therefore, update cycle lifting can either be shortened and updates efficiency, human cost can be saved again.Application provided in an embodiment of the present invention
Method for updating program, when a certain attached bag in only needing to business platform plug-in unit is updated, installs without more new application
Bag re-starts issue, and individually issue correspondence attached bag supplies mobile terminal only on business platform, greatly reduces renewal number
According to amount, application program update efficiency is improved.
Embodiment three
Reference picture 3, shows a kind of structural representation of application program update device of the embodiment of the present invention three.
The application program update device of the embodiment of the present invention can include:Module 301 is installed, for loading application programs peace
Dress bag, installs application program;Wherein, the installation kit includes the main bag of main program and business platform plug-in unit, the business
Platform plug-in includes main bag and at least one attached bag;First starting module 302, refers to for receiving the unlatching application program
When making, application program is started by the main program;Attached bag download module 303, in the application program running,
Renewal management program in the main bag is called by the main program, is downloaded from business platform by the renewal management program
Attached bag after renewal;Wherein, management program is updated comprising attached bag in the main bag.
By application program update device provided in an embodiment of the present invention, by business platform plug-in unit be divided into a main bag and
Multiple attached bags, when a certain attached bag in only needing to business platform plug-in unit is updated, without more new application installation kit weight
Newly issued, individually issue correspondence attached bag is downloaded for mobile terminal to update only on business platform, compared to existing
For update method needs to be updated main program and whole business platform plug-in unit, the amount of updating the data is greatly reduced, dropped
Low human cost, improves application program update efficiency.
Example IV
Reference picture 4, shows a kind of structural representation of application program update device of the embodiment of the present invention four.
The embodiment of the present invention is the further optimization to the application program update device in embodiment three, the application after optimization
Program renewing device can include:Module 401 is installed, for loading application programs installation kit, application program is installed;Wherein, institute
Stating installation kit includes the main bag of main program and business platform plug-in unit, and the business platform plug-in unit includes main bag and at least one
Individual attached bag;First starting module 402, when opening the application program instructions for receiving, being started by the main program should
Use program;Attached bag download module 403, in the application program running, the master being called by the main program
Renewal management program in bag, by attached bag of the renewal management program from business platform after down loading updating;Wherein, the master
In bag management program is updated comprising attached bag.
Preferably, the application program update device of the embodiment of the present invention also includes:Load-on module 404, in the son
Bag download module calls the renewal management program in the main bag by the main program, by the renewal management program from business
After attached bag on platform after down loading updating, when receiving the instruction for opening the application program, started by the main program
Application program, and load each attached bag after the renewal downloaded;Second starting module 405, in application program operation
During, the main bag and each attached bag for having loaded are called by the main program.
Preferably, the application program update device of the embodiment of the present invention also includes:Installation kit download module 406, for
The installation loading application programs installation kit of module 401, before installing application program, when the main bag of business platform plug-in unit updates
When, the application program installation kit from business platform after down loading updating.
Preferably, the attached bag download module 403 is by updating son of the management program from business platform after down loading updating
Bao Shi, specifically for:Business platform update of plug-in information is obtained by the renewal management program;Wherein, business platform plug-in unit
Fresh information includes:The identification information and version information of the identification information and version information of the main bag, each attached bag downloaded;
The business platform update of plug-in information is sent to business platform so that the business platform according to institute business platform plug-in unit more
Fresh information, the identification information and version information that determine attached bag to be downloaded;Receive the attached bag to be downloaded that the business platform is returned
Identification information and version information;It is right that identification information and version information based on attached bag to be downloaded are downloaded from business platform
Answer attached bag.
Preferably, the load-on module 404 includes:Command reception submodule 4041, the application is opened for receiving
During the instruction of program, application program is started by the main program;Determination sub-module 4042, for the mark for each attached bag
Information, it is determined that each version attached bag corresponding to the identification information being locally stored;Loading submodule 4043, for according to version by
It is high to low to carry out attached bag loading successively, until attached bag corresponding to the identification information is loaded successfully.
Preferably, the loading submodule includes:Version determining unit, do not loaded for determination, highest version attached bag;
Judging unit, for loading the attached bag, and judges whether the loading of the attached bag is succeeded;If success, it is determined that the son
Attached bag corresponding to bag identification information has been loaded successfully;If failed, the execution version determining unit execution is returned to described really
The operation of fixed do not load, highest version attached bag.
Preferably, the application program update device of the embodiment of the present invention also includes:Information reporting module 407, if for institute
State each version attached bag corresponding to attached bag identification information not loading successfully, then report attached bag to load to the business platform and unsuccessfully disappear
Breath, carries mobile terminal model, the identification information of the application program and the attached bag identification information in the message.
Preferably, the application program update device of the embodiment of the present invention also includes:Removing module 408, in the son
Bag download module 403 calls the renewal management program in the main bag by the main program, by renewal management program from business
After attached bag on platform after down loading updating, for each attached bag identification information, the locally stored attached bag mark is determined
Know each version attached bag of correspondence;According to preset rules, determine from each version attached bag and delete attached bag to be deleted.
Preferably, each attached bag of the business platform plug-in unit is divided according to type of service.
The application program update device of the present embodiment is used to realize accordingly should in previous embodiment one and embodiment two
With method for updating program, and with the beneficial effect of corresponding embodiment of the method, will not be repeated here.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment
For, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
Defend oneself bright.
Provided herein application program update method and apparatus not with any certain computer, virtual system or other set
It is standby intrinsic related.Various general-purpose systems can also be used together with based on teaching in this.As described above, construction has
Structure required by the system of the present invention program is obvious.Additionally, the present invention is not also directed to any certain programmed language.
It is understood that, it is possible to use various programming languages realize the content of invention described herein, and above to language-specific institute
The description done is to disclose preferred forms of the invention.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist
Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body implementation method are expressly incorporated in the specific embodiment, wherein each claim conduct in itself
Separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any
Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment required for protection it is one of any
Mode can use in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) realize application program update method and apparatus according to embodiments of the present invention
In some or all parts some or all functions.The present invention is also implemented as described herein for performing
Some or all equipment or program of device (for example, computer program and computer program product) of method.So
Realize that program of the invention can be stored on a computer-readable medium, or can have one or more signal shape
Formula.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or with any other shape
Formula is provided.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The embodiment of the invention discloses A1, a kind of application program update method, wherein, methods described includes:
Loading application programs installation kit, installs application program;Wherein, the installation kit includes that main program and business are flat
The main bag of platform plug-in unit, the business platform plug-in unit includes main bag and at least one attached bag;
When receiving the unlatching application program instructions, application program is started by the main program;
In the application program running, the renewal management program in the main bag is called by the main program,
By attached bag of the renewal management program from business platform after down loading updating;Wherein, pipe is updated comprising attached bag in the main bag
Reason program.
A2, the method according to A1, wherein, described by renewal management program down loading updating from business platform
After the step of rear attached bag, methods described also includes:
When receiving the instruction for opening the application program, started under application program, and loading by the main program
Each attached bag after the renewal of load;
In the application program running, the main bag and each son for having loaded are called by the main program
Bag.
A3, the method according to A1, wherein, the step of the loading application programs installation kit, installation application program
Before, methods described also includes:
When the main bag of business platform plug-in unit updates, the application program installation kit from business platform after down loading updating.
A4, the method according to A1, wherein, the attached bag for updating management program from business platform after down loading updating
The step of, including:
The renewal management program obtains business platform update of plug-in information;Wherein, business platform update of plug-in packet
Include:The identification information and version information of the identification information and version information of the main bag, each attached bag downloaded;
The business platform update of plug-in information is sent to business platform, so that the business platform is put down according to institute's business
Platform update of plug-in information, the identification information and version information that determine attached bag to be downloaded;
Receive the identification information and version information of the attached bag to be downloaded that the business platform is returned;
Identification information and version information based on attached bag to be downloaded download correspondence attached bag from business platform.
A5, the method according to A2, wherein, it is described when receiving the instruction for opening the application program, by described
Main program starts application program, and loads each attached bag step after the renewal downloaded, including:
When receiving the instruction for opening the application program, application program is started by the main program;
For the identification information of each attached bag, it is determined that each version attached bag corresponding to the identification information being locally stored;
Attached bag loading is carried out successively from high to low according to version, until attached bag corresponding to the identification information is loaded successfully.
A6, the method according to A5, wherein, it is described to carry out attached bag loading successively from high to low according to version, until institute
State attached bag corresponding to attached bag identification information and load successful step, including:
It is determined that do not load, highest version attached bag;
The attached bag is loaded, and judges whether the loading of the attached bag is succeeded;
If success, it is determined that attached bag corresponding to the attached bag identification information has been loaded successfully;
If failed, return perform it is described the step of determine not loading, highest version attached bag.
A7, the method according to A5, wherein, the loading of attached bag is being carried out successively from high to low according to version, until institute
State after the successful step of attached bag loading corresponding to attached bag identification information, methods described also includes:
If each version attached bag corresponding to the attached bag identification information is not loaded successfully, to man who brings news of appointment on the business platform
Bag loading failed message, carries mobile terminal model, the identification information of the application program and the attached bag in the message
Identification information.
A8, the method according to A1, wherein, described by renewal management program down loading updating from business platform
After the step of rear attached bag, methods described also includes:
For each attached bag identification information, locally stored attached bag mark each version attached bag of correspondence is determined;
According to preset rules, determine from each version attached bag and delete attached bag to be deleted.
A9, the method according to A1, wherein, each attached bag of the business platform plug-in unit is drawn according to type of service
Point.
The embodiment of the invention also discloses B10, a kind of application program update device, wherein, described device includes:
Module is installed, for loading application programs installation kit, application program is installed;Wherein, the installation kit includes master
The main bag of program and business platform plug-in unit, the business platform plug-in unit includes main bag and at least one attached bag;
First starting module, when opening the application program instructions for receiving, is started by the main program and applied
Program;
Attached bag download module, in the application program running, the main bag being called by the main program
In renewal management program, by the renewal attached bag of the management program from business platform after down loading updating;Wherein, the main bag
In comprising attached bag update management program.
B11, the device according to B10, wherein, described device also includes:
Load-on module, for calling the main bag by the main program in the attached bag download module in more new management
Program, by the renewal attached bag of the management program from business platform after down loading updating after, receive the unlatching application journey
During the instruction of sequence, application program is started by the main program, and load each attached bag after the renewal downloaded;
Second starting module, in the application program running, the main bag being called by the main program
And each attached bag for having loaded.
B12, the device according to B10, wherein, described device also includes:
Installation kit download module, for installing module loading application program installation kit described, before application program is installed,
When the main bag of business platform plug-in unit updates, the application program installation kit from business platform after down loading updating.
B13, the device according to B10, wherein, the attached bag download module is by updating management program from business platform
During attached bag after upper down loading updating, specifically for:
Business platform update of plug-in information is obtained by the renewal management program;Wherein, business platform update of plug-in letter
Breath includes:The identification information and version information of the identification information and version information of the main bag, each attached bag downloaded;
The business platform update of plug-in information is sent to business platform, so that the business platform is put down according to institute's business
Platform update of plug-in information, the identification information and version information that determine attached bag to be downloaded;
Receive the identification information and version information of the attached bag to be downloaded that the business platform is returned;
Identification information and version information based on attached bag to be downloaded download correspondence attached bag from business platform.
B14, the device according to B11, wherein, the load-on module includes:
Command reception submodule, when the instruction of the application program is opened for receiving, is started by the main program
Application program;
Determination sub-module, for the identification information for each attached bag, it is determined that the identification information correspondence being locally stored
Each version attached bag;
Loading submodule, for carrying out attached bag loading successively from high to low according to version, until identification information correspondence
Attached bag load successfully.
B15, the device according to B14, wherein, the loading submodule includes:
Version determining unit, do not loaded for determination, highest version attached bag;
Judging unit, for loading the attached bag, and judges whether the loading of the attached bag is succeeded;If success, really
Attached bag corresponding to the fixed attached bag identification information has been loaded successfully;If failed, return to the execution version determining unit and hold
Row is described to determine operation do not load, highest version attached bag.
B16, the device according to B14, wherein, described device also includes:
Information reporting module, if for each version attached bag corresponding to the attached bag identification information do not load successfully, to
The business platform reports attached bag to load failed message, and mobile terminal model, the mark of the application program are carried in the message
Knowledge information and the attached bag identification information.
B17, the device according to B10, wherein, described device also includes:
Removing module, for calling the main bag by the main program in the attached bag download module in more new management
Program, by the renewal attached bag of the management program from business platform after down loading updating after, for each attached bag identification information,
Determine locally stored attached bag mark each version attached bag of correspondence;According to preset rules, from each version attached bag really
Determine and delete attached bag to be deleted.
B18, the device according to B10, wherein, each attached bag of the business platform plug-in unit is drawn according to type of service
Point.
Claims (10)
1. a kind of application program update method, it is characterised in that methods described includes:
Loading application programs installation kit, installs application program;Wherein, the installation kit includes that main program and business platform are inserted
The main bag of part, the business platform plug-in unit includes main bag and at least one attached bag;
When receiving the unlatching application program instructions, application program is started by the main program;
In the application program running, the renewal management program in the main bag is called by the main program, by institute
State the attached bag for updating management program from business platform after down loading updating;Wherein, attached bag more new management journey is included in the main bag
Sequence.
2. method according to claim 1, it is characterised in that it is described by the renewal management program from business platform
After the step of attached bag after down loading updating, methods described also includes:
When receiving the instruction for opening the application program, application program is started by the main program, and load what is downloaded
Each attached bag after renewal;
In the application program running, the main bag and each attached bag for having loaded are called by the main program.
3. method according to claim 1, it is characterised in that in the loading application programs installation kit, journey is applied in installation
Before the step of sequence, methods described also includes:
When the main bag of business platform plug-in unit updates, the application program installation kit from business platform after down loading updating.
4. method according to claim 1, it is characterised in that renewal management program down loading updating from business platform
The step of rear attached bag, including:
The renewal management program obtains business platform update of plug-in information;Wherein, business platform update of plug-in information includes:Institute
The identification information and version information of the identification information and version information of stating main bag, each attached bag downloaded;
The business platform update of plug-in information is sent to business platform, so that the business platform is inserted according to institute's business platform
Part fresh information, the identification information and version information that determine attached bag to be downloaded;
Receive the identification information and version information of the attached bag to be downloaded that the business platform is returned;
Identification information and version information based on attached bag to be downloaded download correspondence attached bag from business platform.
5. method according to claim 2, it is characterised in that described when receiving the instruction for opening the application program,
Application program is started by the main program, and loads each attached bag step after the renewal downloaded, including:
When receiving the instruction for opening the application program, application program is started by the main program;
For the identification information of each attached bag, it is determined that each version attached bag corresponding to the identification information being locally stored;
Attached bag loading is carried out successively from high to low according to version, until attached bag corresponding to the identification information is loaded successfully.
6. method according to claim 5, it is characterised in that described to carry out attached bag successively from high to low according to version and add
Carry, until attached bag corresponding to the attached bag identification information loads successful step, including:
It is determined that do not load, highest version attached bag;
The attached bag is loaded, and judges whether the loading of the attached bag is succeeded;
If success, it is determined that attached bag corresponding to the attached bag identification information has been loaded successfully;
If failed, return perform it is described the step of determine not loading, highest version attached bag.
7. method according to claim 5, it is characterised in that according to version carrying out successively from high to low attached bag plus
Carry, until after the successful step of attached bag loading corresponding to the attached bag identification information, methods described also includes:
If each version attached bag corresponding to the attached bag identification information is not loaded successfully, attached bag is reported to add to the business platform
Failed message is carried, mobile terminal model, the identification information of the application program and the attached bag mark are carried in the message
Information.
8. method according to claim 1, it is characterised in that it is described by the renewal management program from business platform
After the step of attached bag after down loading updating, methods described also includes:
For each attached bag identification information, locally stored attached bag mark each version attached bag of correspondence is determined;
According to preset rules, determine from each version attached bag and delete attached bag to be deleted.
9. method according to claim 1, it is characterised in that each attached bag of the business platform plug-in unit is according to type of service
Divided.
10. a kind of application program update device, it is characterised in that described device includes:
Module is installed, for loading application programs installation kit, application program is installed;Wherein, the installation kit includes main program
And the main bag of business platform plug-in unit, the business platform plug-in unit include it is main bag and at least one attached bag;
First starting module, when opening the application program instructions for receiving, application program is started by the main program;
Attached bag download module, in the application program running, in calling the main bag by the main program
Management program is updated, by attached bag of the renewal management program from business platform after down loading updating;Wherein, wrapped in the main bag
Management program is updated containing attached bag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710055037.8A CN106886437B (en) | 2017-01-24 | 2017-01-24 | Application program updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710055037.8A CN106886437B (en) | 2017-01-24 | 2017-01-24 | Application program updating method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106886437A true CN106886437A (en) | 2017-06-23 |
CN106886437B CN106886437B (en) | 2021-08-31 |
Family
ID=59176607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710055037.8A Active CN106886437B (en) | 2017-01-24 | 2017-01-24 | Application program updating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106886437B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108459868A (en) * | 2018-03-29 | 2018-08-28 | 武汉斗鱼网络科技有限公司 | A kind of software start-up method, device, terminal and storage medium |
CN109144605A (en) * | 2018-08-06 | 2019-01-04 | 北京奇艺世纪科技有限公司 | A kind of applied program processing method and device |
CN112235333A (en) * | 2019-07-15 | 2021-01-15 | 北京字节跳动网络技术有限公司 | Function package management method, device, equipment and storage medium |
CN112596773A (en) * | 2020-12-31 | 2021-04-02 | 深圳市大富网络技术有限公司 | Application program updating method, device, equipment and storage medium |
CN114756271A (en) * | 2022-04-29 | 2022-07-15 | 深圳市欧瑞博科技股份有限公司 | Interface updating method and device and electronic equipment |
CN115914329A (en) * | 2021-09-28 | 2023-04-04 | 中国联合网络通信集团有限公司 | Information pushing method and device, electronic equipment and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399792A (en) * | 2013-07-24 | 2013-11-20 | 佳都新太科技股份有限公司 | Implementation scheme of Android-based plug-in applications |
CN103442272A (en) * | 2013-09-11 | 2013-12-11 | 东莞市远峰科技有限公司 | System upgrading method |
CN103605551A (en) * | 2013-11-28 | 2014-02-26 | 金蝶软件(中国)有限公司 | Plugin updating method, system and relevant equipment based on IOS program |
CN104699511A (en) * | 2015-03-27 | 2015-06-10 | 北京奇虎科技有限公司 | Plug-in upgrading method and plug-in upgrading device |
CN104714828A (en) * | 2015-03-31 | 2015-06-17 | 北京奇虎科技有限公司 | Methods and devices for installing and operating application |
CN104991793A (en) * | 2015-06-15 | 2015-10-21 | 上海海漾软件技术有限公司 | Method, device and system used for application program subpackage |
CN105487886A (en) * | 2015-11-24 | 2016-04-13 | 小米科技有限责任公司 | Method and device for loading plugin |
CN106126269A (en) * | 2016-06-07 | 2016-11-16 | 中国建设银行股份有限公司 | application update method, device, system and application design method |
CN106155739A (en) * | 2016-06-30 | 2016-11-23 | 北京奇虎科技有限公司 | A kind of plug-in unit control metering method, server, client and control amount platform |
US9514116B2 (en) * | 2011-11-04 | 2016-12-06 | Microsoft Technology Licensing, Llc | Interaction between web gadgets and spreadsheets |
-
2017
- 2017-01-24 CN CN201710055037.8A patent/CN106886437B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9514116B2 (en) * | 2011-11-04 | 2016-12-06 | Microsoft Technology Licensing, Llc | Interaction between web gadgets and spreadsheets |
CN103399792A (en) * | 2013-07-24 | 2013-11-20 | 佳都新太科技股份有限公司 | Implementation scheme of Android-based plug-in applications |
CN103442272A (en) * | 2013-09-11 | 2013-12-11 | 东莞市远峰科技有限公司 | System upgrading method |
CN103605551A (en) * | 2013-11-28 | 2014-02-26 | 金蝶软件(中国)有限公司 | Plugin updating method, system and relevant equipment based on IOS program |
CN104699511A (en) * | 2015-03-27 | 2015-06-10 | 北京奇虎科技有限公司 | Plug-in upgrading method and plug-in upgrading device |
CN104714828A (en) * | 2015-03-31 | 2015-06-17 | 北京奇虎科技有限公司 | Methods and devices for installing and operating application |
CN104991793A (en) * | 2015-06-15 | 2015-10-21 | 上海海漾软件技术有限公司 | Method, device and system used for application program subpackage |
CN105487886A (en) * | 2015-11-24 | 2016-04-13 | 小米科技有限责任公司 | Method and device for loading plugin |
CN106126269A (en) * | 2016-06-07 | 2016-11-16 | 中国建设银行股份有限公司 | application update method, device, system and application design method |
CN106155739A (en) * | 2016-06-30 | 2016-11-23 | 北京奇虎科技有限公司 | A kind of plug-in unit control metering method, server, client and control amount platform |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108459868A (en) * | 2018-03-29 | 2018-08-28 | 武汉斗鱼网络科技有限公司 | A kind of software start-up method, device, terminal and storage medium |
CN109144605A (en) * | 2018-08-06 | 2019-01-04 | 北京奇艺世纪科技有限公司 | A kind of applied program processing method and device |
CN112235333A (en) * | 2019-07-15 | 2021-01-15 | 北京字节跳动网络技术有限公司 | Function package management method, device, equipment and storage medium |
CN112235333B (en) * | 2019-07-15 | 2023-05-26 | 北京字节跳动网络技术有限公司 | Function package management method, device, equipment and storage medium |
CN112596773A (en) * | 2020-12-31 | 2021-04-02 | 深圳市大富网络技术有限公司 | Application program updating method, device, equipment and storage medium |
CN115914329A (en) * | 2021-09-28 | 2023-04-04 | 中国联合网络通信集团有限公司 | Information pushing method and device, electronic equipment and readable storage medium |
CN114756271A (en) * | 2022-04-29 | 2022-07-15 | 深圳市欧瑞博科技股份有限公司 | Interface updating method and device and electronic equipment |
CN114756271B (en) * | 2022-04-29 | 2023-07-28 | 深圳市欧瑞博科技股份有限公司 | Interface updating method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106886437B (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106886437A (en) | Application program update method and apparatus | |
CN104991790B (en) | The upgrading dissemination method and device of a kind of file | |
CN104731625B (en) | A kind of method, apparatus and mobile terminal loading plug-in unit | |
US9591428B2 (en) | Method, software and apparatus for performing actions on a wireless device using action lists and versioning | |
CN105389222B (en) | A kind of methods, devices and systems of dynamic call native interface | |
CN106357738A (en) | Automatic arrangement method for server cluster and device as well as system thereof | |
US8954949B2 (en) | Smart patch delivery system | |
CN104217140B (en) | A kind of reinforcement means of application program and device | |
CN104750528B (en) | A kind of assembly management method and apparatus in Android program | |
CN105159732B (en) | In mobile terminal installation or the method and mobile terminal of more new application | |
CN106610839A (en) | Method for releasing upgrading package and lightweight upgrading method, device and system | |
CN103761114A (en) | Method and device for loading extensions and/or plugins on browser side | |
CN103024782B (en) | A kind of method and system of base station software version management | |
CN104731623B (en) | Mastery routine starts the method and device of plug-in unit | |
CN109324821B (en) | Self-service terminal system version management method | |
CN106598662A (en) | Application loading method and device based on android | |
CN106528206A (en) | Application starting control method and apparatus, and application installation package reinforcement apparatus | |
CN106325923A (en) | Method and device for managing function plugins | |
CN102902562A (en) | Installation method and device of component type multimode patch pack | |
CN109753767B (en) | Software distribution and updating method and device based on block chain, server and client | |
CN106681787A (en) | Method and device for developing application | |
CN105653341A (en) | Method, device and system for upgrading network invoice client | |
CN111045947B (en) | Test environment construction method and device and related equipment thereof | |
CN104090845B (en) | Automatic game testing method and system and related device | |
CN106648797A (en) | Method and system for installing test software, test server and shared server |
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 |