JPH044785B2 - - Google Patents

Info

Publication number
JPH044785B2
JPH044785B2 JP61100126A JP10012686A JPH044785B2 JP H044785 B2 JPH044785 B2 JP H044785B2 JP 61100126 A JP61100126 A JP 61100126A JP 10012686 A JP10012686 A JP 10012686A JP H044785 B2 JPH044785 B2 JP H044785B2
Authority
JP
Japan
Prior art keywords
transmission
data
frame
pattern
scramble
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
JP61100126A
Other languages
Japanese (ja)
Other versions
JPS62257237A (en
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 filed Critical
Priority to JP61100126A priority Critical patent/JPS62257237A/en
Publication of JPS62257237A publication Critical patent/JPS62257237A/en
Publication of JPH044785B2 publication Critical patent/JPH044785B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 〔概要〕 本発明はマーク率によつてマーク判定レベルを
自動調整する伝送装置の伝送方式であつて、送信
部側に、スクランブルパターンジエネレータと、
その初期パターン変更機構と、伝送エラーを検出
し再送する再送機構とを備え、伝送フレームにス
クランブルをかけることによつて、マーク率を改
善し伝送効率を高くするとともに、エラー発生に
より再送する毎にスクランブルの初期パターンを
変更することによつて、再送でリカバリされる確
率を高めて信頼度を高くしたスクランブル伝送方
式である。
[Detailed Description of the Invention] [Summary] The present invention is a transmission system for a transmission device that automatically adjusts a mark determination level based on a mark rate, and includes a scramble pattern generator on the transmission section side;
It is equipped with an initial pattern change mechanism and a retransmission mechanism that detects transmission errors and retransmits them, and by scrambling the transmission frame, it improves the mark rate and increases transmission efficiency. This is a scramble transmission method that improves reliability by increasing the probability of recovery through retransmission by changing the initial scramble pattern.

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

本発明は伝送装置に関するもので、特に光伝送
に適なものであり、伝送効率が高くかつ伝送エラ
ーが発生しても再送によつてリカバリされる確率
の高い伝送装置の伝送方式に関する。
The present invention relates to a transmission device, and is particularly suitable for optical transmission, and relates to a transmission method for a transmission device that has high transmission efficiency and has a high probability of being recovered by retransmission even if a transmission error occurs.

〔従来の技術〕[Conventional technology]

近年、光フアイバーケーブルを用いた光伝送装
置は、外来ノイズの影響を受けないことや、低損
失、広帯域などの特徴が買われて多方面に利用さ
れている。この光伝送装置の受信側においては、
光フアイバーの距離に依存する光信号の0/1を
検出するためのレンジをダイナミツクに変える
AGC(オートマチツクゲインコントロール)回路
が用いられている。このAGC回路は通常、ビツ
トシリアルに伝送されるデータにおけるマーク率
(伝送時間に対するマーク時間の割合)が50%の
ときに、信号の1/0を判定する適当なスレシホ
ールドレベルを与えている。その結果0信号即ち
スペースがあまり長く続くとこのスレシホールド
を下げてしまい、後続の1/0の判定が正確に出
来なくなつてしまう。従つてNRZ符号等の使用
は望ましくなかつた。
In recent years, optical transmission devices using optical fiber cables have been used in a wide variety of fields due to their characteristics such as being unaffected by external noise, low loss, and wide bandwidth. On the receiving side of this optical transmission device,
Dynamically change the range for detecting 0/1 of the optical signal depending on the distance of the optical fiber
An AGC (automatic gain control) circuit is used. This AGC circuit normally provides an appropriate threshold level to determine whether the signal is 1/0 when the mark rate (ratio of mark time to transmission time) in data transmitted bit serially is 50%. . As a result, if the 0 signal, that is, the space continues for too long, this threshold will be lowered, making it impossible to accurately determine the subsequent 1/0. Therefore, it was not desirable to use NRZ codes or the like.

そこで従来の光伝送方式は、1ビツトの信号を
2ビツトによりたとえば1信号を1,0で、0信
号を0,1で表現することにより、またはCMI
符号やDMI符号などの冗長符号を用いることで
マーク率を50%としたり、スクランブルをかけて
統計的性質によりマーク率を50%に近づける方法
が採用されていた。
Therefore, in conventional optical transmission systems, a 1-bit signal is expressed as 2 bits, for example, 1 signal is expressed as 1, 0, 0 signal is expressed as 0, 1, or CMI
The mark rate was set at 50% by using a redundant code such as a code or a DMI code, or the mark rate was approached to 50% by scrambling due to statistical properties.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記従来の冗長符号を用いる光
伝送方式では、NRZ符号を用いた場合の2倍の
帯域が必要となり、伝送効率が1/2になる欠点を
有していた。このため例えばCPUシステムでの
高速伝送に用いるものとして適したものとは言え
なかつた。一方、スクランブルをかける光伝送方
式では、伝送効率が低下する欠点はないものの、
統計的性質を用いてマーク率が50%になることを
期待しているので、確率的にはマーク率が50%か
らかけ離れた条件の悪いスクランブルパターンも
発生して、伝送エラーが発生する場合があり、し
かも再送を行う場合も上記条件の悪いスクランブ
ルパターンで行なつていたので、回復不可能なエ
ラーとなる場合もあるという問題点を有してい
た。
However, the conventional optical transmission system using redundant codes described above requires twice the bandwidth as when using NRZ codes, and has the disadvantage that the transmission efficiency is halved. For this reason, it could not be said to be suitable for use in high-speed transmission in CPU systems, for example. On the other hand, optical transmission methods that involve scrambling do not have the disadvantage of decreasing transmission efficiency, but
Since we expect the mark rate to be 50% using statistical properties, there is a probability that an unsatisfactory scramble pattern with a mark rate far from 50% will occur, resulting in transmission errors. Moreover, even when retransmission is performed, it is performed using a scrambling pattern with poor conditions as described above, which poses the problem that an unrecoverable error may occur.

本発明は上記問題点を解決するものであつて、
伝送効率が低下せず、しかも信頼度を高めたスク
ランブル伝送方式を提供することを目的とする。
The present invention solves the above problems, and includes:
It is an object of the present invention to provide a scramble transmission method that does not reduce transmission efficiency and has increased reliability.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理を説明するブロツク図で
ある。
FIG. 1 is a block diagram illustrating the principle of the present invention.

本発明の上記目的を達成するための手段は、伝
送フレームのマーク率によつて受信側におけるマ
ークの判定レベルを自動調整する伝送装置におい
て、伝送フレームにスクランブルをかけるスクラ
ンブルパターンジエネレータ1と、該スクランブ
ルパターンジエネレータ1の初期パターンを変更
する初期パターン変更機構2と、伝送エラーを検
出し伝送フレームを少くとも1回は再送する再送
機構3とを送信部4側に備え、少くとも上記伝送
エラーを検出して再送するときは上記スクランブ
ルパターンジエネレータ1の初期パターンを変更
するようにしたスクランブル伝送方式である。
Means for achieving the above object of the present invention is a transmission device that automatically adjusts the mark determination level on the receiving side according to the mark rate of the transmission frame, and includes a scramble pattern generator 1 that scrambles the transmission frame; The transmitting unit 4 side is equipped with an initial pattern changing mechanism 2 that changes the initial pattern of the scramble pattern generator 1, and a retransmitting mechanism 3 that detects a transmission error and retransmits the transmission frame at least once. This is a scramble transmission method in which the initial pattern of the scramble pattern generator 1 is changed when detecting and retransmitting.

〔作用〕 再送機構3は受信側からの応答やタイムアウト
監視により、伝送エラーを検出し再送を行なう。
この再送を行なうとき、前回のスクランブルパタ
ーンのときの初期パターンとは別の初期パターン
に基づいて、スクランブルパターンジエネレータ
1でスクランブルパターンを作成し、スクランブ
ルをかけることによつて、条件の悪いスクランブ
ルパターンで発生した伝送エラーをリカバリする
確率を高くする。この再送を繰り返せばその都度
初期パターン変更機構2によつて初期パターンが
変更されるので、さらに前記確率を高めて信頼度
を向上させることができる。初期パターンは受信
側でのデスクランブルのために伝送フレームの先
頭で送られる。
[Operation] The retransmission mechanism 3 detects a transmission error by monitoring responses from the receiving side and timeouts, and performs retransmission.
When performing this retransmission, the scramble pattern generator 1 creates a scramble pattern based on an initial pattern different from the initial pattern used for the previous scramble pattern, and by performing scrambling, it is possible to eliminate scramble patterns with poor conditions. Increasing the probability of recovering a transmission error that occurs. If this retransmission is repeated, the initial pattern is changed by the initial pattern changing mechanism 2 each time, so that the probability can be further increased and the reliability can be improved. The initial pattern is sent at the beginning of the transmission frame for descrambling at the receiving end.

〔実施例〕〔Example〕

本発明を実施例と図面に基づいて詳細に説明す
る。
The present invention will be explained in detail based on examples and drawings.

まず本発明をCPUシステムのチヤネル装置と
I/Oインターフエイス間に適用した実施例を述
べる。第4図はその適用例を示すブロツク図であ
る。従来のチヤネル装置とI/Oインターフエイ
ス間で伝送を行なう場合は、同軸ケーブル等を用
いて直接伝送を行なつていたが、この方法ではせ
いぜい120m程度しか距離を延ばせなかつた。即
ち、そのデータ転送においては一データ毎にイン
タロツクがとられているため、ケーブルによる信
号の往復遅延によつて伝送スピードが落ちるため
であつた。そこで本実施例ではチヤネル装置(以
下CHと記す)7側にはアダプタ7aを、I/O
インターフエイス(以下IFと記す)8側にはア
ダプタ8aを設けてその間を光フアイバー5で光
伝送を行なうようにして数Kmにまで伝送距離を延
長可能としたものである。上記インタロツクは
CH7とアダプタ7a間およびIF8とアダプタ8
a間で行なわれ、光伝送による遅延には影響され
ない。
First, an embodiment in which the present invention is applied between a channel device and an I/O interface of a CPU system will be described. FIG. 4 is a block diagram showing an example of its application. When transmitting data between a conventional channel device and an I/O interface, direct transmission was performed using a coaxial cable or the like, but this method could only extend the distance by about 120 meters at most. That is, since an interlock is taken for each piece of data in the data transfer, the transmission speed is reduced due to the round trip delay of the signal due to the cable. Therefore, in this embodiment, an adapter 7a is installed on the channel device (hereinafter referred to as CH) 7 side, and an I/O
An adapter 8a is provided on the interface (hereinafter referred to as IF) 8 side, and optical fiber 5 is used to perform optical transmission between them, thereby making it possible to extend the transmission distance to several kilometers. The above interlock is
Between CH7 and adapter 7a and between IF8 and adapter 8
It is carried out between A and A and is not affected by delays due to optical transmission.

第2図は本発明を実施した第4図におけるアダ
プタ7aの回路例を示す回路構成図である。制御
部6はアダプタ内の回路に指令やデータを与え
て、CH7とのデータ転送の制御や光伝送の送受
信制御を行なう。CH7とのデータ転送はインタ
ロツク制御部9によりBUS IN,BUS OUT線
上のデータをTAG IN,TAG OUTのやり取り
によつて受け渡しする。CH7からの伝送データ
の転送は光伝送とは非同期に行なうために、例え
ばブロツク単位(64バイト)などの所定容量まで
バツフアメモリ(以下BMと記す)10ヘライト
される。ECC11はBM10からのリード時にエ
ラーをチエツクし訂正する回路で、ECCG12は
そのためのエラーチエツク訂正用ビツトをライト
時に付加する回路である。ライトカウンタ13
は、BM10にライトする毎にインクリメントさ
れBM10にライトアドレスを与えると共に、そ
のカウンタ値はBM10内にデータがライトされ
ていることを示す。リードカウンタ14は、初期
値が0にセツトされ、伝送のためにBM10をリ
ードするときにインクリメントされてリードアド
レスを与える。比較器15は、ライトカウンタ1
3とリードカウンタ14の値を比較することによ
り、不一致であれば伝送データがまだ存在するこ
とを判定し、特定のビツト群が一致すれば最終デ
ータであることなどを判定する。
FIG. 2 is a circuit configuration diagram showing an example of the circuit of the adapter 7a in FIG. 4 in which the present invention is implemented. The control unit 6 gives commands and data to the circuits within the adapter to control data transfer with the CH 7 and control transmission and reception of optical transmission. Data transfer with CH7 is performed by the interlock control unit 9 by exchanging data on the BUS IN and BUS OUT lines through TAG IN and TAG OUT. Since the transmission data from CH7 is transferred asynchronously with optical transmission, data is written to a buffer memory (hereinafter referred to as BM) 10 up to a predetermined capacity, for example in block units (64 bytes). The ECC 11 is a circuit that checks and corrects errors when reading from the BM 10, and the ECCG 12 is a circuit that adds error check and correction bits during writing. light counter 13
is incremented every time a write is made to the BM10, giving a write address to the BM10, and its counter value indicates that data has been written into the BM10. The read counter 14 has an initial value set to 0 and is incremented to provide a read address when reading the BM 10 for transmission. Comparator 15 is write counter 1
3 and the value of the read counter 14, if they do not match, it is determined that the transmitted data still exists, and if a specific bit group matches, it is determined that the data is the final data.

送信部4の回路構成を述べる。伝送データは後
記するようにフレーム構成されて伝送される。伝
送データはBM10からリードされて、トランス
ミツシヨンフレームレジスタ(以下TFRと記す)
16の所定ビツト位置にセツトされる。この
TFR16の内容はEXC回路を介して所定の伝送
フオーマツトにアラインメントされてパラレルシ
リアル交換レジスタ(以下TSRと記す)18へ
セツトされる。TSR18の伝送データは伝送用
のクロツクによりシフトされて、シリアル信号に
変換され、スクランブルパターンジエネレータ
(以下SCRと記す)1で生成するパターンとEOR
回路1aでエクスクルーシブオアされて、光変調
回路19、光フアイバー5aを介しアダプタ8a
に伝送される。初期パターン変更機構2はスクラ
ンブルカウンタ(以下SCRCと記す)2aとカウ
ンタ更新回路2bとから成り、SCRC2aは少く
とも再送制御部3aの指示により、再送時にはカ
ウンタ更新回路2bを介してカウンタ値が更新さ
れる。ただし本実施例では後記するように一連の
ブロツク伝送開始毎に更新を行なうが、再送時に
も当然その開始毎に更新される。SCRC2aのカ
ウンタ値はSCR1aに初期パターンとして与え
られるほか、先頭の伝送フレームの伝送時に
TFR16にセツトされる。タイムフイルジエネ
レータ(TFG)20は、伝送データがTFRにセ
ツトされていない場合にタイムフイルフレームを
ダミーとして常時伝送する。そのタイムフイルフ
レームのパターンはマーク率がほぼ50%のフオー
マツトとなつている。
The circuit configuration of the transmitter 4 will be described. Transmission data is transmitted in a frame structure as described later. Transmission data is read from BM10 and sent to the transmission frame register (hereinafter referred to as TFR).
16 predetermined bit positions. this
The contents of the TFR 16 are aligned to a predetermined transmission format via an EXC circuit and set in a parallel serial exchange register (hereinafter referred to as TSR) 18. The transmission data of the TSR 18 is shifted by the transmission clock and converted into a serial signal, which is then combined with the pattern generated by the scramble pattern generator (hereinafter referred to as SCR) 1 and the EOR.
Exclusive-ORed in circuit 1a, optical modulation circuit 19, and adapter 8a via optical fiber 5a.
transmitted to. The initial pattern change mechanism 2 consists of a scramble counter (hereinafter referred to as SCRC) 2a and a counter update circuit 2b, and the SCRC 2a updates the counter value via the counter update circuit 2b during retransmission at least according to instructions from the retransmission control section 3a. Ru. However, in this embodiment, as will be described later, the information is updated every time a series of block transmissions start, but it is also updated every time a series of block transmissions starts. The counter value of SCRC2a is given to SCR1a as an initial pattern, and also when transmitting the first transmission frame.
Set to TFR16. A time file generator (TFG) 20 always transmits a time file frame as a dummy when transmission data is not set in the TFR. The time file frame pattern has a mark rate of approximately 50%.

次に受信部21の回路構成を述べる。光フアイ
バー5bを介して伝送された光信号は光復調回路
22を介して1/0を識別される。この光復調回
路22は前述したAGC回路が含まれている。復
調された信号はデスクランブル回路23により、
データのみが選択的にデスクランブルされ、シリ
アルパラレル交換レジスタ(以下RSRと記す)
24に入力されてパラレル信号に交換され、
EXC回路25を介して必要な配列にアラインメ
ントされ、受信フレームレジスタ26にセツトさ
れる。受信フレームレジスタ26のデータは
CRCチエツク等のエラーチエツクがなされて、
制御部6ないしはインタロツク制御部9を介し
CH7へ転送される。アダプタ7aが伝送データ
の受け側の場合、CRCチエツクがエラーであれ
ば制御部6により再送を要求するコマンドフレー
ムが伝送される。アダプタ7aが伝送データの送
り側であれば受信する伝送フレームは相手側から
のコマンドフレームであり、後述するように後続
データの要求コマンド(RRコマンド)と、再送
要求コマンド(RNRコマンド)とが送られてく
る。
Next, the circuit configuration of the receiving section 21 will be described. The optical signal transmitted via the optical fiber 5b is identified as 1/0 via the optical demodulation circuit 22. This optical demodulation circuit 22 includes the above-mentioned AGC circuit. The demodulated signal is sent to the descrambling circuit 23.
Only the data is selectively descrambled and serial parallel exchange register (hereinafter referred to as RSR)
24 and exchanged into a parallel signal,
It is aligned to the required sequence via the EXC circuit 25 and set in the receive frame register 26. The data in the receive frame register 26 is
Error checks such as CRC check are performed,
via the control section 6 or interlock control section 9
Transferred to CH7. When the adapter 7a is the receiving side of the transmitted data, if the CRC check is an error, the control unit 6 transmits a command frame requesting retransmission. If the adapter 7a is the sending side of the transmission data, the transmission frame received is a command frame from the other side, and as described later, the subsequent data request command (RR command) and retransmission request command (RNR command) are sent. It's coming.

次に再送機構の構成は再送制御部3aとタイム
アウト監視タイマー(以下タイマーと略記する)
3bなどから成る。タイマー3bはブロツク伝送
の開始でセツトされ、後続のデータ要求コマンド
(RRコマンド)の応答があるとリセツトされる。
このタイマー2bにより無応答時には伝送エラー
と判断して再送を行なう。データの送り側で前記
応答を待たずに複数ブロツクを送ることもでき、
タイムアウトとなつた場合はデータの受け側に対
して、どこまでのデータを受信したかシーケンス
番号の報告を要求するコマンドを発することがで
き、その報告によりその次のデータブロツクから
再送する。また再送制御部3aは、データの受け
側からのコマンドフレームがRNRコマンドであ
つた場合には、伝送エラーと判断してそのシーケ
ンス番号の一つ前のデータブロツクから再送す
る。
Next, the retransmission mechanism consists of a retransmission control section 3a and a timeout monitoring timer (hereinafter abbreviated as timer).
It consists of 3b etc. Timer 3b is set at the start of block transmission, and reset when there is a response to the subsequent data request command (RR command).
When there is no response, this timer 2b determines that there is a transmission error and retransmits. It is also possible to send multiple blocks without waiting for the response on the data sending side,
If a timeout occurs, a command can be issued to the data receiving side to request a sequence number report indicating how much data has been received, and based on that report, data will be retransmitted from the next data block. Furthermore, if the command frame from the data receiving side is an RNR command, the retransmission control unit 3a determines that there is a transmission error and retransmits the data block starting from the previous data block of the sequence number.

第3図はSCRC2aのカウンタ更新回路の実施
例である。本回路例では先頭フレームを伝送する
毎に毎回SCRC2aのカウンタ値を更新する。即
ちブロツク伝送リクエストが発生し、ブロツク伝
送フリツプフロツプ(以下フリツプフロツプを
FFと略記する)101がセツトされると、最終
フレーム送信済FF102がリセツトされていて
所定条件が整つていれば、先頭フレーム送信待ち
FF102がセツトされる。続いて、TFR16が
セツト有効になると、このタイミングによつて
SCRC2aを更新する。なお最終フレーム送信待
ちFF103は、比較器15aまたは15bで最
終フレームデータが検出されるとセツトされる。
FIG. 3 shows an embodiment of the counter update circuit of the SCRC 2a. In this circuit example, the counter value of SCRC2a is updated every time the first frame is transmitted. That is, a block transmission request is generated, and a block transmission flip-flop (hereinafter referred to as flip-flop) is generated.
When FF (abbreviated as FF) 101 is set, if the last frame transmitted FF 102 is reset and predetermined conditions are met, the first frame transmission wait is started.
FF102 is set. Subsequently, when TFR16 becomes set effective, this timing causes
Update SCRC2a. Note that the final frame transmission wait FF 103 is set when the final frame data is detected by the comparator 15a or 15b.

以上CH7側のアダプタ7aの構成を述べた
が、IF8側のアダプタ8aの構成もほぼ同様で
あり、CH7とIF8とは双方向にデータの伝送が
行なえる。
Although the configuration of the adapter 7a on the CH7 side has been described above, the configuration of the adapter 8a on the IF8 side is almost the same, and data can be transmitted bidirectionally between CH7 and IF8.

以上の構成の本実施例の作用を述べる。本実施
例における伝送フレームは、第5図、第6図、第
7図に示すように、先頭フレーム、所定数の中間
フレーム、最終フレームから成り、1フレームは
40ビツトで構成され、4バイトのレコードが載せ
られる。各フレームには、共通して所定ビツト位
置にFF,CC,PS,DLの各コードが配置される。
FFコードはデータフレームの識別子であつて、
通常01でありこれが11であればタイムフイル
であることを示す。CCコードはそのフレームが
先頭フレーム(CC=00)であるか、中間フレー
ム(CC=01)であるか、最終フレーム(CC=
11)であるか示す。なおコマンドフレームの場合
はCC=10となる。PSコードはパイロツトシグナ
ルを示し、1フレーム伝送される毎に01と10に反
転される。このパイロツトシグナルの予測判定に
よりイニシヤル時のデータフレームの始まりを認
識する。DLコードは各フレーム内のデータの有
効数を示す。第5図の先頭フレームにおいて、
SCPにはスクランブルの初期パターンが、N(S)
にはデータブロツクのシーケンス番号が、残りの
レコード部には2バイトのデータが夫々載せられ
る。N(S)のシーケンス番号は受け側において、
次に受けるべきシーケンス番号と比較チエツクが
なされる。第6図の中間フレームには、最大4バ
イトのデータが載せられる。第7図の最終フレー
ムには、最大2バイトのデータと、データチエツ
ク用のCRCチエツクコードが載せられる。本実
施例では上記データのみに選択的にスクランブル
がかけられる。
The operation of this embodiment with the above configuration will be described. The transmission frame in this embodiment consists of a first frame, a predetermined number of intermediate frames, and a final frame, as shown in FIGS. 5, 6, and 7. One frame is
It consists of 40 bits and carries a 4-byte record. In each frame, FF, CC, PS, and DL codes are commonly arranged at predetermined bit positions.
FF code is a data frame identifier,
Usually it is 01, and if it is 11, it indicates a time fill. The CC code indicates whether the frame is the first frame (CC=00), intermediate frame (CC=01), or last frame (CC=00).
11). Note that in the case of a command frame, CC=10. The PS code indicates a pilot signal and is inverted to 01 and 10 every time one frame is transmitted. The beginning of the data frame at the initial time is recognized by predictive judgment of this pilot signal. The DL code indicates the valid number of data in each frame. In the first frame of Fig. 5,
The initial scramble pattern for SCP is N(S)
contains the sequence number of the data block, and the remaining record parts contain 2-byte data. The sequence number of N(S) is
A comparison check is made with the next sequence number to be received. The intermediate frame in FIG. 6 carries a maximum of 4 bytes of data. The final frame in FIG. 7 carries a maximum of 2 bytes of data and a CRC check code for data check. In this embodiment, only the above data is selectively scrambled.

第8図はコマンドフレームでコマンド部には前
述したRRコマンド(正常受信時)ないしはRNR
コマンド(エラー受信時)が、N(R)には次に
受信すべきデータブロツクのシーケンス番号が指
示される。第9図はタイムフイルフレームを示
し、ほぼマーク率50%に構成されて上記データ伝
送フレームが伝送されないときにダミーとして伝
送され、AGC回路の正常作動を確保すると共に、
FFコードによつて受け側において識別され捨て
られる。
Figure 8 shows a command frame, and the command part contains the above-mentioned RR command (when received normally) or RNR.
When receiving a command (when an error is received), the sequence number of the next data block to be received is specified in N(R). FIG. 9 shows a time fill frame, which is configured with a mark rate of approximately 50% and is transmitted as a dummy when the data transmission frame is not transmitted, to ensure normal operation of the AGC circuit, and
It is identified and discarded at the receiving end by the FF code.

再送機構2においては上記RNRコマンドが来
たとき、またはブロツク伝送を開始してからタイ
マー3bにセツトされた所定時間が経てもなお、
受け側からRRコマンドまたはRNRコマンドのい
ずれも応答がないとき動作し再送を指示する。伝
送したデータがマーク率の悪いパターンであつた
場合は、受け側におけるCRCチエツクエラーか、
シーケンス番号の不一致となつて現れるので、そ
の場合のRNRコマンドの応答によつて再送する。
再送毎にスクランブルパターンジエネレータ1の
初期値は更新されるので、上記マーク率の悪いパ
ターンが解消される確率が高くなり、この再送を
繰り返すほどリカバリされる率が高くなつて伝送
の信頼度が向上する。
In the retransmission mechanism 2, when the above-mentioned RNR command arrives or even after the predetermined time set in the timer 3b has elapsed since the start of block transmission,
It operates when there is no response to either the RR or RNR command from the receiving side and instructs retransmission. If the transmitted data has a pattern with a poor mark rate, it may be a CRC check error on the receiving side, or
This appears as a sequence number mismatch, so retransmission is performed in response to the RNR command in that case.
Since the initial value of the scramble pattern generator 1 is updated every time it is retransmitted, the probability that the pattern with a poor mark rate will be resolved increases.The more this retransmission is repeated, the higher the recovery rate becomes, increasing the reliability of the transmission. improves.

なお本発明は上記実施例に限るものではなく、
他の一般的な伝送に使用できまた光伝送以外でも
適用できるなど、本発明の主旨に沿つて種々の応
用、実施態様を取り得るものである。
Note that the present invention is not limited to the above embodiments,
It can be used for other general transmissions, and can be applied to things other than optical transmission, and various applications and embodiments can be taken in accordance with the gist of the present invention.

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

以上述べたように本発明によれば、スクランブ
ル伝送による伝送効率の向上を得ることができる
とともに、信頼度を向上させ得るスクランブル伝
送方式を提供することができる。
As described above, according to the present invention, it is possible to improve transmission efficiency through scrambled transmission, and to provide a scrambled transmission method that can improve reliability.

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

第1図は本発明の原理説明用ブロツク図、第2
図は本発明を実施したアダプタの回路構成図、第
3図はスクランブルカウンタの更新回路の実施
例、第4図は本発明の適用例を示すブロツク図、
第5図ないし第9図は伝送フレームのフオーマツ
ト図である。 1……スクランブルパターンジエネレータ、2
……初期パターン変更機構、2a……スクランブ
ルカウンタ、2b……カウンタ更新回路、3……
再送機構、3a……再送制御部、3b……タイム
アウト監視タイマー、4……送信部。
Figure 1 is a block diagram for explaining the principle of the present invention, Figure 2 is a block diagram for explaining the principle of the present invention.
FIG. 3 is a circuit diagram of an adapter implementing the present invention, FIG. 3 is an embodiment of a scramble counter update circuit, and FIG. 4 is a block diagram showing an example of application of the present invention.
5 to 9 are format diagrams of transmission frames. 1... Scramble pattern generator, 2
...Initial pattern change mechanism, 2a... Scramble counter, 2b... Counter update circuit, 3...
Retransmission mechanism, 3a... Retransmission control unit, 3b... Timeout monitoring timer, 4... Transmission unit.

Claims (1)

【特許請求の範囲】[Claims] 1 伝送フレームのマーク率によつて受信側にお
けるマークの判定レベルを自動調整する伝送装置
において、伝送フレームにスクランブルをかける
スクランブルパターンジエネレータ1と、該スク
ランブルパターンジエネレータ1の初期パターン
を変更する初期パターン変更機構2と、伝送エラ
ーを検出し伝送フレームを少くとも1回は再送す
る再送機構3とを送信部4側に備え、少くとも上
記伝送エラーを検出して再送するときは上記スク
ランブルパターンジエネレータ1の初期パターン
を変更することを特徴とするスクランブル伝送方
式。
1 In a transmission device that automatically adjusts the mark determination level on the receiving side according to the mark rate of the transmission frame, there is a scramble pattern generator 1 that scrambles the transmission frame, and an initial generator that changes the initial pattern of the scramble pattern generator 1. The transmitter 4 side includes a pattern change mechanism 2 and a retransmission mechanism 3 that detects a transmission error and retransmits the transmission frame at least once, and at least when detecting the transmission error and retransmitting the transmission frame, the scramble pattern generator A scrambled transmission method characterized by changing the initial pattern of the generator 1.
JP61100126A 1986-04-30 1986-04-30 Scramble transmission system Granted JPS62257237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61100126A JPS62257237A (en) 1986-04-30 1986-04-30 Scramble transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61100126A JPS62257237A (en) 1986-04-30 1986-04-30 Scramble transmission system

Publications (2)

Publication Number Publication Date
JPS62257237A JPS62257237A (en) 1987-11-09
JPH044785B2 true JPH044785B2 (en) 1992-01-29

Family

ID=14265630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61100126A Granted JPS62257237A (en) 1986-04-30 1986-04-30 Scramble transmission system

Country Status (1)

Country Link
JP (1) JPS62257237A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2734047B2 (en) * 1989-01-13 1998-03-30 日本電気株式会社 Data scrambler
KR100811376B1 (en) * 2001-08-25 2008-03-07 엘지전자 주식회사 Encoding and Decoding Methods in Communication Systems

Also Published As

Publication number Publication date
JPS62257237A (en) 1987-11-09

Similar Documents

Publication Publication Date Title
US11347580B2 (en) Method of encoding data
CA2377807C (en) System and method for implementing hybrid automatic repeat request using parity check combining
US8103942B2 (en) Data transmission apparatus, data transmission device, data reception device and data transmission system
US5191326A (en) Communications protocol for digital telemetry system
KR940002195B1 (en) Universal protocol data receiver
EP0525985B1 (en) High speed duplex data link interface
JPS5866448A (en) Error detecting system for exchange of packet
US5524218A (en) Dedicated point to point fiber optic interface
JP2004180295A (en) System and method for detecting lost message transmitted between modules in communication device
JP2008294757A (en) Data transmitting apparatus, data sending apparatus, data receiving apparatus and data transmission system
CN112084137A (en) SerDes high-robustness transceiver circuit
US5734341A (en) Encoding digital data
US20230299879A1 (en) Error-tolerant forward error correction ordered set message decoder
US20050144339A1 (en) Speculative processing of transaction layer packets
JP2648752B2 (en) Device that guarantees accurate decoding of data information
JPH044785B2 (en)
EP0355988A2 (en) Method and apparatus for transmitting and receiving characters using a balanced weight error correcting code
WO2022179407A1 (en) Data encoding method, data decoding method and related device
US6647527B2 (en) Method of communication with improved acknowledgment of reception
GB2120055A (en) Data communication system
JP2024135820A (en) Transmitting device, receiving device, and transmitting/receiving system
JPS61101138A (en) Frame synchronization method
CN121501726A (en) Data interaction methods, data processing devices and storage media
JPS61288638A (en) Data transmission method using start-stop synchronization
CN121262220A (en) Communication method, communication device and electronic equipment