JP2007233809A - Network device - Google Patents

Network device Download PDF

Info

Publication number
JP2007233809A
JP2007233809A JP2006056049A JP2006056049A JP2007233809A JP 2007233809 A JP2007233809 A JP 2007233809A JP 2006056049 A JP2006056049 A JP 2006056049A JP 2006056049 A JP2006056049 A JP 2006056049A JP 2007233809 A JP2007233809 A JP 2007233809A
Authority
JP
Japan
Prior art keywords
program
storage unit
activation
reset
boot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006056049A
Other languages
Japanese (ja)
Other versions
JP4834421B2 (en
Inventor
Osamu Watanabe
治 渡辺
Takashi Kumachi
貴 九町
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.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
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 Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2006056049A priority Critical patent/JP4834421B2/en
Publication of JP2007233809A publication Critical patent/JP2007233809A/en
Application granted granted Critical
Publication of JP4834421B2 publication Critical patent/JP4834421B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To certainly restart a network device to significantly improve maintenance performance of the device even when trouble occurs in a boot program of the network device. <P>SOLUTION: In this network device, when programs stored in a boot program storage part 22 of an active system and a boot program storage part 23 of a standby system are updated by the program having the trouble, booting by the programs of the active system and the standby system is repeated. A repetition frequency of the booting is counted by a reset counter 32, and an index designating an emergency program storage part 31 is written in a next-time boot system storage part 25 when the repetition frequency reaches a prescribed frequency. A reset circuit 28 is operated by a reset requirement signal from the reset counter 32, and a reset signal is outputted to a program boot part 21. The program boot part 21 reads an emergency program stored in the emergency program storage part 31 according to the index stored in the next-time boot system storage part 25, and reboots the device. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、対向装置から遠隔制御指示が与えられるネットワーク装置に係り、特に起動プログラムの不具合による障害発生時に自律復旧機能を備えたネットワーク装置に関する。   The present invention relates to a network device to which a remote control instruction is given from an opposite device, and more particularly to a network device having an autonomous recovery function when a failure occurs due to a malfunction of an activation program.

従来、例えば携帯電話の基地局など、対向装置により遠隔監視制御される冗長構成を持たないネットワーク装置においては、起動プログラム格納部に現用系及び予備系の起動プログラムを格納し、一方の系の起動プログラムに不具合が発生して装置を起動できない場合でも、他方の系の起動プログラムにより装置が自律で復旧できるようにしている。   Conventionally, in a network device that does not have a redundant configuration that is remotely monitored and controlled by an opposite device, such as a mobile phone base station, the activation program storage unit stores the activation program for the active system and the standby system, and the activation of one system Even if the program fails and the device cannot be started, the other system startup program enables the device to recover autonomously.

図3は、上記従来のネットワーク装置の構成を示すブロック図である。
図3において、11はプログラムブート部で、将来に亘って書き換えられることのない起動用の基本のプログラムを記憶している。上記プログラムブート部11には、現用(N系)の起動プログラム格納部12、予備系(E系)の起動プログラム格納部13、現在起動系格納部14、次回起動系格納部15、起動中系格納部16、起動プログラム動作エリア17、リセット回路18が接続される。また、上記リセット回路18には起動の動作時間を監視するウォッチドックタイマ(WDT)19が接続され、このウォッチドックタイマ19からリセット要求信号がリセット回路18に送られるようになっている。
FIG. 3 is a block diagram showing a configuration of the conventional network device.
In FIG. 3, reference numeral 11 denotes a program boot unit, which stores a basic program for startup that will not be rewritten in the future. The program boot unit 11 includes an active (N system) startup program storage unit 12, a standby system (E system) startup program storage unit 13, a current startup system storage unit 14, a next startup system storage unit 15, and an active system. The storage unit 16, the activation program operation area 17, and the reset circuit 18 are connected. The reset circuit 18 is connected to a watchdog timer (WDT) 19 for monitoring the activation operation time, and a reset request signal is sent from the watchdog timer 19 to the reset circuit 18.

上記ネットワーク装置は、図示しないが通信装置を備えており、この通信装置によりネットワークを介して例えば基地局等の対向装置と通信を行なうようになっている。   Although not shown, the network device includes a communication device, and the communication device communicates with an opposite device such as a base station via the network.

上記の構成において、プログラムブート部11は、次回起動系格納部15により指示される起動プログラム選択指標Bを読取り、これにより指定された現用系の起動プログラム格納部12あるいは予備系の起動プログラム格納部13の何れかの起動プログラムを起動プログラム動作エリア17へ展開する。この場合、プログラムブート部11は、上記の処理を行なう前に、起動しようとするプログラム系情報である起動プログラム選択指標Bを一時退避領域である起動中系格納部16へコピーすると共に、動作実績のあるプログラムを示す現在起動系格納部14内の起動プログラム選択指標Aを次回起動系格納部15にコピーしておく。   In the above configuration, the program boot unit 11 reads the activation program selection index B instructed by the next activation system storage unit 15 and designates the active activation program storage unit 12 or the standby activation program storage unit designated thereby. One of the 13 startup programs is expanded in the startup program operation area 17. In this case, the program boot unit 11 copies the activation program selection index B, which is the program system information to be activated, to the active system storage unit 16, which is a temporary save area, and performs operation results before performing the above processing. The activation program selection index A in the current activation system storage unit 14 indicating a certain program is copied to the next activation system storage unit 15.

ここで、次回起動系格納部15は、装置運用中にも対向装置の指示により、次回起動系の指定情報として書換え可能になっている。
上記起動プログラム動作エリア17に転送されたプログラムは自律起動し、装置としての動作を開始し、上記プログラムが正常起動したことを確認した後、起動中系格納部16に保持されている起動中系の情報を現在起動系格納部14に格納する。
Here, the next activation system storage unit 15 can be rewritten as designation information for the next activation system by an instruction from the opposite device even during operation of the apparatus.
The program transferred to the activation program operation area 17 starts autonomously, starts operation as a device, confirms that the program has been activated normally, and then starts the active system held in the active system storage unit 16 Is stored in the current activation system storage unit 14.

装置初期状態では、予め起動することを確認できているプログラムを現用系の起動プログラム格納部12及び予備系の起動プログラム格納部13に書込み、現在起動系格納部14及び次回起動系格納部15には現用系(N系)を示す指標を書込んでおけば問題はない。   In the initial state of the apparatus, a program that has been confirmed to be activated in advance is written into the active activation program storage unit 12 and the standby activation program storage unit 13, and is stored in the current activation system storage unit 14 and the next activation system storage unit 15. There is no problem if an index indicating the current system (N system) is written.

また、起動中系格納部16は、初期状態の内容に関わらず、プログラムブート部11によって起動された直後に内容が確定されるため、初期状態では不定値で差し支えない。   Further, since the contents of the active system storage unit 16 are determined immediately after being activated by the program boot unit 11 regardless of the contents of the initial state, an indefinite value may be used in the initial state.

そして、プログラム変更時には、例えば現在、現用系(N系)で起動しているとして、予備系の起動プログラム格納部13に対向装置より遠隔で更新プログラムを転送して格納する。その後、次回起動系格納部15の情報を予備系(E系)指示とした後、遠隔制御でリセットを実施することで、予備系の起動プログラム格納部13に格納されたプログラムで起動することになる。万一、上記予備系の起動プログラム格納部13に格納したプログラムに不具合があり、正常に起動できなかった場合には、アラーム状態を認識したプログラム自体がリセット回路18を動作させ、リセット信号をプログラムブート部11に出力することで装置の再起動を図っている。このときプログラム不具合の状況によってアラーム状態の認識ができない状況を考慮し、ウォッチドックタイマ19によってリセット回路18を動作させることで、装置を再起動するようにしている。   When the program is changed, for example, it is assumed that the current system (N system) is currently activated, and the update program is transferred and stored remotely in the standby activation program storage unit 13 from the opposite device. After that, the information in the next activation system storage unit 15 is set as a standby system (E system) instruction, and then reset by remote control, so that the program stored in the standby system activation program storage unit 13 is activated. Become. In the unlikely event that the program stored in the standby activation program storage unit 13 is defective and cannot be normally activated, the program itself that has recognized the alarm state operates the reset circuit 18 to program the reset signal. By outputting to the boot unit 11, the apparatus is restarted. At this time, in consideration of a situation in which the alarm state cannot be recognized due to a program fault situation, the device is restarted by operating the reset circuit 18 by the watchdog timer 19.

この一連の動作により、再起動を図った立上がりにおいては、次回起動系格納部15には、正常起動実績のある現用系(N系)を示す起動プログラム選択指標Bが格納されているため、正常起動していた以前の状態に復旧することが可能であり、予備系の起動プログラム格納部13に不具合を解決したプログラムを転送するなど、遠隔保守監視操作を復旧継続することが可能である。   By the series of operations, the startup system storage unit 15 stores the startup program selection index B indicating the active system (N system) having a normal startup record at the start-up that is restarted. It is possible to recover to the previous state where it was started, and it is possible to continue recovery of the remote maintenance monitoring operation such as transferring the program that solved the problem to the standby startup program storage unit 13.

また、本発明に関連する公知技術として、メイン制御装置とサブ制御装置から構成される制御装置におけるメインCPUとサブCPUの動作を監視するプロセッサ監視装置であって、メイン制御装置にサブCPUの誤動作を検出する機能を持たせると共に電源電圧の異常発生を検出する電源異常検出機能を持たせ、サブCPUの誤動作又は電源異常が検出された場合に、メインCPUの指令に基づきメインCPU及びサブCPUの処理が同期するようにサブCPUにリセット信号を発生するリセット回路を有するプロセッサ監視装置が知られている(例えば、特許文献1参照。)。
特開2005−148890号公報
Further, as a known technique related to the present invention, there is a processor monitoring device that monitors the operation of a main CPU and a sub CPU in a control device composed of a main control device and a sub control device. And a power supply abnormality detection function for detecting the occurrence of power supply voltage abnormality. When a malfunction or power supply abnormality of the sub CPU is detected, the main CPU and the sub CPU are There is known a processor monitoring device having a reset circuit that generates a reset signal to a sub CPU so that processing is synchronized (see, for example, Patent Document 1).
JP 2005-148890 A

しかしながら、上記従来のネットワーク装置では、例えば運用時の人為的ミス等により、現用系(N系)及び予備系(E系)の起動プログラムを共に不具合のある起動プログラムで更新してしまった場合には、不具合のあるプログラムでの起動を繰り返し、正常に起動できないという不具合が生じる。又、起動するプログラムの不具合状態がウォッチドックタイマ19のタイムアウト及びアラーム発生まで至らない状態で、対向装置との回線接続に不具合を持つ場合、対向装置と通信が遮断されることにより、正常運用ができなくなる可能性もある。従って、従来方法においては遠隔監視制御状態の復旧が不可能になるという、著しい保守性能の低下が発生し得る欠点がある。   However, in the above-described conventional network device, when both the active (N system) and standby (E system) startup programs are updated with faulty startup programs due to human error during operation, for example. Causes a problem that it cannot be started normally by repeatedly starting with a defective program. In addition, when the fault state of the program to be started does not reach the time-out of the watchdog timer 19 and the occurrence of an alarm and there is a fault in the line connection with the opposite device, the normal operation is performed by cutting off the communication with the opposite device. It may not be possible. Therefore, the conventional method has a drawback that a significant deterioration in maintenance performance can be caused such that the remote monitoring control state cannot be recovered.

本発明は上記の課題を解決するためになされたもので、2系統の起動プログラムに不具合が発生した場合でも、確実に再起動して装置の保守性能を著しく向上し得るネットワーク装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and provides a network device that can be reliably restarted to significantly improve the maintenance performance of the device even when a failure occurs in two systems of startup programs. With the goal.

本発明は、対向装置から遠隔制御指示が与えられるネットワーク装置において、第1の起動プログラムが格納される第1の起動プログラム格納部と、第2の起動プログラムが格納される第2の起動プログラム格納部と、非常用プログラムが格納される非常用プログラム格納部と、次に起動するプログラムの系を示す指標が格納される次回起動系格納部と、前記次回起動系格納部に格納されている指標により前記第1の起動プログラム格納部あるいは第2の起動プログラム格納部に格納されている起動プログラムを読出して起動処理を実行する起動処理手段と、前記第1の起動プログラム及び第2の起動プログラムの不具合により生じる起動の繰り返し回数をカウントするリセットカウンタとを具備し、前記リセットカウンタのカウント値が規定値に達したときに前記非常用プログラム格納部を指定する指標を与えると共に前記起動処理手段をリセットして前記非常用プログラムによる起動処理を実行させることを特徴とする。   The present invention provides a network device to which a remote control instruction is given from an opposite device, a first activation program storage unit that stores a first activation program, and a second activation program storage that stores a second activation program. , An emergency program storage unit storing an emergency program, a next activation system storage unit storing an index indicating a system of a program to be activated next, and an index stored in the next activation system storage unit The startup processing means for reading the startup program stored in the first startup program storage unit or the second startup program storage unit and executing the startup process, and the first startup program and the second startup program And a reset counter that counts the number of times the startup is repeated due to a malfunction. And wherein said reset the activation processing unit together with provide an indication to specify the emergency program storage unit that is executing the boot process by the emergency program when it reaches the value.

本発明によれば、第1の起動プログラム格納部及び第2の起動プログラム格納部に格納されている起動プログラムの両方に不具合を生じた場合でも、非常用プログラム格納部に格納されている非常用プログラムを用いて装置を確実に再起動でき、装置の保守性能を著しく向上することができる。   According to the present invention, the emergency stored in the emergency program storage even when both the first startup program storage and the startup program stored in the second startup program storage are defective. The apparatus can be reliably restarted using a program, and the maintenance performance of the apparatus can be significantly improved.

以下、図面を参照して本発明の一実施形態を説明する。
図1は、本発明の一実施形態に係るネットワーク装置の構成を示すブロック図である。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a network device according to an embodiment of the present invention.

図において、21はプログラムブート部で、将来に亘って書き換えられることのない起動用の基本のプログラムを記憶している。上記プログラムブート部21には、例えば現用系(N系)の起動プログラム格納部22、予備系(E系)の起動プログラム格納部23及び非常用プログラム格納部31が接続される。上記現用系の起動プログラム格納部22及び予備系の起動プログラム格納部23は、装置動作プログラムを格納する為に設けられており、プログラム変更時の予期せぬ障害動作に備え、冗長構成をとっている。又、非常用プログラム格納部31には、現用系の起動プログラム格納部22及び予備系の起動プログラム格納部23へのプログラムの再格納及び装置のリセット制御を確実に実施可能な非常用プログラムが格納される。この非常用プログラムは、正常に動作することが予め確認されており、将来に亘って書き換えができないようになっている。   In the figure, reference numeral 21 denotes a program boot unit which stores a basic program for startup that will not be rewritten in the future. The program boot unit 21 is connected to, for example, an active (N-system) startup program storage unit 22, a standby (E-system) startup program storage unit 23, and an emergency program storage unit 31. The active system startup program storage unit 22 and the standby system startup program storage unit 23 are provided to store the apparatus operation program, and have a redundant configuration in preparation for an unexpected failure operation at the time of program change. Yes. The emergency program storage unit 31 stores an emergency program that can reliably perform program re-storage and device reset control in the active system startup program storage unit 22 and the standby system startup program storage unit 23. Is done. This emergency program has been confirmed in advance to operate normally, and cannot be rewritten in the future.

又、プログラムブート部21には、現在起動系格納部24、次回起動系格納部25、起動プログラム動作エリア27、リセット回路28及びリセットカウンタ32が接続される。リセット回路28には、起動の動作時間を監視するウォッチドックタイマ(WDT)29が接続される。   The program boot unit 21 is connected to a current activation system storage unit 24, a next activation system storage unit 25, an activation program operation area 27, a reset circuit 28, and a reset counter 32. Connected to the reset circuit 28 is a watchdog timer (WDT) 29 for monitoring the operating time of activation.

上記起動プログラム動作エリア27には、通常時は次回起動系格納部25に格納される指標に基づいて現用系の起動プログラム格納部22又は予備系の起動プログラム格納部23に格納されている起動プログラムがセットされる。   In the startup program operation area 27, the startup program stored in the active startup program storage unit 22 or the standby startup program storage unit 23 based on the index stored in the startup system storage unit 25 next time during normal times. Is set.

リセットカウンタ32は、カウント値に応じて選択指標Cをプログラムブート部21へ出力するが、初期状態ではカウント値が「0」、選択指標Cが“1”(Hi:通常起動)となっている。そして、リセットカウンタ32は、現用系及び予備系プログラムの不具合により現用系及び予備系プログラムによる起動が繰り返された場合に、その起動回数をカウントし、カウント値が予め定めた規定回数(例えば5)まで到達した場合に選択指標Cを非常時起動(“0”:Lo)とすると共に、リセット要求信号をリセット回路28に出力する。上記リセットカウンタ32は、プログラムが正常に起動し、対向装置との遠隔制御通信が可能になったことでクリアされる。   The reset counter 32 outputs the selection index C to the program boot unit 21 according to the count value, but in the initial state, the count value is “0” and the selection index C is “1” (Hi: normal activation). . The reset counter 32 counts the number of times of activation when the activation by the active system and the standby system program is repeated due to a malfunction of the active system and the standby system program, and the count value is a predetermined number of times (for example, 5). In the case of reaching, the selection indicator C is activated in an emergency (“0”: Lo), and a reset request signal is output to the reset circuit 28. The reset counter 32 is cleared when the program starts normally and remote control communication with the opposite device becomes possible.

プログラムブート部21は、選択指標Cがリセット回路28からのリセット信号によってリセットされると、非常用プログラム格納部31から非常用プログラムを読出して起動プログラム動作エリア27へ展開する。選択指標Cが通常時(“1”:Hi)を示す状態でリセットされたプログラムブート部21は、次回起動系格納部25に格納された指標に基づいて動作する。   When the selection index C is reset by the reset signal from the reset circuit 28, the program boot unit 21 reads the emergency program from the emergency program storage unit 31 and develops it in the startup program operation area 27. The program boot unit 21 reset in a state where the selection index C indicates the normal time (“1”: Hi) operates based on the index stored in the next activation system storage unit 25.

又、図1において、33は遠隔信号疎通状態カウンタで、対向装置との通信断状態がある一定時間を超えたことを検出する。遠隔信号疎通状態カウンタ33により対向装置との通信断状態がある一定時間を超えたことを検出した場合、次回起動系格納部25に対して非常用プログラム格納部31を指定する指標の書込みを行なうと共に、リセット要求信号をリセット回路28に出力する。この場合、対向装置と接続されていない状況では、必ず非常用プログラムが起動される構成である為、試験時等のためにリセットカウンタ32及び遠隔信号疎通状態カウンタ33の動作を制限するスイッチ34並びにこのスイッチ34の動作を制御する自律リセットON/OFF信号を具備していることが望ましい。上記自律リセットON/OFF信号は、例えばDIP−SW等により与えられる。上記自律リセットON/OFF信号でスイッチ34の動作を制御することにより、試験時等のために遠隔信号疎通状態カウンタ33が自律でリセット動作に入るか否かを決定することができる。   In FIG. 1, reference numeral 33 denotes a remote signal communication state counter which detects that the communication disconnection state with the opposite apparatus has exceeded a certain time. When it is detected by the remote signal communication state counter 33 that the communication disconnection state with the opposite device has exceeded a certain time, an index for designating the emergency program storage unit 31 is written to the next activation system storage unit 25. At the same time, a reset request signal is output to the reset circuit 28. In this case, since the emergency program is always started in a situation where the counter device is not connected, the switch 34 for limiting the operations of the reset counter 32 and the remote signal communication state counter 33 for testing and the like, and It is desirable that an autonomous reset ON / OFF signal for controlling the operation of the switch 34 is provided. The autonomous reset ON / OFF signal is given by, for example, DIP-SW. By controlling the operation of the switch 34 with the autonomous reset ON / OFF signal, it is possible to determine whether or not the remote signal communication state counter 33 enters the reset operation autonomously for testing or the like.

上記ネットワーク装置は、図示しないが通信装置を備えており、この通信装置によりネットワークを介して例えば基地局等の対向装置と通信を行なうようになっている。   Although not shown, the network device includes a communication device, and the communication device communicates with an opposite device such as a base station via the network.

上記の構成において、プログラムブート部21は、起動プログラム選択指標が非常時を示さない限り、次回起動系格納部25により指示される起動プログラム選択指標Bを読取り、これにより指定された現用系の起動プログラム格納部22あるいは予備系の起動プログラム格納部23の何れかの起動プログラムを読取って起動プログラム動作エリア27へ展開する。この場合、プログラムブート部21は、上記の処理を行なう前に、起動しようとするプログラム系情報である起動プログラム選択指標Bを起動プログラム選択指標Aとして現在起動系格納部24へコピーすると共に、現在起動しようとしている系とは異なる系を示す情報を起動プログラム選択指標Bとして次回起動系格納部25に書込んでおく。   In the above configuration, the program boot unit 21 reads the activation program selection index B instructed by the next activation system storage unit 25 unless the activation program selection index indicates an emergency, and activates the active system designated by this. The activation program in either the program storage unit 22 or the standby activation program storage unit 23 is read and expanded in the activation program operation area 27. In this case, the program boot unit 21 copies the activation program selection index B, which is the program system information to be activated, as the activation program selection index A to the current activation system storage unit 24 before performing the above processing, Information indicating a system different from the system to be activated is written in the next activation system storage unit 25 as the activation program selection index B.

ここで、次回起動系格納部25は、装置運用中にも対向装置の指示により、次回起動系の指定情報として書換え可能になっている。   Here, the next activation system storage unit 25 can be rewritten as the designation information of the next activation system by an instruction from the opposite device even during the operation of the apparatus.

上記起動プログラム動作エリア27に転送された起動プログラムは自律起動し、装置としての動作を開始する。初期状態では、予め起動することを確認できている起動プログラムを現用系の起動プログラム格納部22及び予備系の起動プログラム格納部23に書込み、現在起動系格納部24及び次回起動系格納部25には現用系(N系)を示す指標を書込んでおけば問題はない。   The activation program transferred to the activation program operation area 27 starts autonomously and starts operation as a device. In the initial state, the activation program that has been confirmed to be activated in advance is written to the active activation program storage unit 22 and the standby activation program storage unit 23, and is stored in the current activation system storage unit 24 and the next activation system storage unit 25. There is no problem if an index indicating the current system (N system) is written.

そして、プログラム変更時には、例えば現在、現用系(N系)で起動しているとして、予備系の起動プログラム格納部23に対向装置より遠隔で更新プログラムを転送して格納する。その後、次回起動系格納部25の情報を予備系(E系)指示とした後、遠隔制御でリセットを実施することで、予備系の起動プログラム格納部23に格納されたプログラムで起動することになる。万一、予備系の起動プログラム格納部23に格納したプログラムに不具合があり、正常に起動できなかった場合には、アラーム状態を認識したプログラム自体がリセット回路28を動作させ、リセット信号をプログラムブート部21に出力することで装置の再起動を図っている。このときプログラム不具合の状況によってアラーム状態の認識ができない状況を考慮し、ウォッチドックタイマ29によってリセット回路28を動作させることで装置の再起動を行なう。装置が正常に起動すると、起動プログラム動作エリア27に展開されている起動プログラムによってウォッチドックタイマ29がクリアされる。   At the time of program change, for example, assuming that the system is currently activated in the active system (N system), the update program is transferred and stored remotely in the standby system activation program storage unit 23 from the opposite device. After that, the information in the next activation system storage unit 25 is set as a standby system (E system) instruction, and then reset by remote control, so that the program stored in the standby system activation program storage unit 23 is activated. Become. In the unlikely event that the program stored in the standby startup program storage unit 23 is faulty and cannot be started up normally, the program itself that has recognized the alarm state operates the reset circuit 28 and sets the reset signal to program boot. The output to the unit 21 is intended to restart the apparatus. At this time, in consideration of a situation where the alarm state cannot be recognized due to a program malfunction situation, the reset circuit 28 is operated by the watchdog timer 29 to restart the apparatus. When the apparatus is normally activated, the watchdog timer 29 is cleared by the activation program developed in the activation program operation area 27.

この一連の動作により、再起動を図った立上がりにおいては、次回起動系格納部25には、起動失敗した系とは逆の系(N系)を示す起動プログラム選択指標Bが格納されているため、正常に起動していた以前の状態に復旧する可能性が高く、予備系の起動プログラム格納部23に不具合を解決したプログラムを転送するなど、遠隔保守監視操作を復旧継続することが可能である。   As a result of this series of operations, the startup system storage unit 25 stores the startup program selection index B indicating the system opposite to the system that failed to start (N system) at the start-up for restarting. Therefore, it is highly possible to recover to the previous state where it started normally, and it is possible to continue recovery of remote maintenance monitoring operations such as transferring a program that solves the problem to the standby startup program storage unit 23. .

そして、例えば運用時のミス等により、現用系(N系)及び予備系(E系)のプログラムを共に不具合のあるプログラムで更新してしまった場合には、装置は現用系(N系)と予備系(E系)のプログラムでの起動を繰り返すので、この起動の繰り返しをリセットカウンタ32でカウントする。   And, for example, when both the active system (N system) and the standby system (E system) are updated with a faulty program due to a mistake during operation, the device is changed to the active system (N system). Since the activation by the standby (E system) program is repeated, the repetition of the activation is counted by the reset counter 32.

上記リセットカウンタ32は、図2の状態遷移図に示すように初期状態ではカウンタ値が「0」で、プログラムブート部21への選択指標Cが“1”(Hi:通常起動)となっている。リセットカウンタ32は、上記のように現用系(N系)と予備系(E系)のプログラムでの起動が繰り返された場合にカウント値が順次カウントアップされるが、プログラムが正常に起動し、対向装置との遠隔制御通信が可能になったことでカウント値がクリアされる。   As shown in the state transition diagram of FIG. 2, the reset counter 32 has a counter value of “0” in the initial state and a selection index C to the program boot unit 21 of “1” (Hi: normal activation). . The reset counter 32 sequentially counts up when the active system (N system) and the standby system (E system) are repeatedly activated as described above, but the program starts normally. The count value is cleared when remote control communication with the opposite device becomes possible.

しかし、上記現用系(N系)と予備系(E系)のプログラムでの起動が繰り返されてリセットカウンタ32の値が規定回数に到達すると、プログラムブート部21は、リセットカウンタ32の値が規定回数に到達したことにより選択指標Cが非常時(“0”:Lo)を示すため、非常用プログラム格納部31を指定することとなる。   However, when the active system (N system) and the standby system (E system) are repeatedly activated and the value of the reset counter 32 reaches the specified number of times, the program boot unit 21 sets the value of the reset counter 32 to the specified value. Since the selection index C indicates an emergency (“0”: Lo) by reaching the number of times, the emergency program storage unit 31 is designated.

一方、対向装置との通信状態を遠隔信号疎通状態カウンタ33によって監視し、対向装置との通信断状態が予め設定した一定時間を超えると、リセット回路28に対してリセット要求信号を出力する。   On the other hand, the communication state with the opposite device is monitored by the remote signal communication state counter 33, and when the communication interruption state with the opposite device exceeds a preset time, a reset request signal is output to the reset circuit 28.

これによりプログラムブート部21は、再起動動作を実行するが、この場合には上記したように非常用プログラム格納部31を指定する指標が与えられているので、非常用プログラム格納部31に格納されている非常用プログラムを起動プログラム動作エリア27に展開して装置を再起動する。上記非常用プログラムは、予め正常に動作することが確認されているので、装置を確実に再起動することができる。   As a result, the program boot unit 21 executes the restart operation. In this case, since the index for designating the emergency program storage unit 31 is given as described above, the program boot unit 21 is stored in the emergency program storage unit 31. The emergency program is expanded in the start program operation area 27 and the apparatus is restarted. Since the emergency program has been confirmed to operate normally in advance, the apparatus can be reliably restarted.

上記のようにネットワーク装置が再起動して対向装置との遠隔制御通信が可能になった状態で、対向装置から正常なプログラムを転送し、現用系の起動プログラム格納部22及び予備系の起動プログラム格納部23に格納することで装置を復旧させることができる。   In the state where the network device is restarted and remote control communication is possible with the opposite device as described above, a normal program is transferred from the opposite device, and the active start program storage unit 22 and the standby start program are transferred. By storing in the storage unit 23, the apparatus can be restored.

従って、例えば現用系の起動プログラム格納部22及び予備系の起動プログラム格納部23に格納されている起動プログラムを共に不具合のあるプログラムで更新してしまった場合でも、非常用プログラムを用いて装置を確実に再起動でき、保守性能を著しく向上することができる。   Therefore, for example, even when the activation programs stored in the active activation program storage unit 22 and the standby activation program storage unit 23 are both updated with defective programs, the emergency program is used to switch the device. Rebooting can be ensured, and maintenance performance can be significantly improved.

又、装置を起動するプログラムの不具合状態がウォッチドックタイマ29のタイムアウト及びアラーム発生まで至らず、対向装置との回線接続に不具合を生じている場合には、例えば通信回線装置の初期化不良や、ウォッチドックタイマ29に対するクリア信号が正常に出力されているのに通信回線の終端タスクが異常動作している場合など、ソフトウェアに異常を生じている可能性がある。   In addition, when the failure state of the program for starting the device does not reach the time-out of the watchdog timer 29 and the occurrence of an alarm, and there is a failure in the line connection with the opposite device, for example, initialization failure of the communication line device, There is a possibility that an error has occurred in the software, for example, when a clear signal for the watchdog timer 29 is normally output but the termination task of the communication line is operating abnormally.

上記のように対向装置との回線接続に不具合を生じている場合は、対向装置との通信状態を遠隔信号疎通状態カウンタ33によって監視し、対向装置との通信断状態が予め設定した一定時間を超えると、リセット回路28に対してリセット要求信号を出力する。これにより上記現用系及び予備系の両プログラムに不具合を生じた場合と同様に、非常用プログラム格納部31に格納されている非常用プログラムによって装置を再起動し、遠隔監視制御状態を復旧することができる。   If there is a problem with the line connection with the opposite device as described above, the communication state with the opposite device is monitored by the remote signal communication state counter 33, and the communication disconnection state with the opposite device is set for a predetermined time. If exceeded, a reset request signal is output to the reset circuit 28. As a result, in the same way as when both the active and standby programs fail, the device is restarted by the emergency program stored in the emergency program storage unit 31 and the remote monitoring control state is restored. Can do.

上記実施形態によれば、現用系の起動プログラム格納部22及び予備系の起動プログラム格納部23に格納されている起動プログラムの両方に不具合を生じた場合でも、非常用プログラム格納部31に格納されている非常用プログラムを用いて装置を確実に再起動でき、装置の保守性能を著しく向上することができる。   According to the above-described embodiment, even when a failure occurs in both the active system startup program storage unit 22 and the standby system startup program storage unit 23, the emergency program storage unit 31 stores them. The apparatus can be reliably restarted by using the emergency program, and the maintenance performance of the apparatus can be significantly improved.

又、対向装置との回線接続に不具合を生じている場合においても、対向装置との通信状態を遠隔信号疎通状態カウンタ33によって監視し、非常用プログラム格納部31に格納されている非常用プログラムにより装置を再起動することにより、遠隔監視制御状態を正常に復旧することができる。   Further, even when a problem occurs in the line connection with the opposite device, the communication state with the opposite device is monitored by the remote signal communication state counter 33, and the emergency program stored in the emergency program storage unit 31 is used. By restarting the apparatus, the remote monitoring control state can be restored normally.

なお、上記実施形態においては、対向装置と接続されていない状態では、必ず非常用プログラムが起動される構成である為、上記したように試験時等の為にリセットカウンタ32及び遠隔信号疎通状態カウンタ33の動作を制限するスイッチ34並びに自律リセットON/OFF信号を具備していることが好ましい。上記スイッチ34としては、例えばオア回路を用いて構成し、上記オア回路に自律リセットON/OFF信号を与えてその出力状態を制御する。すなわち、リセットカウンタ32及び遠隔信号疎通状態カウンタ33を動作させる場合には、自律リセットON/OFF信号としてローレベルの信号をオア回路に与え、遠隔信号疎通状態カウンタ33から出力されるリセット要求信号がリセット回路28へ送られるようにする。そして、試験時等のためにリセットカウンタ32及び遠隔信号疎通状態カウンタ33の動作を制限する場合には、自律リセットON/OFF信号としてハイレベルの信号をオア回路に与えて、その出力信号をハイレベルに保持し、遠隔信号疎通状態カウンタ33から出力されるリセット要求信号がオア回路で阻止されるようにする。   In the above embodiment, since the emergency program is always activated when not connected to the opposite device, the reset counter 32 and the remote signal communication state counter are used for testing as described above. It is preferable to provide a switch 34 for limiting the operation of 33 and an autonomous reset ON / OFF signal. The switch 34 is configured using, for example, an OR circuit, and an autonomous reset ON / OFF signal is given to the OR circuit to control its output state. That is, when the reset counter 32 and the remote signal communication state counter 33 are operated, a low level signal is given to the OR circuit as an autonomous reset ON / OFF signal, and a reset request signal output from the remote signal communication state counter 33 is received. It is sent to the reset circuit 28. When the operations of the reset counter 32 and the remote signal communication state counter 33 are restricted for testing or the like, a high level signal is given to the OR circuit as an autonomous reset ON / OFF signal, and the output signal is set to high. The reset request signal output from the remote signal communication state counter 33 is blocked by the OR circuit.

また、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できるものである。   Further, the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage.

本発明の一実施形態に係るネットワーク装置の構成を示すブロック図である。It is a block diagram which shows the structure of the network apparatus which concerns on one Embodiment of this invention. 同実施形態におけるリセットカウンタの状態遷移図である。It is a state transition diagram of the reset counter in the same embodiment. 従来のネットワーク装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional network device.

符号の説明Explanation of symbols

21…プログラムブート部、22…現用系の起動プログラム格納部、23…予備系の起動プログラム格納部、24…現在起動系格納部、25…次回起動系格納部、27…起動プログラム動作エリア、28…リセット回路、29…ウォッチドックタイマ(WDT)、31…非常用プログラム格納部、32…リセットカウンタ、33…遠隔信号疎通状態カウンタ、34…スイッチ。   21 ... Program boot unit, 22 ... Active system startup program storage unit, 23 ... Standby system startup program storage unit, 24 ... Current startup system storage unit, 25 ... Next startup system storage unit, 27 ... Startup program operation area, 28 DESCRIPTION OF SYMBOLS ... Reset circuit, 29 ... Watchdog timer (WDT), 31 ... Emergency program storage part, 32 ... Reset counter, 33 ... Remote signal communication state counter, 34 ... Switch.

Claims (1)

対向装置から遠隔制御指示が与えられるネットワーク装置において、
第1の起動プログラムが格納される第1の起動プログラム格納部と、
第2の起動プログラムが格納される第2の起動プログラム格納部と、
非常用プログラムが格納される非常用プログラム格納部と、
次に起動するプログラムの系を示す指標が格納される次回起動系格納部と、
前記次回起動系格納部に格納されている指標により前記第1の起動プログラム格納部あるいは第2の起動プログラム格納部に格納されている起動プログラムを読出して起動処理を実行する起動処理手段と、
前記第1の起動プログラム及び第2の起動プログラムの不具合により生じる起動の繰り返し回数をカウントするリセットカウンタとを具備し、
前記リセットカウンタのカウント値が規定値に達したときに前記非常用プログラム格納部を指定する指標を与えると共に前記起動処理手段をリセットして前記非常用プログラムによる起動処理を実行させることを特徴とするネットワーク装置。
In a network device to which a remote control instruction is given from the opposite device,
A first activation program storage unit in which a first activation program is stored;
A second boot program storage unit for storing a second boot program;
An emergency program storage unit for storing an emergency program;
Next-time startup system storage unit that stores an index indicating a program system to be started next;
An activation processing means for reading the activation program stored in the first activation program storage unit or the second activation program storage unit according to the index stored in the next activation system storage unit and executing the activation process;
A reset counter that counts the number of times that the first start program and the second start program are caused by a failure of the first start program,
When the count value of the reset counter reaches a specified value, an index for designating the emergency program storage unit is provided, and the activation processing unit is reset to execute activation processing by the emergency program. Network device.
JP2006056049A 2006-03-02 2006-03-02 Network equipment Expired - Fee Related JP4834421B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006056049A JP4834421B2 (en) 2006-03-02 2006-03-02 Network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006056049A JP4834421B2 (en) 2006-03-02 2006-03-02 Network equipment

Publications (2)

Publication Number Publication Date
JP2007233809A true JP2007233809A (en) 2007-09-13
JP4834421B2 JP4834421B2 (en) 2011-12-14

Family

ID=38554332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006056049A Expired - Fee Related JP4834421B2 (en) 2006-03-02 2006-03-02 Network equipment

Country Status (1)

Country Link
JP (1) JP4834421B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11327914A (en) * 1998-05-11 1999-11-30 Nec Corp Automatic installation system and recording medium having recorded automatic installation program
JP2003510678A (en) * 1999-09-21 2003-03-18 インテル コーポレイション Method of organizing information stored in a non-volatile reprogrammable semiconductor memory
JP2003099146A (en) * 2001-09-20 2003-04-04 Fujitsu Ltd System for controlling start of computer system
JP2004078294A (en) * 2002-08-09 2004-03-11 Hitachi Kokusai Electric Inc Signal processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11327914A (en) * 1998-05-11 1999-11-30 Nec Corp Automatic installation system and recording medium having recorded automatic installation program
JP2003510678A (en) * 1999-09-21 2003-03-18 インテル コーポレイション Method of organizing information stored in a non-volatile reprogrammable semiconductor memory
JP2003099146A (en) * 2001-09-20 2003-04-04 Fujitsu Ltd System for controlling start of computer system
JP2004078294A (en) * 2002-08-09 2004-03-11 Hitachi Kokusai Electric Inc Signal processor

Also Published As

Publication number Publication date
JP4834421B2 (en) 2011-12-14

Similar Documents

Publication Publication Date Title
US8930931B2 (en) Information processing apparatus using updated firmware and system setting method
CN107315656B (en) Multi-kernel embedded PLC software recovery method and PLC
JP4751785B2 (en) Transmission apparatus and software automatic update method
CN106873990B (en) Multi-partition guiding method under embedded system RAM damage mode
JP2010224847A (en) Computer system and setting management method
WO2015104841A1 (en) Redundant system and method for managing redundant system
CN109358982B (en) Hard disk self-healing device and method and hard disk
JP2003150279A (en) Management system and backup management method in computer system
JP6124644B2 (en) Information processing apparatus and information processing system
JP4834421B2 (en) Network equipment
CN111427721B (en) Abnormality recovery method and device
JP3325785B2 (en) Computer failure detection and recovery method
JP2002149437A (en) Method for restarting software
JP5687141B2 (en) Protection relay device
JP2009025967A (en) Backup system of duplicated firmware, method and operating system
JP2007233667A (en) Method of detecting fault
JPH08329006A (en) Fault information system
JP2015106226A (en) Dual system
JP2000163274A (en) Electronic equipment and recording medium with rom data monitoring program recorded thereon
JP6710128B2 (en) Communication device and communication device recovery method
JP6364773B2 (en) Information processing apparatus, information processing system, memory replication method, and computer program
CN112685086B (en) Information processing method and electronic equipment
JP2019016218A (en) Information processing device, control device, and control method of information processing device
JP3107054B2 (en) Minor fault handling system
JP2007026038A (en) Path monitoring system, path monitoring method and path monitoring program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080922

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110729

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110906

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110926

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees