[go: up one dir, main page]

JPH04207734A - Cell transmitting/receiving equipment - Google Patents

Cell transmitting/receiving equipment

Info

Publication number
JPH04207734A
JPH04207734A JP2338544A JP33854490A JPH04207734A JP H04207734 A JPH04207734 A JP H04207734A JP 2338544 A JP2338544 A JP 2338544A JP 33854490 A JP33854490 A JP 33854490A JP H04207734 A JPH04207734 A JP H04207734A
Authority
JP
Japan
Prior art keywords
cell
cells
discard
bit
cld
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
JP2338544A
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 JP2338544A priority Critical patent/JPH04207734A/en
Publication of JPH04207734A publication Critical patent/JPH04207734A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To gradually decrease the delay time required for encoding and decoding by detecting a cell rejection by comparing receiving cell discriminating information and transmitting cell discriminating information, specifying a position in which a cell is rejected, based on a cell rejection detecting cell and an inspection bit cell, and compensating the rejection. CONSTITUTION:In a transmitting side equipment, transmitting cell discriminating information (CRPs) is generated from (N-q) pieces of data cells, and inserted into (q) pieces of cell rejection detection cells (CLD). In the case information recorded extending from an s1-th bit to an s2-th bit of the data cell of the CRPs is not contained, saving information of each data cell is also inserted into the CLD cell. In a receiving side equipment, in the case the CLD cell is received, the added sequence number is inspected, continuity to the sequence number of the CLD cell received immediately before is confirmed and a rejection of the CLD cell is detected, and in the case it is rejected, the processing is suspended until a CLD cell compensation/inspection bit cell is received, and after the CLD cell compensation/inspection bit cell is received, decoding of an (M, p) code is executed, and the CLD cell. is restored.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、セルまたはパケットを単位とする通信のセル
送受信装置に利用する。特に、セル廃棄検出およびセル
廃棄補償機能を有するセル送受信装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is applied to a cell transmitting/receiving device for communication in units of cells or packets. In particular, the present invention relates to a cell transmitting/receiving device having cell discard detection and cell discard compensation functions.

〔従来の技術〕[Conventional technology]

第23図は従来例のセル送受信装置のブロック構成図で
ある。
FIG. 23 is a block diagram of a conventional cell transmitting/receiving device.

従来、セル送受信装置は、セル廃棄補償を行うために、
第23図に示すように送信側の廃棄補償符号化回路21
3Aでセルに順序番号を付加し、受信側の廃棄補償復号
化回路223Aで受信したセルの順序番号の連続性を検
査することによりセル廃棄を検出し、補償を行う方法が
用いられてきた。この方法によりチャネル単位のセル廃
棄補償が可能である。
Conventionally, in order to compensate for cell discard, cell transmitting and receiving equipment
As shown in FIG. 23, the discard compensation encoding circuit 21 on the transmitting side
A method has been used in which cell discard is detected and compensated for by adding a sequence number to the cell at 3A and checking the continuity of the sequence number of the received cell at the discard compensation decoding circuit 223A on the receiving side. This method enables cell discard compensation on a channel-by-channel basis.

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

しかし、このような構成のセル送受信装置では、符号化
を行う廃棄補償符号化回路および復号化を行う廃棄補償
復号化回路がチャネルごとに必要になり装置規模か大き
くなり、また符号化および復号化を伝送速度の遅い部分
で行うために、符号化および復号化にともなう遅延時間
が大きくなる欠点があった。
However, in a cell transmitting/receiving device with such a configuration, a discard compensation encoding circuit for encoding and a discard compensation decoding circuit for decoding are required for each channel, which increases the device scale. Since this is performed at a low transmission rate, there is a drawback that the delay time associated with encoding and decoding becomes large.

本発明は上記の欠点を解決するもので、処理対象となる
セルに連続した順序番号が付加されてなくてもセル廃棄
補償を行うたとができ、かつ符号化および復号化に必要
な遅延時間を逓減できるセル送受信装置を提供すること
を目的とする。
The present invention solves the above-mentioned drawbacks. It is possible to perform cell discard compensation even if consecutive sequence numbers are not added to cells to be processed, and the delay time required for encoding and decoding is It is an object of the present invention to provide a cell transmitting/receiving device that can be used for cell transmission/reception.

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

本発明は、送信側装置と、受信側装置とを備え、上記送
信側装置は、複数の送信側端末と、この送信側端末から
のセルまたはパケットを多重化して送信する多重変換装
置とを含み、上記受信側装置は、上記多重変換装置の出
力信号を分離する多重分離変換装置と、この多重分離変
換装置の出力信号をそれぞれ入力する複数の受信側端末
とを含むセル送受信装置において、上記送信側装置は上
記多重変換装置の出力信号についてセル廃棄検出および
セル廃棄補償のための処理を行い符号化して受信側に送
信する廃棄補償符号化手段を含み、上記受信側装置は上
記送信側装置の出力信号を受信し復号化した信号につい
て上記多重分離装置の前段でセル廃棄検出およびセル廃
棄補償を行い上記多重分離変換装置に与える廃棄補償符
号化手段を含むことを特徴とする。
The present invention includes a transmitting device and a receiving device, and the transmitting device includes a plurality of transmitting terminals and a multiplex conversion device that multiplexes and transmits cells or packets from the transmitting terminals. , the receiving side device is a cell transmitting/receiving device including a demultiplexing/converting device that separates the output signal of the multiplexing/converting device, and a plurality of receiving side terminals each receiving the output signal of the demultiplexing/converting device. The side device includes a discard compensation encoding means that performs processing for cell discard detection and cell discard compensation on the output signal of the multiplex converter, encodes it, and transmits it to the receiving side, and the receiving side device includes a discard compensation encoding means for processing the output signal of the multiplex converter and transmitting the encoded signal to the receiving side. The present invention is characterized in that it includes a discard compensation encoding means that performs cell discard detection and cell discard compensation on a signal obtained by receiving and decoding an output signal at a stage before the demultiplexing device, and supplies the signal to the demultiplexing and converting device.

また、本発明は、上記廃棄補償符号化手段は、上記多重
変換装置の出力する(2以上の整数N−1以上の整数q
)個のデータセルからその送信セル識別情報を取出す送
信セル識別情報取出手段と、上記送信セル識別情報取出
手段の出力情報に基づき順序番号を付加したq個のセル
廃棄検出セルを生成するセル廃棄検出セル生成手段と、
このセル廃棄検出セル生成回路の出力信号を該当する(
N−Q)個のデータセルに付加して小ブロックとして出
力するセル廃棄検出セル付加手段と、データセル廃棄検
出セル付加手段の出力する(2以上の整数M1以上の整
数p)組の小ブロックを入力し、(M−T))個からな
る(N−q)組のデータセルおよびq組のセル廃棄検出
セルに対し、同一ビット位置に記録されている(M  
p)ビットからなる1以上の整数り組の情報の一部また
は全部につき情報ビット(M−p)ビットおよび検査ビ
ットpビットの組織符号化を行い、この組織符号化によ
り生成された検査ビットをp個からなるセルの組N組に
挿入して1組あたりp個からなるN組の検査ビットセル
を生成し、この検査ビットセルのSlビット目から52
ビット目に順序番号を挿入し、(M−p)組の小ブロッ
クにこの検査ビットセルを付加し大ブロックとして送信
する検査ビットセル付加手段とを含むことができる。
Further, in the present invention, the discard compensation encoding means outputs the output of the multiplex conversion device (an integer q of 2 or more and N−1 or more)
) transmitting cell identification information extracting means for extracting transmitting cell identification information from the transmitting cell identifying information extracting means, and cell discarding for generating q cell discard detection cells to which sequence numbers are added based on the output information of the transmitting cell identifying information extracting means. detection cell generation means;
The output signal of this cell discard detection cell generation circuit is
A cell discard detection cell addition means that is added to N-Q) data cells and output as a small block, and a set of (integer p that is an integer greater than or equal to M1 that is an integer greater than or equal to 2) outputted by the data cell discard detection cell addition means. is input, and for (N-q) sets of data cells and q sets of cell discard detection cells consisting of (M-T),
p) Perform systematic encoding of information bits (M-p) bits and check bits p bits for part or all of the information of a set of integers of 1 or more consisting of bits, and check bits generated by this systematic encoding. The cells are inserted into N sets of p cells to generate N sets of p test bit cells per set, and the 52nd bit from the Sl bit of this test bit cell is
The test bit cell adding means inserts a sequence number into the bit, adds the test bit cell to (M-p) sets of small blocks, and transmits the test bit cells as a large block.

さらに、本発胡は、上言己廃棄補償複号化手段は、受信
したセル廃棄検出セルに付加された順序番号に基づきセ
ル廃棄検出セルの廃棄を検出し、受信したセル廃棄検出
セル補償検査ビットに基づきセル廃棄検出セルを復元す
るセル廃棄検出セル復元手段と、受信した(M−p)個
の小ブD ツクそれぞれに対して受信セル識別情報を生
成する受信セル識別情報生成手段と、上記受信した各小
ブロックのq個のセル廃棄検出セルに含まれる(N−q
)個の送信セル識別情報と上記受信セル識別情報生成手
段の受信セル識別情報とを比較して小ブロック内のデー
タセル廃棄を検出するデータセル廃棄検出手段と、検査
ビットセルに付加された順序番号を検査してその廃棄を
検出する検査ビット検出手段と、小ブロック内のセル位
置が同一の(M−p)個のデータセルからなるセルの組
(N−q)組に対し、小ブロック内のセル位置がデータ
セルと同一のp個の検査ビットセルを用いて、(M−p
)個のデータセルおよびp個の検査ビットセルの同一ビ
ット位置に記録されているMビットの情報を単位として
、情報ビット(M−p)ビットおよび検査ビットの復号
化を行って廃棄されたデータセルの51 ビット目から
s2ビット目以外の部分を復元し、データセルの81 
ビット目から52ビット目に記録されていた情報をセル
廃棄検出セルより取出し、そのデータセルの81 ビッ
ト目から52ビット目に挿入して元の情報を復元する廃
棄セル復元手段とを含むことができる。
In addition, the above-mentioned discard compensation decoding means detects the discard of the cell discard detection cell based on the sequence number added to the received cell discard detection cell, and performs a cell compensation check on the received cell discard detection cell. Cell discard detection cell restoring means for restoring a cell discard detected cell based on the bit; receiving cell identification information generating means for generating receiving cell identification information for each of the (M-p) received small blocks; Included in the q cell discard detection cells of each received small block (N-q
) data cell discard detection means for detecting data cell discard within a small block by comparing the transmitting cell identification information of the transmitting cell identification information with the receiving cell identification information of the receiving cell identification information generating means; and a sequence number added to the test bit cell. A check bit detecting means for detecting discard by inspecting the data cells in the small block, and (M-p
) data cells and p check bit cells, with M bits of information recorded in the same bit position as a unit, and the information bits (M-p) bits and check bits are decoded and discarded. The part other than the s2th bit from the 51st bit of the data cell is restored, and the 81st bit of the data cell is restored.
The discarded cell restoring means extracts the information recorded in the 52nd bit from the 81st bit from the cell discard detection cell and inserts it into the 81st bit to the 52nd bit of the data cell to restore the original information. can.

〔作用〕[Effect]

送信側装置は廃棄補償符号化手段で多重変換装置の出力
信号についてセル廃棄検出およびセル廃棄補償のための
処理を行い符号化して受信側に送信する。受信側装置は
廃棄補償復号化手段で送信側装置の出力信号を受信し復
号化した信号について上記多重分離装置の前段でセル廃
棄検出およびセル廃棄補償を行い多重分離変換装置に与
える。
The transmitting side device performs processing for cell discard detection and cell discard compensation on the output signal of the multiplex converter using a discard compensation encoding means, encodes the signal, and transmits the encoded signal to the receiving side. The receiving side device receives the output signal of the transmitting side device using a discard compensation decoding means, performs cell discard detection and cell discard compensation on the decoded signal at a stage before the multiplexing/demultiplexing device, and provides the decoded signal to the multiplexing/demultiplexing device.

また、廃棄補償符号化手段は、送信セル識別情報取出手
段で多重変換装置の出力する(2以上の整数N−1以上
の整数q)個のデータセルからその送信セル識別情報を
取出す。セル廃棄検出セル生成手段で送信セル識別情報
取出手段の出力情報に基づき順序番号を付加したq個の
セル廃棄検出セルを生成する。セル廃棄検出セル付加手
段でセル廃棄検出セル生成回路の出力信号を該当する(
N−q)個のデータセルに付加して小ブロックとして出
力する。検査ビット付加手段でデータセル廃棄検出セル
付加手段の出力する(2以上の整数M−1以上の整数p
)組の小ブロックを入力し、(M−p)個からなる(N
−Q)組のデータセルおよびq組のセル廃棄検出セルに
対し、同一ビット位置に記録されている(M−p)ビッ
トからなる1以上の整数り組の情報の一部または全部に
つき情報ビット(M−p)ビットおよび検査ビットpビ
ットの組織符号化を行い、この組織符号化により生成さ
れた検査ビットをp個からなるセルの組N組に挿入して
1組あたりp個からなるN組の検査ビットセルを生成し
、この検査ビットセルのs1ビット目から52ビット目
に順序番号を挿入し、(M−p)組の小ブロックにこの
検査ビットセルを付加し大ブロックとして送信する。
Further, the discard compensation encoding means uses the transmission cell identification information extraction means to extract the transmission cell identification information from (an integer N of 2 or more - an integer q of 1 or more) data cells output from the multiplex converter. The cell discard detection cell generation means generates q cell discard detection cells to which sequence numbers are added based on the output information of the transmission cell identification information extraction means. The cell discard detection cell adding means adds the output signal of the cell discard detection cell generation circuit to the corresponding (
N-q) data cells and output as a small block. The check bit adding means outputs the data cell discard detection cell adding means (an integer M of 2 or more - an integer p of 1 or more).
) sets of small blocks are input, and (N
- Information bits for part or all of the information of one or more integer sets consisting of (M-p) bits recorded in the same bit position for Q) set of data cells and q sets of cell discard detection cells. (M-p) bits and check bits p bits are systematically encoded, and the check bits generated by this systematic encoding are inserted into N sets of p cells, each set being N sets of p cells. A set of check bit cells is generated, a sequence number is inserted into the s1th bit to the 52nd bit of the check bit cell, and the check bit cell is added to the (M-p) set of small blocks and transmitted as a large block.

さらに、廃棄補償復号化手段は、セル廃棄検出セル復元
手段で受信したセル廃棄検圧セルに付加された順序番号
に基づきセル廃棄検出セルの廃棄を検出し、受信したセ
ル廃棄検出セル補償検査ビットに基づきセル廃棄検出セ
ルを復元する。受信セル識別情報生成手段で受信した(
M−p)個の小ブロックそれぞれに対して受信セル識別
情報を生成する。データセル廃棄検出手段で上記受信し
た各小ブロックのq個のセル廃棄検出セルに含まれる(
N−q)個の送信セル識別情報と上記受信識別情報生成
手段の受信セル識別情報とを比較して小ブロック内のデ
ータセル廃棄を検出する。検査ビット検出手段で検査ビ
ットセルに付加された順序番号を検査してその廃棄を検
出する。廃棄セル復元手段で小ブロック内のセル位置が
同一の(M−p)個のデータセルからなるセルの組(N
−q)組に対し、小ブロック内のセル位置がデータセル
と同一のp個の検査ビットセルを用いて、(M−p)個
のデータセルおよびp個の検査ビットセルの同一ビット
位置に記録されているMビットの情報を単位として、情
報ビット(M−p)ビットおよび検査ビットの復号化を
行って廃棄されたデータセルの51 ビット目から82
ビット目以外の部分を復元し、データセルのSl ビッ
ト目から52ビット目に記録されていた情報をセル廃棄
検出セルより取出し、そのデータセルの51 ビット目
から52ビット目に挿入して元の情報を復元する。
Further, the discard compensation decoding means detects the discard of the cell discard detection cell based on the sequence number added to the cell discard pressure detection cell received by the cell discard detection cell restoration means, and detects the discard of the cell discard detection cell compensation check bit. The cell discard detected cell is restored based on the cell discard detection. received by the receiving cell identification information generating means (
Receiving cell identification information is generated for each of M-p) small blocks. Included in the q cell discard detection cells of each small block received by the data cell discard detection means (
N-q) pieces of transmitting cell identification information and receiving cell identification information of the receiving identification information generating means are compared to detect data cell discard within the small block. The check bit detection means checks the sequence number added to the check bit cell to detect its discard. The discarded cell restoring means generates a set of cells (N
-q), the cell position in the small block is recorded at the same bit position of (M-p) data cells and p check bit cells using p check bit cells whose cell position is the same as that of the data cell. The information bit (M-p) bit and the check bit are decoded using the M-bit information as a unit, and the 51st to 82nd bits of the discarded data cell are decoded.
The part other than the bit is restored, the information recorded in the Sl bit to the 52nd bit of the data cell is extracted from the cell discard detection cell, and is inserted into the 51st to 52nd bits of the data cell to restore the original information. Restore information.

