JPH03254240A - Cell transmitter-receiver - Google Patents

Cell transmitter-receiver

Info

Publication number
JPH03254240A
JPH03254240A JP2052058A JP5205890A JPH03254240A JP H03254240 A JPH03254240 A JP H03254240A JP 2052058 A JP2052058 A JP 2052058A JP 5205890 A JP5205890 A JP 5205890A JP H03254240 A JPH03254240 A JP H03254240A
Authority
JP
Japan
Prior art keywords
cell
cells
output
small block
block
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
JP2052058A
Other languages
Japanese (ja)
Inventor
Hiroshi Ota
宏 太田
Tokuhiro Kitami
北見 徳広
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2052058A priority Critical patent/JPH03254240A/en
Publication of JPH03254240A publication Critical patent/JPH03254240A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To reduce the buffer quantity required for a receiver equipment and the delay by the processing by applying coding in a small block, applying coding in a large block and allowing a receiver side to control an output of each small block depending on the propriety of abort and compensation in the unit of a small block. CONSTITUTION:A sender side equipment has a means 6 generating outputs of 1st coding means 2-5 to p-set of check bit cells, [N-p] sets of cells and p-sets of check bit cells form one small block and has means 10, 14, 15 generating outputs of 2nd coding means 7-9, 11-13 to qXN sets of cells. A receiver side equipment is provided with a 1st cell abort compensation means 23 applying cell abort compensation in a small block through decoding and a 2nd cell abort compensation means 24 applying cell abort compensation in a small block through decoding and discriminates whether or not cell abort compensation in a block is enabled with the 1st cell abort compensation means 23 and the 2nd cell abort compensation means 24 and stops the abort compensation when the discrimination is made to be disable and a cell output is restarted. Thus, the cell abort is compensated in a short signal processing time in average.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はセルまたはパケットを単位とする情報通信に関
する。特に、情報の消失を訂正できるセル送受信装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to information communication in units of cells or packets. In particular, the present invention relates to a cell transmitting/receiving device capable of correcting information loss.

本発明は、小ブロック内で符号化を行い、さらに大ブロ
ック内でも符号化を行い、受信側では小ブロック単位で
のセル廃棄補償の可否により各小ブロックの出力を制御
することにより、受信側装置に必要なバッファ量および
処理による遅延量を削減するものである。
The present invention performs coding within a small block, further performs coding within a large block, and controls the output of each small block depending on whether or not cell discard compensation can be performed in units of small blocks. This reduces the amount of buffer required for the device and the amount of delay due to processing.

〔従来の技術〕[Conventional technology]

セルまたはパケットを単位として通信を行う場合に、伝
送路上で情報の欠落が生じることがある。
When communicating in units of cells or packets, information may be lost on the transmission path.

本願出願人は、このような欠落を補償することのできる
通信装置について既に特許出願したく特願平1−116
984、「パケット通信装置」、以下「先の出願」とい
う)。
The applicant of this application has already filed a patent application for a communication device capable of compensating for such deficiencies in Japanese Patent Application No. 1-116.
No. 984, "Packet Communication Device", hereinafter referred to as "earlier application").

第12図に先の出願におけるパリティ−セルの配置を示
す。
FIG. 12 shows the arrangement of parity cells in the earlier application.

送信側では、2以上の整数N、kに対して、Nx(k−
1,)個のセルを情報セルとし、N個のセルをパリティ
−セルとする。パリティ−セルは、第12図におけるマ
トリックス中の各列の情報セルの各ビット位置毎の2を
法とする和により生成する。これによって、各列につい
て1個までのセル廃棄を補償することができる。したが
って、マトリックス全体では、N個までの連続したセル
廃棄を補償することができる。
On the transmitting side, for integers N and k greater than or equal to 2, Nx(k-
1,) cells are information cells, and N cells are parity cells. The parity cells are generated by the modulo-2 sum of each bit position of the information cells in each column in the matrix in FIG. This allows compensation for up to one cell discard for each column. Therefore, the entire matrix can compensate for up to N consecutive cell discards.

受信側では、列内に1個のセル廃棄がある場合は、その
列の残りの(k−1>個のセルの各ビット位置毎の2を
特とする請求める。その和がその列内の廃棄されたセル
と一致する。
On the receiving side, if there is one discarded cell in a column, we can request 2 for each bit position of the remaining (k-1> cells in the column. matches discarded cells.

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

しかし、先の出願に示した方法では、セル廃棄を補償す
るためにNxk個のセルからなるマトリックス全体を一
旦蓄積する必要があり、受信側での信号処理遅延が大き
くなる問題があった。
However, in the method shown in the previous application, it is necessary to temporarily store the entire matrix consisting of Nxk cells in order to compensate for cell discard, which has the problem of increasing signal processing delay on the receiving side.

本発明は、この問題を解決し、平均的に短い信号処理時
間でセル廃棄を補償できるセル送受信装置を提供するこ
とを目的とする。
An object of the present invention is to solve this problem and provide a cell transmitting/receiving device that can compensate for cell discard with an averagely short signal processing time.

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

本発明のセル送受信装置は、2以上の整数N1Mに対し
てNXM種類の順序番号を含むヘッダ部とデータ部とに
より構成されたセルを送信側装置から受信側装置に転送
するセル送受信装置において、送信側装置は、1以上N
未満の整数pに対して〔N−p)個のセルの各ビット位
置毎にデータ部がCN−p”lビットで検査ビットがp
ビットの符号化を行う第一の符号化手段と、この第一の
符号化手段の出力をp個の検査ビットセルに挿入してp
個の検査ビットセルを生成する手段と、〔N−pE個の
セルとp個の検査ビットセルとで一つの小ブロックを構
成し、1以上M未満の整数qに対して〔M−q)個の小
ブロックのセル位置が同一のN組のセルについて、ビッ
ト位置毎にデータ部が〔M−q〕ビットで検査ビットが
qビットの組織符号化を行う第二の符号化手段と、この
第二の符号化手段の出力を同じ組のq個のセルの対応す
るビット位置に挿入してq個×N組のセルを生成する手
段とを含み、受信側装置は、受信した小ブロック内のセ
ルの順序番号からセルの廃棄位置を検出してその位置に
ダミーセルを挿入する手段と、小ブロック内のN個のセ
ルについて第一の符号化手段と逆論理により復号化して
その小ブロック内でセル廃棄補償を行う第一のセル廃棄
補償手段と、小ブロック内でセル廃棄補償ができなかっ
たときに第二の符号化手段と逆論理により復号化してセ
ル廃棄補償を行う第二のセル廃棄補償手段とを含み、第
一のセル廃棄補償手段は、小ブロック内の最初のダミー
セルを検出してセルの出力を停止する手段と、廃棄補償
が終了した後にセル出力を再開する手段とを含み、第二
のセル廃棄補償手段は、大ブロック内の最初のダミーセ
ルを検出してセルの出力を停止する手段と、廃棄補償が
終了した後にセル出力を再開する手段とを含むことを特
徴とする。
The cell transmitting/receiving device of the present invention is a cell transmitting/receiving device that transfers a cell constituted by a header section including a NXM type of sequence number and a data section for an integer N1M of 2 or more from a transmitting side device to a receiving side device. The sending device is 1 or more N
For each bit position of [N-p) cells for an integer p less than
a first encoding means for encoding bits; the output of this first encoding means is inserted into p check bit cells;
a means for generating [M-q) test bit cells for an integer q of 1 or more and less than M; a second encoding means for systematically encoding N sets of cells having the same small block cell position, with a data part of [M-q] bits and a check bit of q bits for each bit position; and means for inserting the output of the encoding means into the corresponding bit positions of the q cells of the same set to generate q×N sets of cells, the receiving device means for detecting the cell discard position from the sequence number of the cell and inserting a dummy cell at that position, and decoding the N cells in the small block by the first encoding means and inverse logic to a first cell discard compensation means for compensating for discard; and a second cell discard compensation means for compensating for cell discard by decoding by reverse logic with the second encoding means when cell discard compensation cannot be performed within a small block. the first cell discard compensation means includes means for detecting the first dummy cell in the small block and stopping cell output; and means for restarting cell output after the discard compensation is completed; The second cell discard compensation means is characterized in that it includes means for detecting the first dummy cell in the large block and stopping cell output, and means for restarting cell output after the discard compensation is completed.

第一のセル廃棄補償手段は、小ブロック内に挿入された
ダミーセルの数からその小ブロック内でのセル廃棄補償
が可能かどうかを判断する手段と、この判断する手段が
不可能と判断したときには廃棄補償を中止してセル出力
を再開する手段とを含むことが望ましい。
The first cell discard compensation means includes a means for determining whether cell discard compensation is possible within a small block from the number of dummy cells inserted into the small block, and a means for determining whether cell discard compensation is possible within the small block, and when the means for determining is determined to be impossible. It is desirable to include means for canceling discard compensation and restarting cell output.

第二のセル廃棄補償手段もまた、大ブロック内の各列に
ついて列内のダミーセルの数から列内て廃棄補償が可能
かどうかを判断する手段と、この手段が不可能と判断し
たときには廃棄補償を中止してセル出力を再開する手段
とを含むことが望ましい。
The second cell discard compensation means also includes means for determining whether discard compensation is possible within a column from the number of dummy cells in the column for each column within a large block, and compensation for discard when this means is determined to be impossible. It is desirable to include means for stopping the cell output and restarting the cell output.

C作 用〕 N個のセルにより小ブロックを構成し、この小ブロック
をM個集めて大ブロックを構成する。小ブロック内で符
号化を行い、さらに大ブロック内でも符号化を行う。ま
た、小ブロック単位でのセル廃棄補償の可否により、各
小ブロックの送出を制御する。
C operation] A small block is formed by N cells, and a large block is formed by collecting M small blocks. Encoding is performed within a small block, and further encoding is performed within a large block. Furthermore, the transmission of each small block is controlled depending on whether cell discard compensation can be performed on a small block basis.

送信側装置では、CN−p〕個のセルのデータ部に情報
データを挿入し、その〔N−pE個のセルの各ビット位
置毎に、情報ビット〔N−p〕ビット、検査ピットルピ
ットの組織符号化を行う。
The transmitting device inserts information data into the data part of CN-p cells, and inserts the information bits [N-p] bits and the structure of the inspection pit for each bit position of the [N-pE cells. Perform encoding.

この符号化を以下CN−p、p)符号化という。This encoding is hereinafter referred to as CN-p,p) encoding.

この符号化により各ビット位置に対応して生成された検
査ビットを、p個の検査ビットセルに挿入する。この情
報セルCN−p〕個と検査ビットセル9個の合計N個の
セルにより、小ブロックを構成する。
The check bits generated corresponding to each bit position by this encoding are inserted into p check bit cells. A small block is composed of a total of N cells, including these information cells CN-p and nine check bit cells.

さらに送信側装置では、f:M−q〕個の小ブロックの
各セル位置にある〔M−q1個のセルN組について、ビ
ット位置毎に〔M−q、q)符号化を行い、生成された
検査ビットをq個×N組のセルに挿入し、q個の検査ビ
ット小ブロックを生成する。これにより、情報量ブロッ
ク〔M−q〕個、検査ビット小ブロックq個が得られ、
この合計M個の小ブロックにより、大ブロックを構成す
る。
Furthermore, the transmitting device encodes [M-q, q] for each bit position for N sets of [M-q 1 cells at each cell position of f: M-q] small blocks, and generates The check bits thus obtained are inserted into q×N cells to generate q check bit small blocks. As a result, information amount blocks [M-q] and q check bit small blocks are obtained,
A total of M small blocks constitute a large block.

受信側装置では、セル廃棄検出部により、受信したセル
のヘッダ部の順序番号からセルの廃棄を検出し、セルが
廃棄された位置にダミーセルを挿入する。
In the receiving side device, a cell discard detection unit detects cell discard from the order number of the header section of the received cell, and inserts a dummy cell at the position where the cell was discarded.

受信側装置の廃棄補償部では、ダミーセルが検出されな
ければ、受信したセルをそのまま出力し、装置内には受
信したセルのコピーを蓄積する。ダミーセルを検出した
場合は、その時点で出力を停止し、そのセルの属する小
ブロックの受信が終了するまで待つ。その後、小ブロッ
ク内のセルのビット位置毎に〔N−p、  p:]符号
の復号化を行う。
If no dummy cell is detected, the discard compensation section of the receiving device outputs the received cell as is, and stores a copy of the received cell in the device. When a dummy cell is detected, output is stopped at that point and waits until reception of the small block to which the cell belongs is completed. Thereafter, the [N-p, p:] code is decoded for each bit position of the cell within the small block.

これによりその小ブロック内でセル廃棄補償が完了した
ときには、その時点で出力を再開する。その小ブロック
内でセル廃棄を補償できなかった場合には、出力を再開
せず、大ブロック全体を蓄積する。その後に、大ブロッ
クの各列のM個のセルについて、ビット位置毎に[:M
−q、q]符号化を行い、小ブロック内で補償できなか
った廃棄セルを補償する。その後、出力を停止していた
セルより出力を再開する。
As a result, when cell discard compensation is completed within that small block, output is restarted at that point. If it is not possible to compensate for cell discard within the small block, the entire large block is accumulated without restarting output. Then, for each bit position, for M cells in each column of the large block, [:M
−q, q] encoding to compensate for discarded cells that could not be compensated within the small block. Thereafter, output is resumed from the cells that had stopped output.

このようにして、セル廃棄がないか、小ブロック内で補
償できる場合には、受信側での復号化に伴う信号処理遅
延を短くすることができる。また、小ブロック内で補償
できないセル廃棄については、大ブロック内で補償可能
であれば補償を行う。
In this way, if there is no cell discard or if it can be compensated within a small block, the signal processing delay associated with decoding on the receiving side can be shortened. Furthermore, cell discards that cannot be compensated for within a small block are compensated for if compensation is possible within a large block.

〔実施例〕〔Example〕

第1図ないし第6図は本発明の第一実施例を示す図であ
り、第1図は送信側装置のブロック構成図、第2図は受
信側装置のブロック構成図、第3図は受信側装置内の小
ブロック内セル廃棄補償回路のブロック構成図、第4図
は受信側装置内の大ブロック内セル廃棄補償回路のブロ
ック構成図、第5図は本実施例で使用する小ブロックの
構成図、第6図は大ブロックの構成図である。
1 to 6 are diagrams showing a first embodiment of the present invention, in which FIG. 1 is a block configuration diagram of a transmitting side device, FIG. 2 is a block configuration diagram of a receiving side device, and FIG. 3 is a block diagram of a receiving side device. FIG. 4 is a block diagram of the small block cell discard compensation circuit in the receiving side device. FIG. 5 is a block diagram of the large block cell discard compensation circuit in the receiving device. The configuration diagram, FIG. 6, is a configuration diagram of a large block.

この実施例装置は、2以上の整数N、Mに対してNXM
種類の順序番号を含むヘッダ部とデータ部とにより構成
されたセルを送信側装置から受信副装置に転送する装置
であり、小ブロックと大ブロックとの双方について誤り
制御符号としてパリティ−検査符号を用いるものである
This embodiment device has NXM for integers N and M of 2 or more.
This is a device that transfers a cell composed of a header section including a type sequence number and a data section from a transmitting side device to a receiving subdevice, and uses a parity check code as an error control code for both small blocks and large blocks. It is used.

この実施例では、小ブロックが、第5図に示すように、
通常のデータセル〔N−IE個に対してパリティ−セル
1個を追加して構成される。パリティ−セルは、〔N−
1〕個のセルのデータ部についてビット位置毎に2を法
とする加算を行うことにより生成される。
In this example, the small blocks are as shown in FIG.
Normal data cells [constructed by adding one parity cell to N-IEs. The parity cell is [N-
1] by performing addition modulo 2 for each bit position for the data portion of the cell.

また、大ブロックは、第6図に示すように、データセル
[N−1)個を含む通常の小ブロック〔M−1〕個と、
パリティ−小ブロック1個とにより構成される。パリテ
ィ−小ブロックの各セルは、大ブロック内の同じ列内の
〔M−1〕個のセルについて、ビット位置毎に2を法と
する加算を行うことにより生成される。
Further, as shown in FIG. 6, the large block includes normal small blocks [M-1] containing [N-1] data cells,
It is composed of parity and one small block. Parity - Each cell in the small block is generated by performing modulo-2 addition for each bit position of [M-1] cells in the same column in the large block.

送信側装置は、第1図に示すように、[N−1〕個のセ
ルの各ビット位置毎にデータ部がCN−1〕ビツトで検
査ビットが1ビツトの符号化を行う第一の符号化手段と
してバッファ2、〔N−13進カウンタ3、パリティ−
セル保持メモリ4およびセル内のビット位置毎に2を法
とする和を計算する加算回路5を備え、この第一の符号
化手段の出力を1個の検査ビットセルに挿入して1個の
検査ビットセルを生成する手段として2人力1出力の切
替スイッチ6を備え、〔N−1〕個のセルと1個の検査
ビットセルとで一つの小ブロックを構成し、〔M−1〕
個の小ブロックのセル位置が同一のN組のセルについて
、ビット位置毎にデータ部が[M−IEビットで検査ビ
ットが1ビツトの組織符号化を行う第二の符号化手段と
してバッファ7、NX〔M−1〕進カウンタ8、N進カ
ウンタ9、Nセル分の行方向のパリティ−セルを保持す
るパリティ−セル保持メモリ12、このパリティ−セル
保持メモリ12に対してアクセスするセル位置を指定す
るセレクタ11およびセル内のビット位置毎に2を法と
する和を計算する加算回路13を備え、この第二の符号
化手段の出力を同じ組の1個のセルの対応するビット位
置に挿入してN組のセルを生成する手段として2人力1
出力の切替スイッチ10.14およびN進カウンタ15
を備える。
As shown in FIG. 1, the transmitting side device uses a first code that performs encoding in which the data part is CN-1] bits and the check bit is 1 bit for each bit position of [N-1] cells. Buffer 2, [N-13 base counter 3, parity]
It includes a cell holding memory 4 and an adder circuit 5 that calculates a sum modulo 2 for each bit position in the cell, and inserts the output of this first encoding means into one test bit cell to perform one test. As a means for generating bit cells, a changeover switch 6 with two manual outputs is provided, and one small block is composed of [N-1] cells and one test bit cell, and [M-1]
For N sets of cells in which the cell positions of the small blocks are the same, the data part for each bit position is [A buffer 7 as a second encoding means that performs systematic encoding with M-IE bits and 1 check bit; An NX [M-1] base counter 8, an N base counter 9, a parity cell holding memory 12 that holds parity cells for N cells in the row direction, and a cell position to be accessed for this parity cell holding memory 12. It includes a selector 11 for specifying and an adder circuit 13 that calculates a sum modulo 2 for each bit position in the cell, and outputs the output of this second encoding means to the corresponding bit position of one cell in the same group. As a means of inserting and generating N sets of cells, two people and one
Output selector switch 10.14 and N-ary counter 15
Equipped with

この送信側装置を動作させるには、まず、〔N−1〕進
カウンタ3およびパリティ−セル保持メモリ4の値をす
べて「0」にし、切替スイッチ6をバッファ2側に設定
する。また、NX〔M−1:1進カウンタ8、N進カウ
ンタ9、N進カウンタ15およびパリティ−セル保持メ
モリ12の値をすべて「0」にし、切替スイッチ10を
N進カウンタ9側に、切替スイッチ14をバッファ7側
に設定しておく。
To operate this transmitting side device, first, the values of the [N-1] base counter 3 and the parity cell holding memory 4 are all set to "0", and the changeover switch 6 is set to the buffer 2 side. Also, set all the values of NX [M-1: 1-ary counter 8, N-ary counter 9, N-ary counter 15, and parity cell holding memory 12 to "0", and switch the selector switch 10 to the N-ary counter 9 side. The switch 14 is set to the buffer 7 side.

送信すべきセルは入力端子1から入力され、バッファ2
を通過して切替スイッチ6に至る。この間に〔N−1]
進カウンタ3は、バッファ2より出力されて切替スイッ
チ6に到達したセルの数を計数する。パリティ−セル保
持メモリ4および加算回路5は、通過したセルのビット
位置毎の2を法とする和(累計)を計算し、パリティ−
セルを生成する。
Cells to be transmitted are input from input terminal 1 and sent to buffer 2.
It passes through and reaches the selector switch 6. During this time [N-1]
The forward counter 3 counts the number of cells output from the buffer 2 and reaching the changeover switch 6. The parity cell holding memory 4 and the addition circuit 5 calculate the sum (accumulation) modulo 2 for each bit position of the passed cells, and
Generate cells.

切替スイッチ6は、[N−1〕進カウンタ3がセル数を
[N−1]個数えて「0」に戻る時点に切り替えられ、
生成されたパリティ−セルを出力する。パリティ−セル
を出力する間、入力端子1から人力されたセルはバッフ
ァ2に保持され、パリティ−セルの出力が終了するまで
待機する。
The changeover switch 6 is switched at the time when the [N-1] base counter 3 counts the number of cells [N-1] and returns to "0",
Output the generated parity cell. While outputting the parity cells, the cells manually input from the input terminal 1 are held in the buffer 2 and wait until the output of the parity cells is completed.

ハ17テイーセルが出力された後は、切替スイッチ6を
バッファ2側に戻し、パリティ−セル保持メモリ4を初
期化し、再び、入力端子1に入力されたセルをそのまま
出力する。
After the 17th cell is output, the selector switch 6 is returned to the buffer 2 side, the parity cell holding memory 4 is initialized, and the cell input to the input terminal 1 is output again as it is.

以上の動作により、入力されたセル〔N−1)毎にパリ
ティ−セル1個が挿入され、小ブロックが形成される。
By the above operation, one parity cell is inserted for each input cell [N-1], and a small block is formed.

引き続いてセルは、バッファ7を通過して切替スイッチ
14に至り、送信側装置から出力される。
Subsequently, the cell passes through the buffer 7, reaches the changeover switch 14, and is output from the transmitting device.

この間にNx(M−1〕進カウンタ8、N進カウンタ9
は、通過するセルの数を計数する。
During this time, Nx (M-1) base counter 8, N base counter 9
counts the number of cells passing through.

加算回路13は、N進カウンタ9の計数値が1のとき、
パリティ−セル保持メモリ12に蓄積されているパリテ
ィ−セルのうち1番目のパリティ−セルと、バッファ7
より出力されたセルとについて、ビット位置毎に2を特
とする請求める。この結果ハ、パリティ−セル保持メモ
リ12の1番目のセル位置に戻す。これによりパリティ
−セル保持メモIJ12の各セル位置には、大ブロック
の各列に対応するパリティ−セルが蓄積される。したが
ってパリティ−セル保持メモリ12全体としては、パリ
ティ−小ブロックを生成することになる。
When the count value of the N-ary counter 9 is 1, the addition circuit 13
The first parity cell among the parity cells stored in the parity cell holding memory 12 and the buffer 7
2 can be specified for each bit position for the output cells. As a result, the cell is returned to the first cell position in the parity cell holding memory 12. As a result, parity cells corresponding to each column of the large block are stored in each cell position of the parity cell holding memory IJ12. Therefore, the parity cell holding memory 12 as a whole generates parity small blocks.

切替スイッチ10.14は、セルがNX〔M−1)個通
過してNX[M−1〕進カウンタ8が「0」となった時
点で、それぞれN進カウンタ9側、パリティ−セル保持
メモリ12側に切り替えられる。
When NX [M-1] cells pass through and the NX [M-1] base counter 8 becomes "0", the changeover switches 10.14 switch the N-base counter 9 side and the parity cell holding memory respectively. It can be switched to the 12 side.

これにより、パリティ−小ブロックが出力される。As a result, a parity small block is output.

N進カウンタ15は、出力されるパリティ−小ブロック
内のセル数を計数し、セレクタ11を介して、パリティ
−セル保持メモリ12の出力セル位置を指定する。
The N-ary counter 15 counts the number of cells in the output parity small block, and specifies the output cell position of the parity cell holding memory 12 via the selector 11.

パリティ−小ブロックを出力する間、切替スイッチ6を
通過したセルはバッファ7に蓄積され、そのブロックの
出力が終了するまで待機する。
While outputting a parity-small block, the cells that have passed through the changeover switch 6 are accumulated in a buffer 7, and wait until the output of that block is completed.

パリティ−小ブロック内のセルがN値出力されると、N
進カウンタ15は「D」に戻り、その時点で、切替スイ
ッチ14をバッファ7側に、切替スイッチIOをN進カ
ウンタ9側に戻し、パリティ−セル保持メモリ12の値
を「0」にする。
Parity - When N values of cells in a small block are output, N
The base counter 15 returns to "D", and at that point, the changeover switch 14 is returned to the buffer 7 side, the changeover switch IO is returned to the N-base counter 9 side, and the value of the parity cell holding memory 12 is set to "0".

以上の動作により、小ブロック〔M−1〕個毎にパリテ
ィ−小ブロックが1個挿入され、大ブロックが形成され
る。
By the above operation, one parity small block is inserted for every [M-1] small blocks, and a large block is formed.

このようにして、入力されるセル〔N−IE個毎にパリ
ティ−セル1個が挿入されて小ブロックが形成され、小
ブロック[:M−p〕個毎にパリティ−小ブロックが1
個挿入された大ブロックが形成される。送信側装置は、
この大ブロックを送信の単位とする。
In this way, one parity cell is inserted for every [N-IE] input cells to form a small block, and one parity small block is inserted for every [:M-p] small blocks.
A large block is formed. The sending device is
This large block is the unit of transmission.

受信側装置は、第2図に示すように、受信した小ブロッ
ク内のセルの順序番号からセルの廃棄位置を検出してそ
の位置にダミーセルを挿入する手段としてセル廃棄検出
およびダミーセル挿入回路22を備え、小ブロック内の
N個のセルについて送信側装置の第一の符号化手段と逆
論理により復号化してその小ブロック内でセル廃棄補償
を行う第一のセル廃棄補償手段として小ブロック内セル
廃棄補償回路23を備え、送信側装置の第二の符号化手
段と逆論理により復号化して小ブロック内のセル位置が
同一のセルのセル廃棄補償を行う第二のセル廃棄補償手
段として大ブロック内セル廃棄補償回路24を備える。
As shown in FIG. 2, the receiving device includes a cell discard detection and dummy cell insertion circuit 22 as a means for detecting the cell discard position from the sequence number of the cells in the received small block and inserting a dummy cell at that position. cells in a small block as a first cell discard compensation means for decoding N cells in a small block using logic inverse to the first encoding means of the transmitting side device and compensating for cell discard within the small block. The large block is equipped with a discard compensation circuit 23, and is used as a second cell discard compensation means for decoding by reverse logic to the second encoding means of the transmitting side device to compensate for cell discard for cells having the same cell position within the small block. An inner cell discard compensation circuit 24 is provided.

受信セルは入力端子21からセル廃棄検出およびダミー
セル挿入回路22に人力される。セル廃棄検出およびダ
ミーセル挿入回路22は、セルのヘッダ部の順序番号か
らセル廃棄を検出し、廃棄されたセル位置にダミーセル
を挿入する。小ブロック内セル廃棄補償回路23は、小
ブロック内のパリティ−セルを用いて補償可能なセル廃
棄を補償する。
The received cells are input from an input terminal 21 to a cell discard detection and dummy cell insertion circuit 22 . The cell discard detection and dummy cell insertion circuit 22 detects cell discard from the sequence number of the header section of the cell, and inserts a dummy cell into the discarded cell position. The intra-small block cell discard compensation circuit 23 compensates for compensable cell discard using parity cells within the small block.

大ブロック内セル廃棄補償回路24は、パリティ−小ブ
ロックを用いて補償可能なセル廃棄を補償する。
The intra-large block cell discard compensation circuit 24 compensates for compensable cell discard using parity-small blocks.

小ブロック内セル廃棄補償回路23は、第3図に示すよ
うに、小ブロック内でセル廃棄補償を行うために、N進
カウンタ32.1人力2出力の切替スイッチ34、セル
内のビア)位置毎に2を法とする和を計算する加算回路
35.37、パリティセル保持メモリ36.38.2人
力1出力の切替スイッチ39.40、バッファ41、N
進カウンタ42および2人力1出力の切替スイッチ43
を備え、小ブロック内の最初のダミーセルを検出してセ
ルの出力を停止する手段としてヘッダ識別回路44を備
え、廃棄補償が終了した後にセル出力を再開する手段と
してN進カウンタ32の出力がヘッダ識別回路44に接
続される。さらにこの小ブロック内セル廃棄補償回路2
3は、小ブロック内に挿入されたダミーセルの数からそ
の小ブロック内でのセル廃棄補償が可能かどうかを判断
する手段としてヘッダ識別回路33を備え、この判断す
る手段が不可能と判断したときには廃棄補償を中止して
セル出力を再開する手段としてヘッダ識別回路33の出
力がヘッダ識別回路44に接続される。
As shown in FIG. 3, the intra-small block cell discard compensation circuit 23 is configured to perform cell discard compensation within the small block by adjusting the N-ary counter 32. Addition circuit 35.37 that calculates the sum modulo 2 for each time, parity cell holding memory 36.38.2 manual 1 output changeover switch 39.40, buffer 41, N
Advance counter 42 and 2-manpower 1-output selector switch 43
A header identification circuit 44 is provided as a means for detecting the first dummy cell in a small block and stopping cell output, and a header identification circuit 44 is provided as a means for restarting cell output after discard compensation is completed. It is connected to the identification circuit 44. Furthermore, this small block cell discard compensation circuit 2
3 is provided with a header identification circuit 33 as a means for determining whether cell discard compensation is possible within a small block based on the number of dummy cells inserted in the small block, and when this determining means determines that it is impossible. The output of the header identification circuit 33 is connected to a header identification circuit 44 as a means for canceling discard compensation and restarting cell output.

初期設定時には、N進カウンタ32.42、パリティ−
セル保持メモリ36.38の値をすべて「O」にし、ヘ
ッダ識別回路33.44を初期化し、切替スイッチ34
.39を加算回路35側に設定し、切替スイッチ40を
パリティ−セル保持メモリ36側に設定し、切替スイッ
チ43をバッファ41側に設定する。
At the time of initial setting, the N-ary counter is 32.42, the parity is
The values of the cell holding memories 36 and 38 are all set to "O", the header identification circuits 33 and 44 are initialized, and the changeover switch 34 is set to "O".
.. 39 is set to the addition circuit 35 side, the changeover switch 40 is set to the parity cell holding memory 36 side, and the changeover switch 43 is set to the buffer 41 side.

入力端子31より入力されたセルは、切替スイッチ34
.39を通過し、バッファ41、切替スイッチ43を通
過して出力される。この間にN進カウンタ32は入力セ
ル数を計数する。
The cell input from the input terminal 31 is transferred to the selector switch 34
.. 39, a buffer 41, a changeover switch 43, and is output. During this time, the N-ary counter 32 counts the number of input cells.

各小ブロックを構成するN個のセルを受信すると、N進
カウンタ32の計数値が「0」となる。この計数値が「
0」となる毎に、ヘッダ識別回路33.44は初期化さ
れ、切替スイッチ34.39は切り替えられる。
When N cells constituting each small block are received, the count value of the N-ary counter 32 becomes "0". This count value is “
0'', the header identification circuit 33.44 is initialized and the changeover switch 34.39 is switched.

加算回路35.37は受信した小ブロック内の各セルの
ビット位置毎に2を法とする加算を行い、パリティ−セ
ル保持メモリ36.38はその加算により生成されたパ
リティ−セルを保持する。パリティ−セル保持メモリ3
6.38は、いずれか一方が現在受信している小ブロッ
クに対応する生成途中のパリティ−セルを保持し、他方
は直前に受信した小ブロックに対応する完成したパリテ
ィ−セルを保持する。
Addition circuits 35.37 perform modulo-2 addition for each bit position of each cell in the received small block, and parity cell holding memories 36.38 hold parity cells generated by the addition. Parity-cell holding memory 3
6.38, one of them holds the parity cell in progress corresponding to the small block currently being received, and the other holds the completed parity cell corresponding to the small block received immediately before.

N進カウンタ42は出力したセル数を計数し、小ブロッ
クを構成するN個のセルを受信して計数値が「0」にな
る毎に、切替スイッチ40を切り替える。これにより切
替スイッチ40は、パリティ−セル保持メモリ36.3
8のうち、現在出力中の小ブロックに対応するパリティ
−セルを保持しているメモリを選択する。
The N-ary counter 42 counts the number of output cells, and switches the changeover switch 40 every time the count value reaches "0" upon receiving N cells forming a small block. As a result, the changeover switch 40 changes the parity cell holding memory 36.3.
8, the memory holding the parity cell corresponding to the small block currently being output is selected.

ヘッダ識別回路44は、出力するセルのヘッダを判別し
、通常のセルとダミーセルとを識別する。
The header identification circuit 44 determines the header of the cell to be output, and distinguishes between normal cells and dummy cells.

ダミーセルを検出すると、切替スイッチ43を一旦中立
状態にし、セル出力を中断する。この間に入力されたセ
ルは、バッファ41に蓄えられる。
When a dummy cell is detected, the selector switch 43 is temporarily set to a neutral state and cell output is interrupted. Cells input during this time are stored in the buffer 41.

この後の動作は、ヘッダ識別回路33が同−小ブロック
中に二個臼のダミーセルを検出するか否かにより異なる
The subsequent operation differs depending on whether the header identification circuit 33 detects two dummy cells in the same small block.

ダミーセルが検出されることなく小ブロックの受信を終
了し、パリティ−セルが完成した場合には、N進カウン
タ32の計数値が「0」となり、その信号をうけて、ヘ
ッダ識別回路44が切替スイッチ43を切替スイッチ4
0側に切り替え、パリティ−セルを出力する。これと同
時に、切替スイッチ43においてダミーセルが廃棄され
る。すなわち、ダミーセルがパリティ−セルに置き換え
られ、セル廃棄補償が完了する。切替スイッチ43は、
パリティ−セルを1個出力した後、バッファ41側に切
り替わる。
When reception of a small block is completed without detecting a dummy cell and a parity cell is completed, the count value of the N-ary counter 32 becomes "0", and upon receiving this signal, the header identification circuit 44 switches. Change switch 43 to switch 4
Switch to the 0 side and output a parity cell. At the same time, the changeover switch 43 discards the dummy cell. That is, the dummy cell is replaced with a parity cell, and cell discard compensation is completed. The changeover switch 43 is
After outputting one parity cell, the circuit switches to the buffer 41 side.

ヘッダ識別回路33が小ブロック入力途中で二個臼のダ
ミーセルを検出した場合には、その小ブロックについて
のセル廃棄補償を中止し、ただちにヘッダ識別回路44
に検出信号を送る。ヘッダ識別回路44は、切替スイッ
チ43をバッファ41側に切り替える。
If the header identification circuit 33 detects two dummy cells while inputting a small block, it stops cell discard compensation for that small block and immediately returns the header identification circuit 44 to the header identification circuit 33.
sends a detection signal to. The header identification circuit 44 switches the changeover switch 43 to the buffer 41 side.

以上の動作により、 ■ 小ブロック内にセル廃棄がない場合は、入力された
セルはそのまま通過する。したがって、その場合には遅
延時間が極めて小さい。
As a result of the above operations, (1) If there is no discarded cell within the small block, the input cell passes through as is. Therefore, in that case, the delay time is extremely small.

■ 小ブロック内にセル廃棄が一個あった場合は、その
廃棄されたセル以前に人力されたセルをそのまま出力し
、その後に小ブロックの受信が終了してパリティ−セル
が完成したで時点ダミーセルをパリティ−セルに置き換
えることにより、セル廃棄補償を行う。したがって、セ
ル廃棄補償を行ってもセルの時間秩序は保存される。
■ If there is one discarded cell in a small block, the cell that was manually input before that discarded cell is output as is, and then a dummy cell is output when the reception of the small block is completed and the parity cell is completed. Cell discard compensation is performed by replacing the parity cells with parity cells. Therefore, even with cell discard compensation, the time order of the cells is preserved.

■ 小ブロック内に二個以上のセル廃棄があった場合は
、ダミーセルのまま出力する。したがって、誤った訂正
が行われることはない。
■ If two or more cells are discarded in a small block, output them as dummy cells. Therefore, erroneous corrections will not be made.

等の効果が得られる。Effects such as this can be obtained.

大ブロック内セル廃棄補償回路は、第4図に示すように
、大ブロック内セル廃棄補償を行うため、[:MXN)
進カウンタ51.1人力2出力の切替スイッチ52、N
進カウンタ53.62、スイッチ54.63、Nセル分
のメモリに対してアクセス対象のセル位置を指定するセ
レクタ55.57.64.66、Nセル分のパリティ−
セル保持メモ!J56.65、セル内のビット位置毎に
2を法とする和を計算する加算回路80.81.2人力
1出力の切替スイッチ71.73.1人力2出力の切替
スイッチ72、N進カウンタ74、(MXNI進カウン
タ75.2人力1出力の切替スイッチ76.2人力1出
力の切替スイッチ77およびバッファ78を備え、大ブ
ロック内の最初のダミーセルを検出してセルの出力を停
止する手段とじてヘッダ識別回路79を備え、廃棄補償
が終了した後にセル出力を再開する手段として[MXN
)進カウンタ51の出力がヘッダ識別回路79に接続さ
れる。
The intra-large block cell discard compensation circuit performs intra-large block cell discard compensation as shown in FIG.
Advance counter 51.1 Manual power 2 output selector switch 52, N
Advance counter 53.62, switch 54.63, selector 55.57.64.66 that specifies the cell position to be accessed for memory for N cells, parity for N cells.
Cell retention memo! J56.65, Addition circuit that calculates the sum modulo 2 for each bit position in a cell 80.81.2 Manually powered 1 output selector switch 71.73.1 Manually powered 2 output selector switch 72, N-ary counter 74 , (Equipped with an MXNI counter 75.2 a changeover switch 76.2 for a single human output output, and a buffer 78 for detecting the first dummy cell in a large block and stopping the output of the cell) [MXN
) The output of the advance counter 51 is connected to the header identification circuit 79.

また、大ブロック内の各列について列内のダミーセルの
数から列内て廃棄補償が可能かどうかを判断する手段と
して、2ピツ)XN個の訂正禁止フラグを保持している
訂正禁止フラグ保持メモリ59.68、この訂正禁止フ
ラグ保持メモリ59.68に対してそれぞれアクセス対
象のフラグ位置を指定するセレクタ58および60.6
7および69、ヘッダ識別回路61.70を備え、この
手段が不可能と判断したときには廃棄補償を中止してセ
ル出力を再開する手段として、訂正禁止フラグ保持メモ
リ59.68の出力が切替スイッチ73を経由してヘッ
ダ識別回路79に接続される。
In addition, as a means for determining whether or not discard compensation is possible within a column based on the number of dummy cells in each column in a large block, a correction prohibition flag holding memory that holds 2) XN correction prohibition flags is used. 59.68, selectors 58 and 60.6 that respectively designate the flag position to be accessed for this correction prohibition flag holding memory 59.68.
7 and 69, and a header identification circuit 61.70, and when it is determined that this means is impossible, the output of the correction prohibition flag holding memory 59.68 is connected to the changeover switch 73 as a means for canceling discard compensation and restarting cell output. The header identification circuit 79 is connected to the header identification circuit 79 via.

初期状態として、〔MXN〕進カウンタ51.75、N
進カウンタ53.62.74、パリティ−セル保持メモ
リ56.65、訂正禁止フラグ保持メモリ59.68の
値をすべて「0」にし、ヘッダ識別回路79を初期化し
、切替スイッチ52.77をN進カウンタ53側に設定
腰切替スイッチ71をパリティ−セル保持メモリ56側
に設定し、切替スイッチ73を訂正禁止フラグ保持メモ
リ59側に設定し、切替スイッチ76をバッファ78側
に設定する。
As an initial state, the [MXN] base counter 51.75, N
The values of the decimal counter 53, 62, 74, the parity cell holding memory 56.65, and the correction prohibition flag holding memory 59.68 are all set to "0", the header identification circuit 79 is initialized, and the changeover switch 52.77 is set to N digit. Set the changeover switch 71 to the counter 53 side, set the changeover switch 71 to the parity cell holding memory 56 side, set the changeover switch 73 to the correction prohibition flag holding memory 59 side, and set the changeover switch 76 to the buffer 78 side.

入力端子50より入力されたセルは、切替スイッチ52
.77、バッファ78、切替スイッチ76を通過して出
力される。この間に〔MXN)進カウンタ51は、入力
セル数を計数する。
The cell input from the input terminal 50 is transferred to the selector switch 52.
.. 77, a buffer 78, and a changeover switch 76 before being output. During this time, the [MXN) base counter 51 counts the number of input cells.

大ブロックを構成するMxN個のセルを受信すると、[
MXN〕進カウンタ51の計数値が「OJとなる。この
計数値が「0」となる毎に切替スイッチ52.77が切
り替えられる。
When MxN cells forming a large block are received, [
MXN] The count value of the decimal counter 51 becomes "OJ". Each time this count value becomes "0", the changeover switch 52.77 is switched.

切替スイッチ52がN進カウンタ53 (62)側に設
定されると、このN進カウンタ53 (62)は、その
計数値により、受信したセルの小ブロック内におけるセ
ル位置(大ブロックにおける列)を表示する。
When the selector switch 52 is set to the N-ary counter 53 (62), the N-ary counter 53 (62) determines the cell position within the small block (column in the large block) of the received cell based on its count value. indicate.

N進カウンタ53 (62)の計数値が1である場合に
は、セレクタ55.58(64,69)  により、ア
クセス対象としてパリティ−セル保持メモ1J56(6
5)、訂正禁止フラグ保持メモ’J 59 (68)の
1番目の要素が選択される。加算回路80 (81)は
、受信したセルとパリティ−セル保持メモリ56 (6
5)の1番目のパリティ−セルとの間で、ビット位置毎
に2を法とする和をとり、その結果をパリティ−セル保
持メモリ56〈65)の1番目の要素に戻す。
When the count value of the N-ary counter 53 (62) is 1, the selector 55, 58 (64, 69) selects the parity cell holding memory 1J56 (6) as the access target.
5), the first element of the correction prohibition flag holding memo 'J 59 (68) is selected. The adder circuit 80 (81) stores the received cell and parity cell holding memory 56 (6
5) and the first parity cell of 5), calculate the sum modulo 2 for each bit position, and return the result to the first element of the parity cell holding memory 56 (65).

ヘッダ識別回路6H70)は、受信したセルのヘッダ部
を検査し、受信したセルがダミーセルである場合は、訂
正禁止フラグ保持メモ’J 59 (68)の1番目の
要素のフラグを変化させる。このフラグは2ビツト構戊
であり、 ■ 両方のビットとも「0」ならば1ビツト目を「1」
にする。
The header identification circuit 6H70) inspects the header part of the received cell, and if the received cell is a dummy cell, changes the flag of the first element of the correction prohibition flag holding memo 'J59 (68). This flag has a 2-bit structure; ■ If both bits are "0", the first bit is "1".
Make it.

■ 1ビツト目のみ「1」ならば2ビツト目も「l」に
する。
■ If only the first bit is "1", the second bit is also set to "l".

■ 両方のビットが「1」ならば変化させない。■ If both bits are "1", do not change.

のように設定される。これにより、大ブロック内で同一
の列に二個以上のセル廃棄がある場合には、訂正禁止フ
ラグ保持メモ!J 59 (68)のその列に対応する
フラグが2ビット共に「1」になる。
It is set as follows. As a result, if two or more cells are discarded in the same column within a large block, the correction prohibition flag is retained. Both two bits of the flag corresponding to that column of J59 (68) become "1".

パリティ−セル保持メモリ56および訂正禁止フラグ保
持メモリ59の組と、パリティ−セル保持メモリ65お
よび訂正禁止フラグ保持メモリ68の組とのうち、一方
には受信途中の大ブロックに対応する生成途中のパリイ
ー小ブロックおよび訂正禁止フラグが保持され、他方に
は直前に受信を終了した大ブロックに対応する完成した
パリティ−小ブロックおよび訂正禁止フラグが保持され
る。
Of the pair of parity cell holding memory 56 and correction prohibition flag holding memory 59, and the pair of parity cell holding memory 65 and correction prohibition flag holding memory 68, one has a set of a parity cell holding memory 56 and a correction prohibition flag holding memory 68, and one of them has a set of a parity cell holding memory 56 and a correction prohibition flag holding memory 68, and one has a set of A parity small block and a correction prohibition flag are held, and a completed parity small block and a correction prohibition flag corresponding to the large block that has just finished receiving are held.

〔MxN〕進カウンタ75は、ハ゛ツファ78から出力
されたセル数を計数し、一つの大ブロックの送信が終了
して計数値が「0」になる毎に、切替スイッチ71.7
2.73を切り替える。これにより、出力している大ブ
ロックに対応するパリティ−セル保持メモリ56または
65と、訂正禁止フラグ保持メモリ59または68とに
アクセスできるようになる。
The [MxN] digit counter 75 counts the number of cells output from the buffer 78, and every time the count value becomes "0" after transmission of one large block, the changeover switch 71.7 is turned on.
Switch 2.73. This makes it possible to access the parity cell holding memory 56 or 65 and the correction inhibition flag holding memory 59 or 68 corresponding to the large block being output.

N進カウンタ74は、出力されるセル数を計数すること
により、大ブロック内のそのセルが属する列を識別し、
パリティ−セル保持メモリ56.65および訂正禁止フ
ラグ保持メモリ59.68の対応する要素にアクセスで
きるようにする。
By counting the number of output cells, the N-ary counter 74 identifies the column to which the cell belongs within the large block;
Corresponding elements of parity-cell holding memory 56.65 and correction inhibit flag holding memory 59.68 are made accessible.

ヘッダ識別回路79は、出力するセルのヘッダから通常
のセルとダミーセルとを判別し、大ブロックの中の最初
のダミーセルを検出すると、切替スイッチ76を一旦中
立状態にし、セル出力を中断する。この間に入力された
セルは、バッファ78に蓄えられる。セル出力が中断し
た状態でその大ブロックの受信が終了すると、[’MX
N〕進カウンタ51の計数値が「0」となる。この時点
でヘッダ識別回路79は、切替スイッチ76の出力停止
を解除する。
The header identification circuit 79 discriminates between a normal cell and a dummy cell from the header of the cell to be output, and when detecting the first dummy cell in the large block, sets the changeover switch 76 to a neutral state and interrupts cell output. Cells input during this period are stored in a buffer 78. When reception of the large block is completed while cell output is interrupted, ['MX
The count value of the N]-adic counter 51 becomes "0". At this point, the header identification circuit 79 releases the output stop of the changeover switch 76.

この後にヘッダ識別回路79は、出力するセルのヘッダ
部分を検査し、そのセルがダミーセルでありかつ対応す
る列位置の訂正禁止フラグの2ビツト目が「0」であれ
ば、切替スイッチ76を切替スイッチ71側に切り替え
てパリティ−セルを出力し、同時にそのダミーセルを切
替スイッチ76において廃棄する。これにより、ダミー
セルがパリティ−セルに置き換えられ、セル廃棄が補償
される。
After that, the header identification circuit 79 inspects the header part of the cell to be output, and if the cell is a dummy cell and the second bit of the correction prohibition flag for the corresponding column position is "0", the changeover switch 76 is switched. The switch 71 is switched to output the parity cell, and at the same time the dummy cell is discarded by the changeover switch 76. This replaces dummy cells with parity cells and compensates for cell discard.

出力するのが通常のセルであるか、対応する列位置の訂
正禁止フラグが2ビット共に「1」であれば、切替スイ
ッチ76をバッファ78側に設定し、バッファ78の出
力するセルをそのまま出力する。
If the cell to be output is a normal cell, or if both bits of the correction prohibition flag for the corresponding column position are "1", the selector switch 76 is set to the buffer 78 side, and the cell output from the buffer 78 is output as is. do.

以上の動作により、 ■ 大ブロック内にセル廃棄がなければ、受信したセル
はそのまま出力されるので、遅延時間が極めて小さい。
As a result of the above operations, (1) If no cells are discarded within the large block, the received cells are output as they are, so the delay time is extremely small.

■ 大ブロック内の各列について、列内に二個以上のセ
ル廃棄がある列についてはセル廃棄を行わないので、誤
った補償を行うことがない。
■ For each column in a large block, cells are not discarded for columns in which two or more cells are discarded, so erroneous compensation is not performed.

■ セル廃棄補償を行う場合は大ブロック内の最初のダ
ミーセルの位置からバッファリングを行うので、廃棄補
償を行ってもセルの時間順序は保持される。
■ When performing cell discard compensation, buffering is performed from the position of the first dummy cell in a large block, so even when discard compensation is performed, the time order of cells is maintained.

■ 各列について列内の一個のセル廃棄を補償できるの
で、最大でN個の連続セル廃棄を補償できる。
■ Since it is possible to compensate for one cell discard within the column for each column, it is possible to compensate for a maximum of N consecutive cell discards.

等の効果が得られる。Effects such as this can be obtained.

第7図ないし第11図は本発明の第二実施例を示す図で
あり、第7図は送信側装置のブロック構成図、第8図は
受信側装置内の小ブロック内セル廃棄補償回路のブロッ
ク構成図、第9図は受信側装置内の大ブロック内セル廃
棄補償回路のブロック構成図、第10図は本実施例で使
用する小ブロックの構成図、第11図は大ブロックの構
成図である。
7 to 11 are diagrams showing a second embodiment of the present invention, in which FIG. 7 is a block diagram of a transmitting device, and FIG. 8 is a block diagram of a small block cell discard compensation circuit in a receiving device. 9 is a block diagram of a cell discard compensation circuit in a large block in the receiving side device, FIG. 10 is a diagram of a small block used in this embodiment, and FIG. 11 is a diagram of a large block. It is.

この実施例装置は、2以上の整数N、Mに対してNXM
種類の順序番号を含むヘッダ部とデータ部とにより構成
されたセルを送信側装置から受信側装置に転送する装置
であり、小ブロックに誤り制御符号としてCN、 N−
p〕組織符号を用い、第ブロックに誤り制御符号として
〔M、M−q〕組織符号を用いるものである。
This embodiment device has NXM for integers N and M of 2 or more.
This is a device that transfers a cell composed of a header section including a type sequence number and a data section from a transmitting side device to a receiving side device, and transmits CN, N- as an error control code in a small block.
p] systematic code is used, and [M, M-q] systematic code is used as an error control code in the th block.

この実施例では、小ブロックが、第10図に示すように
、通常のデータセルCN−p〕個に対し、各セルのビッ
ト位置毎にCN、 N−p)符号化を用い、生成された
pビットの検査ビットを対応するビット位置に並べてp
個の検査ビットセルを生成し、通常のセルCN−p〕個
と検査ピットセル9個の合計N個のセルで小ブロックを
構成する。
In this example, a small block is generated using CN, N-p) encoding for each bit position of each cell for normal data cells CN-p, as shown in FIG. Arrange the check bits of p bits in the corresponding bit positions and write p
A small block is formed by a total of N cells, including normal cells CN-p] and nine test pit cells.

また、大ブロックは、第11図に示すように、データセ
ルCN−pE個と検査ビットセル9個とから小ブロック
が構成される。この小ブロック〔M−q)個について、
同じ列に属する〔M−q)個のセルに対し、ビット位置
毎に〔M、 M−q:)符号化を行い、生成されたqビ
ットの検査ビットを対応するビット位置に並べてq個の
検査ビットセルを生成する。検査ビットセルは各列に対
応してN粗生成されるので、これによりN個の検査ビッ
トセルからなる検査ビット小ブロックがq個得られる。
Further, as shown in FIG. 11, the large block is composed of a small block consisting of data cells CN-pE and nine test bit cells. Regarding these small blocks [M-q],
For [M-q) cells belonging to the same column, perform [M, M-q:) encoding for each bit position, arrange the generated q check bits at the corresponding bit positions, and then Generate test bit cells. Since N test bit cells are roughly generated corresponding to each column, q test bit small blocks each consisting of N test bit cells are obtained.

通常の小ブロック〔M−q)個と、検査ビット小ブロッ
クq個の合成M個の小ブロックにより、大ブロックが構
成される。
A large block is constituted by a composite of M small blocks consisting of [M-q) normal small blocks and q check bit small blocks.

送信側装置は、第7図に示すように、1以上N未満の整
数pに対して〔N−p〕個のセルの各ビット位置毎にデ
ータ部が[N−p〕ビットで検査ビットがpビットの符
号化を行う第一の符号化手段として、バッファ102、
〔N−p〕進カウンタ103、アドレス生成回路104
、〔N−p)セル分のメモリ105、CN、N−p)ハ
ミング符号器106およびpセル分のメモリ107を備
え、この第一の符号化手段の出力をp個の検査ビットセ
ルに挿入してp個の検査ビットセルを生成する手段とし
てアドレス生成回路108 、p進カウンタ109およ
び2人力1出力の切替スイッチ110を備え、〔Np〕
個のセルとp個の検査ビットセルとで一つの小ブロック
を構成し、1以上M未満の整数qに対して〔M−Q〕個
の小ブロックのセル位置が同一のN組のセルについて、
ビット位置毎にデータ部が〔M−q〕ビットで検査ビッ
トがqビットの組織符号化を行う第二の符号化手段とし
て、バッファ111 、N進カウンタ112、〔M−q
:]進カウンタ113、アドレス生成回路114 、N
x 〔M−q:]セル分のメモ!015 、〔M、 M
−q:)ハミング符号器116、Nxqセル分のメモリ
117およびNX〔M−q)進カウンタ121を備え、
この第二の符号化手段の出力を同じ組のq個のセルの対
応するビット位置に挿入してq個×N組のセルを生成す
る手段としてアドレス生成回路118 、N進カウンタ
119 、q進カウンタ120および2人力1出力の切
替スイッチ122を備える。
As shown in FIG. 7, the transmitter side device, for an integer p greater than or equal to 1 and less than N, the data part is [N-p] bits and the check bit is [N-p] bits for each bit position of [N-p] cells. As a first encoding means for encoding p bits, a buffer 102,
[N-p] base counter 103, address generation circuit 104
, [N-p) memory 105 for cells, CN, N-p) Hamming encoder 106 and p cells memory 107, and inserts the output of this first encoding means into p check bit cells. As a means for generating p test bit cells, an address generation circuit 108, a p-adic counter 109, and a changeover switch 110 with two inputs and one output are provided, [Np]
For N sets of cells in which one small block is composed of cells and p check bit cells, and the cell positions of [M-Q] small blocks are the same for an integer q of 1 or more and less than M,
As a second encoding means that performs systematic encoding in which the data part is [M-q] bits and the check bits are q bits for each bit position, a buffer 111, an N-ary counter 112, [M-q] bits are used as a second encoding means.
:] decimal counter 113, address generation circuit 114, N
x [M-q:] Memo for cells! 015, [M, M
-q:) Equipped with a Hamming encoder 116, a memory 117 for Nxq cells, and an NX[M-q) base counter 121,
An address generation circuit 118, an N-adic counter 119, and a q-adic counter are used as means for inserting the output of this second encoding means into corresponding bit positions of q cells of the same set to generate q×N sets of cells. It is equipped with a counter 120 and a two-manpower one-output changeover switch 122.

この送信側装置を動作させるには、初期設定として、C
N−p〕進カウンタ103 、p進カウンタ109 、
N進カウンタ112.119、〔M−q〕進カウンタ1
13 、Q進カウンタ120およびNX[:Mq〕進カ
ウンタ121の計数値を「O」とし、切替スイッチ11
0をバッファ102側に設定し、切替スイッチ122を
バッファ111側に設定する。
To operate this sending device, as an initial setting, C
N-p] base counter 103, p base counter 109,
N-ary counter 112.119, [M-q]-ary counter 1
13, the count values of the Q-ary counter 120 and the NX[:Mq]-ary counter 121 are set to "O", and the selector switch 11 is set to "O".
0 is set on the buffer 102 side, and the selector switch 122 is set on the buffer 111 side.

送信すべきセルは入力端子101から入力され、バッフ
ァ102および切替スイッチ110を経由してバッファ
111 に入力される。このとき〔N−p〕進カウンタ
103は、バッファ102から出力されるセルの数を計
数し、セルが〔N−p:]個通過した時点で、切替スイ
ッチ110を切り替える。これによりバッファ102か
らのセル出力が停止し、その間の入力端子101からの
セルは、バッファ102に蓄積される。
Cells to be transmitted are input from input terminal 101 and input to buffer 111 via buffer 102 and changeover switch 110. At this time, the [N-p] base counter 103 counts the number of cells output from the buffer 102, and switches the selector switch 110 when [N-p:] cells have passed. As a result, cell output from the buffer 102 is stopped, and cells from the input terminal 101 during that time are accumulated in the buffer 102.

メモリ105 は、バッファ102からバッファ111
に送られるセルのコピーを蓄積する。このメモリ105
のアドレス指定は、アドレス生成回路104により、〔
N−p)進カウンタ103の計数値を用いて行われる。
The memory 105 stores data from the buffer 102 to the buffer 111.
Accumulate copies of cells sent to . This memory 105
The address specification of [
This is performed using the count value of the N-p) base counter 103.

〔N、N−p)ハミング符号器106 は、メモリ10
5にセルがCN−p)個蓄積された時点で、ビット位置
毎にCN、 N−p〕符号化を行う。この結果生成され
たp個の検査ビットセルは、メモリ107に蓄積され、
データセルCN−p)個に続いて、切替スイッチ110
を経由してバッファ111に入力される。
[N, N-p) Hamming encoder 106 is stored in memory 10
5, when CN-p) cells are accumulated, CN, N-p] encoding is performed for each bit position. The p test bit cells generated as a result are stored in the memory 107, and
Following the data cells CN-p), a changeover switch 110
The data is input to the buffer 111 via.

