[go: up one dir, main page]

JP2009212724A - Switch device, and method and program for switching without instantaneous interruption thereof - Google Patents

Switch device, and method and program for switching without instantaneous interruption thereof Download PDF

Info

Publication number
JP2009212724A
JP2009212724A JP2008052598A JP2008052598A JP2009212724A JP 2009212724 A JP2009212724 A JP 2009212724A JP 2008052598 A JP2008052598 A JP 2008052598A JP 2008052598 A JP2008052598 A JP 2008052598A JP 2009212724 A JP2009212724 A JP 2009212724A
Authority
JP
Japan
Prior art keywords
unit
switch unit
cell
cells
switching
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
JP2008052598A
Other languages
Japanese (ja)
Inventor
Hideki Nishizaki
秀樹 西崎
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2008052598A priority Critical patent/JP2009212724A/en
Publication of JP2009212724A publication Critical patent/JP2009212724A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make cell stored states and queue selected states of the switch parts of the current system and a preliminary system coincide with each other. <P>SOLUTION: A switch device includes: a cell counting part 101-10-1 for counting the number of stored cells in a buffer of the current system switch part; the number of stored cells notifying part 101-11-1 for storing the number of stored cells upon starting a switching sequence and notifying the number of stored cells from the current system to the preliminary system switch part; an arrival cell storing part 101-14-1 for storing cells that arrive at the preliminary system switch part from the beginning time sequentially; the number of stored cells analyzing part 101-18-1 for simulating queue selection of the current system switch part in a period of time shorter than a one-cell time until catching up with the present time; the number of cells adjusting part 101-19-1 for selecting a queue on the basis of the number of stored cells and simulated arrival cells and selecting queues for the number of stored cells; and a state control part 101-17-1 for instructing a buffer control part to start writing at the same time with a switching start and to start reading after adjusting the number of cells, and switches from the current system to the preliminary system switch part after outputting the same cell from the current system and the preliminary system switch part. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は固定長データを扱うスイッチ装置に関する。特に、本発明は、現用系スイッチ部と予備系スイッチ部のセル出力を一致させるスイッチ装置、その無瞬断切り替え方法、及びプログラムに関する。   The present invention relates to a switch device that handles fixed length data. In particular, the present invention relates to a switch device for matching cell outputs of an active switch unit and a standby switch unit, an uninterruptible switching method, and a program.

現用系スイッチ部と予備系スイッチ部の内部に入力されてきたセルを格納するバッファがある場合、その蓄積状態を合わせ、セルを読み出すバッファ選択方式(Round Robin、Weighted Round Robin、完全優先など)の状態(Round Robinのポインタなど)を一致させなければ、現用系スイッチ部と予備系スイッチ部のセル出力を一致させることはできないため、出力部において現用系スイッチ部から予備系スイッチ部に単純に選択を切り替えても無瞬断に切り替えることはできない。   When there is a buffer for storing the input cells inside the active switch unit and the standby switch unit, a buffer selection method (Round Robin, Weighted Round Robin, complete priority, etc.) for matching the storage state and reading the cell is used. Since the cell outputs of the active system switch unit and the standby system switch unit cannot be matched unless the state (Round Robin pointer, etc.) is matched, the output unit simply selects from the active system switch unit to the standby system switch unit. Even if is switched, it cannot be switched without interruption.

現用系スイッチ部と予備系スイッチ部ではないが、複数のスイッチエレメントでビットスライスされたデータを処理するスイッチにおけるスイッチエレメント間の同期を取る(データ蓄積数を一致させる)方式としては、例えば、以下に、特許文献1に記載の方式がある。
ATMスイッチが複数のスイッチエレメントからなり、各エレメント間の同期動作を監視し保証するATMスイッチの監視回路を提供するため、入力信号は多重化部で多重化されてアドレスフィルタに供給され、アドレスフィルタの出力はカウンタでカウントされ、カウンタは各出力ポート毎のバッファ内のセル蓄積数を周期的にカウンし、カウンタのカウント値は周期的にレジスタに記憶され、レジスタの記憶値と、他のスイッチエレメントのレジスタの値とを比較回路で比較し、比較結果により同期ずれを監視し、不一致のときにリセット信号を送出して各スイッチエレメント間の同期制御を行うものである(例えば、特許文献1参照)。
Although not the active system switch unit and the standby system switch unit, as a method of synchronizing the switch elements in the switch that processes the bit sliced data by a plurality of switch elements (matching the number of stored data), for example, There is a method described in Patent Document 1.
An ATM switch is composed of a plurality of switch elements, and in order to provide a monitoring circuit for an ATM switch for monitoring and guaranteeing a synchronous operation between the elements, an input signal is multiplexed by a multiplexing unit and supplied to an address filter. The counter counts the number of cells stored in the buffer for each output port periodically, the counter count value is periodically stored in the register, the register stored value, and other switches The value of the register of the element is compared by a comparison circuit, the synchronization shift is monitored based on the comparison result, and a reset signal is transmitted when there is a mismatch, and synchronization control between the switch elements is performed (for example, Patent Document 1). reference).

これは、全てのスイッチエレメントにて自身が蓄積しているデータ蓄積数を他の全てのスイッチエレメントにデータ蓄積情報を送信し、全てのスイッチエレメントのデータ蓄積数が一致すれば同期が取れていると判断し、一致していなければ同期が取れていないと判断してバッファのリセットを行い、処理を再スタートさせることでスイッチエレメント間の同期を取る方式である。   This is because the data storage number stored in all switch elements is transmitted to all other switch elements and the data storage number of all the switch elements is synchronized. If it does not match, it is determined that synchronization is not achieved, the buffer is reset, and the process is restarted to synchronize the switch elements.

この方式の場合、スイッチエレメント間のデータ蓄積数の通知に1セル時間以上(例えば、Kセル時間)かかってしまうような場合には、予備系スイッチ部にはKセル時間前の現用系のセル蓄積数とバッファ選択方式の状態が通知されることになるために、スイッチエレメント間の同期を取ることができない。
また、現用系スイッチ部と予備系スイッチ部のセル出力を一致させる方式としては、例えば、以下に、特許文献2記載の方式がある。
In the case of this method, when it takes more than one cell time (for example, K cell time) to notify the number of accumulated data between switch elements, the standby system switch unit uses the active cell before K cell time. Since the number of accumulations and the state of the buffer selection method are notified, synchronization between switch elements cannot be achieved.
In addition, as a method of matching the cell outputs of the active switch unit and the standby switch unit, for example, there is a method described in Patent Document 2 below.

遅延優先制御機能を有する場合でもセル遅延を生じることなく無瞬断で冗長切替を行える冗長切替方式を提供するため、各遅延優先クラスごとに切替制御セルを生成し、最も遅延優先クラスの高い切替制御セルから順に、現用系スイッチ部および予備系スイッチ部に設けられた各キューに対して出力し、現用系スイッチの各キューでは、他のセルと同様に切替制御セルを蓄積して読み出し、予備系スイッチ部では切替制御セルの到着に応じてキューを初期化してセル読み出しを停止し、現用系スイッチからの切替制御セルの読み出しに応じて、予備系スイッチ部の対応する遅延優先クラスのキューからのセル読み出しを再開し、最低遅延優先クラスの切替制御セルが現用系スイッチ部ら読み出された場合に、予備系スイッチ部から読み出されたセルを主信号として選択出力するものである(例えば、特許文献2参照)。   In order to provide a redundant switching method that can perform redundant switching without interruption without causing cell delay even when a delay priority control function is provided, a switching control cell is generated for each delay priority class, and switching with the highest delay priority class is performed. In order from the control cell, the data is output to each queue provided in the active system switch unit and the standby system switch unit. In each queue of the active system switch, the switching control cell is accumulated and read out in the same manner as other cells, and The system switch unit initializes the queue in response to the arrival of the switching control cell, stops cell reading, and reads out the switching control cell from the active system switch, from the corresponding delay priority class queue in the standby system switching unit. Cell reading is resumed, and when the switching control cell of the lowest delay priority class is read from the active switch unit, it is read from the standby switch unit. And it selects output cell as the main signal (e.g., see Patent Document 2).

これは、スイッチ部のバッファが遅延優先クラス毎に分割されていた場合、全優先クラスのバッファの状態を一度に全てのバッファの状態を合わせるのではなく、最も高優先クラスのバッファから順番に合わせていく方式である。
この方式では、完全優先方式(セルが蓄積されているバッファのうち常に最高優先のバッファを優先的に選択する方式)であれば適用可能であるが、バッファ選択方式が例えば、Round Robin、Weighted Round Robinの場合のようにバッファを順番に選択していくようなバッファ選択方式には不可能である。
This is because when the buffer of the switch section is divided for each delay priority class, the buffer status of all priority classes is not adjusted to the status of all buffers at the same time, but from the buffer of the highest priority class in order. It is a method to go.
This method is applicable if it is a complete priority method (a method that always preferentially selects the highest priority buffer among the cells in which the cells are stored), but the buffer selection method is, for example, Round Robin or Weighted Round. This is not possible with the buffer selection method in which the buffers are sequentially selected as in the case of Robin.

また、現用系スイッチおよび予備系スイッチ内のバッファの内容を同期化させる方式としては、例えば、以下に、特許文献3記載の方式がある。
実現が簡単な回路だけを用いて構成することができ、しかも、冗長系の無瞬断切替が行えるATMスイッチシステムを提供するため、現用系スイッチおよび予備系スイッチ内のバッファの内容を同期化させるために、各スイッチにおいて、所定の内容のセルが入力されたときにバッファ内に存在しているセル数を検出するための回路(Tセル検出回路及びセル滞留数検出回路)を設けるとともに、それらのセル数の差に応じて、予備系スイッチのバッファの制御(所定の内容のセルの同期化)が行われるようにし、そして、各スイッチの後段において、所定の内容のセルが検出されたときに、外部に対して予備系スイッチのバッファ内のセルが出力されるようにATMスイッチシステムを構成するものである(例えば、特許文献3参照)。
Further, as a method of synchronizing the contents of the buffers in the active switch and the standby switch, for example, there is a method described in Patent Document 3 below.
In order to provide an ATM switch system that can be configured using only a circuit that is simple to implement, and that can switch redundantly without interruption, the contents of buffers in the active switch and the standby switch are synchronized. Therefore, each switch is provided with a circuit (T cell detection circuit and cell retention number detection circuit) for detecting the number of cells existing in the buffer when a cell having a predetermined content is input. The buffer of the standby switch is controlled according to the difference in the number of cells (synchronization of cells with a predetermined content), and when a cell with a predetermined content is detected in the subsequent stage of each switch In addition, the ATM switch system is configured so that the cells in the buffer of the standby switch are output to the outside (see, for example, Patent Document 3).

これは、同期化させるために、現用系スイッチおよび予備系スイッチにおいて、所定の内容のセルが入力されたときにバッファ内に存在しているセル数を検出し、それらのセル数の差に応じて、予備系スイッチのバッファの制御が行われる方式である。
この方式では、前述のように、完全優先方式(セルが蓄積されているバッファのうち常に最高優先のバッファを優先的に選択する)であれば適用可能であるが、バッファ選択方式が例えば、Round Robin、Weighted Round Robinの場合のようにバッファを順番に選択していくようなバッファ選択方式には不可能である。
In order to synchronize, the active switch and the standby switch detect the number of cells existing in the buffer when a cell with a predetermined content is input, and respond to the difference in the number of cells. Thus, the buffer of the standby system switch is controlled.
As described above, this method can be applied to the complete priority method (always preferentially selecting the highest priority buffer among the buffers in which cells are stored), but the buffer selection method is, for example, Round. It is impossible to use a buffer selection method in which the buffers are selected in order as in the case of Robin and Weighted Round Robin.

特開平08−242233号公報Japanese Patent Laid-Open No. 08-242233 特開平10−190683号公報JP-A-10-190683 特開平08−139726号公報JP 08-139726 A

したがって、本発明は上記問題点に鑑みて、現用系スイッチ部におけるセル蓄積状態、キュー選択状態などの情報の予備系スイッチ部への通知処理が1セル時間では終わらない場合でも、また、キュー選択制御として完全優先制御以外のアルゴリズムに対しても現用系スイッチ部と予備系スイッチ部のセル蓄積状態とキュー選択状態を一致させ、無瞬断切り替えを実現するスイッチ装置、その無瞬断切り替え方法、及びプログラムを提供することを目的とする。   Therefore, in view of the above problems, the present invention is not limited to the case where the process of notifying the standby switch unit of information such as the cell accumulation state and queue selection state in the active switch unit is completed in one cell time. Switch device that realizes uninterruptible switching by matching the cell storage state and queue selection state of the active system switch unit and the standby system switch unit for algorithms other than complete priority control as control, its uninterruptible switching method, And to provide a program.

本発明は前記問題点を解決するために、現用系スイッチ部と予備系スイッチ部の各々に、固定長データをセルとし同じセルを分配する分配部と、セルを内部に蓄積するバッファ部と、予め決められたアルゴリズムに従って前記バッファ部の書込又は読出制御をするバッファ制御部と、前記現用系スイッチ部からの出力セルと前記予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置において、前記現用系スイッチ部には、前記現用系スイッチ部の前記バッファ部における蓄積セル数をカウントするセルカウント部と、前記セルカウント部からカウント値が通知され、切り替えシーケンス開始時刻における蓄積セル数を保持し、前記現用系スイッチ部から前記予備系スイッチ部に通知する蓄積セル数通知部とを備え、前記予備系スイッチ部には、前記予備系スイッチ部に到着するセルを切り替えシーケンス開始時刻から時系列で記憶する到着セル記憶部と、前記現用系スイッチ部から通知された切り替えシーケンス開始時の前記バッファ部における蓄積セル数を初期状態として前記到着セル記憶部に記憶されている時系列のセル到着情報を使って前記現用系スイッチ部のキュー選択動作を1セル時間より短い時間で現在時刻に追いつくまでシミュレートしていく蓄積セル数解析部と、前記蓄積セル解析部からのシミュレートの結果として得られた蓄積セル数情報とシミュレート後に到着するセルをもとにキュー選択動作を行い、シミュレータの結果として得られた蓄積セル数分だけキュー選択されるまで動作するセル数調整部と、切り替えシーケンス開始と同時に前記バッファ制御部をリセットすると同時に書込制御と読出制御を停止し、前記蓄積セル数解析部での蓄積セル解析終了後にバッファ制御部に書込開始を指示し、前記セル数調整部でのセル数調整終了後にバッファ制御部に読出開始を指示する状態制御部とを備え、前記現用系スイッチ部と前記予備系スイッチ部の前記バッファ部におけるセル蓄積状態とキュー選択状態が一致し、両方から常に同一のセルが出力されるようになった後に、前記選択部にて前記現用系スイッチ部から前記予備系スイッチ部に切り替えることにより無瞬断切り替えを実現することを特徴とするスイッチ装置を提供する。   In order to solve the above problems, the present invention provides a distribution unit that distributes the same cell as fixed-length data to each of the active switch unit and the standby switch unit, and a buffer unit that stores the cells therein, A buffer control unit for controlling writing or reading of the buffer unit in accordance with a predetermined algorithm, and a selection unit for selecting one of the output cell from the active switch unit and the output cell from the standby switch unit In the switch device, the active switch unit is notified of a count value from the cell count unit that counts the number of cells stored in the buffer unit of the active switch unit, and the cell count unit, and a switching sequence start time Storing the number of storage cells in the storage system, and notifying the standby system switch unit from the active system switch unit, The standby switch unit includes an arrival cell storage unit that stores cells arriving at the standby switch unit in chronological order from a switching sequence start time, and a switching sequence start time notified from the active switch unit. Using the time-series cell arrival information stored in the arrival cell storage unit with the number of cells stored in the buffer unit as an initial state, the queue selection operation of the active switch unit is set to the current time in a time shorter than one cell time. Perform the queue selection operation based on the number of storage cells obtained as a result of the simulation from the storage cell analysis unit and the cells that arrive after the simulation, A cell number adjustment unit that operates until a queue is selected for the number of stored cells obtained as a result of the simulator, and a switching sequence. The buffer control unit is reset simultaneously with the start and simultaneously the write control and the read control are stopped. After the storage cell analysis in the storage cell number analysis unit is finished, the buffer control unit is instructed to start writing, and the cell number adjustment unit A state control unit for instructing the buffer control unit to start reading after the cell number adjustment is completed, and the cell storage state and the queue selection state in the buffer unit of the active system switch unit and the standby system switch unit match, A switching device that realizes uninterrupted switching by switching from the active switch unit to the backup switch unit in the selection unit after the same cell is always output from both I will provide a.

また、前記バッファ部は複数のキューで構成される。
また、前記バッファ部で構成される複数のキューを優先クラス毎に割り当てる。
また、前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を共通フレーム位相で実施する。
また、前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を切り替え制御セルで実施する。
The buffer unit includes a plurality of queues.
In addition, a plurality of queues configured by the buffer unit are allocated for each priority class.
Further, synchronization of the start of the switching sequence between the active switch unit and the standby switch unit is performed in a common frame phase.
In addition, the switching control cell synchronizes the start of the switching sequence of the active switch unit and the standby switch unit.

また、前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を前記現用系スイッチ部と前記予備系スイッチ部のうち一方から他方に通知する。
また、前記蓄積セル数通知部は前記現用系スイッチ部から前記予備系スイッチ部に切り替えシーケンス開始時刻における蓄積セル数の情報に加えてキュー選択動作に使用しているポイント情報も合わせて通知する。
Further, synchronization of the start of the switching sequence of the active switch unit and the standby switch unit is notified from one of the active switch unit and the standby switch unit to the other.
Further, the storage cell number notifying unit notifies the active switch unit to the standby switch unit together with the information on the number of stored cells at the switching sequence start time and the point information used for the queue selection operation.

また、前記現用系スイッチ部から前記予備系スイッチ部には切り替えシーケンス開始と同時に両系におけるキュー選択動作にて使用しているポインタを予め決められた同じ値に合わせる。
また、前記現用系スイッチ部が蓄積セル数を保持するのと同時刻に前記予備系スイッチ部の蓄積セル数を保持するバッファ制御/セルカウント部を備え、バッファ制御/セルカウント部は保持した蓄積セル数と前記現用系スイッチ部から受信した蓄積セル数との比較を行い、一致していれば何もせず、異なっていれば合わせ込み処理を行うことで、前記選択部での切り替え処理前に予め合わせ込み処理を実施しておく。
In addition, the pointer used in the queue selection operation in both systems is set to the same predetermined value simultaneously with the start of the switching sequence from the active system switch unit to the standby system switch unit.
In addition, a buffer control / cell count unit for holding the number of storage cells in the standby system switch unit at the same time as the working system switch unit holds the number of storage cells is provided. Compare the number of cells with the number of stored cells received from the active switch unit, do nothing if they match, and perform a matching process if they are different, before switching processing in the selection unit A matching process is performed in advance.

また、本発明は、固定長データをセルとしセルを内部に蓄積するバッファ部と、予め決められたアルゴリズムに従って前記バッファ部の書込又は読出制御をするバッファ制御部をそれぞれ有する現用系スイッチ部及び予備系スイッチ部を備え、さらに、前記現用系スイッチ部及び前記予備系スイッチ部の各々に同じセルを分配する分配部と、前記現用系スイッチ部からの出力セルと前記予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置の無瞬断切り替え方法において、前記現用系スイッチ部の前記バッファ部における蓄積セル数をカウントする工程と、前記セルカウント部からカウント値が通知され、切り替えシーケンス開始時刻における蓄積セル数を保持し、前記現用系スイッチ部から前記予備系スイッチ部に通知する工程と、前記予備系スイッチ部に到着するセルを切り替えシーケンス開始時刻から時系列で記憶する工程と、前記現用系スイッチ部から通知された切り替えシーケンス開始時の前記バッファ部における蓄積セル数を初期状態として記憶されている時系列のセル到着情報を使って前記現用系スイッチ部のキュー選択動作を1セル時間より短い時間で現在時刻に追いつくまでシミュレートする工程と、シミュレートの結果として得られた蓄積セル数情報とシミュレート後に到着するセルをもとにキュー選択動作を行い、シミュレータの結果として得られた蓄積セル数分だけキュー選択されるまで動作する工程と、切り替えシーケンス開始と同時に前記バッファ制御部をリセットすると同時に書込制御と読出制御を停止し、蓄積セル解析終了後にバッファ制御部に書込開始を指示し、セル数調整終了後にバッファ制御部に読出開始を指示する工程と、前記現用系スイッチ部と前記予備系スイッチ部の前記バッファ部におけるセル蓄積状態とキュー選択状態が一致し、両方から常に同一のセルが出力されるようになった後に、前記選択部にて前記現用系スイッチ部から前記予備系スイッチ部に切り替えることにより無瞬断切り替えを実現する工程とを備えることを特徴とするスイッチ装置の無瞬断切り替え方法を提供する。   The present invention also provides an active switch unit having a buffer unit for storing fixed-length data as a cell and storing the cell therein, and a buffer control unit for controlling writing or reading of the buffer unit according to a predetermined algorithm, and A standby switch unit, a distribution unit that distributes the same cell to each of the active switch unit and the standby switch unit, an output cell from the active switch unit, and an output from the standby switch unit In a non-instantaneous switching method of a switching device including a selection unit that selects any one of cells, a step of counting the number of accumulated cells in the buffer unit of the active switch unit, and a count value is notified from the cell count unit The number of stored cells at the start time of the switching sequence is held, and the standby switch is connected from the active switch unit. A step of notifying the switch unit, a step of storing the cells arriving at the standby system switch unit in time series from the switching sequence start time, and the buffer unit at the time of starting the switching sequence notified from the active system switch unit Simulating the queue selection operation of the active switch unit using the time-series cell arrival information stored with the number of stored cells as an initial state until it catches up to the current time in a time shorter than one cell time; Queue selection operation based on the number of stored cells information obtained as a result of the above and the cells that arrive after simulation, and the process of switching until the number of stored cells obtained as a result of the simulator is selected. At the same time when the sequence starts, the buffer control unit is reset and at the same time the write control and read control are stopped and stored. The buffer control unit is instructed to start writing after the completion of cell analysis, the buffer control unit is instructed to start reading after the cell number adjustment is completed, and the cell storage in the buffer unit of the active system switch unit and the standby system switch unit After the state and the queue selection state match, and the same cell is always output from both, the switching unit switches from the active system switch unit to the standby system switch unit so that uninterruptible switching is performed. And a step of realizing the switching method.

また、前記バッファ部は複数のキューで構成される。
また、前記バッファ部で構成される複数のキューを優先クラス毎に割り当てる。
また、前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を共通フレーム位相で実施する。
また、前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を切り替え制御セルで実施する。
The buffer unit includes a plurality of queues.
In addition, a plurality of queues configured by the buffer unit are allocated for each priority class.
Further, synchronization of the start of the switching sequence between the active switch unit and the standby switch unit is performed in a common frame phase.
In addition, the switching control cell synchronizes the start of the switching sequence of the active switch unit and the standby switch unit.

また、前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を前記現用系スイッチ部と前記予備系スイッチ部のうち一方から他方に通知する。
また、前記現用系スイッチ部から前記予備系スイッチ部に切り替えシーケンス開始時刻における蓄積セル数の情報に加えてキュー選択動作に使用しているポイント情報も合わせて通知する。
Further, synchronization of the start of the switching sequence of the active switch unit and the standby switch unit is notified from one of the active switch unit and the standby switch unit to the other.
Further, in addition to the information on the number of stored cells at the switching sequence start time, the point information used for the queue selection operation is also notified from the active switch unit to the standby switch unit.

また、前記現用系スイッチ部から前記予備系スイッチ部には切り替えシーケンス開始と同時に両系におけるキュー選択動作にて使用しているポインタを予め決められた同じ値に合わせる。
また、前記現用系スイッチ部が蓄積セル数を保持するのと同時刻に前記予備系スイッチ部の蓄積セル数を保持し、保持した蓄積セル数と前記現用系スイッチ部から受信した蓄積セル数との比較を行い、一致していれば何もせず、異なっていれば合わせ込み処理を行うことで、前記選択部での切り替え処理前に予め合わせ込み処理を実施しておく。
In addition, the pointer used in the queue selection operation in both systems is set to the same predetermined value simultaneously with the start of the switching sequence from the active system switch unit to the standby system switch unit.
Further, at the same time when the working switch unit holds the number of storage cells, the number of storage cells of the standby switch unit is held, and the number of stored cells and the number of storage cells received from the working switch unit are The matching process is performed in advance before the switching process in the selection unit by performing no comparison if they match and performing the matching process if they are different.

また、本発明は、固定長データをセルとしセルを内部に蓄積するバッファ部と、予め決められたアルゴリズムに従って前記バッファ部の書込又は読出制御をするバッファ制御部をそれぞれ有する現用系スイッチ部及び予備系スイッチ部を備え、さらに、前記現用系スイッチ部及び前記予備系スイッチ部の各々に同じセルを分配する分配部と、前記現用系スイッチ部からの出力セルと前記予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置の無瞬断切り替えプログラムにおいて、前記現用系スイッチ部の前記バッファ部における蓄積セル数をカウントする手順と、前記セルカウント部からカウント値が通知され、切り替えシーケンス開始時刻における蓄積セル数を保持し、前記現用系スイッチ部から前記予備系スイッチ部に通知する手順と、前記予備系スイッチ部に到着するセルを切り替えシーケンス開始時刻から時系列で記憶する手順と、前記現用系スイッチ部から通知された切り替えシーケンス開始時の前記バッファ部における蓄積セル数を初期状態として記憶されている時系列のセル到着情報を使って前記現用系スイッチ部のキュー選択動作を1セル時間より短い時間で現在時刻に追いつくまでシミュレートする手順と、シミュレートの結果として得られた蓄積セル数情報とシミュレート後に到着するセルをもとにキュー選択動作を行い、シミュレータの結果として得られた蓄積セル数分だけキュー選択されるまで動作する手順と、切り替えシーケンス開始と同時に前記バッファ制御部をリセットすると同時に書込制御と読出制御を停止し、蓄積セル解析終了後にバッファ制御部に書込開始を指示し、セル数調整終了後にバッファ制御部に読出開始を指示する手順と、前記現用系スイッチ部と前記予備系スイッチ部の前記バッファ部におけるセル蓄積状態とキュー選択状態が一致し、両方から常に同一のセルが出力されるようになった後に、前記選択部にて前記現用系スイッチ部から前記予備系スイッチ部に切り替えることにより無瞬断切り替えを実現する手順とを備えることを特徴とするスイッチ装置の無瞬断切り替えプログラムを提供する。   The present invention also provides an active switch unit having a buffer unit for storing fixed-length data as a cell and storing the cell therein, and a buffer control unit for controlling writing or reading of the buffer unit according to a predetermined algorithm, and A standby switch unit, a distribution unit that distributes the same cell to each of the active switch unit and the standby switch unit, an output cell from the active switch unit, and an output from the standby switch unit In a non-instantaneous switching program of a switching device including a selection unit for selecting any one of cells, a procedure for counting the number of accumulated cells in the buffer unit of the active switch unit, and a count value notified from the cell count unit The number of stored cells at the start time of the switching sequence is held, and the preliminary switch is sent from the active switch unit. A procedure for notifying the system switch unit, a procedure for storing cells arriving at the backup system switch unit in chronological order from the switching sequence start time, and the buffer unit at the start of the switching sequence notified from the active system switch unit. Using the time-series cell arrival information stored with the number of stored cells as an initial state, a procedure for simulating the queue selection operation of the active switch unit until it catches up to the current time in a time shorter than one cell time, Queue selection operation based on the number of stored cells information obtained as a result of the above and the cells that arrive after simulation, and the procedure to switch until the number of stored cells obtained as a result of the simulator is selected and switching At the same time when the sequence starts, the buffer control unit is reset and at the same time the write control and read control are stopped. A procedure for instructing the buffer control unit to start writing after the storage cell analysis is completed, and a command for instructing the buffer control unit to start reading after the adjustment of the number of cells, and a cell in the buffer unit of the active system switch unit and the standby system switch unit After the accumulation state and the queue selection state match, and the same cell is always output from both, the switching unit switches from the working system switch unit to the standby system switch unit so that the switch can be switched instantaneously. And a switch program for switching the switch device without interruption.

