JPH02285752A - Communication controller using hdlc protocol - Google Patents

Communication controller using hdlc protocol

Info

Publication number
JPH02285752A
JPH02285752A JP1106497A JP10649789A JPH02285752A JP H02285752 A JPH02285752 A JP H02285752A JP 1106497 A JP1106497 A JP 1106497A JP 10649789 A JP10649789 A JP 10649789A JP H02285752 A JPH02285752 A JP H02285752A
Authority
JP
Japan
Prior art keywords
layer processing
data
station
fault
link layer
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
JP1106497A
Other languages
Japanese (ja)
Inventor
Yuko Toyoda
豊田 優子
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 JP1106497A priority Critical patent/JPH02285752A/en
Publication of JPH02285752A publication Critical patent/JPH02285752A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a busy state by informing production of a fault to a host layer processing and untransmitted data, and stopping a data transmission request from a host layer processing when a fault of disabling data transmission in the link layer processing is detected. CONSTITUTION:If a fault disabling communication between stations A and B takes place, when a link layer processing 1a2 of a station A detects line interruption through a physical layer 1a1, the data transmission to a station B is stopped and the occurrence of a fault is informed to a host layer processing 1a3. The content of notice includes transmission data 4, 5, 6 having the presence of the transmission request from the host layer processing 1a3 but have been not sent and the host layer processing 1a3 stops the further data transmission request and stores the data 4-6 for retransmission. Thus, the resident data in the link layer processing is eliminated to prevent a busy system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はリンクレイヤのプロトコルとしてHD L 
C(High 1evel Data’ Link C
ontrol)手順を用いた通信制御装置に関するもの
である。
[Detailed Description of the Invention] [Industrial Application Field] This invention uses HDL as a link layer protocol.
C (High 1 level Data' Link C
The present invention relates to a communication control device using the (ontrol) procedure.

〔従来の技術〕[Conventional technology]

第1図は一般の通信制御装置のシステム構成であり、図
において、1aは通信制御装置A局、1bは同B局、2
は通信回線であり、通信制御装置1a、lb内のlal
、1a2,1a3.1a4、およびlbl、1b2.1
b3,1b4は当該各装置における処理構成を示してい
る。なお、A局1aは一次局として、B局lbは二次局
として動作する。
Figure 1 shows the system configuration of a general communication control device. In the figure, 1a is the communication control device A station, 1b is the communication control device B station,
is a communication line, and lal in the communication control devices 1a and lb
, 1a2, 1a3.1a4, and lbl, 1b2.1
b3 and 1b4 indicate the processing configuration in each device. Note that station A 1a operates as a primary station, and station B lb operates as a secondary station.

次に動作について説明する0通信制御装置1a。Next, the operation of the 0 communication control device 1a will be explained.

1bの通信処理はOS I (Open System
s Interc。
Communication processing of 1b is performed by OS I (Open System
s Interc.

nnection、開放型システム間相互接続)に基づ
き、回線を制御する物理レイヤ処理1al、回線上のデ
ータのやりとりを論理的に制御するリンクレイヤ処理1
a2およびその上位の処理である上位レイヤ処理1a3
.他の制御処理1a4から構成されており、上位レイヤ
からのデータ送信要求によっ゛てリンクレイヤ処理1a
2が相手局へのデータ送信を管理・制御し、物理レイヤ
処理1alが回線へデータを送出する。受信処理もまた
同様の機能分担により行なう0本装置では、リンクレイ
ヤ処理として130(国際標準化機構)およびJISで
規格化されているHDLC手順を用いている。
physical layer processing 1al that controls the line, and link layer processing 1 that logically controls the exchange of data on the line.
a2 and upper layer processing 1a3 which is the processing above it
.. It consists of other control processing 1a4, and link layer processing 1a is
2 manages and controls data transmission to the other station, and physical layer processing 1al sends the data to the line. This apparatus, which also performs reception processing by similar functional division, uses the HDLC procedure standardized by 130 (International Organization for Standardization) and JIS as link layer processing.

HDLC手順においては、データは送・受信の順序番号
を付けたIフレームを用いて送信し、例えば第4図内の
rlo、O〜P」は1つめの送信データで相手局からの
データは未受信であり、P(ボーリングビットがオフ)
によってA局に送信権があることを示している。第4図
の場合、A局では上位レイヤからのデータ送信要求1.
2.3により、B局へIフレームの送信を行い、「I2
゜0−P」でボーリングビットをオンにすることでB局
へ送信権を渡し、B局からデータの送達確認としてRR
フレームを受けている。ここでrRR3−F」は3個ま
でのデータを正常に受信し、送受権をA局に返すことを
示している。このようにして2局間で通信を行っている
場合、B局が故障、あるいは回線断等の障害が発生し、
A局−B局間でのデータの送・受信が不可能となる状態
においてA局のリンクレイヤ処理1a2は障害のためデ
ータ送信不可を検出し、データ送信処理は行わないが、
上位レイヤ処理1a3ではこのような障害を検知できな
いので、データ送信要求4,5,6゜7、・・・、nを
続行するため、リンクレイヤ処理1a2では未送信のデ
ータがたまり、ビジー状態になる。
In the HDLC procedure, data is transmitted using I frames with transmission/reception sequence numbers attached. For example, "rlo, OP" in Figure 4 is the first transmission data, and data from the other station is not yet transmitted. Reception, P (boring bit off)
This indicates that station A has the right to transmit. In the case of FIG. 4, station A receives data transmission request 1 from the upper layer.
2.3, sends an I frame to the B station and sends "I2
By turning on the boring bit with "゜0-P", the transmission right is passed to the B station, and the B station sends an RR as a data delivery confirmation.
receiving a frame. Here, "rRR3-F" indicates that up to three pieces of data have been successfully received and the transmission/reception right is returned to the A station. When communicating between two stations in this way, if station B breaks down or a failure such as a line disconnection occurs,
In a state where data transmission/reception between stations A and B is impossible, the link layer processing 1a2 of station A detects that data transmission is impossible due to a failure, and does not perform data transmission processing.
Since the upper layer processing 1a3 cannot detect such a failure, it continues the data transmission requests 4, 5, 6゜7, ..., n, so the link layer processing 1a2 accumulates unsent data and becomes busy. Become.

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

従来の通信制御装置は以上のように構成されているので
、相手局または回線に障害が発生した場合、上位レイヤ
からのデータ送信要求が停止しないためにリンクレイヤ
処理においてビジー状態が発生するなどの問題点があっ
た。
Conventional communication control equipment is configured as described above, so if a failure occurs in the other station or line, data transmission requests from the upper layer do not stop, resulting in a busy state in link layer processing. There was a problem.

この発明は上記のような問題点を解消するためになされ
たもので、未送信データが滞留せず、リンクレイヤ処理
がビジー状態とならないHDLC手順を用いた通信制御
装置を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and an object thereof is to obtain a communication control device using an HDLC procedure in which untransmitted data does not accumulate and link layer processing does not become busy. .

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

この発明に係るHDLC手順を用いた通信制御装置は、
リンクレイヤ処理がデータ送信不可となる障害を検出し
た場合に上位レイヤ処理へ障害発生と未送信データを通
知するようにしたものである。
A communication control device using an HDLC procedure according to the present invention includes:
When link layer processing detects a fault that makes data transmission impossible, it notifies upper layer processing of the occurrence of the fault and unsent data.

(作用〕 この発明におけるHDLC手順を用いた通信制御装置の
リンクレイヤ処理は、上位レイヤ処理へ障害発生と未送
信データを通知するので、上位レイヤ処理が障害発生を
検知することができ、これにより上位レイヤ処理からの
データ送信要求を停止し、リンクレイヤ処理がビジー状
態になることを防ぐ。
(Operation) The link layer processing of the communication control device using the HDLC procedure in this invention notifies the upper layer processing of the occurrence of a fault and the unsent data, so the upper layer processing can detect the occurrence of a fault. Stops data transmission requests from upper layer processing to prevent link layer processing from becoming busy.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

この発明の一実施例による通信システムの構成は第1図
お従来技術の構成と同様である。第2図は本実施例によ
る処理手順を示す。
The configuration of a communication system according to an embodiment of the present invention is similar to that of the prior art shown in FIG. FIG. 2 shows the processing procedure according to this embodiment.

第1図のシステム構成および第2図の処理手順において
、A局1aとB局lbが通信回線2を介して通信を行っ
ており、A局では、上位レイヤ処理1a3からのデータ
送信要求1.2.3により、リンクレイヤ処理1a2が
B局へのデータ送信を制御している。A局−B局間のデ
ータ送受信はHDLC手順により17レームrlO,0
−PJ  rll、O−P、rI2.O−P、を用いて
行われており、従来技術と同様である。
In the system configuration of FIG. 1 and the processing procedure of FIG. 2, station A 1a and station B lb are communicating via communication line 2, and station A receives a data transmission request 1 from upper layer processing 1a3. 2.3, the link layer processing 1a2 controls data transmission to the B station. Data transmission and reception between A station and B station is done using HDLC procedure using 17 frames rlO,0.
-PJ rll, O-P, rI2. OP, and is similar to the conventional technology.

A局−B局間に通信不可能となる障害、例えば回線断が
発生した場合、A局のリンクレイヤ処理1a2は物理レ
イヤlalを通じて回線断を検出する−と、B局へのデ
ータ送信を停止するとともに、上位レイヤ処理1a3へ
障害発生を通知する。この通知内容には上位レイヤ処理
1a3から送信要求はあったが、送信することができな
かった送信データ番号4,5.6を含んでおり、これに
より上位レイヤ処理1a3ではこれ以上のデータ送信要
求を停止し、当該データ(データ番号4,5゜6)を再
送用に保持する等の処理を行なう、この処理手順を第2
図に示す。
If a failure occurs that makes communication impossible between A station and B station, such as a line disconnection, the link layer processing 1a2 of A station will detect the line disconnection through the physical layer LAL and stop sending data to B station. At the same time, the upper layer processing 1a3 is notified of the occurrence of the failure. This notification content includes transmission data numbers 4, 5, and 6, which were requested to be sent from the upper layer processing 1a3 but could not be sent, and as a result, the upper layer processing 1a3 does not request any further data transmission. The second processing procedure is to stop the data and hold the data (data numbers 4, 5, 6) for retransmission.
As shown in the figure.

なお、上記実施例では障害発生時に、リンクレイヤ処理
1a2から未送信データ番号を含む障害通知を上位レイ
ヤ処理1a3へ出すようにしたが、上位レイヤ処理1a
3とリンクレイヤ処理1a2間でデータ番号を管理して
いない場合、または各レイヤ処理が扱えるデータエリア
が異なる場合などには、第3図の本発明の他の実施例の
処理手順に示すように、障害通知に続けて、未送信デー
タ4.5.6そのものをリンクレイヤ処理1a2から上
位レイヤ処理1a3へ送り返すようにしてもよく、上記
実施例と同様の効果を奏する。
In the above embodiment, when a failure occurs, the link layer process 1a2 sends a failure notification including the unsent data number to the upper layer process 1a3, but the upper layer process 1a
If the data numbers are not managed between the link layer processing 1a2 and the link layer processing 1a2, or if the data areas that can be handled by each layer processing are different, the processing procedure of another embodiment of the present invention shown in FIG. Following the fault notification, the unsent data 4.5.6 itself may be sent back from the link layer processing 1a2 to the upper layer processing 1a3, and the same effect as in the above embodiment is achieved.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、障害発生時に、リン
クレイヤ処理から上位レイヤ処理へ障害発生と未送信デ
ータとを通知するようにしたので、上位レイヤ処理から
のデータ送信要求を停止することができ、リンクレイヤ
処理でのデータの滞留を除去し、ビジー状態になること
を防ぐことができる効果がある。
As described above, according to the present invention, when a failure occurs, link layer processing notifies upper layer processing of the failure occurrence and unsent data, so that data transmission requests from upper layer processing can be stopped. This has the effect of eliminating data stagnation in link layer processing and preventing a busy state.

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

第1図はこの発明の一実施例および従来技術による通信
制御装置のシステム構成を示す図、第2図は本発明の一
実施例における処理手順を示す図、第3図は本発明の他
の実施例における処理手順を示す図、第4図は従来技術
による処理手順を示す図である。 図中1aは通信制御装置(A局)、1bは同装置(B局
)、2は通信回線、1a2はリンクレイヤ処理、1a3
は上位レイヤ処理である。 なお図中同一符号は同−又は相当部分を示す。
FIG. 1 is a diagram showing a system configuration of a communication control device according to an embodiment of the present invention and a conventional technology, FIG. 2 is a diagram showing a processing procedure in an embodiment of the present invention, and FIG. FIG. 4 is a diagram showing the processing procedure in the embodiment, and FIG. 4 is a diagram showing the processing procedure according to the prior art. In the figure, 1a is a communication control device (station A), 1b is the same device (station B), 2 is a communication line, 1a2 is link layer processing, 1a3
is upper layer processing. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] (1)一対の通信制御装置と当該装置間の回線から構成
され、HDLC手順を用いてデータの送受信を行なう通
信システムにおいて、 相手装置または回線の障害等でデータの送受信が不可能
になった場合、障害検出側装置のリンクレイヤ処理とし
て障害発生と未送信データをその上位レイヤ処理へ通知
するようにしたことを特徴とするHDLC手順を用いた
通信制御装置。
(1) In a communication system that consists of a pair of communication control devices and a line between the devices and sends and receives data using HDLC procedures, if data cannot be sent or received due to a problem with the other device or the line, etc. A communication control device using an HDLC procedure, characterized in that link layer processing of a fault detection side device notifies its upper layer processing of the occurrence of a fault and unsent data.
JP1106497A 1989-04-26 1989-04-26 Communication controller using hdlc protocol Pending JPH02285752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1106497A JPH02285752A (en) 1989-04-26 1989-04-26 Communication controller using hdlc protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1106497A JPH02285752A (en) 1989-04-26 1989-04-26 Communication controller using hdlc protocol

Publications (1)

Publication Number Publication Date
JPH02285752A true JPH02285752A (en) 1990-11-26

Family

ID=14435077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1106497A Pending JPH02285752A (en) 1989-04-26 1989-04-26 Communication controller using hdlc protocol

Country Status (1)

Country Link
JP (1) JPH02285752A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7156494B2 (en) 1998-06-09 2007-01-02 Silverbrook Research Pty Ltd Inkjet printhead chip with volume-reduction actuation
EP2442502A1 (en) 2010-10-15 2012-04-18 Fujitsu Limited Serial transmission apparatus, information processing apparatus, and serial transmission method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7156494B2 (en) 1998-06-09 2007-01-02 Silverbrook Research Pty Ltd Inkjet printhead chip with volume-reduction actuation
EP2442502A1 (en) 2010-10-15 2012-04-18 Fujitsu Limited Serial transmission apparatus, information processing apparatus, and serial transmission method
JP2012085244A (en) * 2010-10-15 2012-04-26 Fujitsu Ltd Serial transmitter, information processing apparatus and serial transmission method
US8880972B2 (en) 2010-10-15 2014-11-04 Fujitsu Limited Serial transmission apparatus, information processing apparatus, and serial transmission method

Similar Documents

Publication Publication Date Title
EP0416943A2 (en) Method for controlling failover between redundant network interface modules
JPH04217136A (en) Data integrity assurance system
JPH02285752A (en) Communication controller using hdlc protocol
JP2504366B2 (en) Fault tolerant system
JPH04137008A (en) Method and device for facility control
JP3341712B2 (en) Switching unit failure handling method
JPH0458636A (en) Communication path duplicate control system
JPH01258518A (en) Line back-up system
JP2645433B2 (en) Computer system
JPH07152662A (en) Communication system
JP3084383B2 (en) Ring communication path failure processing method
JP3119500B2 (en) Communication bus switching method
JP3552149B2 (en) Communication control device and communication control method
JPH09160875A (en) Multi-agent mutual back-up system
JPS63206051A (en) Method for processing interruption fault for communication line
JPS5858629A (en) Bus switching system
JPH04129346A (en) Communication system provided with duplicate address detection function
JPS6143035A (en) Remote supervisory and controlling equipment
JPH06103901B2 (en) Failure detection switching method
JPH02135836A (en) Relay path management processing system
JPH05158834A (en) Lan fault restoration system
JPH04120896A (en) Information control system for remote supervisory and controlling device
JPH066485A (en) Remote monitor system
JPH01276858A (en) Communication adaptor
JPS62213452A (en) Signal terminal equipment