JP2584841B2 - Packet switching control device - Google Patents

Packet switching control device

Info

Publication number
JP2584841B2
JP2584841B2 JP22637988A JP22637988A JP2584841B2 JP 2584841 B2 JP2584841 B2 JP 2584841B2 JP 22637988 A JP22637988 A JP 22637988A JP 22637988 A JP22637988 A JP 22637988A JP 2584841 B2 JP2584841 B2 JP 2584841B2
Authority
JP
Japan
Prior art keywords
buffer memory
packet
intersection
block
buses
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22637988A
Other languages
Japanese (ja)
Other versions
JPH0275248A (en
Inventor
堅志 田崎
尚司 藤野
直樹 松平
知彦 粟津
進 富永
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP22637988A priority Critical patent/JP2584841B2/en
Publication of JPH0275248A publication Critical patent/JPH0275248A/en
Application granted granted Critical
Publication of JP2584841B2 publication Critical patent/JP2584841B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 〔概 要〕 複数の入線バスと複数の出線バスとマトリクス状に布
線されると共これらのバスの各交点毎に交点バッファメ
モリを接続し、該入線バスより入力された各パケット毎
に布された内部アドレスによって指定される該交点バッ
ファメモリに一旦書き込んだ後、対応する前記出線バス
より該パケットを送出するパケット交換制御装置に関
し、 パケット網内で取扱うパケットのパケット長を全く意
識ぜすに、また、交点バッファメモリとして高速であり
さえすれば小容量メモリをもって構成できるパケット交
換制御装置を提案することを目的とし、 各前記パケットをそれぞれ一定長のブロック群に分割
すると共に、先頭ブロックにはヘッダフラグを、最後尾
ブロックにはトレーラフラグを付与し、前記入線バス側
においては、前記内部アドレスによって指定された交点
バッファメモリ内における前記ブロックの有無を検出し
て、無しを検出する毎に前記ブロック群を当該交点バッ
ファメモリ内に書き込み、前記出線バス側においては、
各前記出線バス毎に複数の出力バッファメモリを設け、
各該出線バスに接続する各前記交点バッファメモリを順
次スキャンして、各該交点バッファメモリ内のブロック
を監視し、前記ヘッダフラグを検出することによって1
の前記出力バッファメモリを確保して引続くブロック群
を取り込んでストアし、前記トレーラフラグを検出した
とき、ストアした該ブロック群を排出して当該出力バッ
ファメモリを解放する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] When a plurality of incoming buses and a plurality of outgoing buses are laid in a matrix, an intersection buffer memory is connected to each of the intersections of these buses. A packet switching control device for writing once in the intersection buffer memory designated by an internal address assigned to each input packet and then transmitting the packet from the corresponding outgoing line bus, the packet being handled in a packet network It is an object of the present invention to propose a packet switching control device which can be configured with a small-capacity memory as long as it is high-speed as an intersection buffer memory. And a header flag is assigned to the first block, and a trailer flag is assigned to the last block. Information, the write internal to detect the presence or absence of the block in the specified intersection buffer memory by an address, the block group in each time of detecting the absence to the intersection buffer memory, in the outgoing line bus side,
A plurality of output buffer memories are provided for each of the outgoing buses,
By sequentially scanning each of the intersection buffer memories connected to each of the outgoing buses, monitoring the blocks in each of the intersection buffer memories, and detecting the header flag,
The output buffer memory is secured and the subsequent block group is fetched and stored. When the trailer flag is detected, the stored block group is discharged and the output buffer memory is released.

〔産業上の利用分野〕[Industrial applications]

本発明は、複数の入線バスと複数の出線バスとがマト
リクス状に布線されると共にこれらのバスの各交点毎に
交点バッファメモリを接続し、該入線バスより入力され
た各パケット毎に付された内部アドレスによって指定さ
れる該交点バッファメモリに一旦ストアした後、対応す
る前記出線バスより該パケットを送出するパケット交換
制御装置に関する。
According to the present invention, a plurality of incoming buses and a plurality of outgoing buses are laid out in a matrix and an intersection buffer memory is connected at each intersection of these buses, and for each packet input from the incoming bus. The present invention relates to a packet switching control device that temporarily stores the packet in the intersection buffer memory specified by the assigned internal address and then transmits the packet from the corresponding outgoing line bus.

交換接続の形態としてこれまでの回線交換方式に加え
パケット交換方式が広く採用されるに至っている。これ
は、パケット交換方式が、音声データ、画像データある
いはコンピュータデータ等を1つのネットワークで共通
に取扱う、いわゆるマルチメディアサービスに最適だか
らである。また近年の高速パケット通信への要求を満た
すため、ハードウェアを主体としたパケット交換が採用
されつつある。
As a form of switching connection, a packet switching system has been widely adopted in addition to the conventional circuit switching system. This is because the packet switching method is optimal for a so-called multimedia service in which voice data, image data, computer data, and the like are commonly handled by one network. Also, in order to satisfy the demand for high-speed packet communication in recent years, packet switching mainly using hardware is being adopted.

〔従来の技術〕[Conventional technology]

第10図は本発明の前提となるバスマトリクス形のパケ
ットスイッチを表す図である。本図において、高速パケ
ットスイッチ1は、複数の入線バス2と、複数の出線バ
ス3と、マトリクス状に布線されたこれらのバス2およ
び3の各交点毎に接続される交点バッファメモリ(M)
4とを有してなる。入線バス2からそれぞれ入力された
パケットPKTには、パケットスイッチ1に入る前に、内
部アドレスADが付される。これは中央処理装置(図示せ
ず)によって行われ、各呼の宛先アドレス(相手方)に
応じた1つの出線バス3を設定する。図では、4本の出
線バス3にそれぞれアドレス“11"“10"“01"および“0
0"を割り当てた例を示しており、例えばパケットPKT(a
bcde)は、内部アドレスADとして“10"および“11"が指
定されており、これに対応する出線バス3に分岐され
る。分岐の際は、対応する交点バッファメモリ4内に一
旦パケットPKTが書き込まれる。なお、各パケットPKTに
は宛先アドレス等を示すヘッダが先頭に付されるが、図
示は省略する。
FIG. 10 is a diagram showing a bus matrix type packet switch as a premise of the present invention. In FIG. 1, a high-speed packet switch 1 includes a plurality of incoming buses 2, a plurality of outgoing buses 3, and an intersection buffer memory (for each intersection of these buses 2 and 3 wired in a matrix). M)
And 4. Before entering the packet switch 1, the packet PKT input from the input bus 2 is assigned an internal address AD. This is performed by a central processing unit (not shown), and one outgoing bus 3 is set according to the destination address (the other party) of each call. In the figure, addresses "11", "10", "01" and "0" are respectively assigned to four outgoing buses 3.
0 "is assigned, for example, packet PKT (a
bcde) has "10" and "11" designated as internal addresses AD, and branches to the outgoing line bus 3 corresponding thereto. At the time of branching, the packet PKT is once written in the corresponding intersection buffer memory 4. Note that a header indicating a destination address or the like is added to the head of each packet PKT, but is not shown.

このようなバスマトリクス形式の高速パケットスイッ
チは殆どがハードウェアで組まれており、高速なパケッ
ト交換が可能となる。また、一旦交点バッファメモリ4
にストアして出線バスに送出するので入線側と出線側と
で厳密な同期をとる必要がなく、ハードウェア構成も簡
素化される。この場合、各交点バッファメモリ4として
は、例えばECL等による高速メモリを用いる必要があ
る。スイッチ時の遅延をできるだけ小さくし、特に音声
パケットの場合に音声品質を劣化させないうようにす
る。
Most of such a high-speed packet switch of the bus matrix type is constructed by hardware, and enables high-speed packet switching. Also, once the intersection buffer memory 4
And the data is transmitted to the outgoing line bus, so that it is not necessary to strictly synchronize the incoming line and the outgoing line, and the hardware configuration is simplified. In this case, it is necessary to use a high-speed memory such as ECL as each intersection buffer memory 4. The delay at the time of switching is made as small as possible so that the voice quality is not deteriorated particularly in the case of voice packets.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記交点バッファメモリについて見ると、一般にメモ
リは大容量のメモリ程低速であり、また高速のメモリは
小容量である。今後メモリ技術の進展で、小形で大容量
かつ高速のメモリも安価に入手可能となろうが、現状で
はまだそのようなメモリは入手困難である。
As for the intersection buffer memory, generally, the memory is slower as the memory has a larger capacity, and the memory is faster as the memory is faster. With the development of memory technology in the future, small, large-capacity, high-speed memories will be available at low cost, but at present, such memories are still difficult to obtain.

一方、交点バッファメモリに書き込まれるデータとし
てはマルチメディアサービスの場合、音声データ、画像
データ、コンピュータデータ等種々に及ぶ。このうち、
コンピュータデータについては、パケット長が数kByte
にも及ぶことがある。例えば、ファイル間データ転送の
ような場合である。このような大容量パケットはとても
1つの交点バッファメモリに収容し切れない。そこで、
予め収容可能な最大パケット長を設定しておき、パケッ
トデータの送信元に対し、パケット長の制約を加えるこ
ととしている。
On the other hand, in the case of a multimedia service, data to be written to the intersection buffer memory includes various data such as audio data, image data, and computer data. this house,
For computer data, the packet length is several kilobytes
It can extend to For example, there is a case of data transfer between files. Such a large-capacity packet cannot be accommodated in one intersection buffer memory. Therefore,
The maximum packet length that can be accommodated is set in advance, and the packet length is restricted for the source of the packet data.

しかしながら、メモリの性能は日進月歩であり、上記
の収容可能な最大パケット長が変動(徐々に増大)する
可能性がある。そうすると、パケット網のユーザにとっ
ては常にパケット長について意識していなければならな
らず、運用上不便であるという問題が生ずる。
However, the performance of the memory is constantly improving, and the maximum packet length that can be accommodated may fluctuate (increase gradually). In this case, the user of the packet network must always be aware of the packet length, which causes a problem of inconvenient operation.

本発明は、パケット網内で取扱うパケットのパケット
長を全く意識せずに、また、交点バッファメモリとして
高速でありさえすれば小容量メモリをもって構成できる
パケット交換制御装置を提案することを目的とするもの
である。
SUMMARY OF THE INVENTION An object of the present invention is to propose a packet switching control device which can be configured with a small-capacity memory as long as it is high-speed as an intersection buffer memory, without being conscious of the packet length of packets handled in a packet network. Things.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理を図解して示す図である。な
お、全図を通じて同様の構成要素には同一の参照番号ま
たは記号を付して示す。第1図において、11は入力制御
手段、12は出力制御手段、13は出力バッファメモリであ
る。入力制御手段11は各入線バス対応に設けられ、出力
制御手段12は各出線対応に設けられる。出力制御手段12
には出力バッファメモリ13が付帯し、メモリ13より、交
換済みパケットが回線側の送出される。
FIG. 1 is a diagram illustrating the principle of the present invention. Note that the same components are denoted by the same reference numerals or symbols throughout the drawings. In FIG. 1, 11 is an input control means, 12 is an output control means, and 13 is an output buffer memory. The input control means 11 is provided for each incoming line bus, and the output control means 12 is provided for each outgoing line. Output control means 12
Is provided with an output buffer memory 13, from which the exchanged packet is transmitted on the line side.

〔作 用〕(Operation)

まず高速パケットスイッチ1に入力される前に、各パ
ケットPKTを一定長のブロックBKの群に分割する。分割
すべきビット長は任意でよいが、各交点バッファメモリ
4のメモリ容量以下であることを要す。さらに、各パケ
ットPKTの両端にはブロックが付加される。1つは先頭
ブロックBKsである。これにはヘッダ(header)フラグ
Hが付与されるが、既述の内部アドレスADをも含む。も
う1つは最後尾ブロックBKeであって、トレーラ(trail
er)フラグTが付与され、1つのパケットの終端である
ことを示す。このように、各パケットを複数の小ブロッ
クに分割して、これを1転送単位とし取扱うようにすれ
ば、各パケットのパケットを長を全く意識ぜずにスイッ
チングが行えることになる。
First, before being input to the high-speed packet switch 1, each packet PKT is divided into a group of blocks BK of a fixed length. The bit length to be divided may be arbitrarily set, but it is necessary that the bit length be smaller than the memory capacity of each intersection buffer memory 4. Further, blocks are added to both ends of each packet PKT. One is the top block BK s. This is provided with a header (H) flag, but also includes the internal address AD described above. The other is the last block BK e , which is a trailer
er) A flag T is added to indicate that this is the end of one packet. In this way, if each packet is divided into a plurality of small blocks and handled as one transfer unit, the switching of each packet can be performed irrespective of the length of the packet.

このために入線バス側において、各入力制御手段11は
先頭ブロックBKsによって起動されると共に、内部アド
レスADにより指定された1つの交点バッファメモリ4内
にブロックBKが有るか否かを検出する。ブロックBKが有
れば転送を停止し、ブロックBKが無いことを検出して当
該メモリ4内への転送を行う。同様の動作は、引続く一
連のブロックBKについて行われ、最後尾ブロックBKe
のトレーラフラグTを検出するまで続けられる。
In the incoming line bus side to this, with each input control means 11 is activated by the first block BK s, detects whether the block BK is in the one cross point buffer memory 4 designated by the internal address AD. If there is a block BK, the transfer is stopped, the absence of the block BK is detected, and the transfer to the memory 4 is performed. Similar operations subsequent performed on a series of blocks BK, continues until it detects a trailer flag T in the last block BK e.

一方、出線バス側においては各出力制御手段12は対応
する出線バス3に接続する交点バッファメモリ4を順次
スキャンする。このスキャンにより各メモリ4内のブロ
ックを監視する。ブロックBKが存在し、そのブロックが
先頭ブロックBKsであることをヘッダフラグHより検出
すると、まず解放されている1の出力バッファメモリ13
を確保する。確保したメモリ13に対し、引続くブロック
群BKを取り込んでストアする。そして、最後尾ブロック
BKe内のトレーラフラグTを検出すると、当該出力バッ
ファメモリ13内にストアしたパケットを排出してこれを
解放する。
On the other hand, on the outgoing bus side, each output control means 12 sequentially scans the intersection buffer memory 4 connected to the corresponding outgoing bus 3. The blocks in each memory 4 are monitored by this scan. Block BK is present, when the block is detected from the head block BK s header flag H to be, one being first freed output buffer memory 13
To secure. The subsequent block group BK is fetched and stored in the secured memory 13. And the last block
When the trailer flag T in the BK e is detected, the packet stored in the output buffer memory 13 is discharged and released.

〔実施例〕〔Example〕

第2図は本発明によるパケットの流れを簡素化して示
す図であり、入力制御手段11の前段に設けられた入力バ
ッファメモリ21にパケットPKTが入力されると、一定長
の読出しクロック毎に各ブロックBKが、入力制御手段11
および入線バス2を介して高速パケットスイッチ1内に
取り込まれる。さらに所定の交点バッファメモリ4を経
由して出線バス3に送出される。なお、各交点バッファ
メモリ4の入力段にはフィルタ機能部(図示せず)が設
けられており、パケットの内部アドレスADと一致がとれ
たパケットのみを選択して取り込む。本図によって、1
のブロックBK(ハッチングで示す)が、出力制御手段12
を介して、所定の出力バッファメモリ13に取り込まれる
様子が理解される。
FIG. 2 is a diagram showing a simplified flow of a packet according to the present invention. When a packet PKT is input to an input buffer memory 21 provided in a stage preceding the input control means 11, each packet is read every fixed-length read clock. Block BK is input control means 11
Then, it is taken into the high-speed packet switch 1 via the incoming line bus 2. Further, the signal is sent to the outgoing line bus 3 via a predetermined intersection buffer memory 4. Note that a filter function unit (not shown) is provided at the input stage of each intersection buffer memory 4, and selects and captures only packets that match the internal address AD of the packets. According to this figure, 1
Block BK (shown by hatching) is output control means 12
It is understood that the data is fetched into a predetermined output buffer memory 13 through the above.

第3図は第2図のスイッチングにおいて生じ得る不都
合を明らかにするための説明図である。第2図のブロッ
ク転送を実行する場合、マルチメディアサービスにおい
てはパケットのパケット長がまちまちであること考慮し
なければならない。例えば本図において、パケットPKT1
では極めてパケット長が長く、パケットPKT2は極めてパ
ケット長が短い場合があり得る。ここでパケットPKT1も
パケットPKT2も共に同一の出線バス3に送出されるもの
とし、パケットPKT1の方がパケットPKT2よりも早く入力
制御手段11に到達したものとすると、パケットPKT2は本
来短時間のうちに出力バッファメモリ13を経由してネッ
トワークに送出されるべきところ、パケットPKT1が長い
パケット長を有するために、相当長い時間待たされるこ
とになる。つまり、パケットPKT2に関してみるとスルー
プットが低下してしまうという不都合が生ずる。
FIG. 3 is an explanatory diagram for clarifying inconvenience that may occur in the switching of FIG. When executing the block transfer shown in FIG. 2, it must be taken into consideration that the packet length of the packet varies in the multimedia service. For example, in the figure, the packet PKT1
Therefore, the packet length may be extremely long, and the packet PKT2 may have an extremely short packet length. Here, it is assumed that both the packet PKT1 and the packet PKT2 are sent out to the same outgoing bus 3 and that the packet PKT1 arrives at the input control means 11 earlier than the packet PKT2, and the packet PKT2 has an inherently shorter time. While the packet PKT1 has to be sent to the network via the output buffer memory 13 before long, the packet PKT1 has a long packet length, so that it has to wait for a considerably long time. That is, there is an inconvenience that the throughput is reduced in the packet PKT2.

第4図は出力制御手段の意義を明らかにするための説
明図であり、第3図で説明した不都合を解消するもので
ある。第4図では、デマルチプレクサ22と、出力制御線
23が新たに示されている。出力制御手段12は、自己の系
の各交点バッファメモリ4を順次スキャンすることとす
る。このスキャンは出力制御線23を介して行われる。一
方、このスキャンによって検出したメモリ4の内容もま
た出力制御線を23を介して読み取られる。スキャンにお
いて、ヘッダフラグHが検出されれば出力制御手段12は
デマルチプレクサ22によって解放されている1つの出力
バッファメモリ(空き出力バッファメモリ)13を確保す
る。出力バッファメモリ13は、最大で入線バス2の本数
分だけ設けるようにすると、いずれの入線バス2からの
パケットも、他のパケットのパケット長の長短と無関係
にほぼリアルタイムで対応の出力バッファメモリ13に取
り込まれて行くことになる。つまりいずれのパケットに
ついても、スループットを低下させることはない。そし
て一連のブロック群BKが全て取り込まれたら、上記スキ
ャンによってトレーラフラグTを検出した時点で当該出
力バッファメモリ13を解放すればよい。
FIG. 4 is an explanatory diagram for clarifying the significance of the output control means, and eliminates the inconvenience described in FIG. In FIG. 4, the demultiplexer 22 and the output control line
23 is newly shown. The output control means 12 sequentially scans each intersection buffer memory 4 of its own system. This scanning is performed via the output control line 23. On the other hand, the content of the memory 4 detected by this scan is also read via the output control line 23. In the scan, if the header flag H is detected, the output control means 12 secures one output buffer memory (empty output buffer memory) 13 released by the demultiplexer 22. If the output buffer memory 13 is provided up to the number of the input buses 2 at the maximum, packets from any of the input buses 2 can be handled almost in real time irrespective of the length of other packets. Will be taken in. That is, the throughput does not decrease for any packet. Then, when all of the series of block groups BK are fetched, the output buffer memory 13 may be released when the trailer flag T is detected by the scan.

第5図鵜は本発明の方式を実施するための一実施例を
示す図であり、第6図は第5図における入力制御手段の
動作を図解的に示す状態遷移図、第7図は第5図におけ
る出力制御手段の動作を図解的に示す状態遷移図であ
る。まず動作の概要を理解するために、状態遷移図から
説明する。第6図を参照すると、状態Aは入力バッファ
メモリ21にパケットPKTがない状態であり、アイドル状
態Bとなる。その後、入力バッファメモリ21にパケット
PKTが入力されると、対応する交点バッファメモリ4に
対して転送可能な状態(状態C)となる。状態Dはその
交点バッファメモリ4が使用中(他のブロックBKが入っ
ているので待ちの状態である。その交点バッファメモリ
4が空きになったことが検出されると、転送中の状態E
に入り、引続く一連のブロック群BKが順次メモリ4内に
取り込まれる。つまり、トレーラフラグT以外の各ブロ
ックについて転送を繰り返す。そしてトレーラフラグT
を含むブロックBKeを転送することによって、元のアイ
ドル状態に戻る。
FIG. 5 is a diagram showing an embodiment for implementing the method of the present invention, FIG. 6 is a state transition diagram schematically showing the operation of the input control means in FIG. 5, and FIG. FIG. 6 is a state transition diagram schematically showing the operation of the output control means in FIG. 5. First, in order to understand the outline of the operation, a description will be given from a state transition diagram. Referring to FIG. 6, state A is a state in which there is no packet PKT in the input buffer memory 21, and is an idle state B. After that, the packet is stored in the input buffer memory 21.
When the PKT is input, the state becomes a state in which transfer to the corresponding intersection buffer memory 4 is possible (state C). State D is a state in which the intersection buffer memory 4 is in use (waiting because another block BK is contained. If it is detected that the intersection buffer memory 4 is empty, a state E in transfer is detected.
And a series of subsequent blocks BK are sequentially taken into the memory 4. That is, the transfer is repeated for each block other than the trailer flag T. And trailer flag T
To return to the original idle state by transferring the block BK e including.

次に第7図を参照すると、状態Aは交点バッファメモ
リ4内に転送ブロック(BKs,BK,BKe)がない状態であ
る。一方、出力制御手段12は状態Bにおいて、既述のス
キャンを各交点バッファメモリに対して順次行う。すな
わちスキャンポインタを1→2→3……の如くインクリ
メントし、また1に戻る。このスキャンにおいて、ある
交点バッファメモリ4に転送ブロックがあると判断され
ると、状態Cに至る。状態Cはその転送ブロックを出力
制御手段12に転送する。このブロックがヘッダフラグH
を転送するものであるならば、状態Dに入る。状態Dで
は複数の出力バッファメモリ13のうち解放されれいる1
の出力バッファメモリを確保する。バッファメモリ13の
確保が完了すると状態Bにより、スキャンポインタは更
新される。次のスキャンのとき当該交点バッファメモリ
4から次の転送ブロックBKを読み出して転送し(状態
C)、状態Eに移る。ヘッダフラグHでもトレーラフラ
グTでもなければ、パケットのデータそのものの転送ブ
ロックであり、対応する出力バッファメモリ13に格納す
る。この場合、1つのブロックの格納が終了する毎に、
スキャンポインタを更新し(状態B)、再びスキャンが
めぐって来たとき次のブロックを同様に格納する。状態
CでトレーラフラグTが転送されると、このTを受け
て、状態Fを至る。状態Fでは当該出力バッファメモリ
13内のブロック群(BK)を排出させ、これを解放する。
Next, referring to FIG. 7, state A is a state in which there is no transfer block (BK s , BK, BK e ) in the intersection buffer memory 4. On the other hand, in the state B, the output control means 12 sequentially performs the above-described scan on each intersection buffer memory. That is, the scan pointer is incremented as 1 → 2 → 3... And returns to 1. In this scan, when it is determined that there is a transfer block in a certain intersection buffer memory 4, the state C is reached. State C transfers the transfer block to the output control means 12. This block is the header flag H
, Then enter state D. In state D, one of the plurality of output buffer memories 13 which has been released
Allocate output buffer memory. When the securing of the buffer memory 13 is completed, the scan pointer is updated according to the state B. At the time of the next scan, the next transfer block BK is read from the intersection buffer memory 4 and transferred (state C), and the state moves to state E. If it is neither the header flag H nor the trailer flag T, it is a transfer block of the packet data itself and is stored in the corresponding output buffer memory 13. In this case, each time one block is stored,
The scan pointer is updated (state B), and the next block is stored in the same manner when the scan comes again. When the trailer flag T is transferred in the state C, the state changes to the state F in response to the transfer of the trailer flag T. In state F, the output buffer memory
Drain the blocks (BK) in 13 and release them.

上述した状態遷移の様子を踏まえて第5図を参照する
と、入力制御手段11は入力バッファメモリ21から状態通
知を受け、入力バッファメモリ21内にパケット(PKT)
ありと判断すると、転送指示を出しこれを自内に取り込
む。一方、入力制御手段11は、内部アドレスADと一致す
る1の交点バッファメモリ4から状態通知を受け、空き
であるこれに転送ブロックを書き込む。
Referring to FIG. 5 based on the state transition described above, the input control means 11 receives a state notification from the input buffer memory 21 and stores a packet (PKT) in the input buffer memory 21.
If it is determined that there is, a transfer instruction is issued and the transfer instruction is taken into the self. On the other hand, the input control means 11 receives the status notification from the one intersection buffer memory 4 that matches the internal address AD, and writes the transfer block to the empty one.

出力制御手段12は、前述のとおり各交点バッファメモ
リ4に対してスキャンを行って、出力制御線23より状態
通知を設け、転送ブロックが書き込まれていれば転送指
示を出力制御線23′より出し、その内容を自内に取り込
む。ヘッダフラグHなら出力バッファメモリ13の確保を
まず行い、そのメモリ13に引続く一連の転送ブロックを
取り込でストアシ、トレーラフラグTの出現まで続け
る。
The output control means 12 scans each intersection buffer memory 4 as described above, provides a status notification from the output control line 23, and issues a transfer instruction from the output control line 23 'if a transfer block has been written. Incorporate the contents into themselves. If the header flag is H, the output buffer memory 13 is secured first, and a series of transfer blocks subsequent to the memory 13 are fetched and the process continues until the store flag and the trailer flag T appear.

第8図は入力制御手段の具体例を示す図であり、第9
図は出力制御手段の具体例を示す図である。まず第8図
を参照すると、まず入力バッファメモリ21より状態通知
を受ける。すなわちDATA READYかまたはNOT READY(本
図の左下に示す)の通知を受ける。入力バッファメモリ
状態検出部35にてDATA READYを検出すると、読み出し要
求信号を読み出し制御部31に出力する。これにより入力
バッファメモリ21に転送指示を出す。すなわち読み出し
クロックを送る。これを受けてデータバス37により最初
の転送ブロックが送信される。この転送ブロックはデコ
ーダ32と、データレジスタ34と、ヘッダフラグ/トレー
ラフラグ検出部36に印加されることになる。まずこの検
出部36にて、ヘッダフラグHを検出すると、初期化要求
信号を読み出し制御部31に与え、これより宛先ラッチク
ロックを出力せしめる。このクロックによって既述の内
部アドレスADをデコーダ32にて解析し、このADに対応す
る宛先選択信号を出力する。かくしてAD対応の1の交点
バッファメモリ4が特定される。一方、読み出し制御部
31は書き込み要求信号とデータラッチクロックとを出力
して、それぞれ書き込み制御部33とデータレジスタ34に
印加する。したがってレジスタ34には転送ブロックが格
納される。しかし書き込み制御部33は、今特定された交
点バッファメモリ4からの状態通知、すなわちREADY/NO
T READYを見てこれがREADYでなければ起動されない。RE
ADYならばこの交点バッファメモリ4は空きであり、書
き込みクロックを送信する。これによってデータレジス
タ34の内容がデータバス38を介してバッファメモリ4に
供給される。一定数の書き込みクロックが出力される
と、書き込み制御部33は書き込み終了信号を入力バッフ
ァメモリ状態検出部35に送り、その次のブロックについ
て同様の操作を開始する。最終的に検出部36でトレーラ
フラグTを検出すれば、第6図のアイドル状態Bに戻
り、所要箇所のリセット(クリア)を行う。
FIG. 8 is a diagram showing a specific example of the input control means, and FIG.
The figure shows a specific example of the output control means. First, referring to FIG. 8, a status notification is first received from the input buffer memory 21. That is, a notification of DATA READY or NOT READY (shown at the lower left of the figure) is received. When the input buffer memory state detection unit 35 detects DATA READY, it outputs a read request signal to the read control unit 31. As a result, a transfer instruction is issued to the input buffer memory 21. That is, a read clock is sent. In response, the first transfer block is transmitted by the data bus 37. This transfer block is applied to the decoder 32, the data register 34, and the header flag / trailer flag detector 36. First, when the detecting section 36 detects the header flag H, it supplies an initialization request signal to the read control section 31 to output a destination latch clock. The internal address AD described above is analyzed by the decoder 32 using this clock, and a destination selection signal corresponding to this AD is output. Thus, one intersection buffer memory 4 corresponding to AD is specified. On the other hand, the read control unit
31 outputs a write request signal and a data latch clock, and applies them to a write control unit 33 and a data register 34, respectively. Therefore, the transfer block is stored in the register 34. However, the write control unit 33 sends a status notification from the specified intersection buffer memory 4, that is, READY / NO
See T READY, if this is not READY, it will not be invoked. RE
If it is ADY, this intersection buffer memory 4 is empty and sends a write clock. As a result, the contents of the data register 34 are supplied to the buffer memory 4 via the data bus 38. When a certain number of write clocks are output, the write controller 33 sends a write end signal to the input buffer memory state detector 35, and starts the same operation for the next block. When the detection unit 36 finally detects the trailer flag T, it returns to the idle state B in FIG. 6, and resets (clears) a required portion.

次に第9図を参照すると、まず交点バッファメモリス
キャナ42により交点バッファスキャン信号を出力し、順
次交点バッファメモリ4をスキャンする。交点バッファ
メモリ4からの状態通知がDATA READYであることが交点
バッファメモリ状態検出部46によって検出されると、転
送ブロックが書き込まれている状態であり、一旦、スキ
ャナ42に対しスキャン停止信号を送信する。これと同時
に読み出し制御部41より転送指示、すなわち読み出しク
ロックを交点バッファメモリ4に送出せしめ、これを受
けて交点バッファメモリ4から、データバス48を通して
転送ブロックが出力される。この転送ブロックはデータ
ラッチクロックによってデータレジスタ45に取り込まれ
るが、このとき、ヘッダフラグ/トレーラフラグ検出部
47で、ヘッダフラグHであることが検出されると、初期
化要求信号が出力され、アドレス変換テーブル44を駆動
する。この変換テーブル44は、今スキャン停止している
交点バッファメモリに割り付けるべき出力バッファ13の
アドレスを指定し、これに相当する書き込みアドレスを
発生する。これで一応、出力バッファのエリアを確保す
ることになる。引き続く転送ブロックは、この書き込み
アドレスより1つずつ更新したエリアに取り込まれる。
出力バッファ13への書込みは、読み出し制御部41からの
書き込み要求信号によって起動され、また更新クロック
によって上記エリアの更新を行う。書き込み制御部43は
その書き込み要求信号を受けて書き込みクロックを出力
バッファ13へ送る。一定の書き込みクロック数を出力す
ると、制御部43は書き込み終了信号のスキャナ42に与え
る。これはスキャン停止解除信号となる。再び次のスキ
ャンがめぐって来て、検出部46より次の転送ブロックを
転送すべきことが検出されると再びスキャンは停止し、
データバス48より受信したこの転送ブロックについて出
力バッファ13への書き込みを行う。最終的に検出部47で
トレーラフラグTを検出すると、書き込み制御部43に対
して初期化要求信号を送り、これに伴ってスキャナ42の
スキャンを停止を解除する。
Next, referring to FIG. 9, first, an intersection buffer scan signal is output by the intersection buffer memory scanner 42, and the intersection buffer memory 4 is sequentially scanned. When the state notification from the intersection buffer memory 4 is DATA READY by the intersection buffer memory state detection unit 46, the transfer block is being written, and a scan stop signal is transmitted to the scanner 42 once. I do. At the same time, a transfer instruction, that is, a read clock is sent from the read control unit 41 to the intersection buffer memory 4. In response to this, a transfer block is output from the intersection buffer memory 4 through the data bus 48. This transfer block is taken into the data register 45 by the data latch clock. At this time, the header flag / trailer flag detection unit
If it is detected at 47 that the header flag is H, an initialization request signal is output and the address conversion table 44 is driven. This conversion table 44 specifies the address of the output buffer 13 to be allocated to the intersection buffer memory where scanning is currently stopped, and generates a write address corresponding to this. This temporarily secures the area of the output buffer. Subsequent transfer blocks are taken into the area updated one by one from the write address.
Writing to the output buffer 13 is started by a write request signal from the read control unit 41, and the area is updated by an update clock. The write control unit 43 receives the write request signal and sends a write clock to the output buffer 13. After outputting a certain number of write clocks, the control unit 43 gives a write end signal to the scanner 42. This is a scan stop release signal. When the next scan comes over again and the detection unit 46 detects that the next transfer block should be transferred, the scan stops again,
The transfer block received from the data bus 48 is written to the output buffer 13. When the trailer flag T is finally detected by the detection unit 47, an initialization request signal is sent to the write control unit 43, and the stop of the scanning by the scanner 42 is released accordingly.

なおヘッダフラグHおよびトレーラフラグTは回線上
では不要であるから、用済みとなった段階で消去すれば
よい。
Since the header flag H and the trailer flag T are unnecessary on the line, they may be deleted when they are used.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、パケット網内に
取扱われるパケットのパケット長の長短について全く意
識する必要がなく運用が楽になる。また小分割されたブ
ロックを一単位として処理するので交点バッファメモリ
は小容量でよく、したがって一層高速なメモリを用いる
ことができるからパケット交換の高速化が図れる。
As described above, according to the present invention, there is no need to be conscious of the length of the packet length of the packet handled in the packet network, and the operation becomes easy. In addition, since the subdivided blocks are processed as one unit, the intersection buffer memory may have a small capacity, and a higher-speed memory can be used, so that the speed of packet switching can be increased.

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

第1図は本発明の方式の原理を図解して示す図、 第2図は本発明によるパケットの流れを簡素化して示す
図、 第3図は第2図のスイッチングにおいて生じ得る不都合
を明らかにするための説明図、 第4図は出力制御手段の意義を明らかにするための説明
図、 第5図は本発明の方式を実施するための一実施例を示す
図、 第6図は第5図における入力制御手段の動作を図解的に
示す状態遷移図、 第7図は第5図における出力制御手段の動作を図解的に
示す状態遷移図、 第8図は入力制御手段の具体例を示す図、 第9図は出力制御手段の具体例を示す図、 第10図は本発明の前提となるバスマトリクス形のパケッ
トスイットを表す図である。 図において、 1……高速パケットスイッチ、2……入線バス、 3……出線バス、4……交点バッファメモリ、 11……入力制御手段、12……出力制御手段、 13……出力バッファメモリ、 21……入力バッファメモリ、 PKT……パケット、AD……内部アドレス、 BK……ブロック、BKs……先頭ブロック、 BKe……最後尾ブロック、 H……ヘッダフラグ、T……トレーラフラグ。
FIG. 1 is a diagram illustrating the principle of the method of the present invention, FIG. 2 is a diagram illustrating a simplified flow of a packet according to the present invention, and FIG. 3 clarifies inconveniences that may occur in the switching of FIG. FIG. 4 is an explanatory diagram for clarifying the significance of the output control means, FIG. 5 is a diagram showing an embodiment for implementing the method of the present invention, and FIG. 7 is a state transition diagram schematically showing the operation of the input control means, FIG. 7 is a state transition diagram schematically showing the operation of the output control means in FIG. 5, and FIG. 8 shows a specific example of the input control means. FIG. 9 is a diagram showing a specific example of the output control means. FIG. 10 is a diagram showing a bus matrix type packet switch as a premise of the present invention. In the drawing, 1 ... high-speed packet switch, 2 ... incoming bus, 3 ... outgoing bus, 4 ... intersection buffer memory, 11 ... input control means, 12 ... output control means, 13 ... output buffer memory 21 Input buffer memory PKT Packet AD Internal address BK Block BK s First block BK e Last block H Header flag T Trailer flag .

───────────────────────────────────────────────────── フロントページの続き (72)発明者 粟津 知彦 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 富永 進 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 昭62−221238(JP,A) 特開 昭61−216545(JP,A) 特開 昭63−94730(JP,A) ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Tomohiko Awazu 1015 Uedanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Susumu Tominaga 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Fujitsu Limited ( 56) References JP-A-62-221238 (JP, A) JP-A-61-216545 (JP, A) JP-A-63-94730 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】マトリクス状に布線される複数の入線バス
(2)および複数の出線バス(3)と、 これらのバス(2,3)の各交点毎に接続される複数の交
点バッファメモリ(4)と、 各前記入線バス(2)毎に設けられた該入線バス(2)
から入力された各パケット(PKT)をその各々に付与さ
れた内部アドレス(AD)により指定される前記交点バッ
ファメモリ(4)に一旦書き込む入力制御手段(11)
と、 各前記出線バス(3)毎に設けられその一旦書き込まれ
た前記パケット(PKT)を対応する前記出線バス(3)
より読み出して一旦出力バッファメモリ(13)にストア
した後回線側に送出する出力制御手段(12)とを有する
パケット交換制御装置において、 各前記入力制御手段(11)は、 各前記パケット(PKT)がそれぞれ一定長のブロック(B
K)の群に分割されその先頭ブロック(BKs)にはヘッダ
フラグ(H)が付されその最後尾ブロック(BKe)には
トレーラフラグ(T)が付された一連のブロック群を受
信して、前記内部アドレス(AD)によって指定された前
記交点バッファメモリ(4)内に書き込まれる前記一定
長のブロック(BK)の有無を検出し、無しを検出する毎
に前記一連のブロック群を1つ1つ当該交点バッファメ
モリ(4)内に書き込むように構成されることを特徴と
するパケット交換制御装置。
1. A plurality of incoming buses (2) and a plurality of outgoing buses (3) arranged in a matrix, and a plurality of intersection buffers connected at each intersection of these buses (2, 3). A memory (4); and the input bus (2) provided for each of the input buses (2).
Input control means (11) for temporarily writing each packet (PKT) input from the buffer memory (4) designated by the internal address (AD) assigned to each packet (PKT)
And the packet (PKT) provided for each of the outgoing buses (3) and corresponding to the once written packet (PKT).
A packet switching control device having output control means (12) for reading out the data, temporarily storing it in an output buffer memory (13), and then sending it out to the line side, wherein each of said input control means (11) Are fixed length blocks (B
K), a series of blocks is received in which the first block (BKs) is provided with a header flag (H) and the last block (BKe) is provided with a trailer flag (T). The presence / absence of the fixed length block (BK) written in the intersection buffer memory (4) specified by the internal address (AD) is detected, and each time the absence is detected, the series of block groups are read one by one. A packet switching control device configured to write data into the intersection buffer memory (4).
【請求項2】マトリクス状の布線される複数の入線バス
(2)および複数の出線バス(3)と、 これらのバス(2,3)の各交点毎に接続される複数の交
点バッファメモリ(4)と、 各前記入線バス(2)毎に設けられ該入線バス(2)か
ら入力された各パケット(PKT)をその各々に付与され
た内部アドレス(AD)により指定される前記交点バッフ
ァメモリ(4)に一旦書き込む入力制御手段(11)と、 各前記出線バス(3)毎に設けられその一旦書き込まれ
た前記パケット(PKT)を対応する前記出線バス(3)
より読み出して一旦出力バッファメモリ(13)にストア
した後回線側に送出する出力制御手段(12)とを有する
パケット交換制御装置において、 前記出力バッファメモリ(13)を最大で前記入線バス
(2)の本数分だけ複数設けてなると共に、 各前記出力制御手段(12)は、 各前記パケット(PKT)がそれぞれ一定長のブロック(B
K)の群に分割されその先頭ブロック(BKs)にはヘッダ
フラグ(H)が付されその最後尾ブロック(BKe)には
トレーラフラグ(T)が付された一連のブロック群のう
ちのいずれか1つがそれぞれ書き込まれた各前記交点バ
ッファメモリ(4)を順次スキャンして各該交点バッフ
ァメモリ(4)内の前記ブロックを監視し、前記ヘッダ
フラグ(H)を検出することによって1の前記出力バッ
ファメモリ(13)を確保して引続く前記一連のブロック
群を順次当該出力バッファメモリ(13)内に取り込んで
ストアし、さらに、前記トレーラフグ(T)を検出する
ことによってそのストアした一連のブロック群を前記回
線側の排出して当該出力バッファメモリ(13)を解放す
るように構成されることを特徴とするパケット交換制御
装置。
2. A plurality of incoming buses (2) and a plurality of outgoing buses (3) arranged in a matrix, and a plurality of intersection buffers connected at each intersection of these buses (2, 3). A memory (4) provided for each of the input buses (2), and each packet (PKT) input from the input bus (2) being designated by an internal address (AD) assigned to the packet (PKT). An input control means (11) for temporarily writing to the intersection buffer memory (4); and an output line bus (3) provided for each of the output line buses (3) and corresponding to the once written packet (PKT).
A packet switching control device having output control means (12) for reading out the data from the output buffer memory, temporarily storing it in the output buffer memory (13), and sending it out to the line side. ), And each of the output control means (12) is arranged such that each of the packets (PKT) is a block (B
K), the first block (BKs) is given a header flag (H), and the last block (BKe) is given a trailer flag (T). Each of the intersection buffer memories (4) in which one is written is sequentially scanned to monitor the block in each of the intersection buffer memories (4), and the output of 1 is detected by detecting the header flag (H). The buffer memory (13) is secured and the subsequent series of blocks are sequentially taken into the output buffer memory (13) and stored, and furthermore, the stored series of blocks is detected by detecting the trail flag (T). A packet switching control device characterized in that a group is discharged on the line side to release the output buffer memory (13).
JP22637988A 1988-09-12 1988-09-12 Packet switching control device Expired - Fee Related JP2584841B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22637988A JP2584841B2 (en) 1988-09-12 1988-09-12 Packet switching control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22637988A JP2584841B2 (en) 1988-09-12 1988-09-12 Packet switching control device

Publications (2)

Publication Number Publication Date
JPH0275248A JPH0275248A (en) 1990-03-14
JP2584841B2 true JP2584841B2 (en) 1997-02-26

Family

ID=16844204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22637988A Expired - Fee Related JP2584841B2 (en) 1988-09-12 1988-09-12 Packet switching control device

Country Status (1)

Country Link
JP (1) JP2584841B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6249156B2 (en) * 2013-07-23 2017-12-20 日本電気株式会社 Pull-type network relay device and network relay method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61216545A (en) * 1985-02-14 1986-09-26 Fujitsu Ltd High speed packet switching system
JPS62221238A (en) * 1986-03-22 1987-09-29 Nippon Telegr & Teleph Corp <Ntt> Packet transfer processor
JPH0650848B2 (en) * 1986-10-08 1994-06-29 日本電気株式会社 Split multiple packet signal restoration device

Also Published As

Publication number Publication date
JPH0275248A (en) 1990-03-14

Similar Documents

Publication Publication Date Title
US6414961B1 (en) ATM switching with virtual circuit FIFO buffers
US5797041A (en) Communication control system utilizing a shared buffer composed of first and second descriptors which are managed by high and low level protocols
US20050144338A1 (en) Data transfer apparatus
US7216185B2 (en) Buffering apparatus and buffering method
USRE39026E1 (en) Bus protocol
US6584512B1 (en) Communication DMA device for freeing the data bus from the CPU and outputting divided data
JP2584841B2 (en) Packet switching control device
JPH10150443A (en) Atm exchange
JPH06284453A (en) Atm cell switch
JP2762506B2 (en) Line controller
JP2953362B2 (en) LAN switching device
JPH1032581A (en) Atm cell switch
JPH06164641A (en) Fifo memory and packet switch
JP3202769B2 (en) Burst read processing device
JPH0546565A (en) Data processor
JP2000132498A (en) Dma transfer controller
JPH03259640A (en) Data transfer system in digital network communication system
US20020181456A1 (en) Switch device and data transfer system
JPH0833869B2 (en) Data processing device
JP3242599B2 (en) Information transfer device with arithmetic function
JP2980163B2 (en) Data transfer method
KR0168792B1 (en) Apparatus and method for processing effectively received cell in atm
JPH09171493A (en) Data transfer device
JPS6019023B2 (en) data processing equipment
JPH0440551A (en) Data transfer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees