JP3242550B2 - Method and apparatus for controlling switching of a system of a duplexed communication system - Google Patents
Method and apparatus for controlling switching of a system of a duplexed communication systemInfo
- Publication number
- JP3242550B2 JP3242550B2 JP16059695A JP16059695A JP3242550B2 JP 3242550 B2 JP3242550 B2 JP 3242550B2 JP 16059695 A JP16059695 A JP 16059695A JP 16059695 A JP16059695 A JP 16059695A JP 3242550 B2 JP3242550 B2 JP 3242550B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- switching
- switching control
- failure
- processing group
- 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
Links
Landscapes
- Hardware Redundancy (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、二重化された通信シス
テムにおける系の切り換え制御方法及び系の切り換えを
行う切り換え制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching control method for a system in a duplex communication system and a switching control device for switching the system.
【0002】[0002]
【従来の技術】通信回線に接続される伝送装置、例え
ば、光伝送路に接続される光多重伝送装置では、通信シ
ステムの信頼性を高めるために、伝送装置内の回線及び
回路が二重化されている。二重化されたシステムでは、
常に障害の発生を監視し、現用系の障害を検出したな
ら、直ちに予備系に切り換え伝送情報を保護する必要が
ある。2. Description of the Related Art In a transmission apparatus connected to a communication line, for example, an optical multiplex transmission apparatus connected to an optical transmission line, lines and circuits in the transmission apparatus are duplicated in order to improve the reliability of the communication system. I have. In a duplicated system,
It is necessary to constantly monitor the occurrence of a failure and, when a failure in the active system is detected, immediately switch to the standby system to protect the transmission information.
【0003】ところで、伝送装置の切り換え制御処理と
しては、障害救済のための処理の他に、保守作業のため
の人為的な系の切り換えなど保守機能をサポートする処
理がある。[0003] As a switching control process of a transmission device, there is a process for supporting a maintenance function such as a manual switching of a system for maintenance work, in addition to a process for relieving a failure.
【0004】図6は、従来の切り換え制御方法に基づく
切り換え制御処理のフローチャートである。この切り換
え制御処理では、10ms毎のタイマ割り込みにより処
理全体の実行サイクルが管理されており、10ms毎の
タイマ割り込みが切り換え制御に必要な各種タイマのク
ロックとして用いられている。なお、この切り換え制御
処理は、伝送装置内の切り換え制御部により実行され
る。FIG. 6 is a flowchart of a switching control process based on a conventional switching control method. In this switching control process, the execution cycle of the entire process is managed by a timer interrupt every 10 ms, and the timer interrupt every 10 ms is used as a clock of various timers necessary for the switching control. The switching control process is executed by a switching control unit in the transmission device.
【0005】先ず、10ms周期のタイマ割り込みがあ
ったか否かを判別する(図5、S11)。この判別でタ
イマ割り込みが検出されなければ、タイマ割り込みの検
出処理を繰り返す。First, it is determined whether or not a timer interrupt with a period of 10 ms has occurred (S11 in FIG. 5). If no timer interrupt is detected in this determination, the timer interrupt detection process is repeated.
【0006】他方、タイマ割り込みが検出されたときに
は、ステップS12に進み動作環境の設定及び制御情報
の更新による割り込みが発生したか否かを判別する。系
の切り換え制御処理は、多様な動作環境に対応した切り
換えや、保守作業のための人為的な系の切り換え等をサ
ポートしており、それらの切り換え条件を決める設定情
報/制御情報は、障害を監視するシステム監視装置から
通知され、そのとき設定情報/制御情報を更新するため
の割り込みが発生する。On the other hand, when a timer interrupt is detected, the flow advances to step S12 to determine whether or not an interrupt has occurred due to setting of the operating environment and updating of control information. The system switching control process supports switching corresponding to various operating environments, artificial system switching for maintenance work, and the like. The setting information / control information that determines the switching conditions includes faults. The notification is sent from the system monitoring device to be monitored, and at that time, an interrupt for updating the setting information / control information is generated.
【0007】動作環境の設定情報/制御情報を更新する
為の割り込みが発生しているときには(S12、YE
S)、動作環境の設定/制御情報を取得する(S1
3)。そして、回線あるいは伝送装置の回路の障害の有
無を検出する(S14)。障害の検出は、伝送装置内の
障害検出部で行われ、障害検出部で検出された障害情報
が切り換え制御部に通知される。When an interrupt for updating the setting information / control information of the operating environment occurs (S12, YE
S), setting / control information of the operating environment is acquired (S1)
3). Then, the presence or absence of a failure in the line or the circuit of the transmission device is detected (S14). The detection of a failure is performed by a failure detection unit in the transmission device, and failure information detected by the failure detection unit is notified to the switching control unit.
【0008】次に、障害の有無、保守のための切り換え
要求並びに動作環境の設定情報/制御情報を総合的に判
断して適切な切り換え条件を決め(S15)、その切り
換え条件で系の切り換えを行う(S16)。さらに、各
種のタイマの起動/停止、カウントアップ、カウントダ
ウンを行う(S17)。次に、保守情報、回線品質情報
等を収集する保守管理機能の制御を行う(S18)。そ
して、障害があった場合の系の切り換え状況、保守管理
情報等を編集してシステム監視装置に通知する(S1
9)。Next, an appropriate switching condition is determined by comprehensively judging the presence / absence of a fault, a switching request for maintenance, and setting information / control information of the operating environment (S15), and the system is switched based on the switching condition. Perform (S16). Further, various timers are started / stopped, counted up, and counted down (S17). Next, a maintenance management function for collecting maintenance information, line quality information, and the like is controlled (S18). Then, the system switching status, maintenance management information, and the like in the event of a failure are edited and notified to the system monitoring device (S1
9).
【0009】[0009]
【発明が解決しようとする課題】伝送装置が高速で大量
の情報を扱うようになるにつれ、障害が発生した場合
に、短時間でシステムを正常に復旧させることが要望さ
れている。As the transmission apparatus handles a large amount of information at a high speed, it is required that the system can be normally restored in a short time when a failure occurs.
【0010】一方、上述した従来の切り換え制御方法で
は、障害を検出したとき予備系に切り換えてシステムを
正常に動作させる障害救済と保守管理及び他のサービス
機能の提供とを1つのサイクルの中で行っているため
に、切り換え制御処理全体の処理時間が長くなり、障害
復旧までに時間がかかるという問題点があった。また、
切り換え制御処理の起動タイミングが決められていたた
めに、処理が完了しても次の起動タイミングまで処理が
実行されないので、処理効率が悪いという問題点もあっ
た。On the other hand, in the above-described conventional switching control method, when a failure is detected, switching to the standby system and normal operation of the system are performed in a single cycle for repairing the failure, providing maintenance management, and providing other service functions. Therefore, there is a problem that the processing time of the entire switching control process becomes longer, and it takes time to recover from the failure. Also,
Since the start timing of the switching control process is determined, even if the process is completed, the process is not executed until the next start timing, so that there is a problem that the processing efficiency is poor.
【0011】本発明の課題は、短時間で障害を復旧でき
るようにすることである。An object of the present invention is to make it possible to recover from a failure in a short time.
【0012】[0012]
【課題を解決するための手段】二重化された通信システ
ムの現用系と予備系とを切り換える場合に、本発明の系
の切り換え制御方法は、系の切り換え制御に係わる処理
を処理の優先度に応じて複数の処理グループに分割し、
処理グループ毎に起動タイミングを変化させ、障害の検
出及び障害発生時の系の切り換え処理を、起動タイミン
グを変化させた処理グループの中で最も短いサイクルで
実行されるようにした。SUMMARY OF THE INVENTION When switching between a working system and a standby system in a duplexed communication system, a system switching control method according to the present invention performs processing related to system switching control according to the priority of the processing. Into multiple processing groups,
The startup timing is changed for each processing group, and the process of detecting a failure and switching systems when a failure occurs is executed in the shortest cycle in the processing group whose startup timing is changed.
【0013】図1は、本発明の系の切り換え制御方法の
原理説明図であり、系の切り換えに係わる処理を複数の
処理グループに分割したときの切り換え制御処理の内容
を示している。FIG. 1 is an explanatory view of the principle of the system switching control method of the present invention, and shows the contents of the switching control processing when the processing related to the system switching is divided into a plurality of processing groups.
【0014】同図では、系の切り換え制御に係わる処理
を、短時間での処理が要求される処理群(処理グループ
1)と、定期的に実行する必要があるが、処理グループ
1ほど短時間の処理が要求されない処理群(処理グルー
プ2)と、処理グループ1及び2ほどの時間的制限がな
い処理群、あるいはオペレータからの要求があったとき
のみ実行すればよい処理群(処理グループ3)との3つ
の処理グループ(図1のステップS1、S3、S5)に
分割している。そして、それぞれの処理グループの起動
タイミングを異ならせている。In FIG. 1, processing related to system switching control needs to be executed periodically with a processing group (processing group 1) requiring a short processing time. Group that does not require the processing (processing group 2), a processing group that is not as time-limited as processing groups 1 and 2, or a processing group that only needs to be executed when requested by an operator (processing group 3). Are divided into three processing groups (steps S1, S3, S5 in FIG. 1). The activation timing of each processing group is made different.
【0015】また、現用系と予備系とを切り換える本発
明の切り換え制御装置は、系の切り換え制御に係わる処
理を、それぞれの処理の優先度に応じて分割した複数の
処理グループと、それぞれの処理グループの起動タイミ
ングか否かを判定する判定処理とからなる切り換え制御
手段を有する。この切り換え制御手段は、図1の切り換
え制御処理を実行する。Further, the switching control apparatus of the present invention for switching between the active system and the standby system includes a plurality of processing groups obtained by dividing processing related to system switching control according to the priority of each processing, Switching control means for determining whether or not it is time to start the group. This switching control means executes the switching control processing of FIG.
【0016】[0016]
【作用】本発明の系の切り換え制御方法では、系の切り
換えに係わる処理を、それぞれの処理の優先度、すなわ
ちそれぞれの処理に要求される処理時間に応じて複数の
処理グループに分割している。例えば、障害検出及び障
害検出時に現用系から予備系に切り換える処理等からな
る処理グループ(図1のS1)は、障害の復旧を短時間
で行うために常時実行されるようにし、タイマ管理等の
定期的に実行する必要のある処理グループ2は、処理グ
ループ2の起動タイミングとなったとき(S2、YE
S)実行され(S3)、さらに、処理グループ3の起動
タイミングとなったとき(S4、YES)、処理グルー
プ1及び2より長い時間間隔で実行してもよい処理グル
ープ3の処理が実行される(S5)。In the system switching control method according to the present invention, the processing related to system switching is divided into a plurality of processing groups according to the priority of each processing, that is, the processing time required for each processing. . For example, a processing group (S1 in FIG. 1) including a process of detecting a failure and a process of switching from the active system to the standby system when the failure is detected, is always executed in order to recover from the failure in a short time. The processing group 2 that needs to be executed periodically is activated when the processing group 2 is activated (S2, YE
S) Executed (S3), and when it is time to activate processing group 3 (S4, YES), processing of processing group 3 that may be executed at a longer time interval than processing groups 1 and 2 is executed. (S5).
【0017】従って、本発明の系の切り換え制御方法に
よれば、障害検出及び障害検出時に現用系から予備系に
切り換える処理が、異なる起動タイミングで実行される
複数の処理グループの中で最も短いサイクルで実行され
るので、障害検出時の現用系から予備系への切り換えを
短時間で行うことができ、通信システムの信頼性をより
高めることができる。Therefore, according to the system switching control method of the present invention, the failure detection and the process of switching from the active system to the standby system at the time of failure detection have the shortest cycle among a plurality of processing groups executed at different startup timings. Therefore, switching from the active system to the standby system when a failure is detected can be performed in a short time, and the reliability of the communication system can be further improved.
【0018】[0018]
【実施例】以下、本発明の実施例を図面を参照しながら
説明する。図2は、本発明の系の切り換え制御方法を適
用した通信システムのシステム構成図である。Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a system configuration diagram of a communication system to which the system switching control method of the present invention is applied.
【0019】この通信システムは同期光ネットワークで
あり、複数の電話機を収容する加入者系交換機11a及
び11bが基幹系多重伝送装置12aに、加入者交換機
11c及び11dが基幹系多重伝送装置12bにそれぞ
れ接続されている。基幹系多重伝送装置12aと12b
との間の回線は現用系(work line) と予備系(protectio
n line) とに二重化されており、両者の間ははOC−X
〔SONET(synchronous optical network) における
光信号ハイアラーキの呼び名であり、例えばOC−12
=600Mbps,OC−3=150Mbps) で信号伝送が行われて
いる。また、加入者系交換機11a〜11dと基幹系光
多重伝送装置12a及び12bとの間は、DX−X〔S
ONETにおける光信号ハイアラーキの呼び名であり、
例えばDS−3=45Mbps, DS−1=1.5Mbps)で信号伝
送が行われる。この基幹系多重伝送装置12a、12b
が系の切り換え制御を実行する。This communication system is a synchronous optical network. The local exchanges 11a and 11b accommodating a plurality of telephones are connected to a backbone multiplex transmission apparatus 12a, and the local exchanges 11c and 11d are connected to a backbone multiplex transmission apparatus 12b. It is connected. Backbone multiplex transmission devices 12a and 12b
The line between the active system (work line) and the protection system (protectio
n line) and the space between the two is OC-X
[SONET (synchronous optical network) is the name of the optical signal hierarchy, for example, OC-12
= 600 Mbps, OC-3 = 150 Mbps). The DX-X [S] is provided between the subscriber exchanges 11a to 11d and the backbone optical multiplex transmission apparatuses 12a and 12b.
This is the name of the optical signal hierarchy in ONET.
For example, signal transmission is performed at DS-3 = 45 Mbps, DS-1 = 1.5 Mbps). The backbone multiplex transmission devices 12a and 12b
Performs system switching control.
【0020】次に、以上のような構成の実施例の動作を
説明する。図3は、本発明の第1実施例の基幹系多重伝
送装置(以下、伝送装置という)の切り換え制御処理の
フローチャートである。Next, the operation of the embodiment having the above configuration will be described. FIG. 3 is a flowchart of the switching control processing of the backbone multiplex transmission device (hereinafter, referred to as a transmission device) according to the first embodiment of the present invention.
【0021】この実施例は、タイマ管理処理と保守作業
による系の切り換え処理とをCPUのタイマ割り込みで
起動させる場合を示している。そして、切り換え制御部
において実行される切り換え制御処理の中で、障害検出
処理及び障害を検出したときの系の切り換え処理のよう
にできるだけ短時間で処理を終了させることが要求され
るものと、タイマ管理等のように一定時間毎に処理の実
行を要求されるものと、保守作業やその他のサービス機
能のように比較的処理時間が長くてもよいもの、あるい
は保守要求や動作環境の変更があった場合にだけ処理を
行えばよいものを、それぞれの処理が要求される処理時
間に基づいて3つの処理グループにグループ分けしてい
る。This embodiment shows a case where a timer management process and a system switching process for maintenance work are started by a timer interrupt of a CPU. A switching control process executed by the switching control unit, which is required to end the process in as short a time as possible, such as a failure detection process and a system switching process when a failure is detected, and a timer. Some tasks require processing to be executed at regular intervals, such as management, others require a relatively long processing time, such as maintenance work or other service functions, or some require maintenance or change the operating environment. The processing that needs to be performed only when the processing is performed is divided into three processing groups based on the processing time required for each processing.
【0022】以下、グループ分けしたそれぞれの処理を
説明する。先ず、伝送装置の回線及び回路の障害の有無
を検出する(図3、S21)。次に、切り換え要因の優
先度を判定する(S22)。この処理では、現用系に障
害が発生している場合には、予備系が正常か否かを判定
し、正常であれば、次にどの動作モードに設定されてい
るかを判定して切り換えの優先度を判定する。この実施
例の伝送装置は、自動切り換えモード、マニュアルモー
ド、フォースモードの3つの動作モードが設定可能であ
り、自動切り換えモードでは、障害が発生したとき系の
切り換えが自動的に行われ、マニュアルモードでは、オ
ペレータの要求に従って系の切り換えが行われるが、サ
ービスをストップさせるような系の切り換えは受け付け
られない。これに対して、フォースモードでは、オペレ
ータからの系の切り換え要求が優先される。In the following, each of the grouped processes will be described. First, the presence or absence of a fault in the line and circuit of the transmission device is detected (S21 in FIG. 3). Next, the priority of the switching factor is determined (S22). In this process, if a failure has occurred in the active system, it is determined whether or not the standby system is normal. If it is normal, it is determined which operation mode is set next, and the priority of switching is determined. Determine the degree. The transmission apparatus of this embodiment can set three operation modes: an automatic switching mode, a manual mode, and a force mode. In the automatic switching mode, the system is automatically switched when a failure occurs, and the manual mode is set. In this case, system switching is performed according to the operator's request, but system switching that stops the service is not accepted. On the other hand, in the force mode, a system switching request from the operator has priority.
【0023】動作モードから切り換え要因の優先度を判
定したなら、その判定結果に従って系の切り換えを行う
(S23)。その後、10ms毎の内部割り込みが発生し
たか否かを判別し(S24)、10ms毎の内部割り込み
が検出されなければ、ステップS21に戻り、障害の検
出処理を繰り返す。本実施例では、切り換え制御処理を
3つのグループに分割し、障害検出及び系の切り換え処
理のように短時間での処理が要求されるものは、10ms
毎あるいは500ms毎のタイマ割り込みが発生しない限
り常時実行され、タイマ管理のようにそれより優先度の
低い処理は、10ms毎のタイマ割り込みが発生したとき
に実行され、保守作業等よる系の切り換えのように、タ
イマ処理より優先度の低い処理は、500ms毎のタイマ
割り込みが発生したときに実行されるようにしている。When the priority of the switching factor is determined from the operation mode, the system is switched according to the determination result (S23). Thereafter, it is determined whether or not an internal interrupt has occurred every 10 ms (S24). If no internal interrupt has been detected every 10ms, the process returns to step S21 to repeat the fault detection process. In the present embodiment, the switching control process is divided into three groups, and a process requiring a short period of time, such as a fault detection and system switching process, is 10 ms.
It is always executed unless a timer interrupt occurs every 500 ms or every 500 ms. Processing with lower priority such as timer management is executed when a timer interrupt occurs every 10 ms, and switching of the system by maintenance work or the like is performed. As described above, the processing lower in priority than the timer processing is executed when a timer interrupt occurs every 500 ms.
【0024】すなわち、10ms毎の内部割り込みが発生
するまでの間は、障害検出処理と系の切り換え処理とか
らなるサイクルAの処理のみが実行されるので、サイク
ルAの処理時間が短くなり、障害の検出と復旧を短時間
で行うことができる。In other words, until the internal interrupt occurs every 10 ms, only the processing in the cycle A including the fault detection processing and the system switching processing is executed. Detection and recovery can be performed in a short time.
【0025】ステップS24の判別で10ms毎の内部割
り込みが検出されたときには(S24、YES)、10
ms毎の割り込み信号を基準としてタイマをアップカウン
トまたはダウンカントする(S25)。さらに、現在ど
ちらの系を使用しているかをオペレータに知らせる等の
保守管理機能の制御を行う(S26)。When an internal interrupt every 10 ms is detected in the determination in step S24 (S24, YES),
The timer is counted up or down based on the interrupt signal for each ms (S25). Further, a maintenance management function such as notifying an operator which system is currently used is controlled (S26).
【0026】上述したステップS21からステップS2
6までの処理がサイクルBの処理であり、ステップS2
5のタイマ管理とステップS26の保守管理機能の制御
とが10ms周期で実行される。The above-described steps S21 to S2
The processing up to 6 is the processing of cycle B, and the processing in step S2
The timer management of No. 5 and the control of the maintenance management function of Step S26 are executed in a cycle of 10 ms.
【0027】ステップS26の保守管理機能の制御が終
了したなら、500ms毎の内部割り込み(CPUのタイ
マ割り込み)が発生したか否かを判別する(S27)。
この判別で500ms毎の内部割り込みが発生していない
ときには、ステップS21に戻り障害の検出処理を実行
する。When the control of the maintenance management function in step S26 is completed, it is determined whether or not an internal interrupt (a timer interrupt of the CPU) occurs every 500 ms (S27).
If an internal interrupt has not occurred every 500 ms in this determination, the process returns to step S21 to execute a failure detection process.
【0028】他方、ステップS27の判別で500ms毎
の内部割り込みが発生したときには、ステップS28
で、動作環境の設定情報及び制御情報を取得する。次
に、保守作業によるオペレータの操作信号を取り込む
(S29)。そして、系の切り換え回数、保守情報、回
線品質情報等を収集する(S30)。その後、収集した
情報を監視装置に通知するための通知情報編集処理を行
う(S31)。On the other hand, if an internal interrupt occurs every 500 ms in the determination in step S27, the process proceeds to step S28.
Then, setting information and control information of the operating environment are acquired. Next, an operation signal of the operator due to the maintenance work is captured (S29). Then, the number of system switching, maintenance information, line quality information, and the like are collected (S30). Thereafter, notification information editing processing for notifying the monitoring device of the collected information is performed (S31).
【0029】上述したステップS21からS31の処理
がサイクルCの処理であり、このサイクルCの処理の内
でS28の設定/制御情報の取得処理からステップS3
1の監視装置への通知情報編集処理までの処理が500
ms周期で実行される。The processing of steps S21 to S31 described above is the processing of cycle C. In the processing of cycle C, the processing from the acquisition of the setting / control information of S28 to step S3 is performed.
Processing up to notification information editing processing for one monitoring device is 500
Executed in ms cycle.
【0030】この第1実施例では、系の切り換え制御処
理を、障害検出及び系の切り換え処理のように短時間で
の処理が要求されるものと、タイマ管理等のように一定
時間毎(障害検出ほど短い時間間隔で行う必要のないも
の)に実行する必要のあるものと、保守作業による切り
換え処理等のように比較的短時間での処理が要求されな
いもの、あるいはオペレータからの要求があったときの
み実行するればよいものを、要求される処理時間によっ
て3つの処理グループに分割している。そして、障害検
出及び系の切り換え処理のように短時間で行う必要のあ
る処理グループは短いサイクルAで実行し、タイマ管理
等の処理グループは、サイクルAより長いサイクルBで
実行し、保守作業等による切り換え処理グループは、サ
イクルBより長いサイクルCで実行している。In the first embodiment, a system switching control process requires processing in a short time, such as a failure detection and system switching process, and a system switching control process at fixed time intervals, such as timer management. There is a request that needs to be executed at a time interval that is not as short as the detection), a request that does not require processing in a relatively short time such as a switching process for maintenance work, or a request from the operator. Those that need to be executed only when necessary are divided into three processing groups according to the required processing time. Processing groups that need to be performed in a short time, such as failure detection and system switching processing, are executed in a short cycle A, and processing groups such as timer management are executed in a cycle B longer than the cycle A. Is executed in the cycle C longer than the cycle B.
【0031】従って、伝送装置の現用系に障害が発生し
た場合にも、短時間で予備系に切り換えることができ、
伝送装置の信頼性を向上させることができ。次に、グル
ープ分けしたタイマ管理処理群の起動タイミングと、保
守作業による切り換え処理群の起動タイミングを外部割
り込み発生時とした本発明の第2実施例を、図4のフロ
ーチャートを参照して説明する。Therefore, even if a failure occurs in the active system of the transmission device, it is possible to switch to the standby system in a short time,
The reliability of the transmission device can be improved. Next, a second embodiment of the present invention will be described with reference to the flowchart of FIG. 4 in which the activation timing of the grouped timer management processing groups and the activation timing of the switching processing group for maintenance work are set when an external interrupt occurs. .
【0032】先ず、伝送装置の回線及び回路の障害の有
無を検出する(図4、S41)。次に、切り換え要因の
優先度を判定する(S42)。優先度の判定にあたって
は、現用系に障害が発生している場合には、予備系が正
常か否かを判定し、正常であれば、次にどの動作モー
ド、すなわち自動切り換えモード、マニュアルモード、
フォースモードのいずれにに設定されているかを判定し
て切り換えの優先度を判定する。 切り換え要因の優先
度を判定したなら、その判定結果に従って系の切り換え
を行う(S43)。その後、10ms毎の外部割り込みが
発生したか否かを判別し(S44)、外部割り込みが発
生していなければ、ステップS41に戻り、障害の検出
処理を繰り返す。First, the presence or absence of a fault in the line and circuit of the transmission device is detected (S41 in FIG. 4). Next, the priority of the switching factor is determined (S42). In determining the priority, if a failure has occurred in the active system, it is determined whether or not the standby system is normal. If it is normal, the next operation mode, that is, the automatic switching mode, the manual mode,
It is determined which of the force modes is set and the switching priority is determined. When the priority of the switching factor is determined, the system is switched according to the determination result (S43). Thereafter, it is determined whether or not an external interrupt has occurred every 10 ms (S44). If no external interrupt has occurred, the process returns to step S41 to repeat the fault detection processing.
【0033】すなわち、10ms毎の外部割り込みが発生
するまでの間は、障害検出処理と系の切り換え処理とか
らなるサイクルAの処理のみが実行される。このサイク
ルAの処理時間は、後述するサイクルB、Cの処理時間
に比べ短いので、障害の検出と復旧を短時間で行うこと
ができる。In other words, until the external interrupt occurs every 10 ms, only the processing of the cycle A including the failure detection processing and the system switching processing is executed. Since the processing time of the cycle A is shorter than the processing times of the later-described cycles B and C, the failure can be detected and recovered in a short time.
【0034】ステップS44の判別で10ms毎の外部割
り込みが検出されたときには(S44、YES)、タイ
マ管理処理を実行し、10ms毎の信号を基準としてタイ
マをアップカウントまたはダウンカントする(S4
5)。さらに、現在どちらの系を使用しているかをオペ
レータに知らせる等の保守管理機能の制御を行う(S4
6)。When an external interrupt every 10 ms is detected in the determination in step S44 (S44, YES), a timer management process is executed, and the timer is counted up or down based on a signal every 10 ms (S4).
5). Further, control of a maintenance management function such as notifying an operator which system is currently used (S4).
6).
【0035】すなわち、10ms毎の外部割り込みが発生
したときには、上述したステップS41からステップS
46までのサイクルBの処理が実行される。ステップS
46の保守管理機能の制御が終了したなら、次に500
ms毎の外部割り込みが発生したか否かを判別する(S4
7)。この判別で500ms毎の外部割り込みが検出され
ないときには、ステップS41に戻り障害の検出処理を
実行する。That is, when an external interrupt occurs every 10 ms, the above-described steps S41 to S41 are executed.
The processing of cycle B up to 46 is executed. Step S
When the control of the maintenance management function of 46 is completed, the next 500
It is determined whether an external interrupt for each ms has occurred (S4).
7). If no external interrupt is detected every 500 ms in this determination, the process returns to step S41 to execute a failure detection process.
【0036】他方、ステップS47の判別で500ms毎
の内部割り込みが発生したときには、次のステップS4
8で、動作環境の設定情報及び制御情報を取得する。次
に、保守作業によるオペレータの操作信号を取り込む
(S49)。そして、系の切り換え回数、保守情報、回
線品質情報等を収集する(S50)。その後、収集した
情報を監視装置に通知するための通知情報編集処理を行
う(S51)。On the other hand, if an internal interrupt occurs every 500 ms in the determination in step S47, the next step S4
In step 8, setting information and control information of the operating environment are acquired. Next, an operation signal of the operator due to the maintenance work is captured (S49). Then, the number of system switching, maintenance information, line quality information, and the like are collected (S50). Thereafter, a notification information editing process for notifying the monitoring device of the collected information is performed (S51).
【0037】すなわち、500ms毎の外部割り込みが発
生したときには、上述したステップS41からステップ
S51までのサイクルCの処理が実行される。この第2
実施例では、通常はサイクルAの障害検出処理及び系の
切り換え処理を実行し、10ms毎の外部割り込みが発生
したときに、タイマを更新するタイマ管理処理を実行
し、500ms毎の外部割り込みが発生したときに、保守
作業のための系の切り換え処理等を実行するようにした
ので、障害の検出と復旧を短時間で行うことができる。That is, when an external interrupt occurs every 500 ms, the processing of the cycle C from step S41 to step S51 described above is executed. This second
In the embodiment, normally, a failure detection process in cycle A and a system switching process are executed, and when an external interrupt occurs every 10 ms, a timer management process for updating a timer is executed, and an external interrupt occurs every 500 ms. At this time, system switching processing for maintenance work is performed, so that failure detection and recovery can be performed in a short time.
【0038】次に、タイマ管理処理群の起動タイミング
と、保守作業による切り換え処理群の起動タイミング
を、内部割り込み発生時及び外部割り込み発生時とした
本発明の第3実施例を、図5のフローチャートを参照し
て説明する。Next, a third embodiment of the present invention in which the start timing of the timer management processing group and the start timing of the switching processing group due to maintenance work are performed when an internal interrupt occurs and when an external interrupt occurs will be described with reference to the flowchart of FIG. This will be described with reference to FIG.
【0039】この第3実施例も、系の切り換えに係わる
処理を、それぞれの処理に要求される処理時間によって
グループ分けしており、障害の検出処理群はサイクルA
の周期で実行され、タイマ管理処理群はサイクルBの周
期で実行され、保守作業による切り換え処理群はサイク
ルCでそれぞれ実行される。In the third embodiment as well, the processing related to system switching is grouped according to the processing time required for each processing.
, The timer management processing group is executed in the cycle of cycle B, and the switching processing group for maintenance work is executed in cycle C.
【0040】この第3実施例のフローチャートが、前述
した第1実施例のフローチャートと異なる点は、図5の
ステップS67の保守作業による切り換え処理群の起動
タイミングか否かの判定を500ms毎に発生する外部割
り込みにより行っている点である。The difference between the flowchart of the third embodiment and the flowchart of the first embodiment is that the determination as to whether or not it is the start timing of the switching process group by the maintenance work in step S67 of FIG. 5 is made every 500 ms. This is done by an external interrupt.
【0041】この第3実施例も、前述した第1及び第2
実施例と同様に系の切り換えに係わる処理をグループ分
けし、障害の検出及び障害が検出されたときの系の切り
換えが従来より短いサイクルで終了するようにしたの
で、伝送装置の障害を短時間で復旧させることができ
る。The third embodiment is also similar to the first and second embodiments described above.
As in the embodiment, processing related to system switching is grouped, and failure detection and system switching when a failure is detected are completed in a shorter cycle than before, so that failure of the transmission device can be shortened in a short time. Can be restored.
【0042】なお、上述した実施例は、系の切り換え制
御処理を、それぞれの処理が必要とされる処理時間から
3つの処理グループに分割した場合について説明した
が、分割するグループ数は3つに限らず、2つでもよい
し、4つ以上のグループに分割してもよい。In the above-described embodiment, the case where the system switching control processing is divided into three processing groups based on the processing time required for each processing has been described. However, the number of groups to be divided is reduced to three. The present invention is not limited to this, and may be two or may be divided into four or more groups.
【0043】[0043]
【発明の効果】本発明によれば、系の切り換えに係わる
処理をそれぞれの処理の優先度に応じて複数の処理グル
ープに分割し、各処理グループの起動タイミングを変化
させることで、例えば障害の検出及び障害の復旧に係わ
る処理時間を短くし、障害を短時間で復旧させることが
できる。According to the present invention, the processing related to system switching is divided into a plurality of processing groups according to the priority of each processing, and the activation timing of each processing group is changed, so that, for example, a failure Processing time related to detection and recovery from a failure can be shortened, and the failure can be recovered in a short time.
【図1】本発明の切り換え制御方法の原理説明図であ
る。FIG. 1 is a diagram illustrating the principle of a switching control method according to the present invention.
【図2】実施例の通信システムのシステム構成図であ
る。FIG. 2 is a system configuration diagram of a communication system according to an embodiment.
【図3】第1実施例の切り換え制御処理のフローチャー
トである。FIG. 3 is a flowchart of a switching control process according to the first embodiment.
【図4】第2実施例の切り換え制御処理のフローチャー
トである。FIG. 4 is a flowchart of a switching control process according to a second embodiment.
【図5】第3実施例の切り換え制御処理のフローチャー
トである。FIG. 5 is a flowchart of a switching control process according to a third embodiment.
【図6】従来の切り換え制御処理のフローチャートであ
る。FIG. 6 is a flowchart of a conventional switching control process.
S1 処理グループ1 S2 処理グループ2 S3 処理グループ3 S1 processing group 1 S2 processing group 2 S3 processing group 3
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 29/14 G06F 11/20 310 H04L 1/22 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 29/14 G06F 11/20 310 H04L 1/22
Claims (6)
備系とを切り換える切り換え制御方法において、 系の切り換え制御に係わる処理を処理の優先度に応じて
複数の処理グループに分割し、 該処理グループ毎に起動タイミングを変化させ、障害の
検出及び障害発生時の系の切り換え処理を、該起動タイ
ミングを変化させた処理グループの中で最も短いサイク
ルで実行されるようにしたことを特徴とする二重化され
た通信システムの系の切り換え制御方法。1. A switching control method for switching between a working system and a standby system of a duplexed communication system, wherein processing related to system switching control is divided into a plurality of processing groups according to processing priorities. The startup timing is changed every time, and the failure detection and the system switching process when the failure occurs are executed in the shortest cycle in the processing group in which the startup timing is changed. Switching control method for a communication system.
してタイマ割り込みを用いることを特徴とする請求項1
記載の系の切り換え制御方法。2. The method according to claim 1, wherein a timer interrupt is used as the activation timing for each processing group.
A method for controlling switching of the described system.
制御装置において、 系の切り換え制御に係わる処理を、それぞれの処理の優
先度に応じて分割した複数の処理グループと、それぞれ
の処理グループの起動タイミングか否かを判定する判定
処理とからなる切り換え制御手段を備えたことを特徴と
する切り換え制御装置。3. A switching control device for switching between an active system and a standby system, wherein a plurality of processing groups obtained by dividing processing related to system switching control according to the priority of each processing, and activation of each processing group. A switching control device comprising: switching control means for determining whether or not it is a timing.
及び障害発生時の系の切り換えを行う第1の処理グルー
プと、タイマの更新を行う第2の処理グループと、保守
のための系の切り換えを行う第3の処理グループとから
なり、前記判定処理は、該第1の処理グループの実行後
に、該第2の処理グループの起動タイミングか否かを判
定する第1の判定処理と、該第1の判定処理の判定周期
より長い周期で、前記第3の処理グループの起動タイミ
ングか否かを判定する第2の判定処理とからなることを
特徴とする請求項3記載の切り換え制御装置。4. The plurality of processing groups include a first processing group for detecting a failure and switching a system when a failure occurs, a second processing group for updating a timer, and a system for maintenance. A third processing group for performing switching, wherein the determination processing includes, after execution of the first processing group, a first determination processing of determining whether or not it is a start timing of the second processing group; 4. The switching control device according to claim 3, further comprising a second determination process for determining whether or not it is the activation timing of the third processing group in a cycle longer than a determination cycle of the first determination process.
したか否かを判定することを特徴とする請求項3記載の
切り換え制御装置。5. The switching control device according to claim 3, wherein the determination process determines whether a timer interrupt has occurred.
たか否かを判定することを特徴とする請求項3記載の切
り換え制御装置。6. The switching control device according to claim 3, wherein the determination process determines whether an external interrupt has occurred.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16059695A JP3242550B2 (en) | 1995-06-27 | 1995-06-27 | Method and apparatus for controlling switching of a system of a duplexed communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16059695A JP3242550B2 (en) | 1995-06-27 | 1995-06-27 | Method and apparatus for controlling switching of a system of a duplexed communication system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0918548A JPH0918548A (en) | 1997-01-17 |
| JP3242550B2 true JP3242550B2 (en) | 2001-12-25 |
Family
ID=15718374
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16059695A Expired - Fee Related JP3242550B2 (en) | 1995-06-27 | 1995-06-27 | Method and apparatus for controlling switching of a system of a duplexed communication system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3242550B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20010018159A (en) * | 1999-08-17 | 2001-03-05 | 서평원 | method for switch over standby processor in switching system |
-
1995
- 1995-06-27 JP JP16059695A patent/JP3242550B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0918548A (en) | 1997-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5740157A (en) | Distributed control methodology and mechanism for implementing automatic protection switching | |
| US5875290A (en) | Method and program product for synchronizing operator initiated commands with a failover process in a distributed processing system | |
| RU2606053C2 (en) | Method of controlling change in state interconnection node | |
| JPH1098489A (en) | Path switching method and apparatus in complex ring network system | |
| JPH07253957A (en) | Switching control method for parallel processors | |
| US5959969A (en) | Method for initiating a distributed restoration process | |
| GB2317071A (en) | Fault-tolerant ISDN PBX | |
| JP3242550B2 (en) | Method and apparatus for controlling switching of a system of a duplexed communication system | |
| CN101350735A (en) | A Method of Alarm Synchronization | |
| US5583986A (en) | Apparatus for and method of duplex operation and management for signalling message exchange no. 1 system | |
| JP2513919B2 (en) | Reconfiguration function stop prevention method for configuration controller | |
| CN100362816C (en) | A Method for Detecting the Good or Bad of the Backup Channel | |
| JP3266904B2 (en) | Monitoring system in statically connected network | |
| US6130877A (en) | Rate controlled broadcast for activation of entities in large scale data networks | |
| JPH02216931A (en) | Fault information reporting system | |
| JP3100464B2 (en) | Packet switch | |
| JP2002216279A (en) | Territory optimization method for monitoring system | |
| JPH0720128B2 (en) | Optical communication system failure detection / removal method | |
| KR100233467B1 (en) | Switching factor detecting and controlling method for switching protection unit to working unit in synchronous digital microwave transmission system | |
| CN115660364A (en) | Task scheduling method and related device | |
| JP3570893B2 (en) | Failure determination device | |
| JP2616696B2 (en) | Clock selection control method | |
| CN120416245A (en) | Fault handling system and method | |
| JPS62128249A (en) | Supervisory system by external supervisory equipment of exchange | |
| JPH07234802A (en) | Module switching control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20011009 |
|
| LAPS | Cancellation because of no payment of annual fees |