JPS58184851A - Hdlc receiver - Google Patents
Hdlc receiverInfo
- Publication number
- JPS58184851A JPS58184851A JP57067110A JP6711082A JPS58184851A JP S58184851 A JPS58184851 A JP S58184851A JP 57067110 A JP57067110 A JP 57067110A JP 6711082 A JP6711082 A JP 6711082A JP S58184851 A JPS58184851 A JP S58184851A
- Authority
- JP
- Japan
- Prior art keywords
- hdlc
- data
- circuit
- reception
- line
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting 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)
Abstract
Description
【発明の詳細な説明】
ロール(以下HDLCと略称する)を受信するだめのH
DLC受信装置に関するものである。[Detailed description of the invention] H for receiving rolls (hereinafter abbreviated as HDLC)
The present invention relates to a DLC receiving device.
従来この種の受信装置は,あとに詳しく説明するが,外
部のデータ回線に対してHDLC受信のためのコントロ
ーラであるHDLC受信部と,データ回線から入力され
るデータをHDLC受信部を介して蓄積するメモリと,
HDLCの手順管理およびHDLC受信部の受信準備
の設定を行々う中央処理装置(以下CPUと略称する)
から構成されている。しかしながらこのような構成では
,これもあとに説明するが, HDLCデータ回線の速
度が大であるときはCPUも高速のものを使用しなけれ
ばならず,このため価格の面で好ましいものでは々かっ
た。Conventionally, this type of receiving device has an HDLC receiving section, which is a controller for HDLC reception on an external data line, and stores data input from the data line via the HDLC receiving section, as will be explained in detail later. memory to
A central processing unit (hereinafter abbreviated as CPU) that manages HDLC procedures and sets reception preparations for the HDLC receiving unit.
It consists of However, in such a configuration, as will be explained later, when the HDLC data line speed is high, a high-speed CPU must be used, and therefore it is not very desirable from a cost standpoint. Ta.
従って本発明の目的はHDLCデータ回線の速度が大で
あっても処理速度の遅いCPUを用いることのできるH
DLC受信装置を得ようとするにある。Therefore, an object of the present invention is to provide an HDLC data line that can use a CPU with a slow processing speed even if the speed of the HDLC data line is high.
I'm trying to get a DLC receiver.
本発明は,上記の目的を達成するために,HDLC受信
部を2組設け,内一方のHDLC受信部がデータを入力
している間に他方のHDLC受信部がフラグパターンを
入力し、これを1フレームを受信するたびに交互に切替
えるようにし、これによりCPUの受信準備のだめの設
定を次に来るデータの1フレームの最後のフラグが入力
されるまでにゆっくりと行なえばよいようにしたもので
ある。In order to achieve the above object, the present invention provides two sets of HDLC receivers, and while one of the HDLC receivers is inputting data, the other HDLC receiver inputs a flag pattern and receives the flag pattern. The flags are switched alternately each time one frame is received, so that the CPU can be set to prepare for reception slowly until the last flag of the next frame of data is input. be.
すなわち本発明によれば、外部のデータ回線に対してH
DLC受信のだめのコン)o−ラである)−IDLC受
信部、前記データ回線から入力されるデータを前記HD
LC受信部を介して蓄積するメモリ、およびHDLCの
手順管理および前記HDLC受信部の受信準備の設定を
行なう中央処理装置を有する受信装置において、前記H
DLC受信部として第1および第2のHDLC受信部を
設け、更にHDLCにおけるフラグパターンを発生させ
るフラグパターン発生回路と、前記データ回路から入力
されるHDLCフォーマットのフレームの検出を行なう
フレーム検出回路と、前y、 1
記検出が行なわれるたびに前記データ回線の出力と前記
フラグパターン発生回路の出力を個々に前記第1のHD
LC受信部の入力と前記第2のHDLC受信部の≠力に
交互に接続させるためのスイッチ回路とを付設して成る
ことを特徴とするHDLC受信装置が得られる。That is, according to the present invention, H
A controller for DLC reception) - IDLC reception section, which transmits data input from the data line to the HD
In the receiving device, the H
A flag pattern generation circuit that includes first and second HDLC reception sections as DLC reception sections, further includes a flag pattern generation circuit that generates a flag pattern in HDLC, and a frame detection circuit that detects an HDLC format frame input from the data circuit; 1. Each time the detection is performed, the output of the data line and the output of the flag pattern generation circuit are individually transmitted to the first HD.
There is obtained an HDLC receiving device characterized in that it is provided with a switch circuit for alternately connecting the input of the LC receiving section and the ≠ power of the second HDLC receiving section.
次に図面を参照して詳細に説明する。Next, a detailed explanation will be given with reference to the drawings.
第1図はHDLCにおける基本データフォーマットをあ
られした図である。図において括弧0内はnを1以上の
整数としてビット数を示し、フラグは0111111.
0の固定パターンとなっている。FIG. 1 is a diagram showing the basic data format in HDLC. In the figure, the number in parentheses 0 indicates the number of bits, where n is an integer greater than or equal to 1, and the flag is 0111111.
It is a fixed pattern of 0.
第2図は従来のHDLC受信装置の構成をブロックであ
られした図である。この第2図のHDLC受信装置は、
外部のデータ回線であるデータ入力線1゜HDLC受信
のだめのコントローラーであるHDLC受信部2 (C
PUとのインターフェイス部を含む)、入力されたデー
タを蓄積するメモリ3.及びHDLC受信部2を制御し
HDLC制御手順を管理するCPU 4から構成されて
おり 、 CPU 4はデータ入力線1から1データフ
レームを受信するたびにHDLC受信部2に対し9次の
データフレームを受信する為に次のr−タフレームの最
初のデータキャラクタ(8ビツト)が入力される前に、
受信準備の設定を行なっていた。よってCPUとしては
データ人力線から人力される信号の1デ一タキヤラクタ
間隔よりCPUの受信準備に要する時間の方が短い高速
のものを心安とする欠点があった。FIG. 2 is a block diagram showing the configuration of a conventional HDLC receiver. The HDLC receiver shown in Fig. 2 is
Data input line 1, which is an external data line; HDLC receiving section 2, which is a controller for HDLC reception (C
2. A memory for storing input data (including an interface section with the PU); and a CPU 4 that controls the HDLC receiving section 2 and manages the HDLC control procedure, and the CPU 4 sends the 9th order data frame to the HDLC receiving section 2 every time it receives one data frame from the data input line 1. Before the first data character (8 bits) of the next data frame is input for reception,
Settings were being made to prepare for reception. Therefore, as a CPU, there is a drawback that a high-speed CPU is recommended because the time required for the CPU to prepare for reception is shorter than the interval between one character and one character of the signal inputted from the data input line.
第3図は本発明の一実施例の構成をブロックであられし
た図でちる。第3図において参照数字が第2図と同じ構
成要素は第2図におけると同じものを示している。この
第3図のHDLC受信装置は。FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 3, the same reference numerals as in FIG. 2 indicate the same components as in FIG. This HDLC receiver shown in FIG.
データ入力線1 、 HDLC受侶部受信メモリ3 、
CPU4のほかに、もう1つのHDLC受信部2Aと
、 HDLCにおけるフラグノ’?ターンを発生させる
だめの7ラグノeタ一ン発生回路5と、データ入力線1
から入゛力されるHDLCフォーマットのフレームを検
出するフレーム検出回路6 、!: 、 HDLCフォ
ーマットのフレームを検出するたびに2つのHDLC受
信部2と2Aの入力を個々にデータ入力線1とフラグ・
ぐターン発生回路5の出力に交互に接続させるだめのス
イッチ回路7を有している。Data input line 1, HDLC receiver reception memory 3,
In addition to the CPU 4, there is another HDLC receiver 2A and a flag node in the HDLC. A 7-lag noise generation circuit 5 for generating a turn, and a data input line 1
A frame detection circuit 6 that detects HDLC format frames input from ! : Each time a frame in HDLC format is detected, the inputs of the two HDLC receivers 2 and 2A are individually connected to the data input line 1 and the flag signal.
It has a switch circuit 7 which is alternately connected to the output of the turn generating circuit 5.
いまHDLC受信部2にデータ入力線1が接続され。The data input line 1 is now connected to the HDLC receiving section 2.
HDLC受信部2Aに7ラグノeタ一ン発生回路5がそ
わぞれ接続されている状態にあるとする。このような状
態のところにデータ入力線1から第1図に力ミナような
データフレームが入力されると、フレーム検出回路6は
データの次に来るフラグを検出し、スイッチ回路7を介
して、 HDLC受信部2にフラグパターン発生回路5
を、 HDLC受信部2人にデータ入力線を切替接続さ
せる。これにより切替前データ入力線1に接続されてい
たHDLC受信部2は切替後フラグパターン発生回路5
の出力からフラグノやターンを入力する。ここでCPU
4はHDLC受仏部2に対し受信準備のための設定を
行なうが。It is assumed that seven lag signal generation circuits 5 are connected to the HDLC receiving section 2A. When a data frame like the one shown in FIG. 1 is input from the data input line 1 in such a state, the frame detection circuit 6 detects the flag that follows the data, A flag pattern generation circuit 5 is provided in the HDLC receiving section 2.
Switch and connect the data input lines to the two HDLC receivers. As a result, the HDLC receiving section 2 connected to the data input line 1 before switching is switched to the flag pattern generation circuit 5 after switching.
Input fragno or turn from the output of . Here the CPU
4, settings are made to the HDLC reception section 2 to prepare for reception.
この設定はHDLC受信部2にフラグパターンが入力さ
れている間に行々えばよいものであるから。This setting can be performed while the flag pattern is being input to the HDLC receiving section 2.
CI’U 4のHDLC受信部2に対する受信準備の設
定は次に来る1データフレームの最後のフラグが入力さ
れるまで比較的長い時間内に行なえばよい。すなわちC
PU 4は高速のものでなくともHDLC受信部2に対
する受信準備を設定することができる。The reception preparation setting for the HDLC receiving section 2 of the CI'U 4 can be performed within a relatively long period of time until the last flag of the next data frame is input. That is, C
Even if the PU 4 is not a high-speed one, it is possible to set reception preparation for the HDLC receiving section 2.
以」二は初期状態においてHDLC受信部2がデータ入
力線1に接続している例について説明したものであるが
、逆にHDLC受信部2Aがデータ入力線1に接続して
いる場合も全く同じである。すkわち本発明によれば、
処理速度の遅いCPUを用いても速11yの大きいHD
LCl線を制御することができる。The following describes an example in which the HDLC receiver 2 is connected to the data input line 1 in the initial state, but the situation is exactly the same when the HDLC receiver 2A is connected to the data input line 1. It is. According to the present invention,
HD with high speed 11y even when using a slow processing speed CPU
The LCl line can be controlled.
第1図はHDLCにおける基本データフォーマットを示
す図、第2図は従来のHDLC受信装置の構成をブロッ
クであられした図、第3図は本発明の一実施例の構成を
ブロックであられした図である。
記号の説明:1はデータ回線、2は(第1の)(DLC
受信部、2Aは(第2の) HDLC受信部、3はメモ
リ、4は中央処理装置(CPU ) 、 5はフラグパ
ターン発生回路、6はフレーム検出回路、7はスイッチ
回路をそれぞれあられしている。FIG. 1 is a diagram showing the basic data format in HDLC, FIG. 2 is a block diagram showing the configuration of a conventional HDLC receiver, and FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention. be. Explanation of symbols: 1 is the data line, 2 is the (first) (DLC
2A is a (second) HDLC receiver, 3 is a memory, 4 is a central processing unit (CPU), 5 is a flag pattern generation circuit, 6 is a frame detection circuit, and 7 is a switch circuit. .
Claims (1)
ントローラであるHDLC受信部、前記データ回線から
入力されるデータを前記HDLC受信部を介して蓄積す
るメモリ、およびHDLCの手順管理および前記HDL
C受信部の受信準備の設定を行なう中央処理装置を有す
る受信装置において、前記HDLC受信部として第1お
よび第2の2つのHDLC受信部を設け、更にHDLC
におけるフラグノ母ターンを発生させるフラグパターン
発生回路と、前記データ回路から入力されるHDLCフ
ォーマットのフレームの検出を行なうフレーム検出回路
と、前記検出が行なわれるたびに前記データ回線の出力
と前記フラグパタ部の入力と前記第2のHDLC受信部
の汐力に交互に接続させるためのスイッチ回路とを付設
して成ることを特徴とするHDLC受信装置。1. An HDLC receiving unit that is a controller for HDLC reception on an external data line, a memory that stores data input from the data line via the HDLC receiving unit, and an HDLC procedure management and the HDLC
In a receiving device having a central processing unit that performs reception preparation settings of a C receiving section, two HDLC receiving sections, a first and a second HDLC receiving section are provided as the HDLC receiving section, and
a flag pattern generation circuit that generates a flag mother turn; a frame detection circuit that detects an HDLC format frame input from the data circuit; and a frame detection circuit that detects an HDLC format frame input from the data circuit; An HDLC receiving device characterized in that it is provided with a switch circuit for alternately connecting the input and the tidal force of the second HDLC receiving section.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57067110A JPS58184851A (en) | 1982-04-23 | 1982-04-23 | Hdlc receiver |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57067110A JPS58184851A (en) | 1982-04-23 | 1982-04-23 | Hdlc receiver |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS58184851A true JPS58184851A (en) | 1983-10-28 |
Family
ID=13335424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57067110A Pending JPS58184851A (en) | 1982-04-23 | 1982-04-23 | Hdlc receiver |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58184851A (en) |
-
1982
- 1982-04-23 JP JP57067110A patent/JPS58184851A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0431448B2 (en) | ||
JPS58184851A (en) | Hdlc receiver | |
JP2006304011A (en) | Interface circuit | |
JPH0398344A (en) | Terminal synchronization control system | |
JPS63278436A (en) | Multi-frame synchronizing system | |
JPH11275126A (en) | Communication controller | |
JPS62171349A (en) | Communication control equipment | |
JPS6253530A (en) | Control information generating circuit for tdma communication equipment | |
JPS59127449A (en) | Data transmitter | |
JPS596647A (en) | Method for synchronizing transmission of serial data | |
JPH0263233A (en) | Serial communication equipment | |
JP2773637B2 (en) | Line test pulse generator | |
JPH09293047A (en) | Data transfer device of microcomputer | |
JPH05304522A (en) | Synchronization detection controller | |
JPH01162028A (en) | Alarm signal transmission system | |
JPS58120340A (en) | Frame transmission system | |
JPH04192842A (en) | Data transmission system | |
JPH02125547A (en) | Loop network system | |
JPS5972274A (en) | Data transmission and reception control circuit of picture processor | |
JPS63120355A (en) | Bus interface circuit | |
JPH06311204A (en) | Communication processing unit | |
JPH03179829A (en) | Transmission/reception control system for serial data | |
JPH03117048A (en) | Reception data processing circuit | |
JPH05100882A (en) | Information processor | |
JPH03157028A (en) | Line monitor system for line transferring hdlc data frame using fixed length cell |