CN101859275A - Method, system and mobile terminal for monitoring application program - Google Patents
Method, system and mobile terminal for monitoring application program Download PDFInfo
- Publication number
- CN101859275A CN101859275A CN 201010119927 CN201010119927A CN101859275A CN 101859275 A CN101859275 A CN 101859275A CN 201010119927 CN201010119927 CN 201010119927 CN 201010119927 A CN201010119927 A CN 201010119927A CN 101859275 A CN101859275 A CN 101859275A
- Authority
- CN
- China
- Prior art keywords
- application program
- monitoring
- monitored object
- information
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 56
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000012545 processing Methods 0.000 claims abstract description 28
- 230000008569 process Effects 0.000 claims abstract description 8
- 230000005856 abnormality Effects 0.000 claims description 30
- 230000015572 biosynthetic process Effects 0.000 claims description 26
- 238000003780 insertion Methods 0.000 claims description 3
- 230000037431 insertion Effects 0.000 claims description 3
- 241000239290 Araneae Species 0.000 claims description 2
- 230000002159 abnormal effect Effects 0.000 abstract 4
- 238000011084 recovery Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention is suitable for the field of mobile terminals, and provides a method, a system and a mobile terminal for monitoring an application program. The method comprises the following steps of: acquiring information on the application program and establishing thread corresponding to the application program for reporting the operating state of the application program according to a preset first period; establishing an object to be monitored and binding the object to be monitored with the acquired information on the application program; judging whether the operating state of the application program reported by the thread is received in a preset second period; and if not, processing the application program according to a processing mode corresponding to the abnormal state. By acquiring the possible abnormal state of the application program and the processing mode information corresponding to the abnormal state, the method, the system and the mobile terminal for monitoring the application program can process the application program according to the processing mode corresponding to the abnormal state so as to realize automatic recovery of the application program.
Description
Technical field
The invention belongs to field of mobile terminals, relate in particular to a kind of method, system and portable terminal of monitoring application program.
Background technology
At present, application program in the portable terminal is more and more, but when the application program in the common portable terminal occurs when unusual, can not auto restore facility, in case some application program occurs unusual, particularly some crucial application programs occur when unusual, cause portable terminal to crash or other serious problems probably.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method of monitoring application program, is intended to solve application program in the portable terminal common in the prior art and occurs when unusual, problem that can not auto restore facility.
The embodiment of the invention is achieved in that a kind of method of monitoring application program, said method comprising the steps of:
Obtain the information of application program, and the establishment thread that be used for according to predefined period 1 report the running status of application program corresponding with described application program, the information of described application program comprises the process ID corresponding with described application program, allows the maximum memory upper limit of using, the abnormality that may occur and the processing mode corresponding with described abnormality;
Create monitored object, the described monitored object and the information of the application program of obtaining are bound;
Whether judgement receives the running status of the application program that described thread reports in the second round that sets in advance, if not, then according to described abnormality corresponding processing mode handle application program greater than the period 1 described second round; And/or
Whether the current internal memory of judging described application program surpasses the maximum memory upper limit that allows use, if then handle application program according to the processing mode corresponding with described abnormality.
The embodiment of the invention also provides a kind of system of monitoring application program, and described system comprises:
Acquisition module, be used to obtain the information of application program, and the establishment thread that be used for according to predefined period 1 report the running status of application program corresponding with described application program, the information of described application program comprises the process ID corresponding with described application program, allows the maximum memory upper limit of using, the abnormality that may occur and the processing mode corresponding with described abnormality;
The monitored object creation module is used to create monitored object, and the described monitored object and the information of the application program of obtaining are bound;
First judge module is used to judge the running status that whether receives the application program that described thread reports in the second round that sets in advance, and described second round is greater than the period 1; And/or
Second judge module is used to judge whether the current internal memory of described application program surpasses the maximum memory upper limit that allows use;
Processing module, when being used in described first judge module is judged the second round that is setting in advance, not receiving the running status of the application program that described thread reports or described second judge module judge that the current internal memory of described application program surpasses on the maximum memory that allows to use in limited time, then handles application program according to the processing mode corresponding with described abnormality.
The embodiment of the invention also provides a kind of portable terminal, and described portable terminal comprises the method for described monitoring application program.
The embodiment of the invention compared with prior art, beneficial effect is: by abnormality that may occur and the processing mode information corresponding with described abnormality of obtaining application program, can handle application program according to the processing mode corresponding, thereby realize recovering automatically the function of application program with described abnormality.
Description of drawings
Fig. 1 is the process flow diagram of the method for a kind of monitoring application program of providing of the embodiment of the invention;
Fig. 2 is the module frame chart of the system of a kind of monitoring application program of providing of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In the embodiment of the invention, by abnormality that may occur and the processing mode information corresponding of obtaining application program with described abnormality, can handle application program according to the processing mode corresponding, thereby realize recovering automatically the function of application program with described abnormality.
See also Fig. 1, the embodiment of the invention provides a kind of method of monitoring application program, said method comprising the steps of:
S101: the information of obtaining application program, and the establishment thread that be used for according to predefined period 1 report the running status of application program corresponding with described application program, the information of described application program comprises the process ID corresponding with described application program, allows the maximum memory upper limit of using, the abnormality that may occur and the processing mode corresponding with described abnormality;
S102: create monitored object, the described monitored object and the information of the application program of obtaining are bound;
S103: judge the running status in the second round that sets in advance, whether receive the application program that described thread reports, described second round is greater than the period 1, if not, then enter step S105: handle application program according to the processing mode corresponding with described abnormality; And/or
S104: whether the current internal memory of judging described application program surpasses the maximum memory upper limit that allows use, if then enter step S105: handle application program according to the processing mode corresponding with described abnormality.
In step S103,, then enter step S106: do not respond if in the second round that sets in advance, receive the running status of the application program that described thread reports.
In step S104,, then enter step S107: do not respond if the current internal memory of described application program surpasses the maximum memory upper limit that allows use.
As one embodiment of the present of invention, further comprising the steps of after the described step S102:
Monitored object is inserted the monitoring formation;
Described with further comprising the steps of after the monitored object insertion monitoring formation:
Return to a registration of application program ID;
When receiving the information of the described registration of user log off ID, then the monitored object with described registration ID correspondence removes from the monitoring formation, to cancel the monitoring to described application program.
Described when receiving the information of the described registration of user log off ID, then the monitored object with described registration ID correspondence removes from the monitoring formation, and is further comprising the steps of to cancel after the step to the monitoring of described application program:
Upgrade the monitoring formation.
Wherein, described establishment monitored object is bound the described monitored object and the information of the application program of obtaining, and with further comprising the steps of after the monitored object insertion monitoring formation:
Upgrade the monitoring formation.
In an embodiment of the present invention, by when receiving the information of the described registration of user log off ID, then the monitored object with described registration ID correspondence removes from the monitoring formation, can cancel the monitoring of application programs easily.
As one embodiment of the present of invention: further comprising the steps of after the described step S102:
The monitored object of creating is connected into a monitoring formation;
The described monitoring formation of traversal in the second round that sets in advance.
In an embodiment of the present invention, when a plurality of application programs need be monitored, can conveniently travel through the monitoring formation and monitor.
See also Fig. 2, the embodiment of the invention also provides a kind of system of monitoring application program, and described system comprises:
Monitored object creation module 202 is used to create monitored object, and the described monitored object and the information of the application program of obtaining are bound;
As one embodiment of the present of invention, described system also comprises:
Insert module is used for monitored object is inserted the monitoring formation.
As one embodiment of the present of invention, described system also comprises:
Registration ID module is used to return to a registration of application program ID;
Cancel module, be used for when receiving the information of the described registration of user log off ID, the described monitored object of registering the ID correspondence is removed from the monitoring formation, to cancel monitoring to described application program.
As one embodiment of the present of invention, described system also comprises:
Monitoring formation module, the monitored object that is used for creating are connected into a monitoring formation;
Spider module is used for the described monitoring formation of traversal in the second round that sets in advance.
The embodiment of the invention also provides a kind of portable terminal, and described portable terminal comprises the system of described monitoring application program.
The method of monitoring application program of the present invention, system and portable terminal, by abnormality that may occur and the processing mode information corresponding of obtaining application program with described abnormality, can handle application program according to the processing mode corresponding, thereby realize recovering automatically the function of application program with described abnormality.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. the method for a monitoring application program is characterized in that, said method comprising the steps of:
Obtain the information of application program, and the establishment thread that be used for according to predefined period 1 report the running status of application program corresponding with described application program, the information of described application program comprises the process ID corresponding with described application program, allows the maximum memory upper limit of using, the abnormality that may occur and the processing mode corresponding with described abnormality;
Create monitored object, the described monitored object and the information of the application program of obtaining are bound;
Whether judgement receives the running status of the application program that described thread reports in the second round that sets in advance, if not, then according to described abnormality corresponding processing mode handle application program greater than the period 1 described second round; And/or
Whether the current internal memory of judging described application program surpasses the maximum memory upper limit that allows use, if then handle application program according to the processing mode corresponding with described abnormality.
2. the method for monitoring application program as claimed in claim 1 is characterized in that, described establishment monitored object is afterwards further comprising the steps of with the step that the described monitored object and the information of the application program of obtaining are bound:
Monitored object is inserted the monitoring formation.
3. the method for monitoring application program as claimed in claim 2 is characterized in that, and is further comprising the steps of after the described step with monitored object insertion monitoring formation:
Return to a registration of application program ID;
When receiving the information of the described registration of user log off ID, then the monitored object with described registration ID correspondence removes from the monitoring formation, to cancel the monitoring to described application program.
4. the method for monitoring application program as claimed in claim 1 is characterized in that, described establishment monitored object is afterwards further comprising the steps of with the step that the described monitored object and the information of the application program of obtaining are bound:
The monitored object of creating is connected into a monitoring formation;
The described monitoring formation of traversal in the second round that sets in advance.
5. the system of a monitoring application program is characterized in that, described system comprises:
Acquisition module, be used to obtain the information of application program, and the establishment thread that be used for according to predefined period 1 report the running status of application program corresponding with described application program, the information of described application program comprises the process ID corresponding with described application program, allows the maximum memory upper limit of using, the abnormality that may occur and the processing mode corresponding with described abnormality;
The monitored object creation module is used to create monitored object, and the described monitored object and the information of the application program of obtaining are bound;
First judge module is used to judge the running status that whether receives the application program that described thread reports in the second round that sets in advance, and described second round is greater than the period 1; And/or
Second judge module is used to judge whether the current internal memory of described application program surpasses the maximum memory upper limit that allows use;
Processing module, when being used in described first judge module is judged the second round that is setting in advance, not receiving the running status of the application program that described thread reports or described second judge module judge that the current internal memory of described application program surpasses on the maximum memory that allows to use in limited time, then handles application program according to the processing mode corresponding with described abnormality.
6. the system of monitoring application program as claimed in claim 5 is characterized in that, described system also comprises:
Insert module is used for monitored object is inserted the monitoring formation.
7. the system of monitoring application program as claimed in claim 6 is characterized in that, described system also comprises:
Registration ID module is used to return to a registration of application program ID;
Cancel module, be used for when receiving the information of the described registration of user log off ID, the described monitored object of registering the ID correspondence is removed from the monitoring formation, to cancel monitoring to described application program.
8. the system of monitoring application program as claimed in claim 5 is characterized in that, described system also comprises:
Monitoring formation module, the monitored object that is used for creating are connected into a monitoring formation;
Spider module is used for the described monitoring formation of traversal in the second round that sets in advance.
9. a portable terminal is characterized in that, described portable terminal comprises the system of the described monitoring application program of claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010119927 CN101859275A (en) | 2010-03-08 | 2010-03-08 | Method, system and mobile terminal for monitoring application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010119927 CN101859275A (en) | 2010-03-08 | 2010-03-08 | Method, system and mobile terminal for monitoring application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101859275A true CN101859275A (en) | 2010-10-13 |
Family
ID=42945194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010119927 Pending CN101859275A (en) | 2010-03-08 | 2010-03-08 | Method, system and mobile terminal for monitoring application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101859275A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544434A (en) * | 2013-11-12 | 2014-01-29 | 北京网秦天下科技有限公司 | Method and terminal used for ensuring safe operation of application program |
CN104102540A (en) * | 2014-06-30 | 2014-10-15 | 上海卓悠网络科技有限公司 | Operation process management method and mobile terminal |
CN104321753A (en) * | 2012-05-07 | 2015-01-28 | 提姆斯通公司 | Method for representing usage amount of monitoring resource, computing device, and recording medium having program recorded thereon for executing thereof |
CN104572394A (en) * | 2013-10-29 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Process monitoring method and device |
CN104915289A (en) * | 2015-05-12 | 2015-09-16 | 中国工商银行股份有限公司 | Anomaly detection method and device for background process of financial application system |
WO2016058414A1 (en) * | 2014-10-17 | 2016-04-21 | 中兴通讯股份有限公司 | Method and device for processing terminal application |
CN106528316A (en) * | 2016-11-10 | 2017-03-22 | 霍尔果斯霹雳互动网络科技有限公司 | Anti-crash method and system of online game server |
CN106874157A (en) * | 2017-01-04 | 2017-06-20 | 中车株洲电力机车研究所有限公司 | The monitoring method and device of a kind of train display system applications |
CN107153585A (en) * | 2016-03-02 | 2017-09-12 | 腾讯科技(深圳)有限公司 | Restoration methods and relevant apparatus |
CN108509291A (en) * | 2018-02-27 | 2018-09-07 | 广东欧珀移动通信有限公司 | Application program operation abnormity repairing method and system and mobile terminal |
WO2018205273A1 (en) * | 2017-05-12 | 2018-11-15 | 深圳市乃斯网络科技有限公司 | Smart terminal power management method and system |
CN109656783A (en) * | 2018-12-24 | 2019-04-19 | 成都四方伟业软件股份有限公司 | System platform monitoring method and device |
CN109947618A (en) * | 2019-02-26 | 2019-06-28 | 上海鹰瞳医疗科技有限公司 | Application Status monitoring method, equipment and system |
CN114443428A (en) * | 2022-01-19 | 2022-05-06 | 山东新一代信息产业技术研究院有限公司 | Program internal running state monitoring method and device based on IROS |
US11678173B2 (en) * | 2018-09-27 | 2023-06-13 | Samsung Electronics Co., Ltd. | Wireless communication device adaptively changing capability and method of operation thereof |
CN117555717A (en) * | 2024-01-10 | 2024-02-13 | 深圳聚点互动科技有限公司 | Application exception handling method, terminal and computer storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030050956A1 (en) * | 2001-08-29 | 2003-03-13 | International Business Machines Corporation | System and method for monitoring software queuing applications |
CN1629819A (en) * | 2003-12-20 | 2005-06-22 | 鸿富锦精密工业(深圳)有限公司 | System and method for centralized monitoring of limited program |
CN1904852A (en) * | 2006-08-01 | 2007-01-31 | 西安西电捷通无线网络通信有限公司 | Method for monitoring and abnormal processing of computer application program |
CN101408861A (en) * | 2007-10-11 | 2009-04-15 | 鸿富锦精密工业(深圳)有限公司 | Real time monitoring system and method of application program |
-
2010
- 2010-03-08 CN CN 201010119927 patent/CN101859275A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030050956A1 (en) * | 2001-08-29 | 2003-03-13 | International Business Machines Corporation | System and method for monitoring software queuing applications |
CN1629819A (en) * | 2003-12-20 | 2005-06-22 | 鸿富锦精密工业(深圳)有限公司 | System and method for centralized monitoring of limited program |
CN1904852A (en) * | 2006-08-01 | 2007-01-31 | 西安西电捷通无线网络通信有限公司 | Method for monitoring and abnormal processing of computer application program |
CN101408861A (en) * | 2007-10-11 | 2009-04-15 | 鸿富锦精密工业(深圳)有限公司 | Real time monitoring system and method of application program |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104321753B (en) * | 2012-05-07 | 2017-08-08 | 提姆斯通公司 | For the method for usage amount that monitoring resource is presented, computing device and record has the recording medium of the program for execution thereon |
CN104321753A (en) * | 2012-05-07 | 2015-01-28 | 提姆斯通公司 | Method for representing usage amount of monitoring resource, computing device, and recording medium having program recorded thereon for executing thereof |
CN104572394A (en) * | 2013-10-29 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Process monitoring method and device |
CN103544434A (en) * | 2013-11-12 | 2014-01-29 | 北京网秦天下科技有限公司 | Method and terminal used for ensuring safe operation of application program |
CN103544434B (en) * | 2013-11-12 | 2016-08-24 | 北京网秦天下科技有限公司 | For guaranteeing method and the terminal of safety operation of applied program |
CN104102540A (en) * | 2014-06-30 | 2014-10-15 | 上海卓悠网络科技有限公司 | Operation process management method and mobile terminal |
CN104102540B (en) * | 2014-06-30 | 2017-08-25 | 上海卓悠网络科技有限公司 | The management method and mobile terminal of a kind of operation process |
WO2016058414A1 (en) * | 2014-10-17 | 2016-04-21 | 中兴通讯股份有限公司 | Method and device for processing terminal application |
CN104915289A (en) * | 2015-05-12 | 2015-09-16 | 中国工商银行股份有限公司 | Anomaly detection method and device for background process of financial application system |
CN104915289B (en) * | 2015-05-12 | 2018-01-26 | 中国工商银行股份有限公司 | A kind of financial application system background progress abnormality detection method and device |
CN107153585A (en) * | 2016-03-02 | 2017-09-12 | 腾讯科技(深圳)有限公司 | Restoration methods and relevant apparatus |
CN107153585B (en) * | 2016-03-02 | 2021-04-27 | 腾讯科技(深圳)有限公司 | Recovery method and related device |
CN106528316A (en) * | 2016-11-10 | 2017-03-22 | 霍尔果斯霹雳互动网络科技有限公司 | Anti-crash method and system of online game server |
CN106874157A (en) * | 2017-01-04 | 2017-06-20 | 中车株洲电力机车研究所有限公司 | The monitoring method and device of a kind of train display system applications |
WO2018205273A1 (en) * | 2017-05-12 | 2018-11-15 | 深圳市乃斯网络科技有限公司 | Smart terminal power management method and system |
CN108509291B (en) * | 2018-02-27 | 2019-09-10 | Oppo广东移动通信有限公司 | Application program operation abnormity repairing method and system and mobile terminal |
CN108509291A (en) * | 2018-02-27 | 2018-09-07 | 广东欧珀移动通信有限公司 | Application program operation abnormity repairing method and system and mobile terminal |
US11678173B2 (en) * | 2018-09-27 | 2023-06-13 | Samsung Electronics Co., Ltd. | Wireless communication device adaptively changing capability and method of operation thereof |
CN109656783A (en) * | 2018-12-24 | 2019-04-19 | 成都四方伟业软件股份有限公司 | System platform monitoring method and device |
CN109947618A (en) * | 2019-02-26 | 2019-06-28 | 上海鹰瞳医疗科技有限公司 | Application Status monitoring method, equipment and system |
CN114443428A (en) * | 2022-01-19 | 2022-05-06 | 山东新一代信息产业技术研究院有限公司 | Program internal running state monitoring method and device based on IROS |
CN117555717A (en) * | 2024-01-10 | 2024-02-13 | 深圳聚点互动科技有限公司 | Application exception handling method, terminal and computer storage medium |
CN117555717B (en) * | 2024-01-10 | 2024-04-26 | 深圳聚点互动科技有限公司 | Application exception handling method, terminal and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101859275A (en) | Method, system and mobile terminal for monitoring application program | |
CN104199755B (en) | A kind of method and system that hardware module failure is diagnosed based on indicator lamp | |
CN101916200B (en) | The method of terminal staging, the method for backoff of terminal upgrading and upgrading management center | |
CN106780133A (en) | Electrical power distribution automatization system appraisal procedure and device | |
US20170280410A1 (en) | Method, device and system for implementing information self-registration, and computer storage medium | |
CN106953902A (en) | The method and apparatus of electric energy meter firmware upgrade | |
CN103929732B (en) | A kind of method and M2M gateways of management terminal peripheral hardware | |
CN108021491A (en) | Terminal daily record grasping means, device and terminal log analysis method, device | |
CN106060538A (en) | Television fault processing method and device, and television | |
CN104580695A (en) | Card missing recovery method for SIM (subscriber identity module) card | |
CN104883374A (en) | On-vehicle remote data terminal and processing method thereof | |
CN102869032B (en) | Device and method for monitoring and alarming power supply of base station | |
CN111124859A (en) | Log processing method, device, equipment and storage medium | |
CN105573854A (en) | Terminal application processing method and device | |
CN112187582B (en) | Intelligent substation process layer switch port flow monitoring pre-warning system and method | |
US10674337B2 (en) | Method and device for processing operation for device peripheral | |
CN111010706A (en) | Exception recovery method and device | |
CN107294791B (en) | Abnormal maintenance method and device for vehicle-mounted WIFI equipment | |
CN110413480A (en) | Processing method and processing device for robot operating status | |
CN102740328A (en) | Remote test method, device thereof and system thereof | |
CN113965447B (en) | Online cloud diagnosis method, device, system, equipment and storage medium | |
CN110708195B (en) | Internet of things equipment wireless signal fault reporting method and system | |
CN102915020B (en) | PCU (Power Control Unit) remote communication method and system, terminal and server of electric automobile | |
CN102571481A (en) | Method and system for analyzing monitoring state of client | |
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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101013 |