JPH02222247A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPH02222247A
JPH02222247A JP1040361A JP4036189A JPH02222247A JP H02222247 A JPH02222247 A JP H02222247A JP 1040361 A JP1040361 A JP 1040361A JP 4036189 A JP4036189 A JP 4036189A JP H02222247 A JPH02222247 A JP H02222247A
Authority
JP
Japan
Prior art keywords
frame
reception
primary station
station
data
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
JP1040361A
Other languages
Japanese (ja)
Inventor
Kiyoko Sugita
杉田 聖子
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1040361A priority Critical patent/JPH02222247A/en
Publication of JPH02222247A publication Critical patent/JPH02222247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To improve the line efficiency and to relieve the load of a CPU by sending an important data required for confirming its reception through an I frame and sending general data not requiring reception confirmation through a UI frame. CONSTITUTION:In the case of sending important data requiring reception confirmation, a primary station 1 sends 3 consecutive I frames (I0.0, I1.0, and I2.0). When the frame I1.0 is not received in the sent I frames, a secondary station 2 sends an RR1, F response to the primary station I to inform that the frame reception preparation from the frame I1.0 is available. The primary station 1 sends the I frame from the I1.0 again and when the reception is finished, the secondary station 2 sends an RR3, F response informing the ready state of frame reception preparation to the primary station 1. In the case of sending general data not requiring reception confirmation, the primary station 1 sends a UI frame, the secondary station 2 does not update the reception state variable and informs the ready state of the frame reception preparation to the primary station 1 by sending the RR3, F response. Thus, the line efficiency is improved and the load of the CPU is relieved.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明はハイレベルデータリンク制御(以下11DL
cという)によりデータの送受信を行う通信制御方式に
関するものである。
This invention relates to high-level data link control (hereinafter referred to as 11DL).
The invention relates to a communication control method for transmitting and receiving data using the method (referred to as c).

【従来の技術】[Conventional technology]

データ通信の伝送制御方式の一つであるHDLCは、伝
送する情報をフレームと呼ぶ規定の枠に収容し、情報の
種類に関係なく統一的に伝送する。 このことは「ハイレベルデータリンク手順のフレーム構
成」 (日本規格協会、 JIS X 5104に規定
されており、高速度通信方式としてHDLCを用いた通
信回線では150. CCITTで標準化されたIID
Lc手順が用いられることが多い。 第4図は従来の通信システムの構成図であり、図におい
て、1,2はデータ通信を行う端末機器、3は前記端末
機器1.2間に設置されている通信回線、4はデータ転
送用バス、5はCPU、6は通信用データを格納する送
信データバッファとしてのランダムアクセスメモリ (
以下RAMという)、7は前記CPU5と独立して回線
制御LSIBと前記RAM6との間のデータ転送及びバ
ス4の制御をするダイレクトメモリアクセスコントロー
ラ(以下DMAコントローラという)、8はデータリン
ク制御用の回線制御LSIである。 次に動作について第5図を用いて説明する。端末機器1
を1次局、端末機器2を2次局とすると、1次局lは2
次局2に対し、正規応答モードでの動作指示をするため
SNRM、Pコマンド(SetNormal Re5p
onse Mode)を送信しく401)、2プ局2は
この指示に対し動作可能であればUA。 Fレスポンス(Unnumbered Acknowl
edge)を1次局1へ送信して(402)、1次局1
が該UA。 Fレスポンスを受信するとデータリンクが設定される。 この後、1次局lは3個のIフレーム(■。、。、I1
.。、I8.。)を送信する。ここで1フレームの構成
は第3図(alのような構成になっている。送信した3
個の■フレームの内It、。が受信されなかったとき(
403)、2次局2は引き続きiフレームh、。の受信
準備ができていることを1次局1へ知らせるため、RR
,、Fレスポンス(Receive Ready)を送
信する(404)、この時、1次局lは送信を失敗した
lフレーム11.6から再送する(405)、再送が終
わり、2次局2での■フレーム受信が完了すれば、フレ
ーム受信準備ができていることを1次局lへ知らせるた
め、RR3,Fレスポンスを送信する(406)。 もし再送が完了していなければ、上記のようなシーケン
スを繰り返し、データ通信を行なうが、■フレームでは
送信するフレーム順序を送信シーケンス番号N (S)
と、受信シーケンス番号N(R)を用いて順序制御して
いる。すなわち、N(S)を含むIフレームを送信しな
がら、受信中のN (R)をチエツクすることにより、
メツセージの受信確認が行なわれている。なお、コマン
ド又はレスポンスにP/Fとあるのは、フレームがコマ
ンドの場合、制御部のポール(P)ビットであることを
示し、レスポンスの場合、制御部のファイナル(F)ビ
ットであることを示すものとし、各々“1“のとき機能
を果す。またPビットは相手局に対して単一又は複数個
のレスポンスフレームを勧誘するのに使用し、“1”に
設定されたFビットは“1”に設定されたPビット受信
の結果として送出されたレスポンスフレームであること
を示す、また図中P又はFとあるのはPビット−“1”
、Fビット−41”であることを示し、記載のない■フ
レームはPビット−10”を示している。
HDLC, which is one of the transmission control systems for data communication, stores information to be transmitted in a prescribed frame called a frame, and uniformly transmits information regardless of the type of information. This is specified in the "frame structure of high-level data link procedures" (Japanese Standards Association, JIS
The Lc procedure is often used. FIG. 4 is a configuration diagram of a conventional communication system. In the figure, 1 and 2 are terminal devices for data communication, 3 is a communication line installed between the terminal devices 1 and 2, and 4 is for data transfer. 5 is a CPU, 6 is a random access memory as a transmission data buffer that stores communication data (
7 is a direct memory access controller (hereinafter referred to as DMA controller) that transfers data between the line control LSIB and the RAM 6 and controls the bus 4 independently of the CPU 5; 8 is a direct memory access controller for data link control; It is a line control LSI. Next, the operation will be explained using FIG. 5. Terminal device 1
Assuming that is the primary station and terminal device 2 is the secondary station, the primary station l is 2
In order to instruct the next station 2 to operate in normal response mode, the SNRM, P command (SetNormal Re5p
401), and the second station 2 becomes a UA if it can operate in response to this instruction. F response (Unnumbered Acknowledgment)
edge) to the primary station 1 (402), and the primary station 1
is the corresponding UA. Upon receiving the F response, a data link is established. After this, the primary station l sends three I frames (■., ., I1
.. . , I8. . ) to send. Here, the structure of one frame is as shown in Figure 3 (al).
It within the ■frames. is not received (
403), the secondary station 2 continues to send i-frame h,. In order to notify primary station 1 that it is ready to receive the
,, F response (Receive Ready) is transmitted (404). At this time, the primary station 1 retransmits from the 1 frame 11.6 where the transmission failed (405). After the retransmission is completed, the secondary station 2 When frame reception is completed, an RR3,F response is transmitted to notify the primary station l that preparations for frame reception are completed (406). If the retransmission is not completed, the above sequence is repeated and data communication is performed.
The order is controlled using the reception sequence number N(R). That is, by checking the received N(R) while transmitting an I frame containing N(S),
Receipt of the message is confirmed. Note that P/F in a command or response indicates that if the frame is a command, it is the poll (P) bit of the control section, and if it is a response, it is the final (F) bit of the control section. and each function is performed when it is “1”. The P bit is used to solicit single or multiple response frames from the other station, and the F bit set to "1" is sent as a result of receiving the P bit set to "1". In the figure, P or F indicates the P bit - “1”.
, F bit -41'', and the undescribed frame (2) indicates P bit -10''.

【発明が解決しようとする課題】[Problem to be solved by the invention]

従来の通信制御方式は以上のようにHDLC手順により
Iフレームを送受信しているので、必ず受信確認を行な
う処理が必要となる。このため通信回線の品質が悪い場
合等、受信確認を必要としない一般データであっても再
送が発生し、回線効率が下がるとともにCPU負荷が増
大するという課題があった。 この発明は上記ような課題を解消するためになされたも
ので、回線効率を向上させるとともにCPUの負荷を軽
減させる通信制御方式を得ることを目的とする。
Since the conventional communication control system transmits and receives I frames using the HDLC procedure as described above, a process for confirming reception is always required. For this reason, when the quality of the communication line is poor, even general data that does not require confirmation of receipt may be retransmitted, resulting in a problem that line efficiency decreases and the CPU load increases. This invention was made to solve the above-mentioned problems, and aims to provide a communication control method that improves line efficiency and reduces the load on the CPU.

【課題を解決するための手段】[Means to solve the problem]

この発明に係る通信制御方式は、受信確認の必要な重要
データをIIDLC手順により■フレームで送信し、受
信確認を必要としない一般データをUIフレームで送信
するようにしたものである。
In the communication control system according to the present invention, important data that requires confirmation of receipt is transmitted in a frame (3) using the IIDLC procedure, and general data that does not require confirmation of receipt is transmitted in a UI frame.

【作 用】[For use]

この発明における通信制御方式は、重要データをHDL
C手順により■フレームで送信し、一般データをUIフ
レームで送信するようにしたので、受信確認の不要な一
般データの再送処理を省略することで、回線効率を向上
させるとともにCPU負荷を軽減させる。
The communication control method in this invention transmits important data to HDL.
By using the C procedure, the data is transmitted in ■frames, and general data is transmitted in UI frames.By omitting retransmission processing of general data that does not require reception confirmation, line efficiency is improved and the CPU load is reduced.

【発明の実施例】[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図は、この発明による通信システムの構成であるが、従
来の技術によるシステム構成(第4図)と同一であるの
で、説明を省略する。 次に動作ついて第2図を用いて説明する。 従来技術の動作説明と同様に、端末機器1を1次局、端
末機器2を2次局とする。1次局lからSNRM、Pコ
マンドを2次局2へ送信しく201)、この送信を受け
て2次局2からUA、Fレスポンスを送信しく202)
、1次局1が受信することでデータリンクが設定される
。まず受信確認の必要な重要データを送信する場合、1
次局1は連続した3個の!フレーム(1,、。、I2.
。、I2.。)を送信する。送信したIフレームの内■
1.。が受信されなかったとき(203)、2次局2は
1次局1へRR,、Fレスポンスを送信し、I1.。か
らのフレーム受信準備が可能であることを知らせる(2
04)、1次局1はI3.。からの1フレームを再送し
く205)、受信完了すれば2次局2はフレーム受信準
備ができていることを知らせるRR,、Fレスポンスを
1次局1へ送信しく206)、受信できなければ、上記
動作を繰り返す0次に受信確認を必要としない一般デー
タを送信する場合、データリンクが設定されているとす
ると、1次局1はUIフレームを送信しく207)、2
次局2はシーケンス番号がフレームにないため、受信状
態変数の更新を行なわず、フレーム受信準備ができてい
ることをRR3,Fレスポンスを送信しく208)。 1次局lへ知らせる。図中P又はFとあるのはPビット
−“1″、Fビット−“1”であることを示し、記載の
ない■フレームはPビット−10”を示す。 なお、■フレームは、第3図(b)に示すようにシーケ
ンス番号により受信確認を行なう場合のデータ転送に使
用するフレームで、UIlフレーム第3図(C1に示す
ように、モード設定の要求若しくは応答、又は異常状態
の報告などの制御に使用するフレームである。 【発明の効果] 以上のように、この発明によれば、受信確認の必要な重
要データを1フレームで、受信確認を必要としない一般
データをUIlフレーム送信するようにしたので、不必
要な再送を省略して回線効率の向上さらにはCPU負荷
の軽減を可能にする効果がある。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows the configuration of a communication system according to the present invention, but since it is the same as the system configuration according to the conventional technology (FIG. 4), the explanation will be omitted. Next, the operation will be explained using FIG. 2. As in the description of the operation of the prior art, the terminal device 1 is assumed to be a primary station, and the terminal device 2 is assumed to be a secondary station. The primary station 1 should send the SNRM and P commands to the secondary station 2 (201), and in response to this transmission, the secondary station 2 should send the UA and F responses (202).
, a data link is established by the primary station 1 receiving the data. First, when sending important data that requires confirmation of receipt, 1.
Next game 1 is 3 in a row! Frame (1,.,I2.
. , I2. . ) to send. Of the sent I-frames
1. . is not received (203), the secondary station 2 transmits RR, , F responses to the primary station 1, and I1. . Indicates that it is ready to receive frames from (2)
04), the primary station 1 is I3. . 205) If the reception is completed, the secondary station 2 should send an RR, F response to the primary station 1 to notify that it is ready to receive the frame 206), but if it cannot be received, 0 repeating the above operation When transmitting general data that does not require reception confirmation, assuming a data link is set, the primary station 1 must transmit a UI frame 207), 2
Since the next station 2 does not have a sequence number in the frame, it does not update the reception status variable and sends an RR3, F response indicating that it is ready to receive the frame (208). Notify the primary station l. In the figure, P or F indicates P bit - "1" and F bit - "1", and the ■frame which is not described indicates P bit -10''. As shown in Figure (b), this is a frame used for data transfer when confirming reception using a sequence number.As shown in Figure 3 (C1) of the UI frame, it is a frame used for requesting or responding to mode settings, or reporting abnormal conditions, etc. [Effects of the Invention] As described above, according to the present invention, important data that requires reception confirmation is transmitted in one frame, and general data that does not require reception confirmation is transmitted in a UI frame. This has the effect of omitting unnecessary retransmissions, improving line efficiency and further reducing CPU load.

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

第1図はこの発明の一実施例による通信システムの構成
を示すブロック図、第2図はこの発明のデータ送受信の
動作手順を示す説明図、第3図はHDLC手順のフレー
ム構成図、第4図は従来技術による通信システムの構成
を示すブロック図、第5図は従来技術の動作手順を示す
説明図である。 1は端末機器(1次局)、2は端末機器(2次局)、3
は通信回線、4はデータ転送用バス、5はCPU、6は
RAM、7はDMAコントローラ、8は回線側?IIL
S■である。 なお、図中、同一符号は同一、または相当部分を示す。 第2図 1渓廟 2環A 第 図 1;て茹 2次も 手 続 補 正 書 (自 発)
FIG. 1 is a block diagram showing the configuration of a communication system according to an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the operation procedure of data transmission and reception of the present invention, FIG. 3 is a frame configuration diagram of the HDLC procedure, and FIG. The figure is a block diagram showing the configuration of a communication system according to the prior art, and FIG. 5 is an explanatory diagram showing the operating procedure of the prior art. 1 is terminal equipment (primary station), 2 is terminal equipment (secondary station), 3
is the communication line, 4 is the data transfer bus, 5 is the CPU, 6 is the RAM, 7 is the DMA controller, and 8 is the line side? IIL
It is S■. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Figure 2 1 Kei Temple 2nd Ring A Figure 1; Teboi 2nd Procedural Amendment (Voluntary)

Claims (1)

【特許請求の範囲】[Claims] ハイレベルデータリンク制御手順によりデータの送受信
をする通信制御方式において、受信確認の必要な重要デ
ータをIフレームで送信し、受信確認を必要としない一
般データをUIフレームを用いて送信することを特徴と
する通信制御方式。
In a communication control method that sends and receives data using high-level data link control procedures, it is characterized by transmitting important data that requires confirmation of receipt using I frames, and transmitting general data that does not require confirmation of receipt using UI frames. A communication control method that
JP1040361A 1989-02-22 1989-02-22 Communication control system Pending JPH02222247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1040361A JPH02222247A (en) 1989-02-22 1989-02-22 Communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1040361A JPH02222247A (en) 1989-02-22 1989-02-22 Communication control system

Publications (1)

Publication Number Publication Date
JPH02222247A true JPH02222247A (en) 1990-09-05

Family

ID=12578500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1040361A Pending JPH02222247A (en) 1989-02-22 1989-02-22 Communication control system

Country Status (1)

Country Link
JP (1) JPH02222247A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521150A (en) * 2000-01-21 2003-07-08 ノキア コーポレーション Method and apparatus for selective acknowledgment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003521150A (en) * 2000-01-21 2003-07-08 ノキア コーポレーション Method and apparatus for selective acknowledgment
JP4812216B2 (en) * 2000-01-21 2011-11-09 ノキア コーポレイション Method and apparatus for selective acknowledgment scheme

Similar Documents

Publication Publication Date Title
US5550848A (en) Signaling protocol for a noisy communications channel
JPH02222247A (en) Communication control system
JPH0473178B2 (en)
JP3341276B2 (en) Communication control device
JPH11168525A (en) Data communication method and data communication equipment
JP2603326B2 (en) Communication control device
JPH03117945A (en) Communication equipment using hdlc procedure
JPH02222248A (en) Communication control system
JPH02155335A (en) Radio packet transmission system
JPH02164152A (en) Communication controller
JPH066408A (en) Half-duplex communication control method
JPH0365702B2 (en)
JPH0364226A (en) Communication controller using high level data link control procedure
JPS60245329A (en) Half duplex communication controlling system
JPH01183242A (en) Session activation system
JPS60236337A (en) Data communication method
JPH06132983A (en) Fault restoration system for radio packet network
JPS63149937A (en) Data communication control system
JPS58219856A (en) Data communication system
JPH04344741A (en) Communication controller
JPH03268529A (en) Data resending time setting system
JPS60229567A (en) Originating station and terminating station control system in communication circuit
JPH03136431A (en) Data communication method
JPH01198136A (en) Retransmission number control system in packet communication
JPH04287455A (en) Regular reply mode physical level half-duplex communication control system