JPH03102936A - Multiple address communication system - Google Patents

Multiple address communication system

Info

Publication number
JPH03102936A
JPH03102936A JP1240202A JP24020289A JPH03102936A JP H03102936 A JPH03102936 A JP H03102936A JP 1240202 A JP1240202 A JP 1240202A JP 24020289 A JP24020289 A JP 24020289A JP H03102936 A JPH03102936 A JP H03102936A
Authority
JP
Japan
Prior art keywords
frame
station
data
retransmission
error
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
JP1240202A
Other languages
Japanese (ja)
Inventor
Kenichi Oyama
健一 大山
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP1240202A priority Critical patent/JPH03102936A/en
Publication of JPH03102936A publication Critical patent/JPH03102936A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To shorten the recovery time at the occurrence of an error by eliminating the need for waiting of a retransmission request for a long time from a slave station by a master station at the occurrence of the error and sending the retransmission data quickly. CONSTITUTION:Synchronization detecting circuits 1a, 2a use reception data 1ja, 2ja pull-in clock and frame synchronization in its own station and send a synchronization establishing signals 1m, 2m to timing generating circuits 1b, 2b when the synchronization is established. The circuits 1b, 2b use the signals 1m, 2m to give a required timing to each circuit in its own station to attain data processing in its own station. Frame detection circuits for its own station 1c, 2c detect a frame number from the reception data with frame number latch timing signals 1na, 2na given from the circuits 1b, 2b and give frame control enables signals 1l, 2l to frame control sections 1d, 2d when the frame number is a frame belonging to its own station.

Description

【発明の詳細な説明】 〔概要〕 ループ形伝送系において同報通信を行う方式に関し、 エラー発生時のリカバリタイムを短縮できるようにする
ことを目的とし、 親局と子局とがループ形伝送路を介してデータ転送を行
う系において、フレームのヘッダ部にエラー検出フラグ
および再送フラグのフィールドを設けるとともに、各子
局を一巡したフレームのエラー検出フラグを検出するエ
ラーフラグ検出部と、再送フレームを保持する再送フレ
ーム記憶部と、エラー検出フラグ検出時再送フレームに
再送フラグを付加する再送フラグ付加部とを親局に設け
、フレームのエラーを検出するエラー検出部と、エラー
検出フラグが付加されまたはエラーを検出されたフレー
ムの自局内への取り込みを禁止し再送待ちの指示を行う
エラーフレーム受信制御部と、再送待ち指示状態で再送
フレームを受信したとき自局内に取り込む再送フレーム
受信制御部と、エラーフレームにエラー検出フラグを付
加するエラーフラグ付加部とを設けたことによって構戒
する。
[Detailed Description of the Invention] [Summary] Regarding a method for performing broadcast communication in a loop-type transmission system, the purpose of this method is to shorten the recovery time when an error occurs, and the master station and slave stations perform loop-type transmission. In a system that transfers data via a network, an error detection flag and a retransmission flag field are provided in the header of the frame, and an error flag detection unit that detects the error detection flag of the frame that has passed through each slave station, and a retransmission frame field. The master station is provided with a retransmission frame storage section that holds a retransmission frame, and a retransmission flag addition section that adds a retransmission flag to a retransmission frame when an error detection flag is detected. or an error frame reception control unit that prohibits the capture of a frame in which an error has been detected into its own station and instructs it to wait for retransmission; and a retransmission frame reception control unit that captures it into its own station when a retransmitted frame is received in a retransmission wait instruction state. This is achieved by providing an error flag adding section that adds an error detection flag to an error frame.

[産業上の利用分野〕 本発明は、ループ形L AN (Local Area
 Network)等において回報通信を行う方式に係
り、特にエラー発生時のリカバリタイムを短縮できる回
報通信方式に関するものである。
[Industrial Application Field] The present invention is applicable to loop type LAN (Local Area
The present invention relates to a system for carrying out broadcast communication in networks such as the Internet, and particularly relates to a system for broadcast communication that can shorten the recovery time when an error occurs.

近年における通信の高信頼化に伴って、伝送中に発生し
たデータエラーに対するリカバリが要求されている。
As communications have become more reliable in recent years, recovery from data errors that occur during transmission is required.

このためP − P (Point−to−Paint
)通信の場合には、受信局でデータエラーを検出したと
き、送信局に対して再送要求を上げ、エラーしたデータ
について送信局から正常なデータを再送してもらうこと
によって、正常なデータのみを受信するようにしている
Therefore, P − P (Point-to-Paint
) In the case of communication, when a receiving station detects a data error, it issues a retransmission request to the transmitting station and has the transmitting station retransmit normal data for the erroneous data, allowing only normal data to be sent. I am trying to receive it.

しかしながら回報通信の場合には、受信局が複数となる
ため、送信局(親局)側ではどの子局(受信局)からの
再送要求かを特定する必要がある。またデータ再送時に
おいては、正常なデータを受信できなかった子局に対し
てのみに再送を行う必要がある。
However, in the case of broadcast communication, since there are multiple receiving stations, it is necessary on the transmitting station (master station) side to identify from which slave station (receiving station) the retransmission request is from. Furthermore, when retransmitting data, it is necessary to retransmit data only to the slave stations that have not been able to receive normal data.

この場合、エラー発生時に、親局側で子局からの再送要
求を長時間待つ必要がなく、速やかに再送データを送出
することかでき、従ってエラー発生時のリカバリタイム
を短縮できる回報通信方式が要望される。
In this case, when an error occurs, there is no need for the master station to wait for a long time for a retransmission request from the slave station, and it is possible to quickly send retransmitted data, thereby shortening the recovery time when an error occurs. requested.

〔従来の技術〕[Conventional technology]

従来のループ形LANにおける回報通信では、ループを
一巡して親局側にデータエラーが発生したフレームが戻
ってきても、どの子局が受信した時点でエラーが発生し
たのかを決定するためには、子局からの再送要求を待た
ねばならない。また再送時には、正常に受信を完了して
いる子局に対しても再送せざるを得なかった。
In conventional loop-type LAN broadcast communication, even if a frame with a data error occurs after going around the loop and returns to the master station, it is difficult to determine which slave station received the frame at which the error occurred. , must wait for a retransmission request from the slave station. Furthermore, when retransmitting, it is necessary to retransmit even to slave stations that have successfully completed reception.

〔発明が解決しようとする課題] 従って子局でエラーデータを受信した場合であっても、
即時にリカバリすることはできず、上位プロトコルによ
るリカバリ処理の結果を待たなければならないという不
都合があった。
[Problem to be solved by the invention] Therefore, even if the slave station receives error data,
There is an inconvenience in that immediate recovery is not possible and it is necessary to wait for the result of recovery processing by the upper protocol.

本発明はこのような従来技術の課題を解決しようとする
ものであって、回報通信のデータエラーに対して、親局
側で再送すべき子局を限定する必要がなく、また再送デ
ータを通常のデータ送信と同様に送出することか可能で
あり、子局側ではデータエラーしたフレームを自局側に
取り込まないようにすることによって、上位プロトコル
によるエラー処理を軽減し、またエラー発生時のリカバ
リタイムを短縮できるようにすることを目的としている
. 〔課題を解決するための手段〕 本発明は、第1図にその原理的構或を示すように、親局
1と子局2とが伝送路5を介してループ状に接続され、
親局lと子局2との間でフレームを送受してデータ転送
を行う通信系において、データ転送を行うフレームのヘ
ッダ部にエラーフレームを示すエラー検出フラグおよび
再送データを示す再送フラグのフィールドを設ける。
The present invention is an attempt to solve the problems of the prior art, and eliminates the need for the master station to limit the slave stations to which data should be retransmitted in response to a data error in broadcast communication. By preventing the slave station from importing frames with data errors into its own station, error processing by the upper protocol can be reduced, and recovery in the event of an error is possible. The purpose is to shorten the time. [Means for Solving the Problems] As shown in the principle structure in FIG.
In a communication system that transmits and receives frames between a master station 1 and a slave station 2 to transfer data, an error detection flag indicating an error frame and a retransmission flag field indicating retransmitted data are added to the header of the frame for data transfer. establish.

そして親局1に、エラーフラグ検出部1lと、再送フレ
ーム記憶部12と、再送フラグ付加部l3とを設けると
ともに、子局2にエラー検出部2lと、エラーフレーム
受信制御部22と、再送フレーム受信制御部23と、エ
ラーフラグ付加部24とを設けるものである。
The master station 1 is provided with an error flag detection section 1l, a retransmission frame storage section 12, and a retransmission flag adding section 13, and the slave station 2 is provided with an error detection section 2l, an error frame reception control section 22, and a retransmission frame storage section 12. A reception control section 23 and an error flag addition section 24 are provided.

親局1に設けられるエラーフラグ検出部11は、各子局
を一巡して戻ったフレームのエラー検出フラグを検出す
るものであり、再送フレーム記憶部l2は再送フレーム
のデータを保持するものである。
The error flag detection section 11 provided in the master station 1 detects the error detection flag of the frame returned after going around each slave station, and the retransmission frame storage section 12 holds the data of the retransmission frame. .

さらに再送フラグ付加部13は、エラー検出フラグの検
出時再送フレームに対して再送フラグを付加する作用を
行う。
Furthermore, the retransmission flag adding section 13 performs the function of adding a retransmission flag to the retransmission frame when the error detection flag is detected.

子局2に設けられるエラー検出部2lは、伝送路上のフ
レームのエラーを検出するものであり、エラーフレーム
受信制御部22は、エラー検出フラグが付加されまたは
エラーを検出されたフレームの自局内への取り込みを禁
止する作用を行う。また再送フレーム受信制御部23は
、再送待ち指示状態で再送フレームを受信したときこれ
を自局内に取り込む作用を行うものであり、エラーフラ
グ付加部24は、エラーを検出されたフレームにエラー
検出フラグを付加するものである。
The error detection section 2l provided in the slave station 2 detects errors in frames on the transmission path, and the error frame reception control section 22 sends frames to which an error detection flag has been added or an error has been detected into the own station. It has the effect of prohibiting the incorporation of. Further, the retransmission frame reception control unit 23 takes the retransmission frame into its own station when it is received in the retransmission wait instruction state, and the error flag adding unit 24 adds an error detection flag to the frame in which an error has been detected. It is added.

〔作用〕[Effect]

第2図(a)〜(j)は、本発明の作用を説明するため
の図である。
FIGS. 2(a) to 2(j) are diagrams for explaining the operation of the present invention.

各図において、1は親局(送信局)を示し、データをフ
レームを最少単位として送出する。2〜4は子局(受信
局)であり、親局からのデータを受信するものであって
、子局2,3.4の順に同一のデータを受信するものと
する。5はループ状?伝送路であって、各局間のデータ
の受け渡しを行う。6aおよび6bは伝送路上のフレー
ムを示し、それぞれフレームヘッダ部(H)およびデー
タ(インフォーメーション)部(D)からなることが示
されている。フレームヘッダ部には,フレーム同期を行
うためのフレーム同期パターン(F)や、送信局アドレ
スや受信局アドレスおよびデリξタ(管理データ)等が
格納されているとともに(ただし第2図においては、送
信局アドレス,受信局アドレス.デリミタ等は省略して
示されている)、データエラー検出フラグ(A)および
、通常のデータか再送信データかを示す再送信フラグ(
R)が格納されるフィールドが用意されている。
In each figure, 1 indicates a master station (transmission station), which transmits data in frames as the minimum unit. Numerals 2 to 4 are slave stations (receiving stations) that receive data from the master station, and slave stations 2, 3, and 4 receive the same data in this order. Is 5 a loop? A transmission line that exchanges data between stations. 6a and 6b indicate frames on the transmission path, each consisting of a frame header section (H) and a data (information) section (D). The frame header section stores a frame synchronization pattern (F) for performing frame synchronization, a transmitting station address, a receiving station address, a delimiter (management data), etc. (However, in Fig. 2, transmitting station address, receiving station address (delimiters etc. are omitted), data error detection flag (A), and retransmission flag indicating whether the data is normal data or retransmission data (
A field is provided in which R) is stored.

親局1では、同期引込み後、送出するデータ(D1)が
あるときは、フレームヘッダ部Hのデータエラー検出フ
ラグAが「0」のフレームについて、送出データD1を
乗せるとともに、再送信フラグRをr■,にして、ルー
プ形伝送路5の下流側に送出する。
In the master station 1, when there is data (D1) to be transmitted after synchronization pull-in, for frames whose data error detection flag A in the frame header H is "0", the master station 1 carries the transmitted data D1 and also sets the retransmission flag R. r■, and is sent to the downstream side of the loop transmission line 5.

子局2〜4では、自局宛のフレームが到着すると、デー
タエラーの有無を検出し、エラーの発生がなかったとき
は,自局内にデータを取り込むとともに、速やかに下流
側に送出する。
When a frame addressed to the slave station arrives, the slave stations 2 to 4 detect the presence or absence of a data error, and if no error occurs, the slave station takes in the data and promptly sends it to the downstream side.

エラーの発生があったときは,自局内に取り込まないと
ともに、データエラー検出フラグAをr1」にして下流
に送出し、再送フレーム待ち状態となる。
When an error occurs, the data is not captured into the local station, the data error detection flag A is set to r1, and the data is sent downstream, and the frame waits for retransmission.

また受信フレームにおいて、既にデータエラー検出フラ
グAがrlJにセットされた状態であれば、自局内に取
り込まないとともに、再送フレーム待ちの状態となる。
Furthermore, if the data error detection flag A has already been set in rlJ in the received frame, it will not be imported into the local station and will be in a state of waiting for a retransmission frame.

また受信フレームが再送フレーム(再送信フラグR=「
1」)であり、かつ自局が再送フレーム待ち状態であれ
ば、自局内にデータを取り込むとともに、待ち状態を解
除する。
Also, the received frame is a retransmission frame (retransmission flag R = "
1) and if the local station is in the retransmission frame waiting state, the data is taken into the local station and the waiting state is released.

親局1では、データエラー検出フラグAがセットされた
自局送出フレームを受信した場合には、再送用バッファ
により再び同一のデータを送出する。
When the base station 1 receives a self-transmission frame with the data error detection flag A set, it transmits the same data again using the retransmission buffer.

このように本発明では、第2図(a)〜0)のように、
親局lでは、送出データが再び自局に正常な状態(すな
わち、データエラー検出フラグA=O)で戻ってくるま
で、送出データを再送用バッファ内に保持し、各子局の
すべてが正常なデータを受信できることを保証している
In this way, in the present invention, as shown in FIG. 2(a) to 0),
The master station 1 retains the transmitted data in the retransmission buffer until the transmitted data returns to its own station in a normal state (that is, data error detection flag A = O), and all slave stations are in normal condition. This guarantees that you can receive the correct data.

また子局においては、自局内でフレームエラーを検出し
た場合、あるいは自局より上流側の子局によってフレー
ムエラーが検出されたフレーム(すなわちデータエラー
検出フラグA=1のフレーム)を受信した場合において
は、自局内にこのフレームを取り込まないようにすると
ともに、再送データ待ち状態になることにより、正常な
データのみを取り込むことを保証する。
In addition, when a slave station detects a frame error within its own station, or when it receives a frame in which a frame error has been detected by a slave station upstream from its own station (i.e., a frame with data error detection flag A = 1), prevents this frame from being imported into its own station, and enters a retransmission data wait state to ensure that only normal data is imported.

第2図(a)〜(j)は、動作例を示している。親局1
は.自局がデータ送出できるフレームを検出し、このフ
レームのデータエラー検出フラグAが「0」であること
を確認すると、子局に対してデータDiを送出する。
FIGS. 2(a) to 2(j) show an example of operation. Master station 1
teeth. When the own station detects a frame that can send data and confirms that the data error detection flag A of this frame is "0", it sends data Di to the slave station.

ただし、送出フレームがループを一巡して自局で再び受
信後、データエラー検出フラグAが「O」であることを
確認するまで、内部の再送信用バンファ内にデータDi
を保持してお<.(第2図(a))。
However, after the transmitted frame goes through the loop and is received again by the local station, the data Di is stored in the internal retransmission buffer until it is confirmed that the data error detection flag A is "O".
Please keep <. (Figure 2(a)).

子局2では、データDIを取り込んだのち、下流側の子
局に対し、送出を行う(第2図中))。
After capturing the data DI, the slave station 2 transmits it to the downstream slave station (see FIG. 2).

子局2と子局3間で伝送路上のビットエラーが発生した
とする(第2図(C))。子局3はこのフレームのデー
タエラーを検出したことによって、自局内に取り込まず
、データエラー検出フラグAを「1」にするとともに、
再送フレーム待ちの状態となる(第2図(d))。ここ
でWは再送フレーム待ちの状態を示している。なお、デ
ータエラーを検出するための方法としては、CRCチェ
ック,パリティチェツク等任意の方法でよい。
Assume that a bit error occurs on the transmission path between slave station 2 and slave station 3 (FIG. 2(C)). The slave station 3 detects a data error in this frame, so it does not import it into its own station, and sets the data error detection flag A to "1".
It enters a state of waiting for a retransmitted frame (FIG. 2(d)). Here, W indicates a state of waiting for a retransmission frame. Note that any method such as CRC check, parity check, etc. may be used to detect data errors.

次の子局4では、データエラー検出フラグAが「1」の
フレームを受信するため、無条件にデータの取り込みを
行わず、再送フレーム待ちの状態となる(第2図(e)
)。
The next slave station 4 receives a frame with data error detection flag A of "1", so it does not unconditionally capture data and waits for a retransmitted frame (see Figure 2(e)).
).

親局1では、自局が送出したフレームがループを一巡し
て戻ってきたが、データエラー検出フラグAがrlJに
なっていることを知ると、再送用バッファから再び同一
のデータの送出を行う。このときは、データエラー検出
フラグAを「0」とし、また再送信フラグRを「1」に
する(第2図(f))。
In master station 1, the frame sent by itself has gone through the loop and returned, but when it learns that the data error detection flag A is rlJ, it sends the same data again from the retransmission buffer. . At this time, the data error detection flag A is set to "0" and the retransmission flag R is set to "1" (FIG. 2(f)).

子局2では親局lからのフレームであっても、再送信フ
ラグRが「1」であることから、このフレームが再送フ
レームであることを知り、また自局が再送フレーム待ち
でないことから、このフレームを取り込まず、下流側の
子局に対し送出する(第2図(g))。
Slave station 2 knows that this frame is a retransmission frame because the retransmission flag R is "1" even if it is a frame from master station I, and since it is not waiting for a retransmission frame, This frame is not captured and sent to the downstream slave station (FIG. 2(g)).

子局3では、再送フレーム待ちの状態で、再送フレーム
を受信するため、自局内にデータを取り込んだのち、下
流側の子局に送出する(第2図(h))。このとき、再
送フレーム待ちの状態を解除する。
In order to receive the retransmitted frame while waiting for the retransmitted frame, the slave station 3 captures the data within itself and then transmits it to the downstream slave station (FIG. 2(h)). At this time, the state of waiting for retransmission frames is released.

子局4でも、子局3と同様の動作を行ったのち、下流側
にフレーム送出を行う(第2図(i))。
The slave station 4 also performs the same operation as the slave station 3, and then transmits a frame to the downstream side (FIG. 2(i)).

親局1では、データエラー検出フラグAが「0」の状態
で戻ってきたので、すべての子局がデータDIを正常な
状態で受信できたと判断し、次のデータ(D2)をその
フレームに乗せて送出する。このとき、再送信フラグR
を「0」にするとともに、再送信用バッファには、デー
タD2を書き込んでおく(第2図(j))。
Since the data error detection flag A has returned in the state of "0", the master station 1 judges that all the slave stations were able to receive the data DI in a normal state, and sends the next data (D2) to that frame. Pick it up and send it out. At this time, retransmission flag R
is set to "0" and data D2 is written in the retransmission buffer (FIG. 2 (j)).

〔実施例〕〔Example〕

第3図(a), (b)は本発明の一実施例を示す図で
あって、第3図(a)は親局を示し、第3図(b)は子
局を示している。各図において,第2図におけると同じ
ものを同じ番号で示している。
FIGS. 3(a) and 3(b) are diagrams showing an embodiment of the present invention, with FIG. 3(a) showing a master station and FIG. 3(b) showing a slave station. In each figure, the same parts as in FIG. 2 are indicated by the same numbers.

1aおよび2aは同期検出回路であって、それぞれの受
信データljaおよび2jaによって、自局内のクロッ
ク同期およびフレーム同期の引き込みを行い、それぞれ
自局内の同期が確立した時点から、タイミング生戒回路
1bおよび2bに対して,同期確立信号1mおよび2m
を送出する。
1a and 2a are synchronization detection circuits, which pull in clock synchronization and frame synchronization within their own station using received data lja and 2ja, respectively, and from the time when synchronization within their own station is established, timing detection circuits 1b and 2a, respectively. 2b, synchronization establishment signals 1m and 2m
Send out.

タイミング生戒回路1bおよび2bは、同3t11確立
信号lmおよび2mによって、自局内の各回路に対して
、必要なタイミングを与え、自局内におけるデータ処理
を可能にする回路であり、カウンタとシフトレジスタ等
によって構威されている。
The timing control circuits 1b and 2b are circuits that provide necessary timing to each circuit within the own station using the same 3t11 establishment signals lm and 2m, and enable data processing within the own station. It is structured by etc.

1cおよび2cは、自局用フレーム検出回路であって、
タイミング生成回路1bおよび2bから与えられるフレ
ーム番号ラッチタイ稟ング信号1naおよび2naによ
って、受信データからフレーム番号を検出し、自局に属
するフレームであれば、フレーム制御部1dおよび2d
に対し、フレーム制御許可信号llおよび2lを与える
。なお親局1では、フレーム制御許可信号11をデータ
セレクト信号として用い、受信したフレームが自局で使
用できないときは、送信バッファ側データ1vを送出し
ない。
1c and 2c are frame detection circuits for own station,
The frame number is detected from the received data by the frame number latch tie approval signals 1na and 2na given from the timing generation circuits 1b and 2b, and if the frame belongs to the own station, the frame control units 1d and 2d
, frame control permission signals ll and 2l are applied to the frame control permission signals ll and 2l. Note that the master station 1 uses the frame control permission signal 11 as a data selection signal, and does not transmit the transmission buffer side data 1v when the received frame cannot be used by the base station.

第3図(a)において、1dはデータ制御回路でもあっ
て、自局に属するフレーム内のフラグAおよびRの監視
を行い、監視結果から送信バッファセレクタ制御信号1
sを送信バソファセレクタ1gに送出する。
In FIG. 3(a), 1d is also a data control circuit, which monitors flags A and R in the frame belonging to its own station, and uses the monitoring results to send a transmission buffer selector control signal 1.
S is sent to the transmission bath sofa selector 1g.

1eは送信バッファ回路であって、送信端局等からの連
続データ1kをパッファリングして、伝送路上のフレー
ム単位に再送用バッファ回路1fおよび送信バッファセ
レクタ1gに対して、送出データItの転送を行う。
1e is a transmission buffer circuit that buffers continuous data 1k from a transmission terminal station, etc., and transfers the transmission data It to a retransmission buffer circuit 1f and a transmission buffer selector 1g in frame units on a transmission path. conduct.

再送用バッファ回路Ifは、伝送路上に送出したデータ
が正常な状態、すなわちエラー検出フラグA=0で戻っ
てくるまで、送信バッファ回路送出データ1tをバッフ
ァリングしておく。伝送路上に送出したデータがA=O
で戻ってきたときは、送信バッファ回路送出データ1t
は消去するが、A=1で戻ってきたときは、再送データ
1uとして送信バッファセレクタlgに対して転送を行
う。
The retransmission buffer circuit If buffers the transmission buffer circuit output data 1t until the data transmitted on the transmission path returns in a normal state, that is, with the error detection flag A=0. The data sent on the transmission path is A=O
When it returns, the transmission buffer circuit sends 1t of data.
However, when it returns with A=1, it is transferred to the transmission buffer selector lg as retransmission data 1u.

送信バッファセレクタIgは、送信バッファセレクタ制
御信号isにより、送信バッファ回路送出データ1tま
たは再送データ1uの選択を行い、送信バッファ側デー
タ1vとして、データセレクタlhに対して転送する。
Transmission buffer selector Ig selects transmission buffer circuit output data 1t or retransmission data 1u based on transmission buffer selector control signal is, and transfers it to data selector lh as transmission buffer side data 1v.

データセレクタlhは、受信データljaをそのまま送
出するか、または送信バッファ側データ1vを送出する
かの選択を、データセレクト信号(またはフレーム制御
許可信号)INによって指示されて、受信データlja
または送信バッファ側データ1vのいずれかを、送信デ
ータljbとして送出する。このとき、送信バッファ側
データ1vを送出する場合は、エラー検出フラグA=0
として送出する。また送信バッファ側データ1vを送出
する場合であって、再送データ1uをセレクトした場合
には、再送信フラグR=1とし、送出データitを選択
した場合はR=0とした後、送出する。以上のフラグ操
作は、送信バッファセレクタ1gで一括して行われる。
The data selector lh is instructed by a data select signal (or frame control permission signal) IN to select whether to transmit the received data lja as is or to transmit the transmission buffer side data 1v.
Alternatively, either the transmission buffer side data 1v is sent out as the transmission data ljb. At this time, when sending 1v of data on the transmission buffer side, error detection flag A=0
Send as. Further, in the case of transmitting the transmission buffer side data 1v, if the retransmission data 1u is selected, the retransmission flag R is set to 1, and if the transmission data it is selected, the retransmission flag is set to R=0 and then transmitted. The above flag operations are performed all at once by the transmission buffer selector 1g.

また第3図(ロ)において、2dはデータ制御回路でも
あって、受信データ2jaが自局に属するフレーム、す
なわち自局で使用可能なフレームであることをフレーム
制御許可信号2Ilにより指示されたとき、フラグA,
Rおよび自局スティタスラッチ信号2pおよびデータエ
ラー検出結果により、それぞれバッファ回路2e, 自
局スティタスラッチ回路2fおよびエラーフラグ付加回
路2gに対し、制御信号(2re,2rf,2rg)を
送出する. 第4図は受信側データ制御回路の内部ロジックを示した
ものである。
In addition, in FIG. 3 (b), 2d is also a data control circuit, and when it is instructed by the frame control permission signal 2Il that the received data 2ja is a frame belonging to the own station, that is, a frame that can be used by the own station. , flag A,
Control signals (2re, 2rf, 2rg) are sent to the buffer circuit 2e, the own status latch circuit 2f, and the error flag adding circuit 2g, respectively, based on R, the local status latch signal 2p, and the data error detection result. FIG. 4 shows the internal logic of the receiving side data control circuit.

データ制御回路2dの人力である受信データ2jaにお
ける受信データエラー検出結果,データエラー検出フラ
グA,再送フラグRと、自局スティタスラッチ回路2f
からのスティタスラッチ信号2pとの各状態の組み合わ
せによって、第4図に示されるように、データ制御回路
2dの出力として、受信許可信号2re, 自局スティ
タス信号2rfおよびエラー検出フラグ2rgが決定さ
れる。ここでスティタスラッチ信号2pおよび自局ステ
ィタス信号2rfにおける「O」は通常データ待ちを示
し、「1」は再送データ待ちを示している。また受信許
可信号2reにおける「0」は受信不許可を示し、「1
」は受信許可を示している。エラー検出フラグ付加信号
2rgにおける「一」はフラグ操作しないことを示し、
rlJはフラグを1にセットすることを示している。
The reception data error detection result in the reception data 2ja that is manually operated by the data control circuit 2d, the data error detection flag A, the retransmission flag R, and the local station status latch circuit 2f.
As shown in FIG. 4, the reception permission signal 2re, local station status signal 2rf, and error detection flag 2rg are determined as the output of the data control circuit 2d by the combination of each state with the status latch signal 2p from the terminal. . Here, "O" in the status latch signal 2p and the local station status signal 2rf indicates waiting for normal data, and "1" indicates waiting for retransmission data. Further, "0" in the reception permission signal 2re indicates reception is not permitted, and "1"
” indicates reception permission. “1” in the error detection flag addition signal 2rg indicates that the flag is not operated;
rlJ indicates that the flag is set to 1.

受信データ2jaは、受信許可信号2reが「1jにな
ると、受信バッファ2eに一旦蓄積され、受信端局受信
データ2kとして送出される.自局スティタスラッチ回
路2fは、自局が通常データ待ちの状態か、または再送
データ待ちの状態かを、次の自局に属するフレームを受
信するまで、保持する。またエラーフラグ付加回路2g
は、エラー検出フラグAに対し、エラー検出時に(すな
わち2rg=1のとき)「1」をセットする。エラーフ
ラグ付加回路2gから送出されたデータは、子局の送信
データ2jbとして、下流側の子局または、親局に対し
て転送される。
When the reception permission signal 2re becomes 1j, the reception data 2ja is temporarily accumulated in the reception buffer 2e and sent out as reception data 2k of the receiving terminal station.The local station status latch circuit 2f indicates that the local station is in a normal data waiting state. or waiting for retransmission data until the next frame belonging to the local station is received.Also, the error flag addition circuit 2g
sets the error detection flag A to "1" when an error is detected (that is, when 2rg=1). The data sent from the error flag addition circuit 2g is transferred to the downstream slave station or the master station as the slave station transmission data 2jb.

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

以上説明したように本発明によれば、親局側にデータエ
ラーが発生したデータが戻ってきても、親局側で子局か
らの再送要求を長時間待つ必要がなく、速やかに再送デ
ータを送出することができるようになる。これによって
エラー発生時のリカバリタイムを短縮することができる
ので、本発明が適用されるループ形LAN等の高信頼化
に寄与するところが大きい。
As explained above, according to the present invention, even if data with a data error is returned to the master station, there is no need for the master station to wait for a long time for a retransmission request from the slave station, and the data can be retransmitted immediately. You will be able to send it. This makes it possible to shorten the recovery time when an error occurs, which greatly contributes to increasing the reliability of loop-type LANs and the like to which the present invention is applied.

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

第1図は本発明の原理的構戒を示す図、第2図(a)〜
(j)は、本発明の作用を説明するための図、第3図(
a), (b)は本発明の一実施例を示す図、第4図は
受信側データ制御回路の内部ロジックを示す図である。 1は親局、2は子局、5は伝送路、11はエラーフラグ
検出部、12は再送フレーム記憶部、l3は再送フラグ
付加部、2lはエラー検出部、22はエラーフレーム受
信制御部、23は再送フレーム受信制御部、24はエラ
ーフラグ付加部である。
Figure 1 is a diagram showing the principle structure of the present invention, Figure 2 (a) -
(j) is a diagram for explaining the action of the present invention, FIG.
4a) and 4(b) are diagrams showing one embodiment of the present invention, and FIG. 4 is a diagram showing the internal logic of the receiving side data control circuit. 1 is a master station, 2 is a slave station, 5 is a transmission path, 11 is an error flag detection section, 12 is a retransmission frame storage section, 13 is a retransmission flag addition section, 2l is an error detection section, 22 is an error frame reception control section, 23 is a retransmission frame reception control section, and 24 is an error flag adding section.

Claims (1)

【特許請求の範囲】 親局(1)と子局(2)とが伝送路(5)を介してルー
プ状に接続され、該親局(1)と子局(2)との間でフ
レームを送受してデータ転送を行う系において、 データ転送を行うフレームのヘッダ部にエラーフレーム
を示すエラー検出フラグおよび再送データを示す再送フ
ラグのフィールドを設けるとともに、 各子局を一巡して戻ったフレームのエラー検出フラグを
検出するエラーフラグ検出部(11)と、再送フレーム
を保持する再送フレーム記憶部(12)と、 前記エラー検出フラグ検出時再送フレームに対して前記
再送フラグを付加する再送フラグ付加部(13)とを親
局(1)に設け、 伝送路上のフレームのエラーを検出するエラー検出部(
21)と、 エラー検出フラグが付加されまたはエラーを検出された
フレームの自局内への取り込みを禁止するとともに再送
待ちの指示を行うエラーフレーム受信制御部(22)と
、 該再送待ち指示状態で再送フレームを受信したときこれ
を自局内に取り込む再送フレーム受信制御部(23)と
、 前記エラーを検出されたフレームに前記エラー検出フラ
グを付加するエラーフラグ付加部(24)とを設けたこ
とを特徴とする同報通信方式。
[Claims] A master station (1) and a slave station (2) are connected in a loop via a transmission line (5), and frames are exchanged between the master station (1) and the slave station (2). In a system that transfers data by sending and receiving data, fields for an error detection flag indicating an error frame and a retransmission flag indicating retransmitted data are provided in the header part of the frame that transfers data, and the frame that has gone around each slave station and returned an error flag detection unit (11) that detects an error detection flag; a retransmission frame storage unit (12) that holds a retransmission frame; and a retransmission flag addition unit that adds the retransmission flag to the retransmission frame when the error detection flag is detected. A section (13) is provided in the master station (1), and an error detection section (
21), an error frame reception control unit (22) that prohibits the frame to which an error detection flag has been added or in which an error has been detected from being taken into its own station and instructs to wait for retransmission; A retransmission frame reception control unit (23) that captures a frame into its own station when the frame is received, and an error flag addition unit (24) that adds the error detection flag to the frame in which the error has been detected. Broadcast communication method.
JP1240202A 1989-09-18 1989-09-18 Multiple address communication system Pending JPH03102936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1240202A JPH03102936A (en) 1989-09-18 1989-09-18 Multiple address communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1240202A JPH03102936A (en) 1989-09-18 1989-09-18 Multiple address communication system

Publications (1)

Publication Number Publication Date
JPH03102936A true JPH03102936A (en) 1991-04-30

Family

ID=17055975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1240202A Pending JPH03102936A (en) 1989-09-18 1989-09-18 Multiple address communication system

Country Status (1)

Country Link
JP (1) JPH03102936A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05146051A (en) * 1991-11-22 1993-06-11 Mitsubishi Electric Corp Power system protection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05146051A (en) * 1991-11-22 1993-06-11 Mitsubishi Electric Corp Power system protection system

Similar Documents

Publication Publication Date Title
JPS62239641A (en) Multiple address communication system
JP3857317B2 (en) Automatic negotiation progress monitor
JPS6022846A (en) Data communication system and device
JPS60140951A (en) Local area network system
JPH0656994B2 (en) Checkpoint / frame number reduction method
JPH06318948A (en) Concentrator and method for controlling insertion of terminal equipment
JP3001435B2 (en) Data retransmission method in confirmation type information transfer
JPH03102936A (en) Multiple address communication system
JPS6072351A (en) Method for supervising operating condition of packet communication system
JP2000156707A (en) Packet-switching station and packet-switching network system
JP3261614B2 (en) Signal processing system, signal processing method, and storage medium
US6711179B1 (en) Signal processing apparatus with three layer processing sections, and signal processing system with said two signal processing apparatuses
JP2000261452A (en) Network system and terminal
JP3131455B2 (en) Communication data guarantee method
JP4087070B2 (en) Broadcast / ACK transmission method
CN116260675A (en) System and method for solving SPI master-slave switching interaction
JPH04124933A (en) Sequential multi-address data verifying system
JP2004147081A (en) Radio communication system and radio communication equipment
JPH10210063A (en) Loop type lan control method
JPS62204639A (en) Local area network system
Catalfo et al. LAN node for industrial environments
JPS59210751A (en) Node failure recovering system of network
JPH03243038A (en) Packet multiple address communication system
JPH05327746A (en) Local area network
JPH01154651A (en) Method for detecting communication station address