CN1979444A - System for ensuring servo programe non-interrupted operation and method therefor - Google Patents

System for ensuring servo programe non-interrupted operation and method therefor Download PDF

Info

Publication number
CN1979444A
CN1979444A CN 200510129568 CN200510129568A CN1979444A CN 1979444 A CN1979444 A CN 1979444A CN 200510129568 CN200510129568 CN 200510129568 CN 200510129568 A CN200510129568 A CN 200510129568A CN 1979444 A CN1979444 A CN 1979444A
Authority
CN
China
Prior art keywords
program
servo programe
signal
module
watchdog routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200510129568
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 200510129568 priority Critical patent/CN1979444A/en
Publication of CN1979444A publication Critical patent/CN1979444A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a system and method for assuring servo program continuously operates, for assuring server end key servo program continuously operates, comprising: multiple servo program operating modules to provide service function to each servo program operating module and transmit heartbeat signal or restart signal corresponding to the operating status of each servo program operating module at preset intervals; program information recording module to record information on multiple application programs in need of monitoring; and at least a program monitoring module to read-write the program information recording module, receive the signal from each servo program operating module and execute corresponding operation according to the signal, and transmit a corresponding signal to the operating status of the first program monitoring module at preset intervals. And the invention improves availability and efficiency of servo program and assures operating continuity of servo program as fully as possible.

Description

System that ensures servo programe non-interrupted operation and method thereof
Technical field
The present invention relates to a kind of application management system and method thereof, particularly a kind of system that ensures servo programe non-interrupted operation and method thereof.
Background technology
Along with the development of infotech, increasing industry such as bank etc. all need to provide 7 * 24 hours uninterrupted service, thereby the running without interruption of critical servo program of keeping server end just becomes very important.At present, in order to guarantee the general method that adopts program monitoring of running without interruption of application program.The program monitoring method of known technology has following three kinds: monitor single program only for first kind; Can monitor complicated process for second kind, by obtaining the information of monitored program, creation facilities program (CFP) is set and is controlled, and can report to the police when monitored program generation abnormal conditions, but can not recover this program automatically; The third more aforementioned two kinds improve to some extent, its with watchdog routine as father's program in order to produce needing monitored a plurality of subroutines, when subroutine takes place when unusual, all subroutines of father's EOP (end of program) also produce a plurality of subroutines again.
Yet still there are many defectives in this way of known technology, particularly in that each program is separate when being independent of each other, can not realize the monitoring and recovering automatically separately of each program.
Summary of the invention
In order to solve problem and the defective in the above-mentioned known technology, the object of the present invention is to provide a kind of system and method that ensures servo programe non-interrupted operation, be used to guarantee a plurality of critical servo programe non-interrupted operations of server end.
A kind of system that ensures servo programe non-interrupted operation provided by the invention, comprise: a plurality of servo programe operation modules, wherein each servo programe operation module all comprises a business function module, in order to the business function of each servo programe operation module to be provided, and reporting modules, in order to collect the running state information of each servo programe operation module according to a predetermined time interval, and judge according to running state information and to send the running status of each servo programe operation module the heartbeat signal corresponding or to restart signal with running status; The program information logging modle needs the program identification field and the program label field of each application program of monitoring in order to set up a watch-list at server with record; And at least one program monitoring module, it comprises a module for reading and writing, in order to read the system program tabulation of watch-list and server, and will need the program identification of each application program of monitoring to write watch-list, a reporting modules, in order to collect the running state information of this program monitoring module according to predetermined time interval, and judge the running status of this program monitoring module according to running state information, send the heartbeat signal corresponding or restart signal with running status, monitor module for one, in order to receive the signal that needs each of monitoring application program to send, and according to steering order of this signal transmission, and an abnormality processing module, in order to receive and to carry out the steering order of monitoring the module transmission.
A kind of method that ensures servo programe non-interrupted operation provided by the invention comprises following steps: the program label and the program identification that write down the monitored a plurality of servo programes of one first watchdog routine and needs; The running state information of collecting each servo programe according to a predetermined time interval, and judge according to running state information and to send the running status of each servo programe the heartbeat signal corresponding with this running status or to restart signal; The program identification of each servo programe by the first watchdog routine reading and recording, and receive the signal that each servo programe sends according to the program identification that reads; When not receiving the heartbeat signal of a servo programe yet above predetermined time interval, check the system program tabulation of server, when the program identification of this servo programe exists, close this servo programe and restart this servo programe, otherwise directly restart this servo programe, and restart the program identification that this servo programe correspondence is upgraded in the back in this servo programe; And, close this servo programe and restart this servo programe, and restart the program identification of this servo programe correspondence of back renewal in this servo programe when the signal of a servo programe that receives during for enabling signal again.
In order to guarantee running without interruption of first watchdog routine, the present invention further comprises following steps: start one second watchdog routine, and write down the program label of second watchdog routine and program identification to watch-list; Receive signal that first watchdog routine sends and send the heartbeat signal corresponding or restart signal to the first watchdog routine by second watchdog routine with the running status of second watchdog routine according to predetermined time interval; When not receiving the heartbeat signal of first watchdog routine yet above predetermined time interval, check the system program tabulation of server, when the program identification of first watchdog routine exists, close first watchdog routine and restart first watchdog routine, otherwise directly restart first watchdog routine, and when first watchdog routine restarts, receive the signal that each servo programe sends, and restart the program identification that the first watchdog routine correspondence is upgraded in the back in first watchdog routine; And when the signal of first watchdog routine that receives during for enabling signal again, close first watchdog routine and restart first watchdog routine, and when first watchdog routine restarts, receive the signal that each servo programe sends, and restart the program identification that the first watchdog routine correspondence is upgraded in the back in first watchdog routine.
In sum, the invention has the advantages that the independent monitoring and the operation that have realized each servo programe, monitoring mutually between the watchdog routine simultaneously guarantees running without interruption of servo programe as far as possible.
Description of drawings
Fig. 1 is the system block diagram according to preferred embodiment of the present invention;
Fig. 2 is a watch-list structural representation of the present invention;
Fig. 3 is a method flow diagram of the present invention;
Fig. 4 is the method flow diagram of records application program information of the present invention; And
Fig. 5 is the second watchdog routine flow chart of the present invention.
Wherein, description of reference numerals is as follows:
100 program information logging modles, 101 watch-lists, 102 program identification fields
103 program label fields, 110 first program monitoring modules
111,121,131,141 reporting modules, 112,122 module for reading and writing
113,123 monitor module 114,124 abnormality processing modules
120 second program monitoring modules, 130 first servo programes operation module
140 second servo programes operation module, 132,142 business function module
Program label and program identification that step S200 writes down first watchdog routine and needs monitored a plurality of servo programes
The running state information that step S210 collects each servo programe according to predetermined time interval, and judge according to running state information and to send the running status of each servo programe the heartbeat signal corresponding with running status or to restart signal
Step S220 passes through the program identification of each servo programe of the first watchdog routine reading and recording, and receives the signal that each servo programe sends according to the program identification that reads
Step S230 is not when receiving the heartbeat signal of a servo programe yet above predetermined time interval, check the system program tabulation of server, when the program identification of this servo programe exists, close this servo programe and restart this servo programe, otherwise directly restart this servo programe, and restart the program identification that this servo programe correspondence is upgraded in the back in this servo programe
Step S240 closes this servo programe and restarts this servo programe, and restart the program identification of this servo programe correspondence of back renewal in this servo programe when the signal of a servo programe that receives during for enabling signal again
Step S300 sets up a watch-list in server, and watch-list is set to shared file
Step S310 writes watch-list with the program label of first watchdog routine and each servo programe
Step S320 starts first watchdog routine and each servo programe
Step S330 reads first watchdog routine of watch-list record and the program label of each servo programe by first watchdog routine, and read the program identification of the label of program therewith correspondence of the system program list records of server according to this program label, this program identification is write watch-list
Step S400 starts one second watchdog routine, and writes down the program label of second watchdog routine and program identification to watch-list
Step S410 receives the signal of first watchdog routine transmission by second watchdog routine and sends a heartbeat signal corresponding with the running status of second watchdog routine or restart signal to the first watchdog routine according to predetermined time interval
Step S420 is not when receiving the heartbeat signal of first watchdog routine yet above predetermined time interval, check the system program tabulation of server, when the program identification of first watchdog routine exists, close first watchdog routine and restart first watchdog routine, otherwise directly restart first watchdog routine.And when first watchdog routine restarts, receive the signal that each servo programe sends, and restart the program identification that the first watchdog routine correspondence is upgraded in the back in first watchdog routine
Step S430 closes first watchdog routine and restarts first watchdog routine when the signal of first watchdog routine that receives during for enabling signal again.And when first watchdog routine restarts, receive the signal that each servo programe sends, and restart the program identification that the first watchdog routine correspondence is upgraded in the back in first watchdog routine
Embodiment
Below, will elaborate to preferred implementation of the present invention in conjunction with the accompanying drawings.
Please refer to Fig. 1 and Fig. 2, Fig. 1 is a system block diagram of the present invention, and Fig. 2 is a watch-list structural representation of the present invention.
As shown in Figure 1, native system comprises: a plurality of servo programe operation modules 130,140, and it further comprises reporting modules 131,141, business function module 132,142; Program information logging modle 100, in order to set up watch-list 101, watch-list 101 comprises program identification field 102 and program label field 103; The first program monitoring module 110, it further comprises reporting modules 111, module for reading and writing 112, monitors module 113 and abnormality processing module 114; And the second program monitoring module 120, it further comprises reporting modules 121, module for reading and writing 122, monitors module 123 and abnormality processing module 124.
Below, will describe operation of the present invention in detail in conjunction with Fig. 1 and Fig. 2.
Program information logging modle 100 in order to set up at server (figure do not show) watch-list 101 (as, Excel form, Word file or text file etc.), and watch-list 101 is set to shared file.Watch-list 101 comprises a program identification field 102 and a program label field 103.The user can write the program label " app2.exe " of the program label " appl.exe " of the program label " monitl.exe " of the first program monitoring module 110, first servo programe operation module 130 and second servo programe operation module 140 the program label field 103 of watch-list 101 by program information logging modle 100.Then, start the first program monitoring module 110, first servo programe operation module 130 and second servo programe operation module 140.The module for reading and writing 112 of the first program monitoring module 110 reads the program label of program label field 103 records of watch-list 101 by program information logging modle 100, and in the tabulation of the system program of server, search corresponding program identification, and the program identification " 1020 " of the first program monitoring module 110 that will read according to the program label that reads, the program identification " 1031 " of the program identification " 1030 " of first servo programe operation module 130 and second servo programe operation module 140 writes the program identification field 102 of watch-list 101 by program information logging modle 100.
The business function module 132 of first servo programe operation module 130 is in order to provide the business function service of servo programe operation module 130, and the business function module 142 of second servo programe operation module 140 is in order to provide the business function service of servo programe operation module 140.The reporting modules 111 of the first program monitoring module 110, the reporting modules 141 of the reporting modules 131 of first servo programe operation module 130 and second servo programe operation module 140 respectively according to a predetermined time interval (as, 3 milliseconds) the collection first program monitoring module 110, the running state information of first servo programe operation module 130 and second servo programe operation module 140, and judge its running status according to the running state information of collecting, when running status just often, send a heartbeat signal, when running status is unusual, sends one and restart signal.The module for reading and writing 112 of the first program monitoring module 110 reads first servo programe operation module 130 of program label field 103 record of watch-list 101 and the program label of second servo programe operation module 140 by program information logging modle 100, and the program label sent to monitor module 113, monitor the signal that reporting modules 141 that module 113 amenable to process labels receive the reporting modules 131 of first servo programe operation module 130 and second servo programe operation module 140 sends.
When the monitoring module 113 of the first program monitoring module 110 surpasses the heartbeat signal that application program (as first servo programe operation module 130) that predetermined time interval do not receive its monitoring yet sends, monitor module 113 and in the system program tabulation of server, search the program identification " 1030 " of first servo programe operation module 130, when first servo programe moves the program identification " 1030 " of module 130 when existing, monitor module 113 send one close and restart indication to abnormality processing module 114, abnormality processing module 114 is moved module 130 according to order fulfillment first servo programe, and restarts first servo programe operation module 130 immediately.When first servo programe moves the program identification " 1030 " of module 130 when not existing, monitor module 113 and send a restart indication to abnormality processing module 114, abnormality processing module 114 restarts first servo programe operation module 130 immediately according to instruction.Abnormality processing module 114 sends a update instruction to module for reading and writing 112 after first servo programe operation module 130 restarts successfully, module for reading and writing 112 writes the new procedures sign of first servo programe operation module 130 the program identification field 102 of watch-list 101 by program information logging modle 100 according to instruction.
When the monitoring module 113 of the first program monitoring module 110 receives signal that the reporting modules 131 of first servo programe operation module 130 sends for enabling signal again, monitor module 113 send one close and instruction of restarting to abnormality processing module 114, abnormality processing module 114 is moved module 130 according to order fulfillment first servo programe, and restarts first servo programe operation module 130 immediately.Abnormality processing module 114 sends a update instruction to module for reading and writing 112 after first servo programe operation module 130 restarts successfully, module for reading and writing 112 writes the new procedures sign of first servo programe operation module 130 the program identification field 102 of watch-list 101 by program information logging modle 100 according to instruction.
According to foregoing description, the first program monitoring module 110 detects the running status of first servo programe operation module 130 in the extremely of short duration time interval, and in first servo programe operation module 130 takes place, have no progeny and full out restart first servo programe operation module 130, reach the purpose that guarantees that first servo programe operation module 130 runs without interruption.Equally, the first program monitoring module 110 can guarantee running without interruption of more critical servo programs on second servo programe operation module 140 and the server.
Yet, the situation that the first program monitoring module 110 also may be interrupted self.Have no progeny in the first program monitoring module 110, first servo programe operation module 130 and second servo programe operation module 140 just lose corresponding monitoring.Thereby, in order to guarantee running without interruption of first servo programe operation module 130 and second servo programe operation module 140 the biglyyest, preferred embodiment of the present invention adopts one second program monitoring module 120 in order to detect the running status of the first program monitoring module 110, and the running status of in the first program monitoring module 110, have no progeny monitoring first servo programe operation module 130 and second servo programe operation module 140, and in the shortest time, restart the first program monitoring module 110.Simultaneously, the first program monitoring module 110 also detects the running status of the second program monitoring module 120, to guarantee running without interruption of the second program monitoring module 120.
Below, will describe the operation of the second program monitoring module 120 in detail.
After the second program monitoring module 120 started, the module for reading and writing 112 of the first program monitoring module 110 write the program identification " 1021 " of the second program monitoring module 120 by program information logging modle 100 the program identification field 102 of watch-list 101.The reporting modules 121 of the second program monitoring module 120 is collected the running state information of the second program monitoring module 120 according to predetermined time interval, and judge its running status according to the running state information of collecting, when running status just often, send heartbeat signal to the first a program monitoring module 110, when running status is unusual, sends one and restart signal to the first program monitoring module 110.Simultaneously, the module for reading and writing 122 of the second program monitoring module 120 reads the program label of the first program monitoring module 110 of program label field 103 record of watch-list 101 by program information logging modle 100, and the program label sent to monitor module 123, monitor the signal that reporting modules 111 that module 123 amenable to process labels receive the first program monitoring module 110 sends.
When the monitoring module 123 of the second program monitoring module 120 surpasses the heartbeat signal that reporting modules 111 that predetermined time interval do not receive the first program monitoring module 110 yet sends, monitor module 123 and in the system program tabulation of server, search the program identification " 1020 " of the first program monitoring module 110, when the program identification " 1020 " of the first program monitoring module 110 when existing, monitor module 123 send one close and instruction of restarting to abnormality processing module 124, abnormality processing module 124 is according to the order fulfillment first program monitoring module 110, and restarts the first program monitoring module 110 immediately.When the program identification " 1021 " of the first program monitoring module 110 when not existing, to monitor module 123 and send one instruction of restarting is to abnormality processing module 124 again, abnormality processing module 124 restarts the first program monitoring module 110 immediately according to instruction.When the first program monitoring module 110 was interrupted, the second program monitoring module 120 detected the running status of first servo programe operation module 130 and second servo programe operation module 140, and carried out corresponding operating according to running status.After the first program monitoring module 110 restarts, the second program monitoring module, 120 abnormality processing modules 124 send a update instruction to module for reading and writing 122, and module for reading and writing 122 writes the new procedures sign of the first program monitoring module 110 the program identification field 102 of watch-list 101 by program information logging modle 100 according to instruction.
When the monitoring module 123 of the second program monitoring module 120 receives signal that the reporting modules 111 of the first program monitoring module 110 sends for enabling signal again, monitor module 123 send one close and instruction of restarting to abnormality processing module 124, abnormality processing module 124 is according to the order fulfillment first program monitoring module 110, and restarts the first program monitoring module 110 immediately.When the first program monitoring module 110 was interrupted, the second program monitoring module 120 detected the running status of first servo programe operation module 130 and second servo programe operation module 140, and carried out corresponding operating according to running status.After the first program monitoring module 110 restarts, the second program monitoring module, 120 abnormality processing modules 124 send a update instruction to module for reading and writing 122, and module for reading and writing 122 writes the new procedures sign of the first program monitoring module 110 the program identification field 102 of watch-list 101 by program information logging modle 100 according to instruction.
Pass through aforesaid operations, monitoring mutually between the first program monitoring module 110 and the second program monitoring module 120, and when any one monitoring module takes place to interrupt therein, another monitoring module continues the running status of the critical servo program of detection server, guarantees running without interruption of critical servo program.
Please refer to Fig. 3 and Fig. 4 now, Fig. 3 is a method flow diagram of the present invention, and Fig. 4 is a records application program information approach process flow diagram of the present invention.
As shown in Figure 3, method of the present invention comprises following steps:
At first, program label and the program identification (step S200) that writes down one first watchdog routine and need monitored a plurality of servo programes.Wherein further comprise, set up a watch-list 101 at server, and watch-list 101 is set to shared file (step S300), with first watchdog routine and need the program label of each servo programe of monitoring to write watch-list (step S310), start first watchdog routine and each servo programe (step S320), read first watchdog routine of watch-list 101 records and the program label of each servo programe by first watchdog routine, and in the tabulation of the system program of server, search corresponding program identification according to this program label, this program identification is write watch-list (step S330).
Then, collect the running state information of each servo programe according to predetermined time interval, and judge the running status of each servo programe according to running state information, when running status just often, send a heartbeat signal, when running status is unusual, sends one and restart signal (step S210).Read the program identification of each servo programe of watch-list 101 records by first watchdog routine, and receive the signal (step S220) of each servo programe transmission according to the program identification that reads.
When first watchdog routine does not receive the heartbeat signal of a servo programe yet above predetermined time interval, check the system program tabulation of server, when the program identification of this servo programe exists, close this servo programe and restart this servo programe, otherwise directly restart this servo programe, and restart the program identification (step S230) that this servo programe correspondence in the watch-list 101 is upgraded in the back in this servo programe.
The signal of a servo programe that receives when first watchdog routine is during for enabling signal again, close this servo programe and restart this servo programe, and restart the program identification (step S240) that this servo programe correspondence in the watch-list 101 is upgraded in the back in this servo programe.
According to foregoing description, the present invention can detect the running status of the critical servo program of server by first watchdog routine, and has no progeny in servo programe and full out restart servo programe, has guaranteed running without interruption of servo programe.
Yet, the situation that first watchdog routine also can be interrupted, for guaranteeing running without interruption of first watchdog routine, the present invention further comprises following steps (please refer to Fig. 5):
Start one second watchdog routine, and write down the program label of second watchdog routine and program identification to watch-list 101 (step S400).Receive the signal that first watchdog routine sends by second watchdog routine, and collect the running state information of second watchdog routine according to predetermined time interval, and judge the running status of second watchdog routine according to running state information, when running status just often, send heartbeat signal to the first watchdog routine, when running status is unusual, sends one and restart signal to the first watchdog routine (step S410).
When not receiving the heartbeat signal of first watchdog routine yet above predetermined time interval, check the system program tabulation of server, when the program identification of first watchdog routine exists, close first watchdog routine and restart first watchdog routine, otherwise directly restart first watchdog routine.And when first watchdog routine restarts, receive the signal that each servo programe sends, and carry out corresponding operating according to signal.Restart the program identification (step S420) that the first watchdog routine correspondence is upgraded in the back in first watchdog routine.
When the signal of first watchdog routine that receives during, close first watchdog routine and restart first watchdog routine for enabling signal again.And when first watchdog routine restarts, receive the signal that each servo programe sends, and carry out corresponding operating according to signal.Restart the program identification (step S430) that the first watchdog routine correspondence is upgraded in the back in first watchdog routine.
According to foregoing description, first watchdog routine and second watchdog routine detect the other side's running status mutually, guaranteeing running without interruption of the other side, and then guarantee the running without interruption of servo programe of server.
Though the present invention with aforesaid preferred implementation openly as above, so it is not in order to limit the present invention.Those skilled in the art will appreciate that under the situation that does not break away from the disclosed scope and spirit of the present invention of appending claims of the present invention that change of being done and modification all belong within the scope of patent protection of the present invention.Please refer to appending claims about the protection domain that the present invention defined.

Claims (10)

1, a kind of system that ensures servo programe non-interrupted operation, in order to guarantee a plurality of servo programe non-interrupted operations of server, this system comprises:
A plurality of servo programes operation modules in order to the business function of described each servo programe operation module to be provided, and to send the corresponding heartbeat signal of the running status of moving module with described each servo programe or restart signal according to predetermined time interval;
The program information logging modle is in order to write down the information of a plurality of application programs that need monitoring; And
The first program monitoring module, in order to read and write this program information logging modle, receive the signal that described each servo programe operation module sends, and carry out corresponding operating according to this signal, and according to the running status corresponding signal of predetermined time interval transmission with this first program monitoring module;
Wherein, a plurality of application programs of the needs monitoring of this program information logging modle record comprise the servo programe of watchdog routine and described each servo programe operation module of this first program monitoring module.
2, the system that ensures servo programe non-interrupted operation as claimed in claim 1, wherein this first program monitoring module further comprises: module for reading and writing, in order to reading the system program tabulation of this program information logging modle and this server, and will need the program identification of described each application program of monitoring to write this program information logging modle; Reporting modules in order to collecting the running state information of this first program monitoring module according to this predetermined time interval, and is judged according to this running state information and the running status of this first program monitoring module to be sent the signal corresponding with this running status; Monitor module, the signal that described each application program that need monitor in order to reception sends, and according to this signal sending controling instruction; And the abnormality processing module, in order to receive and to carry out this steering order that this monitoring module sends.
3, the system that ensures servo programe non-interrupted operation as claimed in claim 1, wherein this program information logging modle needs the information of described each application program of monitoring in order to set up watch-list with record, this watch-list comprises program identification field and program label field, and this watch-list is a shared file.
4, the system that ensures servo programe non-interrupted operation as claimed in claim 1, wherein said each servo programe operation module further comprises: business function module, in order to the business function of described each servo programe operation module to be provided; And reporting modules, in order to collect the running state information of described each servo programe operation module according to this predetermined time interval, and judge according to this running state information and the running status of described each servo programe operation module to send the signal corresponding with this running status.
5, the system that ensures servo programe non-interrupted operation as claimed in claim 1, wherein further comprise the second program monitoring module, in order to read and write this program information logging modle, receive the signal that this first program monitoring module sends, and carry out corresponding operating, and send the signal corresponding to this first monitoring module with the running status of this second program monitoring module according to predetermined time interval according to this signal.
6, the system that ensures servo programe non-interrupted operation as claimed in claim 5, wherein this second program monitoring module receives the signal that described each servo programe operation module sends after this first monitoring module outage, and carries out corresponding operating according to this signal.
7, the system that ensures servo programe non-interrupted operation as claimed in claim 5, wherein this second program monitoring module further comprises: module for reading and writing, in order to reading the system program tabulation of this program information logging modle and this server, and will need the program identification of described each application program of monitoring to write this program information logging modle; Reporting modules in order to collecting the running state information of this second program monitoring module according to this predetermined time interval, and is judged according to this running state information and the running status of this second program monitoring module to be sent the signal corresponding with this running status; Monitor module, the signal that described each application program that need monitor in order to reception sends, and according to this signal sending controling instruction; And the abnormality processing module, in order to receive and to carry out this steering order that this monitoring module sends.
8, a kind of method that ensures servo programe non-interrupted operation, in order to guarantee a plurality of servo programe non-interrupted operations of server, the method includes the steps of:
(a) program label and the program identification that writes down first watchdog routine and need monitored a plurality of servo programes;
(b) collect the running state information of described each servo programe according to predetermined time interval, and judge according to this running state information and to send the running status of described each servo programe the heartbeat signal corresponding or to restart signal with this running status;
(c) pass through the program identification of described each servo programe of this first watchdog routine reading and recording, and receive the signal of described each servo programe transmission according to the program identification that reads;
(d) when not receiving the heartbeat signal of servo programe yet above this predetermined time interval, check the system program tabulation of this server, when the program identification of this servo programe exists, close this servo programe and restart this servo programe, otherwise directly restart this servo programe, and restart the program identification that this servo programe correspondence is upgraded in the back in this servo programe; And
(e) when the signal of the servo programe that receives during, close this servo programe and restart this servo programe, and restart the program identification of this servo programe correspondence of back renewal in this servo programe for enabling signal again.
9, the method that ensures servo programe non-interrupted operation as claimed in claim 8, wherein step (a) further comprises:
Set up watch-list in this server, and this watch-list is set to shared file;
The program label of this first watchdog routine and described each servo programe is write this watch-list;
Start this first watchdog routine and described each servo programe; And
Read this first watchdog routine of this watch-list record and the program label of described each servo programe by this first watchdog routine, and read the program identification corresponding of the system program list records of this server with this program label according to this program label, this program identification is write this watch-list.
10, the method that ensures servo programe non-interrupted operation as claimed in claim 8, this method further comprises:
Start second watchdog routine, and write down the program label of this second watchdog routine and program identification to this watch-list;
Receive signal that this first watchdog routine sends and send the heartbeat signal corresponding or restart signal by this second watchdog routine to this first watchdog routine with the running status of this second watchdog routine according to this predetermined time interval;
When not receiving the heartbeat signal of this first watchdog routine yet above this predetermined time interval, check the system program tabulation of this server, when the program identification of this first watchdog routine exists, close this first watchdog routine and restart this first watchdog routine, otherwise directly restart this first watchdog routine, and when this first watchdog routine restarts, receive the signal that described each servo programe sends, and restart the program identification that this first watchdog routine correspondence is upgraded in the back in this first watchdog routine; And
When the signal of this first watchdog routine that receives during for enabling signal again, close this first watchdog routine and restart this first watchdog routine, and when this first watchdog routine restarts, receive the signal that described each servo programe sends, and restart the program identification that this first watchdog routine correspondence is upgraded in the back in this first watchdog routine.
CN 200510129568 2005-12-06 2005-12-06 System for ensuring servo programe non-interrupted operation and method therefor Pending CN1979444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510129568 CN1979444A (en) 2005-12-06 2005-12-06 System for ensuring servo programe non-interrupted operation and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510129568 CN1979444A (en) 2005-12-06 2005-12-06 System for ensuring servo programe non-interrupted operation and method therefor

Publications (1)

Publication Number Publication Date
CN1979444A true CN1979444A (en) 2007-06-13

Family

ID=38130621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510129568 Pending CN1979444A (en) 2005-12-06 2005-12-06 System for ensuring servo programe non-interrupted operation and method therefor

Country Status (1)

Country Link
CN (1) CN1979444A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1055062C (en) * 1996-09-19 2000-08-02 中国科学院山西煤炭化学研究所 Method for synthesis of small granular NaY molecular sieve
CN101175240B (en) * 2007-11-26 2011-05-11 中国移动通信集团福建有限公司 Seamless switching method for sharing internal memory
CN102135919A (en) * 2010-01-27 2011-07-27 深圳富泰宏精密工业有限公司 Element detection system and method
CN105260655A (en) * 2014-07-14 2016-01-20 腾讯科技(深圳)有限公司 Application program starting protection method, device and system
CN109756397A (en) * 2019-01-08 2019-05-14 深圳市网心科技有限公司 A kind of hardware sharing method, system and relevant device
CN109766177A (en) * 2019-01-08 2019-05-17 深圳市网心科技有限公司 A kind of Android APP keepalive method, system and relevant device
WO2020142924A1 (en) * 2019-01-09 2020-07-16 深圳市大疆创新科技有限公司 Communication method for laser radar, laser radar, and host device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1055062C (en) * 1996-09-19 2000-08-02 中国科学院山西煤炭化学研究所 Method for synthesis of small granular NaY molecular sieve
CN101175240B (en) * 2007-11-26 2011-05-11 中国移动通信集团福建有限公司 Seamless switching method for sharing internal memory
CN102135919A (en) * 2010-01-27 2011-07-27 深圳富泰宏精密工业有限公司 Element detection system and method
CN105260655A (en) * 2014-07-14 2016-01-20 腾讯科技(深圳)有限公司 Application program starting protection method, device and system
CN105260655B (en) * 2014-07-14 2020-05-01 腾讯科技(深圳)有限公司 Method, device and system for starting protection of application program
CN109756397A (en) * 2019-01-08 2019-05-14 深圳市网心科技有限公司 A kind of hardware sharing method, system and relevant device
CN109766177A (en) * 2019-01-08 2019-05-17 深圳市网心科技有限公司 A kind of Android APP keepalive method, system and relevant device
WO2020142924A1 (en) * 2019-01-09 2020-07-16 深圳市大疆创新科技有限公司 Communication method for laser radar, laser radar, and host device

Similar Documents

Publication Publication Date Title
CN102597962B (en) Method and system for fault management in virtual computing environments
CN100405311C (en) Error monitoring of partitions in a computer system using supervisor partitions
CN100481019C (en) Apparatus, system, and method for predicting storage device failure
US8612389B2 (en) Method and apparatus for discovering application configuration files in a system
CN1979444A (en) System for ensuring servo programe non-interrupted operation and method therefor
CN111339175B (en) Data processing method, device, electronic equipment and readable storage medium
CN104317713A (en) Automatic testing tool and method on basis of templates
CN102129372A (en) Root cause problem identification through event correlation
US7380726B2 (en) Label for an electronic product that provides failure information when the product fails
CN100472468C (en) Computer system, computer network and method
CN100394394C (en) Fault tolerant duplex computer system and its control method
CN111274059B (en) Software exception handling method and device of slave device
CN104268061A (en) Storage state monitoring mechanism for virtual machine
CN109491819A (en) A kind of method and system of diagnosis server failure
CN105607973B (en) Method, device and system for processing equipment fault in virtual machine system
CN111796959A (en) Host machine container self-healing method, device and system
CN112306802A (en) Data acquisition method, device, medium and electronic equipment of system
CN1873632A (en) Identification system and method for hot plug peripheral unit
CN103049345A (en) Magnetic disk state transition detection method and device based on asynchronous communication mechanism
JP6880961B2 (en) Information processing device and log recording method
CN102122262A (en) Monitoring system and monitoring method for solid-state memory equipment
CN103995759A (en) High-availability computer system failure handling method and device based on core internal-external synergy
CN101582816B (en) Home gateway, and system and method for collecting diagnosis and maintenance information thereof
CN100573160C (en) Circuit board detection device, detection method, method of manufacturing circuit board and circuit board
CN112988442B (en) Method and equipment for transmitting fault information in server operation stage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication