JP2004021673A - Automatic reset device, automatic reset method, program, and storage medium - Google Patents

Automatic reset device, automatic reset method, program, and storage medium Download PDF

Info

Publication number
JP2004021673A
JP2004021673A JP2002176734A JP2002176734A JP2004021673A JP 2004021673 A JP2004021673 A JP 2004021673A JP 2002176734 A JP2002176734 A JP 2002176734A JP 2002176734 A JP2002176734 A JP 2002176734A JP 2004021673 A JP2004021673 A JP 2004021673A
Authority
JP
Japan
Prior art keywords
computer
automatic reset
power supply
reset device
abnormality
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
JP2002176734A
Other languages
Japanese (ja)
Inventor
Naoki Hosoi
細井 直樹
Akizo Kinoshita
木下 彰三
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2002176734A priority Critical patent/JP2004021673A/en
Publication of JP2004021673A publication Critical patent/JP2004021673A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device for automatically detecting and restoring the operation abnormality of a computer. <P>SOLUTION: This automatic reset device 1 is connected to a plurality of controlling computers 9-1 and 9-2 of a production line or the like. This device 1 periodically transmits a determination signal to the computers 9-1 and 9-2 and receives response signals to the determination signal therefrom. The device 1 determines the abnormality of each computer when the response signal cannot be obtained therefrom even after the lapse of a prescribed time, interrupts the power supply to the computer concerned, and re-inputs the power supply after a prescribed time to restore the computer. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、制御機器として使用するコンピュータの動作状態を判定し、動作停止状態を検知すると、自動的に電源を停止し再投入する装置に関する。
【0002】
【従来の技術】
汎用パーソナルコンピュータを、制御機器として生産ライン等に使用するシステムがある。この制御用パーソナルコンピュータが不意にフリーズし、動作停止状態になる場合には、速やかな復帰が必要とされる。従来は、作業者が動作異常(フリーズ等)を検知して、手動でコンピュータをリセットして再起動を行っていた。
【0003】
パーソナルコンピュータのフリーズの要因としては、OSのメモリリーク、ハードウェアやソフトウェアの設定不良、バグ等でシステムに何らかの異常が発生したことが想定される。
【0004】
【発明が解決しようとする課題】
しかしながら、省人化が進む生産ラインでは、作業者がコンピュータの異常を検知するまでに長い時間がかかる場合もあり、生産ラインの信頼性が低下する。しかも、コンピュータの復帰作業は、異常発生の都度、作業者によって行われるので効率的ではない。また、生産ラインの稼動時間が長い場合(例えば24時間生産ラインが稼動している場合)には、生産ラインの監視維持コストがかさむ。
【0005】
本発明は、このような問題に鑑みてなされたもので、その目的とするところは、コンピュータの動作異常を自動的に検知し復帰させる装置を提供することにある。
【0006】
【課題を解決するための手段】
前述した目的を達成するために第1の発明は、コンピュータと接続される自動リセット装置であって、前記コンピュータの動作状況を監視し異常を検知する検知手段と、前記コンピュータの異常を検知した場合に、前記コンピュータへの電源供給を制御して、前記コンピュータを復帰させる復帰手段とを、具備することを特徴とする自動リセット装置である。
【0007】
第1の発明の自動リセット装置は、コンピュータの動作異常を監視するために、定期的に判定信号を送出する。そして、コンピュータから応答信号が確認できない場合に、コンピュータに異常が発生したことを検知し、該コンピュータへの電源供給を停止し、所定時間後に電源供給を再開してコンピュータを復帰させる。
【0008】
「コンピュータ」は、例えば生産ライン等の制御機器として使用されるコンピュータである。「コンピュータの動作異常」とはフリーズ等の動作停止等を言う。尚、コンピュータのOSが自動立ち上げ機能を有するものであれば、コンピュータの機種及びOSの種類は特定しない。
【0009】
「判定信号」は、自動リセット装置が、コンピュータに送信する信号であり、コンピュータが正常動作時には、この判定信号を受信すると、判定信号に対する応答信号を出力するように設定されている。
【0010】
「応答信号」を、コンピュータが自動リセット装置に対して返信することで、自動リセット装置は、コンピュータが正常に動作していることを確認する。即ち自動リセット装置は、コンピュータに対し判定信号送出後に、所定時間が経過しても応答信号が得られない場合は、該コンピュータに異常が発生したことを検知する。
【0011】
「コンピュータへの電源供給遮断」とは、強制的にコンピュータの電源を遮断してコンピュータをリセットすることである。そして、所定時間経過後に、コンピュータへの電源供給を復帰させ、コンピュータの動作を正常化させる。「所定時間経過後」とは、コンピュータの電源を遮断し再投入することでコンピュータに誤動作が生じない程度の適当な時間である。
【0012】
自動リセット装置が、リレーを用いてコンピュータへの電源供給の遮断、再開を行う場合がある。自動リセット装置は、リレーに制御信号を送り、コンピュータへの電源供給の遮断、再開を制御できる。リレーは、自動リセット装置とは物理的に独立しているので、生産ライン制御用コンピュータの遠隔制御及び監視が可能である。
【0013】
第2の発明は、コンピュータを自動的にリセットさせる自動リセット方法であって、前記コンピュータの動作状況を監視し異常を検知する検知工程と、前記コンピュータの異常を検知した場合に、前記コンピュータへの電源供給を制御して、前記コンピュータを復帰させる復帰工程とを、有することを特徴とする自動リセット方法である。
【0014】
第3の発明は、コンピュータを、請求項1に記載の自動リセット装置として機能させるプログラムである。
【0015】
第4の発明は、コンピュータを、請求項1に記載の自動リセット装置として機能させるプログラムを記録した記録媒体である。
「記録媒体」とは、CD−ROM、DVD、フレキシブルディスク、ハードディスク等である。
【0016】
【発明の実施の形態】
以下に、添付図面を参照しながら、本発明にかかる自動リセット装置の好適な実施形態について詳細に説明する。
【0017】
(1.自動リセット装置1の構成)
まず、図1を用いて、本実施の形態に係る自動リセット装置1の構成について説明する。
【0018】
自動リセット装置1は、制御部3と送受信部5と供給電源制御部7を備える。複数のコンピュータ9−1、コンピュータ9−2・・・は、例えば生産ラインの制御機器として使用される。以降、複数のコンピュータを代表して、コンピュータ9−1、9−2を用いて説明する。
【0019】
コンピュータ9−1、コンピュータ9−2は、それぞれ通信路19−1、19−2を介して、自動リセット装置1の送受信部5に接続される。即ち、制御部3は、通信路15から送受信部5を介して、コンピュータ9−1、9−2とデータの送受信を行う。
【0020】
又、コンピュータ9−1、コンピュータ9−2は、自動リセット装置1の供給電源制御部7から、それぞれ供給電源13−1、13−2を駆動電源として供給される。
【0021】
供給電源制御部7は、元電源11から電源供給を受ける。元電源11は、例えばAC100V、AC200V等である。制御部3は、通信路17を介して供給電源制御部7に制御信号を送り、供給電源制御部7が電源を供給している複数のコンピュータ9−1、9−2へのそれぞれの電源供給を制御する。即ち、複数のコンピュータ9−1、9−2への電源供給の遮断及び復帰は、制御部3が制御する。
【0022】
尚、送受信部5と、コンピュータ9−1、9−2間の通信路19−1、19−2は、RS232C、プリンター用パラレルポート、イーサネット(登録商標)、USB、IEEE、ロジックORアナログ出力ボード等の一般的な入出力信号が使用可能である。また、通信路19−1、19−2は、有線、無線を問わない。また、通信路19−1、19−2は、インターネット等のネットワークであってもよい。
【0023】
(2.自動リセット装置1の処理手順)
次に、図2、図3を用いて、自動リセット装置1が、コンピュータ9−1の動作を監視する手順について説明する。図2は、自動リセット装置1のタイミングチャートである。図3は、自動リセット装置1が、コンピュータ9−1の動作を監視する処理手順である。
【0024】
(2.1 自動リセット装置1のタイミングチャート)
まず、図2のタイミングチャートについて説明する。判定信号101は、自動リセット装置1の制御部3が、送受信部5を介してコンピュータ9−1に対して、定期的に送出する信号である。定期的とは、例えば「30秒に1度」、「3分に1度」等、コンピュータ9−1を監視する最適な時間間隔を設定する。
【0025】
応答信号103は、コンピュータ9−1が、前述の判定信号101を受信したことに対する応答信号である。即ち、応答信号103は、コンピュータ9−1から通信路19−1を介して送受信部5で受信され、さらに制御部3において認識される。応答信号103を得ることで、コンピュータ9−1が正常動作中であることが確認される。尚、コンピュータ9−1は、正常動作中であれば、判定信号101を受信するとそれに対する応答信号103を発信することがプログラムされている。
【0026】
応答時間計測105とは、制御部3が前述の判定信号101を発信する時を起点に、コンピュータ9−1から返信される応答信号103を受信するまでの時間計測である。設定された時間を過ぎても(タイムアウト123)、応答信号103が得られない場合は、コンピュータ9−1に異常が生じていると、制御部3が判断する。タイムアウト123の時間は、例えば「10秒」等と最適な値が設定される。
【0027】
警報出力107とは、制御部3が、コンピュータ9−1に異常が生じていることを検知し、発生する警報である。具体的には、生産ライン監視用のモニタへの表示、音声や警告音による出力等である。同時に、警報出力107をトリガとして、コンピュータ9−1への供給電源13−1が遮断される。詳細は図3の処理手順にて説明する。
【0028】
(2.2 自動リセット装置1の処理手順)
図3に、自動リセット装置1が、コンピュータ9−1の動作を監視する処理手順を示す。図2のタイミングチャート、及び図1と併せて説明する。
【0029】
自動リセット装置1の制御部3は、定期的に判定信号101を出力し(ステップ201)、送受信部5及び通信路19−1を介してコンピュータ9−1に送信する(ステップ202)。通信路19−1は、RS232C、プリンター用パラレルポート、イーサネット(登録商標)、USB、IEEE、ロジックORアナログ出力ボード等の一般的な入出力信号を使用し、有線・無線を問わない。又、通信路19−1は、インターネット等のネットワークでもよい。
【0030】
コンピュータ9−1は、判定信号101を受信し、コンピュータ9−1が正常に作動している場合には(ステップ203のNO)、判定信号101に対する応答信号103を自動リセット装置1に対して出力する(ステップ204)。図2で説明すると、判定信号101(信号111部)に対し、応答信号103(信号113部)を出力する。
【0031】
自動リセット装置1の送受信部5は、応答信号103を受信し(ステップ205)、制御部3へ送る。制御部3は、判定信号101を出力した時点を起点に、応答信号103が返信されるまでの応答時間計測105を行っている。即ち、図2で説明すると、判定信号101(信号111部)を出力した時点を、応答時間計測105の起点(信号115部)とし、応答信号103(信号113部)を受信した時点を、応答信号計測105の終了点(信号117部)とする。応答信号103が得られることで(ステップ206のNO)、コンピュータ9−1が正常に動作していることが確認され、ステップ201からの処理手順を繰り返す。
【0032】
ステップ203に戻り、コンピュータ9−1の動作が停止している場合(ステップ203のYES)について説明する。コンピュータ9−1の停止(即ちフリーズ)の要因としては、OSのメモリーリーク、ハードウェアやソフトウェアの設定不良、バグ等を起因とするシステム異常が考えられる。
【0033】
即ち、図2で説明すると、判定信号101(信号119部)に対し、コンピュータ9−1は応答信号103を返信することができない。従って、制御部3は、判定信号101(信号119部)を出力した時点を、応答時間計測105の起点(信号121部)とし、応答信号103の受信を待機する。所定時間(タイムアウト設定時間123)を経ても応答信号103が得られない場合(ステップ206のYES)、制御部3は警報出力107を行う(ステップ207、図2の警報出力107の信号125部)。
【0034】
即ち制御部3から、警報出力107(信号125部)が出力され、コンピュータ9−1に異常が生じていることを示す。具体的な警報出力107とは、例えば生産ライン監視用のモニタにコンピュータ9−1の異常を表示したり、音声や警告音による出力等を行ったりすることである。
【0035】
同時に、制御部3は、警報出力107(図2の信号125部)をトリガとして、コンピュータ9−1への供給電源13−1の遮断信号を供給電源制御部7に対して出力する(ステップ208)。
【0036】
供給電源制御部7は、コンピュータ9−1への供給電源13−1を遮断し(ステップ209)、コンピュータ9−1は電源供給を遮断される(ステップ210)。即ちコンピュータ9−1は、強制終了、即ちリセットされる。
【0037】
図2を用いて説明すると、警報出力107の出力125部をトリガとして、供給電源13−1は127部で遮断される。
【0038】
制御部3は、コンピュータ9−1の供給電源13−1が遮断されてから所定の時間経過後、供給電源13−1を再び投入する制御信号を、供給電源制御部7に送信する(ステップ211)。この制御信号を受け、供給電源制御部7は、コンピュータ9−1に供給電源13−1を再び供給する(ステップ212)。従ってコンピュータ9−1は再起動する(ステップ213)。
【0039】
図2を用いて説明すると、制御部3は、供給電源13−1を遮断(127部)後、所定時間129経過した後に、復帰させる(131部)。
【0040】
コンピュータ9−1が復帰した後は、制御部3はステップ201に戻り、コンピュータの動作監視処理を繰り返す。
【0041】
(2.3 効果・その他)
このように本実施の形態によれば、汎用パーソナルコンピュータを利用する生産ライン等において、コンピュータが動作停止状態になったことを自動的に検知し、復帰させることができる。従って、従来の人によるコンピュータの監視、異常検知、及び復帰処理に比して、生産ラインの信頼性が向上し、効率的な運用が可能である。
【0042】
本実施の形態では、コンピュータ側は、各コンピュータのOSの電源再投入時自動立ち上げ機能を使用することにより、コンピュータの機種及びOSの種類を特定するものではない。
【0043】
また、自動リセット装置1は、複数のコンピュータを同時に監視し、自動復帰させることが可能である。
【0044】
(3 別の実施の形態)
次に、本発明の別の実施の形態について説明する。図4には、本発明の別の実施の形態の自動リセット装置1の構成を示す。
【0045】
別の実施の形態の自動リセット装置1の構成)
図4の自動リセット装置1では、コンピュータ9−1、9−2には、元電源11からそれぞれリレー21−1、21−2を介して電源が供給される。
【0046】
また、リレー21−1、21−2は、自動リセット装置1の送受信部5から通信路31−1、31−2を介して動作制御信号を受ける。即ち本発明の別の実施の形態では、前述の図1に示す構成の元電源11と、供給電源制御部7とが、自動リセット装置1とは物理的に独立した構成を成す。
【0047】
ここでは、供給電源25−1及び供給電源25−2は、それぞれリレー21−1、21−2に送られる制御部3からの制御信号で制御(遮断又は復帰)される。従って、前述した図3の自動リセット装置1の処理手順と異なる点は、供給電源の遮断(ステップ208、ステップ209)、及び供給電源の再開(ステップ211、ステップ212)が、リレー21−1、21−2に対して行われる点である。その他の手順は、前述の実施の形態と同じであるので説明を省略する。
【0048】
また、ここではコンピュータ9−1、9−2への供給電源の制御にリレー21−1、21−2を用いるとしたが、リレーに限定するものではなく、外部からの制御信号により、電源のオンオフが制御可能な装置であれば良い。
【0049】
(3.2 効果)
別の実施の形態では、コンピュータ9−1、9−2等が設置される生産ラインごとに元電源11、リレー21−1、21−2等を設置できるので、自動リセット装置1は、物理的に離れて設置することが可能である。即ち、通信路29−1、29−2、31−1、31−2は例えばインターネット等のネットワークであってもよい。また、自動リセット装置1は、ネットワーク等の利用により、単一の生産ラインだけではなく1度に複数の生産ラインの制御コンピュータを管理することが可能である。
【0050】
(4. その他)
以上の実施形態において実現される制御部3の機能は、ソフトウェアによって実現することが可能である。このため、必要なソフトウェアは、ネットワークを介して、あるいは、プログラムを記録したCD−ROM、DVD−ROMなどの記録媒体によって、流通させることが可能である。
【0051】
本実施の形態においては、生産ライン等の制御用コンピュータの動作異常を、判定信号に対する応答の有無で簡単に検知し、さらにコンピュータの電源を制御(遮断及び復帰)し効率的な制御用コンピュータ監視環境を提供することができる。
【0052】
また、複数のコンピュータ、複数の生産ラインを同時に監視することが可能である。
【0053】
また、本発明の自動リセット装置は、通信機能を有し(即ち判定信号に対し応答信号を返信する機能を有し)、電源の再投入で自動立ち上げが機能する機器であれば、コンピュータに限らず、自動監視を行うことができる。
【0054】
尚、本発明の技術的範囲は、前述した実施の形態に限られるものではない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。
【0055】
【発明の効果】
以上、詳細に説明したように本発明によれば、コンピュータの動作異常を自動的に検知し復帰させる装置を提供することができる。
【図面の簡単な説明】
【図1】自動リセット装置1の構成図
【図2】自動リセット装置1のタイミングチャート
【図3】自動リセット装置1の処理手順を示す図
【図4】別の自動リセット装置1の構成図
【符号の説明】
1・・・ 自動リセット装置
3・・・ 制御部
5・・・ 送受信部
7・・・ 供給電源制御部
9・・・ コンピュータ
11・・・ 元電源
13、23、25・・・ 供給電源
15、17、19、27、29、31・・・ 通信路
101・・・ 判定信号
103・・・ 応答信号
105・・・ 応答時間計測
107・・・ 警報出力
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an apparatus that determines an operation state of a computer used as a control device, and automatically stops and restarts a power supply when an operation stop state is detected.
[0002]
[Prior art]
There is a system that uses a general-purpose personal computer as a control device in a production line or the like. If the control personal computer suddenly freezes and stops operating, prompt recovery is required. Conventionally, an operator has detected an operation abnormality (freeze or the like) and manually reset and restart the computer.
[0003]
As a cause of the freeze of the personal computer, it is assumed that some abnormality has occurred in the system due to a memory leak of the OS, a defective setting of hardware or software, a bug, or the like.
[0004]
[Problems to be solved by the invention]
However, on a production line in which labor is being reduced, it may take a long time for an operator to detect an abnormality in the computer, and the reliability of the production line is reduced. Moreover, the operation of returning the computer is performed by the operator every time an abnormality occurs, and is not efficient. Further, when the operation time of the production line is long (for example, when the production line is operating for 24 hours), the cost for monitoring and maintaining the production line increases.
[0005]
The present invention has been made in view of such a problem, and an object of the present invention is to provide an apparatus for automatically detecting and recovering from an abnormal operation of a computer.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, a first aspect of the present invention is an automatic reset device connected to a computer, wherein the detecting means monitors an operation state of the computer to detect an abnormality, and detects an abnormality of the computer. A reset unit that controls power supply to the computer to reset the computer.
[0007]
An automatic reset device according to a first aspect of the present invention periodically sends out a determination signal to monitor an abnormal operation of a computer. Then, when the response signal cannot be confirmed from the computer, it is detected that an abnormality has occurred in the computer, the power supply to the computer is stopped, the power supply is restarted after a predetermined time, and the computer is restored.
[0008]
The “computer” is a computer used as a control device of, for example, a production line. “Abnormal operation of the computer” means an operation stop such as a freeze. If the computer OS has an automatic startup function, the computer model and the OS type are not specified.
[0009]
The “judgment signal” is a signal transmitted from the automatic reset device to the computer, and is set so that, when the computer is operating normally, when this judgment signal is received, a response signal to the judgment signal is output.
[0010]
The computer returns a “response signal” to the automatic reset device, and the automatic reset device confirms that the computer is operating normally. That is, the automatic reset device detects that an abnormality has occurred in the computer when a response signal is not obtained even after a predetermined time has elapsed after the determination signal is transmitted to the computer.
[0011]
“Supplying power to the computer” means to forcibly shut down the power of the computer and reset the computer. Then, after a lapse of a predetermined time, the power supply to the computer is restored to normalize the operation of the computer. “After a predetermined time has elapsed” is an appropriate time that does not cause a malfunction in the computer when the power of the computer is turned off and turned on again.
[0012]
In some cases, an automatic reset device uses a relay to cut off and restart power supply to a computer. The automatic reset device sends a control signal to a relay, and can control interruption and restart of power supply to the computer. Because the relay is physically independent of the automatic reset device, remote control and monitoring of the production line control computer is possible.
[0013]
A second invention is an automatic reset method for automatically resetting a computer, comprising: a detection step of monitoring an operation state of the computer to detect an abnormality; and Resetting the computer by controlling power supply.
[0014]
A third invention is a program for causing a computer to function as the automatic reset device according to the first aspect.
[0015]
According to a fourth aspect of the present invention, there is provided a recording medium storing a program for causing a computer to function as the automatic reset device according to the first aspect.
The “recording medium” is a CD-ROM, DVD, flexible disk, hard disk, or the like.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the automatic reset device according to the present invention will be described in detail with reference to the accompanying drawings.
[0017]
(1. Configuration of automatic reset device 1)
First, the configuration of the automatic reset device 1 according to the present embodiment will be described with reference to FIG.
[0018]
The automatic reset device 1 includes a control unit 3, a transmission / reception unit 5, and a power supply control unit 7. Are used, for example, as control devices of a production line. Hereinafter, a description will be given using the computers 9-1 and 9-2 on behalf of a plurality of computers.
[0019]
The computer 9-1 and the computer 9-2 are connected to the transmission / reception unit 5 of the automatic reset device 1 via communication paths 19-1 and 19-2, respectively. That is, the control unit 3 transmits and receives data to and from the computers 9-1 and 9-2 from the communication path 15 via the transmission / reception unit 5.
[0020]
The computer 9-1 and the computer 9-2 are supplied from the power supply control unit 7 of the automatic reset device 1 with the power supply 13-1 and 13-2 as drive power, respectively.
[0021]
The power supply controller 7 receives power supply from the main power supply 11. The source power supply 11 is, for example, AC100V, AC200V, or the like. The control unit 3 sends a control signal to the power supply control unit 7 via the communication path 17 to supply power to the plurality of computers 9-1 and 9-2 to which the power supply control unit 7 supplies power. Control. That is, the control unit 3 controls the interruption and restoration of the power supply to the plurality of computers 9-1 and 9-2.
[0022]
The communication paths 19-1 and 19-2 between the transmission / reception unit 5 and the computers 9-1 and 9-2 are RS232C, a parallel port for a printer, Ethernet (registered trademark), USB, IEEE, and a logic OR analog output board. General input / output signals can be used. The communication paths 19-1 and 19-2 may be wired or wireless. Further, the communication paths 19-1 and 19-2 may be networks such as the Internet.
[0023]
(2. Processing procedure of automatic reset device 1)
Next, a procedure in which the automatic reset device 1 monitors the operation of the computer 9-1 will be described with reference to FIGS. FIG. 2 is a timing chart of the automatic reset device 1. FIG. 3 is a processing procedure in which the automatic reset device 1 monitors the operation of the computer 9-1.
[0024]
(2.1 Timing chart of automatic reset device 1)
First, the timing chart of FIG. 2 will be described. The determination signal 101 is a signal that the control unit 3 of the automatic reset device 1 periodically sends to the computer 9-1 via the transmission / reception unit 5. The term “periodic” means setting an optimal time interval for monitoring the computer 9-1, such as “once every 30 seconds” and “once every three minutes”.
[0025]
The response signal 103 is a response signal to the fact that the computer 9-1 has received the above-described determination signal 101. That is, the response signal 103 is received by the transmitting / receiving unit 5 from the computer 9-1 via the communication path 19-1, and is further recognized by the control unit 3. Obtaining the response signal 103 confirms that the computer 9-1 is operating normally. The computer 9-1 is programmed to transmit a response signal 103 in response to receiving the determination signal 101 during normal operation.
[0026]
The response time measurement 105 is a time measurement from when the control unit 3 transmits the above-described determination signal 101 to when the response signal 103 returned from the computer 9-1 is received. If the response signal 103 is not obtained even after the set time has passed (time-out 123), the control unit 3 determines that an abnormality has occurred in the computer 9-1. The time of the timeout 123 is set to an optimal value such as “10 seconds”.
[0027]
The alarm output 107 is an alarm generated when the control unit 3 detects that an abnormality has occurred in the computer 9-1. More specifically, it is a display on a monitor for monitoring a production line, an output by a sound or a warning sound, or the like. At the same time, with the alarm output 107 as a trigger, the power supply 13-1 to the computer 9-1 is cut off. Details will be described in the processing procedure of FIG.
[0028]
(2.2 Processing procedure of automatic reset device 1)
FIG. 3 shows a processing procedure in which the automatic reset device 1 monitors the operation of the computer 9-1. This will be described in conjunction with the timing chart of FIG. 2 and FIG.
[0029]
The control unit 3 of the automatic reset device 1 periodically outputs the determination signal 101 (Step 201), and transmits it to the computer 9-1 via the transmission / reception unit 5 and the communication path 19-1 (Step 202). The communication path 19-1 uses general input / output signals such as RS232C, a printer parallel port, Ethernet (registered trademark), USB, IEEE, and a logic OR analog output board, and may be wired or wireless. The communication path 19-1 may be a network such as the Internet.
[0030]
The computer 9-1 receives the determination signal 101, and outputs a response signal 103 to the automatic reset device 1 to the automatic reset device 1 when the computer 9-1 is operating normally (NO in step 203). (Step 204). Referring to FIG. 2, a response signal 103 (signal 113) is output in response to the determination signal 101 (signal 111).
[0031]
The transmission / reception unit 5 of the automatic reset device 1 receives the response signal 103 (Step 205) and sends it to the control unit 3. The control unit 3 measures the response time 105 until the response signal 103 is returned, starting from the time when the determination signal 101 is output. That is, in FIG. 2, the time when the determination signal 101 (signal 111) is output is set as the starting point (signal 115) of the response time measurement 105, and the time when the response signal 103 (signal 113) is received is set as the response time. It is assumed that the signal measurement 105 ends (signal 117 part). When the response signal 103 is obtained (NO in step 206), it is confirmed that the computer 9-1 is operating normally, and the processing procedure from step 201 is repeated.
[0032]
Returning to step 203, a case where the operation of the computer 9-1 is stopped (YES in step 203) will be described. The cause of the stop (that is, freeze) of the computer 9-1 may be a system abnormality caused by a memory leak of the OS, a defective setting of hardware or software, a bug, or the like.
[0033]
That is, as described with reference to FIG. 2, the computer 9-1 cannot return the response signal 103 to the determination signal 101 (signal 119). Therefore, the control unit 3 sets the time when the determination signal 101 (signal 119) is output as the starting point of the response time measurement 105 (signal 121) and waits for the reception of the response signal 103. If the response signal 103 is not obtained after a predetermined time (time-out setting time 123) (YES in step 206), the control unit 3 performs an alarm output 107 (step 207, a signal 125 of the alarm output 107 in FIG. 2). .
[0034]
That is, the alarm output 107 (signal 125 part) is output from the control unit 3 to indicate that an abnormality has occurred in the computer 9-1. The specific alarm output 107 is, for example, displaying an abnormality of the computer 9-1 on a monitor for monitoring a production line, or outputting an audio or warning sound.
[0035]
At the same time, the control unit 3 outputs a cutoff signal of the power supply 13-1 to the computer 9-1 to the power supply control unit 7 by using the alarm output 107 (signal 125 in FIG. 2) as a trigger (step 208). ).
[0036]
The power supply controller 7 cuts off the power supply 13-1 to the computer 9-1 (step 209), and the computer 9-1 cuts off the power supply (step 210). That is, the computer 9-1 is forcibly terminated, that is, reset.
[0037]
Referring to FIG. 2, the power supply 13-1 is shut off at 127 units, triggered by the 125 output unit of the alarm output 107.
[0038]
The control unit 3 transmits a control signal to turn on the power supply 13-1 again to the power supply control unit 7 after a predetermined time has elapsed since the power supply 13-1 of the computer 9-1 was shut off (step 211). ). Upon receiving this control signal, the power supply controller 7 supplies the power supply 13-1 to the computer 9-1 again (step 212). Therefore, the computer 9-1 is restarted (step 213).
[0039]
To explain with reference to FIG. 2, the control unit 3 shuts off the power supply 13-1 (127 units), and then returns after a predetermined time 129 has elapsed (131 units).
[0040]
After the computer 9-1 returns, the control unit 3 returns to step 201 and repeats the operation monitoring process of the computer.
[0041]
(2.3 Effects / Others)
As described above, according to the present embodiment, in a production line or the like using a general-purpose personal computer, it can be automatically detected that the computer has stopped operating and can be restored. Therefore, the reliability of the production line is improved and efficient operation is possible as compared with the conventional computer monitoring, abnormality detection, and return processing by a person.
[0042]
In the present embodiment, the computer does not specify the type of the computer and the type of the OS by using the automatic startup function when the OS of each computer is turned on again.
[0043]
Further, the automatic reset device 1 can simultaneously monitor a plurality of computers and automatically restore the computers.
[0044]
(3 Another embodiment)
Next, another embodiment of the present invention will be described. FIG. 4 shows a configuration of an automatic reset device 1 according to another embodiment of the present invention.
[0045]
Configuration of automatic reset device 1 according to another embodiment)
In the automatic reset device 1 of FIG. 4, power is supplied to the computers 9-1 and 9-2 from the main power supply 11 via relays 21-1 and 21-2, respectively.
[0046]
The relays 21-1 and 21-2 receive operation control signals from the transmission / reception unit 5 of the automatic reset device 1 via the communication paths 31-1 and 31-2. That is, in another embodiment of the present invention, the source power supply 11 having the configuration shown in FIG. 1 and the power supply control unit 7 have a configuration physically independent of the automatic reset device 1.
[0047]
Here, the power supply 25-1 and the power supply 25-2 are controlled (cut off or restored) by control signals from the control unit 3 sent to the relays 21-1 and 21-2, respectively. Therefore, the difference from the above-described processing procedure of the automatic reset device 1 in FIG. 3 is that the cutoff of the power supply (Step 208, Step 209) and the restart of the power supply (Step 211, Step 212) are performed by the relay 21-1, 21-2. The other procedures are the same as those in the above-described embodiment, and the description is omitted.
[0048]
Although the relays 21-1 and 21-2 are used to control the power supply to the computers 9-1 and 9-2, the present invention is not limited to the relays. What is necessary is just a device which can be controlled on and off.
[0049]
(3.2 Effects)
In another embodiment, the main power supply 11, the relays 21-1, 21-2, and the like can be installed for each production line in which the computers 9-1, 9-2, and the like are installed. It is possible to install it at a distance. That is, the communication paths 29-1, 29-2, 31-1, and 31-2 may be a network such as the Internet, for example. Further, the automatic reset device 1 can manage not only a single production line but also control computers of a plurality of production lines at once by using a network or the like.
[0050]
(4. Others)
The function of the control unit 3 realized in the above embodiment can be realized by software. Therefore, the necessary software can be distributed via a network or a recording medium such as a CD-ROM or a DVD-ROM in which the program is recorded.
[0051]
In the present embodiment, an abnormal operation of a control computer such as a production line is easily detected by the presence or absence of a response to a determination signal, and furthermore, the power supply of the computer is controlled (cut off and returned) to efficiently monitor the control computer. Environment can be provided.
[0052]
In addition, it is possible to monitor a plurality of computers and a plurality of production lines simultaneously.
[0053]
In addition, the automatic reset device of the present invention has a communication function (that is, a function of returning a response signal to a determination signal), and if the device is capable of automatically starting up when the power is turned on again, the computer can be used in a computer. Without limitation, automatic monitoring can be performed.
[0054]
Note that the technical scope of the present invention is not limited to the above-described embodiment. It is obvious to those skilled in the art that various changes or modifications can be made within the scope of the technical idea disclosed in the present application, and these naturally belong to the technical scope of the present invention. I understand.
[0055]
【The invention's effect】
As described above in detail, according to the present invention, it is possible to provide a device for automatically detecting and recovering from a computer operation abnormality.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an automatic reset device 1. FIG. 2 is a timing chart of the automatic reset device 1. FIG. 3 is a diagram showing a processing procedure of the automatic reset device 1. FIG. 4 is a configuration diagram of another automatic reset device 1. Explanation of code]
DESCRIPTION OF SYMBOLS 1 ... Automatic reset device 3 ... Control part 5 ... Transmission / reception part 7 ... Supply power control part 9 ... Computer 11 ... Source power 13, 23, 25 ... Supply power 15, 17, 19, 27, 29, 31 Communication channel 101 Judgment signal 103 Response signal 105 Response time measurement 107 Alarm output

Claims (8)

コンピュータと接続される自動リセット装置であって、
前記コンピュータの動作状況を監視し異常を検知する検知手段と、
前記コンピュータの異常を検知した場合に、前記コンピュータへの電源供給を制御して、前記コンピュータを復帰させる復帰手段と、
を、具備することを特徴とする自動リセット装置。
An automatic reset device connected to a computer,
Detecting means for monitoring the operation status of the computer and detecting an abnormality;
When detecting an abnormality in the computer, the power supply to the computer is controlled, and a return unit that returns the computer,
An automatic reset device comprising:
前記検知手段は、
前記コンピュータへ判定信号を送信し、
所定の時間が経過しても前記コンピュータからの応答信号が受信できない場合に、前記コンピュータに異常が発生したことを検知し、
前記復帰手段は、
前記検知手段が前記コンピュータの異常を検知した場合に、前記コンピュータへの電源供給を遮断し、所定の時間経過後に前記電源供給を再開して前記コンピュータを復帰させることを特徴とする請求項1記載の自動リセット装置。
The detection means,
Transmitting a determination signal to the computer,
If a response signal from the computer cannot be received even after a predetermined time has elapsed, detecting that an abnormality has occurred in the computer,
The return means,
2. The computer according to claim 1, wherein when the detection unit detects an abnormality of the computer, the power supply to the computer is cut off, and after a predetermined time elapses, the power supply is restarted to return the computer. Automatic reset device.
前記復帰手段は、リレーを用いて、前記コンピュータへの電源供給の遮断、再開を行うことを特徴とする請求項2記載の自動リセット装置。3. The automatic reset device according to claim 2, wherein the return unit uses a relay to cut off and restart power supply to the computer. コンピュータを自動的にリセットさせる自動リセット方法であって、
前記コンピュータの動作状況を監視し異常を検知する検知工程と、
前記コンピュータの異常を検知した場合に、前記コンピュータへの電源供給を制御して、前記コンピュータを復帰させる復帰工程と、
を、有することを特徴とする自動リセット方法。
An automatic reset method for automatically resetting a computer,
A detection step of monitoring an operation state of the computer and detecting an abnormality,
When detecting an abnormality in the computer, controlling the power supply to the computer, a return step of returning the computer,
An automatic reset method comprising:
前記検知工程は、
前記コンピュータへ判定信号を送信し、
所定の時間が経過しても前記コンピュータからの応答信号が受信できない場合に、前記コンピュータに異常が発生したことを検知し、
前記復帰工程は、
前記検知工程で前記コンピュータの異常が検知された場合に、前記コンピュータへの電源供給を遮断し、所定の時間経過後に前記電源供給を再開して前記コンピュータを復帰させることを特徴とする請求項4記載の自動リセット方法。
The detecting step includes:
Transmitting a determination signal to the computer,
If a response signal from the computer cannot be received even after a predetermined time has elapsed, detecting that an abnormality has occurred in the computer,
The return step,
5. When the abnormality of the computer is detected in the detection step, power supply to the computer is shut off, and after a predetermined time elapses, the power supply is restarted to return the computer. Automatic reset method described.
前記復帰工程は、リレーを用いて、前記コンピュータへの電源供給の遮断、再開を行うことを特徴とする請求項5記載の自動リセット方法。6. The automatic reset method according to claim 5, wherein in the return step, power supply to the computer is cut off and restarted using a relay. コンピュータを、請求項1に記載の自動リセット装置として機能させるプログラム。A program that causes a computer to function as the automatic reset device according to claim 1. コンピュータを、請求項1に記載の自動リセット装置として機能させるプログラムを記録した記録媒体。A recording medium that records a program that causes a computer to function as the automatic reset device according to claim 1.
JP2002176734A 2002-06-18 2002-06-18 Automatic reset device, automatic reset method, program, and storage medium Pending JP2004021673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002176734A JP2004021673A (en) 2002-06-18 2002-06-18 Automatic reset device, automatic reset method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002176734A JP2004021673A (en) 2002-06-18 2002-06-18 Automatic reset device, automatic reset method, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2004021673A true JP2004021673A (en) 2004-01-22

Family

ID=31174958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002176734A Pending JP2004021673A (en) 2002-06-18 2002-06-18 Automatic reset device, automatic reset method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2004021673A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010044480A (en) * 2008-08-11 2010-02-25 Seiko Epson Corp Hardware reset method for control circuit, and electronic apparatus
JP2011059930A (en) * 2009-09-09 2011-03-24 Nec Computertechno Ltd Power supply unit
JP2018195113A (en) * 2017-05-18 2018-12-06 株式会社デンソーテン Management server, cloud system, and management method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010044480A (en) * 2008-08-11 2010-02-25 Seiko Epson Corp Hardware reset method for control circuit, and electronic apparatus
JP2011059930A (en) * 2009-09-09 2011-03-24 Nec Computertechno Ltd Power supply unit
JP2018195113A (en) * 2017-05-18 2018-12-06 株式会社デンソーテン Management server, cloud system, and management method

Similar Documents

Publication Publication Date Title
JP2008512331A (en) Elevator controller power-on reset
US7953016B2 (en) Method and system for telecommunication apparatus fast fault notification
JPWO2015104841A1 (en) MULTISYSTEM SYSTEM AND MULTISYSTEM SYSTEM MANAGEMENT METHOD
JP2002157137A (en) Program updating system with communication function
JP5182463B2 (en) Projection apparatus and control method
JP2004021673A (en) Automatic reset device, automatic reset method, program, and storage medium
JP7288662B2 (en) Fault monitoring recovery system, its method, and its program
JP2011059930A (en) Power supply unit
WO2019041685A1 (en) Apparatus unit control method, device and apparatus unit
JP3762389B2 (en) Electronic device connectable to fiber channel optical line, fiber channel system, and power control method in the system
JP2006172050A (en) Duplexing system of hot standby type
JP2008077324A (en) Server-client system
JP2004070393A (en) Remote shutdown method
JP6109687B2 (en) Multiplexed control monitoring system and control method
JP2006171995A (en) Control computer
KR101969393B1 (en) A cctv recorder watchdog system with 2-step control
JP3963060B2 (en) Automatic fire alarm system
JP4240353B2 (en) Tunnel disaster prevention equipment
JP7303083B2 (en) Behavior monitoring device, behavior monitoring method, behavior monitoring program, and behavior monitoring system
JP4493461B2 (en) Backup device, backup method and broadcasting system
JP2626259B2 (en) Remote power control unit
JP2003087403A (en) Remote device and reset system for the remote device
JP2002300176A (en) Data communication unit, data communication method, program for the data communication method, and recording medium with recorded program for the data communication method
JP4425012B2 (en) Abnormality avoidance method for remote monitoring system of gas supply governor room
JP2002209127A (en) Camera system incorporating automatic returning function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070508

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070918