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
JPS6142989B2 - - Google Patents
[go: Go Back, main page]

JPS6142989B2 - - Google Patents

Info

Publication number
JPS6142989B2
JPS6142989B2 JP55057649A JP5764980A JPS6142989B2 JP S6142989 B2 JPS6142989 B2 JP S6142989B2 JP 55057649 A JP55057649 A JP 55057649A JP 5764980 A JP5764980 A JP 5764980A JP S6142989 B2 JPS6142989 B2 JP S6142989B2
Authority
JP
Japan
Prior art keywords
bit
data
line
circuit
fractional
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
Application number
JP55057649A
Other languages
Japanese (ja)
Other versions
JPS56154852A (en
Inventor
Toshuki Odakawa
Yasuo Doi
Hideki Yamanaka
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5764980A priority Critical patent/JPS56154852A/en
Publication of JPS56154852A publication Critical patent/JPS56154852A/en
Publication of JPS6142989B2 publication Critical patent/JPS6142989B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 本発明はハイレベル手順を使用した通信制御装
置に関し、特に、1フレーム中のデータフイール
ドを8ビツト単位で区切つたときの最終部分にお
ける1バイト未満の端数ビツトを検出できるよう
にした端数ビツト制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a communication control device using a high-level procedure, and in particular, it is capable of detecting fractional bits of less than 1 byte in the final part when a data field in one frame is divided into units of 8 bits. The present invention relates to a fractional bit control circuit as described above.

ハイレベル手順による通信においては、第1図
に示す如きフレーム構成によりデータ通信を行な
う。1フレームの先頭と最後の位置にフラグパタ
ーン(Fパターン)が存在し、先頭のフラグパタ
ーンの次にアドレスフイールド(A部)、コント
ロールフイールド(C部)が位置し、その後にデ
ータフイールド(D部)が続く。
In communication based on high-level procedures, data communication is performed using a frame structure as shown in FIG. A flag pattern (F pattern) exists at the beginning and end of one frame, and after the first flag pattern, an address field (part A) and a control field (part C) are located, followed by a data field (part D). ) is followed.

そして、データフイールドと最終のフラグパタ
ーンの間にフレームチエツクシーケンス
(FCS)がもうけられている。フラグパターン
と、アドレスフイールドと、コントロールフイー
ルドはそれぞれ1バイト構成であり、フレームチ
エツクシーケンスは2バイト構成となつている。
A frame check sequence (FCS) is provided between the data field and the final flag pattern. The flag pattern, address field, and control field each consist of one byte, and the frame check sequence consists of two bytes.

一方、データフイールドの部分は、本来ハイレ
ベル手順ではデータ形式に依存せずビツトオリエ
ンテツドの通信が行なわれるため、ビツト数のパ
ウンダリに制限はもうけられていない。
On the other hand, in the data field part, since bit-oriented communication is originally performed in high-level procedures without depending on the data format, there is no restriction on the poundage of the number of bits.

ところが、一般に、装置間または装置内では、
例えばホストの中央処理装置と通信制御装置との
間、または通信制御装置内では、1バイト(8ビ
ツト)パウンダリの転送が行なわれるため、回線
上からのデータも8ビツトに区切つて転送を行な
うようにされている。したがつて、データフイー
ルドが8ビツトパウンダリでない場合には、第1
図に示す端数ビツト部分D′の判別を行なわなけ
ればならない。
However, in general, between devices or within a device,
For example, between the central processing unit of the host and the communication control unit, or within the communication control unit, 1-byte (8-bit) pounder data is transferred, so data from the line should also be divided into 8-bit blocks before transfer. is being used. Therefore, if the data field is not 8-bit pounder, the first
The fractional bit portion D' shown in the figure must be determined.

一方、ビツトオリエンテツドなデータ通信を可
能とするハイレベル手順を採用したデータ通信シ
ステムにおいても、一般に、既存の装置を使用す
る場合等においては送信側においてバイト単位で
データを扱い、バイト単位のパウンダリを有する
データフイールドを送信することが多く、送/受
信側でパウンダリが一致するため、特に問題とな
ることはなかつた。
On the other hand, even in data communication systems that employ high-level procedures that enable bit-oriented data communication, in general, when using existing equipment, data is handled in bytes on the transmitting side, and data is processed in byte units. Since a data field with a 100% is often transmitted, and the boundaries match on the sending and receiving sides, this has not been a particular problem.

