JPS6351623B2 - - Google Patents

Info

Publication number
JPS6351623B2
JPS6351623B2 JP57229123A JP22912382A JPS6351623B2 JP S6351623 B2 JPS6351623 B2 JP S6351623B2 JP 57229123 A JP57229123 A JP 57229123A JP 22912382 A JP22912382 A JP 22912382A JP S6351623 B2 JPS6351623 B2 JP S6351623B2
Authority
JP
Japan
Prior art keywords
data
abort
frame
received
transmission
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
JP57229123A
Other languages
Japanese (ja)
Other versions
JPS59122156A (en
Inventor
Toshiaki Shibuya
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 JP57229123A priority Critical patent/JPS59122156A/en
Publication of JPS59122156A publication Critical patent/JPS59122156A/en
Publication of JPS6351623B2 publication Critical patent/JPS6351623B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L13/00Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00

Landscapes

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

Description

【発明の詳細な説明】 発明の技術分野 本発明は、ハイレベル・データ・リンク
(HDLC)手順においてアボートフレームが発生
した場合の受信処理方式に関し、特にエラーによ
るアボート検出がなされた場合廃棄される正常デ
ータフレームを極力少なくして無駄をなくそうと
するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a reception processing method when an abort frame occurs in a high-level data link (HDLC) procedure, and in particular, it is discarded when an abort is detected due to an error. This is an attempt to eliminate waste by minimizing the number of normal data frames.

従来技術と問題点 通常のHDLC手順では、アボートフレームはそ
のフレームの放棄を意味し、二次局がアボートフ
レームを送信することは、送信権の放棄をも意味
する。したがつて、二次局が送信したフレームが
回線上のビツト誤り等でアボートフレームになつ
た場合、後続のフレームが廃棄される不都合があ
る。
Prior Art and Problems In normal HDLC procedures, an abort frame means abandonment of the frame, and the transmission of an abort frame by a secondary station also means abandonment of transmission rights. Therefore, if a frame transmitted by a secondary station becomes an abort frame due to a bit error on the line, etc., there is a problem that the subsequent frame will be discarded.

第1図はHDLC規約による送信及びアボート処
理の説明図である。一次局がポーリングによつて
送信権を二次局に渡すと、送信権を得た二次局は
一次局に対しデータ(1)〜(n)を送り、最後にア
ボートを送つて送信権を一次局に返還することが
できる(通常はフレームに最終表示を行なう)。
HDLCのアボートはデータ中に“1”を7〜15ビ
ツト連続させた状態で示す。
FIG. 1 is an explanatory diagram of transmission and abort processing according to the HDLC protocol. When the primary station passes the transmission right to the secondary station by polling, the secondary station that obtained the transmission right sends data (1) to (n) to the primary station, and finally sends an abort to regain the transmission right. It can be returned to the primary station (usually with a final display in the frame).
HDLC abort is indicated by 7 to 15 consecutive bits of "1" in the data.

ところで、上述したアボート処理によると回線
品質不良のためにビツトエラーを起して偶然アボ
ート信号になつたとしても二次局が送信権を放棄
したものとみなし、以後に受信するデータを捨て
てしまう欠点がある。第2図はこの説明図で、デ
ータ(3)の送信中に二次局が意図しない回線品質不
良によるアボートが発生した様子を示している。
送信権の放棄を意味する通常のアボートは最終デ
ータ(7)の後に出されるが、これがデータ(3)で検出
されると一次局はその時点で2次局は送信権を放
棄したと判断し、受信監視を止めてしまうので、
その後のデータ(3)〜(7)は全て捨てられてしまう。
勿論、受信データは2番目のものまでであり、こ
れは受信側つまり1次局で分るから次のポーリン
グフレームに何番のデータから送れを表示して不
足分を再送してもらうことは可能である。しか
し、データ3〜7は廃棄しかつ次のポーリングタ
イミングまで待つて再度同様な送出要求手順を踏
む必要があり、伝送効率の低下は避けられない。
By the way, with the abort processing described above, even if a bit error occurs due to poor line quality and an abort signal is accidentally generated, the secondary station assumes that it has given up the right to transmit, and the data it receives thereafter is discarded. There is. FIG. 2 is an explanatory diagram of this, and shows how an abort occurs due to unintended poor line quality at the secondary station while transmitting data (3).
A normal abort, which means relinquishing the right to transmit, is issued after the final data (7), but when this is detected in data (3), the primary station determines that the secondary station has relinquished the right to transmit. , since reception monitoring will be stopped.
All subsequent data (3) to (7) will be discarded.
Of course, the received data is up to the second one, and this is known on the receiving side, that is, the primary station, so it is possible to have the missing data retransmitted by displaying the data number to send in the next polling frame. It is. However, it is necessary to discard data 3 to 7 and wait until the next polling timing to perform the same transmission request procedure again, which inevitably reduces transmission efficiency.

発明の目的 本発明は、アボートフレームが受信されても一
定時間は受信監視を続け、その一定時間内に次の
データが受信されたときは該アボートは二次局の
意図しないものであると判定し、直ちに再送要求
を行ない、これにより受信データを無駄にする率
を減らし、伝送効率を向上させようとするもので
ある。
Purpose of the Invention The present invention continues to monitor reception for a certain period of time even when an abort frame is received, and if the next data is received within that certain period of time, it is determined that the abort is not intended by the secondary station. Then, a retransmission request is immediately made, thereby reducing the rate at which received data is wasted and improving transmission efficiency.

発明の構成 本発明は、HDLC手順でデータフレームを受信
中にアボートフレームを受信したらタイマを始動
するが受信監視は継続し、そして該タイマがタイ
ムアウトする一定時間内に次のデータフレームを
受信した場合には該アボートが検出されたフレー
ムのデータからの再送を相手局に要求し、また該
一定時間内にデータフレームを受信しない場合に
は相手局の送信権放棄とみなして受信監視を停止
することを特徴とするが、以不図示の実施例を参
照しながらこれを詳細に説明する。
Structure of the Invention According to the present invention, when an abort frame is received while receiving a data frame in an HDLC procedure, a timer is started, but reception monitoring continues, and if the next data frame is received within a certain period of time before the timer times out. request the other station to retransmit the data of the frame in which the abort was detected, and if the data frame is not received within the certain period of time, it is assumed that the other station has abandoned the transmission right and reception monitoring is stopped. This will be described in detail below with reference to embodiments not shown.

発明の実施例 第3図は本発明の一実施例を示す説明図で、第
2図と同様にデータ(3)の送信中にエラーによるア
ボートが発生した例を示している。本発明ではア
ボートフレームを検出しても直ちに二次局の送信
権放棄とはみなさず、従つて受信監視は続け、そ
してタイマーをスタートさせる。その結果一定時
間(これは伝送データ間隔に対応するもので通信
線の伝送速度などにより定まる)内に次のデータ
(4)が検出されたらタイマースタートの元となつた
データ(3)中のアボートを最終表示とみなさず、即
ち回線品質不良等によるものと判定して二次局に
対しデータ(3)(これはビツトエラーを起している
と判断できる)から再送するように要求する。再
送要求(3)はこの意味である。タイミング的にはこ
の再送要求(3)が二次局で受信されるまでに二次局
はデータ(5)まで送信しているので、データ3〜5
が再送対象となる。しかし、第2図のように再度
ポーリングをする必要はなく、またデータ(6)、(7)
まで再送する必要はないので、その分伝送効率は
高まる。第3図の例ではデータ(7)で終了するがこ
れがデータ(n)と一般化されたとき、本発明で
無駄にするデータは常にアボートが発生したフレ
ームを含む3フレームだけで済むから、一連のフ
レーム数nが大きいほどその効果は顕著である。
Embodiment of the Invention FIG. 3 is an explanatory diagram showing an embodiment of the present invention, and similarly to FIG. 2, it shows an example in which an abort due to an error occurs during transmission of data (3). In the present invention, even if an abort frame is detected, it is not immediately regarded as an abandonment of the transmission right by the secondary station, so reception monitoring continues and a timer is started. As a result, the next data is transmitted within a certain period of time (this corresponds to the transmission data interval and is determined by the transmission speed of the communication line, etc.).
If (4) is detected, the abort in data (3) that was the source of the timer start is not regarded as the final indication, and is determined to be due to poor line quality, etc., and the data (3) (this (can be determined to have caused a bit error) and requests retransmission. This is the meaning of retransmission request (3). In terms of timing, by the time this retransmission request (3) is received by the secondary station, the secondary station has transmitted up to data (5), so data 3 to 5
will be retransmitted. However, there is no need to poll again as shown in Figure 2, and data (6) and (7)
Since there is no need to retransmit up to the point, transmission efficiency increases accordingly. The example in Figure 3 ends with data (7), but when this is generalized to data (n), the data that is always wasted in the present invention is only three frames including the frame in which the abort occurs, so The larger the number of frames n is, the more remarkable the effect is.

第4図はHDLCのフレーム構成で、Fはフラ
グ、Aはアドレス、Cはコントロール、FCSはフ
レーム・チエツク・シーケンスである。コントロ
ールフイールドCは後続のフイールドがデータ
か、ポーリング情報か、送信開始/終了時に行な
うデータリンク設定/解放か等を示す。前述の再
送またはポーリング時の再送開始データ番号など
もこのコントロールフイールドに含められる。
HDLCでは通常のデータ中に5ビツト以上1が連
続することを禁止しており、5ビツト以上になる
場合は間に0を入れて5ビツトに収まるように
し、挿入した0は受信側で廃棄する規約になつて
いる。フラグFは01111110で表わされ、6個続く
1の両側に0を配置してなる。そして、1が7〜
15ビツトの間で連続するとアボートとなり、16ビ
ツト以上の1が連続する場合は回線のアイドル状
態を示す。アボートはフレーム中任意の位置に入
れてよく(第4図はこのアボートの挿入例をも示
す)、そしてアボートがあるフレームはアボート
フレームとされる。またフレームはフラグから始
つてフラグで終るが、次のフレームはその始端フ
ラグを先行フレームの終端フラグと共通にして
も、あるいは別にしても、更にはフラグを幾つか
続けてそれからA、C、データ…と続けてもよ
い。
FIG. 4 shows the HDLC frame structure, where F is a flag, A is an address, C is a control, and FCS is a frame check sequence. Control field C indicates whether the subsequent field is data, polling information, data link setting/release performed at the start/end of transmission, etc. The above-mentioned retransmission start data number at the time of retransmission or polling is also included in this control field.
HDLC prohibits 5 or more consecutive 1's in normal data, and if there are 5 or more consecutive 1's, insert 0's in between to keep it within 5 bits, and the inserted 0's are discarded on the receiving side. It's become a rule. Flag F is represented by 01111110, and is made up of six consecutive 1s with 0s placed on both sides. And 1 is 7~
Consecutive 1's between 15 bits indicate an abort, and 16 or more consecutive 1's indicate an idle state of the line. An abort may be inserted at any position in a frame (FIG. 4 also shows an example of inserting this abort), and a frame in which an abort is present is considered an abort frame. Also, a frame starts and ends with a flag, but the next frame may have its start flag in common with the end flag of the previous frame, or it may be different, or it may have several flags in succession, then A, C, etc. You can continue with data...

第5図は本発明を実施する装置のブロツク図
で、13は回線に接続する文字処理部、10は受
信フレームチエツク部である。文字処理部13は
受信したフレームの各エレメントF,A,C…へ
の分解、データ中の文字解続及び文字バツフアへ
の格納、アボート検出などを行なう。チエツク部
10は受信データのフレーム構成が第4図に従う
かを確認して、そのデータ部をデータ処理部11
へ渡たす(実際には文字処理部13の文字バツフ
アのアドレスを知らせる)。またアボートが検出
されたらタイマ処理部12を起動する。文字処理
部13は受信したものがフラグか、一般文字か、
アボートか等を判断してその結果をチエツク部1
0に通知する。タイマ処理部12はアボート受信
により始動し、一定時間経過してタイムアウトに
なると文字処理部13での受信監視を停止させ
る。換言すれば、タイムアウトになる迄は文字処
理部の動作つまり受信監視を継続させる。同時に
相手方に送信権がなくなつたと判定して送信スケ
ジユーラ14によるポーリング処理を開始させ
る。即ちポーリング周期を定めるタイマをスター
トさせ、一定周期でのポーリングを開始させる。
しかし、一定時間内に次のデータが受信されると
データ処理部11はタイマ処理部12に計時停止
要求を出して送信スケジユーラ14の起動を禁止
させると共に、シーケンス番号をチエツクして再
送が必要なデータ番号からの再送要求を二次局に
出す。
FIG. 5 is a block diagram of an apparatus implementing the present invention, in which 13 is a character processing section connected to a line, and 10 is a received frame check section. The character processing unit 13 decomposes the received frame into elements F, A, C, . . . , terminates characters in data, stores them in a character buffer, detects aborts, and so on. The checking section 10 checks whether the frame structure of the received data conforms to FIG.
(Actually, the address of the character buffer of the character processing unit 13 is notified.) Further, when an abort is detected, the timer processing unit 12 is activated. The character processing unit 13 determines whether the received text is a flag or a general character.
Part 1 that determines whether to abort, etc. and checks the result.
Notify 0. The timer processing unit 12 is started upon reception of an abort, and when a certain period of time has elapsed and a timeout occurs, the reception monitoring in the character processing unit 13 is stopped. In other words, the operation of the character processing unit, that is, reception monitoring, is continued until the timeout occurs. At the same time, it is determined that the other party no longer has the transmission right, and the transmission scheduler 14 starts polling processing. That is, a timer that determines the polling cycle is started, and polling at a constant cycle is started.
However, when the next data is received within a certain period of time, the data processing unit 11 requests the timer processing unit 12 to stop timing, prohibits the activation of the transmission scheduler 14, and checks the sequence number to determine if retransmission is necessary. A retransmission request based on the data number is sent to the secondary station.

従来はタイマ処理部12がなく、チエツク部1
0がアボートを受信すると直ちに送信スケジユー
ラ14を起動したが、本発明ではタイマ処理部1
2を介在させて真のアボートかを判断する時間を
おく。これによりエラーなら直ちに再送要求し、
従つて送信側は直ちに後続データの送出を止めて
エラーを生じたデータからの再送を行なうことが
できる。
Conventionally, there was no timer processing section 12, and the check section 1
0 started the transmission scheduler 14 immediately upon receiving the abort, but in the present invention, the timer processing unit 1
2 to allow time to determine whether it is a true abort. This will immediately request retransmission if there is an error.
Therefore, the transmitting side can immediately stop transmitting subsequent data and retransmit data starting from the data in which the error occurred.

発明の効果 以上述べたように本発明によれば、HDLC手順
の通信方式においてデータ伝送途中でエラーによ
りアボートが発生しても送信権放棄とみなされな
いので、再送するデータ量は少なくて済み、伝送
効率が改善される利点がある。
Effects of the Invention As described above, according to the present invention, even if an abort occurs due to an error during data transmission in the communication system of the HDLC procedure, it is not considered to be an abandonment of the transmission right, so the amount of data to be retransmitted can be reduced, and the transmission This has the advantage of improved efficiency.

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

第1図はHDLC規約による通常のアボート処理
の説明図、第2図はデータ伝送途中における従来
のアボート処理の説明図、第3図は本発明の一実
施例を示す説明図、第4図はHDLCのフレーム構
成図、第5図は本発明を実施する装置の一例を示
すブロツク図である。 図中、10は受信フレームチエツク部、11は
データ処理部、12はタイマ処理部、13は文字
処理部、14は送信スケジユーラである。
FIG. 1 is an explanatory diagram of normal abort processing according to the HDLC protocol, FIG. 2 is an explanatory diagram of conventional abort processing during data transmission, FIG. 3 is an explanatory diagram showing an embodiment of the present invention, and FIG. FIG. 5, a frame configuration diagram of HDLC, is a block diagram showing an example of an apparatus implementing the present invention. In the figure, 10 is a received frame check section, 11 is a data processing section, 12 is a timer processing section, 13 is a character processing section, and 14 is a transmission scheduler.

Claims (1)

【特許請求の範囲】[Claims] 1 HDLC手順でデータフレームを受信中にアボ
ートフレームを受信したらタイマを始動するが受
信監視は継続し、そして該タイマがタイムアウト
する一定時間内に次のデータフレームを受信した
場合には該アボートが検出されたフレームのデー
タからの再送を相手局に要求し、また該一定時間
内にデータフレームを受信しない場合には相手局
の送信権放棄とみなして受信監視を停止すること
を特徴とする、HDLC手順におけるアボートフレ
ームの受信諸多方式。
1 If an abort frame is received while receiving a data frame in the HDLC procedure, a timer is started, but reception monitoring continues, and if the next data frame is received within a certain period of time before the timer times out, the abort is detected. The HDLC is characterized in that the other station is requested to retransmit the data of the received frame, and if the data frame is not received within the certain period of time, the other station is deemed to have abandoned the transmission right and reception monitoring is stopped. Various methods for receiving abort frames in procedures.
JP57229123A 1982-12-28 1982-12-28 Receiving processing system of abort frame in hdlc procedure Granted JPS59122156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57229123A JPS59122156A (en) 1982-12-28 1982-12-28 Receiving processing system of abort frame in hdlc procedure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57229123A JPS59122156A (en) 1982-12-28 1982-12-28 Receiving processing system of abort frame in hdlc procedure

Publications (2)

Publication Number Publication Date
JPS59122156A JPS59122156A (en) 1984-07-14
JPS6351623B2 true JPS6351623B2 (en) 1988-10-14

Family

ID=16887102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57229123A Granted JPS59122156A (en) 1982-12-28 1982-12-28 Receiving processing system of abort frame in hdlc procedure

Country Status (1)

Country Link
JP (1) JPS59122156A (en)

Also Published As

Publication number Publication date
JPS59122156A (en) 1984-07-14

Similar Documents

Publication Publication Date Title
JPS5836049A (en) Station in communication network
JPH053941B2 (en)
JPH01198130A (en) Method of reducing the number of check point frames
CA2467811A1 (en) Enhanced data link layer selective reject mechanism in noisy wireless environment
CA2387913A1 (en) Transmitting data reliably and efficiently
JPS6351623B2 (en)
JPS627239A (en) Setting system for data transmission rate
JPH0530115A (en) Polling system
JPS5844837A (en) Signal transmission method
JPH05110542A (en) Data transmission system
KR930004100B1 (en) Method for embodying full duplex communication protocol
JP2634631B2 (en) Transmission control method
JPS60117846A (en) Data transmission system
JPS5963831A (en) Data transmission system
JPH0622000A (en) Message communication system with function preventing the missing of message
JPH04358251A (en) Method for transmitting data between computers
JPH09326782A (en) Serial communication method
JP2969868B2 (en) Fixed interval short fixed length data transmission method
JPS6145654A (en) Multiplex line concentrator
JPH04930A (en) Frame multiple transmission system
JPS58219856A (en) Data communication system
JPS61228749A (en) Error control system in multiple address communication system
JPH0238029B2 (en)
JPS5885650A (en) Data communicating system
JP2000083012A (en) Data retransmission controlling method according to hdlc procedure