JPH0417492B2 - - Google Patents

Info

Publication number
JPH0417492B2
JPH0417492B2 JP56138585A JP13858581A JPH0417492B2 JP H0417492 B2 JPH0417492 B2 JP H0417492B2 JP 56138585 A JP56138585 A JP 56138585A JP 13858581 A JP13858581 A JP 13858581A JP H0417492 B2 JPH0417492 B2 JP H0417492B2
Authority
JP
Japan
Prior art keywords
data
memory means
priority
counter
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.)
Expired
Application number
JP56138585A
Other languages
Japanese (ja)
Other versions
JPS5840952A (en
Inventor
Masakazu Furuya
Tooru Saito
Kenji Shioda
Masahiro Morita
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56138585A priority Critical patent/JPS5840952A/en
Publication of JPS5840952A publication Critical patent/JPS5840952A/en
Publication of JPH0417492B2 publication Critical patent/JPH0417492B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 本発明は、例えば、ハイレベル・データリン
ク・コントロール(High−Level Data Link
Control:以下、HDLCと略称する。)手順を用い
て、複数の送信データを連続転送するデータ伝送
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides, for example, high-level data link control.
Control: Hereinafter abbreviated as HDLC. ) procedure to continuously transfer a plurality of pieces of transmission data.

従来のHDLC手順によりデータを連続転送する
データ伝送方式においては、通常、複数の送信デ
ータを要求の順序通りに回線に出力するようにな
つている。そのため、送信データを一旦通信制御
装置に渡してしまうと、その後、緊急を要する送
信データが発生しても、その前に渡された送信デ
ータを回線に出力し終るまで送信されない。
In a data transmission system that continuously transfers data using a conventional HDLC procedure, a plurality of pieces of transmission data are normally output to a line in the order of requests. Therefore, once transmission data is passed to the communication control device, even if urgent transmission data occurs thereafter, it will not be transmitted until the previously passed transmission data has been output to the line.

このような問題に対処するために、通信制御装
置では1つだけしか同時には送信要求を受け付け
のないようにしておき、通信制御装置に対して送
信データを渡す側で、優先データと非優先データ
とを別々に蓄積し、通信制御装置が先に渡した1
つのデータを回線に出力し終つたら、次のデータ
を優先度の順に取り出して通信制御装置に渡すよ
うにする方式が考えられ、その場合には、高々1
つの非優先データを回線に出力する時間を待つだ
けで優先データは回線に出力される。
To deal with this problem, the communication control device is configured so that only one transmission request is accepted at the same time, and the side that passes the transmission data to the communication control device distinguishes between priority data and non-priority data. 1 that was passed earlier by the communication control device.
One possible method is to take out the next data in order of priority and pass it to the communication control device after one piece of data has been output to the line.
The priority data is output to the line by simply waiting for the time for outputting the non-priority data to the line.

しかしながら、このような方式では、回線への
データ出力の完了を通信制御装置から通知された
後、優先データの到来を待つため、一定の時間を
経過しなければ次の送信データを通信制御装置に
渡せないため、高速伝送の回線を用いた場合、回
線の利用率が低下してしまう。例えば、48Kbps
の回線において、10msの遅れがあると、利用率
は23%ダウンしてしまう。
However, in such a method, after the communication control device notifies the completion of data output to the line, it waits for the arrival of priority data, so if a certain period of time has not elapsed, the next transmission data is not sent to the communication control device. If a high-speed transmission line is used, the utilization rate of the line will decrease. For example, 48Kbps
If there is a delay of 10ms on a line, the utilization rate will drop by 23%.

本発明の目的は、高速伝送の場合でも回線利用
効率を低下させずに、優先データを最小の待ち時
間で回線に出力するようにしたデータ伝送方式を
提供することにある。
An object of the present invention is to provide a data transmission system that outputs priority data to a line with minimum waiting time without reducing line utilization efficiency even in the case of high-speed transmission.

このような目的を達成するために、本発明で
は、優先度の高い優先データと優先度の低い非優
先データをそれぞれ格納する第1および第2のメ
モリ手段と、回線に出力されるデータを格納する
第3のメモリ手段とを有し、第1のメモリに格納
された優先データは第1の所定数まで連続して第
3のメモリに出力し、第2のメモリに格納された
非優先データは所定条件が満たされた時に上記第
1の所定数より小さい第2の所定数までのデータ
を第3のメモリに出力するようにしたことを特徴
とする。
In order to achieve such an objective, the present invention includes first and second memory means for respectively storing high-priority priority data and low-priority non-priority data, and storage means for storing data to be output to a line. The priority data stored in the first memory is continuously output to the third memory up to the first predetermined number, and the non-priority data stored in the second memory is is characterized in that when a predetermined condition is met, data up to a second predetermined number smaller than the first predetermined number is output to a third memory.

以下、本発明の実施例を図面により詳細に説明
する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明によるデータ伝送方式を実現す
る通信制御装置の一実施例の構成を示すもので、
1はマイクロコンピユータで構成される通信制御
装置、2はモデム、3は相手局に至る回線を示
す。通信制御装置1において、4はHDLC手順に
従つてデータを処理するデータ処理部、5はデー
タ処理部4で処理されたデータを1バイトずつ出
力するデータ出力部、6はデータ出力部5から渡
された1バイト毎のデータを並一直列変換してモ
デム2に出力する回線制御部、7はメモリ部、8
および9はそれぞれ優先データおよび非優先デー
タを送るチヤネルである。
FIG. 1 shows the configuration of an embodiment of a communication control device that implements the data transmission method according to the present invention.
Reference numeral 1 indicates a communication control device composed of a microcomputer, 2 a modem, and 3 a line leading to a partner station. In the communication control device 1, 4 is a data processing section that processes data according to the HDLC procedure, 5 is a data output section that outputs data processed by the data processing section 4 one byte at a time, and 6 is a section that is passed from the data output section 5. 7 is a memory section;
and 9 are channels for transmitting priority data and non-priority data, respectively.

また、メモリ部7において、71はチヤネル8
からの優先データを格納する優先データ群領域、
72はチヤネル9からの非優先データを格納する
非優先データ群領域、73は優先データ群領域7
1にあるデータ数を示すカウンタ、74は非優先
データ群領域72にあるデータ数を示すカウン
タ、75はデータ処理部4に非優先データの処理
を開始しても良いか悪いかを通知する指標、76
はデータ処理部5でのHDLC手順に従つた処理を
受けたデータを記憶する回線出力データ群領域、
77aはデータ群領域76のデータ数を示すカウ
ンタ、77bは回線出力中のデータ残りバイト数
を示すカウンタ、78はデータ出力部5からの回
線出力データを1バイト毎受け付けるバツフア、
79はバツフア78が1つでも空いている時に、
データ出力部5に対して次の1バイトの出力を許
可するための指標である。
In addition, in the memory section 7, 71 is a channel 8.
a priority data group area for storing priority data from;
72 is a non-priority data group area for storing non-priority data from channel 9; 73 is a priority data group area 7
1, a counter 74 indicating the number of data in the non-priority data group area 72, and 75 an index for notifying the data processing unit 4 whether it is okay to start processing the non-priority data. , 76
is a line output data group area that stores data processed according to the HDLC procedure in the data processing unit 5;
77a is a counter that indicates the number of data in the data group area 76; 77b is a counter that indicates the number of remaining bytes of data being output on the line; 78 is a buffer that receives line output data from the data output unit 5 one byte at a time;
79 is when even one buffer 78 is vacant,
This is an index for permitting the data output unit 5 to output the next 1 byte.

また、80はHDLC手順で規定される連続送信
可能なデータ数(以下、最大アウトスタンデイン
グ・フレーム数という。)を格納するレジスタ、
81はHDLC手順で現在までに連続送信されてい
るデータ数(以下、アウトスタンデイング・フレ
ーム数という。)を示すカウンタである。
Further, 80 is a register that stores the number of data that can be continuously transmitted (hereinafter referred to as the maximum outstanding frame number) specified in the HDLC procedure;
A counter 81 indicates the number of data that has been continuously transmitted up to now in the HDLC procedure (hereinafter referred to as the number of outstanding frames).

ホストコンピユータ等からチヤネル8および9
を経由してそれぞメモリ部7の優先データ群領域
71および非優先データ群領域72に優先データ
および非優先データがセツトされるが、その時、
カウンタ73および74の内容に1を加える。
Channels 8 and 9 from the host computer, etc.
Priority data and non-priority data are respectively set in the priority data group area 71 and non-priority data group area 72 of the memory section 7 via the
Add 1 to the contents of counters 73 and 74.

相手局から送信許可コマンドが送信されて来た
時、データ処理部4では、第2図のフローチヤー
トに示すような処理を行なう。
When a transmission permission command is transmitted from the partner station, the data processing section 4 performs the processing shown in the flowchart of FIG.

データ処理部4での処理を第2図を参照しなが
ら説明する。
The processing in the data processing section 4 will be explained with reference to FIG.

まず、ステツプ11において、優先データ群領域
71に送信データがあるかどうかをカウンタ73
で調べ、データがあれば、すなわち、カウンタ7
3の内容が0でなければ、ステツプ12において、
領域71の1つのデータを回線出力データ群領域
76に移すとともに、カウンタ73の内容に−1
を加える。次のステツプ13において、カウンタ7
7aの内容に1を加える。また、ステツプ14に
おいて、カウンタ81に格納されているアウトス
タンデイング・フレーム数に1を加え、ステツプ
15において、指標75をオフにする。なお、この
指標75はイニシヤライズ時にオンされている。
First, in step 11, the counter 73 checks whether there is transmission data in the priority data group area 71.
If there is data, that is, counter 7
If the content of 3 is not 0, in step 12,
One piece of data in the area 71 is moved to the line output data group area 76, and the contents of the counter 73 are changed by -1.
Add. In the next step 13, the counter 7
Add 1 to the contents of 7a. Also, in step 14, 1 is added to the outstanding frame number stored in the counter 81, and step 14 is started.
At 15, indicator 75 is turned off. Note that this indicator 75 is turned on at the time of initialization.

次に、ステツプ16において、カウンタ81のア
ウトスタンデイング・フレーム数が、レジスタ8
0にセツトされた最大アウトスタンデイング・フ
レーム数に等しいかどうかを調べ、等しくない時
は、ステツプ11に戻り、上述した処理を繰り返
す。それにより、最大アウトスタンデイング・フ
レーム数までの制限で優先データを処理し、回線
出力データ群領域76にセツトする。
Next, in step 16, the outstanding frame number in the counter 81 is changed to the outstanding frame number in the register 8.
It is checked whether it is equal to the maximum outstanding frame number set to 0, and if it is not equal, the process returns to step 11 and the above-described process is repeated. Thereby, the priority data is processed with the limit up to the maximum number of outstanding frames and set in the line output data group area 76.

もし、ステツプ11において、優先データがない
ことが解つた場合、ステツプ17において、指標7
5を調べることによつて、非優先データを送出し
て良いかどうかを調べ、送出して良ければ、ステ
ツプ18において、カウンタ74の内容が0でない
かどうかを調べて非優先データがあるかどうかを
調べ0でなければ、ステツプ19において非優先デ
ータ群領域72の内の1つの非優先データを回線
出力データ群領域76に移すとともに、カウンタ
74に−1を加え、ステツプ13の処理に移る。残
りの非優先データは、指標75がデータ出力部5
によつて後述するようにオンにセツトされた時、
優先データがなければ、1つだけ処理されて回線
出力データ群領域76にセツトされる。
If it is found in step 11 that there is no priority data, in step 17, the indicator 7
5, it is checked whether non-priority data can be sent. If it is okay, in step 18, it is checked whether the contents of the counter 74 are not 0 and whether there is non-priority data. If it is not 0, one non-priority data in the non-priority data group area 72 is moved to the line output data group area 76 in step 19, -1 is added to the counter 74, and the process moves to step 13. For the remaining non-priority data, the index 75 is the data output unit 5.
When set on as described below by
If there is no priority data, only one is processed and set in the line output data group area 76.

このようにして、最大アウトスタンデイング・
フレーム数に達するか、指標75がオンになつた
時でカウンタ73および74の内容が0になつた
時に、ステツプ20において、送信すべきデータな
しというコマンドRRF(後述するCMD2に相当)
を回線出力データ群領域76にセツトするととも
に、ステツプ21においてカウンタ77aの内容に
1を加える。
In this way, maximum outstanding
When the number of frames is reached or when the indicator 75 turns on and the contents of the counters 73 and 74 become 0, a command RRF indicating that there is no data to be transmitted (corresponds to CMD2 described later) is executed in step 20.
is set in the line output data group area 76, and at the same time, in step 21, 1 is added to the contents of the counter 77a.

同様に、相手局から送信許可コマンドを受けた
時、カウンタ73および74の内容が0、すなわ
ち、優先データ、非優先データの両方がない場合
にも、送信すべきデータなしというコマンド
RRFを回線出力データ群領域76にセツトする
(ステツプ20)。
Similarly, when receiving a transmission permission command from the other station, the contents of counters 73 and 74 are 0, that is, when there is neither priority data nor non-priority data, the command indicates that there is no data to be transmitted.
The RRF is set in the line output data group area 76 (step 20).

次に、データ出力部5の処理を第3図のフロー
チヤートを参照しながら説明する。
Next, the processing of the data output section 5 will be explained with reference to the flowchart of FIG.

ステツプ22において、カウンタ77bの内容が
0でないかどうかを見て送信中のデータが有るか
どうかを調べ、もし有れば、ステツプ23におい
て、指標79がオンであるかどうかを見て、1バ
イトの出力が可能かどうか調べる。もし可能であ
れば、ステツプ25において、回線出力データ群領
域76から1バイトのデータを取り出し、バツフ
ア78にセツトするとともに、ステツプ26におい
て、カウンタ77bの内容に−1を加える。さら
に、ステツプ27では、カウンタ77bの内容が0
であるかどうかを調べ、0であれば、ステツプ28
においてカウンタ77aの内容に−1を加え、ス
テツプ29および30に移る。ステツプ29および30
では、カウンタ77aおよび77bの内容がそれ
ぞれ1および10以下になつたかどうか、すなわ
ち、領域76の残データ数が1になり、残データ
数が10バイト以下になつたかどうかを調べ、も
し、そうなら、ステツプ31において、指標75を
オンにしてデータ処理部4に非優先データの送信
を許可する。なお、1つのデータは、例えば、
128、256バイトなどからなつている。
In step 22, it is checked whether the content of the counter 77b is not 0 and it is checked whether there is data being sent. If there is, in step 23, it is checked whether the indicator 79 is on or not, and 1 byte is sent. Check whether output is possible. If possible, in step 25 one byte of data is extracted from the line output data group area 76 and set in the buffer 78, and in step 26 -1 is added to the contents of the counter 77b. Furthermore, in step 27, the content of the counter 77b becomes 0.
If it is 0, step 28
Then -1 is added to the contents of the counter 77a, and the process moves to steps 29 and 30. Steps 29 and 30
Now, check whether the contents of counters 77a and 77b have become 1 and 10 or less, respectively, that is, whether the number of remaining data in area 76 has become 1 and the number of remaining data has become 10 bytes or less, and if so, In step 31, the indicator 75 is turned on to permit the data processing section 4 to transmit non-priority data. Note that one piece of data is, for example,
It consists of 128, 256 bytes, etc.

また、ステツプ22において送信中のデータがな
いと判断されると、ステツプ32において、カウン
タ77aの内容が0であるかどうかを見て、送信
データが無いかどうかを調べ、もし送信データが
あれば、ステツプ33において、送信データのバイ
ト長をカウンタ77bにセツトし、前述したステ
ツプ23の処理に移行する。
If it is determined in step 22 that there is no data being transmitted, then in step 32 the counter 77a is checked to see if the content is 0 to see if there is any data to be transmitted. In step 33, the byte length of the transmission data is set in the counter 77b, and the process proceeds to step 23 described above.

さらに、回線制御部6の処理につき、第4図の
フローチヤートを参照しながら説明する。
Furthermore, the processing of the line control section 6 will be explained with reference to the flowchart of FIG.

ステツプ34では、バツフア78に送出データが
有るかどうかを調べ、もしあれば、ステツプ35に
おいて、バツフア78の1バイトのデータをモデ
ム2に出力するとともに、ステツプ36において、
指標79にオンする。一方、バツフア78に送出
データがなければ、ステツプ37において、フラグ
パターンをモデム2に出力する。
In step 34, it is checked whether there is data to be sent in the buffer 78. If there is, in step 35, 1 byte of data in the buffer 78 is output to the modem 2, and in step 36,
Turn on indicator 79. On the other hand, if there is no sending data in the buffer 78, a flag pattern is output to the modem 2 in step 37.

上述した処理ステツプを実行した時のデータの
流れを第5図により説明する。なお、第5図で、
横軸は時間軸を示す。
The flow of data when the above processing steps are executed will be explained with reference to FIG. In addition, in Figure 5,
The horizontal axis shows the time axis.

図において、Aはメモリ部7の非優先データ群
領域72のデータ数、すなわち、カウンタ74の
値を縦軸にとつたもので、3つの非優先データ
a1、a2、a3をチヤネル9から受け取つた場合を示
している。Bは優先データ群領域71のデータ
数、すなわち、カウンタ73の値を縦軸にとつた
もので、3つの優先データb1、b2、b3をチヤネル
8から受け取つた場合を示す。Cは回線出力デー
タ群領域76のデータ数、すなわち、カウンタ7
7aの値を縦軸にとつたもので、Dは回線に送出
中のデータを示している。
In the figure, A is the number of data in the non-priority data group area 72 of the memory unit 7, that is, the value of the counter 74 is taken on the vertical axis, and three non-priority data
The case where a 1 , a 2 , and a 3 are received from channel 9 is shown. B indicates the number of data in the priority data group area 71, that is, the value of the counter 73, taken on the vertical axis, and indicates the case where three priority data b 1 , b 2 , and b 3 are received from the channel 8. C is the number of data in the line output data group area 76, that is, the counter 7
The value of 7a is plotted on the vertical axis, and D indicates data being sent to the line.

いま、相手局から送信許可コマンドCMKD1
が送られて来た時、タイミングd1で、優先データ
群領域71内にある優先データb1、b2を回線出力
データ群領域76にセツトした後、回線に出力す
る。また、送信許可コマンドを受けてから送信完
了コマンドを送るまでの送信可状態時に、優先デ
ータが領域71に格納されると、そのタイミング
d2で、同様にして、そのデータを領域76にセツ
トする。
Now send permission command CMKD1 from the other station.
is sent, at timing d1 , the priority data b 1 and b 2 in the priority data group area 71 are set in the line output data group area 76 and then output to the line. Furthermore, if priority data is stored in the area 71 during the transmission enabled state from receiving the transmission permission command to sending the transmission completion command, the timing
At d2 , the data is set in area 76 in the same manner.

一方、相手局から送信許可コマンドを受けた時
に送出すべき優先データがないか、あるいは、送
信可状態でデータ出力部5から非優先データ送信
可信号Sを受けた時、図の例では、タイミングd3
〜d5で非優先データを領域72から1つだけ取り
出し処理した後、回線出力データ群領域76にセ
ツトする。なお、図のように、非優先データ送信
可信号Sは、回線出力データ群領域76の最後の
データを全部回線に出力し終る一定時間前にデー
タ処理部4に通知されるようになつているので、
その時点から処理を開始しても回線を遊ばせるよ
うなことはない。また、非優先データが複数個あ
つても、優先データは、高々、1つの非優先デー
タを回線に出力するだけの時間だけ待つだけで回
線に出力されることになる。
On the other hand, if there is no priority data to be sent when a transmission permission command is received from the partner station, or if a non-priority data transmission permission signal S is received from the data output unit 5 in a transmission permission state, in the example shown in the figure, the timing is d 3
In ~ d5 , only one piece of non-priority data is extracted from the area 72, processed, and then set in the line output data group area 76. As shown in the figure, the non-priority data transmission enable signal S is notified to the data processing unit 4 a certain period of time before all the last data in the line output data group area 76 is output to the line. So,
Even if processing starts from that point, the line will not be idle. Further, even if there is a plurality of non-priority data, the priority data can be output to the line by waiting at most the time required to output one non-priority data to the line.

非優先データ送信可信号Sがデータ処理部4に
伝えられた時、優先、非優先データの両方がなか
つた場合、タイミングd6で送信を終了するコマン
ドCMD2を回線出力データ群領域76にセツト
する。
When the non-priority data transmission enable signal S is transmitted to the data processing unit 4, if there is neither priority data nor non-priority data, a command CMD2 for ending the transmission at timing d6 is set in the line output data group area 76. .

なお、上述した実施例では、データ処理部、デ
ータ出力部、回線制御部をそれぞれ別個に構成し
た例について示したが、それらを統合し1つの処
理部で実現してもよい。また、上述した実施例で
は通信制御装置をマイクロコンピユータで実現し
た場合について示したが、それに限定されるもの
ではなく、専用ハードで実現することもできる。
In the above-described embodiment, the data processing section, the data output section, and the line control section are each configured separately, but they may be integrated into one processing section. Further, in the above-described embodiment, the communication control device is realized by a microcomputer, but the present invention is not limited to this, and the communication control device can also be realized by dedicated hardware.

また、本発明は、HDLG手順によるデータ伝
送方式に限らず、一般に、優先非優先データを伝
送する方式に適用できる。
Furthermore, the present invention is applicable not only to data transmission systems using the HDLG procedure but also to systems that transmit priority and non-priority data in general.

以上述べたように、本発明によれば、優先デー
タであれば連続して複数のデータを回線に出力
し、非優先データであれば同時に僅かずつ、例え
ば1つのデータだけ回線に出力し、優先データは
高々1つの非優先データを回線に出力するだけの
時間を待つだけで回線に出力できるようにして、
回線の利用効率を低下させずに優先データの先出
しを可能にできる。
As described above, according to the present invention, if it is priority data, a plurality of pieces of data are outputted to the line in succession, and if it is non-priority data, it is outputted to the line little by little, for example, one piece of data at a time. Data can be output to the line by simply waiting the time required to output at most one non-priority data to the line,
It is possible to provide priority data in advance without reducing line usage efficiency.

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

第1図は本発明によるデータ伝送方式を実現す
る装置の一実施例の構成図、第2図、第3図およ
び第4図はそれぞれ第1図のデータ処理部、デー
タ出力部および回線制御部での処理の一例を示す
フローチヤート、第5図は第1図の装置でのデー
タの流れの一例を示すタイムチヤートである。 1……通信制御装置、2……モデム、3……回
線、4……データ処理部、5……データ出力部、
6……回線制御部、7……メモリ部、8,9……
チヤネル。
FIG. 1 is a block diagram of an embodiment of a device implementing the data transmission method according to the present invention, and FIGS. 2, 3, and 4 are the data processing section, data output section, and line control section shown in FIG. 1, respectively. FIG. 5 is a flow chart showing an example of the processing in the device shown in FIG. 1, and FIG. 5 is a time chart showing an example of the data flow in the device shown in FIG. 1... Communication control device, 2... Modem, 3... Line, 4... Data processing section, 5... Data output section,
6... Line control section, 7... Memory section, 8, 9...
Channel.

Claims (1)

【特許請求の範囲】 1 ホスト装置から供給される優先度の高い複数
のデータ(優先データ)を格納するための第1の
メモリ手段と、ホスト装置から供給される優先度
の低い複数のデータ(非優先データ)を格納する
ための第2のメモリ手段と、それぞれ上記第1、
第2のメモリ手段内の残りデータ個数を示す第
1、第2のカウンタ手段と、回線に出力すべき複
数の送信データを格納するための第3のメモリ手
段と、上記第3のメモリ手段内の残りデータ個数
を記憶するための第3のカウンタ手段と、連続送
信可能なデータ個数を記憶するための第4のカウ
ンタ手段とを備え、上記第1のメモリ手段に格納
された優先データを、上記第4のカウンタ手段が
示す連続送信可能な第1のデータ個数に達するま
で、連続的に上記第3のメモリに転送し、上記第
2のメモリ手段に格納された非優先データを、上
記第1のメモリ手段に優先データがなく、且つ上
記第3のカウンタ手段が示す上記第3のメモリ手
段内のデータ数が所定数以下になつた場合に、上
記第1のデータ個数より小さい第2のデータ個数
の範囲内で上記第3のメモリ手段に転送し、上記
第3のメモリ手段への書き込みデータ数が上記第
4のカウンタ手段が示す連続送信可能データ個数
に達した時、上記第3のメモリ手段に所定の制御
データを書き込み、上記第3のメモリ手段に格納
されたデータを順次に回線に出力するようにした
ことを特徴とするデータ伝送方式。 2 第1項に記載のデータ送信方式において、回
線に送信中のデータの残りバイト長を記憶するた
めの第5のカウンタ手段を有し、前記第3のメモ
リ手段から送信データの先頭のバイトを読み出し
た時、上記送信データの残りバイト数を上記第5
のカウンタ手段に記憶しておき、上記第3のメモ
リ手段から送信データをバイト単位で読み出し、
その都度上記第5のカウンタの値を減算するよう
にしてデータを送信することを特徴とするデータ
伝送方式。
[Scope of Claims] 1. A first memory means for storing a plurality of high-priority data (priority data) supplied from a host device, and a first memory means for storing a plurality of low-priority data (priority data) supplied from a host device. a second memory means for storing non-priority data);
first and second counter means for indicating the number of remaining data in the second memory means; a third memory means for storing a plurality of pieces of transmission data to be output to the line; a third counter means for storing the number of remaining data pieces, and a fourth counter means for storing the number of data pieces that can be continuously transmitted; the priority data stored in the first memory means; The non-priority data stored in the second memory means is continuously transferred to the third memory until the first number of consecutively transmittable data indicated by the fourth counter means is reached. When there is no priority data in the first memory means and the number of data in the third memory means indicated by the third counter means is less than or equal to a predetermined number, a second data smaller than the first data number is The data is transferred to the third memory means within the range of the number of data, and when the number of data written to the third memory means reaches the number of consecutively transmittable data indicated by the fourth counter means, the third A data transmission system characterized in that predetermined control data is written in memory means, and the data stored in the third memory means is sequentially output to a line. 2. In the data transmission method described in paragraph 1, the fifth counter means is provided for storing the remaining byte length of the data being transmitted to the line, and the first byte of the transmission data is stored from the third memory means. When read, the number of remaining bytes of the above transmission data is set to the fifth
and reading out the transmission data in byte units from the third memory means;
A data transmission method characterized in that data is transmitted by subtracting the value of the fifth counter each time.
JP56138585A 1981-09-04 1981-09-04 Data transmitting system Granted JPS5840952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56138585A JPS5840952A (en) 1981-09-04 1981-09-04 Data transmitting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56138585A JPS5840952A (en) 1981-09-04 1981-09-04 Data transmitting system

Publications (2)

Publication Number Publication Date
JPS5840952A JPS5840952A (en) 1983-03-10
JPH0417492B2 true JPH0417492B2 (en) 1992-03-26

Family

ID=15225550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56138585A Granted JPS5840952A (en) 1981-09-04 1981-09-04 Data transmitting system

Country Status (1)

Country Link
JP (1) JPS5840952A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60244133A (en) * 1984-05-18 1985-12-04 Hitachi Ltd Data transmission method of remote supervisory and control device
JP2771841B2 (en) * 1989-04-14 1998-07-02 和泉電気株式会社 Electrical connection equipment

Also Published As

Publication number Publication date
JPS5840952A (en) 1983-03-10

Similar Documents

Publication Publication Date Title
US4860244A (en) Buffer system for input/output portion of digital data processing system
JPS604624B2 (en) System for retransmitting incorrect information frames
US5594927A (en) Apparatus and method for aligning data transferred via DMA using a barrel shifter and a buffer comprising of byte-wide, individually addressabe FIFO circuits
US5142628A (en) Microcomputer system for communication
US4365296A (en) System for controlling the duration of the time interval between blocks of data in a computer-to-computer communication system
EP0473059B1 (en) Communication control system
JPS6359042A (en) Communication interface equipment
JPH0417492B2 (en)
AU595211B2 (en) Apparatus for input/output notification to a processor
JPH0221619B2 (en)
EP0378422B1 (en) Look ahead bus transfer request
JP3230339B2 (en) Communication control device
JPS5936773B2 (en) Local burst transfer control method
JP2713204B2 (en) Information processing system
JPS61265653A (en) Direct memory access system
JPH0353736A (en) Reception buffer control system
JP2538901B2 (en) Bus coupling device
JPH0461388B2 (en)
JPS6360428B2 (en)
JP2823625B2 (en) Data processing device
JPH0973389A (en) Serial interface transfer device
JPH0235500B2 (en)
JPS6294042A (en) Communication control equipment
JPH04158466A (en) Inter-processor data transfer system
JPH0136740B2 (en)