JP2844709B2 - Communication control device - Google Patents
Communication control deviceInfo
- Publication number
- JP2844709B2 JP2844709B2 JP22493889A JP22493889A JP2844709B2 JP 2844709 B2 JP2844709 B2 JP 2844709B2 JP 22493889 A JP22493889 A JP 22493889A JP 22493889 A JP22493889 A JP 22493889A JP 2844709 B2 JP2844709 B2 JP 2844709B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- command
- response
- transmission
- retransmission request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】 <産業上の利用分野> 本発明は、通信回路を介してデータ等を送受信する通
信制御装置に関し、特に、伝送方式の信頼性を向上させ
るものである。Description: TECHNICAL FIELD The present invention relates to a communication control device for transmitting and receiving data and the like via a communication circuit, and more particularly to improving the reliability of a transmission system.
<従来の技術> 通信回路を介して接続される通信制御装置間で相互に
データを授受する際は、次のような方式に拠っている。<Conventional Technology> Data is exchanged between communication control devices connected via a communication circuit based on the following method.
即ち、point to pointのような1対1通信の場合は、
送信する側の通信制御装置(以下「送信局」という)の
コマンド・フレーム送出に対し、受信する側の通信制御
装置(以下「受信局」という)がレスポンス・フレーム
を返送することにより、応答する。That is, in the case of one-to-one communication such as point to point,
In response to the transmission of a command frame by the communication control device on the transmitting side (hereinafter, referred to as “transmission station”), the communication control device on the receiving side (hereinafter, referred to as “receiving station”) responds by returning a response frame. .
このとき、同一コマンド・フレームの重複受信を避け
るため、送信局が受信局からのレスポンス・フレームを
正常に受信できなかった場合はコマンド・フレームを再
送信する代わりにレスポンス・フレームの再送信を要求
するレスポンス再送要求フレームを送出するようにして
いる。At this time, in order to avoid duplicate reception of the same command frame, if the transmitting station does not receive the response frame from the receiving station normally, it requests a retransmission of the response frame instead of retransmitting the command frame. A response retransmission request frame is sent out.
また、multipoint方式のように通信回線に3個以上の
通信局が接続されているようなシステムでは、同一コマ
ンド・フレームの重複受信を避けるためには、コマンド
・フレームにシーケンス番号を付加してコマンド・フレ
ームを再送出するようにしている。In a system such as a multipoint system in which three or more communication stations are connected to a communication line, a command number is added to a command frame in order to avoid duplicate reception of the same command frame.・ The frame is retransmitted.
<発明が解決しようとする課題> しかしながら、前者のレスポンス再送要求フレームを
送出するような方式においては、雑音等の影響により、
レスポンス再送要求フレームを受信した受信局が直前に
受信した応答すべきコマンド・フレームにより以前に受
信したコマンド・フレームに対応したレスポンス・フレ
ームを返送する可能性があり、これにより現在のコマン
ド・フレームが消失するおそれがあった。<Problems to be solved by the invention> However, in the former method of transmitting a response retransmission request frame, due to the influence of noise or the like,
The receiving station that has received the response retransmission request frame may return a response frame corresponding to the previously received command frame according to the command frame to be responded to immediately before, so that the current command frame is There was a risk of disappearance.
また、後者のような3個以上の通信局を有し、コマン
ド・フレームにシーケンス番号を付加して送出するよう
な方式では、コマンド・フレームの送受信に際し、送信
局と受信局とがそれぞれ相手局毎に情報を管理するた
め、通信局の総数には限界があるという問題があった。Further, in the latter method in which three or more communication stations are provided and a sequence number is added to a command frame and transmitted, when transmitting and receiving a command frame, the transmitting station and the receiving station respectively communicate with each other. There is a problem that the total number of communication stations is limited because information is managed for each communication station.
本発明は、上述したような問題を解決することを課題
とし、通信局の数にかかわらず、コマンド・フレームの
重複受信を避けることができるとともに、コマンド・フ
レームの消失が起きない、信頼性の高い通信制御装置を
得ることを目的とする。An object of the present invention is to solve the problems as described above, and can avoid the duplicate reception of command frames regardless of the number of communication stations, and eliminate the loss of command frames. An object is to obtain a high communication control device.
<課題を解決するための手段> 以上の課題を解決した本発明は、送信するフレームに
シーケンス・ビットを付加し、また、受信したフレーム
内のシーケンス・ビットに応じて送信するフレームを決
定するようにしたものであり、その具体的な構成は次の
通りである。<Means for Solving the Problems> According to the present invention, which solves the above problems, a sequence bit is added to a frame to be transmitted, and a frame to be transmitted is determined according to the sequence bits in the received frame. The specific configuration is as follows.
即ち、通信回線により接続されている相手局にコマン
ド・フレームを送信し、前記相手局から前記コマンド・
フレームに対応するレスポンス・フレームを受信できな
かった際はレスポンス再送要求フレームを送信し、前記
相手局からコマンド再送要求フレームを受信した際は前
記コマンド・フレームと同一のコマンド・フレームを送
信する送信機能と、前記コマンド・フレームを受信し、
前記コマンド・フレームを正常に受信した際は前記レス
ポンス・フレームを返信し、前記レスポンス再送要求を
受信した際は前記レスポンス・フレームを送信する受信
機能とを有する通信制御装置において、 前記コマンド・フレームを送信する毎に反転させるシ
ーケンス・ビットを前記コマンド・フレームに付加する
とともに、前記レスポンス再送要求フレーム送信の際に
直前に送信したコマンド・フレームに付加した前記シー
ケンス・ビットと同一のシーケンス・ビットをこのレス
ポンス再送要求フレームに付加するシーケンス・ビット
発生付加手段を前記送信機能に設け、 受信した前記コマンド・フレームに付加されているシ
ーケンス・ビットを記憶し、前記レスポンス再送要求フ
レームを受信した際に内部で記憶してあるシーケンス・
ビットの値と比較し、一致の時はレスポンス・フレーム
送出を指示し不一致の時はコマンド再送要求フレーム送
出を指示するシーケンス・ビット記憶手段を前記受信機
能に設けたことを特徴とする通信制御装置である。That is, a command frame is transmitted to a partner station connected by a communication line, and the command station is transmitted from the partner station.
A transmission function for transmitting a response retransmission request frame when a response frame corresponding to the frame cannot be received, and transmitting a command frame identical to the command frame when receiving a command retransmission request frame from the partner station. And receiving the command frame,
When the command frame is normally received, the response frame is returned, and when the response retransmission request is received, the communication control device having a reception function of transmitting the response frame. A sequence bit to be inverted every time transmission is added to the command frame, and the same sequence bit as the sequence bit added to the command frame transmitted immediately before when transmitting the response retransmission request frame is added to this command bit. A sequence bit generation adding means for adding to the response retransmission request frame is provided in the transmission function, the sequence bit added to the received command frame is stored, and internally when the response retransmission request frame is received. Remembered sequence
A communication control apparatus characterized in that the reception function is provided with sequence bit storage means for comparing with the bit value and instructing transmission of a response frame when they match and instructing transmission of a command retransmission request frame when they do not match. It is.
また、前記送信機能は前記コマンド・フレーム送信時
及び前記レスポンス再送要求フレーム送信時に自局の送
信元アドレスを付加して送信し、 前記受信機能に、前記送出元アドレスを記憶し、前記
レスポンス再送要求フレームを受信した際に、このレス
ポンス再送要求フレーム内のシーケンス・ビット及び送
出元アドレスと内部に記憶してあるシーケンス・ビット
及び送出元アドレスとを比較し、両者一致の場合は前記
レスポンス・フレーム送信を指示しどちらか不一致の場
合はコマンド再送要求フレーム送信を指示する比較手段
を設けるようにしても良い。Also, the transmission function transmits the command frame and the response retransmission request frame with the transmission source address of its own station added, and transmits the transmission source address.The reception function stores the transmission source address, and transmits the response retransmission request. When a frame is received, the sequence bits and the transmission source address in the response retransmission request frame are compared with the sequence bits and the transmission source address stored therein. May be provided, and a comparison means for instructing transmission of a command retransmission request frame when either one does not match may be provided.
<作用> 本発明の通信制御装置の次のように動作する。<Operation> The communication control device of the present invention operates as follows.
(1)送信機能は、コマンド・フレーム及びレスポンス
再送要求フレームを送出する際にシーケンス・ビットを
付加する。受信機能は、レスポンス再送要求フレームを
受信した際に、付加されているシーケンス・ビットと内
部で記憶しているシーケンス・ビットの値により、レス
ポンス・フレームまたはコマンド再送要求フレームを送
出する。(1) The transmission function adds a sequence bit when transmitting a command frame and a response retransmission request frame. Upon receiving the response retransmission request frame, the reception function transmits a response frame or a command retransmission request frame according to the added sequence bits and the internally stored sequence bit values.
(2)送信機能は、コマンド・フレーム及びレスポンス
再送要求フレームを送出する際にシーケンス・ビットと
ともに送出元アドレスを付加する。受信機能は、レスポ
ンス再送要求フレームを受信した際に、付加されている
シーケンス・ビット及び送出元アドレスと内部で記憶し
ているシーケンス・ビット及び送出元アドレスの値によ
りレスポンス・フレームまたはコマンド再送要求フレー
ムを送出する。(2) The transmission function adds a transmission source address together with a sequence bit when transmitting a command frame and a response retransmission request frame. When the response function receives the response retransmission request frame, the response function or the command retransmission request frame is determined based on the added sequence bits and transmission source address and the internally stored sequence bits and transmission source address values. Is sent.
<実施例> 第1図は本発明を実施した通信制御装置の構成を表わ
すブロック図である。<Embodiment> FIG. 1 is a block diagram showing a configuration of a communication control device embodying the present invention.
通信制御装置1は通信回線Lに接続され、内部には送
信機能2、受信機能3、通信回線Lとのインターフェイ
ス機能4、送受信以外に必要な他機能5から構成され
る。The communication control device 1 is connected to a communication line L, and internally includes a transmission function 2, a reception function 3, an interface function 4 with the communication line L, and other functions 5 necessary for transmission and reception.
送信機能2は、コマンド・フレームを生成して送出元
アドレスとともに送出を行うフレーム送信部21、コマン
ド・フレーム送信の都度シーケンス・ビットsbを反転し
てコマンド・フレームに付加するとともにこのシーケン
ス・ビットsbを記憶するシーケンス・ビット管理部22、
レスポンス・フレームを受信する際に正常な受信ができ
なかった場合はレスポンス再送要求フレームを送出し、
またコマンド再生要求フレームを受信した際はコマンド
・フレームを再送出するコマンド再送部23を有する。The transmission function 2 generates a command frame and transmits the command frame together with the transmission source address. Each time a command frame is transmitted, the sequence bit sb is inverted and added to the command frame. Sequence bit management unit 22, which stores
If normal reception was not successful when receiving a response frame, a response retransmission request frame is sent out.
Also, it has a command retransmitting unit 23 for retransmitting a command frame when receiving a command reproduction request frame.
受信機能3は、コマンド・フレームを受信するフレー
ム受信部31、コマンド・フレームに含まれるシーケンス
・ビットsbと送出元アドレスSAとを記憶する記憶部32、
コマンド・フレームを正常受信した際にレスポンス・フ
レームを送信し、レスポンス再送要求フレームを受信し
た際に付加されているシーケンス・ビットsb及び送出元
アドレスSAを内部で記憶しているシーケンス・ビットsb
及び送出元アドレスSAと比較してレスポンス・フレーム
またはコマンド再送要求フレームを送出するレスポンス
再送部33を有する。The receiving function 3 includes a frame receiving unit 31 that receives a command frame, a storage unit 32 that stores a sequence bit sb included in the command frame and a transmission source address SA,
When a command frame is normally received, a response frame is transmitted, and when a response retransmission request frame is received, a sequence bit sb added therein and a sequence bit sb internally storing a source address SA
And a response retransmission unit 33 for transmitting a response frame or a command retransmission request frame in comparison with the transmission source address SA.
第2図は、通信回線Lを介して本発明の通信制御装置
1どうしが1対1にデータ伝送を行う例である。FIG. 2 is an example in which the communication control devices 1 of the present invention perform one-to-one data transmission via the communication line L.
この時の送受信動作を第3図の動作図を用いて説明す
る。The transmission / reception operation at this time will be described with reference to the operation diagram of FIG.
尚、一方の通信制御装置1のアドレスをNとして送信
局とし、他方の通信制御装置1のアドレスをN+1とし
て受信局する。In addition, the address of one communication control device 1 is set as N and the transmitting station is set, and the address of the other communication control device 1 is set as N + 1 and the receiving station is set.
第3図で、(1)正常動作、(2)レスポンス・フレ
ームが受信されずレスポンス再送要求により回復する場
合、(3)雑音によりレスポンス・フレーム送信なしに
レスポンス再送要求が送出されコマンド再送要求により
回復する場合、の3つの場合に分けて説明する。In FIG. 3, in the case of (1) normal operation, (2) when a response frame is not received and recovery is made by a response retransmission request, (3) a response retransmission request is transmitted without response frame transmission due to noise and a command retransmission request is issued. The case of recovery will be described in three cases.
(1)送信局にてコマンド送信要求が発生すると、シー
ケンス・ビットsbを反転し(この例では“1"から“0"へ
反転)、コマンド・フレームCF1を送出する。このコマ
ンド・フレームCF1にはシーケンス・ビットsb“0"及び
送出元アドレスAS“N"を付加する。(1) When a command transmission request is generated in the transmitting station, the sequence bit sb is inverted (in this example, inverted from “1” to “0”), and the command frame CF1 is transmitted. The sequence bit sb “0” and the source address AS “N” are added to the command frame CF1.
これにより、受信局においてシーケンス・ビットsb
“0"および送出元アドレスSA“N"が設定され、コマンド
・フレームCF1は受信局に取り込まれる。受信局からは
レスポンス・フレームRF1が送信局へ送信され、コマン
ド送信動作が終了する。This allows the receiving station to determine the sequence bit sb
“0” and the source address SA “N” are set, and the command frame CF1 is captured by the receiving station. The response frame RF1 is transmitted from the receiving station to the transmitting station, and the command transmission operation ends.
(2)送信局にてコマンド送信要求が発生すると、シー
ケンス・ビットsbを“0"から“1"へ反転し、コマンド・
フレームCF2にシーケンス・ビットsb“1"及び送出元ア
ドレスSA“N"を付加して送出する。受信局は、シーケン
ス・ビットsb“1"及び送出元アドレスSA“N"を設定して
このコマンド・フレームCF2を取り込み、レスポンス・
フレームRF2を送出する。(2) When a command transmission request is generated at the transmitting station, the sequence bit sb is inverted from “0” to “1”, and the command
The frame CF2 is transmitted with the sequence bit sb "1" and the transmission source address SA "N" added. The receiving station sets the sequence bit sb “1” and the source address SA “N”, fetches this command frame CF2,
Transmits frame RF2.
ここで、レスポンス・フレームRF2に雑音z1がのり、
送信局側に正しく伝達されないと、送信局は受信局側
に、コマンド・フレームCF2と同一のシーケンス・ビッ
トsb“1"及び送出元アドレスSA“N"を付加したレスポン
ス再送要求フレームRR2を送出する。Here, noise z1 is added to the response frame RF2,
If not transmitted to the transmitting station correctly, the transmitting station transmits to the receiving station a response retransmission request frame RR2 to which the same sequence bit sb "1" and the source address SA "N" as the command frame CF2 are added. .
受信局は、このレスポンス再送要求フレームRR2に付
加されているシーケンス・ビットsb“1"及び送出元アド
レスSA“N"を、内部で記憶しているシーケンス・ビット
sb“1"及び送出元アドレスSA“N"と比較し、一致するた
め、コマンド・フレームCF2に対するレスポンス・フレ
ームRF2′を送信局へ送信する。これにより、コマンド
送信動作は終了する。The receiving station internally stores the sequence bit sb “1” and the source address SA “N” added to the response retransmission request frame RR2 in the sequence bit.
The sb “1” is compared with the transmission source address SA “N”, and a response frame RF2 ′ to the command frame CF2 is transmitted to the transmission station because they match. Thus, the command transmission operation ends.
(3)送信局にてコマンド送信要求が発生し、シーケン
ス・ビットsbを“1"から“0"へ反転し、シーケンス・ビ
ットsb“0"及び送出元アドレスSA“N"を付加してコマン
ド・フレームCF3を受信局へ送出する。(3) A command transmission request is generated at the transmitting station, the sequence bit sb is inverted from “1” to “0”, and the sequence bit sb “0” and the transmission source address SA “N” are added to the command.・ Send frame CF3 to the receiving station.
この時、このコマンド・フレームCF3に雑音z2がの
り、受信局で正常に送信できず、更に雑音z3が送信局で
受信されたとする。At this time, it is assumed that noise z2 is present in this command frame CF3, transmission cannot be performed normally at the receiving station, and noise z3 is received at the transmitting station.
これにより、送信局はコマンド・フレームCF3に対応
するレスポンス・フレームを受信できなかったため、シ
ーケンス・ビットsb“0"及び送出元アドレスSA“N"を付
加してレスポンス再送要求フレームRR3を受信局へ送出
する。As a result, the transmitting station could not receive the response frame corresponding to the command frame CF3, and thus added the sequence bit sb “0” and the source address SA “N” and sent the response retransmission request frame RR3 to the receiving station. Send out.
受信局では、受信したレスポンス再送要求フレームRR
3内のシーケンス・ビットsb“0"及び送出元アドレスSA
“N"と、内部で記憶しているシーケンス・ビットsb“1"
及び送出元アドレスSA“N"とを比較し、シーケンス・ビ
ットsbの不一致のため、送信局へコマンド再送フレーム
CRを送信する。In the receiving station, the received response retransmission request frame RR
Sequence bit sb “0” in 3 and source address SA
“N” and the internally stored sequence bit sb “1”
And the source address SA “N”, and because the sequence bit sb does not match, a command retransmission frame is sent to the transmitting station.
Send CR.
これによって、送信局は再びコマンド・フレームCR3
と同一のコマンド・フレームCF3′を受信局へ送信し、
受信局はこのコマンド・フレームCF3′内のシーケンス
・ビットsb“0"及び送出元アドレスAS“N"を内部に設定
し、このコマンドを取り込む。This causes the transmitting station to re-enter command frame CR3
The same command frame CF3 'to the receiving station,
The receiving station sets the sequence bit sb "0" and the source address AS "N" in the command frame CF3 'internally, and fetches this command.
そして、受信局は送信局へレスポンス・フレームRF3
を送信し、このコマンド送信動作は終了する。Then, the receiving station sends a response frame RF3 to the transmitting station.
And the command transmission operation ends.
尚、以上(1),(2),(3)の動作においては、
1対1の通信制御装置(送信局及び受信局)間の送受信
であるため、送信局のアドレス、即ち送出元アドレスSA
“N"は付加してもしなくても良い。In the above operations (1), (2) and (3),
Since transmission / reception is performed between one-to-one communication control devices (transmitting station and receiving station), the address of the transmitting station, that is, the source address SA
“N” may or may not be added.
さて、次に、第4図に示すような、アドレス“N",
“N+1",“N+2"の通信制御装置1が通信回線Lに接
続されている、3局以上の通信制御装置間での通信につ
いて第5図の動作図を用いて説明する。Now, next, as shown in FIG. 4, the address "N",
The communication between three or more communication control devices, in which the "N + 1" and "N + 2" communication control devices 1 are connected to the communication line L, will be described with reference to the operation diagram of FIG.
この図は、送信局としてアドレス“N"及び“N+2"、
受信局としてアドレス“N+1"の3局間の通信であり、
(1)は送信局“N"と受信局“N+1"の通信であり、
(2)は送信局“N+2"と受信局“N+1"の通信であ
る。This figure shows that the addresses “N” and “N + 2” as transmitting stations,
Communication between three stations with address "N + 1" as a receiving station,
(1) is a communication between the transmitting station “N” and the receiving station “N + 1”,
(2) is communication between the transmitting station “N + 2” and the receiving station “N + 1”.
(1)送信局“N"よりコマンド送信要求が発生し、反転
したシーケンス・ビットsb“0"及び送出元アドレスSA
“N"をコマンド・フレームCF1に付加して受信局へ送出
する。(1) A command transmission request is generated from the transmission station "N", and the inverted sequence bit sb "0" and the transmission source address SA
“N” is added to the command frame CF1 and transmitted to the receiving station.
受信局“N+1"ではシーケンス・ビットsb“0"及び送
出元アドレスSA“N"を内部に記憶して、このコマンドを
取り込み、レスポンス・フレームRF1を送信局へ送信し
てコマンド送信動作を正常に終了する。The receiving station “N + 1” stores the sequence bit sb “0” and the transmission source address SA “N” internally, fetches this command, transmits the response frame RF1 to the transmitting station, and successfully executes the command transmission operation. finish.
(2)次に、送信局“N+2"にてコマンド送信要求が発
生したとする。(2) Next, it is assumed that a command transmission request has occurred at the transmitting station “N + 2”.
送信局“N+2"は、反転したシーケンス・ビットsb
“0"と送出元アドレスSA“N+2"をコマンド・フレーム
CF2に付加して受信局“N+1"へ送信する。The transmitting station “N + 2” has the inverted sequence bit sb
Command frame with “0” and source address SA “N + 2”
Add to CF2 and transmit to receiving station "N + 1".
この時、受信局“N+1"は雑音z1によりこのコマンド
・フレームCF2を正常に受信できず、また、送信局“N
+2"にも雑音z2が与えられとする。At this time, the receiving station “N + 1” cannot normally receive this command frame CF2 due to the noise z1, and the transmitting station “N + 1”
The noise z2 is also given to “+2”.
送信局“N+2"はコマンド・フレームCF2送出後、対
応するレスポンス・フレームが返信されないため、コマ
ンド・フレームCF2と同様のシーケンス・ビットsb“0"
及び送出元アドレスSA“N+2"を付加してレスポンス再
送要求RR2を受信局“N+1"へ送信する。After transmitting the command frame CF2, the transmitting station “N + 2” does not return a corresponding response frame, so the sequence bit sb “0” similar to the command frame CF2 is transmitted.
Then, a response retransmission request RR2 is transmitted to the receiving station "N + 1" with the transmission source address SA "N + 2" added.
受信局“N+1"は、このレスポンス再送要求RR2内の
シーケンス・ビットsb“0"及び送出元アドレスSA“N+
2"と、内部で記憶しているシーケンス・ビットsb“0"及
び送出元アドレスSA“N"とを比較する。The receiving station “N + 1” transmits the sequence bit sb “0” in the response retransmission request RR2 and the source address SA “N +
2 "is compared with the internally stored sequence bit sb" 0 "and the source address SA" N ".
比較の結果、シーケンス・ビットsbの値は“0"で一致
するが、送出元アドレスSAの値が“N"と“N+2"で異な
り不一致のため、これにより、送信局(“N+2")に対
し、コマンド再送要求フレームCRを送出する。As a result of the comparison, the value of the sequence bit sb matches “0”, but the value of the source address SA differs between “N” and “N + 2” and does not match, so that the transmitting station (“N + 2”) On the other hand, it sends out a command retransmission request frame CR.
このコマンド再生要求フレームCRを受信した送信局
“N+2"は、先に送出したコマンド・フレームCF2と全
く同一のコマンド・フレームCF2′を受信局“N+1"へ
送出する。The transmitting station "N + 2" which has received the command reproduction request frame CR transmits the same command frame CF2 'as the previously transmitted command frame CF2 to the receiving station "N + 1".
これにより、受信局“N+1"はシーケンス・ビットsb
“0"及び送出元アドレスSA“N+2"を設定してこのコマ
ンドを取り込み、レスポンス・フレームRF2を送信局
“N+2"へ送信し、このコマンド送信動作を終了する。As a result, the receiving station “N + 1” has the sequence bit sb
This command is fetched by setting “0” and the source address SA “N + 2”, a response frame RF2 is transmitted to the transmitting station “N + 2”, and the command transmission operation is completed.
このようにして、通信局が3個以上であっても、コマ
ンド・フレームの消失、重複受信なく、円滑に送受信動
作を行うことができる。In this way, even if the number of communication stations is three or more, transmission / reception operations can be performed smoothly without loss of command frames and duplicate reception.
<発明の効果> 以上のように、本発明の通信制御装置によれば、1対
1の通信動作、または3局以上の通信動作にあっても、
同一フレームの重複受信、コマンド・フレームの消失等
をなくすことができ、より信頼性の高い通信制御装置を
得ることができる。<Effects of the Invention> As described above, according to the communication control device of the present invention, even in a one-to-one communication operation or a communication operation of three or more stations,
Duplicate reception of the same frame, loss of a command frame, and the like can be eliminated, and a more reliable communication control device can be obtained.
第1図は本発明を実施した通信制御装置の構成を表わす
ブロック図、第2図は本発明装置の1対1の接続を表わ
す図、第3図は1対1の通信制御装置の送受信動作を表
わす図、第4図は本発明装置の3台の接続を表わす図、
第5図は第4図に示した接続における送受信動作の一例
を表わす図である。 1……通信制御装置、2……送信機能、 21……フレーム送信部、 22……シーケンス・ビット管理部、 23……コマンド再送部、3……受信機能、 31……フレーム受信部、32……記憶部、 33……レスポンス再送部、 4……インターフェイス機能、5……他機能、 L……通信回線。FIG. 1 is a block diagram showing a configuration of a communication control device embodying the present invention, FIG. 2 is a diagram showing a one-to-one connection of the device of the present invention, and FIG. 3 is a transmission / reception operation of a one-to-one communication control device. FIG. 4 is a diagram showing the connection of three units of the device of the present invention;
FIG. 5 is a diagram showing an example of the transmission / reception operation in the connection shown in FIG. DESCRIPTION OF SYMBOLS 1 ... Communication control apparatus, 2 ... Transmission function, 21 ... Frame transmission part, 22 ... Sequence bit management part, 23 ... Command retransmission part, 3 ... Reception function, 31 ... Frame reception part, 32 ..... storage unit, 33 ..... response resending unit, 4 ... interface function, 5 ... other functions, L ..... communication line.
Claims (2)
マンド・フレームを送信し、前記相手局から前記コマン
ド・フレームに対応するレスポンス・フレームを受信で
きなかった際はレスポンス再送要求フレームを送信し、
前記相手局からコマンド再送要求フレームを受信した際
は前記コマンド・フレームと同一のコマンド・フレーム
を送信する送信機能と、前記コマンド・フレームを受信
し、前記コマンド・フレームを正常に受信した際は前記
レスポンス・フレームを返信し、前記レスポンス再送要
求を受信した際は前記レスポンス・フレームを送信する
受信機能とを有する通信制御装置において、 前記コマンド・フレームを送信する毎に反転させるシー
ケンス・ビットを前記コマンド・フレームに付加すると
ともに、前記レスポンス再送要求フレーム送信の際に直
前に送信したコマンド・フレームに付加した前記シーケ
ンス・ビットと同一のシーケンス・ビットをこのレスポ
ンス再送要求フレームに付加するシーケンス・ビット発
生付加手段を前記送信機能に設け、 受信した前記コマンド・フレームに付加されているシー
ケンス・ビットを記憶し、前記レスポンス再送要求フレ
ームを受信した際に内部で記憶してあるシーケンス・ビ
ットの値と比較し、一致の時はレスポンス・フレーム送
出を指示し不一致の時はコマンド再送要求フレーム送出
を指示するシーケンス・ビット記憶手段を前記受信機能
に設けたことを特徴とする通信制御装置。A command frame is transmitted to a partner station connected by a communication line, and when a response frame corresponding to the command frame cannot be received from the partner station, a response retransmission request frame is transmitted. ,
When a command retransmission request frame is received from the partner station, a transmission function of transmitting the same command frame as the command frame, and when the command frame is received, and when the command frame is normally received, the A communication control device having a function of transmitting a response frame and receiving the response retransmission request, and having the function of transmitting the response frame. A sequence bit generation addition for adding to the frame a sequence bit identical to the sequence bit added to the command frame transmitted immediately before transmission of the response retransmission request frame to the response retransmission request frame Means to the transmission function And storing the sequence bits added to the received command frame and comparing it with the internally stored sequence bit value when the response retransmission request frame is received. A communication control device, wherein a sequence bit storage means for instructing frame transmission and instructing transmission of a command retransmission request frame when they do not match is provided in the reception function.
信時及び前記レスポンス再送要求フレーム送信時に自局
の送信元アドレスを付加して送信し、 前記受信機能に、前記送出元アドレスを記憶し、前記レ
スポンス再送要求フレームを受信した際に、このレスポ
ンス再送要求フレーム内のシーケンス・ビット及び送出
元アドレスと内部に記憶してあるシーケンス・ビット及
び送出元アドレスとを比較し、両者一致の場合は前記レ
スポンス・フレーム送信を指示しどちらか不一致の場合
はコマンド再送要求フレーム送信を指示する比較手段を
設けたことを特徴とする請求項(1)記載の通信制御装
置。2. The transmission function transmits the command frame and the response retransmission request frame with a transmission source address of the own station added thereto, and stores the transmission source address in the reception function. When the response retransmission request frame is received, the sequence bits and the transmission source address in the response retransmission request frame are compared with the internally stored sequence bits and the transmission source address. The communication control device according to claim 1, further comprising comparison means for instructing frame transmission and instructing transmission of a command retransmission request frame when either of them does not match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22493889A JP2844709B2 (en) | 1989-08-31 | 1989-08-31 | Communication control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22493889A JP2844709B2 (en) | 1989-08-31 | 1989-08-31 | Communication control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0388528A JPH0388528A (en) | 1991-04-12 |
| JP2844709B2 true JP2844709B2 (en) | 1999-01-06 |
Family
ID=16821540
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22493889A Expired - Fee Related JP2844709B2 (en) | 1989-08-31 | 1989-08-31 | Communication control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2844709B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4891489B2 (en) * | 2001-05-16 | 2012-03-07 | 株式会社ハーマン | Mist equipment |
| CN120029549B (en) * | 2025-01-24 | 2026-04-17 | 无锡众星微系统技术有限公司 | A command interaction method, a memory controller card, and an interaction system |
-
1989
- 1989-08-31 JP JP22493889A patent/JP2844709B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0388528A (en) | 1991-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0421779A2 (en) | Communication device | |
| WO2026067538A1 (en) | Rdma-based requester, rdma-based responder, and rdma-based system | |
| JPH0567092B2 (en) | ||
| JP2844709B2 (en) | Communication control device | |
| JPH01218148A (en) | Information distributing system, its transmission station and terminal equipment | |
| JP2778618B2 (en) | Transmission control method | |
| JP3386035B2 (en) | Flow control method and method by token passing | |
| JPS62237835A (en) | Data communication control method | |
| JP2925679B2 (en) | Relay device | |
| JPH11112609A (en) | Communication failure recovery method in communication system and recording medium on which the method is programmed and recorded | |
| JPH06112972A (en) | Packet re-transmission system | |
| JPS59189748A (en) | Data packet transmission method | |
| JP3217086B2 (en) | Message Communication Method between Standby Controller and Message Device in Redundant System | |
| JPH0720110B2 (en) | Broadcast communication method | |
| JPS6197754A (en) | backup system | |
| JP2968646B2 (en) | X. 25 / X. 75 layer 2 processing unit | |
| JPH09331344A (en) | Duplicate transmission control method for data communication system | |
| JPH0344704B2 (en) | ||
| EP4280495A1 (en) | Block acknowledgment method, apparatus, and storage medium | |
| JPS61100043A (en) | Transmitter for multiple address communication | |
| JPS59210751A (en) | Node failure recovering system of network | |
| JPS62216449A (en) | Routing system | |
| JPH06337824A (en) | Transfer packet receiver | |
| JPH04129346A (en) | Communication system provided with duplicate address detection function | |
| JPS5972844A (en) | Communication control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |