JPS6282745A - Loop data transmission system - Google Patents

Loop data transmission system

Info

Publication number
JPS6282745A
JPS6282745A JP22199285A JP22199285A JPS6282745A JP S6282745 A JPS6282745 A JP S6282745A JP 22199285 A JP22199285 A JP 22199285A JP 22199285 A JP22199285 A JP 22199285A JP S6282745 A JPS6282745 A JP S6282745A
Authority
JP
Japan
Prior art keywords
frame
data
transmission
sent
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.)
Pending
Application number
JP22199285A
Other languages
Japanese (ja)
Inventor
Yoshihisa Okamoto
岡本 善久
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 JP22199285A priority Critical patent/JPS6282745A/en
Publication of JPS6282745A publication Critical patent/JPS6282745A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To attain data transmission with high efficiency and high reliability even to transmission line disturbance or reception station busy state by providing a field in which information whether or not requesting the sending of a reply code from a transmission state to a reception station is written to a frame so as to increase the utility of the transmission line. CONSTITUTION:The reception station 1 detects the logical level of a reply request flag F included in a frame FS sent from a transmission station 2 via a transmission line 3, and an affirmative reply code ACK is inserted in response to the logical level at the data reception or the frame FS is changed into an idle frame and the result is sent to the transmission line 3. When the data reception is disabled, a negative reply code NAK is inserted independently of the logical level of the reply request flag F and the result is sent to the transmission line 3. Thus, an unnecessary reply frame is less on the transmission line 3 and the transmission station side supervises the negative replay code NAK to apply retransmission control so as to attain quick correspondence and the data transmission with the high efficiency and high reliability is realized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ループ状伝送路を使って端局相互間の通信を
行うループ式データ伝送方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a loop data transmission system that uses a loop-shaped transmission line to communicate between terminal stations.

〔従来の技術〕[Conventional technology]

従来、この種のループ式データ伝送方式においては、任
意の送信局から受信局にデータ伝送を行う場合、送信局
は、伝送路内を循環しているフレームのうち空フレーム
を検出して、その空フレームに第4図に示すようなフレ
ーム同期信号S、送信先アドレスDA、発信元アドレス
SA、データDおよび誤り検定符号CHKを挿入して伝
送路へ送出していた。−力受信局では、このフレームが
受信できる場合に送信先アドレスDAが自局のアドレス
と同一であることを検知し、データDを抽出し、同時に
第5図に示すような肯定の応答符号AKをデータDが占
有していた領域に挿入して送信局へ返送していた。また
、このフレームが受信できない場合には否定の応答符号
AKをデータDが占有していた領域に挿入して送信局へ
返送していた。
Conventionally, in this type of loop data transmission system, when transmitting data from an arbitrary transmitting station to a receiving station, the transmitting station detects empty frames among the frames circulating in the transmission path and A frame synchronization signal S, a destination address DA, a source address SA, data D, and an error check code CHK as shown in FIG. 4 were inserted into an empty frame and sent to the transmission path. - If the receiving station can receive this frame, it detects that the destination address DA is the same as its own address, extracts the data D, and at the same time sends an affirmative response code AK as shown in FIG. was inserted into the area occupied by data D and sent back to the transmitting station. If this frame cannot be received, a negative response code AK is inserted into the area occupied by data D and sent back to the transmitting station.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のループ式データ伝送方式では、−変速信
局で占有されたフレームは伝送路を一周して再び送信局
にもどるまでは使用できないため、伝送路の利用性、言
い換えると伝送効率が低下するという欠点がある。その
一方では、受信局から肯定あるいは否定の応答情報の伝
送を行わないと、伝送路擾乱発生、受信局ビジー等の場
合に、送信局からのデータ再送などの回復手段が取れず
、信頼性が低下するという欠点がある。
In the conventional loop data transmission method described above, - A frame occupied by a variable speed transmission station cannot be used until it goes around the transmission path and returns to the transmitting station, which reduces the usability of the transmission path, or in other words, the transmission efficiency. There is a drawback that it does. On the other hand, if the receiving station does not transmit affirmative or negative response information, recovery measures such as data retransmission from the transmitting station cannot be taken in the event of transmission path disturbance or the receiving station is busy, resulting in poor reliability. The disadvantage is that it decreases.

〔問題点を解決するための手段〕[Means for solving problems]

このような欠点を除去するために本発明は、送信局が受
信局に対して応答符号の送出を要求するか否かの情報が
書き込まれるフィールドをフレームに設け、送信局から
送られてきたフレームからフィールドの情報を検出し、
データを受信できない場合にはフィールドの内容にかか
わらず否定応答符号をフレームに挿入して伝送路に送出
し、データ受信可能でかつフィールドの内容が応答を要
求しているときには肯定応答符号をデータ抽出後のフレ
ームに挿入して伝送路に送出し、データ受信可能でかつ
フィールドの内容が応答を要求していないときにはデー
タ抽出後にフレームを空フレームとして伝送路に送出す
るようにしたものである。
In order to eliminate such drawbacks, the present invention provides a field in the frame in which information indicating whether or not the transmitting station requests the receiving station to send a response code is provided in the frame. Detect field information from
If data cannot be received, a negative acknowledgment code is inserted into the frame and sent to the transmission path regardless of the field contents, and if data can be received and the field contents require a response, an acknowledgment code is extracted from the data. The frame is inserted into a later frame and sent to the transmission path, and when data can be received and the contents of the field do not require a response, the frame is sent out to the transmission path as an empty frame after data is extracted.

〔作用〕[Effect]

本発明においては、伝送路擾乱、受信局ビジー等に対し
てデータ再送などが早く行え、伝送効率も低下すること
がない。
In the present invention, data retransmission can be performed quickly in response to transmission path disturbances, busy receiving stations, etc., and transmission efficiency does not decrease.

〔実施例〕〔Example〕

まず本発明に係わるループ式データ伝送方式の一実施例
の概要について説明する。本実施例においては、データ
を受信した旨を通知するための肯定応答信号を受信局か
ら送出する場合に条件を設けている。すなわち、送信局
から受信局に対してデータを含むフレームを送信する場
合、上述の応答信号を要求するためのフラグをこのフレ
ーム内に付加して送り出す。このときフラグは、たとえ
ば、応答を必要とする場合には「1」、応答を必要とし
ない場合には「0」に設定されて送り出される。
First, an overview of an embodiment of the loop data transmission method according to the present invention will be explained. In this embodiment, conditions are set when the receiving station sends out an acknowledgment signal to notify that data has been received. That is, when transmitting a frame containing data from a transmitting station to a receiving station, a flag for requesting the above-mentioned response signal is added to the frame and sent. At this time, the flag is set to "1" when a response is required, and "0" when a response is not required, and is sent out.

一方受信局側では、このフラグの論理を検出するフラグ
検出部の出力と受信の可否を判定し、受信不可の場合に
はフラグの論理に関わらず否定応答符号を受信局から送
出されるフレームに付加して送出し、受信可でフラグの
論理が「1」の場合には肯定応答符号を受信局から送出
されるフレームに付加して送り出し、受信可でフラグの
論理がrOJの場合には該当フレームを空フレームとし
て伝送路へ送出する。
On the other hand, on the receiving station side, the output of the flag detection unit that detects the logic of this flag is used to determine whether reception is possible, and if reception is not possible, a negative response code is added to the frame sent from the receiving station regardless of the logic of the flag. If the frame is receivable and the flag logic is "1", an acknowledgment code is added to the frame sent from the receiving station and sent; if it is receivable and the flag logic is rOJ, it is applicable. The frame is sent to the transmission path as an empty frame.

第1図に本発明に係わるループ式データ伝送方式の一実
施例を適用した送受信システムを示す。
FIG. 1 shows a transmitting/receiving system to which an embodiment of the loop data transmission method according to the present invention is applied.

このシステムは、同図に示すように、受信局1゜送信局
2.伝送路3.端末4から構成される。
As shown in the figure, this system consists of a receiving station 1, a transmitting station 2, and so on. Transmission line 3. It consists of terminal 4.

第2図は、送信局2から受信局1に対して送出される送
出フレームFSを示し、第3図は受信局1から送信局2
に返送される返送フレームFRのフォーマットを示す。
FIG. 2 shows the sending frame FS sent from the transmitting station 2 to the receiving station 1, and FIG. 3 shows the sending frame FS sent from the receiving station 1 to the transmitting station 2.
This shows the format of the return frame FR sent back.

次に本実施例における動作について第1図〜第3図を用
いて説明する。受信局1において、符号変換回路11は
、ループ状の伝送路3からの信号、すなわち送信局2か
らのフレームFSを受信し、また自局1からの信号、す
なわちフレームFRを送信するための回路である。この
符号変換回路11を通して受信されたフレームFSは、
タイミング再生回路12.データ受信回路13.送出フ
レーム作成回路14のそれぞれに送られる。タイミング
再生回路12は、フレームFS内の各信号の受信タイミ
ングを再生するための回路である。データ受信回路13
は、タイミング再生回路12からのタイミング信号によ
りフレームFS内のデータDを受信し、データDを抽出
する。受信できないデータは、符号変換回路11から送
出フレーム作成回路14に送られる。
Next, the operation of this embodiment will be explained using FIGS. 1 to 3. In the receiving station 1, the code conversion circuit 11 is a circuit for receiving the signal from the loop-shaped transmission line 3, that is, the frame FS from the transmitting station 2, and transmitting the signal from the own station 1, that is, the frame FR. It is. The frame FS received through this code conversion circuit 11 is
Timing recovery circuit 12. Data receiving circuit 13. It is sent to each of the transmission frame creation circuits 14. The timing reproducing circuit 12 is a circuit for reproducing the reception timing of each signal within the frame FS. Data receiving circuit 13
receives the data D in the frame FS according to the timing signal from the timing recovery circuit 12, and extracts the data D. Data that cannot be received is sent from the code conversion circuit 11 to the transmission frame creation circuit 14.

データ受信回路13で受信されたデータF3は、インタ
フェース18を通して端末4に送出される。
Data F3 received by the data receiving circuit 13 is sent to the terminal 4 through the interface 18.

また、データ受信回路13からデータ受信の可否を示す
受信可否信号F3aが出力され、受信できない場合には
受信可否信号F3aは「0」となり、受信できた場合に
は受信可否信号F3aは「1」となる。受信可否信号F
3aが「1」のときには肯定応答符号送出回路16から
肯定応答符号ACKが出力され、受信可否信号F3aが
「0」のときには否定応答符号送出回路17から否定応
答符号NAKが出力される。
Further, the data receiving circuit 13 outputs a reception permission signal F3a indicating whether data can be received. If the data cannot be received, the reception permission signal F3a becomes "0", and if the data can be received, the reception permission signal F3a becomes "1". becomes. Reception availability signal F
When F3a is "1", the acknowledgment code sending circuit 16 outputs an acknowledgment code ACK, and when the reception permission signal F3a is "0", the negative acknowledgment code sending circuit 17 outputs a negative acknowledgment code NAK.

フラグ検出回路15は、受信データF3から応答要求フ
ラグFを検出してそのフラグビットの判定を行い、当該
ビットが「1」であった場合には「1」の信号、「0」
であった場合には「0」の信号をそれぞれ判定信号F5
として送出フレーム作成回路14に送出する。
The flag detection circuit 15 detects the response request flag F from the received data F3 and determines the flag bit. If the bit is "1", it outputs a "1" signal and a "0" signal.
If so, the “0” signal is used as the judgment signal F5.
The frame is sent to the sending frame creation circuit 14 as a frame.

送出フレーム作成回路14では、前述の判定信号F5.
信号ACK、信号NAKの3信号の状態に対し受信フレ
ームF1を加工して返送フレームFRを作成している。
In the transmission frame creation circuit 14, the above-mentioned determination signal F5.
A return frame FR is created by processing the received frame F1 for the states of the three signals, the signal ACK and the signal NAK.

受信可否信号F3aが「0」の場合には、受信フレーム
F1に否定応答符号NAKを挿入して、符号変換回路1
1を経由して伝送路3へ送出する。受信可否信号F3a
が「1」で、判定信号F5が「1」の場合には、受信フ
レームF1に肯定応答符号ACKを挿入して、符号変換
回路11を経由して伝送路3へ送出する。
When the reception permission signal F3a is "0", a negative acknowledgment code NAK is inserted into the reception frame F1, and the code conversion circuit 1
1 to the transmission line 3. Reception availability signal F3a
is "1" and the determination signal F5 is "1", an acknowledgment code ACK is inserted into the received frame F1, and the received frame F1 is sent to the transmission path 3 via the code conversion circuit 11.

また、受信可否信号F3aが「1」で、判定信号F5が
「0」の場合には、受信フレームF1を空フレームとし
て同様に伝送路3へ送出する。
Further, when the reception permission signal F3a is "1" and the determination signal F5 is "0", the reception frame F1 is similarly sent to the transmission path 3 as an empty frame.

上述したように、受信局1において、伝送路3を介して
送信局2から伝送されてくるフレームFS内に含まれる
応答要求フラグFの論理レベルを検出し、データ受信時
は、その論理レベルに応して、肯定応答符号ACKを挿
入したり、フレームFSを空フレームとしたりして伝送
路3に送出し、さらに、データ受信不可時には、応答要
求フラグFの論理レベルには無関係に否定応答符号NA
Kを挿入して同様に伝送路3に送出することにより、伝
送路3上に不要な応答フレームが少なくなり、さらに、
送信局側で否定応答符号NAKを監視し再送制御などを
行うことにより迅速な対応が可能となり、効率の良い、
信頼性の高いデータ伝送を実現できる。
As described above, the receiving station 1 detects the logic level of the response request flag F included in the frame FS transmitted from the transmitting station 2 via the transmission path 3, and when receiving data, the logic level is set to Accordingly, an acknowledgment code ACK is inserted or the frame FS is made an empty frame and sent to the transmission path 3. Furthermore, when data cannot be received, a negative acknowledgment code is inserted regardless of the logic level of the response request flag F. NA
By inserting K and sending it to the transmission line 3 in the same way, unnecessary response frames on the transmission line 3 are reduced, and furthermore,
By monitoring the negative acknowledgment code NAK on the transmitting station side and performing retransmission control, it is possible to respond quickly and efficiently.
Highly reliable data transmission can be achieved.

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

以上説明したように本発明は、送信局から送られてきた
フレームからフィールドの情報を検出し、データを受信
できない場合にはフィールドの内容にかかわらず否定応
答符号をフレームに挿入して伝送路に送出し、データ受
信可能でかつフィールドの内容が応答を要求していると
きには肯定応答符号をデータ抽出後のフレームに挿入し
て伝送路に送出し、データ受信可能でかつフィールドの
内容が応答を要求していないときにはデータ抽出後にフ
レームを空フレームとして伝送路に送出することにより
、伝送路上に不要な応答フレームが少なくなり、送信局
で否定応答符号を監視して再送制御などを行うことによ
り迅速な対応が可能となるので、伝送路の利用性を増大
させ、同時に、伝送路擾乱や受信局ビジーに対しても効
率の良い信頼性の高いデータ伝送を行うことができる効
果がある。
As explained above, the present invention detects field information from a frame sent from a transmitting station, and if data cannot be received, a negative acknowledgment code is inserted into the frame regardless of the field contents, and the transmission path is transmitted. If data can be received and the field contents require a response, an acknowledgment code is inserted into the frame after data extraction and the frame is sent to the transmission path, and data can be received and the field contents require a response. If not, by sending the frame as an empty frame to the transmission path after data extraction, unnecessary response frames are reduced on the transmission path, and by monitoring the negative acknowledgment code at the transmitting station and performing retransmission control, etc. Since this becomes possible, it is possible to increase the usability of the transmission path, and at the same time, it is possible to perform efficient and reliable data transmission even when the transmission path is disturbed or the receiving station is busy.

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

第1図は本発明に係わるループ式データ伝送方式の一実
施例が適用される送受信システムを示す系統図、第2図
および第3図はこの送受信システムで使用される送出フ
レームおよび返送フレームを示すデータ構成図、第4図
および第5図は従来の送出フレームおよび返送フレーム
を示すデータ構成図である。 1・・・・受信局、2・・・・送信局、3・・・・伝送
路、4・・・・端末、11・・・・符号変換回路、12
・・・・タイミング再生回路、13・・・・データ受信
回路、14・・・・送出フレーム作成回路、15・・・
・フラグ検出回路、16・・・・肯定応答符号送出回路
、17・・・・否定応答符号送出回路、18・・・・イ
ンタフェース。
FIG. 1 is a system diagram showing a transmitting/receiving system to which an embodiment of the loop data transmission method according to the present invention is applied, and FIGS. 2 and 3 show sending frames and return frames used in this transmitting/receiving system. Data structure diagrams FIGS. 4 and 5 are data structure diagrams showing conventional sending frames and return frames. DESCRIPTION OF SYMBOLS 1... Receiving station, 2... Transmitting station, 3... Transmission path, 4... Terminal, 11... Code conversion circuit, 12
...Timing regeneration circuit, 13...Data reception circuit, 14...Transmission frame creation circuit, 15...
-Flag detection circuit, 16...Acknowledgement code sending circuit, 17...Negative response code sending circuit, 18...Interface.

Claims (1)

【特許請求の範囲】[Claims] 送信局と受信局がループ状の伝送路に接続され、前記受
信局が前記送信局からのデータを伴ったフレームを受信
し、このフレームからデータを抽出した後に応答符号を
挿入して送信局に返送することによりデータの送受信を
行うループ式データ伝送方式において、前記送信局が前
記受信局に対して前記応答符号の送出を要求するか否か
の情報が書き込まれるフィールドを前記フレームに設け
、前記送信局から送られてきた前記フレームから前記フ
ィールドの情報を検出し、データを受信できない場合に
は前記フィールドの内容にかかわらず否定応答符号を前
記フレームに挿入して伝送路に送出し、データ受信可能
でかつ前記フィールドの内容が応答を要求しているとき
には肯定応答符号をデータ抽出後の前記フレームに挿入
して伝送路に送出し、データ受信可能でかつ前記フィー
ルドの内容が応答を要求していないときにはデータ抽出
後に前記フレームを空フレームとして伝送路に送出する
ことを特徴とするループ式データ伝送方式。
A transmitting station and a receiving station are connected to a loop-shaped transmission path, and the receiving station receives a frame with data from the transmitting station, extracts data from this frame, inserts a response code, and transmits the data to the transmitting station. In a loop data transmission method in which data is transmitted and received by sending back data, a field is provided in the frame in which information indicating whether or not the transmitting station requests the receiving station to send the response code is written, The information in the field is detected from the frame sent from the transmitting station, and if the data cannot be received, a negative acknowledgment code is inserted into the frame regardless of the contents of the field and sent to the transmission path, and the data is received. If possible and the contents of the field require a response, insert an acknowledgment code into the frame after data extraction and send it to the transmission path, and if the data can be received and the contents of the field require a response. A loop data transmission method characterized in that when there is no data, the frame is sent to a transmission path as an empty frame after data extraction.
JP22199285A 1985-10-07 1985-10-07 Loop data transmission system Pending JPS6282745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22199285A JPS6282745A (en) 1985-10-07 1985-10-07 Loop data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22199285A JPS6282745A (en) 1985-10-07 1985-10-07 Loop data transmission system

Publications (1)

Publication Number Publication Date
JPS6282745A true JPS6282745A (en) 1987-04-16

Family

ID=16775385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22199285A Pending JPS6282745A (en) 1985-10-07 1985-10-07 Loop data transmission system

Country Status (1)

Country Link
JP (1) JPS6282745A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5487404A (en) * 1977-12-23 1979-07-11 Nec Corp Loop data transmission system
JPS5635554A (en) * 1979-08-30 1981-04-08 Nec Corp Loop-type data transmission system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5487404A (en) * 1977-12-23 1979-07-11 Nec Corp Loop data transmission system
JPS5635554A (en) * 1979-08-30 1981-04-08 Nec Corp Loop-type data transmission system

Similar Documents

Publication Publication Date Title
US4337465A (en) Line driver circuit for a local area contention network
EP0076880B1 (en) A local area contention network data communication system
US4646300A (en) Communications method
US4748560A (en) Occupancy control system for plural serial buses
JPS6282745A (en) Loop data transmission system
SE9503876D0 (en) Way to ensure data integrity during a repeater transfer
JPS61120546A (en) Loop type data transmission system
JPH0344465B2 (en)
JPS6358567A (en) Serial interface bus system
JPS5972250A (en) Collision detecting processor
CA1180075A (en) Local area contention network data communication system
JPS6294037A (en) Token ring communication system
JP2615982B2 (en) Communication error recovery method and device
JPS6053348A (en) Data retransmission system in data transfer device
JPS61270929A (en) Wireless transmission system
JP2735078B2 (en) Communication control method
JP2989917B2 (en) Multiplex transmission method
JPH037177B2 (en)
JPS61283258A (en) Data transmission control system
JPS648864B2 (en)
JPS6192063A (en) Response information transfer controller
JPS59158159A (en) Data transmitter
JPS625497B2 (en)
JPH03217140A (en) Data transmission system
JPH0319742B2 (en)