CN104423989B - One kind applies update method and electronic equipment - Google Patents
One kind applies update method and electronic equipment Download PDFInfo
- Publication number
- CN104423989B CN104423989B CN201310392896.8A CN201310392896A CN104423989B CN 104423989 B CN104423989 B CN 104423989B CN 201310392896 A CN201310392896 A CN 201310392896A CN 104423989 B CN104423989 B CN 104423989B
- Authority
- CN
- China
- Prior art keywords
- application
- data
- updated
- manipulation operation
- fresh information
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses one kind to apply update method and electronic equipment, and methods described includes:In the first application running in described M application, the fresh information for the described first application is obtained;The fresh information is responded, is performed the described first application from current version renewal to first version, by described first the second data of data-optimized formation;Wherein, after it is determined that first application is in running status, the manipulation operation for the described first application is obtained, first application responds the manipulation operation and do not influence the renewal process.Method and apparatus provided by the present invention can not influenceed if the manipulation operation for the described first application, the then response of the first application by the renewal process at no point in the update process.
Description
Technical field
The present invention relates to electronic technology field, more particularly to one kind to apply update method and electronic equipment.
Background technology
With the continuous development of scientific technology, electronic technology has also obtained development at full speed, and the species of electronic product is also got over
Come more, people have also enjoyed the various facilities that development in science and technology is brought.Present people can be set by various types of electronics
It is standby, enjoy the comfortable life brought with development in science and technology.Such as computer have become in people's life one it is indispensable
Part, people can browse news, receiving and dispatching mail, viewing film, appreciation music, object for appreciation game etc. using computer.
With the development of electronic technology, the operating system of computer is also constantly updated, and is usually installed much on computer
Application program, present intelligent machine are different from past non intelligent machine, and the perfect in shape and function of intelligent machine is largely dependent upon should
Perfect in shape and function, continuous iteration version adjust product function, there is provided preferably service, are just intelligent machine.
It is as follows to have found that prior art is present during technical scheme in realizing the embodiment of the present application by present inventor
Technical problem:
Because the various applications installed in intelligent machine can often need according to the use demand of user and the constantly improve of application
To be operated to carrying out some renewals to application.Using renewal, refer to application developer when application program is write, due to setting
Meter personnel consider not comprehensive or program function imperfection, after Application issuance, by the modification to program or add new function
Afterwards, in a manner of being issued in the form of patch.User downloads these patches and existing version in equipment is updated;Using renewal energy
Enough better meet the demand of user and prevent the invasion of virus.
In the prior art, if application updates(Installation), user, which is used, needs the application that updates, then can prompt to use
Whether family is needed to exit the application being used, and application is updated again after user determines to exit currently used application;
Or renewal starts just to automatically exit from the currently used application of user, is then directly updated, is entered by above two mode
Row application renewal, can all interrupt the use of user, so Consumer's Experience can be caused bad.
The content of the invention
The present invention provides one kind and applies update method and electronic equipment, and method and apparatus provided by the present invention solve existing
In technology if when application updates, the application for needing to update is used in user, then needs user to exit application, so can cause
The problem of Consumer's Experience is bad.
The present invention provides one kind and applies update method, and this method is applied in an electronic equipment, set in the electronic equipment
M application is equipped with, methods described includes:
In the first application running in described M application, the fresh information for the described first application is obtained;Institute
State fresh information to be used for the described first application from current version renewal to first version, to cause described first to apply current version
The first data corresponding to this are optimized;
The fresh information is responded, performs and updates the described first application to first version from the current version, by institute
State first the second data of data-optimized formation;
Wherein, after it is determined that first application is in running status, the manipulation behaviour for the described first application is obtained
Make, first application responds the manipulation operation and do not influence the renewal process.
Optional scheme, the manipulation operation obtained for the described first application, first application respond the behaviour
Control, which operates and do not influence the renewal process, to be included:
After obtaining the fresh information, the first data corresponding to the first application current version are obtained;
The Backup Data of first data is generated, using updated data package corresponding to the fresh information to the backup
Data are updated the second data of generation;
The first moment at no point in the update process, based on corresponding first data response manipulation behaviour of the described first application
Make;
At the second moment after the completion of renewal, the behaviour is responded based on corresponding second data of the described first application
Control operation so that after electronic equipment obtains the manipulation operation for the described first application, first application responds the manipulation
Operate and do not influence the renewal process.
Optional scheme, the manipulation operation obtained for the described first application, first application respond the behaviour
Control, which operates and do not influence the renewal process, to be included:
After obtaining the fresh information, detection described first is using the first functional module being currently running;
Determine corresponding part of first functional module in first data;
When being updated using updated data package corresponding to the fresh information to first data, in the first data
Remove the data after the corresponding part and be updated the second data of generation;Answered so that electronic equipment obtains for described first
After manipulation operation, first application responds the manipulation operation and does not influence the renewal process.
Optional scheme, the manipulation operation obtained for the described first application, first application respond the behaviour
Control, which operates and do not influence the renewal process, to be included:
Detect whether first application from the running status is switched to closed mode, obtain a testing result;
If determining that first application is switched to closed mode from the running status according to the testing result, utilize
Updated data package corresponding to the fresh information is updated the second data of generation to first data so that electronic equipment obtains
After the manipulation operation of the described first application must be directed to, first application responds the manipulation operation and does not influence the renewal
Process.
Optional scheme, it is described to determine that first application includes in running status:
The description information of the first application to be updated is obtained from the fresh information;
Whether inquired about according to the description information from the bag installation manager of system includes the state of the described first application
Information, determine whether first application is in running status according to the status information.
A kind of electronic equipment is provided according to the above method, M application is installed in the electronic equipment, the electronic equipment is also
Including:
Fresh information acquiring unit, in the first application running in described M application, obtaining for described
The fresh information of first application;The fresh information is used for the described first application from current version renewal to first version, with
So that the first data corresponding to the first application current version are optimized;
Response unit is updated, for responding the fresh information, performs and is applied described first from the current version more
First version newly is arrived, by described first the second data of data-optimized formation;Wherein, when it is determined that first application is in operation shape
After state, after obtaining the manipulation operation for the described first application, first application responds the manipulation operation and not shadow
Ring the renewal process.
Optional scheme, renewal response unit are additionally operable to after obtaining the fresh information, are obtained first application and are worked as
The first data corresponding to preceding version;The Backup Data of first data is generated, utilizes renewal corresponding to the fresh information
Packet is updated the second data of generation to the Backup Data;The first moment at no point in the update process, based on described first
Manipulation operation is responded using corresponding first data;The second moment after the completion of renewal, based on the described first application
Corresponding second data respond the manipulation operation so that electronic equipment obtains the manipulation behaviour for the described first application
After work, first application responds the manipulation operation and does not influence the renewal process.
Optional scheme, renewal response unit are additionally operable to after obtaining the fresh information, and detection first application is worked as
Before the first functional module for being currently running;Determine corresponding part of first functional module in first data;Utilize
When updated data package corresponding to the fresh information is updated to first data, to removing the correspondence in the first data
Data after part are updated the second data of generation;So that electronic equipment obtains the manipulation operation for the described first application
Afterwards, first application responds the manipulation operation and does not influence the renewal process.
Optional scheme, renewal response unit are additionally operable to detect whether first application is switched to from the running status
Closed mode, obtain a testing result;If determine that first application is cut from the running status according to the testing result
Closed mode is changed to, using updated data package corresponding to the fresh information first data are updated with the number of generation second
According to so that after electronic equipment obtains the manipulation operation for the described first application, first application responds the manipulation operation
And the renewal process is not influenceed.
Optional scheme, fresh information acquiring unit are additionally operable to obtain the first application to be updated from the fresh information
Description information;Whether inquired about according to the description information from the bag installation manager of system includes the shape of the described first application
State information, determine whether first application is in running status according to the status information.
One or two in above-mentioned technical proposal, at least has the following technical effect that:
1st, in the method that the embodiment of the present invention is provided, first after fresh information is received, whether detection user makes
The application updated with needs, if application to be updated is used, is directly updated to application to be updated, and more
If the manipulation operation for the described first application during new, then the response of the first application is not by the shadow of the renewal process
Ring.
2nd, in the embodiment of the present invention, because any instant at no point in the update process, the first application is all to use the first data
The manipulation operation of user is responded, after application renewal is completed, then application renewal operation generation the second data response is used
The manipulation operation at family, so in renewal process is entirely applied so that the first application described in the manipulation operation for acquisition
Response do not influenceed by the renewal process.
3rd, in the embodiment of the present invention, if application to be updated is in running status, determine that user is current first
The functional module used, and the part that user is used can be shielded during updating, so in application renewal process
The first moment, detect the manipulation operation for the described first application of user's input, the first application can then be based on corresponding
The first data response user manipulation operation.
4th, in the embodiment of the present invention, after fresh information is received, then whether in good time detection first application closes, such as
Fruit is closed then is updated operation immediately, and does not need user just to respond the fresh information after electronic equipment is restarted, and makes
Renewal operation can timely be responded by obtaining the renewal operation, and in entirely using renewal process so that it is described for obtaining
The response of the first application is not influenceed by the renewal process described in the manipulation operation obtained.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet using update method of the embodiment of the present invention;
Fig. 2 is the method stream for the renewal and not interactional implementation one of operation that application is realized in the embodiment of the present invention
Journey schematic diagram;
Fig. 3 is the method stream for the renewal and not interactional implementation two of operation that application is realized in the embodiment of the present invention
Journey schematic diagram;
Fig. 4 is the method stream for the renewal and not interactional implementation three of operation that application is realized in the embodiment of the present invention
Journey schematic diagram;
Fig. 5 is the structural representation of a kind of electronic equipment of the embodiment of the present invention.
Embodiment
In the prior art, if application updates(Installation), user, which is used, needs the application that updates, then can prompt to use
Whether family is needed to exit the application being used, and application is updated again after user determines to exit currently used application;
Or renewal starts just to automatically exit from the currently used application of user, is then directly updated, is entered by above two mode
Row application renewal, can all interrupt the use of user, so Consumer's Experience can be caused bad.
In view of the above-mentioned problems, the embodiment of the present invention, which provides one kind, applies update method, main thought of the invention is first
Whether the application that detection needs to update is currently running, and the renewal directly applied in various manners is made if in operation, and
And the operation of user is not influenceed when carrying out using renewal.Wherein, this method is applied in an electronic equipment, the electronics
M application is provided with equipment, this method specifically includes:
In the first application running in described M application, the fresh information for the described first application is obtained;Institute
State fresh information to be used for the described first application from current version renewal to first version, to cause described first to apply current version
The first data corresponding to this are optimized;
The fresh information is responded, performs and updates the described first application to first version from the current version, by institute
State first the second data of data-optimized formation;
Wherein, should for described in the manipulation operation of acquisition first after it is determined that first application is in running status
Response is not influenceed by the renewal process.
In the method that the embodiment of the present invention is provided, first after fresh information is received, whether detection user is using
The application updated is needed, if application to be updated is used, directly application to be updated is updated, and updates
During if for described first application manipulation operation, then first application response not by the shadow of the renewal process
Ring.
Various embodiments of the present invention and various aspects are illustrated below with reference to following details, accompanying drawing will illustrate each
Kind embodiment.Following description and drawings are the exemplary illustrations to the present invention, without that should regard limitation of the present invention as.Description
A large amount of details are to provide the detailed understanding to various embodiments of the invention.But in some cases, will not be to known
Or traditional details be described, with to embodiments of the invention provide brief description.
Some parts of following detailed description are showed in the form of algorithm, and these algorithms are included for computer
The operation that the data of storage are carried out in memory.Algorithm generally refers to cause the self-consistent sequence of the operation of required result.These
Operation usually requires or is related to physical manipulation or physical quantity.Generally(But it is not inevitable), this tittle takes electric signal or magnetic to believe
Number form, these signals can be stored, transmit, merging, comparing and otherwise manipulated.It is proved that sometimes
(Primarily to the reason for usually used), it is convenient that these signals are referred to as into position, value, element, symbol, character, item, number etc.
's.
But one should keep in mind that, these and similar all terms are associated with appropriate physical quantity, and only
It is the convenient label applied to this tittle.Unless outside being hereinafter significantly otherwise noted otherwise, in entire disclosure
The explanation carried out using " processing " or " calculating " or the term such as " judgement " or " display " can refer to data handling system or
The action and processing that like is carried out, the register and memory of action and the processing operating computer are interior with physics
(Electronics)Measure the data represented and convert thereof into the memory or register of the system(Or the storage of other this category informations, transmission
Or the device of display)Other data inside similarly represented in the form of physical quantity.
The present invention can be related to the equipment for performing one or more operations in operation described herein.The equipment
It can be required purpose and special configuration, or all-purpose computer can also be included, the all-purpose computer is by being stored in this
Computer program in computer optionally activates (activate) or reconstructed(reconfigure).Such computer journey
Sequence can be stored in machine (such as computer)In computer-readable recording medium or it is stored in suitable for stored electrons instruction and couples respectively
Into any types medium of bus, the computer-readable medium includes but is not limited to any kind of disk (including floppy disk, light
Disk, CD-ROM and magneto-optic disk), read-only storage(ROM), random access memory(RAM), erasable programmable ROM
(EPROM), electrically erasable ROM (EEPROM), flash memory, magnetic card or optical card.
Machine readable media includes being used for by machine(Such as computer)Readable form storage or times of transmission information
What mechanism.For example, machine readable media includes read-only storage(ROM);Random access memory(RAM), disk storage media,
Optical storage medium, flash memory device, the signal propagated in the form of electricity, light, sound or other(Such as carrier wave, infrared letter
Number, data signal etc.)Deng.
As shown in figure 1, the embodiment of the present invention, which provides one kind, applies update method, this method is applied in an electronic equipment,
M application is provided with the electronic equipment, the embodiment of the present invention is carried out with reference to Figure of description detailed
Explanation:
Step 101, in the first application running in described M application, obtain for the described first application more
Fresh information;The fresh information is used to from current version update the described first application to first version, to cause described first
Optimized using the first data corresponding to current version;
Step 102, the fresh information is responded, is performed the described first application from current version renewal to the first edition
This, by described first the second data of data-optimized formation;Wherein, after it is determined that first application is in running status, obtain
The manipulation operation of the described first application must be directed to, first application responds the manipulation operation and do not influenceed described updated
Journey.
In embodiments of the present invention, since it is desired that first determining whether application to be updated is currently running, then basis is treated more
The running situation of new opplication is done further renewal and realized, so the method that the embodiment of the present invention is provided can also be by following
Mode determines that first application is in running status, specifically includes:
The description information of the first application to be updated is obtained from the fresh information;
Whether inquired about according to the description information from the bag installation manager of system includes the state of the described first application
Information, determine whether first application is in running status according to the status information.
Because if application can then make corresponding record in running status in the bag installation manager of system,
After obtaining fresh information, the description information for the application to be updated that can be included according to fresh information determines application to be updated
Title and/or title and the combination of version number;So as to the Bao An according to the combinatorial search of the title/or title and version number
Manager is filled, if the combination of title and/or title and version number corresponding to being searched in package manager, it is determined that described to treat
The application of renewal is in running status.
If at the time of fresh information is received, application to be updated is currently running, and to realize renewal and the user of application
Operation occur without conflict, the invention provides a variety of achievable modes, the implementation of several optimizations introduced below:
Implementation one, by back up it is to be updated apply current data, then to Backup Data be updated operation from
And make it that the normal operation flow of the realization and the first application of renewal operation separates, it is directed to the manipulation operation institute obtained so as to realize
State the response of the first application is not influenceed by the renewal process.Specific implementation step includes(As shown in Figure 2):
Step 201, after obtaining the fresh information, the first number corresponding to the first application current version is obtained
According to;
Step 202, the Backup Data of first data is generated, utilizes updated data package pair corresponding to the fresh information
The Backup Data is updated the second data of generation.
In this embodiment, application update during the entire process of, user can input pin to described first application
Manipulation operation, and the first application can carry out respective response in the case where not influenceing renewal to the manipulation operation of user, i.e.,:
Because data corresponding to the first application are backed up, then at the first moment in application renewal process, detect
The manipulation operation for the described first application of user's input, the first application can then be based on corresponding first data and respond user
Manipulation operation;
At the second moment after the completion of renewal, the manipulation operation for the described first application of user's input is detected, the
One application then responds the manipulation operation based on corresponding second data;
Because any instant at no point in the update process, the first application is all that the manipulation operation of user is entered using the first data
Row response, after application renewal completion, then application renewal operation the second data of generation respond the manipulation operation of user, so
Entirely apply in renewal process so that after electronic equipment obtains the manipulation operation for the described first application, first application
Respond the manipulation operation and do not influence the renewal process.
Implementation two, the data being being currently used by determining application to be updated, then in the data not used
It is updated operation and is separated so that updating the realization of operation and the first normal operation flow applied, is obtained so as to realize to be directed to
The response of the first application is not influenceed by the renewal process described in the manipulation operation obtained.Specific implementation step includes(Such as Fig. 3 institutes
Show):
Because incremental update only updates the place for needing to update;Faster relative to updating completely, treating capacity is reduced;So
Renewal operation many times is all incremental update, and incremental update refers to when being updated operation, and only renewal needs what is changed
Place, it is not necessary to which renewal or updated place will not then repeat to update, and incremental update is relative with renewal completely.So
For incremental update the characteristic embodiment of the present invention provide in for obtain manipulation operation described in first application response not
The implementation influenceed by the renewal process can be:
Step 301, after obtaining the fresh information, detection described first is using the first function mould being currently running
Block;
Step 302, corresponding part of first functional module in first data is determined;
Step 303, when being updated using updated data package corresponding to the fresh information to first data, to
The data after the corresponding part are removed in one data and are updated the second data of generation;So that electronic equipment, which obtains, is directed to institute
After the manipulation operation for stating the first application, first application responds the manipulation operation and does not influence the renewal process.
Renewal and programming for the ease of application is convenient, and the corresponding program of many applications is all each function division of application
Into multiple functional modules, thus some when some function for being used of standby do not interfere with other functional modules more
Newly.If so an application is currently running, it can detect using the funtion part being currently running, then to except transporting
Other parts renewal outside capable funtion part, if during renewal, has and the funtion part being currently running is updated
Content, then skip.
In this embodiment, application update during the entire process of, user can input pin to described first application
Manipulation operation, and the first application can carry out respective response in the case where not influenceing renewal to the manipulation operation of user, i.e.,:
The functional module that user is being currently used is determined first, and can shield user during updating to make
Part, so the first moment in application renewal process, detect user's input is directed to the described first behaviour applied
Control operation, the first application can then respond the manipulation operation of user based on corresponding first data.
Because any instant at no point in the update process, the first application is all that the manipulation operation of user is entered using the first data
Row response, after application renewal completion, then application renewal operation the second data of generation respond the manipulation operation of user, so
Entirely apply in renewal process so that the response of the first application is not by described updated described in the manipulation operation for acquisition
The influence of journey.
Because in the use environment of reality, user may once open multiple application programs, but generally
All it is that an application is foreground application, although other application is currently running but is not the application that user is operating.For this
The application of a little operations day after tomorrow, the operation automatically updated if there is system, the embodiment of the present invention can also be entered in the following manner
Row renewal:
In the first application running in described M application, the fresh information for the described first application is obtained;Institute
State fresh information to be used for the described first application from current version renewal to first version, to cause described first to apply current version
The first data corresponding to this are optimized;
Before responding the fresh information, after it is determined that first application is in running status, detection described first
Using whether in running background, if first application is in running background, the first current use state of application is preserved
First application is closed after information;
After the described first application is closed, respond the fresh information, perform will the described first application from it is described currently
Version updating is to first version, by described first the second data of data-optimized formation;
After responding the new information completion, first application is reopened;It is and current using the first application is preserved
Use state information reverting close it is described first application when usage scenario.
Implementation three, if it is determined that application to be updated is currently running, then detection user that can be in good time is when
Application to be updated is closed, if off being updated immediately, so that the realization of renewal operation is applied just with first
Normal operational process separates, so as to realize the response for being directed to the first application described in the manipulation operation obtained not by the renewal process
Influence.Specific implementation step includes(As shown in Figure 4):
Step 401, detect whether first application from the running status is switched to closed mode, obtain a detection knot
Fruit;
Step 402, if determining that first application is switched to closing from the running status according to the testing result
State, using updated data package corresponding to the fresh information first data are updated with the second data of generation.
In this embodiment, application update during the entire process of, user can input pin to described first application
Manipulation operation, and the first application can carry out respective response in the case where not influenceing renewal to the manipulation operation of user, i.e.,:
Applying electronic equipment after it is determined that needing to be updated the first application, then what detection first that can be in good time was applied
Running status, determines whether user has the application of closing first, if closing the first application, is then immediately performed renewal operation, institute
So that the operation of the application of user first can't be influenceed using renewal process.
If after renewal is completed, user reopens first application, then after the completion of renewal, if detected
The manipulation operation for the described first application of user's input, the first application is then based on described in the corresponding second data response
Manipulation operation.
Because after fresh information is received, then whether in good time detection first application closes, if off immediately
Operation is updated, and does not need user just to respond the fresh information after electronic equipment is restarted so that the renewal behaviour
Work can timely respond renewal operation, and in renewal process is entirely applied so that electronic equipment is obtained for described the
After the manipulation operation of one application, first application responds the manipulation operation and does not influence the renewal process.
As shown in figure 5, also providing a kind of electronic equipment according to the above method embodiment of the present invention, installed in the electronic equipment
There is M application, the electronic equipment also includes:
Fresh information acquiring unit 501, in the first application running in described M application, being directed to
The fresh information of first application;The fresh information is used for the described first application from current version renewal to the first edition
This, make it that the first data corresponding to the first application current version are optimized;
The fresh information acquiring unit 501 is additionally operable to obtain retouching for the first application to be updated from the fresh information
State information;Whether inquired about according to the description information from the bag installation manager of system includes the state letter of the described first application
Breath, determine whether first application is in running status according to the status information.
Response unit 502 is updated, for responding the fresh information, performs and is applied described first from the current version
First version is updated, by described first the second data of data-optimized formation;Wherein, when it is determined that first application is in operation
After state, after obtaining the manipulation operation for the described first application, first application responds the manipulation operation and not
Influence the renewal process.
By back up it is to be updated apply current data, then to Backup Data be updated operation so that renewal grasp
The normal operation flow of the realization of work and the first application is separated, and the first application described in the manipulation operation obtained is directed to so as to realize
Response is not influenceed by the renewal process.So in the embodiment of the present invention:
Renewal response unit 502 is additionally operable to after obtaining the fresh information, obtains the first application current version institute
Corresponding first data;The Backup Data of first data is generated, utilizes updated data package pair corresponding to the fresh information
The Backup Data is updated the second data of generation;It is the first moment at no point in the update process, right based on the described first application institute
First data response manipulation operation answered;The second moment after the completion of renewal, corresponding based on the described first application
Second data respond the manipulation operation so that after electronic equipment obtains the manipulation operation for the described first application, institute
The first application is stated to respond the manipulation operation and do not influence the renewal process.
The data being being currently used by determining application to be updated, are then updated operation in the data not used
So that the normal operation flow of the realization of renewal operation and the first application separates, the manipulation operation obtained is directed to so as to realize
The response of first application is not influenceed by the renewal process.So in the embodiment:
The renewal response unit 502 is additionally operable to after obtaining the fresh information, and detection first application is current just
In the first functional module of operation;Determine corresponding part of first functional module in first data;Using described
When updated data package corresponding to fresh information is updated to first data, to removing the corresponding part in the first data
Data afterwards are updated the second data of generation;So that after electronic equipment obtains the manipulation operation for the described first application,
First application responds the manipulation operation and does not influence the renewal process.
If it is determined that application to be updated is currently running, then it is to be updated when detection user that can be closes in good time
Using if off being updated immediately, so that the normal operation flow point of the realization of renewal operation and the first application
Open, so as to realize that the response for being directed to the first application described in the manipulation operation obtained is not influenceed by the renewal process.So should
In embodiment:
Renewal response unit 502 is additionally operable to detect whether first application from the running status is switched to closing shape
State, obtain a testing result;If determine that first application is switched to pass from the running status according to the testing result
Closed state, using updated data package corresponding to the fresh information first data are updated with the second data of generation, is made
After electronic equipment obtains the manipulation operation for the described first application, first application responds the manipulation operation and not
Influence the renewal process.
Said one or multiple technical schemes in the embodiment of the present application, at least have the following technical effect that:
1st, in the method that the embodiment of the present invention is provided, first after fresh information is received, whether detection user makes
The application updated with needs, if application to be updated is used, is directly updated to application to be updated, and more
If the manipulation operation for the described first application during new, then the response of the first application is not by the shadow of the renewal process
Ring.
2nd, in the embodiment of the present invention, because any instant at no point in the update process, the first application is all to use the first data
The manipulation operation of user is responded, after application renewal is completed, then application renewal operation generation the second data response is used
The manipulation operation at family, so in renewal process is entirely applied so that the first application described in the manipulation operation for acquisition
Response do not influenceed by the renewal process.
3rd, in the embodiment of the present invention, if application to be updated is in running status, determine that user is current first
The functional module used, and the part that user is used can be shielded during updating, so in application renewal process
The first moment, detect the manipulation operation for the described first application of user's input, the first application can then be based on corresponding
The first data response user manipulation operation.
4th, in the embodiment of the present invention, after fresh information is received, then whether in good time detection first application closes, such as
Fruit is closed then is updated operation immediately, and does not need user just to respond the fresh information after electronic equipment is restarted, and makes
Renewal operation can timely be responded by obtaining the renewal operation, and in entirely using renewal process so that it is described for obtaining
The response of the first application is not influenceed by the renewal process described in the manipulation operation obtained.
Method of the present invention is not limited to the embodiment described in embodiment, those skilled in the art according to
Technical scheme draws other embodiments, also belongs to the technological innovation scope of the present invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (8)
1. one kind applies update method, this method is applied in an electronic equipment, and M application is provided with the electronic equipment,
Methods described includes:
In the first application running in described M application, the fresh information for the described first application is obtained;It is described more
Fresh information is used for the described first application from current version renewal to first version, to cause the first application current version institute
Corresponding first data are optimized;
Respond the fresh information, perform and updates the described first application to first version from the current version, by described the
One the second data of data-optimized formation;
Wherein, after it is determined that first application is in running status, the manipulation operation for the described first application, institute are obtained
The first application is stated to respond the manipulation operation and do not influence the renewal process;The behaviour obtained for the described first application
Control operation, first application, which responds the manipulation operation and do not influence the renewal process, to be included:
After obtaining the fresh information, detection described first is using the first functional module being currently running;
Determine corresponding part of first functional module in first data;
When being updated using updated data package corresponding to the fresh information to first data, to being removed in the first data
Data after the corresponding part are updated the second data of generation;So that electronic equipment is obtained for the described first application
After manipulation operation, first application responds the manipulation operation and does not influence the renewal process.
2. the method as described in claim 1, it is characterised in that the manipulation operation obtained for the described first application, institute
Stating the first application and responding the manipulation operation and do not influence the renewal process includes:
After obtaining the fresh information, the first data corresponding to the first application current version are obtained;
The Backup Data of first data is generated, using updated data package corresponding to the fresh information to the Backup Data
It is updated the second data of generation;
At the first moment at no point in the update process, manipulation operation is responded based on corresponding first data of the described first application;
The second moment after the completion of renewal, based on the described first application corresponding second data response manipulation behaviour
Make so that after electronic equipment obtains the manipulation operation for the described first application, first application responds the manipulation operation
And the renewal process is not influenceed.
3. the method as described in claim 1, it is characterised in that the manipulation operation obtained for the described first application, institute
Stating the first application and responding the manipulation operation and do not influence the renewal process includes:
Detect whether first application from the running status is switched to closed mode, obtain a testing result;
If determining that first application from the running status is switched to closed mode according to the testing result, using described
Updated data package corresponding to fresh information is updated the second data of generation to first data so that electronic equipment obtains pin
After the manipulation operation of the described first application, first application responds the manipulation operation and not influenceed described updated
Journey.
4. the method as described in claims 1 to 3 is any, it is characterised in that described to determine first application in operation shape
State includes:
The description information of the first application to be updated is obtained from the fresh information;
Whether inquired about according to the description information from the bag installation manager of system includes the status information of the described first application,
Determine whether first application is in running status according to the status information.
5. a kind of electronic equipment, M application is installed in the electronic equipment, the electronic equipment also includes:
Fresh information acquiring unit, in the first application running in described M application, obtaining and being directed to described first
The fresh information of application;The fresh information is used to from current version update the described first application to first version, to cause
The first data corresponding to the first application current version are optimized;
Update response unit, for responding the fresh information, perform will the described first application from the current version update to
First version, by described first the second data of data-optimized formation;Wherein, when it is determined that it is described first application in running status it
Afterwards, after obtaining the manipulation operation for the described first application, first application responds the manipulation operation and does not influence institute
State renewal process;The renewal response unit is additionally operable to after obtaining the fresh information, and detection first application is current just
In the first functional module of operation;Determine corresponding part of first functional module in first data;Using described
When updated data package corresponding to fresh information is updated to first data, to removing the corresponding part in the first data
Data afterwards are updated the second data of generation;So that after electronic equipment obtains the manipulation operation for the described first application,
First application responds the manipulation operation and does not influence the renewal process.
6. electronic equipment as claimed in claim 5, it is characterised in that renewal response unit is additionally operable to obtain the fresh information
Afterwards, the first data corresponding to the first application current version are obtained;The Backup Data of first data is generated, is utilized
Updated data package corresponding to the fresh information is updated the second data of generation to the Backup Data;At no point in the update process
At the first moment, manipulation operation is responded based on corresponding first data of the described first application;Second after the completion of renewal
At the moment, respond the manipulation operation based on corresponding second data of the described first application so that electronic equipment obtains pin
After the manipulation operation of the described first application, first application responds the manipulation operation and not influenceed described updated
Journey.
7. electronic equipment as claimed in claim 5, it is characterised in that renewal response unit is additionally operable to detect first application
Whether from the running status closed mode is switched to, obtains a testing result;If according to determining the testing result
First application from the running status is switched to closed mode, using updated data package corresponding to the fresh information to described the
One data are updated the second data of generation so that described after electronic equipment obtains the manipulation operation for the described first application
First application responds the manipulation operation and does not influence the renewal process.
8. the electronic equipment as described in claim 5~7 is any, it is characterised in that fresh information acquiring unit is additionally operable to from institute
State the description information that the first application to be updated is obtained in fresh information;Management is installed from the bag of system according to the description information
Whether include the status information of described first application, determine whether first application is located according to the status information if being inquired about in device
In running status.
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 CN104423989A (en) | 2015-03-18 |
CN104423989B true 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) |
Families Citing this family (5)
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 |
US10261780B2 (en) * | 2017-05-01 | 2019-04-16 | Google Llc | Transparent upgrade of a system service or application |
CN108063794A (en) * | 2017-11-16 | 2018-05-22 | 南京轩世琪源软件科技有限公司 | One kind divides Framework Software network hot upgrade method online |
CN107967145A (en) * | 2017-11-16 | 2018-04-27 | 南京轩世琪源软件科技有限公司 | A kind of Mobile payment terminal system hot upgrade method online |
CN110837377B (en) * | 2018-08-15 | 2023-08-04 | 北京国双科技有限公司 | Application program updating method and device, storage medium and electronic equipment |
Citations (5)
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 |
-
2013
- 2013-09-02 CN CN201310392896.8A patent/CN104423989B/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104423989A (en) | 2015-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104423989B (en) | One kind applies update method and electronic equipment | |
US9959104B2 (en) | Dependency-based container deployment | |
CN104156414B (en) | A kind of method for cleaning of garbage files, device and terminal | |
CN106648826B (en) | For the method and apparatus of thermophoresis virtual machine | |
CN103430151B (en) | A kind of resource allocation method and device | |
CN104866366B (en) | Application program method for cleaning and device | |
CN103677878B (en) | A kind of method and apparatus of patch installing | |
CN106055399A (en) | Application program control method and terminal | |
CN105281892B (en) | The perturbation of field programmable gate array code is to prevent side channel analysis | |
EP1308908A3 (en) | An apparatus and a system for depositing and dispensing cash in a shop, and a corresponding management method | |
CN107402788A (en) | Resource packing management method and device | |
CN107656797A (en) | The method and apparatus of across virtual platform migration virtual machine | |
CN108279947A (en) | The method and device of financial self-service equipment SP installation kits adaptation | |
CN107885545A (en) | application management method, device, storage medium and electronic equipment | |
CN107092491A (en) | A kind of configuring load application method and system | |
CN109240731A (en) | A kind of security upgrading method and system of TBox | |
CN106504026A (en) | A kind of data capture method and device | |
CN109783390A (en) | PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium | |
CN107111748A (en) | For the method and system for the device that control system is configured based on engineering pattern object | |
CN108089870A (en) | For repairing the method and apparatus of application | |
CN110134646B (en) | Knowledge platform service data storage and integration method and system | |
CN107391507A (en) | The update method and device of the mobile terminal page | |
CN107329836A (en) | Multi-system memory management method and device and mobile terminal | |
CN107979683B (en) | Terminal applies control method, apparatus and system | |
CN103870564B (en) | A kind of data-updating method and electronic equipment |
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 |