CN102004680A - Method for dynamically tracking program running state and rear panel device - Google Patents

Method for dynamically tracking program running state and rear panel device Download PDF

Info

Publication number
CN102004680A
CN102004680A CN 201010556029 CN201010556029A CN102004680A CN 102004680 A CN102004680 A CN 102004680A CN 201010556029 CN201010556029 CN 201010556029 CN 201010556029 A CN201010556029 A CN 201010556029A CN 102004680 A CN102004680 A CN 102004680A
Authority
CN
China
Prior art keywords
status information
running state
information
module
programs
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 201010556029
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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN 201010556029 priority Critical patent/CN102004680A/en
Publication of CN102004680A publication Critical patent/CN102004680A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for dynamically tracking a program running state. The method comprises the following steps of: receiving a user instruction, determining state information to be monitored, and identifying the state information; acquiring the state information, and analyzing and detecting the state information; and judging the program running state according to the analysis and detection result, and if the program running state is abnormal, determining the abnormal position according to the identifier. In the method for dynamically tracking the program running state provided by the embodiment of the invention, the running state of a system can be dynamically tracked, the running state information can be acquired and analyzed, whether the running state of the system is good is judged according to the analysis result, and when the system running state is abnormal, the abnormal position can be accurately positioned.

Description

A kind of method of dynamic tracing program running status and a kind of back board device
Technical field
The application relates to data processing field, particularly relates to a kind of method and a kind of back board device of dynamic tracing program running status.
Background technology
The continual and steady operation of safeguards system is monitored in system's operational process except constructing high-quality software outfit in real time, so that in time find fault, takes measures also to be absolutely necessary in good time.Any one highly reliable software systems all should have very strong monitoring capacity, and monitoring is the core component of modern enterprise IT infrastructure.
In the present circumstance, for the monitoring performance of system imperfection also, when the software of having disposed goes wrong, generally be to solve to the scene by developer or maintainer; Under this solution pattern, for example in the banking system, need be at head office and various places branch while deployment software, the deployment node is many, and the situation complexity is when situation appears in certain software of disposing in lines, the developer can not determine it specifically is that situation appears in the software which is disposed in lines, need investigate one by one each software of disposing in lines,, just increase difficulty and the cost safeguarded if when node is a lot.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of method and a kind of back board device of dynamic tracing program running status, can follow the tracks of the running status of system dynamically, obtain and analyze described running state information, whether the running status according to the analysis result decision-making system is good, and when situation appears in system's operation, can position the position that situation occurs accurately.
Technical scheme is as follows:
A kind of method of dynamic tracing program running status comprises:
Receive user instruction, determine the status information that to monitor and described status information is identified;
Obtain described status information, described status information is carried out analyzing and testing;
According to the analyzing and testing result described running state of programs is judged, unusual if running state of programs occurs, then out-of-the way position is determined according to described sign.
Above-mentioned method, preferred, the described status information of monitoring is the running state information in a plurality of distinct programs.
Above-mentioned method, preferred, the process that described status information is monitored is to load probe in source program, the status information of using probe tracking to monitor.
Above-mentioned method, preferred, comprise that also the result of determination with running state of programs is sent to the process of client.
A kind of back board device comprises:
Receiver module, information determination module, analyzing and testing module and determination module;
Wherein: described receiver module is used to receive the monitored instruction that the user sends;
Described information determination module is used for according to the definite status information that need monitor of the instruction of described receiver module reception, and described status information is identified;
Described analyzing and testing module is used to read the status information that described information determination module is determined, described status information is carried out analyzing and testing;
Described determination module is used for according to the result that described analyzing and testing module analysis detects described running state of programs being judged, if running state of programs occurs unusual, then the sign of described status information being carried out according to described information determination module is determined out-of-the way position.
Above-mentioned device, preferred, the status information that the needs that described information determination module is determined are monitored is the running state information in a plurality of distinct programs.
Above-mentioned device, preferred, described receiver module comprises load units; Described load units is used for loading probe at source program, and the status information that needs are monitored is followed the tracks of.
Above-mentioned device, preferred, also comprise sending module;
Described sending module is used for the result of determination of running state of programs is sent to client.
The technical scheme that is provided by above the embodiment of the present application as seen, the method of dynamic tracing program running status provided by the invention and device, the user sets in advance to the information that needs are monitored, mode with instruction is sent to back board device, back board device loads probe to the needs source program, the information that needs are monitored is monitored, and the described monitor message of check and analysis, according to the analyzing and testing result, running state of programs is judged, if running state of programs occurs unusual, then determine out-of-the way position according to default sign; Effectively realized dynamic tracking, can know the running status of program in real time, and can position, improved the monitoring performance of system, reduced maintenance difficulties and cost unusual place occurring to running state of programs.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method flow diagram of the dynamic tracing program running status that Fig. 1 provides for the embodiment of the present application;
The other method process flow diagram of the dynamic tracing program running status that Fig. 2 provides for the embodiment of the present application;
The structural representation of a kind of back board device that Fig. 3 provides for the embodiment of the present application;
One detailed structure synoptic diagram of a kind of back board device that Fig. 4 provides for the embodiment of the present application;
Another detailed structure synoptic diagram of a kind of back board device that Fig. 5 provides for the embodiment of the present application;
The fundamental diagram of a kind of backboard state that Fig. 6 provides for the embodiment of the present application.
Embodiment
The method of a kind of dynamic tracing program running status that the embodiment of the present application provides and a kind of back board device, at system monitoring performance imperfection in the prior art, can not accurately monitor and the situation of out-of-the way position occurs determining when unusual in program run to running state of programs in the system, pass through configuration parameter, the information that definite needs are monitored, described monitor message is monitored tracking in real time, to improve the monitoring performance of system.
More than be the application's core concept, understand the application's scheme better in order to make those skilled in the art person.Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment only is the application's part embodiment, rather than whole embodiment.Based on the embodiment among the application, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all should belong to the scope of the application's protection.
The method flow diagram of the dynamic tracing program running status that the embodiment of the present application provides comprises as shown in Figure 1:
Step S101: receive user instruction, determine the status information that to monitor and described status information is identified;
The user sets in advance to the information that needs are monitored, and sends with the form of instructing; After receiving the instruction that the user sends, need in the instruction to determine the status information monitored, and described status information is added identification information, be used for information comparison.
Step S102: obtain described status information, described status information is carried out analyzing and testing;
When the control point is arrived in program run, promptly in program operation process, when running to the state that to monitor, obtain the status information of current running status, described status information comprises process, thread, function and the variable state in the program, after obtaining end,, carry out analyzing and testing according to policing algorithm to the essential information of the process, thread, function and the variable that obtain.
Step S103: according to the analyzing and testing result described running state of programs is judged, unusual if running state of programs occurs, then out-of-the way position is determined according to described sign;
Sign can be working procedure site sign, or can determine according to actual needs.
The method of the dynamic tracing program running status that the embodiment of the present application provides, can monitor the running state of programs in the software of disposing in a plurality of places simultaneously, can monitor the running status in a plurality of distinct programs simultaneously, message identification can identify disposing the place, note abnormalities, can in time determine the unusual position that takes place according to sign.Also can the monitor message in the program be identified simultaneously, can accurately locate is that in the program which partly taken place unusually.
The method of the dynamic tracing program running status that the embodiment of the present application provides, in the process that monitor message is monitored, can adopt the mode of state probes to monitor, the probe that utilizes the code instrument of inserting will meet certain format is loaded in the working procedure, as long as the form of probe meets schema.
The method of the dynamic tracing program running status that the embodiment of the present application provides, after running state of programs is judged, also comprise the process that result of determination is sent to client, as shown in Figure 2, step S104: the result of determination of running state of programs is sent to client.
For aforesaid method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
At above method embodiment, the application also provides a kind of back board device, and its structural representation comprises shown in 3:
Receiver module 201, information determination module 202, analyzing and testing module 203 and determination module 204;
Wherein: receiver module 201 is used to receive the monitored instruction that the user sends;
Information determination module 202 is used for according to the definite status information that need monitor of the instruction of described receiver module 201 receptions, and described status information is identified;
Analyzing and testing module 203 is used to read the status information that described information determination module is determined, described status information is carried out analyzing and testing;
Determination module 204 is used for according to the result of described analyzing and testing module 203 analyzing and testing described running state of programs being judged, if running state of programs occurs unusual, then the sign of carrying out according to 202 pairs of described status informations of described information determination module is determined out-of-the way position.
The back board device that the embodiment of the present application provides can be monitored the software of how disposing simultaneously, can monitor the running state information in a plurality of distinct programs simultaneously.
The detailed structure synoptic diagram of the back board device that the embodiment of the present application provides is respectively as Fig. 4, shown in Figure 5, back board device as shown in Figure 4, and receiver module 201 comprises load units 205; Described load units 205 is used for loading probe at source program, and the status information that needs are monitored is followed the tracks of;
In the back board device as shown in Figure 5, also comprise sending module 206;
Described sending module 206 is used for the result of determination of running state of programs is sent to client.
The principle of work synoptic diagram of the back board device that Fig. 6 provides for the embodiment of the present application, backboard is with a kind of form operation of service, monitored goal systems is after running to the control point, can the monitor message of needs be sent to backboard according to the requirement of monitor code, carry out the storage and the management of monitor message by backboard.When client need be upgraded monitor message, just send request by another one interface toward back plate, expression needs to upgrade relevant monitor message.Client is showed monitor message again by certain way in face of the user.
The back board device that the embodiment of the present application provides is loaded into the probe of certain format in the program, thereby make program possess monitoring capacity, before program start, at first start back board device, backboard is supported distributed system, different clients can be connected back board device with port numbers by IP, during program run, can be the associated process of operation, thread, when the monitor message of function and variable sent to back board device, the result who goes out according to running state of programs and analyzing and testing module analysis upgraded the monitor message on the back board device simultaneously.
Back board device is connected with client by interface, and the configuration that sends it back according to client returns to client to corresponding monitor message.
The back board device that the embodiment of the present application provides, two kinds of services mainly are provided, and a kind of is backboard and object code, when object code moves, the analyzing and testing system stores the result in the backboard into according to the information of the corresponding process of policing algorithm analysis, thread, function and variable; A kind of is backboard and client, client can be local also can be that the strange land is disposed, can be provided with by parameter and realize and being connected of backboard that the association attributes of backboard can be set simultaneously, and the data that the filtration client is concerned about are showed.
The present invention can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment or the like.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, by by communication network connected teleprocessing equipment execute the task.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.The above only is the application's a embodiment; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection domain.

