JPH0438027A - Line fault processing system - Google Patents

Line fault processing system

Info

Publication number
JPH0438027A
JPH0438027A JP2145781A JP14578190A JPH0438027A JP H0438027 A JPH0438027 A JP H0438027A JP 2145781 A JP2145781 A JP 2145781A JP 14578190 A JP14578190 A JP 14578190A JP H0438027 A JPH0438027 A JP H0438027A
Authority
JP
Japan
Prior art keywords
data
control unit
line
transmission
block
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
JP2145781A
Other languages
Japanese (ja)
Inventor
Masayuki Iguchi
正之 井口
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
Fujitsu Nagoya Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Nagoya Communication Systems 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, Fujitsu Nagoya Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP2145781A priority Critical patent/JPH0438027A/en
Publication of JPH0438027A publication Critical patent/JPH0438027A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To eliminate the need for excessive procedure and time up to retransmission and to preclude the fear of a missing data by devising it that a data failed in the transmission due to a fault of a communication line is immediately sent again after the fault is recovered. CONSTITUTION:A line fault detection means 100 of a line control section 21 monitors the occurrence state of a fault in a communication line 4 and informs the propriety of transmission of a data to a protocol control section 22 in response to the occurrence state of the fault in the communication line 4 when the transmission command of the data is received from a protocol control section 22. A data retransmission means 300 in the protocol control section 22 latches a data into a data latch means 200 when failed transmission is noticed from the line control section 21 and gives a command of the transmission of the data having been latched in the data latch means 200 to the line control section 21 again after lapse of a predetermined time. A transmission stop means 400 cancels transmission of the data to the line control section 21 when number of times of retransmission executed to the data latched in the data latch means 200 reaches a predetermined number of times.

Description

【発明の詳細な説明】 〔概要〕 プロトコル制御部と、該プロトコル制御部の指示に基づ
きデータを通信回線に送信する回線制御部とを具備する
データ通信システムにおける回線障害処理方式に関し、 通信回線の障害により送信に失敗したデータを、障害回
復後に迅速・確実に再送可能とすることを目的とし、 回線制御部に、通信回線における障害の発生状態を監視
し、プロトコル制御部からデータの送信指示を受信した
場合に、通信回線における障害の発生状態に応じてプロ
トコル制御部に対してデータの送信成否を通知する回線
障害検出手段を設け、プロトコル制御部に、データの送
信を指示した回線制御部から送信不成功が通知された場
合に、データをデータ保持手段に保持し、予め定められ
た期間が経過した後に、データ保持手段に保持していた
データの送信を、回線制御部に対して再度指示するデー
タ再送手段と、所要によりデータ再送手段がデータ保持
手段に保持したデータに対して実行した再送回数を計数
し、再送回数が予め定められた回数に達した場合に、或
いはデータ保持手段に保持されたデータが、予め定めら
れた時間が経過する迄に送信が完了しなかった場合に、
回線制御部に対するデータの送信を解消する送信停止手
段とを設ける様に構成する。
[Detailed Description of the Invention] [Summary] This invention relates to a line failure handling method in a data communication system that includes a protocol control unit and a line control unit that transmits data to a communication line based on instructions from the protocol control unit. The purpose is to quickly and reliably retransmit data that failed to be transmitted due to a failure after the failure is recovered.The line control unit monitors the status of failures on the communication line and sends data transmission instructions from the protocol control unit. A line failure detection means is provided which notifies the protocol control unit of the success or failure of data transmission depending on the failure occurrence state of the communication line when the data is received, and the line control unit that instructs the protocol control unit to transmit the data When notification of unsuccessful transmission is received, the data is held in the data holding means, and after a predetermined period has elapsed, the line control unit is again instructed to transmit the data held in the data holding means. and if necessary, the data retransmission means counts the number of retransmissions performed on the data held in the data storage means, and when the number of retransmissions reaches a predetermined number, or the data is stored in the data storage means. If the sent data is not completely transmitted by the time a predetermined period of time has elapsed,
The system is configured to include a transmission stop means for canceling the transmission of data to the line control unit.

〔産業上の利用分野〕[Industrial application field]

本発明は、プロトコル制御部と、該プロトコル制御部の
指示に基づきデータを通信回線に送信する回線制御部と
を具備するデータ通信システムにおける回線障害処理方
式に関する。
The present invention relates to a line fault handling method in a data communication system that includes a protocol control unit and a line control unit that transmits data to a communication line based on instructions from the protocol control unit.

データ通信システムで実用されている通信プロトコルの
一つとして、ベーシック手順が広く採用されている。
Basic procedures are widely adopted as one of the communication protocols used in data communication systems.

ベーシック手順においては、送信データの信顛性を確保
する為に、送信データを構成する各文字にパリティピン
トを付加し、或いは送信データに誤り訂正符号を付加す
る等の方法が講じられているが、通信回線に障害が発生
して送信に成功しなかった場合には、障害の回復を待っ
てデータを再送する必要が生ずる。
In the basic procedure, in order to ensure the reliability of the transmitted data, methods such as adding parity focus to each character that makes up the transmitted data or adding an error correction code to the transmitted data are taken. If a failure occurs in the communication line and transmission is not successful, it becomes necessary to wait for the failure to recover and retransmit the data.

〔従来の技術〕[Conventional technology]

第4図は本発明の対象となるデータ通信システムの一例
を示す図であり、第5図は従来ある回線障害処理の一例
を示す図であり、第6図は従来ある回線障害処理の他の
一例を示す図である。
FIG. 4 is a diagram showing an example of a data communication system to which the present invention is applied, FIG. 5 is a diagram showing an example of conventional line fault processing, and FIG. 6 is a diagram showing another example of conventional line fault processing. It is a figure showing an example.

