CN102521136A - Application program monitoring device and method - Google Patents

Application program monitoring device and method Download PDF

Info

Publication number
CN102521136A
CN102521136A CN2011104601174A CN201110460117A CN102521136A CN 102521136 A CN102521136 A CN 102521136A CN 2011104601174 A CN2011104601174 A CN 2011104601174A CN 201110460117 A CN201110460117 A CN 201110460117A CN 102521136 A CN102521136 A CN 102521136A
Authority
CN
China
Prior art keywords
application program
module
application
monitoring
demand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104601174A
Other languages
Chinese (zh)
Other versions
CN102521136B (en
Inventor
张莹莹
段文良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201110460117.4A priority Critical patent/CN102521136B/en
Publication of CN102521136A publication Critical patent/CN102521136A/en
Application granted granted Critical
Publication of CN102521136B publication Critical patent/CN102521136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides an application program monitoring device, which comprises a requirement customized module, an annotation injection module, an annotation engine module, and a back plate device module, wherein, the requirement customized module is used for analyzing the element structure of the application program and acquiring the requirement of the element in the element structure required to be monitored; the annotation injection module is used for injecting the element requirement to the application program; the annotation engine module is used for acquiring the running state information of the application program in operation; and the back plate device module is used for performing logic processing for the running state information, thereby realizing the monitoring for the application program. The monitoring device provided by the invention can monitor software distributed at other sites at the same time, quickly positions the monitoring software, and improves the accuracy and efficiency of monitoring.

Description

A kind of Application Monitoring device and method
Technical field
The application relates to the program monitoring field, particularly a kind of Application Monitoring device and method.
Background technology
System can move continually and steadily except constructing high-quality software, in system's operational process, monitors 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 has very strong monitoring capacity, and monitoring is the core component of the IT infrastructure of modern enterprise.
At present; Monitoring to software systems is the integral monitoring mode, promptly the whole application programs in the software systems of operation is monitored, comprising the monitor procedure to some application programs that need not monitor; Wasted too much manpower and materials, and the degree of accuracy and the efficient of monitoring are very low.
Summary of the invention
The application's technical matters to be solved provides a kind of Application Monitoring device; When the software systems of operation being monitored in order to solve in the prior art; The degree of accuracy and the very low problem of efficient of monitoring effectively raise the degree of accuracy and the efficient of monitoring to the software systems of operation.
The application also provides a kind of method for monitoring application program, in order to guarantee realization and the application of said apparatus in reality.
In order to address the above problem, the application discloses a kind of Application Monitoring device, comprising:
Demand customized module, note injection module, note engine modules and back board device module.
Wherein:
Said demand customized module is used to analyze the element structure of said application program; And obtain the element demand of the element that need monitor in the said element structure;
Said note injection module is used for said element demand is injected into said application program;
Said note engine modules is used for when said application program is moved, obtaining the running state information of said application program according to said element demand;
Said back board device module is used for said running state information is carried out logical process, realizes the monitoring to said application program.
Above-mentioned device, preferred, also comprise:
The monitor supervision platform module;
Said monitor supervision platform module is used to send connection request to said back board device module, obtains the monitor message of said back board device module to said application program, and said monitor message is shown.
A kind of method for monitoring application program comprises:
The element structure of the application program that analysis need be monitored, and obtain the element demand of the element that need monitor in the said element structure;
Said element demand is injected in the application program that said needs monitor;
When said application program is moved, obtain the running state information of said application program according to said element demand;
Said running state information is carried out logical process, realize monitoring said application program.
Above-mentioned method, preferred, also comprise:
To the monitor message that said application program is monitored be shown.The controller of said JMeter system is provided with a kind of server performance proving installation.
Compared with prior art, the application comprises following advantage:
In this application, when application programs was monitored, the demand customized module was analyzed the element structure of said application program; And obtain the element demand of the element that need monitor in the said element structure; Explaining injection module is injected into said element demand in the application program; When said application program is moved, obtain the running state information of said application program according to said element demand; Back board device carries out logical process to said running state information, realizes the monitoring to said application program.
The supervising device that the application provides can be monitored the software that other place is disposed simultaneously in this locality, through in the configuration monitoring parameter, can position monitoring software fast, has improved the accuracy and the monitoring efficiency of monitoring.
Certainly, arbitrary product of enforcement the application might not reach above-described all advantages simultaneously.
Description of drawings
In order to be illustrated more clearly in the technical scheme among the application embodiment; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiment of the application, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structured flowchart of a kind of Application Monitoring device embodiment 1 of the application;
Fig. 2 is the concrete structure block diagram among a kind of Application Monitoring device embodiment 1 of the application;
Fig. 3 is the process flow diagram of a kind of method for monitoring application program embodiment 1 of the application;
Fig. 4 is the particular flow sheet of a kind of method for monitoring application program embodiment 1 of the application;
Fig. 5 is a kind of sequential chart of realizing the device of Application Monitoring based on the note mode of the application.
Embodiment
To combine the accompanying drawing among the application embodiment below, the technical scheme among the application embodiment is carried out clear, intactly description, 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 belong to the scope of the application's protection.
The application can be used in numerous general or special purpose calculation element environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multiprocessor device, comprise DCE of above any device or equipment or the like.
The application 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 DCE, put into practice the application, in these DCEs, by through communication network connected teleprocessing equipment execute the task.In DCE, program module can be arranged in this locality and the remote computer storage medium that comprises memory device.
With reference to figure 1, show the structured flowchart of a kind of Application Monitoring device of the application embodiment 1, as shown in Figure 1, comprising:
Demand customized module 101, note injection module 102, note engine modules 103 and back board device module 104;
Wherein:
Said demand customized module 101 is used to analyze the element structure of said application program; And obtain the element demand of the element that need monitor in the said element structure;
Demand customized module 101 is mainly used in the demand that customization need be monitored, and can once filter the thread in the source code, function and variable.
Said note injection module 102 is used for said element demand is injected into said application program;
Convert the result of needs customizations the mode of note into, directly be injected in the source code.
Said note engine modules 103 is used for when said application program is moved, obtaining the running state information of said application program according to said element demand;
Explaining engine modules can start before corresponding process, thread, function and variable operation automatically, issues back board device 104 to the status information of operation then.
Said back board device module 104 is used for said running state information is carried out logical process, realizes the monitoring to said application program.
Back board device can be handled on the one hand and explain the data that engine sends, and stores and manages; To monitor the data that the need mode through subscription property on the other hand and send to monitor supervision platform.
In the Application Monitoring device that the application embodiment provides, on the basis of Fig. 1, also comprise, monitor supervision platform module 105, as shown in Figure 2:
Said monitor supervision platform module 105 is used to send connection request to said back board device module, obtains the monitor message of said back board device module to said application program, and said monitor message is shown.
The monitor supervision platform module is showed the status information of monitoring, and monitor supervision platform can be monitored the monitor message of this locality, also can monitor the strange land monitor message, thereby play the effect of unified monitoring.
A kind of Application Monitoring device that the application embodiment provides, its monitoring sequential chart such as the application embodiment are shown in Figure 5, and the principle of its monitoring is following:
At first customize out the element that the user need monitor, directly show the analysis result of object code through the demand customized module, the mode that adopts pulling property according to analysis result is carried out customized demand to the analysis result of object code; Explain injection module and can analyze the demand of customization automatically, generate corresponding comment code and be injected in the target program according to demand; When program run, can automatically start and explain engine modules, when running to process, thread, function and variable, engine can from motion tracking and carry out, the state of thread, function and variable sends to the back board device module and handles; The back board device module is carried out logical process according to the data of explaining the engine modules transmission; Be stored in data in the internal memory simultaneously; When receiving the subscription information of monitor supervision platform, the monitor message after will handling according to refresh time sends to the monitor supervision platform module according to the setting of said subscription information.
Monitor supervision platform module toward back plate apparatus module sends and connects application; Comprise the IP that will monitor; The mechanism at relevant subscription information and this Surveillance center place, the back board device module sends the data to the monitor supervision platform module through after examining with the pattern of subscribing to; The monitor supervision platform module can be carried out secondary filtration to data, and monitor data is defined self-defined demonstration.
For aforesaid each 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 that the application does not receive the restriction of described sequence of movement; Because according to the application, 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 application is necessary.
Corresponding with the device that a kind of Application Monitoring device of above-mentioned the application embodiment 1 is provided, referring to Fig. 3, the application also provides a kind of method for monitoring application program embodiment 1, and in the present embodiment, this method can comprise:
Step S201: the element structure of the application program that analysis need be monitored, and obtain the element demand of the element that need monitor in the said element structure;
Step S202: said at the uniform velocity demand is injected in the application program that said needs monitor;
Step S203: when said application program is moved, obtain the running state information of said application program according to said element demand;
Step S204: said running state information is carried out logical process, realize monitoring to said application program.
The method for monitoring application program that the application embodiment provides on the basis of Fig. 3, also comprises step S205, and is as shown in Figure 4, comprising:
To the monitor message that said application program is monitored be shown.
Through foregoing description, can know, realize that based on the note mode principle of the back board device of java monitoring is the element structure that analyzes source code through the demand customized module; The user need to select the element of monitoring, just defines the element demand, through explaining injection module; The element demand is injected in the source code, and the element demand exists with the mode of explaining, when source code moves; Start and explain engine modules and back board device module, explaining engine modules can be in operation process, thread, function and variable, the note demand that operation is earlier injected; Sending to the back board device module to the note demand of operation then handles; Monitor message after the back board device module meeting stores processor, when the monitor supervision platform module need be showed monitor message, backboard can send to the monitor supervision platform module to monitor message and show.
Need to prove that each embodiment in this instructions all adopts the mode of going forward one by one to describe, what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device type embodiment, because it is similar basically with method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
At last; Also need to prove; In this article; Relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint relation or the order that has any this reality between these entities or the operation.And; Term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements; But also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
For the convenience of describing, be divided into various unit with function when describing above the device and describe respectively.Certainly, when implementing the application, can in same or a plurality of softwares and/or hardware, realize the function of each unit.
Description through above embodiment can know, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that the application's technical scheme contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
More than a kind of search method, Apparatus and system that the application provided have been carried out detailed introduction; Used concrete example among this paper the application's principle and embodiment are set forth, the explanation of above embodiment just is used to help to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to the application's thought, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as the restriction to the application.

Claims (4)

1. an Application Monitoring device is characterized in that, comprising:
Demand customized module, note injection module, note engine modules and back board device module;
Wherein:
Said demand customized module is used to analyze the element structure of said application program; And obtain the element demand of the element that need monitor in the said element structure;
Said note injection module is used for said element demand is injected into said application program;
Said note engine modules is used for when said application program is moved, obtaining the running state information of said application program according to said element demand;
Said back board device module is used for said running state information is carried out logical process, realizes the monitoring to said application program.
2. device according to claim 1 is characterized in that, also comprises:
The monitor supervision platform module;
Said monitor supervision platform module is used to send connection request to said back board device module, obtains the monitor message of said back board device module to said application program, and said monitor message is shown.
3. a method for monitoring application program is characterized in that, comprising:
The element structure of the application program that analysis need be monitored, and obtain the element demand of the element that need monitor in the said element structure;
Said element demand is injected in the application program that said needs monitor;
When said application program is moved, obtain the running state information of said application program according to said element demand;
Said running state information is carried out logical process, realize monitoring said application program.
4. method according to claim 3 is characterized in that, also comprises:
To the monitor message that said application program is monitored be shown.
CN201110460117.4A 2011-12-31 2011-12-31 Application program monitoring device and method Active CN102521136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110460117.4A CN102521136B (en) 2011-12-31 2011-12-31 Application program monitoring device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110460117.4A CN102521136B (en) 2011-12-31 2011-12-31 Application program monitoring device and method

Publications (2)

Publication Number Publication Date
CN102521136A true CN102521136A (en) 2012-06-27
CN102521136B CN102521136B (en) 2015-06-10

Family

ID=46292067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110460117.4A Active CN102521136B (en) 2011-12-31 2011-12-31 Application program monitoring device and method

Country Status (1)

Country Link
CN (1) CN102521136B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023706A (en) * 2012-12-28 2013-04-03 山东中创软件商用中间件股份有限公司 Service monitoring system and service monitoring method
CN107704360A (en) * 2017-09-15 2018-02-16 平安科技(深圳)有限公司 Processing method, equipment, server and the storage medium of monitoring data
CN109561121A (en) * 2017-09-26 2019-04-02 北京国双科技有限公司 Monitor the method and device of deployment
CN110083520A (en) * 2018-01-25 2019-08-02 迈普通信技术股份有限公司 Data capture method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007011605A (en) * 2005-06-29 2007-01-18 Kansai Electric Power Co Inc:The Model inspection support device for software operation specification, model inspection system provided with the same, and model inspection support program
CN101853205A (en) * 2010-06-23 2010-10-06 山东中创软件商用中间件股份有限公司 Method and apparatus for monitoring the running of program
CN102004680A (en) * 2010-11-23 2011-04-06 山东中创软件商用中间件股份有限公司 Method for dynamically tracking program running state and rear panel device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007011605A (en) * 2005-06-29 2007-01-18 Kansai Electric Power Co Inc:The Model inspection support device for software operation specification, model inspection system provided with the same, and model inspection support program
CN101853205A (en) * 2010-06-23 2010-10-06 山东中创软件商用中间件股份有限公司 Method and apparatus for monitoring the running of program
CN102004680A (en) * 2010-11-23 2011-04-06 山东中创软件商用中间件股份有限公司 Method for dynamically tracking program running state and rear panel device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023706A (en) * 2012-12-28 2013-04-03 山东中创软件商用中间件股份有限公司 Service monitoring system and service monitoring method
CN107704360A (en) * 2017-09-15 2018-02-16 平安科技(深圳)有限公司 Processing method, equipment, server and the storage medium of monitoring data
CN107704360B (en) * 2017-09-15 2020-01-07 平安科技(深圳)有限公司 Monitoring data processing method, equipment, server and storage medium
CN109561121A (en) * 2017-09-26 2019-04-02 北京国双科技有限公司 Monitor the method and device of deployment
CN109561121B (en) * 2017-09-26 2021-10-15 北京国双科技有限公司 Method and device for monitoring deployment
CN110083520A (en) * 2018-01-25 2019-08-02 迈普通信技术股份有限公司 Data capture method and device

Also Published As

Publication number Publication date
CN102521136B (en) 2015-06-10

Similar Documents

Publication Publication Date Title
US10169443B2 (en) Automatic log sensor tuning
Canizo et al. Implementation of a large-scale platform for cyber-physical system real-time monitoring
US8819701B2 (en) Cloud computing monitoring and management system
Küçükkeçeci et al. Big data model simulation on a graph database for surveillance in wireless multimedia sensor networks
CN108021809A (en) A kind of data processing method and system
KR20150092586A (en) Method and Apparatus for Processing Exploding Data Stream
CN105279435A (en) Webpage vulnerability detecting method and webpage vulnerability detecting device
CN102521136A (en) Application program monitoring device and method
CN110147327B (en) Multi-granularity-based web automatic test management method
CN103268644A (en) Communication equipment inspection system
CN110096420A (en) A kind of data processing method, system and device
CN109639791A (en) Cloud workflow schedule method and system under a kind of container environment
CN112737800A (en) Service node fault positioning method, call chain generation method and server
US20170322833A1 (en) Measuring provisioning capacity across distributed systems
CN111045893A (en) Method, device and system for executing monitoring task, storage medium and electronic device
CN114785690A (en) Monitoring method based on service grid and related equipment
Zvara et al. Optimizing distributed data stream processing by tracing
US20180329466A1 (en) Per-Screen On Session Power Consumption Profiling
Kim-Hung et al. A scalable IoT framework to design logical data flow using virtual sensor
CN109495335B (en) Service monitoring method, device and system and electronic equipment
CN113535668A (en) Log data processing method and device
CN111376255B (en) Robot data acquisition method and device and terminal equipment
CN105072161A (en) Application program management system based on cloud computing
CN103095786A (en) Online business request identification method and system and server and online sever cluster
US20190332416A1 (en) Natively monitoring software services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant