JPH11289332A - Switching method and device for buffer memory - Google Patents

Switching method and device for buffer memory

Info

Publication number
JPH11289332A
JPH11289332A JP10089673A JP8967398A JPH11289332A JP H11289332 A JPH11289332 A JP H11289332A JP 10089673 A JP10089673 A JP 10089673A JP 8967398 A JP8967398 A JP 8967398A JP H11289332 A JPH11289332 A JP H11289332A
Authority
JP
Japan
Prior art keywords
memory
information
buffer
switching
active
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
JP10089673A
Other languages
Japanese (ja)
Inventor
裕昭 ▲高▼野
Hiroaki Takano
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10089673A priority Critical patent/JPH11289332A/en
Publication of JPH11289332A publication Critical patent/JPH11289332A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To ensure non-break changeover for a buffer memory. SOLUTION: When there is a switching of a buffer unit from an active system to a reserve system, the amount of information accumulated in each component memory (a buffer memory) in an active system buffer unit is investigated and, information read-out is allowed regarding the component memory of the reserve system, corresponding to the component memory of the active system, where the accumulated amount of information is below a first set value.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、バッファメモリの
切換方法及び装置に関し、たとえばATM(Asynchrono
us Transfer Mode: 非同期転送モード)通信システ
ムなどの通信システムの構成要素のなかでシェーピング
用のバッファメモリを備えたもの、たとえば交換機、多
重化装置、端末などに適用し得るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for switching a buffer memory, for example, an ATM (Asynchrono).
us Transfer Mode (Asynchronous Transfer Mode) Among components of a communication system such as a communication system, a device having a buffer memory for shaping, such as a switch, a multiplexer, a terminal, and the like, can be applied.

【0002】[0002]

【従来の技術】一般に、情報処理システムや交換システ
ムを含む通信システムでは、故障時でもシステムの稼動
を停止しないなど信頼性向上のために、各機能について
まったく同一の構成を有する現用系および予備系の2つ
の装置を用意して、二重冗長構成をとる。現にその機能
を発揮している現用系の装置が故障した場合には、ただ
ちに切換処理が行われ、当該機能は予備系の装置によっ
て実現されるようになる。
2. Description of the Related Art In general, in a communication system including an information processing system and a switching system, an active system and a standby system having exactly the same configuration for each function are provided in order to improve reliability such that the operation of the system is not stopped even when a failure occurs. And a double redundant configuration is prepared. If the active system device that is actually performing its function breaks down, the switching process is immediately performed, and the function is realized by the standby system device.

【0003】故障以外では、メンテナンスなどの場合に
も予備系への切換処理が行われる。
[0003] In addition to the failure, the process of switching to the standby system is also performed in the case of maintenance or the like.

【0004】これらの切換処理の際には、通信が一瞬も
途切れることなく切り換えられること、すなわち無瞬断
切換が求められる。ATM伝送における無瞬断切換と
は、切換処理の前後で、ATMセルが1セルも失われ
ず、かつ各コネクションについてATMセルの順序が入
れ替わらないことである。
In these switching processes, it is required that communication be switched without interruption for a moment, that is, non-instantaneous interruption switching. The hitless switching in the ATM transmission means that no ATM cell is lost before and after the switching process, and the order of the ATM cells is not changed for each connection.

【0005】とりわけメンテナンスなどの場合には、完
全な無瞬断切換が求められる。
[0005] In particular, in the case of maintenance, etc., complete instantaneous interruption switching is required.

【0006】通常時には、従来のATM通信装置の現用
系装置に対しては、ATMセルが流入され順次に出力さ
れて行くが、予備系装置にはまったくATMセルが流入
されない。
At normal times, ATM cells flow into the active system of the conventional ATM communication device and are sequentially output, but no ATM cells flow into the standby system.

【0007】切換処理の際には、まず現用系装置に対す
るATMセルの流入を停止するとともに予備系装置へA
TMセルを流入させる。現用系装置では、新たなATM
セルの流入がなくなりそれまで蓄積されていたATMセ
ルが流出されるだけなので、蓄積されているセル数は減
少して行く。逆に予備系装置では、流入するだけで流出
がないので蓄積されるATMセルの数は増加して行く。
At the time of the switching process, the flow of the ATM cells into the working system is first stopped, and the A
The TM cell flows in. In the current system, a new ATM
The number of stored cells is decreasing because the ATM cells that have been stored until then are only discharged as the cells no longer flow. Conversely, in the standby system, the number of ATM cells to be stored increases since only the flow-in and no flow-out occurs.

【0008】そして現用系装置に蓄積されていたATM
セルがすべて流出すると、予備系装置からのATMセル
の流出が開始され、予備系装置が現用系装置となり、こ
れまでの現用系装置は、あるいはプログラムによる障害
修復処理の対象となり、あるいは手作業によって新たな
パッケージと取り替えられる。
[0008] The ATM stored in the active device
When all the cells have flowed out, the ATM cells have started to flow out of the standby system, the standby system has become the active system, and the current active system has been subjected to the failure repair processing by the program or has been manually operated. Replaced with a new package.

【0009】[0009]

【発明が解決しようとする課題】ところが上述の現用系
および予備系装置におけるATMセルの流入、蓄積、流
出は、コネクション単位で行われ、各コネクションのA
TMセル伝送速度はトラヒック密度などの条件を考慮し
てネットワークが決めるため、同時点で見ても多様であ
る。伝送速度の遅いコネクションがあると切換処理時の
現用系装置に蓄積されたATMセルが無くなるまで時間
がかかるので、そのあいだに予備系装置では、伝送速度
の速いコネクションから順番にセルがオーバーフローし
得る。オーバーフローによってセルが失われると前記の
無瞬断切換が達成できない。
However, the inflow, accumulation and outflow of ATM cells in the above-mentioned active and standby systems are performed on a connection basis, and the A
Since the TM cell transmission speed is determined by the network in consideration of conditions such as traffic density, it is diversified at the same time. If there is a connection with a low transmission speed, it takes time until the ATM cells stored in the active device at the time of the switching process are exhausted, and during that time, in the standby device, cells may overflow in order from the connection with the high transmission speed. . If cells are lost due to overflow, the above-mentioned instantaneous interruption switching cannot be achieved.

【0010】[0010]

【課題を解決するための手段】かかる課題を解決するた
め、独立のバッファメモリとして動作する複数の要素メ
モリを有するバッファユニットを複数併置しておき、使
用するバッファユニットを、バッファメモリとして使用
している現用系からバッファメモリとして使用していな
い予備系に切り換える方法において、以下の構成を備え
ることを特徴とする。
In order to solve this problem, a plurality of buffer units having a plurality of element memories operating as independent buffer memories are arranged in parallel, and the buffer units used are used as buffer memories. A method for switching from an active system to a standby system not used as a buffer memory has the following configuration.

【0011】すなわち、第1の発明では、(1)通常、
伝送されてきた情報は、前記現用系バッファユニットの
各要素メモリに書き込まれた後読み出され、(2)切り
換えが開始されると、まずは、前記現用系のバッファユ
ニット内の各要素メモリへの情報の書き込みをやめて予
備系のバッファユニット内の各要素メモリに情報を書き
込むようにし、(3)次いで、前記現用系バッファユニ
ット内の各要素メモリに蓄積されている情報の量を調
べ、(4)蓄積されている情報の量が第1の設定値以下
になった現用系の要素メモリに対応する予備系の要素メ
モリについては、情報の読み出しを許可する。
That is, in the first invention, (1)
The transmitted information is read after being written into each element memory of the active buffer unit. (2) When switching is started, first, the information is transferred to each element memory in the active buffer unit. (3) Then, the amount of information stored in each element memory in the working buffer unit is checked to determine the amount of information (4). The reading of information is permitted for the standby element memory corresponding to the active element memory in which the amount of stored information has become equal to or less than the first set value.

【0012】また、独立のバッファメモリとして動作す
る複数の要素メモリを有するバッファユニットを複数併
置しておき、使用するバッファユニットを、バッファメ
モリとして使用している現用系からバッファメモリとし
て使用していない予備系に切り換える装置において、以
下の構成を有することを特徴とする。
In addition, a plurality of buffer units having a plurality of element memories operating as independent buffer memories are arranged in parallel, and the buffer units to be used are not used as buffer memories from the current system used as the buffer memory. An apparatus for switching to a standby system has the following configuration.

【0013】すなわち、第2の発明では、(1)切り換
えまえには前記現用系のバッファユニットに情報を伝送
し、切り換えが開始されると前記予備系のバッファユニ
ットに情報を伝送する手段と、(2)前記現用系バッフ
ァユニット内の各要素メモリに蓄積されている情報の量
を調べる手段と、(3)蓄積されている情報の量が第1
の設定値以下になった現用系の要素メモリに対応する予
備系の要素メモリについては、情報の読み出しを許可す
る手段とを備える。
That is, in the second invention, (1) means for transmitting information to the active buffer unit before switching, and transmitting information to the standby buffer unit when switching is started; (2) means for checking the amount of information stored in each element memory in the active buffer unit; and (3) the amount of information stored is
The spare element memory corresponding to the active element memory having a value equal to or less than the set value of the standby system is provided with means for permitting reading of information.

【0014】[0014]

【発明の実施の形態】(A)実施形態 以下、本発明にかかるバッファメモリの切換方法及び装
置を、ATM交換機に適用した場合を例に、一実施形態
について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (A) Embodiment One embodiment of the present invention will be described below with reference to an example in which a buffer memory switching method and apparatus according to the present invention is applied to an ATM exchange.

【0015】ATM通信では通信の品質を保つためにト
ラヒック制御が不可欠であるが、本実施形態はこのトラ
ヒック制御を行うシェーピング機能を備えたATM交換
機で、無瞬断切換を実現するものである。
In ATM communication, traffic control is indispensable in order to maintain communication quality. In this embodiment, an ATM switch having a shaping function for performing this traffic control is used to realize instantaneous interruption switching.

【0016】(A−1)実施形態の構成 実施形態にかかるメモリ切換装置10を図1に示す。こ
のメモリ切換装置10はATM交換機のなかでは、たと
えばスイッチ部とNIC(Network InterfaceCard)部
のインタフェースとして設けられ、NIC部に接続され
たATM端末などと前記スイッチ部とのあいだで、シェ
ーピングを行うために使用される。
(A-1) Configuration of the Embodiment FIG. 1 shows a memory switching device 10 according to the embodiment. The memory switching device 10 is provided, for example, as an interface between a switch unit and an NIC (Network Interface Card) unit in an ATM exchange, and performs shaping between an ATM terminal or the like connected to the NIC unit and the switch unit. Used for

【0017】図1において、入力切換部11は伝送路1
1Aを介して伝送されてくるすべてのコネクションのA
TMセルを一括して、伝送路11Bまたは11Cのどち
らか一方に伝送する回路である。
In FIG. 1, the input switching unit 11 is
A of all connections transmitted via 1A
This is a circuit that collectively transmits TM cells to one of the transmission lines 11B and 11C.

【0018】伝送路11Bは現用系シェーピング用FI
FO12の入力端子に接続されて、入力切換部11から
現用系シェーピング用FIFO12へとATMセルを伝
送するための伝送路である。
The transmission line 11B is an FI for active shaping.
This is a transmission path connected to the input terminal of the FO 12 and for transmitting an ATM cell from the input switching unit 11 to the working type FIFO 12.

【0019】同様に伝送路11Cは、予備系シェーピン
グ用FIFO13の入力端子に接続されて、入力切換部
11から予備系シェーピング用FIFO13へとATM
セルを伝送するための伝送路である。
Similarly, the transmission line 11C is connected to the input terminal of the standby system FIFO 13 and the ATM is transferred from the input switching unit 11 to the standby system FIFO 13.
This is a transmission path for transmitting cells.

【0020】現用系シェーピング用FIFO12とその
後段の出力制御部14とを合わせたものが、ひとつのシ
ェーピング装置である。シェーピング装置は入力したA
TMセルをひとまずバッファメモリに蓄積しては、読み
出して出力するタイミングを制御することにより、出力
され伝送されるATMセルのセル間隔を保ち、伝送速度
が瞬時も一定速度を超えないように動作する装置であ
る。
The combination of the active-system shaping FIFO 12 and the output control unit 14 at the subsequent stage is one shaping device. The shaping device is the input A
By temporarily storing the TM cells in the buffer memory and controlling the timing of reading and outputting, the cell interval between the output and transmitted ATM cells is maintained, and the operation is performed so that the transmission speed does not exceed a certain speed instantaneously. Device.

【0021】現用系シェーピング用FIFO12は、F
IFO(First In First Out)すなわち先入れ先出
し型のバッファメモリを並列に複数備えている。ここで
はその数を2048個とするが、それより多くてもよく
少なくてもよい。たとえば4096個であってもよい。
The working type shaping FIFO 12 is
A plurality of buffer memories of an IFO (First In First Out), that is, a first-in first-out type, are provided in parallel. Here, the number is 2048, but may be more or less. For example, the number may be 4096.

【0022】2048個の要素FIFOのおのおのがひ
とつのコネクションに対応するので、このメモリ切換装
置10を介して張ることができるコネクション数は最大
で、2048である。これら2048個の要素FIFO
には異なる識別番号が付されている。
Since each of the 2048 element FIFOs corresponds to one connection, the maximum number of connections that can be established via the memory switching device 10 is 2048. These 2048 element FIFOs
Have different identification numbers.

【0023】出力制御部14はこれらの要素FIFOに
蓄積されたATMセルの数すなわちキュー長(待ち行列
数)をモニタし、要素FIFOからのATMセルの出力
(読み出し)タイミングを制御することで、伝送速度の
異なるコネクションごとにシェーピングを行う部分であ
る。
The output control unit 14 monitors the number of ATM cells stored in these element FIFOs, that is, the queue length (the number of queues), and controls the output (reading) timing of the ATM cells from the element FIFOs. This is a part that performs shaping for each connection with a different transmission speed.

【0024】出力制御部14に接続されているキュー長
識別部16は、シェーピング用FIFO12から13へ
のメモリ切換処理の開始後に、現用系シェーピング用F
IFO12内の各要素FIFOのキュー長が0であるか
どうかを識別する部分である。
The queue length identification unit 16 connected to the output control unit 14 starts the memory switching process from the shaping FIFOs 12 to 13 and then starts the active system shaping FIFO.
This is a part for identifying whether or not the queue length of each element FIFO in the IFO 12 is zero.

【0025】予備系シェーピング用FIFO13および
出力制御部15は、それぞれ現用系シェーピング用FI
FO12、出力制御部14と同一構成、同一機能を有す
る部分である。予備系13内の2048個の要素FIF
Oには異なる識別番号が付されているが、これらの要素
FIFOは現用系12内の要素FIFOに対し、識別番
号で1対1に対応付けられるものとする。そして対応関
係にある現用系、予備系の一対の要素FIFOが、後述
する切換処理の前後で同一のコネクションのバッファメ
モリとなる。
The standby-system shaping FIFO 13 and the output control unit 15 are provided with the active-system shaping FIFO 13, respectively.
The FO 12 has the same configuration and the same function as the output control unit 14. 2048 element FIFs in the standby system 13
Although different identification numbers are assigned to O, it is assumed that these element FIFOs are associated with the element FIFOs in the active system 12 on an one-to-one basis by identification numbers. The pair of elementary FIFOs of the active system and the standby system having a corresponding relationship become buffer memories of the same connection before and after a switching process described later.

【0026】出力制御部15に接続されている到着フラ
グ17は、予備系シェーピング用FIFO13内の各要
素FIFOに切換処理の開始後、最初のATMセルが到
着したときにその旨を示す状態となるレジスタである。
The arrival flag 17 connected to the output control unit 15 is in a state indicating that the first ATM cell has arrived after the start of the switching process to each element FIFO in the spare shaping FIFO 13 after the start of the switching process. It is a register.

【0027】出力制御部15と14は、切換処理の際に
制御信号をやり取りするために制御バス18,19で接
続されている。
The output control units 15 and 14 are connected by control buses 18 and 19 for exchanging control signals during the switching process.

【0028】出力制御部14の出力端子に接続された伝
送路14Aは、コネクションごとにATMセルを伝送す
るための伝送路で、選択部20に接続されている。
A transmission line 14A connected to the output terminal of the output control unit 14 is a transmission line for transmitting ATM cells for each connection, and is connected to the selection unit 20.

【0029】同様に、出力制御部15の出力端子に接続
された伝送路15Aは、コネクションごとにATMセル
を伝送するための伝送路で、選択部20に接続されてい
る。
Similarly, a transmission line 15A connected to the output terminal of the output control unit 15 is a transmission line for transmitting ATM cells for each connection, and is connected to the selection unit 20.

【0030】選択部20は、現用系12および/または
予備系13から読み出されたATMセルを多重化して伝
送路20Aから送出する部分である。
The selecting section 20 is a section for multiplexing the ATM cells read from the active system 12 and / or the standby system 13 and transmitting the multiplexed ATM cells from the transmission line 20A.

【0031】以下、このような構成を有する本実施形態
の動作について説明する。
Hereinafter, the operation of the present embodiment having such a configuration will be described.

【0032】(A−2)実施形態の動作 通常は、張られているすべてのコネクションのATMセ
ルは、伝送路11Aから入力切換部11に供給され、そ
のすべてが伝送路11Bを介して現用系シェーピング用
FIFO12に送出されている。このとき、すべてのコ
ネクションのATMセルの伝送経路は、伝送路11A、
入力切換部11、伝送路11B、現用系シェーピング用
FIFO12、出力制御部14、伝送路14A、選択部
20、伝送路20Aの順番である。
(A-2) Operation of the Embodiment Normally, the ATM cells of all the established connections are supplied from the transmission line 11A to the input switching unit 11, and all of the ATM cells are connected to the active system via the transmission line 11B. It is sent to the shaping FIFO 12. At this time, the transmission paths of the ATM cells of all the connections are the transmission path 11A,
The order of the input switching unit 11, the transmission path 11B, the working-system shaping FIFO 12, the output control unit 14, the transmission path 14A, the selection unit 20, and the transmission path 20A.

【0033】現用系シェーピング用FIFO12では、
これらATMセルはコネクションごとに別の要素FIF
Oに蓄積され、コネクションごとに異なる伝送速度を超
えないように出力選択部14に読み出されたあと、伝送
路14Aを介して選択部20に運ばれていき、選択部2
0はこれらの各コネクションのセルを多重して伝送路2
0Aから送出する。この状態では、伝送路11C、15
Aを伝送されるセルはない。
In the working type FIFO 12 for shaping,
These ATM cells are stored in separate element FIFOs for each connection.
O, and are read out to the output selection unit 14 so as not to exceed a transmission rate that differs for each connection, and then carried to the selection unit 20 via the transmission path 14A,
0 multiplexes the cells of each of these connections and
Send from 0A. In this state, the transmission lines 11C, 15
No cell is transmitted A.

【0034】現用系シェーピング用FIFO12や出力
制御部14における障害発生、あるいはメンテナンスな
どのために、現用系12から予備系13へと使用するメ
モリを切り換える処理が行われると、ただちに入力切換
部11は伝送路11Cを選択する。
When a process for switching the memory used from the active system 12 to the standby system 13 is performed for the occurrence of a failure in the active system shaping FIFO 12 or the output control unit 14, or for maintenance, the input switching unit 11 immediately starts operating. The transmission path 11C is selected.

【0035】これにより、このメモリ切換処理の開始後
に伝送路11Aを伝送されてくるすべてのコネクション
のATMセルは、伝送路11Cを介して予備系シェーピ
ング用FIFO13に供給されるようになる。
As a result, the ATM cells of all the connections transmitted on the transmission line 11A after the start of the memory switching process are supplied to the backup shaping FIFO 13 via the transmission line 11C.

【0036】したがって切換処理の開始後では、現用系
シェーピング用FIFO12内の使用されている各要素
FIFOのキュー長は、出力制御部14がATMセルを
読み出すたびに短縮されていく。この短縮の速さはコネ
クションの伝送速度に応じて異なる。
Therefore, after the start of the switching process, the queue length of each element FIFO used in the active-system shaping FIFO 12 is reduced each time the output control unit 14 reads the ATM cell. The speed of this reduction depends on the transmission speed of the connection.

【0037】一方、当該切換処理によって予備系シェー
ピング用FIFO13では、張られているコネクション
に対応する要素FIFOにATMセルが格納されはじめ
る。
On the other hand, in the spare-system shaping FIFO 13 by the switching process, the ATM cell starts to be stored in the element FIFO corresponding to the established connection.

【0038】ここで、切換処理の前後で連続して張られ
ているあるひとつのコネクションに着目すると、このコ
ネクションのATMセルは切換処理まえまでは、現用系
シェーピング用FIFO12内のひとつの要素FIFO
に格納され、そこから読み出されていたが、切換処理が
開始されると、予備系シェーピング用FIFO13内の
あるひとつの要素FIFOに格納されはじめる。
Attention is paid to one connection that is continuously extended before and after the switching process. Before the switching process, the ATM cells of this connection are stored in one element FIFO in the active-system shaping FIFO 12.
When the switching process is started, the data is started to be stored in a certain element FIFO in the standby-system shaping FIFO 13.

【0039】予備系13の当該要素FIFOのキュー長
は、当該コネクションの伝送速度に応じた速さで伸長し
ていくが、当該コネクションのセル順序が切換処理の前
後で保たれるためには、現用系12の対応する要素FI
FOのキュー長が0になってからでなければ予備系13
の要素FIFOからATMセルを読み出すことはできな
い。一方で、セルを失わないためには、切換処理の開始
後セルが蓄積されていく予備系13の各要素FIFO
で、ひとつのセルもオーバーフローしてはならない。
The queue length of the element FIFO of the standby system 13 is extended at a speed corresponding to the transmission speed of the connection. However, in order for the cell order of the connection to be maintained before and after the switching process, The corresponding element FI of the active system 12
Unless the queue length of the FO becomes 0, the standby system 13
ATM cells cannot be read from the element FIFO. On the other hand, in order not to lose the cells, each element FIFO of the standby system 13 in which cells are accumulated after the start of the switching process.
So no cell must overflow.

【0040】そこで、到着フラグ17の状態をモニタし
ている出力制御部15は、予備系13の当該要素FIF
Oに最初の1セルが到着すると、2048個の要素FI
FOのなかから当該要素FIFOを識別する前記識別番
号を、制御バス19を介して出力制御部14に送出し、
問い合わせを行う。
Therefore, the output control unit 15, which monitors the state of the arrival flag 17, sets the corresponding
When the first cell arrives at O, 2048 element FIs
The identification number for identifying the element FIFO from the FO is transmitted to the output control unit 14 via the control bus 19,
Make an inquiry.

【0041】この識別番号を受け取った出力制御部14
は、現用系12のなかで当該識別番号に対応する識別番
号の要素FIFOのキュー長が0であるかどうかを、キ
ュー長識別部16で検出し、この検出結果を制御バス1
8で出力制御部15に送出する。
The output control unit 14 receiving this identification number
The queue length identification unit 16 detects whether or not the queue length of the element FIFO of the identification number corresponding to the identification number in the active system 12 is 0, and this detection result is
At 8, it is sent to the output control unit 15.

【0042】当該キュー長が0である場合には、出力制
御部15は予備系13内の当該要素FIFOからATM
セルを読み出して、伝送路15Aへ送出しはじめる。
If the queue length is 0, the output control unit 15 sends the ATM from the element FIFO in the standby system 13 to the ATM.
The cell is read out and transmitted to the transmission line 15A.

【0043】当該キュー長が0でない場合には、0にな
るまで予備系13内の当該要素FIFOからのセルの読
み出しは行われない。このようにして切換処理の前後で
当該コネクションのセルの順序を保つことができる。ま
た同じコネクションならば切換処理開始の前後でもセル
の伝送速度は同じなので、現用系12内のキュー長が0
になったときにただちに予備系13の対応する要素FI
FOからセルを読み出せば、予備系13でセルがオーバ
ーフローすることもない。
When the queue length is not 0, the cell is not read from the element FIFO in the standby system 13 until the queue length becomes 0. In this way, the order of the cells of the connection can be maintained before and after the switching process. If the connection is the same, the cell transmission speed is the same before and after the start of the switching process.
Immediately, the corresponding element FI of the standby system 13
If cells are read from the FO, the cells do not overflow in the standby system 13.

【0044】このような処理は、他の識別番号の要素F
IFOについてもそれぞれ独立に行われるので、切換処
理が開始されてから終了するまでの過渡状態では、伝送
速度の速いコネクションのATMセルが伝送路15Aを
伝送されていても、伝送速度の遅いコネクションのAT
Mセルはまだ、伝送路14Aを伝送されているという状
況が生じ得る。
Such processing is performed by using the element F of another identification number.
Since the IFOs are also performed independently of each other, in the transient state from the start to the end of the switching process, even if the ATM cells of the connection with the higher transmission rate are transmitted through the transmission line 15A, the connection of the connection with the lower transmission rate is not possible. AT
A situation may arise in which the M cell is still being transmitted on the transmission line 14A.

【0045】そして現用系シェーピング用FIFO12
内のすべての要素FIFOのキュー長が0になると、切
換処理は終了する。このとき伝送路14Aを伝送される
セルはなくなり、すべてのコネクションのATMセルの
伝送経路は、伝送路11A、入力切換部11、伝送路1
1C、予備系シェーピング用FIFO13、出力制御部
15、伝送路15A、選択部20、伝送路20Aの順番
となる。これにより現用系シェーピング用FIFO12
を取り替えてメンテナンスを行うことなどが可能にな
る。
The FIFO 12 for active shaping
When the queue lengths of all the element FIFOs are 0, the switching process ends. At this time, no cells are transmitted on the transmission path 14A, and the transmission paths of the ATM cells of all connections are the transmission path 11A, the input switching unit 11, the transmission path 1
1C, the standby system FIFO 13, the output control unit 15, the transmission path 15A, the selection unit 20, and the transmission path 20A. Thus, the FIFO 12 for the active shaping is used.
Can be replaced for maintenance.

【0046】切換処理の前後において選択部20は、伝
送路14Aおよび/または伝送路15Aを伝送されてく
る各コネクションのATMセルを、どちらの伝送路を伝
送されてきたセルであるかを意識することなく多重して
伝送路20Aから出力する。伝送路20Aを伝送される
セルは、伝送路11Aを伝送されてきたセルと比べて、
1セルも失われておらず、各コネクション内でのセルの
順序も変わらない。
Before and after the switching process, the selector 20 recognizes the ATM cell of each connection transmitted on the transmission line 14A and / or the transmission line 15A as to which transmission line the cell has been transmitted. The signals are multiplexed without being output from the transmission line 20A. The cell transmitted on the transmission line 20A is different from the cell transmitted on the transmission line 11A,
No cell has been lost, and the order of cells in each connection remains unchanged.

【0047】また、切換処理の開始直後に張られるコネ
クションの最初のATMセルが、予備系13の要素FI
FOに到達する場合にも、前記の問い合わせを行うこと
により、出力制御部15はそのセルを読み出してもよい
ことを認識できる。
The first ATM cell of the connection established immediately after the start of the switching process is the element FI of the protection system 13.
Even when the cell reaches the FO, the output control unit 15 can recognize that the cell may be read by performing the above inquiry.

【0048】(A−3)実施形態の効果 以上のように、本実施形態によれば、伝送速度の異なる
複数のコネクションが張られている状態でも、1セルも
失うことなくコネクションごとのセル順序を保ちなが
ら、すなわち無瞬断で、現用系から予備系へのシェーピ
ング用FIFOの切り換えを行うことが可能である。
(A-3) Effects of Embodiment As described above, according to this embodiment, even if a plurality of connections having different transmission speeds are established, the cell order for each connection can be maintained without losing one cell. It is possible to switch the shaping FIFO from the active system to the standby system while maintaining the above condition, that is, without instantaneous interruption.

【0049】(B)他の実施形態 なお、上記の説明では、現用系12の要素FIFOのキ
ュー長が0になってから予備系13の対応する要素FI
FOからATMセルを読み出すようにしたが、実際には
出力制御部14,15などのあいだの信号のやり取りや
動作にも時間がかかることから、各コネクション内のセ
ル順序が保たれる範囲で、キュー長に0より大きい所定
の値を設定しておき、蓄積されているATMセルの数が
この値を下回ったときに予備系13の要素FIFOから
のセルの読み出しを開始するようにしてもよい。
(B) Other Embodiments In the above description, after the queue length of the element FIFO of the active system 12 becomes 0, the corresponding element FI of the standby system 13
Although the ATM cells are read from the FO, actually, it takes time to exchange and operate signals between the output control units 14 and 15 and so on, as long as the cell order in each connection is maintained. A predetermined value larger than 0 may be set as the queue length, and when the number of stored ATM cells falls below this value, reading of cells from the element FIFO of the standby system 13 may be started. .

【0050】また上記では、要素FIFOごとに最初の
1セルが到着した時点で問い合わせを行うようにした
が、問い合わせのタイミングは、最初の数セルが到着し
たときなど、セルのオーバーフローが生じない範囲でも
っと遅くしてもよい。切換処理が終了してしまえば出力
制御部14,15間での制御信号のやり取りは不要とな
るので、これによりオーバーフローを防ぎながら出力制
御部14,15での処理動作を簡略化できる。
In the above description, the inquiry is made when the first one cell arrives for each element FIFO. However, the inquiry timing is set within a range where cell overflow does not occur, such as when the first few cells arrive. May be slower. After the switching process is completed, the exchange of the control signal between the output control units 14 and 15 becomes unnecessary, so that the processing operation in the output control units 14 and 15 can be simplified while preventing the overflow.

【0051】さらに、前記問い合わせは省略してもよ
い。この場合、切換処理が開始されたことを検出した出
力制御部14がその時点以後キュー長が所定値以下にな
った現用系12内の要素FIFOの識別番号を、所定値
以下になった各時点で出力制御部15に通知するように
するとよい。切換処理時に張られているコネクション数
が多い場合などには、その方が効率的である。
Further, the inquiry may be omitted. In this case, the output control unit 14 that has detected that the switching process has been started determines the identification number of the element FIFO in the active system 12 whose queue length has become equal to or less than a predetermined value since that time. It is preferable to notify the output control unit 15 by the following. This is more efficient when the number of connections established during the switching process is large.

【0052】なお上記では、シェーピング用FIFOの
数は現用系、予備系の2つであったが、3つ以上併置す
るようにしてもよい。切換処理のあとでは、現用系とな
るシェーピング用FIFO13のための新たな予備系シ
ェーピング用FIFOが、ただちに必要になる可能性が
あるからである。
In the above description, the number of FIFOs for shaping is two for the active system and the standby system. However, three or more FIFOs may be juxtaposed. This is because, after the switching process, a new standby-system shaping FIFO for the active-system shaping FIFO 13 may be required immediately.

【0053】また上述の実施形態では、本発明をATM
交換機に適用した場合を例に説明したが、本発明はAT
M交換機以外のATM通信装置、たとえばATM多重化
装置、ATM端末などについても適用することができ
る。
Further, in the above-described embodiment, the present invention is applied to an ATM.
The case where the present invention is applied to an exchange has been described as an example.
The present invention can also be applied to ATM communication devices other than the M switch, for example, ATM multiplexers and ATM terminals.

【0054】さらに本発明の適用範囲は、ATMにも限
定されず、独立のバッファメモリとして動作する複数の
要素メモリを有するバッファユニットを複数併置してお
き、使用するバッファユニットを、バッファメモリとし
て使用している現用系からバッファメモリとして使用し
ていない予備系に切り換える方法および装置について、
広く適用できる。
Further, the scope of application of the present invention is not limited to the ATM. A plurality of buffer units having a plurality of element memories operating as independent buffer memories are arranged in parallel, and the buffer units to be used are used as buffer memories. A method and apparatus for switching from a working system to a spare system not used as a buffer memory.
Widely applicable.

【0055】[0055]

【発明の効果】以上のように第1および第2の発明によ
れば、バッファメモリを現用系から予備系に切り換える
際に、伝送されてきた情報を失うことなく各要素メモリ
に書き込まれた順序に応じて読み出すことができるの
で、無瞬断切換を実現することが可能になる。
As described above, according to the first and second aspects of the present invention, when the buffer memory is switched from the active system to the standby system, the order in which the transmitted information is written to each element memory without losing the transmitted information. , It is possible to realize instantaneous interruption switching.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施形態であるメモリ切換装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram illustrating a configuration of a memory switching device according to an embodiment.

【符号の説明】[Explanation of symbols]

10…メモリ切換装置、11…入力切換部、11A、1
1B、11C、14A、15A、20A…伝送路、12
…現用系シェーピング用FIFO、13…予備系シェー
ピング用FIFO、14,15…出力制御部、16…キ
ュー長識別部、17…到着フラグ。
10: memory switching device, 11: input switching unit, 11A, 1
1B, 11C, 14A, 15A, 20A ... transmission line, 12
.. Active FIFO for shaping, 13. FIFO for standby shaping, 14, 15... Output control unit, 16... Queue length identification unit, 17... Arrival flag.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 独立のバッファメモリとして動作する複
数の要素メモリを有するバッファユニットを複数併置し
ておき、使用するバッファユニットを、バッファメモリ
として使用している現用系からバッファメモリとして使
用していない予備系に切り換える方法において、 通常、伝送されてきた情報は、前記現用系バッファユニ
ットの各要素メモリに書き込まれた後読み出され、 切り換えが開始されると、まずは、前記現用系のバッフ
ァユニット内の各要素メモリへの情報の書き込みをやめ
て予備系のバッファユニット内の各要素メモリに情報を
書き込むようにし、 次いで、前記現用系バッファユニット内の各要素メモリ
に蓄積されている情報の量を調べ、 蓄積されている情報の量が第1の設定値以下になった現
用系の要素メモリに対応する予備系の要素メモリについ
ては、情報の読み出しを許可することを特徴とするバッ
ファメモリの切換方法。
1. A plurality of buffer units each having a plurality of element memories operating as independent buffer memories are arranged side by side, and a buffer unit to be used is not used as a buffer memory from an active system used as a buffer memory. In the method of switching to the standby system, normally, the transmitted information is read out after being written to each element memory of the active system buffer unit, and when the switching is started, first, the information in the active system buffer unit is first stored in the active system buffer unit. Then, the writing of information to each element memory is stopped, and information is written to each element memory in the standby buffer unit. Then, the amount of information stored in each element memory in the working buffer unit is checked. Corresponding to the active element memory in which the amount of stored information is less than the first set value. The component memory of the standby system is switching method of a buffer memory and permits reading of information.
【請求項2】 請求項1のバッファメモリの切換方法に
おいて、 前記切り換えが開始されてから、現用系のすべての要素
メモリに蓄積されている情報の量が第1の設定値以下に
なる切り換え終了までの期間に、第2の設定値以上の量
の情報が書き込まれる予備系の要素メモリを検出し、 現用系の要素メモリのなかで、予備系の当該要素メモリ
に対応する要素メモリだけについて、前記蓄積されてい
る情報の量が第1の設定値以下になったかどうかを調べ
ることを特徴とするバッファメモリの切換方法。
2. The switching method according to claim 1, wherein after the switching is started, the amount of information stored in all the element memories of the active system becomes equal to or less than a first set value. In the period up to, a standby element memory in which an amount of information equal to or more than the second set value is written is detected, and only the element memory corresponding to the standby element memory among the active element memories is determined. A method of switching a buffer memory, comprising: checking whether the amount of the stored information has become equal to or less than a first set value.
【請求項3】 請求項1又は2のバッファメモリの切換
方法において、 前記の情報は、ATMセルであることを特徴とするバッ
ファメモリの切換方法。
3. The buffer memory switching method according to claim 1, wherein said information is an ATM cell.
【請求項4】 独立のバッファメモリとして動作する複
数の要素メモリを有するバッファユニットを複数併置し
ておき、使用するバッファユニットを、バッファメモリ
として使用している現用系からバッファメモリとして使
用していない予備系に切り換える装置において、 切り換えまえには前記現用系のバッファユニットに情報
を伝送し、切り換えが開始されると前記予備系のバッフ
ァユニットに情報を伝送する手段と、 前記現用系バッファユニット内の各要素メモリに蓄積さ
れている情報の量を調べる手段と、 蓄積されている情報の量が第1の設定値以下になった現
用系の要素メモリに対応する予備系の要素メモリについ
ては、情報の読み出しを許可する手段とを備えることを
特徴とするバッファメモリの切換装置。
4. A plurality of buffer units each having a plurality of element memories operating as independent buffer memories are arranged in parallel, and a buffer unit to be used is not used as a buffer memory from a current system used as a buffer memory. Means for transmitting information to the active buffer unit before switching, and transmitting information to the standby buffer unit when switching is started; and Means for examining the amount of information stored in each element memory; and information on the standby element memory corresponding to the active element memory in which the amount of stored information is less than or equal to the first set value. Means for permitting reading of a buffer memory.
【請求項5】 請求項4のバッファメモリの切換装置に
おいて、 前記切り換えが開始されてから、現用系のすべての要素
メモリに蓄積されている情報の量が第1の設定値以下に
なる切り換え終了までの期間に、第2の設定値以上の量
の情報が書き込まれる予備系の要素メモリを検出する手
段と、 現用系の要素メモリのなかで、予備系の当該要素メモリ
に対応する要素メモリだけについて、前記蓄積されてい
る情報の量が第1の設定値以下になったかどうかを調べ
る手段とを備えることを特徴とするバッファメモリの切
換装置。
5. The buffer memory switching device according to claim 4, wherein after the switching is started, the amount of information stored in all the elementary memories of the active system becomes equal to or less than a first set value. Means for detecting a spare element memory in which information of an amount equal to or greater than the second set value is written during the period up to, and only the element memory corresponding to the spare element memory among the active element memories. Means for checking whether the amount of the stored information has become equal to or less than a first set value.
【請求項6】 請求項4又は5のバッファメモリの切換
装置において、 前記の情報は、ATMセルであることを特徴とするバッ
ファメモリの切換装置。
6. The buffer memory switching device according to claim 4, wherein said information is an ATM cell.
JP10089673A 1998-04-02 1998-04-02 Switching method and device for buffer memory Pending JPH11289332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10089673A JPH11289332A (en) 1998-04-02 1998-04-02 Switching method and device for buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10089673A JPH11289332A (en) 1998-04-02 1998-04-02 Switching method and device for buffer memory

Publications (1)

Publication Number Publication Date
JPH11289332A true JPH11289332A (en) 1999-10-19

Family

ID=13977279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10089673A Pending JPH11289332A (en) 1998-04-02 1998-04-02 Switching method and device for buffer memory

Country Status (1)

Country Link
JP (1) JPH11289332A (en)

Similar Documents

Publication Publication Date Title
US5072440A (en) Self-routing switching system having dual self-routing switch module network structure
US5283782A (en) System switching method and apparatus without loss of signal in cell switching system of asynchronous transfer mode
JP2000183886A (en) Communication equipment
US6134219A (en) Test of cell conductivity in ATM switching system
JPH11289332A (en) Switching method and device for buffer memory
JP2795375B2 (en) ATM switching device and method for switching between active and standby
JP2770909B2 (en) Cell order preservation control device in ATM exchange
JP3045144B2 (en) ATM switch
JP2768762B2 (en) switch
JPH0795213A (en) System switching device for digital exchange switch
JP3197152B2 (en) Cell switching equipment
US20010012267A1 (en) Redundant structure control device for exchange
JP3008923B2 (en) ATM switch switching method
JP2790112B2 (en) Instantaneous interruption switching device and switching method of delay priority control buffer
JP4455317B2 (en) Packet communication device
JP3310495B2 (en) Instantaneous interruption virtual path switching system
JPH10173678A (en) Redundancy switch system for atm switch
JP3575432B2 (en) Line switching device and line switching method
JP2967720B2 (en) ATM switch
JPH05227196A (en) Continuous duplex switching device
JPH104411A (en) Buffer fault avoidance control circuit and exchange
KR100399839B1 (en) Device and method for controlling mcb dual in dslam system
JP3071762B2 (en) Instantaneous interruption extension system for ATM equipment and ATM switch
JP2609715B2 (en) High-speed bus multiplexer
JPH07264195A (en) Cell transmission method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040406

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040824