しかしながら、8ビツトパウンダリを意識せ
ず、ビツトオリエンテツドなデータ通信を目的と
する装置と、回線を介して接続された通信制御装
置においては、上記端数ビツトの検出を行ない、
データフイールドとフレームチエツクシーケンス
の分離を行なわなければならない。従来において
は、例えば、最終のFパターン検出後プログラム
制御等により、端数ビツトを検出し、データフイ
ールドとフレームチエツクシーケンスの分離を行
なつていた。
However, in a communication control device connected via a line to a device intended for bit-oriented data communication without being aware of the 8-bit boundary, the fractional bits described above are detected.
Separation of data fields and frame check sequences must be made. Conventionally, for example, fractional bits were detected by program control after the final F pattern was detected, and the data field and frame check sequence were separated.

本発明は、既存の8ビツトパウンダリにデータ
を組立てるデータ受信回路に簡単なハードウエア
を追加することにより、容易に端数ビツトを検出
できるようにすることを目的とし、そのため本発
明は、1フレームが、先頭のフラグパターンと、
アドレスフイールドと、制御フイールドと、デー
タフイールドと、フレームチエツクシーケンス
と、最終のフラグパターンとからなるハイレベル
手順を使用する通信制御装置において、バイト単
位にデータが受信されるごとに発せられる処理要
求信号により初期化されるとともに、受信ビツト
に同期して回線側から送出されてくるビツトクロ
ツクにより歩進せしめられ、かつフラグパターン
検出信号により歩進を停止せしめられるカウンタ
回路をそなえ、該カウンタ回路の計数値により、
上記データフイールドの最終部分における1バイ
ト未満の端数ビツト数を判定するようにしたこと
を特徴とする。
An object of the present invention is to easily detect fractional bits by adding simple hardware to an existing data receiving circuit that assembles data into 8-bit boundaries. The flag pattern at the beginning,
A processing request signal issued each time data is received in bytes in a communication control device that uses a high-level procedure consisting of an address field, a control field, a data field, a frame check sequence, and a final flag pattern. The count value of the counter circuit is initialized by the counter circuit, is incremented by the bit clock sent from the line side in synchronization with the received bits, and is stopped from incrementing by the flag pattern detection signal. According to
The present invention is characterized in that the number of fractional bits less than 1 byte in the final part of the data field is determined.

以下、本発明を図面により説明する。第2図は
本発明による実施例の通信制御装置における端数
ビツト制御回路である。図中、1は受信回路、2
はカウンタ回路、3は回線からのデータ線、4は
ビツトクロツク線、5は受信データ線、6は処理
要求信号線、7は処理要求リセツト線、8はFパ
ターン検出信号線、9はビツトカウント出力線で
ある。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 2 shows a fractional bit control circuit in a communication control device according to an embodiment of the present invention. In the figure, 1 is a receiving circuit, 2
is a counter circuit, 3 is a data line from the line, 4 is a bit clock line, 5 is a received data line, 6 is a processing request signal line, 7 is a processing request reset line, 8 is an F pattern detection signal line, 9 is a bit count output It is a line.

データ線3とビツトクロツク線4は図示しない
回路対応装置へ接続されており、ビツトクロツク
線4上のビツトクロツクはデータ線3上のデータ
と同期して送出されてくる。また、受信データ線
5、処理要求信号線6、処理要求リセツト線7、
Fパターン検出信号線8、ビツトカウント出力線
9は図示しない共通部へ接続されている。
The data line 3 and the bit clock line 4 are connected to a circuit corresponding device (not shown), and the bit clock on the bit clock line 4 is sent out in synchronization with the data on the data line 3. Also, a reception data line 5, a processing request signal line 6, a processing request reset line 7,
The F pattern detection signal line 8 and the bit count output line 9 are connected to a common section (not shown).

受信回路1は既存の回路であり、データ線3か
ら送出されてくるデータをビツトクロツク線4上
のクロツクにもとづいて、8ビツト単位に組立て
る機能を有している。この組立てられた8ビツト
単位のデータは、その8ビツトのデータがFパタ
ーン以外の場合に受信データ線5を通して、共通
部へ送らる。また、このとき処理要求信号が処理
要求信号線6を通して、共通部へ送られる。共通
部側では、処理要求信号にもとづき、受信データ
を受取つた後、処理要求リセツト信号を処理要求
リセツト信号線7を通して、受信回路1へ送出す
る。これにより、受信回路1では、処理要求信号
の送出を止める。
The receiving circuit 1 is an existing circuit, and has the function of assembling data sent from the data line 3 into 8-bit units based on the clock on the bit clock line 4. The assembled 8-bit data is sent to the common section through the reception data line 5 if the 8-bit data is a pattern other than the F pattern. Further, at this time, a processing request signal is sent to the common section through the processing request signal line 6. After receiving the received data based on the processing request signal, the common section sends a processing request reset signal to the receiving circuit 1 through the processing request reset signal line 7. As a result, the receiving circuit 1 stops sending out the processing request signal.

さらに、受信回路1はFパターン検出機能をそ
なえており、データ線3から、ビツトパターン
“01111110”(Fパターン)を受信すると、Fパタ
ーン検出信号線8により、Fパターン検出信号を
共通部へ送るようにする。
Furthermore, the receiving circuit 1 has an F pattern detection function, and when it receives the bit pattern "01111110" (F pattern) from the data line 3, it sends an F pattern detection signal to the common section via the F pattern detection signal line 8. Do it like this.

第2図において、本発明により新規にもうけら
れた回路は、カウンタ回路2である。このカウン
タ回路2は、3ビツトからなり、0〜7を計数可
能である。カウンタ回路2は、処理要求信号線6
上の処理要求信号の立上り時点にリセツトされた
後、ビツトクロツク線4上のビツトクロツクによ
り歩進動作を行なう。したがつて、データが8ビ
ツト単位で到来するごとに、0〜7の計数動作を
繰返し行なうようにされる。
In FIG. 2, a counter circuit 2 is a new circuit provided according to the present invention. This counter circuit 2 consists of 3 bits and can count from 0 to 7. The counter circuit 2 has a processing request signal line 6
After being reset at the rising edge of the processing request signal above, the bit clock on the bit clock line 4 performs a stepping operation. Therefore, each time data arrives in units of 8 bits, the counting operation from 0 to 7 is repeated.

さらに、カウンタ回路2は、Fパターン検出信
号線8上にFパターン検出信号が発出されたと
き、その時点で計数動作を停止し、そのときの計
数値を保持するようにされている。
Furthermore, when the F pattern detection signal is issued on the F pattern detection signal line 8, the counter circuit 2 stops the counting operation at that point and holds the count value at that time.

次に、第2図の回路における端数ビツト検出動
作を第3図のシーケンス図により説明する。第2
図の受信回路1は、最初のFパターン検出後(こ
のときのFパターン受信では単に同期を取るため
であり、Fパターン検出信号はオンにならな
い)、8ビツトパウンダリでビツトを組立ててい
き、まずA部を組立てると、最初の処理要求信号
を発出する。このとき、カウンタ回路2は初期値
“0”とされる。カウンタ回路2は初期化される
以前の値は不定であるが、その値が意味を持つの
はFパターン検出信号8又は処理要求信号6がオ
ンになつたときである。その後、受信回路1が回
線上のデータを1ビツトづつ受信するごとに、す
なわち、1ビツトクロツク到来するごとに、カウ
ンタ回路2は+1されていく。そして、受信回路
1が次の図示しないC部を受信し終ると、カウン
タ回路2は最終値“7”となつており、受信回路
1からの処理要求信号によりカウンタ回路2は再
び初期値“0”とされる。その後、受信回路1は
D部(データフイールド)を8ビツトづつ組立て
ていき、それと共に、カウンタ回路2は2〜7の
計数動作を繰返していく。
Next, the fractional bit detection operation in the circuit of FIG. 2 will be explained with reference to the sequence diagram of FIG. Second
The receiving circuit 1 shown in the figure assembles bits using 8-bit boundaries after detecting the first F pattern (at this time, the F pattern reception is simply for synchronization and the F pattern detection signal does not turn on). When the parts are assembled, the first processing request signal is issued. At this time, the counter circuit 2 is set to an initial value of "0". Although the value of the counter circuit 2 is undefined before it is initialized, the value becomes meaningful when the F pattern detection signal 8 or the processing request signal 6 turns on. Thereafter, the counter circuit 2 is incremented by 1 each time the receiving circuit 1 receives data on the line one bit at a time, that is, each time one bit clock arrives. Then, when the receiving circuit 1 finishes receiving the next C part (not shown), the counter circuit 2 has the final value "7", and the counter circuit 2 returns to the initial value "0" due to the processing request signal from the receiving circuit 1. ”. Thereafter, the receiving circuit 1 assembles the D section (data field) 8 bits at a time, and at the same time, the counter circuit 2 repeats the counting operation of 2 to 7.

そして、第3図図示の場合、最後の正規8ビツ
トパウンダリデータRDo-1を受信した後、その次
に受信し組立てたデータRDoは端数データ3ビツ
トとFCS0の一部を含んでいる。さらに、その後
の受信データRDo+1はFCS0の一部とFCS1の一部
を含んでおり、RDo+2はFCS1の一部とFパター
ンの一部を含んでいる。
In the case shown in FIG. 3, after receiving the last regular 8-bit pounder data RD o-1 , the next received and assembled data R 0 includes 3 bits of fractional data and a part of FCS 0 . There is. Further, the subsequent received data RD o+1 includes a part of FCS 0 and a part of FCS 1 , and RD o+2 includes a part of FCS 1 and a part of F pattern.

最後のFパターン受信後、Fパターン検出信号
が発出されるとカウンタ回路2は計数動作を停止
する。第3図図示の場合、カウンタ回路2の計数
値は“3”を示し、端数ビツトと同一の値を有す
る。このように、端数ビツト受信後、Fパターン
検出信号がオンになつたとき、カウンタ回路2の
値は常に端数ビツト数を示している。したがつ
て、共通部側では、Fパターン検出信号がオンに
なる以前に組立てられた受信データRDo
RDo+1,RDo+2およびカウンタ回路2の値により
RDo8ビツトを端数の3ビツトとFCS0の5ビツト
に分け、RDo+18ビツトをFCS0の残り3ビツトと
FCS1の5ビツトに分け、RDo+28ビツトをFCS1
の残り3ビツトのみ使用して端数データの組立
て、FCSのチエツクを行なう。更に、次の1フ
レームを連続して受信する場合、受信回路1はA
部受信したときに前記の通り処理要求信号6をオ
ンし、このときFパターン検出信号はオフとな
り、カウンタ回路2は“0”に初期化され、前記
したA部組立てと同じ動作を行なう。
After receiving the last F pattern, when the F pattern detection signal is issued, the counter circuit 2 stops counting operation. In the case shown in FIG. 3, the count value of the counter circuit 2 indicates "3" and has the same value as the fractional bit. In this way, when the F pattern detection signal is turned on after receiving the fractional bits, the value of the counter circuit 2 always indicates the number of fractional bits. Therefore, on the common part side, the received data R o , which was assembled before the F pattern detection signal was turned on,
Depending on the values of RD o+1 , RD o+2 and counter circuit 2
Divide RD o 8 bits into 3 fractional bits and 5 bits of FCS 0 , and divide RD o +1 8 bits with remaining 3 bits of FCS 0.
Divide into 5 bits of FCS 1 , and divide RD o+2 8 bits into FCS 1
Only the remaining 3 bits are used to assemble fractional data and check the FCS. Furthermore, when receiving the next frame continuously, the receiving circuit 1
When the part is received, the processing request signal 6 is turned on as described above, and at this time the F pattern detection signal is turned off, the counter circuit 2 is initialized to "0", and the same operation as in the above-mentioned part A assembly is performed.

上記したように、本発明によれば、簡単なハー
ドウエアを追加することにより端数ビツトを容易
に検出することが可能となり、共通部の負荷を軽
減することができ、処理能力の向上をもたらすと
いうすぐれた効果を奏する。
As described above, according to the present invention, it is possible to easily detect fractional bits by adding simple hardware, reducing the load on common parts and improving processing performance. It has excellent effects.

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

第1図はハイレベル手順におけるフレーム構成
例、第2図は本発明による実施例の通信制御装置
における端数ビツト制御回路、第3図は端数ビツ
ト検出動作シーケンス図である。第2図におい
て、1は受信回路、2はカウンタ回路、3は回線
からのデータ線、4はビツトクロツク線、5は受
信データ線、6は処理要求信号線、7は処理要求
リセツト線、8はFパターン検出信号線、9はビ
ツトカウンタ出力線である。
FIG. 1 is an example of a frame structure in a high-level procedure, FIG. 2 is a fractional bit control circuit in a communication control device according to an embodiment of the present invention, and FIG. 3 is a sequence diagram of a fractional bit detection operation. In FIG. 2, 1 is a receiving circuit, 2 is a counter circuit, 3 is a data line from the line, 4 is a bit clock line, 5 is a received data line, 6 is a processing request signal line, 7 is a processing request reset line, and 8 is a The F pattern detection signal line 9 is a bit counter output line.

Claims (1)

【特許請求の範囲】[Claims] 1 1フレームが、先頭のフラグパターンと、ア
ドレスフイールドと、制御フイールドと、データ
フイールドと、フレームチエツクシーケンスと、
最終のフラグパターンとからなるハイレベル手順
を使用する通信制御装置において、バイト単位に
データが受信されるごとに発せられる処理要求信
号により初期化されるとともに、受製ビツトに同
期して回線側から送出されてくるビツトクロツク
により歩進せしめられ、かつフラグパターン検出
信号により歩進を停止せしめられるカウンタ回路
をそなえ、該カウンタ回路の計数値により、上記
データフイールドの最終部分における1バイト未
満の端数ビツト数を判定するようにしたことを特
徴とするハイレベル手順方式による通信制御装置
の端数ビツト制御回路。
1 One frame consists of a flag pattern at the beginning, an address field, a control field, a data field, a frame check sequence,
In a communication control device that uses a high-level procedure consisting of a final flag pattern, it is initialized by a processing request signal that is issued every time data is received in bytes, and is also sent from the line side in synchronization with the received bit. It is equipped with a counter circuit that is incremented by the sent bit clock and stopped increment by the flag pattern detection signal, and the number of fractional bits less than 1 byte in the final part of the data field is determined by the count value of the counter circuit. 1. A fractional bit control circuit for a communication control device using a high-level procedure method, characterized in that the fraction bit control circuit is configured to determine.
JP5764980A 1980-04-30 1980-04-30 Fractional bit control circuit of communication controller on high-level procedure system Granted JPS56154852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5764980A JPS56154852A (en) 1980-04-30 1980-04-30 Fractional bit control circuit of communication controller on high-level procedure system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5764980A JPS56154852A (en) 1980-04-30 1980-04-30 Fractional bit control circuit of communication controller on high-level procedure system

Publications (2)

Publication Number Publication Date
JPS56154852A JPS56154852A (en) 1981-11-30
JPS6142989B2 true JPS6142989B2 (en) 1986-09-25

Family

ID=13061742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5764980A Granted JPS56154852A (en) 1980-04-30 1980-04-30 Fractional bit control circuit of communication controller on high-level procedure system

Country Status (1)

Country Link
JP (1) JPS56154852A (en)

Also Published As

Publication number Publication date
JPS56154852A (en) 1981-11-30

Similar Documents

Publication Publication Date Title
EP0544964B1 (en) Store and forward apparatus and method of maintaining integrity of data during storage
US5179555A (en) High speed data compression and transmission for wide area network connections in LAN/bridging applications
EP0195598A2 (en) Universal protocol data receiver
KR101001074B1 (en) Method for transferring data on the bus
GB1469465A (en) Detection of errors in digital information transmission systems
JPS6142989B2 (en)
US7203205B2 (en) Polling device and communication apparatus
EP0479607B1 (en) Method and arrangement for detecting framing bit sequence in digital data communications system
JPH0313038A (en) Asynchronous serial data transmitter
JPS61139137A (en) Erroneous retransmission reventing system
JPS6245255A (en) Data reception system
JP2003263404A (en) Serial communication system and microcomputer using it
SU1656546A1 (en) Device for matching computer with communication channel
JPS60140960A (en) Data transmission system
JPH0117177B2 (en)
JP3246096B2 (en) Self-diagnosis device for digital equipment
JP2945123B2 (en) Communications system
RU2055392C1 (en) Device for serial-parallel interface
US20030137990A1 (en) Apparatus for extraneous information removal and end mark insertion of an N-byte wide data stream of unknown length
JP2000259526A (en) Serial interface circuit
JPH01176145A (en) Serial data transfer system
JPS59173824A (en) Terminal equipment
JPH04278742A (en) How to detect errors in received data
JPH0373050A (en) Serial write data transfer system
JPS60117845A (en) Data transmission system