以上説明したように、本発明によれば、現用系スイッチ部のバッファ部における蓄積セル数をカウントし、カウント値が通知され、切り替えシーケンス開始時刻における蓄積セル数を保持し、現用系スイッチ部から予備系スイッチ部に通知し、予備系スイッチ部に到着するセルを切り替えシーケンス開始時刻から時系列で記憶し、現用系スイッチ部から通知された切り替えシーケンス開始時のバッファ部における蓄積セル数を初期状態として記憶されている時系列のセル到着情報を使って現用系スイッチ部のキュー選択動作を1セル時間より短い時間で現在時刻に追いつくまでシミュレートし、シミュレートの結果として得られた蓄積セル数情報とシミュレート後に到着するセルをもとにキュー選択動作を行い、シミュレータの結果として得られた蓄積セル数分だけキュー選択されるまで動作し、切り替えシーケンス開始と同時にバッファ制御部をリセットすると同時に書込制御と読出制御を停止し、蓄積セル解析終了後にバッファ制御部に書込開始を指示し、セル数調整終了後にバッファ制御部に読出開始を指示し、現用系スイッチ部と予備系スイッチ部のバッファ部におけるセル蓄積状態とキュー選択状態が一致し、両方から常に同一のセルが出力されるようになった後に、選択部にて現用系スイッチ部から予備系スイッチ部に切り替えることにより無瞬断切り替えを実現するようにしたので、予備系スイッチ部101−22において、切り替えシーケンス開始時刻の現用系スイッチ部101−4における蓄積セル数と切り替え開始時刻以降の時系列のセル到着情報を基に、切り替えシーケンス開始時刻以降の現用系スイッチ部101−4におけるキュー選択動作を再現できるようにした。   As described above, according to the present invention, the number of storage cells in the buffer unit of the active system switch unit is counted, the count value is notified, the number of storage cells at the switching sequence start time is held, and the current system switch unit Notify the standby switch unit, store the cells arriving at the standby switch unit in chronological order from the switching sequence start time, and initialize the number of cells stored in the buffer unit at the start of the switching sequence notified from the active switch unit The number of stored cells obtained as a result of the simulation is simulated by using the time-series cell arrival information stored as, and simulating the queue selection operation of the active switch unit until it catches up to the current time in a time shorter than one cell time. Based on the information and the cells that arrive after simulation, a queue selection operation is performed and the result of the simulator is obtained. As many queues as the number of stored cells are selected, the buffer control unit is reset simultaneously with the start of the switching sequence, and simultaneously the write control and read control are stopped. After the storage cell analysis is completed, the buffer control unit starts writing. After the adjustment of the number of cells, the buffer control unit is instructed to start reading, and the cell storage state and queue selection state in the buffer unit of the active system switch unit and the standby system switch unit match, and the same cell is always output from both Since the switching unit is switched from the active system switch unit to the standby system switch unit by the selection unit to realize uninterruptible switching, the switching sequence start time in the standby system switch unit 101-22 is realized. Switch based on the number of cells stored in the active switch unit 101-4 and the time-series cell arrival information after the switching start time. Was to be able to reproduce the queue selection operation in sequence start time after the active system switch unit 101-4 instead.

従来では、固定長データ(セルと記載)を内部に蓄積するバッファ部とあらかじめ決められたアルゴリズムに従って、バッファ部の書込または読出制御をするバッファ制御部とを持つスイッチ部を現用系スイッチ部と予備系スイッチ部の2つ備え、現用系スイッチ部と予備系スイッチ部に同じセルを分配する分配(コピー)部と現用系スイッチ部からの出力セルと予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置において、選択部にて選択するスイッチ部を現用系スイッチ部から予備系スイッチ部に切り替える時に、現用系スイッチ部のセル蓄積状態とキュー選択状態(Round Robinのポインタなど)が一致していないと無瞬断に切り替えることができず、現用系スイッチ部と予備系スイッチ部のセル蓄積状態とキュー選択状態を一致させるためには、現用系スイッチ部から自身のセル蓄積状態とキュー選択状態を予備系スイッチ部に通知して、予備系スイッチ部がその情報をもとに動作することが考えられるが、通知処理が1セル時間で終わらないような場合には、予備系スイッチ部では、過去の現用系スイッチ部の状態をもとに動作を開始することになるので現用系スイッチ部と予備系スイッチ部のセル蓄積状態とキュー選択状態が一致せず、選択部における無瞬断切り替えが実現できなかった。   Conventionally, a switch unit having a buffer unit that stores therein fixed-length data (described as a cell) and a buffer control unit that controls writing or reading of the buffer unit according to a predetermined algorithm is referred to as an active switch unit. There are two standby switch units, one of the distribution (copy) unit that distributes the same cell to the active switch unit and the standby switch unit, the output cell from the active switch unit, and the output cell from the standby switch unit In a switch device including a selection unit for selecting one, when the switch unit selected by the selection unit is switched from the active system switch unit to the standby system switch unit, the cell storage state and the queue selection state of the active system switch unit (of Round Robin) If the pointers do not match, it will not be possible to switch to uninterrupted switching. In order to match the queue storage state with the queue selection state, the active switch unit notifies the standby switch unit of its own cell storage state and queue selection state, and the standby switch unit operates based on the information. However, if the notification process does not end in one cell time, the standby switch unit starts operation based on the status of the previous active switch unit. The cell accumulation state and the queue selection state of the switch unit and the standby system switch unit do not coincide with each other, so that the instantaneous switching without the selection unit cannot be realized.

これに対して、本発明では、予備系スイッチ部において、切り替えシーケンス開始時刻の現用系スイッチ部における蓄積セル数(Round RobinやWeighted Round RobinのポインタやWeight情報なども含む)と切り替え開始時刻以降の時系列のセル到着情報をもとに、切り替えシーケンス開始時刻以降の現用系スイッチ部におけるキュー選択動作を再現できるようにしたことにより、現用系スイッチと予備系スイッチの蓄積セル数の認識が一致し、現用系スイッチと予備系スイッチの動作を完全に一致させることができるため、出力インタフェース部の選択部にて選択するスイッチを現用系スイッチと予備系スイッチに切り替えることで無瞬断切り替えを実現できるようになった。   On the other hand, in the present invention, in the standby system switch unit, the number of cells stored in the active system switch unit at the switching sequence start time (including the Round Robin and Weighted Round Robin pointers and Weight information) and the switching start time and later Based on the time-series cell arrival information, the queue selection operation in the active switch unit after the switching sequence start time can be reproduced, so that the recognition of the number of stored cells in the active switch and the standby switch coincides. Because the operation of the active system switch and the standby system switch can be made to match completely, switching between the active system switch and the standby system switch can be realized by switching the switch to be selected by the selection unit of the output interface unit. It became so.

以下、本発明の実施の形態について図面を参照して説明する。
図1は本発明に係るスイッチ装置の概略構成を示すブロック図である。本図に示すように、スイッチ装置100は、N個の入力インタフェース101−1−1〜101−1−Nと、N個の出力インタフェース101−20−1〜101−20−Nの間を現用系スイッチ部101−4、予備系スイッチ部101−22にて接続しているスイッチとなっており、その無瞬断切り替え動作を行う。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a switch device according to the present invention. As shown in this figure, the switch device 100 is used between N input interfaces 101-1-1 to 101-1-N and N output interfaces 101-20-1 to 101-20-N. It is a switch connected by the system switch unit 101-4 and the standby system switch unit 101-22, and performs the uninterruptible switching operation.

本例では、入力インタフェース数と出力インタフェース数を共にN個で同じ数となっているが異なる数であっても問題はない。
入力インタフェース101−1−1〜101−1−Nはセル化部101−2−1〜101−2−N、分配部101−3−1〜101−3−Nからなるブロックで受信データを固定長データ(セル)に分割し、現用系スイッチ部101−4と予備系スイッチ部101−22にセルを分配(コピー)する。
In this example, the number of input interfaces and the number of output interfaces are both N, which is the same number, but there is no problem even if the numbers are different.
The input interfaces 101-1-1 to 101-1-N fix received data in a block composed of the cell units 101-2-1 to 101-2-N and the distribution units 101-3-1 to 101-1-N. The data is divided into long data (cells), and the cells are distributed (copied) to the active system switch unit 101-4 and the standby system switch unit 101-22.

現用系スイッチ部101−4は入力インタフェース101−1−1〜101−1−Nから受信したセルを宛先となる出力インタフェース101−20−1〜101−20−Nにスイッチング処理を行うブロックで、多重部101−5、フィルタ部101−6−1〜101−6−N、宛先データ管理部101−7−1〜101−7−Nからなる。
多重部101−5は入力インタフェース101−1−1〜101−1−Nから入力されたセルを時分割多重するブロックで、多重データはフィルタ部101−6−1〜101−6−Nに出力される。
The active switch unit 101-4 is a block that performs switching processing of cells received from the input interfaces 101-1-1 to 101-1-N to the output interfaces 101-20-1 to 101-20-N as destinations. It comprises a multiplexing unit 101-5, filter units 101-1-6-1 to 101-6-N, and destination data management units 101-7-1 to 101-7-N.
Multiplexer 101-5 is a block that time-division-multiplexes cells input from input interfaces 101-1-1 to 101-1-N, and outputs multiplexed data to filter units 101-1-6-1 to 101-6-N. Is done.

フィルタ部101−6−1〜101−6−Nは多重データからそれぞれ宛先a1(出力インタフェース101−20−1行き)〜宛先aN(出力インタフェース101−20−N行き)のセルのみを通過させそれ以外は削除するブロックで処理後のデータはそれぞれ宛先データ管理部101−7−1〜101−7−Nに送出する。
宛先データ管理部101−7−1は、バッファ部101−8−1、バッファ制御部101−9−1、セルカウント部101−10−1、蓄積セル数通知部101−11からなる。
The filter units 101-1-1 to 101-6 -N pass only cells from the destination a 1 (to the output interface 101-20-1) to the destination aN (to the output interface 101-20 -N) from the multiplexed data. Except for the block to be deleted, the processed data is sent to the destination data management units 101-7-1 to 101-7-N, respectively.
The destination data management unit 101-7-1 includes a buffer unit 101-8-1, a buffer control unit 101-9-1, a cell count unit 101-10-1, and an accumulated cell number notification unit 101-11.

バッファ部101−8−1は内部を優先度毎のキューで構成されるメモリであり、バッファ制御部101−9−1からそれぞれ書込制御と読出制御される。
バッファ制御部101−9−1は入力されてくるセルを優先度毎に分けてバッファ部101−8−1にそれぞれ書き込み、予め決められたアルゴリズムに従ってセルを読み出すキューの選択処理を行い、セルの読み出し制御を行う。
The buffer unit 101-8-1 is a memory that is internally configured with a queue for each priority level, and is subjected to write control and read control from the buffer control unit 101-9-1, respectively.
The buffer control unit 101-9-1 divides the input cells for each priority and writes them to the buffer unit 101-8-1, and performs a queue selection process for reading the cells according to a predetermined algorithm. Read control is performed.

ここで、「予め決められたアルゴリズム」とは例えば、各優先度のセルを1セルずつ順番に読み出すキューを選択するRound Robin、順番に読み出しは行うが1セルずつではなく優先度毎に決められた比率に従ってセルを読み出すキューを選択していくWeighted Round Robin、より高い優先度のセルが蓄積されているキューを選択する完全優先方式などが考えられる。   Here, the “predetermined algorithm” is, for example, Round Robin for selecting a queue for sequentially reading cells of each priority one cell at a time. Reading is performed in order, but is determined for each priority, not for each cell. For example, a weighted round robin that selects a queue from which cells are read according to the ratio, a complete priority scheme that selects a queue in which cells with higher priority are stored, and the like can be considered.

バッファ部101−8−1から読み出されるセルは宛先となる出力インタフェース101−20−1に出力される。
また、バッファ制御部101−9−1は、バッファ部101−8−1に書き込み、読み出したセルの優先度情報をセルカウント部101−10−1に送出する。
セルカウント部101−10−1はバッファ制御部101−9−1からの前記優先度を基に、バッファ部101−8−1に格納されている蓄積セル数を優先度毎個別にカウントするブロックであり、カウントした値は蓄積セル数通知部101−11−1に通知される。
The cell read from the buffer unit 101-8-1 is output to the destination output interface 101-20-1.
Further, the buffer control unit 101-9-1 sends the priority information of the cell written and read to the buffer unit 101-8-1 to the cell count unit 101-10-1.
The cell count unit 101-10-1 is a block that individually counts the number of accumulated cells stored in the buffer unit 101-8-1 for each priority based on the priority from the buffer control unit 101-9-1. The counted value is notified to the accumulated cell number notifying unit 101-11-1.

蓄積セル数通知部101−11−1はタイミング生成部101−25における切り替え開始指示部101−26から切り替えシーケンスの開始を指示されるとセルカウント部101−10−1から受信していた優先度毎個別にカウントされたセル数を保持し、予備系スイッチ部101−22に出力する。
宛先データ管理部101−7−2〜101−7−Nの動作は、それぞれ宛先a2〜aNのセルを扱うことが異なるのみで、動作は宛先データ管理部101−7−1と同様である。
When the storage cell number notifying unit 101-11-1 is instructed to start the switching sequence from the switching start instructing unit 101-26 in the timing generating unit 101-25, the priority received from the cell counting unit 101-10-1 The number of cells counted individually is held and output to the standby system switch unit 101-22.
The operations of the destination data management units 101-7-2 to 101-7-N are different from each other only in handling the cells of the destinations a2 to aN, and the operations are the same as those of the destination data management unit 101-7-1.

予備系スイッチ部101−22は現用系スイッチ部101−4の予備として動作し、入力インタフェース101−1−1〜101−1−Nから受信したセルを宛先となる出力インタフェース101−20−1〜101−20−Nにスイッチング処理を行うブロックで、多重部101−12、フィルタ部101−13−1〜101−13−N、宛先データ管理部101−23−1〜101−23−Nからなる。   The standby switch unit 101-22 operates as a backup for the active switch unit 101-4, and the cells received from the input interfaces 101-1-1 to 101-1-N are output interfaces 101-20-1 to 101-2. 101-20-N is a block that performs switching processing, and includes a multiplexing unit 101-12, filter units 101-13-1 to 101-13-N, and destination data management units 101-23-1 to 101-23-N. .

多重部101−12は入力インタフェース101−1−1〜101−1−Nから入力されたセルを時分割多重するブロックで多重データはフィルタ部101−13−1〜101−13−Nに出力される。
フィルタ部101−13−1〜101−13−Nは多重データからそれぞれ宛先a1(出力インタフェース101−20−1行き)〜宛先aN(出力インタフェース101−20−N行き)のセルのみを通過させそれ以外は削除するブロックで処理後のデータはそれぞれ宛先データ管理部101−23−1〜101−23−Nに送出する。
Multiplexer 101-12 is a block for time-division multiplexing cells input from input interfaces 101-1-1 to 101-1-N, and multiplexed data is output to filter units 101-13-1 to 101-13-N. The
The filter units 101-13-1 to 101-13-N pass only the cells from the destination a1 (to the output interface 101-20-1) to the destination aN (to the output interface 101-20-N) from the multiplexed data. Except for the block to be deleted, the processed data is sent to the destination data management units 101-23-1 to 101-23-N, respectively.

宛先データ管理部101−23−1は、到着セル記憶部101−14−1、バッファ制御部101−15−1、バッファ部101−16−1、状態制御部101−17−1、蓄積セル数解析部101−18−1、セル数調整部101−19−1からなる。
バッファ部101−16−1は内部を優先度毎のキューで構成されるメモリであり、バッファ制御部101−15−1から書込制御され読出制御される。
The destination data management unit 101-23-1 includes an arrival cell storage unit 101-14-1, a buffer control unit 101-15-1, a buffer unit 101-16-1, a state control unit 101-17-1, and the number of stored cells. It comprises an analysis unit 101-18-1 and a cell number adjustment unit 101-19-1.
The buffer unit 101-16-1 is a memory that is internally configured with queues for each priority level, and is subjected to write control and read control from the buffer control unit 101-15-1.

バッファ制御部101−15−1は入力されてくるセルを優先度毎に分けてバッファ部101−16−1に書き込み、予め決められたアルゴリズムに従ってセルを読み出すキューの選択処理を行い、セルの読み出し制御を行う。
また、バッファ制御部101−15−1は状態制御部101−17−1からの指示に従ってバッファ部101−16−1のリセット(バッファ部をクリア、空にする)、セルの書き込み停止/開始、セルの読み出し停止/開始の各状態が定義される。
The buffer control unit 101-15-1 divides the input cells for each priority and writes them to the buffer unit 101-16-1, performs a queue selection process for reading the cells according to a predetermined algorithm, and reads the cells. Take control.
In addition, the buffer control unit 101-15-1 resets the buffer unit 101-16-1 (clears and empties the buffer unit) in accordance with an instruction from the state control unit 101-17-1, stops / starts cell writing, Each cell read / stop state is defined.

バッファ部101−8−1から読み出されたセルは宛先となる出力インタフェース101−20−1に出力される。
また、到着セル記憶部101−14−1は、タイミング生成部101−25における切り替え開始指示部101−26から切り替えシーケンスの開始を指示されるとその時点から自身に到着するセルの優先度を時系列に記憶するブロックであり、蓄積セル数解析部101−18−1からの要求に従って、記憶した時系列のセル優先度情報を蓄積セル数解析部101−18−1に通知する。
The cell read from the buffer unit 101-8-1 is output to the destination output interface 101-20-1.
In addition, when the arrival cell storage unit 101-14-1 is instructed to start the switching sequence from the switching start instruction unit 101-26 in the timing generation unit 101-25, the arrival cell storage unit 101-14-1 sets the priority of the cell arriving at itself from that time. The block is stored in the series, and the stored time-series cell priority information is notified to the accumulated cell number analyzing unit 101-18-1 in accordance with a request from the accumulated cell number analyzing unit 101-18-1.

蓄積セル数解析部101−18−1は、現用系スイッチ部101−4における蓄積セル数通知部101−11−1から受信した切り替えシーケンス開始時の優先度毎の蓄積セル数情報と到着セル記憶部101−14−1から受信した時系列のセル優先度情報をもとに、切り替えシーケンス開始時点からの現用系スイッチ部のバッファ制御部101−9−1の各優先度のキュー選択動作を解析(シミュレート)するブロックでシミュレート後の優先度毎の蓄積セル数情報をセル数調整部101−19−1に出力し、動作の状態(解析中、非解析中)を状態制御部101−17−1に通知する。   The accumulated cell number analysis unit 101-18-1 stores the accumulated cell number information and the arrival cell storage for each priority at the start of the switching sequence received from the accumulated cell number notification unit 101-11-1 in the active switch unit 101-4. Based on the time-series cell priority information received from the unit 101-14-1, the queue selection operation of each priority of the buffer control unit 101-9-1 of the active switch unit from the start of the switching sequence is analyzed. The information on the number of stored cells for each priority after simulation in the (simulated) block is output to the cell number adjusting unit 101-19-1, and the operation state (under analysis or under analysis) is output to the state control unit 101- Notify 17-1.

セル数調整部101−19−1は、蓄積セル数解析部101−18−1から受信したシミュレート後の優先度毎の蓄積セル数と受信セルの優先度情報をもとに、バッファ部101−16−1内にそれらのセル数があるものとしてキュー選択処理をシミュレートし、蓄積セル数解析部101−18−1から受信した蓄積セル数分だけキューが選択された優先度の情報(以降、調整終了通知と記載)を状態制御部101−17−1に通知する。   The cell number adjustment unit 101-19-1 is based on the number of stored cells for each priority after simulation received from the stored cell number analysis unit 101-18-1 and the priority information of the received cells. The queue selection process is simulated on the assumption that the number of cells is within −16-1, and the priority information that the queues are selected by the number of stored cells received from the stored cell number analysis unit 101-18-1 ( Hereinafter, the state control unit 101-17-1 is notified of the adjustment completion notification.

状態制御部101−17−1は、バッファ制御部101−15−1の動作状態を制御するブロックで、タイミング生成部101−25における切り替え開始指示部101−26からの切り替えシーケンス開始指示を受信するとバッファリセットとセル書き込み停止と読み出し停止の要求をバッファ部101−16−1に送出し、蓄積セル数解析部101−18−1からの通知される動作の状態が非解析中になったら全優先度のセル書き込み開始指示をバッファ制御部101−15−1に通知し、セル数調整部101−19−1から調整終了通知を受信したら該当する優先度のセル読み出し指示をバッファ制御部101−15−1に通知する。   The state control unit 101-17-1 is a block for controlling the operation state of the buffer control unit 101-15-1, and receives a switching sequence start instruction from the switching start instruction unit 101-26 in the timing generation unit 101-25. Requests for buffer reset, cell write stop and read stop are sent to the buffer unit 101-16-1, and when the status of the operation notified from the accumulated cell number analysis unit 101-18-1 becomes non-analyzed, all priority is given. Cell buffer start instruction is sent to the buffer control unit 101-15-1, and when an adjustment end notification is received from the cell number adjustment unit 101-19-1, a cell read instruction with the corresponding priority is sent to the buffer control unit 101-15. -1.

出力インタフェース101−20−1〜101−20−Nは、現用系スイッチ部101−4と予備系スイッチ部101−22からスイッチング処理後のセルを受信するブロックで、内部に選択部101−21−1〜101−21−Nを備える。選択部101−21−1〜101−21−Nは、現用系スイッチ部101−4と予備系スイッチ部101−22から受信するセルのうちどちらか一方のセルを選択してデセル化部101-24−1〜101−24−Nに出力するブロックである。   The output interfaces 101-20-1 to 101-20-N are blocks that receive the cells after the switching process from the active switch unit 101-4 and the standby switch unit 101-22. 1 to 101-21-N. The selection units 101-21-1 to 101-21-N select one of the cells received from the active system switch unit 101-4 and the standby system switch unit 101-22 and select the decellization unit 101-. This block is output to 24-1 to 101-24-N.

また、選択部101−21−1〜101−21−Nは、現用系スイッチ部101−4と予備系スイッチ部101−22から受信するセルを監視し、現用系スイッチ部101−4から受信するセルと予備系スイッチ部101−22から受信するセルの同期が取れているか監視を行い、同期が取れているときに現用系スイッチ部101−4から予備系スイッチ部101−22に切り替えを行えば無瞬断切り替えが実現できる。   The selection units 101-21-1 to 101-21-N monitor cells received from the active switch unit 101-4 and the standby switch unit 101-22 and receive from the active switch unit 101-4. If the cell and the cell received from the standby system switch unit 101-22 are monitored to synchronize, and switching is performed from the active system switch unit 101-4 to the standby system switch unit 101-22 Non-instantaneous switching can be realized.

選択部101−21−1〜101−21−Nにて選択されたセルは、デセル化部101-24−1〜101−24−NにてTDM(Time Division Multiplex)データ、ATM(Asynchronous Transfer Mode)セル、可変長のパケットなど、収容しているインタフェースフォーマットに変換される。
タイミング生成部101−25は、現用系スイッチ部101−4と予備系スイッチ部101−22に切り替えシーケンス開始の同期を共通フレームで実施する切り替えシーケンス開始指示信号を送出するブロックで、切り替え開始指示部101−26を備える。
The cells selected by the selection units 101-21-1 to 101-21-N are converted into TDM (Time Division Multiplex) data, ATM (Asynchronous Transfer Mode) by the decelerating units 101-24-1 to 101-24-N. ) It is converted into the accommodated interface format such as a cell or a variable length packet.
The timing generation unit 101-25 is a block for sending a switching sequence start instruction signal for synchronizing the switching sequence start with a common frame to the active switch unit 101-4 and the standby switch unit 101-22. 101-26.

切り替え開始指示部101−26にて切り替えシーケンス開始の起点となるタイミング信号(切り替えシーケンス開始指示信号)を送出する。
次に、図1に示す本実施例の動作について説明する。
まず、図1に示す本実施例におけるデータのスイッチング動作を説明する。入力インタフェース101−1−1〜101−1−Nでは、TDMデータ、ATMセル、可変長のパケットなどを収容し、これらのデータをセル化部101−2−1〜101−2−Nにおいて装置内でのスイッチング単位である固定長データ(セル)に分割する。
The switching start instructing unit 101-26 sends a timing signal (switching sequence start instructing signal) as a starting point for starting the switching sequence.
Next, the operation of this embodiment shown in FIG. 1 will be described.
First, the data switching operation in this embodiment shown in FIG. 1 will be described. The input interfaces 101-1-1 to 101-1-N accommodate TDM data, ATM cells, variable-length packets, and the like, and these data are stored in the cell units 101-2-1 to 101-2-N. The data is divided into fixed length data (cells) which are switching units within.

セルは、分配部101−3−1〜101−3−Nにおいて現用系スイッチ部101−4と予備系スイッチ部101−22に分配される。
入力インタフェース101−1−1〜101−1−Nから現用系スイッチ部101−4に到着したセルは多重部101−5にて時分割多重処理されてフィルタ部101−6−1〜101−6−Nに送出される。
The cells are distributed to the active switch unit 101-4 and the standby switch unit 101-22 in the distribution units 101-3-1 to 101-3-N.
The cells that have arrived at the active switch unit 101-4 from the input interfaces 101-1-1 to 101-1-N are subjected to time division multiplexing processing by the multiplexing unit 101-5, and the filtering units 101-1-6-1 to 101-6. -N

フィルタ部101−6−1〜101−6−Nでは多重データからそれぞれ宛先a1(出力インタフェース101−20−1行き)〜宛先aN(出力インタフェース101−20−N行き)のセルのみを通過させそれ以外は削除して後段の宛先データ管理部101−7−1〜101−7−Nへ送出される。
宛先データ管理部101−7−1で受信したセルはバッファ制御部101−9−1の制御によってバッファ部101−8−1の該当する優先度のキューに格納される。
The filter units 101-1-1 to 101-6 -N pass only the cells from the destination a 1 (to the output interface 101-20-1) to the destination aN (to the output interface 101-20 -N) from the multiplexed data. Are deleted and transmitted to the subsequent destination data management units 101-7-1 to 101-7-N.
The cell received by the destination data management unit 101-7-1 is stored in the queue of the corresponding priority of the buffer unit 101-8-1 under the control of the buffer control unit 101-9-1.

バッファ制御部101−9−1では、バッファ部101−8−1からセルを読み出すキューの選択処理を行っており、選択したキューのセル読み出し処理を行う。
読み出されたセルは出力インタフェース101−20−1に出力される。
宛先データ管理部101−7−1〜101−7−Nの動作は、それぞれ宛先a2〜aNのセルを扱うことが異なるのみで、動作は宛先データ管理部101−7−1と同様である。
The buffer control unit 101-9-1 performs a queue selection process for reading a cell from the buffer unit 101-8-1, and performs a cell read process for the selected queue.
The read cell is output to the output interface 101-20-1.
The operations of the destination data management units 101-7-1 to 101-7-N are the same as those of the destination data management unit 101-7-1, except that the cells of the destinations a2 to aN are different.

予備系スイッチ部101−22の多重部101−12、フィルタ部101−13−1〜101−13−N、宛先データ管理部101−23−1〜101−23−Nにおける通常時のスイッチング動作に関しては、現用系スイッチ部101−4の多重部101−5、フィルタ部101−6−1〜101−6−N、宛先データ管理部101−7−1〜101−7−Nにおける動作とそれぞれ同様である。   Regarding normal switching operations in the multiplexing unit 101-12, the filter units 101-13-1 to 101-13-N, and the destination data management units 101-23-1 to 101-23-N of the standby switch unit 101-22 Are the same as the operations of the multiplexing unit 101-5, the filter units 101-1-6-1 to 101-6-N, and the destination data management units 101-7-1 to 101-7-N of the active switch unit 101-4. It is.

出力インタフェース101−20−1〜101−20−Nは、現用系スイッチ部101−4と予備系スイッチ部101−22からスイッチング処理後のセルを受信し、選択部101−21−1〜101−21−Nにて現用系スイッチ部101−4と予備系スイッチ部101−22から受信するセルのうちどちらか一方のセルを選択してデセル化部101-24−1〜101−24−Nに出力する。   The output interfaces 101-20-1 to 101-20-N receive the cells after the switching processing from the active system switch unit 101-4 and the standby system switch unit 101-22, and select the units 101-21-1 to 101-. At 21-N, one of the cells received from the active switch unit 101-4 and the standby switch unit 101-22 is selected, and the cells are changed to the decelling units 101-24-1 to 101-24-N. Output.

デセル化部101-24−1〜101−24−Nでは、受信したセルをTDMデータ、ATMセル、可変長のパケットなど、収容しているインタフェースフォーマットに変換する。
次に、本実施例における現用系スイッチ部101−4から予備系スイッチ部101−22への切り替えシーケンスについて以下に説明する。本説明では、出力インタフェース101−20−1行きのセルを扱う宛先データ管理部101−7−1と宛先データ管理部101−23−1について説明するが、宛先データ管理部101−7−2〜101−7−N、宛先データ管理部101−23−2〜101−23−Nに付いてもセルの宛先が異なるのみで処理は同様である。
In the decelerating units 101-24-1 to 101-24-N, the received cells are converted into accommodated interface formats such as TDM data, ATM cells, and variable-length packets.
Next, a switching sequence from the active switch unit 101-4 to the standby switch unit 101-22 in this embodiment will be described below. In this description, the destination data management unit 101-7-1 and the destination data management unit 101-23-1 that handle cells destined for the output interface 101-20-1 will be described, but the destination data management unit 101-7-2 to 101-7-N and the destination data management unit 101-23-3-2 to 101-23-N are the same in the process except that the cell destination is different.

切り替えシーケンスの開始タイミングはタイミング生成部101−25における切り替え開始指示部101−26から現用系スイッチ部101−4と予備系スイッチ部101−22に通知される。   The start timing of the switching sequence is notified from the switching start instruction unit 101-26 in the timing generation unit 101-25 to the active switch unit 101-4 and the standby switch unit 101-22.

現用系スイッチ部101−4では、セルカウント部101−10−1においてバッファ部101−8−1におけるセルの蓄積数を優先度毎にカウントしている。
蓄積セル数通知部101−11−1は、切り替え開始指示部101−26から切り替えシーケンスの開始を通知されるとセルカウント部101−10−1から受信していた優先度毎の蓄積セル数を保持し、予備系スイッチ部101−22における蓄積セル数解析部101−18−1に通知する。
In the active switch unit 101-4, the cell count unit 101-10-1 counts the number of accumulated cells in the buffer unit 101-8-1 for each priority.
When the storage cell number notifying unit 101-11-1 is notified of the start of the switching sequence from the switching start instructing unit 101-26, the number of stored cells for each priority received from the cell counting unit 101-10-1 is displayed. The stored cell number analysis unit 101-18-1 in the standby system switch unit 101-22 is notified.

予備系スイッチ部101−22では、宛先データ管理部101−23−1における到着セル記憶部101−14−1において、切り替え開始指示部101−26から切り替えシーケンスの開始を通知されると到着するセルの優先度を時系列で記憶する処理を開始する。
また、状態制御部101−17−1では、切り替え開始指示部101−26から切り替えシーケンスの開始を通知されるとバッファ制御部101−15−1に対して、バッファ部101−16−1のリセット(クリア)と書き込み停止、読み出し停止を指示する。
In the standby switch unit 101-22, the arrival cell storage unit 101-14-1 in the destination data management unit 101-23-1 arrives when the start of the switching sequence is notified from the switching start instruction unit 101-26. The process of storing the priorities of chronologically is started.
When the state control unit 101-17-1 is notified of the start of the switching sequence from the switching start instruction unit 101-26, the buffer control unit 101-15-1 is reset to the buffer unit 101-16-1. (Clear) and stop writing / reading are instructed.

蓄積セル数解析部101−18−1では、現用系スイッチ部101−4における蓄積セル数通知部101−11−1からバッファ部101−8−1に蓄積している優先度毎の蓄積セル数を受信すると、到着セル記憶部101−14−1に対して、記憶している時系列のセル優先度情報を蓄積セル数解析部101−18−1に出力させる。   In the storage cell number analysis unit 101-18-1, the number of storage cells for each priority stored in the buffer unit 101-8-1 from the storage cell number notification unit 101-11-1 in the active switch unit 101-4. Is received, the arrival cell storage unit 101-14-1 is made to output the stored time-series cell priority information to the accumulated cell number analysis unit 101-18-1.

蓄積セル数解析部101−18−1では、前記時系列のセル優先度情報と前記優先度毎の蓄積セル数をもとに切り替えシーケンス開始時点からの現用系スイッチ部101−4のバッファ制御部101−9−1の各優先度のキュー選択動作を解析(シミュレート)する。
シミュレートするキュー選択動作は1セル分の処理を1セル時間より短い時間で行うことにより、現時刻でのバッファ制御部101−9−1でのキュー選択処理まで追いつかせることができるため、現用系スイッチ部101−4におけるバッファ部101−8−1における優先度毎の蓄積セル数を蓄積セル数解析部101−18−1にて知ることができる。
In the accumulated cell number analyzing unit 101-18-1, the buffer control unit of the active switch unit 101-4 from the start of the switching sequence based on the time-series cell priority information and the accumulated cell number for each priority. The queue selection operation of each priority of 101-9-1 is analyzed (simulated).
The queue selection operation to be simulated can catch up to the queue selection processing in the buffer control unit 101-9-1 at the current time by performing processing for one cell in a time shorter than one cell time. The number of stored cells for each priority in the buffer unit 101-8-1 in the system switch unit 101-4 can be known by the stored cell number analyzing unit 101-18-1.

シミュレートの結果として得られた現時刻における各優先度毎の蓄積セル数はセル数調整部101−19−1に出力される。
また、蓄積セル数解析部101−18−1から状態制御部101−17−1へは、動作の状態(解析中、非解析中)を出力しており、状態制御部101−17−1は、解析中から非解析中への変化を検出するとバッファ制御部101−15−1に対して全優先度のセルの書き込み開始を指示する。
The number of stored cells for each priority at the current time obtained as a result of the simulation is output to the cell number adjusting unit 101-19-1.
Further, the operation state (analyzing or not analyzing) is output from the accumulated cell number analyzing unit 101-18-1 to the state control unit 101-17-1, and the state control unit 101-17-1 When a change from analysis to non-analysis is detected, the buffer control unit 101-15-1 is instructed to start writing of cells of all priorities.

セル数調整部101−19−1は、蓄積セル数解析部101−18−1から受信したシミュレート後の優先度毎の蓄積セル数と受信セルの優先度情報をもとに、バッファ部101−16−1内にそれらのセル数があるものとしてキュー選択処理をシミュレートし、蓄積セル数解析部101−18−1から受信した蓄積セル数分だけキューが選択された優先度の情報(以降、調整終了通知と記載)を状態制御部101−17−1に通知する。   The cell number adjustment unit 101-19-1 is based on the number of stored cells for each priority after simulation received from the stored cell number analysis unit 101-18-1 and the priority information of the received cells. The queue selection process is simulated on the assumption that the number of cells is within −16-1, and the priority information that the queues are selected by the number of stored cells received from the stored cell number analysis unit 101-18-1 ( Hereinafter, the state control unit 101-17-1 is notified of the adjustment completion notification.

状態制御部101−17−1にてセル数調整部101−19−1から調整終了通知を受信したら該当する優先度のセル読み出し指示をバッファ制御部101−15−1に通知する。
この処理を全ての優先度において実施すると、現用系スイッチ部101−4におけるバッファ部101−8−1の全優先度の蓄積セル数と予備系スイッチ部101−22におけるバッファ部101−16−1における蓄積セル数を完全に一致させることができるため、現用系スイッチ部101−4と予備系スイッチ部101−22の動作を完全一致させることが可能となる。
When the state control unit 101-17-1 receives the adjustment end notification from the cell number adjustment unit 101-19-1, the cell control unit 101-15-1 is notified of a cell read instruction with a corresponding priority.
When this process is performed for all priorities, the number of storage cells of all priorities in the buffer unit 101-8-1 in the active switch unit 101-4 and the buffer unit 101-16-1 in the standby switch unit 101-22. Therefore, the operation of the active switch unit 101-4 and the standby switch unit 101-22 can be completely matched.

出力インタフェース101−20−1における選択部101−21−1では、現用系スイッチ部101−4と予備系スイッチ部101−22から受信するセルを監視し、現用系スイッチ部101−4から受信するセルと予備系スイッチ部101−22から受信するセルの同期が取れているか監視を行い、同期が取れているときに現用系スイッチ部101−4から予備系スイッチ部101−22に切り替えを行えば無瞬断切り替えが実現できる。   The selection unit 101-21-1 in the output interface 101-20-1 monitors the cells received from the active system switch unit 101-4 and the standby system switch unit 101-22, and receives the cells from the active system switch unit 101-4. If the cell and the cell received from the standby system switch unit 101-22 are monitored to synchronize, and switching is performed from the active system switch unit 101-4 to the standby system switch unit 101-22 Non-instantaneous switching can be realized.

また、図1におけるバッファ制御部101−9−1とバッファ制御部101−15−1において、Round RobinやWeighted Round Robin制御にてキュー選択処理を実施している場合は、そのポインタ情報やWeight情報などがキュー選択処理に必要となるが、蓄積セル数情報とともに現用系スイッチ部101−4から予備系スイッチ部101−22にポインタ情報やWeight情報なども一緒に通知することにより、蓄積セル数解析部101−18−1やセル数調整部101−19−1におけるシミュレート処理で使用現用系のキュー選択処理が再現可能となる。   Further, in the buffer control unit 101-9-1 and the buffer control unit 101-15-1 in FIG. 1, when the queue selection processing is performed by the round robin or weighted round robin control, the pointer information and the weight information. Is necessary for the queue selection processing, but the active switch unit 101-4 notifies the standby switch unit 101-22 together with the pointer information and the weight information together with the stored cell number information, thereby analyzing the stored cell number. The active-use queue selection process can be reproduced by the simulation process in the unit 101-18-1 and the cell number adjustment unit 101-19-1.

また、ポインタ情報やWeight情報などを現用系スイッチ部101−4から予備系スイッチ部101−22に送付しなくても、切り替えシーケンス開始タイミングと同時に前記ポインタ情報やWeightをリセットすることで現用系スイッチ部101−4から予備系スイッチ部101−22のキュー選択処理におけるポインタ情報やWeightの認識を一緒にすることができる。   Further, even if the pointer information and the weight information are not sent from the active switch unit 101-4 to the standby switch unit 101-22, the pointer information and the weight are reset at the same time as the switching sequence start timing, so that the active switch The pointer information and the weight can be recognized together in the queue selection processing from the unit 101-4 to the standby system switch unit 101-22.

図2は図1における現用系スイッチ部101−4のバッファ部101−8−1と予備系スイッチ部101−22のバッファ部101−16−1の蓄積セル数を一致させるための一連の処理を時系列に説明する図である。
次に、本図に示す本実施例の動作について説明する。本図における、各ブロックの番号は図1と対応するものとする。
FIG. 2 shows a series of processes for matching the number of stored cells in the buffer unit 101-8-1 of the active system switch unit 101-4 and the buffer unit 101-16-1 of the standby system switch unit 101-22 in FIG. It is a figure explaining to a time series.
Next, the operation of this embodiment shown in FIG. The numbers of the blocks in this figure correspond to those in FIG.

本図に示すように、切り替えシーケンス開始時刻(T1)において現用系スイッチ部101−4における蓄積セル数通知部101−11−1は現用系スイッチ部101−4内のバッファの蓄積セル数を予備系スイッチ部101−22における蓄積セル数解析部101−18−1に通知する(図中(1)参照)。
また、切り替え開始時刻(T1)では、到着セル記憶部101−14−1にて到着するセルの優先度を時系列で記憶する処理を開始すると同時に状態制御部101−17−1からバッファ制御部101−15−1に対して、バッファ部101−16−1のリセット(クリア)と書き込み停止、読み出し停止を指示する。
As shown in the figure, at the switching sequence start time (T1), the storage cell number notifying unit 101-11-1 in the working switch unit 101-4 reserves the number of cells stored in the buffer in the working switch unit 101-4. This is notified to the storage cell number analysis unit 101-18-1 in the system switch unit 101-22 (see (1) in the figure).
At the switching start time (T1), the state control unit 101-17-1 starts the process of storing the priorities of the cells arriving in the arrival cell storage unit 101-14-1 in time series, and at the same time, the buffer control unit 101-15-1 is instructed to reset (clear) the buffer unit 101-16-1, stop writing, and stop reading.

到着セル記憶部101−14−1から蓄積セル数解析部101−18−1に到着セルの時系列情報の通知を開始する(図中(2)参照)。蓄積セル数解析部101−18−1では、蓄積セル数情報が到着(時刻T2)すると、蓄積セル数情報と到着セル記憶部101−14−1からの到着セル情報をもとにT1時点からの現用系スイッチ部101−4のキュー選択動作をシミュレートする。
蓄積セル数解析部101−18−1でのシミュレート動作が現時刻の現用系スイッチ部101−4のキュー選択動作に追いついた時点(T3)で現用系スイッチ部101−4の蓄積セル数と予備系スイッチ部101−22における蓄積セル数解析部101−18−1におけるセル数の認識が一致したことになる。
The notification of the time series information of the arrival cell is started from the arrival cell storage unit 101-14-1 to the accumulated cell number analysis unit 101-18-1 (see (2) in the figure). When the accumulated cell number information arrives (time T2), the accumulated cell number analysis unit 101-18-1 starts from time T1 based on the accumulated cell number information and the arrival cell information from the arrival cell storage unit 101-14-1. The queue selection operation of the active switch unit 101-4 is simulated.
When the simulation operation in the storage cell number analysis unit 101-18-1 catches up with the queue selection operation of the current system switch unit 101-4 at the current time (T3), the number of storage cells in the current system switch unit 101-4 This means that the recognition of the number of cells in the storage cell number analysis unit 101-18-1 in the standby system switch unit 101-22 coincides.

蓄積セル数解析部101−18−1におけるシミュレート処理が完了するタイミング(T3)で、蓄積セル数解析部101−18−1からシミュレートの結果が得られた各優先度毎の蓄積セル数をセル数調整部101−19−1に出力し、動作の状態を状態制御部101−17−1に通知し(図中の(3)参照)、状態制御部101−17−1はバッファ制御部101−15−1に全優先度におけるセルの書き込みを指示する。
また、T3ではセル数調整部101−19−1において、蓄積セル数解析部101−18−1でのシミュレート後の優先度毎の蓄積セル数とT3以後に到着するセルをもとにバッファ制御部101−15−1におけるキュー選択動作をシミュレートし、蓄積セル数解析部101−18−1から得られたシミュレート後の蓄積セル数分だけキュー選択された優先度から順次、状態制御部101−17−1に通知し、状態制御部101−17−1では、バッファ制御部101−15−1に対して通知された優先度から読み出し開始を指示する。
At the timing (T3) when the simulation process in the storage cell number analysis unit 101-18-1 is completed (T3), the number of storage cells for each priority for which the simulation result is obtained from the storage cell number analysis unit 101-18-1. Is output to the cell number adjustment unit 101-19-1, the operation state is notified to the state control unit 101-17-1 (see (3) in the figure), and the state control unit 101-17-1 performs buffer control. The unit 101-15-1 is instructed to write cells at all priorities.
Further, at T3, the cell number adjustment unit 101-19-1 performs buffering based on the number of accumulated cells for each priority after simulation in the accumulated cell number analysis unit 101-18-1 and the cells arriving after T3. The queue selection operation in the control unit 101-15-1 is simulated, and the state control is sequentially performed from the priority selected for the number of storage cells after simulation obtained from the storage cell number analysis unit 101-18-1. The state control unit 101-17-1 instructs the buffer control unit 101-15-1 to start reading from the notified priority.

前記読み出し指示が全ての優先度について終了した時点(T4)で宛先データ管理部101−7−1と宛先データ管理部101−23−1の動作は一致する。
図3は図2における現用系スイッチ部101−4のバッファ部101−8−1と予備系スイッチ部101−22のバッファ部101−16−1の蓄積セル数を一致させるための一連の処理過程を具体的に説明する図である。本図に示すT1、T2、T3、T4は、図2におけるT1、T2、T3、T4と同様であり、また、図中の四角の中に記載された番号はセルの優先度を示す。
When the read instruction is completed for all priorities (T4), the operations of the destination data management unit 101-7-1 and the destination data management unit 101-23-1 match.
FIG. 3 shows a series of processing steps for matching the numbers of stored cells in the buffer unit 101-8-1 of the active system switch unit 101-4 and the buffer unit 101-16-1 of the standby system switch unit 101-22 in FIG. FIG. T1, T2, T3, and T4 shown in this figure are the same as T1, T2, T3, and T4 in FIG. 2, and the numbers described in the squares in the figure indicate the priority of the cell.

本図に示すように、現用系スイッチ部101−4のバッファと予備系スイッチ部101−22のバッファはある特定宛先(例えば、図1における出力インタフェース101−20−1)行きのセルを優先度毎に蓄積する構成となっており、優先クラスは2クラスあるものとする。以降、(1)〜(6)までの説明をする。
(1)は時刻T1における状態を示しており、現用系スイッチ部101−4から予備系スイッチ部101−22に対して蓄積セル数(優先度1は3セル・・・優先度Kは4セル)を出力する。
As shown in this figure, the buffer of the active system switch unit 101-4 and the buffer of the standby system switch unit 101-22 assign priority to cells destined for a specific destination (for example, the output interface 101-20-1 in FIG. 1). It is assumed that there are two priority classes. Hereinafter, (1) to (6) will be described.
(1) shows the state at time T1, and the number of stored cells from the active switch unit 101-4 to the standby switch unit 101-22 (priority 1 is 3 cells ... priority K is 4 cells). ) Is output.

予備系スイッチ部101−22では、到着するセルを優先度毎に時系列での記憶を開始する(予備系スイッチ部101−22に到着するセルは現用系スイッチ部101−4に到着するセルと同一)。
また、予備系スイッチ部101−22では、バッファ部101−16−1をクリアし、セルの書き込みと読み出しは停止する。
The standby switch unit 101-22 starts chronological storage of the arriving cells for each priority (the cells arriving at the standby switch unit 101-22 are the cells arriving at the active switch unit 101-4). The same).
In addition, the standby switch unit 101-22 clears the buffer unit 101-16-1 and stops cell writing and reading.

(2)は、時刻T1+1〜時刻T2−1(本例では3セル時間とする)までの動作を示している。
現用系スイッチ部101−4では通常通りの動作をしており、予備系スイッチ部101−22では(1)から引き続き、到着するセルを優先度毎に時系列で記憶する。
(3)は、時刻T2〜T3−1(本例では4セル時間とする)までの動作を示している。
(2) shows the operation from time T1 + 1 to time T2-1 (in this example, 3 cell times).
The active switch unit 101-4 operates as usual, and the standby switch unit 101-22 stores the arriving cells in chronological order for each priority, continuing from (1).
(3) shows the operation from time T2 to T3-1 (in this example, 4 cell time).

時刻T2にて(1)で現用系スイッチから出力した時刻T1時点での現用系スイッチ部101−4の蓄積セル数情報を予備系スイッチ部101−22にて受信する。
予備系スイッチ101−22では、前記セル蓄積情報と時刻T1から記憶している到着セル情報をもとに時刻T1からの現用系スイッチ部101−4におけるキュー選択動作をシミュレートし、時刻T3において現用系スイッチ部101−4では優先度1のセルは3セル、優先度2のセルは4セル蓄積していると認識する。
At the time T2, the information on the number of cells stored in the active switch unit 101-4 at the time T1 output from the active switch at (1) is received by the standby switch unit 101-22.
The standby switch 101-22 simulates the queue selection operation in the active switch unit 101-4 from time T1 based on the cell accumulation information and the arrival cell information stored from time T1, and at time T3. The active switch unit 101-4 recognizes that three cells of priority 1 are stored and four cells of priority 2 are stored.

(4)は、時刻T3時点での現用系スイッチ部101−4と予備系スイッチ部101−22のバッファ蓄積状態を示している。
(5)は、時刻T3〜時刻T4−1(本例では7セル時間とする)までの動作を示している。
時刻T3からは予備系スイッチ部101−22でも受信セルをバッファ部101−16−1に書き込みする処理を開始する。
(4) shows the buffer accumulation state of the active switch unit 101-4 and the standby switch unit 101-22 at time T3.
(5) shows the operation from time T3 to time T4-1 (7 cell time in this example).
From time T3, the standby switch unit 101-22 also starts the process of writing the received cell to the buffer unit 101-16-1.

また、予備系スイッチ部101−22では、(3)で得たシミュレート結果(優先度1は3セル蓄積、優先度2は4セル蓄積)とT3以降に到着するセルをもとにキュー選択動作をシミュレートする。
(6)は、時刻T4以降の動作を示している。
時刻T3以降、(3)で得たシミュレート結果分だけ該当するキューが選ばれたら、その優先度のキューの読み出し処理を開始し、時刻T4にて全ての優先度のキュー読み出しが開始されるようになり、現用系スイッチ部101−4と予備系スイッチ部101−22の動作が完全一致する。
In addition, the standby switch unit 101-22 selects the queue based on the simulation result obtained in (3) (priority 1 stores 3 cells and priority 2 stores 4 cells) and cells arriving after T3. Simulate the behavior.
(6) shows the operation after time T4.
After time T3, when the corresponding queues are selected corresponding to the simulation result obtained in (3), the queue reading process for that priority is started, and queue reading for all priorities is started at time T4. Thus, the operations of the active switch unit 101-4 and the standby switch unit 101-22 completely match.

このようにして、予備系スイッチ部101−22において、切り替えシーケンス開始時刻の現用系スイッチ部101−4における蓄積セル数と切り替え開始時刻以降の時系列のセル到着情報を基に、切り替えシーケンス開始時刻以降の現用系スイッチ部101−4におけるキュー選択動作を再現できるようにした。
従来では、固定長データ(セルと記載)を内部に蓄積するバッファ部とあらかじめ決められたアルゴリズムに従って、バッファ部の書込または読出制御をするバッファ制御部とを持つスイッチ部を現用系スイッチ部と予備系スイッチ部の2つ備え、現用系スイッチ部と予備系スイッチ部に同じセルを分配する分配(コピー)部と現用系スイッチ部からの出力セルと予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置において、選択部にて選択するスイッチ部を現用系スイッチ部から予備系スイッチ部に切り替える時に、現用系スイッチ部のセル蓄積状態とキュー選択状態(Round Robinのポインタなど)が一致していないと無瞬断に切り替えることができず、現用系スイッチ部と予備系スイッチ部のセル蓄積状態とキュー選択状態を一致させるためには、現用系スイッチ部から自身のセル蓄積状態とキュー選択状態を予備系スイッチ部に通知して、予備系スイッチ部がその情報をもとに動作することが考えられるが、通知処理が1セル時間で終わらないような場合には、予備系スイッチ部では、過去の現用系スイッチ部の状態をもとに動作を開始することになるので現用系スイッチ部と予備系スイッチ部のセル蓄積状態とキュー選択状態が一致せず、選択部における無瞬断切り替えが実現できなかった。
In this way, in the standby switch unit 101-22, the switching sequence start time based on the number of cells stored in the active switch unit 101-4 at the switching sequence start time and the time-series cell arrival information after the switching start time. The queue selection operation in the subsequent active switch unit 101-4 can be reproduced.
Conventionally, a switch unit having a buffer unit that stores therein fixed-length data (described as a cell) and a buffer control unit that controls writing or reading of the buffer unit according to a predetermined algorithm is referred to as an active switch unit. There are two standby switch units, one of the distribution (copy) unit that distributes the same cell to the active switch unit and the standby switch unit, the output cell from the active switch unit, and the output cell from the standby switch unit In a switch device including a selection unit for selecting one, when the switch unit selected by the selection unit is switched from the active system switch unit to the standby system switch unit, the cell storage state and the queue selection state of the active system switch unit (of Round Robin) If the pointers do not match, it will not be possible to switch to uninterrupted switching. In order to make the accumulation state and the queue selection state coincide with each other, the active system switch unit notifies the standby system switch unit of its own cell storage state and queue selection state, and the standby system switch unit operates based on the information. However, if the notification process does not end in one cell time, the standby system switch unit will start operation based on the previous status of the active system switch unit. The cell accumulation state and the queue selection state of the switch unit and the standby system switch unit do not match, and the instantaneous switching without the selection unit cannot be realized.

これに対して、本発明では、予備系スイッチ部において、切り替えシーケンス開始時刻の現用系スイッチ部における蓄積セル数(Round RobinやWeighted Round RobinのポインタやWeight情報なども含む)と切り替え開始時刻以降の時系列のセル到着情報をもとに、切り替えシーケンス開始時刻以降の現用系スイッチ部におけるキュー選択動作を再現できるようにしたことにより、現用系スイッチと予備系スイッチの蓄積セル数の認識が一致し、現用系スイッチと予備系スイッチの動作を完全に一致させることができるため、出力インタフェース部の選択部にて選択するスイッチを現用系スイッチと予備系スイッチに切り替えることで無瞬断切り替えを実現できるようになった。   On the other hand, in the present invention, in the standby system switch unit, the number of cells stored in the active system switch unit at the switching sequence start time (including the Round Robin and Weighted Round Robin pointers and Weight information) and the switching start time and later Based on the time-series cell arrival information, the queue selection operation in the active switch unit after the switching sequence start time can be reproduced, so that the recognition of the number of stored cells in the active switch and the standby switch coincides. Because the operation of the active system switch and the standby system switch can be made to match completely, switching between the active system switch and the standby system switch can be realized by switching the switch to be selected by the selection unit of the output interface unit. It became so.

図4は図1の第1の変形例であり、本発明に係るスイッチ装置の概略部分構成を示すブロック図である。本図に示すように、図1と比較して、現用系スイッチ部101−4と予備系スイッチ部101−22において構成ブロックの違いがないブロックは省略している。
図1では、切り替えシーケンス開始指示信号を切り替え開始指示部101−26から現用系スイッチ部101−4と予備系スイッチ部101−22に分配していたが、切り替え開始指示部101−26に代わり、図4では、現用系スイッチ部101−4と予備系スイッチ部101−22への切り替えシーケンス開始指示は入力インタフェース部101−1−1〜101−1−Nから挿入される切替セルにより認識する。
FIG. 4 is a block diagram showing a schematic partial configuration of a switch device according to the present invention, which is a first modification of FIG. As shown in the figure, compared with FIG. 1, blocks that have no difference in configuration blocks in the active switch unit 101-4 and the standby switch unit 101-22 are omitted.
In FIG. 1, the switching sequence start instruction signal is distributed from the switching start instruction unit 101-26 to the active switch unit 101-4 and the standby switch unit 101-22, but instead of the switching start instruction unit 101-26, In FIG. 4, the switching sequence start instruction to the active switch unit 101-4 and the standby switch unit 101-22 is recognized by the switching cell inserted from the input interface units 101-1-1 to 101-1-N.

図4において切り替えシーケンスの開始は、入力インタフェース部101−1−1〜101−1−Nにおける切替セル挿入部104−1−1〜104−1−Nから挿入される切替セルにて現用系スイッチ部101−4と予備系スイッチ部101−22に通知される。
切替セルは主信号(パケット、ATMセル、TDMデータなど)をセル化したセルのヘッダ部分に切り替え開始ビットを定義することで実現してもよいし、切り替えシーケンス開始通知用の専用セルを定義してもよい。
In FIG. 4, the start of the switching sequence starts with the active switch at the switching cell inserted from the switching cell insertion unit 104-1-1 to 104-1-N in the input interface unit 101-1-1 to 101-1-N. Is notified to the unit 101-4 and the standby system switch unit 101-22.
A switching cell may be realized by defining a switching start bit in the header portion of a cell in which a main signal (packet, ATM cell, TDM data, etc.) is cellized, or a switching cell start notification dedicated cell is defined. May be.

現用系スイッチ部101−4と予備系スイッチ部101−22では、多重部101−5、多重部101−12の後に切替セル検出部104−2−1〜104−2−N、切替セル検出部104−3−1〜104−3−Nが設けられ、切替セル検出部104−2−1〜104−2−N、切替セル検出部104−3−1〜104−3−Nは受信するセルから切り替えシーケンス開始指示信号を検出し、切り替えシーケンスの開始タイミングを認識して切り替え処理を開始する。
また、切り替えシーケンス開始後の動作は図1の実施例の場合と同様である。
In the active system switch unit 101-4 and the standby system switch unit 101-22, the switching cell detection units 104-2-1 to 104-2-N and the switching cell detection unit are placed after the multiplexing unit 101-5 and the multiplexing unit 101-12. 104-3-1 to 104-3-N are provided, and the switching cell detection units 104-2-1 to 104-2-N and the switching cell detection units 104-3-1 to 104-4-N receive cells. The switching sequence start instruction signal is detected from, the switching sequence start timing is recognized, and the switching process is started.
The operation after the start of the switching sequence is the same as in the embodiment of FIG.

図5は図1の第2の変形例であり、本発明に係るスイッチ装置の概略部分構成を示すブロック図であり、図6は図1の第3の変形例であり、本発明に係るスイッチ装置の概略部分構成を示すブロック図である。
図5に示すように、図4と比較して、図4では切替セルを現用系スイッチ部101−4と予備系スイッチ部101−22の両方で検出していたが、多重部101−5の後に切替セル検出部104−2−1〜104−2−Nが設けられ、切替セル検出部104−2−1〜104−2−Nにより切替セルを現用系スイッチ部101−4でのみ検出し、検出したタイミングを予備系スイッチ部101−22に通知する形態となっている。
FIG. 5 is a block diagram showing a schematic partial configuration of a switch device according to the present invention, which is a second modification of FIG. 1, and FIG. 6 is a third modification of FIG. 1, and a switch according to the present invention. It is a block diagram which shows the schematic partial structure of an apparatus.
As shown in FIG. 5, compared with FIG. 4, in FIG. 4, the switching cell is detected by both the active system switch unit 101-4 and the standby system switch unit 101-22, but the multiplexing unit 101-5 The switching cell detection units 104-2-1 to 104-2-N are provided later, and the switching cell detection units 104-2-1 to 104-2-N detect the switching cells only in the active switch unit 101-4. The detected timing is notified to the standby system switch unit 101-22.

図6では、図5と比較して、多重部101−12の後に切替セル検出部104−3−1〜104−3−Nが設けられ、切替セル検出部104−3−1〜104−3−Nにより、切替セルを予備系スイッチ部101−22でのみ検出し、検出したタイミングを現用系スイッチ部101−4に通知する形態となっている。また、切り替えシーケンス開始後の動作は図1の実施例の場合と同様である。   In FIG. 6, compared to FIG. 5, the switching cell detection units 104-3-104 to 104-3 N are provided after the multiplexing unit 101-12, and the switching cell detection units 104-3-1 to 104-3 are provided. With -N, the switch cell is detected only by the standby system switch unit 101-22, and the detected timing is notified to the active system switch unit 101-4. The operation after the start of the switching sequence is the same as that in the embodiment of FIG.

図7は図1の第3の変形例であり、本発明に係るスイッチ装置の概略部分構成を示すブロック図であり、図8は図1の第4の変形例であり、本発明に係るスイッチ装置の概略部分構成を示すブロック図である。図7に示すように、図1と比較して、図1では切り替え開始指示部101−26から切り替えシーケンス開始指示信号を現用系スイッチ部101−4と予備系スイッチ部101−22に分配していたが、現用系スイッチ部101−4内に切り替えタイミング検出部107−1−1〜107−1−Nが設けられ、切り替えタイミング検出部107−1−1〜107−1−Nにより切り替え開始指示部101−26からの切り替えシーケンス開始指示信号は、現用系スイッチ部101−4でのみ検出され、検出したタイミングを予備系スイッチ部101−22に通知する形態となっている。   FIG. 7 is a block diagram showing a schematic partial configuration of a switch device according to the present invention, which is a third modification of FIG. 1, and FIG. 8 is a fourth modification of FIG. 1, and is a switch according to the present invention. It is a block diagram which shows the schematic partial structure of an apparatus. As shown in FIG. 7, compared with FIG. 1, in FIG. 1, the switching sequence start instruction signal is distributed from the switching start instruction unit 101-26 to the active switch unit 101-4 and the standby switch unit 101-22. However, switching timing detectors 107-1-1 to 107-1-N are provided in the working system switch unit 101-4, and a switching start instruction is issued by the switching timing detectors 107-1-1 to 107-1-N. The switching sequence start instruction signal from the unit 101-26 is detected only by the active switch unit 101-4, and the detected timing is notified to the standby switch unit 101-22.

図8では、予備系スイッチ部101−22内に切り替えタイミング検出部108−1−1〜108−1−Nが設けられ、切り替えタイミング検出部108−1−1〜108−1−Nにより切り替え開始指示部101−26からの切り替えシーケンス開始指示信号は、予備系スイッチ部101−22でのみ検出され、検出したタイミングを現用系スイッチ部101−4に通知する形態となっている。また、切り替えシーケンス開始後の動作は図1の実施例の場合と同様である。   In FIG. 8, switching timing detection units 108-1-1 to 108-1 -N are provided in the standby system switch unit 101-22, and switching is started by the switching timing detection units 108-1-1 to 108-1 -N. The switching sequence start instruction signal from the instruction unit 101-26 is detected only by the standby system switch unit 101-22, and the detected timing is notified to the active system switch unit 101-4. The operation after the start of the switching sequence is the same as in the embodiment of FIG.

図9は図1の第5の変形例であり、本発明に係るスイッチ装置の概略部分構成を示すブロック図である。本図に示すように、図1と比較して、予備系スイッチ部101−22宛先データ管理部101−23−1におけるバッファ制御部101−15−1に代わり、バッファ制御/セルカウント部109−1−1が設けられ、バッファ制御部/セルカウント部109−1−1は、図1のバッファ制御部101−15−1の機能に加えて、切り替え開始指示部101−26から切り替えシーケンスの開始を通知されるとその時刻におけるバッファ部101−16−1の蓄積セル数を保持し、保持した蓄積セル数と現用系スイッチ部101−4から送付されたバッファ部101−8−1における蓄積セル数と比較を行い、一致していれば切り替えシーケンスを実施することなくバッファ部101−16−1の書込/読出処理を継続する。   FIG. 9 is a block diagram showing a schematic partial configuration of a switch device according to the present invention, which is a fifth modification of FIG. As shown in this figure, in comparison with FIG. 1, instead of the buffer control unit 101-15-1 in the standby system switch unit 101-22 destination data management unit 101-23-1, a buffer control / cell count unit 109- 1-1, and the buffer control unit / cell count unit 109-1-1 starts the switching sequence from the switching start instruction unit 101-26 in addition to the function of the buffer control unit 101-15-1 in FIG. Is received, the number of stored cells in the buffer unit 101-16-1 at that time is held, and the stored number of stored cells and the stored cells in the buffer unit 101-8-1 sent from the active switch unit 101-4 The number is compared, and if they match, the writing / reading process of the buffer unit 101-16-1 is continued without executing the switching sequence.

これにより、既に現用系スイッチ部101−4内のバッファ部101−8−1と予備系スイッチ部101−22内のバッファ部101−16−1における蓄積セル数が切り替えシーケンスを開始する前に既に一致していた場合にはセル数の合わせ込み処理を改めて実施することを回避し、蓄積セル数が異なるときのみにセルの合わせ込み処理を実施することが可能となる。   As a result, the number of stored cells in the buffer unit 101-8-1 in the active system switch unit 101-4 and the buffer unit 101-16-1 in the standby system switch unit 101-22 have already been changed before the switching sequence is started. If they match, it is possible to avoid performing the cell number matching process anew, and to perform the cell matching process only when the number of stored cells is different.

本発明に係るスイッチ装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the switch apparatus which concerns on this invention. 図1における現用系スイッチ部101−4のバッファ部101−8−1と予備系スイッチ部101−22のバッファ部101−16−1の蓄積セル数を一致させるための一連の処理を時系列に説明する図である。A series of processes for matching the number of accumulated cells in the buffer unit 101-8-1 of the active system switch unit 101-4 and the buffer unit 101-16-1 of the standby system switch unit 101-22 in FIG. It is a figure explaining. 図2における現用系スイッチ部101−4のバッファ部101−8−1と予備系スイッチ部101−22のバッファ部101−16−1の蓄積セル数を一致させるための一連の処理過程を具体的に説明する図である。A series of processing steps for matching the numbers of stored cells in the buffer unit 101-8-1 of the active system switch unit 101-4 and the buffer unit 101-16-1 of the standby system switch unit 101-22 in FIG. FIG. 図1の第1の変形例であり、発明に係るスイッチ装置の概略部分構成を示すブロック図である。FIG. 8 is a block diagram showing a schematic partial configuration of the switch device according to the invention, which is a first modification of FIG. 1. 図1の第2の変形例であり、発明に係るスイッチ装置の概略部分構成を示すブロック図である。FIG. 9 is a block diagram showing a schematic partial configuration of the switch device according to the invention, which is a second modification of FIG. 1. 図1の第3の変形例であり、発明に係るスイッチ装置の概略部分構成を示すブロック図である。FIG. 8 is a block diagram showing a schematic partial configuration of a switch device according to the invention, which is a third modification of FIG. 1. 図1の第3の変形例であり、発明に係るスイッチ装置の概略部分構成を示すブロック図である。FIG. 8 is a block diagram showing a schematic partial configuration of a switch device according to the invention, which is a third modification of FIG. 1. 図1の第4の変形例であり、発明に係るスイッチ装置の概略部分構成を示すブロック図である。FIG. 10 is a block diagram showing a schematic partial configuration of the switch device according to the invention, which is a fourth modification of FIG. 1. 図1の第5の変形例であり、本発明に係るスイッチ装置の概略部分構成を示すブロック図である。FIG. 9 is a block diagram showing a schematic partial configuration of a switch device according to the present invention, which is a fifth modification of FIG. 1.

符号の説明Explanation of symbols

100…スイッチ装置
101−1−1〜101−1−N…入力インタフェース
101−2−1〜101−2−N…セル化部
101−3−1〜101−3−N…分配部
101−4…現用系スイッチ部
101−5…多重部
101−6−1〜101−6−N…フィルタ部
101−7−1〜101−7−N…宛先データ管理部
101−8−1〜101−8−N…バッファ部
101−9−1…バッファ制御部
101−10−1…セルカウント部
101−11−1…蓄積セル数通知部
101−12…多重部
101−13−1…フィルタ部
101−14−1…到着セル記憶部
101−15−1…バッファ制御部
101−16−1…バッファ部
101−17−1…状態制御部
101−18−1…蓄積セル数解析部
101−19−1…セル数調整部
101−20−1〜101−20−N…出力インタフェース
101−21−1〜101−21−N…選択部
101−22…予備系スイッチ部
101−23−1〜101−23−N…宛先データ管理部
101-24−1〜101−24−N…デセル化部
101−25…タイミング生成部
101−26…切り替え開始指示部
104−1−1〜104−1−N…切替セル挿入部
104−2−1〜104−2−N…切替セル検出部
104−3−1〜104−3−N…切替セル検出部
107−1−1〜107−1−N…切り替えタイミング検出部
108−1−1〜108−1−N…切り替えタイミング検出部
109−1−1…バッファ制御/セルカウント部
DESCRIPTION OF SYMBOLS 100 ... Switch apparatus 101-1-1 to 101-1-N ... Input interface 101-2-1 to 101-2-N ... Cell-ized part 101-3-1 to 101-3-N ... Distribution part 101-4 ... active system switch unit 101-5 ... multiplexing units 101-6-1 to 101-6-N ... filter units 101-7-1 to 101-7-N ... destination data management units 101-8-1 to 101-8 -N ... Buffer unit 101-9-1 ... Buffer control unit 101-10-1 ... Cell count unit 101-11-1 ... Accumulated cell number notification unit 101-12 ... Multiplexing unit 101-13-1 ... Filter unit 101- 14-1 ... Arrival cell storage unit 101-15-1 ... Buffer control unit 101-16-1 ... Buffer unit 101-17-1 ... State control unit 101-18-1 ... Accumulated cell number analysis unit 101-19-1 ... Cell number adjustment unit 101-20 1~101-20-N ... output interface 101-21-1~101-21-N ... selector 101-22 ... standby system switch unit 101-23-1~101-23-N ... destination data management unit
101-24-1 to 101-24-N ... Decelization unit 101-25 ... Timing generation unit 101-26 ... Switch start instruction units 104-1-1 to 104-1-N ... Switch cell insertion unit 104-2- 1-104-2-N ... switching cell detectors 104-3-10-104-3 -N ... switching cell detectors 107-1-1 to 107-1 -N ... switching timing detectors 108-1-1 108-1-N: switching timing detection unit 109-1-1 ... buffer control / cell count unit

Claims (19)

現用系スイッチ部と予備系スイッチ部の各々に、固定長データをセルとし同じセルを分配する分配部と、セルを内部に蓄積するバッファ部と、予め決められたアルゴリズムに従って前記バッファ部の書込又は読出制御をするバッファ制御部と、前記現用系スイッチ部からの出力セルと前記予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置において、
前記現用系スイッチ部には、
前記現用系スイッチ部の前記バッファ部における蓄積セル数をカウントするセルカウント部と、
前記セルカウント部からカウント値が通知され、切り替えシーケンス開始時刻における蓄積セル数を保持し、前記現用系スイッチ部から前記予備系スイッチ部に通知する蓄積セル数通知部とを備え、
前記予備系スイッチ部には、
前記予備系スイッチ部に到着するセルを切り替えシーケンス開始時刻から時系列で記憶する到着セル記憶部と、
前記現用系スイッチ部から通知された切り替えシーケンス開始時の前記バッファ部における蓄積セル数を初期状態として前記到着セル記憶部に記憶されている時系列のセル到着情報を使って前記現用系スイッチ部のキュー選択動作を1セル時間より短い時間で現在時刻に追いつくまでシミュレートしていく蓄積セル数解析部と、
前記蓄積セル解析部からのシミュレートの結果として得られた蓄積セル数情報とシミュレート後に到着するセルをもとにキュー選択動作を行い、シミュレータの結果として得られた蓄積セル数分だけキュー選択されるまで動作するセル数調整部と、
切り替えシーケンス開始と同時に前記バッファ制御部をリセットすると同時に書込制御と読出制御を停止し、前記蓄積セル数解析部での蓄積セル解析終了後にバッファ制御部に書込開始を指示し、前記セル数調整部でのセル数調整終了後にバッファ制御部に読出開始を指示する状態制御部とを備え、
前記現用系スイッチ部と前記予備系スイッチ部の前記バッファ部におけるセル蓄積状態とキュー選択状態が一致し、両方から常に同一のセルが出力されるようになった後に、前記選択部にて前記現用系スイッチ部から前記予備系スイッチ部に切り替えることにより無瞬断切り替えを実現することを特徴とするスイッチ装置。
In each of the active switch unit and the standby switch unit, a distribution unit that distributes the same cell as fixed-length data as a cell, a buffer unit that stores the cell therein, and a write to the buffer unit according to a predetermined algorithm Alternatively, in a switch device including a buffer control unit that performs read control, and a selection unit that selects any one of the output cell from the active switch unit and the output cell from the standby switch unit,
In the working system switch part,
A cell count unit that counts the number of accumulated cells in the buffer unit of the active switch unit;
The count value is notified from the cell count unit, the number of storage cells at the switching sequence start time is held, and the storage cell number notification unit for notifying from the active switch unit to the standby switch unit,
In the spare system switch part,
An arrival cell storage unit for storing cells arriving at the standby switch unit in time series from a switching sequence start time;
Using the time-series cell arrival information stored in the arrival cell storage unit as an initial state, the number of cells stored in the buffer unit at the start of the switching sequence notified from the active switch unit is used. An accumulated cell number analysis unit that simulates a queue selection operation in less than one cell time until it catches up with the current time;
The queue selection operation is performed based on the information on the number of stored cells obtained as a result of simulation from the storage cell analysis unit and the cells arriving after the simulation, and only the number of queues obtained as a result of the simulator is selected. A cell number adjustment unit that operates until
The buffer control unit is reset simultaneously with the start of the switching sequence, and at the same time, the write control and the read control are stopped. After the storage cell analysis in the storage cell number analysis unit is completed, the buffer control unit is instructed to start writing, and the number of cells A state control unit that instructs the buffer control unit to start reading after the adjustment of the number of cells in the adjustment unit,
After the cell storage state and the queue selection state in the buffer unit of the working system switch unit and the standby system switch unit match and the same cell is always output from both, the working unit performs the working A switching device characterized in that non-instantaneous switching is realized by switching from a system switch unit to the backup system switch unit.
前記バッファ部は複数のキューで構成されることを特徴とする、請求項1に記載のスイッチ装置。 The switch device according to claim 1, wherein the buffer unit includes a plurality of queues. 前記バッファ部で構成される複数のキューを優先クラス毎に割り当てることを特徴とする、請求項2に記載のスイッチ装置。 The switch device according to claim 2, wherein a plurality of queues configured by the buffer unit are allocated for each priority class. 前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を共通フレーム位相で実施することを特徴とする、請求項1乃至請求項3のいずれか1つの請求項に記載のスイッチ装置。 4. The switch device according to claim 1, wherein synchronization of start of a switching sequence of the active system switch unit and the standby system switch unit is performed in a common frame phase. 5. 前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を切り替え制御セルで実施することを特徴とする、請求項1乃至請求項3のいずれか1つの請求項に記載のスイッチ装置。 4. The switch device according to claim 1, wherein synchronization of start of a switching sequence of the active system switch unit and the standby system switch unit is performed in a switching control cell. 5. 前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を前記現用系スイッチ部と前記予備系スイッチ部のうち一方から他方に通知することを特徴とする、請求項1又は請求項5に記載のスイッチ装置。 6. The synchronization of the start of the switching sequence of the active system switch unit and the standby system switch unit is notified from one of the active system switch unit and the standby system switch unit to the other. The switch device according to 1. 前記蓄積セル数通知部は前記現用系スイッチ部から前記予備系スイッチ部に切り替えシーケンス開始時刻における蓄積セル数の情報に加えてキュー選択動作に使用しているポイント情報も合わせて通知することを特徴とする、請求項1乃至請求項6のいずれか1つの請求項に記載のスイッチ装置。 The accumulated cell number notifying unit notifies the standby switch unit from the active switch unit together with the information on the number of accumulated cells at the switching sequence start time and the point information used for the queue selection operation. The switch device according to any one of claims 1 to 6. 前記現用系スイッチ部から前記予備系スイッチ部には切り替えシーケンス開始と同時に両系におけるキュー選択動作にて使用しているポインタを予め決められた同じ値に合わせることを特徴とする、請求項1乃至請求項6のいずれか1つの請求項に記載のスイッチ装置。 The pointers used in the queue selection operations in both systems are set to the same predetermined value simultaneously with the start of the switching sequence from the active system switch unit to the standby system switch unit. The switch device according to claim 6. 前記現用系スイッチ部が蓄積セル数を保持するのと同時刻に前記予備系スイッチ部の蓄積セル数を保持するバッファ制御/セルカウント部を備え、バッファ制御/セルカウント部は保持した蓄積セル数と前記現用系スイッチ部から受信した蓄積セル数との比較を行い、一致していれば何もせず、異なっていれば合わせ込み処理を行うことで、前記選択部での切り替え処理前に予め合わせ込み処理を実施しておくことを特徴とする、請求項1乃至請求項8のいずれか1つの請求項に記載のスイッチ装置。 A buffer control / cell count unit for holding the number of storage cells of the standby system switch unit at the same time as the active system switch unit holds the number of storage cells, and the buffer control / cell count unit holds the number of stored cells Is compared with the number of stored cells received from the active switch unit, and if they match, nothing is performed, and if they are different, a matching process is performed, so that the matching is performed in advance before the switching process in the selection unit. The switch device according to any one of claims 1 to 8, wherein an insertion process is performed. 固定長データをセルとしセルを内部に蓄積するバッファ部と、予め決められたアルゴリズムに従って前記バッファ部の書込又は読出制御をするバッファ制御部をそれぞれ有する現用系スイッチ部及び予備系スイッチ部を備え、さらに、前記現用系スイッチ部及び前記予備系スイッチ部の各々に同じセルを分配する分配部と、前記現用系スイッチ部からの出力セルと前記予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置の無瞬断切り替え方法において、
前記現用系スイッチ部の前記バッファ部における蓄積セル数をカウントする工程と、
カウント値が通知され、切り替えシーケンス開始時刻における蓄積セル数を保持し、前記現用系スイッチ部から前記予備系スイッチ部に通知する工程と、
前記予備系スイッチ部に到着するセルを切り替えシーケンス開始時刻から時系列で記憶する工程と、
前記現用系スイッチ部から通知された切り替えシーケンス開始時の前記バッファ部における蓄積セル数を初期状態として記憶されている時系列のセル到着情報を使って前記現用系スイッチ部のキュー選択動作を1セル時間より短い時間で現在時刻に追いつくまでシミュレートする工程と、
シミュレートの結果として得られた蓄積セル数情報とシミュレート後に到着するセルをもとにキュー選択動作を行い、シミュレータの結果として得られた蓄積セル数分だけキュー選択されるまで動作する工程と、
切り替えシーケンス開始と同時に前記バッファ制御部をリセットすると同時に書込制御と読出制御を停止し、蓄積セル解析終了後にバッファ制御部に書込開始を指示し、セル数調整終了後にバッファ制御部に読出開始を指示する工程と、
前記現用系スイッチ部と前記予備系スイッチ部の前記バッファ部におけるセル蓄積状態とキュー選択状態が一致し、両方から常に同一のセルが出力されるようになった後に、前記選択部にて前記現用系スイッチ部から前記予備系スイッチ部に切り替えることにより無瞬断切り替えを実現する工程とを備えることを特徴とするスイッチ装置の無瞬断切り替え方法。
A working switch unit and a standby switch unit each having a buffer unit for storing fixed-length data as a cell and storing the cell therein, and a buffer control unit for controlling writing or reading of the buffer unit according to a predetermined algorithm are provided. Further, a distribution unit that distributes the same cell to each of the active system switch unit and the standby system switch unit, an output cell from the active system switch unit, and an output cell from the standby system switch unit In the non-instantaneous switching method of the switch device including the selection unit to select,
Counting the number of accumulated cells in the buffer unit of the active switch unit;
A step of notifying the count value, holding the number of storage cells at the switching sequence start time, and notifying the standby switch unit from the active switch unit;
Storing cells arriving at the standby switch unit in chronological order from the switching sequence start time;
Using the time-series cell arrival information stored as the initial state, the number of cells stored in the buffer unit at the start of the switching sequence notified from the active switch unit, the queue selection operation of the active switch unit is performed for one cell. A process of simulating to catch up with the current time in a time shorter than the time,
A queue selection operation based on the information on the number of stored cells obtained as a result of the simulation and the cells arriving after the simulation, and a step of operating until queues are selected by the number of stored cells obtained as a result of the simulator; ,
At the same time as the switching sequence is started, the buffer control unit is reset and at the same time, the write control and the read control are stopped. After the storage cell analysis is completed, the buffer control unit is instructed to start writing. A step of instructing,
After the cell storage state and the queue selection state in the buffer unit of the working system switch unit and the standby system switch unit match and the same cell is always output from both, the working unit performs the working And a step of realizing uninterruptible switching by switching from the system switch unit to the backup system switch unit.
前記バッファ部は複数のキューで構成されることを特徴とする、請求項10に記載のスイッチ装置の無瞬断切り替え方法。 The method according to claim 10, wherein the buffer unit includes a plurality of queues. 前記バッファ部で構成される複数のキューを優先クラス毎に割り当てることを特徴とする、請求項10に記載のスイッチ装置の無瞬断切り替え方法。 The switching method of the switching apparatus of Claim 10 characterized by the above-mentioned. The several queue comprised by the said buffer part is allocated for every priority class. 前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を共通フレーム位相で実施することを特徴とする、請求項10乃至請求項12のいずれか1つの請求項に記載のスイッチ装置の無瞬断切り替え方法。 The switch device according to any one of claims 10 to 12, wherein synchronization of switching sequence start of the active system switch unit and the standby system switch unit is performed in a common frame phase. Non-instantaneous switching method. 前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を切り替え制御セルで実施することを特徴とする、請求項10乃至請求項12のいずれか1つの請求項に記載のスイッチ装置の無瞬断切り替え方法。 The switching device according to any one of claims 10 to 12, wherein synchronization of switching sequence start of the active system switch unit and the standby system switch unit is performed in a switching control cell. Non-instantaneous switching method. 前記現用系スイッチ部と前記予備系スイッチ部の切り替えシーケンス開始の同期を前記現用系スイッチ部と前記予備系スイッチ部のうち一方から他方に通知することを特徴とする、請求項10又は請求項14に記載のスイッチ装置の無瞬断切り替え方法。 15. The synchronization of the start of the switching sequence of the active system switch unit and the standby system switch unit is notified from one of the active system switch unit and the standby system switch unit to the other. A switching method for the switch device described in the above. 前記現用系スイッチ部から前記予備系スイッチ部に切り替えシーケンス開始時刻における蓄積セル数の情報に加えてキュー選択動作に使用しているポイント情報も合わせて通知することを特徴とする、請求項10乃至請求項15のいずれか1つの請求項に記載のスイッチ装置の無瞬断切り替え方法。 The point information used for the queue selection operation in addition to the information on the number of stored cells at the switching sequence start time is also notified from the active switch unit to the standby switch unit. The method for switching the switch device without interruption in any one of claims 15. 前記現用系スイッチ部から前記予備系スイッチ部には切り替えシーケンス開始と同時に両系におけるキュー選択動作にて使用しているポインタを予め決められた同じ値に合わせることを特徴とする、請求項10乃至請求項15のいずれか1つの請求項に記載のスイッチ装置の無瞬断切り替え方法。 11. The pointer used in the queue selection operation in both systems is set to the same predetermined value simultaneously with the start of the switching sequence from the active system switch unit to the standby system switch unit. The method for switching the switch device without interruption in any one of claims 15. 前記現用系スイッチ部が蓄積セル数を保持するのと同時刻に前記予備系スイッチ部の蓄積セル数を保持し、保持した蓄積セル数と前記現用系スイッチ部から受信した蓄積セル数との比較を行い、一致していれば何もせず、異なっていれば合わせ込み処理を行うことで、前記選択部での切り替え処理前に予め合わせ込み処理を実施しておくことを特徴とする、請求項10乃至請求項17のいずれか1つの請求項に記載のスイッチ装置の無瞬断切り替え方法。 At the same time that the working system switch unit holds the number of storage cells, the number of storage cells in the standby system switch unit is held, and the number of stored cells is compared with the number of storage cells received from the working system switch unit The process is performed in advance before the switching process in the selection unit by performing nothing and performing nothing if they match and performing a matching process if they are different. A method for switching the switch device without any interruption according to any one of claims 10 to 17. 固定長データをセルとしセルを内部に蓄積するバッファ部と、予め決められたアルゴリズムに従って前記バッファ部の書込又は読出制御をするバッファ制御部をそれぞれ有する現用系スイッチ部及び予備系スイッチ部を備え、さらに、前記現用系スイッチ部及び前記予備系スイッチ部の各々に同じセルを分配する分配部と、前記現用系スイッチ部からの出力セルと前記予備系スイッチ部からの出力セルのいずれか一方を選択する選択部を備えるスイッチ装置の無瞬断切り替えプログラムにおいて、
前記現用系スイッチ部の前記バッファ部における蓄積セル数をカウントする手順と、
カウント値が通知され、切り替えシーケンス開始時刻における蓄積セル数を保持し、前記現用系スイッチ部から前記予備系スイッチ部に通知する手順と、
前記予備系スイッチ部に到着するセルを切り替えシーケンス開始時刻から時系列で記憶する手順と、
前記現用系スイッチ部から通知された切り替えシーケンス開始時の前記バッファ部における蓄積セル数を初期状態として記憶されている時系列のセル到着情報を使って前記現用系スイッチ部のキュー選択動作を1セル時間より短い時間で現在時刻に追いつくまでシミュレートする手順と、
シミュレートの結果として得られた蓄積セル数情報とシミュレート後に到着するセルをもとにキュー選択動作を行い、シミュレータの結果として得られた蓄積セル数分だけキュー選択されるまで動作する手順と、
切り替えシーケンス開始と同時に前記バッファ制御部をリセットすると同時に書込制御と読出制御を停止し、蓄積セル解析終了後にバッファ制御部に書込開始を指示し、セル数調整終了後にバッファ制御部に読出開始を指示する手順と、
前記現用系スイッチ部と前記予備系スイッチ部の前記バッファ部におけるセル蓄積状態とキュー選択状態が一致し、両方から常に同一のセルが出力されるようになった後に、前記選択部にて前記現用系スイッチ部から前記予備系スイッチ部に切り替えることにより無瞬断切り替えを実現する手順とを備えることを特徴とするスイッチ装置の無瞬断切り替えプログラム。
A working switch unit and a standby switch unit each having a buffer unit for storing fixed-length data as a cell and storing the cell therein, and a buffer control unit for controlling writing or reading of the buffer unit according to a predetermined algorithm are provided. Further, a distribution unit that distributes the same cell to each of the active system switch unit and the standby system switch unit, an output cell from the active system switch unit, and an output cell from the standby system switch unit In the non-instantaneous switching program of the switch device including the selection unit to select,
A procedure for counting the number of cells stored in the buffer unit of the active switch unit;
A procedure for notifying the count value, holding the number of storage cells at the switching sequence start time, and notifying the standby switch unit from the active switch unit,
A procedure for storing cells arriving at the standby switch unit in chronological order from the switching sequence start time;
Using the time-series cell arrival information stored as the initial state, the number of cells stored in the buffer unit at the start of the switching sequence notified from the active switch unit, the queue selection operation of the active switch unit is performed for one cell. A procedure to simulate until it catches up with the current time in less time,
A procedure for performing a queue selection operation based on the information on the number of stored cells obtained as a result of simulation and cells arriving after the simulation, and operating until queues are selected for the number of stored cells obtained as a result of the simulator; ,
At the same time as the switching sequence is started, the buffer control unit is reset and at the same time, the write control and the read control are stopped. After the storage cell analysis is completed, the buffer control unit is instructed to start writing. With instructions to
After the cell storage state and the queue selection state in the buffer unit of the working system switch unit and the standby system switch unit match and the same cell is always output from both, the working unit performs the working And a procedure for realizing uninterruptible switching by switching from the system switch unit to the backup system switch unit.
JP2008052598A 2008-03-03 2008-03-03 Switch device, and method and program for switching without instantaneous interruption thereof Pending JP2009212724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008052598A JP2009212724A (en) 2008-03-03 2008-03-03 Switch device, and method and program for switching without instantaneous interruption thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008052598A JP2009212724A (en) 2008-03-03 2008-03-03 Switch device, and method and program for switching without instantaneous interruption thereof

Publications (1)

Publication Number Publication Date
JP2009212724A true JP2009212724A (en) 2009-09-17

Family

ID=41185465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008052598A Pending JP2009212724A (en) 2008-03-03 2008-03-03 Switch device, and method and program for switching without instantaneous interruption thereof

Country Status (1)

Country Link
JP (1) JP2009212724A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012173016A1 (en) * 2011-06-13 2012-12-20 日本電気株式会社 Switch system and switch control method
JP2013074514A (en) * 2011-09-28 2013-04-22 Fujitsu Ltd Switch device and switch method
CN103141061A (en) * 2010-09-30 2013-06-05 阿尔卡特朗讯 Device and method for switching data traffic in a digital transmission network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103141061A (en) * 2010-09-30 2013-06-05 阿尔卡特朗讯 Device and method for switching data traffic in a digital transmission network
JP2013542659A (en) * 2010-09-30 2013-11-21 アルカテル−ルーセント Device and method for exchanging data traffic in a digital transmission network
CN103141061B (en) * 2010-09-30 2015-04-01 阿尔卡特朗讯 Device and method for switching data traffic in a digital transmission network
US9154446B2 (en) 2010-09-30 2015-10-06 Alcatel Lucent Device and method for switching data traffic in a digital transmission network
WO2012173016A1 (en) * 2011-06-13 2012-12-20 日本電気株式会社 Switch system and switch control method
JP2013074514A (en) * 2011-09-28 2013-04-22 Fujitsu Ltd Switch device and switch method
US9495256B2 (en) 2011-09-28 2016-11-15 Fujitsu Limited Apparatus and method for switching a packet

Similar Documents

Publication Publication Date Title
JP2848400B2 (en) Switching device for prioritized information packets
JPH0774749A (en) Switching system
JPH06261058A (en) Common memory switch and switching method for routing digital information signal
JP2671699B2 (en) Cell exchange device
JP2009212724A (en) Switch device, and method and program for switching without instantaneous interruption thereof
JP2009253408A (en) Redundant gateway system
US8422366B2 (en) Data transmission device
JP2010050903A (en) Transmission apparatus
JPH1117696A (en) ATM link switching method
EP0504710A1 (en) Cross-point type switch using common memories
WO2000067519A1 (en) Buffer management method and apparatus
JPH0556065A (en) Switch synchronization changeover system
WO2012173016A1 (en) Switch system and switch control method
JPH11261598A (en) Atm switch system
JPH01270431A (en) High-speed packet exchange switch
JP2009218959A (en) Synchronous multiplexed transmission apparatus, synchronous multiplex transmission method, and synchronous multiplexed transmission program
JP5799771B2 (en) Gateway device
JPH057219A (en) Atm cell format converting system
JPH06224932A (en) Packet converter
JP2012044391A (en) Data reception device, data reception device control method, and data reception device control program
JP4021566B2 (en) Data memory device and data memory control method
JPH088922A (en) System switching device and system switching method
JP3887747B2 (en) Signal loss detection device and signal loss detection method
JP3310495B2 (en) Instantaneous interruption virtual path switching system
JPH09224039A (en) No-hit switching device and switching method for delay priority control buffer