CN106528283B - Program recovery method and device - Google Patents

Program recovery method and device Download PDF

Info

Publication number
CN106528283B
CN106528283B CN201610885150.4A CN201610885150A CN106528283B CN 106528283 B CN106528283 B CN 106528283B CN 201610885150 A CN201610885150 A CN 201610885150A CN 106528283 B CN106528283 B CN 106528283B
Authority
CN
China
Prior art keywords
priority
smart machine
recovery
list
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610885150.4A
Other languages
Chinese (zh)
Other versions
CN106528283A (en
Inventor
孟亚楠
刘铁俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd, Beijing Smartmi Technology Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610885150.4A priority Critical patent/CN106528283B/en
Publication of CN106528283A publication Critical patent/CN106528283A/en
Application granted granted Critical
Publication of CN106528283B publication Critical patent/CN106528283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling 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)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Present disclose provides program recovery method and devices, wherein the described method includes: receiving the recovery priority list of server push after triggering carries out program recovery;According to the priority orders of application program on the recovery priority list, program recovery is successively carried out;Wherein, the priority list that restores includes the priority orders of each application program for once installing on first smart machine when carrying out program recovery.In the disclosure, the first smart machine can be preferential to restore the common application program of user or the high application program of user preset priority when carrying out program recovery, improves the intelligence degree of smart machine, the user experience is improved.

Description

Program recovery method and device
Technical field
This disclosure relates to the communications field more particularly to program recovery method and device.
Background technique
In the related technology, it when application program of the smart machine in recovery system, is usually carried out according to default sequence.
But when restoring application program according to default sequence, being unable to ensure user currently needs application program to be used can To be preferentially resumed, so that the intelligence degree of smart machine be caused to be unable to satisfy user demand, poor user experience.
Summary of the invention
In view of this, present disclose provides program recovery method and device, to solve deficiency in the related technology.
According to the first aspect of the embodiments of the present disclosure, a kind of program recovery method is provided, the first smart machine is used for, it is described Method includes:
After triggering carries out program recovery, the recovery priority list of server push is received;
According to the priority orders of application program on the recovery priority list, program recovery is successively carried out;
Wherein, it is described restore priority list include each application program for once being installed on first smart machine into Priority orders when line program restores.
Optionally, the method also includes:
Precedence information is sent to the server so that the server established according to the precedence information it is described extensive Multiple priority list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
Optionally, the method also includes:
When carrying out program recovery, the server is received by what predetermined period pushed and enlivens list of application;
List of application is enlivened according to described, adjusts the priority for restoring application program in priority list;
According to the priority orders for restoring application program on priority list adjusted, program is successively carried out Restore;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and The list of program identification including destination application, the destination application were once installed on first smart machine The application program of active state is in application program on second smart machine.
Optionally, described to enliven list of application according to described, application program is excellent in the adjustment recovery priority list First grade, comprising:
The priority of the destination application in the recovery priority list is adjusted to target priority, it is described Target priority is higher than the priority of other applications in the recovery priority list.
Optionally, the priority by the destination application in the recovery priority list is adjusted to target After priority, the method also includes:
In the recovery priority list, to the destination application according to access times sequence from high to low into Row arrangement;Or
In the recovery priority list, to the destination application according to indicated by the pre-set priority information Priority orders arranged.
Optionally, the method also includes:
After program recovery completion, notification message is sent completely to the server, so that the server is based on institute Completion notice information is stated, notifies the stopping of the second smart machine reports described to enliven list of application.
According to the second aspect of an embodiment of the present disclosure, a kind of program recovery method is provided, server, the method packet are used for It includes:
According to the precedence information that the first smart machine reports, establishes and restore priority list;
After determining that the first smart machine triggering carries out program recovery, described in the push of the first smart machine of Xiang Suoshu Restore priority list so that first smart machine according on the recovery priority list application program it is described preferential Grade sequence, successively carries out program recovery;
Wherein, it is described restore priority list include once installed on first smart machine each application program institute it is right The priority orders answered.
Optionally, it is described according on the first smart machine when the precedence information includes the access times of application program The precedence information of report is established and restores priority list, comprising:
The recovery priority list is established based on the access times, it is described to restore application program in priority list The access times are directly proportional to priority.
Optionally, it is described to be reported according to the first smart machine when the precedence information includes pre-set priority information Precedence information is established and restores priority list, comprising:
According to priority indicated by the pre-set priority information, the recovery priority list is established.
Optionally, after the recovery priority list to first smart machine push, the method is also wrapped It includes:
After detecting that the account of first smart machine is bound in the login of the second smart machine in advance, transmission reports 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 restoring 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 The list of program identification including destination application, the destination application were once installed on first smart machine The application program of active state is in application program on second smart machine.
Optionally, the method also includes:
Receive the completion notice information that first smart machine reports after the completion of program recovery;
Based on the completion notice message, sends and stop reporting notification message to second smart machine, so that described Second smart machine is based on the stopping and reports notification message, and stopping, which reports, described enlivens list of application.
According to the third aspect of an embodiment of the present disclosure, a kind of program recovery device is provided, the first smart machine is used for, it is described Device includes:
First receiving module is configured as after triggering carries out program recovery, and the recovery for receiving server push is preferential Grade list;
Program recovery module is configured as the priority orders according to application program on the recovery priority list, according to Secondary carry out program recovery;
Wherein, it is described restore priority list include each application program for once being installed on first smart machine into Priority orders when line program restores.
Optionally, described device further include:
First sending module is configured as sending precedence information to the server, so that the server is according to institute It states precedence information and establishes the recovery priority list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
Optionally, described device further include:
Second receiving module is configured as receiving what the server was pushed by predetermined period when carrying out program recovery Enliven list of application;
Module is adjusted, is configured as enlivening list of application according to described, adjusts and apply journey in the recovery priority list The priority of sequence;
Described program recovery module is configured as according to the institute for restoring application program on priority list adjusted Priority orders are stated, program recovery is successively carried out;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and The list of program identification including destination application, the destination application were once installed on first smart machine The application program of active state is in application program on second smart machine.
Optionally, the adjustment module includes:
Adjusting submodule is configured as the priority tune of the destination application in the recovery priority list Whole is target priority, and the target priority is higher than the priority of other applications in the recovery priority list.
Optionally, described device further include:
First order module is configured as in the recovery priority list, to the destination application according to making It is arranged with the sequence of number from high to low;
Second order module is configured as in the recovery priority list, to the destination application according to institute Priority orders indicated by pre-set priority information are stated to be arranged.
Optionally, described device further include:
Second sending module is configured as 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 the stopping of the second smart machine reports described to enliven list of application.
According to a fourth aspect of embodiments of the present disclosure, a kind of program recovery device is provided, server, described device packet are used for It includes:
Module is established, the precedence information reported according to the first smart machine is configured as, establishes and restores priority list;
First pushing module is configured as after determining that the first smart machine triggering carries out program recovery, to institute It states the first smart machine and pushes the recovery priority list, so that first smart machine is arranged according to the recovery priority The priority orders of application program, successively carry out program recovery on table;
Wherein, it is described restore priority list include once installed on first smart machine each application program institute it is right The priority orders answered.
Optionally, the precedence information includes the access times of application program, and the module of establishing includes:
First setting up submodule is configured as establishing the recovery priority list based on the access times, described extensive The access times of application program are directly proportional to priority in multiple priority list.
Optionally, the precedence information includes pre-set priority information, and the module of establishing includes:
Second setting up submodule, is configured as the priority according to indicated by the pre-set priority information, described in foundation Restore priority list.
Optionally, described device further include:
Third sending module is configured as to detect that first smart machine is bound in the login of the second smart machine in advance Account after, transmission reports notification message to second smart machine so that second smart machine be based on described in report Notification message is reported according to predetermined period enlivens list of application to the server;
Second pushing module is configured as actively answering according to the predetermined period to first smart machine push is described It is adjusted and is applied in the recovery priority list so that first smart machine is enlivened list of application according to described with 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 The list of program identification including destination application, the destination application were once installed on first smart machine The application program of active state is in application program on second smart machine.
Optionally, described device further include:
It is logical to be configured as receiving the completion that first smart machine reports after the completion of program recovery for third receiving module Know information;
4th sending module is configured as being sent based on the completion notice message and being stopped reporting notification message described in Second smart machine, so that second smart machine is based on the stopping and reports notification message, stopping, which reports, described is actively answered Use list.
According to a fifth aspect of the embodiments of the present disclosure, a kind of program recovery device is provided, the first smart machine, packet are used for It includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
After triggering carries out program recovery, the recovery priority list of server push is received;
According to the priority orders of application program on the recovery priority list, program recovery is successively carried out;
Wherein, it is described restore priority list include each application program for once being installed on first smart machine into Priority orders when line program restores.
According to a sixth aspect of an embodiment of the present disclosure, a kind of program recovery device is provided, server is used for, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
According to the precedence information that the first smart machine reports, establishes and restore priority list;
After determining that the first smart machine triggering carries out program recovery, described in the push of the first smart machine of Xiang Suoshu Restore priority list so that first smart machine according on the recovery priority list application program it is described preferential Grade sequence, successively carries out program recovery;
Wherein, it is described restore priority list include once installed on first smart machine each application program institute it is right The priority orders answered.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, the first smart machine can be based on server push after triggering carries out program recovery Restore priority list on application program priority orders, successively carry out program recovery.Wherein, the recovery priority column Table is access times or the pre-set priority information for the application program that server is reported based on the first smart machine to determine.Cause This, by the above process, the first smart machine can when carrying out program recovery, it is preferential restore the common application program of user or The high application program of user preset priority, improves the intelligence degree of smart machine, the user experience is improved.
In the embodiment of the present disclosure, optionally, when the first smart machine carries out program recovery, server can also be according to pre- If period push enlivens list of application.Wherein, the list of application that enlivens is that the second smart machine is currently made based on user What the case where application program, determined.First smart machine can based on it is described enliven list of application adjust in time it is extensive The priority of application program in multiple priority list, so that further the preferential user's needs that restore make when carrying out program recovery Application program, the user experience is improved.
In the embodiment of the present disclosure, optionally, according to list of application is enlivened, adjustment and recovery priority arranges the first smart machine In table when the priority of application program, the priority of the destination application in the recovery priority list can be adjusted to Target priority, wherein the destination application is in the application program once installed on first smart machine described The application program of active state is on two smart machines, the target priority is higher than other in the recovery priority list The priority of application program.The priority of the destination application is adjusted to highest by i.e. described first smart machine.To Preferential recovery user needs the destination application to be used, and the user experience is improved.
In the embodiment of the present disclosure, the priority of the destination application is adjusted to highest in restoring priority list It later, can also be by multiple destination applications according to access times sequence from high to low or pre-set priority information institute The priority orders of instruction are arranged, and may insure to belong to user in this way needs to be used and belong to user and commonly apply journey Sequence can be preferentially resumed, and while improving the intelligence degree of smart machine, the user experience is improved.
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 in turn according to the completion notice message and stop reporting notification message to second smart machine. Second smart machine no longer reports the list of application that enlivens described in after receiving the stopping and reporting notification message Server.On the basis of ensuring preferentially to restore user needs application program to be used, avoid the second smart machine in the first intelligence After the completion of the program recovery of energy equipment, described the problem of enlivening the wasting of resources caused by list of application is still constantly reported.
In the embodiment of the present disclosure, server, can be with when establishing recovery priority list corresponding with each smart machine The access times for each application program once installed on the smart machine are established based on user, or are also based on user Priority indicated by pre-set priority information to each application program is established.Realize easy, availability height.
In the embodiment of the present disclosure, server can log in the first smart machine of binding in advance detecting the second smart machine After account, transmission reports notification message to second smart machine.Second smart machine can report logical based on described in Know message, is reported according to predetermined period and enliven list of application to the server.Further, the server is according to described pre- If the period to first smart machine push it is described enliven list of application so that the first smart machine can be based on it is described active Priority in the timely adjustment and recovery priority list of list of application, to preferentially restore user when carrying out program recovery On the basis of common application program, further preferential recovery user needs application program to be used.The user experience is improved.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of disclosure program recovery method flow diagram shown according to an exemplary embodiment;
Fig. 2 is the disclosure another program recovery method flow diagram shown according to an exemplary embodiment;
Fig. 3 is a kind of disclosure program recovery schematic diagram of a scenario shown according to an exemplary embodiment;
Fig. 4 is the disclosure another program recovery method flow diagram shown according to an exemplary embodiment;
Fig. 5 is the disclosure another program recovery method flow diagram shown according to an exemplary embodiment;
Fig. 6 is the disclosure another program recovery method flow diagram shown according to an exemplary embodiment;
Fig. 7 is the disclosure another program recovery method flow diagram shown according to an exemplary embodiment;
Fig. 8 is the disclosure another program recovery method flow diagram shown according to an exemplary embodiment;
Fig. 9 A is the disclosure another program recovery schematic diagram of a scenario shown according to an exemplary embodiment;
Fig. 9 B is the disclosure another program recovery method flow diagram shown according to an exemplary embodiment;
Figure 10 is a kind of disclosure program recovery device block diagram shown according to an exemplary embodiment;
Figure 11 is the disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 12 is the disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 13 is the disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 14 is the disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 15 is the disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 16 disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 17 disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 18 disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 19 disclosure another program recovery device block diagram shown according to an exemplary embodiment;
Figure 20 disclosure another program recovery device block diagram shown according to an exemplary embodiment;
A kind of Figure 21 disclosure structural schematic diagram for program recovery device shown according to an exemplary embodiment;
Figure 22 discloses another structural schematic diagram for being used for program recovery device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term of disclosure operation. The "an" of the singular run in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that the term "and/or" run herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
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 used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, 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 context, as run at this word " if " can be construed to " and ... when " or " when ... When " or " in response to determination ".
The program recovery method that the embodiment of the present disclosure provides can be used for the first smart machine, for example, smart phone, plate 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, comprising the following steps:
In a step 101, after triggering carries out program recovery, the recovery priority list of server push is received.
In this step, first smart machine can trigger according to the relevant technologies and carry out program recovery.For example, described One smart machine detects that the default virtual key for carrying out recovery routine is triggered.At this point, 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 Priority orders of each application program once installed on smart machine when carrying out program recovery, such as shown in table 1.
Table 1
Application program Restore priority
App1 Priority 1
App2 Priority 2
App3 Priority 3
App4 Priority 3
…… ……
In a step 102, according to the priority orders of application program on the recovery priority list, program is successively carried out Restore.
In this step, first smart machine, can be according to the recovery priority list when carrying out program recovery The corresponding priority orders of upper different application, successively carry out program recovery according to the relevant technologies.For example, excellent in table 1 First grade 3 be highest, priority 1 be it is minimum, then first smart machine is when carrying out program recovery, according to the priority of table 1 Sequentially, first restore App3 and App4, then restore App2, finally restore App1.
By the above process, the first smart machine can be after triggering carries out program recovery, based on server push The priority orders for restoring application program on priority list, successively carry out program recovery.Wherein, the recovery priority list It is access times or the pre-set priority information for the application program that server is reported based on the first smart machine to determine.Cause This, by the above process, the first smart machine can when carrying out program recovery, it is preferential restore the common application program of user or The high application program of user preset priority, improves the intelligence degree of smart machine, the user experience is improved.
In the embodiment of the present disclosure, the recovery priority list is established for the ease of server, optionally, above procedure is extensive Compound method is also wrapped as shown in Fig. 2, Fig. 2 is another program recovery method shown 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 establishes the recovery priority list.
Optionally, the precedence information may include the access times of application program.The first smart machine record The access times of each application program, and according to the relevant technologies periodicity sending to the server.The server is according to institute When stating access times and establishing 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 carrying out program recovery, it is preferential to restore the common application program of user, to promote user experience.
Or the precedence information may include pre-set priority information.User can set in 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 setting, then the priority of the application program is default priority, such as lowest priority.
After first smart machine obtains the pre-set priority information, it is sent to the server, so that the clothes Business device establishes the recovery priority list according to the pre-set priority information.In this way, when carrying out program recovery, described One smart machine can preferentially restore the high application program of priority of user setting, to promote user experience.
In the embodiment of the present disclosure, first smart machine restores to need when carrying out program recovery in order to further preferential Application program to be used, optionally, above procedure restoration methods are as shown in figure 4, Fig. 4 is in aforementioned embodiment illustrated in fig. 1 On the basis of another program recovery method that shows, it is further comprising the steps of:
In step 103, it when carrying out program recovery, receives the server and is arranged by the active application that predetermined period pushes 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 The list of program identification including destination application, the destination application were once installed on first smart machine The application program of active state is in application program on second smart machine.
In the embodiment of the present disclosure, the server can log in described in binding in advance detecting second smart machine After the account of first smart machine, transmission reports notification message to second smart machine.Second smart machine can base Notification message is reported in described, detects whether the destination application in active state.I.e. whether detection user is described Certain application program is used on second smart machine, if having used certain application program, which 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, It is pushed also according to the predetermined period to first smart machine.
At step 104, list of application is enlivened according to described, application program is excellent in the adjustment recovery priority list First grade.
In this step, described in first smart machine can be pushed during program recovery based on the server List of application is enlivened, the priority of application program in the recovery priority list is adjusted.It is alternatively possible to according to institute The program identification enlivened in list of application is stated, by the priority tune of the destination application in the recovery priority list Whole is target priority, and the target priority is higher than the priority of other applications in the recovery priority list.
For example, described enliven that first smart machine receives includes App1 and App3 in list of application, then it is 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 Restore priority
App1 Priority 4
App2 Priority 2
App3 Priority 4
App4 Priority 3
…… ……
Certainly, it completes or is carrying out if the destination application restored in priority list is recovered Restore, does not then need to be adjusted priority.For example, App3 recovered completion in table 1, then it can be only by the preferential of App1 Grade is adjusted to priority 4, such as shown in table 3.
Table 3
Application program Restore priority
App1 Priority 4
App2 Priority 2
App3 Priority 3
App4 Priority 3
…… ……
In step 105, according to it is adjusted it is described restore priority list on application program the priority orders, Successively carry out program recovery.
In this step, first smart machine can be according to the relevant technologies, according to the recovery priority adjusted The corresponding priority orders of different application, successively carry out program recovery in list.Such as the recovery adjusted Priority is as shown in table 3, wherein App3 recovered completion, then first smart machine first restores App1, then restores App4, Finally restore App2.
In above-described embodiment, optionally, first smart machine can be by the recovery priority list according to preferential Grade sequence is arranged, and the application program of recovered completion is arranged in the least significant end for restoring priority list, such as table 4 It is shown.In this way, first smart machine no longer requires to look up the priority of each application program, but program can carried out When recovery, sequence directly according to table 4 from top to bottom successively carries out program recovery.
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 for including in list of application, the destination application to be added It is added to the top for restoring priority list.And the target priority is set by the priority of the destination application Grade, such as shown in table 4.Or can add default mark come the priority for indicating the application program is highest, such as 5 institute of table Show, it is default to be identified as △.
Table 5
Application program Restore priority
App1
App4 Priority 3
App2 Priority 2
…… ……
The application program completed is restored
App3 Priority 3
…… ……
In the embodiment of the present disclosure, if the number of the destination application is multiple, when carrying out program recovery, There is still a need for further preferentially restore the application that user in the destination application is common or the priority of user setting is high Program.
Optionally, in the recovery priority list, to the destination application according to access times from high to low Sequence arranged.
For example, described enliven includes App1, App3, App5 and App6, App3 recovered completion, then institute in list of application It states the first smart machine to need the priority of App1, App5 and App6 being adjusted to the target priority, be placed on described Restore the top of priority list.Assuming that it is the access times of 2, App6 that the access times of App1, which are the access times of 3, App5, It is 4, then the recovery priority list adjusted is as shown in table 6.
Table 6
Application program Restore priority
App6
App1
App5
App4 Priority 3
App2 Priority 2
…… ……
The application program completed is restored
App3 Priority 3
…… ……
It optionally,, can also be to the destination application in the recovery priority list in the embodiment of the present disclosure It is arranged according to priority orders indicated by pre-set priority information.
For example, described enliven includes App1, App3, App5 and App6, App3 recovered completion, then institute in list of application It states the first smart machine to need the priority of App1, App5 and App6 being adjusted to the target priority, be placed on described Restore the front end of priority list.But, it is assumed that pre-set priority information indicates that the priority of App1 is the preferential of 1, App5 The priority that grade is 2, App6 is 3, then the recovery priority list adjusted is as shown in table 7.
Table 7
In above-described embodiment, restore priority list in by the priority of the destination application be adjusted to highest it It afterwards, can also be signified according to access times sequence from high to low or pre-set priority information by multiple destination applications The priority orders shown are arranged, and may insure that belonging to user needs to be used and belong to the common application program of user in this way It can preferentially be resumed, while improving the intelligence degree of smart machine, the user experience is improved.
In the embodiment of the present disclosure, after first smart machine completes program recovery, optionally, above procedure restoration methods As shown in figure 5, Fig. 5 is another program recovery method shown on the basis of aforementioned embodiment illustrated in fig. 1, it further include following Step:
In step 106, after program recovery completion, notification message is sent completely to the server, so that described Server is based on the completion notice information, notifies the stopping of the second smart machine reports described to enliven list of application.
In this step, whether first smart machine can detect all application programs according to the relevant technologies extensive It is multiple to complete, if restoring to complete, the completion notice message is sent to the server.The server receive it is described After completion notice message, notify second smart machine stopping reports described to enliven list of application.
In above-described embodiment, on the basis of ensuring preferentially to restore user needs application program to be used, the second intelligence is avoided Can equipment after the completion of the program recovery of the first smart machine, still constantly report and described enliven the wasting of resources caused by list of application The problem of.
The program recovery method that the embodiment of the present disclosure provides can be also used for server.As shown in fig. 6, Fig. 6 is according to one Another program recovery method shown in exemplary embodiment, comprising the following steps:
In step 201, the precedence information reported according to the first smart machine is established and restores priority list.
It is alternatively possible to which any one in the following ways establishes the recovery priority list.
First way establishes the recovery priority list according to the access times of application program.
In such mode, first smart machine can report the access times for each application program once installed automatically, The server is received according to the relevant technologies.Further, the server is established described according to the access times Restore priority list, wherein the access times of application program are directly proportional to priority.
For example, the access times of App1 are lower than the access times of App2, then restore App1 in priority list described Priority should be lower than the priority of App2.
In this way, priority orders of subsequent first smart machine according to application program in the recovery priority list When carrying out program recovery, so that it may it is preferential to restore the common application program of user, promote user experience.
The second way establishes the recovery priority list according to pre-set priority information.
In such mode, user is in advance to the preferential grading of each application program once installed on first smart machine Setting is gone, the server, which directly receives the pre-set priority that first smart machine reports according to the relevant technologies, to be believed Breath.Further, the server directly priority according to indicated by the pre-set priority information, it is described to establish Restore priority list.
For example, the priority that the priority of pre-set priority information instruction App1 is 1, App2 is 2, then the server exists Priority 1, the corresponding priority setting of App2 are set by the corresponding priority of the App1 in the recovery priority list For priority 2.
In step 202, after determining that the first smart machine triggering carries out program recovery, the first intelligence of Xiang Suoshu Equipment pushes the recovery priority list so that first smart machine according on the recoverys priority list using journey The priority orders of sequence, successively carry out program recovery.
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, restores excellent for described First grade list is pushed to first smart machine.First smart machine after the receipt can be automatically according to the recovery The corresponding priority orders, successively carry out program recovery on priority list.
In above-described embodiment, server, can be with base when establishing recovery priority list corresponding with each smart machine The access times for each application program once installed on the smart machine are established in user, or are also based on user couple Priority indicated by the pre-set priority information of each application program is established.Realize easy, availability height.And ensure described First smart machine can be preferential to restore the common application program of user when carrying out program recovery, improves smart machine Intelligence degree, the user experience is improved.
In order to allow first smart machine when carrying out program recovery, further preferential recovery user needs to be used answer With program, above procedure restoration methods are as shown in fig. 7, Fig. 7 is the another kind shown on the basis of aforementioned embodiment illustrated in fig. 6 Program recovery method, further comprising the steps of after completing step 202:
In step 203, after detecting that the account of first smart machine is bound in the login of the second smart machine in advance, Transmission reports notification message to second smart machine so that second smart machine be based on it is described report notification message by It is reported according to predetermined period and enlivens list of application to the server.
In this step, after user logs in the account by second smart machine, the second smart machine meeting Automatic send currently logs in the login notification message of the account to the server.The server is notified according to above-mentioned login The device identification of second smart machine described in message reports notification message to second smart machine described in transmission.
Second smart machine receive it is described report notification message after, detect user in second smart machine On the application program that uses, i.e., in the application program once installed on described first smart machine on second smart machine List of application is enlivened in the application program of active state, and by the write-in of the program identification of the application program that user uses is described In, it is reported to the server.Wherein, described program mark can be program name or other can identify the target application The information of program.Optionally, second smart machine reports according to predetermined period and described enlivens list of application.
For example, second smart machine receive it is described report notification message after, detect user in current period It is interior that App1 and App2 have been used by second smart machine, then second smart machine reported in current period including The list of application that enlivens of the program identification of App1 and App2 is to the server.If detecting user in next period again App1 and App4 are used, then what second smart machine reported within next period including App1 and App4 described actively answers 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 set to enliven list of application according to described, application program is preferential in the adjustment recovery priority list Grade sequence.
In this step, the server is described in receive second smart machine according to the predetermined period and report 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, adjust and apply in the recovery priority list The priority orders of program.Adjustment mode is identical as the mode of adjustment priority orders in above-described embodiment, no longer superfluous herein It states.First smart machine can be corresponding described excellent according to different application on the recovery priority list adjusted First grade sequence, successively carries out program recovery.
In above-described embodiment, server can log in the account of the first smart machine of binding in advance detecting the second smart machine 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 Period enlivens list of application to first smart machine push is described, so that the first smart machine can actively be answered based on described With the priority in the timely adjustment and recovery priority list of list, so that preferentially restoring, user is normal when carrying out program recovery On the basis of application program, further preferential recovery user needs application program to be used.The user experience is improved.
In order to avoid second smart machine is after the completion of the program recovery of the first smart machine, still constantly report described The problem of enlivening the wasting of resources caused by list of application, above procedure restoration methods are as shown in figure 8, Fig. 8 is shown in the earlier figures 7 Another program recovery method shown on the basis of embodiment, further comprising the steps of after completing step 204:
In step 205, the completion notice information that first smart machine reports after the completion of program recovery is received.
In this step, first smart machine reports the completion notice message to arrive automatically after the completion of program recovery The server.
In step 206, it is based on the completion notice message, sends and stops reporting notification message to set to second intelligence Standby, so that second smart machine is based on the stopping and reports notification message, stopping, which reports, described enlivens list of application.
In this step, the server sends the stopping and notice is reported to disappear after receiving the completion notice message It ceases second smart machine and no longer reports the active application to the server after second smart machine receives List.
In above-described embodiment, on the basis of ensuring preferentially to restore user needs application program to be used, the second intelligence is avoided Can equipment after the completion of the program recovery of the first smart machine, still constantly report and described enliven the wasting of resources caused by list of application The problem of.
Below with reference to the schematic diagram of a scenario that described program shown in Fig. 9 A is restored, described program restoration methods are further lifted Example explanation.Described program restoration methods are as shown in Figure 9 B, and Fig. 9 B is that another program shown according to an exemplary embodiment is extensive Compound method, comprising the following steps:
In step 301, the first smart machine sends precedence information to server.
Wherein, optionally, the precedence information includes the access times or pre-set priority information of application program.
In step 302, the server is established according to the precedence information restores priority list.
In this step, if the precedence information includes the access times of application program, the recovery priority column The access times of application program are directly proportional to priority in table.If the precedence information includes pre-set priority information, Server priority according to indicated by the pre-set priority information, establishes 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, after first smart machine can carry out program recovery detecting triggering, report program extensive The recovery started again starts notification message to server, and the server starts notification message, Xiang Suoshu according to above-mentioned recovery One smart machine pushes the recovery priority list.
In step 304, first smart machine is according to the priority for restoring application program on priority list Sequentially, program recovery is successively carried out.
In step 305, the server detects that first smart machine is bound in the login of the second smart machine in advance Account after, transmission report notification message to second smart machine.
Within step 306, second smart machine reports notification message to report actively according to predetermined period based on described 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 The application program of active state is in program on second smart machine.
I.e. described second smart machine periodically reports the application journey used including user by second smart machine The program identification of sequence enlivens list of application.
In step 307, the server is pushed according to the predetermined period to first smart machine described active List of application.
In step 308, first smart machine by it is described recovery priority list in the destination application Priority be adjusted to target priority.
The target priority is higher than the priority of other applications in the recovery priority list.
In this step, optionally, it is preferential that first smart machine can set highest for the destination application Default mark for indicating highest priority is arranged in grade.In the embodiment of the present disclosure, the recovery priority list can be by It is arranged according to priority orders, and the application program of recovered completion is in the lowermost end for restoring priority list.
In a step 309, first smart machine is according to application program on the recovery priority list adjusted The priority orders, successively carry out program recovery.
In this step, first smart machine adjusts the recovery priority column according to the list of application that enlivens in time The priority orders of application program on table, to successively carry out program recovery.
In the step 310, first smart machine is sent completely notification message described in after program recovery completion Server.
In step 311, the server is based on the completion notice message, sends and stops reporting notification message described in Second smart machine.
In step 312, second smart machine is based on the stopping and reports notification message, and stopping reports described active List of application.
In above-described embodiment, the first smart machine can be after triggering carries out program recovery, based on server push Restore priority list, program recovery is carried out to first smart machine.Server can also be pushed according to predetermined period and be lived Jump list of application.Thus when carrying out program recovery, it is further excellent on the basis of preferentially recovery user common application program First restoring user needs application program to be used, and the user experience is improved.
Corresponding with preceding method embodiment, the disclosure additionally provides the embodiment of device.
As shown in Figure 10, Figure 10 is a kind of disclosure program recovery device block diagram shown according to an exemplary embodiment, Described device includes:
First receiving module 410 is configured as after triggering carries out program recovery, and the recovery for receiving server push is excellent First grade list;
Program recovery module 420 is configured as the priority orders according to application program on the recovery priority list, Successively carry out program recovery;
Wherein, it is described restore priority list include each application program for once being installed on first smart machine into Priority orders when line program restores.
As shown in figure 11, Figure 11 disclosure another program recovery device block diagram shown according to an exemplary embodiment, The embodiment is on the basis of 10 embodiment of earlier figures, described device further include:
First sending module 430 is configured as sending precedence information to the server so that the server according to The precedence information establishes 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, Figure 12 disclosure another program recovery device block diagram shown according to an exemplary embodiment, The embodiment is on the basis of 10 embodiment of earlier figures, described device further include:
Second receiving module 440 is configured as receiving the server when carrying out program recovery and pushing by predetermined period Enliven list of application;
Module 450 is adjusted, is configured as enlivening list of application according to described, adjusts and applied in the recovery priority list The priority of program;
Described program recovery module 420 is configured as according to application program on the recovery priority list adjusted The priority orders successively carry out program recovery;
Wherein, it is described enliven list of application be the second smart machine according to the predetermined period be reported to the server and The list of program identification including destination application, the destination application were once installed on first smart machine The application program of active state is in application program on second smart machine.
As shown in figure 13, Figure 13 disclosure another program recovery device block diagram shown according to an exemplary embodiment, On the basis of 12 embodiment of earlier figures, the adjustment module 450 includes: the embodiment
Adjusting submodule 451 is configured as the preferential of the destination application in the recovery priority list Grade is adjusted to target priority, and the target priority is higher than the preferential of other applications in the recovery priority list Grade.
As shown in figure 14, Figure 14 disclosure another program recovery device block diagram shown according to an exemplary embodiment, The embodiment is on the basis of 13 embodiment of earlier figures, described device further include:
First order module 460 is configured as in the recovery priority list, to the destination application according to The sequence of access times from high to low is arranged;
Second order module 470 is configured as in the recovery priority list, to the destination application according to Priority orders indicated by the pre-set priority information are arranged.
As shown in figure 15, Figure 15 disclosure another program recovery device block diagram shown according to an exemplary embodiment, The embodiment is on the basis of 12 embodiment of earlier figures, described device further include:
Second sending module 480 is configured as after program recovery is completed, is sent completely notification message to the service Device notifies the stopping of the second smart machine to report the active application column so that the server is based on the completion notice information Table.
As shown in figure 16, Figure 16 is the disclosure another program recovery device frame shown according to an exemplary embodiment Figure, described device include:
Module 510 is established, the precedence information reported according to the first smart machine is configured as, establishes and restores priority column Table;
First pushing module 520 is configured as after determining that the 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, successively carry out program recovery in list;
Wherein, it is described restore priority list include once installed on first smart machine each application program institute it is right The priority orders answered.
As shown in figure 17, Figure 17 disclosure another program recovery device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of 16 embodiment of earlier figures, the precedence information includes the access times of application program, described to build Formwork erection block 510 includes:
First setting up submodule 511 is configured as establishing the recovery priority list based on the access times, described The access times for restoring application program in priority list are directly proportional to priority.
As shown in figure 18, Figure 18 disclosure another program recovery device block diagram shown according to an exemplary embodiment, For the embodiment on the basis of 16 embodiment of earlier figures, the precedence information includes pre-set priority information, described to establish mould Block 510 includes:
Second setting up submodule 512 is configured as the priority according to indicated by the pre-set priority information, establishes institute State recovery priority list.
As shown in figure 19, Figure 19 disclosure another program recovery device block diagram shown according to an exemplary embodiment, The embodiment is on the basis of 16 embodiment of earlier figures, described device further include:
Third sending module 530 is configured as to detect that first intelligence is bound in the login of the second smart machine in advance After the account of equipment, transmission reports notification message to second smart machine, so that second smart machine is based on described It reports notification message to report according to predetermined period and enlivens list of application to the server;
Second pushing module 540 is configured as pushing 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 The list of program identification including destination application, the destination application were once installed on first smart machine The application program of active state is in application program on second smart machine.
As shown in figure 20, Figure 20 disclosure another program recovery device block diagram shown according to an exemplary embodiment, The embodiment is on the basis of 19 embodiment of earlier figures, described device further include:
Third receiving module 550, be configured as receiving first smart machine reported after the completion of program recovery it is complete At notification information;
4th sending module 560 is configured as being sent based on the completion notice message and being stopped reporting notification message to institute The second smart machine is stated, so that second smart machine is based on the stopping and reports notification message, stopping reports described active List of application.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein being used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected 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, it can understand and implement.
Correspondingly, the disclosure also provides a kind of program recovery device, it to be used for the first smart machine, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
After triggering carries out program recovery, the recovery priority list of server push is received;
According to the priority orders of application program on the recovery priority list, program recovery is successively carried out;
Wherein, it is described restore priority list include each application program for once being installed on first smart machine into Priority orders when line program restores.
Figure 21 is a kind of structural schematic diagram of program recovery device shown according to an exemplary embodiment.Such as Figure 21 institute Show, a kind of program recovery device 2100 shown according to an exemplary embodiment, which can be computer, mobile electricity Words, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, individual digital help The terminals such as reason.
Referring to Figure 21, device 2100 may include following one or more components: processing component 2101, memory 2102, Power supply module 2103, multimedia component 2104, audio component 2105, the interface 2106 of input/output (I/O), sensor module 2107 and communication component 2108.
The integrated operation of the usual control device 2100 of processing component 2101, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 2101 may include one or more processors 2109 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 2101 may include one or more moulds Block, convenient for the interaction between processing component 2101 and other components.For example, processing component 2101 may include multi-media module, To facilitate the interaction between multimedia component 2104 and processing component 2101.
Memory 2102 is configured as storing various types of data to support the operation in device 2100.These data Example includes the instruction of any application 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 is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (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 may include power management System, one or more power supplys and other generates, managees, and distributes the associated component of electric power with for device 2100.
Multimedia component 2104 includes the screen of one output interface of offer between described device 2100 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 2104 includes a front camera and/or rear camera.When device 2100 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 2105 is configured as output and/or input audio signal.For example, audio component 2105 includes a wheat Gram wind (MIC), when device 2100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 2102 or via communication Component 2108 is sent.In some embodiments, audio component 2105 further includes a loudspeaker, is used for output audio signal.
I/O interface 2106 provides interface, above-mentioned peripheral interface module between processing component 2101 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 2107 includes one or more sensors, and the state for providing various aspects for device 2100 is commented Estimate.For example, sensor module 2107 can detecte the state that opens/closes of device 2100, the relative positioning of component, such as institute The display and keypad that component is device 2100 are stated, sensor module 2107 can be with detection device 2100 or device 2,100 1 The position change of a component, the existence or non-existence that user contacts with device 2100,2100 orientation of device or acceleration/deceleration and dress Set 2100 temperature change.Sensor module 2107 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 2107 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which 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 other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 2100,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 2108 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 2108 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 2100 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 2102 of instruction, above-metioned instruction can be executed by the processor 2109 of device 2100 to complete the above method.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 executed by the processor, so that device 2100 is able to carry out State program recovery method.
Correspondingly, the disclosure also provides a kind of program recovery device, it to be used for server, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
According to the precedence information that the first smart machine reports, establishes and restore priority list;
After determining that the first smart machine triggering carries out program recovery, described in the push of the first smart machine of Xiang Suoshu Restore priority list so that first smart machine according on the recovery priority list application program it is described preferential Grade sequence, successively carries out program recovery;
Wherein, it is described restore priority list include once installed on first smart machine each application program institute it is right The priority orders answered.
As shown in figure 22, Figure 22 is a knot of another program recovery device 2200 shown according to an exemplary embodiment Structure schematic diagram.For example, device 2200 may be provided as server.Referring to Figure 22, device 2200 includes processing component 2222, It further comprise one or more processors, and the memory resource as representated by memory 2232, it can be by for storing Manage the instruction of the execution of component 2222, such as application program.The application program stored in memory 2232 may include one or It is more than one each correspond to one group of instruction module.In addition, processing component 2222 is configured as executing instruction, to execute Above procedure restoration methods.
Device 2200 can also include that a power supply module 2226 be configured as the power management of executive device 2200, and one Wired or wireless network interface 2250 is configured as device 2200 being 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 after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim point out.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all essences in the disclosure Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of disclosure protection.

Claims (20)

1. a kind of program recovery method is used for the first smart machine, which is characterized in that the described method includes:
After triggering carries out program recovery, the recovery priority list of server push is received;
According to the priority orders of application program on the recovery priority list, program recovery is successively carried out;
Wherein, the priority list that restores includes that each application program once installed on first smart machine is carrying out journey Priority orders when sequence is restored;
The method also includes:
When carrying out program recovery, the server is received by what predetermined period pushed and enlivens list of application;
List of application is enlivened according to described, adjusts the priority for restoring application program in priority list;
According to the priority orders for restoring application program on priority list adjusted, it is extensive successively to carry out program 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 The application program of active state is in program on second smart machine.
2. the method according to claim 1, wherein the method also includes:
Send precedence information arrive the server so that the server according to the precedence information establish it is described recovery it is excellent First grade list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
3. being adjusted described extensive the method according to claim 1, wherein described enliven list of application according to described The priority of application program in multiple priority list, comprising:
The priority of the destination application in the recovery priority list is adjusted to target priority, the target Priority is higher than the priority of other applications in the recovery priority list.
4. according to the method described in claim 3, it is characterized in that, the target by the recovery priority list The priority of application program is adjusted to after target priority, the method also includes:
In the recovery priority list, the destination application is arranged according to the sequence of access times from high to low Column;Or
In the recovery priority list, to the destination application according to priority indicated by pre-set priority information Sequence is arranged.
5. the method according to claim 1, wherein the method also includes:
After program recovery completion, notification message is sent completely to the server, so that the server is based on described complete At notification information, notify the stopping of the second smart machine reports described to enliven list of application.
6. a kind of program recovery method is used for server, which is characterized in that the described method includes:
According to the precedence information that the first smart machine reports, establishes and restore priority list;
After determining that the first smart machine triggering carries out program recovery, the first smart machine of Xiang Suoshu pushes the recovery Priority list, so that priority orders of first smart machine according to application program on the recovery priority list, Successively carry out program recovery;
Wherein, the priority list that restores includes corresponding to each application program for once installing on first smart machine Priority orders;
After the recovery priority list to first smart machine push, the method also includes:
After detecting that the account of first smart machine is bound in the login of the second smart machine in advance, transmission reports notification message To second smart machine, so that second smart machine reports notification message to report work according to predetermined period based on described List of application is jumped to the server;
List of application is enlivened to first smart machine push is described according to the predetermined period, so that first intelligence is set It is standby to enliven list of application according to described, adjust the priority orders for restoring 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 The application program of active state is in program on second smart machine.
7. according to the method described in claim 6, it is characterized in that, the precedence information includes the access times of application program When, the precedence information reported according to the first smart machine is established and restores priority list, comprising:
The recovery priority list is established based on the access times, application program is described in the recovery priority list Access times are directly proportional to priority.
8. according to the method described in claim 6, it is characterized in that, when the precedence information includes pre-set priority information, The precedence information reported according to the first smart machine is established and restores priority list, comprising:
According to priority indicated by the pre-set priority information, the recovery priority list is established.
9. according to the method described in claim 6, it is characterized in that, the method also includes:
Receive the completion notice information that first smart machine reports after the completion of program recovery;
Based on the completion notice message, sends and stop reporting notification message to second smart machine, so that described second Smart machine is based on the stopping and reports notification message, and stopping, which reports, described enlivens list of application.
10. a kind of program recovery device, it to be used for the first smart machine, which is characterized in that described device includes:
First receiving module is configured as after triggering carries out program recovery, receives the recovery priority column of server push Table;
Program recovery module, be configured as according to it is described recovery priority list on application program priority orders, successively into Line program restores;
Wherein, the priority list that restores includes that each application program once installed on first smart machine is carrying out journey Priority orders when sequence is restored;
Described device further include:
Second receiving module is configured as receiving the server when carrying out program recovery and enlivening by what predetermined period pushed List of application;
Module is adjusted, is configured as enlivening list of application according to described, adjusts application program in the recovery priority list Priority;
Described program recovery module be configured as according to it is adjusted it is described restore priority list on application program it is described excellent First grade sequence, successively carries out program recovery;
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 The application program of active state is in program on second smart machine.
11. device according to claim 10, which is characterized in that described device further include:
First sending module is configured as sending precedence information to the server, so that the server is according to described excellent First grade information establishes the recovery priority list;
Wherein, the precedence information includes the access times or pre-set priority information of application program.
12. device according to claim 10, which is characterized in that the adjustment module includes:
Adjusting submodule is configured as the priority of the destination application in the recovery priority list being adjusted to Target priority, the target priority are higher than the priority of other applications in the recovery priority list.
13. device according to claim 12, which is characterized in that described device further include:
First order module is configured as in the recovery priority list, secondary according to using to the destination application The sequence of number from high to low is arranged;
Second order module is configured as in the recovery priority list, excellent according to presetting to the destination application Priority orders indicated by first grade information are arranged.
14. device according to claim 10, which is characterized in that described device further include:
Second sending module is configured as after program recovery is completed, is sent completely notification message to the server, so that The server is based on the completion notice information, notifies the stopping of the second smart machine reports described to enliven list of application.
15. a kind of program recovery device, it to be used for server, which is characterized in that described device includes:
Module is established, the precedence information reported according to the first smart machine is configured as, establishes and restores priority list;
First pushing module is configured as after determining that first smart machine triggering carries out program recovery, Xiang Suoshu 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 successively carry out program recovery;
Wherein, the priority list that restores includes corresponding to each application program for once installing on first smart machine Priority orders;
Described device further include:
Third sending module is configured as working as the account for detecting 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 as arranging according to the predetermined period to the first smart machine push active application Table adjusts application program in the recovery priority list so that first smart machine enlivens list of application according to described 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 The application program of active state is in program on second smart machine.
16. device according to claim 15, which is characterized in that the precedence information includes the use time of application program Number, the module of establishing include:
First setting up submodule is configured as establishing the recovery priority list based on the access times, described to restore excellent The access times of application program are directly proportional to priority in first grade list.
17. device according to claim 15, which is characterized in that the precedence information includes pre-set priority information, The module of establishing includes:
Second setting up submodule is configured as the priority according to indicated by the pre-set priority information, establishes the recovery Priority list.
18. device according to claim 15, which is characterized in that described device further include:
Third receiving module is configured as receiving the completion notice letter that first smart machine reports after the completion of program recovery Breath;
4th sending module is configured as being sent based on the completion notice message and being stopped reporting notification message to described second Smart machine, so that second smart machine is based on the stopping and reports notification message, stopping reports the active application column Table.
19. a kind of program recovery device is used for the first smart machine characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
After triggering carries out program recovery, the recovery priority list of server push is received;
According to the priority orders of application program on the recovery priority list, program recovery is successively carried out;
Wherein, the priority list that restores includes that each application program once installed on first smart machine is carrying out journey Priority orders when sequence is restored;
The processor is also configured to
When carrying out program recovery, the server is received by what predetermined period pushed and enlivens list of application;
List of application is enlivened according to described, adjusts the priority for restoring application program in priority list;
According to the priority orders for restoring application program on priority list adjusted, it is extensive successively to carry out program 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 The application program of active state is in program on second smart machine.
20. a kind of program recovery device is used for server characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
According to the precedence information that the first smart machine reports, establishes and restore priority list;
After determining that the first smart machine triggering carries out program recovery, the first smart machine of Xiang Suoshu pushes the recovery Priority list, so that priority orders of first smart machine according to application program on the recovery priority list, Successively carry out program recovery;
Wherein, the priority list that restores includes corresponding to each application program for once installing on first smart machine Priority orders;
The processor is also configured to
After detecting that the account of first smart machine is bound in the login of the second smart machine in advance, transmission reports notification message To second smart machine, so that second smart machine reports notification message to report work according to predetermined period based on described List of application is jumped to the server;
List of application is enlivened to first smart machine push is described according to the predetermined period, so that first intelligence is set It is standby to enliven list of application according to described, adjust the priority orders for restoring 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 The application program of active state is in program on second smart machine.
CN201610885150.4A 2016-10-10 2016-10-10 Program recovery method and device Active CN106528283B (en)

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 CN106528283A (en) 2017-03-22
CN106528283B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687980B (en) * 2020-05-19 2024-03-01 北京京东乾石科技有限公司 Abnormal data self-recovery method, system, electronic device and readable storage medium
CN116909816B (en) * 2023-09-13 2024-01-09 腾讯科技(深圳)有限公司 Database recovery method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9489251B2 (en) * 2011-12-06 2016-11-08 Bio-Rad Laboratories, Inc. Supervising and recovering software components associated with medical diagnostics instruments

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106528283A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
US11452012B2 (en) Method, apparatus for cell handover and user equipment
EP3826417A1 (en) Transmission configuration method and device
US11838773B2 (en) LBT failure processing method and LBT failure processing apparatus
EP3110188A1 (en) Method and device for accessing operator network
CN108966207A (en) Processing method for paging message and device
CN105704766B (en) The control method and device of double-card mobile terminal
CN109451880A (en) Method for connecting network and device
CN106454801B (en) Method for switching network and terminal
CN109196909B (en) Cell switching method and device
CN104301308B (en) Call control method and device
WO2020227879A1 (en) Connection processing method and apparatus, and medium
EP3757738A1 (en) Method and device for page processing
CN109565717A (en) The configuration method and device of portions of bandwidth
WO2020248120A1 (en) Cell reselection method and device
US20230247681A1 (en) Random access method and device, user equipment and computer-readable storage medium
CN109698878A (en) Notification message sort method and device
CN110249655A (en) Error reason report method and device
CN106528283B (en) Program recovery method and device
US11310694B2 (en) Method and device for receiving downlink data during RRC inactive state
CN108702689A (en) Cell accessing method, device and storage medium
CN108401512A (en) Control method and device, base station and user equipment that mobile terminal uses network
CN109565381B (en) Information feedback method and device
CN109041145A (en) Communication means, device, terminal and storage medium
CN106357504B (en) User list method for cleaning and device
CN107864460A (en) Call transferring method, device and equipment

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