CN106227569A - A kind of application upgrade method and terminal unit - Google Patents
A kind of application upgrade method and terminal unit Download PDFInfo
- Publication number
- CN106227569A CN106227569A CN201610615851.6A CN201610615851A CN106227569A CN 106227569 A CN106227569 A CN 106227569A CN 201610615851 A CN201610615851 A CN 201610615851A CN 106227569 A CN106227569 A CN 106227569A
- Authority
- CN
- China
- Prior art keywords
- application
- current
- terminal unit
- intended application
- fully
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of application upgrade method and terminal unit, the method comprise the steps that and intended application is freezed, and intended application labelling is non-fully freezed mark;Judging whether the current state of terminal unit meets the first promotion condition, current state includes current network type and/or current electric quantity and/or current application state;The most then intended application is thawed;Intended application is upgraded;Intended application is freezed.Frozen application labelling can non-fully be freezed mark by the present invention, when the current state of terminal unit meets the first promotion condition, this application can be thawed, and this application is upgraded, so when it is thawed and reuse by user, this application need not be upgraded just can be properly functioning, does not affect the user's normal use to this application, improves Consumer's Experience.
Description
Technical field
The present invention relates to terminal control field, be specifically related to a kind of application upgrade method and terminal unit.
Background technology
Along with the development of electronic technology, the system that terminal unit is installed application and third-party application get more and more.At present,
What many was unnecessary applies after user installation, can be automatically set as starting up, or unconfined Accreditation System event,
Event generation time is waken up and runs.So, when user need not enable certain application, this application is likely to the most automatic
Start and at running background, waste system resource, the extra electricity consuming touch screen terminal.
For solving the problems referred to above, touch screen terminal provides a user with the function freezing certain application, i.e. freezing function, user passes through
System of opening is arranged or the freezing function interface of third-party application, selects application to be freezed, can by touch screen eventually after confirmation
The application being of little use in end is freezed, and prevents it from automatically running on backstage.
But, apply frozen after, will not upgrade.So when it is thawed and reuse by user, should
Be likely to require carry out upgrading can be properly functioning, affect the user's normal use to this application, reduce Consumer's Experience.
Summary of the invention
Embodiments provide a kind of application upgrade method and terminal unit, after solving application is thawed, should
Application needs upgrading to affect the user's normal problem used to this application.
The one side of the embodiment of the present invention provides a kind of application upgrade method, including:
Intended application is freezed, and described intended application labelling is non-fully freezed mark;
Judging whether the current state of described terminal unit meets the first promotion condition, described current state includes current net
Network type and/or current electric quantity and/or current application state;
The most described intended application is thawed;
Described intended application is upgraded;
Described intended application is freezed.
In conjunction with first aspect, in the first possible implementation of first aspect, to described intended application labelling
Before non-fully freezing mark, described method also includes:
Receive user and described intended application is set to non-fully freeze the instruction of application;Or, should according to described target
Use frequency be defined as non-fully freezing application.
In conjunction with the first possible implementation of first aspect or first aspect, the second in first aspect may
Implementation in, whether the described current state judging described terminal unit meets the first promotion condition includes:
Judge whether current network type is Wireless Fidelity Wi-Fi network;
The most then judge whether current electric quantity exceedes threshold power;
The most then judge that whether the power consumption of current application is less than threshold value power consumption;
The most then judge that the current state of described terminal unit meets the first promotion condition.
In conjunction with the reality that the second of first aspect, the first possible implementation of first aspect and first aspect is possible
Among existing mode, any one, in the third possible implementation of first aspect, thawing to described intended application
Afterwards, before freezing described intended application, described method also includes:
Judging whether the current state of described terminal unit meets the second promotion condition, described current state includes current net
Network type and/or current electric quantity and/or current application state;
If it is not, then interrupt the step that described intended application is upgraded.
In conjunction with first aspect, the first possible implementation of first aspect, the possible reality of the second of first aspect
Among the third possible implementation of existing mode and first aspect any one, in the 4th kind of possible reality of first aspect
In existing mode, after described intended application labelling is non-fully freezed mark, in the current state judging described terminal unit
Before whether meeting the first promotion condition, described method also includes:
The cycle very first time is determined according to described mark of non-fully freezing;
Determined for the first upgrading moment according to the described cycle very first time;
Whether the described current state judging described terminal unit meets the first promotion condition includes:
Upgrade the moment described first, it is judged that whether the current state of described terminal unit meets the first promotion condition.
The second aspect of the embodiment of the present invention provides a kind of terminal unit, including:
First freezes module, for freezing intended application;
Mark module, for non-fully freezing mark to described intended application labelling;
First judge module, for judging whether the current state of described terminal unit meets the first promotion condition, described
Current state includes current network type and/or current electric quantity and/or current application state;
Defrosting module, for when described first judge module judges that current state meets the first promotion condition, to described
Intended application is thawed;
Upgraded module, for upgrading to described intended application;
Second freezes module, for after described intended application is upgraded by described upgraded module, to described target
Application is freezed.
In conjunction with second aspect, in the first possible implementation of second aspect, described terminal unit also includes:
Receiver module, is set to non-fully freeze the instruction of application for receiving user by described intended application;Or, the
One determines module, for being defined as non-fully freezing application according to the use frequency of described intended application.
In conjunction with the first possible implementation of second aspect or second aspect, the second in second aspect may
Implementation in, described first judge module includes:
First judging unit, is used for judging whether current network type is Wireless Fidelity Wi-Fi network;
Second judging unit, for when described first judging unit judges current network type as Wi-Fi network, it is judged that
Whether current electric quantity exceedes threshold power;
3rd judging unit, for when described second judging unit judges that current electric quantity exceedes threshold power, it is judged that when
Whether the power consumption of front application is less than threshold value power consumption;
Identifying unit, during for judging that when described 3rd judging unit the power consumption of current application is less than threshold value power consumption, it is determined that
The current state of described terminal unit meets the first promotion condition.
In conjunction with the reality that the second of second aspect, the first possible implementation of second aspect and second aspect is possible
Among existing mode any one, in the third possible implementation of second aspect, described terminal unit also includes:
Second judge module, for judging whether the current state of described terminal unit meets the second promotion condition, described
Current state includes current network type and/or current electric quantity and/or current application state;
Interrupt module, for interrupting the step upgrading described intended application.
In conjunction with second aspect, the first possible implementation of second aspect, the possible reality of the second of second aspect
Among the third possible implementation of existing mode and second aspect any one, in the 4th kind of possible reality of second aspect
In existing mode, described terminal unit also includes:
Second determines module, for determining the cycle very first time according to described mark of non-fully freezing;
3rd determines module, determines for the first upgrading moment according to the described cycle very first time;
First judge module includes:
4th judging unit, for upgrading the moment described first, it is judged that the current state of described terminal unit is the fullest
Foot the first promotion condition.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Frozen application can be labeled non-fully freezes mark, when the current state of terminal unit meets the first upgrading
During condition, this application can be thawed, and this application is upgraded, again this application be freezed after having upgraded.
Owing to terminal unit can be upgraded automatically to non-fully freezing application, so when it is thawed and reuse by user,
This application need not be upgraded just can be properly functioning, and user can normally use this application, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is one embodiment schematic diagram of application upgrade method of the present invention;
Fig. 2 is another embodiment schematic diagram of application upgrade method of the present invention;
Fig. 3 is another embodiment schematic diagram of application upgrade method of the present invention;
Fig. 4 is one embodiment schematic diagram of terminal unit of the present invention;
Fig. 5 is another embodiment schematic diagram of terminal unit of the present invention;
Fig. 6 is another embodiment schematic diagram of terminal unit of the present invention.
Detailed description of the invention
Embodiments provide a kind of application upgrade method and terminal unit, for carrying out non-fully freezing application
Automatically upgrading, to ensure normal use after thawing.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under not making creative work premise, all should belong to the model of present invention protection
Enclose.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd ", "
Four " etc. (if present) is for distinguishing similar object, without being used for describing specific order or precedence.Should manage
Solve the data so used can exchange in the appropriate case, in order to the embodiments described herein can be with except here illustrating
Or the order enforcement beyond the content described.Additionally, term " includes " and " having " and their any deformation, it is intended that
Cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment need not limit
In those steps clearly listed or unit, but can include the most clearly listing or for these processes, method, product
Product or intrinsic other step of equipment or unit.
Using, for user, the application that frequency is the lowest, user may want to freeze it, apply frozen after, system
To forbid that it, at running background, and discharges its internal memory taken, and reduce its waste to system resource, decrease disappearing of electricity
The unexpected resource consumptions of user such as the consumption of consumption and flow.But, apply frozen after, will not upgrade, so
When it is thawed and reuses by user, this application be likely to require carry out upgrading can be properly functioning.
Some are had to apply, such as bank's class application, map class application, job hunting class application, GT grand touring application etc., although user
Will not regular use, but requisite.After these application are freezed, when user needs to use, especially one
In the case of Xie, user is badly in need of using some to apply, and after thawing application, this application is owing to upgrading for a long time, and version is relatively low,
Cannot directly use, need first to upgrade, now, not only waste user time, it is also possible to owing to user out of doors cannot
Connect Wi-Fi, and be forced to use mobile data network and it is upgraded, the mobile data traffic of waste user.
Having some to apply, the music of such as mobile phone, mailbox etc. are applied, and it is extremely low that user is used for frequency, even
Never using, because user is more likely to the third-party application using oneself to download, and the unloading step of this kind of application is the most numerous
Trivial, therefore, for this kind of application, user would generally select to freeze it, use of can't again thawing it.
For solving the problems referred to above, the embodiment of the present invention provides a kind of application upgrade method, for ease of understanding, below to this
Idiographic flow in bright embodiment is described, and refers to Fig. 1, one embodiment bag of application upgrade method in the embodiment of the present invention
Include:
101, intended application is freezed, and intended application labelling is non-fully freezed mark;
Intended application can be freezed by terminal unit, while freezing it, or is freezing it
After knot, intended application labelling non-fully can be freezed mark.By this mark, terminal unit can be from being in frozen state
Application in confirm which application for non-fully freezing application, remaining application can be confirmed to be fully charge application.
Preferably, user distinguishes and non-fully freezes application and fully charge application for convenience, can this two class be applied
Icon be differently shown.The application being in frozen state generally shows snowflake or frost frame etc., to be on icon
As a example by showing snowflake on the icon of the application of frozen state, the snowflake on the icon of fully charge application can be shown as white
Color, and by non-fully freeze application icon on snowflake shown in green because green easily give current, allow it
Meaning, by snowflake is set to green, although this application of user can be pointed out to be in frozen state, but under certain condition,
Can automatically upgrade.
102, judge whether the current state of terminal unit meets the first promotion condition, the most then perform step 103, if
No, then perform step 104;
The current state of terminal unit, after confirming that intended application is for non-fully freezing application, can be entered by terminal unit
Row detection, it is judged that whether the current state of terminal unit meets the first promotion condition.The current state of terminal unit can include
At least one in current network type, current electric quantity and current application state, it is also possible to include other shape of terminal unit
State, is not specifically limited herein.First promotion condition is for retraining the automatic escalation process of the present invention, to prevent fall of automatically upgrading
Low user uses experience during terminal unit, as an example, if the current state of terminal unit include simultaneously current network type,
Current electric quantity and current application state, then the first promotion condition can be: the current network type of terminal unit is Wi-Fi net
Network, and the current electric quantity of terminal unit is more than 80%, and the current application of terminal unit is not video or game.
103, intended application is thawed;
If it is determined that the current state of terminal unit meets the first promotion condition, then intended application can be thawed.
104, other operations are performed;
If it is determined that the current state of terminal unit is unsatisfactory for the first promotion condition, then forbid intended application is thawed,
And perform other operations, such as can continue the current state of monitoring terminal equipment, and perform step 102.
105, intended application is upgraded;
After intended application is thawed, can detect whether intended application is latest edition, if it is not, then can be to target
Application is upgraded, the such as upgrading of full dose bag or delta package upgrading.
106, intended application is freezed.
After upgrading intended application, intended application can be freezed by terminal unit again.
Frozen application can be marked as non-fully freezing mark, when the current state of terminal unit meets first liter
During level condition, can thaw to being marked with the application non-fully freezing mark, and upgrade this application, upgrading completes
After again this application is freezed.Owing to terminal unit can be upgraded automatically to non-fully freezing application, so work as user
When thawing it and reuse, this application need not be upgraded just can be properly functioning, and user can normally use this application, improves and uses
Family is experienced.
It is labeled as intended application non-fully freezing application or fully charge application, manually can be arranged by user, it is possible to
Automatically to be arranged by terminal unit, will be described respectively below, refer to Fig. 2, application upgrade method in the embodiment of the present invention
Another embodiment includes:
One, user manually arranges and non-fully freezes application
201, receive user and intended application is set to non-fully freeze the instruction of application;
When user wishes to be set to intended application non-fully freeze application, during so that it automatically updates, can be to terminal
Equipment assigns instruction intended application non-fully freezed.Concrete, as an example, Ke Yiwei: according to target should with the head of a household
Icon, the option show fully charge near icon, non-fully freezing, user can select the choosing non-fully freezed
, terminal unit can receive the instruction that intended application is set to non-fully freeze to apply by user afterwards.
202, intended application is freezed, and intended application labelling is non-fully freezed mark;
After receiving user and intended application is set to the instruction non-fully freezing to apply, terminal unit can be to mesh
Mark application is freezed, and intended application labelling non-fully freezes mark.In actual applications, user can also will locate
Application in frozen state is set to non-fully freeze, such as, on the icon of application being in frozen state grow by, at icon
Option is non-fully freezed in neighbouring appearance, and after user selects this option, terminal unit can receive user and be set to non-by this application
The instruction of fully charge application, and this application labelling is non-fully freezed mark.By this mark, terminal unit can be from being in
Confirming in the application of frozen state which application is non-fully to freeze application, remaining application can be confirmed to be fully charge should
With.
Preferably, user distinguishes and non-fully freezes application and fully charge application for convenience, can this two class be applied
Icon be differently shown.The application being in frozen state generally shows snowflake or frost frame etc., to be on icon
As a example by showing snowflake on the icon of the application of frozen state, the snowflake on the icon of fully charge application can be shown as white
Color, and by non-fully freeze application icon on snowflake shown in green because green easily give current, allow it
Meaning, by snowflake is set to green, although this application of user can be pointed out to be in frozen state, but under certain condition,
Can automatically upgrade.
203, the cycle very first time is determined according to non-fully freezing mark;
The embodiment of the present invention can be upgraded to non-fully freezing application under certain condition, but upgrade cycle mistake
Short, upgrading is excessively frequent, can waste system resource, and upgrade cycle is long, easily occurs in user when using this application, application
Still need to the situation of upgrading.Therefore, in order to take into account Consumer's Experience and system resource, need to arrange rational upgrade cycle.Concrete,
User, can be to selecting upgrade cycle after selecting non-fully to freeze intended application, and terminal unit can be by difference
Non-fully freeze identify with distinguish non-fully freeze application upgrade cycle, terminal unit can according to non-fully freeze mark
Determine the upgrade cycle of intended application, here, the upgrade cycle of intended application is referred to as the cycle very first time.
204, determined for the first upgrading moment according to the cycle very first time;
After the cycle very first time determining intended application, when can determine the first upgrading according to the cycle very first time
Carve.Such as, intended application labelling is non-fully freezed the 12:00 that the moment is January 1 of mark, according to non-fully freezing mark
The cycle very first time determined is 7 days, then the first upgrading moment can be 1 month 12:00 of No. 8.Or, in order to not affect use
The family normal use to intended application, can be arranged on morning by the upgrading moment, and the such as first upgrading moment was the 1 of January 9:
00。
Step 203 and step 204 are for taking into account application upgrade to Consumer's Experience and the impact of system resource, therefore, in reality
During border uses, it is also possible to do not perform step 203 and step 204, or arrange unified for the upgrade cycle non-fully freezing application
For same period, or the current state of real-time judge terminal unit whether can also meet the first promotion condition, meet first
During promotion condition, non-fully freeze application upgrade to all of.
205, judge whether current network type is Wi-Fi network in the first upgrading moment, the most then perform step 206,
If it is not, then perform step 207;
When current time was the first upgrading moment, terminal unit can start to detect current network type, and judges current
Whether network type is Wi-Fi network, the most then perform step 206, if it is not, then perform step 207.
206, judge whether current electric quantity exceedes threshold power, the most then perform step 208, if it is not, then perform step
209;
When current network type is Wi-Fi network, it can be determined that whether current electric quantity exceedes threshold power, the most then hold
Row step 208, if it is not, then perform step 209.Threshold power can be user oneself definition, it is also possible to automatic by terminal unit
Arrange.The current electric quantity of terminal unit should exceed threshold power, is to prevent terminal unit from shutting down rapidly because automatically upgrading,
If it is understood that terminal unit is in charged state, it is also possible to think that the current electric quantity of terminal unit exceedes threshold power.
207, other operations are performed;
If judging that current network type, not as Wi-Fi network, is the most further judged in the first upgrading moment, can
Again to detect current network type, and judge whether current network type is Wi-Fi network, it is also possible to stop detecting current net
Network type, but wait until that the next time cycle carries out detection again and judges.
208, judge that the power consumption of current application whether less than threshold value power consumption, the most then performs step 210, if it is not, then perform
Step 211;
If the current electric quantity of terminal unit exceedes threshold power, then may determine that whether the power consumption of current application is less than threshold
Value power consumption, the most then perform step 210, if it is not, then perform step 211.Power consumption can be pre-set and be not less than threshold value power consumption
The list of application, can include Video Applications, game application etc., by the application in current application and list being carried out in list
Contrast, if current application is not in list, then can be determined that the power consumption of current application is less than threshold value power consumption, otherwise, it is determined that currently
The power consumption of application is not less than threshold value power consumption.
209, other operations are performed;
If it is determined that current electric quantity is less than threshold power, the most further judged, afterwards, can again detect and work as
Front electricity, and judge whether current electric quantity exceedes threshold power, it is also possible to stop detection, but wait until the next time cycle again
Detection current network type, and carry out follow-up a series of judgement operations.
210, intended application is thawed;
Step 103 in the embodiment that step 210 is corresponding with Fig. 1 is identical, and here is omitted.
211, other operations are performed;
If it is determined that the power consumption of current application is not less than threshold value power consumption, then forbids intended application is thawed, and perform it
He operates, and such as can continue to detect current application, or again detect current network type, carry out correlated judgment, or, also
Detection can be stopped, but wait until that the next time cycle detects current network type again, and carry out follow-up a series of judgements
Operation.
Step 205 to step 211 is to judge whether the current state of terminal unit meets the concrete real of the first promotion condition
Execute mode, be so that the embodiment of the present invention is in the actual application of terminal unit, reduce and use process to cause user
Unhappy impact, improves Consumer's Experience.The current network type of terminal unit should be Wi-Fi network, it is possible to reduce automatically upgraded
User is moved the waste of data traffic by journey;The current electric quantity of terminal unit should exceed threshold power, is possible to prevent terminal unit
Shut down rapidly because automatically upgrading, it is to be understood that if terminal unit is in charged state, it is believed that working as of terminal unit
Front electricity meets the first promotion condition;The power consumption of terminal unit current application should be less than threshold value power consumption, if because current application
Power consumption relatively big, normally use the duration of this application in order to extend user, need to reduce other non-essential power consuming operation.
It is understood that step 205 is only the one enumerated in the present embodiment preferably implementation to step 211,
In actual applications, it is judged that whether the current state of terminal unit meets the first promotion condition, it is also possible to according to user's request, adopts
With other concrete judge processs.Such as can use other combinations of above-mentioned three judgement actions, concrete, can be with other
Sequential performs above-mentioned three judgement actions;Or only carry out any one in these three judgement actions, i.e. only to current network
Type judges, or only judges current electric quantity, or only judges current application;Or, it is also possible to only
Perform any two in these three judgement actions, be not specifically limited herein.It should be noted that can also above-mentioned arbitrarily
On the basis of judging combination, increase other judgement action, be used as judging whether the current state of terminal unit meets first
The specific implementation process of promotion condition, is not specifically limited herein.
212, judge whether the current state of terminal unit meets the second promotion condition, the most then perform step 213, if
No, then perform step 214;
After upgrading that intended application is thawed, it can be determined that whether the current state of terminal unit meets the second upgrading bar
Part, current state can include at least one in current network type, current electric quantity, current application state, with current state
As a example by current network type and current application state, the second promotion condition can be: current network type is Wi-Fi network,
The power consumption of current application is less than threshold value power consumption.
213, intended application is upgraded;
If it is determined that the current state of terminal unit meets the second promotion condition, then intended application is upgraded, and rising
Level performs step 215 after completing.
214, the step that intended application is upgraded is interrupted;
If it is determined that the current state of terminal unit is unsatisfactory for the second promotion condition, then can interrupt the liter to intended application
Level, can directly perform step 215, it is also possible to re-execute step 212 afterwards.
Step 212 to step 214 is used for preventing in intended application escalation process, and current network type switches to mobile number
Wasting flow according to network, or current application switches to big power consumption to apply, the upgrading proceeding intended application can reduce use
Family normally uses the duration of current application.Visible, in actual use, step 212 to step 214 can not also perform, but
Directly intended application is upgraded after step 210, after having upgraded, perform step 215.
215, intended application is freezed.
After upgrading intended application, intended application can be freezed by terminal unit again.
Two, terminal unit automatically arranges and non-fully freezes application
Referring to Fig. 3, in the embodiment of the present invention, another embodiment of terminal control method includes:
301, it is defined as non-fully freezing application according to the use frequency of intended application;
Terminal unit, after receiving user and intended application is freezed instruction, can obtain the use frequency of intended application
Rate, and non-fully freeze application according to using frequency to be defined as.It is understood that use the high application of frequency should be by really
Being set to and non-fully freeze application, frequency threshold can be defined by the user, it is also possible to is automatically arranged by system.Terminal unit can also
Do not receiving in the case of intended application freezed instruction by user, because the use frequency of intended application is relatively low, and automatically by mesh
Mark application is defined as freezing application, but owing to the use frequency of intended application remains above frequency threshold, and then by intended application
It is defined as non-fully freezing application.
302, intended application is freezed, and intended application labelling is non-fully freezed mark;
After being defined as intended application non-fully freezing application, intended application can be freezed by terminal unit, and
Intended application labelling is non-fully freezed mark.By this mark, terminal unit can from the application being in frozen state really
Recognizing which application is non-fully to freeze application, and remaining application can be confirmed to be fully charge application.
Preferably, user distinguishes and non-fully freezes application and fully charge application for convenience, can this two class be applied
Icon be differently shown.The application being in frozen state generally shows snowflake or frost frame etc., to be on icon
As a example by showing snowflake on the icon of the application of frozen state, the snowflake on the icon of fully charge application can be shown as white
Color, and by non-fully freeze application icon on snowflake shown in green because green easily give current, allow it
Meaning, by snowflake is set to green, although this application of user can be pointed out to be in frozen state, but under certain condition,
Can automatically upgrade.
303, the cycle very first time is determined according to the use frequency of intended application;
Terminal unit can determine the cycle very first time according to the use Automatic Frequency of intended application, uses frequency the highest,
It is shorter that the cycle very first time can be arranged.
304, determined for the first upgrading moment according to the cycle very first time;
305, judge whether current network type is Wi-Fi network in the first upgrading moment, the most then perform step 306,
If it is not, then perform step 307;
306, judge whether current electric quantity exceedes threshold power, the most then perform step 308, if it is not, then perform step
309;
307, other operations are performed;
308, judge that the power consumption of current application whether less than threshold value power consumption, the most then performs step 310, if it is not, then perform
Step 311;
309, other operations are performed;
310, intended application is thawed;
311, other operations are performed;
312, judge whether the current state of terminal unit meets the second promotion condition, the most then perform step 313, if
No, then perform step 314;
313, intended application is upgraded;
314, the step that intended application is upgraded is interrupted;
315, intended application is freezed.
Step 304 is identical to step 216 to the step 204 in step 316 embodiment corresponding with Fig. 2, the most superfluous
State.
Above the application upgrade method in the embodiment of the present invention is described, below to the end in the embodiment of the present invention
End equipment is described.
Referring to Fig. 4, in the embodiment of the present invention, an embodiment of terminal unit includes:
First freezes module 401, for freezing intended application;
Mark module 402, for non-fully freezing mark to intended application labelling;
First judge module 403, for judging whether the current state of terminal unit meets the first promotion condition, current shape
State includes current network type and/or current electric quantity and/or current application state;
Defrosting module 404, for when the first judge module judges that current state meets the first promotion condition, answering target
With thawing;
Upgraded module 405, for upgrading to intended application;
Second freezes module 406, for after intended application is upgraded by upgraded module, freezes intended application
Knot.
The pass of each intermodule of terminal unit in the present embodiment refers to embodiment corresponding to Fig. 1, and here is omitted.
Intended application is labeled as non-fully freezing application or fully charge application by mark module 402, can be according to user
Instruction be marked, it is also possible to automatically selected and labelling by mark module 402, will be described respectively below, refer to figure
5, in the embodiment of the present invention, another embodiment of terminal unit includes:
One, it is marked according to the instruction of user
Receiver module 501, is set to non-fully freeze the instruction of application for receiving user by intended application;
First freezes module 502, is set to intended application non-fully freeze for receiving user at receiver module 501
After the instruction of application, intended application is freezed;
Mark module 503, is set to intended application non-fully freeze application for receiving user at receiver module 501
Instruction after, to intended application labelling non-fully freeze mark;
Second determines module 504, after intended application labelling non-fully being freezed mark at mark module 503, and root
The cycle very first time is determined according to non-fully freezing mark;
3rd determines module 505, for determining that the cycle very first time that module 504 determines determines the first upgrading according to second
Moment;
In the first upgrading moment, 4th judging unit 506, for judging whether the current state of terminal unit meets first
Promotion condition, current state includes current network type, current electric quantity and current application state, and the 4th judging unit 506 includes:
In the first upgrading moment, first judgment sub-unit 5061, for judging whether current network type is Wireless Fidelity
Wi-Fi network;
When the first judgment sub-unit 5061, second judgment sub-unit 5062, for judging that current network type is as Wi-Fi net
During network, it is judged that whether current electric quantity exceedes threshold power;
When the second judgment sub-unit 5062,3rd judgment sub-unit 5063, for judging that current electric quantity exceedes threshold power
Time, it is judged that whether the power consumption of current application is less than threshold value power consumption;
Defrosting module 507, during for judging that when the 3rd judgment sub-unit 5063 power consumption of current application is less than threshold value power consumption,
Intended application is thawed;
At the second judge module 509, upgraded module 508, for judging that the current state of terminal unit meets the second upgrading bar
During part, intended application is upgraded;
Second judge module 509, for after intended application is thawed by defrosting module 507, it is judged that terminal unit
Whether current state meets the second promotion condition, and current state includes current network type and/or current electric quantity and/or currently should
Use state;
At the second judge module 509, interrupt module 510, for judging that the current state of terminal unit is unsatisfactory for the second upgrading
During condition, interrupt the step that intended application is upgraded.
Second freezes module 511, is used for after intended application is upgraded by upgraded module 508, or interrupt module
After the upgrading of 510 pairs of intended application is interrupted, intended application is freezed.
It is understood that the first judgment sub-unit the 5061, second judgment sub-unit 5062 and the 3rd judgment sub-unit
5063 is only that the one of the 4th judging unit 506 enumerated in the present embodiment preferably forms, and in actual applications, the 4th judges
Unit 506, it is also possible to according to user's request, be made up of other unit.Such as can use its of above three judgment sub-unit
He combines, concrete, can only include any one subelement in above three judgment sub-unit, or any two sub-list
Unit.Other judgment sub-unit can also be increased on the basis of the combination of above-mentioned any judgment sub-unit, form above-mentioned
Four judging units 506, are not specifically limited herein.
The pass of each intermodule of terminal unit in the present embodiment refers to embodiment corresponding to Fig. 2, and here is omitted.
Referring to Fig. 6, in the embodiment of the present invention, another embodiment of terminal unit includes:
Two, terminal unit automatically arranges and non-fully freezes application
First determines module 601, for being defined as non-fully freezing application according to the use frequency of intended application.
First freezes module 602, for determining that module 601 determines that intended application is non-fully to freeze to apply it first
After, intended application is freezed;
Mark module 603, for first determine module 601 determine intended application be non-fully freeze application after, right
Intended application labelling non-fully freezes mark;
4th determines module 604, after intended application labelling non-fully being freezed mark at mark module 603, and root
The cycle very first time is determined according to the use frequency of intended application;
5th determines module 605, for determining that the cycle very first time that module 604 determines determines the first upgrading according to the 4th
Moment;
In the first upgrading moment, 4th judging unit 606, for judging whether the current state of terminal unit meets first
Promotion condition, current state includes current network type, current electric quantity and current application state, and the 4th judging unit 606 includes:
In the first upgrading moment, first judgment sub-unit 6061, for judging whether current network type is Wireless Fidelity
Wi-Fi network;
When the first judgment sub-unit 6061, second judgment sub-unit 6062, for judging that current network type is as Wi-Fi net
During network, it is judged that whether current electric quantity exceedes threshold power;
When the second judgment sub-unit 6062,3rd judgment sub-unit 6063, for judging that current electric quantity exceedes threshold power
Time, it is judged that whether the power consumption of current application is less than threshold value power consumption;
Defrosting module 607, during for judging that when the 3rd judgment sub-unit 6063 power consumption of current application is less than threshold value power consumption,
Intended application is thawed;
At the second judge module 609, upgraded module 608, for judging that the current state of terminal unit meets the second upgrading bar
During part, intended application is upgraded;
Second judge module 609, for after intended application is thawed by defrosting module 607, it is judged that terminal unit
Whether current state meets the second promotion condition, and current state includes current network type and/or current electric quantity and/or currently should
Use state;
At the second judge module 609, interrupt module 610, for judging that the current state of terminal unit is unsatisfactory for the second upgrading
During condition, interrupt the step that intended application is upgraded.
Second freezes module 611, is used for after intended application is upgraded by upgraded module 608, or interrupt module
After the upgrading of 610 pairs of intended application is interrupted, intended application is freezed.
It is understood that the first judgment sub-unit the 6061, second judgment sub-unit 6062 and the 3rd judgment sub-unit
6063 is only that the one of the 4th judging unit 606 enumerated in the present embodiment preferably forms, and in actual applications, the 4th judges
Unit 606, it is also possible to according to user's request, be made up of other unit.Such as can use its of above three judgment sub-unit
He combines, concrete, can only include any one subelement in above three judgment sub-unit, or any two sub-list
Unit.Other judgment sub-unit can also be increased on the basis of the combination of above-mentioned any judgment sub-unit, form above-mentioned
Four judging units 606, are not specifically limited herein.
The pass of each intermodule of terminal unit in the present embodiment refers to embodiment corresponding to Fig. 3, and here is omitted.
Can be the region of acquiescence in target area provided herein, it is also possible to for the region of user preset.Further,
In several embodiments, it should be understood that disclosed system, apparatus and method, can realize by another way.Such as,
Device embodiment described above is only schematically, such as, the division of unit, it is only a kind of logic function and divides,
Actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or directly coupling
Close or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical, machinery
Or other form.
The unit illustrated as separating component can be or may not be physically separate, shows as unit
Parts can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network
On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, can
To be stored in a computer read/write memory medium.Based on such understanding, technical scheme substantially or
Say completely or partially can embodying of the part that prior art is contributed or this technical scheme with the form of software product
Out, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment
(can be personal computer, server, or the network equipment etc.) performs all or part of of each embodiment method of the present invention
Step.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random
Various Jie that can store program code such as access memorizer (RAM, Random Access Memory), magnetic disc or CD
Matter.
Above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to aforementioned reality
Execute example the present invention has been described in detail, it will be understood by those within the art that: its still can to aforementioned respectively
Technical scheme described in embodiment is modified, or wherein portion of techniques feature is carried out equivalent;And these amendments
Or replace, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. an application upgrade method, is applied to terminal unit, it is characterised in that including:
Intended application is freezed, and described intended application labelling is non-fully freezed mark;
Judging whether the current state of described terminal unit meets the first promotion condition, described current state includes current network class
Type and/or current electric quantity and/or current application state;
The most described intended application is thawed;
Described intended application is upgraded;
Described intended application is freezed.
Application upgrade method the most according to claim 1, it is characterised in that described intended application labelling is non-fully being frozen
Before knot mark, described method also includes:
Receive user and described intended application is set to non-fully freeze the instruction of application;
Or,
Use frequency according to described intended application is defined as non-fully freezing application.
Application upgrade method the most according to claim 1, it is characterised in that the current shape of the described terminal unit of described judgement
Whether state meets the first promotion condition includes:
Judge whether current network type is Wireless Fidelity Wi-Fi network;
The most then judge whether current electric quantity exceedes threshold power;
The most then judge that whether the power consumption of current application is less than threshold value power consumption;
The most then judge that the current state of described terminal unit meets the first promotion condition.
Application upgrade method the most according to any one of claim 1 to 3, it is characterised in that to described intended application
After thawing, before freezing described intended application, described method also includes:
Judging whether the current state of described terminal unit meets the second promotion condition, described current state includes current network class
Type and/or current electric quantity and/or current application state;
If it is not, then interrupt the step that described intended application is upgraded.
Application upgrade method the most according to any one of claim 1 to 3, it is characterised in that to described intended application
After labelling non-fully freezes mark, before whether the current state judging described terminal unit meets the first promotion condition,
Described method also includes:
The cycle very first time is determined according to described mark of non-fully freezing;
Determined for the first upgrading moment according to the described cycle very first time;
Whether the described current state judging described terminal unit meets the first promotion condition includes:
Upgrade the moment described first, it is judged that whether the current state of described terminal unit meets the first promotion condition.
6. a terminal unit, it is characterised in that including:
First freezes module, for freezing intended application;
Mark module, for non-fully freezing mark to described intended application labelling;
First judge module, for judging whether the current state of described terminal unit meets the first promotion condition, described currently
State includes current network type and/or current electric quantity and/or current application state;
Defrosting module, for when described first judge module judges that current state meets the first promotion condition, to described target
Application is thawed;
Upgraded module, for upgrading to described intended application;
Second freezes module, for after described intended application is upgraded by described upgraded module, to described intended application
Freeze.
Terminal unit the most according to claim 6, it is characterised in that described terminal unit also includes:
Receiver module, is set to non-fully freeze the instruction of application for receiving user by described intended application;
Or,
First determines module, for being defined as non-fully freezing application according to the use frequency of described intended application.
Terminal unit the most according to claim 6, it is characterised in that described first judge module includes:
First judging unit, is used for judging whether current network type is Wireless Fidelity Wi-Fi network;
Second judging unit, for when described first judging unit judges current network type as Wi-Fi network, it is judged that current
Whether electricity exceedes threshold power;
3rd judging unit, for when described second judging unit judges that current electric quantity exceedes threshold power, it is judged that currently should
Power consumption whether less than threshold value power consumption;
Identifying unit, during for judging that when described 3rd judging unit the power consumption of current application is less than threshold value power consumption, it is determined that described
The current state of terminal unit meets the first promotion condition.
9. according to the terminal unit according to any one of claim 6 to 8, it is characterised in that described terminal unit also includes:
Second judge module, for judging whether the current state of described terminal unit meets the second promotion condition, described currently
State includes current network type and/or current electric quantity and/or current application state;
Interrupt module, for interrupting the step upgrading described intended application.
10. according to the terminal unit according to any one of claim 6 to 8, it is characterised in that described terminal unit also includes:
Second determines module, for determining the cycle very first time according to described mark of non-fully freezing;
3rd determines module, determines for the first upgrading moment according to the described cycle very first time;
First judge module includes:
4th judging unit, for upgrading the moment described first, it is judged that whether the current state of described terminal unit meets the
One promotion condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610615851.6A CN106227569A (en) | 2016-07-29 | 2016-07-29 | A kind of application upgrade method and terminal unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610615851.6A CN106227569A (en) | 2016-07-29 | 2016-07-29 | A kind of application upgrade method and terminal unit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106227569A true CN106227569A (en) | 2016-12-14 |
Family
ID=57534925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610615851.6A Pending CN106227569A (en) | 2016-07-29 | 2016-07-29 | A kind of application upgrade method and terminal unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227569A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106874036A (en) * | 2017-01-13 | 2017-06-20 | 北京奇虎科技有限公司 | The update method of application program, device and mobile terminal |
CN110032430A (en) * | 2018-01-12 | 2019-07-19 | 广东欧珀移动通信有限公司 | Applied program processing method and device, electronic equipment, computer readable storage medium |
CN111796735A (en) * | 2020-06-29 | 2020-10-20 | 维沃移动通信(杭州)有限公司 | Application program control method and device and electronic equipment |
CN114363305A (en) * | 2021-12-27 | 2022-04-15 | 广东明创软件科技有限公司 | Application updating method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744681A (en) * | 2014-01-16 | 2014-04-23 | 广州市久邦数码科技有限公司 | Method and system for freezing/thawing procedures |
CN105247482A (en) * | 2013-06-28 | 2016-01-13 | 三星电子株式会社 | Method and apparatus for updating application |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
CN105786480A (en) * | 2015-12-29 | 2016-07-20 | 上海闻泰电子科技有限公司 | Application processing system and processing method |
-
2016
- 2016-07-29 CN CN201610615851.6A patent/CN106227569A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105247482A (en) * | 2013-06-28 | 2016-01-13 | 三星电子株式会社 | Method and apparatus for updating application |
CN103744681A (en) * | 2014-01-16 | 2014-04-23 | 广州市久邦数码科技有限公司 | Method and system for freezing/thawing procedures |
CN105786480A (en) * | 2015-12-29 | 2016-07-20 | 上海闻泰电子科技有限公司 | Application processing system and processing method |
CN105468426A (en) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | Application freezing method and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106874036A (en) * | 2017-01-13 | 2017-06-20 | 北京奇虎科技有限公司 | The update method of application program, device and mobile terminal |
CN106874036B (en) * | 2017-01-13 | 2021-03-09 | 北京安云世纪科技有限公司 | Application program updating method and device and mobile terminal |
CN110032430A (en) * | 2018-01-12 | 2019-07-19 | 广东欧珀移动通信有限公司 | Applied program processing method and device, electronic equipment, computer readable storage medium |
CN110032430B (en) * | 2018-01-12 | 2022-01-11 | Oppo广东移动通信有限公司 | Application program processing method and device, electronic equipment and computer readable storage medium |
CN111796735A (en) * | 2020-06-29 | 2020-10-20 | 维沃移动通信(杭州)有限公司 | Application program control method and device and electronic equipment |
WO2022001813A1 (en) * | 2020-06-29 | 2022-01-06 | 维沃移动通信有限公司 | Application program control method and apparatus, and electronic device |
CN114363305A (en) * | 2021-12-27 | 2022-04-15 | 广东明创软件科技有限公司 | Application updating method and device, electronic equipment and storage medium |
CN114363305B (en) * | 2021-12-27 | 2023-12-15 | 广东明创软件科技有限公司 | Application updating method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103199311B (en) | The battery power saving method of portable type electronic product, equipment and mobile terminal | |
CN106227569A (en) | A kind of application upgrade method and terminal unit | |
CN104281479B (en) | A kind of firmware upgrade method and device | |
CN106502372A (en) | A kind of method of application control and mobile terminal | |
CN104503828A (en) | Process management method and terminal | |
CN103645955A (en) | Running management method and device for application program | |
CN106292998A (en) | The management method of a kind of running background program and terminal | |
CN103902333A (en) | Method for automatically unloading application of mobile terminal and mobile terminal | |
CN103164229A (en) | Method and device for clearing progresses of mobile terminal | |
CN106774786A (en) | A kind of power consumption control method and device | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN105700663A (en) | Background program cleaning method and system for mobile terminal | |
CN106528097A (en) | Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment | |
CN109358887A (en) | A kind of the online upgrading method, apparatus and system of SCM program | |
CN106445604A (en) | Clearing method and device for applications | |
CN106455022A (en) | Power saving mode switching method and device | |
CN104375854B (en) | A kind of application updates method for down loading and user terminal | |
CN106959892A (en) | Process handling method, device and electronic equipment | |
CN105975162A (en) | Application freezing method and touch screen terminal | |
CN105653304B (en) | The switching method of operational mode, the switching device of operational mode and terminal | |
CN105786519A (en) | Android equipment program management method and Android equipment | |
CN104102498B (en) | A kind of mobile terminal and its starting-up method | |
CN106055404A (en) | Method and device for cleaning up background application programs | |
CN106200866A (en) | A kind of application freezing method and mobile terminal | |
CN106547655A (en) | The method and system of the memory bar quantity on circuit for detecting plate |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161214 |