p進カウンタ109は出力される検査ビットセル数を計
数し、アドレス生成回路108はメモリ107のアドレ
スを指定する。検査ビット小ブロックの出力が終了し、
p進カウンタ109の計数値が「0」になると、その時
点で切替スイッチ110をバッファ102側に切り替え
る。
The p-adic counter 109 counts the number of output test bit cells, and the address generation circuit 108 specifies the address of the memory 107. The output of the check bit small block is finished,
When the count value of the p-adic counter 109 reaches "0", the changeover switch 110 is switched to the buffer 102 side at that point.

このようにして、データセル〔N−p:1個および検査
ビットセル9個が順次切替スイッチ110から出力され
、小ブロックが形成される。
In this way, one data cell [N-p] and nine check bit cells are sequentially output from the changeover switch 110 to form a small block.

切替スイッチ110からバッファ111に入力されたセ
ルは、さらにスイッチ122を通過して出力される。こ
のときNX[M−ql進カウンタ121 は、バッファ
111から出力されるセル数を計数し、セルがNX(M
−q)通過過した時点で切替スイッチ122を切り替え
る。これによりバッファ111からのセル出力が停止し
、その間における切替スイッチ110からのセルはバッ
ファ111 に蓄積される。
The cells input from the changeover switch 110 to the buffer 111 further pass through the switch 122 and are output. At this time, the NX[M-ql base counter 121 counts the number of cells output from the buffer 111, and the cell
-q) Switch the selector switch 122 at the time of passing. As a result, cell output from the buffer 111 is stopped, and cells from the selector switch 110 during this period are accumulated in the buffer 111.

メモリ115 は、バッファ111から切替スイッチ1
22に送られるセルのコピーを蓄積する。〔M。
The memory 115 is connected from the buffer 111 to the changeover switch 1.
A copy of the cell sent to 22 is stored. [M.

M−q〕ハミング符号器116は、セルがNXI:M−
p〕個蓄積された時点で、メモリ115に蓄積された〔
M−91個の小ブロックのセル位置毎に列を構成し、各
列に属する〔M−91個のセルについて、そのビット位
置毎に〔M、M−q)符号化を行う。これによりq個の
検査ビットセルがNu得られ、これをq個の検査ビット
小ブロックとしてメモリ117に蓄積する。メモ1J1
17に蓄積された検査ビット小ブロックは、通常の小ブ
ロック〔M−q)個に続いて、切替スイッチ122を経
由して順次出力される。
M-q] Hamming encoder 116 determines whether the cell is NXI:M-
p] is accumulated in the memory 115.
A column is constructed for each cell position of M-91 small blocks, and encoding is performed for each bit position of [M-91 cells belonging to each column] [M, M-q]. As a result, q test bit cells Nu are obtained, which are stored in the memory 117 as q test bit small blocks. Memo 1J1
The check bit small blocks accumulated in the test bit block 17 are sequentially outputted via the changeover switch 122 following the normal small blocks [M-q).

N進カウンタ119、q進カウンタ120 は、出力さ
れる検査ビット小ブロル内のセル数を計数し、アドレス
生成回路H8によりメモリ117のアドレス指定を行う
。また、検査ビット小ブロックの出力が終了してq進カ
ウンタ120の計数値が「0」に戻った時点で、切替ス
イッチ122をバッファ111側に切り替える。
The N-ary counter 119 and the Q-ary counter 120 count the number of cells in the output check bit small block, and address of the memory 117 is specified by the address generation circuit H8. Further, when the output of the check bit small block is completed and the count value of the q-ary counter 120 returns to "0", the changeover switch 122 is switched to the buffer 111 side.

このようにして、大ブロックが懲戒される。In this way, large blocks are disciplined.

本実施例で用いられる受信側装置の基本的な構成は第2
図に示した第〜実施例のものと同等である。すなわち、
受信セルを入力端子21からセル廃棄検出およびダミー
セル挿入回路22に入力し、このセル廃棄検出およびダ
ミーセル挿入回路22がセルのヘッダ部の順序番号から
セル廃棄を検出して廃棄されたセル位置にダミーセルを
挿入し、小ブロック内セル廃棄補償回路23が小ブロッ
ク内のパリティ−セルを用いて補償可能なセル廃棄を補
償する。大ブロック内セル廃棄補償回路24はパリティ
−小ブロックを用いて補償可能なセル廃棄を補償する。
The basic configuration of the receiving side device used in this example is the second
This is equivalent to the embodiments shown in the figure. That is,
A received cell is input from the input terminal 21 to the cell discard detection and dummy cell insertion circuit 22, and the cell discard detection and dummy cell insertion circuit 22 detects cell discard from the sequence number of the cell header and inserts a dummy cell at the discarded cell position. is inserted, and the intra-small block cell discard compensation circuit 23 compensates for compensable cell discard using the parity cells within the small block. The intra-large block cell discard compensation circuit 24 compensates for compensable cell discard using parity-small blocks.

小ブロック内セル廃棄補償回路23は、第8図に示すよ
うに、小ブロック内でセル廃棄補償を行うために、N進
カウンタ141.1人力2出力の切替スイッチ143 
、N進カウンタ144.149.157、アドレス生成
回路145.150、Nセル分のメモリ146.151
、CN、N−p)ハミング復号器147.152、Nセ
ル分のメモリ148.153.1人力2出力の切替スイ
ッチ154、アドレス生成回路155.2人力1出力の
切替スイッチ156.158.160およびバッファ1
62を備え、小ブロック内の最初のダミーセルを検出し
てセルの出力を停止する手段としてヘッダ識別回路15
9を備え、廃棄補償が終了した後にセル出力を再開する
手段としてN進カウンタ141の出力がヘッダ識別回路
159に接続される。
The intra-small block cell discard compensation circuit 23, as shown in FIG.
, N-ary counter 144.149.157, address generation circuit 145.150, memory for N cells 146.151
, CN, N-p) Hamming decoder 147.152, memory for N cells 148.153.1 manual power 2 output changeover switch 154, address generation circuit 155.2 manual power 1 output changeover switch 156.158.160, and buffer 1
62, and a header identification circuit 15 as means for detecting the first dummy cell in the small block and stopping output of the cell.
9, and the output of the N-ary counter 141 is connected to the header identification circuit 159 as means for restarting cell output after the discard compensation is completed.

また、小ブロック内に挿入されたダミーセルの数からそ
の小ブロック内でのセル廃棄補償が可能かどうかを判断
する手段と、この判断する手段が不可能と判断したとき
には廃棄補償を中止してセル出力を再開する手段とは、
〔N、 N−p:]ハミング復号器14? 、152に
より実現される。
Additionally, there is a means for determining whether cell discard compensation is possible within a small block based on the number of dummy cells inserted in that small block, and when this means for determining is determined to be impossible, discard compensation is stopped and cells are What is the means to resume output?
[N, N-p:] Hamming decoder 14? , 152.

この小ブロック内セル廃棄補償回路23を動作させるに
は、まず、初期設定として、N進カウンタ141.14
4.149および157の値をすべて「0」にし、切替
スイッチ143.15gをN進カウンタ144側に設定
し、切替スイッチ154.156をメモリ148側に設
定し、切替スイッチ160を切替スイッチ158側に設
定する。
In order to operate this intra-small block cell discard compensation circuit 23, first, as an initial setting, the N-ary counter 141.14
4. Set all the values of 149 and 157 to "0", set the changeover switch 143.15g to the N-ary counter 144 side, set the changeover switch 154.156 to the memory 148 side, and set the changeover switch 160 to the changeover switch 158 side. Set to .

入力端子161より入力されたセルは、切替スイッチ1
43.158 、バッファ162および切替スイッチ1
60を通過して出力される。この間にN進カウンタ14
1は人力セル数を計数し、小ブロックの受信が終了して
計数値が「0」となる毎に、切替スイッチ143.15
8を切り替える。
The cell input from the input terminal 161 is transferred to the selector switch 1.
43.158, buffer 162 and changeover switch 1
60 and is output. During this time, the N-ary counter 14
1 counts the number of cells manually, and every time the reception of a small block is completed and the count value becomes "0", the changeover switch 143.15
Switch 8.

メモ’J146.151 は、切替スイッチ143から
切替スイッチ158に通過したセルのコピーを蓄積する
。CN、N−plハミング復号器147.152は、メ
モIJ146.151 に小ブロックの蓄積が終了した
時点で、その小ブロックについての復号を行う。
Memo 'J146.151 stores a copy of the cell that has passed from changeover switch 143 to changeover switch 158. The CN, N-pl Hamming decoder 147.152 decodes the small block when the storage of the small block in the memo IJ146.151 is completed.

このとき、小ブロック内のダミーセルの数が訂正能力の
範囲内であれば訂正を行い、ダミーセルの数が訂正能力
を越えていれば訂正は行わず、入力されたまま出力する
At this time, if the number of dummy cells in the small block is within the correction capability, correction is performed, and if the number of dummy cells exceeds the correction capability, no correction is performed and the data is output as input.

メモ!J146.151 は、その一方が現在受信中の
セルを蓄積し、他方は直前に受信が終了した小ブロック
のセルを蓄積する。〔N、 N−p〕ハミング復号器1
47.152は、小ブロックの受信が終了した時点で復
号を行い、メモIJ 148.153にその小ブロック
に対応する訂正後の小ブロックを蓄積する。
Memo! One of the J146.151 stores the cells currently being received, and the other stores the cells of the small block whose reception was completed immediately before. [N, N-p] Hamming decoder 1
47.152 performs decoding when the reception of the small block is completed, and stores the corrected small block corresponding to the small block in the memo IJ 148.153.

N進カウンタ157 は出力されるセル数を計数し、切
替スイッチ154.156が現在出力している小ブロッ
クに対応するメモリ148または153を選択する。
The N-ary counter 157 counts the number of output cells, and the changeover switches 154 and 156 select the memory 148 or 153 corresponding to the small block currently being output.

ヘッダ識別回路159は、ダミーセルを検出すると、切
替スイッチ160を中位にしてバッファ162からの出
力を停止する。その後、小ブロックの受信が終了してN
進カウンタ141の計数値が「0」になった時点で、切
替スイッチ160を切替スイッチ156側に切り替え、
メモリ148まはた153からの訂正済のセルを出力す
る。このとき、ダミーセルの検出により出力を停止した
位置がN進カウンタ157に記憶されているので、アド
レス生成回路155はこの値に基づいてアドレスを生威
し、メモリ148または153からの出力を行う。バッ
ファ162に蓄積されているセルのうち、メモ!J14
8.153から出力されるセルに対応するセルは廃棄さ
れる。
When the header identification circuit 159 detects a dummy cell, it sets the changeover switch 160 to the middle position and stops the output from the buffer 162. After that, reception of the small block is completed and N
When the count value of the decimal counter 141 reaches "0", switch the selector switch 160 to the selector switch 156 side,
The corrected cells from memory 148 or 153 are output. At this time, since the position where the output was stopped due to the detection of the dummy cell is stored in the N-ary counter 157, the address generation circuit 155 generates an address based on this value and outputs from the memory 148 or 153. Among the cells stored in the buffer 162, Memo! J14
Cells corresponding to cells output from 8.153 are discarded.

以上の動作により、 ■ 小ブロック内にセル廃棄がない場合は、入力された
セルはそのまま通過する。したがって、その場合の遅延
時間は極めて小さい。
As a result of the above operations, (1) If there is no discarded cell within the small block, the input cell passes through as is. Therefore, the delay time in that case is extremely small.

■ セル廃棄補償を行う場合は、小ブロック内の最初の
ダミーセルの位置からバッファリングを行うので、廃棄
補償を行ってもセルの時間順序は保存される。
■ When performing cell discard compensation, buffering is performed from the position of the first dummy cell in a small block, so even when discard compensation is performed, the time order of cells is preserved.

■ 小ブロック内に訂正能力の範囲を越えたセル廃棄が
あった場合は、ダミーセルのまま出力する。したがって
、誤った訂正が行われることはない。
■ If there is a cell discarded in a small block that exceeds the correction capability, it is output as a dummy cell. Therefore, erroneous corrections will not be made.

等の効果が得られる。Effects such as this can be obtained.

大ブロック内セル廃棄補償回路は、第9図に示すように
、大ブロック内セル廃棄補償を行うため、〔MXNI進
カウンタ171 、1人力2出力の切替スイッチ172
 、N進カウンタ173.179 、N進カウンタ17
4.180、アドレス生成回路175.184、N×M
セル分のメモリ176.183、I:M、M−Q]ハミ
ング復号器177.181 、NXMセル分のメモリ1
78.182.2人力1出力の切替スイッチ185.1
86.192、アドレス生成回路187、N進カウンタ
188 、N進カウンタ189、バッファ191.2人
力21出力の切替スイッチ190を備え、大ブロック内
の最初のダミーセルを検出してセルの出力を停止する手
段としてヘッダ識別回路194を備え、廃棄補償が終了
した後にセル出力を再開する手段として〔NXM)進カ
ウンタ171の出力がヘッダ識別回路194に接続され
る。
As shown in FIG. 9, the intra-large block cell discard compensation circuit performs intra-large block cell discard compensation.
, N-ary counter 173.179 , N-ary counter 17
4.180, address generation circuit 175.184, N×M
Memory for cells 176.183, I:M, M-Q] Hamming decoder 177.181, Memory for NXM cells 1
78.182.2 Human power 1 output selector switch 185.1
86.192, address generation circuit 187, N-ary counter 188, N-ary counter 189, buffer 191.2, human power 21 output changeover switch 190, detects the first dummy cell in the large block and stops cell output. A header identification circuit 194 is provided as a means, and the output of the [NXM)-adc counter 171 is connected to the header identification circuit 194 as a means for restarting cell output after termination of discard compensation.

また、大ブロック内の各列について列内のダミーセルの
数から列内で廃棄補償が可能かどうかを判断する手段と
、この手段が不可能と判断したときには廃棄補償を中止
してセル出力を再開する手段とは、〔M、M−q〕ハミ
ング復号器177.181により実現される。
Additionally, for each column in a large block, there is a means for determining whether discard compensation is possible within the column based on the number of dummy cells in the column, and if this means is determined to be impossible, discard compensation is stopped and cell output is resumed. The means to do this is realized by [M, M-q] Hamming decoders 177 and 181.

初期状態として、CNXMNXカフンタ171、N進カ
ウンタ173.179.189 、N進カウンタ174
.180.188の値をすべて「0」にし、切替スイッ
チ172.192をメモリ176側に設定し、切替スイ
ッチ185.186をメモリ178側に設定し、切替ス
イッチ190をバッファ191側に設定する。
In the initial state, CNXMNX counter 171, N-ary counter 173.179.189, N-ary counter 174
.. All values of 180 and 188 are set to "0", changeover switches 172 and 192 are set to the memory 176 side, changeover switches 185 and 186 are set to the memory 178 side, and changeover switch 190 is set to the buffer 191 side.

入力端子193より入力されたセルは、切替スイッチ1
72.192、バッファ191、切替スイッチ190を
通過して出力される。入力端子193から人力されたセ
ルからダミーセルが検出されず、廃棄補償を行わない場
合には、人力されたセルをそのまま出力する。したがっ
て、信号処理による遅延は極めて小さい。
The cell input from the input terminal 193 is transferred to the selector switch 1.
72.192, buffer 191, and selector switch 190 before being output. If no dummy cell is detected from the manually inputted cells from the input terminal 193 and no discard compensation is performed, the manually inputted cells are output as they are. Therefore, the delay due to signal processing is extremely small.

〔NXM)進カウンタ171は、人力セル数を計数し、
大ブロックの受信が終了して計数値が「0」となる毎に
、切替スイッチ172.192を切り替える。
[NXM] decimal counter 171 counts the number of human cells,
Each time the reception of a large block is completed and the count value becomes "0", the changeover switches 172 and 192 are switched.

N進カウンタ189は切替スイッチ190から出力され
るセルの数を計数し、N進カウンタ188はN進カウン
タ189の計数値が「0」となった回数を計数する。し
たがって、大ブロックの出力が終了するとN進カウンタ
188の計数値は「0」となる。
The N-ary counter 189 counts the number of cells output from the changeover switch 190, and the N-ary counter 188 counts the number of times the count value of the N-ary counter 189 becomes "0." Therefore, when the output of the large block is completed, the count value of the N-ary counter 188 becomes "0".

切替スイッチ185.186 は、N進カウンタ188
の計数値が「0」となる毎に切り替えられ、メモIJ 
178.182のうち、出力中の大ブロックに対応する
セルを蓄積している側を選択する。
The changeover switches 185 and 186 are the N-ary counter 188
The memo IJ is switched every time the count value of becomes "0".
178 and 182, the side that stores cells corresponding to the large block being output is selected.

メモリ176.183 は、切替スイッチ172から切
替スイッチ192に通過するセルのコピーを蓄積する。
Memories 176, 183 store copies of cells passing from transfer switch 172 to transfer switch 192.

〔M、M−qlハミング復号器177.181 は、大
ブロック全体がメモ!J 176.183 に蓄積され
た段階で復号を行う。このとき〔M、 M−q〕ハミン
グ復号器177.181 は、大ブロックの各列につい
てダミーセルの数を計数し、訂正能力の範囲内であれば
訂正を行い、範囲を越えていれば訂正を行わずにそのま
ま出力する。
[M, M-ql Hamming decoder 177.181, the entire large block is a memo! J 176.183 is stored, decoding is performed. At this time, the [M, M-q] Hamming decoder 177.181 counts the number of dummy cells for each column of the large block, and performs correction if it is within its correction capability, or if it exceeds the range. Output as is without doing anything.

ヘッダ識別回路194は、バッファ191から出力され
るセルのヘッダを監視してダミーセルを検出する。さら
にヘッダ識別回路194は、ダミーセルが検出された時
点で切替スイッチ190を制御し、バッファ190から
のセル出力を停止する。その間に出力されるセルは、バ
ッファ191に蓄積される。
The header identification circuit 194 monitors the header of the cell output from the buffer 191 and detects a dummy cell. Further, the header identification circuit 194 controls the selector switch 190 to stop cell output from the buffer 190 when a dummy cell is detected. Cells output during that time are accumulated in the buffer 191.

セル出力が中断した状態でその大ブロックの受信が終了
し、メモ!7178.182に訂正の完了したセルが生
成されると、I”N×M:)進カウンタ171の計数値
が「0」となる。これを受けて、ヘッダ識別回路194
は、切替スイッチ190を切替スイッチ186側に切り
替え、メモリ178または182に生成された訂正済み
のセルを出力する。これと同時に、バッファ191に蓄
積されているセルのうち訂正されたセルに対応するセル
は廃棄される。
The reception of that large block ended while cell output was interrupted, and memo! When a corrected cell is generated at 7178.182, the count value of the I''N×M:) base counter 171 becomes "0". In response to this, the header identification circuit 194
switches the selector switch 190 to the selector switch 186 side, and outputs the corrected cell generated to the memory 178 or 182. At the same time, among the cells stored in the buffer 191, the cells corresponding to the corrected cells are discarded.

ヘッダ識別回路194の検出したダミーセルの大ブロッ
ク内の位置は、M進カウンタ188の計数値とN進カウ
ンタ189の計数値とから計算できる。
The position within the large block of the dummy cell detected by the header identification circuit 194 can be calculated from the count value of the M-ary counter 188 and the count value of the N-ary counter 189.

アドレス生成回路187は、これらの計数値からアドレ
スを生威し、メモリ178.182に生成されたセルの
うち、検出されたダミーセルに対応するセルを出力する
The address generation circuit 187 generates an address from these count values, and outputs a cell corresponding to the detected dummy cell among the cells generated in the memory 178 and 182.

大ブロックの出力が終了するとM進カウンタ188の計
数値が「0」となり、これにより切替スイッチ190が
バッファ191側に切り替わる。
When the output of the large block is completed, the count value of the M-ary counter 188 becomes "0", and the changeover switch 190 is thereby switched to the buffer 191 side.

以上の動作により、 ■ 大ブロック内にセル廃棄がなければ、受信したセル
はそのまま出力されるので、遅延時間が極めて小さい。
As a result of the above operations, (1) If no cells are discarded within the large block, the received cells are output as they are, so the delay time is extremely small.

■ 大ブロック内の各列について、列内に訂正能力範囲
を越えた数のセル廃棄がある列についてはセル廃棄を行
わないので、誤った補償を行うことがない。
- For each column in a large block, cells are not discarded for columns in which the number of discarded cells exceeds the correction capability range, so erroneous compensation is not performed.

■ セル廃棄補償を行う場合は大ブロック内の最初のダ
ミーセルの位置からバッファリングを行うので、廃棄補
償を行ってもセルの時間順序は保持される。
■ When performing cell discard compensation, buffering is performed from the position of the first dummy cell in a large block, so even when discard compensation is performed, the time order of cells is maintained.

■ 列方向にセル廃棄補償を行うので、N個以上の連続
セル廃棄を補償できる。
- Since cell discard compensation is performed in the column direction, it is possible to compensate for N or more consecutive cell discards.