すなわち、送信側装置では、(N−q)個のデータセル
から、送信セル識別情報(以下、CRP。
That is, the transmitting side device collects transmitting cell identification information (hereinafter referred to as CRP) from (N-q) data cells.

という。)を生成し、q個のセル廃棄検出用セル(以下
、CLDセルという。)に挿入する。検査ビットセルに
おいてs1ビット目からS2ビット目に順序番号を書込
む場合に、その位置には検査ビットを挿入できない。し
たがって、データセルの81 ビット目から52ビット
目の情報は誤り訂正による情報の復元ができない。そこ
で、CRP sにテ′−タセルのSl ビット目から5
2ビット目に記録されている情報(以下、退避情報とい
う。)が含まれていない場合には各データセルの退避情
報もCLDセルに挿入する。以上の(N−Q)個のデー
タセルおよびq個のCLDセルにより小ブロックを構成
する。各CLDセルにはCLDセル間で連続する順序番
号が付加される。
That's what it means. ) is generated and inserted into q cells for cell discard detection (hereinafter referred to as CLD cells). When writing a sequence number from bit S1 to bit S2 in a test bit cell, a test bit cannot be inserted at that position. Therefore, the information from the 81st bit to the 52nd bit of the data cell cannot be restored by error correction. Therefore, in CRP s, 5 bits from Sl bit of the data cell are added.
If the information recorded in the second bit (hereinafter referred to as save information) is not included, the save information of each data cell is also inserted into the CLD cell. The above (N-Q) data cells and q CLD cells constitute a small block. Each CLD cell is assigned a sequential order number among CLD cells.

次に、(M−p)個の小ブロックから、検査ビットセル
によって構成されるp個の小ブロックを生成する。小ブ
ロック内におけるセル位置が同一の(M−p)個のセル
N組のうち、データセルにより構成される(N−q)組
のセル群については、ヘッダ内のVPIが書かれている
領域とヘッダのCRC(HEC領域)および検査ビット
セルの順序番号が書かれる領域以外について符号化を行
う。
Next, p small blocks constituted by test bit cells are generated from the (M-p) small blocks. Among the N sets of (M-p) cells with the same cell position in the small block, for the (N-q) set of cells made up of data cells, the area where the VPI in the header is written. Encoding is performed on areas other than the area where the CRC (HEC area) of the header and the sequence number of the check bit cell are written.

符号化は、データセルの各情報ビット(ヘッダ領域も含
む)について、同一ビット位置に記録されている(M−
p)ビットの情報に対し、情報ビット(M−p)ビット
、検査ビットpビットの組織符号化(以下、M、p)符
号化という)を行い、生成されるpビットの検査ビット
をp個の検査ビットセルの同じビット位置に挿入する。
For encoding, each information bit (including the header area) of a data cell is recorded at the same bit position (M-
p) Perform systematic encoding (hereinafter referred to as M,p) encoding of information bits (M-p) bits and check bits p bits on the information of p) bits, and generate p check bits of the generated p bits. Insert into the same bit position of the test bit cell.

さらに、データセルより生成される1組p個からなる(
N−q)組の検査ビットセル間で連続する順序番号を付
加する。また、CLDセルにより構成されるq組のセル
群については、CLDセルの情報領域のうちで各データ
セルより生成したCRP、および退避情報が書かれてい
る領域のみを符号化の対象とし、データセルと同様に1
組p個からなるq組のCLDセル補償用の検査ビットセ
ルを生成する。ここで生成される検査ビットセルにはC
LDセルに付加した順序番号と連続する順序番号を付加
する。
Furthermore, a set of p data cells is generated (
N-q) consecutive order numbers are added between the sets of test bit cells. In addition, for q cell groups composed of CLD cells, only the CRP generated from each data cell and the area in which evacuation information is written in the information area of the CLD cell are subject to encoding, and the data 1 like cell
Q sets of p test bit cells for CLD cell compensation are generated. The test bit cells generated here include C
A sequence number consecutive to the sequence number added to the LD cell is added.

以上、(M−p)組の小ブロック、1組p個からなる(
N−q)組のデータセル補償検査ピットセノペ1組p個
からなるq組のCLDセル補償検査ビットセルの合計N
XM個のセルにより大ブロックを構成し、送信側ではこ
の大ブロックを送信の単位とする。
Above, there are (M-p) sets of small blocks, each set consisting of p pieces (
N-q) sets of data cells Compensation test pit senopes q sets of CLD cells Compensation test bit cells consisting of p sets of data cells Total N
A large block is made up of XM cells, and the transmitting side uses this large block as a unit of transmission.

受信側装置では、まず、受信したセルがデータセルか、
検査ビットセルであるか、CLDセルであるかを区別す
る。CLDセルを受信した場合は、付加されている順序
番号を検査し、直前に受信したCLDセルの順序番号と
の連続性を確認してCLDセルの廃棄を検出する。CL
Dセルが廃棄されている場合には、以下に示す手順によ
りCLDセルを復元してからデータセルの廃棄検出およ
び補償を行う。CLDセルの廃棄が検出された場合には
、CLDセル補償検査ビットセルを受信するまで処理を
中断し、その間に受信したセルはバッファリングする。
The receiving device first checks whether the received cell is a data cell or not.
Distinguish whether it is a test bit cell or a CLD cell. When a CLD cell is received, the attached sequence number is checked to confirm continuity with the sequence number of the CLD cell received immediately before, and the discard of the CLD cell is detected. C.L.
If the D cell has been discarded, the CLD cell is restored by the following procedure, and then data cell discard detection and compensation are performed. When discarding a CLD cell is detected, processing is interrupted until a CLD cell compensation check bit cell is received, and the received cells are buffered in the meantime.

CLDセル補償検査ビア)セル受信後、(M、  p)
符号の復号化を行いCLDセルを復元する。CLDセル
が正常に復元できない場合は、処理中の大ブロックにつ
いての処理を中止し、その大ブロックに属する受信デー
タセルをそのまま出力し、CLDセル、検査ビットセル
は除去する。
CLD cell compensation test via) After cell reception, (M, p)
The code is decoded to restore the CLD cell. If the CLD cell cannot be restored normally, processing of the large block being processed is stopped, the received data cells belonging to the large block are output as they are, and the CLD cells and check bit cells are removed.

CLDセルを正常に受信した後、また、正常に復元でき
た後に、受信したデータセルからCRP、を生成する。
After normally receiving a CLD cell and after successfully restoring it, a CRP is generated from the received data cell.

データセルから生成したCRP、と一致するCLDセル
中のCRPSをさがし、CLDセル中の位置を求める。
A CRPS in the CLD cell that matches the CRP generated from the data cell is searched, and the position in the CLD cell is determined.

CLDセル中のCRP。CRP in CLD cells.

の位置はデータセルの小ブロックにおけるセル位置に対
応するので、これにより、受信したデータセルの小ブロ
ック中のセル位置の連続性を検査し、データセルの廃棄
を検出する。検査中の小ブロック内にセル廃棄が検出さ
れず、かつ、検査中の小ブロック以前において、その小
ブロックが属している大ブロック内にセル廃棄が検出さ
れていない場合には、小ブロック中のデータセルの廃棄
検出が終了した段階でその小ブロックのセルを出力する
。データセルの廃棄が検出された場合には、その位置に
ダミーセルを挿入する。この場合は、廃棄検出終了後も
セルは出力せず、大ブロックの最後まで、廃棄検出、ダ
ミーセル挿入が完了しているセルをバッファリングする
。その後に、検査ビットセルを用いて、(M、p)符号
の復号化を行いデータセルを復元する。ただし、S1ビ
ット目から52ビット目に書込まれていた退避情報はく
M、p)復号化によっては復元されない。退避情報はC
LDセル中にあるので、そこから退避情報を取出し、復
元されたセルに挿入する。これにより廃棄されたデータ
セルは復元される。
Since the position corresponds to the cell position in the small block of data cells, this checks the continuity of the cell position in the small block of received data cells and detects the discard of the data cell. If no cell discard is detected in the small block under inspection, and no cell discard is detected in the large block to which the small block belongs before the small block under inspection, When the data cell discard detection is completed, the small block of cells is output. If a data cell is detected to have been discarded, a dummy cell is inserted in that position. In this case, cells are not output even after discard detection is completed, and cells for which discard detection and dummy cell insertion have been completed are buffered until the end of the large block. Thereafter, the (M,p) code is decoded using the check bit cell to restore the data cell. However, the saved information written from the S1th bit to the 52nd bit is not restored by M, p) decoding. Evacuation information is C
Since it is in the LD cell, the saved information is extracted from there and inserted into the restored cell. This restores the discarded data cells.

以上により処理対象となるセルに連続した順序番号が付
加されてなくてもセル廃棄補償を行うたとができ、かつ
符号化および復号化に必要な遅延時間を逓減できる。
As described above, cell discard compensation can be performed even if consecutive sequence numbers are not added to the cells to be processed, and the delay time required for encoding and decoding can be gradually reduced.

〔実施例〕 本発明の実施例について図面を参照して説明する。第1
図は本発明第一実施例セル送受信装置のブロック構成図
である。第2図は本発明第一実施例セル送受信装置のセ
ル廃棄検出セル付加回路のブロック構成図である。第3
図は本発明第一実施例セル送受信装置の検査ビットセル
付加回路のブロック構成図である。第4図は本発明第一
実施例セル送受信装置のセル廃棄検出およびダミーセル
挿入回路のブロック構成図である。第5図は本発明第一
実施例セル送受信装置の廃棄セル復元回路のブロック構
成図である。
[Example] An example of the present invention will be described with reference to the drawings. 1st
The figure is a block diagram of a cell transmitting/receiving device according to a first embodiment of the present invention. FIG. 2 is a block diagram of the cell discard detection cell addition circuit of the cell transmitting/receiving apparatus according to the first embodiment of the present invention. Third
The figure is a block diagram of a test bit cell adding circuit of the cell transmitting/receiving device according to the first embodiment of the present invention. FIG. 4 is a block diagram of the cell discard detection and dummy cell insertion circuit of the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 5 is a block diagram of the discarded cell restoration circuit of the cell transmitting/receiving apparatus according to the first embodiment of the present invention.

第1図〜第5図において、セル送受信装置は、送信側装
置210と、受信側装置220とを備え、送信側装置2
10は、複数の送信側端末として端末211と、端末2
11からのセルまたはパケットを多重化して送信する多
重変換装置212とを含み、受信側装置220は、多重
変換装置212の出力信号を分離する多重分離変換装置
222と、多重分離変換装置222の出力信号をそれぞ
れ入力する複数の受信側端末として端末221とを含む
In FIGS. 1 to 5, the cell transmitting/receiving device includes a transmitting device 210 and a receiving device 220.
10 includes a terminal 211 and a terminal 2 as a plurality of transmitting terminals.
The receiving side device 220 includes a multiplex converter 212 that multiplexes and transmits cells or packets from the multiplex converter 212, and a multiplex converter 222 that separates the output signal of the multiplex converter 212, and an output signal of the multiplex converter 222. The terminal 221 is included as a plurality of receiving side terminals each inputting a signal.

ここで本発明の特徴とするところは、送信側装置210
は多重変換装置212の出力信号についてセル廃棄検出
およびセル廃棄補償のための処理を行い符号化して受信
側に送信する廃棄補償符号化手段として廃棄補償符号化
回路213を含み、受信側装置220は送信側装置21
0の出力信号を受信し復号化した信号について上記多重
分離装置の前段でセル廃棄検出およびセル廃棄補償を行
い多重分離変換装置222に与える廃棄補償復号化手段
として廃棄補償復号化回路223を含むことにある。
Here, the feature of the present invention is that the transmitting side device 210
includes a discard compensation encoding circuit 213 as a discard compensation encoding means that performs processing for cell discard detection and cell discard compensation on the output signal of the multiplex converter 212, encodes it, and transmits it to the receiving side; Sending side device 21
A discard compensation decoding circuit 223 is included as a discard compensation decoding means that performs cell discard detection and cell discard compensation on a signal obtained by receiving and decoding an output signal of 0 at a stage before the demultiplexing device and supplies the signal to the demultiplexing/demultiplexing device 222. It is in.

廃棄補償符号化回路213は、多重変換装置212の出
力する(N−q)個のデータセルからその送信セル識別
情報を取出す送信セル識別情報取出手段と、この送信セ
ル識別情報取出手段の出力情報に基づき順序番号を付加
したq個のセル廃棄検出セルを生成するセル廃棄検出セ
ル生成手段と、このセル廃棄検出セル生成回路の出力信
号を該当する(N−q)個のデータセルに付加して小ブ
ロックとじて出力するセル廃棄検出セル付加手段と、デ
ータセル廃棄検出セル付加手段の出力する(2以上の整
数M−1以上の整数p)組の小ブロックを入力し、(M
−p)個からなる(N−Q>組のデータセルおよびq組
のセル廃棄検出セルに対し、同一ビット位置に記録され
ている(M−p)  ビットからなる1以上の整数り組
の情報の一部または全部につき情報ビット(M−p)ビ
ットおよび検査ビットpビットの組織符号化を行い、こ
の組織符号化により生成された検査ビットをp個からな
るセルの組N組に挿入して1組あたりp個からなるN組
の検査ビットセルを生成し、この検査ビットセルの51
ビット目からS2ビット目に順序番号を挿入し、(M−
p)組の小ブロックにこの検査ビットセルを付加し大ブ
ロックとして送信する検査ビットセル付加手段とを含む
The discard compensation encoding circuit 213 includes a transmitting cell identification information extracting means for extracting the transmitting cell identification information from the (N-q) data cells output from the multiplex converter 212, and output information of the transmitting cell identifying information extracting means. cell discard detection cell generation means for generating q cell discard detection cells to which sequence numbers are added based on the cell discard detection cell generation circuit; Input a set of small blocks (integer M of 2 or more - integer p of 1 or more) output by the cell discard detection cell addition means and the data cell discard detection cell addition means, which are output as small blocks, and (M
- information of an integer set of 1 or more consisting of (M-p) bits recorded in the same bit position for (N-Q> sets of data cells and q sets of cell discard detection cells consisting of (p) bits) systematic encoding of information bits (M-p) bits and p check bits is performed for part or all of , and the check bits generated by this systematic encoding are inserted into N sets of p cells. N sets of test bit cells each consisting of p test bit cells are generated, and 51 of these test bit cells are
Insert a sequence number from the bit to the S2 bit, and (M-
p) test bit cell adding means for adding the test bit cell to a set of small blocks and transmitting the test bit cell as a large block;

さらに、廃棄補償復号化回路223は、受信したセル廃
棄検出セルに付加された順序番号に基づきセル廃棄検出
セルの廃棄を検出し、この受信したセル廃棄検出セル補
償検査ビットに基づきセル廃棄検出セルを復元するセル
廃棄検出セル復元手段と、受信した(M−p)個の小ブ
ロックそれぞれに対して受信セル識別情報を生成する受
信セル識別情報生成手段と、上記受信した各小ブロック
のq個のセル廃棄検出セルに含まれる(N−q)個の送
信セル識別情報と上記受信識別情報生成手段の受信セル
識別情報とを比較して小ブロック内のデータセル廃棄を
検出するデータセル廃棄検出手段と、検査ビットセルに
付加された順序番号を検査してその廃棄を検出する検査
ビット検出手段と、小ブロック内のセル位置が同一の(
M−p)個のデータセルからなるセルの組(N−q)組
に対し、小ブロック内のセル位置がデータセルと同一の
p個の検査ビットセルを用いて、(M−p)個のデータ
セルおよびp個の検査ビットセルの同一ビット位置に記
録されているMビットの情報を単位として、情報ビット
(M−p)ビットおよび検査ビットの復号化を行って廃
棄されたデータセルのS1ビット目から52ビット目以
外の部分を復元し、データセルの51 ビット目から8
2ビット目に記録されていた情報をセル廃棄検出セルよ
り取出し、そのデータセルの51ビット目から62ビッ
ト目に挿入して元の情報を復元する廃棄セル復元手段と
を含む。
Further, the discard compensation decoding circuit 223 detects the discard of the cell discard detection cell based on the sequence number added to the received cell discard detection cell, and detects the discard of the cell discard detection cell based on the received cell discard detection cell compensation check bit. a cell discard detection cell restoring means for restoring the cell discard detection cell restoring means; a receiving cell identification information generating means for generating receiving cell identification information for each of the (M-p) received small blocks; data cell discard detection for detecting data cell discard in a small block by comparing (N-q) pieces of transmitting cell identification information included in the cell discard detection cells with the receiving cell identification information of the receiving identification information generating means; a check bit detection means for checking the sequence number added to the check bit cell to detect its discard;
For a set (N-q) of cells consisting of M-p) data cells, use p test bit cells whose cell positions in the small block are the same as the data cells. The S1 bit of the data cell is discarded after decoding the information bit (M-p) bit and the check bit using M bits of information recorded in the same bit position of the data cell and p check bit cells as a unit. Restoring the parts other than the 52nd bit from the 51st bit to the 8th bit of the data cell
The discarded cell restoring means extracts the information recorded in the second bit from the cell discard detection cell and inserts it into the 51st to 62nd bits of the data cell to restore the original information.

すなわち、廃棄補償符号化回路213はセル廃棄検出セ
ル付加回路および検査ビットセル付加回路を含む。セル
廃棄検出セル付加回路は、入力待合わせ用のバッファ3
1、CRP、取出回路32、(N−1)進カウンタ33
、スイッチ34、順序番号付加カウンタ35、CLDセ
ル生成回路36およびCRC24生成回路を含む。
That is, the discard compensation encoding circuit 213 includes a cell discard detection cell addition circuit and a check bit cell addition circuit. The cell discard detection cell addition circuit includes a buffer 3 for input waiting.
1, CRP, extraction circuit 32, (N-1) base counter 33
, a switch 34, a sequence number addition counter 35, a CLD cell generation circuit 36, and a CRC24 generation circuit.

また、検査ビットセル付加回路は、入力待合わせ用のバ
ッファ21.2を法とする加算回路22、NX(M−1
)進カウンタ23、スイッチ24、順序番号付加カウン
タ25、検査ビットセル蓄積メモリ26およびデータセ
ルCLDセル識別回路を含む。
Further, the test bit cell addition circuit includes an adder circuit 22, NX (M-1
) includes an advance counter 23, a switch 24, a sequence number addition counter 25, a check bit cell storage memory 26, and a data cell CLD cell identification circuit.

さらに、廃棄補償復号化回路23はセル廃棄検出および
ダミーセル挿入回路および廃棄セル復元回路を含む。
Furthermore, the discard compensation decoding circuit 23 includes a cell discard detection and dummy cell insertion circuit and a discarded cell restoration circuit.

セル廃棄検出およびダミーセル挿入回路は、以下に示す
構成要素を含む。
The cell discard detection and dummy cell insertion circuit includes the components shown below.

41  CLDセルデータセルの振分回路。41 CLD cell data cell distribution circuit.

42  データセル待合わせ用のバッファ。42 Buffer for waiting for data cells.

431セル分のメモリ。Memory for 431 cells.

44  CRPr生成回路。44 CRPr generation circuit.

45  ダミーセル生成回路。45 Dummy cell generation circuit.

46〜48.52  スイッチ。46-48.52 Switch.

49  セル廃棄回路。49 Cell disposal circuit.

50  ダミーセル生成回路。50 Dummy cell generation circuit.

51  出力セル数カウンタ。各小ブロックごとに出力
したセルの数をカウントし、その数Jを出力する。
51 Output cell number counter. The number of cells output for each small block is counted and the number J is output.

532を法とする加算回路。Addition circuit modulo 532.

54  復元されたCLDセルを保存しておくためのメ
モリ (1セル分)。
54 Memory for storing restored CLD cells (for 1 cell).

55  CLDセル待合わせ用のバッファ。55 Buffer for CLD cell waiting.

56  順序番号検査回路。56 Sequence number inspection circuit.

57  CLDセル保持メモリ。2個のCLDセルを保
持する。1個は現在廃棄検出を行っている小ブロックに
対応するCLDセル、もう1個は次の小ブロックに対応
するCLDセルを保持する。
57 CLD cell holding memory. Holds two CLD cells. One holds the CLD cell corresponding to the small block currently undergoing discard detection, and the other holds the CLD cell corresponding to the next small block.

58  データセルの小ブロック内におけるセル位置を
検出するためのセル位置検出回路(CLDセル中のCR
Psのうち、受信したデータセルから取出したCRP、
に一致するものの、CLDセル中の位置を求める。求め
たCRP、の位置を1とする。データセルのCRP、が
2番目の)゛ロックのCLDセルのCRP、と一致した
場合は小ブロツク終了信号を出力し、新たにCLDセル
をメモリ57に書込み、検査済みの小ブロックに対応す
るCLDセルはCLDセル出力端子62より出力する。
58 Cell position detection circuit for detecting the cell position within a small block of data cells (CR in CLD cell
Of Ps, CRP extracted from the received data cell,
, but find the position in the CLD cell. The position of the obtained CRP is set to 1. If the CRP of the data cell matches the CRP of the CLD cell of the second lock, a small block end signal is output, a new CLD cell is written to the memory 57, and the CLD corresponding to the inspected small block is The cell is output from the CLD cell output terminal 62.

)。).

59  切替制御回路。セル位置検出回路58が出力す
る位置信号1と小ブロック終了信号およびカウンタ51
の出力jに基づいてスイッチ47.48を制御し、ダミ
ーセル挿入および誤配セル廃棄を行う。
59 Switching control circuit. Position signal 1 and small block end signal output by cell position detection circuit 58 and counter 51
The switches 47 and 48 are controlled based on the output j of , and dummy cells are inserted and misplaced cells are discarded.

60  順序番号検査回路。8カするセルが検査ビット
セルの場合に順序番号の連続性を検査し、順序番号の不
連続性が検出された場合はスイッチ52を制御してダミ
ーセルを挿入する。
60 Sequence number checking circuit. When the cell to be added is a test bit cell, the continuity of the sequence number is checked, and if discontinuity of the sequence number is detected, the switch 52 is controlled to insert a dummy cell.

61  データセル出力端子。61 Data cell output terminal.

62  CLDセル出力端子。62 CLD cell output terminal.

63(N−1)xM進カウンタ。63(N-1)xM-ary counter.

また、廃棄セル復元回路は、以下に示す構成要素を含む
Further, the discarded cell restoration circuit includes the following components.

71  入力待合わせ用のバッファ。71 Buffer for waiting for input.

72  検査ビットセル廃棄回路。72 Inspection bit cell discard circuit.

73  出力待合わせ用のバッファ。73 Buffer for output waiting.

74  スイッチ。74 Switch.

75  CLDセル保持メモリ。75 CLD cell holding memory.

76VCI領域復元回路。76VCI area restoration circuit.

772を法とする加算回路。Addition circuit modulo 772.

78  廃棄セル復元回路。78 Discarded cell restoration circuit.

79  (N−1)進カウンタ。79 (N-1) base counter.

80  ダミーセル検出回路。80 Dummy cell detection circuit.

81  CLDセル入力端子。81 CLD cell input terminal.

82  データセル入力端子。82 Data cell input terminal.

83  (N−1)X (M−1)進カウンタ。83 (N-1)X (M-1) base counter.

84  (N−1)XM進カウンタ。84 (N-1) XM-ary counter.

このような構成のセル送受信装置の動作について説明す
る。第6図は本発明第一実施例セル送受信装置の小ブロ
ックの構成図である。第7図は本発明第一実施例セル送
受信装置の大ブロックの構成図である。第8図は本発明
第一実施例セル送受信装置のセル廃棄検出セルの構成図
である。第9図は本発明第一実施例セル送受信装置のデ
ータセル補償検査ビットセルの構成図である。第10図
は本発明第一実施例セル送受信装置のセル廃棄検出セル
補償検査ビットセルの構成図である。第22図はセル送
受信装置の非同期転送モード網の構成図である。
The operation of the cell transmitting/receiving device having such a configuration will be explained. FIG. 6 is a block diagram of a small block of a cell transmitting/receiving apparatus according to a first embodiment of the present invention. FIG. 7 is a block diagram of a large block of a cell transmitting/receiving apparatus according to a first embodiment of the present invention. FIG. 8 is a configuration diagram of a cell discard detection cell of the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 9 is a configuration diagram of a data cell compensation test bit cell of the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 10 is a configuration diagram of a cell discard detection cell compensation inspection bit cell of the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 22 is a configuration diagram of an asynchronous transfer mode network of cell transmitting/receiving equipment.

ATM (Asynchronous Transfe
r Mode、非同期転送モード)網のVP (Vir
tual Path)  に適用する場合の実施例を3
例示す。ATM網においては、情報は固定長のセルを単
位として伝送される。セルの伝送経路はセルの個々のセ
ルのヘッダ部分の情報によって決定される。ここで示す
実施例では、本発明をVPに適用するので、それぞれの
装置を通過するセルはすべて共通のVP I  (Vi
rtual Pa−th Identifier)をも
つ。第22図は現在CCITTによって勧告されている
中継伝送路上のセルの構成を示す図である。セルは53
バイトの情報からなり、最初の5バイトがヘッダ、あと
の48バイトが情報領域である。ヘッダについては、最
初の12ビットがVP I、次の16ビットがVCI 
 (Virtualchannel 1dentifi
er) 、次の2ビットが情報の種類表示(PT :P
ayload Type) 、次の2ビットは予備領域
、最後の8ビットがヘッダ内のビット誤り制御、セル同
期用のCRC(Cycle Redundancy[h
eck)である。これはヘッダの情報のうち始めの40
ビットの部分を符号化して生成する。
ATM (Asynchronous Transfer)
r Mode, asynchronous transfer mode) network VP (Vir
tual Path)
Illustrate. In an ATM network, information is transmitted in fixed-length cells. The transmission path of a cell is determined by information in the header portion of each cell. In the embodiment shown here, the present invention is applied to VP, so that all cells passing through each device have a common VP I (Vi
(orual Path Identifier). FIG. 22 is a diagram showing the structure of cells on relay transmission paths currently recommended by CCITT. cell is 53
It consists of byte information, the first 5 bytes are a header, and the remaining 48 bytes are an information area. For the header, the first 12 bits are VP I, the next 16 bits are VCI
(Virtual channel 1 dentifi
er), the next two bits indicate the type of information (PT:P
ayload Type), the next 2 bits are a reserved area, the last 8 bits are a bit error control in the header, and a CRC (Cycle Redundancy [h
eck). This is the first 40 pieces of information in the header.
Generate by encoding the bit part.

本実施例では、送信セル識別情報(CRP、)および受
信セル識別情報(CRP、)として各データセルのヘッ
ダのVCIおよび情報領域の最初の6ビットを用いる。
In this embodiment, the first 6 bits of the VCI and information area of the header of each data cell are used as transmitting cell identification information (CRP, ) and receiving cell identification information (CRP, ).

各データセルのVCIは16ビットなのでCRP、、C
RP、の長さは22ビットとなる。現在、CCITTに
より勧告されているセルの構成方法では、情報領域の構
成(アダブレーションレイヤの構成)は5通り勧告され
ていて、そのうちの4通りの方法では情報領域の最初の
4ビットまたは情報領域の3ビット目から6ビット目に
端末間で付加する順序番号が挿入される。
Since the VCI of each data cell is 16 bits, CRP, ,C
The length of RP is 22 bits. Currently, in the cell configuration method recommended by CCITT, five types of information area configurations (adduction layer configurations) are recommended.In four of these methods, the first 4 bits of the information area or the information A sequence number added between terminals is inserted into the third to sixth bits of the area.

この4通りのうちのいずれかの構成を用いる通信形態の
もとでは上記のようなCRPrSCRP。
Under the communication form using any one of these four configurations, CRPrSCRP as described above.

を用いる場合に、順序番号の周期の範囲内(順序番号は
4ビットなので、周期は16)では複数の異なるデータ
セルより生成したCRP、が一致することがない。した
がって、このようなCRP、。
When using CRPs, CRPs generated from a plurality of different data cells do not match within the period of the sequence number (the sequence number is 4 bits, so the period is 16). Therefore, such CRP.

CRP、を用いることにより、セル廃棄の検出および廃
棄された位置の特定を確実に行うことができる。また、
本実施例では検査ビットセルに挿入する順序番号は、検
査ビットセルのVCI領域に挿入する。そのために、デ
ータセルのVCI領域は誤り訂正によっては復元されな
い。各データセルのVCIはCRP、に含まれるので、
退避情報をCRP、と別にCLDセルに挿入する必要は
ない。本実施例では小ブロック内のセル数はN個で、そ
のうち(N−1)個がデータセル、1個がCLDセルで
ある。第8図にCLDセルの構成を示す。
By using CRP, it is possible to reliably detect cell discard and identify the location where the cell is discarded. Also,
In this embodiment, the sequence number inserted into the test bit cell is inserted into the VCI area of the test bit cell. Therefore, the VCI area of the data cell is not restored by error correction. Since the VCI of each data cell is included in the CRP,
There is no need to insert evacuation information into the CLD cell separately from the CRP. In this embodiment, the number of cells in a small block is N, of which (N-1) are data cells and one is a CLD cell. FIG. 8 shows the configuration of a CLD cell.

各小ブロックの(N−1)個のデータセルより抽出した
CRP、はCLDセルの情報領域に挿入される。各CL
Dセルの情報領域にはCRP、とともにCLDセル間で
連続する順序番号および24ビットのCRC(以下、C
RC24という。)を挿入する。順序番号によりCLD
セルの廃棄検出を行つコトカでき、CRC24によりC
LDセル内のビット誤りの訂正およびCLDセルの認識
ができる。
The CRP extracted from the (N-1) data cells of each small block is inserted into the information area of the CLD cell. Each CL
The information area of the D cell contains the CRP, consecutive sequence numbers between CLD cells, and 24-bit CRC (hereinafter referred to as C
It's called RC24. ). CLD by sequence number
It is possible to detect cell discard, and C
Bit errors in LD cells can be corrected and CLD cells can be recognized.

本実施例は廃棄されたセルの復元を行うための(M、p
)組織符号としてパリティチエツク符号を用いる場合の
例である。第9図、第10図に示した通り、符号化の対
象は、データセルについては、ヘッダ領域のVP I、
VCI、CRC以外の部分および情報領域の全部であり
、CLDセルについては情報領域のCRP、が記録され
ている領域のみである。大ブロックはM個の小ブロック
からなり、そのうち(M−1)個がデータセルからなる
小ブロック、1個が検査ビットセルからなる小ブロック
である。ここで、各小ブロック内のセル位置が同一のセ
ルの集合を大ブロックの同じ列に属するセルと呼ぶこと
にする。
In this embodiment, (M, p
) This is an example in which a parity check code is used as a systematic code. As shown in FIGS. 9 and 10, for data cells, the objects of encoding are VP I in the header area,
This is the entire information area and the parts other than the VCI and CRC, and for the CLD cell, it is only the area where the information area CRP is recorded. A large block is made up of M small blocks, of which (M-1) are data cells and one is a test bit cell. Here, a set of cells having the same cell position within each small block will be referred to as cells belonging to the same column of the large block.

第2図において、初期状態として、まず、スイッチ34
をバッファ31側に設定する。入力されたセルはバッフ
ァ31を通過し、スイッチ34を通過した後に出力され
る。データセルが通過する際に、CRP、取出回路32
はCRP、としてVCI領域の情報16ビットと情報領
域の最初の6ビットを通過するデータセルからコピーす
る。CLDセル生成回路36はCRP、取出回路32に
よって取出されたCRP、をCLDセルの情報領域に挿
入する。この際に、順序番号付加カウンタ35により生
成された数をCLDセルの順序番号として挿入し、また
、CRC24生成回路37が生成したCRC24を挿入
する。
In FIG. 2, as an initial state, first, the switch 34
is set on the buffer 31 side. The input cells pass through the buffer 31 and the switch 34 before being output. When the data cell passes, the CRP, extraction circuit 32
Copies 16 bits of information in the VCI area and the first 6 bits of the information area from the passing data cell as CRP. The CLD cell generation circuit 36 inserts the CRP, the CRP extracted by the extraction circuit 32, into the information area of the CLD cell. At this time, the number generated by the sequence number addition counter 35 is inserted as the sequence number of the CLD cell, and the CRC24 generated by the CRC24 generation circuit 37 is also inserted.

データセルが(N−1)個通過した時点でCLDセルが
完成する。(N−1)進カウンタ33は通過するデータ
セルの数をカウントし、(N−1)個のデータセルが通
過した時点でスイッチ34を制御し、CLDセル生成回
路36によって生成されたCLDセルを1個出力する。
A CLD cell is completed when (N-1) data cells have passed through. The (N-1) base counter 33 counts the number of passing data cells, controls the switch 34 when (N-1) data cells have passed, and controls the CLD cells generated by the CLD cell generation circuit 36. Outputs one.

その後にスイッチ34をもとに戻し、次の小ブロックに
ついて同様に処理を行う。この回路では、入力されたデ
ータセルは、CLDセルが出力されている期間を除いて
待合わせる必要がないので、この回路による遅延時間は
極めて小さい。
Thereafter, the switch 34 is returned to its original position, and the next small block is processed in the same manner. In this circuit, there is no need to wait for the input data cell except during the period when the CLD cell is being output, so the delay time caused by this circuit is extremely small.

第3図において、CLDセルおよびデータセルは入力端
子より入力され、入力したセルはバッファ21を通過し
、スイッチ24を通過して出力される。
In FIG. 3, CLD cells and data cells are input from input terminals, and the input cells pass through a buffer 21, a switch 24, and are output.

この際に、加算回路22は通過するセルについて、小ブ
ロック内のセル位置ごと、セル内の同一ビット位置にあ
るビットごとに2を法とする加算を行い、その累積値を
検査ビットセル蓄積メモリ26に蓄積する。通過するセ
ルがデータセルであるかCLDセルであるかにより符号
化を行う領域が異なるので、データセルCLDセル識別
回路27の出力に基づいて、符号化(加算)を行う領域
を切換える。データセルCLDセル識別回路27はCL
Dセルに付加されているCRC24を計算することによ
りデータセルCLDセルの識別を行う。データセルがN
X(M−1)個通過した段階でN個の検査ビットセルが
完成する。その時点でカウンタ23はスイッチ24を制
御して、検査ビットセル蓄積メモリ26に蓄積されてい
るN個の検査ビットセルを出力する。その際に順序番号
付加カウンタ25によって順序番号を生成し、出力する
検査ビットセルに順に挿入する。N個の検査ビットセル
を出力した後、スイッチ24をもとにもどし、次の大ブ
ロックについて同様に処理を行う。この回路では入力さ
れたデータセルは、検査ビットセルが出力されている時
間を除いて待合わせる必要がないので、この回路による
遅延時間は極めて小さい。
At this time, the adder circuit 22 performs addition modulo 2 for each cell position within the small block and for each bit at the same bit position within the cell for the passing cells, and the cumulative value is checked by the bit cell storage memory 26. Accumulate in. Since the area to be encoded differs depending on whether the passing cell is a data cell or a CLD cell, the area to be encoded (added) is switched based on the output of the data cell CLD cell identification circuit 27. Data cell CLD cell identification circuit 27 is CL
The data cell CLD cell is identified by calculating the CRC24 added to the D cell. data cell is N
N test bit cells are completed after X(M-1) passes. At that point, counter 23 controls switch 24 to output the N test bit cells stored in test bit cell storage memory 26. At this time, a sequence number is generated by the sequence number addition counter 25 and sequentially inserted into the test bit cells to be output. After outputting N check bit cells, the switch 24 is returned to its original position and the next large block is processed in the same manner. In this circuit, there is no need to wait for the input data cell except for the time when the test bit cell is being output, so the delay time due to this circuit is extremely small.

第4図において、初期状態として、まず、出力セル数カ
ウンタ51、CLDセル復元回路54を初期化する。ス
イッチ46はメモリ43側に設定しておく。
In FIG. 4, as an initial state, first, the output cell number counter 51 and the CLD cell restoration circuit 54 are initialized. The switch 46 is set to the memory 43 side.

入力端子から入力されたセルは振分回路41によりデー
タセルとCLDセルとに分けられ、それぞれバッファ4
2およびバッファ55に入力される。振分回路41から
出力されたCLDセルがバッファ55に入力される際に
、加算回路53によりCLDセルのビット位置ごとの2
を法とする加算が行われ、その累積値がCLDセル復元
回路54に蓄積される。
A cell input from an input terminal is divided into a data cell and a CLD cell by a distribution circuit 41, and each cell is divided into a data cell and a CLD cell by a buffer 4.
2 and input to buffer 55. When the CLD cell output from the distribution circuit 41 is input to the buffer 55, the adder circuit 53 adds 2 bits for each bit position of the CLD cell.
Addition is performed modulo , and the cumulative value is stored in the CLD cell restoration circuit 54.

大ブロック内にCLDセルの廃棄がなければ大ブロック
受信後にCLDセル復元回路54にヘッダ、順序番号、
CRC24の領域を除いて全ビット「0」のセルが生成
される。大ブロック内に1個のCLDセルが廃棄されて
いる場合は大ブロックを受信後にCLDセル復元回路5
4にその廃棄されたCLDセルと同一のCRP、をもつ
CLDセルが復元される。2個以上のCLDセルが廃棄
されている場合にはCLDセル復元回路54には意味の
ないデータが生成される。CLDセルはバッファ55を
通過した後に、メモリ43に一旦蓄積され、順序番号検
査回路56でCLDセルに付加されている順序番号を検
査する。順序番号が1個前のCLDセルと連続している
場合は、切替スイッチ46を通過しCLDセル保持メモ
リ57に入力される。順序番号が不連続な場合はCLD
セルの廃棄が検出されたことになる。廃棄されたCLD
セルの数は順序番号から求めることができる。大ブロッ
ク内で廃棄されたCLDセルが1個の場合は大ブロック
受信後にCLDセル復元回路54に廃棄されたCLDセ
ルが正しく復元されるので、スイッチ46をCLDセル
復元回路54側に切替え、CLDセル復元回路54から
CLDセルを取出しCLDセル保持メモリ57に入力す
る。また、大ブロック内で廃棄されたCLDセルが2個
以上の場合はCLDセルがCLDセル復元回路54に正
しく復元されてないので、その大ブロックについてはセ
ル廃棄検出、ダミーセル挿入、廃棄セル復元の全ての処
理を中止し、入力されたセルのうちCLDセル、検査ビ
ットセルを取除き、データセルをそのまま出力する。
If no CLD cells are discarded within the large block, the CLD cell restoration circuit 54 receives the header, sequence number,
A cell with all bits "0" except for the CRC24 area is generated. If one CLD cell is discarded in a large block, the CLD cell restoration circuit 5 after receiving the large block
4, a CLD cell with the same CRP as the discarded CLD cell is restored. If two or more CLD cells are discarded, meaningless data is generated in the CLD cell restoration circuit 54. After passing through the buffer 55, the CLD cell is temporarily stored in the memory 43, and a sequence number checking circuit 56 checks the sequence number added to the CLD cell. If the sequence number is consecutive to the previous CLD cell, it passes through the changeover switch 46 and is input to the CLD cell holding memory 57. CLD if the sequence numbers are discontinuous
This means that cell discard has been detected. Abandoned CLD
The number of cells can be determined from the sequence number. If the number of discarded CLD cells in a large block is one, the discarded CLD cell is correctly restored by the CLD cell restoration circuit 54 after receiving the large block, so the switch 46 is switched to the CLD cell restoration circuit 54 side, and the CLD cell is restored. A CLD cell is taken out from the cell restoration circuit 54 and input into a CLD cell holding memory 57. In addition, if there are two or more CLD cells discarded in a large block, the CLD cells are not correctly restored by the CLD cell restoration circuit 54, so that cell discard detection, dummy cell insertion, and discarded cell restoration are performed for that large block. All processing is stopped, CLD cells and check bit cells are removed from the input cells, and the data cells are output as they are.

CLDセルが正常にCLDセル保持メモリ57に入力さ
れた場合には、データセルはバッファ42がら出力され
、スイッチ47.48を通過する。その際に、CRP、
生成回路44により通過するデータセルのCRP、が取
出され、セル位置検出回路58によりそのデータセルの
小ブロック内の位置が検出され、小ブロック内のデータ
セル位置〔1〕が出力される。セル位置検出回路58は
、データセルより生成したCRPrが処理中のCLDセ
ルのすべてのCRP、と一致しない場合には1=0を出
力する。また、セル位置検出回路58は、データセルよ
り生成したCRP、が処理中のCLDセルのすべてのC
RP、と一致せず、次の小ブロックのCLDセル中のC
RPSと一致する場合は検出したセル位置(iEととも
に、小ブロックの処理が終了したことを示す終了信号を
出力する。データセルがスイッチ48を通過した後に、
出力セル数カウンタ51により小ブロック内の処理済み
のデータセルの数がカウントされ、出力セル数カウンタ
51はカウントした結果〔」〕を出力する。カウンタは
各小ブロックの始めに「0」に初期化される。制御回路
59は位置検出回路58の出力〔1〕と終了信号および
カウンタ51の出力〔J〕によりスイッチ47.48を
制御し異常セルの廃棄、ダミーセルの挿入を行う。
When the CLD cell is normally input to the CLD cell holding memory 57, the data cell is output from the buffer 42 and passes through the switches 47 and 48. At that time, CRP,
The generation circuit 44 extracts the CRP of the passing data cell, the cell position detection circuit 58 detects the position of the data cell within the small block, and outputs the data cell position [1] within the small block. The cell position detection circuit 58 outputs 1=0 when the CRPr generated from the data cell does not match all the CRPs of the CLD cell being processed. Further, the cell position detection circuit 58 detects all the CRPs of the CLD cells being processed by the CRP generated from the data cells.
RP, and C in the CLD cell of the next small block.
If it matches the RPS, it outputs the detected cell position (iE as well as an end signal indicating that the processing of the small block has ended. After the data cell passes through the switch 48,
The number of processed data cells in the small block is counted by the output cell number counter 51, and the output cell number counter 51 outputs the counting result ['']. The counter is initialized to '0' at the beginning of each small block. The control circuit 59 controls the switches 47 and 48 using the output [1] of the position detection circuit 58, the termination signal, and the output [J] of the counter 51, and discards the abnormal cell and inserts a dummy cell.

処理の手順は以下の通りである。The processing procedure is as follows.

位置検出回路58から終了信号が出力されていない場合
: 1=J:検査中の小ブロック内、検査中のデータセル以
前にセル廃棄がない。スイッ チ47はバッファ42側、スイッチ48はスイッチ52
側にし、データセルをスイッチ52に転送する。
When the end signal is not output from the position detection circuit 58: 1=J: No cell is discarded before the data cell under test in the small block under test. Switch 47 is on the buffer 42 side, switch 48 is on the switch 52 side
side and transfer the data cells to switch 52.

1〉」:検査中の小ブロック内、検査中のデータセル以
前に(i−j)個のセル廃棄 がある。スイッチ48はスイッチ52側にし、スイッチ
47をダミーセル生成回路45側にし、ダミーセルを(
i−j)個挿入する。その後に、スイッチ47をバッフ
ァ42側にしてデータセルを転送する。
1>”: There are (i−j) cells discarded before the data cell under examination in the small block under examination. The switch 48 is set to the switch 52 side, the switch 47 is set to the dummy cell generation circuit 45 side, and the dummy cell is set to (
Insert ii-j) pieces. Thereafter, the switch 47 is turned to the buffer 42 side to transfer the data cells.

】〈Jまたは1=0: 検査中のデータセルは誤配によって到 着したセルである。スイッチ47をバッファ42側に、
スイッチ48をセル廃棄回路49側にして、そのデータ
セルを廃棄する。
]〈J or 1=0: The data cell under inspection is a cell that arrived due to misdelivery. Switch 47 to buffer 42 side,
The switch 48 is set to the cell discard circuit 49 side to discard the data cell.

終了信号が出力されている場合: 検査中のデータセルは次の小ブロックのセルとして処理
する。この場合には、直前に処理したデータセルが検査
中の小ブロック内の最後のセルとなるので次の小ブロッ
クの処理を始める前に以下の処理を行う。ただし、小ブ
ロック内のセルの数はN、そのうち(N−1)個がデー
タセルである。
When the end signal is output: The data cell under inspection is processed as a cell of the next small block. In this case, since the data cell processed immediately before is the last cell in the small block under inspection, the following processing is performed before starting processing of the next small block. However, the number of cells in the small block is N, of which (N-1) are data cells.

j=N−1:直前に処理したデータセル以降にセル廃棄
はない。この場合は直ち に次の小ブロックの処理に移る。
j=N-1: No cells are discarded after the data cell processed immediately before. In this case, processing immediately proceeds to the next small block.

j<N−1:直前に処理したデータセル以降に(N−1
−j)個のセル廃棄があ る。スイッチ47をダミーセル生成 回路45側、スイッチ48をスイッチ 52側に設定し、(N−1−j)個 のダミーセルを挿入する。
j<N-1: (N-1
−j) cells are discarded. The switch 47 is set to the dummy cell generation circuit 45 side, the switch 48 is set to the switch 52 side, and (N-1-j) dummy cells are inserted.

順序番号検査回路60は、通過するセルが検査ビットセ
ルの場合に、それに付加されている順序番号の連続性を
検査して検査ビットセルの廃棄を検出する。(N−1)
xM進カウンタ63は出力しているセルの大ブロック内
における位置を示すので、カウンタの値がC(N−1)
X (M−1)+13からC(N−1)xM)の間であ
れば出力中のセルが検査ビットセルであると判断できる
。順序番号が不連続、すなわち、廃棄が検出された場合
はスイッチ52をダミーセル生成回路50側に切替え、
廃棄された検査ビットセル数だけのダミーセルを挿入す
る。
When the passing cell is a test bit cell, the sequence number checking circuit 60 checks the continuity of the sequence number added thereto to detect the discard of the test bit cell. (N-1)
The xM-ary counter 63 indicates the position of the output cell within the large block, so the counter value is C(N-1)
If the value is between X(M-1)+13 and C(N-1)xM), it can be determined that the cell being output is a test bit cell. If the sequence numbers are discontinuous, that is, discard is detected, switch 52 is switched to the dummy cell generation circuit 50 side,
Dummy cells equal to the number of discarded test bit cells are inserted.

以上の動作によって、以下の効果が得られる。The above operations provide the following effects.

■ CLDセルを用いることにより、順序番号が付加さ
れていないデータセルについての廃棄検出を行うことが
でき、廃棄が検出された位置にダミーセルを挿入できる
。廃棄検出は小ブロック単位で行うために、廃棄検出を
行うために必要な遅延時間はNセル時間程度である。
(2) By using CLD cells, it is possible to detect the discard of data cells to which no sequence number has been added, and it is possible to insert a dummy cell at the position where discard is detected. Since discard detection is performed in units of small blocks, the delay time required to perform discard detection is approximately N cell time.

■ CLDセルが廃棄された場合には検出を行うことが
できる。また、大ブロック内で廃棄されたCLDセルが
1個の場合にはそれを補償することができ、その補償さ
れたCLDセルを用いて廃棄検出を行うことができる。
■ Detection can be performed if a CLD cell is discarded. Furthermore, if only one CLD cell is discarded within a large block, it can be compensated for, and discard detection can be performed using the compensated CLD cell.

■ 検査ビットセルが廃棄された場合は、廃棄を検出し
、廃棄された位置にダミーセルを挿入することができる
■ If a test bit cell is discarded, the discard can be detected and a dummy cell can be inserted in the discarded position.

第5図において、初期状態として、まず、スイッチ74
をバッファ73側に設定し、廃棄セル復元回路78を初
期化し、(N  1)進カウンタ79、(N−1)X 
(M−1)進カウンタ83、(N−1)XM進カウンタ
84を「0」に初期化する。各大ブロックのCLDセル
はCLDセル入力端子81より入力され、CLDセル保
持メモリ75に保持される。
In FIG. 5, as an initial state, first, the switch 74
is set on the buffer 73 side, the discarded cell restoration circuit 78 is initialized, and the (N 1) base counter 79 and (N-1)
The (M-1) base counter 83 and the (N-1)XM base counter 84 are initialized to "0". The CLD cells of each large block are inputted from the CLD cell input terminal 81 and held in the CLD cell holding memory 75.

データセルはデータセル入力端子82より入力されバッ
ファ71を通過して検査ビットセル廃棄回路72に至る
。この際に、通過するデータセルについて、小ブロック
内において同じ列に属するセルどうしでビット位置ごと
に2を法とする加算が行われ、その結果が廃棄セル復元
回路78に保持される。通過するデータセルの小ブロッ
ク内のセル位置は(N−1)進カウンタ79により示さ
れる。各列のセルのうち廃棄されたセルが1個以内であ
れば大ブロック受信終了後に廃棄セル復元回路78に廃
棄されたセルのヘッダのVP I、VCI、CRC領域
を除く部分の情報を復元される。検査ビットセル廃棄回
路72は通過するセルが検査ビットセルであった場合は
回路内で廃棄し、通常のデータセルはそのまま出力する
。(Nl)xM進カウンタ84の値は、CLDセルが正
常に入力されていれば、データセルの、大ブロック内に
おける位置を示すので、その値がC(N−1)X (M
−1) +IEからC(N−1)XM〕であれば、検査
ビットセル廃棄回路72に入力されるセルは検査ビット
セルであると判断できるので、その場合は入力され検査
ビットセルを廃棄する。検査ビットセル廃棄回路72よ
り出力されたデータセルはバッファ73を通過しスイッ
チ74に至る。ダミーセル検出回路80はバッファ73
より出力されるセルを監視し、出力されるセルがダミー
セルでなければスイッチ74をバッファ73側に設定し
、セルをそのまま出力する。
A data cell is input from a data cell input terminal 82, passes through a buffer 71, and reaches a test bit cell discard circuit 72. At this time, regarding the passing data cells, addition modulo 2 is performed for each bit position between cells belonging to the same column within the small block, and the result is held in the discarded cell restoration circuit 78. The cell position within the small block of passing data cells is indicated by an (N-1)-ary counter 79. If the number of discarded cells among the cells in each column is one or less, after large block reception is completed, the discarded cell restoration circuit 78 restores the information in the part of the discarded cell header excluding the VP I, VCI, and CRC areas. Ru. If the passing cell is a test bit cell, the test bit cell discard circuit 72 discards it within the circuit, and outputs the normal data cell as it is. If the CLD cell is input normally, the value of the (Nl)xM-ary counter 84 indicates the position of the data cell within the large block, so the value is C(N-1)x(M
-1) +IE to C(N-1)XM], it can be determined that the cell input to the test bit cell discard circuit 72 is a test bit cell, and in that case, the input test bit cell is discarded. The data cell output from the test bit cell discard circuit 72 passes through a buffer 73 and reaches a switch 74. The dummy cell detection circuit 80 is a buffer 73
The cell output from the cell is monitored, and if the cell to be output is not a dummy cell, the switch 74 is set to the buffer 73 side, and the cell is output as is.

ダミーセル検出回路80が大ブロック内の最初のダミー
セルを検出した段階でスイッチ74を中立の位置に設定
し、大ブロックの最後までセルの出力を停止シ、バッフ
ァ73にデータセルをバッファリングする。その後、大
ブロックの最後のセルがバッファ73に入力された時点
でスイッチ74をバッファ73側に切替え、出力を再開
する。その際もダミーセル検出回路80は出力されるセ
ルがダミーセルかどうかを検査し、ダミーセルである場
合は、スイッチ74を廃棄セル復元回路78側にして、
復元回路78に復元されているセルを出力する。その際
、対応するダミーセルは廃棄される。(N−1)X (
M−1)進カウンタ84は出力されるセル数をカウント
する。廃棄セル復元回路78は(N−1)X (M−1
)進カウンタ83の出力から検出されたダミーセルの小
ブロック内のセル位置およびその小ブロックの大ブロッ
ク内における位置を検出する。
When the dummy cell detection circuit 80 detects the first dummy cell in the large block, the switch 74 is set to the neutral position, cell output is stopped until the end of the large block, and data cells are buffered in the buffer 73. Thereafter, when the last cell of the large block is input to the buffer 73, the switch 74 is switched to the buffer 73 side and output is resumed. At this time, the dummy cell detection circuit 80 also checks whether the output cell is a dummy cell, and if it is a dummy cell, the switch 74 is set to the discarded cell restoration circuit 78 side.
The restored cells are output to the restoration circuit 78. At that time, the corresponding dummy cell is discarded. (N-1)X (
M-1) The base counter 84 counts the number of output cells. The discarded cell restoration circuit 78 is (N-1)X (M-1
) The cell position within the small block of the dummy cell detected from the output of the advance counter 83 and the position of the small block within the large block are detected.

また、CLDセル保持メモリ75に保持されているCL
Dセルのうち、復元されたセルに対応するものからVC
I領域復元回路76により復元すべきセルのVCIを取
出し、復元されたセルに挿入する。
In addition, the CL held in the CLD cell holding memory 75
VC from D cells corresponding to the restored cell
The I area restoration circuit 76 takes out the VCI of the cell to be restored and inserts it into the restored cell.

あわせて、復元回路78においてその回路で処理してい
るセルが共通にもつVPIを挿入し、ヘッダのCRCを
再計算する。ただし、列内に廃棄されたセルが2個以上
あるためにセルが正しく復元されていない場合は廃棄セ
ル復元回路78はセル廃棄補償禁止信号をスイッチ74
に転送することによりセル廃棄補償を行わない。
At the same time, the restoration circuit 78 inserts the VPI that is common to the cells being processed by that circuit, and recalculates the CRC of the header. However, if the cell is not restored correctly because there are two or more discarded cells in the column, the discarded cell restoration circuit 78 sends a cell discard compensation prohibition signal to the switch 74.
Cell discard compensation is not performed by transferring to

以上の動作により以下の効果が得られる。The above operations provide the following effects.

■ 廃棄されたセルの位置に挿入されたダミーセルを復
元することができる。
■ A dummy cell inserted in the position of a discarded cell can be restored.

■ 列内に廃棄されたセルが2個以上あるためにセルが
正しく復元できない場合は廃棄補償を行わないので、正
しく受信された他のデータセルに影響をおよぼすことが
ない。
(2) If a cell cannot be correctly restored because there are two or more discarded cells in a column, discard compensation is not performed, so other correctly received data cells are not affected.

■ 大ブロック内にセル廃棄がない場合は、復号化に要
する遅延時間が極めて小さい。
■ If no cells are discarded within a large block, the delay time required for decoding is extremely small.

■ セル廃棄補償を行ってもセルの時間順序を保存する
ことができる。
■ The time order of cells can be preserved even when cell discard compensation is performed.

■ 大ブロックの列ごとに1個ずつのセルを補償するこ
とができるので、最大N個の連続セル廃棄を補償するこ
とができる。
- Since one cell can be compensated for each column of the large block, it is possible to compensate for the discard of up to N consecutive cells.

第11図は本発明第二実施例セル送受信装置のセル廃棄
検出セル生成回路のブロック構成図である。
FIG. 11 is a block diagram of a cell discard detection cell generation circuit of a cell transmitting/receiving apparatus according to a second embodiment of the present invention.

第12図は本発明第二実施例セル送受信装置の検査ビッ
トセル付加回路のブロック構成図である。第13図は本
発明第二実施例セル送受信装置のセル廃棄検出およびダ
ミーセル挿入回路のブロック構成図である。第14図は
本発明第二実施例セル送受信装置の廃棄セル復元回路の
ブロック構成図である。
FIG. 12 is a block diagram of a test bit cell adding circuit of a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 13 is a block diagram of a cell discard detection and dummy cell insertion circuit of a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 14 is a block diagram of the discarded cell restoration circuit of the cell transmitting/receiving apparatus according to the second embodiment of the present invention.

第15図は本発明第二実施例セル送受信装置の大ブロッ
クの構成図である。第16図は本発明第二実施例セル送
受信装置のセル廃棄検出セルの構成図である。第17図
は本発明第二実施例セル送受信装置のデータセル補償用
の検査ビットセルの構成図である。第18図は本発明第
二実施例セル送受信装置のセル廃棄検出セル補償用の検
査ビットセルの構成図である。
FIG. 15 is a block diagram of a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 16 is a configuration diagram of a cell discard detection cell of a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 17 is a configuration diagram of a test bit cell for data cell compensation in a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 18 is a configuration diagram of a test bit cell for cell discard detection and cell compensation in the cell transmitting/receiving apparatus according to the second embodiment of the present invention.

本実施例における、各セルのCRP、を生成する手順は
以下の通りである。セルを構成するLビットに対して情
報ビット上ビット、検査ビットrビットの組織符号化を
行う。これにより、得られたrビットの検査ビットをそ
のセルのCRPSとする。この場合に2個の異なるセル
のCRP、が一致する確率は2−’である。CRPsの
ビット数rを大きくすることによりセル廃棄検出の確実
性を高めることができる。第一実施例と同様に検査ビッ
トセルのVCI領域に順序番号を挿入する。
In this embodiment, the procedure for generating CRP for each cell is as follows. Systematic encoding of upper information bits and r check bits is performed on L bits constituting a cell. As a result, the obtained r-bit check bits are used as the CRPS of that cell. In this case, the probability that the CRPs of two different cells match is 2-'. By increasing the bit number r of CRPs, the reliability of cell discard detection can be increased. As in the first embodiment, a sequence number is inserted into the VCI area of the test bit cell.

したがって誤り訂正によってはデータセルのVCI領域
は復元されない。したがって、退避情報としてCLDセ
ルに退避しておくべき情報は各セルのVCIである。C
LDセルの構成は第16図に示される通りである。
Therefore, the VCI area of the data cell is not restored by error correction. Therefore, the information that should be saved in the CLD cell as save information is the VCI of each cell. C
The configuration of the LD cell is as shown in FIG.

本実施例では小ブロック内のセル数はN個で、そのうち
(N−1)個がデータセル、1個がCLDセルである。
In this embodiment, the number of cells in a small block is N, of which (N-1) are data cells and one is a CLD cell.

各小ブロックの(N−1)個のデータセルより抽出した
CRP、および退避情報としてのVCIがCLDセルの
情報領域に挿入される。各CLDセルの情報領域にはC
RP、 SVC工とともにCLDセル間で連続する順序
番号および第一実施例と同様にCRC24を挿入する。
The CRP extracted from the (N-1) data cells of each small block and the VCI as save information are inserted into the information area of the CLD cell. The information area of each CLD cell contains C
Along with the RP and SVC, consecutive sequence numbers and CRC24 are inserted between the CLD cells as in the first embodiment.

順序番号によりCLDセルの廃棄検出を行うことができ
、CRC24によりCLDセル内のビット誤りの訂正お
よびCLDセルの認識ができる。
The discarded CLD cell can be detected using the sequence number, and the CRC 24 allows correction of bit errors in the CLD cell and recognition of the CLD cell.

本実施例では廃棄されたセルを復元するために情報領域
が(M−p)ビット、検査ビットがpビットの符号を用
いる。符号は任意の組織符号でよく、たとえばハミング
の符号、BCH符号リードソロモン符号(R3符号)な
どを用いることができる。大ブロックはM個の小ブロッ
クからなり、そのうち(M−p)個がデータセルからな
る小ブロック、p個が検査ビットセルである。
In this embodiment, a code with (M-p) bits in the information area and p bits in the check bit is used to restore a discarded cell. The code may be any systematic code, such as Hamming code, BCH code, Reed-Solomon code (R3 code), etc. A large block consists of M small blocks, of which (M-p) small blocks are data cells and p are check bit cells.

第11図はCLDセル付加回路であって、181は入力
待合わせ用のバッファ、182はCRP、およびVCI
取出回路、183は(N−1>進カウンタ、184はス
イッチ、185は順序番号付加用カウンタ、186はC
LDセル生成回路、187はCRC24生成回路である
FIG. 11 shows a CLD cell addition circuit, in which 181 is a buffer for input waiting, 182 is a CRP, and a VCI.
An extraction circuit, 183 is a (N-1> base counter, 184 is a switch, 185 is a counter for adding sequence numbers, 186 is a C
The LD cell generation circuit 187 is a CRC24 generation circuit.

初期設定として、スイッチ184をバッファ181側に
設定し、入力端子よりデータセルを入力する。
As an initial setting, the switch 184 is set to the buffer 181 side, and data cells are input from the input terminal.

入力されたセルはバッファ181を通過し、スイッチ1
84を通過した後に出力される。データセルが通過する
際に、CRP、、VCI取出回路182はデータセル全
体に対して情報領域Lビット、検査ビットrビットの組
織符号化を行い、生成された検査ビットをCLDセルに
挿入する。この場合に用いる符号は任意の組織符号でよ
く、たとえばBCH符号、CRCなどを用いることがで
きる。また、各データセルの退避情報としてVCr領域
の情報16ビットをCLDセルに挿入する。
The input cells pass through the buffer 181 and switch 1
It is output after passing through 84. When the data cell passes, the CRP, VCI extraction circuit 182 systematically encodes the information area L bit and the check bit R bit for the entire data cell, and inserts the generated check bit into the CLD cell. The code used in this case may be any systematic code, such as a BCH code or CRC. Additionally, 16 bits of information in the VCr area are inserted into the CLD cell as save information for each data cell.

CLDセル生成回路186はCRP、、VCI取出回路
182により取出されたCRP、および退避情報をCL
Dセルの情報領域に挿入する。この際に、順序番号付加
用カウンタ185により生成された数をCLDセルの順
序番号として挿入し、さらにCRC24生成回路187
により生成されたCRC24を挿入する。データセルが
(N−1)個通過した時点でCLDセルが完成する。
The CLD cell generation circuit 186 outputs the CRP, the CRP extracted by the VCI extraction circuit 182, and the saved information to the CL.
Insert into the information area of the D cell. At this time, the number generated by the sequence number addition counter 185 is inserted as the sequence number of the CLD cell, and the CRC24 generation circuit 187
Insert the CRC24 generated by A CLD cell is completed when (N-1) data cells have passed through.

(N−1)進カウンタ183は通過するデータセルの数
をカウントし、(N−1)個のデータセルが通過した時
点でスイッチ184を制御し、CLDセル生成回路18
6によって生成されたCLDセルを1個出力する。その
後スイッチ184をもとに戻し、次の小ブロックについ
て同様に処理を行う。
The (N-1) base counter 183 counts the number of passing data cells, controls the switch 184 when (N-1) data cells have passed, and controls the CLD cell generation circuit 18.
One CLD cell generated by step 6 is output. Thereafter, the switch 184 is returned to its original position, and the next small block is processed in the same manner.

この回路では入力されたデータセルは、CLDセルが出
力されている時間を除いて待合わせる必要がないので、
この回路による遅延時間は極めて小さい。
In this circuit, there is no need to wait for the input data cell except for the time when the CLD cell is being output.
The delay time caused by this circuit is extremely small.

第12図は検査ビットセル付加回路であって、構成要素
は以下の通りである。
FIG. 12 shows a test bit cell adding circuit, the components of which are as follows.

101入力端子。101 input terminal.

102入力待合わせバッファ。102 input waiting buffer.

103デニタセル保持用メモリ。103Denita cell holding memory.

104  (M、  p)符号器(情報ビットMビット
、検査ビットpビットの組織符号化を行う)。
104 (M, p) encoder (performs systematic encoding of M bits of information bits and p bits of check bits).

105 Nx (M−p)進カウンタ。105 Nx (M-p) base counter.

106 スイッチ。106 Switch.

107順序番号付加カウンタ。107 Sequence number addition counter.

108検査ビットセル保持メモリ。108 test bit cell holding memory.

109CLDセルデータセル識別回路。109CLD cell data cell identification circuit.

初期状態として、まず、NX(M−p)進カウンタ10
5を初期化し、スイッチ106をバッファ102側に設
定しておく。入力端子101より入力された、CLDセ
ルおよびデータセルは、バッファ102を通過してスイ
ッチ106 に至り、出力される。この際に、通過する
Nx(M−p)個のセルはメモリ103にコピーされ蓄
積される。Nx(M−p)個のデータセルが通過した後
に、大ブロックの同じ列にある(M−p)個のセルをビ
ット位置ごとに情報ビット (M−p)ビット、検査ビ
ットpビットの組織符号化を行い、生成される検査ビッ
トをp個の検査ビットセルをN組に挿入する。
As an initial state, first, the NX (M-p) base counter 10
5 and set the switch 106 to the buffer 102 side. The CLD cell and data cell input from the input terminal 101 pass through the buffer 102, reach the switch 106, and are output. At this time, the passing Nx (M-p) cells are copied and stored in the memory 103. After Nx (M-p) data cells have passed, the (M-p) cells in the same column of the large block are organized into information bits (M-p) bits and check bits p bits for each bit position. Encoding is performed, and the generated check bits are inserted into N sets of p check bit cells.

この際に、セルがデータセルであるか、CLDセルであ
るかにより符号化を行う領域が異なるので、CLDセル
データセル識別回路109の出力に基づいて符号化を行
う領域を切換える。CLDセルデータセル識別回路10
9はCLDセルに挿入されているC RC24を計算す
ることによりデータセルとCLDセルとの識別を行う。
At this time, since the area to be encoded differs depending on whether the cell is a data cell or a CLD cell, the area to be encoded is switched based on the output of the CLD cell data cell identification circuit 109. CLD cell data cell identification circuit 10
9 identifies data cells and CLD cells by calculating the CRC24 inserted in the CLD cells.

また、生成した検査ビットセルのVCI領域には、順序
番号付加カウンタ107によって生成した順序番号を挿
入する。検査ビットセル生成後に、スイッチ10Gを検
査ビットセル保持メモリ108側に切替え、検査ビット
セルによって構成される小ブロックを9組出力する。
Furthermore, the sequence number generated by the sequence number addition counter 107 is inserted into the VCI area of the generated check bit cell. After the test bit cells are generated, the switch 10G is switched to the test bit cell holding memory 108 side, and nine sets of small blocks constituted by the test bit cells are output.

第13図はセル廃棄検出およびダミーセル挿入回路であ
る。各構成要素は以下の通りである。
FIG. 13 shows a cell discard detection and dummy cell insertion circuit. Each component is as follows.

141振分回路(CLDセルとデータセル、検出ビット
セルを振分ける)。
141 distribution circuit (distributes CLD cells, data cells, and detection bit cells).

142データセル待合わせ用のバッファ。142 data cell waiting buffer.

1431セル分のメモリ。Memory for 1431 cells.

144CRP、生成回路(情報ビットpビット、検査ビ
ットpビットと組織符号化を行い、検査ビットをCRP
、として出力する)。
144CRP, generation circuit (performs systematic encoding with p information bits and p check bits, and converts the check bits into CRP)
, output as ).

145.150ダミ一セル生成回路。145.150 dummy cell generation circuit.

146〜148.152 スイッチ。146-148.152 Switch.

149セル廃棄回路。149 cell discard circuit.

151出力セル数カウンタ(処理している大ブロック内
のセルのうち出力したセルの数をカウントし、その数を
出力する)。
151 Output cell number counter (counts the number of output cells among the cells in the large block being processed and outputs the number).

153  (M、  p)復号器(情報ビット(M−p
)ビット、検査ビットpビットの組織符号の復号化を行
う回路)。       、15154CLDセル復元
回路。
153 (M, p) decoder (information bits (M-p
) bit, a circuit that decodes the systematic code of p check bits). , 15154CLD cell restoration circuit.

155廃棄検出セル用のバッファ。Buffer for 155 discard detection cells.

156順序番号検査回路(CLDセルに付加されている
順序番号からCLDセルの廃棄を検出し、スイッチ17
0を制御する。
156 sequence number inspection circuit (detects discard of a CLD cell from the sequence number added to the CLD cell, and switches 17
Controls 0.

157CLDセルを保持しておくためのメモリ、2個の
CLDセルを保持する。1個は現在廃棄検出を行ってい
る小ブロックに対応するCLDセル、もう1個は次の小
ブロックに対応するCLDセルを保持する。
Memory for holding 157 CLD cells, holding two CLD cells. One holds the CLD cell corresponding to the small block currently undergoing discard detection, and the other holds the CLD cell corresponding to the next small block.

158データセルの小ブロック内のセル位置を検出する
ための回路(CL Dセル中のCRPSのうち、受信し
たデータセルから取出したCRP、に一致するものの、
CLDセル中の位置を求める。求めたCRP、の位置を
1とする。テ゛−タセルのCRP、が2番目のブロック
の廃棄検出用セルのCRP、と一致した場合は小ブロッ
ク終了信号を出力し、新たにCLDセルをCLDセル保
持メモリ157に書込み、検査済みの小ブロックに対応
するCLDセルは廃棄する。)。
A circuit for detecting the cell position within a small block of 158 data cells (CLD, which matches the CRP extracted from the received data cell among the CRPS in the cell,
Find the position in the CLD cell. The position of the obtained CRP is set to 1. If the CRP of the data cell matches the CRP of the discard detection cell of the second block, a small block end signal is output, a new CLD cell is written to the CLD cell holding memory 157, and the inspected small block is The CLD cell corresponding to is discarded. ).

159切替制御回路。セル位置検出回路158の位置信
号1と小ブロック終了信号および出力セル数カウンタ1
51の出力Jからスイッチ147.148を制御し、ダ
ミーセル挿入およびセル廃棄を行う。
159 switching control circuit. Position signal 1 of cell position detection circuit 158, small block end signal, and output cell number counter 1
Switches 147 and 148 are controlled from the output J of 51 to insert dummy cells and discard cells.

160順序番号検査回路(検査ビットセルに付加されて
いる順序番号から検査ビットセルの廃棄を検出する)。
160 sequence number check circuit (detects discard of a test bit cell from the sequence number added to the test bit cell).

161データセル出力端子。161 data cell output terminal.

162CLDセル出力端子。162CLD cell output terminal.

163  (N−1)XM進カウンタ 164  (N−1)XM進カウンタ セルは入力端子を介して振分回路141に入力される。163 (N-1) XM counter 164 (N-1) XM counter The cells are input to the distribution circuit 141 via input terminals.

振分回路141は入力されたセル画像データセルか検査
ビットセルであればバッファ142に入力し、CLDセ
ルであればバッファ155に入力する。CLDセルはバ
ッファ155に入力される際に、そのコピーがCLDセ
ル保持メモリ161に保持される。CLDセル保持メモ
リ161 に入力される際に、順序番号検査回路165
によりCLDセルに付加されている順序番号の連続性が
検査され、CLDセルの廃棄が検出される。CLDセル
保持メモリ161に入力するCLDセルの順序番号と直
前に入力したCLDセルの順序番号とが連続していない
場合はCLDセルが廃棄されている。この場合は、廃棄
されたCLDセルの位置にダミーセルが挿入される。
If the input cell is an image data cell or a check bit cell, the distribution circuit 141 inputs it to a buffer 142, and if it is a CLD cell, it inputs it to a buffer 155. When a CLD cell is input to buffer 155, a copy thereof is held in CLD cell holding memory 161. When input to the CLD cell holding memory 161, the sequence number inspection circuit 165
The continuity of sequence numbers added to CLD cells is checked, and discarded CLD cells are detected. If the order number of the CLD cell input to the CLD cell holding memory 161 and the order number of the CLD cell input immediately before are not consecutive, the CLD cell has been discarded. In this case, a dummy cell is inserted in the position of the discarded CLD cell.

バッファ155に入力されたCLDセルの最初の1個が
メモリ143に入力され、順序番号検査回路156によ
りCLDセルに付加されている順序番号の連続性が検出
される。メモリ143に蓄積されているCLDセルの順
序番号と、直前にメモリ143に蓄積されていたCLD
セルの順序番号が連続している場合はCLDセルはスイ
ッチ146を通過してCLDセル保持メモリ157に入
力される。順序番号が連続していない場合はCLDセル
が復元された後に、スイッチ146をCLDセル復元回
路154側にしてCLDセル復元回路154に復元され
たCLDセルをCLDセル保持メモリ157 に入力す
る。
The first one of the CLD cells input to the buffer 155 is input to the memory 143, and the sequence number checking circuit 156 detects the continuity of the sequence numbers added to the CLD cells. The sequence number of the CLD cell stored in the memory 143 and the CLD cell stored in the memory 143 immediately before.
If the order numbers of the cells are consecutive, the CLD cells pass through the switch 146 and are input to the CLD cell holding memory 157. If the order numbers are not consecutive, after the CLD cells are restored, the switch 146 is turned to the CLD cell restoration circuit 154 side, and the CLD cells restored by the CLD cell restoration circuit 154 are input to the CLD cell holding memory 157.

CLDセル復元の手順は、以下の通りである。The CLD cell restoration procedure is as follows.

大ブロックに含まれるCL、)セルがすべてCLDセル
保持メモリ161に入力された後に、(M、  p)復
号器153によりCLDセル保持メモリ161に蓄積さ
れているCLDセルについてビット位置ごとに復号化を
行い、廃棄されたCLDセルを復元する。廃棄されたC
LDセルを復元できた場合は、復元されたCLDセルは
スイッチ146を通過してCLDセル保持メモリ157
 に入力される。CLDセルが復元できなかった場合は
この大ブロックについてはセル廃棄検出、ダミーセル挿
入、廃棄セル復元のすべての処理を中止し、入力された
セルのうちCLDセル、検査ビットセルを取除き、デー
タセルをそのまま出力する。
After all CL, ) cells included in the large block are input to the CLD cell holding memory 161, the (M, p) decoder 153 decodes the CLD cells stored in the CLD cell holding memory 161 for each bit position. and restore the discarded CLD cells. discarded C
If the LD cell can be restored, the restored CLD cell passes through the switch 146 and is stored in the CLD cell holding memory 157.
is input. If a CLD cell cannot be restored, all processes of cell discard detection, dummy cell insertion, and discarded cell recovery are stopped for this large block, CLD cells and inspection bit cells are removed from the input cells, and data cells are Output as is.

CLDセルが正常にCLDセル保持メモリ157に入力
された場合は、データセルはバッファ142から出力さ
れ、スイッチ147.148を通過する。
If the CLD cell is normally input to CLD cell holding memory 157, the data cell is output from buffer 142 and passes through switches 147 and 148.

その際に、CRP、生成回路144により通過するデー
タセルからCRP、が生成され、セル位置検出回路15
8によりそのデータセルの小ブロック内の位置が検出さ
れ、検出したデータセル位置〔1〕が出力される。
At that time, CRP is generated from the passing data cell by the CRP generation circuit 144, and the cell position detection circuit 15
8, the position of the data cell within the small block is detected, and the detected data cell position [1] is output.

セル位置検出回路158は、データセルより生成したC
RP、が処理中のCLDセルのCRP、と一致しない場
合はi=Qを出力する。また、セル位置検出回路158
は、データセルより生成したCRP、が処理中のCLD
セルのCRP、と一致せず、次の小ブロックのCLDセ
ル中のCRP、、:!ニ一致する場合は検出したセル位
置Ci)とともに、小ブロックの処理が終了したことを
示す終了信号を出力する。データセルがスイッチ148
を通過した後に、カウンタ151 により小ブロック内
の処理済みのデータセルの数がカウントされ、カウンタ
151はカウントした結果〔j〕を出力する。カウンタ
は各小ブロックの始めに「0」に初期化される。
The cell position detection circuit 158 detects C generated from the data cell.
If RP does not match the CRP of the CLD cell being processed, i=Q is output. In addition, the cell position detection circuit 158
is the CLD being processed by the CRP generated from the data cell.
The CRP in the CLD cell of the next small block does not match the CRP of the cell, ! (2) If they match, a termination signal indicating that the processing of the small block has been completed is output together with the detected cell position Ci). Data cell is switch 148
After passing through, the counter 151 counts the number of processed data cells in the small block, and the counter 151 outputs the counting result [j]. The counter is initialized to '0' at the beginning of each small block.

切替制御回路159は位置検出回路158の出力〔l〕
と終了信号および出力セル数カウンタ151の出力〔j
〕に基づいてスイッチ147.148を制御し、異常セ
ルの廃棄、ダミーセルの挿入を行う。
The switching control circuit 159 uses the output [l] of the position detection circuit 158.
and the end signal and the output of the output cell number counter 151 [j
], the switches 147 and 148 are controlled to discard abnormal cells and insert dummy cells.

処理の手順は以下の通りである。The processing procedure is as follows.

位置検出回路158から終了信号が出力されていない場
合: i=j:検査中の小ブロック内、検査中のデータセル以
前にセル廃棄がない。スイッ チ147はバッファ142側、スイッチ148はスイッ
チ152側にし、データセルをスイッチ152 に転送
する。
When the end signal is not output from the position detection circuit 158: i=j: There is no cell discard before the data cell under test in the small block under test. The switch 147 is placed on the buffer 142 side, and the switch 148 is placed on the switch 152 side to transfer the data cell to the switch 152.

1〉」:検査中の小ブロック内、検査中のデータセル以
前に(i−J)個のセル廃棄 がある。スイッチ148 はスイッチ152側にし、ス
イッチ147をダミーセル生成回路145側にし、ダミ
ーセルを(l−J)個挿入する。その後、スイッチ 147をバッファ142側にしてデータセルを転送する
1>": There are (i-J) cells discarded before the data cell under test in the small block under test. The switch 148 is set to the switch 152 side, the switch 147 is set to the dummy cell generation circuit 145 side, and (l-J) dummy cells are inserted. Thereafter, the switch 147 is turned to the buffer 142 side to transfer the data cells.

i<jまたは1=0: 検査中のデータセルは誤配によって到 着したセルである。スイッチ147ヲハツフア142側
に、スイッチ148をセル廃棄回路149側にして、そ
のデータセルを廃棄する。
i<j or 1=0: The data cell under test is a cell that arrived due to misdelivery. The data cell is discarded by setting the switch 147 to the hacker 142 side and the switch 148 to the cell discard circuit 149 side.

終了信号が出力されている場合: 検査中のデータセルは次の小ブロックのセルとして8カ
する。この場合は、直前に処理したデータセルが検査中
の小ブロック内の最後のセルとなるので次の小ブロック
の処理を始める前に以下の処理を行う。ただし、小ブロ
ック内のセルの数はN1そのうち(N−1)個がデータ
セルである。
When the end signal is output: The data cell under inspection is counted as 8 cells of the next small block. In this case, since the data cell processed immediately before is the last cell in the small block under inspection, the following processing is performed before starting processing of the next small block. However, the number of cells in the small block is N1, of which (N-1) are data cells.

J=N−1:直前に処理したデータセル以降にセル廃棄
はない。この場合は直ちに次の小ブロックの処理に移る
J=N-1: No cells are discarded after the data cell processed immediately before. In this case, processing immediately proceeds to the next small block.

j<N−1:直前に処理したデータセル以降に(N−1
−j)側のセル廃棄がある。スイッチ147をダミーセ
ル生成回路145側、スイッチ148をスイッチ152
側に設定し、N−1−j)個のダミーセルを挿入する。
j<N-1: (N-1
−j) side is discarded. The switch 147 is connected to the dummy cell generation circuit 145 side, and the switch 148 is connected to the switch 152 side.
N-1-j) dummy cells are inserted.

位置検出に用いられた後に、CLDセルはCLDセル出
力端子163より出力される。
After being used for position detection, the CLD cell is output from the CLD cell output terminal 163.

順序番号検査回路160を通過するセルが検査ビットセ
ルの場合に、それに付加されている順序番号の連続性を
検査して検査ビットセルの廃棄を検出する。カウンタ1
64は出力しているセルの大ブロック内における位置を
示すもので、カウンタの値がC(N−1)x (M−p
)+1]から[(N−1)XM)の間であれば出力中の
セルが検査ビットであると判断できる。廃棄が検出され
た場合はスイッチ152をダミーセル生成回路150側
に切替え、廃棄された検査ビットセル数だけのダミーセ
ルを挿入する。
When the cell passing through the sequence number checking circuit 160 is a test bit cell, the continuity of the sequence number added thereto is checked to detect discard of the test bit cell. counter 1
64 indicates the position of the output cell within the large block, and the counter value is C(N-1)x (M-p
)+1] to [(N-1)XM), it can be determined that the cell being output is a check bit. If discard is detected, the switch 152 is switched to the dummy cell generation circuit 150 side, and dummy cells equal to the number of discarded test bit cells are inserted.

以上の動作によって、以下の効果が得られる。The above operations provide the following effects.

■ CLDセルを用いることにより、順序番号が付加で
されていないデータセルについての廃棄検出を行うこと
ができ、廃棄が検出された位置にダミーセルを挿入でき
る。
(2) By using CLD cells, it is possible to detect the discard of data cells to which no sequence number has been added, and a dummy cell can be inserted at the position where discard is detected.

廃棄検出は小ブロック単位で行うために、廃棄検出を行
うために必要な遅延時間はNセル時間程度である。
Since discard detection is performed in units of small blocks, the delay time required to perform discard detection is approximately N cell time.

■ CLDセルが廃棄された場合には検出を行うことが
できる。また、大ブロック内で廃棄されたCLDセルが
(M、p)Ifl!符号の訂正能力の範囲内であれば廃
棄されたCLDセルを補償することができ、その補償さ
れたCLDセルを用いて廃棄検出を行うことができる。
■ Detection can be performed if a CLD cell is discarded. Also, the CLD cells discarded within the large block are (M, p) Ifl! A discarded CLD cell can be compensated for within the correction capability of the code, and discard detection can be performed using the compensated CLD cell.

■ 検査ビットセルが廃棄された場合は、廃棄を検出し
、廃棄された位置にダミーセルを挿入することができる
■ If a test bit cell is discarded, the discard can be detected and a dummy cell can be inserted in the discarded position.

第14図は廃棄セル復元回路であって、各構成要素は以
下の通りである。
FIG. 14 shows a discarded cell restoration circuit, and each component is as follows.

121データセル入力端子。121 data cell input terminal.

122入力待合わせ用のバッファ。122 buffer for waiting for input.

123検査ビットセル廃棄回路。123 check bit cell discard circuit.

124出力待合わせ用のバッファ。Buffer for waiting for 124 output.

125 スイッチ。125 switch.

126CLDセル入力端子。126CLD cell input terminal.

127CLDセル保持メモリ。127CLD cell retention memory.

128退避情報(本実施例ではVCI>復元回路。128 save information (in this embodiment, VCI>restoration circuit).

129データセル保持メモリ C(N−1)XMセル)
129 data cell holding memory C(N-1)XM cells)
.

130  (M、  p)組織符号復号器(情報ビット
(M−p)  ビット、検査ビットpビットの、検査ビ
ットセル生成に用いた組織符号の復号化を行う回路)。
130 (M, p) Systematic code decoder (a circuit that decodes the systematic code used to generate check bit cells, including information bits (M-p) bits and check bit p bits).

131廃棄セル復元回路。131 discarded cell restoration circuit.

132  (N−1)XM進カウンタ。132 (N-1) XM-based counter.

133ダミ一セル検出回路。133 dummy cell detection circuit.

初期設定として、スイッチ125をバッファ124側に
設定し、(N−1)XM進カウンタ132を初期化する
。データセルはデータが入力端子121より入力されて
、バッファ122を通過し、検査ビットセル廃棄回路1
23を通過し、バッファ124を通過し、スイッチ12
5 に至り出力される。また、CLDセルはCLDセル
入力端子126より入力され、CLDセル保持メモリ1
27に保持される。検査ビットセル廃棄回路123を通
過する際に、通常のデータセルはそのまま通過し、検査
ビットセルは廃棄される。(N−1)XM進カウンタ1
32の値は、CLDセルが正常に入力されていれば、デ
ータセルの、大ブロック内における位置を示すので、そ
の値がC(N−1)x (M−p)+13から〔(N−
1)XM〕であれば、検査ビットセル廃棄回路123に
入力されるセルが検査ビットセルであることを検出でき
る。
As an initial setting, the switch 125 is set to the buffer 124 side, and the (N-1)XM base counter 132 is initialized. The data cell receives data from the input terminal 121, passes through the buffer 122, and then passes through the inspection bit cell discard circuit 1.
23, buffer 124, switch 12
5 and is output. Further, the CLD cell is input from the CLD cell input terminal 126, and the CLD cell holding memory 1
It is held at 27. When passing through the test bit cell discard circuit 123, normal data cells pass through as is, and test bit cells are discarded. (N-1) XM-ary counter 1
If the CLD cell is input normally, the value of 32 indicates the position of the data cell within the large block.
1) XM], it can be detected that the cell input to the test bit cell discard circuit 123 is a test bit cell.

テ゛−タセルがバッファ124より出力され、スイッチ
125に至る際に、ダミーセル検出回路133は通過す
るデータセルがダミーセルかどうかを検査し、ダミーセ
ルであればスイッチ125を中立の位置に切替え、デー
タセルの出力を一旦中断し、大ブロックの受信完了まで
データセルをバッファ124にバッファリングする。大
ブロックの受信が完了した後、(M、  p)復号器1
30により、各小ブロック内の、同じセル位置にあるM
個、(N−1)組のセルについてビット位置ごとに情報
ビット(M−p)ピッ(、検査ビットpビットの組織符
号の復号化を行い廃棄されて、ダミーセルに置き換えら
れているセルをもとのデータセルに復元する。
When the data cell is output from the buffer 124 and reaches the switch 125, the dummy cell detection circuit 133 checks whether the passing data cell is a dummy cell, and if it is a dummy cell, switches the switch 125 to the neutral position to detect the data cell. Output is temporarily interrupted and data cells are buffered in the buffer 124 until reception of the large block is completed. After the reception of the large block is completed, (M, p) decoder 1
30, M at the same cell position within each small block
For each (N-1) set of cells, the systematic code of information bits (M-p) bits (, check bits p bits) is decoded for each bit position, and cells that have been discarded and replaced with dummy cells are also included. and restore it to the data cell.

検査ビットセルのvCI領域には順序番号が書かれてい
るためにこの復号化ではデータセルのVC■領域は復元
できない。
Since a sequence number is written in the vCI area of the test bit cell, the VC area of the data cell cannot be restored by this decoding.

各データセルのVCIは対応するCLDセルに退避情報
として保存されているので、CLDセル保持メモリ12
7に保持されているCLDセルを用いてVCI復元回路
により復元され、廃棄が復元回路131に生成されてい
るセルにVCIが挿入される。
Since the VCI of each data cell is saved as save information in the corresponding CLD cell, the CLD cell holding memory 12
The VCI is restored by the VCI restoration circuit using the CLD cell held in 7, and the VCI is inserted into the cell whose discard is generated by the restoration circuit 131.

その後に、復元されたデータセルのヘッダのCRCを再
計算し、その値を挿入する。廃棄されたセルが廃棄セル
復元回路131に復元された後に、スイッチ125をバ
ッファ124側に切替え、データセル出力を再開する。
Thereafter, the CRC of the header of the restored data cell is recalculated and its value is inserted. After the discarded cells are restored by the discarded cell restoration circuit 131, the switch 125 is switched to the buffer 124 side and data cell output is resumed.

その際にダミーセル検出回路133は出力されるデータ
セルがダミーセルかどうかを検査し、ダミーセルである
場合で、廃棄セル復元回路131にデータセルが正しく
復元されている場合には、スイッチ125を廃棄セル復
元回路131側に切替え、復元されているデータセルを
出力する。この際に、対応するダミーセルは廃棄される
。廃棄セル復元回路131にデータセルが正しく復元さ
れていない場合はダミーセルの廃棄のみを行い、それに
かわるデータセルは出力しない。
At this time, the dummy cell detection circuit 133 checks whether the output data cell is a dummy cell or not, and if it is a dummy cell and the data cell has been correctly restored in the discarded cell restoration circuit 131, the switch 125 is switched to the discarded cell. It switches to the restoration circuit 131 side and outputs the restored data cells. At this time, the corresponding dummy cell is discarded. If the data cell is not correctly restored by the discarded cell restoration circuit 131, only the dummy cell is discarded and no data cell is output in its place.

以上の動作により以下の効果が得られる。The above operations provide the following effects.

■ 廃棄されたセルの位置に挿入されたダミーセルを復
元することができる。
■ A dummy cell inserted in the position of a discarded cell can be restored.

■ 大ブロックの列内のセルが、符号の訂正能力を超え
て廃棄されたためにセルが正しく復元できない場合は、
廃棄補償を行わないので、正しく受信された他のデータ
セルに影響をおよぼすことがない。
■ If cells in a column of a large block are discarded beyond the code's correction ability and cannot be restored correctly,
Since no discard compensation is performed, other correctly received data cells are not affected.

■ 大ブロック内にセル廃棄がない場合は、復号化に要
する遅延時間が極めて小さい。
■ If no cells are discarded within a large block, the delay time required for decoding is extremely small.

■ セル廃棄補償を行ってもセルの時間順序を保存する
ことができる。
■ The time order of cells can be preserved even when cell discard compensation is performed.

■ 大ブロックの列ごとに廃棄補償を行うので、N個以
上の連続セル廃棄を補償することができる。
- Since discard compensation is performed for each column of large blocks, it is possible to compensate for discards of N or more consecutive cells.

第19図は本発明第三実施例セル送受信装置の小ブロッ
クの構成図である。第20図は本発明第三実施例セル送
受信装置の大ブロックの構成図である。
FIG. 19 is a block diagram of a small block of a cell transmitting/receiving apparatus according to a third embodiment of the present invention. FIG. 20 is a block diagram of a cell transmitting/receiving apparatus according to a third embodiment of the present invention.

第21図は本発明第三実施例セル送受信装置のセル廃棄
検出用セルの構成図である。
FIG. 21 is a configuration diagram of a cell for cell discard detection in a cell transmitting/receiving apparatus according to a third embodiment of the present invention.

本実施例では、CRP、 、CRPrは第一実施例と同
じものを用いる。小ブロック内のセル数はN個で、その
うち(N−2)個がデークセ112個がCLDセルであ
る。小ブロックは第19図に示されるように、始めの(
N/2−1)セルがデータセノペ次の1セルが第一のC
LDセノペ次の(N/2−1)セルがデータセノペ次の
1セルが第二〇CLDセルである。
In this embodiment, CRP, , and CRPr are the same as in the first embodiment. The number of cells in the small block is N, of which (N-2) are CLD cells and 112 cells are CLD cells. As shown in Figure 19, the small block is located at the beginning (
N/2-1) Cell is data Senope Next cell is first C
The next (N/2-1) cells in the LD Cenope are data cells, and the next one cell in the LD Cenope is the 20th CLD cell.

第21図にCLDセルの構成を示す。各小ブロックのデ
ータセルより抽出したCRP、のうち、前半の(N/2
−1)個のセルより抽出したCRP。
FIG. 21 shows the configuration of a CLD cell. Of the CRP extracted from the data cells of each small block, the first half (N/2
-1) CRP extracted from each cell.

は第一のCLDセルに、後半の(N/2−1)個のセル
より抽出したCRP、は第二〇CLDセルの情報領域に
挿入される。各CLDセルの情報領域にはCRPSとと
もにCLDセル間で連続する順序番号および第一実施例
と同様のCRC24を挿入する。順序番号によりCLD
セルの廃棄検出を行うことができ、CRC24によりC
LDセル内のビット誤りの訂正およびCLDセルの認識
ができる。
is inserted into the first CLD cell, and the CRP extracted from the latter (N/2-1) cells is inserted into the information area of the 20th CLD cell. In the information area of each CLD cell, a CRPS, consecutive sequence numbers between CLD cells, and a CRC24 similar to the first embodiment are inserted. CLD by sequence number
Cell discard detection can be performed, and C
Bit errors in LD cells can be corrected and CLD cells can be recognized.

廃棄されたセルの復元を行うための(M、  p)組織
符号および符号化の方法は第一実施例と同じである。大
ブロックの構成を第20図に示す。なお、本実施例では
第20図に示すように1小ブロックあたり2個のCLD
セルを用いる場合について説明したが、一般に1小ブロ
ックあたりq個のCLDセルを用いる場合についても、
本発明は同様に適用でき、同様の効果が得られることは
もちろんである。
The (M, p) systematic code and encoding method for restoring discarded cells are the same as in the first embodiment. The configuration of the large block is shown in FIG. In addition, in this embodiment, two CLDs are used per small block as shown in FIG.
Although we have explained the case where cells are used, the case where q CLD cells are generally used per small block is also explained.
It goes without saying that the present invention can be similarly applied and similar effects can be obtained.

第2図はCLDセル付加回路であり、各構成要素、動作
手順は本発明の第一実施例と同じである。
FIG. 2 shows a CLD cell addition circuit, and each component and operating procedure are the same as in the first embodiment of the present invention.

ただし、本実施例では(N−1)進カウンタ3におきか
えて、(N/2−1)進カウンタを用いる。
However, in this embodiment, instead of the (N-1)-base counter 3, an (N/2-1)-base counter is used.

小ブロック中の(N−2)個のデータセルのうち最初の
(N/2−1)個のデータセルが出力された時点で第一
〇CLDセルが生成され、次の(N/2−1)個のデー
タセルが出力された時点で第二〇CLDセルが生成され
る。
The 10th CLD cell is generated when the first (N/2-1) data cells among the (N-2) data cells in the small block are output, and the next (N/2-1) data cells are generated. 1) A 20th CLD cell is generated at the time when 1) data cells are output.

第3図は検査ビットセル付加回路であり、各構成要素、
動作手順は本発明の第一実施例と同じである。
Figure 3 shows the test bit cell addition circuit, with each component,
The operating procedure is the same as the first embodiment of the present invention.

第4図はセル廃棄検出およびダミーセル挿入回路であり
、各構成要素、動作手順は本発明の第一実施例と同じで
ある。ただし、本実施例では(N−1)XM進カウンタ
63におきかえて(N−2)×M進カウンタを用いる。
FIG. 4 shows a cell discard detection and dummy cell insertion circuit, and each component and operating procedure are the same as in the first embodiment of the present invention. However, in this embodiment, instead of the (N-1)XM-ary counter 63, a (N-2)×M-ary counter is used.

また、本実施例ではカウンタ63の値が((N−2)x
 (M−1)+11からC(N−2)XMIの間であれ
ば出力中のセルが検査ビットセルであると判断する。
Further, in this embodiment, the value of the counter 63 is ((N-2)x
If it is between (M-1)+11 and C(N-2)XMI, it is determined that the cell being output is a test bit cell.

第5図は廃棄セル復元回路であり、各構成要素、動作手
順は本発明の第一実施例と同じである。   7〔発明
の効果〕 以上説明したように、本発明は、送信側装置で、データ
セルから送信セル識別情報を生成し、この送信セル識別
情報を集めセル廃棄検出セルを構成し、セル廃棄検出セ
ルをデータセル復元のための検査ビットセルとともに送
信し、受信側装置で、受信したデータセルかる受信セル
識別情報を生成し、この受信セル識別情報とセル廃棄検
出セルに含まれる送信セル識別情報とを比較することに
よりセル廃棄を検出し、かつセル廃棄検出セルおよび検
査ビットセルに基づきセルが廃棄された位置を特定し、
廃棄補償を行うことにより、処理対象となるセルに連続
した順序番号が付加されてなくてもセル廃棄補償を行う
たとができ、かつ符号化および復号化に必要な遅延時間
を逓減できる優れた効果がある。
FIG. 5 shows a discarded cell restoration circuit, and each component and operating procedure are the same as in the first embodiment of the present invention. 7 [Effects of the Invention] As explained above, in the present invention, the transmitting side device generates transmitting cell identification information from data cells, collects this transmitting cell identifying information, configures a cell discard detection cell, and performs cell discard detection. The cell is transmitted together with a check bit cell for restoring the data cell, the receiving device generates receiving cell identification information from the received data cell, and combines this receiving cell identification information with the sending cell identification information included in the cell discard detection cell. detecting cell discard by comparing the cell discard detection cell and the inspection bit cell;
By performing discard compensation, cell discard compensation can be performed even if consecutive sequence numbers are not added to the cells to be processed, and the excellent effect is that the delay time required for encoding and decoding can be gradually reduced. There is.

また、複数の端末で1組のセル廃棄補償回路を共用でき
経済化が計れる利点がある。
Furthermore, there is the advantage that a set of cell discard compensation circuits can be shared by a plurality of terminals, resulting in economical savings.

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

第1図は本発明第一実施例セル送受信装置のブロック構
成図。 第2図は本発明第一実施例セル送受信装置のセル廃棄検
出用セル付加回路のブロック構成図。 第3図は本発明第一実施例セル送受信製蓋の検査ビット
セル付加回路のブロック構成図。 第4図は本発明第一実施例セル送受信装置のセル廃棄検
出およびダミーセル挿入回路のプロ・ンク構成図。 第5図は本発明第一実施例セル送受信装置の廃棄セル復
元回路のブロック構成図。 第6図は本発明第一実施例セル送受信装置の小ブロック
の構成図。 第7図は本発明第一実施例セル送受信装置の大ブロック
の構成図。 第8図は本発明第一実施例セル送受信装置のセル廃棄検
出用セルの構成図。 第9図は本発明第一実施例セル送受信装置のデータセル
補償用の検査ビットセルの構成図。 第10図は本発明第一実施例セル送受信装置のセル廃棄
検出用セル補償用の検査ビットセルの構成図。 第11図は本発明第二実施例セル送受信装置のセル廃棄
検出用セル付加回路のブロック構成図。 第12図は本発明第二実施例セル送受信装置の検査ビッ
トセル付加回路のブロック構成図。 第13図は本発明第二実施例セル送受信装置のセル廃棄
検出およびダミーセル挿入回路のブロック構成図。 第14図は本発明第二実施例セル送受信装置の廃棄セル
復元回路のブロック構成図。 第15図は本発明第二実施例セル送受信装置の大ブロッ
クの構成図。 第16図は本発明第二実施例セル送受信装置のセル廃棄
検出用セルの構成図。 第17図は本発明第二実施例セル送受信装置のデータセ
ル補償用の検査ビットセルの構成図。 第18図は本発明第二実施例セル送受信装置のセル廃棄
検出用セル補償用の検査ビットセルの構成図。 第19図は本発明第三実施例セル送受信装置の小ブロッ
クの構成図。 第20図は本発明第三実施例セル送受信装置の大ブロッ
クの構成図。 第21図は本発明第三実施例セル送受信装置のセル廃棄
検出セルの構成図。 第22図はセル送受信装置の非同期転送モード網のセル
の構成図。 第23図は従来例のセル送受信装置のブロック構成図。 21.31.42.55.71.73.102.122
.124.142.155.181・・・バッファ、2
2.53.77・・・加算回路、23・・・NX(M−
1)進カウンタ、24.34.46〜48.52.60
.74.106.125.146〜148.152.1
67.184・・・スイッチ、25.35.107.1
85・・・順序番号付加カウンタ、26・・・検査ビッ
トセル蓄積メモリ、27・・・データセルCLDセル識
別回路、32・・・送信識別情報(CRPs)取出回路
、33.79.183・・・(N−1)進カウンタ、3
6.186・・・CLDセル生成回路、37.187・
・・CRC24生成回路、41.141・・・振分回路
、43.143・・・メモリ、44.144・・・CR
P、生成回路、45.50.145.150.166−
・・ダミーセル生成回路、49.149・・・セル廃棄
、51.151・・・出力セル数カウンタ、54.15
4・・・CLDセル復元回路、56.60.156.1
60.165・・・順序番号検査回路、57.75.1
27.157.161・・・CLDセル保持メモリ、5
8.158・・・セル位置検出回路、59.159・・
・切替制御回路、61.162・・・データセル出力端
子、62.163・・・CLDセル出力端子、63.8
4.132.168・・・(N−1)XM進カウンタ、
72・・・検査ビットセル廃棄回路、76・・・VCI
領域復元回路、78・・・廃棄セル復元回路、80.1
33・・・ダミーセル検出回路、81.126・・・C
LDセル入力端子、82.121・・・データセル入力
端子、83・・・(N−1)X(M−1)進カウンタ、
101.164・・・入力端子、103.129・・・
データセル保持メモリ、104・・・(M。 p)符号器、105・・・NX(M−p)進カウンタ、
108・・・検査ビットセル保持メモ!J、109・・
・CLDセルデータセル識別回路、123・・・検査ビ
ットセル廃棄回路、128・・・VCL領域復元回路、
130.153・・・(M、p)復号器、131・・・
廃棄セル復元回路、182・・・CRPs1VCI取出
回路、210.210A・・・送信側装置、211.2
21・・・端末、212−・・多重変換装置、213.
213A・・・廃棄補償符号化回路、220・・・受信
側装置、222・・・多重分離変換装置、223.22
3A・・・廃棄補償復号化回路。 兇−夷胞例 と 1 父 CLD七ル 兇−実施#1」  小プロ1,2り 亮−実胞例 大ブロック 亮 7 回 亮8図 弗−宴凝例 ヂータヤル#!膏ビットイルy 10図 ヂ゛−タ七ル(N−1)イ固 藁二奥旋伜] 大プロ、・2り y:l15図 y二実厭脅;1 ヤル廃棄検出セル 亮16回 藁二実胞例 データセル検査ピットセル¥)18図 児五笑祭便] 小プロ1.7り 系二実凝伊j 大フ゛ロック 亮20囲 亮21図 (バイト) 非同期彰Lモー):M@のセル 亮22図
FIG. 1 is a block diagram of a cell transmitting/receiving device according to a first embodiment of the present invention. FIG. 2 is a block configuration diagram of a cell addition circuit for detecting cell discard in the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 3 is a block configuration diagram of a test bit cell addition circuit for a cell transmitting/receiving lid according to the first embodiment of the present invention. FIG. 4 is a block diagram of the cell discard detection and dummy cell insertion circuit of the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 5 is a block diagram of the discarded cell restoration circuit of the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 6 is a configuration diagram of a small block of a cell transmitting/receiving device according to a first embodiment of the present invention. FIG. 7 is a configuration diagram of a large block of a cell transmitting/receiving apparatus according to a first embodiment of the present invention. FIG. 8 is a configuration diagram of a cell for cell discard detection in the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 9 is a configuration diagram of a test bit cell for data cell compensation in the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 10 is a configuration diagram of a test bit cell for cell discard detection and cell compensation in the cell transmitting/receiving apparatus according to the first embodiment of the present invention. FIG. 11 is a block configuration diagram of a cell addition circuit for detecting cell discard in the cell transmitting/receiving apparatus according to the second embodiment of the present invention. FIG. 12 is a block diagram of a test bit cell adding circuit of a cell transmitting/receiving device according to a second embodiment of the present invention. FIG. 13 is a block diagram of a cell discard detection and dummy cell insertion circuit of a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 14 is a block diagram of the discarded cell restoration circuit of the cell transmitting/receiving apparatus according to the second embodiment of the present invention. FIG. 15 is a configuration diagram of a large block of a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 16 is a configuration diagram of a cell for cell discard detection in the cell transmitting/receiving apparatus according to the second embodiment of the present invention. FIG. 17 is a configuration diagram of a test bit cell for data cell compensation in a cell transmitting/receiving apparatus according to a second embodiment of the present invention. FIG. 18 is a configuration diagram of a test bit cell for cell discard detection and cell compensation in the cell transmitting/receiving apparatus according to the second embodiment of the present invention. FIG. 19 is a configuration diagram of a small block of a cell transmitting/receiving device according to a third embodiment of the present invention. FIG. 20 is a configuration diagram of a large block of a cell transmitting/receiving apparatus according to a third embodiment of the present invention. FIG. 21 is a configuration diagram of a cell discard detection cell of a cell transmitting/receiving apparatus according to a third embodiment of the present invention. FIG. 22 is a block diagram of a cell in an asynchronous transfer mode network of cell transmitting and receiving equipment. FIG. 23 is a block diagram of a conventional cell transmitting/receiving device. 21.31.42.55.71.73.102.122
.. 124.142.155.181...Buffer, 2
2.53.77...addition circuit, 23...NX(M-
1) Decimal counter, 24.34.46 to 48.52.60
.. 74.106.125.146-148.152.1
67.184...Switch, 25.35.107.1
85... Sequence number addition counter, 26... Test bit cell storage memory, 27... Data cell CLD cell identification circuit, 32... Transmission identification information (CRPs) extraction circuit, 33.79.183... (N-1) base counter, 3
6.186...CLD cell generation circuit, 37.187.
...CRC24 generation circuit, 41.141...Distribution circuit, 43.143...Memory, 44.144...CR
P, generation circuit, 45.50.145.150.166-
...Dummy cell generation circuit, 49.149...Cell discard, 51.151...Output cell number counter, 54.15
4...CLD cell restoration circuit, 56.60.156.1
60.165...Sequence number inspection circuit, 57.75.1
27.157.161...CLD cell holding memory, 5
8.158...Cell position detection circuit, 59.159...
・Switching control circuit, 61.162...Data cell output terminal, 62.163...CLD cell output terminal, 63.8
4.132.168...(N-1)XM counter,
72...Check bit cell discard circuit, 76...VCI
Area restoration circuit, 78...Discarded cell restoration circuit, 80.1
33...Dummy cell detection circuit, 81.126...C
LD cell input terminal, 82.121...data cell input terminal, 83...(N-1)X(M-1) base counter,
101.164...input terminal, 103.129...
Data cell holding memory, 104...(M.p) encoder, 105...NX(M-p) base counter,
108...Inspection bit cell retention memo! J, 109...
・CLD cell data cell identification circuit, 123... Inspection bit cell discard circuit, 128... VCL area restoration circuit,
130.153...(M,p) decoder, 131...
Discarded cell restoration circuit, 182...CRPs1VCI extraction circuit, 210.210A...Transmission side device, 211.2
21...Terminal, 212-...Multiple conversion device, 213.
213A... Discard compensation encoding circuit, 220... Receiving side device, 222... Demultiplexing/converting device, 223.22
3A...Discard compensation decoding circuit.兇 - Iboshi example and 1 Father CLD 7 Ru 兇 - Implementation # 1 Small professional 1, 2 Ryo - Seibo example Dai block Ryo 7 times Ryo 8 picture 弗 - Banquet example Ditayaru #! 10th figure Di-Ta7al (N-1) 2nd turn of the year] Daipro, 2nd year: 15th figure y2 actual threat; 1 Yaru disposal detection cell Ryo 16th time Actual cell example Data cell inspection pit cell ¥) 18 figure child Goshosaibin] Small professional 1.7 Rikei Futami Koei j Large block Ryo 20 Kei Ryo 21 figure (part-time job) Asynchronous Akira L mo): M@'s cell Ryo 22 figure

Claims (1)

【特許請求の範囲】 1、送信側装置と、受信側装置とを備え、 上記送信側装置は、複数の送信側端末と、この送信側端
末からのセルまたはパケットを多重化して送信する多重
変換装置とを含み、 上記受信側装置は、上記多重変換装置の出力信号を分離
する多重分離変換装置と、この多重分離変換装置の出力
信号をそれぞれ入力する複数の受信側端末とを含む セル送受信装置において、 上記送信側装置は上記多重変換装置の出力信号について
セル廃棄検出およびセル廃棄補償のための処理を行い符
号化して受信側に送信する廃棄補償符号化手段を含み、 上記受信側装置は上記送信側装置の出力信号を受信し復
号化した信号について上記多重分離装置の前段でセル廃
棄検出およびセル廃棄補償を行い上記多重分離変換装置
に与える廃棄補償復号化手段を含む ことを特徴とするセル送受信装置。 2、上記廃棄補償符号化手段は、 上記多重変換装置の出力する(2以上の整数N−1以上
の整数q)個のデータセルからその送信セル識別情報を
取出す送信セル識別情報取出手段と、 上記送信セル識別情報取出手段の出力情報に基づき順序
番号を付加したq個のセル廃棄検出セルを生成するセル
廃棄検出セル生成手段と、 このセル廃棄検出セル生成回路の出力信号を該当する(
N−q)個のデータセルに付加して小ブロックとして出
力するセル廃棄検出セル付加手段と、 データセル廃棄検出セル付加手段の出力する(2以上の
整数M−1以上の整数p)組の小ブロックを入力し、(
M−p)個からなる(N−q)組のデータセルおよびq
組のセル廃棄検出セルに対し、同一ビット位置に記録さ
れている(M−p)ビットからなる1以上の整数L組の
情報の一部または全部につき情報ビット(M−p)ビッ
トおよび検査ビットpビットの組織符号化を行い、この
組織符号化により生成された検査ビットをp個からなる
セルの組N組に挿入して1組あたりp個からなるN組の
検査ビットセルを生成し、この検査ビットセルのs_1
ビット目からs_2ビット目に順序番号を挿入し、(M
−p)組の小ブロックにこの検査ビットセルを付加し大
ブロックとして送信する検査ビットセル付加手段とを含
む請求項1記載のセル送受信装置。 3、上記廃棄補償復号化手段は、 受信したセル廃棄検出セルに付加された順序番号に基づ
きセル廃棄検出セルの廃棄を検出し、受信したたセル廃
棄検出セル補償検査ビットに基づきセル廃棄検出セルを
復元するセル廃棄検出セル復元手段と、 受信した(M−p)個の小ブロックそれぞれに対して受
信セル識別情報を生成する受信セル識別情報生成手段と
、 上記受信した各小ブロックのq個のセル廃棄検出セルに
含まれる(N−q)個の送信セル識別情報と上記受信識
別情報生成手段の受信セル識別情報とを比較して小ブロ
ック内のデータセル廃棄を検出するデータセル廃棄検出
手段と、 検査ビットセルに付加された順序番号を検査してその廃
棄を検出する検査ビット検出手段と、小ブロック内のセ
ル位置が同一の(M−p)個のデータセルからなるセル
の組(N−q)組に対し、小ブロック内のセル位置がデ
ータセルと同一のp個の検査ビットセルを用いて、(M
−p)個のデータセルおよびp個の検査ビットセルの同
一ビット位置に記録されているMビットの情報を単位と
して、情報ビット(M−p)ビットおよび検査ビットの
復号化を行って廃棄されたデータセルのs_1ビット目
からs_2ビット目以外の部分を復元し、データセルの
s_1ビット目からs_2ビット目に記録されていた情
報をセル廃棄検出セルより取出し、そのデータセルのs
_1ビット目からs_2ビット目に挿入して元の情報を
復元する廃棄セル復元手段とを含む 請求項1記載のセル送受信装置。
[Claims] 1. A transmitter device and a receiver device; the transmitter device includes a plurality of transmitter terminals and a multiplex converter that multiplexes and transmits cells or packets from the transmitter terminals. a cell transmitting/receiving device including a multiplexing/demultiplexing/converting device that separates the output signal of the multiplexing/converting device, and a plurality of receiving side terminals each receiving the output signal of the multiplexing/converting device; In the above, the transmitting side device includes a discard compensation encoding means that performs processing for cell discard detection and cell discard compensation on the output signal of the multiplex converter, encodes it, and transmits it to the receiving side, and the receiving side device includes the above A cell characterized in that it includes a discard compensation decoding means for detecting cell discard and compensating for cell discard on a signal obtained by receiving and decoding an output signal of a transmitting side device at a stage before the demultiplexing device and providing the signal to the demultiplexing and converting device. Transmitting/receiving device. 2. The discard compensation encoding means includes a transmission cell identification information extraction means for extracting transmission cell identification information from (an integer N of 2 or more - an integer q of 1 or more) data cells output from the multiplex conversion device; Cell discard detection cell generation means for generating q cell discard detection cells to which sequence numbers are added based on the output information of the transmitting cell identification information extraction means;
a cell discard detection cell adding means that adds to N-q) data cells and outputs them as a small block, and a set of (an integer M of 2 or more - an integer p of 1 or more) output by the data cell discard detection cell addition means. Enter a small block and (
M-p) sets of (N-q) data cells and q
Information bits (M-p) bits and check bits for part or all of the information of L sets of integers of 1 or more consisting of (M-p) bits recorded in the same bit position for a set of cell discard detection cells. Perform systematic encoding of p bits, insert the check bits generated by this systematic encoding into N sets of p cells to generate N sets of check bit cells each consisting of p cells, and then Test bit cell s_1
Insert a sequence number from the s_2nd bit to the s_2nd bit, and (M
2. The cell transmitting/receiving apparatus according to claim 1, further comprising: -p) test bit cell adding means for adding the test bit cells to the small blocks of the set and transmitting the test bit cells as a large block. 3. The discard compensation decoding means detects the discard of the cell discard detected cell based on the sequence number added to the received cell discard detected cell, and detects the discard of the cell discard detected cell based on the received cell discard detected cell compensation check bit. a cell discard detection cell restoration means for restoring a cell discarded detection cell; a reception cell identification information generating means for generating reception cell identification information for each of the received (M-p) small blocks; data cell discard detection for detecting data cell discard in a small block by comparing (N-q) pieces of transmitting cell identification information included in the cell discard detection cells with the receiving cell identification information of the receiving identification information generating means; means, a check bit detection means for checking the sequence number added to the check bit cell to detect its discard, and a cell set (M-p) of data cells having the same cell position within the small block ( For the set (M
- information bits (M-p) bits and check bits are decoded and discarded using M bits of information recorded in the same bit position of p) data cells and p check bit cells as a unit; The part other than the s_1st bit to s_2nd bit of the data cell is restored, the information recorded in the s_1st bit to s_2nd bit of the data cell is extracted from the cell discard detection cell, and the s_2nd bit of the data cell is restored.
2. The cell transmitting/receiving device according to claim 1, further comprising a discarded cell restoring means for restoring the original information by inserting the bit from the _1st bit to the s_2nd bit.
JP2338544A 1990-11-30 1990-11-30 Cell transmitting/receiving equipment Pending JPH04207734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2338544A JPH04207734A (en) 1990-11-30 1990-11-30 Cell transmitting/receiving equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2338544A JPH04207734A (en) 1990-11-30 1990-11-30 Cell transmitting/receiving equipment

Publications (1)

Publication Number Publication Date
JPH04207734A true JPH04207734A (en) 1992-07-29

Family

ID=18319167

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2338544A Pending JPH04207734A (en) 1990-11-30 1990-11-30 Cell transmitting/receiving equipment

Country Status (1)

Country Link
JP (1) JPH04207734A (en)

Cited By (2)

* 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

Cited By (3)

* 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

Similar Documents

Publication Publication Date Title
KR100445770B1 (en) Combined minicell alignment and header protection method and apparatus
US5642365A (en) Transmitter for encoding error correction codes and a receiver for decoding error correction codes on a transmission frame
JP3306210B2 (en) CRC code confirmation method and device
JP3069389B2 (en) ATM cell error handling system
EP0503667A2 (en) A CRC operating method and an HEC synchronizing unit in the ATM switching method
JPH10116204A (en) Error control unit
US5606558A (en) Method of and devices for transmitting in ATM cells information supplied in the form of a series of distinct entities for a given application
JP3583148B2 (en) Variable length frame transmission method, transmitting apparatus and receiving apparatus
CA2152567C (en) Approach to directly performing asynchronous transfer mode (atm) adaptation layer 5 reassembly
JPH04207734A (en) Cell transmitting/receiving equipment
JP2769012B2 (en) Cell missing error delivery detection and correction method
KR970005732B1 (en) Circulation Redundancy Check Code Calculation and Detection Device in Asynchronous Transfer Mode System
JP3056076B2 (en) ATM cell switching equipment
JP3192901B2 (en) Variable speed data transmitting device and variable speed data receiving device
EP0923271B1 (en) An ATM reassembly circuit and method
JP3058796B2 (en) Error control transmission device and error control receiving device for transmission frame, transmission frame transmission method with error correction code and reception method
JPH07321809A (en) Atm cell forming device
JPH07131461A (en) Header control system for atm communication
JPH04282936A (en) Conversion/inverse conversion system for stm signal and atm signal
JPH04249447A (en) Atm transmission equipment
JPH0951337A (en) Error correction method
JPH11308225A (en) Atm test method and atm test system
KR100258560B1 (en) Device for removing dummy cell from atm
JPH0697955A (en) Transmission rate discordance detecting device
JP3849459B2 (en) Transmission data information detection method and transmission data information detection apparatus