[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108415734A - A kind of application recovery device, method and mobile terminal - Google Patents

A kind of application recovery device, method and mobile terminal Download PDF

Info

Publication number
CN108415734A
CN108415734A CN201810241175.XA CN201810241175A CN108415734A CN 108415734 A CN108415734 A CN 108415734A CN 201810241175 A CN201810241175 A CN 201810241175A CN 108415734 A CN108415734 A CN 108415734A
Authority
CN
China
Prior art keywords
application
active interface
monitoring
interface
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
CN201810241175.XA
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.)
Che Zhi Interconnect (beijing) Technology Co Ltd
Original Assignee
Che Zhi Interconnect (beijing) 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 Che Zhi Interconnect (beijing) Technology Co Ltd filed Critical Che Zhi Interconnect (beijing) Technology Co Ltd
Priority to CN201810241175.XA priority Critical patent/CN108415734A/en
Publication of CN108415734A publication Critical patent/CN108415734A/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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of application recovery devices, and resident to be populated at least one application in the terminal, in mobile terminal, device includes:First monitoring modular is suitable for monitoring the operating status of application;Second monitoring modular is suitable for monitoring the life cycle of each active interface in application;Logging modle, suitable for recording the active interface when the second monitoring module monitors start an active interface to application;Blocking module, suitable for when the first monitoring module monitors are collapsed to application, intercepting the collapse prompt of mobile terminal automatic spring;And recovery module restarts application after being collapsed to application in the first monitoring module monitors;The active interface for the application that logging modle is recorded is obtained, and restores acquired active interface, to restore to apply.The invention also discloses corresponding method and mobile terminals.

Description

A kind of application recovery device, method and mobile terminal
Technical field
The present invention relates to a kind of technical field of mobile terminals more particularly to application recovery device, method and mobile terminals.
Background technology
With the rapid development of hardware and software, the positive rapid proliferation of the mobile terminals such as smart mobile phone, tablet computer.For Meet the various needs of daily life, user's custom installs various applications on mobile terminals.For corresponding use, always Be can not avoid collapsing completely, that is, crash generation.Be usually expressed as occurring when using the application exit suddenly, in Situations such as disconnected, can greatly reduce the usage experience of user.
Therefore, there is an urgent need to a kind of application recovery schemes.
Invention content
For this purpose, the present invention provides a kind of application recovery scheme, with try hard to solve or at least alleviate above it is existing at least One problem.
According to an aspect of the invention, there is provided a kind of application recovery device, is resident in the terminal, device packet It includes:First monitoring modular is suitable for monitoring the operating status of application;Second monitoring modular is suitable for each movable boundary in monitoring application The life cycle in face;Logging modle, suitable for recording the work when the second monitoring module monitors start an active interface to application Arena face;Blocking module, suitable for when the first monitoring module monitors are collapsed to application, intercepting mobile terminal automatic spring Collapse prompt;And recovery module restarts application after being collapsed to application in the first monitoring module monitors;It obtains The active interface for the application that logging modle is recorded, and restore acquired active interface, to restore to apply.
In a device in accordance with the invention, logging modle is further adapted for destroying a work to application when the second monitoring module monitors The record of the active interface is deleted when arena face.
In a device in accordance with the invention, recovery module is further adapted for after one active interface of every recovery, by the activity The record deletion at interface.
In a device in accordance with the invention, logging modle is suitable for starting an activity to application when the second monitoring module monitors The Class objects of the active interface are recorded when interface and start the Intent objects that the active interface is transmitted, and recovery module is suitable In restoring the active interface according to the Class objects of active interface and Intent objects.
In a device in accordance with the invention, further include acquisition module, acquisition module when the first monitoring module monitors suitable for arriving When using collapsing, crash info is acquired.
According to another aspect of the present invention, a kind of application recovery method is provided, suitable for executing in the terminal, side Method includes step:The life cycle of each active interface in monitoring the operating status of application and applying;It is opened when monitoring to apply The active interface is recorded when moving an active interface;When monitoring using collapsing, mobile terminal automatic spring is intercepted Collapse prompt;Restart application;Obtain the active interface of recorded application;And restore acquired active interface, to restore Using.
In the method according to the invention, method further includes step:It is deleted when monitoring using one active interface of destruction Except the record of the active interface.
In the method according to the invention, method further includes step:After one active interface of every recovery, by the activity The record deletion at interface.
In the method according to the invention, the step of record active interface includes:Record active interface Class objects and Start the Intent objects that active interface is transmitted;Reactivate interface the step of include:According to the Class objects of active interface Restore the active interface with Intent objects.
In the method according to the invention, method further includes step:When monitoring using collapsing, acquisition collapse letter Breath.
According to the present invention there are one aspects, provide a kind of mobile terminal, including application according to the present invention is restored Scheme.
Application according to the present invention recovery scheme will be applied i.e. by the active interface applied before collapse recorded When be restored to the state before collapse, reduce using influence to user after collapse occurs, hence it is evident that optimize user experience, subtract Few churn rate, promotes the overall performance of application, improves user's retention ratio of application.The collapse of mobile terminal is masked simultaneously Prompt makes user's perception less than the generation of collapse, further increases user experience.
Description of the drawings
To the accomplishment of the foregoing and related purposes, certain illustrative sides are described herein in conjunction with following description and drawings Face, these aspects indicate the various modes that can put into practice principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical reference numeral generally refers to identical Component or element.
Fig. 1 is exemplarily illustrated the structure diagram of mobile terminal 100;
Fig. 2 is exemplarily illustrated the structure diagram of application recovery device 200 according to an embodiment of the invention;
Fig. 3 is exemplarily illustrated the schematic diagram of collapse prompt according to an embodiment of the invention;And
Fig. 4 is exemplarily illustrated the flow chart of application recovery method 400 according to an embodiment of the invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 is exemplarily illustrated the structure diagram of mobile terminal 100.Mobile terminal 100 with multiple point touching ability can To include memory interface 102, one or more processors 104 and peripheral interface 106.
Memory interface 102, one or more processors 104 and/or peripheral interface 106 either discrete component, It can be integrated in one or more integrated circuits.In the mobile terminal 100, various elements can pass through one or more communication Bus or signal wire couple.Sensor, equipment and subsystem may be coupled to peripheral interface 106, a variety of to help to realize Function.
For example, motion sensor 110, optical sensor 112 and range sensor 114 may be coupled to peripheral interface 106, with Facilitate the functions such as orientation, illumination and ranging.Other sensors 116 can equally be connected with peripheral interface 106, such as positioning system (such as GPS receiver), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help to implement correlation Function.
Camera sub-system 120 and optical sensor 122 can be used for the camera of convenient such as recording photograph and video clipping The realization of function, wherein camera sub-system 120 and optical sensor 122 for example can be charge coupling device (CCD) or complementation Metal-oxide semiconductor (MOS) (CMOS) optical sensor.
It can help to realize communication function, wherein wireless communication by one or more radio communication subsystems 124 System 124 may include radio-frequency transmitter and transmitter and/or light (such as infrared) Receiver And Transmitter.Wirelessly communicate subsystem The particular design and embodiment of system 124 can depend on one or more communication networks that mobile terminal 100 is supported.Example Such as, mobile terminal 100 may include being designed to support GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network And the communication subsystem 124 of BlueboothTM networks.
Audio subsystem 126 can be coupled with loud speaker 128 and microphone 130, to help to implement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.
I/O subsystems 140 may include touch screen controller 142 and/or other one or more input controllers 144. Touch screen controller 142 may be coupled to touch screen 146.For example, the touch screen 146 and touch screen controller 142 can be with The contact carried out therewith and movement or pause are detected using any one of a variety of touch-sensing technologies, wherein sensing skill Art includes but is not limited to capacitive character, resistive, infrared and surface acoustic wave technique.Other one or more input controllers 144 May be coupled to other input/control devicess 148, for example, one or more buttons, rocker switch, thumb wheel, infrared port, The pointer device of USB port, and/or stylus etc.Wherein one or more button (not shown)s may include for controlling The up/down button of 130 volume of loud speaker 128 and/or microphone.
Memory interface 102 can be coupled with memory 150.The memory 150 may include that high random access is deposited Reservoir and/or nonvolatile memory, such as one or more disk storage equipments, one or more optical storage apparatus, and/ Or flash memories (such as NAND, NOR).
Memory 150 can store an operating system 152, for example, Android, IOS or Windows Phone etc behaviour Make system.The operating system 152 may include for handling basic system services and executing the finger of the task dependent on hardware It enables.Memory 150 can also be stored using 154, be operated on operating system using 154.
When mobile device is run, meeting load operating system 152 from memory 150, and executed by processor 104. At runtime using 154, it can also load from memory 150, and be executed by processor 104.Operating system is operated in using 154 On, the interface provided using operating system and bottom hardware realizes the various desired functions of user, such as instant messaging, webpage Browsing, pictures management etc..Can also be that operating system is included using operating system offer can be independently of.
In various applications 154, one such application is the application recovery device 200 according to the present invention.
Fig. 2 schematically illustrates the structure diagram of application recovery device 200 according to an embodiment of the invention.Such as figure Shown in 2, application recovery device 200 includes the first monitoring modular 210, the second monitoring modular 220, logging modle 230, blocking module 240 and recovery module 250.
First monitoring modular 210 is suitable for monitoring the operating status of application, that is, monitors whether the application collapses.This The application at place includes any application in addition to the application recovery device 200 of the present invention installed in mobile terminal 100.
Normally, in Android operation system, the first monitoring modular 210 may be implemented as one it is customized complete Office's exception catching device.Assuming that the entitled AHCrashHandler of the global abnormal grabber, it can be by inheriting Android UncaughtExceptionHandler interfaces in java class library simultaneously realize uncaughtException methods to define.Generation Code example is as follows:
According to embodiment of the present invention, application recovery device 200 can also include the first registration module 260, the One registration module 260 is suitable for registering the first monitoring modular 210 in the mobile terminal 100.Specifically, the first registration module 260 can To add first in the UI main threads of mobile terminal 100 by setDefaultUncaughtExceptionHandler methods Monitoring modular 210.In this way, the first monitoring modular 210 can be monitored the application in mobile terminal 100.
Second monitoring modular 220 is suitable for monitoring the life cycle of each active interface in application.The Life Cycle of active interface Phase includes active interface from the time cycle for starting to destruction.
Normally, in Android operation system, active interface is referred to using the Activity started, that is, is answered With being shown in interface on mobile terminal screen, for being interacted with user.One application can have various Active interface.
Second monitoring modular 220 may be implemented as a global Activity life cycle monitor.When application is opened When moving an active interface, the onActivityCreated methods in Activity life cycle monitors can be executed.Work as application When destroying an active interface, the onActivityDestroyed methods in Activity life cycle monitors can be executed.The Two monitoring modulars 220 can monitor the startup and destruction of active interface accordingly.
According to embodiment of the present invention, application recovery device 200 can also include the second registration module 270, the Two registration modules 270 can register the second monitoring modular 220 in the application.Specifically, the second registration module 270 can pass through The application life cycles readjustment register method provided in Application classes RegisterActivityLifecycleCallbacks registers Activity life cycle monitors in the application.
Logging modle 230 is connected with the second monitoring modular 220, whenever the second monitoring modular 220 is monitored using startup one When a active interface, logging modle 230 records the active interface.
It is to be appreciated that Android operation system, which provides Intent mechanism, assists the interaction between applying and communication, Intent objects use commonly used in one action that will be executed of description generally as parameter.When application starts a work When arena face, it is necessary first to define intent objects to indicate active interface to be started.Specifically, active interface can be passed through Class objects indicate the active interface.Example code is as follows:
" // define an intent object, indicates activity to be started:AHStartActivity
Intent intent=new Intent (MainActivity.this, AHStartActivity.class);”.
Then, active interface can be started according to the intent objects and call method startActivity ().Generation Code example is as follows:
" // use startActivity (), starts activity:AHStartActivity
startActivity(intent);”.
Therefore, according to embodiment of the present invention, in Android operation system, logging modle 230 can should The Class objects of active interface get off with the Intent object records that the active interface is transmitted are started, to record activity circle Face.Specifically, when the second monitoring modular 220 is monitored using a new active interface is started, logging modle 230 can lead to OnActivityCreated methods are crossed to preserve the Class objects for the active interface being currently up.Furthermore it is possible to pass through Call method activity.getIntent () .clone () obtains Intent pairs that starts that current active interface transmitted As.
And when the second monitoring modular 220 is monitored using an active interface is destroyed, logging modle 230 can also delete The record of the active interface, that is, the Class objects and Intent objects of the active interface are deleted, to save memory space.
In general, when application is collapsed, mobile terminal 100 can stop the operation of the application, and automatic spring is such as Collapse prompt shown in Fig. 3, to prompt user, while needing user to carry out the operation of such as click etc, significantly reduces The degree of belief of user experience and user to application.
Blocking module 240 in the application recovery device 200 of the present invention is connected with the first monitoring modular 210, when the first prison It surveys module 210 and monitors that blocking module 240 can intercept collapsing for 100 automatic spring of mobile terminal immediately using when collapsing It bursts and prompts.Blocking module 240 can also be realized in global abnormal grabber mentioned above, not interfere with mobile whole The processing logic at end itself.
Meanwhile the recovery module 250 being connected with the first monitoring modular 210 and logging modle 230, it is suitable for monitoring mould first Block 210 monitors, using after collapsing, to restart the application.Meanwhile recovery module 250 is further adapted for obtaining logging modle 230 The active interface of the application recorded restores these active interfaces, by the state before the application recovery to collapse.
Specifically, recovery module 250 can be according to the Class objects and Intent objects of the active interface recorded come extensive The multiple active interface.It is, restoring to collapse to call startActivity methods according to Class objects and Intent objects The routed active interface started before.
Recovery module 250 is further adapted for after one active interface of every recovery, by the record deletion of the active interface.
In addition, according to embodiment of the present invention, application recovery device 200 can also include acquisition module, acquisition Module can acquire crash info when the first monitoring modular 210 is monitored using collapsing, so as to follow-up further point Analysis is handled.
To sum up, substantially it is exactly the active interface for restoring application using the recovery after collapsing.The present invention can be After collapse occurs, the active interface of application is restarted using record before, to achieve the purpose that restore application, and is used Data before family will not lose.It reduces using the influence that collapse occurs later to user, hence it is evident that optimize user experience, subtract Few churn rate, promotes the overall performance of application, improves user's retention ratio of application.Wherein, by intercepting mobile terminal Collapse prompt, makes user that can not perceive the generation of collapse, further improves user experience.
Fig. 4 is exemplarily illustrated the flow chart of application recovery method 400 according to an embodiment of the invention.Such as Fig. 4 institutes Show, application recovery method 400 is suitable for executing in the mobile terminal 100, and starts from step S410.
In step S410, the life cycle of each active interface in monitoring the operating status of application and applying.Specifically Ground, whether monitoring application collapses, and monitors the startup and destruction of each active interface.
When monitoring using an active interface is started, the active interface is recorded in the step s 420.It specifically, can be with It records the Class objects of the active interface and starts the Intent objects that the active interface is transmitted.Further, it is also possible to when monitoring The record of the active interface is deleted when destroying an active interface to application, that is, deletes the Class objects of the active interface With start the Intent objects that are transmitted of the active interface.
When monitoring using collapsing, the collapse prompt of 100 automatic spring of mobile terminal is intercepted in step S430. Then in step S440, restart the application.
In step S450, which active interface is the active interface of the application recorded before acquisition obtain Class objects and Intent objects.
Finally in step S460, restore acquired active interface, to restore the application.It specifically, can be according to work The Class objects and Intent objects in arena face restore the active interface, after one active interface of every recovery, by the work The record (Class objects and Intent objects) in arena face is deleted.
According to embodiment of the present invention, method 400 can also include step:It is collapsed when monitoring to apply When, acquire crash info.
Above to corresponding in each step in the specific descriptions for illustrating application recovery device 200 in conjunction with Fig. 1~Fig. 3 Processing is explained in detail, and is no longer repeated here duplicate contents.
It should be appreciated that various technologies described herein are realized together in combination with hardware or software or combination thereof.From And some aspects or part of the process and apparatus of the present invention or the process and apparatus of the present invention can take embedded tangible matchmaker It is situated between, such as the program code in floppy disk, CD-ROM, hard disk drive or other arbitrary machine readable storage mediums (refers to Enable) form, wherein when program is loaded into the machine of such as computer etc, and when being executed by the machine, which becomes real The equipment for trampling the present invention.
In the case where program code executes on programmable computers, computing device generally comprises processor, processor Readable storage medium (including volatile and non-volatile memory and or memory element), at least one input unit, and extremely A few output device.Wherein, memory is configured for storage program code;Processor is configured for according to the memory Instruction in the program code of middle storage executes the various methods of the present invention.
The present invention can also include:A10, the method as described in any of A6-9, wherein the method further includes step Suddenly:When monitoring that the application is collapsed, crash info is acquired.
By way of example and not limitation, computer-readable medium includes computer storage media and communication media.It calculates Machine readable medium includes computer storage media and communication media.Computer storage media storage such as computer-readable instruction, The information such as data structure, program module or other data.Communication media is generally modulated with carrier wave or other transmission mechanisms etc. Data-signal processed embodies computer-readable instruction, data structure, program module or other data, and includes that any information passes Pass medium.Above any combination is also included within the scope of computer-readable medium.
It should be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, it is right above In the description of exemplary embodiment of the present invention, each feature of the invention be grouped together into sometimes single embodiment, figure or In person's descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. claimed hair The bright feature more features required than being expressly recited in each claim.More precisely, as the following claims As book reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows specific real Thus the claims for applying mode are expressly incorporated in the specific implementation mode, wherein each claim itself is used as this hair Bright separate embodiments.
Those skilled in the art should understand that the module of the equipment in example disclosed herein or unit or groups Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example In different one or more equipment.Module in aforementioned exemplary can be combined into a module or be segmented into addition multiple Submodule.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
In addition, be described as herein can be by the processor of computer system or by executing for some in the embodiment The combination of method or method element that other devices of the function are implemented.Therefore, have for implementing the method or method The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, device embodiment Element described in this is the example of following device:The device is used to implement performed by the element by the purpose in order to implement the invention Function.
As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc. Description plain objects are merely representative of the different instances for being related to similar object, and are not intended to imply that the object being described in this way must Must have the time it is upper, spatially, in terms of sequence or given sequence in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that The language that is used in this specification primarily to readable and introduction purpose and select, rather than in order to explain or limit Determine subject of the present invention and selects.Therefore, without departing from the scope and spirit of the appended claims, for this Many modifications and changes will be apparent from for the those of ordinary skill of technical field.For the scope of the present invention, to this The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (10)

1. a kind of application recovery device is resident in the terminal, at least one application is populated in the mobile terminal, described Device includes:
First monitoring modular is suitable for monitoring the operating status of the application;
Second monitoring modular is suitable for monitoring the life cycle of each active interface in the application;
Logging modle, suitable for recording the activity when second monitoring module monitors to the application start an active interface Interface;
Blocking module, suitable for when first monitoring module monitors to the application are collapsed, intercepting the mobile terminal The collapse of automatic spring prompts;And
Recovery module restarts the application after being collapsed to the application in first monitoring module monitors;It obtains The active interface for the application that the logging modle recorded is taken, and restores acquired active interface, to be answered described in recovery With.
2. device as described in claim 1, wherein the logging modle is further adapted for when second monitoring module monitors to institute It states using the record for deleting the active interface when destroying an active interface.
3. device as claimed in claim 1 or 2, wherein the recovery module be further adapted for it is every restore active interface it Afterwards, by the record deletion of the active interface.
4. the device as described in any of claim 1-3, wherein the logging modle is suitable for working as second monitoring modular It monitors to record the Class objects of the active interface when application starts an active interface and start the active interface to be passed The Intent objects passed, the recovery module are suitable for being restored according to the Class objects of the active interface and Intent objects The active interface.
5. the device as described in any of claim 1-4, wherein further include acquisition module, the acquisition module is suitable for working as When first monitoring module monitors are collapsed to the application, crash info is acquired.
6. a kind of application recovery method is populated at least one application suitable for executing in the terminal in the mobile terminal, The method includes the steps:
Monitor the operating status of the application and the life cycle of each active interface in the application;
The active interface is recorded when monitoring that the application starts an active interface;
When monitoring that the application is collapsed, the collapse prompt of the mobile terminal automatic spring is intercepted;
Restart the application;
Obtain the active interface of the application recorded;And
Restore acquired active interface, to restore the application.
7. method as claimed in claim 6, wherein the method further includes step:
The record of the active interface is deleted when monitoring that an active interface is destroyed in the application.
8. method as claimed in claims 6 or 7, wherein the method further includes step:
After one active interface of every recovery, by the record deletion of the active interface.
9. the method as described in any of claim 6-8, wherein record active interface the step of include:Record the work The Intent objects that the Class objects and the startup active interface in arena face are transmitted;
Reactivate interface the step of include:Restore the work according to the Class objects of the active interface and Intent objects Arena face.
10. a kind of mobile terminal includes the application recovery device as described in any of claim 1-5.
CN201810241175.XA 2018-03-22 2018-03-22 A kind of application recovery device, method and mobile terminal Pending CN108415734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810241175.XA CN108415734A (en) 2018-03-22 2018-03-22 A kind of application recovery device, method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810241175.XA CN108415734A (en) 2018-03-22 2018-03-22 A kind of application recovery device, method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108415734A true CN108415734A (en) 2018-08-17

Family

ID=63133161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810241175.XA Pending CN108415734A (en) 2018-03-22 2018-03-22 A kind of application recovery device, method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108415734A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187934A (en) * 2019-05-29 2019-08-30 努比亚技术有限公司 Application control method, terminal and computer readable storage medium
CN111782504A (en) * 2020-05-20 2020-10-16 车智互联(北京)科技有限公司 Application program abnormity diagnosis method, mobile terminal and readable storage medium
CN112764958A (en) * 2021-01-27 2021-05-07 上海淇玥信息技术有限公司 Method and device for assisting in repairing page fault and electronic equipment
WO2021190082A1 (en) * 2020-03-25 2021-09-30 华为技术有限公司 Data recovery method and apparatus
WO2022037725A1 (en) * 2020-08-21 2022-02-24 荣耀终端有限公司 System service recovery method and apparatus, and electronic device
US11803451B2 (en) 2019-01-20 2023-10-31 Huawei Technologies Co., Ltd. Application exception recovery

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182086B1 (en) * 1998-03-02 2001-01-30 Microsoft Corporation Client-server computer system with application recovery of server applications and client applications
US20030018681A1 (en) * 2001-05-10 2003-01-23 Corel Corporation System and method for recovering applications
CN105468478A (en) * 2015-11-26 2016-04-06 北京京东尚科信息技术有限公司 Recovery method and apparatus for business data after application crash

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182086B1 (en) * 1998-03-02 2001-01-30 Microsoft Corporation Client-server computer system with application recovery of server applications and client applications
US20030018681A1 (en) * 2001-05-10 2003-01-23 Corel Corporation System and method for recovering applications
CN105468478A (en) * 2015-11-26 2016-04-06 北京京东尚科信息技术有限公司 Recovery method and apparatus for business data after application crash

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11803451B2 (en) 2019-01-20 2023-10-31 Huawei Technologies Co., Ltd. Application exception recovery
CN110187934A (en) * 2019-05-29 2019-08-30 努比亚技术有限公司 Application control method, terminal and computer readable storage medium
CN110187934B (en) * 2019-05-29 2022-06-28 柴森森 Application control method, terminal and computer readable storage medium
WO2021190082A1 (en) * 2020-03-25 2021-09-30 华为技术有限公司 Data recovery method and apparatus
CN111782504A (en) * 2020-05-20 2020-10-16 车智互联(北京)科技有限公司 Application program abnormity diagnosis method, mobile terminal and readable storage medium
CN111782504B (en) * 2020-05-20 2023-12-01 车智互联(北京)科技有限公司 Application program abnormality diagnosis method, mobile terminal and readable storage medium
WO2022037725A1 (en) * 2020-08-21 2022-02-24 荣耀终端有限公司 System service recovery method and apparatus, and electronic device
CN112764958A (en) * 2021-01-27 2021-05-07 上海淇玥信息技术有限公司 Method and device for assisting in repairing page fault and electronic equipment
CN112764958B (en) * 2021-01-27 2023-01-13 上海淇玥信息技术有限公司 Method and device for assisting in repairing page fault and electronic equipment

