JPS6251336A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPS6251336A
JPS6251336A JP60189969A JP18996985A JPS6251336A JP S6251336 A JPS6251336 A JP S6251336A JP 60189969 A JP60189969 A JP 60189969A JP 18996985 A JP18996985 A JP 18996985A JP S6251336 A JPS6251336 A JP S6251336A
Authority
JP
Japan
Prior art keywords
output
data
section
count
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60189969A
Other languages
Japanese (ja)
Inventor
Yoshibumi Kikumoto
菊本 義文
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP60189969A priority Critical patent/JPS6251336A/en
Publication of JPS6251336A publication Critical patent/JPS6251336A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the efficient transmission on a transmission line by providing the 1st and 2nd consecutive '1's detecting section, the 1st and 2nd counter sections and a means using an output data of a memory section or an output data of a data inverting section as a data outputted actually to a line so as to minimize the reduction in the transmission efficiency. CONSTITUTION:A counter section 15 counting an output (b) of a consecutive '1's detection section 13 obtains number of times for insertion of '0's. On the other hand, '0' level of a data inputted in a data inverting section 14 is inverted to '1' and '1' is inverted into '0', an output pulse (c) of a consecutive '1's detection section 16 is counted by a counter section 17 to obtain the number of times to be subject to '0' insertion with respect to an inverted data. Count outputs (d, e) of the counter sections 15, 17 are inputted to a comparison circuit section 18 and when the count output (d) of the counter section 15 is a smaller than a count output (e) of the counter section 17, a comparison output (f) of '1' level is outputted and when the count output (e) is smaller than the count output (d), the output (f) of '0' level is given. A selection circuit section 19 selects an output (g) of a memory section 11 as it is when the output (f) of the comparison circuit 18 is logical '1' and selects an output (h) of the data inverting section 14 when logical '0'.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はARQ (Automatic Repeat
 Request )通信方式、特に16進で7Eのチ
ェックビットを付加するHDLC(High Lebe
l旦ata Link Control )通信方式又
はSDLC(5ynchronous Data Li
nkControl )通信方式を適用した通信制御装
置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is based on ARQ (Automatic Repeat
Request) communication system, especially HDLC (High Lebe) which adds a check bit of 7E in hexadecimal.
Data Link Control) communication method or SDLC (5 ychronous Data Li
This invention relates to a communication control device to which the nkControl) communication method is applied.

〔従来の技術〕[Conventional technology]

従来HDLC又はSDLC通信方式においては、これ−
ら通信方式のフレームフォーマットを示す第2図から分
るように、実際に送信したいデータは、情報フィールド
エにそのまま埋め込んで伝送していた。即ち、伝送単位
であるフレームは、フラグフィールドFにおけるフレー
ムの開始フラグ(2進法の01111110 、16進
の7E)に始まり、終結7ラグにて完結する形式である
。ところが実際に回線上に送出されろデータは、アドレ
スフィール、ド(Aフィールド)、制御フィールドCC
Li報フィール)’ (I) 及ヒフレームチェックフ
ィールド(Fe2)に関して、フラグフィールドFと同
−A’ターンが発生する事は必然であシ、従ってO挿入
/除去という処理規約に従って、フラグ・やターンと同
一にならない様にしている。即ち1例えば第3図に示さ
れる様に、送信データ中に1”が5個連続した時には、
送信側では、必ずパ0”を追加することにより、フラグ
・ぐターン(1”が6個連続)との区別が可能な様にす
る。第3図にOに2本のアンプラインを施したものが挿
入ゼロデータである。一方受信側では、1”が5個連続
した直後のII O#は除去することにより、送信デー
タと同一のデータが再生される訳である。この様な処理
をO挿入/除去と呼んでいる。
In conventional HDLC or SDLC communication systems, this
As can be seen from FIG. 2, which shows the frame format of this communication system, the data to be actually transmitted was transmitted by being embedded as is in the information field. That is, a frame, which is a transmission unit, starts with the frame start flag (01111110 in binary, 7E in hexadecimal) in the flag field F and ends with 7 lags. However, the data that is actually sent on the line consists of the address field, A field, and control field CC.
(I) Regarding the frame check field (Fe2), it is inevitable that the same -A' turn as in the flag field F will occur, so according to the processing convention of O insertion/removal, the flag, etc. I try not to make it the same as the turn. That is, 1. For example, as shown in FIG. 3, when there are five consecutive 1's in the transmitted data,
On the transmitting side, by always adding a 0'', it is possible to distinguish it from a flag/guturn (six consecutive 1''s). The inserted zero data is shown in FIG. 3 with two amplifier lines added to O. On the receiving side, on the other hand, by removing II O# immediately after five consecutive 1's, the same data as the transmitted data is reproduced. This process is called O insertion/removal. .

ところが1例えば第4図に示される様に、全て°′1”
の送信データを伝送しようとする場合には。
However, as shown in Fig. 4, for example, all °'1''
When attempting to transmit outgoing data.

かなシ沢山の挿入された′0”が追加されることになり
、実際の伝送効率の低下が避けられなかった。又全て°
゛0″でなくても、1”の発生の割   合の大きいデ
ータでの伝送効率低下は必至であった。ちなみに96’
 OObit/sの通信路用いて、全て°′1”のデー
タを送信する際には、実行的には8000 bit/+
 程度にならざるを得なかった。
A large number of inserted '0's were added, which inevitably reduced the actual transmission efficiency.
Even if it is not ``0'', transmission efficiency inevitably decreases with data in which a large proportion of 1'' occurs. By the way, 96'
When transmitting all °′1” data using a communication channel of OObit/s, the actual amount is 8000 bit/+
It had to be a degree.

〔発明が解決しようとする問題点〕・ 上記した様に、従来のHDLC又はSDLC通信方式で
は、データの透化性(トランスベアレンジ−)を保持す
るために、フラグフィールドF以外のフィールドでの0
挿入処理による伝送効率の低下という問題点があった。
[Problems to be solved by the invention] - As mentioned above, in the conventional HDLC or SDLC communication system, in order to maintain data transparency (transbearing range), fields other than flag field F are 0
There was a problem in that the transmission efficiency decreased due to insertion processing.

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

上記の問題を解決するための本発明の通信制御方式は、
 HDLC通信方式又はSDLC通信方式を適用した通
信制御装置において、送信すべきデータを記憶しておく
メモリ部と、前記送信すべきデータを反転するデータ反
転部と、前記メモリ部の出力データ及び前記データ反転
部の出力データに関し。
The communication control method of the present invention for solving the above problems is as follows:
A communication control device employing an HDLC communication method or an SDLC communication method includes a memory section for storing data to be transmitted, a data inversion section for inverting the data to be transmitted, output data of the memory section and the data. Regarding the output data of the inverting section.

′l”が5つ連続したときに第1及び第2のパルス出力
をそれぞれ発する第1及び第2の連続1検出部と、前記
第1及び第2の・ぐルス出力をそれぞれ計数して第1及
び第2の計数値出力を発する第1及び第2のカウンタ部
と、前記第1の計数値出力と第2の計数値出力を比較し
、該第1の計数値出力が該第2の計数値出力より小さい
値を示すときは前記メモリ部の出力データを、第2の計
数値出力が第1の計数値出力より小さい値を示すときは
前記データ反転部の出力のデータを7実際に回線に出力
するデータとする手段とを有することを特徴としている
first and second continuous 1 detection sections that respectively emit first and second pulse outputs when five 'l's occur in succession; The first and second counter units that output the first and second count value outputs compare the first count value output and the second count value output, and the first count value output is compared with the second count value output. When the second count value output indicates a smaller value than the first count value output, the output data of the memory section is used, and when the second count value output indicates a smaller value than the first count value output, the data of the output of the data inversion section is actually used. The device is characterized in that it has means for outputting data to a line.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

、   第1図は本発明の一実施例の構成を示す通信制
御装置のブロック図である。送信すべきデータとして他
部から送られてきた入力aはメモリ部11に格納されて
いる。メモリ部11の読み出しは制御部12により開始
され、連続1検出部13及びデータ反転部14に入力さ
れる。
FIG. 1 is a block diagram of a communication control device showing the configuration of an embodiment of the present invention. Input a sent from another section as data to be transmitted is stored in the memory section 11. Reading of the memory section 11 is started by the control section 12 and inputted to the consecutive 1 detection section 13 and the data inversion section 14 .

連続1検出部13はメモリ部11に入力されたデータを
チェックし、1”が5個連続した時に・卆ルスbを1回
発生させるものである。連続1検出部13の出力すを計
数するカウンタ部15により、O挿入されるべき回数が
求められる。一方。
The consecutive 1 detecting section 13 checks the data input to the memory section 11, and generates a pulse b once when there are five consecutive 1's.The output of the consecutive 1 detecting section 13 is counted. The counter unit 15 calculates the number of times O should be inserted.On the other hand.

データ反転部30に入力されたデータは、“′0”は1
”に、又to 1 nはtt O″″に反転され、連続
1検出部16の出力パルスCはカウンタ部17で計数さ
れ1反転されたデータに関して0挿入されるべき回数が
求められる。カウンタ部15及び17の計数値出力du
eは比較回路部18に入力され、カウンタ部15の計数
値出力dがカウンタ部17の計数値出力eより小さい値
を示すときはto 1 n、計数値出力eが計数値出力
dより小さい値を示すときはパ0”となる比較出力fを
発する。
In the data input to the data inversion unit 30, "'0" is 1
", and to 1 n is inverted to tt O"", and the output pulse C of the continuous 1 detection section 16 is counted by the counter section 17, and the number of times that 0 should be inserted with respect to the 1 inverted data is determined. Counter section 15 and 17 count value output du
e is input to the comparator circuit section 18, and when the count value output d of the counter section 15 indicates a smaller value than the count value output e of the counter section 17, to 1 n, the count value output e is a smaller value than the count value output d. When it indicates, a comparison output f which becomes "pa0" is generated.

選択回路部19は比較回路18の出力fがl”のときは
メモリ部11の出力gをそのまま選択し。
When the output f of the comparison circuit 18 is l'', the selection circuit section 19 selects the output g of the memory section 11 as is.

It OIIのときはデータ反転部14の出力りを選択
   □する。
When it is OII, select the output of the data inversion section 14.

メモリ部11の読み出しが完了すると、制御部   : 12は選択回路19の選択方向を固定する。この   
i状態で制御部12がメモリ部11を再度読み出しを開
始させると、メモリ部11の出力gそのまま及びその反
転データである出力りのうち0挿入の少ないものが選択
回路12で選択されて出力iとして送出され、 HDL
C又はSDLCのフレーム構成部20を介して、変復調
部21から出力りとして通信回線に送出される。従って
、メモリ部11そのままのデータ又は反転データのうち
、常に0挿入のためだ追加すべき′0”の少ない方のデ
ータがHDLC又はSDLCのフレーム内のデータとし
て送出される。
When the reading from the memory section 11 is completed, the control section 12 fixes the selection direction of the selection circuit 19. this
When the control unit 12 starts reading the memory unit 11 again in the i state, the selection circuit 12 selects the one with fewer 0 insertions among the output g of the memory unit 11 as it is and its inverted data. HDL
The signal is sent to the communication line as an output from the modulation/demodulation section 21 via the C or SDLC frame configuration section 20. Therefore, between the data in the memory unit 11 as it is or the inverted data, the data with fewer '0's to be added for 0 insertion is always sent out as data in the HDLC or SDLC frame.

上記の生データ又は反転データの選択は、第1図+7)
A、C,I、Fe2全てのフィールド忙関して実行して
もよいが、その一部たとえばエフイールドのみに適用し
てもよい。更に、Iフィールド内の更に一部分のみに適
用してもよい。
The above raw data or inverted data selection is shown in Figure 1 + 7)
It may be executed for all fields A, C, I, and Fe2, but it may also be applied to only some of them, for example, F field. Furthermore, it may be applied to only a further portion of the I field.

なおデータが反転されている事を受信側に通知するため
の方法としては、データを転送する以前に通信制御手順
により通知する方法、別の通信手段で通知する方法、■
フィールド内のみの正/反転ならばAフィールド又はC
フィールドにその旨を示すことにより通知する方法など
がある。
Methods for notifying the receiving side that the data has been reversed include a method of notifying the receiver using a communication control procedure before transferring the data, a method of notifying the receiver using another communication method,
A field or C if positive/inverted only within the field
There is a method of notifying by indicating this in a field.

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

以上説明した様に1本発明はHDLC又はSDLC通信
方式におけるO挿入処理に起因する伝送効率低下を極力
小さくすることができ、伝送路上の効率的伝送が実現で
きる効果がある。
As explained above, one aspect of the present invention is that it is possible to minimize the reduction in transmission efficiency caused by O insertion processing in HDLC or SDLC communication systems, and it is possible to realize efficient transmission on a transmission path.

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

第1図は本発明の一実施例を示す通信制御装置のブロッ
ク図、第2図はHDLC又はSDLC通信方式のフレー
ムフォーマットを示す図、第3図はO挿入処理の処理方
法と送信/受信データの関係を示す図、第4図はO挿入
処理の処理方法と送信/受信データの関係の一例を示す
図である。 記号の説明:11はメモリ部、12は制御部。 13は連続1検出部、14はデータ反転部、15はカウ
ンタ部、16は連続1検出部、17はカウンタ部、18
は比較回路、19は選択回路部。 20はフレーム構成部、21は変復調部、aは送信すべ
きデータ、b、cはパルス出力、d、eは計数値出力を
それぞれあられしている。 代理人(7783)弁理士池田憲保 も2図 F: フラグλ−ルと(2虜じ大で01111110)
A: アトしスフイールド C:智「叩フィールド ■:すI乱フィールド FCS :  フし−ムチエラキシグツイールドttn
。 [〒 −二     −。 1 L; 晃4図 ≦2.:0才拳入され乙テータ Fニア7グフーr−ルド+01llIIIO11111
1111仁送信弁り
Fig. 1 is a block diagram of a communication control device showing an embodiment of the present invention, Fig. 2 is a diagram showing a frame format of HDLC or SDLC communication system, and Fig. 3 is a processing method of O insertion processing and transmission/reception data. FIG. 4 is a diagram showing an example of the relationship between the processing method of O insertion processing and transmission/reception data. Explanation of symbols: 11 is a memory section, 12 is a control section. 13 is a continuous 1 detection section, 14 is a data inversion section, 15 is a counter section, 16 is a continuous 1 detection section, 17 is a counter section, 18
19 is a comparison circuit, and 19 is a selection circuit. Reference numeral 20 denotes a frame configuration unit, 21 a modulation/demodulation unit, a, data to be transmitted, b, c, pulse outputs, and d, e, count value outputs, respectively. Agent (7783) Patent attorney Noriyasu Ikeda also 2 Figure F: Flag λ-ru and (01111110 with 2 captives)
A: Atsushi Field C: Satoshi “Strike Field ■: Su I Ran Field FCS: Fushi-Muchieraki Twield ttn
. [〒 −2 −. 1 L; Akira 4 figure ≦2. : 0 year old fist inserted Oteta F near 7 gfould+01llIIIO11111
1111 Jin transmission valve

Claims (1)

【特許請求の範囲】[Claims] 1、HDLC通信方式又はSDLC通信方式を適用した
通信制御装置において、送信すべきデータを記憶してお
くメモリ部と、前記送信すべきデータを反転するデータ
反転部と、前記メモリ部の出力データ及び前記データ反
転部の出力データに関し、“1”が5つ連続したときに
第1及び第2のパルス出力をそれぞれ発する第1及び第
2の連続1検出部と、前記第1及び第2のパルス出力を
それぞれ計数して第1及び第2の計数値出力を発する第
1及び第2のカウンタ部と、前記第1の計数値出力と第
2の計数値出力を比較し、該第1の計数値出力が該第2
の計数値出力より小さい値を示すときは前記メモリ部の
出力データを、第2の計数値出力が第1の計数値出力よ
り小さい値を示すときは前記データ反転部の出力のデー
タを実際に回線に出力するデータとする手段とを有する
ことを特徴とする通信制御方式。
1. In a communication control device applying an HDLC communication method or an SDLC communication method, a memory section that stores data to be transmitted, a data inversion section that inverts the data to be transmitted, and output data of the memory section and Regarding the output data of the data inversion unit, first and second continuous 1 detection units that respectively generate first and second pulse outputs when five “1”s are consecutive; and the first and second pulse outputs. first and second counter units that count outputs and output first and second count values, respectively, compare the first count output and the second count output, Numerical output is the second
When the second count value output indicates a smaller value than the first count value output, the output data of the memory section is actually used, and when the second count value output indicates a smaller value than the first count value output, the output data of the data inversion section is actually used. 1. A communication control method comprising: means for outputting data to a line.
JP60189969A 1985-08-30 1985-08-30 Communication control system Pending JPS6251336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60189969A JPS6251336A (en) 1985-08-30 1985-08-30 Communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60189969A JPS6251336A (en) 1985-08-30 1985-08-30 Communication control system

Publications (1)

Publication Number Publication Date
JPS6251336A true JPS6251336A (en) 1987-03-06

Family

ID=16250212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60189969A Pending JPS6251336A (en) 1985-08-30 1985-08-30 Communication control system

Country Status (1)

Country Link
JP (1) JPS6251336A (en)

Similar Documents

Publication Publication Date Title
CA1218436A (en) Data transmitting and receiving apparatus
US4447903A (en) Forward error correction using coding and redundant transmission
US5301186A (en) High speed transmission line interface
US4332027A (en) Local area contention network data communication system
CA2377807A1 (en) System and method for implementing hybrid automatic repeat request using parity check combining
US4750176A (en) Single-channel communication bus system and station for use in such system
JPH0419731B2 (en)
US4471485A (en) Method of protection against errors in transmission of radiotelegraph messages and a device for the application of said method
US20050144339A1 (en) Speculative processing of transaction layer packets
JPS6251336A (en) Communication control system
GB2029170A (en) Error detection and correction system
EP0069382A1 (en) Loop type data highway system
US6647527B2 (en) Method of communication with improved acknowledgment of reception
KR100224519B1 (en) Message-oriented bank controller interface
JPS59178831A (en) Data transmission system
JPH098671A (en) Bus transmission system
JP2874983B2 (en) Communication device
JPS61100043A (en) Transmitter for multiple address communication
JPH09326782A (en) Serial communication method
JPS589449A (en) Data message decoding system
JPH0251934A (en) Link layer control system
JPS62281049A (en) Data communication circuit
JPS60198931A (en) Data communication system
JPH0313038A (en) Asynchronous serial data transmitter
JPH0444156A (en) Transfer data generating device