CN108427616A - background program monitoring method and monitoring device - Google Patents
background program monitoring method and monitoring device Download PDFInfo
- Publication number
- CN108427616A CN108427616A CN201710079400.XA CN201710079400A CN108427616A CN 108427616 A CN108427616 A CN 108427616A CN 201710079400 A CN201710079400 A CN 201710079400A CN 108427616 A CN108427616 A CN 108427616A
- Authority
- CN
- China
- Prior art keywords
- background
- program
- background service
- service program
- heartbeat signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/323—Visualisation of programs or trace data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of background program monitoring method comprising:Background service program is traversed, and reads the configuration file of all background service programs;According to the configuration file of background service program, the monitor state table of background service program is generated;According to monitor state table, the first heartbeat signal is sent to all background service programs with setting time interval;According to background service program to the feedback of first heartbeat signal, determines and reboot operation is carried out to corresponding background service program.The present invention also provides a kind of background program monitoring devices, the present invention background program monitoring method and background program monitoring device by background service program send heartbeat message come judge background service program whether normal operation, judging result is more accurate, the automatic operating ability that background program monitoring process can be improved avoids manpower from carrying out the state confirmation of background service program.
Description
Technical field
The present invention relates to internet arenas, more particularly to a kind of background program monitoring method and monitoring device.
Background technology
TSF (Tencent Server Framework, Tencent's service framework) is the PHP service processes that Tencent releases
Monitoring scheme, for being monitored operation to background service program.The service framework is in enterprises service and big customer's data-interface
It is used widely in project.In order to ensure the stable operation of background service program, the service processes monitoring scheme is needed to have
Stronger unattended O&M ability.
But the process monitoring scheme can only be identified the master processes in background service program, pass through judgement
Master processes whether there is, come judge background service program whether normal operation.But existing background service program may
Have a presence of master processes, but all worker processes in background service program situation seemingly-dead due to obstruction goes out
It is existing, therefore it is unable to judge accurately whether background service program normally transports by the master processes in monitoring backstage service routine
Row, to need engineer to confirm the state of background service program, to judge whether background service program needs to carry out
Reboot operation leads to the process monitoring scheme when in use, can not accomplish unattended in this way.
Invention content
The embodiment of the present invention provides a kind of background program for the automatic operating ability that background program monitoring process can be improved
Monitoring method and background program monitoring device;With solve existing background program monitoring method and background program monitoring device from
Dynamicization service ability is poor, need manpower carry out state confirmation the technical issues of.
The embodiment of the present invention provides a kind of background program monitoring method comprising:
Background service program is traversed, and reads the configuration file of all background service programs;
According to the configuration file of the background service program, the monitor state table of the background service program is generated, wherein
The monitor state table includes the location information and identification information of the associated process in the background service program;
According to the monitor state table, the first heartbeat signal is sent to all background service programs with setting time interval;
And
According to the background service program to the feedback of first heartbeat signal, determine to the corresponding background service
Program carries out reboot operation.
The embodiment of the present invention also provides a kind of background program monitoring device comprising:
Configuration file read module for traversing background service program, and reads the configuration text of all background service programs
Part;
Monitor state table generation module generates the backstage clothes for the configuration file according to the background service program
The monitor state table for program of being engaged in, wherein the monitor state table includes the position letter of the associated process in the background service program
Breath and identification information;
Heartbeat signal sending module, for according to the monitor state table, with setting time interval to all background services
Program sends the first heartbeat signal;And
Module is restarted, for, to the feedback of first heartbeat signal, being determined to corresponding according to the background service program
The background service program carry out reboot operation.
Compared to the prior art, background program monitoring method of the invention and background program monitoring device are by taking backstage
Business program send heartbeat message come judge background service program whether normal operation, judging result is more accurate, can be improved backstage
The automatic operating ability of program monitoring process avoids manpower from carrying out the state confirmation of background service program;It solves existing
Background program monitoring method and the automatic operating ability of background program monitoring device are poor, and manpower is needed to carry out state confirmation
Technical problem.
Description of the drawings
Fig. 1 is the flow chart of the first preferred embodiment of the background program monitoring method of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of the background program monitoring method of the present invention;
Fig. 3 is the flow chart of the third preferred embodiment of the background program monitoring method of the present invention;
Fig. 4 is that the background service program control operations of the third preferred embodiment of the background program monitoring method of the present invention show
One of meaning flow chart;
Fig. 5 is that the background service program control operations of the third preferred embodiment of the background program monitoring method of the present invention show
The two of meaning flow chart;
Fig. 6 is the structural schematic diagram of the first preferred embodiment of the background program monitoring device of the present invention;
Fig. 7 is the structural schematic diagram of the second preferred embodiment of the background program monitoring device of the present invention;
Fig. 8 is the structural schematic diagram of the third preferred embodiment of the background program monitoring device of the present invention;
Fig. 9 is the structural representation of the external control module of the third preferred embodiment of the background program monitoring device of the present invention
Figure;
Figure 10 is the place clothes of the background program monitoring method of the present invention and the specific embodiment of background program monitoring device
The integrated stand composition for device system of being engaged in;
Figure 11 is the use stream of the background program monitoring method of the present invention and the specific embodiment of background program monitoring device
Cheng Tu;
Figure 12 is the working environment structural schematic diagram of the electronic equipment where the background program monitoring device of the present invention.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will be referred to by the operation performed by one or multi-section computer
The step of and symbol illustrate, unless otherwise stating clearly.Therefore, these steps and operation be will appreciate that, carried for several times wherein having
Include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern to be executed by computer
Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match again
It sets or in addition changes the running of the computer in a manner familiar to those skilled in the art.The data knot that the data are maintained
Structure is the provider location of the memory, has the specific feature defined in the data format.But the principle of the invention is with above-mentioned
Word illustrates, is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and
Operation also may be implemented in hardware.
The background program monitoring method and background program monitoring device of the present invention may be used at various progress background service journeys
On the electronic equipment of sequence monitoring, which includes but not limited to wearable device, helmet, medical treatment & health platform, a
People's computer, server computer, hand-held or laptop devices, mobile device (such as mobile phone, personal digital assistant
(PDA), media player etc.), multicomputer system, consumer electronic devices, minicomputer, mainframe computer including
The distributed computing environment, etc. of above-mentioned arbitrary system or equipment.The electronic equipment to background service program by sending heartbeat
Information come judge background service program whether normal operation, to improve background service program operation judging result it is accurate
Property, and then the automatic operating ability of background program monitoring process is improved, avoid manpower from carrying out the state of background service program
Confirm.
Fig. 1 is please referred to, Fig. 1 is the flow chart of the first preferred embodiment of the background program monitoring method of the present invention.This is excellent
Select the background program monitoring method of embodiment that above-mentioned electronic equipment can be used to be implemented, the background program monitoring method packet
It includes:
Step S101 traverses background service program, and reads the configuration file of all background service programs;
Step S102 generates the monitor state table of background service program according to the configuration file of background service program, wherein
Monitor state table includes the location information and identification information of the associated process in background service program;
Step S103 sends the first heartbeat with setting time interval according to monitor state table to all background service programs
Information;
Step S104 is determined according to the feedback of the first heartbeat signal of background service program pair to corresponding background service journey
Sequence carries out reboot operation.
The following detailed description of the detailed process of each step of the background program monitoring method of this preferred embodiment.
In step S101, after background program monitoring device is started to work, it can traverse all in background service program groups
Background service program, background service program here can be to provide TCP (Transmission Control Protocol transmission
Control protocol) service background service program, provide UDP (User Datagram Protocol, User Datagram Protocol) take
After the background service program of business, offer HTTP (HyperText Transfer Protocol, hypertext transfer protocol) are serviced
Platform service routine and the background service program etc. that a kind of WebSocket (duplex communication protocol) services are provided.
Subsequent background program monitoring device reads the configuration file (Config files) of all background service programs, the configuration
File may include process identity information (such as process title) in corresponding background service program, process location information (such as into
Journey entrance PHP document locations and process initiation PHP document locations etc.), listening port and background service Program Type etc..With
After go to step S102.
In step s 102, background program monitoring device is literary according to the configuration of the step S101 background service programs obtained
Part generates the monitor state table of background service program, which includes but not limited to the correlation in background service program
The process location information and process identity information of process.Specific monitor state table may include process identity information, process position
The background services program informations such as confidence breath, listening port, background service Program Type, process status information, process initiation time
And the progress information in background service program.
The information such as wherein above-mentioned process identity information, process location information, listening port, background service Program Type can be from
It is obtained in the configuration file of background service program, the information such as process status information, process initiation time can be monitored in background program
After device is monitored background service program, obtained from the progress feedback of background service program.Then pass to step S103.
In step s 103, the associated process in the monitor state table that background program monitoring device is generated according to step S102
Information, with setting time interval to all background service programs send the first heartbeat message.
Here background program monitoring device can be believed according to the first heartbeat of the type set respective type of background service program
Then breath sends the first heartbeat message with setting time interval (such as 30s) to corresponding background service program, will pass through backstage
The feedback of the first heartbeat message of service routine pair come judge corresponding background service program whether normal operation.Then pass to step
S104。
In step S104, the reception of background service program waits for the first heartbeat message, such as the host process of the background service program
(master processes) is not present, then background program monitoring device can not receive the feedback of the first heartbeat signal.Or background service
The host process of program exists, but the progress of work (worker processes) is blocked, cause in this way background program monitoring device according to
The feedback of the first heartbeat signal can not so be received.Host process and the progress of work such as background service program is normal, then after
Platform program monitoring device can normally receive the feedback of the first heartbeat signal.
Therefore feedback of the background program monitoring device as do not received the first heartbeat signal, then judge corresponding background service
Program exception, therefore background program monitoring device carries out reboot operation to the background service program.
The maloperation of background program monitoring device in order to prevent, background program monitoring device not by single first heart
The judgement that signal feedback result carries out background service program exception is jumped, but if background service program contacts are to the of setting number
Heart beat signal can just judge corresponding background service program exception without response, background program monitoring device;As continuous 3 times the
Heart beat signal is without response or response timeout etc..It here can be by carrying out shutoff operation to all processes under background service program
Complete the reboot operation to background service program.
If background program monitoring device can normally receive the feedback of the first heartbeat signal, then the background service program is judged
Normally.Background program monitoring device continues to send the first heartbeat signal to backstage service routine with setting time interval, until after
Platform service routine end of run.
Process monitoring process in the background program for the background program monitoring method for completing this preferred embodiment in this way.
After the background program monitoring method of this preferred embodiment is judged by sending heartbeat message to background service program
Platform service routine whether normal operation, judging result is more accurate, and the automatic operating energy of background program monitoring process can be improved
Power avoids manpower from carrying out the state confirmation of background service program.
Fig. 2 is please referred to, Fig. 2 is the flow chart of the second preferred embodiment of the background program monitoring method of the present invention.This is excellent
Select the background program monitoring method of embodiment that above-mentioned electronic equipment can be used to be implemented, the background program monitoring method packet
It includes:
Step S201 traverses background service program, and reads the configuration file of all background service programs;
Step S202 generates the monitor state table of background service program according to the configuration file of background service program, wherein
Monitor state table includes the location information and identification information of the associated process in background service program;
Step S203 sends the first heartbeat with setting time interval according to monitor state table to all background service programs
Information;
Step S204 is determined according to the feedback of the first heartbeat signal of background service program pair to corresponding background service journey
Sequence carries out reboot operation;
Step S205 receives the second heartbeat signal of system process, and carries out feedback operation to the second heartbeat signal;Wherein
System process is generated and is answered for monitoring process reset the monitoring process of operation according to the feedback information of the second heartbeat signal
Position signal.
The following detailed description of the detailed process of each step of the background program monitoring method of this preferred embodiment.
The concrete operating principle of the step S201 to step S204 of this preferred embodiment and above-mentioned background program monitoring side
The concrete operating principle of step S101 to step S104 in the first preferred embodiment of method are same or similar, specifically refer to
State the associated description in the first preferred embodiment of background program monitoring method.
In step S205, background program monitoring device can also connect during being monitored to background service program
The second heartbeat signal of system process is received, and feedback operation is carried out to second heartbeat signal.The system process can be to pass through
The finger daemon that crond plan targets (cycle planning task) create.As background program monitoring function device cannot be to second heart
It jumps signal to be timely responded to, then it is abnormal to judge that background program monitoring process occurs for system process, and system process can be to backstage journey
The background program monitoring process of sequence monitoring device carries out reboot operation.To further improve the work of background program monitoring device
Make stability and automatic operating ability.
Process monitoring process in the background program for the background program monitoring method for completing this preferred embodiment in this way.
On the basis of first preferred embodiment, the background program monitoring method of this preferred embodiment passes through system process pair
The state of background program monitoring process in background program monitoring device carries out real-time judgment, as background program monitoring process occurs
It is abnormal, then reboot operation is carried out to background program monitoring device;In this way by the finger daemon of system kernel grade to background program
Monitoring process is monitored and resets operation, further improves the job stability of background program monitoring process and automatic
Change service ability.
Fig. 3 is please referred to, Fig. 3 is the flow chart of the third preferred embodiment of the background program monitoring method of the present invention.This is excellent
Select the background program monitoring method of embodiment that above-mentioned electronic equipment can be used to be implemented, the background program monitoring method packet
It includes:
Step S301 traverses background service program, and reads the configuration file of all background service programs;
Step S302 generates the monitor state table of background service program according to the configuration file of background service program, wherein
Monitor state table includes the location information and identification information of the associated process in background service program;
Step S303 sends the first heartbeat with setting time interval according to monitor state table to all background service programs
Information;
Step S304 is determined according to the feedback of the first heartbeat signal of background service program pair to corresponding background service journey
Sequence carries out reboot operation;
Step S305 receives external control command, and according to external control command, is carried out to corresponding background service program
Control operation;
Step S306 generates journal file, and according to the feedback of the first heartbeat signal and the feedback of control operation, to day
Will file is updated operation.
The following detailed description of the detailed process of each step of the background program monitoring method of this preferred embodiment.
The concrete operating principle of the step S301 to step S304 of this preferred embodiment and above-mentioned background program monitoring side
The concrete operating principle of step S101 to step S104 in the first preferred embodiment of method are same or similar, specifically refer to
State the associated description in the first preferred embodiment of background program monitoring method.
In step S305, background program monitoring device receives external control command, which can be script
Order or monitoring process open command.Script command in order to control background service program carry out script operation order.Monitoring process
Open command is to open the order of background program monitoring process.
Specifically, please referring to Fig. 4, Fig. 4 is the backstage of the third preferred embodiment of the background program monitoring method of the present invention
One of service routine control operation schematic flow diagram, such as external control command is script command, then to corresponding background service journey
Sequence carries out controlling the step of operating:
Step S401, background program monitoring device receives script command, and judges whether the script command is lawful order,
Such as script command is lawful order, then starts the background service program for perform script order.
If script command is list commands (list orders), then list parse the obtained all background services of configuration file into
The list of journey, using the parameter reference as other command operations.
If script command is status command (status orders), then the state of all background service programs is listed, including interior
Deposit the information in table.
If script command is initiation command (start orders), then some background service program is run, and to the background service
Program sends the first heartbeat signal.
If script command is to terminate order (stop orders), cease and desist order to the execution of some background service program.
If script command is reset command (restart orders), then ceasing and desisting order to the execution of some background service program sets
After fixing time, then execute initiation command.
If script command is whole initiation commands (startall orders), the execution of all background service programs is started to order
It enables.
If script command is shutdown command (shutdown orders), cease and desist order to the execution of all background service programs, so
It ceases and desist order afterwards to the execution of background program monitoring process.
If script command is test command (test orders), sending the first heartbeat signal to some background service program carries out
Test.
Step S402, after the script command in step S401 is finished, background program monitoring device is closed backstage and is taken
Program of being engaged in simultaneously carries out reclaimer operation to the resource of background service program.
Specifically, please referring to Fig. 5, Fig. 5 is the backstage of the third preferred embodiment of the background program monitoring method of the present invention
The two of service routine control operation schematic flow diagram, such as external control command is monitoring process open command, then to after corresponding
Platform service routine carries out controlling the step of operating:
Step S501 receives monitoring process open command, and according to monitoring process open command, judges whether to open
In monitoring process;Such as there is the monitoring process in opening, then goes to step S502;The monitoring process in opening such as is not present,
Then go to step S503.
Step S502, as there is the monitoring process in opening, then background program monitoring device stopping is monitored process and opens
Open operation.
Step S503, as the monitoring process in opening is not present, then background program monitoring device is monitored process unlatching
Operation.
In step S306, background program monitoring device generate journal file, and according to the feedback of the first heartbeat signal with
And the feedback of control operation, operation is updated to journal file.The state change of background service program and backstage are taken
State of a process variation is recorded in journal file in business program.Such as occur starting the serious mistake of background service procedure failure
It mistakes, also above-mentioned mistake can be reported to technical staff, so that technical staff carries out timely processing to mistake.
Process monitoring process in the background program for the background program monitoring method for completing this preferred embodiment in this way.
On the basis of first preferred embodiment, the background program monitoring method of this preferred embodiment can also be controlled according to outside
System order controls background service program, and is recorded to the state of background service program by journal file, into
One step extends the function of background program monitoring process.
Fig. 6 is please referred to, Fig. 6 is the structural schematic diagram of the first preferred embodiment of the background program monitoring device of the present invention.
Above-mentioned background program monitoring method can be used to be implemented for the background program monitoring device of this preferred embodiment, the background program
Monitoring device 60 include configuration file read module 61, monitor state table generation module 62, heartbeat signal sending module 63 and
Restart module 64.
Configuration file read module 61 reads the configuration text of all background service programs for traversing background service program
Part;Monitor state table generation module 62 is used for the configuration file according to background service program, generates the monitoring of background service program
State table, wherein monitor state table include the location information and identification information of the associated process in the background service program;
Heartbeat signal sending module 63 is used for according to monitor state table, and first is sent to all background service programs with setting time interval
Heartbeat signal;Module 64 is restarted for the feedback according to the first heartbeat signal of background service program pair, is determined to corresponding backstage
Service routine carries out reboot operation;It is specific to restart module for such as continuously the first heartbeat to setting number of background service program
Signal then carries out reboot operation without response to corresponding background service program.
The background program monitoring device 60 of this preferred embodiment is in use, background program monitoring device 60 is started to work first
Afterwards, configuration file read module 61 can traverse all background service programs in background service program groups, background service here
Program can be provide TCP (Transmission Control Protocol transmission control protocols) service background service program,
Background service program, the offer HTTP that UDP (User Datagram Protocol, User Datagram Protocol) is serviced are provided
The background service program of (HyperText Transfer Protocol, hypertext transfer protocol) service and offer
A kind of background service program etc. of WebSocket (duplex communication protocol) services.
Subsequent configuration file read module 61 reads the configuration file (Config files) of all background service programs, this is matched
It sets file and may include process identity information (such as process title) in corresponding background service program, process location information (such as
Process entrance PHP document locations and process initiation PHP document locations etc.), listening port and background service Program Type etc..
The background service program that subsequent monitor state table generation module 62 is obtained according to configuration file read module 61 is matched
File is set, generates the monitor state table of background service program, which includes but not limited in background service program
The process location information and process identity information of associated process.Specific monitor state table may include process identity information, into
The background services programs such as journey location information, listening port, background service Program Type, process status information, process initiation time
Progress information in information and background service program.
The information such as wherein above-mentioned process identity information, process location information, listening port, background service Program Type can be from
It is obtained in the configuration file of background service program, the information such as process status information, process initiation time can be monitored in background program
After device is monitored background service program, obtained from the progress feedback of background service program.
Subsequent heartbeat signal sending module 63 is according to the phase in the monitor state table of the generation of monitor state table generation module 62
The information for putting journey into sends the first heartbeat message with setting time interval to all background service programs.
Here heartbeat signal sending module 63 can be according to the first heartbeat of the type set respective type of background service program
Then information sends the first heartbeat message, after it will pass through with setting time interval (such as 30s) to corresponding background service program
The feedback of the first heartbeat message of platform service routine pair come judge corresponding background service program whether normal operation.
Last background service program reception waits for the first heartbeat message, as the background service program host process (master into
Journey) it is not present, then background program monitoring device 60 can not receive the feedback of the first heartbeat signal.Or the master of background service program
Process exists, but the progress of work (worker processes) is blocked, and background program monitoring device 60 is caused still can not in this way
Receive the feedback of the first heartbeat signal.Host process and the progress of work such as background service program is normal, then background program
Monitoring device 60 can normally receive the feedback of the first heartbeat signal.
Therefore the feedback for not receiving the first heartbeat signal such as, then restart module 64 and judge that corresponding background service program is different
Often, therefore module 64 is restarted to background service program progress reboot operation.
First heartbeat signal of the module 64 not by single is restarted in the maloperation of background program monitoring device in order to prevent
The judgement of feedback result progress background service program exception, but the first heartbeat such as background service program contacts to setting number
For signal without response, corresponding background service program exception can be judged by restarting module 64;As continuous 3 times the first heartbeat signals without
Response or response timeout etc..Here restarting module 64 can be complete by carrying out shutoff operation to all processes under background service program
The reboot operation of pairs of background service program.
If background program monitoring device 60 can normally receive the feedback of the first heartbeat signal, then the background service journey is judged
Sequence is normal.Background program monitoring device 60 continues to send the first heartbeat signal to backstage service routine with setting time interval, directly
To background service the end of the program.
Process monitoring mistake in the background program for the background program monitoring device 60 for completing this preferred embodiment in this way
Journey.
After the background program monitoring device of this preferred embodiment is judged by sending heartbeat message to background service program
Platform service routine whether normal operation, judging result is more accurate, and the automatic operating energy of background program monitoring process can be improved
Power avoids manpower from carrying out the state confirmation of background service program.
Fig. 7 is please referred to, Fig. 7 is the structural schematic diagram of the second preferred embodiment of the background program monitoring device of the present invention.
Above-mentioned background program monitoring method can be used to be implemented for the background program monitoring device of this preferred embodiment, the background program
Monitoring device 70 includes configuration file read module 71, monitor state table generation module 72, heartbeat signal sending module 73, restarts
Module 74 and heartbeat signal feedback module 75.
On the basis of first preferred embodiment, the background program monitoring device 70 of this preferred embodiment further includes heartbeat letter
Number feedback module 75, the heartbeat signal feedback module 75 are used to receive the second heartbeat signal of system process, and to the second heartbeat
Signal carries out feedback operation;Wherein system process according to the feedback information of the second heartbeat signal, generate for monitoring process into
Row resets the monitoring process reset signal of operation.
The background program monitoring device 70 of this preferred embodiment in use, background program monitoring device 70 to background service
During program is monitored, heartbeat signal feedback module 75 can also receive the second heartbeat signal of system process, and to this
Second heartbeat signal carries out feedback operation.The system process can be to be created by crond plan targets (cycle planning task)
Finger daemon.If heartbeat signal feedback module 75 cannot timely respond to the second heartbeat signal, then after system process judges
There is exception in platform program monitoring process, and system process can carry out the background program monitoring process of background program monitoring device 70 weight
Open operation.To further improve the job stability and automatic operating ability of background program monitoring device.
Process monitoring mistake in the background program for the background program monitoring device 70 for completing this preferred embodiment in this way
Journey.
On the basis of first preferred embodiment, the background program monitoring device of this preferred embodiment passes through system process pair
The state of background program monitoring process in background program monitoring device carries out real-time judgment, as background program monitoring process occurs
It is abnormal, then reboot operation is carried out to background program monitoring device;In this way by the finger daemon of system kernel grade to background program
Monitoring process is monitored and resets operation, further improves the job stability of background program monitoring process and automatic
Change service ability.
Fig. 8 is please referred to, Fig. 8 is the structural schematic diagram of the third preferred embodiment of the background program monitoring device of the present invention.
Above-mentioned background program monitoring method can be used to be implemented for the background program monitoring device of this preferred embodiment, the background program
Monitoring device 80 includes configuration file read module 81, monitor state table generation module 82, heartbeat signal sending module 83, restarts
Module 84, external control module 85 and journal file update module 86.
On the basis of first preferred embodiment, the background program monitoring device 80 of this preferred embodiment further includes external control
Molding block 85 and journal file update module 86, external control module 85 are used to receive external control command, and according to outside
Control command carries out control operation to corresponding background service program.Journal file update module 86 is used to generate journal file,
And operation is updated to journal file according to the feedback of the first heartbeat signal.
Fig. 9 is please referred to, Fig. 9 is the external control module of the third preferred embodiment of the background program monitoring device of the present invention
Structural schematic diagram.The external control module 85 is opened including program start unit 91, program resource recovery unit 92, monitoring process
Open judging unit 93 and monitoring process opening unit 94.
Program start unit 91 starts the background service program for perform script order for receiving script command;
Program resource recovery unit 92 is used for after script command is finished, and is closed background service program and is provided to background service program
It is recycled in source;Monitoring process opens judging unit 93 for receiving monitoring process open command, and is opened according to monitoring process
Order judges whether the monitoring process in opening;Monitoring process opening unit 94 is for being monitored process opening operation.
The background program monitoring device 80 of this preferred embodiment is in use, external control module 85 receives external control life
It enables, which can be script command or monitoring process open command.Script command in order to control background service program into
The order of row script operation.Monitoring process open command is to open the order of background program monitoring process.
Specifically, if external control command is script command, then external control module 85 is to corresponding background service program
Carrying out the step of control operates includes:
The program start unit 91 of external control module 85 receives script command, and judges whether the script command is legal
Order then starts the background service program for perform script order if the script command is lawful order.
If script command is list commands (list orders), then list parse the obtained all background services of configuration file into
The list of journey, using the parameter reference as other command operations.
If script command is status command (status orders), then the state of all background service programs is listed, including interior
Deposit the information in table.
If script command is initiation command (start orders), then some background service program is run, and to the background service
Program sends the first heartbeat signal.
If script command is to terminate order (stop orders), cease and desist order to the execution of some background service program.
If script command is reset command (restart orders), then ceasing and desisting order to the execution of some background service program sets
After fixing time, then execute initiation command.
If script command is whole initiation commands (startall orders), the execution of all background service programs is started to order
It enables.
If script command is shutdown command (shutdown orders), cease and desist order to the execution of all background service programs, so
It ceases and desist order afterwards to the execution of background program monitoring process.
If script command is test command (test orders), sending the first heartbeat signal to some background service program carries out
Test.
After the script command of program start unit is finished, the program resource recovery unit 92 of external control module 85
It closes background service program and reclaimer operation is carried out to the resource of background service program.
Specifically, if external control command is monitoring process open command, then external control module 85 is to corresponding backstage
Service routine carries out controlling the step of operating:
The monitoring process of external control module 85 opens judging unit 93 and receives monitoring process open command, and according to monitoring
Process open command judges whether the monitoring process in opening.
Such as there is the monitoring process in opening, then the stopping of external control module 85 is monitored process opening operation.
The monitoring process in opening such as is not present, then the monitoring process opening unit 94 of external control module 85 is monitored
Process opening operation.
Subsequent journal file update module 86 generates journal file, and is grasped according to the feedback of the first heartbeat signal and control
The feedback of work is updated operation to journal file.It i.e. will be in the state change of background service program and background service program
State of a process variation is recorded in journal file.When such as occurring starting background service procedure failure serious error, also
Above-mentioned mistake can be reported to technical staff, so that technical staff carries out timely processing to mistake.
Process monitoring mistake in the background program for the background program monitoring device 80 for completing this preferred embodiment in this way
Journey.
On the basis of first preferred embodiment, the background program monitoring device of this preferred embodiment can also be controlled according to outside
System order controls background service program, and is recorded to the state of background service program by journal file, into
One step extends the function of background program monitoring process.
Illustrate the background program monitoring method and background program monitoring device of the present invention below by a specific embodiment
Concrete operating principle.Figure 10 and Figure 11 are please referred to, Figure 10 is the background program monitoring method and background program monitoring dress of the present invention
The integrated stand composition of the place server system for the specific embodiment set, Figure 11 be the present invention background program monitoring method and after
The process for using figure of the specific embodiment of platform program monitoring device.
Figure 10 is please referred to, Figure 10 is the structure chart of server system where the background program monitoring device, the server system
System includes system process, background program monitoring device and background service program groups.After wherein background service program groups includes TCP
Platform service routine, UDP background services program, HTTP background services program and WEBSOCKET background service programs.Each backstage
Service routine includes host process master, managing process manager, multiple progress of work worker and background service program
Configuration file config.
Background program monitoring device can be by the configuration file of each background service program of reading, to each background service journey
The state of sequence is recorded.Background program monitoring device can be by after each in the first heartbeat signal monitoring backstage service routine group
Platform service routine whether normal operation.And background program monitoring device can conduct external control command to corresponding background service
Execution operation is carried out in the process of program.It can be by the second heartbeat signal in background program monitoring device by system process
Monitoring process is monitored, and prevents the monitoring process of background program monitoring device abnormal.
The detailed process of the monitoring of the background service program in this specific embodiment is described in detail below by Figure 11.The backstage
Service routine monitors flow:
Step S1101, background program monitoring device traverse background service program, obtain corresponding configuration file;
Step S1102 carries out parsing operation to configuration file, generates the monitor state table of background service program, the monitoring
State table includes but not limited to process title, process entrance PHP document locations, process initiation PHP document locations, listening port,
Background service Program Type, host process number, managing process number, process status (such as the first heartbeat signal feeding back unsuccessful number),
Background service program starts the attribute of the background services programs such as time.Above-mentioned part attribute can be obtained directly by configuration file,
Such as process title can also be obtained subsequently through the feedback of background service program, such as process status.It is also raw in this step simultaneously
At the journal file for being also used for the update of record background service program and abnormality.
Step S1103 receives and executes external control command, the outside control command include be not limited to script command and
Monitoring process open command.
Such as external control command is list script commands, then background program monitoring device passes through corresponding background service journey
The ordered pair script command carries out execution operation;Corresponding background service program is closed after executing operation, and to background service program
Resource carries out reclaimer operation.
If external control command is monitoring process open command, then background program monitoring device can be by locking monitoring process
File carries out exclusiveness lock operation, judges whether the monitoring process in opening, if there is monitoring process in unlatching, then
Terminate this opening operation;The monitoring process in opening such as is not present, then opens monitoring process, i.e., with setting time interval, such as
30 seconds, the first heartbeat signal is sent to all background service service routines.
Step S1104, according to the implementing result of said external control command, to the monitor state table of background service program into
Row update operation.
Such as there is external control according to the implementing result of said external control command, Update log file in step S1105
Order executes exception, then will report to technical staff extremely.
While background program monitoring device executes external control command, which further includes:
Step S1106 receives the second heartbeat signal of system process, and carries out feedback operation to second heartbeat signal.
If background program monitoring device cannot timely respond to the second heartbeat signal, then system process judge background program monitor into
There is exception in journey, and system process can carry out reboot operation to the background program monitoring process of background program monitoring device.
Background program monitoring device also has and is monitored automatically to background service program simultaneously, automatic monitoring step packet
It includes:
Step S1107, background program monitoring device send first with all background service service routines in setting time interval
Heartbeat signal.
Step S1108, background program monitoring device is according to the feedback of first heartbeat signal of background service program pair, really
It is fixed that reboot operation is carried out to corresponding background service program.
Specifically, the host process (master processes) of the background service program is not present, then background program monitoring device without
Method receives the feedback of the first heartbeat signal.Or background service program host process exist, but the progress of work (worker into
Journey) block, the feedback of the first heartbeat signal can not be received by causing background program monitoring device so still.As backstage takes
The host process and the progress of work for program of being engaged in are normal, then background program monitoring device can normally receive the first heartbeat signal
Feedback.
Therefore background program monitoring device does not receive the feedback of the first heartbeat signal every time, then by the first heartbeat signal
Feeding back unsuccessful number adds 1, and the feeding back unsuccessful number of such as the first heartbeat signal reaches 3, then background program monitoring device judges to correspond to
Background service program exception, to the background service program carry out reboot operation.The feedback of the first heartbeat signal is such as received, then
Reset operation is carried out to the feeding back unsuccessful number of the first heartbeat signal.
Step S1109, according to the feedback result of above-mentioned first heartbeat signal, to the monitor state table of background service program into
Row update operation.
Step S1110, according to the feedback result of above-mentioned first heartbeat signal, Update log file, and return to step
S1107.Such as there is background service program and restart unsuccessfully exception, then will report to technical staff extremely.
The background program monitoring method of this specific embodiment and the backstage clothes of background program monitoring device are completed in this way
Program of being engaged in monitors process.
The present invention background program monitoring method and background program monitoring device the crond using system kernel guard into
Journey is monitored program monitoring process, ensure that the operation stability of background program monitoring device.Simultaneously to all monitoring after
Platform service routine recycles the first heartbeat signal of asynchronous transmission, ensure that the high-performance and stability of background service program.Therefore
The background program monitoring method and background program monitoring device of the present invention has higher stability and automatic operating ability,
Unattended automatic reboot operation can be realized to background service program, while will not destroy and influence monitored background service
The performance of program.
The background program monitoring method and background program monitoring device of the present invention to background service program by sending heartbeat
Information come judge background service program whether normal operation, judging result is more accurate, and background program monitoring process can be improved
Automatic operating ability avoids manpower from carrying out the state confirmation of background service program;Solves existing background program monitoring side
Method and the automatic operating ability of background program monitoring device are poor, need manpower carry out state confirmation the technical issues of.
" component ", " module ", " system ", " interface ", " process " etc. are usually intended to as used herein the term
Refer to computer related entity:Hardware, the combination of hardware and software, software or software in execution.For example, component can be but not
It is limited to run process on a processor, processor, object, executable application, thread, program and/or the computer executed.
By diagram, both the application and the controller run on the controller can be component.One or more components can have
It is in the process executed and/or thread, and component can be located on a computer and/or be distributed in two or more meters
Between calculation machine.
Figure 12 and the discussion below, which provide, sets the electronics where realizing background program monitoring device of the present invention
Brief, summary the description of standby working environment.The working environment of Figure 12 be only an example of working environment appropriate simultaneously
And suggestion is not intended to about the purposes of working environment or any restrictions of the range of function.Example electronic equipment 1212 includes but not
It is limited to wearable device, helmet, medical treatment & health platform, personal computer, server computer, hand-held or on knee sets
Standby, mobile device (such as mobile phone, personal digital assistant (PDA), media player etc.), multicomputer system, consumption
The distributed computing environment, etc. of type electronic equipment, minicomputer, mainframe computer including above-mentioned arbitrary system or equipment.
Although not requiring, in the common background that " computer-readable instruction " is executed by one or more electronic equipments
Lower description embodiment.Computer-readable instruction can be distributed and (be discussed below) via computer-readable medium.It is computer-readable
Instruction can be implemented as program module, such as the function of execution particular task or realization particular abstract data type, object, application
Programming interface (API), data structure etc..Typically, the function of the computer-readable instruction can be in various environment arbitrarily
Combination or distribution.
Figure 12 illustrates the electronic equipment of one or more of the background program monitoring device including present invention embodiment
1212 example.In one configuration, electronic equipment 1212 includes at least one processing unit 1216 and memory 1218.According to
The exact configuration and type of electronic equipment, memory 1218 can be volatibility (such as RAM), it is non-volatile (such as
ROM, flash memory etc.) or the two certain combination.The configuration is illustrated by dotted line 1214 in fig. 12.
In other embodiments, electronic equipment 1212 may include supplementary features and/or function.For example, equipment 1212 is also
May include additional storage device (such as removable and/or non-removable) comprising but it is not limited to magnetic memory apparatus, light
Storage device etc..This additional memory devices are illustrated by storage device 1220 in fig. 12.In one embodiment, it is used for real
The computer-readable instruction of existing one or more embodiments provided in this article can be in storage device 1220.Storage device
1220 can also store other computer-readable instructions for realizing operating system, application program etc..Computer-readable instruction
It can be loaded into memory 1218 and be executed by such as processing unit 1216.
Term as used herein " computer-readable medium " includes computer storage media.Computer storage media includes
The volatibility that any method or technique of the information of such as computer-readable instruction or other data etc is realized for storage
With non-volatile, removable and nonremovable medium.Memory 1218 and storage device 1220 are the realities of computer storage media
Example.Computer storage media includes but not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, number
Universal disc (DVD) or other light storage devices, cassette tape, tape, disk storage device or other magnetic storage apparatus can be with
For storing any other medium it is expected information and can accessed by electronic equipment 1212.Arbitrary such computer storage is situated between
Matter can be a part for electronic equipment 1212.
Electronic equipment 1212 can also include the communication connection 1226 for allowing electronic equipment 1212 to be communicated with other equipment.It is logical
Letter connection 1226 can include but is not limited to modem, network interface card (NIC), integrated network interface, radiofrequency launcher/
Receiver, infrared port, USB connections or other interfaces for electronic equipment 1212 to be connected to other electronic equipments.Communication
Connection 1226 may include wired connection or wireless connection.Communication connection 1226 can emit and/or receive communication medium.
Term " computer-readable medium " may include communication media.Communication media typically comprises computer-readable instruction
Or other data in " the own modulated data signal " of such as carrier wave or other transmission mechanisms etc, and include that any information is passed
Send medium.Term " own modulated data signal " may include such signal:One or more of the characteristics of signals is according to general
Mode in information coding to signal is set or changed.
Electronic equipment 1212 may include input equipment 1224, for example, keyboard, mouse, pen, voice-input device, touch it is defeated
Enter equipment, infrared camera, video input apparatus and/or any other input equipment.Can also include that output is set in equipment 1212
Standby 1222, such as one or more displays, loud speaker, printer and/or other arbitrary output equipments.1224 He of input equipment
Output equipment 1222 can be connected to electronic equipment 1212 via wired connection, wireless connection or its arbitrary combination.In a reality
It applies in example, input equipment or output equipment from another electronic equipment are used as the input equipment of electronic equipment 1212
1224 or output equipment 1222.
The component of electronic equipment 1212 can be connected by various interconnection (such as bus).Such interconnection may include outer
Enclose component interconnection (PCI) (such as quick PCI), universal serial bus (USB), firewire (IEEE1394), optical bus structure etc.
Deng.In another embodiment, the component of electronic equipment 1212 can pass through network interconnection.For example, memory 1218 can be by
Multiple physical memory cells arcs composition in different physical locations, by network interconnection.
It would be recognized by those skilled in the art that the storage device for storing computer-readable instruction can be across network point
Cloth.For example, can be stored for realizing one provided by the present invention via the electronic equipment 1230 that network 1228 accesses or
The computer-readable instruction of multiple embodiments.Electronic equipment 1212 can access electronic equipment 1230 and downloading computer is readable
What is instructed is part or all of for execution.Alternatively, electronic equipment 1212 can be downloaded a plurality of computer-readable on demand
It instructs or some instruction can be executed at electronic equipment 1212 and some instructions can be held at electronic equipment 1230
Row.
There is provided herein the various operations of embodiment.In one embodiment, one or more operations can be with structure
At the computer-readable instruction stored on one or more computer-readable mediums, will make to succeed in one's scheme when being executed by electronic equipment
It calculates equipment and executes the operation.Describing the sequences of some or all of operations, to should not be construed as to imply that these operations necessarily suitable
Sequence is relevant.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that
Not all operation must exist in each embodiment provided in this article.
Moreover, although the disclosure, this field skill has shown and described relative to one or more realization methods
Art personnel will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The disclosure include it is all this
The modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element,
Resource etc.) various functions that execute, the term for describing such component is intended to correspond to the specified work(for executing the component
The random component (unless otherwise instructed) of energy (such as it is functionally of equal value), even if illustrated herein with execution in structure
The disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosure
Through being disclosed relative to the only one in several realization methods, but this feature can with such as can be to given or specific application
For be it is expected and one or more other features combinations of other advantageous realization methods.Moreover, with regard to term " comprising ", " tool
Have ", " containing " or its deformation be used in specific implementation mode or claim for, such term be intended to with term
The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can be integrated in a processing module, can also be each unit list
Solely be physically present, can also two or more units be integrated in a module.Above-mentioned integrated module both may be used
The form of hardware is realized, can also be realized in the form of software function module.If the integrated module is with software function
The form of module is realized and when sold or used as an independent product, can also be stored in a computer-readable storage and be situated between
In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with
Execute the method in correlation method embodiment.
In conclusion although the present invention is disclosed above with embodiment, the serial number before embodiment, such as " first ", " second "
Deng only using for convenience of description, the sequence of various embodiments of the present invention is not caused to limit.Also, above-described embodiment not to
Limitation the present invention, those skilled in the art, without departing from the spirit and scope of the present invention, can make it is various change with
Retouching, therefore protection scope of the present invention is subject to the range that claim defines.
Claims (14)
1. a kind of background program monitoring method, which is characterized in that including:
Background service program is traversed, and reads the configuration file of all background service programs;
According to the configuration file of the background service program, the monitor state table of the background service program is generated, wherein described
Monitor state table includes the location information and identification information of the associated process in the background service program;
According to the monitor state table, the first heartbeat signal is sent to all background service programs with setting time interval;And
According to the background service program to the feedback of first heartbeat signal, determine to the corresponding background service program
Carry out reboot operation.
2. background program monitoring method according to claim 1, which is characterized in that described according to the background service program
To the feedback of first heartbeat signal, determine that the step of carrying out reboot operation to the corresponding background service program includes:
If the background service program is continuously to the first heartbeat signal of setting number without response, then to corresponding background service journey
Sequence carries out reboot operation.
3. background program monitoring method according to claim 1, which is characterized in that the background program monitoring method is also wrapped
It includes:
The second heartbeat signal of system process is received, and feedback operation is carried out to second heartbeat signal;The wherein described system
Process is generated and is answered for monitoring process reset the monitoring process of operation according to the feedback information of second heartbeat signal
Position signal.
4. background program monitoring method according to claim 1, which is characterized in that the background program monitoring method packet
It includes:
External control command is received, and according to the external control command, control operation is carried out to corresponding background service program.
5. background program monitoring method according to claim 4, which is characterized in that the external control command includes script
Order;
Control command outside the reception, and according to the external control command, corresponding background service program is controlled
The step of operation includes:
The script command is received, and starts the background service program for executing the script command;And
After the script command is finished, closes the background service program and the background service program resource is carried out
Recycling.
6. background program monitoring method according to claim 4, which is characterized in that the external control command includes monitoring
Process open command;
Control command outside the reception, and according to the external control command, corresponding background service program is controlled
The step of operation includes:
Monitoring process open command is received, and according to the monitoring process open command, judges whether the monitoring in opening
Process;
Such as there is the monitoring process in opening, then stops being monitored process opening operation;And
The monitoring process in opening such as is not present, then is monitored process opening operation.
7. background program monitoring method according to claim 1, which is characterized in that the background program monitoring method packet
It includes:
Journal file is generated, and operation is updated to the journal file according to the feedback of first heartbeat signal.
8. a kind of background program monitoring device, which is characterized in that including:
Configuration file read module for traversing background service program, and reads the configuration file of all background service programs;
Monitor state table generation module generates the background service journey for the configuration file according to the background service program
The monitor state table of sequence, wherein the monitor state table include the location information of the associated process in the background service program with
And identification information;
Heartbeat signal sending module, for according to the monitor state table, with setting time interval to all background service programs
Send the first heartbeat signal;And
Module is restarted, for, to the feedback of first heartbeat signal, being determined to corresponding institute according to the background service program
It states background service program and carries out reboot operation.
9. background program monitoring device according to claim 8, which is characterized in that it is described restart module for as described in after
Platform service routine then carries out restarting behaviour continuously to the first heartbeat signal of setting number without response to corresponding background service program
Make.
10. background program monitoring device according to claim 8, which is characterized in that the background program monitoring device is also
Including:
Heartbeat signal feedback module, the second heartbeat signal for receiving system process, and second heartbeat signal is carried out
Feedback operation;The wherein described system process according to the feedback information of second heartbeat signal, generate for monitoring process into
Row resets the monitoring process reset signal of operation.
11. background program monitoring device according to claim 8, which is characterized in that the background program monitoring device is also
Including:
External control module, for receiving external control command, and according to the external control command, to corresponding background service
Program carries out control operation.
12. background program monitoring device according to claim 11, which is characterized in that the external control command includes foot
This order;
The external control module includes:
Program start unit for receiving the script command, and starts the background service journey for executing the script command
Sequence;And
Program resource recovery unit closes the background service program and to institute for working as after the script command is finished
Background service program resource is stated to be recycled.
13. background program monitoring device according to claim 11, which is characterized in that the external control command includes prison
Control process open command;
The external control module includes:
Monitoring process opens judging unit, for receiving monitoring process open command, and according to the monitoring process open command,
Judge whether the monitoring process in opening;
Monitoring process opening unit, for being monitored process opening operation.
14. background program monitoring device according to claim 8, which is characterized in that the background program monitoring device packet
It includes:
Journal file update module, for generating journal file, and according to the feedback of first heartbeat signal to the daily record
File is updated operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710079400.XA CN108427616B (en) | 2017-02-14 | 2017-02-14 | Background program monitoring method and monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710079400.XA CN108427616B (en) | 2017-02-14 | 2017-02-14 | Background program monitoring method and monitoring device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108427616A true CN108427616A (en) | 2018-08-21 |
CN108427616B CN108427616B (en) | 2020-12-01 |
Family
ID=63155203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710079400.XA Active CN108427616B (en) | 2017-02-14 | 2017-02-14 | Background program monitoring method and monitoring device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108427616B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109787997A (en) * | 2019-02-26 | 2019-05-21 | 上海易点时空网络有限公司 | TCP method of servicing and server based on PHP |
CN109788068A (en) * | 2019-02-14 | 2019-05-21 | 腾讯科技(深圳)有限公司 | Heartbeat state information report method, device and equipment and computer storage medium |
CN110032487A (en) * | 2018-11-09 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Keep Alive supervision method, apparatus and electronic equipment |
CN110221934A (en) * | 2019-05-08 | 2019-09-10 | 惠州市德赛西威汽车电子股份有限公司 | A kind of onboard system restoration methods |
CN110471689A (en) * | 2019-08-22 | 2019-11-19 | 北京元安物联技术有限公司 | A kind of application program updating method and device |
CN110572292A (en) * | 2019-10-30 | 2019-12-13 | 北京永亚普信科技有限责任公司 | high availability system and method based on unidirectional transmission link |
CN111385651A (en) * | 2018-12-29 | 2020-07-07 | 深圳Tcl数字技术有限公司 | Automatic repair method and device based on middleware, smart television and storage medium |
CN111651323A (en) * | 2020-05-29 | 2020-09-11 | 山东中创软件商用中间件股份有限公司 | Application software monitoring method, device and equipment |
CN113254305A (en) * | 2021-05-08 | 2021-08-13 | 山东英信计算机技术有限公司 | Method, system, equipment and storage medium for displaying offline state of testing machine |
CN113848843A (en) * | 2021-10-21 | 2021-12-28 | 万洲电气股份有限公司 | Self-diagnosis analysis system based on intelligent optimization energy-saving system |
CN114020356A (en) * | 2021-11-02 | 2022-02-08 | 北京天融信网络安全技术有限公司 | Method and device for safely closing service |
CN116032326A (en) * | 2022-12-21 | 2023-04-28 | 苏州恩易浦科技有限公司 | Signal control method suitable for photovoltaic equipment, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070220375A1 (en) * | 2006-02-24 | 2007-09-20 | Symbol Technologies, Inc. | Methods and apparatus for a software process monitor |
CN103246589A (en) * | 2012-02-03 | 2013-08-14 | 京信通信***(中国)有限公司 | Multithread monitoring method and device |
CN103595804A (en) * | 2013-11-20 | 2014-02-19 | 北京京东尚科信息技术有限公司 | Server cluster monitoring system |
CN105095046A (en) * | 2015-07-14 | 2015-11-25 | 北京奇虎科技有限公司 | Method and device for task monitoring |
CN105389243A (en) * | 2015-10-26 | 2016-03-09 | 华为技术有限公司 | Container monitoring method and apparatus |
-
2017
- 2017-02-14 CN CN201710079400.XA patent/CN108427616B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070220375A1 (en) * | 2006-02-24 | 2007-09-20 | Symbol Technologies, Inc. | Methods and apparatus for a software process monitor |
CN103246589A (en) * | 2012-02-03 | 2013-08-14 | 京信通信***(中国)有限公司 | Multithread monitoring method and device |
CN103595804A (en) * | 2013-11-20 | 2014-02-19 | 北京京东尚科信息技术有限公司 | Server cluster monitoring system |
CN105095046A (en) * | 2015-07-14 | 2015-11-25 | 北京奇虎科技有限公司 | Method and device for task monitoring |
CN105389243A (en) * | 2015-10-26 | 2016-03-09 | 华为技术有限公司 | Container monitoring method and apparatus |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110032487A (en) * | 2018-11-09 | 2019-07-19 | 阿里巴巴集团控股有限公司 | Keep Alive supervision method, apparatus and electronic equipment |
CN111385651A (en) * | 2018-12-29 | 2020-07-07 | 深圳Tcl数字技术有限公司 | Automatic repair method and device based on middleware, smart television and storage medium |
CN109788068B (en) * | 2019-02-14 | 2020-11-03 | 腾讯科技(深圳)有限公司 | Heartbeat state information reporting method, device and equipment and computer storage medium |
CN109788068A (en) * | 2019-02-14 | 2019-05-21 | 腾讯科技(深圳)有限公司 | Heartbeat state information report method, device and equipment and computer storage medium |
CN109787997A (en) * | 2019-02-26 | 2019-05-21 | 上海易点时空网络有限公司 | TCP method of servicing and server based on PHP |
CN110221934A (en) * | 2019-05-08 | 2019-09-10 | 惠州市德赛西威汽车电子股份有限公司 | A kind of onboard system restoration methods |
CN110221934B (en) * | 2019-05-08 | 2023-09-01 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted system recovery method |
CN110471689A (en) * | 2019-08-22 | 2019-11-19 | 北京元安物联技术有限公司 | A kind of application program updating method and device |
CN110572292A (en) * | 2019-10-30 | 2019-12-13 | 北京永亚普信科技有限责任公司 | high availability system and method based on unidirectional transmission link |
CN111651323A (en) * | 2020-05-29 | 2020-09-11 | 山东中创软件商用中间件股份有限公司 | Application software monitoring method, device and equipment |
CN113254305A (en) * | 2021-05-08 | 2021-08-13 | 山东英信计算机技术有限公司 | Method, system, equipment and storage medium for displaying offline state of testing machine |
CN113254305B (en) * | 2021-05-08 | 2022-08-02 | 山东英信计算机技术有限公司 | Method, system, equipment and storage medium for displaying offline state of testing machine |
CN113848843A (en) * | 2021-10-21 | 2021-12-28 | 万洲电气股份有限公司 | Self-diagnosis analysis system based on intelligent optimization energy-saving system |
CN113848843B (en) * | 2021-10-21 | 2024-07-02 | 万洲电气股份有限公司 | Self-diagnosis analysis system based on intelligent optimization energy-saving system |
CN114020356A (en) * | 2021-11-02 | 2022-02-08 | 北京天融信网络安全技术有限公司 | Method and device for safely closing service |
CN114020356B (en) * | 2021-11-02 | 2023-11-28 | 北京天融信网络安全技术有限公司 | Method and device for safely closing service |
CN116032326A (en) * | 2022-12-21 | 2023-04-28 | 苏州恩易浦科技有限公司 | Signal control method suitable for photovoltaic equipment, electronic equipment and storage medium |
CN116032326B (en) * | 2022-12-21 | 2024-03-05 | 苏州恩易浦科技有限公司 | Signal control method suitable for photovoltaic equipment, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108427616B (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108427616A (en) | background program monitoring method and monitoring device | |
US9727407B2 (en) | Log analytics for problem diagnosis | |
CN109495308B (en) | Automatic operation and maintenance system based on management information system | |
WO2021203979A1 (en) | Operation and maintenance processing method and apparatus, and computer device | |
US11392873B2 (en) | Systems and methods for simulating orders and workflows in an order entry and management system to test order scenarios | |
US11182163B1 (en) | Customizable courses of action for responding to incidents in information technology environments | |
US20120271888A1 (en) | Automated tape drive sharing in a heterogeneous server and application environment | |
CN112911013B (en) | Cloud application processing method and device, computer equipment and storage medium | |
CN109725950B (en) | Method, device and storage medium for realizing single-instance operation of client | |
CN104182683B (en) | A kind of monitoring method of online transaction, apparatus and system | |
CN106650490B (en) | The login method and device of cloud account | |
CN107819808A (en) | Communicate to connect method for building up and device | |
JP2006244404A (en) | Trouble recovering system and its device, rule making method and trouble recovering program | |
WO2021102368A1 (en) | System and method for application release orchestration and deployment | |
US20090077218A1 (en) | Software Method And System For Controlling And Observing Computer Networking Devices | |
US10996966B2 (en) | Recording and recreating interface navigation processes based on a whitelist generated by a machine-learned model | |
CN107018032A (en) | A kind of monitoring system server and method | |
WO2013179469A1 (en) | Operation process creation program, operation process creation method, and information-processing device | |
JP2021179986A (en) | Method of detecting switching of plc asset | |
CN111596953A (en) | Version management system, development data transmission control method and related device | |
JP2014049005A (en) | Information processing apparatus | |
US20210263819A1 (en) | Apparatuses, methods, and computer program products for industrial automation control system configuration error processing | |
CN113691875B (en) | Application program password login processing method and device, intelligent terminal and storage medium | |
RU2746570C1 (en) | Method for managing access service and displaying confidential information and data using virtual desktop | |
CN117982903A (en) | Request verification method, device, equipment and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |