CN106598704A - Application program recovery method and apparatus - Google Patents

Application program recovery method and apparatus Download PDF

Info

Publication number
CN106598704A
CN106598704A CN201611175856.8A CN201611175856A CN106598704A CN 106598704 A CN106598704 A CN 106598704A CN 201611175856 A CN201611175856 A CN 201611175856A CN 106598704 A CN106598704 A CN 106598704A
Authority
CN
China
Prior art keywords
application program
terminal
restarted
application
recovery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611175856.8A
Other languages
Chinese (zh)
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
Original Assignee
Beijing Xiaomi Mobile Software 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 filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611175856.8A priority Critical patent/CN106598704A/en
Publication of CN106598704A publication Critical patent/CN106598704A/en
Pending legal-status Critical Current

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/461Saving or restoring of program or task context

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)

Abstract

The invention discloses an application program recovery method and apparatus. The application program recovery method comprises the steps of obtaining operating information, recorded before a terminal is restarted, of a first application program after the terminal is restarted; enabling the first application program to be in an operating state before the terminal is restarted; and recovering the first application program to a page opened before the terminal is restarted according to the operating information of the first application program. According to the application program recovery method and apparatus disclosed by the invention, after the terminal is restarted, the first application program can be recovered to the page opened before the terminal is restarted without requiring manual recovery by a user, so that user experience is improved.

Description

Application recovery method and apparatus
Technical field
It relates to terminal technology, more particularly to a kind of application recovery method and apparatus.
Background technology
At present, as types of applications program is in the popularization of terminal, the life of user also becomes increasingly to facilitate, and user can be with By these application programs in terminal, convenience and facility that these application programs bring are enjoyed whenever and wherever possible, this A little application programs can for example be electronic bank application program, payment application, chat application, E-mail address application journey Sequence etc..
In correlation technique, user is during using a certain application program, if terminal is restarted, occurs user at this The situation that the page opened on application program is lost so that Consumer's Experience is relatively low.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of application recovery method and apparatus.The skill Art scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of application recovery method, including:
After terminal is restarted, the operation information of the first application program recorded before terminal is restarted is obtained;First application Program is in running status before terminal is restarted;
According to the operation information of the first application program, the page opened before the first application recovery to terminal is restarted Face.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:After terminal is restarted, can be with The operation information of the first application program of record before terminal is restarted is got, and then can be believed according to the operation of the first application program Breath, the page opened before the first application recovery to terminal is restarted, applies journey by first again manually without user The page opened before recovering to terminal to restart by sequence, improves Consumer's Experience.
Optionally, before terminal is restarted in addition to the first application program, also there are at least one second application programs;Second Application program is in running status before terminal is restarted;
After terminal is restarted, the operation information of the first application program recorded before terminal is restarted is obtained, including:
After terminal is restarted, obtain the first application program and at least one second recorded before terminal is restarted and apply journey Transfer sequence between sequence;Transfer sequence is used to characterize the first application program and at least one second application programs in front stage operation Sequencing;
According to transfer sequence, in the second application recovery that will be located in transfer sequence before the first application program to end After the page opened before restarting by end, the operation information of the first application program recorded before terminal is restarted is obtained.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Terminal before restarting, except Outside one application program, also there is at least one the second application program in running status.Therefore, after terminal is restarted, The operation information of the first application program of record before terminal is restarted can be got, and, the first application program and at least one The transfer sequence of the second application program, and then the first application program can will be located at according to the transfer sequence in transfer sequence After the page opened before restarting by the second application recovery to terminal before, the operation information of the first application program is obtained, And the page opened before restarted by the first application recovery to terminal, so that terminal not only can Outside the page opened before first application recovery to terminal is restarted, can also be by the first application program and the second application The page opened before recovering to terminal to restart according to the transfer sequence before restarting by program, by the first application program and second Transfer sequence between application program recovers the transfer sequence to before restarting, and further increases Consumer's Experience.
Optionally, the application program that the first application program is being shown before restarting for terminal;
After the page browsed before first application recovery to terminal is restarted, method also includes:
The page opened before terminal is restarted by the first application program is shown in the main interface of terminal.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:It is terminal in the first application program During the application program shown before restarting, the page that not only can be opened before the first application recovery to terminal is restarted Face, and, the transfer sequence before the transfer sequence between the first application program and other application programs is also restored to restart it Outward, the page of the first application program that can also showing before terminal is restarted includes the main interface in terminal again, will First application program of terminal is fully returned to the state before terminal is restarted, and further increases Consumer's Experience.
Optionally, method also includes:
During the first application program use, the first application program of real time record and at least one second application programs it Between transfer sequence, and, the operation information of the first application program.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Before terminal is restarted, Ke Yi During first application program use, the switching between the first application program of real time record and at least one second application programs is suitable Sequence, and, the operation information of the first application program.Therefore, after terminal is restarted, record before terminal is restarted can be got The operation information of the first application program, and, the transfer sequence of the first application program and at least one second application programs, and then According to the transfer sequence, the operation information of first application program can be obtained, and according to the operation information by the first application program The page opened before recovering to terminal to restart, so that before the first application recovery not only can be restarted by terminal to terminal Outside the page opened, the transfer sequence between the first application program and other application programs can also be also restored to restart Front transfer sequence, further increases Consumer's Experience.
Optionally, the operation information of the first application program includes:The page opened before terminal is restarted by first application program The Activity of face address or the first application program before terminal is restarted.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of application recovery device, including:
Acquisition module, is configured to after terminal is restarted, the first application program that acquisition is recorded before terminal is restarted Operation information;First application program is in running status before terminal is restarted;
Recovery module, is configured to the operation information according to the first application program, by the first application recovery to terminal The page opened before restarting.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Application recovery device is obtained Delivery block after terminal is restarted can get the operation information of the first application program of record before terminal is restarted, and then make Obtain recovery module to be opened before the first application recovery to terminal be restarted according to the operation information of the first application program The page, the page opened before restart improves use Experience at family.
Optionally, before terminal is restarted in addition to the first application program, also there are at least one second application programs;Second Application program is in running status before terminal is restarted;
Acquisition module, is configured to after terminal is restarted, obtain the first application program for recording before terminal is restarted with Transfer sequence between at least one second application programs;And according to transfer sequence, will be located in transfer sequence in recovery module After the page opened before restarting by the second application recovery to terminal before first application program, obtain before terminal is restarted The operation information of the first application program of record;
Wherein, transfer sequence is used to characterize the elder generation of the first application program and at least one second application programs in front stage operation Afterwards sequentially.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Terminal before restarting, except Outside one application program, also there is at least one the second application program in running status.Therefore, application recovery device Acquisition module after terminal is restarted, first can get terminal restart before record the first application program operation information, And, the transfer sequence of the first application program and at least one second application programs, and then can be according to the transfer sequence, extensive What multiple module was opened before the second application recovery to the terminal before being located at the first application program in transfer sequence is restarted After the page, then the operation information of the first application program is obtained, so that recovery module can be according to the operation information by first The page opened before restarting by application recovery to terminal, so that application recovery device not only can be by the first application Outside the page opened before restarting by program recovery to terminal, can also be by the first application program and the second application program according to weight Transfer sequence before opening recover to terminal to restart before the page opened, by the first application program and the second application program it Between transfer sequence recover the transfer sequence to before restarting, further increase Consumer's Experience.
Optionally, the application program that the first application program is being shown before restarting for terminal;
Device, also includes:
Display module, is configured to the page opened before the first application recovery is restarted by recovery module to terminal Afterwards, the main interface in terminal shows the page opened before terminal is restarted by the first application program.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:It is terminal in the first application program During the application program shown before restarting, the display module of application recovery device can be applied first in recovery module After the page opened before restarting by program recovery to terminal, show that the first application program is restarted in terminal in the main interface of terminal First application program of terminal is fully returned to the state before terminal is restarted, is further improved by front the opened page Consumer's Experience.
Optionally, device also includes:
Logging modle, is configured to during the first application program use, the first application program of real time record with least Transfer sequence between one the second application program, and, the operation information of the first application program.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:The note of application recovery device Record module can be during the first application program use, the first application program of real time record and at least one second application programs Between transfer sequence, and, the operation information of the first application program so that acquisition module is after terminal is restarted, can To get the operation information of the first application program of record before terminal is restarted, and, the first application program and at least one the The transfer sequence of two application programs, and then the operation information of the first application program according to the transfer sequence, can be obtained, so that The page that recovery module can be opened before restart by the first application recovery to terminal is obtained, so that Application recovery device the first application recovery to terminal not only can be restarted before outside the page that be opened, can be with Transfer sequence between first application program and other application programs is also restored to into the transfer sequence before restarting, is further improved Consumer's Experience.
Optionally, the operation information of the first application program includes:The page opened before terminal is restarted by first application program The Activity of face address or the first application program before terminal is restarted.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of application recovery device, including:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, processor is configured to:
After terminal is restarted, the operation information of the first application program recorded before terminal is restarted is obtained;First application Program is in running status before terminal is restarted;
According to the operation information of the first application program, the page opened before the first application recovery to terminal is restarted Face.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:After terminal is restarted, application Program recovery device can get the operation information of the first application program of record before terminal is restarted, and then can be according to first The operation information of application program, the page opened before the first application recovery to terminal is restarted, without user again The page opened before manually restart the first application recovery to terminal, improves Consumer's Experience.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the application recovery method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the application recovery method for implementing to exemplify according to another exemplary;
Fig. 3 is a kind of block diagram of the application recovery device according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the application recovery device for implementing to exemplify according to another exemplary;
Fig. 5 is a kind of block diagram of the application recovery device according to further example embodiment;
Fig. 6 is a kind of block diagram of the charge prompting device 600 according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to the scope of disclosure design is limited by any mode with word description, but by reference to specific embodiment is Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the application recovery method according to an exemplary embodiment.The method is held Row main body can be application recovery device, can also be the terminal for being integrated with application recovery device, following with execution Main body is the terminal (abbreviation for being integrated with application recovery device:Terminal) as a example by illustrate.As shown in figure 1, the method can To comprise the following steps:
In step S101, after terminal is restarted, the operation of the first application program recorded before terminal is restarted is obtained Information;First application program is in running status before terminal is restarted.
In step s 102, the operation information according to the first application program, the first application recovery is restarted to terminal Front the opened page.
Specifically, above-mentioned terminal can be currently at the of running status in running in recording terminal in real time The operation information of one application program.Wherein, the first application program mentioned here can be by arbitrary application for installing in terminal Program, first application program are in running status before terminal is restarted.In the present embodiment, terminal passes through recorded first The operation information of application program can determine the currently open page of first application program.When the current institute of the first application program When the page of opening changes, the operation information of first application program recorded by above-mentioned terminal also can occur to become accordingly Change, so that terminal can accurately determine the current institute of first application program by the operation information of the first application program The page of opening.When implementing, the operation information of above-mentioned application program can for example include:First application program is opened Page address, and/or, Activity of the first application program etc..
After above-mentioned terminal is restarted because of reasons such as endurance, the software and hardware problems of terminal, above-mentioned terminal can get The operation information of the first application program that terminal is recorded before restarting.Now, terminal is believed by the operation of first application program Breath can determine the page opened at moment of first application program before terminal is restarted.Therefore, above-mentioned terminal can basis Get the operation information of the first application program, the first application program of automatic, and by the first application recovery to terminal The page opened before restarting.In this way so that terminal after restart, still can be by the first application recovery extremely The page opened before restarting by terminal, is opened before restart The page, improve Consumer's Experience.
Optionally, if the operation information of above-mentioned first application program includes:First application program is beaten before terminal is restarted Activity of the page address and/or the first application program opened before terminal is restarted.Then above-mentioned terminal can be answered according to first Activity of the page address and/or the first application program opened before terminal is restarted with program before terminal is restarted determines The page opened by moment of first application program before terminal is restarted, and then can be by the first application recovery to the page Face, the page opened before restart, improves user's body Test.
So that user is on mobile phone using wechat APP as an example., during using wechat APP, terminal can be real for user When record wechat APP operation information.Now, if after mobile phone is restarted because of reasons such as endurance, the software and hardware problems of terminal, Mobile phone can obtain the operation information of wechat APP recorded before restarting.As the operation information of now wechat APP can reflect Go out the page opened by the wechat APP moment before the restart, therefore, mobile phone can according to the operation information of wechat APP, from It is dynamic to start wechat APP, and the page opened before wechat APP is recovered to terminal to restart.In this way so that handss After restart, the page that still can be opened before recovering to mobile phone to restart by wechat APP manually will be micro- without user for machine The page opened before recovering to terminal to restart by letter APP, improves Consumer's Experience.
The application recovery method that the disclosure is provided, after terminal is restarted, can get terminal and restart front record The first application program operation information, and then can be according to the operation information of the first application program, will be the first application program extensive It is multiple to restart the front page opened to terminal, the first application recovery to terminal is restarted into front institute manually again without user The page of opening, improves Consumer's Experience.
Fig. 2 is a kind of flow chart of the application recovery method for implementing to exemplify according to another exemplary.In this enforcement Example in, above-mentioned terminal restart before in addition to the first application program, also exist at least one in running status application program (i.e. the second application program).As shown in Fig. 2 the present embodiment refers to how above-mentioned terminal obtains what is recorded before terminal is restarted The detailed process of the operation information of the first application program, then, on the basis of above-described embodiment, the method can also include:
In step s 201, after terminal is restarted, obtain the first application program for recording before terminal is restarted with least Transfer sequence between one the second application program;Transfer sequence is used to characterize the first application program and at least one second applications Sequencing of the program in front stage operation.
In step S202, according to transfer sequence, should in second for being located in transfer sequence before the first application program After the page opened before being restarted with program recovery to terminal, the operation of the first application program recorded before terminal is restarted is obtained Information.
Specifically, above-mentioned terminal before restarting, if above-mentioned terminal is in addition to the first application program, also has at least one During application program (i.e. the second application program) in running status, then above-mentioned terminal is except the first application program of real time record Outside the operation information of operation information and each the second application program, can with the first application program of real time record with this at least one The transfer sequence of individual second application program.The transfer sequence can characterize the first application program and at least one second application programs Switch the order for using each application program in the sequencing of front stage operation, i.e. user in terminal.When the first application program with At least one second application program using order change when, first application program recorded by above-mentioned terminal with should The transfer sequence of at least one second application programs also can be changed accordingly, so that terminal is acquired after restart cutting Change the accuracy of order.When implementing, when application program handover operation is performed every time, above-mentioned terminal can determine that first should With the transfer sequence of program and at least one second application programs, and record the transfer sequence.
Wherein, sort in above-mentioned described transfer sequence more forward application program, illustrates that the application program switchs in the past Platform switchs to the time started of running background and the time difference of the current time of terminal is bigger, i.e., after the application program switchs to from foreground The time of platform operation is more early.For example, it is assumed that terminal is before restarting, user first opens application program A, then makes on foreground During with application program A, open application program B again, then use application program B on foreground, will application program A turn For running background.Now, the transfer sequence of the application program recorded by terminal is:Application program A, application program B.In this feelings Under condition, application program A is the application program of sequence first in transfer sequence.If user uses the process of application program B on foreground In, and be switched in application program A from application program B, i.e., application program A is used on foreground, application program B is switched to into backstage fortune OK, then now the transfer sequence of the application program recorded by terminal is:Application program B, application program A.In this case, should With the application program that program B is sequence first in transfer sequence.
So, above-mentioned terminal after restart, first can obtain before restarting the first application program for being recorded with this at least one Individual second application program transfer sequence, and then according to the transfer sequence, first obtain the application journey of the sequence first in transfer sequence The operation information of sequence, and according to the information of the application program, the page opened before the application recovery to terminal is restarted. Then, the operation information of the application program of sequence second in transfer sequence further according to transfer sequence, is obtained, and journey is applied according to this The information of sequence, the page opened before the application recovery to terminal is restarted.By that analogy, until terminal is restarted front institute The all application programs opened recover to terminal to restart before the page opened, will above-mentioned first application program with it is above-mentioned extremely The page opened before restarting by few second application program full recovery a to terminal.That is, terminal is after restart, can be with According to the transfer sequence, the second application recovery before being located at the first application program in transfer sequence is being restarted to terminal The operation information of the first application program after front the opened page, is just obtained, and then is believed according to the operation of the first application program Breath, the page opened before the first application recovery to terminal is restarted.In this way so that terminal not only can be by Outside the page opened before restarting by first application recovery to terminal, the first application program and second can also be applied journey The page opened before recovering to terminal to restart according to the transfer sequence before restarting by sequence, should by the first application program and second Recover the transfer sequence to before restarting with the transfer sequence between program, further increase Consumer's Experience.
Exemplary, it is assumed that user has in the application program of running status before terminal is restarted:Application program A, application Program B and application program C.Wherein, application program A is the first application program, and application program B and application program C is the second application Program.The first application program that terminal is recorded before restarting is application with the transfer sequence of at least one second application program Program B, application program A and application program C.Then terminal after restart, according to the transfer sequence, can first obtain application program B Operation information, and according to the operation information, the page opened before application program B is recovered to terminal to restart.Then, terminal The operation information of application program A can be just obtained, and according to the operation information, it is beaten before application program A is recovered to terminal to restart The page opened.Finally, the operation information of application program C is obtained, and according to the operation information, application program C is recovered to terminal The page opened before restarting.In this way so that terminal not only can be beaten to before restarting by each application recovery Outside the page opened, the order between each application program can also be also restored to the order before restarting, further increase use Experience at family.
The application recovery method that the disclosure is provided, terminal before restarting, in addition to the first application program, are also present At least one the second application program in running status.Therefore, after terminal is restarted, terminal can be got and restarts front note The operation information of the first application program of record, and, the transfer sequence of the first application program and at least one second application programs, And then can be according to the transfer sequence, in the second application recovery that will be located in transfer sequence before the first application program extremely After the page opened before restarting by terminal, the operation information of the first application program is obtained, and should by first according to the operation information The page opened before being restarted with program recovery to terminal, so that terminal not only can be by the first application recovery to terminal Outside the page opened before restarting, can also be suitable according to the switching before restarting with the second application program by the first application program The page opened before recovering to terminal to restart by sequence, will be the transfer sequence between the first application program and the second application program extensive The multiple transfer sequence to before restarting, further increases Consumer's Experience.
Further, on the basis of above-described embodiment, if the first application program be transfer sequence in be ordered as last Individual application program, illustrates above-mentioned first application program for terminal and restarts the front application program for just showing on foreground, then above-mentioned After S102, above-mentioned terminal can show page that the first application program is opened before terminal is restarted with the main interface in terminal Face.In this way so that terminal the first application recovery to terminal not only can be restarted before the page that be opened, with And, outside the transfer sequence before the transfer sequence between the first application program and other application programs is also restored to restart, also The page of the first application program that can showing before terminal is restarted includes the main interface in terminal again, by terminal First application program is fully returned to the state before terminal is restarted, and further increases Consumer's Experience.Wherein, how terminal exists The main interface of terminal shows that the page opened before terminal is restarted by the first application program specifically may refer to correlation technique.
It is following for disclosure device embodiment, can be used for performing method of disclosure embodiment.For disclosure device reality The details not disclosed in applying example, refer to method of disclosure embodiment.
Fig. 3 is a kind of block diagram of the application recovery device according to an exemplary embodiment.As shown in figure 3, should Application recovery device can be implemented in combination with some or all of of terminal by software, hardware or both, the application Program recovery device can include:
Acquisition module 11, is configured to after terminal is restarted, and obtains the first application program recorded before terminal is restarted Operation information;First application program is in running status before terminal is restarted;Optionally, the operation information of the first application program Including:Page address that first application program is opened before terminal is restarted or the first application program are before terminal is restarted Activity。
Recovery module 12, is configured to the operation information according to the first application program, by the first application recovery to end The page opened before restarting by end.
The application recovery device that the disclosure is provided, the acquisition module of application recovery device restart it in terminal Afterwards, can get terminal restart before record the first application program operation information, and then allow recovery module according to The operation information of the first application program, the page opened before the first application recovery to terminal is restarted, without with The page opened before again restart the first application recovery to terminal by family, improves Consumer's Experience.
Optionally, in a kind of implementation of the disclosure, terminal restart before in addition to the first application program, also exist At least one second application programs;Second application program is in running status before terminal is restarted.Then above-mentioned acquisition module 11, quilt It is configured to after terminal is restarted, obtains the first application program and at least one second application programs recorded before terminal is restarted Between transfer sequence;And according to transfer sequence, in recovery module 12 by before being located at the first application program in transfer sequence After the page opened before restarting by second application recovery to terminal, the first application program recorded before terminal is restarted is obtained Operation information;
Wherein, transfer sequence is used to characterize the elder generation of the first application program and at least one second application programs in front stage operation Afterwards sequentially.
The application recovery device that the disclosure is provided, terminal before restarting, in addition to the first application program, are also present At least one the second application program in running status.Therefore, the acquisition module of application recovery device is restarted in terminal Afterwards, first can get terminal restart before record the first application program operation information, and, the first application program with extremely The transfer sequence of few second application program, and then can be according to the transfer sequence, in recovery module by transfer sequence middle position After the page opened before the second application recovery before the first application program is restarted to terminal, obtain first and apply journey The operation information of sequence, so that before the first application recovery can be restarted to terminal by recovery module according to the operation information The page opened, so that application recovery device is beaten before not only can restart the first application recovery to terminal Outside the page opened, the first application program and the second application program can also be recovered to end according to the transfer sequence before restarting The page opened before restarting by end, the transfer sequence between the first application program and the second application program is recovered to before restarting Transfer sequence, further increase Consumer's Experience.
Fig. 4 is a kind of block diagram of the application recovery device for implementing to exemplify according to another exemplary.In the disclosure In a kind of implementation, the application program that the first application program is being shown before restarting for terminal.Then in the frame shown in above-mentioned Fig. 3 On the basis of figure, as shown in figure 4, the application recovery device can also include:
Display module 13, is configured to what is opened before the first application recovery is restarted by recovery module 12 to terminal After the page, the page opened before terminal is restarted by the first application program is shown in the main interface of terminal.
The application recovery device that the disclosure is provided, the application shown before the first application program is restarted for terminal During program, the display module of application recovery device can be before the first application recovery be restarted by recovery module to terminal After the page opened, the page opened before terminal is restarted by the first application program is shown in the main interface of terminal, will First application program of terminal is fully returned to the state before terminal is restarted, and further increases Consumer's Experience.
Fig. 5 is a kind of block diagram of the application recovery device according to further example embodiment.Then in above-mentioned Fig. 3 On the basis of shown block diagram, as shown in figure 5, the application recovery device can also include:
Logging modle 14, is configured to during the first application program use, the first application program of real time record with extremely Transfer sequence between few second application program, and, the operation information of the first application program.
The application recovery device that the disclosure is provided, the logging modle of application recovery device can be in the first application During program use, the transfer sequence between the first application program of real time record and at least one second application programs, and, The operation information of the first application program, so that acquisition module is after terminal is restarted, can get terminal and restart front note The operation information of the first application program of record, and, the transfer sequence of the first application program and at least one second application programs, And then can be according to the transfer sequence, the operation information of the first application program of acquisition, so that recovery module can be according to this The page opened before the first application recovery to terminal is restarted by operation information, so that application recovery device is not only Before can restart the first application recovery to terminal outside the page that be opened, can also by the first application program and other Transfer sequence between application program is also restored to the transfer sequence before restarting, and further increases Consumer's Experience.
Fig. 6 is a kind of block diagram of the charge prompting device 600 according to an exemplary embodiment.For example, device 600 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium are good for Body equipment, personal digital assistant etc..
With reference to Fig. 6, device 600 can include following one or more assemblies:Process assembly 602, memorizer 604, power supply Component 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, and Communication component 616.
The integrated operation of 602 usual control device 600 of process assembly, such as with display, call, data communication, phase Machine operates and records the associated operation of operation.Process assembly 602 can refer to perform including one or more processors 620 Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 602 can include one or more modules, just Interaction between process assembly 602 and other assemblies.For example, process assembly 602 can include multi-media module, many to facilitate Interaction between media component 608 and process assembly 602.
Memorizer 604 is configured to store various types of data to support the operation in device 600.These data are shown Example includes the instruction of any application program or method for operating on device 600, and contact data, telephone book data disappear Breath, picture, video etc..Memorizer 604 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 600.
Multimedia groupware 608 is included in the touching display screen of one output interface of offer between device 600 and user. In some embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel, screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes that one or more touch Sensor is touched with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or slip be dynamic The border of work, but also detect the persistent period related to touch or slide and pressure.In certain embodiments, multimedia Component 608 includes a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, such as screening-mode or regard During frequency pattern, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera is with after Putting photographic head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 610 is configured to output and/or input audio signal.For example, audio-frequency assembly 610 includes a Mike Wind (MIC), when device 600 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 604 or via communication set Part 616 sends.In certain embodiments, audio-frequency assembly 610 also includes a speaker, for exports audio signal.
, for interface is provided between process assembly 602 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 612 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Main bar button, volume button, start button and lock Determine button.
Sensor cluster 614 includes one or more sensors, and the state for various aspects are provided for device 600 is commented Estimate.For example, sensor cluster 614 can detect the opening/closed mode of device 600, such as relative localization of component, component For the display and keypad of device 600, sensor cluster 614 can be with the position of 600 1 components of detection means 600 or device Change is put, user is presence or absence of with what device 600 was contacted, the temperature of 600 orientation of device or acceleration/deceleration and device 600 Change.Sensor cluster 614 can include proximity transducer, be configured to when not having any physical contact near detection The presence of object.Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging With used in.In certain embodiments, the sensor cluster 614 can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure transducer or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 616 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 616 also includes near-field communication (NFC) module, to promote junction service.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 600 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 604 of instruction, above-mentioned instruction can be performed to complete said method by the processor 620 of device 600.For example, Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light Data storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 600 During row so that device 600 is able to carry out a kind of application recovery method.
The method includes:
After terminal is restarted, the operation information of the first application program recorded before terminal is restarted is obtained;First application Program is in running status before terminal is restarted;
According to the operation information of the first application program, the page opened before the first application recovery to terminal is restarted Face.
Optionally, before above-mentioned terminal is restarted in addition to the first application program, also there are at least one second application programs; Second application program is in running status before terminal is restarted;Transfer sequence is used to characterize the first application program and at least one the Sequencing of two application programs in front stage operation;
After terminal is restarted, the operation information of the first application program recorded before terminal is restarted is obtained, including:
After terminal is restarted, obtain the first application program and at least one second recorded before terminal is restarted and apply journey Transfer sequence between sequence;
According to transfer sequence, in the second application recovery that will be located in transfer sequence before the first application program to end After the page opened before restarting by end, the operation information of the first application program recorded before terminal is restarted is obtained.
Optionally, the application program that above-mentioned first application program is being shown before restarting for terminal;
After the page browsed before first application recovery to terminal is restarted, method also includes:
The page opened before terminal is restarted by the first application program is shown in the main interface of terminal.
Optionally, said method also includes:
During the first application program use, the first application program of real time record and at least one second application programs it Between transfer sequence, and, the operation information of the first application program.
Optionally, the operation information of above-mentioned first application program includes:First application program is opened before terminal is restarted Activity before terminal is restarted of page address or the first application program.
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is limited only by appending claims System.

Claims (11)

1. a kind of application recovery method, it is characterised in that include:
After terminal is restarted, the operation information of the first application program recorded before the terminal is restarted is obtained;Described first Application program is in running status before the terminal is restarted;
It is according to the operation information of first application program, beaten before first application recovery to the terminal is restarted The page opened.
2. method according to claim 1, it is characterised in that the terminal restart before except first application program it Outward, also there are at least one second application programs;Second application program is in running status before the terminal is restarted;
It is described to obtain the operation information of the first application program recorded before the terminal is restarted after terminal is restarted, including:
After terminal is restarted, first application program that records before the terminal is restarted is obtained with described at least one the Transfer sequence between two application programs;The transfer sequence is used to characterize first application program with described at least one the Sequencing of two application programs in front stage operation;
According to the transfer sequence, in the second application program that will be located in the transfer sequence before first application program After the page opened before recovering to the terminal to restart, the fortune of the first application program recorded before the terminal is restarted is obtained Row information.
3. method according to claim 1, it is characterised in that first application program restart for the terminal before The application program of display;
It is described first application recovery to the terminal is restarted before after the page that browsed, methods described is also wrapped Include:
The page opened before the terminal is restarted by first application program is shown in the main interface of the terminal.
4. method according to claim 2, it is characterised in that methods described also includes:
During the first application program use, the first application program described in real time record should with described at least one second With the transfer sequence between program, and, the operation information of first application program.
5. the method according to any one of claim 1-4, it is characterised in that the operation information bag of first application program Include:Page address that first application program is opened before the terminal is restarted or first application program are at the end Hold the Activity before restarting.
6. a kind of application recovery device, it is characterised in that include:
Acquisition module, is configured to after terminal is restarted, the first application program that acquisition is recorded before the terminal is restarted Operation information;First application program is in running status before the terminal is restarted;
Recovery module, is configured to the operation information according to first application program, by first application recovery extremely The page opened before restarting by the terminal.
7. device according to claim 6, it is characterised in that the terminal restart before except first application program it Outward, also there are at least one second application programs;Second application program is in running status before the terminal is restarted;
The acquisition module, is configured to after terminal is restarted, and obtaining described first recorded before the terminal is restarted should With the transfer sequence between program and at least one second application program;And according to the transfer sequence, in the recovery The second application recovery before first application program is located in the transfer sequence is restarted by module to the terminal After front the opened page, the operation information of the first application program recorded before the terminal is restarted is obtained;
Wherein, the transfer sequence is used to characterize first application program with described at least one second application programs on foreground The sequencing of operation.
8. device according to claim 6, it is characterised in that first application program restart for the terminal before The application program of display;
Described device, also includes:
Display module, is configured to beaten before first application recovery is restarted by the recovery module to the terminal After the page opened, the page opened before the terminal is restarted by first application program is shown in the main interface of the terminal Face.
9. device according to claim 7, it is characterised in that described device also includes:
Logging modle, is configured to during the first application program use, the first application program described in real time record with Transfer sequence between described at least one second application programs, and, the operation information of first application program.
10. the device according to any one of claim 6-9, it is characterised in that the operation information of first application program Including:Page address that first application program is opened before the terminal is restarted or first application program are described Terminal restart before Activity.
11. a kind of application recovery devices, it is characterised in that include:
Processor;
For storing the memorizer of the executable instruction of the processor;
Wherein, the processor is configured to:
After terminal is restarted, the operation information of the first application program recorded before the terminal is restarted is obtained;Described first Application program is in running status before the terminal is restarted;
It is according to the operation information of first application program, beaten before first application recovery to the terminal is restarted The page opened.
CN201611175856.8A 2016-12-19 2016-12-19 Application program recovery method and apparatus Pending CN106598704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611175856.8A CN106598704A (en) 2016-12-19 2016-12-19 Application program recovery method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611175856.8A CN106598704A (en) 2016-12-19 2016-12-19 Application program recovery method and apparatus

Publications (1)

Publication Number Publication Date
CN106598704A true CN106598704A (en) 2017-04-26

Family

ID=58599342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611175856.8A Pending CN106598704A (en) 2016-12-19 2016-12-19 Application program recovery method and apparatus

Country Status (1)

Country Link
CN (1) CN106598704A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608771A (en) * 2017-08-16 2018-01-19 深圳天珑无线科技有限公司 Mobile terminal and its open application program method and with store function device
CN107678876A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN109542689A (en) * 2018-11-30 2019-03-29 努比亚技术有限公司 Applied program processing method, terminal and computer readable storage medium
CN109634776A (en) * 2018-10-16 2019-04-16 平安普惠企业管理有限公司 Application recovery method, apparatus, equipment and storage medium
WO2020015415A1 (en) * 2018-07-18 2020-01-23 华为技术有限公司 Method and apparatus for restarting terminal
CN111209559A (en) * 2019-12-23 2020-05-29 东软集团股份有限公司 Permission processing method and device of application program, storage medium and electronic equipment
CN111459715A (en) * 2019-01-20 2020-07-28 华为技术有限公司 Application exception recovery

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7055063B2 (en) * 2000-11-14 2006-05-30 International Business Machines Corporation Method and system for advanced restart of application servers processing time-critical requests
CN101661320A (en) * 2009-09-25 2010-03-03 宇龙计算机通信科技(深圳)有限公司 Method for power-fail restarting
CN102184145A (en) * 2011-05-13 2011-09-14 杭州华三通信技术有限公司 Zero restart-data loss method and logic storage resource management unit
CN103092315A (en) * 2013-01-09 2013-05-08 惠州Tcl移动通信有限公司 Mobile terminal capable of recovering application program after restart
CN105117239A (en) * 2015-07-24 2015-12-02 上海修源网络科技有限公司 Operating system reboot method and apparatus
CN105893867A (en) * 2016-03-28 2016-08-24 乐视控股(北京)有限公司 Terminal equipment operation method and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7055063B2 (en) * 2000-11-14 2006-05-30 International Business Machines Corporation Method and system for advanced restart of application servers processing time-critical requests
CN101661320A (en) * 2009-09-25 2010-03-03 宇龙计算机通信科技(深圳)有限公司 Method for power-fail restarting
CN102184145A (en) * 2011-05-13 2011-09-14 杭州华三通信技术有限公司 Zero restart-data loss method and logic storage resource management unit
CN103092315A (en) * 2013-01-09 2013-05-08 惠州Tcl移动通信有限公司 Mobile terminal capable of recovering application program after restart
CN105117239A (en) * 2015-07-24 2015-12-02 上海修源网络科技有限公司 Operating system reboot method and apparatus
CN105893867A (en) * 2016-03-28 2016-08-24 乐视控股(北京)有限公司 Terminal equipment operation method and terminal equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608771A (en) * 2017-08-16 2018-01-19 深圳天珑无线科技有限公司 Mobile terminal and its open application program method and with store function device
CN107678876A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN107678876B (en) * 2017-09-28 2021-08-10 努比亚技术有限公司 Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
WO2020015415A1 (en) * 2018-07-18 2020-01-23 华为技术有限公司 Method and apparatus for restarting terminal
CN110737476A (en) * 2018-07-18 2020-01-31 华为技术有限公司 terminal restarting method and device
CN109634776A (en) * 2018-10-16 2019-04-16 平安普惠企业管理有限公司 Application recovery method, apparatus, equipment and storage medium
CN109542689A (en) * 2018-11-30 2019-03-29 努比亚技术有限公司 Applied program processing method, terminal and computer readable storage medium
CN111459715A (en) * 2019-01-20 2020-07-28 华为技术有限公司 Application exception recovery
US11803451B2 (en) 2019-01-20 2023-10-31 Huawei Technologies Co., Ltd. Application exception recovery
CN111209559A (en) * 2019-12-23 2020-05-29 东软集团股份有限公司 Permission processing method and device of application program, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN106598704A (en) Application program recovery method and apparatus
CN104484200A (en) Method and device for updating firmware
CN105094577A (en) Method and apparatus for application switching
CN104239094A (en) Method and device for controlling background application programs and terminal equipment
CN104182313A (en) Photographing delay method and device
CN104112119A (en) Face identification-based communication method and apparatus
CN106648730A (en) Processing method and device of abnormal application
CN107102772A (en) Touch control method and device
CN106598488A (en) Distributed data reading method and device
CN104503690A (en) Arrangement method and device for application icons
CN106547547A (en) Collecting method and device
CN104049864A (en) Object control method and device
CN107239351A (en) Method of attaching and device
CN106528113A (en) File compiling method and apparatus
CN107622189A (en) Optimize the method and apparatus of unlocked by fingerprint
CN105187671A (en) Recording method and device
CN104850643A (en) Image comparison method and device
CN106502406A (en) Application program deployment method, device and terminal unit
CN106527886A (en) Picture display method and apparatus
CN105045686A (en) File recovery method and apparatus
CN106406659A (en) Double-open application establishing method and device
CN106527919A (en) Method and device for adjusting screen display
CN105426065A (en) Browsing position marking method and device
CN105704322A (en) Weather information obtaining method and apparatus
CN105827834A (en) Mobile device application method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426