CN102708037B - Method and device for checking running state of application program - Google Patents

Method and device for checking running state of application program Download PDF

Info

Publication number
CN102708037B
CN102708037B CN201210120562.0A CN201210120562A CN102708037B CN 102708037 B CN102708037 B CN 102708037B CN 201210120562 A CN201210120562 A CN 201210120562A CN 102708037 B CN102708037 B CN 102708037B
Authority
CN
China
Prior art keywords
application program
data message
operating conditions
current operating
current
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.)
Active
Application number
CN201210120562.0A
Other languages
Chinese (zh)
Other versions
CN102708037A (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.)
SHANDONG CIVIC SE COMMERCIAL MIDDLEWARE 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 CN201210120562.0A priority Critical patent/CN102708037B/en
Publication of CN102708037A publication Critical patent/CN102708037A/en
Application granted granted Critical
Publication of CN102708037B publication Critical patent/CN102708037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method for checking the running state of an application program. The method includes receiving a checking request which is transmitted from a kernel thread for checking the state of the application program running in an OSGI (open service gateway initiative) architecture running environment; starting an acquisition thread corresponding to the checking request according to the checking request, and acquiring data information of current running of the application program according to preset acquisition conditions; and calling a preset rule engine to carry out rule analysis for the data information to obtain the current running state of the application program. By the aid of the method for checking the running state of the application program, the state of the application program running in the OSGI architecture running environment can be checked, the current running state of the application program is obtained, the running condition of a system is known, the shortcoming that problems are only analyzed after the system is abnormal is overcome, and the running condition of the application program in the system can be known when the system runs.

Description

A kind of inspection method of application program running state and testing fixture
Technical field
The application relates to Java field, particularly a kind of inspection method of application program running state and testing fixture.
Background technology
OSGI technology is the dynamic modeling system towards Java.OSGI technology provides the standardization primitive of component construction allowing application program to use reusable, configuration, expansion, cooperation, management.These assemblies can be assembled into an application and in disposing, realize the modularization of assembly, mobilism.
The core component of OSGI specification is OSGI framework.This framework is that application program (being called assembly bundle) provides a standard environment, and whole framework can be divided into some levels:
L0: running environment;
L1: module;
L2: assembly (bundle) life cycle management, as the peace loading, unloading of assembly, activation, stopping;
L3: the registration and unregistration of service, the instantiation of the statement of class and the object of class;
And the security system all arranged in above-mentioned L0, L1, L2 and L3.
When application program is constantly in integrated OSGI framework, can produce the problem that some are known or unknown, these problems may be some unavoidable problems, such as:
A, bundle pacify the life cycle operation exceptions such as loading, unloading, startup, stopping;
B, Java Virtual Machine storehouse are abnormal.
Problem like this can cause system cannot stable operation.
But because Java system is closed operation, before the stable operation of system is affected, its ruuning situation cannot be learnt, only occur analyzing extremely in system, can know that the normal operation of influential system has appearred what problem caused, in the data of certain or some application program wherein run.
Summary of the invention
In view of this, the application provides a kind of inspection method of application program running state, checks, obtain the ruuning situation of system to the application program in OSGI framework running environment, solves the shortcoming occurring just carrying out extremely case study in system.
An inspection method for application program running state, comprising:
Receive the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends;
Check that request starts collecting thread corresponding thereto according to described, data message when gathering that described application program is current to be run by the acquisition condition preset;
Call default regulation engine and rule analysis is carried out to described data message, obtain the current operating conditions of described application program.
Above-mentioned method, preferably, call default regulation engine and carry out rule analysis to described data message, the running status obtaining described application program comprises:
Obtain data message when the described application program collected in described collector is run, in described regulation engine, analyze described data message according to the executing rule of described regulation engine, obtain the current operating conditions of described application program.
Above-mentioned method, preferably, also comprises:
The current operating conditions of the data message in the current operational process of described application program that foundation collects and the described application program of acquisition upgrades the data message in the last checking process of current check process and running status.
Above-mentioned method, preferably, also comprises:
The regulation engine described foundation preset is issued the current operating conditions that described data message carries out the described application program that rule calculates.
Above-mentioned method, preferably, the regulation engine described foundation preset also comprises after issuing the current operating conditions that described data message carries out the described application program that rule calculates:
Judge whether the current operating conditions of described application program meets the Standard operating condition preset, when not meeting, alert trigger.
A testing fixture for application program running state, comprising:
Receiver, for receiving the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends;
Collector, for checking that request starts collecting thread corresponding thereto according to described, data message when gathering that described application program is current to be run by the acquisition condition preset;
Analyzer, carrying out rule analysis for calling default regulation engine to described data message, obtaining the current operating conditions of described application program.
Above-mentioned device, preferably, described analyzer comprises:
Acquisition module, for obtaining data message when the described application program collected in described collector is run;
Analysis module, for analyzing described data message at the executing rule according to described regulation engine, obtains the current operating conditions of described application program.
Above-mentioned device, preferably, also comprises:
Renovator, the current operating conditions for the described application program according to the data message in the current operational process of described application program collected and acquisition upgrades the data message in the last checking process of current check process and running status.
Above-mentioned device, preferably, also comprises:
Distributor, issues the current operating conditions that described data message carries out the described application program that rule calculates for the regulation engine described foundation preset.
Above-mentioned device, preferably, described distributor comprises:
Judge module, for judging whether the current operating conditions of described application program meets the Standard operating condition preset;
Alarm modules, for when the current operating conditions of described application program does not meet the Standard operating condition preset, alert trigger.
This application provides a kind of inspection method of application program running state, comprising: receive the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends; Check that request starts collecting thread corresponding thereto according to described, data message when gathering that described application program is current to be run by the acquisition condition preset; Call default regulation engine and rule analysis is carried out to described data message, obtain the current operating conditions of described application program.Adopt the inspection method of a kind of application program running state of the application, status checking can be carried out to the application program run under OSGI framework running environment, obtain the current operating conditions of this application program, learn the ruuning situation of system, system of need not waiting until occurs just carrying out case study extremely, just can know the ruuning situation of application program wherein during system cloud gray model.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the inspection method embodiment 1 of a kind of application program running state that the application provides;
Fig. 2 is the process flow diagram of the inspection method embodiment 2 of a kind of application program running state that the application provides;
Fig. 3 is the process flow diagram of the inspection method embodiment 3 of a kind of application program running state that the application provides;
Fig. 4 is the structural representation of the testing fixture embodiment 1 of a kind of application program running state that the application provides;
Fig. 5 is the another kind of structural representation of the testing fixture embodiment 1 of a kind of application program running state that the application provides;
Fig. 6 is the structural representation of the testing fixture embodiment 2 of a kind of application program running state that the application provides;
Fig. 7 is the structural representation of the testing fixture embodiment 3 of a kind of application program running state that the application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
The application is based on JSR77.JSR77 proposes an administrative model for the open management information of J2EE platform.Model supports manages the ability of a large amount of J2EE resource, comprises EJB, Web container, JMS with JDBC be connected.Information when this model can also be used for gathering, monitor and control the operation about application server.This universal model supports use management instrument, and the manufacturer managing multiple J2EE like a cork realizes.JSR77 defines many abstract, in handling property statistical information, Application Status and relation, supplements JMX.It define Statistic interface, for the performance data modeling to J2EE assembly.
See Fig. 1, show the process flow diagram of the inspection method embodiment 1 of a kind of application program running state of the application, comprising:
Step S101: receive the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends;
Kernel thread is preset by threading mechanism, the condition that application program running state inspection is carried out in timing is provided with in kernel thread, when arriving the timing arranged, kernel thread sends the inspection request application program run under OSGI framework running environment being carried out to status checking automatically, this request includes multiple inspection condition, wherein, the data object type of checked application program all can be arranged in the request of kernel thread.
The data object type of application program can comprise virtual machine, assembly (Bundle) etc.
Step S102: check that request starts collecting thread corresponding thereto according to described, data message when gathering that described application program is current to be run by the acquisition condition preset;
Threading mechanism also pre-sets the collecting thread corresponding with conditions such as the types checking the checked application program arranged in request.
When receiving the inspection request that kernel thread sends, according to checking that the data object type of the checked application program comprised in request starts collecting thread corresponding thereto, data message when running this application program is current according to the acquisition condition preset gathers, and needs to carry out buffer memory to the data message collected.
When the data object type of application program is virtual machine, collection be the data message of Java Virtual Machine each side, as the kernel thread, internal memory service condition etc. of virtual machine.
When the data object type of application program is bundle assembly, gather the health information of Bundle in OSGI micro-kernel, if bundle is normal start and stop or abnormal start and stop etc.
Wherein, the concrete steps that collecting thread runs comprise:
Step S 1021: receive the inspection request that kernel thread sends, starts collecting thread corresponding thereto;
Step S1022: refresh the last data message having gathered rear buffer memory;
The object refreshed the data message of last time collection is the data that timing upgrades buffer memory, ensures that data are up-to-date.
Step S1023: perform acquisition tasks, gather with the data message of the frequency application programs set;
The frequency of this setting is preset when threading mechanism presets collecting thread, can carry out the setting of frequency size according to the importance of application program and the feature such as easily to make mistakes.
Before next collection period starts, collecting thread gets clogged always, until the data message of this data message flush buffers collected.
Actual implement, the data message collected can be factual data, and this factual data refers to the data of most fundamental type, but not defining objects type, the startup type of such as bundle is int, and the name type of bundle is string.
Step S103: call default regulation engine and rule analysis is carried out to described data message, obtain the current operating conditions of described application program.
Corresponding with collecting thread, regulation engine is provided with analysis rule, the data message that application programs is current when running carries out after collection completes, obtain data message when the described application program collected in described collector is run, in described regulation engine, analyze described data message according to the executing rule of described regulation engine, obtain the current operating conditions of described application program.
In actual enforcement, the whole data message when mode of traversal can be adopted described application program to be run obtains.
From the above, the inspection method of a kind of application program running state that the embodiment of the present application 1 provides, receive the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends, check that request starts collecting thread corresponding thereto according to described, this collecting thread according to preset acquisition condition application programs current run time data message gather, the data message that application programs is current when running carries out after collection completes, obtain data message when the described application program collected in described collector is run, described data message is analyzed according to the executing rule of described regulation engine in described regulation engine, obtain the current operating conditions of described application program.By carrying out the collection Sum fanction analysis of data message to the application program run under OSGI framework running environment, just can obtain the current running status of this application program, system of need not waiting until occurs just carrying out case study extremely.
See Fig. 2, show the process flow diagram of the inspection method embodiment 2 of a kind of application program running state of the application, the present embodiment is after embodiment 1 step S 103, also comprises:
Step S 104: the current operating conditions of the data message in the current operational process of described application program that foundation collects and the described application program of acquisition upgrades the data message in the last checking process of current check process and running status;
The running status of application programs checks each time, all to store the current operating conditions of the described application program of the data message in the current operational process of this application program collected and acquisition, when the running status of application programs checks, the current operating conditions of the data message in the current operational process of described application program gathered when checking according to this and the described application program of acquisition upgrades the data message in last checking process and running status, ensure that the data message of storage and running state information are up-to-date.
Step S105: the regulation engine described foundation preset is issued the current operating conditions that described data message carries out the described application program that rule calculates.
According to the regulation engine preset, described data message is carried out to the current operating conditions of the described application program that rule calculates, issue the described current operating conditions obtained, the mode of issue can be:
Issue in described current operating conditions write journal file;
This log interface must meet micro-kernel daily record specification, and this running status is written in warning, other log daily record of errorlevel according to the rank correspondence preset.
Or,
Described current operating conditions is converted to order issue.
The issue of this order must meet the ordering norms of micro-kernel.
From the above, the inspection method of a kind of application program running state that the embodiment of the present application 2 provides, by the current operating conditions of the described application program according to the data message in the current operational process of described application program collected and acquisition, the data message in the last checking process of current check process and running status are upgraded, the data message and the running state information that ensure that storage are up-to-date, and this application program current operating conditions obtained is issued, the running status situation of programming personnel or user of service's application programs is facilitated to understand fast.
See Fig. 3, show the process flow diagram of the inspection method embodiment 3 of a kind of application program running state of the application, the present embodiment also comprises after the step S 105 of embodiment 2:
Step S106: judge whether the current operating conditions of described application program meets the Standard operating condition preset, when not meeting, alert trigger.
The Standard operating condition that pre-set programs is run, when the current operating conditions that the data of regulation engine to the current operation of described application program collected carry out the described application program that rule analysis obtains does not meet this Standard operating condition, alert trigger, notifies that application program described in programming personnel or user of service continues operation and system will be caused to occur extremely.
From the above, the inspection method of a kind of application program running state that the embodiment of the present application 3 provides, when the current operating conditions carrying out the application program checked does not meet the Standard operating condition set with reality, alert trigger is reported to the police, and notifies programming personnel or user of service.
Corresponding with the inspection method embodiment 1 of a kind of application program running state that above-mentioned the application provides, see Fig. 4, show the structural representation of the testing fixture embodiment 1 of a kind of application program running state of the application, comprising: receiver 101, collector 102 and analyzer 103.
Wherein, receiver 101, for receiving the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends;
Kernel thread is preset by threading mechanism, the condition that application program running state inspection is carried out in timing is provided with in kernel thread, when arriving the timing arranged, kernel thread sends the inspection request application program run under OSGI framework running environment being carried out to status checking automatically, this request includes multiple inspection condition, wherein, the data object type etc. of checked application program all can be arranged in the request of kernel thread.
Receiver 101 receives the inspection request that kernel thread sends.
Wherein, collector 102, for checking that request starts collecting thread corresponding thereto according to described, data message when gathering that described application program is current to be run by the acquisition condition preset;
When receiver 101 receives and checks request, collector 102 starts asks corresponding collecting thread with described inspection, and the type of collecting thread is identical with the type of checked application program, and the type of collecting thread correspond to the particular type of collector 102.
In actual enforcement, collector specifically can adopt probe, and two kinds of comparatively conventional probe type are:
JvmProbe, is responsible for the data message trying to find out, check, gather java virtual machine each side, as the kernel thread, internal memory service condition etc. of virtual machine;
BundleProbe, is responsible for the operation conditions trying to find out, check, gather bundle in OSGI micro-kernel framework, if bundle is normal start and stop or abnormal start and stop etc.
Also the probe of other types can be adopted according to the data object type of application program.
During reality is implemented, this probe type can be arranged in the request of kernel thread, and the request sent according to kernel thread uses and in request, the probe of respective type carries out data information acquisition.
The name of probe must meet java bag named range, and analyzer achieves Statistic interface from the data message that probe obtains.
Probe context is registered to OSGI framework to probe, follows the tracks of from the service action of the probes such as the cancellation of OSGI framework, the renewal of OSGI framework, and when probe service is registered by OSGI framework, this probe of probe context cache is served; When probe service is nullified from OSGI framework, this probe service of buffer memory deleted in probe context.
JSR77 specification followed by described collector 102, realizes Statistic interface, to the factual data modeling that the various aspects of different J2EE assembly collect, is convenient to the transmission of data in analyzer 103.
Wherein, analyzer 103, carrying out rule analysis for calling default regulation engine to described data message, obtaining the current operating conditions of described application program.
Corresponding with collecting thread, regulation engine is provided with analysis rule, the data message that collector 102 application programs is current when running carries out after collection completes, obtain data message when the described application program collected in described collector is run, in described regulation engine, analyze described data message according to the executing rule of described regulation engine, obtain the current operating conditions of described application program.
In actual enforcement, whole data message when the described application program that the mode of traversal can be adopted to obtain collector collection is run.
Fig. 5 shows the another kind of structural representation of the embodiment of the present application 1, and described analyzer 103 comprises: acquisition module 1031 and analysis module 1032.
Wherein, described acquisition module 1031, for obtaining data message when the described application program collected in described collector is run;
Analyzer 103 inside is provided with regulation engine, stores executing rule in regulation engine, and this executing rule comprises the multiple rule such as comparison, calculating.
After data information acquisition when collector 102 application programs is run completes, analyzer 103 is analyzed these data messages, and acquisition module 1031 obtains described data message in analyzer 103.
Wherein, described analysis module 1032, for analyzing described data message at the executing rule according to described regulation engine, obtains the current operating conditions of described application program.
The executing rule stored in regulation engine is corresponding with collector 102, obtains data message when the described application program collected in described collector is run, is analyzed by the executing rule corresponding with it.
From the above, the embodiment of the present application 1 provides a kind of testing fixture of application program running state, and receiver receives the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends; According to described, collector checks that request starts collecting thread corresponding thereto, data message when gathering that described application program is current to be run by the acquisition condition preset; The acquisition module of analyzer obtains data message when the described application program collected in described collector is run, analysis module analyzes described data message according to the executing rule of described regulation engine in described regulation engine, obtains the current operating conditions of described application program.The testing fixture of a kind of application program running state provided by the embodiment of the present application 1 carries out the collection Sum fanction analysis of data message to the application program run under OSGI framework running environment, just can obtain the current running status of this application program, system of need not waiting until occurs just carrying out case study extremely.
See Fig. 6, show the structural representation of the testing fixture embodiment 2 of a kind of application program running state of the application, the present embodiment is that the testing fixture of a kind of application program running state shown in embodiment 1 also comprises:
Renovator 104, the current operating conditions for the described application program according to the data message in the current operational process of described application program collected and acquisition upgrades the data message in the last checking process of current check process and running status.
The running status of application programs checks each time, all to store the current operating conditions of the described application program that the data message in the current operational process of this application program that collector 102 collects and analyzer 103 obtain, when checking the running status of this application programs, the described application program that data message in the current operational process of described application program that when checking according to this, collector 102 gathers and analyzer 103 obtain the data message in the last checking process of current operating conditions and running status are upgraded, the data message and the running state information that ensure that storage are up-to-date.
In actual enforcement, probe context is adopted to upgrade to the data message of probe collection and according to the running status that the data message rule of probe collection calculates.
From the above, the testing fixture of a kind of application program running state that the embodiment of the present application 2 provides, the current operating conditions of the data message in the current operational process of described application program that renovator foundation collects and the described application program of acquisition upgrades the data message in the last checking process of current check process and running status, the data message and the running state information that ensure that storage are up-to-date, and this application program current operating conditions obtained is issued, the running status situation of programming personnel or user of service's application programs is facilitated to understand fast.
See Fig. 7, show the structural representation of the testing fixture embodiment 3 of a kind of application program running state of the application, the present embodiment is that the testing fixture of a kind of application program running state shown in embodiment 2 also comprises:
Distributor 105, issues the current operating conditions that described data message carries out the described application program that rule calculates for the regulation engine described foundation preset.
According to the regulation engine preset, described data message is carried out to the current operating conditions of the described application program that rule calculates, issue the described current operating conditions obtained, the mode of issue can be:
Issue in described current operating conditions write journal file;
This log interface must meet micro-kernel daily record specification, and this running status is written in warning, other log daily record of errorlevel according to the rank correspondence preset.
Or,
Described current operating conditions is converted to order issue.
The issue of this order must meet the ordering norms of micro-kernel.
Described distributor 105 comprises judge module 1051 and alarm modules 1052:
Wherein, described judge module 1051, for judging whether the current operating conditions of described application program meets the Standard operating condition preset;
Standard operating condition is provided with in judge module 1051.
When carrying out the current operating conditions of the described application program that rule calculates according to the regulation engine preset to described data message, current operating conditions described in comparison and Standard operating condition, judge whether described current operating conditions meets this Standard operating condition, meet, namely be, normal operation, described application program continues operation can not cause system exception; Do not meet, described application program continues operation and system will be caused to occur extremely.
Wherein, described alarm modules 1052, for when the current operating conditions of described application program does not meet the Standard operating condition preset, alert trigger.
When the current operating conditions that the data of regulation engine to the current operation of described application program collected carry out the described application program that rule analysis obtains does not meet this Standard operating condition, described application program continues operation and system will be caused to occur extremely, alert trigger, notifies programming personnel or user of service.
From the above, the testing fixture of a kind of application program running state that the embodiment of the present application 3 provides, judge module judges when the current operating conditions carrying out the application program checked does not meet the Standard operating condition set with reality, alarm modules alert trigger is reported to the police, and notifies that application program described in programming personnel or user of service continues operation and system will be caused to occur extremely.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. an inspection method for application program running state, is characterized in that, comprising:
Receive the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends;
Check that request starts collecting thread corresponding thereto according to described, data message when gathering that described application program is current to be run by the acquisition condition preset;
Call default regulation engine and rule analysis is carried out to described data message, obtain the current operating conditions of described application program;
Wherein, described inspection request presets kernel thread by threading mechanism, the condition that application program running state inspection is carried out in timing is provided with in kernel thread, when arriving the timing arranged, kernel thread sends the inspection request application program run under OSGI framework running environment being carried out to status checking automatically, this request includes multiple inspection condition, wherein, is provided with the data object type of checked application program.
2. method according to claim 1, is characterized in that, call default regulation engine and carry out rule analysis to described data message, the running status obtaining described application program comprises:
Obtain data message when the described application program collected in described collector is run, in described regulation engine, analyze described data message according to the executing rule of described regulation engine, obtain the current operating conditions of described application program.
3. method according to claim 2, is characterized in that, also comprises:
The current operating conditions of the data message in the current operational process of described application program that foundation collects and the described application program of acquisition upgrades the data message in the last checking process of current check process and running status.
4. method according to claim 1, is characterized in that, also comprises:
The regulation engine described foundation preset is issued the current operating conditions that described data message carries out the described application program that rule calculates.
5. method according to claim 4, is characterized in that, the regulation engine described foundation preset also comprises after issuing the current operating conditions that described data message carries out the described application program that rule calculates:
Judge whether the current operating conditions of described application program meets the Standard operating condition preset, when not meeting, alert trigger.
6. a testing fixture for application program running state, is characterized in that, comprising:
Receiver, for receiving the inspection request application program run under OSGI framework running environment being carried out to status checking that kernel thread sends;
Collector, for checking that request starts collecting thread corresponding thereto according to described, data message when gathering that described application program is current to be run by the acquisition condition preset;
Analyzer, carrying out rule analysis for calling default regulation engine to described data message, obtaining the current operating conditions of described application program;
Wherein, described collector is preset kernel thread by threading mechanism according to described inspection request, the condition that application program running state inspection is carried out in timing is provided with in kernel thread, when arriving the timing arranged, kernel thread sends the inspection request application program run under OSGI framework running environment being carried out to status checking automatically, this request includes multiple inspection condition, wherein, is provided with the data object type of checked application program.
7. device according to claim 6, is characterized in that, described analyzer comprises:
Acquisition module, for obtaining data message when the described application program collected in described collector is run;
Analysis module, for analyzing described data message at the executing rule according to described regulation engine, obtains the current operating conditions of described application program.
8. device according to claim 7, is characterized in that, also comprises:
Renovator, the current operating conditions for the described application program according to the data message in the current operational process of described application program collected and acquisition upgrades the data message in the last checking process of current check process and running status.
9. device according to claim 6, is characterized in that, also comprises:
Distributor, issues the current operating conditions that described data message carries out the described application program that rule calculates for the regulation engine described foundation preset.
10. device according to claim 9, is characterized in that, described distributor comprises:
Judge module, for judging whether the current operating conditions of described application program meets the Standard operating condition preset;
Alarm modules, for when the current operating conditions of described application program does not meet the Standard operating condition preset, alert trigger.
CN201210120562.0A 2012-04-23 2012-04-23 Method and device for checking running state of application program Active CN102708037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210120562.0A CN102708037B (en) 2012-04-23 2012-04-23 Method and device for checking running state of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210120562.0A CN102708037B (en) 2012-04-23 2012-04-23 Method and device for checking running state of application program

Publications (2)

Publication Number Publication Date
CN102708037A CN102708037A (en) 2012-10-03
CN102708037B true CN102708037B (en) 2015-05-20

Family

ID=46900844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210120562.0A Active CN102708037B (en) 2012-04-23 2012-04-23 Method and device for checking running state of application program

Country Status (1)

Country Link
CN (1) CN102708037B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5755810B2 (en) * 2011-08-01 2015-07-29 グーグル・インコーポレーテッド Techniques for feature extraction
CN103810093A (en) * 2012-11-13 2014-05-21 联想(北京)有限公司 Application detection method and device
CN104658141B (en) * 2013-11-25 2017-06-23 浙江大华系统工程有限公司 A kind of alarm control method and equipment
CN105162639B (en) * 2015-10-10 2018-08-17 上海新炬网络信息技术股份有限公司 A kind of virtual network fault locator under KVM
CN108228319B (en) * 2018-01-10 2021-03-30 天津理工大学 Multi-bridge based semantic reconstruction method
CN109298988A (en) * 2018-07-20 2019-02-01 山东中创软件商用中间件股份有限公司 A kind of acquisition methods and relevant apparatus of cluster instance state
CN109582379B (en) * 2018-12-05 2022-03-11 北京和利时系统工程有限公司 Programmable logic controller system based on microkernel operating system and control method
CN110618911B (en) * 2019-08-15 2022-12-09 中国平安财产保险股份有限公司 Data monitoring method and device, storage medium and server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516012A (en) * 1994-04-05 2004-07-28 ض� Method and device for monitoring and controlling program in network
CN1904852A (en) * 2006-08-01 2007-01-31 西安西电捷通无线网络通信有限公司 Method for monitoring and abnormal processing of computer application program
CN101561774A (en) * 2009-03-31 2009-10-21 深圳创维数字技术股份有限公司 Monitoring method and monitoring system of self-defined protocol service program
CN101833497A (en) * 2010-03-30 2010-09-15 山东高效能服务器和存储研究院 Computer fault management system based on expert system method
CN101980175A (en) * 2010-10-22 2011-02-23 中国科学院软件研究所 Open services gateway initiative (OSGi)-based software component monitoring method and system
CN102004680A (en) * 2010-11-23 2011-04-06 山东中创软件商用中间件股份有限公司 Method for dynamically tracking program running state and rear panel device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410891C (en) * 2002-12-09 2008-08-13 联想(北京)有限公司 Self-debugging and self-restarting method for computer application software

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516012A (en) * 1994-04-05 2004-07-28 ض� Method and device for monitoring and controlling program in network
CN1904852A (en) * 2006-08-01 2007-01-31 西安西电捷通无线网络通信有限公司 Method for monitoring and abnormal processing of computer application program
CN101561774A (en) * 2009-03-31 2009-10-21 深圳创维数字技术股份有限公司 Monitoring method and monitoring system of self-defined protocol service program
CN101833497A (en) * 2010-03-30 2010-09-15 山东高效能服务器和存储研究院 Computer fault management system based on expert system method
CN101980175A (en) * 2010-10-22 2011-02-23 中国科学院软件研究所 Open services gateway initiative (OSGi)-based software component monitoring method and system
CN102004680A (en) * 2010-11-23 2011-04-06 山东中创软件商用中间件股份有限公司 Method for dynamically tracking program running state and rear panel device

Also Published As

Publication number Publication date
CN102708037A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102708037B (en) Method and device for checking running state of application program
US9298589B2 (en) User interaction analysis of tracer data for configuring an application tracer
US9389992B2 (en) Multiple tracer configurations applied on a function-by-function level
KR101683321B1 (en) Monitoring of distributed applications
CN110083436A (en) A kind of business datum real-time monitoring system and method based on Java bytecode enhancing technology
US9021445B2 (en) Tracer list for automatically controlling tracer behavior
US8978016B2 (en) Error list and bug report analysis for configuring an application tracer
US20130283242A1 (en) Tracing Closures in a Callback Environment
Brosig et al. Automated extraction of palladio component models from running enterprise java applications
CN109471845A (en) Blog management method, server and computer readable storage medium
US8918762B2 (en) Generating test plans and test cases from service-oriented architecture and process models
CN111382023A (en) Code fault positioning method, device, equipment and storage medium
US9600523B2 (en) Efficient data collection mechanism in middleware runtime environment
US20180143897A1 (en) Determining idle testing periods
CN104331780A (en) Monitoring system for business process
CN110765189A (en) Exception management method and system for Internet products
CN107395379A (en) A kind of cluster cruising inspection system and method
CN107463490B (en) Cluster log centralized collection method applied to platform development
CN114827140A (en) Real-time data centralized management and control system for wind tunnel site
Becker et al. A Review of Event Formats as Enablers of event-driven BPM
CN105703942B (en) Log collection method and device
CN106817233A (en) A kind of cloud computing management platform alarm method and measurement monitoring platform
CN115525392A (en) Container monitoring method and device, electronic equipment and storage medium
CN113806195B (en) Data processing method, device, equipment, system and storage medium
CN114676198A (en) Benchmark evaluation system for multimode database and construction method thereof

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
TR01 Transfer of patent right

Effective date of registration: 20211206

Address after: 250014 No. 41-1 Qianfo Shandong Road, Lixia District, Jinan City, Shandong Province

Patentee after: SHANDONG CIVIC SE COMMERCIAL MIDDLEWARE Co.,Ltd.

Address before: 250014 No. 41-1 Qianfo Shandong Road, Lixia District, Jinan City, Shandong Province

Patentee before: SHANDONG CVIC SOFTWARE ENGINEERING Co.,Ltd.

Patentee before: Shandong Zhongchuang software commercial middleware Co., Ltd

TR01 Transfer of patent right