Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3497435B2 - Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method - Google Patents
[go: Go Back, main page]

JP3497435B2 - Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method - Google Patents

Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method

Info

Publication number
JP3497435B2
JP3497435B2 JP2000040653A JP2000040653A JP3497435B2 JP 3497435 B2 JP3497435 B2 JP 3497435B2 JP 2000040653 A JP2000040653 A JP 2000040653A JP 2000040653 A JP2000040653 A JP 2000040653A JP 3497435 B2 JP3497435 B2 JP 3497435B2
Authority
JP
Japan
Prior art keywords
data
parity
bit
data transmission
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2000040653A
Other languages
Japanese (ja)
Other versions
JP2001230678A (en
Inventor
修 石田
健治 川合
晴彦 市野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2000040653A priority Critical patent/JP3497435B2/en
Publication of JP2001230678A publication Critical patent/JP2001230678A/en
Application granted granted Critical
Publication of JP3497435B2 publication Critical patent/JP3497435B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)
  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、データパケットを
複数区間にわたり中継伝送する際に伝送ビット誤りを監
視する技術に関し、特に、ギガビット・イーサネット
(登録商標)などパケットをnB/mB符号変換してシ
リアル伝送するシステムにおいて中継区間ごとの伝送誤
り監視する監視システム、その送信装置、その受信装置
または監視方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for monitoring a transmission bit error when a data packet is relayed and transmitted over a plurality of sections. The present invention relates to a monitoring system for monitoring a transmission error in each relay section in a serial transmission system, a transmitter thereof, a receiver thereof, or a monitoring method.

【0002】[0002]

【従来の技術】近年、コンピュータ,記憶装置,ルータ
などの各種装置間で伝送されるデータパケット量は増加
の一途をたどり、Gbps級の伝送路容量が要求されて
いる。また、装置間の距離が100mを超え、場合によ
っては数百kmに及ぶ例もある。このため、装置間伝送
路に光ファイバを用いてシリアル(直列)データ伝送を
行う例が増えている。一般に、パケットをシリアル光伝
送するには、光伝送に適した符号変換を行なうととも
に、パケットとパケットの間に適当な数の「アイドルセ
ット」を挟んだ連続データ列に変換する。このような方
式の1つに、nB/mB符号変換(n,mはn<mの自
然数)を用いるものがある。
2. Description of the Related Art In recent years, the amount of data packets transmitted between various devices such as a computer, a storage device, and a router has been increasing, and a Gbps-class transmission line capacity is required. In some cases, the distance between the devices exceeds 100 m, and in some cases reaches several hundred km. For this reason, there are increasing examples of performing serial data transmission by using an optical fiber in the transmission path between devices. Generally, for serial optical transmission of a packet, code conversion suitable for optical transmission is performed, and at the same time, conversion into a continuous data string in which an appropriate number of "idle sets" are sandwiched between packets. One of such methods uses nB / mB code conversion (n and m are natural numbers of n <m).

【0003】この方式は、予め定められた規則にしたが
ってnビットごとにmビットの符号語に変換し、“1”
や“0”の連続を防止してクロック抽出の便宜をはか
り、また、“1”と“0”の発生頻度をなるべく等しく
して光受信器の識別レベル調整を容易にする。さらに、
符号変換に使用しない符号語の中から「特殊符号語」を
定義して、これを含む「アイドルセット」をパケット間
の空隙に挿入する。
In this method, every n bits is converted into an m-bit codeword according to a predetermined rule, and then "1" is set.
And the continuation of "0" are prevented for the convenience of clock extraction, and the occurrence frequencies of "1" and "0" are made as equal as possible to facilitate the adjustment of the discrimination level of the optical receiver. further,
A "special codeword" is defined from codewords not used for code conversion, and an "idle set" including this is inserted in the gap between packets.

【0004】伝送路符号として有名なマンチェスタ符号
は、元のデータの“0”を“01”に、“1”を“1
0”に変換する1B/2B符号である。また、4B/5
B符号はFDDI(Fiber-distributed data interfac
e:IS09314-2,IS09314-3.1992)や、Fast Ethenet(100B
ASE-X:ANSI/IEEE 802.3u,1995)に採用され、8B/1
0B符号はファイバチャネル(Fibre Channel:ANSI X3T
11,Fibre Channel Physical and Signaling Interface,
1994)や、ギガビット・イーサネット(GigabitEtherne
t:ANSI/IEEE 802.3z,1998)に採用されている。
The Manchester code, which is well known as a transmission path code, has the original data "0" set to "01" and "1" set to "1".
It is a 1B / 2B code that is converted to 0 ". 4B / 5
B code is FDDI (Fiber-distributed data interfac)
e: IS09314-2, IS09314-3.1992) and Fast Ethenet (100B
ASE-X: ANSI / IEEE 802.3u, 1995), 8B / 1
OB code is Fiber Channel (ANSI X3T)
11, Fiber Channel Physical and Signaling Interface,
1994) and Gigabit Ethernet (GigabitEtherne
t: ANSI / IEEE 802.3z, 1998).

【0005】ここで、ギガビット・イーサネットを例
に、図11〜図14を参照して、8B/10B符号変換
を利用した従来のデータ伝送システムにおける誤り監視
方法について説明する。なお、ここで用いる8B/10
B符号変換則の詳細は、特開昭59−10056号公報
などに記載されている。図11は、従来のデータ伝送シ
ステムの一例を示しており、図中の110は送信器、1
20は中継器(リピータ)、130は受信器、5a,5
bは光伝送路である。また、111は8B/10B符号
変換を行う符号器、121は受信データ列を再生する再
生器、129,139は8B/10B符号逆変換を行な
う復号器である。
An error monitoring method in a conventional data transmission system using 8B / 10B code conversion will be described with reference to FIGS. 11 to 14 by taking Gigabit Ethernet as an example. In addition, 8B / 10 used here
Details of the B code conversion rule are described in, for example, JP-A-59-10056. FIG. 11 shows an example of a conventional data transmission system, in which 110 is a transmitter, and 1 is a transmitter.
20 is a repeater, 130 is a receiver, 5a, 5
b is an optical transmission line. Further, 111 is an encoder that performs 8B / 10B code conversion, 121 is a reproducer that reproduces a received data string, and 129 and 139 are decoders that perform 8B / 10B code inverse conversion.

【0006】送信器110の入力端1にはデータパケッ
トが入力される。符号器111は、8B/10B符号変
換則に基づいて1バイト(8ビット)ごとに10ビット
の符号語に変換し、さらに、符号語に変換されたパケッ
ト間(パケット入力がない場合を含む)に20ビットの
アイドルセットを複数組挿入した上で、連続データ列と
して光伝送路5aに送出する。
A data packet is input to the input end 1 of the transmitter 110. The encoder 111 converts each byte (8 bits) into a 10-bit code word based on the 8B / 10B code conversion rule, and further, between packets converted into code words (including the case where there is no packet input). After inserting a plurality of 20-bit idle sets into the optical transmission line 5a, a continuous data string is transmitted.

【0007】図12は、このような連続データ列のフォ
ーマットを示す。各々10ビットの符号語 Dk,Dk+1,…(kは自然数) が連続して出力される。k番目の符号語Dkはビット Dk 0,Dk 1,…,Dk 9 の順に直列(シリアル)伝送され、続いて、次の符号語
k+1の1ビット目Dk+1 0が伝送される。
FIG. 12 shows the format of such a continuous data string.
-Shows the mat. 10-bit codewords each Dk, Dk + 1,… (K is a natural number) Are output continuously. kth codeword DkIs a bit Dk 0, Dk 1, ..., Dk 9 Are transmitted serially in this order, followed by the next codeword
Dk + 1First bit of Dk + 1 0Is transmitted.

【0008】図13は、8B/10B符号変換則の一例
を示す。便宜上、256通りの元データ各々を Dx.y(0≦x≦31,0≦y≦7) と表記する。これを10ビットの符号語に変換すると
き、“0”と“1”の発生頻度を等しくするため、それ
までの履歴(“0”と“1”どちらが多かったか)に応
じて2つの変換規則を使い分ける。この履歴をランニン
グ・ディスパリティ(RD:Running Disparity)と呼ぶ。
“0”が多かった時には、図中「current RD−」欄の
符号語に変換し、逆に“1”が多かった時には「curren
t RD+」欄の符号語に変換する。
FIG. 13 shows an example of the 8B / 10B code conversion rule. For convenience, each of the 256 original data is set as Dx. It is expressed as y (0 ≦ x ≦ 31, 0 ≦ y ≦ 7). When converting this into a 10-bit codeword, two conversion rules are used according to the history (whether "0" or "1" was more frequent) so that the occurrence frequencies of "0" and "1" are equalized. Use properly. This history is called running disparity (RD).
When there are many "0", it is converted into the code word in the "current RD-" column in the figure, and conversely, when there are many "1", "curren"
t RD + ”column code word.

【0009】10ビット符号語には、1024通りのう
ちで“1”と“0”の数が等しいか、もしくは一方が2
つだけ多いものが選ばれ、後者のうち“1”が多い符号
語は「current RD−」欄に、“0”が多い符号語は
「current RD+」欄に割り当てる。初期状態に
「“0”が1つ多い状況」を仮定すれば、符号語と符号
語の境目における履歴(RD)は「RD−」(“0”が
1つ多い状況)と「RD+」(“1”が1つ多い状況)
のいずれかになる。
In a 10-bit code word, the number of "1" s and "0" s is the same among 1024 ways, or one is 2
As many as three are selected, and among the latter, codewords with many "1" s are assigned to the "current RD-" column, and codewords with many "0" s are assigned to the "current RD +" column. Assuming "the situation where there are many" 0 "s" in the initial state, the history (RD) at the boundary between codewords is "RD-" (the situation where there are one "0") and "RD +" ( There is one more "1")
Will be either.

【0010】例えば、元データ “00000000”(D0.0) は、それまでに“0”が多ければ “1001110100” に、“1”が多ければ “0110001011” に変換される。この10ビット符号語は“0”と“1”
の数が等しいので履歴(RD)は変化しない。
For example, the original data "00000000" (D0.0) is converted into "1001110100" if there are many "0" s and "0110001011" if there are many "1" s. This 10-bit codeword is "0" and "1"
The history (RD) does not change because the number of

【0011】一方、例えば、元データ “00000011”(D3.0) は、それまで“0”が多ければ “1100011011” に、“1”が多ければ “1100010100” に変換される。この10ビット符号語は“0”と“1”
の数が等しくないので履歴(RD)は反転する。
On the other hand, for example, the original data "00000011" (D3.0) is converted into "1100011011" if there are many "0" s and "1100010100" if there are many "1" s. This 10-bit codeword is "0" and "1"
The history (RD) is inverted because the numbers of the two are not equal.

【0012】また、これら256通りの元データとは別
に、特殊符号語K28.5が定義されている。これが含
むビットパターン“0011111”および“1100
000”は、256通りの元データに対応するいかなる
符号語Dx.yにも含まれず、また、それら任意の2つ
の符号語の境界を跨いでも発生しない。したがって、受
信側では、上記ビットパターンを検出することで連続デ
ータ列中での10ビット符号語の区切り位置を特定でき
る。
In addition to these 256 kinds of original data, a special code word K28.5 is defined. Bit patterns "0011111" and "1100" included in this
000 "is not included in any code word Dx.y corresponding to 256 original data, and does not occur even if it crosses the boundary between any two code words. Therefore, on the receiving side, the above bit pattern is By detecting, the delimiter position of the 10-bit code word in the continuous data string can be specified.

【0013】図14は、このような8B/10B符号変
換を用いるギガビット・イーサネットにおいてパケット
を伝送するときの符号語列のフォーマットを示す。すべ
てのパケットは、その大きさが2バイト(2符号語=2
0ビット)の整数倍にあらかじめ調整され、また、パケ
ット終了後の履歴(RD)がパケット開始時と同じ「R
D−」となるように調整される。n番目のパケットPn
の伝送が終了してから次のパケットPn+1の伝送を開始
するまでの期間Inは、20ビットのアイドルセットが
1ないし複数組挿入される。
FIG. 14 shows a format of a code word string when a packet is transmitted in a Gigabit Ethernet using such 8B / 10B code conversion. All packets are 2 bytes in size (2 codewords = 2
It is adjusted to an integer multiple of 0 bit), and the history (RD) after the end of the packet is the same as when the packet started
D- ". nth packet P n
In the period I n from the end of the transmission of 1 to the start of the transmission of the next packet P n + 1 , one or more sets of 20-bit idle sets are inserted.

【0014】このアイドルセットは、特殊符号語K2
8.5と符号語D16.2の組み合わせ(セット)であ
る。 −/K28.5/D16.2/(符号語による表現) 00111110101001000101(伝送され
るビット列) 符号語による表現の先頭に付された“−”は、送信する
直前の履歴が「RD−」であることを表す。K28.5
とD16.2は、いずれも履歴(RD)を反転させる符
号語なのでアイドルセット送出後の履歴(RD)は常に
送出前と同じ「RD−」に戻る。
This idle set has a special code word K2.
It is a combination (set) of 8.5 and code word D16.2. -/ K28.5 / D16.2 / (expression by code word) 00111110101001000101 (bit string to be transmitted) "-" added to the head of the expression by code word is "RD-" just before the transmission. It means that. K28.5
Since D and 16.2 are code words that invert the history (RD), the history (RD) after sending the idle set is always returned to the same "RD-" as before sending.

【0015】次に、このように連続データ列化されたパ
ケットを、送信器110から受信器130まで中継器
(リピータ)120を介して中継伝送する。図11に示
す従来のデータ伝送システムにおいて、伝送ビット誤り
を監視する方法を説明する。中継器120においては、
再生器121により、光伝送路5aを伝播して減衰した
信号を増幅し、必要があれば識別再生による波形整形や
クロック乗換を行なってから、光伝送路5bに送出す
る。クロック乗換とは、入力データ列から抽出したクロ
ック周期から、中継器120自体が保有する自走クロッ
ク周期に乗せかえて連続データ列を送出するものであ
り、ジッタ(クロック周期揺らぎ)が中継器ごとに蓄積
することを防止できる。中継器ごとに自走クロック周期
は微妙に異なるのでパケット間のアイドルセットを挿抜
することで調整する。
Next, the packet thus converted into a continuous data string is relayed and transmitted from the transmitter 110 to the receiver 130 via a repeater (repeater) 120. A method of monitoring a transmission bit error in the conventional data transmission system shown in FIG. 11 will be described. In the repeater 120,
The regenerator 121 amplifies the signal propagated through the optical transmission line 5a and attenuated, and if necessary, performs waveform shaping by identification reproduction and clock transfer, and then outputs it to the optical transmission line 5b. The clock transfer is to transmit a continuous data string by replacing the clock cycle extracted from the input data string with the free-running clock cycle held by the repeater 120 itself, and the jitter (clock cycle fluctuation) is generated in each repeater. Can be prevented from accumulating. Since the free-running clock cycle is slightly different for each repeater, it is adjusted by inserting and removing the idle set between packets.

【0016】ここで、上記再生器121の出力を復号器
129にも入力し、連続データ列から8B/10B符号
逆変換を行なう。まず連続データ列中から特殊符号語K
28.5を検出して、符号語の区切りとその時点での履
歴(RD)を認識し、次に、認識した履歴(RD)に基
づいて受信した10ビット符号語から元の8ビットデー
タを復号する。光伝送路5aにおいて単一ビット誤りが
発生すると、受信された符号語と履歴(RD)が整合し
なくなって誤り発生を検知できる。
Here, the output of the regenerator 121 is also input to the decoder 129 to perform 8B / 10B code inverse conversion from the continuous data sequence. First, from the continuous data string, the special code word K
28.5 is detected, the codeword delimiter and the history (RD) at that time are recognized, and then the original 8-bit data is extracted from the received 10-bit codeword based on the recognized history (RD). Decrypt. When a single bit error occurs in the optical transmission line 5a, the received codeword and the history (RD) do not match and the error occurrence can be detected.

【0017】例えば「RD−」で送信される D2.0“1011010100” は履歴(RD)を変化させないので、その次に「RD
−」の符号語が続いている。この10ビット目に伝送ビ
ット誤りを生じて “1011010101”(D2.2) と復号されると、この符号語は履歴(RD)を反転させ
るので次に続くのは「RD+」の符号語のはずで矛盾が
生じる。受信器130においても、光伝送路5bから入
力された連続データ列を復号器139に入力することで
同様に誤り発生を検知できる。
For example, D2.0 "1011010100" transmitted by "RD-" does not change the history (RD).
The code word "-" follows. If a transmission bit error occurs at the 10th bit and it is decoded as "1011010101" (D2.2), this code word inverts the history (RD), so the next code word should be the "RD +" code word. There is a contradiction. In the receiver 130 as well, an error occurrence can be similarly detected by inputting the continuous data string input from the optical transmission path 5b to the decoder 139.

【0018】[0018]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のデータ伝送誤り監視システムにおいては、 連続ビット誤りを検出できないことが多く、 中継器の前後いずれかでビット誤りが発生したかを、
受信器において特定できない という問題点があった。以下に、この2つの問題点を説
明する。
However, in such a conventional data transmission error monitoring system as described above, it is often impossible to detect continuous bit errors, and whether or not a bit error has occurred before or after the repeater is
There is a problem in that it cannot be specified by the receiver. The two problems will be described below.

【0019】履歴(RD)は連続データ列中の“0”,
“1”いずれが多いかを示すため、同一符号語中で連続
する2ビット“01”が連続ビット誤りにより“10”
と検出されても履歴(RD)に矛盾は生じない。例えば
「RD+」で送信される “0100101011”(D2.0) の1ビット目と2ビット目に伝送誤りが発生して“10
00101011”と受信されると、符号語D1.0が
正常に受信したと見なされ、誤り発生が検知できない。
The history (RD) is "0" in the continuous data string,
In order to indicate which one is more, "2" consecutive "01" in the same code word is "10" due to consecutive bit error.
Even if it is detected, there is no contradiction in the history (RD). For example, if a transmission error occurs in the first and second bits of "0100101011" (D2.0) transmitted by "RD +", "10"
When "00101011" is received, it is considered that the codeword D1.0 is normally received, and the error occurrence cannot be detected.

【0020】また、図11を用いて説明した従来のデー
タ伝送システムでは、受信器130で誤り発生を検知し
ても、それが光伝送路5a,5bのいずれで発生したも
のかを特定できない。障害区間を特定するには、中継器
120の復号器129における誤り検出有無を監視用の
別回線を布設して受信器130に通知する必要があり、
保守管理コストがかかる。本発明はこれらの事情を鑑み
てなされたもので、その目的とするところは、連続ビッ
ト誤りが検出可能で、さらには、パケットを複数区間に
わたって中継伝送する際に、各区間での誤り発生有無を
容易に検出でき、経済効率のよいデータ伝送誤り監視シ
ステムを提供することを目的としている。
Further, in the conventional data transmission system described with reference to FIG. 11, even if the receiver 130 detects an error occurrence, it cannot be specified in which of the optical transmission lines 5a and 5b it is caused. In order to identify the faulty section, it is necessary to provide another line for monitoring whether or not the decoder 129 of the relay 120 has detected an error and notify the receiver 130 of it.
Maintenance cost is required. The present invention has been made in view of these circumstances, and an object thereof is to detect a continuous bit error, and further, when a packet is relay-transmitted over a plurality of sections, whether or not an error occurs in each section. It is an object of the present invention to provide a data transmission error monitoring system which can easily detect a data transmission error and which is economically efficient.

【0021】[0021]

【課題を解決するための手段】このような目的を達成す
るために、本発明によるデータ伝送誤り監視システムお
よびデータ伝送誤り監視方法は、データパケットをnビ
ット(nは自然数)ごとに所定のnB/mB符号変換則
(mはn<mの自然数)でmビットの符号語に変換する
とともに、符号語に変換されたデータパケット間に1な
いし複数の符号語からなるiビット(iはmの倍数)の
アイドルセットを1ないし複数個挿入し、これらを連続
データ列としてデータ送信装置からデータ受信装置へシ
リアル伝送するデータ伝送誤り監視システムを前提とす
るものである。
In order to achieve such an object, a data transmission error monitoring system and a data transmission error monitoring method according to the present invention provide a predetermined nB data packet every n bits (n is a natural number). / MB code conversion rule (m is a natural number of n <m) is used to convert to an m-bit code word, and i bits (i is m It is premised on a data transmission error monitoring system in which one or a plurality of multiple idle sets are inserted and these are serially transmitted as a continuous data string from a data transmission device to a data reception device.

【0022】そして、データ送信装置では、パリティカ
ウンタで、連続データ列を、n’本(n’はiの因数で
1<n’<m)のデータ系列に分割して各データ系列ご
とに1ビットのパリティを計数し、符号器で、パリティ
カウンタの出力するn’個(n’ビット)のパリティを
所定のn’B/mB符号変換則でmビットのパリティ符
号語に変換し、置換器で、連続データ列から1ないし連
続する複数のアイドルセットを検出し、これを符号器の
出力するパリティ符号語を含むjビット(jはiの倍
数)のパリティセットに置き換えて送出する。またデー
タ受信装置では、検出器で受信連続データ列からパリテ
ィセットを検出し、復号器で、パリティセットからn’
個のパリティを復元し、パリティカウンタで、受信連続
データ列をn’本のデータ系列に分割して各データ系列
ごとにパリティセットを除外してパリティを計数し、比
較器で復号器出力とパリティカウンタ出力を比較するよ
うにしたものである。
In the data transmission apparatus, the parity counter divides the continuous data sequence into n '(n' is a factor of i, 1 <n '<m) data series and divides the data series by 1 for each data series. The number of bits of parity is counted, and the encoder converts n'number (n 'bits) of parity output from the parity counter into an m-bit parity code word according to a predetermined n'B / mB code conversion rule, and a replacer Then, one or a plurality of consecutive idle sets are detected from the continuous data string, and this is replaced with a j-bit (j is a multiple of i) parity set including the parity code word output from the encoder and transmitted. Further, in the data receiving device, the detector detects the parity set from the received continuous data string, and the decoder detects n ′ from the parity set.
The parity counter is restored, the received continuous data sequence is divided into n'data series by the parity counter, the parity set is excluded for each data series, and the parity is counted. The counter outputs are compared with each other.

【0023】データ系列数n’はm以上であってもよ
い。この場合、データ送信装置では、パリティカウンタ
で、連続データ列を、n’本(n’はiの因数でm≦
n’)のデータ系列に分割して各データ系列ごとに1ビ
ットのパリティを計数し、符号器で、計数されたn’個
(n’ビット)のパリティをmビットより小さくなるよ
うに複数の計数値に分割し、これら計数値をそのビット
数に対応する所定の符号変換則でmビットのパリティ符
号語にそれぞれ変換すればよい。
The number of data series n'may be m or more. In this case, in the data transmission device, the parity counter uses the number of continuous data strings of n '(n' is a factor of i, m ≦
n ') data sequences are divided into 1-bit parities for each data sequence, and the encoder encodes a plurality of n' (n 'bits) of parities so as to be smaller than m bits. It may be divided into count values, and these count values may be converted into m-bit parity code words by a predetermined code conversion rule corresponding to the number of bits.

【0024】n’本のデータ系列については、少なくと
も1つの系列に属するデータのシリアル連続データ列上
におけるビット間隔が周期的に複数の値を繰返し、アイ
ドルセット前後でパリティが不変となるように選んでも
よい。さらに、(n,m,i,n’)=(8,10,2
0,5)であって、かつ最小ビット間隔を4としてもよ
い。また、パリティ符号語については、nB/mB符号
変換規則で生成される符号語のいずれかに必ず一致する
ものとしてもよく、パリティセットとして、パリティ符
号語の他に識別符号語を含むようにしてもよい。
The n ′ data series are selected so that the bit interval on the serial continuous data string of the data belonging to at least one series periodically repeats a plurality of values and the parity remains unchanged before and after the idle set. But it is okay. Furthermore, (n, m, i, n ′) = (8,10,2
0, 5) and the minimum bit interval may be 4. Further, the parity code word may always match any one of the code words generated by the nB / mB code conversion rule, and the parity set may include an identification code word in addition to the parity code word. .

【0025】[0025]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。図1は本発明の第1の実施の形態である
データ伝送誤り監視システムのブロック図である。この
データ伝送誤り監視システムでは、連続データ列をデー
タ送信装置(送信端)11からデータ受信装置(受信
端)13へ光伝送路5を介して中継伝送する際の伝送ビ
ット誤りを監視している。なお、本発明では、上述した
ように、データパケットをnビット(nは自然数)ごと
に所定のnB/mB符号変換則(mはn<mの自然数)
でmビットの符号語に変換するとともに、このmビット
の符号語に変換されたデータパケット間に1ないし複数
のmビット符号語からなるiビット(iはmの倍数)の
アイドルセットを1ないし複数個挿入し、これらを連続
データ列としてデータ送信装置からデータ受信装置へシ
リアル伝送するデータ伝送誤り監視システムを前提とし
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a data transmission error monitoring system according to a first embodiment of the present invention. In this data transmission error monitoring system, a transmission bit error is monitored when a continuous data string is relay-transmitted from a data transmission device (transmission end) 11 to a data reception device (reception end) 13 via an optical transmission path 5. . In addition, in the present invention, as described above, a predetermined nB / mB code conversion rule (m is a natural number of n <m) for each n bits (n is a natural number) of the data packet.
Is converted into an m-bit code word by the above-mentioned method, and an i-bit (i is a multiple of m) idle set consisting of 1 to a plurality of m-bit code words is set to 1 to between the data packets converted into the m-bit code word. A description will be made on the premise of a data transmission error monitoring system in which a plurality of data are inserted and serially transmitted as a continuous data string from a data transmission device to a data reception device.

【0026】データ送信装置11には、連続データ列
を、n’本(n’はiの因数で1<n’<m)のデータ
系列に分割して各データ系列ごとに1ビットのパリティ
を計数するパリティカウンタ2と、パリティカウンタ2
の出力するn’個(n’ビット)のパリティ(計数値)
を所定のn’B/mB符号変換則でmビットのパリティ
符号語に変換する符号器3と、連続データ列から1ない
し連続する複数のアイドルセットを検出し、これを符号
器3の出力するパリティ符号語を含むjビット(jはi
の倍数)のパリティセットに置き換えて送出する置換器
4とが設けられている。
In the data transmitter 11, the continuous data string is divided into n '(n' is a factor of i, 1 <n '<m) data series, and 1-bit parity is set for each data series. Parity counter 2 for counting and parity counter 2
'N (n' bits) parity (count value) output by
To an m-bit parity code word according to a predetermined n'B / mB code conversion rule, and 1 or a plurality of consecutive idle sets are detected from a continuous data string, and this is output from the encoder 3. J bits (j is i
And a replacement unit 4 for sending the data after replacing it with a parity set.

【0027】データ受信装置13には、受信した連続デ
ータ列からパリティセットを検出する検出器6と、パリ
ティセットからn’個のパリティを復元する復号器7
と、受信した連続データ列をn’本のデータ系列に分割
して各データ系列ごとにパリティセットを除外してパリ
ティを計数するパリティカウンタ8と、復号器7の出力
とパリティカウンタ8の出力を比較する比較器9とが設
けられている。
The data receiving device 13 includes a detector 6 for detecting a parity set from the received continuous data sequence and a decoder 7 for restoring n'parities from the parity set.
And a parity counter 8 that divides the received continuous data sequence into n ′ data series and excludes the parity set for each data series to count the parity, and the output of the decoder 7 and the output of the parity counter 8. A comparator 9 for comparison is provided.

【0028】次に、本実施の形態の動作として、ギガビ
ット・イーサネット規格に基づく連続データを扱う場合
を例に説明する。データ送信装置11への入力端子1に
は、ギガビット・イーサネット規格に基づいてパケット
を8B/10B符号化した連続データを入力する。図2
にこの連続データ列のフォーマットを示す。なお、以下
の例は、アイドルセットが20ビット(i=20)、デ
ータパケットが8ビット(n=8)、符号語が10ビッ
ト(m=10)、そして連続データ列の分割数(データ
系列数)を4(n’=4)とした場合に対応する。
Next, as an operation of the present embodiment, a case of handling continuous data based on the Gigabit Ethernet standard will be described as an example. To the input terminal 1 to the data transmitter 11, continuous data obtained by 8B / 10B-encoding a packet based on the Gigabit Ethernet standard is input. Figure 2
Shows the format of this continuous data string. In the following example, the idle set is 20 bits (i = 20), the data packet is 8 bits (n = 8), the code word is 10 bits (m = 10), and the number of divisions of the continuous data string (data series This corresponds to the case where the number) is 4 (n ′ = 4).

【0029】図14を用いて説明した通り、アイドルセ
ットを基準に20ビット(i=20)ごとの符号セット
に区切ることができる。つまり、各々20ビットの符号
セット Sk,Sk+1,…(kは自然数) が連続して入力される。以下、k番目の符号セットSk
のpビット目(0≦p≦19)をSk pと表記する。この
連続データ列はパリティカウンタ2に導かれ、4本
(n’=4)のデータ系列に分割(分離)されて各系列
ごとに1ビットのパリティが計数される。このパリティ
(計数値)は、後述する置換器4からの信号入力で初期
値ヘリセットされる。
As described with reference to FIG. 14, the idle set can be divided into code sets of 20 bits (i = 20). That is, code sets S k , S k + 1 , ... (K is a natural number) each having 20 bits are continuously input. Hereinafter, the kth code set S k
The p-th bit (0 ≦ p ≦ 19) of is written as S k p . This continuous data string is guided to the parity counter 2, divided (separated) into four (n '= 4) data series, and 1-bit parity is counted for each series. This parity (count value) is reset to the initial value by the signal input from the replacing device 4 described later.

【0030】次に4本のデータ系列の選び方を説明す
る。たとえばk番目の符号セットSkがアイドルセット
ならば (Sk 0,Sk 1,…,Sk 19) =(D2k 0,…,D2k 9,D2k+1 0,…,D2k+1 9) =(0,0,1,1,1,1,1,0,1,0,1,0,0,1,0,0,0,1,0,1) である。
Next, how to select four data series will be described. For example, if the k-th code set S k is an idle set, (S k 0 , S k 1 , ..., S k 19 ) = (D 2k 0 , ..., D 2k 9 , D 2k + 1 0 , ..., D 2k +1 9 ) = (0,0,1,1,1,1,1,0,1,0,1,0,0,1,0,0,0,1,0,1).

【0031】単純に4ビットごとにインタリーブして、
4本のデータ系列に分離すると、 データ系列#0 (Sk 0,Sk 4,…,Sk 16)=(0,1,1,0,0) データ系列#1 (Sk 1,Sk 5,…,Sk 17)=(0,1,0,1,1) データ系列#2 (Sk 2,Sk 6,…,Sk 18)=(1,1,1,0,0) データ系列#3 (Sk 3,Sk 7,…,Sk 19)=(1,0,0,0,1) となる。
Simply interleave every 4 bits,
When separated into four data series, data series # 0 (S k 0 , S k 4 , ..., S k 16 ) = (0, 1 , 1 , 0, 0) Data series # 1 (S k 1 , S k 5, ..., S k 17 ) = (0,1,0,1,1) data series # 2 (S k 2, S k 6, ..., S k 18) = (1,1,1,0, 0) data series # 3 (S k 3, S k 7, ..., S k 19) = a (1,0,0,0,1).

【0032】各データ系列の連続データ列上におけるビ
ット間隔はすべて等しく4であり、いわゆる「BIP
4」(Bit Interleaved Parity4)に相当する。ここ
で、偶パリティ(‘1’:出現回数が奇数の時にパリテ
ィは‘1’で偶数の時は‘0’)を仮定すると、このア
イドルセット前後でデータ系列#0,#3のパリティは
変化しないが、データ系列#1,#2のパリティは変化
する。
The bit intervals on the continuous data sequence of each data series are all equal to 4, which is the so-called "BIP".
4 ”(Bit Interleaved Parity 4). Here, assuming even parity ('1': parity is '1' when the number of appearances is odd and '0' when it is even), the parity of data series # 0 and # 3 changes before and after this idle set. However, the parity of the data series # 1 and # 2 changes.

【0033】そこで、例えばSk 1とSk 2を入れ替え、 データ系列#0 (Sk 0,Sk 4,…,Sk 16)=(0,1,1,0,0) データ系列#1’ (Sk 2,Sk 5,…,Sk 17)=(1,1,0,1,1) データ系列#2’ (Sk 1,Sk 6,…,Sk 18)=(0,1,1,0,0) データ系列#3 (Sk 3,Sk 7,…,Sk 19)=(1,0,0,0,1) という4本のデータ系列に分離してもよい。Therefore, for example, S k 1 and S k 2 are exchanged, and the data series # 0 (S k 0 , S k 4 , ..., S k 16 ) = (0, 1, 1, 0, 0) data series # 1 ′ (S k 2 , S k 5 , ..., S k 17 ) = (1,1,0,1,1) data sequence # 2 ′ (S k 1 , S k 6 , ..., S k 18 ) = (0,1,1,0,0) data sequence # 3 (S k 3, S k 7, ..., S k 19) separated = (1,0,0,0,1) four data series that You may.

【0034】データ系列#1’,#2’の連続データ列
上におけるビット間隔は、それぞれ、 (3,4,4,4,5) (5,4,4,4,3) を周期的繰返している。すべてのデータ系列において
‘1’出現回数は偶数なので、このアイドルセットの前
後で4つのパリティは変化しない。
The bit intervals on the continuous data sequence of the data series # 1 ', # 2' are (3, 4, 4, 4, 5) (5, 4, 4, 4, 3) cyclically repeated, respectively. ing. Since the number of occurrences of "1" is an even number in all data sequences, the four parities do not change before and after this idle set.

【0035】図1の符号器3は、符号セットごとにこの
4ビット(n’=4)のパリティ現在値を入力して4B
/10B符号変換により10ビット(m=10)のパリ
ティ符号語を生成する。図3に、4B/10B符号変換
規則の一例を示す。4ビットのパリティ ‘abcd’(a,b,c,d∈{0,1}) を、10ビットのパリティ符号語P ‘00aAbBcCdD’ に変換する。
The encoder 3 of FIG. 1 inputs the 4-bit (n '= 4) parity present value for each code set and outputs 4B.
A 10-bit (m = 10) parity code word is generated by / 10B code conversion. FIG. 3 shows an example of the 4B / 10B code conversion rule. The 4-bit parity'abcd '(a, b, c, dε {0, 1}) is converted into a 10-bit parity codeword P'00aAbBcCdD'.

【0036】ここで、大文字は小文字を反転させた符号
を示す。例えば、パリティ‘0000’は、 ‘0001010101’ に変換する。これは、前述した8B/10B符号におい
て、履歴が「‘1’が1つ多い」(RD+)ときの符号
語D23.2と等しい。図中、これを+D23.2と表
記した。
Here, the uppercase letters indicate symbols in which the lowercase letters are reversed. For example, the parity “0000” is converted into “0001010101”. This is equal to the code word D23.2 when the history is "more one'1 '" (RD +) in the 8B / 10B code described above. In the figure, this was described as + D23.2.

【0037】同様に、パリティ‘0000’〜‘111
1’の16通りすべてを、8B/10B符号語のいずれ
かと一致させている。図4(a)にこの4B/10B符
号変換を実現する符号器3の回路構成例を示した。な
お、図3を用いて説明した‘00aAbBcCdD’以
外に、例えば、‘00AaBbCcDd’‘00Aab
BcCDd’‘00BbAaDdCc’など、abcd
の順序を入れ替えたり、大文字と小文字の順序を任意に
反転させた符号変換を用いてもよい。
Similarly, the parity from "0000" to "111"
All 16's of 1'are matched with any of the 8B / 10B codewords. FIG. 4A shows a circuit configuration example of the encoder 3 that realizes the 4B / 10B code conversion. In addition to the "00aAbBcCdD" described with reference to FIG. 3, for example, "00AaBbCcDd" 00Aab
BcCDd "00BbAaDdCc 'etc., abcd
The order of may be exchanged, or a code conversion in which the order of uppercase letters and lowercase letters is arbitrarily inverted may be used.

【0038】図1の置換器4は、入力端子1から入力さ
れた連続データ列の中からギガビット・イーサネット規
格のアイドルセット (/−K28.5/+D16.2/) を検出し、おおよそ一定の周期でアイドルセットのうち
の1つの2番目の符号語(+D16.2)を符号器3の
出力するパリティ符号語P ‘00aAbBcCdD’ に入れ替える。すなわち、アイドルセット (/−K28.5/+D16.2/) をパリティセット (/−K28.5/P/) に置換して光伝送路5に送出する。図2(b)に置換器
4の出力するデータ列のフォーマットを示す。
The replacer 4 of FIG. 1 detects an idle set (/-K28.5/+D16.2/) of the Gigabit Ethernet standard from the continuous data string input from the input terminal 1 and keeps it approximately constant. In the cycle, the second code word (+ D16.2) in the idle set is replaced with the parity code word P′00aAbBcCdD ′ output from the encoder 3. That is, the idle set (/-K28.5/+D16.2/) is replaced with the parity set (/-K28.5/P/) and the result is sent to the optical transmission line 5. FIG. 2B shows the format of the data string output from the replacer 4.

【0039】さらに置換器4は、アイドルセットからパ
リティセットヘの置換を実施した際にパリティカウンタ
2に指示を送ってリセットする。このため、置換挿入さ
れたパリティセットに、前回の置換挿入直後の符号セッ
トから当該パリティセット直前までのパリティ情報が含
まれる。前述したように、連続データ列上でのビット間
隔が複数の値を周期的に繰返してアイドルセット前後で
パリティが不変となるよう巧妙にデータ系列に分離すれ
ば、置換に伴うアイドルセット抜取りに伴うパリティ補
正回路は不要である。そうでない場合は、送信側もしく
は受信側でアイドルセット抜取りに伴うパリティ補正が
要る。
Further, the replacer 4 sends an instruction to the parity counter 2 to reset it when the idle set is replaced with the parity set. Therefore, the parity set that has been replaced and inserted includes the parity information from the code set immediately after the previous replacement and insertion to immediately before the parity set. As described above, if the bit interval on the continuous data string is cyclically repeated multiple values and the data series is cleverly separated so that the parity does not change before and after the idle set, it is necessary to remove the idle set due to replacement. No parity correction circuit is required. If this is not the case, parity correction associated with the idle set removal is required on the transmission side or the reception side.

【0040】図1のデータ受信装置13においては、光
伝送路5からの連続データ列は検出器6とパリティカウ
ンタ8に入力されるとともに、そのまま出力端子10に
も出力される。検出器6は、データ列の中からパリティ
セットを検出してパリティ符号語P(10ビット)を復
号器7に導くとともに、パリティセット検出をパリティ
カウンタ8に通知する。復号器7は、元の4ビットパリ
ティ計数値を復元して比較器9に出力する。
In the data receiving device 13 of FIG. 1, the continuous data string from the optical transmission line 5 is input to the detector 6 and the parity counter 8 as well as to the output terminal 10 as it is. The detector 6 detects the parity set from the data string, guides the parity code word P (10 bits) to the decoder 7, and notifies the parity counter 8 of the parity set detection. The decoder 7 restores the original 4-bit parity count value and outputs it to the comparator 9.

【0041】一方、パリティカウンタ8は、入力された
連続データ列を前述した4本のデータ系列に分割して各
系列ごとにパリティを計数する。そして、検出器6から
のパリティセット検出通知に基づき、当該パリティセッ
ト直前までの計数値を比較器9に出力するとともに、カ
ウンタを初期化してパリティセット直後の符号セットか
ら再び計数を行なう。比較器9は、復号器7の出力する
送信側での4ビットパリティ値と、パリティカウンタ8
の出力する受信側での4ビットパイディ値とを比較し、
誤りの有無を検出する。
On the other hand, the parity counter 8 divides the input continuous data sequence into the above-mentioned four data series and counts the parity for each series. Then, based on the parity set detection notification from the detector 6, the count value up to immediately before the parity set is output to the comparator 9, the counter is initialized, and counting is performed again from the code set immediately after the parity set. The comparator 9 outputs the 4-bit parity value on the transmission side output from the decoder 7 and the parity counter 8
And compare it with the 4-bit piedy value on the receiving side,
Detect the presence of errors.

【0042】図4(b)に検出器6の回路構成を示す。
入力データ列の連続する20ビットをQ0〜Q19に入
力する。パリティセットP検出時にのみ出力段のAND
ゲートに出力が生じる。また、図4(c)に復号器7の
回路構成を示す。図3に示した4B/10B符号変換則
では‘abcd’の検出に論理回路は不要である。
FIG. 4B shows the circuit configuration of the detector 6.
20 consecutive bits of the input data string are input to Q0 to Q19. AND of output stage only when parity set P is detected
Output is generated at the gate. Further, the circuit configuration of the decoder 7 is shown in FIG. According to the 4B / 10B code conversion rule shown in FIG. 3, no logic circuit is necessary for detecting'abcd '.

【0043】このように、図1を用いて説明したデータ
伝送誤り監視システムによれば、連続データ列を4本の
データ系列に分割してそれぞれのパリティを検査できる
ので、光伝送路5において連続してビット誤りが発生し
ても検出することができる。前述した4本のデータ系列
#0,1,2,3では、同一系列内でのビット間隔Wは
すべて4なので、4ビットまでの連続誤りを正しく検出
できる。一方、#0,1’,2’,3では、同一系列内
での最小ビット間隔Wは系列#1’(Sk 2とS k 5の間)
と#2’(Sk 18とSk+1 1の間)の3なので、3ビット
までの連続誤りを正しく検出できる。
As described above, the data described with reference to FIG.
According to the transmission error monitoring system, a continuous data string
Can be divided into data series and check each parity
Therefore, bit errors occur continuously in the optical transmission line 5.
Can also be detected. 4 data series mentioned above
For # 0, 1, 2, and 3, the bit interval W in the same sequence is
All 4's, so correct continuous errors up to 4 bits
it can. On the other hand, in # 0, 1 ', 2', 3 the same sequence
Is the minimum bit interval W in the sequence # 1 '(Sk 2And S k FiveBetween)
And # 2 '(Sk 18And Sk + 1 13), so 3 bits
The continuous error up to can be detected correctly.

【0044】データ送信装置11においてパリティ情報
を伝送データ上に追加するので、データ受信装置13に
おいて検出されるのは光伝送路5における伝送誤りであ
ることが特定できる。図5は、第1の実施の形態である
データ伝送誤り監視システムの一部変更例を示すブロッ
ク図である。図中、11はデータ送信装置、13はデー
タ受信装置であり、図1を用いて説明した本発明実施例
である。また、図11を用いて説明した従来データ伝送
システムと同一の構成については同一符号を付してあ
り、その説明を省略する。
Since the data transmitter 11 adds the parity information to the transmission data, it can be specified that the data receiver 13 detects a transmission error in the optical transmission line 5. FIG. 5 is a block diagram showing a partially modified example of the data transmission error monitoring system according to the first embodiment. In the figure, 11 is a data transmitter and 13 is a data receiver, which is an embodiment of the present invention described with reference to FIG. The same components as those of the conventional data transmission system described with reference to FIG. 11 are designated by the same reference numerals, and the description thereof will be omitted.

【0045】中継器220では、再生器121により、
光伝送路5aを伝播して減衰した信号を増幅し、必要が
あれば識別再生による波形整形を行ない、データ送信装
置11を介して光伝送路5bに送出する。受信器230
では、光伝送路5bから入力された連続データ列をデー
タ受信装置13を介して復号器139に入力する。デー
タ受信装置13では光伝送路5bにおける伝送誤り発生
だけが検知される。一方、データ受信装置13を透過し
た連続データ列を復号器139に入力することで、従来
通り、符号器111と復号器139間でのビット誤りが
検出が可能である。なぜなら、図3を用いて説明した通
り、パリティ符号語Pが全て履歴(RD)を「RD+」
から「RD−」に反転させる8B/10B符号語にマッ
ピングされるように4B/10B符号変換規則を選んだ
ため、アイドルセットをパリティセットに置換した後で
も、符号化時の正しい履歴(RD)が保たれているから
である。
In the repeater 220, the regenerator 121
A signal propagated through the optical transmission line 5a and amplified is amplified, and if necessary, waveform shaping is performed by identification reproduction, and the signal is sent to the optical transmission line 5b via the data transmission device 11. Receiver 230
Then, the continuous data string input from the optical transmission line 5b is input to the decoder 139 via the data receiving device 13. The data receiving device 13 detects only the occurrence of a transmission error in the optical transmission line 5b. On the other hand, by inputting the continuous data sequence transmitted through the data receiving device 13 to the decoder 139, it is possible to detect a bit error between the encoder 111 and the decoder 139 as in the conventional case. This is because, as described with reference to FIG. 3, all the parity codewords P have the history (RD) as “RD +”.
Since the 4B / 10B code conversion rule is selected so that it is mapped to the 8B / 10B codeword that is inverted from RD to “RD-”, the correct history (RD) at the time of encoding even after the idle set is replaced with the parity set. Is maintained.

【0046】したがって、受信器230では、データ受
信装置13と復号器139の出力する2つの誤り検出情
報を組み合わて判断することで、光伝送路5a,5bい
ずれの区間で誤りが発生したのか特定可能である。従来
システムのように、中継器220に復号器を設けたり、
さらにその情報を別回線で受信器まで伝達する必要がな
い。なお、前述した4本のデータ系列#0,1’,
2’,3を用いれば、アイドルセットの前後でパリティ
計数値が不変なので、中継器220の再生器121でク
ロック乗換(アイドルセット抜挿)を行える。つまり、
中継器によるジッタの蓄積を防止することができる。
Therefore, the receiver 230 determines in which section the optical transmission lines 5a and 5b an error has occurred by combining and determining the two error detection information output from the data receiving device 13 and the decoder 139. It is possible. As in the conventional system, a relay 220 is provided with a decoder,
Furthermore, it is not necessary to transmit the information to the receiver via another line. In addition, the above-mentioned four data series # 0, 1 ',
If 2 ′ and 3 are used, the parity count value does not change before and after the idle set, so that the regenerator 121 of the repeater 220 can perform clock transfer (idle set insertion / removal). That is,
It is possible to prevent the accumulation of jitter by the repeater.

【0047】以上の説明において分離するデータ系列の
本数n’は4を用いたが、これに限定されるものではな
く、次のようにn’B/10B符号変換規則を設定でき
る最大のn’を選ぶとよい。まず、前述したように、ア
イドルセット挿抜に対して各系列のパリティが不変であ
ることが望ましい。そのためには、アイドルセットがi
ビット長(iは自然数)とするとn’はiの因数である
ことが必要がある。
In the above description, the number n'of the data series to be separated is 4, but the number is not limited to this, and the maximum n'can set the n'B / 10B code conversion rule as follows. You should choose. First, as described above, it is desirable that the parity of each sequence be unchanged with respect to the insertion / extraction of the idle set. For that, the idol set is i
Given the bit length (i is a natural number), n'needs to be a factor of i.

【0048】n’B/10B変換によって生成されるパ
リティ符号語が、ファイバチャネル規格やギガビット・
イーサネット規格などで、特殊符号語K28.5と組み
合わせて特殊符号セット(たとえばアイドルセット)と
して使用される符号語と一致しないことが望ましい。こ
の条件を満たさないときは、例えば、図6に示すように
データ受信装置13内での配線を変更して出力端子10
には検出器6’を介して連続デ二タを出力するように変
更し、置換器4で特殊符号セットを検出したら予め異な
る所定の符号セットに置き換え、検出器6’で元の特殊
符号セットに戻して出力する必要がある。
The parity code word generated by the n'B / 10B conversion is the fiber channel standard or gigabit.
In the Ethernet standard or the like, it is desirable that it does not match the code word used as a special code set (for example, idle set) in combination with the special code word K28.5. If this condition is not satisfied, for example, as shown in FIG. 6, the wiring in the data receiving device 13 is changed to change the output terminal 10
Is changed to output continuous data through the detector 6 ', and when the special code set is detected by the replacing unit 4, it is replaced with a different predetermined code set in advance, and the original special code set is detected by the detector 6'. It is necessary to return to and output.

【0049】生成されるパリティ符号語は、8B/10
B符号の履歴(RD)規則を満たすことが望ましい。こ
の条件を満たさないときは、やはり図6に示す構成をと
り、検出器6’でパリティセットを検出した際に、再び
元のアイドルセットに戻して出力端子10へ導く必要が
ある。さらに、パリティ符号語が、8B/10B符号変
換で生成される符号語のいずれかと必ず一致していると
都合がよい。この条件が満たされないと、パリティセッ
トを含む連続データ列を従来の装置に入力した時に「同
期はずれ」エラーとなる可能性がある。これは、例えば
ギガビット・イーサネット規格では、ランニング・ディ
スパリティ(RD)が正しくても8B/10B符号変換
で存在しない符号語を複数回断続的に連続して検出する
と「同期はずれ」状態に移行するためである。この条件
を満たさないときは、やはり図6に示す構成をとる必要
がある。
The parity code word generated is 8B / 10.
It is desirable to satisfy the B code history (RD) rule. If this condition is not satisfied, it is necessary to adopt the configuration shown in FIG. 6 again, and when the detector 6 ′ detects the parity set, restore the original idle set and lead it to the output terminal 10. Further, it is convenient that the parity code word always matches any one of the code words generated by the 8B / 10B code conversion. If this condition is not met, a "out-of-sync" error can occur when a continuous data string containing a parity set is input to a conventional device. This is because, for example, in the Gigabit Ethernet standard, even if the running disparity (RD) is correct, if a codeword that does not exist in the 8B / 10B code conversion is detected intermittently a plurality of times, the state shifts to "out of sync". This is because. When this condition is not satisfied, it is still necessary to take the configuration shown in FIG.

【0050】図3を用いて説明した4B/10B変換符
号は、これらの条件をすべて満たす。一方、ギガビット
・イーサネット規格は、特殊符号/−K28.5/に続
く符号語が特殊符号セット(0rdered Set)として規定
した2番目の符号語のいずれとも合致しないと、それを
アイドルセットと見なして復号することに決めている。
よって、図3の符号変換則を用いれば、パリティセット
を含む連続データ列を、従来の装置にそのまま入力して
も差し支えない。すなわち、互換性が保たれ、従来の装
置との混在が可能となるため、大規模システムにおいて
も必要に応じて部分的にシステムを更改できて、経済的
である。
The 4B / 10B conversion code described with reference to FIG. 3 satisfies all of these conditions. On the other hand, according to the Gigabit Ethernet standard, if the codeword following the special code /-K28.5/ does not match any of the second codewords defined as the special code set (0rdered Set), it is regarded as an idle set. I have decided to decrypt it.
Therefore, if the code conversion rule of FIG. 3 is used, a continuous data string including a parity set may be directly input to the conventional device. That is, since compatibility is maintained and it is possible to mix with conventional devices, even in a large-scale system, the system can be partially renewed as necessary, which is economical.

【0051】次に、上述した条件をすべて満たす最大の
n’の選び方を説明し、20ビット長のアイドルセット
を用いる場合にはそれが「5」であることを示す。それ
には、20(i=20)の因数でかつ10(m=10)
より小さいn’の最大値は「5」なので、条件を満たす
5B/10B符号の存在を示せばよい。パリティセット
で置換するアイドルセットの2番目の符号語は、“1”
を4つと“0”を6つ含み、履歴を「RD+」から「R
D−」に変化させる。そこで、連続する2ビット4組で
1B/2B符号変換(マンチェスタ符号)を行ない、残
り2ビットは“0”“0”とする。
Next, how to select the maximum n'that satisfies all the above-mentioned conditions will be explained, and it will be shown that it is "5" when the 20-bit length idle set is used. It has a factor of 20 (i = 20) and 10 (m = 10)
Since the maximum value of smaller n ′ is “5”, it suffices to show the existence of the 5B / 10B code that satisfies the condition. The second codeword of the idle set to be replaced with the parity set is "1"
Including 4 and 6 "0", the history from "RD +" to "R
D- ". Therefore, 1B / 2B code conversion (Manchester code) is performed with four consecutive 2-bit sets, and the remaining 2 bits are set to "0" and "0".

【0052】すなわち、4ビットデータ‘abcd’
を、 ‘00aAbBcCdD’, ‘aA00bBcCdD’, ‘aAbB00cCdD’, ‘aAbBcC00dD’, ‘aAbBcCdD00’ のように符号化すれば、ランニング・ディスパリティの
条件を満足する。連続する2ビットを組むのは、
“1”、“0”の反転が頻繁に起こるので、8B/10
B符号則で生成されるいずれかの符号語と一致する場合
が多いからである。
That is, 4-bit data'abcd '
Is encoded as '00aAbBcCdD', 'aA00bBcCdD', 'aAbB00cCdD', 'aAbBcC00dD', 'aAbBcCdD00', the running disparity condition is satisfied. Composing two consecutive bits is
Since inversion of "1" and "0" occurs frequently, 8B / 10
This is because it often coincides with any code word generated by the B coding rule.

【0053】このうち、 ‘00aAbBcCdD’ と ‘aAbBcC00dD’ は条件をすべて満たす。Of these, '00aAbBcCdD' When ‘AAbBcC00dD’ Satisfies all the conditions.

【0054】図7は、このような二つの4B/10B変
換符号則を組み合わせて創設した5B/10B変換符号
則を示す。5ビットのパリティ ‘stxyz’(s,t,x,y,z∈{0,1}) を、10ビットのパリティ符号語 ‘tTxXyY00zZ’(sが“0”の場合) または ‘00xXyYtTzZ’(sが“1”の場合) に変換する。
FIG. 7 shows a 5B / 10B conversion code rule created by combining two such 4B / 10B conversion code rules. The 5-bit parity'stxyz '(s, t, x, y, zε {0, 1}) is converted into the 10-bit parity code word'tTxXyY00zZ' (when s is “0”) or “00xXyYtTzZ '(s. Is "1").

【0055】例えば、パリティ ‘00000’ は ‘0101010001’ に変換する。これは、8B/10B符号+D10.7と
一致する。同様に、パリティ‘00000’〜‘111
11’の32通りすべてが、8B/10B符号語のいず
れかと一致している。また、ギガビット・イーサネット
規格の特殊符号セットにおける2番目の符号語と重なる
こともない。
For example, the parity "00000" is converted into "0101010001". This agrees with the 8B / 10B code + D10.7. Similarly, the parity from "00000" to "111"
All 32 patterns of 11 'match with any of 8B / 10B codewords. Moreover, it does not overlap with the second codeword in the special code set of the Gigabit Ethernet standard.

【0056】図8(a)〜(c)は、それぞれ、図7に
示した5B/10B符号を実現する符号器3、検出器
6、復号器7の回路構成例を示す。図4を用いて説明し
た4B/10B符号の回路構成よりは複雑だが、それで
も、たかだか50個程度のゲート回路で実現できる。
FIGS. 8A to 8C show circuit configuration examples of the encoder 3, the detector 6 and the decoder 7 for realizing the 5B / 10B code shown in FIG. 7, respectively. Although it is more complicated than the circuit configuration of the 4B / 10B code described with reference to FIG. 4, it can be realized with at most about 50 gate circuits.

【0057】一方、このような5B/10B符号変換規
則を用いれば、連続データ列を5本のデータ系列に分離
してそれぞれのパリティを転送できる。アイドルセット
を単純に5ビットごとにインタリーブして5本のデータ
系列に分離すると、 データ系列#a (Sk 0,Sk 5,Sk 10,Sk 15)=(0,1,1,0) データ系列#b (Sk 1,Sk 6,Sk 11,Sk 16)=(0,1,0,0) データ系列#c (Sk 2,Sk 7,Sk 12,Sk 17)=(1,0,0,1) データ系列#d (Sk 3,Sk 8,Sk 13,Sk 18)=(1,1,1,0) データ系列#e (Sk 4,Sk 9,Sk 14,Sk 19)=(1,0,0,1) となる。
On the other hand, if such a 5B / 10B code conversion rule is used, a continuous data string can be separated into five data sequences and the respective parities can be transferred. If the idle set is simply interleaved every 5 bits and separated into 5 data sequences, data sequence #a (S k 0 , S k 5 , S k 10 , S k 15 ) = (0, 1, 1, 0) data series #b (S k 1, S k 6, S k 11, S k 16) = (0,1,0,0) data series #c (S k 2, S k 7, S k 12, S k 17 ) = (1,0,0,1) data series #d (S k 3 , S k 8 , S k 13 , S k 18 ) = (1,1,1,0) data series #e ( S k 4 , S k 9 , S k 14 , S k 19 ) = (1,0,0,1).

【0058】これはいわゆる「BIP5」(Bit Interl
eaved Parity5)である。同一データ系列内でのビット
間隔Wはすべて5なので、5ビットまでの連続誤りを正
しく検出できる。しかし、データ系列#a,#c,#e
は‘1’が偶数回出現するのでパリティは変化しない
が、#b,#dは奇数なのでパリティが変化してしま
う。したがって、アイドルセットに対してパリティ不変
な5本のデータ系列を選ぶ場合には、同一データ系列内
での最小ビット間隔Wの最大値は少なくとも4以下であ
る。
This is the so-called "BIP5" (Bit Interl
eaved Parity5). Since all the bit intervals W in the same data series are 5, continuous errors up to 5 bits can be detected correctly. However, the data series #a, #c, #e
Since '1' appears even number of times, the parity does not change, but since #b and #d are odd numbers, the parity changes. Therefore, when selecting five parity-invariant data sequences for the idle set, the maximum value of the minimum bit interval W in the same data sequence is at least 4 or less.

【0059】アイドルセットに対してパリティ不変とす
るには、例えばSk 1とSk 3を入れ替え、 データ系列#a (Sk 0,Sk 5,Sk 10,Sk 15)=(0,1,1,0) データ系列#b’ (Sk 3,Sk 6,Sk 11,Sk 16)=(1,1,0,0) データ系列#c (Sk 2,Sk 7,Sk 12,Sk 17)=(1,0,0,1) データ系列#d’ (Sk 1,Sk 8,Sk 13,Sk 18)=(0,1,1,0) データ系列#e (Sk 4,Sk 9,Sk 14,Sk 19)=(1,0,0,1) という5本のデータ系列に分離すればよい。
To make the parity invariant with respect to the idle set, for example, S k 1 and S k 3 are exchanged, and the data sequence #a (S k 0 , S k 5 , S k 10 , S k 15 ) = (0 , 1,1,0) data series #b ′ (S k 3 , S k 6 , S k 11 , S k 16 ) = (1, 1, 0, 0) data series #c (S k 2 , S k 7 , S k 12 , S k 17 ) = ( 1 , 0, 0, 1 ) Data sequence #d ′ (S k 1 , S k 8 , S k 13 , S k 18 ) = (0, 1 , 1 , 0) Data series #e (S k 4 , S k 9 , S k 14 , S k 19 ) = ( 1 , 0, 0, 1) may be separated into five data series.

【0060】いずれのデータ系列においても‘1’の出
現回数は偶数なので、符号セットの前後で5つのパリテ
ィ計数値は変化しない。同一系列内での最小ビット間隔
Wは、 データ系列#b’(Sk 3とSk 6の間) と データ系列#d’(Sk 18とSk+1 1の間) の3なので、3ビットまでの連続誤りを正しく検出でき
る。
Since the number of appearances of "1" is an even number in any data series, the five parity count values do not change before and after the code set. Since the minimum bit interval W in the same sequence is 3 of the data sequence #b ′ (between S k 3 and S k 6 ) and the data sequence #d ′ (between S k 18 and S k + 1 1 ), It is possible to correctly detect continuous errors of up to 3 bits.

【0061】さらに、データ系列#b,#dのみなら
ず、本来は入れ替えの必要のないデータ系列#cの要素
を含めて入れ替えを行ない、かつ、#bと#c間、もし
くは#cと#d間の入れ替えに限定するという巧妙な手
法を用いることで、最小ビット間隔Wを「4」(すなわ
ち最大値)にすることができる。その一例を以下に示
す。
Further, not only the data series #b and #d but also the elements of the data series #c which originally do not need to be replaced are replaced, and between #b and #c or between #c and #. The minimum bit interval W can be set to “4” (that is, the maximum value) by using a clever technique of limiting the replacement between d. An example is shown below.

【0062】 データ系列#a (Sk 0,Sk 5,Sk 10,Sk 15)=(0,1,1,0) データ系列#B (Sk 1,Sk 7,Sk 11,Sk 16)=(0,0,0,0) データ系列#C (Sk 3,Sk 8,Sk 13,Sk 17)=(1,1,1,1) データ系列#D (Sk 2,Sk 6,Sk 12,Sk 18)=(1,1,0,0) データ系列#e (Sk 4,Sk 9,Sk 14,Sk 19)=(1,0,0,1) こうして4ビットまでの連続誤りを正しく検出できる。
なお、データ系列の本数n’が多ければ、単位時間あた
りに正しく検出できるランダム誤り個数が多くなるので
小さいビット誤り率まで正しく観測できるという効果も
ある。
Data series #a (S k 0 , S k 5 , S k 10 , S k 15 ) = ( 0 , 1 , 1 , 0) Data series #B (S k 1 , S k 7 , S k 11 , S k 16 ) = (0,0,0,0) data series #C (S k 3 , S k 8 , S k 13 , S k 17 ) = (1,1,1,1) data series #D (S k 2 , S k 6 , S k 12 , S k 18 ) = (1, 1, 0, 0) Data sequence #e (S k 4 , S k 9 , S k 14 , S k 19 ) = ( 1, 0, 0, 1) In this way, continuous errors of up to 4 bits can be correctly detected.
It should be noted that if the number of data series n'is large, the number of random errors that can be correctly detected per unit time is large, so that it is possible to correctly observe even a small bit error rate.

【0063】また、以上詳述した第1の実施の形態にお
いては、8B/10B符号変換を用いたギガビット・イ
ーサネット規格(アイドルセットは20ビット)の場合
を想定しているが、なんらこれに限定されるものではな
い。例えば、同じ8B/10B符号変換を用いたファイ
バチャネル規格のアイドルセットは、40ビット長(4
符号語)の ‘00111110101010100001010101010101010101010’ (/−K28.5/+D21.4/−D21.5/−D
21.5/) となる。
In the first embodiment described in detail above, it is assumed that the Gigabit Ethernet standard using 8B / 10B code conversion (the idle set is 20 bits) is used, but the present invention is not limited to this. It is not something that will be done. For example, the idle set of the Fiber Channel standard using the same 8B / 10B code conversion is 40 bits long (4
Code word) '00111110101010100001010101010101010101010' (/-K28.5/+D21.4/-D21.5/-D
21.5 /).

【0064】したがって、これと同様の手法により、5
本(n’=5)のデータ系列を (Sk 0,Sk 5,Sk 10,Sk 15,Sk 20,Sk 25,Sk 30
k 35)=(0,1,1,0,1,0,1,0) (Sk 1,Sk 7,Sk 11,Sk 16,Sk 21,Sk 26,Sk 31
k 36)=(0,0,0,0,0,1,0,1) (Sk 2,Sk 6,Sk 12,Sk 18,Sk 22,Sk 27,Sk 32
k 37)=(1,1,1,1,1,0,1,0) (Sk 3,Sk 8,Sk 13,Sk 17,Sk 23,Sk 28,Sk 33
k 38)=(1,1,0,0,0,1,0,1) (Sk 4,Sk 9,Sk 14,Sk 19,Sk 24,Sk 29,Sk 34
k 39)=(1,0,1,0,1,0,1,0) と選べば、アイドルセットに不感でかつ最小ビット間隔
Wが「4」の誤り監視を実現できる。一般のnB/mB
符号則を用いた場合についても同様に実現できることは
以上の説明により容易に理解される。
Therefore, by the same method as this, 5
The data series of the book (n ′ = 5) are converted into (S k 0 , S k 5 , S k 10 , S k 15 , S k 20 , S k 25 , S k 30 ,
S k 35 ) = (0,1,1,0,1,0,1,0) (S k 1 , S k 7 , S k 11 , S k 16 , S k 21 , S k 26 , S k 31
S k 36 ) = (0,0,0,0,0,1,0,1) (S k 2 , S k 6 , S k 12 , S k 18 , S k 22 , S k 27 , S k 32
S k 37 ) = (1,1,1,1,1,0,1,0) (S k 3 , S k 8 , S k 13 , S k 17 , S k 23 , S k 28 , S k 33
S k 38 ) = (1,1,0,0,0,1,0,1) (S k 4 , S k 9 , S k 14 , S k 19 , S k 24 , S k 29 , S k 34
If S k 39 ) = (1,0,1,0,1,0,1,0) is selected, it is possible to realize the error monitoring insensitive to the idle set and having the minimum bit interval W of "4". General nB / mB
It can be easily understood from the above description that the case where the coding rule is used can be similarly realized.

【0065】また上述では、データ系列数n’をn’<
mに設定した場合を例に説明したが、これに限定される
ものではなく、n’をm以上に設定し、n’個(n’ビ
ット)のパリティをmビットより小さいビット数の複数
の計数値に分割し、これら計数値をmビット符号語にそ
れぞれ変換して伝送するようにしてもよい。例えば、上
述したファイバチャネル規格の場合、10(n’=10
=m)本のデータ系列を、 (Sk 0,Sk 11,Sk 20,Sk 30)=(0,0,1,1) (Sk 1,Sk 10,Sk 22,Sk 31)=(0,1,1,0) (Sk 2,Sk 12,Sk 21,Sk 33)=(1,1,0,0) (Sk 3,Sk 13,Sk 23,Sk 32)=(1,0,0,1) (Sk 4,Sk 14,Sk 24,Sk 34)=(1,1,1,1) (Sk 5,Sk 15,Sk 25,Sk 35)=(1,0,0,1) (Sk 6,Sk 16,Sk 26,Sk 36)=(1,0,1,0) (Sk 7,Sk 17,Sk 27,Sk 37)=(0,0,0,0) (Sk 8,Sk 18,Sk 28,Sk 38)=(1,1,1,1) (Sk 9,Sk 19,Sk 29,Sk 39)=(0,0,0,0) と選ぶ。
Further, in the above description, the number of data series n'is n '<
Although the case of setting m is described as an example, the present invention is not limited to this, and n ′ is set to m or more, and n ′ (n ′ bits) parity is set to a plurality of bits having a number of bits smaller than m bits. It may be divided into count values, and these count values may be converted into m-bit codewords and transmitted. For example, in the case of the above-mentioned fiber channel standard, 10 (n '= 10
= M) data sequences are (S k 0 , S k 11 , S k 20 , S k 30 ) = ( 0 , 0 , 1 , 1 ) (S k 1 , S k 10 , S k 22 , S k ) k 31 ) = (0,1,1,0) (S k 2 , S k 12 , S k 21 , S k 33 ) = (1, 1, 0,0) (S k 3 , S k 13 , S k 23 , S k 32 ) = ( 1 , 0, 0, 1 ) (S k 4 , S k 14 , S k 24 , S k 34 ) = (1, 1, 1, 1) (S k 5 , S k 15 , S k 25 , S k 35 ) = (1,0,0,1) (S k 6 , S k 16 , S k 26 , S k 36 ) = (1,0,1,0) (S k 7 , S k 17 , S k 27 , S k 37 ) = (0,0,0,0) (S k 8 , S k 18 , S k 28 , S k 38 ) = (1,1,1, 1) Select (S k 9 , S k 19 , S k 29 , S k 39 ) = (0,0,0,0).

【0066】そして、これら10本のデータ系列から計
数した10ビットのパリティを、5本のデータ系列に対
応する5ビット(5<m)の計数値に2分割し、5B/
10B符号変換則を用いて、これら計数値の一方を第1
のパリティ符号語に変換し、他方の計数値を第2のパリ
ティ符号語に変換する。さらに、40ビット長アイドル
セットの2〜4番目の符号語のうちいずれか2つの符号
語を、これらパリティ符号語で置換して、40ビット長
パリティセットとして送出すればよい。
The 10-bit parity counted from these 10 data series is divided into 5 bits (5 <m) corresponding to the 5 data series and divided into 5B /
One of these count values is set to the first using the 10B code conversion rule.
To the second parity code word, and the other count value is converted to the second parity code word. Further, any two codewords of the 2nd to 4th codewords of the 40-bit length idle set may be replaced with these parity codewords and transmitted as a 40-bit length parity set.

【0067】なお、n’ビット(m<n’)のパリティ
を等ビットの計数値へ分割する必要はない。例えば10
ビットのバリティを6ビットと4ビットの計数値に分割
してもよい。この場合は、それぞれの計数値のビット数
に対応した符号変換則、すなわち6ビットの計数値は6
B/10B符号変換則を用い、4ビットの計数値は4B
/10/Bを用いて、それぞれ10ビットのバリティ符
号語を生成すればよい。
It is not necessary to divide the n'bit (m <n ') parity into equal bit count values. For example, 10
The bit validity may be divided into 6-bit and 4-bit count values. In this case, the code conversion rule corresponding to the number of bits of each count value, that is, the 6-bit count value is 6
The B / 10B code conversion rule is used, and the 4-bit count value is 4B
/ 10 / B may be used to generate 10-bit validity codewords.

【0068】ファイバチャネル規格は、等価的には、デ
ータパケットを32ビットごとに所定の32B/40B
符号変換則で40ビット符号語に変換するとともに、符
号語に変換されたデータパケット間に、1個の40ビッ
ト符号語からなるアイドルセットを1ないし複数個挿入
し、これを連続データ列としてシリアル伝送するシステ
ムと見なすこともできる。したがって、m≦n’の場合
も、上述したように、複数のパリティ符号語にパリティ
情報を分割して符号化する場合についてn’<mの場合
と同等とも言える。
The Fiber Channel standard is equivalent to a predetermined 32B / 40B data packet for every 32 bits.
Converts to a 40-bit code word according to the code conversion rule, and inserts one or more idle sets consisting of one 40-bit code word between the data packets converted to the code word, and serializes this as a continuous data string. It can also be regarded as a transmission system. Therefore, also in the case of m ≦ n ′, it can be said that the case of dividing the parity information into a plurality of parity codewords and encoding the same is the same as the case of n ′ <m, as described above.

【0069】次に、図9を参照して、本発明の第2の実
施の形態であるデータ伝送誤り監視システムについて説
明する。図9は、本発明の請求項7記載のデータ伝送誤
り監視システムを説明するブロック図である。図5を用
いて説明した実施例と異なるのは、送信器310の符号
器111後段にデータ送信装置11aを配備しているこ
と、中継器320にデータ送信装置11のかわりにデー
タ送信装置11bを配備していること、受信器330に
データ受信装置13のかわりにデータ受信装置13a
b,13bを配備していることである。
Next, a data transmission error monitoring system according to a second embodiment of the present invention will be described with reference to FIG. FIG. 9 is a block diagram for explaining a data transmission error monitoring system according to claim 7 of the present invention. 5 differs from the embodiment described with reference to FIG. 5 in that a data transmission device 11a is provided after the encoder 111 of the transmitter 310, and a data transmission device 11b is provided in the relay 320 instead of the data transmission device 11. That the data receiving device 13a is provided instead of the data receiving device 13 in the receiver 330.
b and 13b are deployed.

【0070】送信器310中のデータ送信装置11aお
よび中継器320中のデータ送信装置11bは、図1を
用いて説明したデータ送信装置11と置換器4の機能が
異なる。この置換器4は、入力端子1から入力された連
続データ列の中からギガビット・イーサネット規格の連
続する2つのアイドルセット (/−K28.5/+D16.2/−K28.5/+D
16.2/) を検出し、おおよそ一定の周期で2連続アイドルセット
のうちの2番目,4番目の符号語(+D16.2)を、
所定の識別符号語P’とパリティ符号語Pに入れ替え
る。
The data transmitting device 11a in the transmitter 310 and the data transmitting device 11b in the repeater 320 are different in the functions of the data transmitting device 11 described with reference to FIG. This replacing device 4 is provided with two consecutive idle sets (/-K28.5/+D16.2/-K28.5/+D) of the Gigabit Ethernet standard from the continuous data string input from the input terminal 1.
16./) is detected, and the second and fourth codewords (+ D16.2) of the two consecutive idle sets are detected at approximately constant intervals,
The predetermined identification code word P'and the parity code word P are replaced.

【0071】すなわち、2番目の符号語(+D16.
2)は、識別符号語P’、例えば ‘00a'A'b'B'c'C'd'D'’ に入れ替え、2番目の符号語(+D16.2)は、符号
器3の出力するパリティ符号語P ‘00aAbBcCdD’ に入れ替える。これにより、連続する2つのアイドルセ
ットが40ビットのパリティセット/−K28.5/
P’/−K28.5/P/に置き換えられる。図10
(a),(b)に置換されるアイドルセットと置換器4
の出力するデータ列のフォーマットを示した。
That is, the second code word (+ D16.
2) is replaced with the identification code word P ', for example,'00a'A'b'B'c'C'd'D'', and the second code word (+ D16.2) is output from the encoder 3. Replace with the parity code word P '00aAbBcCdD'. As a result, two consecutive idle sets have a parity set of 40 bits / −K28.5 /
P '/-K28.5 / P /. Figure 10
Idle set replaced by (a) and (b) and replacer 4
The format of the data string output by is shown.

【0072】一方、受信器330中のデータ受信装置1
3ab,13bは、図1を用いて説明したデータ受信装
置13と検出器6とパリティカウンタ8の機能が異な
る。この検出器6は、データ列の中から40ビットパリ
ティセットを検出し、さらにそのパリティセットの2番
目の符号語P’が所定の ‘00a'A'b'B'c’C'd'D'’ であるか否かをパリティカウンタ8に通知し、4番目の
パリティ符号語P(10ビット)を復号器7に導く。
On the other hand, the data receiving device 1 in the receiver 330
3ab and 13b are different in the functions of the data receiving device 13, the detector 6 and the parity counter 8 described with reference to FIG. The detector 6 detects a 40-bit parity set from the data string, and the second codeword P'of the parity set is a predetermined "00a'A'b"B'c'C'd'D. ″ Is notified to the parity counter 8, and the fourth parity code word P (10 bits) is guided to the decoder 7.

【0073】パリティカウンタ8では、検出器6からの
パリティセット検出通知があるときにはカウントを休止
し、さらにパリティセット2番目の符号語P’が所定値
の場合には当該パリティセット直前までの計数値を比較
器9に出力するとともに、カウンタを初期化してパリテ
ィセット直後の符号語から再び累積計数を行なう。
The parity counter 8 suspends counting when a parity set detection notification is sent from the detector 6, and when the second codeword P ′ of the second parity set has a predetermined value, the count value up to immediately before the parity set. Is output to the comparator 9, and the counter is initialized to perform cumulative counting again from the codeword immediately after the parity set.

【0074】図9を用いた実施例によれば、データ送信
装置11a,11bにおいて、置換挿入するパリティセ
ット中にパリティ符号語とは異なる所定の識別符号語
P’を含めることができ、かつ、データ受信装置13
a,13bでは特定の識別符号語P’を含むパリティセ
ットについてパリティ比較を実施するため、複数区間ご
とのデータ伝送誤り発生を識別検出が可能になる。例え
ばデータ送信装置11a,11bにそれぞれ識別符号語 ‘0001010101’(+D23.2) ‘0001010110’(+D23.6) を割当て、データ受信装置13ab,13bでそれぞれ
の識別符号語を含むパリティセットについてパリティ比
較を行なえばよい。
According to the embodiment using FIG. 9, in the data transmitters 11a and 11b, a predetermined identification code word P'which is different from the parity code word can be included in the parity set to be replaced and inserted, and Data receiving device 13
In a and 13b, the parity comparison is performed on the parity set including the specific identification code word P ', so that it is possible to identify and detect the occurrence of a data transmission error in each of a plurality of sections. For example, the data transmitters 11a and 11b are respectively assigned identification code words '0001010101' (+ D23.2) '0001010110' (+ D23.6) and the data receivers 13ab and 13b compare the parity sets including the respective identification code words. Should be done.

【0075】これにより、データ受信装置13bにおい
て光ファイバ伝送路5bにおける誤り発生有無を検出
し、データ受信装置13abにおいて光ファイバ伝送路
5a,5b両方における誤り発生有無を検出できるの
で、どこで誤りが発生しているかを受信器330で識別
することができる。なお、図9には、受信器330に複
数のデータ受信装置13ab,13bを配備した例を示
したが、検出器6、復号器7、パリティカウンタ8、比
較器9の機能は共通なので、単一のデータ受信装置13
を配備してパリティセット2番目の符号語P’に応じて
2つの処理を識別実行するように構成してももちろんよ
い。
As a result, the data receiving device 13b can detect the presence or absence of an error in the optical fiber transmission line 5b, and the data receiving device 13ab can detect the presence or absence of an error in both the optical fiber transmission lines 5a and 5b. It can be identified by the receiver 330. Note that FIG. 9 shows an example in which a plurality of data receiving devices 13ab and 13b are provided in the receiver 330, but since the functions of the detector 6, the decoder 7, the parity counter 8, and the comparator 9 are the same, One data receiving device 13
Of course, it may be configured to identify and execute two processes according to the second codeword P ′ of the second parity set.

【0076】[0076]

【発明の効果】以上の説明から明らかなように、本発明
に関わるデータ伝送誤り監視システムならびに方法によ
れば、nB/mB符号化された連続データ列をn’本の
データ系列に分割してそれぞれのパリティを計数し、ア
イドルセットを置換してその計数値情報を転送するよう
にしたので、連続するビット誤りが発生してもそれぞれ
のデータ系列内でパリティ不一致が生じるため、連続す
るビット誤りを確実に検出できる。また、中継器におい
てパリティを計数して置換挿入するようにしたので、ビ
ット誤り発生区間が中継器より下流であると特定でき
る。
As is apparent from the above description, according to the data transmission error monitoring system and method of the present invention, an nB / mB encoded continuous data sequence is divided into n'data series. Since each parity is counted, the idle set is replaced, and the count value information is transferred, even if consecutive bit errors occur, a parity mismatch occurs in each data sequence, so consecutive bit errors occur. Can be reliably detected. Further, since the repeater counts the parity and replaces and inserts it, it can be specified that the bit error occurrence section is downstream of the repeater.

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

【図1】 本発明の第1の実施の形態であるデータ伝送
誤り監視システムのブロック図である。
FIG. 1 is a block diagram of a data transmission error monitoring system according to a first embodiment of the present invention.

【図2】 図1の監視システムの入力データ列および伝
送データ列を示すフォーマット図である。
FIG. 2 is a format diagram showing an input data string and a transmission data string of the monitoring system of FIG.

【図3】 図1の監視システムで用いる符号変換則の説
明図である。
FIG. 3 is an explanatory diagram of a code conversion rule used in the monitoring system of FIG.

【図4】 図1の監視システムで用いる符号器、検出
器、復号器の回路構成例である。
4 is a circuit configuration example of an encoder, a detector, and a decoder used in the monitoring system of FIG.

【図5】 図1の監視システムを用いた中継伝送システ
ムのブロック図である。
5 is a block diagram of a relay transmission system using the monitoring system of FIG.

【図6】 図1の監視システムの一部変更例を示すブロ
ック図である。
FIG. 6 is a block diagram showing a partially modified example of the monitoring system of FIG.

【図7】 図1の監視システムで用いる他の符号変換則
の説明図である。
FIG. 7 is an explanatory diagram of another code conversion rule used in the monitoring system of FIG.

【図8】 図7の符号変換則の符号器、検出器、復号器
の回路構成例である。
8 is a circuit configuration example of an encoder, a detector, and a decoder according to the code conversion rule of FIG.

【図9】 本発明の第2の実施の形態であるデータ伝送
誤り監視システムのブロック図である。
FIG. 9 is a block diagram of a data transmission error monitoring system according to a second embodiment of the present invention.

【図10】 図9の監視システムの入力データ列および
伝送データ列を示すフォーマット図である。
10 is a format diagram showing an input data string and a transmission data string of the monitoring system of FIG.

【図11】 従来のデータ伝送誤り監視システムのブロ
ック図である。
FIG. 11 is a block diagram of a conventional data transmission error monitoring system.

【図12】 8B/10B符号変換により直列化された
データ列を示すフォーマット図である。
FIG. 12 is a format diagram showing a data string serialized by 8B / 10B code conversion.

【図13】 8B/10B符号変換則の説明図である。FIG. 13 is an explanatory diagram of an 8B / 10B code conversion rule.

【図14】 図11の監視システムの伝送データ列を示
すフォーマット図である。
FIG. 14 is a format diagram showing a transmission data string of the monitoring system of FIG.

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

1…入力端子、2…パリティカウンタ、3…符号器、4
…置換器、5…光伝送路、6,6’…検出器、7…復号
器、8…パリティカウンタ、9…比較器、10…出力端
子、11,11a,11b…データ送信装置、13,1
3ab,13b…データ受信装置、110…送信器、2
20…中継器、230…受信器、111…符号器、12
1…再生器、129,139…復号器。
1 ... Input terminal, 2 ... Parity counter, 3 ... Encoder, 4
... Substitution device, 5 ... Optical transmission line, 6, 6 '... Detector, 7 ... Decoder, 8 ... Parity counter, 9 ... Comparator, 10 ... Output terminal, 11, 11a, 11b ... Data transmission device, 13, 1
3ab, 13b ... Data receiving device, 110 ... Transmitter, 2
20 ... Repeater, 230 ... Receiver, 111 ... Encoder, 12
1 ... Reproducer, 129, 139 ... Decoder.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−98244(JP,A) 特開 昭58−34656(JP,A) (58)調査した分野(Int.Cl.7,DB名) H03M 13/00 - 13/53 H04L 1/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-2-98244 (JP, A) JP-A-58-34656 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H03M 13/00-13/53 H04L 1/00

Claims (17)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データパケットをnビット(nは自然
数)ごとに所定のnB/mB符号変換則(mはn<mの
自然数)でmビットの符号語に変換するとともに、この
mビットの符号語に変換されたデータパケット間に1な
いし複数のmビット符号語からなるiビット(iはmの
倍数)のアイドルセットを1ないし複数個挿入し、これ
らを連続データ列としてデータ送信装置からデータ受信
装置へシリアル伝送するデータ伝送誤り監視システムで
あって、 前記データ送信装置は、 前記連続データ列を、n’本(n’はiの因数で1<
n’<m)のデータ系列に分割して各データ系列ごとに
1ビットのパリティを計数するパリティカウンタと、 前記パリティカウンタの出力するn’個(n’ビット)
のパリティを所定のn’B/mB符号変換則でmビット
のパリティ符号語に変換する符号器と、 前記連続データ列から1ないし連続する複数のアイドル
セットを検出し、これを前記符号器の出力するパリティ
符号語を含むjビット(jはiの倍数)のパリティセッ
トに置き換えて送出する置換器とを有し、 前記データ受信装置は、 受信連続データ列から前記パリティセットを検出する検
出器と、 前記パリティセットから前記n’個のパリティを復元す
る復号器と、 前記受信連続データ列を前記n’本のデータ系列に分割
して各データ系列ごとに前記パリティセットを除外して
パリティを計数するパリティカウンタと、 前記復号器出力と前記パリティカウンタ出力を比較する
比較器とを有することを特徴とするデータ伝送誤り監視
システム。
1. A data packet is converted every n bits (n is a natural number) into an m-bit code word by a predetermined nB / mB code conversion rule (m is a natural number of n <m), and the m-bit code is converted. One or a plurality of i-bit (i is a multiple of m) idle sets consisting of one or a plurality of m-bit codewords are inserted between the data packets converted into words, and these are set as a continuous data string from the data transmission device. A data transmission error monitoring system for serially transmitting to a receiving device, wherein the data transmitting device includes n ′ continuous data strings (n ′ is a factor of i <1 <
A parity counter that divides into n '<m) data sequences and counts 1-bit parity for each data sequence, and n'number (n' bits) output from the parity counter.
An encoder that converts the parity of the above into an m-bit parity code word according to a predetermined n′B / mB code conversion rule, and detects one or a plurality of idle sets from the continuous data string, and detects this from the encoder. A detector that replaces and outputs a j-bit (j is a multiple of i) parity set including a parity code word to be output, and the data receiving device detects the parity set from a reception continuous data string. A decoder for reconstructing the n'parities from the parity set, dividing the received continuous data sequence into the n'data sequences and excluding the parity set for each data sequence to determine the parity. A data transmission error monitoring system comprising: a parity counter for counting; and a comparator for comparing the output of the decoder with the output of the parity counter.
【請求項2】 請求項1記載のデータ伝送誤り監視シス
テムにおいて、 前記データ送信装置は、 前記パリティカウンタに代えて、前記連続データ列を、
n’本(n’はiの因数でm≦n’)のデータ系列に分
割して各データ系列ごとに1ビットのパリティを計数す
るパリティカウンタを有し、 前記符号器に代えて、前記パリティカウンタの出力する
n’個(n’ビット)のパリティをmビットより小さく
なるように複数の計数値に分割し、これら計数値をその
ビット数に対応する所定の符号変換則でmビットのパリ
ティ符号語にそれぞれ変換する符号器を有することを特
徴とするデータ伝送誤り監視システム。
2. The data transmission error monitoring system according to claim 1, wherein the data transmission device replaces the parity counter with the continuous data string,
There is a parity counter that divides into n'-number (n 'is a factor of i, m≤n') data series and counts 1-bit parity for each data series, and replaces the encoder with the parity counter. The n '(n'-bit) parity output from the counter is divided into a plurality of count values so as to be smaller than m bits, and these count values are m-bit parity according to a predetermined code conversion rule corresponding to the number of bits. A data transmission error monitoring system having an encoder for converting each to a code word.
【請求項3】 請求項1記載のデータ伝送誤り監視シス
テムにおいて、 前記n’本のデータ系列は、少なくとも1つの系列に属
するデータの前記シリアル連続データ列上におけるビッ
ト間隔が周期的に複数の値を繰返し、アイドルセット前
後でパリティが不変となるように選ぶことを特徴とする
データ伝送誤り監視システム。
3. The data transmission error monitoring system according to claim 1, wherein in the n ′ data series, a bit interval on the serial continuous data string of data belonging to at least one series has a plurality of cyclic values. The data transmission error monitoring system is characterized in that the parity is selected before and after the idle set is repeated so that the parity remains unchanged.
【請求項4】 請求項3記載のデータ伝送誤り監視シス
テムにおいて、 前記n’本のデータ系列は、同一系列に属するデータの
前記シリアル連続データ列上における最小ビット間隔が
最大となるように選ぶことを特徴とするデータ伝送誤り
監視システム。
4. The data transmission error monitoring system according to claim 3, wherein the n ′ data series are selected such that a minimum bit interval of data belonging to the same series on the serial continuous data string is maximized. Data transmission error monitoring system characterized by:
【請求項5】 請求項4記載のデータ伝送誤り監視シス
テムにおいて、 (n,m,i,n’)=(8,10,20,5)であっ
て、かつ前記最小ビット間隔が4であることを特徴とす
るデータ伝送誤り監視システム。
5. The data transmission error monitoring system according to claim 4, wherein (n, m, i, n ′) = (8,10,20,5) and the minimum bit interval is 4. A data transmission error monitoring system characterized in that
【請求項6】 請求項1〜5記載のデータ伝送誤り監視
システムにおいて、 前記パリティ符号語は前記nB/mB符号変換規則で生
成される符号語のいずれかに必ず一致することを特徴と
するデータ伝送誤り監視システム。
6. The data transmission error monitoring system according to claim 1, wherein the parity code word always matches any one of the code words generated by the nB / mB code conversion rule. Transmission error monitoring system.
【請求項7】 請求項1〜6記載のデータ伝送誤り監視
システムにおいて、 前記パリティセットには、前記パリティ符号語の他に識
別符号語を含むことを特徴とするデータ伝送誤り監視シ
ステム。
7. The data transmission error monitoring system according to claim 1, wherein the parity set includes an identification codeword in addition to the parity codeword.
【請求項8】 データパケットをnビット(nは自然
数)ごとに所定のnB/mB符号変換則(mはn<mの
自然数)でmビットの符号語に変換するとともに、この
mビットの符号語に変換されたデータパケット間に1な
いし複数のmビット符号語からなるiビット(iはmの
倍数)のアイドルセットを1ないし複数個挿入し、これ
らを連続データ列としてデータ送信装置からデータ受信
装置へシリアル伝送するデータ伝送誤り監視システムに
用いられるデータ送信装置において、 前記連続データ列を、n’本(n’はiの因数で1<
n’<m)のデータ系列に分割して各データ系列ごとに
1ビットのパリティを計数するパリティカウンタと、 前記パリティカウンタの出力するn’個(n’ビット)
のパリティを所定のn’B/mB符号変換則でmビット
のパリティ符号語に変換する符号器と、 前記連続データ列から1ないし連続する複数のアイドル
セットを検出し、これを前記符号器の出力するパリティ
符号語を含むjビット(jはiの倍数)のパリティセッ
トに置き換えて送出する置換器とを備えることを特徴と
するデータ送信装置。
8. A data packet is converted into an m-bit code word for every n bits (n is a natural number) by a predetermined nB / mB code conversion rule (m is a natural number of n <m), and the m-bit code is converted. One or a plurality of i-bit (i is a multiple of m) idle sets consisting of one or a plurality of m-bit codewords are inserted between the data packets converted into words, and these are set as a continuous data string from the data transmission device. In a data transmission device used in a data transmission error monitoring system for serial transmission to a reception device, the continuous data string is n'pieces (n 'is a factor of i 1 <
A parity counter that divides into n '<m) data sequences and counts 1-bit parity for each data sequence, and n'number (n' bits) output from the parity counter.
An encoder that converts the parity of the above into an m-bit parity code word according to a predetermined n′B / mB code conversion rule, and detects one or a plurality of idle sets from the continuous data string, and detects this from the encoder. A data transmitter, comprising: a replacer that replaces and outputs a j-bit (j is a multiple of i) parity set including a parity code word to be output.
【請求項9】 請求項8記載のデータ送信装置におい
て、 前記パリティカウンタに代えて、前記連続データ列を、
n’本(n’はiの因数でm≦n’)のデータ系列に分
割して各データ系列ごとに1ビットのパリティを計数す
るパリティカウンタを有し、 前記符号器に代えて、前記パリティカウンタの出力する
n’個(n’ビット)のパリティをmビットより小さく
なるように複数の計数値に分割し、これら計数値をその
ビット数に対応する所定の符号変換則でmビットのパリ
ティ符号語にそれぞれ変換する符号器を有することを特
徴とするデータ送信装置。
9. The data transmitting apparatus according to claim 8, wherein the continuous data string is replaced with the parity counter,
There is a parity counter that divides into n'-number (n 'is a factor of i, m≤n') data series and counts 1-bit parity for each data series, and replaces the encoder with the parity counter. The n '(n'-bit) parity output from the counter is divided into a plurality of count values so as to be smaller than m bits, and these count values are m-bit parity according to a predetermined code conversion rule corresponding to the number of bits. A data transmission device comprising an encoder for converting each into a code word.
【請求項10】 請求項8記載のデータ送信装置におい
て、 前記n’本のデータ系列は、少なくとも1つの系列に属
するデータの前記シリアル連続データ列上におけるビッ
ト間隔が周期的に複数の値を繰返し、アイドルセット前
後でパリティが不変となるように選ぶことを特徴とする
データ送信装置。
10. The data transmission device according to claim 8, wherein in the n ′ data series, a bit interval of data belonging to at least one series on the serial continuous data string repeats a plurality of values periodically. , A data transmission device characterized in that the parity is selected before and after the idle set.
【請求項11】 請求項10記載のデータ送信装置にお
いて、 前記n’本のデータ系列は、同一系列に属するデータの
前記シリアル連続データ列上における最小ビット間隔が
最大となるように選ぶことを特徴とするデータ送信装
置。
11. The data transmitting apparatus according to claim 10, wherein the n ′ data series are selected such that a minimum bit interval of data belonging to the same series on the serial continuous data string is maximized. And a data transmission device.
【請求項12】 請求項11記載のデータ送信装置にお
いて、 (n,m,i,n’)=(8,10,20,5)であっ
て、かつ前記最小ビット間隔が4であることを特徴とす
るデータ送信装置。
12. The data transmitting apparatus according to claim 11, wherein (n, m, i, n ′) = (8,10,20,5) and the minimum bit interval is 4. Characteristic data transmission device.
【請求項13】 請求項8〜12記載のデータ送信装置
において、 前記パリティ符号語は前記nB/mB符号変換規則で生
成される符号語のいずれかに必ず一致することを特徴と
するデータ送信装置。
13. The data transmission device according to claim 8, wherein the parity code word always matches any one of the code words generated by the nB / mB code conversion rule. .
【請求項14】 請求項8〜13記載のデータ送信装置
において、 前記パリティセットには、前記パリティ符号語の他に識
別符号語を含むことを特徴とするデータ送信装置。
14. The data transmitting apparatus according to claim 8, wherein the parity set includes an identification codeword in addition to the parity codeword.
【請求項15】 データパケットをnビット(nは自然
数)ごとに所定のnB/mB符号変換則(mはn<mの
自然数)でmビットの符号語に変換するとともに、この
mビットの符号語に変換されたデータパケット間に1な
いし複数のmビット符号語からなるiビット(iはmの
倍数)のアイドルセットを1ないし複数個挿入し、これ
らを連続データ列としてデータ送信装置からデータ受信
装置へシリアル伝送するデータ伝送誤り監視システムに
用いられるデータ受信装置において、 受信連続データ列から前記アイドルセットの代わりに挿
入されている所定のパリティセットを検出する検出器
と、 前記パリティセットからn’個のパリティを復元する復
号器と、 前記受信連続データ列をn’本のデータ系列に分割して
各データ系列ごとに前記パリティセットを除外してパリ
ティを計数するパリティカウンタと、 前記復号器出力と前記パリティカウンタ出力を比較する
比較器とを備えることを特徴とするデータ受信装置。
15. A data packet is converted into an m-bit code word for every n bits (n is a natural number) by a predetermined nB / mB code conversion rule (m is a natural number of n <m), and the m-bit code is converted. One or a plurality of i-bit (i is a multiple of m) idle sets consisting of one or a plurality of m-bit codewords are inserted between the data packets converted into words, and these are set as a continuous data string from the data transmission device. In a data receiving device used in a data transmission error monitoring system for serially transmitting to a receiving device, a detector for detecting a predetermined parity set inserted in place of the idle set from a reception continuous data string, and n from the parity set. A decoder for recovering the 'parities, and dividing the received continuous data sequence into n'series of data sequences, and for each data sequence A parity counter for counting the parity exclude Tisetto, data receiving apparatus, characterized in that it comprises a comparator for comparing the parity counter output and the decoder output.
【請求項16】 データパケットをnビット(nは自然
数)ごとに所定のnB/mB符号変換則(mはn<mの
自然数)でmビットの符号語に変換するとともに、この
mビットの符号語に変換されたデータパケット間に1な
いし複数のmビット符号語からなるiビット(iはmの
倍数)のアイドルセットを1ないし複数個挿入し、これ
らを連続データ列として送信側から受信側へシリアル伝
送するデータ伝送誤り監視方法であって、 送信側では、 前記連続データ列を、n’本(n’はiの因数で1<
n’<m)のデータ系列に分割して各データ系列ごとに
1ビットのパリティを計数し、 計数されたn’個(n’ビット)のパリティを所定の
n’B/mB符号変換則でmビットのパリティ符号語に
変換し、 前記連続データ列から1ないし連続する複数のアイドル
セットを検出して、これを前記パリティ符号語を含むj
ビット(jはiの倍数)のパリティセットに置き換えて
送出し、 受信側では、 受信連続データ列から前記パリティセットを検出し、 前記パリティセットから前記n’個のパリティを復元
し、 前記受信連続データ列を前記n’本のデータ系列に分割
して各データ系列ごとに前記パリティセットを除外して
パリティを計数し、 前記復元したパリティと前記計数したパリティとを比較
することを特徴とするデータ伝送誤り監視方法。
16. A data packet is converted into an m-bit code word for every n bits (n is a natural number) by a predetermined nB / mB code conversion rule (m is a natural number of n <m) and the m-bit code is converted. One or more i-bit (i is a multiple of m) idle set consisting of one or more m-bit code words are inserted between the data packets converted into words, and these are set as a continuous data string from the transmission side to the reception side. A data transmission error monitoring method of serially transmitting data to the transmission side, wherein the transmission side includes n ′ lines (n ′ is a factor of i, 1 <
n '<m) data sequences are divided and 1-bit parity is counted for each data sequence, and the counted n'(n'-bit) parities are converted according to a predetermined n'B / mB code conversion rule. It is converted into an m-bit parity code word, one or a plurality of consecutive idle sets is detected from the continuous data string, and this is included in the parity code word containing the parity code word.
The data is replaced with a parity set of bits (j is a multiple of i) and transmitted, and the receiving side detects the parity set from the reception continuous data string, restores the n ′ number of parity from the parity set, Data that divides a data string into the n ′ data series, excludes the parity set for each data series, counts the parity, and compares the restored parity with the counted parity. Transmission error monitoring method.
【請求項17】 請求項16記載のデータ伝送誤り監視
方法において、 前記送信側では、 前記連続データ列を、n’本(n’はiの因数でm≦
n’)のデータ系列に分割して各データ系列ごとに1ビ
ットのパリティを計数し、 計数されたn’個(n’ビット)のパリティをmビット
より小さくなるように複数の計数値に分割し、これら計
数値をそのビット数に対応する所定の符号変換則でmビ
ットのパリティ符号語にそれぞれ変換することを特徴と
するデータ伝送誤り監視方法。
17. The data transmission error monitoring method according to claim 16, wherein at the transmitting side, there are n ′ continuous data strings (where n ′ is a factor of i and m ≦).
It is divided into n ') data sequences and 1-bit parity is counted for each data sequence, and the counted n'(n'-bit) parities are divided into multiple count values so as to be smaller than m bits. Then, the data transmission error monitoring method is characterized in that each of these count values is converted into an m-bit parity code word by a predetermined code conversion rule corresponding to the number of bits.
JP2000040653A 2000-02-18 2000-02-18 Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method Expired - Lifetime JP3497435B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000040653A JP3497435B2 (en) 2000-02-18 2000-02-18 Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000040653A JP3497435B2 (en) 2000-02-18 2000-02-18 Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method

Publications (2)

Publication Number Publication Date
JP2001230678A JP2001230678A (en) 2001-08-24
JP3497435B2 true JP3497435B2 (en) 2004-02-16

Family

ID=18564002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000040653A Expired - Lifetime JP3497435B2 (en) 2000-02-18 2000-02-18 Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method

Country Status (1)

Country Link
JP (1) JP3497435B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002069534A1 (en) * 2001-02-26 2002-09-06 Photonixnet Kabushiki Kaisha Multiplexing device
US6768429B2 (en) * 2002-02-28 2004-07-27 Teknovus, Inc. Multiplexing an additional bit stream with a primary bit stream with conversion between qB/rB and xB/yB encoded bit streams
JP2003273939A (en) 2002-03-13 2003-09-26 Nec Corp Multiplex transmission system, converter and alarm transfer method
KR101008976B1 (en) * 2003-10-20 2011-01-17 삼성전자주식회사 Error Detection Method in Multimedia Streaming System
KR100696813B1 (en) 2006-01-18 2007-03-19 엘지전자 주식회사 Error detection method in DMB receiver
JP4609552B2 (en) 2008-08-22 2011-01-12 オムロン株式会社 Parallel / serial converter for optical transmission, optical transmission system, and electronic device
WO2014178275A1 (en) * 2013-04-30 2014-11-06 インターナショナル・ビジネス・マシーンズ・コーポレーション Transmission device for wireless transmission of continuous data by means of packets, reception device, communication device, program, transmission method, and reception method
WO2016098841A1 (en) * 2014-12-17 2016-06-23 三菱電機株式会社 Optical communication system and optical communication device

Also Published As

Publication number Publication date
JP2001230678A (en) 2001-08-24

Similar Documents

Publication Publication Date Title
JP3722840B2 (en) Data communication apparatus and method
US6362757B1 (en) Method and apparatus for encoding MB810 line code with the characteristics of minimum bandwidth and DC-free
US6694024B2 (en) Transmitting data words
US5699062A (en) Transmission code having local parity
JP2003289286A (en) Multiplex converter, demultiplex converter and multiplex transmission system
JP2002051033A (en) Method and system for detecting data speed for multi- speed embedded clock series receiver
US6920604B2 (en) Systems and methods for high speed serial encoding and decoding for data and control interfaces
CN102025448B (en) Common public radio interface service transmitting/receiving method and device
WO2005122505A2 (en) Method and apparatus for delineating data in an fec-coded ethernet frame
JP3497435B2 (en) Data transmission error monitoring system, data transmission device, data reception device, and data transmission error monitoring method
US7284182B2 (en) Error correction on M-bit encoded links
JP3419520B2 (en) Data communication method and device
US5046182A (en) Code points for transferring data from a network transmission medium to a station on the network
JP3217298B2 (en) nB2P code and decoding device
US6581114B1 (en) Method and system for synchronizing serial data
US8281207B2 (en) Data transmission equipment and generating method for transmission code
JPS59139747A (en) Method and apparatus for remotely monitoring equipment on a digital transmission line
CN100417058C (en) Non-Return-to-Zero Code-Coding and Decoding Device of Sign Inversion Code
JPS59183559A (en) Digital transmitter
US20010023493A1 (en) Signal used in the transmission of data in a communication system
JP2818936B2 (en) Binary data processing method and circuit
EP0355988A2 (en) Method and apparatus for transmitting and receiving characters using a balanced weight error correcting code
JP2951992B2 (en) Method and apparatus for transmitting information between stations of a communication network, especially for motor vehicles
US6275880B1 (en) Framing codes for high-speed parallel data buses
US6993700B1 (en) System and method for generating forward error correction based alarms

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R151 Written notification of patent or utility model registration

Ref document number: 3497435

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071128

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101128

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101128

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131128

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term