CN103870747B - Method and device for monitoring and processing application program - Google Patents
Method and device for monitoring and processing application program Download PDFInfo
- Publication number
- CN103870747B CN103870747B CN201410127832.XA CN201410127832A CN103870747B CN 103870747 B CN103870747 B CN 103870747B CN 201410127832 A CN201410127832 A CN 201410127832A CN 103870747 B CN103870747 B CN 103870747B
- Authority
- CN
- China
- Prior art keywords
- application program
- monitoring
- stopping
- application
- monitored
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 175
- 238000012544 monitoring process Methods 0.000 title claims abstract description 98
- 238000012545 processing Methods 0.000 title claims abstract description 36
- 230000026676 system process Effects 0.000 claims abstract description 86
- 238000003672 processing method Methods 0.000 claims abstract description 33
- 238000011084 recovery Methods 0.000 claims description 18
- 230000002159 abnormal effect Effects 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 4
- 241001455214 Acinonyx jubatus Species 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004140 cleaning Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000035807 sensation Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/52—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
Abstract
The embodiment of the invention discloses a method and device for monitoring and processing an application program. Stability of the application program can be improved. The monitoring and processing method comprises the steps that the process of the specified application program is monitored through a system process; after the fact that the process of the application program stops is monitored, whether the process of the application program stops abnormally nor not is judged; if the process of the application program stops abnormally, the application program is restarted actively. The monitoring and processing device comprises a monitoring unit and a restoration unit, the monitoring unit is used for monitoring the specified application program through the system process and also used for judging whether the process of the application program stops abnormally nor not after the fact that the process of the application program stops is monitored, and the restoration unit is used for actively restarting the application program if the process of the application program stops abnormally. The method and device are suitable for the technical field of application program safety and stability.
Description
Technical field
The present invention relates to applications security technical field, more particularly to a kind of application program monitoring and processing method
And device.
Background technology
Existing Android system is authorized the authority of third-party application software and is relatively opened, and any application software can make the
Tripartite's application program is out of service, so that so that the application journey of the application program based on Android operation system, especially tool-class
The normal operation of sequence is destroyed.
Due to the application program by third-party application software it is out of service after, some functions of the application program can be lost
Effect, such as alarm clock, music so that user runs into puzzlement during the application program is used.
The content of the invention
In view of this, the embodiment of the present invention provides monitoring and the processing method and processing device of a kind of application program, it is possible to increase
The stability of application program.
On the one hand, the embodiment of the present invention provides monitoring and the processing method of a kind of application program, including:
The process of specified application program is monitored by system process;
After the process for monitoring the application program stops, whether the stopping for judging the process of the application program is different
Often stop;
If judging the stopping of the process of the application program to abend, actively the application program is opened again
It is dynamic.
Alternatively, described being monitored to the process of specified application program by system process is included before:Described
After application program launching, set up or application system process;The application program that the system process can be specified at least one
Process be monitored.
Alternatively, it is described by the system process process of the application program specified is monitored including:It is logical
The pipeline set up between the process of the system process and the application program is crossed, the process to the application program is supervised
Control.
Alternatively, the stopping of the process for judging the application program whether be abend including:When the application
When the process of program stops, obtaining the application program of current application storehouse stack top, and the application program to the stack top bag name
It is analyzed;If the entitled system of bag is set, it is determined that the stopping of the process of the application program is normal stopping;If described
Bag name is not the bag name that system is set, it is determined that the stopping of the process of the application program is to abend.
Alternatively, the monitoring of the application program and processing method also include:When user is in the application program main interface
On when being terminated the process of the application program manually, the process of the application program is actively tied to system process transmission
The mark of beam;After the system process receives the mark that the active terminates, after the process of the application program stops, no
Can actively by application program restarting.
Alternatively, the monitoring of the application program and processing method also include:After the application program is again started up, institute
State the mark that the process of application program is again started up to system process transmission;The system process is opened again described in receiving
After dynamic mark, the process to the application program is monitored.
Alternatively, if the system process judges that the stopping of the process of the application program, to abend, is led
It is dynamic to include application program restarting:If the system process judges the stopping of the process of the application program for abnormal
After stopping, then after the time delay predetermined time, then actively by application program restarting.
Alternatively, the monitoring of the application program and processing method also include:Described will actively be answered in the system process
After being restarted with program, the display of the icon of application program described in temporary close in informing, and start monitoring screen locking or
Charge event;When any one generation in monitoring screen locking or charge event, then by the icon of the application program logical
Know display in column.
Alternatively, the prison of the monitoring of the application program and the processing method application software suitable for Android operation system
Control and treatment.
The monitoring of the application program described in the embodiment of the present invention and processing method, by system process to specified application journey
The process of sequence is monitored, and after the process for monitoring the application program stops, judging that the process of the application program is stopped
Only whether abend, if judging the stopping of the process of the application program to abend, actively by the application journey
Sequence restarts, in such manner, it is possible to after avoiding the application program from exiting in abnormal cases, some functions can fail, to user
Puzzlement is caused, so that, improve the stability of the application program.And user is in use also without complicated behaviour
Make, so that, also improve Consumer's Experience.
The another aspect embodiment of the present invention provides monitoring and the processing unit of a kind of application program, including:Monitoring unit, uses
The process of specified application program is monitored in by system process;When the process for monitoring the application program stops
Afterwards, judge whether the stopping of the process of the application program abends;Recovery unit, if entering for the application program
The stopping of journey actively restarts the application program to abend.
Alternatively, the monitoring of the application program and processing unit also include:Unit is set up, in the application program
After startup, the system process is set up;Or application unit, for after the application program launching, applying for that the system is entered
Journey.
Alternatively, the monitoring unit includes:System process module, supervises for the process to the application program
Control;Pipeline module, for the communication between the system process module and the process of monitored application program.
Alternatively, the system process module includes:Acquisition submodule, stops for the process when the application program
When, obtain the application program of current application storehouse stack top;Analysis submodule, for the Bao Mingjin of the application program to the stack top
Row analysis;Judging submodule, if being set for the entitled system of bag, it is determined that the stopping of the process of the application program is just
Often stop;If the bag name that the bag name is not system to be set, it is determined that the stopping of the process of the application program is to abend.
Alternatively, the system process module also includes:Receiving submodule, for when user is on the main boundary of the application program
When being terminated the process of the application program on face manually, the process of the application program is received to the system process module
The mark that the active of transmission terminates, and the information transmission that the active of the application program is terminated gives the recovery unit.
Alternatively, the receiving submodule, is additionally operable to after the application program is again started up, receive the application program
The mark being again started up that is transmitted to the system process module of process, and start the prison to the process of the application program
Control.
Alternatively, the recovery unit includes:Timer, if judging entering for the application program for the judging unit
The stopping of journey is for after abending, after the time delay predetermined time, then active restarts the application program.
Alternatively, the monitoring of the application program and processing unit also include:Display control unit, in the recovery
After unit actively restarts the application program, the display of the icon of application program described in temporary close in informing,
And monitor screen locking or charge event;When any one generation in monitoring screen locking or charge event, then the display control
Unit shows the icon of the application program in informing.
Alternatively, the prison of the monitoring of the application program and the processing unit application software suitable for Android operation system
Control and treatment
The monitoring of the application program described in the embodiment of the present invention and processing unit, should to specified by the monitoring unit
It is monitored with the process of program, after the process for monitoring the application program stops, then institute is judged by the monitoring unit
Whether the stopping for stating the process of application program abends, if the stopping of the process of the application program is to abend,
Actively the application program is restarted by the recovery unit, in such manner, it is possible to avoid the application program in abnormal feelings
After being exited under condition, some functions of the application program can be failed, and puzzlement is caused to user, so that, improve the application journey
The stability of sequence.And user is in use also without complicated operation, so that, also improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is monitoring and the schematic flow sheet of the embodiment of processing method one of application program of the invention;
Fig. 2 is monitoring and the structural representation of the embodiment of processing unit one of application program of the invention;
Fig. 3 is monitoring and the structural representation of another embodiment of processing unit of application program of the invention;
Fig. 4 is monitoring and the structural representation of processing unit another embodiment of application program of the invention;
Fig. 5 is monitoring and the structural representation of the another embodiment of processing unit of application program of the invention;
Fig. 6 is monitoring and the structural representation of the another embodiment of processing unit of application program of the invention;
Fig. 7 is monitoring and the structural representation of the another embodiment of processing unit of application program of the invention.
Specific embodiment
Monitoring below in conjunction with the accompanying drawings to a kind of application program of the embodiment of the present invention and processing method, monitoring and processing unit
It is described in detail.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its
Its embodiment, belongs to the scope of protection of the invention.
Referring to shown in Fig. 1, a kind of monitoring of application program of the invention and the specific embodiment of processing method, including:
S1, the process of specified application program is monitored by system process;
S2, when monitor the application program process stop after, judge the application program process stopping whether
It is to abend;
If S3, judge the application program process stopping to abend, actively by the application program again
Start.
The monitoring of the application program and processing method, are supervised by system process to the process of specified application program
Control, after the process for monitoring the application program stops, whether the stopping for judging the process of the application program is abnormal stopping
Only, if judging the stopping of the process of the application program to abend, actively by application program restarting, this
Sample, after the application program can be avoided to exit in abnormal cases, some functions can be failed, and puzzlement is caused to user, so that,
Improve the stability of the application program, the perfect fault tolerant mechanism of the application program.And user is in use
Also without complicated operation, so that, also improve Consumer's Experience.
It is alternatively, described to be entered by system in the monitoring of aforementioned applications program and the specific embodiment of processing method
Journey is monitored to the process of specified application program(S1)Include before:After the application program launching, set up or Shen
Please system process;The process of the application program that the system process can be specified at least one is monitored.
In the present embodiment, after the application program launching, create or apply that the system of a system level is entered at once
Journey, is monitored and processed by the system process to the process of the application program, is answered described so as to help to eliminate
After being stopped with the process of program, user cannot carry out the limitation of any operation to the application program.For example, starting cheetah
After cleaning great master's application program, a process for system level is created at once, and be by the process naming of the system level
Root jar, then join process and the root jar foundation that the cheetah clears up great master's application program by setting up pipeline
System, so that the root jar can be monitored and process to cheetah cleaning great master's application program;Again such as, starting
After Android battery doctor's application program, application system process root jar at once, and make the root with same method
Jar service foundation main with Android battery doctor's application program is contacted, so that Android battery doctor's application program
Main service is forced automatically recover by the root jar after stopping by third party software, prevents the Android battery doctor
The main service of application program is abended so that some disablers.
It is alternatively, described by the system in the monitoring of aforementioned applications program and the specific embodiment of processing method
System process the process of the application program specified is monitored including:By in the system process and the application program
Process between the pipeline set up, the process to the application program is monitored.In the present embodiment, institute is made by the pipeline
Process and the system process foundation for stating application program are contacted, and the process of the application program passes through the pipeline to the system
System process sends information, if the process exception of the application program terminates, is such as stopped or soft by other third-party applications by system
Part is forbidden, then the process of the application program cannot send information by the pipeline, i.e., described pipeline cannot normal communication, institute
The information that system process does not receive the process of the application program is stated, so that the system process is known in time by this method
The running status of the application program that road is monitored.
In the monitoring of aforementioned applications program and the specific embodiment of processing method, alternatively, should described in the judgement
With the stopping of the process of program whether be abend including:When the process of the application program stops, current application is obtained
The application program of storehouse stack top, and bag name to the application program of the stack top is analyzed;If the entitled system of bag is set,
The stopping for then determining the process of the application program is normal stopping;If the bag name that the bag name is not system to be set, it is determined that
The stopping of the process of the application program is to abend.In the present embodiment, the normal stopping refers to that user actively terminates to answer
With the process of program, described abending refers to process that non-user actively terminates application program(Such as by third-party application journey
Sequence is forbidden);When user actively terminates the process of application program, user is it has been understood that the consequence of application program stopping, institute
So that the system process will not actively adjust the process that will not actively restart the application program under this situation;In hair
After the existing application program operation exception, the system process has actively adjusted the process of the application program, makes the application journey
Sequence remains on state, so as to prevent the process due to the application program from stopping, causing some disablers, such as informing figure
Be marked on process disappear after cannot show, exchange-column shift pattern also cannot normally be run.
In the monitoring of aforementioned applications program and the specific embodiment of processing method, alternatively, the application program
Monitoring and processing method also include:When user is terminated entering for the application program manually in the application program main interface
Cheng Shi, the process of the application program transmits the mark for actively terminating to the system process;The system process receives institute
After stating the mark for actively terminating, after the process of the application program stops, will not actively by application program restarting.
The process that the user is terminated the application program manually in the application program main interface is that user actively terminates to answer
With the process of program, user it has been understood that the application program stop consequence, so, the system process will not under this situation
The process of the application program is actively adjusted.
In the monitoring of aforementioned applications program and the specific embodiment of processing method, alternatively, the application program
Monitoring and processing method also include:After the application program is again started up, the process of the application program is entered to the system
The mark that journey transmission is again started up;After the system process receives the mark being again started up, to the application program
Process is monitored.So, the monitoring by the system process to the process of the application program, the application program it is steady
Qualitative and fault tolerant mechanism can be more perfect, so that, it is to avoid what the application program was brought after exiting in abnormal cases to user
Inconvenience.
In the monitoring of aforementioned applications program and the specific embodiment of processing method, alternatively, if the system
Process judges the stopping of the process of the application program to abend, then actively include application program restarting:
If after the system process judges the stopping of the process of the application program to abend, after the time delay predetermined time, then
Actively by application program restarting.In the present embodiment, the application program restart during, from stop to
Recovery have a time difference, in the time period process of the application program be it is non-existent, now informing icon also without
Method shows that so, restarting at once can cause application journey described in informing to user after the application exception stops
The icon of sequence can dodge sensation.Preferably, when the process that the system process monitors the application program is closed,
Start timer, the time delay specified time, such as 10 seconds, then restarted, so as to prevent user from finding that the icon dodges
It is dynamic.
In the monitoring of aforementioned applications program and the specific embodiment of processing method, in order to avoid the application program
Icon flashes in informing, and alternatively, the monitoring of the application program and processing method also include:In the system process master
It is dynamic the application program is restarted after, the display of the icon of application program described in temporary close in informing, and starting
Monitoring screen locking or charge event;When any one generation in monitoring screen locking or charge event, then by the application program
Icon shown in informing.
Referring to shown in Fig. 2, the embodiment of the present invention provides monitoring and the processing unit of a kind of application program, including:Monitoring is single
Unit 1, for being monitored to the process of specified application program by system process;When the process for monitoring the application program
After stopping, judging whether the stopping of the process of the application program abends;Recovery unit 2, if for the application journey
The stopping of the process of sequence actively restarts the application program to abend.
The monitoring of the application program and processing unit, by 1 pair of process of the application program specified of the monitoring unit
It is monitored, after the process for monitoring the application program stops, then the application program is judged by the monitoring unit 1
Whether the stopping of process abends, if the stopping of the process of the application program is to abend, by the recovery
The active of unit 2 restarts the application program, in such manner, it is possible to after avoiding the application program from exiting in abnormal cases,
Some functions of the application program can be failed, and puzzlement is caused to user, so that, the stability of the application program is improve,
The perfect fault tolerant mechanism of the application program.And user is in use also without complicated operation, so that, also carry
Consumer's Experience is risen.
Referring to shown in Fig. 3, in the monitoring of aforementioned applications program and the specific embodiment of processing unit, alternatively, institute
The monitoring and processing unit for stating application program also include:Unit 3 is set up, for after the application program launching, setting up described
System process;Or application unit 4, for after the application program launching, applying for the system process.
In the present embodiment, after the application program launching, create or apply that the system of a system level is entered at once
Journey, is monitored and processed by the system process to the process of the application program, is answered described so as to help to eliminate
After being stopped with the process of program, user cannot carry out the limitation of any operation to the application program.For example, starting cheetah
After cleaning great master's application program, a process for system level is created at once, and be by the process naming of the system level
Root jar, then join process and the root jar foundation that the cheetah clears up great master's application program by setting up pipeline
System, so that the root jar can be monitored and process to cheetah cleaning great master's application program;Again such as, starting
After Android battery doctor's application program, application system process root jar at once, and make the root with same method
Jar service foundation main with Android battery doctor's application program is contacted, so that Android battery doctor's application program
Main service is forced automatically recover by the root jar after stopping by third party software, prevents the Android battery doctor
The main service of application program is abended so that some disablers.In the present embodiment, the system process can be at least one
The process of the individual application program specified is monitored.
Referring to shown in Fig. 4, in the monitoring of aforementioned applications program and the specific embodiment of processing unit, alternatively, institute
Stating monitoring unit 1 includes:System process module 11, is monitored for the process to the application program;Pipeline module 12, uses
Communication between the process of the system process module 11 and monitored application program.In the present embodiment, by the pipe
Road module 12 contacts the process of the application program and the system process module 11 foundation, and the process of the application program is led to
Cross the pipeline module 12 and send information to the system process module 11, if the process exception of the application program terminates, such as
Stopped or forbidden by other third-party application softwares by system, then the process of the application program cannot be by the pipeline module
12 send information, i.e., described pipeline module 12 cannot normal communication, the system process module 11 do not receive the application journey
The information of the process of sequence, so that the system process knows the operation shape of monitored application program in time by this method
State.
Referring to shown in Fig. 5, in the monitoring of aforementioned applications program and the specific embodiment of processing unit, alternatively, institute
Stating system process module 11 includes:Acquisition submodule 111, for when the process of the application program stops, currently should obtaining
With the application program of storehouse stack top;Analysis submodule 112, the bag name for the application program to the stack top is analyzed;Sentence
Disconnected submodule 113, if being set for the entitled system of bag, it is determined that the stopping of the process of the application program is normally to stop
Only;If the bag name that the bag name is not system to be set, it is determined that the stopping of the process of the application program is to abend.
In the present embodiment, the normal stopping refers to the process that user actively terminates application program, and described abending is
Refer to that non-user actively terminates the process of application program(Such as forbidden by third party application);When user actively terminates to apply journey
During the process of sequence, user it has been understood that the application program stop consequence, so, the recovery unit 2 will not under this situation
Actively the process that will not actively restart the application program is adjusted;After the application program operation exception is found, institute
State the process that recovery unit 2 has actively adjusted the application program, the application program is remained on state, so as to prevent due to
The process of the application program stops, and causes some disablers, such as informing icon cannot be shown after process disappearance, timing
Switch mode also cannot normally run.
Referring to shown in Fig. 6, in the monitoring of aforementioned applications program and the specific embodiment of processing unit, alternatively, institute
Stating system process module 11 also includes:Receiving submodule 114, for being carried out in the application program main interface manually as user
When terminating the process of the application program, the active knot that the process of the application program is transmitted to the system process module is received
The mark of beam, and the information transmission that the active of the application program is terminated gives the recovery unit 2.It is described in the present embodiment
The process that user is terminated the application program manually in the application program main interface is that user actively terminates to apply journey
The process of sequence, user it has been understood that the application program stop consequence, so, the recovery unit 2 will not be led under this situation
Move the process for having adjusted the application program.
In the monitoring of aforementioned applications program and the specific embodiment of processing unit, alternatively, the receiving submodule
114, it is additionally operable to after the application program is again started up, the process for receiving the application program is passed to the system process module
The mark being again started up passed, and start the monitoring to the process of the application program.So, by the system process to institute
The monitoring of the process of application program is stated, the stability and fault tolerant mechanism of the application program can be more perfect, so that, it is to avoid it is described
The inconvenience that application program is brought after exiting in abnormal cases to user.
In the monitoring of aforementioned applications program and the specific embodiment of processing unit, alternatively, the recovery unit 2 is wrapped
Include:Timer, if after judging the stopping of the process of the application program to abend for the judging unit, time delay makes a reservation for
Time after, then actively by the application program restarting.In the present embodiment, in the process of application program restarting
In, a time difference is had from stopping to recovering, the process of the application program is non-existent in the time period, is now notified
Column icon cannot also show, so, the application exception stop after during restarting at once can cause informing to user
The icon of the application program can dodge sensation.Preferably, when the system process monitors entering for the application program
When journey is closed, start timer, the time delay specified time, such as 10 seconds, then restarted, so as to prevent user from finding
The icon flashes.
Referring to shown in Fig. 7, in the monitoring of aforementioned applications program and the specific embodiment of processing unit, in order to avoid institute
The icon for stating application program flashes in informing, and alternatively, the monitoring of the application program and processing unit also include:Display
Control unit 5, after in recovery unit active by application program restarting, application program described in temporary close
Display of the icon in informing, and monitor screen locking or charge event;In screen locking or charge event is monitored any one
During individual generation, then the display control unit 5 shows the icon of the application program in informing.
The monitoring of the application program described in various embodiments of the present invention and processing method and processing device, it is adaptable to which system is operated to Android
The monitoring and treatment of application software in system, but the invention is not restricted to this.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access
Memory, RAM)Deng.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all should
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (13)
1. a kind of monitoring of application program and processing method, it is characterised in that including:
The process of specified application program is monitored by system process;
After the process for monitoring the application program stops, whether the stopping for judging the process of the application program is abnormal stopping
Only, the stopping of the process for judging the application program whether be abend including:When the process of the application program is stopped
When only, the application program of current application storehouse stack top is obtained, and bag name to the application program of the stack top is analyzed;If institute
State the entitled system of bag to set, it is determined that the stopping of the process of the application program is normal stopping;If the bag name is not system
The bag name of setting, it is determined that the stopping of the process of the application program is to abend;
If judging the stopping of the process of the application program to abend, actively by application program restarting;
If the stopping of the process for judging the application program is to abend, actively by application program restarting
Including:
If after the system process judges the stopping of the process of the application program to abend, the time delay predetermined time
Afterwards, then actively by application program restarting.
2. the monitoring of application program according to claim 1 and processing method, it is characterised in that described by system process
Include before being monitored to the process of specified application program:
After the application program launching, the system process is set up or applied;The system process can be at least one
The process of the application program specified is monitored.
3. the monitoring of application program according to claim 1 and processing method, it is characterised in that described by the system
Process the process of the application program specified is monitored including:
By the pipeline set up between the process of the system process and the application program, to the process of the application program
It is monitored.
4. the monitoring of application program according to claim 1 and processing method, it is characterised in that also include:
When user is terminated the process of the application program manually in the application program main interface, the application program
Process to the system process transmission actively mark that terminates;
After the system process receives the mark that the active terminates, after the process of the application program stops, Bu Huizhu
It is dynamic to restart the application program.
5. the monitoring of application program according to claim 4 and processing method, it is characterised in that also include:
After the application program is again started up, the process of the application program transmits the mark being again started up to the system process
Note;
After the system process receives the mark being again started up, the process to the application program is monitored.
6. the monitoring of application program according to claim 1 and processing method, it is characterised in that also include:
After the system process actively restarts the application program, the icon of application program described in temporary close is logical
Know the display in column, and start to monitor screen locking or charge event;
When any one generation in monitoring screen locking or charge event, then by the icon of the application program in informing
Display.
7. the monitoring of the application program according to claim any one of 1-6 and processing method, it is characterised in that the application
The monitoring and treatment of the monitoring of program and the processing method application software suitable for Android operation system.
8. a kind of monitoring of application program and processing unit, it is characterised in that including:
Monitoring unit, for being monitored to the process of specified application program by system process;When monitoring the application
After the process of program stops, judging whether the stopping of the process of the application program abends;
Recovery unit, if the stopping for the process of the application program is to abend, actively by the application program again
Start;
The monitoring unit includes:
System process module, is monitored for the process to the application program;
Pipeline module, for the communication between the system process module and the process of monitored application program;
The system process module includes:
Acquisition submodule, for when the process of the application program stops, obtaining the application program of current application storehouse stack top;
Analysis submodule, the bag name for the application program to the stack top is analyzed;
Judging submodule, if being set for the entitled system of bag, it is determined that the stopping of the process of the application program is normal
Stop;If the bag name that the bag name is not system to be set, it is determined that the stopping of the process of the application program is to abend;
The recovery unit includes:
Timer, if the stopping for the process of the application program is after abending, after the time delay predetermined time, then actively
By application program restarting.
9. the monitoring of application program according to claim 8 and processing unit, it is characterised in that also include:
Unit is set up, for after the application program launching, setting up the system process;Or
Application unit, for after the application program launching, applying for the system process.
10. the monitoring of application program according to claim 8 and processing unit, it is characterised in that the system process mould
Block also includes:
Receiving submodule, the process for being terminated the application program manually in the application program main interface as user
When, receive the mark that the process of the application program terminates to the active that the system process module is transmitted, and by the application
The information transmission that the active of program terminates gives the recovery unit.
The monitoring of 11. application programs according to claim 10 and processing unit, it is characterised in that the reception submodule
Block, is additionally operable to after the application program is again started up, and the process for receiving the application program is passed to the system process module
The mark being again started up passed, and start the monitoring to the process of the application program.
The monitoring of 12. application programs according to claim 8 and processing unit, it is characterised in that also include:
Display control unit, after in recovery unit active by application program restarting, described in temporary close
Display of the icon of application program in informing, and monitor screen locking or charge event;In screen locking or charge event is monitored
Any one generation when, then the display control unit shows the icon of the application program in informing.
The monitoring of 13. application program according to claim any one of 8-12 and processing unit, it is characterised in that described to answer
With the monitoring and treatment of monitoring and the processing unit application software suitable for Android operation system of program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410127832.XA CN103870747B (en) | 2014-03-31 | 2014-03-31 | Method and device for monitoring and processing application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410127832.XA CN103870747B (en) | 2014-03-31 | 2014-03-31 | Method and device for monitoring and processing application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103870747A CN103870747A (en) | 2014-06-18 |
CN103870747B true CN103870747B (en) | 2017-05-24 |
Family
ID=50909271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410127832.XA Expired - Fee Related CN103870747B (en) | 2014-03-31 | 2014-03-31 | Method and device for monitoring and processing application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870747B (en) |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224861B (en) * | 2014-06-13 | 2018-04-06 | Tcl集团股份有限公司 | The deadlock condition processing method and system of a kind of smart machine |
CN105279433B (en) * | 2014-07-10 | 2020-10-16 | 腾讯科技(深圳)有限公司 | Application program protection method and device |
CN105573777B (en) * | 2014-11-11 | 2020-01-14 | 阿里巴巴集团控股有限公司 | Method and device for controlling service in application |
CN105893066A (en) * | 2014-12-19 | 2016-08-24 | 上海涌杰信息科技有限公司 | Android system based mobile terminal recovery control method |
CN104573506A (en) * | 2015-01-06 | 2015-04-29 | 中国科学院信息工程研究所 | Virtual machine based real-time monitoring method and device for process behavior |
CN105099812A (en) * | 2015-06-12 | 2015-11-25 | 深圳市美贝壳科技有限公司 | Communication service monitoring method and system based on Android system |
CN105511721B (en) * | 2015-12-02 | 2018-12-25 | 小米科技有限责任公司 | page display method and device |
CN105354131A (en) * | 2015-12-11 | 2016-02-24 | 北京慧眼智行科技有限公司 | Monitoring method for running of service program and device |
CN106933659B (en) * | 2015-12-30 | 2020-06-26 | 华为技术有限公司 | Method and device for managing processes |
CN106201585A (en) * | 2016-06-28 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of Notification Method and electronic equipment |
CN106227622B (en) * | 2016-07-29 | 2019-11-29 | 上海斐讯数据通信技术有限公司 | A kind of method and system of Android application software abnormality processing |
CN106293335A (en) * | 2016-07-29 | 2017-01-04 | 宇龙计算机通信科技(深圳)有限公司 | Application program grading management method and system |
CN107801064B (en) * | 2016-09-05 | 2020-08-18 | 中国移动通信集团公司 | Self-repairing method and device for multi-screen interactive system |
CN106649577B (en) * | 2016-11-17 | 2020-02-07 | 杭州沃趣科技股份有限公司 | Method for detecting running state of synchronous software of Oracle database |
CN107168615A (en) * | 2017-06-20 | 2017-09-15 | 北京金山安全软件有限公司 | Charging optimization method and device, electronic equipment and storage medium |
CN109241729B (en) * | 2017-07-10 | 2022-05-13 | 阿里巴巴集团控股有限公司 | Application program detection and processing method and device, terminal device and electronic device |
CN107392012A (en) * | 2017-07-25 | 2017-11-24 | 广州平云信息科技有限公司 | Application method for managing and monitoring, device and the mobile device of mobile device |
CN107463419B (en) * | 2017-09-21 | 2021-01-26 | 青岛海信移动通信技术股份有限公司 | Application restarting method and device and computer readable storage medium |
CN107729213B (en) * | 2017-10-11 | 2022-04-26 | 杭州迪普科技股份有限公司 | Background task monitoring method and device |
CN108153620A (en) * | 2017-12-27 | 2018-06-12 | 深圳豪客互联网有限公司 | A kind of course control method and device |
CN108363582B (en) * | 2018-01-11 | 2021-08-20 | 海信视像科技股份有限公司 | Method and device for upgrading homepage of intelligent terminal |
CN109033819A (en) * | 2018-05-23 | 2018-12-18 | 福建天晴数码有限公司 | Protect method, the computer readable storage medium of application process continuous service |
CN111898116B (en) * | 2019-12-26 | 2021-09-24 | 长扬科技(北京)有限公司 | Cache-based industrial white list learning method and system |
CN112395106A (en) * | 2020-11-17 | 2021-02-23 | 努比亚技术有限公司 | Process management method, mobile terminal, and computer-readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880817A (en) * | 2012-08-20 | 2013-01-16 | 福建升腾资讯有限公司 | Running protection method for computer software product |
CN103002342A (en) * | 2012-11-12 | 2013-03-27 | 北京奇虎科技有限公司 | Method and system for protecting television camera |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2011104824A1 (en) * | 2010-02-23 | 2013-06-17 | 富士通株式会社 | Multi-core processor system, control program, and control method |
-
2014
- 2014-03-31 CN CN201410127832.XA patent/CN103870747B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880817A (en) * | 2012-08-20 | 2013-01-16 | 福建升腾资讯有限公司 | Running protection method for computer software product |
CN103002342A (en) * | 2012-11-12 | 2013-03-27 | 北京奇虎科技有限公司 | Method and system for protecting television camera |
Also Published As
Publication number | Publication date |
---|---|
CN103870747A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870747B (en) | Method and device for monitoring and processing application program | |
US10491671B2 (en) | Method and apparatus for switching between servers in server cluster | |
WO2017152763A1 (en) | Physical machine failure classification handling method and device, and virtual machine recovery method and system | |
CN105933407B (en) | method and system for realizing high availability of Redis cluster | |
CN108173911B (en) | Micro-service fault detection processing method and device | |
JP2001101033A (en) | Fault monitoring method for operating system and application program | |
RU2007149553A (en) | METHODS AND SYSTEMS FOR CORRECTING APPLICATIONS | |
CN109361542B (en) | Client fault processing method, device, system, terminal and server | |
CN106533805A (en) | Micro-service request processing method, micro-service controller and micro-service architecture | |
CA2542599A1 (en) | Redundant gaming system | |
CN105095001A (en) | Virtual machine exception recovery method under distributed environment | |
US10355963B2 (en) | Heartbeat period setting method, and terminal | |
US11334468B2 (en) | Checking a correct operation of an application in a cloud environment | |
CA2124772C (en) | Processor shelf controller | |
CN109597719A (en) | A kind of monitoring method of multiple nucleus system, system, device and readable storage medium storing program for executing | |
CN114064132B (en) | Method, device, equipment and system for recovering system downtime | |
CN106502835A (en) | A kind of disaster-tolerant backup method and device | |
CN111694710A (en) | Method, device and equipment for monitoring faults of substrate management controller and storage medium | |
CN111800304A (en) | Process running monitoring method, storage medium and virtual device | |
CN105573777B (en) | Method and device for controlling service in application | |
CN111142801B (en) | Distributed storage system network sub-health detection method and device | |
CN109033819A (en) | Protect method, the computer readable storage medium of application process continuous service | |
CN108153646A (en) | A kind of method of general monitoring Android front and backs | |
CN104346233B (en) | A kind of fault recovery method and device for computer system | |
CN114189464A (en) | Communication abnormity monitoring and alarming method for power monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170524 |