CN1581079B - Network server down auto-reset method and system - Google Patents

Network server down auto-reset method and system Download PDF

Info

Publication number
CN1581079B
CN1581079B CN 03153580 CN03153580A CN1581079B CN 1581079 B CN1581079 B CN 1581079B CN 03153580 CN03153580 CN 03153580 CN 03153580 A CN03153580 A CN 03153580A CN 1581079 B CN1581079 B CN 1581079B
Authority
CN
China
Prior art keywords
webserver
machine
delaying
program
automatically
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.)
Expired - Fee Related
Application number
CN 03153580
Other languages
Chinese (zh)
Other versions
CN1581079A (en
Inventor
陈志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 03153580 priority Critical patent/CN1581079B/en
Publication of CN1581079A publication Critical patent/CN1581079A/en
Application granted granted Critical
Publication of CN1581079B publication Critical patent/CN1581079B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relats to a method for automatically-restaritng delayed network server and its system. When said network server is delayed, said method can make said network server automatically execute an again activation program to make it again restore its normal working state. Said invented method and system are characterized by that it adopts a monitoring timer in the input-output control chip of the network server to touch a SMI processing program, then the SMI processing program can be used to trigger the main machine unit of network server to automatically execute an again activation program.

Description

The webserver delay automatic method for restarting of machine and system
Technical field
The invention relates to a kind of web server computer technology, particularly about a kind of webserver delay automatic method for restarting of machine and system, it can be used for the webserver, when the webserver is delayed the machine situation, make this webserver automatically perform an active program (reboot) again, the webserver that makes this machine situation of delaying is the enabling state again.
Background technology
The webserver provides specific service function by network system to the user.Machine situation, the then service function that will make all usefulness can't use it to provide per family if the webserver is delayed in operation.Therefore when the webserver is delayed the machine situation, must it be started shooting again (reboot) immediately, the webserver that makes the machine situation of delaying is the enabling state again.
A kind of method commonly used is when finding that the webserver is delayed the machine situation, with manual mode, the webserver of the machine situation of delaying to be carried out boot program again by the network system management personnel.The shortcoming of this practice is, the webserver is delayed after the machine situation, may leave unused after a period of time, just can be find and boot program again, the therefore service function that will make the user can't use the webserver of the machine situation of delaying to provide in standby time at this section be provided by the network system management personnel.
A kind of solution of the problems referred to above is to be provided with one and to restart system automatically in the webserver, the machine situation but whether its auto answer webserver delays; And can be when the webserver is delayed the machine situation, make the main computer unit of the webserver carry out an active program again automatically, reload operating system whereby, the webserver that makes the machine situation of delaying is the enabling state again.
Fig. 1 shows that the existing webserver machine of delaying restarts the basic system architecture of system 100 automatically.As shown in the figure, this existing webserver machine of delaying is restarted system 100 automatically and is carried to the webserver 10, and the main computer unit 20 of this webserver 10 (being the general name of central processing unit and relevant all hardware facility thereof) is carried out the operating system 30 of a server-specific; And the basic framework that this existing webserver machine of delaying is restarted system 100 automatically comprises: (a) the machine condition responsive module 110 of delaying; (b) supervision timer (watchdog timer) 120; And (c) IRQ processing module 130.On concrete enforcement, this existing webserver machine of delaying is restarted system 100 automatically and is made into a circuit card, and this circuit card is overlapped to the webserver 10, provides the machine of delaying to restart function automatically with this.
The machine condition responsive of delaying module 110 regularly reflects whether the operating system 30 of the webserver 10 is in normal operating state, just every a preset time cycle, i.e. and the operation information that operating system 30 is sent in the response to network server 10; And the operation information that will at every turn receive reaches supervision timer 120 synchronously.
Supervision timer 120 can promptly begin to carry out the timing program of a schedule time length at every turn when receiving the operation information that the above-mentioned machine condition responsive module 110 of delaying sends, for example, and from zero count to 59 second; If before reaching this predetermined time-count cycle, during the next operation information that receives once more that the above-mentioned machine condition responsive module 110 of delaying sends, then can be made zero and reclocking; If fail to receive next operation information, then the timing program of supervision timer 120 after surpassing predetermined time-count cycle, for example (just, supervision timer 120 produces overflows) 60 seconds the time, the signal that sends a system exception is to IRQ processing module 130.
The signal of the system exception that the above-mentioned supervision timer 120 of IRQ processing module 130 responses sends, send the main computer unit 20 of an IRQ Restart Signal RESET to the webserver 10, make this main computer unit 20 automatically perform one and restart program, just reload operating system 30, allow the webserver 10 enabling state again of machine situation of delaying.
The shortcoming that the above-mentioned existing network server machine of delaying is restarted system 100 automatically is that it is an external circuit card, so the user need spend extra cost and be used for buying more this circuit card, has increased operation cost.
In addition, because the above-mentioned existing webserver machine of delaying is restarted system 100 automatically and is finished the machine of delaying by irq signal to restart function automatically, therefore in the time of can't handling irq signal if operating system is wherein also delayed the machine situation, then it can't reach the function of restarting automatically behind the machine of delaying.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of new webserver delay automatic method for restarting of machine and system, the user need not consume additional expense and buy more software and hardware facilities, just can allow the webserver have the machine of delaying and restart function automatically.
Another object of the present invention is to provide a kind of new webserver delay automatic method for restarting of machine and system, do not need to restart function automatically by the irq signal machine of delaying.
A kind of webserver of the present invention automatic method for restarting of machine of delaying can be used for the webserver, when this webserver is delayed the machine situation, makes this webserver automatically perform an active program again; This webserver automatic method for restarting of machine of delaying comprises at least: whether the operating system that reflects this webserver every a schedule time length is in normal operating state, and this operation information of synchronous driving; When receiving an operation information at every turn, begin to carry out the timing program of a schedule time length immediately, and when receiving an operation information once more, made zero and reclocking; If do not receive operation information, when then timing program reaches predetermined timing length, promptly send a SMI (system management interrupt, System Management Interrupt) signal; And respond this smi signal and send a Restart Signal, make the webserver automatically perform one and restart program.
A kind of webserver of the present invention machine of delaying is restarted system automatically and be can be used for the webserver, when this webserver is delayed the machine situation, makes this webserver automatically perform an active program again; The webserver machine of delaying is restarted system automatically and is comprised at least: the machine condition responsive module of delaying, can reflect whether the operating system of this webserver is in normal operating state; One supervision timer, can be when receiving the operation information that the machine condition responsive module of delaying sends at every turn, promptly begin to carry out the timing program of a preset time length, and when receiving the operation information that this machine condition responsive module of delaying sends once more, made zero and reclocking; If do not receive operation information, when then this timing program reaches predetermined timing length, promptly send the signal of a system exception; And a SMI processing module, but the system exception signal that the response monitoring timer sends sends a system management interrupt (System Management Interrupt; SMI) whether Restart Signal sends for the SMI processing module so as to judging Restart Signal to carry out SMI judgment processing program, if this module is sent, then makes this webserver automatically perform one by BIOS reopening machine program and restarts program.
The delay characteristics of automatic method for restarting of machine and system of the webserver of the present invention are, directly the supervision timer in the control chip (for example South Bridge chip or Super I/O chip) is gone in the output in the employing webserver, touch SMI handling procedure (but not IRQ handling procedure that prior art adopted), by the main computer unit of this SMI handling procedure trigger network server, make it automatically perform an active program again.
Compared with prior art, the present invention directly utilizes existing hardware facility in the webserver (just South Bridge chip or Super I/O chip), only to the BIOS in the webserver make an amendment (just writing SMI judgment processing program), therefore do not need the user to consume additional expense and buy more software and hardware facilities, can allow the webserver have the machine of delaying and restart function automatically. in addition, because the present invention does not need to restart function automatically by the irq signal machine of delaying, therefore can can't not carry out the machine of delaying because of the machine of delaying of operating system restarts function automatically.
Description of drawings
Fig. 1 is a system architecture synoptic diagram, shows that the existing webserver machine of delaying restarts the basic framework of system automatically; And
Fig. 2 is a system architecture synoptic diagram, shows that the webserver of the present invention machine of delaying restarts the basic framework of system automatically.
Embodiment
Embodiment
Fig. 2 shows that the webserver of the present invention machine of delaying restarts the basic framework of system's (part that comprises as the frame of broken lines of label 200 indications) automatically.As shown in the figure, in practical application, the webserver of the present invention machine of delaying is restarted system 200 automatically and is used for the webserver 10, and the main computer unit 20 of this webserver 10 (being the general name of central processing unit and the hardware facility that all are relevant thereof) is carried out the operating system 30 of server-specific.The webserver of the present invention machine of delaying is restarted system 200 automatically can be when the main computer unit 20 of the webserver 10 or operating system 30 be delayed the machine situation, automatically make the webserver 10 carry out an active program (reboot) again, allow the webserver 10 enabling state again of machine situation of delaying.
The basic framework that the webserver of the present invention machine of delaying is restarted the Object Oriented OO component model (object-oriented component model) of system 200 automatically comprises at least: (a) the machine condition responsive module 210 of delaying; (b) supervision timer 220; And (c) SMI processing module 230.
The webserver of the present invention machine of delaying is restarted system automatically and is comprised: the machine condition responsive of delaying module 210, whether the operating system 30 in order to the timing response webserver 10 is in normal operating state, is the information that operating system 30 is sent in the response to network server 10 every a preset time length just; And the information synchronization that will at every turn receive reaches supervision timer 220.
The embodiment of supervision timer 220 is for directly to utilize the output in the webserver 10 to go into control chip, for example south bridge (Southbridge) or Super I/O chip, wherein built-in supervision timer (watchdog timer); And this supervision timer 220 can begin to carry out the timing program in a preset time cycle at every turn immediately when receiving the operation information that the above-mentioned machine condition responsive module 210 of delaying transmits, the timing to 59 second of for example starting from scratch; If before reaching this predetermined time-count cycle, during the next normal running information that receives once more that the above-mentioned machine condition responsive module 210 of delaying sends, then can be made zero and reclocking; If fail to receive next operation information, the timing program of this supervision timer 220 will be after surpassing this predetermined time-count cycle, for example (just this supervision timer 220 produces overflows) the 60th second the time, the signal that sends a system exception immediately is to SMI processing module 230.
The embodiment of SMI processing module 230 is to utilize the output in the webserver 10 to go into control chip, for example be south bridge (Southbridge) or Super I/O chip, wherein built-in smi signal module, and via a judge module among the BIOS (Basic Input/Output System) of the webserver 10, judge whether its smi signal is that supervision timer 220 sends, if the smi signal that supervision timer 220 sends, then send a Restart Signal RESET to main computer unit 20 by BIOS, make this main computer unit 20 automatically perform one and restart program, just reload operating system 30, allow the webserver 10 enabling state again of machine situation of delaying.
The webserver webserver of the present invention automatic method for restarting of machine of delaying comprises at least: the machine condition responsive of delaying module 210 continues just to reflect every a preset time cycle whether the operating system 30 of the webserver 10 is in mode of operation; And the information synchronization that receives is sent to supervision timer 220; Supervision timer 220 can begin to carry out the timing program in a preset time cycle at every turn immediately when receiving an operation information of machine condition responsive module 210 transmission of delaying; If before reaching this predetermined time-count cycle, during the next operation information that receives once more that the machine condition responsive module 210 of delaying sent, then can be made zero and reclocking; If do not receive the next operation information that the machine condition responsive module 210 of delaying is sent, supervision timer will produce overflow, send an abnormal signal immediately to SMI processing module 230.The abnormal signal that SMI processing module 230 can response monitoring timer 2 20 be sent is also judged whether to send for supervision timer 220 by BIOS, if then send a Restart Signal RESET to main computer unit 20, make main computer unit 20 automatically perform one and restart program, just reload operating system 30, allow the webserver 10 enabling state again of machine situation of delaying.
Generally speaking, the invention provides a kind of network server down auto-reset method and system of novelty, can be applicable to a webserver, in order to when this webserver is delayed the machine situation, make this webserver of delaying the machine situation automatically perform one and reactivate program. The characteristics of network server down auto-reset method of the present invention and system are, directly utilize the supervision timer in the import and export control chip (for example being South Bridge chip or Super I/O chip) in the webserver, touch a SMI handling procedure (but not IRQ handling procedure that prior art adopts), automatically perform one by the main computer unit of SMI handling procedure trigger network server and reactivate program. Compared with prior art, because the present invention directly utilizes existing hardware facility in the webserver (just South Bridge chip or Super I/O chip), and only to the BIOS in the webserver make an amendment (just write SMI judge handling procedure), therefore do not need the user to consume additional expense to buy more software and hardware facilities, can allow the webserver have the machine of delaying autoboot function. In addition, because the present invention do not need by the irq signal machine autoboot function of delaying, therefore can be because of the machine of delaying of the operating system machine autoboot function of can't delaying. Therefore the present invention has better progressive and practicality than prior art.

Claims (10)

1. a webserver automatic method for restarting of machine of delaying can be used for the webserver, when this webserver is delayed the machine situation, makes this webserver automatically perform an active program again; It is characterized in that this webserver automatic method for restarting of machine of delaying comprises at least:
Whether the operating system that reflects this webserver every a preset time length is in normal operating state, and this operation information of synchronous driving;
When receiving an operation information, promptly begin to carry out the timing program of a schedule time length at every turn, and when receiving an operation information once more, made zero and reclocking; When not receiving operation information once more, promptly send a smi signal if this timing program reaches predetermined timing length; And,
Respond this smi signal and send a Restart Signal, make this webserver automatically perform one and restart program.
2. the webserver as claimed in claim 1 automatic method for restarting of machine of delaying is characterized in that, this timing program is to be built in the supervision timer that output goes in the control chip and carried out by interior.
3. the webserver as claimed in claim 2 automatic method for restarting of machine of delaying is characterized in that this exports into control chip is Super I/O chip.
4. the webserver as claimed in claim 2 automatic method for restarting of machine of delaying is characterized in that this exports into control chip is South Bridge chip.
5. the webserver machine of delaying is restarted system automatically, can be used for the webserver, when this webserver is delayed the machine situation, makes this webserver automatically perform active program again; It is characterized in that this webserver machine of delaying is restarted system automatically and comprised at least:
The one machine condition responsive module of delaying can reflect whether the operating system of this webserver is in normal operating state;
One supervision timer when receiving the operation information that the machine condition responsive module of delaying sends, promptly begins to carry out the timing program of a schedule time length at every turn, and is made zero and reclocking when receiving the operation information that this machine condition responsive module of delaying sends once more;
This timing program reaches predetermined timing length and when not receiving operation information once more, promptly sends the signal of a system exception; And
One SMI processing module, but the system exception signal that the response monitoring timer sends and send a system management interrupt Restart Signal, to carry out SMI judgment processing program, so as to judging that whether Restart Signal sends for the SMI processing module, if this module is sent, then reopen the machine program, make this webserver automatically perform one and restart program by BIOS.
6. the webserver as claimed in claim 5 machine of delaying is restarted system automatically, it is characterized in that, this supervision timer is built in the functional module of exporting in the control chip in being.
7. the webserver as claimed in claim 6 machine of delaying is restarted system automatically, it is characterized in that, this exports into control chip is the SuperI/O chip.
8. the webserver as claimed in claim 6 machine of delaying is restarted system automatically, it is characterized in that, this exports into control chip is South Bridge chip.
9. the webserver as claimed in claim 5 machine of delaying is restarted system automatically, it is characterized in that, a functional module in the control chip is gone in the output that this SMI processing module is the webserver.
10. the webserver as claimed in claim 5 machine of delaying is restarted system automatically, it is characterized in that a functional module in the ROM-BIOS that this SMI processing module is the webserver.
CN 03153580 2003-08-15 2003-08-15 Network server down auto-reset method and system Expired - Fee Related CN1581079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03153580 CN1581079B (en) 2003-08-15 2003-08-15 Network server down auto-reset method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03153580 CN1581079B (en) 2003-08-15 2003-08-15 Network server down auto-reset method and system

Publications (2)

Publication Number Publication Date
CN1581079A CN1581079A (en) 2005-02-16
CN1581079B true CN1581079B (en) 2010-05-05

Family

ID=34580110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03153580 Expired - Fee Related CN1581079B (en) 2003-08-15 2003-08-15 Network server down auto-reset method and system

Country Status (1)

Country Link
CN (1) CN1581079B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442710C (en) * 2005-09-09 2008-12-10 纬创资通股份有限公司 Computer network system capable of monitoring server and related method
CN101159610B (en) * 2007-11-09 2010-06-09 中兴通讯股份有限公司 Method of remotely erasing card software of transmission equipment and device thereof
CN101299680B (en) * 2008-06-17 2011-05-11 中国移动通信集团江苏有限公司 Method for implementing quick recovery after delay of WLAN AP
CN103067034B (en) * 2012-12-31 2015-01-21 广州杰赛科技股份有限公司 Third generation telecommunication (3G) module capable of monitoring light-emitting diode (LED) release system
CN108021218A (en) * 2016-10-28 2018-05-11 精英电脑(苏州工业园区)有限公司 There is the apparatus and system restarted
CN107145402B (en) * 2017-05-27 2020-11-10 合肥联宝信息技术有限公司 Method for detecting software downtime and electronic equipment
CN113791829A (en) * 2021-07-20 2021-12-14 广州朗国电子科技股份有限公司 Dual-system electronic whiteboard software mutual starting method and system and electronic whiteboard

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1127019A (en) * 1994-04-12 1996-07-17 林赛电缆公司 Apparatus for making soft tissue products
EP1025490B1 (en) * 1997-10-28 2006-04-19 Raritan Computer, Inc. Multi-user computer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1127019A (en) * 1994-04-12 1996-07-17 林赛电缆公司 Apparatus for making soft tissue products
EP1025490B1 (en) * 1997-10-28 2006-04-19 Raritan Computer, Inc. Multi-user computer system

Also Published As

Publication number Publication date
CN1581079A (en) 2005-02-16

Similar Documents

Publication Publication Date Title
US7774648B2 (en) Microprocessor supervision in a special purpose computer system
KR100430468B1 (en) Initializing and restarting operating systems
CN101271415B (en) Monitoring watchdog implementing method of built-in equipment
US9594419B2 (en) Method and device for prolonging sleeping time of CPU
CN101271413A (en) Computer operation condition detecting and processing method and system
CN1581079B (en) Network server down auto-reset method and system
CN104049702A (en) Single chip microcomputer-based CPU (Central Processing Unit) reset control system, method and device
CN1495585A (en) Method for defining CPU operation factor regardless of operation system and system
CN101470635A (en) Method for multi-virtual processor synchronous scheduling and computer thereof
US11366679B2 (en) Guest operating system wake-up method, device, electronic apparatus, and readable medium
US7089433B2 (en) Method and system for operating system quiescent state
CN102298095A (en) Method for ensuring accurate measurement on pulse width in multi-task singlechip system and device
CN110083491A (en) A kind of BIOS initialization method, apparatus, equipment and storage medium
CN113721751A (en) Low-power-consumption management method and system based on event and dormancy timer
CN116302141B (en) Serial port switching method, chip and serial port switching system
CN101923503B (en) Method for regulating internal parameters of internal storage and computer system using same
CN102819474A (en) Test method and device for system operation
WO2013159464A1 (en) Multiple core processor clock control device and control method
CN110362430A (en) A kind of method being restarted automatically, system and the storage medium of server
CN101944056B (en) Method and device for monitoring multitask system
CN101872233B (en) Automatic on-off schedule control method and system thereof
TWI226167B (en) Automatic reboot method and system for network server crash-down
CN115204081A (en) Chip simulation method, chip simulation platform, chip simulation system, and computer-readable storage medium
CN114189305B (en) Time synchronization method, device, equipment and readable storage medium
CN106326026B (en) The method and device of operating system abnormal restarting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100505

Termination date: 20120815