CN109240887A - Long-distance monitoring method, monitoring client and the monitoring server of application program running state - Google Patents

Long-distance monitoring method, monitoring client and the monitoring server of application program running state Download PDF

Info

Publication number
CN109240887A
CN109240887A CN201811025427.1A CN201811025427A CN109240887A CN 109240887 A CN109240887 A CN 109240887A CN 201811025427 A CN201811025427 A CN 201811025427A CN 109240887 A CN109240887 A CN 109240887A
Authority
CN
China
Prior art keywords
monitoring
control signaling
monitoring server
destination application
control
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
CN201811025427.1A
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.)
Beijing Century Dongfang Communication Equipment Co Ltd
Original Assignee
Beijing Century Dongfang Communication Equipment 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 Beijing Century Dongfang Communication Equipment Co Ltd filed Critical Beijing Century Dongfang Communication Equipment Co Ltd
Priority to CN201811025427.1A priority Critical patent/CN109240887A/en
Publication of CN109240887A publication Critical patent/CN109240887A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a kind of long-distance monitoring method of application program running state, monitoring client and monitoring server, method include: based on be preset in the monitoring programme under the same catalogue of destination application, obtain the operating status of destination application;Operating status is sent to monitoring server, so that monitoring server generates control signaling according to operating status;The control signaling of monitoring server transmission is received, parsing obtains the corresponding control operation of control signaling, and executive control operation.The long-distance monitoring method of application program running state provided in an embodiment of the present invention, by presetting monitoring programme under the same catalogue of monitored application program, and it is provided with the running state of programs that monitoring server obtains each monitoring client monitoring connecting with monitoring server, realize the easy operating status for uniformly monitoring each application program, and can be sent control signaling by monitoring server end, easily control wherein any one application program.

Description

Long-distance monitoring method, monitoring client and the monitoring server of application program running state
Technical field
The present embodiments relate to the long-range monitoring of field of computer technology more particularly to a kind of application program running state Method, monitoring client and monitoring server.
Background technique
Software systems are made of the application program of more than one, these application programs according to software systems architecture design, Complete the function of oneself with respectively taking charge of its duty.In biggish actual items, usually these application deployments in multiple calculating Above machine.In order to which (resource used in such as: CPU usage, memory are using size, line for the operating status of observing software systems Journey handle count etc.), common way is exactly to input authority, the computer that the telnet program is disposed, if Windows system System, then checked by task manager;Linux system is checked by related command.For Windows system, typically only allow for Remote user of the same name logs in one, if two developers check program information simultaneously, then finally logs in remote computer User will be replaced previous.In order to check the operating status of each application program of entire software systems, then need institute The computer equipment related to remotely accesses one time one by one, and records its operating status.
As it can be seen that the above-mentioned method for checking remote application operating status is quite cumbersome, heavy workload, efficiency is extremely low, non- It is often inconvenient.Therefore, a kind of long-distance monitoring method of application program running state is needed now to solve the above problems.
Summary of the invention
To solve the above-mentioned problems, the embodiment of the present invention provides one kind and overcomes the above problem or at least be partially solved State the long-distance monitoring method and system of a kind of application program running state of problem.
The first aspect embodiment of the present invention provides a kind of long-distance monitoring method of application program running state, comprising:
Based on be preset in the monitoring programme under the same catalogue of destination application, obtain the fortune of the destination application Row state;
The operating status is sent to monitoring server, so that the monitoring server generates control according to the operation state Signaling processed;
The control signaling that the monitoring server is sent is received, parsing obtains the corresponding control of the control signaling Operation, and execute the control operation.
The embodiment of the invention provides the long-distance monitoring methods of another application program running state for second aspect, comprising:
Receive the operating status of the destination application of monitoring client transmission;
Control signaling is generated according to the operation state;
The control signaling is sent to the monitoring client, is corresponded to so that monitoring client parsing obtains the control signaling Control operation, and execute the control and operate.
The embodiment of the invention provides a kind of monitoring clients for the third aspect, comprising:
Obtain module, for based on be preset in the monitoring programme under the same catalogue of destination application, obtain the mesh Mark the operating status of application program;
First sending module, for sending the operating status to monitoring server, for the monitoring server according to The operating status generates control signaling;
Monitoring module, the control signaling sent for receiving the monitoring server, parsing obtain the control The corresponding control operation of signaling, and execute the control operation.
The embodiment of the invention provides a kind of monitoring servers for fourth aspect, comprising:
Receiving module, the operating status of the destination application for receiving monitoring client transmission;
Control signaling generation module, for generating control signaling according to the operation state;
Second sending module, for the control signaling to be sent to the monitoring client, so that monitoring client parsing obtains The corresponding control operation of the control signaling is taken, and executes the control operation.
The embodiment of the invention provides a kind of electronic equipment for 5th aspect, comprising:
Processor, memory, communication interface and bus;Wherein, the processor, memory, communication interface pass through described Bus completes mutual communication;The memory is stored with the program instruction that can be executed by the processor, the processor Described program instruction is called to be able to carry out the long-distance monitoring method of above-mentioned application program running state.
The embodiment of the invention provides a kind of non-transient computer readable storage medium, the non-transient calculating for 6th aspect Machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer execute above-mentioned application program operation shape The long-distance monitoring method of state.
The long-distance monitoring method of application program running state provided in an embodiment of the present invention, by monitored application journey Monitoring programme is preset under the same catalogue of sequence, and is provided with monitoring server and is obtained each monitoring client connecting with monitoring server The running state of programs of monitoring realizes the easy operating status for uniformly monitoring each application program, and can be by monitoring service Device end sends control signaling, and easily controls wherein any one application program.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of long-distance monitoring method flow diagram of application program running state provided in an embodiment of the present invention;
Fig. 2 is the long-distance monitoring method process signal of another application program running state provided in an embodiment of the present invention Figure;
Fig. 3 is Sip request message head form schematic diagram provided in an embodiment of the present invention;
Fig. 4 is XML protocol compiling exemplary diagram provided in an embodiment of the present invention;
Fig. 5 is the long-range monitoring Signalling exchange schematic diagram of application program running state provided in an embodiment of the present invention;
Fig. 6 is monitoring server report form showing program state schematic diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of monitoring client structural schematic diagram provided in an embodiment of the present invention;
Fig. 8 is the structural block diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 9 is a kind of monitoring server structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Currently, it is many for the mode of remote control application program in the prior art, such as established specially by vpn routers Communication channel is monitored monitoring client, and there are also for example inject progress information in software source code by monitoring probe to adopt Collection, then the method that monitoring information is obtained by shell script.Also there is the Application Status monitoring based on liunx system deployment Mode.
But not providing one kind still in the prior art can be for windows platform large software system (such as comprehensive view Frequency monitoring system) service module operating status monitoring and control because based on windows platform exploitation large software system Usually it is responsible for the complicated logic calculation of processing as background service module by multiple subprograms, needs extremely strong operation stability, It is also required to maintenance personnel simultaneously to be monitored its inside key procedure moment, if without a kind of easily side of monitoring and controlling Formula, it will the work load of maintenance personnel is aggravated, and efficiency is extremely low, it is very inconvenient.
In view of the above-mentioned problems, Fig. 1 is a kind of long-range monitoring side of application program running state provided in an embodiment of the present invention Method flow diagram, as shown in Figure 1, comprising:
101, based on be preset in the monitoring programme under the same catalogue of destination application, obtain the destination application Operating status;
102, the operating status is sent to monitoring server, so that the monitoring server is given birth to according to the operation state At control signaling;
103, the control signaling that the monitoring server is sent is received, it is corresponding that parsing obtains the control signaling Control operation, and execute the control operation.
It should be noted that the executing subject of the embodiment of the present invention is monitoring client, that is, the terminal device being monitored.Each In terminal device, it is understood that there may be multiple to need monitored application program, the embodiment of the present invention will need monitored application journey Sequence is known as destination application.So the application scenarios of the embodiment of the present invention are substantially the resource occupation to destination application It is monitored, and is required to remotely to open destination application, close or reboot operation.The embodiment of the present invention provides Method mainly in Windows program, including console and with the program at interface.
Specifically, in a step 101, monitoring programme, that is, embodiment of the present invention is in order to realize that monitoring purpose is answered in target in advance With the program stored under the same catalogue of program, then each monitoring programme by with the target application journey under its same catalogue Sequence forms the relationship of a corresponding binding, starts monitoring programme while monitoring client starts destination application, to monitor Program is monitored destination application.Further, in step 101, the operating status of destination application mainly includes State parameter in occupation condition and some other program operation process in destination application operational process.By with The monitoring programme of destination application binding, can obtain the operating status of destination application in real time.
It is understood that needing one by one to remember each destination application for remotely monitoring in the prior art Record, such monitor mode is very complicated and is unfavorable for user and conveniently checks.And in step 102 of the embodiment of the present invention, monitoring Monitoring server can be sent to by holding the operating status for the destination application that will acquire, so that monitoring server is receiving operation It carries out storing and checking for user after state, to generate corresponding control signaling according to the demand of user.Control signaling refers to According to the information that the communication protocol of preset monitoring server and monitoring client encapsulates, the information content mainly include monitoring server to The control operation that monitoring client issues.It should be noted that monitoring server can receive the target program that multiple monitoring clients are sent Operating status, the operating status for multiple destination applications that same monitoring client is sent can also be received, and to each target Application program slitting store and shows user at monitoring server end, and the control needed to be implemented for user's selection operates, Such as: " refreshing ", " restarting ", " stopping ", " starting " etc..Preferably, the embodiment of the present invention is carried out by the way of regularly sending Operating status is sent, such as sends operating status to monitoring service by ReportInfo signaling according to the time interval of 120s Device.
Further, in step 103, it has been selected as user at monitoring server end corresponding about destination application After control operation, monitoring client will receive the generated control signaling of monitoring server transmission, and monitoring client is further according to agreement to control Signaling processed is parsed accordingly, to obtain the control operation of user's actual selection from control signaling, and these is controlled Operation is handed down to the monitoring programme of destination application binding, and the operation of monitoring programme response control is completed to destination application Relevant operation.
The long-distance monitoring method of application program running state provided in an embodiment of the present invention, by monitored application journey Monitoring programme is preset under the same catalogue of sequence, and is provided with monitoring server and is obtained each monitoring client connecting with monitoring server The running state of programs of monitoring realizes the easy operating status for uniformly monitoring each application program, and can be by monitoring service Device end sends control signaling, and easily controls wherein any one application program.
On the basis of the above embodiments, the method also includes:
If detecting, the operating status of the destination application to be abnormal, based on the monitoring programme, is restarted described Destination application.
By the content of above-described embodiment it is found that the embodiment of the present invention under the same catalogue of destination application by presetting Monitoring programme, and monitoring programme and destination application are bound, to be supervised by monitoring programme to destination application Control, and the operating status of destination application can be obtained by monitoring programme.It is understood that for application program and Speech is probably to occur for example in the process of running: the abnormalities such as exception is exited, collapsed, is stuck, above-mentioned different in appearance After normal state, it will be unable to its normal monitoring.
It can not be monitored when in order to solve the problems, such as above-mentioned abnormality, the embodiment of the present invention provides monitoring programme and can examine It measures when operating status is abnormal and immediately independently restarts destination application, so that it is guaranteed that monitoring programme and destination application It sustainedly and stably runs, plays the function that a program is guarded automatically.
On the basis of the above embodiments, described based on being preset in and the monitoring journey under the same catalogue of destination application Sequence, before the operating status for obtaining the destination application, the method also includes:
Obtain the configuration information of the monitoring programme;
Authentication information is sent to the monitoring server, so that the monitoring server is according to institute based on the configuration information Authentication information is stated to be authenticated;
The authentication success message that the monitoring server is sent is received, to complete the binding to the monitoring server.
By the content of above-described embodiment it is found that the embodiment of the present invention is added to a prison in each destination application Program is controlled, and using the monitoring programme as the demons of destination application, then monitoring programme and destination application are put Under same first class catalogue, start destination application simultaneously when starting monitoring programme to obtain the operation shape of destination application State.
So when monitoring programme starts for the first time, the embodiment of the present invention needs to add starting up in registration table, thus The monitoring programme can be started automatically when opening.The embodiment of the present invention is essentially by the monitoring programme and monitoring server Between communicated, then when being communicatively coupled for the first time, need to configure good relevant configuration information in monitoring programme, match Confidence breath mainly includes: filling in the title of destination application, the unique identification of destination application, connection monitoring server The password at end, monitoring server end IP address and port information.When so establishing communication connection followed by, monitoring client Directly to obtain configured configuration information from inside.
Further, based in configuration information IP address and port information determine and need the monitoring server that connects, It sends authentication information to monitoring server to be authenticated, the name of the destination application in the authentication information in subsidiary configuration information Claim, the unique identification of destination application, the password for connecting monitoring server end, the password at the connection monitoring server end passes through Md5 encryption algorithm is encrypted, it is ensured that the safety of verification process.
Finally, confirming that errorless rear realize monitors after monitoring client receives the authentication success message of monitoring server transmission Binding between end and monitoring server, so that information exchange is completed in monitoring followed by the process.
Fig. 2 is the long-distance monitoring method process signal of another application program running state provided in an embodiment of the present invention Figure, as shown in Figure 2, comprising:
201, the operating status of the destination application of monitoring client transmission is received;
202, control signaling is generated according to the operation state;
203, the control signaling is sent to the monitoring client, so that monitoring client parsing obtains the control signaling Corresponding control operation, and execute the control operation.
It should be noted that the executing subject of the embodiment of the present invention is monitoring server, and in embodiments of the present invention, monitoring Server can be connect with several monitoring clients, receive the operating status for the destination application that all monitoring clients are sent.User Understand the state of each destination application by the display on checking monitoring server, and by monitoring server to any one A destination application assigns control operation, such as: " refreshing ", " restarting ", " stopping ", " starting ".
Lead to specifically, monitoring server can be established with the monitoring programme being preset in monitoring client in destination application in advance Letter connection.After receiving the authentication information of monitoring client transmission, database is inquired according to the configuration information for including in authentication information, Whether verification monitoring programme is registered in the database of monitoring server, if the configuration information inquiry in monitoring programme is errorless, Monitoring client is then so bound into monitoring server.After monitoring programme authenticates successfully, in step 201, monitoring server can be received The destination application running state information sent to monitoring programme, it is preferred that be received according to the preset time interval.
Further, in step 202, each destination application received is shown to user by monitoring server, For user after checking destination application operating status, user can choose specified entry, execute " refreshing ", " restarting ", " stopping ", " starting " movement, after receiving the selection operation of user, generates corresponding control signaling.Such as: user is in monitoring server On selected to destination application A carry out " refreshings " operate, then monitoring server can generate according to the user's choice about The control signaling of destination application A, the control signaling are used to indicate the corresponding monitoring programme of destination application A and answer target " refreshing " is executed with program A.
In step 203, after monitoring server generates control signaling, control signaling is sent to determining target Monitoring client where application program determines the control that monitoring server substantially issues so that monitoring client parses the control signaling Operation, and the control is executed by the corresponding monitoring programme of destination application and is operated.
The long-distance monitoring method of application program running state provided in an embodiment of the present invention passes through in monitored application journey Monitoring programme is preset under the same catalogue of sequence, and is provided with monitoring server and is obtained each monitoring client connecting with monitoring server The running state of programs of monitoring realizes the easy operating status for uniformly monitoring each application program, and can be by monitoring service Device end sends control signaling, and easily controls wherein any one application program.
It is on the basis of the above embodiments, described to generate control signaling according to the operation state, comprising:
According to the operation state, it obtains and is operated about the control of the destination application;
The control operation is packaged into the control signaling of Sip and XML format.
By the content of above-described embodiment it is found that monitoring server provided in an embodiment of the present invention need with multiple monitoring clients it Between establish communication connection.Preferably, the embodiment of the present invention is communicated between monitoring server and monitoring client using network Socket, Communication protocol is by the way of Sip and XML.Sip is Session initiation Protocol, it is a text based application layer control association View, for creating, modifying and discharging the session of one or more participants.XML is a kind of network transmission protocol, has readability The strong and convenient good characteristic of parsing.Fig. 3 is Sip request message head form schematic diagram provided in an embodiment of the present invention, and Fig. 4 is this The XML protocol that inventive embodiments provide compiles exemplary diagram, then monitoring server can in such a way that such as Fig. 3 and Fig. 4 illustrates The control of user's selection is operated and is encapsulated as corresponding control signaling according to the format of Sip+XML, so that monitoring client is receiving control Control signaling is parsed according to same agreement after signaling message processed, obtains the corresponding control operation of control signaling.
The communication mode of Sip provided in an embodiment of the present invention and XML format, scalability are preferable.
On the basis of the above embodiments, the method also includes:
Upgrading signaling is sent to the monitoring client, so that the monitoring client upgrades monitoring programme according to the upgrading signaling.
Scheme provided in an embodiment of the present invention supports monitoring client upgrading, and upgrades very convenient, such as following reports journey The signaling of sequence state only need to increase a line in the parameter parameters of agreement if needing to detect more quantity of states afterwards, Monitoring client and monitoring server modify on a small quantity, replace monitoring server, then the whole monitoring programmes of unified upgrading, i.e., The monitoring to other quantity of states can be achieved.
Specific escalation process are as follows:
1, monitoring server sends " upgrading " signaling to monitoring client;
2, monitoring client downloads upgrading device, new edition monitoring programme from " designated position ";
3, monitoring client checks whether downloaded new edition monitor version is higher than current version, if being not higher than current version This, not upgrades, is otherwise upgraded;
4, monitoring client starting upgrading device, makes oneself to exit after starting successfully, otherwise not upgrades
5, new edition monitoring programme is replaced old edition program by upgrading device, starts new edition monitoring programme.
Fig. 5 is the long-range monitoring Signalling exchange schematic diagram of application program running state provided in an embodiment of the present invention, such as Fig. 5 Shown, method provided in an embodiment of the present invention mainly includes the both ends communication process between monitoring client and monitoring server, specifically Steps are as follows:
Destination application and monitoring programme are placed under same first class catalogue by step 1 in monitoring client, at the same time will prison Control demons of the program as destination application, when the operating status for detecting destination application is exception can and Shi Chongqi destination application.When starting monitoring programme for the first time, booting self-starting item can be added in the registration table of monitoring client, and The relevant configuration information of configuration monitoring program, configuration information include the title of destination application, destination application it is unique The password of mark, connection monitoring server, the IP address and port information of monitoring server.When second and starting later, It is automatic to read configuration information, it is reconfigured again in monitoring client without user.
Step 2, monitoring client send Register signaling (certification letter according to the IP address and port information of monitoring server Breath) it is authenticated to corresponding monitoring server, the title of destination application is carried in the Register signaling, target is answered With the unique identification of program, connect monitoring server password, and password pass through MD5 algorithm for encryption, it is ensured that the safety of information.
Step 3, monitoring server inquire database, and it is on record whether verification monitoring programme is registered, if destination application Title, the unique identification of destination application, connect monitoring server password confirming it is errorless, authentication authorization and accounting success.
Step 4, monitoring server send authentication success message to monitoring client, complete tying up for monitoring server and monitoring client It is fixed.
Step 5, monitoring client report the operating status of destination application by ReportInfo signaling.Preferably, it adopts It is reported with the form regularly sent, such as every 120 seconds transmission operating statuses to monitoring server.
The operating status of each destination application received is shown to user by step 6, monitoring server, and with report Sheet form shows, and user can choose specified entry, and control is selected to operate, such as: " refreshing ", " restarting ", " open at " stopping " It is dynamic ".Control operation is encapsulated as the control signaling of Sip+XML format by monitoring server.
Packaged control signaling is sent to monitoring client by step 7, monitoring server.
Corresponding control operation is obtained after step 8, monitoring client parsing control signaling, and indicates that monitoring programme executes the control The remote operation to destination application is completed in operation.
Specifically, the embodiment of the present invention says the scheme of the embodiment of the present invention by taking comprehensive video monitoring subsystem as an example It is bright.
Comprehensive video monitoring subsystem includes administrative unit MU, storage unit SU, event store ESU, divides/retransmission unit DDU, video system act on behalf of multiple background modules such as SAD_HK, Alarm Unit AU, network management unit NMU.
Firstly, the embodiment of the present invention can be deployed to corresponding by monitoring programme (demons) together with above-mentioned module Above monitoring server, and start monitoring programme, which starts for the first time can detect the suffix under current directory as exe's Executable file allows user's selection to be monitored which application program, and monitoring programme starts the application program selected later. Finally, IP and the port of user configuration monitoring server.
It should be noted that configuration file will be written in be monitored selected by user program, filled out monitoring server information, monitor Program the 2nd time and later starting do not need user and are filled in again (except non-user clicks " resetting " or is lost configuration file).
Such as monitoring server is placed in 192.168.104.110 equipment, is double-clicked and is started the program, monitoring programme discovery Monitoring server is online, that is, is attached, authentication operation, after success, reports the operating status of respective monitoring program.Monitoring Operating status includes: CPU usage, memory size, Thread Count, handle count, operation duration, restarts number etc..
User is on monitoring server it can be seen that the operating status of the monitored program of items shown with report form, figure 6 be monitoring server report form showing program state schematic diagram provided in an embodiment of the present invention, as shown in fig. 6, user can choose Certain a line of report carries out " refreshing " " restarting " " stopping " " starting " and " upgrading " operation to monitored program.User selects it Afterwards, signaling is sent to specified monitor client with Sip+XML situation, after monitor client parses signaling, executes related behaviour Make.
Fig. 7 is a kind of monitoring client structural schematic diagram provided in an embodiment of the present invention, as shown in fig. 7, comprises: obtain module 701, the first sending module 702 and monitoring module 703, in which:
Obtain module 701 be used for based on be preset in the monitoring programme under the same catalogue of destination application, described in acquisition The operating status of destination application;
First sending module 702 is for sending the operating status to monitoring server, for the monitoring server root Control signaling is generated according to the operating status;
Monitoring module 703 is used to receive the control signaling that the monitoring server is sent, and parsing obtains the control The corresponding control operation of signaling processed, and execute the control and operate.
It is specific how to pass through acquisition module 701, the first sending module 702 and the progress application program prison of monitoring module 703 Control can be used for executing the technical solution of method for monitoring application program embodiment shown in FIG. 1, implementing principle and technical effect class Seemingly, details are not described herein again.
Monitoring client provided in an embodiment of the present invention, by presetting monitoring journey under the same catalogue of monitored application program Sequence, and it is provided with the running state of programs that monitoring server obtains each monitoring client monitoring connecting with monitoring server, it realizes It is easy uniformly to monitor the operating status of each application program, and can be sent control signaling by monitoring server end, easily Control wherein any one application program.
On the basis of the above embodiments, the monitoring client further include:
Module is guarded, if for detecting the operating status of the destination application to be abnormal, based on the monitoring Program restarts the destination application.
Protective module provided in an embodiment of the present invention detects the operating status of destination application by monitoring programme, it is ensured that Destination application can operate normally.
On the basis of the above embodiments, the monitoring client further include:
Authentication module, for obtaining the configuration information of the monitoring programme;Authentication information is sent based on the configuration information To the monitoring server, so that the monitoring server is authenticated according to the authentication information;Receive the monitoring clothes The authentication success message that business device is sent, to complete the binding to the monitoring server.
The embodiment of the present invention provides a kind of electronic equipment, comprising: at least one processor;And with the processor communication At least one processor of connection, in which:
Fig. 8 is the structural block diagram of a kind of electronic equipment provided in an embodiment of the present invention, referring to Fig. 8, the electronic equipment, packet It includes: processor (processor) 810, communication interface (Communications Interface) 820, memory (memory) 830 and bus 840, wherein processor 810, communication interface 820, memory 830 complete mutual communication by bus 840. Processor 810 can call the logical order in memory 830, to execute following method: based on being preset in and target application journey Monitoring programme under the same catalogue of sequence, obtains the operating status of the destination application;The operating status is sent to monitoring Server, so that the monitoring server generates control signaling according to the operation state;Receive the monitoring server hair The control signaling sent, parsing obtains the corresponding control operation of the control signaling, and executes the control operation.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt Computer execute when, computer is able to carry out method provided by above-mentioned each method embodiment, for example, based on be preset in Monitoring programme under the same catalogue of destination application, obtains the operating status of the destination application;Send the operation State is to monitoring server, so that the monitoring server generates control signaling according to the operation state;Receive the prison The control signaling that server is sent is controlled, parsing obtains the corresponding control operation of the control signaling, and executes the control Operation.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage Medium storing computer instruction, the computer instruction make the computer execute side provided by above-mentioned each method embodiment Method, for example, based on be preset in the monitoring programme under the same catalogue of destination application, obtain the destination application Operating status;The operating status is sent to monitoring server, so that the monitoring server is given birth to according to the operation state At control signaling;The control signaling that the monitoring server is sent is received, it is corresponding that parsing obtains the control signaling Control operation, and execute the control operation.
Fig. 9 is a kind of monitoring server structural schematic diagram provided in an embodiment of the present invention, as shown in Figure 9, comprising: receives mould Block 901, control signaling generation module 902 and the second sending module 903, in which:
Receiving module 901 is used to receive the operating status of the destination application of monitoring client transmission;
Control signaling generation module 902 for generating control signaling according to the operation state;
Second sending module 903 is used to the control signaling being sent to the monitoring client, for monitoring client parsing The corresponding control operation of the control signaling is obtained, and executes the control operation.
It is specific how to be carried out by receiving module 901, control signaling generation module 902 and the second sending module 903 Long-range monitoring can be used for executing the technical solution of long-distance monitoring method embodiment shown in Fig. 2, implementing principle and technical effect Similar, details are not described herein again.
Monitoring server provided in an embodiment of the present invention realizes the easy operation shape for uniformly monitoring each application program State, and can be sent control signaling by monitoring server end, easily control wherein any one application program.
On the basis of the above embodiments, the control signaling generation module includes:
Control operation acquiring unit, for according to the operation state, obtaining the control about the destination application Operation;
Encapsulation unit, for the control operation to be packaged into the control signaling of Sip and XML format.
Control signaling generation module provided in an embodiment of the present invention will be used by control operation acquiring unit and encapsulation unit The control operation that family provides is packaged into the control signaling of Sip and XML format, so that scalability is more preferably also easy to monitoring client reading.
On the basis of the above embodiments, the monitoring server further include:
Upgraded module, for sending upgrading signaling to the monitoring client, so that the monitoring client is according to the upgrading signaling Upgrade monitoring programme.
Upgraded module provided in an embodiment of the present invention can be supported to upgrade all monitoring clients, and escalation process is easy to be fast Victory, it is user-friendly.
Following method can also be performed in electronic equipment shown in Fig. 8: receiving the destination application of monitoring client transmission Operating status;Control signaling is generated according to the operation state;The control signaling is sent to the monitoring client, for described Monitoring client parsing obtains the corresponding control operation of the control signaling, and executes the control operation.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt When computer executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, receives monitoring client The operating status of the destination application of transmission;Control signaling is generated according to the operation state;The control signaling is sent To the monitoring client, so that monitoring client parsing obtains the corresponding control operation of the control signaling, and the control is executed Operation.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage Medium storing computer instruction, the computer instruction make the computer execute side provided by above-mentioned each method embodiment Method, for example, receive the operating status of the destination application of monitoring client transmission;Control is generated according to the operation state Signaling;The control signaling is sent to the monitoring client, so that the monitoring client parsing acquisition control signaling is corresponding Control operation, and execute the control operation.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of long-distance monitoring method of application program running state characterized by comprising
Based on be preset in the monitoring programme under the same catalogue of destination application, obtain the operation shape of the destination application State;
The operating status is sent to monitoring server, so that the monitoring server generates control letter according to the operation state It enables;
The control signaling that the monitoring server is sent is received, parsing obtains the corresponding control behaviour of the control signaling Make, and executes the control operation.
2. the method according to claim 1, wherein the method also includes:
If detecting, the operating status of the destination application to be abnormal, based on the monitoring programme, restarts the target Application program.
3. the method according to claim 1, wherein being based on being preset in and the same mesh of destination application described Monitoring programme under record, before the operating status for obtaining the destination application, the method also includes:
Obtain the configuration information of the monitoring programme;
Authentication information is sent to the monitoring server, so that the monitoring server is recognized according to based on the configuration information Card information is authenticated;
The authentication success message that the monitoring server is sent is received, to complete the binding to the monitoring server.
4. a kind of long-distance monitoring method of application program running state characterized by comprising
Receive the operating status of the destination application of monitoring client transmission;
Control signaling is generated according to the operation state;
The control signaling is sent to the monitoring client, so that monitoring client parsing obtains the corresponding control of the control signaling System operation, and execute the control operation.
5. according to the method described in claim 4, it is characterized in that, described generate control signaling, packet according to the operation state It includes:
According to the operation state, it obtains and is operated about the control of the destination application;
The control operation is packaged into the control signaling of Sip and XML format.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
Upgrading signaling is sent to the monitoring client, so that the monitoring client upgrades monitoring programme according to the upgrading signaling.
7. a kind of monitoring client characterized by comprising
Obtain module, for based on be preset in the monitoring programme under the same catalogue of destination application, obtain the target and answer With the operating status of program;
First sending module, for sending the operating status to monitoring server, so that the monitoring server is according to Operating status generates control signaling;
Monitoring module, the control signaling sent for receiving the monitoring server, parsing obtain the control signaling Corresponding control operation, and execute the control operation.
8. a kind of monitoring server characterized by comprising
Receiving module, the operating status of the destination application for receiving monitoring client transmission;
Control signaling generation module, for generating control signaling according to the operation state;
Second sending module obtains institute for the control signaling to be sent to the monitoring client so that the monitoring client parses The corresponding control operation of control signaling is stated, and executes the control operation.
9. a kind of electronic equipment, which is characterized in that including memory and processor, the processor and the memory pass through always Line completes mutual communication;The memory is stored with the program instruction that can be executed by the processor, the processor tune The method as described in claim 1 to 6 is any is able to carry out with described program instruction.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute such as method as claimed in any one of claims 1 to 6.
CN201811025427.1A 2018-09-04 2018-09-04 Long-distance monitoring method, monitoring client and the monitoring server of application program running state Pending CN109240887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811025427.1A CN109240887A (en) 2018-09-04 2018-09-04 Long-distance monitoring method, monitoring client and the monitoring server of application program running state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811025427.1A CN109240887A (en) 2018-09-04 2018-09-04 Long-distance monitoring method, monitoring client and the monitoring server of application program running state

Publications (1)

Publication Number Publication Date
CN109240887A true CN109240887A (en) 2019-01-18

Family

ID=65060411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811025427.1A Pending CN109240887A (en) 2018-09-04 2018-09-04 Long-distance monitoring method, monitoring client and the monitoring server of application program running state

Country Status (1)

Country Link
CN (1) CN109240887A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618344A (en) * 2019-01-25 2019-04-12 刘美连 A kind of secure connection method and device of wireless monitoring equipment
CN109947618A (en) * 2019-02-26 2019-06-28 上海鹰瞳医疗科技有限公司 Application Status monitoring method, equipment and system
CN110795159A (en) * 2019-10-30 2020-02-14 福建省汽车工业集团云度新能源汽车股份有限公司 Method for preventing vehicle-mounted ECU from being mistakenly upgraded and incapable of being refreshed and storage device
CN110851160A (en) * 2019-11-05 2020-02-28 许继集团有限公司 Embedded device and program upgrading method thereof
CN111190758A (en) * 2019-12-19 2020-05-22 江苏新质信息科技有限公司 Method for realizing equipment state self-recovery based on combination of FPGA (field programmable Gate array) calculation rule and RPC (remote procedure call) monitoring
CN112181731A (en) * 2020-10-26 2021-01-05 江苏特思达电子科技股份有限公司 Keep-alive method and device for application program and computer equipment
CN113094228A (en) * 2021-03-19 2021-07-09 联想(北京)有限公司 Task monitoring method and device, equipment and storage medium
CN113553230A (en) * 2021-06-30 2021-10-26 珠海豹趣科技有限公司 Application program performance monitoring method and device, storage medium and electronic equipment
CN113806165A (en) * 2021-08-13 2021-12-17 唯品会(广州)软件有限公司 Server remote monitoring method, system and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294992A (en) * 2017-07-04 2017-10-24 上海斐讯数据通信技术有限公司 The authentication method and device of a kind of application client of terminal device
CN107425994A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 A kind of method, terminal and server for realizing parameters remote management
CN107508722A (en) * 2017-08-01 2017-12-22 北京德塔精要信息技术有限公司 A kind of business monitoring method and device
US20180046995A1 (en) * 2016-08-12 2018-02-15 Mastercard International Incorporated Systems and Methods for Monitoring Health Indicators Associated With Applications
CN107704360A (en) * 2017-09-15 2018-02-16 平安科技(深圳)有限公司 Processing method, equipment, server and the storage medium of monitoring data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107425994A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 A kind of method, terminal and server for realizing parameters remote management
US20180046995A1 (en) * 2016-08-12 2018-02-15 Mastercard International Incorporated Systems and Methods for Monitoring Health Indicators Associated With Applications
CN107294992A (en) * 2017-07-04 2017-10-24 上海斐讯数据通信技术有限公司 The authentication method and device of a kind of application client of terminal device
CN107508722A (en) * 2017-08-01 2017-12-22 北京德塔精要信息技术有限公司 A kind of business monitoring method and device
CN107704360A (en) * 2017-09-15 2018-02-16 平安科技(深圳)有限公司 Processing method, equipment, server and the storage medium of monitoring data

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618344A (en) * 2019-01-25 2019-04-12 刘美连 A kind of secure connection method and device of wireless monitoring equipment
CN109618344B (en) * 2019-01-25 2020-06-23 广东省恒博信息有限公司 Safe connection method and device of wireless monitoring equipment
CN109947618A (en) * 2019-02-26 2019-06-28 上海鹰瞳医疗科技有限公司 Application Status monitoring method, equipment and system
CN110795159A (en) * 2019-10-30 2020-02-14 福建省汽车工业集团云度新能源汽车股份有限公司 Method for preventing vehicle-mounted ECU from being mistakenly upgraded and incapable of being refreshed and storage device
CN110795159B (en) * 2019-10-30 2023-07-21 福建省汽车工业集团云度新能源汽车股份有限公司 Method for preventing vehicle-mounted ECU from being updated by mistake and being incapable of being re-brushed and storage device
CN110851160A (en) * 2019-11-05 2020-02-28 许继集团有限公司 Embedded device and program upgrading method thereof
CN111190758A (en) * 2019-12-19 2020-05-22 江苏新质信息科技有限公司 Method for realizing equipment state self-recovery based on combination of FPGA (field programmable Gate array) calculation rule and RPC (remote procedure call) monitoring
CN111190758B (en) * 2019-12-19 2022-01-14 江苏新质信息科技有限公司 Method for realizing equipment state self-recovery based on combination of FPGA (field programmable Gate array) calculation rule and RPC (remote procedure call) monitoring
CN112181731A (en) * 2020-10-26 2021-01-05 江苏特思达电子科技股份有限公司 Keep-alive method and device for application program and computer equipment
CN113094228A (en) * 2021-03-19 2021-07-09 联想(北京)有限公司 Task monitoring method and device, equipment and storage medium
CN113553230A (en) * 2021-06-30 2021-10-26 珠海豹趣科技有限公司 Application program performance monitoring method and device, storage medium and electronic equipment
CN113806165A (en) * 2021-08-13 2021-12-17 唯品会(广州)软件有限公司 Server remote monitoring method, system and equipment

Similar Documents

Publication Publication Date Title
CN109240887A (en) Long-distance monitoring method, monitoring client and the monitoring server of application program running state
US11924068B2 (en) Provisioning a service
US9189378B1 (en) Systems, methods, and apparatuses for testing mobile device applications
KR101954480B1 (en) Automated build-out of a cloud-computing stamp
US8713177B2 (en) Remote management of networked systems using secure modular platform
US11693687B1 (en) Lifecycle management of VNFC software modules
CN102521099A (en) Process monitoring method and process monitoring system
US9003389B2 (en) Generating an encoded package profile based on executing host processes
CN115118705B (en) Industrial edge management and control platform based on micro-service
CN107911467B (en) Service operation management system and method for scripted operation
CN108833565A (en) A kind of method, apparatus of monitoring server, server and storage medium
CN111726333A (en) Method and system for checking security configuration
US20150281337A1 (en) Open, extensible, scalable, method and system which delivers status monitoring and software upgrades to heterogeneous devices via a common user interface
WO2024207807A1 (en) Upgrade progress display method and system for domain controller, upgrade exception handling method and system for domain controller, and device
CN109547567A (en) Act on behalf of connection method and device
CN109600671A (en) A kind of system and method that network machine top box quickly upgrades
CN109818774A (en) Automatic sensing asset acquisition device, method and computer readable storage medium
CN115514667A (en) Access service processing method, system, device, electronic equipment and storage medium
CN115001846A (en) Method, isolation device, device and medium for cross-network data transmission
CN108521342B (en) Cluster management method and device
US20210326162A1 (en) Lifecycle management of a vnfc included in a multi-vnfc vdu
WO2016086635A1 (en) Network element upgrade management method and apparatus
KR100824298B1 (en) Method for scheduling device management and terminal thereof
CN116614487A (en) Remote equipment connection method, device, medium and system
CN113328883B (en) Terminal management method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 102600 Beijing Daxing District Zhongguancun Science and Technology Park Daxing Biomedical Industry Base, No. 1 Building, 21 Tianrong Street

Applicant after: Beijing Century Oriental Zhihui Technology Co.,Ltd.

Address before: 102629 Building 1, yard 21, Tianrong street, Daxing biomedical industrial base, Zhongguancun Science and Technology Park, Daxing District, Beijing

Applicant before: BEIJING CENTURY DONGFANG COMMUNICATION EQUIPMENT Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118

RJ01 Rejection of invention patent application after publication