Claims (8)

1. the method for a dynamic tracing program running status is characterized in that, comprising:
Receive user instruction, determine the status information that to monitor and described status information is identified;
Obtain described status information, described status information is carried out analyzing and testing;
According to the analyzing and testing result described running state of programs is judged, unusual if running state of programs occurs, then out-of-the way position is determined according to described sign.
2. method according to claim 1 is characterized in that, the described status information of monitoring is the running state information in a plurality of distinct programs.
3. method according to claim 1 is characterized in that, the process that described status information is monitored is to load probe in source program, the status information of using probe tracking to monitor.
4. method according to claim 1 is characterized in that, comprises that also the result of determination with running state of programs is sent to the process of client.
5. a back board device is characterized in that, comprising:
Receiver module, information determination module, analyzing and testing module and determination module;
Wherein: described receiver module is used to receive the monitored instruction that the user sends;
Described information determination module is used for according to the definite status information that need monitor of the instruction of described receiver module reception, and described status information is identified;
Described analyzing and testing module is used to read the status information that described information determination module is determined, described status information is carried out analyzing and testing;
Described determination module is used for according to the result that described analyzing and testing module analysis detects described running state of programs being judged, if running state of programs occurs unusual, then the sign of described status information being carried out according to described information determination module is determined out-of-the way position.
6. device according to claim 5 is characterized in that, the status information that the needs that described information determination module is determined are monitored is the running state information in a plurality of distinct programs.
7. device according to claim 6 is characterized in that described receiver module comprises load units; Described load units is used for loading probe at source program, and the status information that needs are monitored is followed the tracks of.
8. state according to claim 5 is characterized in that, also comprises sending module;
Described sending module is used for the result of determination of running state of programs is sent to client.
CN 201010556029 2010-11-23 2010-11-23 Method for dynamically tracking program running state and rear panel device Pending CN102004680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010556029 CN102004680A (en) 2010-11-23 2010-11-23 Method for dynamically tracking program running state and rear panel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010556029 CN102004680A (en) 2010-11-23 2010-11-23 Method for dynamically tracking program running state and rear panel device

Publications (1)

Publication Number Publication Date
CN102004680A true CN102004680A (en) 2011-04-06

Family

ID=43812057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010556029 Pending CN102004680A (en) 2010-11-23 2010-11-23 Method for dynamically tracking program running state and rear panel device

Country Status (1)

Country Link
CN (1) CN102004680A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521136A (en) * 2011-12-31 2012-06-27 山东中创软件商用中间件股份有限公司 Application program monitoring device and method
CN102708037A (en) * 2012-04-23 2012-10-03 山东中创软件工程股份有限公司 Method and device for checking running state of application program
CN104092557A (en) * 2014-01-17 2014-10-08 腾讯科技(深圳)有限公司 Data collecting method, server, terminal and system
CN106547501A (en) * 2015-09-18 2017-03-29 北京国双科技有限公司 The display packing and device of information
CN107577546A (en) * 2017-07-21 2018-01-12 北京奇艺世纪科技有限公司 A kind of information processing method, device and electronic equipment
CN109167681A (en) * 2018-08-07 2019-01-08 北京云迹科技有限公司 Method for monitoring state and device
WO2019182671A1 (en) * 2018-03-21 2019-09-26 Didi Research America, Llc System and method for process state processing
CN112433945A (en) * 2020-11-26 2021-03-02 百富计算机技术(深圳)有限公司 Method and device for dynamically tracking program and electronic equipment
CN112947602A (en) * 2021-02-01 2021-06-11 合肥阳光新能源科技有限公司 Method, device and system for controlling photovoltaic tracking system
CN114443428A (en) * 2022-01-19 2022-05-06 山东新一代信息产业技术研究院有限公司 Program internal running state monitoring method and device based on IROS

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1394643A2 (en) * 2002-08-23 2004-03-03 Siemens Aktiengesellschaft method and apparatus for active resource monitoring in a numerical control process
CN101354677A (en) * 2008-09-11 2009-01-28 青岛海信移动通信技术股份有限公司 Method for detecting and restoring application program running state and restoring device thereof
CN101794251A (en) * 2010-01-18 2010-08-04 浪潮(北京)电子信息产业有限公司 Computer health monitoring and managing system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1394643A2 (en) * 2002-08-23 2004-03-03 Siemens Aktiengesellschaft method and apparatus for active resource monitoring in a numerical control process
CN101354677A (en) * 2008-09-11 2009-01-28 青岛海信移动通信技术股份有限公司 Method for detecting and restoring application program running state and restoring device thereof
CN101794251A (en) * 2010-01-18 2010-08-04 浪潮(北京)电子信息产业有限公司 Computer health monitoring and managing system and method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521136B (en) * 2011-12-31 2015-06-10 山东中创软件商用中间件股份有限公司 Application program monitoring device and method
CN102521136A (en) * 2011-12-31 2012-06-27 山东中创软件商用中间件股份有限公司 Application program monitoring device and method
CN102708037A (en) * 2012-04-23 2012-10-03 山东中创软件工程股份有限公司 Method and device for checking running state of application program
CN102708037B (en) * 2012-04-23 2015-05-20 山东中创软件工程股份有限公司 Method and device for checking running state of application program
CN104092557B (en) * 2014-01-17 2017-08-25 腾讯科技(深圳)有限公司 Method of data capture, server, terminal and system
CN104092557A (en) * 2014-01-17 2014-10-08 腾讯科技(深圳)有限公司 Data collecting method, server, terminal and system
CN106547501A (en) * 2015-09-18 2017-03-29 北京国双科技有限公司 The display packing and device of information
CN107577546A (en) * 2017-07-21 2018-01-12 北京奇艺世纪科技有限公司 A kind of information processing method, device and electronic equipment
WO2019182671A1 (en) * 2018-03-21 2019-09-26 Didi Research America, Llc System and method for process state processing
CN109167681A (en) * 2018-08-07 2019-01-08 北京云迹科技有限公司 Method for monitoring state and device
CN109167681B (en) * 2018-08-07 2021-08-17 北京云迹科技有限公司 State monitoring method and device
CN112433945A (en) * 2020-11-26 2021-03-02 百富计算机技术(深圳)有限公司 Method and device for dynamically tracking program and electronic equipment
CN112947602A (en) * 2021-02-01 2021-06-11 合肥阳光新能源科技有限公司 Method, device and system for controlling photovoltaic tracking system
CN114443428A (en) * 2022-01-19 2022-05-06 山东新一代信息产业技术研究院有限公司 Program internal running state monitoring method and device based on IROS

Similar Documents

Publication Publication Date Title
CN102004680A (en) Method for dynamically tracking program running state and rear panel device
CN110568838B (en) Vehicle quiescent current acquisition method and system, electronic device and storage medium
CN108959059B (en) Test method and test platform
EP3169018B1 (en) Method and device for establishing performance measurement task and processing performance measurement result
US10313441B2 (en) Data processing system with machine learning engine to provide enterprise monitoring functions
CN103685459A (en) Distributed system, server computer, distributed management server, and failure prevention method
CN110138637B (en) Test data processing method and device, computer equipment and storage medium
CN104572318A (en) Report information obtaining method, device, equipment and system
CN105637488A (en) Tracing source code for end user monitoring
CN105045714A (en) Method and device for testing starting duration of application software and terminal
CN106663041A (en) Recovering usability of cloud based service from system failure
CN114172949A (en) Micro-service link monitoring and tracking method and system
GB2500961A (en) A device for monitoring activity of a computing device
CN111130944B (en) System monitoring method and system
CN112994972A (en) Distributed probe monitoring platform
US8554908B2 (en) Device, method, and storage medium for detecting multiplexed relation of applications
CN109358998A (en) A kind of server detection method, apparatus and system
CN110474821B (en) Node fault detection method and device
CN117370053A (en) Information system service operation-oriented panoramic monitoring method and system
KR101288535B1 (en) Method for monitoring communication system and apparatus therefor
CN113806195A (en) Data processing method, device, equipment, system and storage medium
CN112948225B (en) Link monitoring method and device, monitoring equipment and storage medium
CN111176948A (en) Method and system for monitoring personalized service index
CN113328911B (en) Traffic link monitoring method and device during service operation
CN111026571B (en) Processor down-conversion processing method and device 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: 20110406