CN106528283A - Program recovery method and device - Google Patents
Program recovery method and device Download PDFInfo
- Publication number
- CN106528283A CN106528283A CN201610885150.4A CN201610885150A CN106528283A CN 106528283 A CN106528283 A CN 106528283A CN 201610885150 A CN201610885150 A CN 201610885150A CN 106528283 A CN106528283 A CN 106528283A
- Authority
- CN
- China
- Prior art keywords
- priority
- smart machine
- recovery
- program
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a program recovery method and device. The method comprises the following steps of: after triggering is carried out to carry out program recovery, receiving a recovery priority list pushed by a server; and according to the priority order of application programs on the recovery priority list, carrying out the program recovery in sequence, wherein the recovery priority list comprises the priority order when each application program installed on first intelligent equipment carries out the program recovery. In the method, when the program recovery is carried out, the first intelligent equipment can preferentially recover the application programs which are commonly used by a user or the high-priority application program preset by the user, the intelligent level of intelligent equipment is improved, and user experience is improved.
Description
Technical field
It relates to the communications field, more particularly to program recovery method and device.
Background technology
In correlation technique, during application program of the smart machine in recovery system, usually carry out according to default sequence.
But, when recovering application program according to default sequence, it is impossible to guarantee that the application program that user is currently needed for using can
To be preferentially resumed, so as to the intelligence degree for causing smart machine cannot meet user's request, poor user experience.
The content of the invention
In view of this, present disclose provides program recovery method and device, to solve the deficiency in correlation technique.
It is according to the first aspect of the embodiment of the present disclosure, there is provided a kind of program recovery method, for the first smart machine, described
Method includes:
After triggering carries out program recovery, the recovery priority list that the reception server is pushed;
According to the priority orders for recovering application program on priority list, program recovery is carried out successively;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is being entered
Priority orders when line program recovers.
Alternatively, methods described also includes:
Precedence information is sent to the server, so that the server sets up described extensive according to the precedence information
Multiple priority list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
Alternatively, methods described also includes:
When program recovery is carried out, receive the server and list of application is enlivened by what predetermined period was pushed;
List of application is enlivened according to described, the priority for recovering application program in priority list is adjusted;
On the recovery priority list after according to adjustment, the priority orders of application program, enter line program successively
Recover;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and
Including the list of the program identification of destination application, the destination application was once installed on first smart machine
Application program in application program on second smart machine in active state.
Alternatively, described to enliven list of application according to described, in the adjustment recovery priority list, application program is excellent
First level, including:
The priority for recovering the destination application in priority list is adjusted to into target priority, it is described
Target priority is higher than the priority for recovering other application programs in priority list.
Alternatively, it is described that the priority for recovering the destination application in priority list is adjusted to into target
After priority, methods described also includes:
In the recovery priority list, order of the destination application according to access times from high to low is entered
Row arrangement;Or
In the recovery priority list, to the destination application according to indicated by the pre-set priority information
Priority orders arranged.
Alternatively, methods described also includes:
After program recovery is completed, notification message is sent completely to the server, so that the server is based on institute
Completion notice information is stated, notifies that the second smart machine stops reporting described enlivening list of application.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of program recovery method, for server, methods described bag
Include:
According to the precedence information that the first smart machine is reported, set up and recover priority list;
After it is determined that first smart machine triggering carries out program recovery, push to first smart machine described
Recover priority list, so that first smart machine recovers the described preferential of application program on priority list according to described
Level order, carries out program recovery successively;
Wherein, the priority list that recovers includes that each the application program institute once installed on first smart machine is right
The priority orders answered.
Alternatively, it is when the precedence information includes the access times of application program, described according on the first smart machine
The precedence information of report, sets up and recovers priority list, including:
The recovery priority list is set up based on the access times, application program in the recovery priority list
The access times are directly proportional to priority.
Alternatively, it is when the precedence information includes pre-set priority information, described to be reported according to the first smart machine
Precedence information, sets up and recovers priority list, including:
Priority according to indicated by the pre-set priority information, sets up the recovery priority list.
Alternatively, after the recovery priority list to first smart machine push, methods described is also wrapped
Include:
When detect the second smart machine log in bind the account of first smart machine in advance after, transmission report notice
Message is to second smart machine, so that second smart machine reports notification message according in predetermined period based on described
Report enlivens list of application to the server;
List of application is enlivened to first smart machine push is described according to the predetermined period, so that first intelligence
Energy equipment enlivens list of application according to described, adjusts the priority orders for recovering application program in priority list;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and
Including the list of the program identification of destination application, the destination application was once installed on first smart machine
Application program in application program on second smart machine in active state.
Alternatively, methods described also includes:
Receive the completion notice information that first smart machine is reported after the completion of program recovery;
Based on the completion notice message, send stopping and notification message is reported to second smart machine, so that described
Second smart machine reports notification message based on the stopping, and stopping is reported and described enlivens list of application.
It is according to the third aspect of the embodiment of the present disclosure, there is provided a kind of program recovery device, for the first smart machine, described
Device includes:
First receiver module, is configured to after triggering carries out program recovery, and the recovery that the reception server is pushed is preferential
Level list;
Program recovery module, is configured to according to the priority orders for recovering application program on priority list, according to
It is secondary to carry out program recovery;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is being entered
Priority orders when line program recovers.
Alternatively, described device also includes:
First sending module, is configured to send precedence information to the server, so that the server is according to institute
State precedence information and set up the recovery priority list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
Alternatively, described device also includes:
Second receiver module, is configured to, when program recovery is carried out, receive what the server was pushed by predetermined period
Enliven list of application;
Adjusting module, is configured to enliven list of application according to described, applies journey in adjusting the recovery priority list
The priority of sequence;
Described program recovery module be configured to according to adjustment after the recovery priority list on application program institute
Priority orders are stated, program recovery is carried out successively;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and
Including the list of the program identification of destination application, the destination application was once installed on first smart machine
Application program in application program on second smart machine in active state.
Alternatively, the adjusting module includes:
Adjustment submodule, is configured to adjust the priority for recovering the destination application in priority list
It is whole for target priority, the target priority is higher than the priority for recovering other application programs in priority list.
Alternatively, described device also includes:
First order module, is configured in the recovery priority list, to the destination application according to making
Arranged with number of times order from high to low;
Second order module, is configured in the recovery priority list, to the destination application according to institute
State the priority orders indicated by pre-set priority information to be arranged.
Alternatively, described device also includes:
Second sending module, is configured to after program recovery is completed, and is sent completely notification message to the server,
So that the server is based on the completion notice information, notify that the second smart machine stops reporting described enlivening list of application.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of program recovery device, for server, described device bag
Include:
Module is set up, the precedence information reported according to the first smart machine is configured to, is set up and is recovered priority list;
First pushing module, is configured to after it is determined that first smart machine triggering carries out program recovery, to institute
State the first smart machine and push the recovery priority list, so that first smart machine is according to the recovery priority row
The priority orders of application program on table, carry out program recovery successively;
Wherein, the priority list that recovers includes that each the application program institute once installed on first smart machine is right
The priority orders answered.
Alternatively, the precedence information includes the access times of application program, and the module of setting up includes:
First setting up submodule, is configured to set up the recovery priority list based on the access times, described extensive
In multiple priority list, the access times of application program are directly proportional to priority.
Alternatively, the precedence information includes pre-set priority information, and the module of setting up includes:
Second setting up submodule, the priority being configured to according to indicated by the pre-set priority information set up described
Recover priority list.
Alternatively, described device also includes:
3rd sending module, is configured as detecting the second smart machine and logs in and bind first smart machine in advance
Account after, transmission reports notification message to second smart machine, so that second smart machine is based on described reporting
Notification message is reported according to predetermined period and enlivens list of application to the server;
Second pushing module, being configured to should to described the enlivening of first smart machine push according to the predetermined period
With list, so that first smart machine enlivens list of application according to described, apply in adjusting the recovery priority list
The priority orders of program;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and
Including the list of the program identification of destination application, the destination application was once installed on first smart machine
Application program in application program on second smart machine in active state.
Alternatively, described device also includes:
3rd receiver module, is configured to receive that first smart machine reported after the completion of program recovery completes to lead to
Know information;
4th sending module, is configured to based on the completion notice message, sends stopping and reports notification message to described
Second smart machine, so that second smart machine reports notification message, stopping to report described enlivening to answer based on the stopping
Use list.
In terms of the 5th of the embodiment of the present disclosure, there is provided a kind of program recovery device, for the first smart machine, bag
Include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
After triggering carries out program recovery, the recovery priority list that the reception server is pushed;
According to the priority orders for recovering application program on priority list, program recovery is carried out successively;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is being entered
Priority orders when line program recovers.
In terms of the 6th of the embodiment of the present disclosure, there is provided a kind of program recovery device, for server, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
According to the precedence information that the first smart machine is reported, set up and recover priority list;
After it is determined that first smart machine triggering carries out program recovery, push to first smart machine described
Recover priority list, so that first smart machine recovers the described preferential of application program on priority list according to described
Level order, carries out program recovery successively;
Wherein, the priority list that recovers includes that each the application program institute once installed on first smart machine is right
The priority orders answered.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
In the embodiment of the present disclosure, the first smart machine can be after triggering carries out program recovery, based on server push
Recover priority list on application program priority orders, carry out program recovery successively.Wherein, the recovery priority row
Table is the access times of the application program that server is reported based on the first smart machine or pre-set priority information determining.Cause
This, by said process, the first smart machine can when program recovery is carried out, it is preferential recover application program that user commonly uses or
The high application program of user preset priority, improves the intelligence degree of smart machine, improves Consumer's Experience.
In the embodiment of the present disclosure, alternatively, when the first smart machine carries out program recovery, server can be with according to pre-
If cycle push enlivens list of application.Wherein, the list of application that enlivens is that the second smart machine is currently made based on user
With application program situation determining.First smart machine can adjust extensive in time based on the list of application that enlivens
The priority of application program in multiple priority list, so as to when program recovery is carried out, further the preferential user's needs that recover make
Application program, improves Consumer's Experience.
In the embodiment of the present disclosure, alternatively, according to list of application is enlivened, adjustment and recovery priority is arranged the first smart machine
In table during the priority of application program, the priority for recovering the destination application in priority list can be adjusted to
Target priority, wherein the destination application is described in the application program once installed on first smart machine
On two smart machines in active state application program, the target priority higher than it is described recovery priority list in other
The priority of application program.The priority of the destination application is adjusted to highest by i.e. described first smart machine.So as to
It is preferential to recover the destination application that user needs to use, improve Consumer's Experience.
In the embodiment of the present disclosure, the priority of the destination application is adjusted to into highest in priority list is recovered
Afterwards, can also be by multiple destination applications according to access times order from high to low or pre-set priority information institute
The priority orders of instruction are arranged, and so be may insure to belong to that user's needs are used and are belonged to the application journey that user commonly uses
Sequence preferentially can be resumed, and while improving the intelligence degree of smart machine, improve Consumer's Experience.
In the embodiment of the present disclosure, the first smart machine can report completion notice message to service after the completion of program recovery
Device, the server send stopping and report notification message to second smart machine further according to the completion notice message.
Second smart machine is being received after the stopping reports notification message, no longer reports the list of application that enlivens to described
Server.On the basis of guaranteeing that preferentially recovering user needs the application program for using, it is to avoid the second smart machine is in the first intelligence
After the completion of the program recovery of energy equipment, the problem for enlivening the wasting of resources that list of application is caused still constantly is reported.
In the embodiment of the present disclosure, server set up it is corresponding with each smart machine recover priority list when, can be with
Based on user to the access times of each application program once installed on the smart machine setting up, or it is also based on user
Priority indicated by the pre-set priority information of each application program is set up.Realize easy, availability height.
In the embodiment of the present disclosure, server can log in the first smart machine of binding in advance the second smart machine is detected
After account, transmission reports notification message to second smart machine.Second smart machine can based on it is described report it is logical
Know message, report according to predetermined period and list of application is enlivened to the server.Further, the server is according to described pre-
If the cycle enlivens list of application to first smart machine push is described, so that the first smart machine can be based on described active
Priority in the timely adjustment and recovery priority list of list of application, so as to when program recovery is carried out, recover user preferential
It is on the basis of conventional application program, further preferential to recover the application program that user needs to use.Improve Consumer's Experience.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in specification and the part of this specification is constituted, show the enforcement for meeting the disclosure
Example, and be used for explaining the principle of the disclosure together with specification.
Fig. 1 is a kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Fig. 2 is another kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Fig. 3 is a kind of program recovery schematic diagram of a scenario of the disclosure according to an exemplary embodiment;
Fig. 4 is another kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Fig. 5 is another kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Fig. 6 is another kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Fig. 7 is another kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Fig. 8 is another kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Fig. 9 A are another kind of program recovery schematic diagram of a scenario of the disclosure according to an exemplary embodiment;
Fig. 9 B are another kind of program recovery method flow diagram of the disclosure according to an exemplary embodiment;
Figure 10 is a kind of program recovery device block diagram of the disclosure according to an exemplary embodiment;
Figure 11 is another kind of program recovery device block diagram of the disclosure according to an exemplary embodiment;
Figure 12 is another kind of program recovery device block diagram of the disclosure according to an exemplary embodiment;
Figure 13 is another kind of program recovery device block diagram of the disclosure according to an exemplary embodiment;
Figure 14 is another kind of program recovery device block diagram of the disclosure according to an exemplary embodiment;
Figure 15 is another kind of program recovery device block diagram of the disclosure according to an exemplary embodiment;
Another kind of program recovery device block diagram of Figure 16 disclosure according to an exemplary embodiment;
Another kind of program recovery device block diagram of Figure 17 disclosure according to an exemplary embodiment;
Another kind of program recovery device block diagram of Figure 18 disclosure according to an exemplary embodiment;
Another kind of program recovery device block diagram of Figure 19 disclosure according to an exemplary embodiment;
Another kind of program recovery device block diagram of Figure 20 disclosure according to an exemplary embodiment;
An a kind of structural representation for program recovery device of Figure 21 disclosure according to an exemplary embodiment;
Figure 22 discloses the another kind according to an exemplary embodiment is used for a structural representation of program recovery device.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by
The example of consistent apparatus and method in terms of some described in detail in claims, the disclosure.
It is the purpose only merely for description specific embodiment in the term of disclosure operation, and is not intended to be limiting the disclosure.
" one kind ", " described " and " being somebody's turn to do " for the singulative run in disclosure and the accompanying claims book is also intended to include majority
Form, unless context clearly shows that other implications.It is also understood that the term "and/or" of operation is referred to and is wrapped herein
Containing one or more associated any or all possible combinations for listing project.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only for same type of information is distinguished from each other out.For example, without departing from
In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, as word that this is run " if " can be construed to " and ... when " or " when ...
When " or " in response to determining ".
The program recovery method that the embodiment of the present disclosure is provided can be used for the first smart machine, for example, smart mobile phone, flat board
Computer, personal digital assistant (Personal Digital Assistant, PDA) etc..As shown in figure 1, Fig. 1 is according to an example
Property implement a kind of program recovery method for exemplifying, comprise the following steps:
In a step 101, after triggering carries out program recovery, the recovery priority list that the reception server is pushed.
In this step, first smart machine can carry out program recovery according to correlation technique triggering.For example, described
One smart machine detects and carries out the default virtual key of recovery routine and be triggered.Now, first smart machine can more than
The recovery that report program recovery starts starts notification message to server, and the server starts notification message according to above-mentioned recovery,
The recovery priority list is pushed to first smart machine.Wherein, the recovery priority list includes described first
Once priority orders of each application program installed on smart machine when program recovery is carried out, such as shown in table 1.
Table 1
Application program | Recover priority |
App1 | Priority 1 |
App2 | Priority 2 |
App3 | Priority 3 |
App4 | Priority 3 |
…… | …… |
In a step 102, according to the priority orders for recovering application program on priority list, enter line program successively
Recover.
In this step, first smart machine, can be according to the recovery priority list when program recovery is carried out
The corresponding priority orders of upper different application, carry out program recovery successively according to correlation technique.For example, it is excellent in table 1
First level 3 is highest, priority 1 for minimum, then first smart machine when program recovery is carried out, according to the priority of table 1
Sequentially, first recover App3 and App4, then recover App2, finally recover App1.
By said process, the first smart machine can be after triggering carries out program recovery, based on server push
Recover the priority orders of application program on priority list, carry out program recovery successively.Wherein, the recovery priority list
It is the access times or pre-set priority information of the application program that server is reported based on the first smart machine determining.Cause
This, by said process, the first smart machine can when program recovery is carried out, it is preferential recover application program that user commonly uses or
The high application program of user preset priority, improves the intelligence degree of smart machine, improves Consumer's Experience.
In the embodiment of the present disclosure, the recovery priority list is set up for the ease of server, alternatively, said procedure is extensive
Compound method is also wrapped as shown in Fig. 2 Fig. 2 is another kind of program recovery method illustrated on the basis of aforementioned embodiment illustrated in fig. 1
Include following steps:
In step 100, precedence information is sent to the server, so that the server is believed according to the priority
Breath sets up the recovery priority list.
Alternatively, the precedence information can include the access times of application program.The first smart machine record
The access times of each application program, and periodically the server is sent to according to correlation technique.The server is according to institute
When stating access times and setting up the recovery priority list, the priority of each application program and the access times are directly proportional.
In this manner it is possible to when program recovery is carried out, it is preferential to recover the application program that user commonly uses, so as to lift Consumer's Experience.
Or the precedence information can include pre-set priority information.User can be set in the described first intelligence in advance
The priority of each application program is configured on standby, such as shown in Fig. 3.If user is not to the preferential grading of application program
Row arrange, then the priority of the application program be default priority, such as lowest priority.
After first smart machine obtains the pre-set priority information, the server is sent to, so that the clothes
Business device sets up the recovery priority list according to the pre-set priority information.So, when program recovery is carried out, described
One smart machine can preferentially recover the high application program of priority of user's setting, so as to lift Consumer's Experience.
In the embodiment of the present disclosure, first smart machine recovers to need in order to further preferential when program recovery is carried out
Application program to be used, alternatively, said procedure restoration methods are as shown in figure 4, Fig. 4 is in aforementioned embodiment illustrated in fig. 1
On the basis of another kind of program recovery method that illustrates, it is further comprising the steps of:
In step 103, when program recovery is carried out, the active application row that the server is pushed by predetermined period are received
Table.
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and
Including the list of the program identification of destination application, the destination application was once installed on first smart machine
Application program in application program on second smart machine in active state.
In the embodiment of the present disclosure, the server can be logged in described in binding in advance second smart machine is detected
After the account of the first smart machine, transmission reports notification message to second smart machine.Second smart machine can base
Notification message is reported in described, the destination application in active state is detected whether.Detect user whether described
Certain application program is used on second smart machine, if having used certain application program, the application program is the target
Application program.Second smart machine reports the list of application that enlivens to the server according to predetermined period.
In this step, the server receive that second smart machine reports it is described enliven list of application after,
Pushed to first smart machine also according to the predetermined period.
At step 104, list of application is enlivened according to described, in the adjustment recovery priority list, application program is excellent
First level.
In this step, described in first smart machine can be pushed based on the server during program recovery
List of application is enlivened, the priority for recovering application program in priority list is adjusted.It is alternatively possible to according to institute
The program identification enlivened in list of application is stated, the priority for recovering the destination application in priority list is adjusted
It is whole for target priority, the target priority is higher than the priority for recovering other application programs in priority list.
For example, the list of application that enlivens that first smart machine is received includes App1 and App3, then described
The priority of App1 and App3 in the recovery priority list of table 1 is adjusted to target priority, example by the first smart machine
Such as highest priority 4, as shown in table 2.
Table 2
Application program | Recover priority |
App1 | Priority 4 |
App2 | Priority 2 |
App3 | Priority 4 |
App4 | Priority 3 |
…… | …… |
Certainly, complete or carry out if the destination application recovered in priority list is recovered
Recover, then priority need not be adjusted.For example, in table 1, App3 is recovered completes, then can only by the preferential of App1
Level is adjusted to priority 4, such as shown in table 3.
Table 3
Application program | Recover priority |
App1 | Priority 4 |
App2 | Priority 2 |
App3 | Priority 3 |
App4 | Priority 3 |
…… | …… |
In step 105, according to adjustment after the recovery priority list on application program the priority orders,
Program recovery is carried out successively.
In this step, first smart machine can according to correlation technique, according to adjustment after the recovery priority
The corresponding priority orders of different application in list, carry out program recovery successively.Such as recovery after adjusting
As shown in table 3, wherein App3 is recovered to be completed priority, then first smart machine first recovers App1, then recovers App4,
Finally recover App2.
In above-described embodiment, alternatively, first smart machine can be by the recovery priority list according to preferential
Level order is arranged, and the recovered application program for completing is arranged on the least significant end for recovering priority list, such as table 4
It is shown.So, first smart machine no longer requires to look up the priority of each application program, and can be to enter line program
During recovery, directly the order according to table 4 from top to bottom, carries out program recovery successively.
Table 4
Correspondingly, first smart machine receive the server push it is described enliven list of application after, can
According to the program identification for enlivening the destination application that list of application includes, the destination application to be added
It is added to the top for recovering priority list.And the priority of the destination application is set to into the target priority
Level, such as shown in table 4.Or default mark can be added to indicate the priority of the application program for highest, such as 5 institute of table
Show, it is default to be designated △.
Table 5
Application program | Recover priority |
App1 | △ |
App4 | Priority 3 |
App2 | Priority 2 |
…… | …… |
Recover the application program for completing | |
App3 | Priority 3 |
…… | …… |
In the embodiment of the present disclosure, if the number of the destination application is multiple, when program recovery is carried out,
There is still a need for further preferentially recovering the high application of priority that user in the destination application commonly uses or user's setting
Program.
Alternatively, it is described recovery priority list in, to the destination application according to access times from high to low
Order arranged.
For example, the list of application that enlivens includes App1, App3, App5 and App6, and App3 is recovered to be completed, then institute
Stating the first smart machine needs for the priority of App1, App5 and App6 to be adjusted to the target priority, is placed on described
Recover the top of priority list.The access times of hypothesis App1 are the access times of the access times for 2, App6 of 3, App5
For 4, then the recovery priority list after adjusting is as shown in table 6.
Table 6
Application program | Recover priority |
App6 | △ |
App1 | △ |
App5 | △ |
App4 | Priority 3 |
App2 | Priority 2 |
…… | …… |
Recover the application program for completing | |
App3 | Priority 3 |
…… | …… |
Alternatively, in the embodiment of the present disclosure, in the recovery priority list, can also be to the destination application
Arranged according to the priority orders indicated by pre-set priority information.
For example, the list of application that enlivens includes App1, App3, App5 and App6, and App3 is recovered to be completed, then institute
Stating the first smart machine needs for the priority of App1, App5 and App6 to be adjusted to the target priority, is placed on described
Recover priority list foremost.But, it is assumed that pre-set priority information indicates that the priority of App1 is the preferential of 1, App5
Level is 3 for the priority of 2, App6, then the recovery priority list after adjusting is as shown in table 7.
Table 7
In above-described embodiment, recover priority list in by the priority of the destination application be adjusted to highest it
Afterwards, can also be by multiple destination applications according to access times order from high to low or pre-set priority information indication
The priority orders shown are arranged, and so may insure to belong to that user's needs are used and belong to the application program that user commonly uses
Can preferentially be resumed, while improving the intelligence degree of smart machine, improve Consumer's Experience.
In the embodiment of the present disclosure, after first smart machine completes program recovery, alternatively, said procedure restoration methods
As shown in figure 5, Fig. 5 is another kind of program recovery method illustrated on the basis of aforementioned embodiment illustrated in fig. 1, also including following
Step:
In step 106, after program recovery is completed, notification message is sent completely to the server, so that described
Server is based on the completion notice information, notifies that the second smart machine stops reporting described enlivening list of application.
In this step, according to correlation technique, first smart machine can detect whether all of application program is extensive
Complete again, if recovering to complete, the completion notice message is sent to the server.The server receive it is described
After completion notice message, notify that second smart machine stops reporting and described enliven list of application.
In above-described embodiment, on the basis of guaranteeing that preferentially recovering user needs the application program for using, it is to avoid the second intelligence
Can equipment constantly report after the completion of the program recovery of the first smart machine, still and described enliven the wasting of resources that list of application is caused
Problem.
The program recovery method that the embodiment of the present disclosure is provided can be also used for server.As shown in fig. 6, Fig. 6 is according to one
Another kind of program recovery method shown in exemplary embodiment, comprises the following steps:
In step 201, the precedence information for being reported according to the first smart machine, sets up and recovers priority list.
It is alternatively possible to any one in the following ways sets up the recovery priority list.
First kind of way, sets up the recovery priority list according to the access times of application program.
In this kind of mode, first smart machine can report the access times of each application program once installed automatically,
The server is received according to correlation technique.Further, described in the server is set up according to the access times
Recover priority list, wherein, the access times of application program are directly proportional to priority.
For example, the access times of App1 are less than the access times of App2, then the App1 in the recovery priority list
Priority should be less than the priority of App2.
So, follow-up first smart machine is according to the priority orders for recovering application program in priority list
When carrying out program recovery, it is possible to preferential to recover the application program that user commonly uses, Consumer's Experience is lifted.
The second way, sets up the recovery priority list according to pre-set priority information.
In this kind of mode, user is in advance to the preferential grading of each application program for once installing on first smart machine
Setting is gone, the server directly receives the pre-set priority letter that first smart machine is reported according to correlation technique
Breath.Further, server priority directly according to indicated by the pre-set priority information, sets up described
Recover priority list.
For example, pre-set priority information indicates that the priority of App1 is 2 for the priority of 1, App2, then the server exists
The App1 corresponding priority is set to into priority 1 in the recovery priority list, the corresponding priority of App2 is arranged
For priority 2.
In step 202., after it is determined that first smart machine triggering carries out program recovery, to the described first intelligence
Equipment pushes the recovery priority list, so that first smart machine applies journey according on the recovery priority list
The priority orders of sequence, carry out program recovery successively.
In this step, first smart machine can report program recovery to hold after triggering carries out application recovery
The recovery of beginning starts notification message to server, and the server starts notification message according to above-mentioned recovery, recovers excellent by described
First level list is pushed to first smart machine.First smart machine after the receipt can automatically according to the recovery
The corresponding priority orders on priority list, carry out program recovery successively.
In above-described embodiment, server, can be with base when recovery priority list corresponding with each smart machine is set up
The access times of each application program once installed on user is to the smart machine are setting up, or are also based on user couple
Priority indicated by the pre-set priority information of each application program is setting up.Realize easy, availability height.And guarantee described
First smart machine can be preferential to recover the application program that user commonly uses when program recovery is carried out, and improves smart machine
Intelligence degree, improves Consumer's Experience.
In order to allow first smart machine when program recovery is carried out, further preferential recovery user needs what is used to answer
With program, said procedure restoration methods are as shown in fig. 7, Fig. 7 is the another kind illustrated on the basis of aforementioned embodiment illustrated in fig. 6
Program recovery method, it is after step 202 is completed, further comprising the steps of:
In step 203, when detect the second smart machine log in bind the account of first smart machine in advance after,
Transmission reports notification message to second smart machine so that second smart machine based on it is described report notification message by
Report according to predetermined period list of application is enlivened to the server.
In this step, after user logs in the account by second smart machine, the second smart machine meeting
Automatically the login notification message for currently logging in the account is sent to the server.The server is notified according to above-mentioned login
The device identification of the second smart machine described in message, send described in report notification message to second smart machine.
, after notification message is reported described in receiving, user is in second smart machine for detection for second smart machine
On the application program that uses, i.e., locate on second smart machine in the application program once installed on described first smart machine
In the application program of active state, and by user using the program identification write of the application program described enliven list of application
In, report the server.Wherein, described program mark can be program name or other can identify the intended application
The information of program.Alternatively, second smart machine is reported according to predetermined period and described enlivens list of application.
For example, second smart machine detects user in current period after notification message is reported described in receiving
It is interior that App1 and App2 has been used by second smart machine, then second smart machine report in current period including
The list of application that enlivens of the program identification of App1 and App2 is to the server.If detect user in next cycle again
App1 and App4 is used, then second smart machine is reported within next cycle and answered including the described active of App1 and App4
With list to the server.
In step 204, list of application is enlivened to first smart machine push is described according to the predetermined period, with
First smart machine is made to enliven list of application according to described, application program is preferential in the adjustment recovery priority list
Level order.
In this step, the server is being received described in second smart machine reported according to the predetermined period
After enlivening list of application, list of application is enlivened to first smart machine push is described also according to the predetermined period.
First smart machine can enliven list of application according to described, apply in adjusting the recovery priority list
The priority orders of program.Adjustment mode is identical with the mode of the adjustment priority orders in above-described embodiment, and here is no longer gone to live in the household of one's in-laws on getting married
State.First smart machine can according to adjustment after the recovery priority list on different application it is corresponding described excellent
First level order, carries out program recovery successively.
In above-described embodiment, server can log in the advance account for binding the first smart machine the second smart machine is detected
Behind family, transmission reports notification message to second smart machine.Second smart machine can report notice based on described
Message, reports according to predetermined period and enlivens list of application to the server.Further, the server is according to described default
Cycle enlivens list of application to first smart machine push is described, so that the first smart machine can be answered based on described enlivening
It is with the priority in the timely adjustment and recovery priority list of list, so as to when program recovery is carried out, normal in preferential recovery user
It is on the basis of application program, further preferential to recover the application program that user needs to use.Improve Consumer's Experience.
In order to avoid second smart machine constantly report after the completion of the program recovery of the first smart machine, still it is described
The problem of the wasting of resources that list of application is caused is enlivened, said procedure restoration methods are as shown in figure 8, Fig. 8 is shown in aforementioned Fig. 7
Another kind of program recovery method illustrated on the basis of embodiment, it is after step 204 is completed, further comprising the steps of:
In step 205, receive the completion notice information that first smart machine is reported after the completion of program recovery.
In this step, first smart machine reports the completion notice message to arrive after the completion of program recovery, automatically
The server.
In step 206, based on the completion notice message, send stopping and report notification message to set to the described second intelligence
Standby, so that second smart machine reports notification message based on the stopping, stopping is reported and described enlivens list of application.
In this step, the server after the completion notice message is received sends the stopping and reports notice to disappear
Second smart machine is ceased, and after second smart machine is received, no longer the active application is reported to the server
List.
In above-described embodiment, on the basis of guaranteeing that preferentially recovering user needs the application program for using, it is to avoid the second intelligence
Can equipment constantly report after the completion of the program recovery of the first smart machine, still and described enliven the wasting of resources that list of application is caused
Problem.
With reference to the schematic diagram of a scenario that the described program shown in Fig. 9 A is recovered, described program restoration methods are further lifted
Example explanation.As shown in Figure 9 B, Fig. 9 B are that another kind of program according to an exemplary embodiment is extensive to described program restoration methods
Compound method, comprises the following steps:
In step 301, the first smart machine sends precedence information to server.
Wherein, alternatively, the precedence information includes the access times or pre-set priority information of application program.
In step 302, the server is set up according to the precedence information and recovers priority list.
In this step, if the precedence information includes the access times of application program, the recovery priority row
In table, the access times of application program are directly proportional to priority.If the precedence information includes pre-set priority information,
Priority of the server according to indicated by the pre-set priority information, sets up the recovery priority list.
In step 303, first smart machine receives the server push after triggering carries out program recovery
Recovery priority list.
In this step, first smart machine can report program extensive after detecting triggering and carrying out program recovery
The recovery for starting again starts notification message to server, and the server starts notification message according to above-mentioned recovery, to described
One smart machine pushes the recovery priority list.
In step 304, first smart machine is according to the priority for recovering application program on priority list
Sequentially, program recovery is carried out successively.
In step 305, the server detects the login of the second smart machine and binds first smart machine in advance
Account after, transmission report notification message to second smart machine.
Within step 306, to report notification message to report according to predetermined period active based on described for second smart machine
List of application is to the server.
It is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and including
The list of the program identification of destination application, the destination application are the applications once installed on first smart machine
Application program in program on second smart machine in active state.
I.e. described second smart machine periodically reports the application journey used by second smart machine including user
The program identification of sequence enlivens list of application.
In step 307, the server pushes described active according to the predetermined period to first smart machine
List of application.
In step 308, first smart machine by it is described recover priority list in the destination application
Priority be adjusted to target priority.
The target priority is higher than the priority for recovering other application programs in priority list.
In this step, alternatively, the destination application can be set to highest preferential for first smart machine
Level is provided for representing the default mark of limit priority.In the embodiment of the present disclosure, the recovery priority list can be by
Arrange according to priority orders, and the recovered application program for completing is in the lowermost end for recovering priority list.
In a step 309, application program on the recovery priority list after first smart machine is according to adjustment
The priority orders, carry out program recovery successively.
In this step, first smart machine adjusts the recovery priority row in time according to the list of application that enlivens
The priority orders of application program on table, so as to carry out program recovery successively.
In the step 310, first smart machine is after program recovery is completed, and is sent completely notification message to described
Server.
In step 311, the server is based on the completion notice message, sends stopping and reports notification message to described
Second smart machine.
In step 312, second smart machine reports notification message, stopping to report described active based on the stopping
List of application.
In above-described embodiment, the first smart machine can be after triggering carries out program recovery, based on server push
Recover priority list, program recovery is carried out to first smart machine.Server can be lived with pushing according to predetermined period
Jump list of application.It is so as to when program recovery is carried out, on the basis of the application program that preferential recovery user commonly uses, further excellent
First recover the application program that user needs to use, improve Consumer's Experience.
Corresponding with preceding method embodiment, the disclosure additionally provides the embodiment of device.
As shown in Figure 10, Figure 10 is a kind of program recovery device block diagram of the disclosure according to an exemplary embodiment,
Described device includes:
First receiver module 410, is configured to after triggering carries out program recovery, and the recovery that the reception server is pushed is excellent
First level list;
Program recovery module 420, is configured to according to the priority orders for recovering application program on priority list,
Program recovery is carried out successively;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is being entered
Priority orders when line program recovers.
As shown in figure 11, another kind of program recovery device block diagram of Figure 11 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 10 embodiments, described device also includes the embodiment:
First sending module 430, is configured to send precedence information to the server so that the server according to
The precedence information sets up the recovery priority list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
As shown in figure 12, another kind of program recovery device block diagram of Figure 12 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 10 embodiments, described device also includes the embodiment:
Second receiver module 440, is configured to, when program recovery is carried out, receive the server and push by predetermined period
Enliven list of application;
Adjusting module 450, is configured to enliven list of application according to described, applies in adjusting the recovery priority list
The priority of program;
Described program recovery module 420 be configured to according to adjustment after the recovery priority list on application program
The priority orders, carry out program recovery successively;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and
Including the list of the program identification of destination application, the destination application was once installed on first smart machine
Application program in application program on second smart machine in active state.
As shown in figure 13, another kind of program recovery device block diagram of Figure 13 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 12 embodiments, the adjusting module 450 includes the embodiment:
Adjustment submodule 451, is configured to recover the preferential of the destination application in priority list by described
Level is adjusted to target priority, and the target priority recovers the preferential of other application programs in priority list higher than described
Level.
As shown in figure 14, another kind of program recovery device block diagram of Figure 14 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 13 embodiments, described device also includes the embodiment:
First order module 460, be configured to it is described recovery priority list in, to the destination application according to
Access times order from high to low is arranged;
Second order module 470, be configured to it is described recovery priority list in, to the destination application according to
Priority orders indicated by the pre-set priority information are arranged.
As shown in figure 15, another kind of program recovery device block diagram of Figure 15 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 12 embodiments, described device also includes the embodiment:
Second sending module 480, is configured to after program recovery is completed, and is sent completely notification message to the service
Device, so that the server is based on the completion notice information, notifies that the second smart machine stops reporting the active application row
Table.
As shown in figure 16, Figure 16 is another kind of program recovery device frame of the disclosure according to an exemplary embodiment
Figure, described device include:
Module 510 is set up, the precedence information reported according to the first smart machine is configured to, is set up and is recovered priority row
Table;
First pushing module 520, is configured to after it is determined that first smart machine triggering carries out program recovery, to
First smart machine pushes the recovery priority list, so that first smart machine is according to the recovery priority
The priority orders of application program in list, carry out program recovery successively;
Wherein, the priority list that recovers includes that each the application program institute once installed on first smart machine is right
The priority orders answered.
As shown in figure 17, another kind of program recovery device block diagram of Figure 17 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 16 embodiments, the precedence information includes the access times of application program to the embodiment, described to build
Formwork erection block 510 includes:
First setting up submodule 511, is configured to set up the recovery priority list based on the access times, described
The access times for recovering application program in priority list are directly proportional to priority.
As shown in figure 18, another kind of program recovery device block diagram of Figure 18 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 16 embodiments, the precedence information includes pre-set priority information to the embodiment, described to set up mould
Block 510 includes:
Second setting up submodule 512, the priority being configured to according to indicated by the pre-set priority information, sets up institute
State recovery priority list.
As shown in figure 19, another kind of program recovery device block diagram of Figure 19 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 16 embodiments, described device also includes the embodiment:
3rd sending module 530, is configured as detecting the second smart machine and logs in and bind first intelligence in advance
After the account of equipment, transmission reports notification message to second smart machine, so that second smart machine is based on described
Report notification message to report according to predetermined period list of application is enlivened to the server;
Second pushing module 540, is configured to push the work to first smart machine according to the predetermined period
Jump list of application, so that first smart machine enlivens list of application according to described, adjusts in the recovery priority list
The priority orders of application program;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and
Including the list of the program identification of destination application, the destination application was once installed on first smart machine
Application program in application program on second smart machine in active state.
As shown in figure 20, another kind of program recovery device block diagram of Figure 20 disclosure according to an exemplary embodiment,
On the basis of aforementioned Figure 19 embodiments, described device also includes the embodiment:
3rd receiver module 550, is configured to receive that first smart machine reported after the completion of program recovery is complete
Into announcement information;
4th sending module 560, is configured to based on the completion notice message, sends stopping and reports notification message to institute
The second smart machine is stated, so that second smart machine reports notification message, stopping to report described active based on the stopping
List of application.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.Device embodiment described above is only schematic, wherein illustrating as separating component
Unit can be or may not be physically separate, as the part that unit shows can be or may not be
Physical location, you can local to be located at one, or can also be distributed on multiple NEs.Can be according to the actual needs
Select some or all of module therein to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound
In the case that the property made is worked, you can to understand and implement.
Accordingly, the disclosure also provides a kind of program recovery device, for the first smart machine, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
After triggering carries out program recovery, the recovery priority list that the reception server is pushed;
According to the priority orders for recovering application program on priority list, program recovery is carried out successively;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is being entered
Priority orders when line program recovers.
Figure 21 is a kind of structural representation of the program recovery device according to an exemplary embodiment.Such as Figure 21 institutes
Show, a kind of program recovery device 2100 according to an exemplary embodiment, the device 2100 can be computer, mobile electricity
Words, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, individual digital are helped
The terminals such as reason.
With reference to Figure 21, device 2100 can include following one or more assemblies:Process assembly 2101, memory 2102,
Power supply module 2103, multimedia groupware 2104, audio-frequency assembly 2105, the interface 2106 of input/output (I/O), sensor cluster
2107, and communication component 2108.
The integrated operation of 2101 usual control device 2100 of process assembly, such as with display, call, data communication,
The associated operation of camera operation and record operation.Process assembly 2101 can include one or more processors 2109 to perform
Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 2101 can include one or more moulds
Block, the interaction being easy between process assembly 2101 and other components.For example, process assembly 2101 can include multi-media module,
To facilitate the interaction between multimedia groupware 2104 and process assembly 2101.
Memory 2102 is configured to store various types of data to support the operation in device 2100.These data
Example includes the instruction of any application program or method for operating on device 2100, contact data, telephone book data,
Message, picture, video etc..Memory 2102 can by any kind of volatibility or non-volatile memory device or they
Combination realizes, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 2103 provides electric power for the various assemblies of device 2100.Power supply module 2103 can include power management
System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 2100.
Multimedia groupware 2104 is included in the screen of one output interface of offer between described device 2100 and user.
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes that one or more touch and passes
Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic
The border of work, but also detect the duration related to the touch or slide and pressure.In certain embodiments, it is many
Media component 2104 includes a front-facing camera and/or post-positioned pick-up head.When device 2100 is in operator scheme, mould is such as shot
When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each preposition shooting
Head and post-positioned pick-up head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 2105 is configured to output and/or input audio signal.For example, audio-frequency assembly 2105 includes a wheat
Gram wind (MIC), when device 2100 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The audio signal for being received can be further stored in memory 2102 or via communication
Component 2108 sends.In certain embodiments, audio-frequency assembly 2105 also includes a loudspeaker, for exports audio signal.
I/O interfaces 2106 are that interface, above-mentioned peripheral interface module are provided between process assembly 2101 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor cluster 2107 includes one or more sensors, and the state for various aspects are provided for device 2100 is commented
Estimate.For example, sensor cluster 2107 can detect the opening/closed mode of device 2100, such as relative positioning of component, institute
Display and keypad that component is device 2100 are stated, sensor cluster 2107 can be with detection means 2100 or device 2,100 1
The position of individual component changes, and user is presence or absence of with what device 2100 was contacted, 2100 orientation of device or acceleration/deceleration and dress
Put 2100 temperature change.Sensor cluster 2107 can include proximity transducer, be configured to do not having any physics
The presence of object nearby is detected during contact.Sensor cluster 2107 can also include optical sensor, such as CMOS or ccd image sensing
Device, for used in imaging applications.In certain embodiments, the sensor cluster 2107 can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 2108 is configured to facilitate the communication of wired or wireless way between device 2100 and miscellaneous equipment.Dress
Put 2100 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.It is exemplary at one
In embodiment, communication component 2108 receives the broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 2108 also includes near-field communication (NFC) module, to promote short distance
Communication.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 2100 can be by one or more application specific integrated circuits (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electron component realization, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
Such as include the memory 2102 of instruction, above-mentioned instruction can be performed to complete said method by the processor 2109 of device 2100.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Wherein, when the instruction in the storage medium is by the computing device so that device 2100 is able to carry out
State program recovery method.
Accordingly, the disclosure also provides a kind of program recovery device, for server, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
According to the precedence information that the first smart machine is reported, set up and recover priority list;
After it is determined that first smart machine triggering carries out program recovery, push to first smart machine described
Recover priority list, so that first smart machine recovers the described preferential of application program on priority list according to described
Level order, carries out program recovery successively;
Wherein, the priority list that recovers includes that each the application program institute once installed on first smart machine is right
The priority orders answered.
As shown in figure 22, Figure 22 is a knot of another kind of program recovery device 2200 according to an exemplary embodiment
Structure schematic diagram.For example, device 2200 may be provided in server.With reference to Figure 22, device 2200 includes process assembly 2222, its
One or more processors, and the memory resource by representated by memory 2232 are further included, can be by for storage
The instruction of the execution of reason component 2222, such as application program.The application program stored in memory 2232 can include one or
It is more than one each corresponding to one group of instruction module.Additionally, process assembly 2222 is configured to execute instruction, to perform
Said procedure restoration methods.
Device 2200 can also include that power supply module 2226 be configured to the power management of performs device 2200, one
Wired or wireless network interface 2250 is configured to for device 2200 to be connected to network, and input and output (I/O) interface
2258.Device 2200 can be operated based on the operating system for being stored in memory 2232, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein
Its embodiment.The disclosure is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim point out.
The preferred embodiment of the disclosure is the foregoing is only, not to limit the disclosure, all essences in the disclosure
Within god and principle, any modification, equivalent substitution and improvements done etc. are should be included within the scope of disclosure protection.
Claims (24)
1. a kind of program recovery method, for the first smart machine, it is characterised in that methods described includes:
After triggering carries out program recovery, the recovery priority list that the reception server is pushed;
According to the priority orders for recovering application program on priority list, program recovery is carried out successively;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is entering stroke
Priority orders when sequence is recovered.
2. method according to claim 1, it is characterised in that methods described also includes:
Send precedence information arrive the server so that the server according to the precedence information set up it is described recovery it is excellent
First level list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
3. method according to claim 1, it is characterised in that methods described also includes:
When program recovery is carried out, receive the server and list of application is enlivened by what predetermined period was pushed;
List of application is enlivened according to described, the priority for recovering application program in priority list is adjusted;
On the recovery priority list after according to adjustment, the priority orders of application program, enter line program extensive successively
It is multiple;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and including
The list of the program identification of destination application, the destination application are the applications once installed on first smart machine
Application program in program on second smart machine in active state.
4. method according to claim 3, it is characterised in that described to enliven list of application according to described, adjusts described extensive
The priority of application program in multiple priority list, including:
The priority for recovering the destination application in priority list is adjusted to into target priority, the target
Priority is higher than the priority for recovering other application programs in priority list.
5. method according to claim 4, it is characterised in that described by the target recovered in priority list
After the priority of application program is adjusted to target priority, methods described also includes:
In the recovery priority list, order of the destination application according to access times from high to low is arranged
Row;Or
In the recovery priority list, to the destination application according to excellent indicated by the pre-set priority information
First level order is arranged.
6. method according to claim 3, it is characterised in that methods described also includes:
After program recovery is completed, notification message is sent completely to the server, so that the server is based on described complete
Into announcement information, notify that the second smart machine stops reporting described enlivening list of application.
7. a kind of program recovery method, for server, it is characterised in that methods described includes:
According to the precedence information that the first smart machine is reported, set up and recover priority list;
After it is determined that first smart machine triggering carries out program recovery, the recovery is pushed to first smart machine
Priority list, so that first smart machine is suitable according to the priority for recovering application program on priority list
Sequence, carries out program recovery successively;
Wherein, the priority list that recovers is included corresponding to each application program for once installing on first smart machine
Priority orders.
8. method according to claim 7, it is characterised in that the precedence information includes the access times of application program
When, the precedence information reported according to the first smart machine is set up and recovers priority list, including:
The recovery priority list is set up based on the access times, application program is described in the recovery priority list
Access times are directly proportional to priority.
9. method according to claim 7, it is characterised in that when the precedence information includes pre-set priority information,
The precedence information reported according to the first smart machine, sets up and recovers priority list, including:
Priority according to indicated by the pre-set priority information, sets up the recovery priority list.
10. method according to claim 7, it is characterised in that described to push the recovery to first smart machine
After priority list, methods described also includes:
When detect the second smart machine log in bind the account of first smart machine in advance after, transmission report notification message
To second smart machine, so that second smart machine reports notification message to report work according to predetermined period based on described
Jump list of application is to the server;
List of application is enlivened to first smart machine push is described according to the predetermined period, so that first intelligence sets
It is standby to enliven list of application according to described, adjust the priority orders for recovering application program in priority list;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and including
The list of the program identification of destination application, the destination application are the applications once installed on first smart machine
Application program in program on second smart machine in active state.
11. methods according to claim 10, it is characterised in that methods described also includes:
Receive the completion notice information that first smart machine is reported after the completion of program recovery;
Based on the completion notice message, send stopping and notification message is reported to second smart machine, so that described second
Smart machine reports notification message based on the stopping, and stopping is reported and described enlivens list of application.
12. a kind of program recovery devices, for the first smart machine, it is characterised in that described device includes:
First receiver module, is configured to after triggering carries out program recovery, the recovery priority row that the reception server is pushed
Table;
Program recovery module, is configured to, according to the priority orders for recovering application program on priority list, enter successively
Line program recovers;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is entering stroke
Priority orders when sequence is recovered.
13. devices according to claim 12, it is characterised in that described device also includes:
First sending module, is configured to send precedence information to the server, so that the server is according to described excellent
First level information sets up the recovery priority list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
14. devices according to claim 12, it is characterised in that described device also includes:
Second receiver module, is configured to, when program recovery is carried out, receive the server by enlivening that predetermined period is pushed
List of application;
Adjusting module, is configured to enliven list of application according to described, application program in the adjustment recovery priority list
Priority;
Described program recovery module be configured to according to adjustment after the recovery priority list on application program it is described excellent
First level order, carries out program recovery successively;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and including
The list of the program identification of destination application, the destination application are the applications once installed on first smart machine
Application program in program on second smart machine in active state.
15. devices according to claim 14, it is characterised in that the adjusting module includes:
Adjustment submodule, is configured to be adjusted to the priority for recovering the destination application in priority list
Target priority, the target priority is higher than the priority for recovering other application programs in priority list.
16. devices according to claim 15, it is characterised in that described device also includes:
First order module, is configured in the recovery priority list, secondary according to using to the destination application
Number order from high to low is arranged;
Second order module, is configured in the recovery priority list, to the destination application according to described pre-
Priority orders indicated by setting priority information are arranged.
17. device according to claim 14, it is characterised in that described device also includes:
Second sending module, is configured to after program recovery is completed, and is sent completely notification message to the server, so that
The server is based on the completion notice information, notifies that the second smart machine stops reporting described enlivening list of application.
18. a kind of program recovery devices, for server, it is characterised in that described device includes:
Module is set up, the precedence information reported according to the first smart machine is configured to, is set up and is recovered priority list;
First pushing module, is configured to after it is determined that first smart machine triggering carries out program recovery, to described the
One smart machine pushes the recovery priority list, so that first smart machine is according on the recovery priority list
The priority orders of application program, carry out program recovery successively;
Wherein, the priority list that recovers is included corresponding to each application program for once installing on first smart machine
Priority orders.
19. devices according to claim 18, it is characterised in that the precedence information includes the use time of application program
Number, the module of setting up include:
First setting up submodule, is configured to set up the recovery priority list based on the access times, and the recovery is excellent
In first level list, the access times of application program are directly proportional to priority.
20. devices according to claim 18, it is characterised in that the precedence information includes pre-set priority information,
The module of setting up includes:
Second setting up submodule, the priority being configured to according to indicated by the pre-set priority information, sets up the recovery
Priority list.
21. devices according to claim 18, it is characterised in that described device also includes:
3rd sending module, is configured as detecting the account that first smart machine is bound in the login of the second smart machine in advance
Behind family, transmission reports notification message to second smart machine, so that second smart machine reports notice based on described
Message is reported according to predetermined period enlivens list of application to the server;
Second pushing module, is configured to push the active application row to first smart machine according to the predetermined period
Table, so that first smart machine enlivens list of application according to described, adjusts application program in the recovery priority list
Priority orders;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and including
The list of the program identification of destination application, the destination application are the applications once installed on first smart machine
Application program in program on second smart machine in active state.
22. devices according to claim 21, it is characterised in that described device also includes:
3rd receiver module, is configured to receive the completion notice letter that first smart machine is reported after the completion of program recovery
Breath;
4th sending module, is configured to based on the completion notice message, sends stopping and reports notification message to described second
Smart machine, so that second smart machine reports notification message, stopping to report the active application row based on the stopping
Table.
23. a kind of program recovery devices, for the first smart machine, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
After triggering carries out program recovery, the recovery priority list that the reception server is pushed;
According to the priority orders for recovering application program on priority list, program recovery is carried out successively;
Wherein, the recovery priority list includes that each application program once installed on first smart machine is entering stroke
Priority orders when sequence is recovered.
24. a kind of program recovery devices, for server, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
According to the precedence information that the first smart machine is reported, set up and recover priority list;
After it is determined that first smart machine triggering carries out program recovery, the recovery is pushed to first smart machine
Priority list, so that first smart machine is suitable according to the priority for recovering application program on priority list
Sequence, carries out program recovery successively;
Wherein, the priority list that recovers is included corresponding to each application program for once installing on first smart machine
Priority orders.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885150.4A CN106528283B (en) | 2016-10-10 | 2016-10-10 | Program recovery method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885150.4A CN106528283B (en) | 2016-10-10 | 2016-10-10 | Program recovery method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528283A true CN106528283A (en) | 2017-03-22 |
CN106528283B CN106528283B (en) | 2019-08-02 |
Family
ID=58331591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610885150.4A Active CN106528283B (en) | 2016-10-10 | 2016-10-10 | Program recovery method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528283B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113687980A (en) * | 2020-05-19 | 2021-11-23 | 北京京东乾石科技有限公司 | Abnormal data self-recovery method, system, electronic equipment and readable storage medium |
CN116909816A (en) * | 2023-09-13 | 2023-10-20 | 腾讯科技(深圳)有限公司 | Database recovery method and device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130145204A1 (en) * | 2011-12-06 | 2013-06-06 | Bio-Rad Laboratories | Supervising and recovering software components associated with medical diagnostics instruments |
CN103324549A (en) * | 2012-03-21 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method for realizing sleep standby and communication terminal |
CN105630628A (en) * | 2015-12-17 | 2016-06-01 | 小米科技有限责任公司 | Application restoration method and apparatus |
CN105653434A (en) * | 2015-12-25 | 2016-06-08 | 小米科技有限责任公司 | Method and apparatus for performing tracking processing on use of application |
-
2016
- 2016-10-10 CN CN201610885150.4A patent/CN106528283B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130145204A1 (en) * | 2011-12-06 | 2013-06-06 | Bio-Rad Laboratories | Supervising and recovering software components associated with medical diagnostics instruments |
CN103324549A (en) * | 2012-03-21 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method for realizing sleep standby and communication terminal |
CN105630628A (en) * | 2015-12-17 | 2016-06-01 | 小米科技有限责任公司 | Application restoration method and apparatus |
CN105653434A (en) * | 2015-12-25 | 2016-06-08 | 小米科技有限责任公司 | Method and apparatus for performing tracking processing on use of application |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113687980A (en) * | 2020-05-19 | 2021-11-23 | 北京京东乾石科技有限公司 | Abnormal data self-recovery method, system, electronic equipment and readable storage medium |
CN113687980B (en) * | 2020-05-19 | 2024-03-01 | 北京京东乾石科技有限公司 | Abnormal data self-recovery method, system, electronic device and readable storage medium |
CN116909816A (en) * | 2023-09-13 | 2023-10-20 | 腾讯科技(深圳)有限公司 | Database recovery method and device, storage medium and electronic equipment |
CN116909816B (en) * | 2023-09-13 | 2024-01-09 | 腾讯科技(深圳)有限公司 | Database recovery method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106528283B (en) | 2019-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104239094B (en) | Control method, device and the terminal device of background application | |
CN106970769A (en) | Multi-screen display method and device | |
CN105159672B (en) | Remote assistance method and client | |
CN106970754A (en) | The method and device of screenshotss processing | |
CN106792640A (en) | The communication means of virtual SIM card, mobile terminal and server | |
CN106488335A (en) | Live-broadcast control method and device | |
CN108334352A (en) | Notification message processing method, device, electronic equipment and storage medium | |
CN106201310A (en) | The display packing of notification message, device and terminal | |
CN105224174B (en) | The display methods and device of Paste | |
CN107204883A (en) | Network failure processing method and device | |
CN106101456A (en) | A kind of method and device of call contact | |
CN107071862A (en) | Account binding method and device and smart machine | |
CN105554255A (en) | Operation control method and device for terminal equipment | |
CN106648730A (en) | Processing method and device of abnormal application | |
CN106792892A (en) | The access control method and device of application program | |
CN106462835A (en) | Calendar event creation method and device | |
CN106657647A (en) | Incoming call processing method and device and mobile terminal | |
CN106790018A (en) | Resource-sharing player method and device | |
CN106528283A (en) | Program recovery method and device | |
CN106406659A (en) | Double-open application establishing method and device | |
CN106650569B (en) | Fingerprint input method and device | |
CN106357504A (en) | User list cleaning method and device thereof | |
CN106792880A (en) | The transmission method and device of down link data | |
JP2021531519A (en) | Touch signal processing methods, devices and media | |
CN106412481A (en) | Prompt method and device, and terminals based on VoLTE video call |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |