CN104423989A - Application updating method and electronic equipment - Google Patents

Application updating method and electronic equipment Download PDF

Info

Publication number
CN104423989A
CN104423989A CN201310392896.8A CN201310392896A CN104423989A CN 104423989 A CN104423989 A CN 104423989A CN 201310392896 A CN201310392896 A CN 201310392896A CN 104423989 A CN104423989 A CN 104423989A
Authority
CN
China
Prior art keywords
application
data
manipulation operation
lastest imformation
electronic equipment
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
Application number
CN201310392896.8A
Other languages
Chinese (zh)
Other versions
CN104423989B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310392896.8A priority Critical patent/CN104423989B/en
Publication of CN104423989A publication Critical patent/CN104423989A/en
Application granted granted Critical
Publication of CN104423989B publication Critical patent/CN104423989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an application updating method and electronic equipment. The application updating method includes: during running of a first application of M applications, acquiring updating information aiming at the first application; responding to the updating information, updating the first application from a current version to a first version, and optimizing first data to form second data. After the first application is determined to be in the running state, control operation aiming at the first application is acquired, and the first application responds to the control operation without affecting an updating process. The application updating method and the electronic equipment have the advantage that in case of the control operation aiming at the first application in the updating process, response of the first application is not affected by the updating process.

Description

A kind of application update method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of application update method and electronic equipment.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic product also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.Present people can pass through various types of electronic equipment, enjoy the comfortable life along with development in science and technology brings.Such as, computing machine has become an indispensable part in people's life, and people can use computing machine to browse news, receiving and dispatching mail, viewing film, music appreciating, play games etc.
Along with the development of electronic technology, the operating system of computing machine is also constantly updated, a lot of application programs usually installed by computing machine, present intelligent machine is different from non intelligent machine in the past, the perfect in shape and function of intelligent machine depends on the perfect in shape and function of application to a great extent, continuous iteration version adjustment product function, provides better service, is just intelligent machine.
Present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art exists following technical matters:
Because the various application of installing in intelligent machine can according to the user demand of user and the constantly perfect of application, normal needs carries out some renewal rewards theory to application.Application upgrades, and refers to that application developer is when writing application program, because designer considers not comprehensive or program function imperfection, after Application issuance, by the amendment to program or after adding new function, and the mode issued with the form of patch.User downloads these patches and upgrades version existing in equipment; Application upgrades the demand that can better meet user and the invasion preventing virus.
In prior art, if when application upgrades (installations), user is using the application needing renewal, then user can be pointed out the need of exiting the application used, and to application upgrades after determining to exit the application of current use user again; Or upgrade the application starting just automatically to exit the current use of user, then directly upgrade, carry out application by above-mentioned two kinds of modes and upgrade, all can interrupt the use of user, so Consumer's Experience can be caused bad.
Summary of the invention
The invention provides a kind of application update method and electronic equipment, if when method and apparatus provided by the present invention solves application renewal in prior art, user is using the application needing to upgrade, then need user to exit application, so the problem that Consumer's Experience can be caused bad.
The invention provides a kind of application update method, the method is applied in an electronic equipment, and be provided with M application in described electronic equipment, described method comprises:
In the first application operational process in described M application, obtain the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Respond described lastest imformation, perform and described first application is updated to first version from described current version, by described first data-optimized formation second data;
Wherein, after determining that described first application is in running status, obtain the manipulation operation for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, described acquisition is for the manipulation operation of described first application, and described first application responds described manipulation operation and do not affect described renewal process and comprises:
After obtaining described lastest imformation, obtain first data of described first application corresponding to current version;
Generate the Backup Data of described first data, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described Backup Data;
The first moment at no point in the update process, based on the described first data response manipulation operation corresponding to described first application;
The second moment after having upgraded, described manipulation operation is responded based on described second data corresponding to described first application, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, described acquisition is for the manipulation operation of described first application, and described first application responds described manipulation operation and do not affect described renewal process and comprises:
After obtaining described lastest imformation, detect current the first functional module run of described first application;
Determine the corresponding part of described first functional module in described first data;
When the more new data packets utilizing described lastest imformation corresponding upgrades described first data, more newly-generated second data are carried out to the data removed in the first data after described corresponding part; After the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, described acquisition is for the manipulation operation of described first application, and described first application responds described manipulation operation and do not affect described renewal process and comprises:
Detect described first application and whether be switched to closed condition from described running status, obtain a testing result;
If determine that described first application is switched to closed condition from described running status according to described testing result, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described first data, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, describedly determine that described first application is in running status and comprises:
The descriptor of the first application to be updated is obtained from described lastest imformation;
From the bag installation manager of system, inquire about the status information whether comprising described first application according to described descriptor, determine whether described first application is in running status according to described status information.
There is provided a kind of electronic equipment according to said method, be provided with M application in this electronic equipment, this electronic equipment also comprises:
Lastest imformation acquiring unit, in the first application operational process in described M application, obtains the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Upgrade response unit, for responding described lastest imformation, performing and described first application is updated to first version from described current version, by described first data-optimized formation second data; Wherein, after determining that described first application is in running status, after obtaining the manipulation operation for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, upgrades response unit also for after obtaining described lastest imformation, obtains first data of described first application corresponding to current version; Generate the Backup Data of described first data, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described Backup Data; The first moment at no point in the update process, based on the described first data response manipulation operation corresponding to described first application; The second moment after having upgraded, described manipulation operation is responded based on described second data corresponding to described first application, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, upgrades response unit also for after obtaining described lastest imformation, detects current the first functional module run of described first application; Determine the corresponding part of described first functional module in described first data; When the more new data packets utilizing described lastest imformation corresponding upgrades described first data, more newly-generated second data are carried out to the data removed in the first data after described corresponding part; After the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, upgrades response unit and also whether is switched to closed condition from described running status for detecting described first application, obtain a testing result; If determine that described first application is switched to closed condition from described running status according to described testing result, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described first data, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Optional scheme, lastest imformation acquiring unit also for obtaining the descriptor of the first application to be updated from described lastest imformation; From the bag installation manager of system, inquire about the status information whether comprising described first application according to described descriptor, determine whether described first application is in running status according to described status information.
One or two in technique scheme, at least has following technique effect:
1, in the method that the embodiment of the present invention provides, first after receiving lastest imformation, detect user and whether use the application needing to upgrade, if using application to be updated, then direct application to be updated to be upgraded, if and in renewal process, had the manipulation operation for described first application, then the response of the first application would not be by the impact of described renewal process.
2, in the embodiment of the present invention, because any instant at no point in the update process, first application is all that the manipulation operation of use first data to user responds, after application renewal completes, then apply the manipulation operation that renewal rewards theory generates the second data response user, so in whole application renewal process, make the response of the first application described in the described manipulation operation for obtaining not by the impact of described renewal process.
3, in the embodiment of the present invention, if application to be updated is in running status, then first determine the current functional module used of user, and the part that user is using can be shielded in the process upgraded, so the first moment in application renewal process, the manipulation operation for described first application that user inputs detected, the first application then can based on the manipulation operation of the first data response user of correspondence.
4, in the embodiment of the present invention, after receiving lastest imformation, whether then in good time detection first is applied and is closed, if closed, carry out renewal rewards theory immediately, user is not needed just to respond described lastest imformation after restarting electronic equipment, make described renewal rewards theory can respond renewal rewards theory timely, and in whole application renewal process, make the response of the first application described in the described manipulation operation for obtaining not by the impact of described renewal process.
Accompanying drawing explanation
Fig. 1 is a kind of schematic flow sheet applying update method of the embodiment of the present invention;
Fig. 2 is the renewal realizing in the embodiment of the present invention applying and the method flow schematic diagram running not interactional implementation one;
Fig. 3 is the renewal realizing in the embodiment of the present invention applying and the method flow schematic diagram running not interactional implementation two;
Fig. 4 is the renewal realizing in the embodiment of the present invention applying and the method flow schematic diagram running not interactional implementation three;
Fig. 5 is the structural representation of a kind of electronic equipment of the embodiment of the present invention.
Embodiment
In prior art, if when application upgrades (installations), user is using the application needing renewal, then user can be pointed out the need of exiting the application used, and to application upgrades after determining to exit the application of current use user again; Or upgrade the application starting just automatically to exit the current use of user, then directly upgrade, carry out application by above-mentioned two kinds of modes and upgrade, all can interrupt the use of user, so Consumer's Experience can be caused bad.
For the problems referred to above, the embodiment of the present invention provides a kind of application update method, whether main thought of the present invention first detects to need the application upgraded to run, if in operation, make the renewal of directly carrying out in various manners applying, and do not affect the operation of user when carrying out applying renewal.Wherein, the method is applied in an electronic equipment, and be provided with M application in described electronic equipment, the method specifically comprises:
In the first application operational process in described M application, obtain the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Respond described lastest imformation, perform and described first application is updated to first version from described current version, by described first data-optimized formation second data;
Wherein, after determining that described first application is in running status, the response for the first application described in the manipulation operation obtained is not subject to the impact of described renewal process.
In the method that the embodiment of the present invention provides, first after receiving lastest imformation, detect user and whether use the application needing to upgrade, if using application to be updated, then direct application to be updated to be upgraded, if and in renewal process, had the manipulation operation for described first application, then the response of the first application would not be by the impact of described renewal process.
Be described various embodiment of the present invention and various aspects below with reference to following details, accompanying drawing will illustrate various embodiment.Explanation below and accompanying drawing are to exemplary illustration of the present invention, and should not regard limitation of the present invention as.Describe a large amount of detail to provide the detailed understanding to various embodiments of the invention.But in some cases, will known or traditional details be described, to provide brief description to embodiments of the invention.
Some part of following detailed description represents with the form of algorithm, and these algorithms comprise the operation carried out for the data stored in computer memory.Algorithm refer to substantially cause the operation of results needed be certainly in harmony sequence.These operations usually need or relate to physical manipulation or physical quantity.Usually (but not being inevitable), this tittle takes the form of electric signal or magnetic signal, and these signals can be stored, transmit, merge, compare and otherwise be handled.Already proved, sometimes (mainly in order to normally used reason), these signals were called position, value, element, symbol, character, item, number etc. are easily.
But should keep firmly in mind, these and similar all terms are associated with suitable physical quantity, and be only the label being easily applied to this tittle.Unless outside being hereinafter otherwise noted with other forms significantly, the explanation using such as " process " or " calculating " or the term such as " judgement " or " display " to carry out in whole instructions can refer to the action that data handling system or like carry out and process, measure the data that represent and convert thereof in the storer of this system or register (or other this category informations store, transmit or show device) similarly with other data that the form of physical quantity represents in the RS of described action and process operating computer with physics (electronics).
The present invention can relate to the equipment for performing the one or more operation in operation described in the application.This equipment can be required object and special configuration, or also can comprise multi-purpose computer, and described multi-purpose computer optionally activates (activate) or reconstruct (reconfigure) by the computer program be stored in this computing machine.Such computer program can be stored in machine (such as computing machine) computer-readable recording medium or be stored in and be suitable for stored electrons instruction be coupled in any type media of bus respectively, and described computer-readable medium includes but not limited to the dish (comprising floppy disk, CD, CD-ROM and magneto-optic disk) of any type, ROM (read-only memory) (ROM), random access memory (RAM), erasable programmable ROM (EPROM), electrically erasable ROM (EEPROM), flash memory, magnetic card or optical card.
Machine readable media comprises for be stored by the readable form of machine (such as computing machine) or any mechanism of transmission information.Such as, machine readable media comprises ROM (read-only memory) (ROM); Random access memory (RAM), disk storage media, optical storage medium, flash memory device, with electricity, light, sound or other form propagate signal (such as carrier wave, infrared signal, digital signal etc.) etc.
As shown in Figure 1, the embodiment of the present invention provides a kind of application update method, and the method is applied in an electronic equipment, is provided with M application, is described in detail below in conjunction with Figure of description to the specific embodiment of the present invention in described electronic equipment:
Step 101, in the first application operational process in described M application, obtains the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Step 102, responds described lastest imformation, performs and described first application is updated to first version from described current version, by described first data-optimized formation second data; Wherein, after determining that described first application is in running status, obtain the manipulation operation for described first application, described first application responds described manipulation operation and does not affect described renewal process.
In embodiments of the present invention, because need first to determine whether application to be updated runs, then do according to the ruuning situation of application to be updated and further upgrade realization, so the method that the embodiment of the present invention provides can also determine that described first application is in running status in the following manner, specifically comprise:
The descriptor of the first application to be updated is obtained from described lastest imformation;
From the bag installation manager of system, inquire about the status information whether comprising described first application according to described descriptor, determine whether described first application is in running status according to described status information.
As long as because application is in running status then can make corresponding record in the bag installation manager of system, so after acquisition lastest imformation, the descriptor of the application to be updated that can comprise according to lastest imformation determines the title of application to be updated and/or the combination of title and version number; Thus bag installation manager according to the combinatorial search of described title/or title and version number, if search corresponding title and/or the combination of title and version number in package manager, then determine that described application to be updated is in running status.
If when receiving lastest imformation, application to be updated runs, the renewal that realize applying does not occur conflicting with the operation of user, the invention provides multiple attainable mode, below introduces several optimized implementation:
Implementation one, by backup application current data to be updated, then renewal rewards theory is being carried out to Backup Data thus the normal operational scheme that the realization of renewal rewards theory and first is applied is separated, thus the response realized for the first application described in the manipulation operation obtained is by the impact of described renewal process.Specific implementation step comprises (as shown in Figure 2):
Step 201, after obtaining described lastest imformation, obtains first data of described first application corresponding to current version;
Step 202, generates the Backup Data of described first data, and the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described Backup Data.
In this embodiment, in the whole process that application upgrades, user can input the manipulation operation for described first application, and the first application more can carry out respective response to the manipulation operation of user under news not affecting, that is:
Because data corresponding for the first application backed up, then in the first moment in application renewal process, the manipulation operation for described first application that user inputs detected, the first application then can based on the manipulation operation of the first data response user of correspondence;
In the second moment after having upgraded, the manipulation operation for described first application that user inputs detected, the first application then responds described manipulation operation based on described second data of correspondence;
Because any instant at no point in the update process, first application is all that the manipulation operation of use first data to user responds, after application renewal completes, then apply the manipulation operation that renewal rewards theory generates the second data response user, so in whole application renewal process, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Implementation two, by determining the current data used of application to be updated, then do not having the data used to carry out renewal rewards theory thus the normal operational scheme that the realization of renewal rewards theory and first apply separate, thus realizing the first response of applying described in the manipulation operation for acquisition and be not subject to the impact of described renewal process.Specific implementation step comprises (as shown in Figure 3):
Because incremental update only upgrades the place needing to upgrade; Faster relative to upgrading completely, treatment capacity reduces; So renewal rewards theory is many times all incremental update, incremental update refers to when carrying out renewal rewards theory, only upgrades the place needing to change, and does not need to upgrade or updated place then can not repeat to upgrade, incremental update with upgrade completely relative.So for incremental update the characteristic embodiment of the present invention provide in for the response of the first application described in the manipulation operation obtained by the implementation of impact of described renewal process can not be:
Step 301, after obtaining described lastest imformation, detects current the first functional module run of described first application;
Step 302, determines the corresponding part of described first functional module in described first data;
Step 303, when the more new data packets utilizing described lastest imformation corresponding upgrades described first data, carries out more newly-generated second data to the data removed in the first data after described corresponding part; After the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
For the ease of the renewal of application and programming convenient, the program corresponding to a lot of application is all that each function of application is divided into multiple functional module, thus some time standby certain function of using can't have influence on the renewal of other functional modules.If so an application runs, then can detect the funtion part that application is running, then upgrade except other parts outside the funtion part run, if in the process upgraded, there is the content that the funtion part run is upgraded, then skip.
In this embodiment, in the whole process that application upgrades, user can input the manipulation operation for described first application, and the first application more can carry out respective response to the manipulation operation of user under news not affecting, that is:
First the current functional module used of user is determined, and the part that user is using can be shielded in the process upgraded, so the first moment in application renewal process, the manipulation operation for described first application that user inputs detected, the first application then can based on the manipulation operation of the first data response user of correspondence.
Because any instant at no point in the update process, first application is all that the manipulation operation of use first data to user responds, after application renewal completes, then apply the manipulation operation that renewal rewards theory generates the second data response user, so in whole application renewal process, make the response of the first application described in the described manipulation operation for obtaining not by the impact of described renewal process.
Because in the environment for use of reality, user may once open multiple application program, is all generally one and is applied as foreground application, although other application are running but are being not the application that user is operating.For the application that these day after tomorrow are run, if there is the operation that system upgrades automatically, the embodiment of the present invention can also upgrade in the following manner:
In the first application operational process in described M application, obtain the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Before responding described lastest imformation, after determining that described first application is in running status, whether detect described first application at running background, if described first application is at running background, after preserving the current using state information of the first application, close described first application;
After described first application is closed, respond described lastest imformation, perform and described first application is updated to first version from described current version, by described first data-optimized formation second data;
Respond after described updating message completes, reopen described first application; And utilize preservation first to apply use scenes when current using state information reverting closes described first application.
If implementation three determines that application to be updated runs, when detection user that then can be in good time closes application to be updated, if closed, upgrade immediately, thus the normal operational scheme making the realization of renewal rewards theory and first apply is separated, thus realize the impact not being subject to described renewal process for the response of the first application described in the manipulation operation obtained.Specific implementation step comprises (as shown in Figure 4):
Step 401, detects described first application and whether is switched to closed condition from described running status, obtain a testing result;
Step 402, if determine that described first application is switched to closed condition from described running status according to described testing result, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described first data.
In this embodiment, in the whole process that application upgrades, user can input the manipulation operation for described first application, and the first application more can carry out respective response to the manipulation operation of user under news not affecting, that is:
Applying electronic equipment is after determining to need to upgrade the first application, the running status of detection first application that then can be in good time, determine whether user has closedown first to apply, if there is closedown first to apply, application renewal process then performs renewal rewards theory immediately, so can't affect the operation that user first applies.
If after renewal completes, user reopens described first application, then, after renewal completes, if the manipulation operation for described first application that user inputs detected, the first application then responds described manipulation operation based on described second data of correspondence.
Because after receiving lastest imformation, whether then in good time detection first is applied and is closed, if closed, carry out renewal rewards theory immediately, user is not needed just to respond described lastest imformation after restarting electronic equipment, make described renewal rewards theory can respond renewal rewards theory timely, and in whole application renewal process, after the manipulation operation making electronic equipment obtain for described first application, described first application responds described manipulation operation and does not affect described renewal process.
As shown in Figure 5, also provide a kind of electronic equipment according to the said method embodiment of the present invention, be provided with M application in this electronic equipment, this electronic equipment also comprises:
Lastest imformation acquiring unit 501, in the first application operational process in described M application, obtains the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Described lastest imformation acquiring unit 501 also for obtaining the descriptor of the first application to be updated from described lastest imformation; From the bag installation manager of system, inquire about the status information whether comprising described first application according to described descriptor, determine whether described first application is in running status according to described status information.
Upgrade response unit 502, for responding described lastest imformation, performing and described first application is updated to first version from described current version, by described first data-optimized formation second data; Wherein, after determining that described first application is in running status, after obtaining the manipulation operation for described first application, described first application responds described manipulation operation and does not affect described renewal process.
By backing up application current data to be updated, then renewal rewards theory is being carried out to Backup Data thus the normal operational scheme that the realization of renewal rewards theory and first is applied is separated, thus the response realized for the first application described in the manipulation operation obtained is by the impact of described renewal process.So in the embodiment of the present invention:
Upgrade response unit 502 also for after obtaining described lastest imformation, obtain first data of described first application corresponding to current version; Generate the Backup Data of described first data, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described Backup Data; The first moment at no point in the update process, based on the described first data response manipulation operation corresponding to described first application; The second moment after having upgraded, described manipulation operation is responded based on described second data corresponding to described first application, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
By determining the current data used of application to be updated, then do not having the data used to carry out renewal rewards theory thus the normal operational scheme that the realization of renewal rewards theory and first apply separate, thus realizing the first response of applying described in the manipulation operation for acquisition and be not subject to the impact of described renewal process.So in this embodiment:
Described renewal response unit 502, also for after obtaining described lastest imformation, detects current the first functional module run of described first application; Determine the corresponding part of described first functional module in described first data; When the more new data packets utilizing described lastest imformation corresponding upgrades described first data, more newly-generated second data are carried out to the data removed in the first data after described corresponding part; After the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
If determine that application to be updated runs, when detection user that then can be in good time closes application to be updated, if closed, upgrade immediately, thus the normal operational scheme making the realization of renewal rewards theory and first apply is separated, thus realize the impact not being subject to described renewal process for the response of the first application described in the manipulation operation obtained.So in this embodiment:
Upgrade response unit 502 and also whether be switched to closed condition from described running status for detecting described first application, obtain a testing result; If determine that described first application is switched to closed condition from described running status according to described testing result, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described first data, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has following technique effect:
1, in the method that the embodiment of the present invention provides, first after receiving lastest imformation, detect user and whether use the application needing to upgrade, if using application to be updated, then direct application to be updated to be upgraded, if and in renewal process, had the manipulation operation for described first application, then the response of the first application would not be by the impact of described renewal process.
2, in the embodiment of the present invention, because any instant at no point in the update process, first application is all that the manipulation operation of use first data to user responds, after application renewal completes, then apply the manipulation operation that renewal rewards theory generates the second data response user, so in whole application renewal process, make the response of the first application described in the described manipulation operation for obtaining not by the impact of described renewal process.
3, in the embodiment of the present invention, if application to be updated is in running status, then first determine the current functional module used of user, and the part that user is using can be shielded in the process upgraded, so the first moment in application renewal process, the manipulation operation for described first application that user inputs detected, the first application then can based on the manipulation operation of the first data response user of correspondence.
4, in the embodiment of the present invention, after receiving lastest imformation, whether then in good time detection first is applied and is closed, if closed, carry out renewal rewards theory immediately, user is not needed just to respond described lastest imformation after restarting electronic equipment, make described renewal rewards theory can respond renewal rewards theory timely, and in whole application renewal process, make the response of the first application described in the described manipulation operation for obtaining not by the impact of described renewal process.
Method of the present invention is not limited to the embodiment described in embodiment, and those skilled in the art's technical scheme according to the present invention draws and other embodiment belongs to technological innovation scope of the present invention equally.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. apply a update method, the method is applied in an electronic equipment, and be provided with M application in described electronic equipment, described method comprises:
In the first application operational process in described M application, obtain the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Respond described lastest imformation, perform and described first application is updated to first version from described current version, by described first data-optimized formation second data;
Wherein, after determining that described first application is in running status, obtain the manipulation operation for described first application, described first application responds described manipulation operation and does not affect described renewal process.
2. the method for claim 1, is characterized in that, described acquisition is for the manipulation operation of described first application, and described first application responds described manipulation operation and do not affect described renewal process and comprises:
After obtaining described lastest imformation, obtain first data of described first application corresponding to current version;
Generate the Backup Data of described first data, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described Backup Data;
The first moment at no point in the update process, based on the described first data response manipulation operation corresponding to described first application;
The second moment after having upgraded, described manipulation operation is responded based on described second data corresponding to described first application, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
3. the method for claim 1, is characterized in that, described acquisition is for the manipulation operation of described first application, and described first application responds described manipulation operation and do not affect described renewal process and comprises:
After obtaining described lastest imformation, detect current the first functional module run of described first application;
Determine the corresponding part of described first functional module in described first data;
When the more new data packets utilizing described lastest imformation corresponding upgrades described first data, more newly-generated second data are carried out to the data removed in the first data after described corresponding part; After the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
4. the method for claim 1, is characterized in that, described acquisition is for the manipulation operation of described first application, and described first application responds described manipulation operation and do not affect described renewal process and comprises:
Detect described first application and whether be switched to closed condition from described running status, obtain a testing result;
If determine that described first application is switched to closed condition from described running status according to described testing result, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described first data, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
5. the method as described in as arbitrary in Claims 1 to 4, is characterized in that, describedly determines that described first application is in running status and comprises:
The descriptor of the first application to be updated is obtained from described lastest imformation;
From the bag installation manager of system, inquire about the status information whether comprising described first application according to described descriptor, determine whether described first application is in running status according to described status information.
6. an electronic equipment, be provided with M application in this electronic equipment, this electronic equipment also comprises:
Lastest imformation acquiring unit, in the first application operational process in described M application, obtains the lastest imformation for described first application; Described lastest imformation is used for described first application to be updated to first version from current version, is optimized to make the first data corresponding to described first application current version;
Upgrade response unit, for responding described lastest imformation, performing and described first application is updated to first version from described current version, by described first data-optimized formation second data; Wherein, after determining that described first application is in running status, after obtaining the manipulation operation for described first application, described first application responds described manipulation operation and does not affect described renewal process.
7. electronic equipment as claimed in claim 6, is characterized in that, upgrades response unit also for after obtaining described lastest imformation, obtains first data of described first application corresponding to current version; Generate the Backup Data of described first data, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described Backup Data; The first moment at no point in the update process, based on the described first data response manipulation operation corresponding to described first application; The second moment after having upgraded, described manipulation operation is responded based on described second data corresponding to described first application, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
8. electronic equipment as claimed in claim 6, is characterized in that, upgrades response unit also for after obtaining described lastest imformation, detects current the first functional module run of described first application; Determine the corresponding part of described first functional module in described first data; When the more new data packets utilizing described lastest imformation corresponding upgrades described first data, more newly-generated second data are carried out to the data removed in the first data after described corresponding part; After the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
9. electronic equipment as claimed in claim 6, is characterized in that, upgrades response unit and also whether is switched to closed condition from described running status for detecting described first application, obtain a testing result; If determine that described first application is switched to closed condition from described running status according to described testing result, the more new data packets utilizing described lastest imformation corresponding carries out more newly-generated second data to described first data, after the manipulation operation that electronic equipment is obtained for described first application, described first application responds described manipulation operation and does not affect described renewal process.
10. the electronic equipment as described in as arbitrary in claim 6 ~ 9, is characterized in that, lastest imformation acquiring unit also for obtaining the descriptor of the first application to be updated from described lastest imformation; From the bag installation manager of system, inquire about the status information whether comprising described first application according to described descriptor, determine whether described first application is in running status according to described status information.
CN201310392896.8A 2013-09-02 2013-09-02 One kind applies update method and electronic equipment Active CN104423989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310392896.8A CN104423989B (en) 2013-09-02 2013-09-02 One kind applies update method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310392896.8A CN104423989B (en) 2013-09-02 2013-09-02 One kind applies update method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104423989A true CN104423989A (en) 2015-03-18
CN104423989B CN104423989B (en) 2017-11-28

Family

ID=52973070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310392896.8A Active CN104423989B (en) 2013-09-02 2013-09-02 One kind applies update method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104423989B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445609A (en) * 2016-09-30 2017-02-22 广东欧珀移动通信有限公司 Automatic updating method of application program and mobile terminal
CN107967145A (en) * 2017-11-16 2018-04-27 南京轩世琪源软件科技有限公司 A kind of Mobile payment terminal system hot upgrade method online
CN108063794A (en) * 2017-11-16 2018-05-22 南京轩世琪源软件科技有限公司 One kind divides Framework Software network hot upgrade method online
CN108881372A (en) * 2017-05-01 2018-11-23 谷歌有限责任公司 The transparent upgrading of system service or application
CN110837377A (en) * 2018-08-15 2020-02-25 北京国双科技有限公司 Application program updating method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770121A (en) * 2004-09-30 2006-05-10 微软公司 Updating software while it is running
CN1979418A (en) * 2005-12-07 2007-06-13 英业达股份有限公司 Dynamic updating programe method
CN101004690A (en) * 2007-01-09 2007-07-25 京信通信技术(广州)有限公司 Integrative method for updating load program and application program in embedded type system
CN101329633A (en) * 2008-07-25 2008-12-24 北大方正集团有限公司 Method and apparatus for upgrading software
CN102567062A (en) * 2011-12-31 2012-07-11 成都主导软件技术有限公司 System for upgrading software based on monitoring vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770121A (en) * 2004-09-30 2006-05-10 微软公司 Updating software while it is running
CN1979418A (en) * 2005-12-07 2007-06-13 英业达股份有限公司 Dynamic updating programe method
CN101004690A (en) * 2007-01-09 2007-07-25 京信通信技术(广州)有限公司 Integrative method for updating load program and application program in embedded type system
CN101329633A (en) * 2008-07-25 2008-12-24 北大方正集团有限公司 Method and apparatus for upgrading software
CN102567062A (en) * 2011-12-31 2012-07-11 成都主导软件技术有限公司 System for upgrading software based on monitoring vehicle

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445609A (en) * 2016-09-30 2017-02-22 广东欧珀移动通信有限公司 Automatic updating method of application program and mobile terminal
CN108881372A (en) * 2017-05-01 2018-11-23 谷歌有限责任公司 The transparent upgrading of system service or application
CN107967145A (en) * 2017-11-16 2018-04-27 南京轩世琪源软件科技有限公司 A kind of Mobile payment terminal system hot upgrade method online
CN108063794A (en) * 2017-11-16 2018-05-22 南京轩世琪源软件科技有限公司 One kind divides Framework Software network hot upgrade method online
CN110837377A (en) * 2018-08-15 2020-02-25 北京国双科技有限公司 Application program updating method and device, storage medium and electronic equipment
CN110837377B (en) * 2018-08-15 2023-08-04 北京国双科技有限公司 Application program updating method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN104423989B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN107924323B (en) Dependency-based container deployment
CN104423989A (en) Application updating method and electronic equipment
US11947986B2 (en) Tenant-side detection, classification, and mitigation of noisy-neighbor-induced performance degradation
CN101206581B (en) System and method for guiding using external memory device
CN105487980B (en) The method and device that repairing applications are operating abnormally
CN104011677B (en) Method and system for deployment of a software image on multiple targets with streaming technique
WO2014189529A1 (en) Datacenter application packages with hardware accelerators
CN107784086A (en) A kind of loading method of webpage, terminal device and computer-readable recording medium
CN103430151A (en) Method and apparatus for configuring resource
CN110096302A (en) Software data storage, upgrade method, device, equipment and storage medium
CN104951308B (en) The management optimization mode and device of Docker Registry
CN105573797A (en) Reversible off-line upgrade method and device for embedded system
US20200322442A1 (en) Multi-dimensional tagging namespace for cloud resource management
US20200065195A1 (en) Space management for snapshots of execution images
CN107608674A (en) One kind applies skin change method, device, computer and storage medium
CN106504026A (en) A kind of data capture method and device
CN109542495A (en) A kind of method for upgrading software and device
CN108279947A (en) The method and device of financial self-service equipment SP installation kits adaptation
CN112527452A (en) Virtual machine migration method, device and medium across OpenStack
CN106358062A (en) Browser video file playing processing method and equipment
CN107977254A (en) The response method and computer-readable recording medium asked in cloud data system
US10684895B1 (en) Systems and methods for managing containerized applications in a flexible appliance platform
US10969988B2 (en) Performing proactive copy-on-write for containers
GB2512482A (en) Verification program, verification method, and verification device
CN103477320A (en) Booting a computing device to have a predefined functionality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant