JPH0710074B2 - Communication protocol information reception time delay method - Google Patents

Communication protocol information reception time delay method

Info

Publication number
JPH0710074B2
JPH0710074B2 JP2209857A JP20985790A JPH0710074B2 JP H0710074 B2 JPH0710074 B2 JP H0710074B2 JP 2209857 A JP2209857 A JP 2209857A JP 20985790 A JP20985790 A JP 20985790A JP H0710074 B2 JPH0710074 B2 JP H0710074B2
Authority
JP
Japan
Prior art keywords
information
station
secondary station
primary
primary station
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 - Lifetime
Application number
JP2209857A
Other languages
Japanese (ja)
Other versions
JPH0492541A (en
Inventor
勝美 齋藤
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2209857A priority Critical patent/JPH0710074B2/en
Publication of JPH0492541A publication Critical patent/JPH0492541A/en
Publication of JPH0710074B2 publication Critical patent/JPH0710074B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信プロトコルの情報受信時間遅延方法に関
し、特にHDLC(ハイレベルデータリンク制御方式)準拠
の通信プロトコルで相手側の装置からの情報の返信に時
間がかかる場合に、情報受信待ちの時間を遅延する通信
プロトコルの情報受信時間遅延方法に関する。
The present invention relates to a method for delaying information reception time of a communication protocol, and in particular, a communication protocol conforming to HDLC (High Level Data Link Control Method) and information from a partner device. The present invention relates to an information reception time delay method of a communication protocol for delaying the information reception waiting time when it takes time to reply.

〔従来の技術〕[Conventional technology]

HDLC準拠の通信プロトコルで、1次局と2次局との間で
通信が行われる場合、各種のコマンドやレスポンスの情
報が用いられる。このような通信の一例が第2図に示さ
れている。
When communication is performed between the primary station and the secondary station in the HDLC-compliant communication protocol, various command and response information is used. An example of such communication is shown in FIG.

第2図では、1次局は2次局と通信を行う。なお、第2
図の中で、1つの矢印が1フレームに相当する。まず、
1次局は、SNRM(Set Normal Response Mode)情報21を
2次局に送る。2次局は、このSNRM情報21を受け取る
と、UA(Unnumbered Acknowledge)情報22を1次局に送
る。これにより、情報が伝送される。情報はI(Inform
ation:情報)フレーム23により送信され、1次局よりこ
れをうけた2次局は、1次局からの情報に対する答とし
て、Iフレーム24を送信する。
In FIG. 2, the primary station communicates with the secondary station. The second
In the figure, one arrow corresponds to one frame. First,
The primary station sends SNRM (Set Normal Response Mode) information 21 to the secondary station. Upon receiving this SNRM information 21, the secondary station sends UA (Unnumbered Acknowledge) information 22 to the primary station. As a result, information is transmitted. Information is I (Inform
(ation: information) frame 23 is transmitted by the primary station, and the secondary station receives the I frame 24 as a response to the information from the primary station.

その後、1次局がRR(Receive Ready:受信可)情報25を
2次局に送ると、2次局がRR情報26を1次局に送る。そ
れから、1次局がDISC(Disconnect)情報27を2次局に
送り、2次局がUA情報28を送ると、通信が終了する。
After that, when the primary station sends RR (Receive Ready) information 25 to the secondary station, the secondary station sends RR information 26 to the primary station. Then, when the primary station sends the DISC (Disconnect) information 27 to the secondary station and the secondary station sends the UA information 28, the communication ends.

ところで、このような通信を行う1次局側は、2次局か
らの返信を待つためのタイマを持つ。通常、タイマはn
秒(nは任意、ただし、あまり大きくはない)でタイム
アウトし、このとき同じフレームの再送もしくはRRを送
信する。さらに、連続してk回(kも任意、普通3回程
度)タイムアウトを起こすと、1次局は、強制的に2次
局との交信を打ち切る。
By the way, the primary station side performing such communication has a timer for waiting for a reply from the secondary station. Normally, the timer is n
Times out in seconds (n is arbitrary, but not so large), and at this time, the same frame is retransmitted or an RR is transmitted. Furthermore, if a timeout occurs k times consecutively (k is arbitrary, usually about 3 times), the primary station forcibly terminates communication with the secondary station.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

このようなHDLC準拠の通信プロトコルで通信が行われる
場合、2次側の返信にどうしても時間がかかるときがあ
る。たとえば、2次局が1次局へ返信するための情報を
別の装置から収集するときなどがそうである。
When communication is performed using such an HDLC-compliant communication protocol, it may take some time for the secondary side to reply. This is the case, for example, when the secondary station collects information from another device for reply to the primary station.

この様子が第3図に示されている。すなわち、2次局が
SNRM情報31に対してUA情報32を送ると、1次局がIフレ
ーム33を送ると共にタイマを起動する。2次局は、Iフ
レーム33を受け取り情報収集を開始する。2次局が情報
の収集を完了できず、タイムアウトになると、1次局は
2次局にRR情報34を送る。その後、再びタイムアウトに
なり、1次局が2次局にRR情報35を送り、交信は打ち切
りとなる。
This is shown in FIG. That is, the secondary station
When the UA information 32 is sent to the SNRM information 31, the primary station sends an I frame 33 and starts a timer. The secondary station receives the I frame 33 and starts collecting information. When the secondary station cannot complete the information collection and times out, the primary station sends the RR information 34 to the secondary station. After that, the time-out occurs again, the primary station sends the RR information 35 to the secondary station, and the communication is terminated.

このように、2次局が正常に動作していても、情報の収
集、返信に時間がかかる場合、1次局側ではタイムアウ
トを起こし、交信が打ち切られてしまうという問題点が
ある。
As described above, even if the secondary station is operating normally, if it takes time to collect and return information, the primary station may time out and communication may be terminated.

本発明の目的は、このような欠点を除去し、HDLC準拠の
通信プロトコルで、相手側の装置から情報の返信に時間
がかかる場合でも、情報受信待ちの時間を遅延できる通
信プロトコルの情報受信時間遅延方法を提供することに
ある。
An object of the present invention is to eliminate such drawbacks, and in an HDLC-compliant communication protocol, the information reception time of the communication protocol that can delay the information reception waiting time even when it takes time to return information from the partner device. To provide a delay method.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明は、ハイレベルデータリンク制御方式により、1
次局が2次局と情報フレーム送受信を行う通信プロトコ
ルの情報受信時間遅延方法において、 2次局からの情報フレーム受信待ちの受信待タイマを1
次局に設け、 1次局から情報フレームを2次局に送信後、1次局の受
信待タイマを起動し、 1次局では、受信待タイマに設定されている時間までに
2次局から情報フレームが返信されないとき、所定情報
を2次局に送信し、 2次局は、1次局から所定情報を受信すると、情報フレ
ームまたは所定情報を1次局に返信し、 1次局では、2次局から情報フレームを受信したとき、
ハイレベルデータリンク制御方式による通常のシーケン
スに従って通信を行い、 1次局では、2次局から所定情報を受信したとき、受信
待タイマを起動することを特徴とする。
The present invention uses the high level data link control method to
In the information reception time delay method of the communication protocol in which the next station transmits / receives information frames to / from the secondary station, the reception waiting timer for waiting the reception of the information frame from the secondary station is set to 1
It is provided in the next station, and after the information frame is transmitted from the primary station to the secondary station, the reception waiting timer of the primary station is started. At the primary station, the secondary station waits until the time set in the reception waiting timer. When the information frame is not returned, the predetermined information is transmitted to the secondary station, and when the secondary station receives the predetermined information from the primary station, it returns the information frame or the predetermined information to the primary station. When receiving the information frame from the secondary station,
Communication is performed according to a normal sequence according to the high-level data link control method, and the primary station activates a reception waiting timer when it receives predetermined information from the secondary station.

前述した本発明において、1次局と2次局との間で送受
信される所定情報として、ハイレベルデータリンク制御
方式の受信可情報を用いるのが好適である。
In the above-mentioned present invention, it is preferable to use the receivable information of the high level data link control method as the predetermined information transmitted and received between the primary station and the secondary station.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を示すシーケンス図であっ
て、1次局が2次局と通信を行う様子を示している。通
常、1次局のタイマは、Iフレームの送受信以外のとき
の監視に使用されるので、待ち時間をあまり長くできな
い。そこで、これとは別のタイマを使用することにす
る。すなわち、通常のタイムアウト監視タイマに対し、
Iフレーム受信待ちのタイマをWAITタイマとする。この
WAITタイマによる待ち時間はタイムアウトとはしない。
1次局は、Iフレーム送信後、このタイマを起動し、一
定時間経過後、RR情報を送信する。これに対し、2次局
は、正常動作中にもかかわらず情報が収集できていない
場合、RR情報を返信することにする。この手順をくり返
し、2次局は、情報収集ができた時点で、RR情報に対す
る返信としてIフレームを送信する。
FIG. 1 is a sequence diagram showing an embodiment of the present invention, showing how a primary station communicates with a secondary station. Normally, the timer of the primary station is used for monitoring other than the transmission / reception of I-frames, and therefore the waiting time cannot be made too long. Therefore, a timer other than this is used. That is, for a normal timeout monitoring timer,
The timer waiting for I frame reception is the WAIT timer. this
The waiting time by the WAIT timer does not time out.
The primary station starts this timer after transmitting the I frame, and transmits the RR information after a certain period of time has elapsed. On the other hand, if the secondary station does not collect information despite normal operation, it will return RR information. By repeating this procedure, the secondary station transmits an I frame as a reply to the RR information when the information is collected.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

まず、1次局は、SNRM情報1を2次局に送る。2次局
は、このSNRM情報1を受け取ると、UA情報2を1次局に
送る。これにより、1次局はIフレーム3を2次局に送
る。1次局はIフレーム3の送信後、WAITタイマを起動
する。2次局は、Iフレーム受信後、それに対する返信
として情報収集を開始する。
First, the primary station sends the SNRM information 1 to the secondary station. Upon receiving this SNRM information 1, the secondary station sends UA information 2 to the primary station. This causes the primary station to send I-frame 3 to the secondary station. The primary station starts the WAIT timer after transmitting the I frame 3. After receiving the I frame, the secondary station starts collecting information as a reply to the I frame.

このとき、2次局は、情報の収集に時間がかかり、1次
局に返信できない。1次局は、WAITタイマにより一定時
間の経過後、RR情報4を返信する。このとき、2次局
は、まだ返信できないので、RR情報5を返信する。この
RR情報5を受信した1次局は、再びWAITタイマを起動
し、2次局を待つことにする。
At this time, the secondary station takes time to collect the information and cannot reply to the primary station. The primary station returns the RR information 4 after the elapse of a certain time by the WAIT timer. At this time, the secondary station cannot reply, so it returns RR information 5. this
The primary station receiving the RR information 5 starts the WAIT timer again and waits for the secondary station.

一定時間の経過後、1次局は、2度目のRR情報6を2次
局に送る。1次局が2度目のRR情報6を送信したとき、
2次局は、情報の収集を完了しているので、Iフレーム
7,8を返信する。これ以後のシーケンスは通常のシーケ
ンスに従う。すなわち、1次局がRR情報9を2次局に送
ると、2次局がRR情報10を1次局に送る。それから、1
次局がDISC情報11を2次局に送り、2次局がUA情報12を
送ると、通信が終了する。
After the elapse of a certain time, the primary station sends the second RR information 6 to the secondary station. When the primary station transmits the second RR information 6,
Since the secondary station has completed the information collection, the I-frame
Reply 7,8. The subsequent sequence follows the normal sequence. That is, when the primary station sends the RR information 9 to the secondary station, the secondary station sends the RR information 10 to the primary station. Then 1
The communication ends when the next station sends the DISC information 11 to the secondary station and the secondary station sends the UA information 12.

このように、本実施例は、HDLC準拠の通信プロトコルに
おいて、相手側2次局が付加装置からの情報収集に時間
がかかり、自局側がタイムアウトとしてしまう場合、情
報受信待ちのための別のタイマを起動し、正常シーケン
スとして情報受信のための待ち時間を自由に設定でき
る。
As described above, in the present embodiment, in the HDLC-compliant communication protocol, when the partner secondary station takes time to collect information from the additional device and the local station times out, another timer for waiting for information reception is provided. Can be started and the waiting time for receiving information can be freely set as a normal sequence.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、情報受信待ちをするた
め受信待タイマを使うので、受信待ち時間の設定、くり
返しの回数等を自由に設定でき、2次局の情報収集に時
間がかかる場合でも正常なシーケンスとして扱うことが
できるという効果を有する。
As described above, according to the present invention, since the reception waiting timer is used to wait for information reception, it is possible to freely set the reception waiting time, the number of times of repetition, etc., and when it takes time for the secondary station to collect information. However, it has an effect that it can be handled as a normal sequence.

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

第1図は、本発明の一実施例を示すシーケンス図、 第2図および第3図は、HDLC準拠の通信プロトコルで通
信を行うときのシーケンス図である。 1……SNRM情報 2,12……UA情報 3,7,8……Iフレーム 4,5,6,9,10……RR情報 11……DISC情報
FIG. 1 is a sequence diagram showing an embodiment of the present invention, and FIGS. 2 and 3 are sequence diagrams when communication is performed by an HDLC-compliant communication protocol. 1 …… SNRM information 2,12 …… UA information 3,7,8 …… I frame 4,5,6,9,10 …… RR information 11 …… DISC information

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ハイレベルデータリンク制御方式により、
1次局が2次局と情報フレーム送受信を行う通信プロト
コルの情報受信時間遅延方法において、 2次局からの情報フレーム受信待ちの受信待タイマを1
次局に設け、 1次局から情報フレームを2次局に送信後、1次局の受
信待タイマを起動し、 1次局では、受信待タイマに設定されている時間までに
2次局から情報フレームが返信されないとき、所定情報
を2次局に送信し、 2次局は、1次局から所定情報を受信すると、情報フレ
ームまたは所定情報を1次局に返信し、 1次局では、2次局から情報フレームを受信したとき、
ハイレベルデータリンク制御方式による通常のシーケン
スに従って通信を行い、 1次局では、2次局から所定情報を受信したとき、受信
待タイマを起動することを特徴とする通信プロトコルの
情報受信時間遅延方法。
1. A high level data link control system,
In the information reception time delay method of the communication protocol in which the primary station transmits / receives the information frame to / from the secondary station, the reception waiting timer for waiting the information frame reception from the secondary station is set to 1
It is provided in the next station, and after the information frame is transmitted from the primary station to the secondary station, the reception waiting timer of the primary station is started. At the primary station, the secondary station waits until the time set in the reception waiting timer. When the information frame is not returned, the predetermined information is transmitted to the secondary station, and when the secondary station receives the predetermined information from the primary station, it returns the information frame or the predetermined information to the primary station. When receiving the information frame from the secondary station,
A method of delaying information reception time of a communication protocol, characterized in that communication is performed according to a normal sequence by a high-level data link control method, and the primary station activates a reception waiting timer when predetermined information is received from the secondary station. .
【請求項2】1次局と2次局との間で送受信される所定
情報として、ハイレベルデータリンク制御方式の受信可
情報を用いる請求項1記載の通信プロトコルの情報受信
時間遅延方法。
2. The information reception time delay method according to claim 1, wherein the receivable information of the high level data link control method is used as the predetermined information transmitted and received between the primary station and the secondary station.
JP2209857A 1990-08-08 1990-08-08 Communication protocol information reception time delay method Expired - Lifetime JPH0710074B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2209857A JPH0710074B2 (en) 1990-08-08 1990-08-08 Communication protocol information reception time delay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2209857A JPH0710074B2 (en) 1990-08-08 1990-08-08 Communication protocol information reception time delay method

Publications (2)

Publication Number Publication Date
JPH0492541A JPH0492541A (en) 1992-03-25
JPH0710074B2 true JPH0710074B2 (en) 1995-02-01

Family

ID=16579777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2209857A Expired - Lifetime JPH0710074B2 (en) 1990-08-08 1990-08-08 Communication protocol information reception time delay method

Country Status (1)

Country Link
JP (1) JPH0710074B2 (en)

Also Published As

Publication number Publication date
JPH0492541A (en) 1992-03-25

Similar Documents

Publication Publication Date Title
EP1096719A3 (en) Relay data retransmission method and system
CA2387913A1 (en) Transmitting data reliably and efficiently
JPS6412424B2 (en)
JP3000911B2 (en) Automatic setting of optimal number of frames waiting for retransmission of automatic retransmission protocol in mobile facsimile communication
JPH0710074B2 (en) Communication protocol information reception time delay method
JPH0437614B2 (en)
JP3301590B2 (en) Protocol state synchronization system
JPS5844837A (en) Signal transmission method
JP2667865B2 (en) Broadcast communication system control method
JP3341276B2 (en) Communication control device
JPS61278235A (en) Data collection system of optical transmission system
JPH0720110B2 (en) Broadcast communication method
JPH04144447A (en) Polling system
SE512310C2 (en) Method, device, base station system and radio unit for processing data frames in a packet data radio system
JPH04192746A (en) Device and method for transmitting data
JP2001127825A (en) Communication equipment and request resending method thereof
JPH0622000A (en) Message communication system with function preventing the missing of message
JPH0547144B2 (en)
JP2922657B2 (en) Data transmission equipment
JPH04355856A (en) File transmission system for simplex communication
JPS60177748A (en) Circuit controlling system
JPS5963831A (en) Data transmission system
JPH01293736A (en) Communication controller
JPH05207101A (en) Data transmission system
JPH05225082A (en) File transmission system