Similar Documents

Publication Publication Date Title
CN108415734A (en) A kind of application recovery device, method and mobile terminal
CN105630686B (en) A kind of application traversal test method, equipment and mobile terminal
CN105868105B (en) A kind of application traversal test method, equipment and mobile terminal
CN107402835B (en) Application program exception handling method and device, storage medium and mobile terminal
EP3032412B1 (en) Method and device for upgrading firmware
CN105512033B (en) A kind of automated testing method of mobile terminal, device and mobile terminal
CN105975391B (en) One kind restarting test method, equipment and mobile terminal
US20160026534A1 (en) Method and device for saving storage space
WO2014123898A1 (en) Automatic updating of applications
CN107301052A (en) The display methods and mobile terminal of a kind of help information
CN105955765A (en) Method and device for application preloading
CN106066770A (en) Memory space management and device
CN107370772A (en) Account login method, device and computer-readable recording medium
CN108182131A (en) Monitor method, apparatus, storage medium and the electronic equipment of application operation state
CN104202483A (en) Display screen switch controller of mobile terminal
CN105930213B (en) Using operation method and device
CN104318185B (en) A kind of application control method, equipment and mobile terminal
KR101588121B1 (en) Determination of device body location
CN105187639A (en) Method and device for switching talk mode during call and mobile terminal
CN110516187A (en) A kind of page processing method, mobile terminal, readable storage medium storing program for executing
CN104516643A (en) Method and device for start application, and computing terminal
CN106249995B (en) Notification method and device
CN110515850A (en) A kind of applied program testing method, mobile terminal and storage medium
CN104391742B (en) Optimizing application method and apparatus
CN107239236A (en) Method for writing data 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

Application publication date: 20180817

RJ01 Rejection of invention patent application after publication