等の効果が得られる。Effects such as this can be obtained.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のセル送受信装置は、 ■ N個の連続セル廃棄を補償することができ、■ 送
信側の信号処理遅延がほとんどなく、■ セル廃棄がな
い場合は受信側での信号処理遅延はほとんどなく、 ■ 小ブロック内のみでセル廃棄補償が可能ならばその
ときの信号処理遅延はかなり小さく、■ 小ブロック内
で補償できないセル廃棄を補償する場合には、その小ブ
ロックが属する大ブロック内の最初に廃棄補償を行うセ
ル以前のセルは、バッファ内で待機する必要がな(、■
 セル廃棄補償を行ってもセル時間順序が保存される 効果がある。
As explained above, the cell transmitting/receiving device of the present invention can: ■ compensate for N consecutive cell discards; ■ almost have no signal processing delay on the transmitting side; There is almost no signal processing delay; ■ If cell discard compensation is possible only within a small block, then the signal processing delay is quite small; ■ When compensating for cell discard that cannot be compensated within a small block, the small block Cells before the first cell to which discard compensation is performed in the large block to which it belongs do not need to wait in the buffer (,■
Even if cell discard compensation is performed, the cell time order is preserved.

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

第1図は本発明第一実施例セル送受信装置における送信
側装置のブロック構成図。 第2図は受信側装置のブロック構成図。 第3図は受信側装置内の小ブロック内セル廃棄補償回路
のブロック構成図。 第4図は受信側装置内の大ブロック内セル廃棄補償回路
のブロック構成図。 第5図は小ブロックの構成図。 第6図は大ブロックの構成図。 第7図は本発明第二実施例セル送受信装置における送信
側装置のブロック構成図。 第8図は受信側装置内の小ブロック内セル廃棄補償回路
のブロック構成図。 第9図は受信側装置内の大ブロック内セル廃棄補償回路
のブロック構成図。 第10図は小ブロックの構成図。 第11図は大ブロックの構成図。 第12図は従来例パリティ−セル配置図。 1.21.31.101.161.193・・・入力端
子、2.41.78・・・バッファ、3・・・〔N−1
)進カウンタ、4・・・パリティ−セル保持メモリ、5
.13.35.37.80、81・・・加算回路、6.
10.14.34.39.40.44.52.71.7
2.73.76.77.110.122.143.14
3.154.156.158.160.172.185
.186.190.192・・・切替スイッチ、7.1
02.111.162.191・・・バッファ、8・・
・Nx 〔M−1)進カウンタ、9.15.32.42
.53.74.112.119.141.144.14
9.157.173.179.189・・・N進カウン
タ、IL 55.57.58.60.64.66.67
.69・・・セレクタ、12.36.38.56.65
・・・パリティ−セル保持メモリ、22−・・セル廃棄
検出およびダミーセル挿入回路、23・・・小ブロック
内セル廃棄補償回路、24・・・大ブロック内セル廃棄
補償回路、33.61.70.79.159.194・
・・ヘッダ識別回路、51.75・・・〔MXN〕進カ
ウンタ、54.63・・・スイッチ、59.68・・・
訂正禁止フラグ保持メモリ、103・・・〔N−p〕進
カウンタ、104.108.114.118.145.
150.155.175.184.187・・・アドレ
ス生成回路、105.107.115.117.146
.148.151.153.176.178.182.
183・・・メモリ、106・・・CN、N−p)ハミ
ング符号器、109・・・p進カウンタ、113・・・
〔M−q〕進カウンタ、116・・・〔M、M−q:]
ハミング符号器、120・・・q進カウンタ、121・
・・NX(M−q〕進カウンタ、147.152 ・・
・CN、N−p〕ハミング復号器、171 =−〔N×
M)進カウンタ、174.180.188・・・M進カ
ウンタ、177.181・・・〔M、  M−qlハミ
ング復号器。 )1\フ゛ロツフ
FIG. 1 is a block diagram of a transmitting side device in a cell transmitting/receiving device according to a first embodiment of the present invention. FIG. 2 is a block diagram of the receiving side device. FIG. 3 is a block diagram of a small block cell discard compensation circuit in the receiving side device. FIG. 4 is a block configuration diagram of a large block intra-cell discard compensation circuit in the receiving side device. FIG. 5 is a configuration diagram of a small block. Figure 6 is a diagram showing the configuration of the large block. FIG. 7 is a block diagram of the transmitting side device in the cell transmitting/receiving device according to the second embodiment of the present invention. FIG. 8 is a block configuration diagram of a small block cell discard compensation circuit in the receiving side device. FIG. 9 is a block configuration diagram of a large block intra-cell discard compensation circuit in the receiving side device. FIG. 10 is a configuration diagram of a small block. FIG. 11 is a configuration diagram of the large block. FIG. 12 is a diagram showing the layout of conventional parity cells. 1.21.31.101.161.193...Input terminal, 2.41.78...Buffer, 3...[N-1
) advance counter, 4... parity cell holding memory, 5
.. 13.35.37.80, 81...addition circuit, 6.
10.14.34.39.40.44.52.71.7
2.73.76.77.110.122.143.14
3.154.156.158.160.172.185
.. 186.190.192...Selector switch, 7.1
02.111.162.191...Buffer, 8...
・Nx [M-1] base counter, 9.15.32.42
.. 53.74.112.119.141.144.14
9.157.173.179.189... N-ary counter, IL 55.57.58.60.64.66.67
.. 69...Selector, 12.36.38.56.65
... Parity cell holding memory, 22-- Cell discard detection and dummy cell insertion circuit, 23... Cell discard compensation circuit in small block, 24... Cell discard compensation circuit in large block, 33.61.70 .79.159.194・
...Header identification circuit, 51.75...[MXN] decimal counter, 54.63...Switch, 59.68...
Correction prohibition flag holding memory, 103...[N-p] base counter, 104.108.114.118.145.
150.155.175.184.187... Address generation circuit, 105.107.115.117.146
.. 148.151.153.176.178.182.
183...Memory, 106...CN, N-p) Hamming encoder, 109...p-adic counter, 113...
[M-q] Base counter, 116... [M, M-q:]
Hamming encoder, 120...Q-ary counter, 121...
・・NX (M-q) base counter, 147.152 ・・
・CN, N-p] Hamming decoder, 171 =-[N×
M) base counter, 174.180.188...M base counter, 177.181... [M, M-ql Hamming decoder. )1\Frotufu

Claims (1)

【特許請求の範囲】 1、2以上の整数N、Mに対してN×M種類の順序番号
を含むヘッダ部とデータ部とにより構成されたセルを送
信側装置から受信側装置に転送するセル送受信装置にお
いて、 前記送信側装置は、 1以上N未満の整数pに対して〔N−p〕個のセルの各
ビット位置毎にデータ部が〔N−p〕ビットで検査ビッ
トがpビットの符号化を行う第一の符号化手段と、 この第一の符号化手段の出力をp個の検査ビットセルに
挿入してp個の検査ビットセルを生成する手段と、 前記〔N−p〕個のセルと前記p個の検査ビットセルと
で一つの小ブロックを構成し、1以上M未満の整数qに
対して〔M−q〕個の小ブロックのセル位置が同一のN
組のセルについて、ビット位置毎にデータ部が〔M−q
〕ビットで検査ビットがqビットの組織符号化を行う第
二の符号化手段と、 この第二の符号化手段の出力を同じ組のq個のセルの対
応するビット位置に挿入してq個×N組のセルを生成す
る手段と を含み、 前記受信側装置は、 小ブロック内のN個のセルについて前記第一の符号化手
段と逆論理により復号化してその小ブロック内でセル廃
棄補償を行う第一のセル廃棄補償手段と、 前記第二の符号化手段と逆論理により復号化して大ブロ
ック内のセル位置が同一のセルのセル廃棄補償を行う第
二のセル廃棄補償手段と を含み、 前記第一のセル廃棄補償手段は、小ブロック内の最初の
ダミーセルを検出してセルの出力を停止する手段と、廃
棄補償が終了した後にセル出力を再開する手段とを含み
、 前記第二のセル廃棄補償手段は、大ブロック内の最初の
ダミーセルを検出してセルの出力を停止する手段と、廃
棄補償が終了した後にセル出力を再開する手段とを含む ことを特徴とするセル送受信装置。
[Claims] A cell for transferring a cell from a transmitting device to a receiving device, which is composed of a header section and a data section including N×M order numbers for integers N and M of 1, 2 or more. In the transmitting/receiving device, the transmitting side device is configured such that for each bit position of [N-p] cells, the data portion is [N-p] bits and the check bit is p bits, for an integer p that is greater than or equal to 1 and less than N. a first encoding means for encoding; a means for inserting the output of the first encoding means into p check bit cells to generate p check bit cells; A cell and the p check bit cells constitute one small block, and for an integer q of 1 or more and less than M, the cell positions of [M-q] small blocks are the same N
For each set of cells, the data part for each bit position is [M-q
] a second encoding means that performs systematic encoding with q check bits, and inserting the output of this second encoding means into the corresponding bit positions of q cells of the same set, and means for generating ×N sets of cells, the receiving device decoding the N cells in the small block using logic inverse to the first encoding means to compensate for cell discard within the small block. a first cell discard compensation means for performing cell discard compensation, and a second cell discard compensation means for performing cell discard compensation for a cell having the same cell position within a large block by decoding using an inverse logic to the second encoding means. The first cell discard compensation means includes means for detecting the first dummy cell in the small block and stopping cell output, and means for restarting cell output after the discard compensation ends, The second cell discard compensation means includes a means for detecting the first dummy cell in a large block and stopping cell output, and a means for restarting cell output after the discard compensation is completed. Device.
JP2052058A 1990-03-02 1990-03-02 Cell transmitter-receiver Pending JPH03254240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2052058A JPH03254240A (en) 1990-03-02 1990-03-02 Cell transmitter-receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2052058A JPH03254240A (en) 1990-03-02 1990-03-02 Cell transmitter-receiver

Publications (1)

Publication Number Publication Date
JPH03254240A true JPH03254240A (en) 1991-11-13

Family

ID=12904215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2052058A Pending JPH03254240A (en) 1990-03-02 1990-03-02 Cell transmitter-receiver

Country Status (1)

Country Link
JP (1) JPH03254240A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336151A (en) * 2006-06-14 2007-12-27 Nippon Telegr & Teleph Corp <Ntt> Adaptive clock regenerating device and method
US7698290B2 (en) 2005-09-01 2010-04-13 Nippon Telegraph And Telephone Corporation Error correction method and apparatus
JP2014519787A (en) * 2011-06-11 2014-08-14 サムスン エレクトロニクス カンパニー リミテッド Packet transmitting / receiving apparatus and method in broadcasting and communication system
JP2014521245A (en) * 2011-07-08 2014-08-25 サムスン エレクトロニクス カンパニー リミテッド Method for generating forward error correction packet in multimedia system and method and apparatus for transmitting / receiving error correction packet

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7698290B2 (en) 2005-09-01 2010-04-13 Nippon Telegraph And Telephone Corporation Error correction method and apparatus
JP2007336151A (en) * 2006-06-14 2007-12-27 Nippon Telegr & Teleph Corp <Ntt> Adaptive clock regenerating device and method
JP4671915B2 (en) * 2006-06-14 2011-04-20 日本電信電話株式会社 Adaptive clock recovery apparatus and method
JP2014519787A (en) * 2011-06-11 2014-08-14 サムスン エレクトロニクス カンパニー リミテッド Packet transmitting / receiving apparatus and method in broadcasting and communication system
US9667275B2 (en) 2011-06-11 2017-05-30 Samsung Electronics Co., Ltd. Apparatus and method for transmitting and receiving packet in broadcasting and communication system
JP2014521245A (en) * 2011-07-08 2014-08-25 サムスン エレクトロニクス カンパニー リミテッド Method for generating forward error correction packet in multimedia system and method and apparatus for transmitting / receiving error correction packet

Similar Documents

Publication Publication Date Title
US7352299B1 (en) Method and system for improving memory interface data integrity
US6067654A (en) ATM switch and control method thereof
US6639865B2 (en) Memory device, method of accessing the memory device, and reed-solomon decoder including the memory device
KR100549894B1 (en) Encoding device, encoding method, mobile station and base station
EP0527772B1 (en) Forward error correction code system
US7246294B2 (en) Method for iterative hard-decision forward error correction decoding
US6675344B1 (en) Multiple ECC schemes to improve bandwidth
US20090024902A1 (en) Multi-channel error correction coder architecture using embedded memory
US7269208B2 (en) Device for sending/receiving digital data capable of processing different bit rates, in particular in a VDSL environment
US3961311A (en) Circuit arrangement for correcting slip errors in receiver of cyclic binary codes
US7231575B2 (en) Apparatus for iterative hard-decision forward error correction decoding
US7725810B2 (en) Decoding of multiple data streams encoded using a block coding algorithm
JPH03254240A (en) Cell transmitter-receiver
JP2999110B2 (en) Wireless communication method and wireless communication device
US20190317851A1 (en) Memory architecture including response manager for error correction circuit
AU682767B2 (en) Method and device to control a memory
US9413491B1 (en) System and method for multiple dimension decoding and encoding a message
US20060083174A1 (en) Collision avoidance manager, method of avoiding a memory collision and a turbo decoder employing the same
US8015451B2 (en) Controlling an unreliable data transfer in a data channel
EP2621121A2 (en) Supercharged codes
EP1192544B1 (en) Error correction circuit and method for a memory device
US6584594B1 (en) Data pre-reading and error correction circuit for a memory device
US7325081B2 (en) CRC data protection scheme for non-block-oriented data
US20050251717A1 (en) Method and/or apparatus implemented in hardware to discard bad logical transmission units (LTUs)
JPH0648808B2 (en) Method and apparatus for decoding block coded messages affected by symbol substitution, insertion and deletion