CN103870747A - Method and device for monitoring and processing application program - Google Patents

Method and device for monitoring and processing application program Download PDF

Info

Publication number
CN103870747A
CN103870747A CN201410127832.XA CN201410127832A CN103870747A CN 103870747 A CN103870747 A CN 103870747A CN 201410127832 A CN201410127832 A CN 201410127832A CN 103870747 A CN103870747 A CN 103870747A
Authority
CN
China
Prior art keywords
application program
monitoring
described application
system process
initiatively
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410127832.XA
Other languages
Chinese (zh)
Other versions
CN103870747B (en
Inventor
刘伟
张少林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Conew Network Technology Beijing Co Ltd
Original Assignee
Conew Network Technology Beijing 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 Conew Network Technology Beijing Co Ltd filed Critical Conew Network Technology Beijing Co Ltd
Priority to CN201410127832.XA priority Critical patent/CN103870747B/en
Publication of CN103870747A publication Critical patent/CN103870747A/en
Application granted granted Critical
Publication of CN103870747B publication Critical patent/CN103870747B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

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

A kind of monitoring of application program and disposal route and device
Technical field
The present invention relates to applications security technical field, relate in particular to a kind of monitoring and disposal route and device of application program.
Background technology
It is more open that existing Android system is authorized the authority of third party's application software, any application software can make third party application out of service, thereby, make the application program based on Android operating system, especially the normal operation of the application program of tool-class is destroyed.
Due to described application program out of service by third party's application software after, some function of described application program can lose efficacy, and as alarm clock, music etc., makes user run into puzzlement using in the process of described application program.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of monitoring and disposal route and device of application program, can improve the stability of application program.
On the one hand, the embodiment of the present invention provides a kind of monitoring and disposal route of application program, comprising:
By system process, the process of the application program of specifying is monitored;
After monitoring the process of described application program and stopping, judging described application program process stop whether abending;
If judge the stopping as abending of process of described application program, initiatively described application program is restarted.
Alternatively, describedly comprise before the process of application program of specifying monitor by system process: after described application program launching, foundation or application system process; Described system process can be monitored the process of the application program of at least one appointment.
Alternatively, described by described system process the process of the application program to described appointment monitor and comprise: by the pipeline of setting up between described system process and the process of described application program, the process of described application program is monitored.
Alternatively, whether stopping of the described process that judges described application program is to abend to comprise: in the time that the process of described application program stops, obtaining the application program of current application storehouse stack top, and the bag name of application program to described stack top is analyzed; If described bag is called system setting, determine described application program process to stop be normally to stop; If described bag name is not the bag name that system arranges, stopping as abending of the process of definite described application program.
Alternatively, monitoring and the disposal route of described application program also comprise: in the time that user manually finishes the process of described application program on the main interface of described application program, and the mark that the process of described application program initiatively finishes to described system process transmission; Described system process receives after the mark that described active finishes, and after the process of described application program stops, can initiatively described application program not being restarted.
Alternatively, monitoring and the disposal route of described application program also comprise: when again starting after described application program, and the mark that the process of described application program starts again to described system process transmission; After the mark again starting described in described system process receives, the process of described application program is monitored.
Alternatively, if described system process judges the stopping as abending of process of described application program, initiatively described application program is restarted and comprised: if described system process judges the stopping as after abending of process of described application program, after time delay predetermined time, more initiatively described application program is restarted.
Alternatively, monitoring and the disposal route of described application program also comprise: after described system process initiatively restarts described application program, and the demonstration of the icon of application program in informing described in temporary close, and start to monitor screen locking or charging event; When monitor in screen locking or charging event any one occur time, the icon of described application program is shown in informing.
Alternatively, the monitoring of described application program and disposal route are applicable to monitoring and the processing to application software in Android operating system.
The monitoring of the application program described in the embodiment of the present invention and disposal route, by system process, the process of the application program of specifying is monitored, after monitoring the process of described application program and stopping, judge described application program process stop whether abending, if judge the stopping as abending of process of described application program, initiatively described application program is restarted, like this, after can avoiding described application program to exit under abnormal conditions, some function can lose efficacy, cause puzzlement to user, thereby, improve the stability of described application program.And user does not in use need complicated operation yet, thereby, user's experience also promoted.
The embodiment of the present invention provides a kind of monitoring and treating apparatus of application program on the other hand, comprising: monitoring unit, for the process of the application program of specifying being monitored by system process; After monitoring the process of described application program and stopping, judging described application program process stop whether abending; Recovery unit, if for the stopping as abending of the process of described application program, initiatively restart described application program.
Alternatively, monitoring and the treating apparatus of described application program also comprise: set up unit, for after described application program launching, set up described system process; Or application unit, for after described application program launching, applies for described system process.
Alternatively, described monitoring unit comprises: system process module, monitor for the process to described application program; Pipeline module, for communicating by letter between described system process module and the process of monitored application program.
Alternatively, described system process module comprises: obtain submodule, in the time that the process of described application program stops, obtaining the application program of current application storehouse stack top; Analyze submodule, analyze for the bag name of the application program to described stack top; Judge submodule, if for the system setting by name of described bag, determine described application program process to stop be normally to stop; If described bag name is not the bag name that system arranges, stopping as abending of the process of definite described application program.
Alternatively, described system process module also comprises: receive submodule, for in the time that user manually finishes the process of described application program on the main interface of described application program, receive the mark that the process of described application program finishes to the active of described system process module transmission, and the information that the active of described application program is finished passes to described recovery unit.
Alternatively, described reception submodule, also for after again starting when described application program, receives the process of described application program to the mark again starting of described system process module transmission, and starts the monitoring of the process to described application program.
Alternatively, described recovery unit comprises: timer, if judge the stopping as after abending of process of described application program for described judging unit, after time delay predetermined time, more initiatively restarts described application program.
Alternatively, monitoring and the treating apparatus of described application program also comprise: indicative control unit, after initiatively described application program being restarted at described recovery unit, the demonstration of the icon of application program in informing described in temporary close, and monitor screen locking or charging event; When monitor in screen locking or charging event any one occur time, described indicative control unit shows the icon of described application program in informing.
Alternatively, the monitoring of described application program and treating apparatus are applicable to monitoring and the processing to application software in Android operating system
The monitoring of the application program described in the embodiment of the present invention and treating apparatus, by described monitoring unit, the process of the application program of specifying is monitored, after monitoring the process of described application program and stopping, again by described monitoring unit judge described application program process stop whether abending, if stopping as abending of the process of described application program, initiatively described application program is restarted by described recovery unit, like this, after can avoiding described application program to exit under abnormal conditions, some function of described application program can lose efficacy, cause puzzlement to user, thereby, improve the stability of described application program.And user does not in use need complicated operation yet, thereby, user's experience also promoted.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the monitoring of application program of the present invention and the schematic flow sheet of disposal route one embodiment;
Fig. 2 is the monitoring of application program of the present invention and the structural representation for the treatment of apparatus one embodiment;
Fig. 3 is the monitoring of application program of the present invention and the structural representation of another embodiment for the treatment of apparatus;
Fig. 4 is monitoring and the treating apparatus structural representation of an embodiment again of application program of the present invention;
Fig. 5 is the monitoring of application program of the present invention and the structural representation of the another embodiment for the treatment of apparatus;
Fig. 6 is the monitoring of application program of the present invention and the structural representation of the another embodiment for the treatment of apparatus;
Fig. 7 is the monitoring of application program of the present invention and the structural representation of the another embodiment for the treatment of apparatus.
Embodiment
Monitoring below in conjunction with accompanying drawing to a kind of application program of the embodiment of the present invention and disposal route, monitoring and treating apparatus are described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Shown in Fig. 1, the monitoring of a kind of application program of the present invention and the embodiment of disposal route, comprising:
S1, by system process, the process of application program of specifying is monitored;
S2, after monitoring the process of described application program and stopping, judging described application program process stop whether abending;
If S3 judges the stopping as abending of process of described application program, initiatively described application program is restarted.
The monitoring of described application program and disposal route, by system process, the process of the application program of specifying is monitored, after monitoring the process of described application program and stopping, judge described application program process stop whether abending, if judge the stopping as abending of process of described application program, initiatively described application program is restarted, like this, after can avoiding described application program to exit under abnormal conditions, some function can lose efficacy, cause puzzlement to user, thereby, improve the stability of described application program, the perfect fault tolerant mechanism of described application program.And user does not in use need complicated operation yet, thereby, user's experience also promoted.
In the monitoring of aforementioned applications program and the embodiment of disposal route, alternatively, describedly by system process, the process of application program of specifying is monitored to (S1) and comprise before: after described application program launching, set up or application system process; Described system process can be monitored the process of the application program of at least one appointment.
In the present embodiment, after described application program launching, create or apply at once the system process of a system level, by described system process, the process of described application program is monitored and processed, thereby contribute to eliminate after the process of described application program is stopped, user cannot carry out to described application program the restriction of any operation.For example, starting after cheetah cleaning great master application program, create at once the process of a system level, and be root jar by the process naming of described system level, then by setting up pipeline, process and the described root jar foundation of described cheetah cleaning great master application program are contacted, thereby described root jar can monitor and process described cheetah cleaning great master application program; Again such as, after starting Android battery doctor application program, application system process root jar at once, and use the same method and described root jar and the main service of described Android battery doctor application program are set up contact, thereby can automatically recover by described root jar after making the main service of described Android battery doctor application program be forced to stop by third party software, prevent that the main service of described Android battery doctor application program from being abended, make some disabler.
In the monitoring of aforementioned applications program and the embodiment of disposal route, alternatively, described by described system process the process of the application program to described appointment monitor and comprise: by the pipeline of setting up between described system process and the process of described application program, the process of described application program is monitored.In the present embodiment, by described pipeline, the process of described application program and the foundation of described system process are contacted, the process of described application program sends information by described pipeline to described system process, if the process exception of described application program stops, as stopped by system or being forbidden by other third party's application software, the process of described application program cannot send information by described pipeline, be that described pipeline cannot normal communication, described system process does not receive the information of the process of described application program, thereby described system process is known the running status of monitored application program by this method in time.
In the monitoring of aforementioned applications program and the embodiment of disposal route, alternatively, whether stopping of the described process that judges described application program is to abend to comprise: in the time that the process of described application program stops, obtain the application program of current application storehouse stack top, and the bag name of application program to described stack top is analyzed; If described bag is called system setting, determine described application program process to stop be normally to stop; If described bag name is not the bag name that system arranges, stopping as abending of the process of definite described application program.In the present embodiment, describedly normally stop referring to the initiatively process of end application of user, described in abend and refer to the initiatively process (such as being forbidden by third party application) of end application of non-user; When user is initiatively when the process of end application, user has understood the consequence that described application program stops, so described system process can initiatively not adjusted the process that can initiatively not restart described application program under this situation; Finding after described application program operation exception, described system process has initiatively been adjusted the process of described application program, make described application program keep running status, thereby prevent because the process of described application program stops, cause some disabler, as informing icon cannot show after process disappears, timing switch mode also cannot normally move.
In the monitoring of aforementioned applications program and the embodiment of disposal route, alternatively, monitoring and the disposal route of described application program also comprise: in the time that user manually finishes the process of described application program on the main interface of described application program, and the mark that the process of described application program initiatively finishes to described system process transmission; Described system process receives after the mark that described active finishes, and after the process of described application program stops, can initiatively described application program not being restarted.The process that described user manually finishes described application program on the main interface of described application program is the initiatively process of end application of user, user has understood the consequence that described application program stops, so described system process can initiatively not adjusted the process of described application program under this situation.
In the monitoring of aforementioned applications program and the embodiment of disposal route, alternatively, monitoring and the disposal route of described application program also comprise: when again starting after described application program, and the mark that the process of described application program starts again to described system process transmission; After the mark again starting described in described system process receives, the process of described application program is monitored.Like this, the monitoring of the process by described system process to described application program, the stability of described application program and fault tolerant mechanism can be more perfect, thereby, the inconvenience bringing to user after avoiding described application program to exit under abnormal conditions.
In the monitoring of aforementioned applications program and the embodiment of disposal route, alternatively, if described system process judges the stopping as abending of process of described application program, initiatively described application program is restarted and comprised: if described system process judges the stopping as after abending of process of described application program, after time delay predetermined time, more initiatively described application program is restarted.In the present embodiment, in the process restarting in described application program, from stopping to recovering, have a mistiming, in this time period, the process of described application program is non-existent, now informing icon also cannot show, like this, described application exception restarts at once and can cause the figure rotating savings of application program described in informing to dodge sensation to user after stopping.Preferably, when the process that monitors described application program when described system process is closed, start timer, the time delay fixed time, as 10 seconds, then restart, thereby prevent that user from finding that described icon flashes.
In the monitoring of aforementioned applications program and the embodiment of disposal route, icon for fear of described application program flashes in informing, alternatively, monitoring and the disposal route of described application program also comprise: after described system process initiatively restarts described application program, the demonstration of the icon of application program in informing described in temporary close, and start to monitor screen locking or charging event; When monitor in screen locking or charging event any one occur time, the icon of described application program is shown in informing.
Shown in Fig. 2, the embodiment of the present invention provides a kind of monitoring and treating apparatus of application program, comprising: monitoring unit 1, for the process of the application program of specifying being monitored by system process; After monitoring the process of described application program and stopping, judging described application program process stop whether abending; Recovery unit 2, if for the stopping as abending of the process of described application program, initiatively restart described application program.
The monitoring of described application program and treating apparatus, by described monitoring unit 1, the process of the application program of specifying is monitored, after monitoring the process of described application program and stopping, again by described monitoring unit 1 judge described application program process stop whether abending, if stopping as abending of the process of described application program, initiatively described application program is restarted by described recovery unit 2, like this, after can avoiding described application program to exit under abnormal conditions, some function of described application program can lose efficacy, cause puzzlement to user, thereby, improve the stability of described application program, the perfect fault tolerant mechanism of described application program.And user does not in use need complicated operation yet, thereby, user's experience also promoted.
Shown in Fig. 3, in the monitoring of aforementioned applications program and the embodiment for the treatment of apparatus, alternatively, monitoring and the treating apparatus of described application program also comprise: set up unit 3, for after described application program launching, set up described system process; Or application unit 4, for after described application program launching, applies for described system process.
In the present embodiment, after described application program launching, create or apply at once the system process of a system level, by described system process, the process of described application program is monitored and processed, thereby contribute to eliminate after the process of described application program is stopped, user cannot carry out to described application program the restriction of any operation.For example, starting after cheetah cleaning great master application program, create at once the process of a system level, and be root jar by the process naming of described system level, then by setting up pipeline, process and the described root jar foundation of described cheetah cleaning great master application program are contacted, thereby described root jar can monitor and process described cheetah cleaning great master application program; Again such as, after starting Android battery doctor application program, application system process root jar at once, and use the same method and described root jar and the main service of described Android battery doctor application program are set up contact, thereby can automatically recover by described root jar after making the main service of described Android battery doctor application program be forced to stop by third party software, prevent that the main service of described Android battery doctor application program from being abended, make some disabler.In the present embodiment, described system process can be monitored the process of the application program of at least one appointment.
Shown in Fig. 4, in the monitoring of aforementioned applications program and the embodiment for the treatment of apparatus, alternatively, described monitoring unit 1 comprises: system process module 11, monitor for the process to described application program; Pipeline module 12, for communicating by letter between described system process module 11 and the process of monitored application program.In the present embodiment, by described pipeline module 12, the process of described application program and 11 foundation of described system process module are contacted, the process of described application program by described pipeline module 12 to described system process module 11 transmission information, if the process exception of described application program stops, as stopped by system or being forbidden by other third party's application software, the process of described application program cannot be by described pipeline module 12 transmission information, be that described pipeline module 12 cannot normal communication, described system process module 11 does not receive the information of the process of described application program, thereby described system process is known the running status of monitored application program by this method in time.
Shown in Fig. 5, in the monitoring of aforementioned applications program and the embodiment for the treatment of apparatus, alternatively, described system process module 11 comprises: obtain submodule 111, for in the time that the process of described application program stops, obtaining the application program of current application storehouse stack top; Analyze submodule 112, analyze for the bag name of the application program to described stack top; Judge submodule 113, if for the system setting by name of described bag, determine described application program process to stop be normally to stop; If described bag name is not the bag name that system arranges, stopping as abending of the process of definite described application program.
In the present embodiment, describedly normally stop referring to the initiatively process of end application of user, described in abend and refer to the initiatively process (such as being forbidden by third party application) of end application of non-user; When user is initiatively when the process of end application, user has understood the consequence that described application program stops, so described recovery unit 2 can initiatively not adjusted the process that can initiatively not restart described application program under this situation; Finding after described application program operation exception, described recovery unit 2 has initiatively been adjusted the process of described application program, make described application program keep running status, thereby prevent because the process of described application program stops, cause some disabler, as informing icon cannot show after process disappears, timing switch mode also cannot normally move.
Shown in Fig. 6, in the monitoring of aforementioned applications program and the embodiment for the treatment of apparatus, alternatively, described system process module 11 also comprises: receive submodule 114, for in the time that user manually finishes the process of described application program on the main interface of described application program, receive the mark that the process of described application program finishes to the active of described system process module transmission, and the information that the active of described application program is finished passes to described recovery unit 2.In the present embodiment, the process that described user manually finishes described application program on the main interface of described application program is the initiatively process of end application of user, user has understood the consequence that described application program stops, so described recovery unit 2 can initiatively not adjusted the process of described application program under this situation.
In the monitoring of aforementioned applications program and the embodiment for the treatment of apparatus, alternatively, described reception submodule 114, also for after again starting when described application program, receive the process of described application program to the mark again starting of described system process module transmission, and start the monitoring of the process to described application program.Like this, the monitoring of the process by described system process to described application program, the stability of described application program and fault tolerant mechanism can be more perfect, thereby, the inconvenience bringing to user after avoiding described application program to exit under abnormal conditions.
In the monitoring of aforementioned applications program and the embodiment for the treatment of apparatus, alternatively, described recovery unit 2 comprises: timer, if judge the stopping as after abending of process of described application program for described judging unit, after time delay predetermined time, more initiatively described application program is restarted.In the present embodiment, in the process restarting in described application program, from stopping to recovering, have a mistiming, in this time period, the process of described application program is non-existent, now informing icon also cannot show, like this, described application exception restarts at once and can cause the figure rotating savings of application program described in informing to dodge sensation to user after stopping.Preferably, when the process that monitors described application program when described system process is closed, start timer, the time delay fixed time, as 10 seconds, then restart, thereby prevent that user from finding that described icon flashes.
Shown in Fig. 7, in the monitoring of aforementioned applications program and the embodiment for the treatment of apparatus, icon for fear of described application program flashes in informing, alternatively, monitoring and the treating apparatus of described application program also comprise: indicative control unit 5, after initiatively described application program being restarted at described recovery unit, the demonstration of the icon of application program in informing described in temporary close, and monitor screen locking or charging event; When monitor in screen locking or charging event any one occur time, described indicative control unit 5 shows the icon of described application program in informing.
The monitoring of the application program described in various embodiments of the present invention and disposal route and device, be applicable to monitoring and processing to application software in Android operating system, but the invention is not restricted to this.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (18)

1. the monitoring of application program and a disposal route, is characterized in that, comprising:
By system process, the process of the application program of specifying is monitored;
After monitoring the process of described application program and stopping, judging described application program process stop whether abending;
If judge the stopping as abending of process of described application program, initiatively described application program is restarted.
2. the monitoring of application program according to claim 1 and disposal route, is characterized in that, describedly by system process, the process of application program of specifying monitor and comprised before:
After described application program launching, set up or apply for described system process; Described system process can be monitored the process of the application program of at least one appointment.
3. the monitoring of application program according to claim 1 and disposal route, is characterized in that, described by described system process the process of the application program to described appointment monitor and comprise:
By the pipeline of setting up between described system process and the process of described application program, the process of described application program is monitored.
4. the monitoring of application program according to claim 1 and disposal route, is characterized in that, whether stopping of the described process that judges described application program is to abend to comprise:
In the time that the process of described application program stops, obtaining the application program of current application storehouse stack top, and the bag name of application program to described stack top is analyzed;
If described bag is called system setting, determine described application program process to stop be normally to stop; If described bag name is not the bag name that system arranges, stopping as abending of the process of definite described application program.
5. the monitoring of application program according to claim 1 and disposal route, is characterized in that, also comprises:
In the time that user manually finishes the process of described application program on the main interface of described application program, the mark that the process of described application program initiatively finishes to described system process transmission;
Described system process receives after the mark that described active finishes, and after the process of described application program stops, can initiatively described application program not being restarted.
6. the monitoring of application program according to claim 5 and disposal route, is characterized in that, also comprises:
When again starting after described application program, the mark that the process of described application program starts again to described system process transmission;
After the mark again starting described in described system process receives, the process of described application program is monitored.
7. the monitoring of application program according to claim 1 and disposal route, is characterized in that, if described system process judges the stopping as abending of process of described application program, initiatively described application program restarted and comprised:
If described system process judges the stopping as after abending of process of described application program, after time delay predetermined time, more initiatively described application program is restarted.
8. the monitoring of application program according to claim 1 and disposal route, is characterized in that, also comprises:
After described system process initiatively restarts described application program, the demonstration of the icon of application program in informing described in temporary close, and start to monitor screen locking or charging event;
When monitor in screen locking or charging event any one occur time, the icon of described application program is shown in informing.
9. according to monitoring and the disposal route of the application program described in claim 1-10 any one, it is characterized in that, the monitoring of described application program and disposal route are applicable to monitoring and the processing to application software in Android operating system.
10. the monitoring of application program and a treating apparatus, is characterized in that, comprising:
Monitoring unit, for monitoring the process of the application program of specifying by system process; After monitoring the process of described application program and stopping, judging described application program process stop whether abending;
Recovery unit, if for the stopping as abending of the process of described application program, initiatively restart described application program.
The monitoring of 11. application programs according to claim 10 and treating apparatus, is characterized in that, also comprises:
Set up unit, for after described application program launching, set up described system process; Or
Application unit, for after described application program launching, applies for described system process.
The monitoring of 12. application programs according to claim 10 and treating apparatus, is characterized in that, described monitoring unit comprises:
System process module, monitors for the process to described application program;
Pipeline module, for communicating by letter between described system process module and the process of monitored application program.
The monitoring of 13. application programs according to claim 12 and treating apparatus, is characterized in that, described system process module comprises:
Obtain submodule, in the time that the process of described application program stops, obtaining the application program of current application storehouse stack top;
Analyze submodule, analyze for the bag name of the application program to described stack top;
Judge submodule, if for the system setting by name of described bag, determine described application program process to stop be normally to stop; If described bag name is not the bag name that system arranges, stopping as abending of the process of definite described application program.
The monitoring of 14. application programs according to claim 13 and treating apparatus, is characterized in that, described system process module also comprises:
Receive submodule, for in the time that user manually finishes the process of described application program on the main interface of described application program, receive the mark that the process of described application program finishes to the active of described system process module transmission, and the information that the active of described application program is finished passes to described recovery unit.
The monitoring of 15. application programs according to claim 14 and treating apparatus, it is characterized in that, described reception submodule, also for after again starting when described application program, receive the process of described application program to the mark again starting of described system process module transmission, and start the monitoring of the process to described application program.
The monitoring of 16. application programs according to claim 10 and treating apparatus, is characterized in that, described recovery unit comprises:
Timer, if for the stopping as after abending of the process of described application program, after time delay predetermined time, more initiatively restart described application program.
The monitoring of 17. application programs according to claim 10 and treating apparatus, is characterized in that, also comprises:
Indicative control unit, after initiatively described application program being restarted at described recovery unit, the demonstration of the icon of application program in informing described in temporary close, and monitor screen locking or charging event; When monitor in screen locking or charging event any one occur time, described indicative control unit shows the icon of described application program in informing.
18. according to monitoring and the treating apparatus of the application program described in claim 13-17 any one, it is characterized in that, the monitoring of described application program and treating apparatus are applicable to monitoring and the processing to application software in Android operating system.
CN201410127832.XA 2014-03-31 2014-03-31 Method and device for monitoring and processing application program Expired - Fee Related CN103870747B (en)

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 true CN103870747A (en) 2014-06-18
CN103870747B 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)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105224861A (en) * 2014-06-13 2016-01-06 Tcl集团股份有限公司 A kind of deadlock condition processing method of smart machine and system
CN105279433A (en) * 2014-07-10 2016-01-27 腾讯科技(深圳)有限公司 Application protection method and apparatus
CN105354131A (en) * 2015-12-11 2016-02-24 北京慧眼智行科技有限公司 Monitoring method for running of service program and device
CN105511721A (en) * 2015-12-02 2016-04-20 小米科技有限责任公司 Page display method and device
CN105573777A (en) * 2014-11-11 2016-05-11 阿里巴巴集团控股有限公司 Control method and devicefor service in application
CN105893066A (en) * 2014-12-19 2016-08-24 上海涌杰信息科技有限公司 Android system based mobile terminal recovery control method
CN106201585A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 A kind of Notification Method and electronic equipment
CN106227622A (en) * 2016-07-29 2016-12-14 上海斐讯数据通信技术有限公司 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
CN106649577A (en) * 2016-11-17 2017-05-10 杭州沃趣科技股份有限公司 Method for detecting running state of synchronous software of Oracle database
CN106933659A (en) * 2015-12-30 2017-07-07 华为技术有限公司 The method and apparatus of managing process
CN107168615A (en) * 2017-06-20 2017-09-15 北京金山安全软件有限公司 Charging optimization method and device, electronic equipment and storage medium
CN107392012A (en) * 2017-07-25 2017-11-24 广州平云信息科技有限公司 Application method for managing and monitoring, device and the mobile device of mobile device
CN107463419A (en) * 2017-09-21 2017-12-12 青岛海信移动通信技术股份有限公司 Using method for restarting, device and computer-readable recording medium
CN107729213A (en) * 2017-10-11 2018-02-23 杭州迪普科技股份有限公司 A kind of background task monitoring method and device
CN107801064A (en) * 2016-09-05 2018-03-13 ***通信集团公司 A kind of method and device of the selfreparing of Multi-screen interaction system
CN108153620A (en) * 2017-12-27 2018-06-12 深圳豪客互联网有限公司 A kind of course control method and device
CN108363582A (en) * 2018-01-11 2018-08-03 青岛海信电器股份有限公司 A kind of method and apparatus of intelligent terminal homepage upgrading
CN109033819A (en) * 2018-05-23 2018-12-18 福建天晴数码有限公司 Protect method, the computer readable storage medium of application process continuous service
CN109241729A (en) * 2017-07-10 2019-01-18 阿里巴巴集团控股有限公司 Detection, processing method, device, terminal device and the electronic equipment of application program
CN111898116A (en) * 2019-12-26 2020-11-06 长扬科技(北京)有限公司 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120304184A1 (en) * 2010-02-23 2012-11-29 Fujitsu Limited Multi-core processor system, computer product, and control method
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120304184A1 (en) * 2010-02-23 2012-11-29 Fujitsu Limited Multi-core processor system, computer product, and control method
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

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224861A (en) * 2014-06-13 2016-01-06 Tcl集团股份有限公司 A kind of deadlock condition processing method of smart machine and system
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
CN105279433A (en) * 2014-07-10 2016-01-27 腾讯科技(深圳)有限公司 Application protection method and apparatus
CN105573777A (en) * 2014-11-11 2016-05-11 阿里巴巴集团控股有限公司 Control method and devicefor service in application
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
CN105511721A (en) * 2015-12-02 2016-04-20 小米科技有限责任公司 Page display method and device
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
CN106933659A (en) * 2015-12-30 2017-07-07 华为技术有限公司 The method and apparatus of managing process
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
CN106227622A (en) * 2016-07-29 2016-12-14 上海斐讯数据通信技术有限公司 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
CN107801064A (en) * 2016-09-05 2018-03-13 ***通信集团公司 A kind of method and device of the selfreparing of Multi-screen interaction system
CN107801064B (en) * 2016-09-05 2020-08-18 ***通信集团公司 Self-repairing method and device for multi-screen interactive system
CN106649577A (en) * 2016-11-17 2017-05-10 杭州沃趣科技股份有限公司 Method for detecting running state of synchronous software of Oracle database
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
CN109241729A (en) * 2017-07-10 2019-01-18 阿里巴巴集团控股有限公司 Detection, processing method, device, terminal device and the electronic equipment of application program
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
CN107463419A (en) * 2017-09-21 2017-12-12 青岛海信移动通信技术股份有限公司 Using method for restarting, device and computer-readable recording medium
CN107729213A (en) * 2017-10-11 2018-02-23 杭州迪普科技股份有限公司 A kind of background task monitoring method and device
CN108153620A (en) * 2017-12-27 2018-06-12 深圳豪客互联网有限公司 A kind of course control method and device
CN108363582A (en) * 2018-01-11 2018-08-03 青岛海信电器股份有限公司 A kind of method and apparatus of intelligent terminal homepage upgrading
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
CN111898116A (en) * 2019-12-26 2020-11-06 长扬科技(北京)有限公司 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

Also Published As

Publication number Publication date
CN103870747B (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN103870747A (en) Method and device for monitoring and processing application program
CN109361542B (en) Client fault processing method, device, system, terminal and server
CN109213637B (en) Data recovery method, device and medium for cluster nodes of distributed file system
US6425093B1 (en) Methods and apparatuses for controlling the execution of software on a digital processing system
CN103927239A (en) Method and device for restoring system of terminal equipment
CN106776113B (en) Virtual machine backup method and device
EP3439237A1 (en) Exception monitoring and alarming method and device
CN102289396A (en) Terminal and backup and recovery method
CN105335654A (en) Android malicious program detection and processing method, device and equipment
CN104199772A (en) Progress supervising method and device
WO2012000328A1 (en) Multimedia terminal device and maintenance method thereof
CN111694710A (en) Method, device and equipment for monitoring faults of substrate management controller and storage medium
WO2019062576A1 (en) Protection method against abnormal power disconnection during system upgrade and terminal device
CN105573777B (en) Method and device for controlling service in application
CN108920263B (en) Method and apparatus for application retention
CN109033819A (en) Protect method, the computer readable storage medium of application process continuous service
CN108153620A (en) A kind of course control method and device
CN112269692A (en) Remote upgrading power-off self-recovery mechanism for network camera
CN116560908A (en) Data recovery method of industrial control system and related equipment thereof
CN113687867B (en) Shutdown method, system, equipment and storage medium of cloud platform cluster
CN113688021B (en) Load balancing service processing method, device, equipment and readable storage medium
CN116939000A (en) Network reconnection method, device, terminal equipment and storage medium
CN101866311A (en) Method for monitoring and recovering by using external computer
CN111221680A (en) Automatic management method and device for data center switch system
CN103259905B (en) Cell-phone smart recovery method and 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

CF01 Termination of patent right due to non-payment of annual fee