CN101859275A - Method, system and mobile terminal for monitoring application program - Google Patents

Method, system and mobile terminal for monitoring application program Download PDF

Info

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
Application number
CN 201010119927
Other languages
Chinese (zh)
Inventor
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN 201010119927 priority Critical patent/CN101859275A/en
Publication of CN101859275A publication Critical patent/CN101859275A/en
Pending legal-status Critical Current

Links

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

A kind of method of monitoring application program, system and portable terminal
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:
Acquisition module 201, 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;
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;
First judge module 203 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 204 is used to judge whether the current internal memory of described application program surpasses the maximum memory upper limit that allows use;
Processing module 205, be used for when described first judge module 203 is judged the running status that does not receive the application program that described thread reports in the second round that is setting in advance or described second judge module 204 judges 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.
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.
CN 201010119927 2010-03-08 2010-03-08 Method, system and mobile terminal for monitoring application program Pending CN101859275A (en)

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)

* Cited by examiner, † Cited by third party
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 exception restorative procedure 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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 is operating abnormally restorative procedure and system and mobile terminal
CN108509291A (en) * 2018-02-27 2018-09-07 广东欧珀移动通信有限公司 Application program operation exception restorative procedure 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
CN104242450B (en) Method for monitoring state of wireless module in power distribution system
CN109733238B (en) Fault detection method, device, storage medium and processor
CN106953902A (en) The method and apparatus of electric energy meter firmware upgrade
CN108021491A (en) Terminal daily record grasping means, device and terminal log analysis method, device
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN103929732B (en) A kind of method and M2M gateways of management terminal peripheral hardware
CN104883374A (en) On-vehicle remote data terminal and processing method thereof
CN103249059B (en) Monitoring method and device and equipment
CN104915279A (en) Multi-system state operation monitoring method and system
EP2882216A1 (en) Device and method for controlling and supervising and alarming power supply of base station
CN112187582B (en) Intelligent substation process layer switch port flow monitoring pre-warning system and method
CN106060538A (en) Television fault processing method and device, and television
US10674337B2 (en) Method and device for processing operation for device peripheral
CN107294791B (en) Abnormal maintenance method and device for vehicle-mounted WIFI equipment
CN110955165A (en) Control method of cleaning equipment and cleaning equipment
CN105578490A (en) Signaling monitoring method and system
CN205427007U (en) Steal electric report system
CN101945413B (en) Alarm information processing method and device
CN103986595A (en) Fault analyzing and upgrading method and server
CN102654531A (en) Remedying method and remedying device of lacked electric energy qualitative data
CN105631323B (en) The method and device for identifying OBD equipment malicious act and handling
CN112312376A (en) Method and system for remotely and interactively managing multifunctional electric meter
CN110177364A (en) A kind of pairing connection method of bluetooth equipment and device, storage medium and electronic equipment

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