第4図においては、ベーシック手順に基づきデータの送
受信を行う端末装置(DTE)1が、パケット組立分解
装置(PAD)2を介して、ハイレベルデータリンク制
御手順に基づきパケットの送受信を行うパケット交換機
(PS)3に収容されている。
In FIG. 4, a terminal equipment (DTE) 1 that transmits and receives data based on a basic procedure is connected to a packet switching device that transmits and receives packets based on a high-level data link control procedure via a packet assembling and disassembling device (PAD) 2. (PS) It is housed in 3.

第4図乃至第6図において、パケット組立分解装置(P
AD)2がパケット交換機(PS)3から端末装置(D
TP>1に送達すべきデータパケットDTを、ハイレベ
ルデータリンク制御手順に基づき受信すると、パケット
組立分解装置(PAD)2は、受信したデータパケット
DTに含まれるデータを複数のブロックB(個々のプロ
・ツクはBo、B+  ・・・と称する)に区分し、最
初にブロックB0をベーシック手順に基づき端末装置(
DTE)1に送信する。
4 to 6, the packet assembly and disassembly device (P
AD) 2 is connected from the packet switch (PS) 3 to the terminal device (D
When a data packet DT to be delivered to TP Block B0 is first divided into terminal devices (called Bo, B+, etc.) based on the basic procedure.
DTE) 1.

端末装置(DTE)lは、パケット組立分解装置(PA
D)2から送信されたブロックB0を誤り無く受信する
と、ベーシック手順に基づきパケット組立分解装置(P
AD)2に対して肯定応答ACKを返送する。
The terminal equipment (DTE) is a packet assembly and disassembly equipment (PA).
D) When the block B0 transmitted from 2 is received without error, the packet assembly and disassembly device (P
AD) Returns an acknowledgment ACK to 2.

なおベーシック手順に基づき返送される肯定応答ACK
には番号制および非番号制の二種類があり、番号制を採
用する端末装置(DTE)1は、奇数番目のブロックB
に対しては肯定応答ACK(0)を、偶数番目のブロッ
クBに対しては肯定応答ACK (1)をパケット組立
分解装置(PAD)2に返送し、非番号制を採用する端
末装置(DTE)1は、奇数番目および偶数番目の何れ
のブロックBに対しても肯定応答ACKを返送する。
Note that the acknowledgment ACK returned based on the basic procedure
There are two types: number system and non-number system. Terminal equipment (DTE) 1 that uses the number system uses the odd-numbered block B.
For the even-numbered block B, an acknowledgment ACK (0) is returned to the packet assembly/disassembly device (PAD) 2, and an acknowledgment ACK (1) is returned for the even-numbered block B. )1 returns an acknowledgment ACK to both odd and even blocks B.

第5図は端末装置(DTE)1が番号制を採用する場合
を示し、ブロックB0を受信した場合に奇数番目に対す
る肯定応答ACK (0)を返送している。
FIG. 5 shows a case where the terminal equipment (DTE) 1 employs a numbering system, and when it receives block B0, it returns an acknowledgment ACK (0) for the odd numbered block.

端末装置(DTE)1が肯定応答ACK (0)を返送
した後、端末装置(DTE)1とパケット組立゛分解装
W (PAD)2とを接続する通信回線4に障害が発生
すると、続いてパケット組立分解装置(PAD)2が送
信したブロックB、は端末装置(DTE)1に送達され
ず、従って端末装置(DTE)1からも肯定応答ACK
 (1)が返送されない。
After the terminal equipment (DTE) 1 returns an acknowledgment ACK (0), if a failure occurs in the communication line 4 connecting the terminal equipment (DTE) 1 and the packet assembly/disassembly device W (PAD) 2, then The block B sent by the packet assembler/disassembly device (PAD) 2 is not delivered to the terminal equipment (DTE) 1, and therefore the terminal equipment (DTE) 1 also receives an acknowledgment ACK.
(1) is not returned.

パケット組立分解装置(PAD)2は、ブロックB、を
送信した後、予め定められた期間T、内に肯定応答AC
K (1)が返送されぬ場合には、端末装置(DTE)
1に対して肯定応答ACKの返送を要求する応答督促R
Qを送信し、以後肯定応答ACK (1)が返送される
こと無く所定期間T+が経過する度に、応答督促RQを
繰返し送信する。
The packet assembler/disassembly device (PAD) 2 sends an acknowledgment AC within a predetermined period T after transmitting the block B.
If K (1) is not returned, the terminal equipment (DTE)
Response reminder R requesting return of an acknowledgment ACK to 1
Q is transmitted, and every time a predetermined period T+ elapses without an acknowledgment ACK (1) being returned, a response prompting RQ is repeatedly transmitted.

やがて通信回線4の障害が回復すると、パケット組立分
解装置(PAD)2が送信した応答督促RQは、端末装
置(DTE)1に伝達される。
When the fault in the communication line 4 is eventually recovered, the response prompt RQ sent by the packet assembling and disassembling device (PAD) 2 is transmitted to the terminal equipment (DTE) 1.

応答督促RQを受信した端末装置(DTE)1は、直前
に受信したブロックに対する応答を返送する如くベーシ
ック手順により定められているが、パケ・7ト組立分解
装置(PAD)2が直前に送信したブロックB1は受信
していない為、前回受信したブロックB0に対する肯定
応答ACK (0)を再度バケット組立分解装置(PA
D)2に返送する。
The terminal equipment (DTE) 1 that received the response request RQ is prescribed by the basic procedure to return a response to the block it received immediately before, but the terminal equipment (DTE) 1 that received the response request RQ is required to return a response to the block it received immediately before. Since block B1 has not been received, the bucket assembly and disassembly device (PA
D) Return to 2.

パケット組立分解装置(PAD)2においては、ブロッ
クB1に対して肯定応答ACK (0)が返送されたと
判断し、前回受信したブロックB0に対する肯定応答A
CK (0)との間に番号制に基づく矛盾を検出し、端
末装置(DTE)1がブロックB、を正常に受信出来な
かったと判断し、再度ブロックB1を送信する。
The packet assembling and disassembling device (PAD) 2 determines that an acknowledgment ACK (0) has been returned to the block B1, and sends an acknowledgment A to the previously received block B0.
CK (0) based on the numbering system, and determines that the terminal equipment (DTE) 1 could not normally receive block B, and transmits block B1 again.

一方第6図は、端末装置(DTE)tが非番号制を採用
する場合を示し、ブロックB0を受信した場合に番号が
付与されていない肯定応答ACKを返送している。
On the other hand, FIG. 6 shows a case where the terminal equipment (DTE) t adopts a non-number system, and when receiving block B0, returns an acknowledgment ACK to which no number is assigned.

端末装置(DTE)1がブロックBoに対する肯定応答
ACKを返送した後、第5図におけると同様に通信図v
A4に障害が発生すると、続いてパケット組立分解装置
(PAD)2が送信したブロックB、は、端末装置(D
TE)1に送達されず、従って端末装置(DTE)lか
らも肯定応答ACKが返送されない。
After the terminal equipment (DTE) 1 returns a positive response ACK to the block Bo, the communication diagram v as in FIG.
When a failure occurs in A4, block B, which was subsequently transmitted by the packet assembling and disassembling device (PAD) 2, is transferred to the terminal device (D
TE) 1 and therefore no acknowledgment ACK is sent back from the terminal equipment (DTE) 1.

パケット組立分解装置(PAD)2は、7’ロックB、
を送信した後、所定期間T1内に肯定応答ACKが返送
されぬと、前述と同様に端末装置(DTE)1に対して
応答督促RQを送信し、以後肯定応答ACKが返送され
ること無く所定期間T、が経過する度に、応答督促RQ
を繰返し送信する。
The packet assembly and disassembly device (PAD) 2 has a 7' lock B,
If the acknowledgment ACK is not returned within the predetermined period T1 after sending the ACK, the response request RQ is sent to the terminal equipment (DTE) 1 in the same way as described above, and the predetermined response is returned without an acknowledgment ACK being sent back. Every time period T passes, response prompt RQ
Send repeatedly.

やがて通信回線4の障害が回復すると、パケット組立分
解装置(PAD)2が送信した応答督促RQは、端末装
置(DTE)1に伝達される。
When the fault in the communication line 4 is eventually recovered, the response prompt RQ sent by the packet assembling and disassembling device (PAD) 2 is transmitted to the terminal equipment (DTE) 1.

応答督促RQを受信した端末装置(DTE)1は、前述
と同様に、前回受信したブロックBoに対する肯定応答
ACKを再度パケッ+−m立分解装[(PAD)2に返
送する。
The terminal device (DTE) 1 that has received the response prompt RQ sends back the acknowledgment ACK for the previously received block Bo to the packet +-m stand-alone device [(PAD) 2, as described above.

パケット組立分解装置(PAD、)2は、ブロックB、
に対する肯定応答ACKが返送されたと判定し、実際に
はブロックB、が端末装置(DTE)1に伝達されてい
ないにも拘らず、ブロックB+が端末装置(DTE)1
に正常に伝達されたと判断し、次のブロックB2を送信
する。
The packet assembly and disassembly device (PAD) 2 includes a block B,
It is determined that an acknowledgment ACK has been returned to the terminal equipment (DTE) 1, and the block B+
It is determined that the block has been transmitted normally, and the next block B2 is transmitted.

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

以上の説明から明らかな如く、従来あるデータ通信シス
テムにおいては、番号制ベーシック手順を採用する端末
装置(DTE)1を収容するパケット組立分解装置(P
AD)2は、通信回線4に障害が発生した為に端末装置
(DTE)1に伝達されなかったブロックB、は、障害
が回復した後に応答督促RQを端末装置(DTE)1に
送信し、端末装置(DTE)1から返送された肯定応答
ACK (0)に付与された番号の矛盾を検出した後に
、漸く再送されることとなり、再送される迄に多くの手
順と時間とを費やす問題があり、また非番号制ベーシッ
ク手順を採用する端末装置(DTE)1を収容するパケ
ット組立分解装置(PAD)2は、通信回線4に障害が
発生した為に端末装置(DTE)1に伝達されなかった
ブロックB1を正常に伝達されたと誤認する問題があっ
た。
As is clear from the above explanation, in a conventional data communication system, a packet assembly/disassembly device (P
AD) 2, block B, which was not transmitted to the terminal equipment (DTE) 1 due to a failure in the communication line 4, transmits a response prompt RQ to the terminal equipment (DTE) 1 after the failure is recovered; After detecting a discrepancy in the numbers assigned to the acknowledgment ACK (0) returned from the terminal equipment (DTE) 1, the data is finally retransmitted, resulting in the problem of consuming many steps and time until the data is retransmitted. Yes, and the packet assembly/disassembly device (PAD) 2 that accommodates the terminal equipment (DTE) 1 that adopts the non-numbered basic procedure does not transmit data to the terminal equipment (DTE) 1 due to a failure in the communication line 4. There was a problem in which block B1 was mistakenly recognized as having been transmitted normally.

本発明は、通信回線の障害により送信に失敗したデータ
を、障害回復後に迅速・確実に再送可能とすることを目
的とする。
An object of the present invention is to enable data whose transmission has failed due to a communication line failure to be quickly and reliably retransmitted after the failure is recovered.

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

第1図は本発明(請求項1乃至請求項3)の原理を示す
図である。
FIG. 1 is a diagram showing the principle of the present invention (claims 1 to 3).

第1図において、4は通信回線、21は回線制御部、2
2はプロトコル制御部である。
In FIG. 1, 4 is a communication line, 21 is a line control unit, 2
2 is a protocol control section.

プロトコル制御部22はデータの送信を回線制御部21
に指示し、回線制御部21はプロトコル制御部22の指
示に基づきデータを通信回線4に送信する。
The protocol control unit 22 transmits data to the line control unit 21.
The line control section 21 transmits the data to the communication line 4 based on the instruction from the protocol control section 22.

100は、本発明(請求項1乃至請求項3)により回線
制御部21に設けられた回線障害検出手段である。
Reference numeral 100 denotes a line failure detection means provided in the line control unit 21 according to the present invention (claims 1 to 3).

200は、本発明(請求項1乃至請求項3)によりプロ
トコル制御部22に設けられたデータ保持手段である。
Reference numeral 200 denotes data holding means provided in the protocol control unit 22 according to the present invention (claims 1 to 3).

300は、本発明(請求項1乃至請求項3)によりプロ
トコル制御部22に設けられたデータ再送手段である。
Reference numeral 300 denotes data retransmission means provided in the protocol control unit 22 according to the present invention (claims 1 to 3).

400は、本発明(請求項2および請求項3)によりプ
ロトコル制御部22に設けられた送信停止手段である。
400 is a transmission stop means provided in the protocol control unit 22 according to the present invention (claims 2 and 3).

〔作用〕[Effect]

回線障害検出手段100は、通信回vA4における障害
の発生状態を監視し、プロトコル制御部22からデータ
の送信指示を受信した場合に、通信回線4における障害
の発生状態に応じてプロトコル制御部22に対してデー
タの送信成否を通知する。
The line failure detection means 100 monitors the occurrence of a failure in the communication line vA4, and when receiving a data transmission instruction from the protocol control unit 22, the line failure detection means 100 detects a failure in the communication line vA4. Notify the recipient of the success or failure of data transmission.

データ再送手段300は、データの送信を指示した回線
制御部21から送信不成功が通知された場合に、データ
をデータ保持手段200に保持し、予め定められた期間
が経過した後に、データ保持手段200に保持していた
データの送信を、回線制御部21に対して再度指示する
The data retransmission means 300 retains the data in the data holding means 200 when a transmission failure is notified from the line control unit 21 that instructed the data transmission, and after a predetermined period has elapsed, the data holding means The line control unit 21 is again instructed to transmit the data held in the 200.

送信停止手段400は、データ再送手段300がデータ
保持手段200に保持したデータに対して実行した再送
回数を計数し、再送回数が予め定められた回数に達し7
た場合に、回線制御部21に対するデータの送信を解消
する。
The transmission stop means 400 counts the number of retransmissions that the data retransmission means 300 has performed on the data held in the data holding means 200, and when the number of retransmissions reaches a predetermined number 7
In this case, the transmission of data to the line control unit 21 is canceled.

また送信停止手段400は、データ保持手段200に保
持されたデータが、予め定められた期間以内に送信が完
了しなかった場合に、回線制御部21に対するデータの
送信を解消することも考慮される。
It is also considered that the transmission stopping means 400 cancels the transmission of data to the line control unit 21 when the transmission of the data held in the data holding means 200 is not completed within a predetermined period. .

従って、本発明(請求項1乃至請求項3)によれば、通
信回線の障害により送信に失敗したデータは、障害が回
復した後に直ちに再送されることとなり、再送迄に余分
の手順および時間を費やす必要が無くなり、またデータ
が消失する恐れも無くなり、また本発明(請求項2およ
び請求項3)によれば、プロトコル制御部が所定回数、
或いは所定期間内に再送を試みても成功しなかったデー
タの送信を解消することとなり、当該データ通信システ
ムの信顧性および経済性が向上する。
Therefore, according to the present invention (claims 1 to 3), data whose transmission has failed due to a failure in the communication line is retransmitted immediately after the failure is recovered, and extra steps and time are required before retransmission. According to the present invention (claims 2 and 3), the protocol control section
Alternatively, transmission of data for which retransmission was attempted within a predetermined period but was not successful is eliminated, thereby improving reliability and economic efficiency of the data communication system.

〔実施例〕〔Example〕

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

第2図は本発明(請求項1および請求項2)の一実施例
によるパケットm立分解装置を示す図であり、第3図は
本発明(請求項1)の一実施例による回線障害処理を示
す図である。なお、全図を通じて同一符号は同一対象物
を示す。また対象とするデータ通信システムは第4図に
示す通りとする。
FIG. 2 is a diagram showing a packet disassembly device according to an embodiment of the present invention (Claims 1 and 2), and FIG. 3 is a diagram showing line failure processing according to an embodiment of the present invention (Claim 1). FIG. Note that the same reference numerals indicate the same objects throughout the figures. Furthermore, the target data communication system is as shown in FIG.

第2図においては、第1図における回線障害検出手段1
00として回線障害検出部212が回線制御部21内に
設けられ、また第1図におけるデータ保持手段200と
してブロック記憶部24が設けられ、また第1図におけ
るデータ再送手段300としてブロック再送部25およ
び計時部26が設けられ、更に第1図における送信停止
手段400として再送回数計数部27が設けられている
In FIG. 2, the line failure detection means 1 in FIG.
00, a line fault detection section 212 is provided in the line control section 21, a block storage section 24 is provided as the data holding means 200 in FIG. 1, and a block retransmission section 25 and A timer 26 is provided, and a retransmission number counter 27 is further provided as the transmission stop means 400 in FIG.

第2図乃至第4図において、パケット組立分解装置(P
AD)2がパケット交換機(PS)3から端末装置(D
TE)1に送達すべきデータパケットDTを、ハイレベ
ルデータリンク制御手順に基づき受信すると、上位制御
部23は受信したデータバケソ)DTを分解し、端末装
置(DTE)1に送達すべきデータをプロトコル制御部
22に伝達する。
In Figures 2 to 4, the packet assembly and disassembly device (P
AD) 2 is connected from the packet switch (PS) 3 to the terminal device (D
Upon receiving the data packet DT to be delivered to the terminal equipment (DTE) 1 based on the high-level data link control procedure, the upper control unit 23 disassembles the received data packet DT and sends the data to the terminal equipment (DTE) 1 according to the protocol. The information is transmitted to the control unit 22.

プロトコル制御部22は、上位制御部23から伝達され
たデータを複数のブロックBに区分し、最初にブロック
B0を回線制御部21に伝達し、ブロックB、をベーシ
ック手順に基づき端末装置(DTE)1に送信する様に
指示すると共に、ブロックB、をブロック記憶部24に
蓄積する。
The protocol control unit 22 divides the data transmitted from the upper control unit 23 into a plurality of blocks B, first transmits block B0 to the line control unit 21, and blocks B to the terminal equipment (DTE) based on the basic procedure. 1 and stores block B in the block storage section 24.

回線制御部21は、プロトコル制御部22から伝達され
たブロックB0を、端末装置(DTE)1に至る通信回
線4に送信した後、ブロックB。
The line control unit 21 transmits the block B0 transmitted from the protocol control unit 22 to the communication line 4 leading to the terminal equipment (DTE) 1, and then transmits the block B0.

を正常に送信したことを示す送信正常報告Sをプロトコ
ル制御部22に返送する。
A transmission normality report S indicating that the data has been successfully transmitted is returned to the protocol control unit 22.

端末装置(DTE)lは、パケット組立分解装置(PA
D)2から送信されたブロックB0を誤り無く受信する
と、前述と同様にパケット組立分解装置(PAD)2に
対して肯定応答ACKを返送する。
The terminal equipment (DTE) is a packet assembly and disassembly equipment (PA).
D) When the block B0 transmitted from 2 is received without error, it returns an acknowledgment ACK to the packet assembling and disassembling device (PAD) 2 in the same manner as described above.

プロトコル制御部22は、回線制御部21から送信正常
報告Sを受信し、更に端末装置(DTE)1から返送さ
れる肯定応答ACKを回線制御部21を介して受信する
と、ブロック記憶部24に蓄積済みのブロックB0を抹
消し、次のブロックB、を回線制御部21に伝達し、ブ
ロックB。
When the protocol control unit 22 receives the transmission normal report S from the line control unit 21 and also receives the acknowledgment ACK sent back from the terminal equipment (DTE) 1 via the line control unit 21, the protocol control unit 22 stores the report S in the block storage unit 24. The completed block B0 is deleted, the next block B is transmitted to the line control unit 21, and the block B is deleted.

を端末装置(DTE)1に送信する様に指示すると共に
、ブロックB1をブロック記憶部24に蓄積する。
It instructs the terminal device (DTE) 1 to transmit the block B1 and stores the block B1 in the block storage section 24.

端末装置(DTE)1が肯定応答ACKを返送した後に
通信口!4に障害が発生したとすると、回線制御部21
はブロックB+を端末装置(DTE)1に送信出来ず、
ブロックB、の送信に成功しなかったことを示す送信失
敗報告Nをプロトコル制御部22に返送する。
After the terminal equipment (DTE) 1 returns a positive response ACK, the communication port! 4, the line control unit 21
cannot send block B+ to terminal equipment (DTE) 1,
A transmission failure report N indicating that the transmission of block B was not successful is returned to the protocol control unit 22.

また端末装置(D、TE)1も、パケット組立分解装置
(PAD)2からブロックB1を受信しない為、肯定応
答ACKを返送することは無い。
Furthermore, since the terminal device (D, TE) 1 does not receive the block B1 from the packet assembling and disassembling device (PAD) 2, it does not return an acknowledgment ACK.

パケット組立分解装置(PAD)2においては、プロト
コル制御部22が回線制御部21から送信失敗報告Nを
返送されると、計時部26を起動し、計時部26が予め
定められた期間T0の経過を計時すると、ブロック再送
部25を起動する。
In the packet assembling and disassembling device (PAD) 2, when the protocol control unit 22 receives the transmission failure report N from the line control unit 21, it starts the timer 26, and the timer 26 checks the passage of a predetermined period T0. When the time is counted, the block retransmission unit 25 is activated.

起動されたブロック再送部25は、ブロック記憶部24
に蓄積されているブロックB+を抽出して回線制御部2
1に再度伝達し、ブロックB1を端末装置(DTE)1
に送信する様に指示すると共に、ブロックB1をブロッ
ク記憶部24に蓄積した侭とする。
The activated block retransmission unit 25 sends the block storage unit 24
The block B+ stored in the block B+ is extracted and the line controller 2
1 again and transmits block B1 to terminal equipment (DTE) 1.
The block B1 is stored in the block storage section 24.

通信回線4に発生した障害が未だ回復していないと、回
線制御部21はやはりブロックB1を端末装置(DTE
)1に送信出来ず、前述と同様に送信失敗報告Nをプロ
トコル制御部22に返送し、また端末装置(DTE)1
も、パケット組立分解装置(PAD)2からブロックト
を受′信しない為、肯定応答ACKを返送することは無
い。
If the fault that occurred in the communication line 4 has not been recovered yet, the line control unit 21 still connects the block B1 to the terminal device (DTE).
) 1, the transmission failure report N is returned to the protocol control unit 22 as described above, and the terminal equipment (DTE) 1
However, since it does not receive a blocked message from the packet assembling and disassembling device (PAD) 2, it does not return an acknowledgment ACK.

パケット組立分解装置(PAD)2においては、プロト
コル制御部22が回線制御部21から送信失敗報告Nを
返送され度に、前述と同様に計時部26を起動し、計時
部26が予め定められた期間T0の経過を計時する度に
ブロック再送部25を起動し、ブロック記憶部24に蓄
積されているブロックB、を回線制御部21に再送させ
、ブロックB、をブロック記憶部24に蓄積した優とす
る。
In the packet assembling and disassembling device (PAD) 2, each time the protocol control unit 22 receives the transmission failure report N from the line control unit 21, it activates the timer 26 in the same way as described above, Every time the elapse of the period T0 is counted, the block retransmission section 25 is activated, and the block B stored in the block storage section 24 is retransmitted to the line control section 21. shall be.

やがて通信回線4の障害が回復すると、回線制御部21
はブロック再送部25からの指示に基づき、ブロックB
1を端末装置(DTE)1に至る通信図NlA4に送信
した後、ブロックB、を正常に送信したことを示す送信
正常報告Sをプロトコル制御部22に返送する。
When the fault in the communication line 4 is eventually recovered, the line control unit 21
is the block B based on the instruction from the block retransmission unit 25.
1 to the communication diagram NlA4 leading to the terminal device (DTE) 1, and then returns a transmission normality report S indicating that block B was transmitted normally to the protocol control unit 22.

端末装置(DTE)1も、パケット組立分解装置(PA
D)2から送信されたブロックB、を誤り無(受信する
と、パケット組立分解装置(PAD)2に対して肯定応
答ACKを返送する。
The terminal equipment (DTE) 1 is also a packet assembly and disassembly equipment (PA).
D) Upon receiving block B transmitted from 2 without error, it returns an acknowledgment ACK to the packet assembling and disassembling device (PAD) 2.

プロトコル制御部22は、回線制御部21から送信正常
報告Sを受信し、更に端末装置(DTE)1から返送さ
れる肯定応答ACKを回線制御部21を介して受信する
と、ブロックB1の端末装置(DTE)1への伝達が正
常に完了したと判断し、次のブロックB2を前述と同様
の過程で送信開始する。
When the protocol control unit 22 receives the transmission normal report S from the line control unit 21 and further receives the acknowledgment ACK sent back from the terminal device (DTE) 1 via the line control unit 21, the protocol control unit 22 transmits the terminal device (DTE) of block B1. It is determined that the transmission to DTE) 1 has been successfully completed, and transmission of the next block B2 is started in the same process as described above.

一方再送回数計数部27は、ブロック再送部25が実行
するブロックB+の再送回数を計数しており、再送回数
が予め定められた回数に達すると、通信回線4が当分回
復する見込みが無いと判断し、上位制御部23から伝達
されたデータの、端末装置(DTE)1に対する送信を
解消する。
On the other hand, the retransmission count unit 27 counts the number of retransmissions of block B+ executed by the block retransmission unit 25, and when the number of retransmissions reaches a predetermined number, it is determined that there is no hope that the communication line 4 will recover for a while. Then, the transmission of the data transmitted from the upper control unit 23 to the terminal equipment (DTE) 1 is canceled.

以上の説明から明らかな如く、本実施例によれば、パケ
ット組立分解装置(PAD)2は通信図′fiA4に発
生していた障害が回復すると、直ちに送信に失敗してい
たブロックB1の再送を実行する為、再送の為に余分の
手順および時間を費やすことも無く、またブロックB1
を消失する恐れも無くなる。
As is clear from the above explanation, according to the present embodiment, the packet assembling and disassembling device (PAD) 2 immediately retransmits the block B1, which had failed in transmission, when the failure that occurred in the communication diagram 'fiA4 is recovered. block B1 without expending extra steps and time for retransmission.
There is no longer any fear of it disappearing.

なお、第2図乃至第4図はあく迄本発明の一実施例に過
ぎず、例えば通信回線4における障害の発生および回復
経過は図示されるものに限定されることは無く、他に幾
多の変形が考慮されるが、何れの場合にも本発明の効果
は変わらない。またパケット組立分解装置(PAD)2
の構成は図示されるものに限定されることは無く、例え
ば再送回数計数部27の代わりに計時部26による計時
の累積時間が所定期間に達した場合にデータの送信を解
消する等、他に幾多の変形が考慮されるが、何れの場合
にも本発明の効果は変わらない。更に本発明の対象とな
るデータ通信システムは、図示されるものに限定されぬ
ことは言う迄も無い。
Note that FIGS. 2 to 4 are only one embodiment of the present invention, and the occurrence of a failure and the recovery process in the communication line 4, for example, are not limited to what is shown in the figures, and may be explained in many other ways. Although variations are considered, the effects of the present invention do not change in any case. Also, packet assembly and disassembly device (PAD) 2
The configuration is not limited to that shown in the figure, and for example, data transmission may be canceled when the cumulative time measured by the timer 26 instead of the retransmission number counter 27 reaches a predetermined period. Many modifications may be considered, but the effects of the present invention remain the same in any case. Furthermore, it goes without saying that the data communication system to which the present invention is applied is not limited to what is illustrated.

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

以上、本発明(請求項1乃至請求項3)によれば、通信
回線の障害により送信に失敗したデータは、障害が回復
した後に直ちに再送されることとなり、再送迄に余分の
手順および時間を費やす必要が無くなり、またデータが
消失する恐れも無くなり、また本発明(請求項2および
請求項3ンによれば、プロトコル制御部が所定回数、或
いは所定期間内に再送を試みても成功しなかったデータ
の送信を解消することとなり、当該データ通信システム
の信鯨性および経済性が向上する。
As described above, according to the present invention (claims 1 to 3), data whose transmission has failed due to a failure in the communication line is retransmitted immediately after the failure is recovered, and extra steps and time are required before retransmission. According to the present invention (according to claims 2 and 3), even if the protocol control unit attempts retransmission a predetermined number of times or within a predetermined period, This eliminates the need to transmit data that has been lost, improving reliability and economic efficiency of the data communication system.

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

第1図は本発明(請求項1乃至請求項3)の原理を示す
図、第2図は本発明(請求項1および請求項2)の一実
施例によるパケット組立分解装置を示す図、第3図は本
発明(請求項1)の一実施例による回線障害処理を示す
図、第4図は本発明の対象となるデータ通信ノステムの
一例を示す図、第5図は従来ある凹″I/fA障害処理
の一例を示す図、第6図は従来ある回線障害処理の他の
一例を示す図である。 図において、1は端末装置(DTE) 、2はパケット
組立分解装置(PAD) 、3はバゲット交換機(PS
) 、4は通信回線、21は回線制御部、22はプロト
コル制御部、23は上位制御部、24はブロック記憶部
、25はブロック再送部、26は計時部、27は再送回
数計数部、100は回線障害検出手段、200はデータ
保持手段、212は回線障害検出部、300はデータ再
送手段、;F発B月(請千増1わFVt青丁填2)1;
ようハ゛7・7ト葦且立ゲ角4に置1 2  口 杢殆哨(蹟幻貢ID至紬ボ項3)0.?度記1 1  
「 事房と日月(h1ゼエ白1)1;よろ回1μ章名予姿理
73 ロ 牛 ロ イ足來ノうろロイ栗樟eル理 第 5 ロ
FIG. 1 is a diagram showing the principle of the present invention (claims 1 to 3), FIG. 2 is a diagram showing a packet assembly and disassembly device according to an embodiment of the present invention (claims 1 and 2), 3 is a diagram showing line failure processing according to an embodiment of the present invention (claim 1), FIG. 4 is a diagram showing an example of a data communication system to which the present invention is applied, and FIG. 5 is a diagram showing a conventional concave "I" FIG. 6 is a diagram showing an example of /fA fault processing, and FIG. 6 is a diagram showing another example of conventional line fault processing. In the figure, 1 is a terminal equipment (DTE), 2 is a packet assembling and disassembling device (PAD), 3 is a baguette exchange machine (PS
), 4 is a communication line, 21 is a line control section, 22 is a protocol control section, 23 is an upper control section, 24 is a block storage section, 25 is a block retransmission section, 26 is a clock section, 27 is a retransmission count counter, 100 is a line failure detection means, 200 is a data holding means, 212 is a line failure detection unit, 300 is a data retransmission means;
Place 7.7 on the reed and stand angle 4. ? degrees 1 1
``The matter and the sun and moon (h1 Zee White 1) 1; Yoroki 1μ Chapter name Forecast logic 73 Ro Cow Roi Ashikari No Uro Roi Chestnut Camphor Log No. 5 Ro

Claims (3)

【特許請求の範囲】[Claims] (1)データの送信を回線制御部(21)に指示するプ
ロトコル制御部(22)と、該プロトコル制御部(22
)の指示に基づきデータを通信回線(4)に送信する回
線制御部(21)とを具備するデータ通信システムにお
いて、 前記回線制御部(21)に、前記通信回線(4)におけ
る障害の発生状態を監視し、前記プロトコル制御部(2
2)からデータの送信指示を受信した場合に、前記通信
回線(4)における障害の発生状態に応じて前記プロト
コル制御部(22)に対して前記データの送信成否を通
知する回線障害検出手段(100)を設け、 前記プロトコル制御部(22)に、データの送信を指示
した前記回線制御部(21)から送信不成功が通知され
た場合に、前記データをデータ保持手段(200)に保
持し、予め定められた期間が経過した後に、前記データ
保持手段(200)に保持していたデータの送信を、前
記回線制御部(21)に対して再度指示するデータ再送
手段(300)を設けることを特徴とする回線障害処理
方式。
(1) A protocol control unit (22) that instructs the line control unit (21) to transmit data;
) A data communication system comprising a line control unit (21) that transmits data to a communication line (4) based on an instruction from a communication line (4), wherein the line control unit (21) is informed of a failure occurrence state in the communication line (4). and monitors the protocol control unit (2).
line failure detection means (2) for notifying the protocol control unit (22) of the success or failure of the data transmission according to the failure occurrence state in the communication line (4) when receiving a data transmission instruction from the communication line (4); 100), which retains the data in the data holding means (200) when the protocol control unit (22) is notified of unsuccessful transmission from the line control unit (21) that has instructed data transmission. , providing data retransmission means (300) for instructing the line control unit (21) again to transmit the data held in the data holding means (200) after a predetermined period has elapsed; A line failure handling method characterized by:
(2)データの送信を回線制御部(21)に指示するプ
ロトコル制御部(22)と、該プロトコル制御部(22
)の指示に基づきデータを通信回線(4)に送信する回
線制御部(21)とを具備するデータ通信システムにお
いて、 前記回線制御部(21)に、前記通信回線(4)におけ
る障害の発生状態を監視し、前記プロトコル制御部(2
2)からデータの送信指示を受信した場合に、前記通信
回線(4)における障害の発生状態に応じて前記プロト
コル制御部(22)に対して前記データの送信成否を通
知する回線障害検出手段(100)を設け、 前記プロトコル制御部(22)に、データの送信を指示
した前記回線制御部(21)から送信不成功が通知され
た場合に、前記データをデータ保持手段(200)に保
持し、予め定められた期間が経過した後に、前記データ
保持手段(200)に保持していたデータの送信を、前
記回線制御部(21)に対して再度指示するデータ再送
手段(300)と、 前記データ再送手段(300)が前記データ保持手段(
200)に保持したデータに対して実行した再送回数を
計数し、該再送回数が予め定められた回数に達した場合
に、前記回線制御部(21)に対する前記データの送信
を解消する送信停止手段(400)とを設けることを特
徴とする回線障害処理方式。
(2) A protocol control unit (22) that instructs the line control unit (21) to transmit data;
) A data communication system comprising a line control unit (21) that transmits data to a communication line (4) based on an instruction from a communication line (4), wherein the line control unit (21) is informed of a failure occurrence state in the communication line (4). and monitors the protocol control unit (2).
line failure detection means (2) for notifying the protocol control unit (22) of the success or failure of the data transmission according to the failure occurrence state in the communication line (4) when receiving a data transmission instruction from the communication line (4); 100), which retains the data in the data holding means (200) when the protocol control unit (22) is notified of unsuccessful transmission from the line control unit (21) that has instructed data transmission. , data retransmission means (300) for instructing the line control unit (21) again to transmit the data held in the data holding means (200) after a predetermined period has elapsed; The data retransmission means (300) includes the data holding means (
200) for counting the number of retransmissions performed on the data held in the data storage unit 200), and canceling transmission of the data to the line control unit (21) when the number of retransmissions reaches a predetermined number of times; (400).
(3)前記送信停止手段(400)は、前記データ保持
手段(200)に保持されたデータが、予め定められた
時間が経過する迄に送信が完了しなかった場合に、前記
回線制御部(21)に対する前記データの送信を解消す
ることを特徴とする請求項2記載の回線障害処理方式。
(3) The transmission stop means (400) is configured to control the line control unit ( 3. The line fault handling method according to claim 2, wherein the transmission of the data to 21) is canceled.
JP2145781A 1990-06-04 1990-06-04 Line fault processing system Pending JPH0438027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2145781A JPH0438027A (en) 1990-06-04 1990-06-04 Line fault processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2145781A JPH0438027A (en) 1990-06-04 1990-06-04 Line fault processing system

Publications (1)

Publication Number Publication Date
JPH0438027A true JPH0438027A (en) 1992-02-07

Family

ID=15393020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2145781A Pending JPH0438027A (en) 1990-06-04 1990-06-04 Line fault processing system

Country Status (1)

Country Link
JP (1) JPH0438027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0774727A2 (en) 1995-11-17 1997-05-21 Kabushiki Kaisha Toshiba IC Card reading/writing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0774727A2 (en) 1995-11-17 1997-05-21 Kabushiki Kaisha Toshiba IC Card reading/writing device

Similar Documents

Publication Publication Date Title
KR100812412B1 (en) Error-correcting communication method for transmitting data packets in a network communication system
US4410983A (en) Distributed industrial control system with remote stations taking turns supervising communications link between the remote stations
EP0324886B1 (en) Control flow reduction in selective repeat protocols
WO2004004158A1 (en) System and method for supporting automatic protection switching between multiple node pairs using common agent architecture
US20130230051A1 (en) Processing Requests
CA1171543A (en) Industrial control system
JPH10136053A (en) Data retransmitting method in recognition-type information transfer
EP0330223B1 (en) Information distribution system
JPH0438027A (en) Line fault processing system
JPS6072351A (en) Method for supervising operating condition of packet communication system
US20060059273A1 (en) Envelope packet architecture for broadband engine
JPH05204811A (en) Control information communication system
CN101924662A (en) Alarm transmission method
CN100377526C (en) Method of treating calling example maintenance management abnormal
CN111417116B (en) Communication method and system adapted through ATT, read-write and exception handling
JPS6116651A (en) Multilink communication processing system
JPH05265989A (en) Multiprocessor system
JP3972630B2 (en) Ethernet variable transmission system
JPH03117242A (en) Retrial method for data transmission
JPH02226836A (en) Remote power source controller
JPH0357335A (en) Data communication system
JPH0622000A (en) Message communication system with function preventing the missing of message
JPH0352048A (en) Automatic resending processing system for message
JPS61244149A (en) Data transmission system
JPH0973420A (en) Data frame transfer method