CN106990988A - The method and device that a kind of program updates - Google Patents

The method and device that a kind of program updates Download PDF

Info

Publication number
CN106990988A
CN106990988A CN201710218006.XA CN201710218006A CN106990988A CN 106990988 A CN106990988 A CN 106990988A CN 201710218006 A CN201710218006 A CN 201710218006A CN 106990988 A CN106990988 A CN 106990988A
Authority
CN
China
Prior art keywords
version
application
specified application
local
documentary evidence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710218006.XA
Other languages
Chinese (zh)
Inventor
李娟�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Wireless Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201710218006.XA priority Critical patent/CN106990988A/en
Publication of CN106990988A publication Critical patent/CN106990988A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Abstract

The embodiments of the invention provide the method and device that a kind of program updates, it is related to field of information processing, application program service efficiency can be improved to a certain extent.Methods described includes:Receive user and start the request for specifying application;In response to the request, start the specified application;Version detection is carried out in the running of the specified application;Download and update on backstage when detecting the presence of new version;After the specified application terminates operation, it is updated.The embodiment of the present invention is suitable for the renewal process of application program.

Description

The method and device that a kind of program updates
【Technical field】
The present invention relates to technical field of information processing, more particularly to the method and device that a kind of program updates.
【Background technology】
With the development of mobile Internet, various Mobile solutions emerge in an endless stream, and Mobile solution is in escalation process In, it will usually it is related to the access to Web.The mode that prior art is used directly accesses network for Mobile solution to be linked and loads Page resource, i.e. user refer to link progress application renewal by accessing in use, on the one hand can be by current network shape The constraint of state, another aspect user needs to wait to complete just be continuing with application until updating application upgrade and updating, and have impact on The normal of user is used.
【The content of the invention】
In view of this, the embodiments of the invention provide the method and device that a kind of program updates, improve to a certain extent Application program service efficiency.
On the one hand, the embodiments of the invention provide a kind of method that program updates, methods described includes:
Receive user and start the request for specifying application;
In response to the request, start the specified application;
Version detection is carried out in the running of the specified application;
Download and update on backstage when detecting the presence of new version;
After the specified application terminates operation, it is updated.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the startup refers to Fixed application includes:
Read local profile;
Check whether local profile indicates there is redaction;
When it is determined that the local profile indicates to there is currently redaction, redaction is revised as in original startup path Start path;
Path is started according to the redaction and starts the application.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described described Progress version detection in the running of application is specified to include:
The documentary evidence of local version is uploaded onto the server, the documentary evidence carries the local of the specified application Version information;
The version indication information that the reception server is issued.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described described Progress version detection in the running of application is specified to include:
Documentary evidence, which is sent, to server obtains request;
The documentary evidence that the reception server is issued;
The version information that the documentary evidence that server is issued is carried is carried out with the version information that local documentary evidence is carried Compare.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, are specified described Using terminate operation after, be updated including:
Obtain difference bag;
It is combined according to the difference bag and the local file of the specified application, generates new edition file.
On the other hand, the embodiments of the invention provide the device that a kind of program updates, described device includes:
Receiving unit, starts the request of specified application for receiving user;
Start unit, in response to the request, starting the specified application;
Detection unit, for carrying out version detection in the running of the specified application;
Download unit, updates for being downloaded when detecting the presence of new version on backstage;
Updating block, for after the specified application terminates operation, being updated.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the startup list Member includes:
Read module, for reading local profile;
Module is checked, for checking whether local profile indicates there is redaction;
Modified module, for when it is determined that the local profile indicates to there is currently redaction, by original startup road It is revised as redaction and starts path in footpath;
Starting module, the application is started for starting path according to the redaction.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the detection list Member includes:
Uploading module, for the documentary evidence of local version to be uploaded onto the server, the documentary evidence carries described Specify the local version information of application;
First receiving module, the version indication information issued for the reception server.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the detection list Member includes:
Sending module, request is obtained for sending documentary evidence to server;
Second receiving module, the documentary evidence issued for the reception server;
Comparing module, what the version information that the documentary evidence for server to be issued is carried was carried with local documentary evidence Version information is compared.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, the renewal list Member includes:
Acquisition module, for obtaining difference bag;
Composite module, for being combined according to the difference bag and the local file of the specified application, generates new edition This document.
The method and device that program provided in an embodiment of the present invention updates, by carrying out backstage more in application running Newly, and in user terminate just to be updated when the application is used so that user is during the use of application and does not need Wait program updates.Complete just be continuing with until updating application upgrade and updating compared to needing to wait with user in the prior art For, method provided in an embodiment of the present invention does not need user to wait, and will not bother the normal of user and use, so that Application program service efficiency is improved to a certain extent.
【Brief description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the method flow diagram that a kind of program provided in an embodiment of the present invention updates;
Fig. 2 is the method flow diagram that another program provided in an embodiment of the present invention updates;
Fig. 3 is the method flow diagram that another program provided in an embodiment of the present invention updates;
Fig. 4 is the method flow diagram that another program provided in an embodiment of the present invention updates;
Fig. 5 is the method flow diagram that another program provided in an embodiment of the present invention updates;
Fig. 6 is the composition frame chart for the device that a kind of program provided in an embodiment of the present invention updates;
Fig. 7 is the composition frame chart for the device that another program provided in an embodiment of the present invention updates;
Fig. 8 is the composition frame chart for the device that another program provided in an embodiment of the present invention updates;
Fig. 9 is the composition frame chart for the device that another program provided in an embodiment of the present invention updates;
Figure 10 is the composition frame chart for the device that another program provided in an embodiment of the present invention updates.
【Embodiment】
In order to be better understood from technical scheme, the embodiment of the present invention is retouched in detail below in conjunction with the accompanying drawings State.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
The embodiments of the invention provide a kind of program update method, its main process as shown in figure 1, including:
101st, receive user and start the request for specifying application.
Any one application for specifying application to run on mobile terminal operating system.
102nd, in response to the request, the specified application is started.
103rd, version detection is carried out in the running of the specified application.
The process of version detection is to specifying apply the version that is run in system and application developer to issue newest Whether version is identical.
104th, when detecting the presence of new version, download and update on backstage.
When not detecting redaction, it is possible to without updating.
105th, after the specified application terminates operation, it is updated.
The method that program provided in an embodiment of the present invention updates, by carrying out background update in application running, and Terminate just to be updated when the application is used in user so that user is during the use of application and withouts waiting for journey Sequence updates.Complete just be continuing with using next up to updating application upgrade renewal compared to needing to wait with user in the prior art Say, method provided in an embodiment of the present invention does not need user to wait, the normal of user will not be bothered and used, so that in certain journey Application program service efficiency is improved on degree.
With reference to foregoing schemes, the embodiment of the present invention specifies the realization of application to provide tool also directed to abovementioned steps 102, startup The method flow of body, as shown in Fig. 2 including:
1021st, local profile is read.
Local profile is to be under the jurisdiction of foregoing specified application, and this document can be carried specifies the version of application to believe with this Breath.
1022nd, check whether local profile indicates there is redaction.
1023rd, when it is determined that the local profile indicates to there is currently redaction, original startup path is revised as Redaction starts path.
Due in flow provided in an embodiment of the present invention, application program is needed in user using can just be completed after terminating more Newly, it is necessary to be changed path is started to redaction, so that user uses new edition therefore when application program is activated again This information.
1024th, path is started according to the redaction and starts the application.
With reference to foregoing schemes, the embodiment of the present invention is also directed to abovementioned steps 103, in the running of the specified application The realization for carrying out version detection provides following two feasible implementation methods.
First method as shown in figure 3, including:
A1031, the documentary evidence of local version uploaded onto the server.
Wherein, it was demonstrated that file is to manifist files, for recording base of the application program on Android system This information, can carry the local version information of the specified application.
The version indication information that A1032, the reception server are issued.
Version indication information herein can be newest version number, or version number's comparison result or tool The renewal bag of body.
Second method as shown in figure 4, including:
B1031, to server send documentary evidence obtain ask.
The documentary evidence that B1032, the reception server are issued.
The version information that B1033, the documentary evidence for issuing server are carried is believed with the version that local documentary evidence is carried Breath is compared.
With reference to foregoing schemes, the embodiment of the present invention also directed to abovementioned steps 105, after the specified application terminates operation, The realization being updated provides below scheme, as shown in figure 5, including:
1051st, difference bag is obtained.
1052nd, it is combined according to the difference bag and the local file of the specified application, generates new edition file.
Based on preceding method flow, the embodiment of the present invention additionally provides the device that a kind of program updates, and it is constituted such as Fig. 6 institutes Show, described device includes:
Receiving unit 21, starts the request of specified application for receiving user.
Start unit 22, in response to the request, starting the specified application.
Detection unit 23, for carrying out version detection in the running of the specified application.
Download unit 24, updates for being downloaded when detecting the presence of new version on backstage.
Updating block 25, for after the specified application terminates operation, being updated.
Optionally, as shown in fig. 7, the start unit 22 includes:
Read module 221, for reading local profile.
Module 222 is checked, for checking whether local profile indicates there is redaction.
Modified module 223, for when it is determined that the local profile indicates to there is currently redaction, starting original It is revised as redaction and starts path in path.
Starting module 224, the application is started for starting path according to the redaction.
Optionally, as shown in figure 8, the detection unit 23 includes:
Uploading module 231, for the documentary evidence of local version to be uploaded onto the server, the documentary evidence is carried State the local version information for specifying application.
First receiving module 232, the version indication information issued for the reception server.
Optionally, as shown in figure 9, the detection unit 23 includes:
Sending module 233, request is obtained for sending documentary evidence to server.
Second receiving module 234, the documentary evidence issued for the reception server.
Comparing module 235, the version information that the documentary evidence for server to be issued is carried is taken with local documentary evidence The version information of band is compared.
Optionally, as shown in Figure 10, the updating block 25 includes:
Acquisition module 251, for obtaining difference bag.
Composite module 252, for being combined according to the difference bag and the local file of the specified application, generation is new Version file.
The device that program provided in an embodiment of the present invention updates, by carrying out background update in application running, and Terminate just to be updated when the application is used in user so that user is during the use of application and withouts waiting for journey Sequence updates.Complete just be continuing with using next up to updating application upgrade renewal compared to needing to wait with user in the prior art Say, method provided in an embodiment of the present invention does not need user to wait, the normal of user will not be bothered and used, so that in certain journey Application program service efficiency is improved on degree.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example, multiple units or group Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown Or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect Coupling is communicated to connect, and can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer Device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (10)

1. a kind of method that program updates, it is characterised in that methods described includes:
Receive user and start the request for specifying application;
In response to the request, start the specified application;
Version detection is carried out in the running of the specified application;
Download and update on backstage when detecting the presence of new version;
After the specified application terminates operation, it is updated.
2. according to the method described in claim 1, it is characterised in that described start specifies application to include:
Read local profile;
Check whether local profile indicates there is redaction;
When it is determined that the local profile indicates to there is currently redaction, redaction is revised as in original startup path and started Path;
Path is started according to the redaction and starts the application.
3. according to the method described in claim 1, it is characterised in that described to carry out version in the running of the specified application This detection includes:
The documentary evidence of local version is uploaded onto the server, the documentary evidence carries the local version of the specified application Information;
The version indication information that the reception server is issued.
4. according to the method described in claim 1, it is characterised in that described to carry out version in the running of the specified application This detection includes:
Documentary evidence, which is sent, to server obtains request;
The documentary evidence that the reception server is issued;
The version information that the version information that the documentary evidence that server is issued is carried is carried with local documentary evidence is compared.
5. according to the method described in claim 1, it is characterised in that after the specified application terminates operation, be updated bag Include:
Obtain difference bag;
It is combined according to the difference bag and the local file of the specified application, generates new edition file.
6. the device that a kind of program updates, it is characterised in that described device includes:
Receiving unit, starts the request of specified application for receiving user;
Start unit, in response to the request, starting the specified application;
Detection unit, for carrying out version detection in the running of the specified application;
Download unit, updates for being downloaded when detecting the presence of new version on backstage;
Updating block, for after the specified application terminates operation, being updated.
7. device according to claim 6, it is characterised in that the start unit includes:
Read module, for reading local profile;
Module is checked, for checking whether local profile indicates there is redaction;
Modified module, for when it is determined that the local profile indicates to there is currently redaction, original startup path to be repaiied It is changed to redaction and starts path;
Starting module, the application is started for starting path according to the redaction.
8. device according to claim 6, it is characterised in that the detection unit includes:
Uploading module, for the documentary evidence of local version to be uploaded onto the server, the documentary evidence carries described specify The local version information of application;
First receiving module, the version indication information issued for the reception server.
9. device according to claim 6, it is characterised in that the detection unit includes:
Sending module, request is obtained for sending documentary evidence to server;
Second receiving module, the documentary evidence issued for the reception server;
Comparing module, the version that the version information that the documentary evidence for server to be issued is carried is carried with local documentary evidence Information is compared.
10. device according to claim 6, it is characterised in that the updating block includes:
Acquisition module, for obtaining difference bag;
Composite module, for being combined according to the difference bag and the local file of the specified application, generation new edition is herein Part.
CN201710218006.XA 2017-04-05 2017-04-05 The method and device that a kind of program updates Pending CN106990988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710218006.XA CN106990988A (en) 2017-04-05 2017-04-05 The method and device that a kind of program updates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710218006.XA CN106990988A (en) 2017-04-05 2017-04-05 The method and device that a kind of program updates

Publications (1)

Publication Number Publication Date
CN106990988A true CN106990988A (en) 2017-07-28

Family

ID=59414714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710218006.XA Pending CN106990988A (en) 2017-04-05 2017-04-05 The method and device that a kind of program updates

Country Status (1)

Country Link
CN (1) CN106990988A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881463A (en) * 2018-07-03 2018-11-23 佛山市影腾科技有限公司 A kind of information comparison method and device
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
WO2021223658A1 (en) * 2020-05-07 2021-11-11 支付宝(杭州)信息技术有限公司 Mini program update

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801732A (en) * 2004-12-31 2006-07-12 中兴通讯股份有限公司 Node controlling method in network management system
CN103442026A (en) * 2013-02-05 2013-12-11 华为技术有限公司 Application program processing method, device and system
CN104317607A (en) * 2014-09-27 2015-01-28 昆明钢铁集团有限责任公司 Enterprise In-house IOS APP automatic update system and method
CN105430448A (en) * 2015-11-24 2016-03-23 腾讯科技(深圳)有限公司 Control processing method for video player and video player client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801732A (en) * 2004-12-31 2006-07-12 中兴通讯股份有限公司 Node controlling method in network management system
CN103442026A (en) * 2013-02-05 2013-12-11 华为技术有限公司 Application program processing method, device and system
CN104317607A (en) * 2014-09-27 2015-01-28 昆明钢铁集团有限责任公司 Enterprise In-house IOS APP automatic update system and method
CN105430448A (en) * 2015-11-24 2016-03-23 腾讯科技(深圳)有限公司 Control processing method for video player and video player client

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881463A (en) * 2018-07-03 2018-11-23 佛山市影腾科技有限公司 A kind of information comparison method and device
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system
WO2021223658A1 (en) * 2020-05-07 2021-11-11 支付宝(杭州)信息技术有限公司 Mini program update
CN113434211A (en) * 2021-06-24 2021-09-24 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium
CN113434211B (en) * 2021-06-24 2023-02-07 平安国际智慧城市科技股份有限公司 Application program function dynamic configuration method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103678319B (en) Resource file update method, device and system and server
JP5696018B2 (en) Target data placement method, target data placement system, and server device, client device, and program thereof
CN106990988A (en) The method and device that a kind of program updates
CN105988926B (en) The treating method and apparatus of multi version test data
EP2411925B1 (en) Device dependent on-demand compiling and deployment of mobile applications
CN103442026B (en) A kind of applied program processing method, device and system
CN102263805A (en) Dynamic resource downloading method and apparatus thereof
KR101422563B1 (en) Method and system for efficient download of data package
CN107783777A (en) A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
CN101593119B (en) Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN105843656A (en) System upgrading method for insufficient disk space, terminal device and server
CN106572372A (en) Set-top box upgrading method and set-top box
CN107193612A (en) The version upgrading method and device of a kind of mobile terminal
CN106843933A (en) A kind of leak restorative procedure of application program, mobile terminal and patch server
CN107122207A (en) Method for upgrading software, client device and server
KR20150087390A (en) Advertisement processing method and device
CN107360165B (en) Terminal device, cloud server and method and device for managing and controlling operating system
CN106201577B (en) A kind of method and device updating Lua file
CN101383821B (en) Updating method and system for game service installation packet
JP2017509048A (en) Anti-malware type mobile content data management apparatus and method
CN109908585A (en) A kind of document handling method and system calculate equipment and storage medium
CN103916440A (en) Remote upgrade method and device
CN108170457A (en) Firmware upgrade method, device and VR head-mounted displays
CN105094916A (en) Method and device for wireless firmware upgrading expansion based on module
CN109782736A (en) Vehicle data read method, device, mobile unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170728