JPH04168829A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPH04168829A
JPH04168829A JP2296079A JP29607990A JPH04168829A JP H04168829 A JPH04168829 A JP H04168829A JP 2296079 A JP2296079 A JP 2296079A JP 29607990 A JP29607990 A JP 29607990A JP H04168829 A JPH04168829 A JP H04168829A
Authority
JP
Japan
Prior art keywords
station
frame
address
data frame
response
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.)
Granted
Application number
JP2296079A
Other languages
Japanese (ja)
Other versions
JP3036050B2 (en
Inventor
Toshiyuki Uchimura
内村 敏幸
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 JP2296079A priority Critical patent/JP3036050B2/en
Publication of JPH04168829A publication Critical patent/JPH04168829A/en
Application granted granted Critical
Publication of JP3036050B2 publication Critical patent/JP3036050B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To transmit an acknowledge frame without intermission even when an acknowledge frame to be sent is missing due to a fault of a station on the way of a network or the like by setting a destination address of the acknowledge frame to a multiple address communication data frame not to a destination but to an address of a succeeding station. CONSTITUTION:Each of stations A-E of the network system employing a token passing bus access system has three sets of address information as a preceding station address, its own station address and a succeeding station address. A logic ring is formed on the network according to the sets of the address information and a token frame is being taken over in the order of a preceding station, its own station and a succeeding station. Suppose that a station C of the network has the token frame and sends a multiple address data frame. The multiple address data frame is one of immediate acknowledge request data frames. Each of the other stations A,B,D and E receives the multiple address data frame and sets succeeding station address information as a destination address of an acknowledge frame with respect to the multiple address data frame.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信制御方式に関し、特にローカルエリアネ
ットワーク(以下LANと」己す)のトークン・パッシ
ング・バス・アクセス方式における通信制御方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication control system, and particularly to a communication control system in a token passing bus access system of a local area network (hereinafter referred to as LAN).

〔従来の技術〕[Conventional technology]

LANプロトコルには、トークン・パッシング・バス・
アクセス方式と呼ばれるものがある。
LAN protocols include token passing bus,
There is something called an access method.

この方式は、LANプロトコルのなかの下位層に位置し
、通信媒体上の情報フレームを受信して、それが自局あ
てのデータフレームであれば上位層に受信情報を報告し
なり、通信媒体アクセス制御を行なうためのプロトコル
の一つであり1987年に制定された下記の国際規格が
ある。
This method is located in the lower layer of the LAN protocol, receives an information frame on the communication medium, and if it is a data frame addressed to the local station, reports the received information to the upper layer, and accesses the communication medium. The following international standard, established in 1987, is one of the protocols for performing control.

すなわち、ISO8804−4情報処理システム、ロー
カルエリアネットワーク、パート4、トークン・パッシ
ング・バス・アクセス方式および物理層規格(Info
rmation Processing System
s−Localarea networks−Part
 4 Token Passing busacces
s method and physical 1ay
er 5pecificat−ions)である。
namely, ISO 8804-4 Information Handling Systems, Local Area Networks, Part 4, Token Passing Bus Access Methods and Physical Layer Standards (Info
rmation Processing System
s-Localarea networks-Part
4 Token Passing bus accesses
s method and physical 1ay
er 5 specificat-ions).

第3図に、トークン・パッシング・バス・アクセス方式
によるネットワークシステムの概略図を示す。
FIG. 3 shows a schematic diagram of a network system using the token passing bus access method.

第3図を参照すると、トークン・パッシング・バス・ア
クセス方式のネットワークシステム上に接続している、
−例として5つの局、A局〜D局1〜5と、通信媒体6
とから構成されている。
Referring to FIG. 3, the network system connected to the token passing bus access method
- As an example, five stations, stations A to D, stations 1 to 5, and communication medium 6.
It is composed of.

また、第4図は、通信フレームのフォーマットを示す図
である。
Moreover, FIG. 4 is a diagram showing the format of a communication frame.

通信媒体6のアクセス制御は、トークン方式によって行
なわれている。トークンとは通信媒体アクセス権を制御
するコントロールフレームであり、このトークンを保有
する局がデータフレームの送信権を得る。そしてこのト
ークンを局から局へ受は渡していくことによって各局間
の通信が行なわれる。
Access control to the communication medium 6 is performed using a token system. A token is a control frame that controls communication medium access rights, and a station that holds this token obtains the right to transmit data frames. Communication between each station is performed by receiving and passing this token from station to station.

また、通信媒体6の物理的形状はバス形であり、ネット
ワーク上の局、A局〜D局1〜5は、常に、通信媒体6
上に送信されるフレームを受信する。
Further, the physical shape of the communication medium 6 is a bus type, and the stations on the network, stations A to D 1 to 5, always use the communication medium 6.
Receive frames sent above.

各局は、先行局アドレス、自局アドレス、後続局アドレ
スの3つのアドレス情報を持ち、これによって第3図に
示すような論理的にリング状のネットワークを構成して
いる。そして、この論理リングの中で各局は先行局から
トークンフレームを渡す。
Each station has three pieces of address information: a preceding station address, its own station address, and a succeeding station address, thereby logically forming a ring-shaped network as shown in FIG. In this logical ring, each station passes a token frame from the preceding station.

第4図に示すように、通信フレームは制御フィールド、
宛先アドレスフィールド、ソースアドレスフィールドを
持つ。この中の制御フィールドによってそのフレームが
トークンフレームかデータフレームかを判別する。
As shown in FIG. 4, the communication frame includes a control field,
It has a destination address field and a source address field. The control field in this field determines whether the frame is a token frame or a data frame.

宛先アドレスフィールドはフレームの宛先を示すもので
、通常はネットワーク上の1局のアドレスが設定される
The destination address field indicates the destination of the frame, and is usually set to the address of one station on the network.

ソースアドレスフィールドには送信局のアドレスが設定
される。
The address of the transmitting station is set in the source address field.

受信側ではこれらの情報によって、受信したフレームが
自局あてのフレームであるかどうかを判断している。
The receiving side uses this information to determine whether the received frame is addressed to its own station.

通常、データフレームはネットワーク上の1局に対して
送信される。そして、そのデータフレームを受信した局
は、それに対する応答フレームを送信する。応答フレー
ムの送信は、受信局が自局あてのトークンフレームを受
信して送信権を得たとき行なわれる。
Typically, data frames are sent to one station on the network. Then, the station that receives the data frame transmits a response frame in response to the data frame. The response frame is transmitted when the receiving station receives the token frame addressed to itself and obtains the right to transmit.

また、即時応答要求データフレームがあり、このフォー
マットでデータフレームを送信した場合には、受信局は
トークンフレームを保有していなくても即座に応答フレ
ームを送信することができる。送信局側も、即時応答要
求データフレームの場合には、送信後応答フレームが送
信されてくることを期待し、通信媒体上のフレームを受
信する。
Furthermore, there is an immediate response request data frame, and when a data frame is transmitted in this format, the receiving station can immediately transmit a response frame even if it does not have a token frame. In the case of an immediate response request data frame, the transmitting station side also expects that a response frame will be sent after transmission and receives the frame on the communication medium.

以上のようにして、データフレームの1対1の送受信の
場合には、応答フレームを返送することにより、相手局
にデータが正しく伝達されたが否かを確認できる。
As described above, in the case of one-to-one transmission and reception of data frames, by returning a response frame, it can be confirmed whether the data has been correctly transmitted to the other station.

一方、データフレームの送受信には、1対複数の場合が
ある。
On the other hand, data frames may be transmitted and received on a one-to-many basis.

一斉同報データフレームがその−っである。The simultaneous broadcast data frame is that.

−斉同報データフレームは、ネットワーク上の全ての局
に対する送信であり、宛先アドレスフィールドに特定の
値(通常全ビ、ットを「1」とする)を設定することに
よって構成される。
- A broadcast data frame is a transmission to all stations on the network and is constructed by setting a specific value (usually all bits to 1) in the destination address field.

この−斉同報データフレームに対しては、通常、受信し
ても受信局側からは応答フレームを送信しない。したが
って、この場合には、送信局側において、送信した送信
フレームが正しく受信されたか否かを確認することがで
きない。そのために、−斉同報データフレームは、正し
くデータが伝達されなくても、受信局側にとって、また
、ネットワークの維持管理にとって影響をほとんど与え
ないような限定された情報しか送ることができない。
Normally, the receiving station does not transmit a response frame to this broadcast data frame even if it is received. Therefore, in this case, the transmitting station cannot confirm whether or not the transmitted frame has been correctly received. Therefore, even if the data is not transmitted correctly, the broadcast data frame can only send limited information that has little effect on the receiving station or on network maintenance.

また、フレーム毎に応答フレームを必要とする即時応答
要求フレームは、−斉同報データフレームとしての送信
は不可能である。
Furthermore, an immediate response request frame that requires a response frame for each frame cannot be transmitted as a broadcast data frame.

ここで、−斉回報データフレームに対する応答フレーム
の送信方式として、その時点のネットワーク上に構成さ
れている論理リングを利用する方式がある。
Here, as a method for transmitting a response frame to a broadcast data frame, there is a method that utilizes a logical ring configured on the network at that time.

この方式は、−斉同報データフレームを送信した局、た
とえばA局1を基点として、その後続局に位置する8局
2から順次に応答フレームを送信局に送信するというも
のであった。
In this system, a station that transmitted a broadcast data frame, for example, station A 1, is used as a base point, and response frames are sequentially transmitted to the transmitting station from eight stations 2 located at subsequent stations.

−斉同報データフレームを送信したA局1では、次々に
送られてくる応答フレームを受信し、自局の持つ先行局
、この場合は0局4のアドレス情報と一致するアドレス
の局、すなわちD局・4から送信された応答フレームを
受信することによって応答が終了したことを判断する。
- Station A 1, which transmitted the broadcast data frame, receives the response frames sent one after another, and selects a station whose address matches the address information of its own preceding station, in this case 0 station 4, i.e. By receiving the response frame transmitted from station D-4, it is determined that the response has ended.

−斉同報データフレームを受信した局、たとえば0局3
では、受信したデータフレームのソースアドレスフィー
ルドの内容が、自局の持つ先行局、すなわち8局2のア
ドレス情報と一致している場合はただちに応答フレーム
を送信する。
- The station that received the broadcast data frame, for example 0 station 3
Now, if the content of the source address field of the received data frame matches the address information of the preceding station, that is, 8 stations 2, held by the own station, a response frame is immediately transmitted.

その他の場合は、自局以外の局、すなわち、A局1,8
局2.D局B、E局5の各局が送信した応答フレームを
受信し、そのフレームのソースアドレスフィールドの内
容が、自局の持つ先行局、すなわち8局2のアドレス情
報と一致したとき応答フレームを送信するものであった
In other cases, stations other than the own station, i.e., A stations 1 and 8.
Station 2. When each station, D station B and E station 5, receives a response frame transmitted, and the content of the source address field of that frame matches the address information of the preceding station, that is, station 8 2, it transmits the response frame. It was something to do.

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

上述した、従来のトークン・パッシング・バス・アクセ
ス方式では、−斉同報データフレームが送信された場合
、その時点で構成されている論理リングを利用して受信
局側がこの論理リングの順序で応答フレームの送信を行
なうというものであった。
In the conventional token passing bus access method described above, - When a broadcast data frame is transmitted, the receiving station uses the logical rings configured at that time and responds in the order of the logical rings. The purpose was to transmit frames.

しかし、この方式では、応答フレームを論理リングの順
序で送信しているとき、ある局がその論理リングから故
障等のため離脱した場合、その離脱した局の後続局に位
置する局は応答フレームの送信が不可能となるという欠
点があった。
However, in this method, when a station is transmitting response frames in the order of logical rings, if a station leaves the logical ring due to a failure etc., the station following the departing station will receive the response frame. The drawback was that transmission was impossible.

その結果、送信権を持つ局が、応答リング上に故障等の
異常が発生したと確認するまでの無駄な時間が費やされ
てしまうという欠点があった。
As a result, there is a drawback that time is wasted until the station with the transmission right confirms that an abnormality such as a failure has occurred on the response ring.

さらに、−斉同報データフレームに対する応答フレーム
の送信も途中で途絶えてしまうという欠点があった。
Furthermore, there is a drawback that the transmission of a response frame to a broadcast data frame is also interrupted midway.

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

本発明の通信制御方式は、バス形の通信媒体上に形成さ
れるネットワーク上の通信局が先行局アドレス、自局ア
ドレス、後続局アドレスからなるアドレス情報を持ち、
前記アドレス情報により論理リングを形成し、前記通信
局のうち送信権を示すトークンフレームを保有するトー
クン局がデータフレームを送信することによって通信を
行ない、前記データフレームの送信終了後前記トークン
フレームは前記アドレス情報にしたがって先行局。
In the communication control method of the present invention, a communication station on a network formed on a bus-type communication medium has address information consisting of a preceding station address, an own station address, and a succeeding station address,
A logical ring is formed by the address information, and among the communication stations, a token station that owns a token frame indicating a transmission right performs communication by transmitting a data frame, and after the transmission of the data frame is completed, the token frame is Preceding station according to address information.

自局、後続局の順序で転送することにより通信制御を行
なうトークン・パッシング・バス・アクセス方式におい
て、 前記論理リングを構成する餌記トークン局以外の全ての
通信局に対する前記デ・−タフレームの送信である一斉
同報データフレームに対する応答フレームの宛先アドレ
スとして、前記後続局アドレス情報を設定するものであ
る。
In a token passing bus access method in which communication is controlled by transferring data in the order of the local station and subsequent stations, the data frame is transmitted to all communication stations other than the bait token station forming the logical ring. The subsequent station address information is set as the destination address of the response frame to the broadcast data frame that is being transmitted.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の第一の実施例の処理フローを示す図
であり、−斉同報データフレームに対する応答フレーム
の送信手順を示している。
FIG. 1 is a diagram showing a processing flow of a first embodiment of the present invention, and shows a procedure for transmitting a response frame to a broadcast data frame.

第1図を参照すると、本発明の通信制御方式は第1ノー
ド11から第10ノード20までの10のノードから構
成されている。
Referring to FIG. 1, the communication control system of the present invention is comprised of ten nodes from the first node 11 to the tenth node 20.

第3図は、本発明の通信制御方式を含むトークン・パッ
シング・バス・アクセス方式によるネットワークシステ
ムの概略を示す図であり、従来例の説明にも用いたもの
である。
FIG. 3 is a diagram schematically showing a network system using a token passing bus access method including the communication control method of the present invention, and is also used to explain the conventional example.

第3図を参照すると、トークン・パッシング・バス・ア
クセス方式のネットワークシステム上に接続している、
−例として5つの局、A局〜D局1〜5と、通信媒体6
とから構成されている。
Referring to FIG. 3, the network system connected to the token passing bus access method
- As an example, five stations, stations A to D, stations 1 to 5, and communication medium 6.
It is composed of.

前述の様に、トークン・パッシング・バス・アクセス方
式によるネットワークシステムの各局は、先行局アドレ
ス、自局アドレス、後続局アドレスの3つのアドレス情
報を持つ、第3図を例にとれば、A局1は先行局アドレ
スとして0局4のアドレスを、後続局アドレスとして8
局2のアドレスを持つことになる。他の局についても同
様に3つのアドレス情報を持つ。
As mentioned above, each station in a network system using the token passing bus access method has three pieces of address information: the preceding station address, the own station address, and the succeeding station address. Taking Figure 3 as an example, station A 1 is the address of 0 station 4 as the preceding station address and 8 as the succeeding station address.
It will have the address of station 2. Similarly, other stations have three pieces of address information.

これらのアドレス情報によって、ネットワーク上に論理
リングを構成し、第3図に示すような順序でトークンフ
レームの受は渡しを行なう。
Using these address information, a logical ring is constructed on the network, and token frames are received and delivered in the order shown in FIG.

次に、本実施例で用いる通信フレームの説明をする。Next, the communication frame used in this embodiment will be explained.

第4図は、通信フレームのフォーマットを示す図である
FIG. 4 is a diagram showing the format of a communication frame.

通信フレームは、制御フィールド、宛先アドレスフィー
ルド、ソースアドレスフィールド、データフィールド、
およびフレームチエツクシーケンス(Fe2)から構成
される。
A communication frame consists of a control field, a destination address field, a source address field, a data field,
and a frame check sequence (Fe2).

制御フィールドによりフレームの種類が定義される。大
別すると2種類のフレームがある。
The control field defines the type of frame. Broadly speaking, there are two types of frames.

その1つは、論理リングを制御するためのコントロール
フレームであり、この中にトークンフレームが含まれる
One of them is a control frame for controlling the logical ring, which includes a token frame.

他の1つは、データフレームで各局間の情報通信に使用
する。このデータフレームには、さらに、3種類のフレ
ームがある。
The other one is a data frame used for information communication between each station. This data frame further includes three types of frames.

第1のものは、データフレーム送信に対して即時応答を
要求しないものであり、第2のものはデータフレーム送
信に対して送り先の局からの即時応答を要求するもので
あり、第3のものは即時応答要求に対する応答フレーム
である。
The first one does not require an immediate response to the data frame transmission, the second one requires an immediate response from the destination station to the data frame transmission, and the third one does not require an immediate response to the data frame transmission. is a response frame to an immediate response request.

ここで、即時応答とはデータフレームを受信した局がそ
の場で直ちに応答フレームを送信することである。
Here, an immediate response means that a station that receives a data frame immediately transmits a response frame on the spot.

本実施例では、この即時応答要求データフレームによっ
てデータ通信が行われるものとする。
In this embodiment, it is assumed that data communication is performed using this immediate response request data frame.

即時応答要求データフレームには、宛先アドレスフィー
ルドとソースアドレスフィールドがあり、前者には宛先
局のアドレスが設定され、後者には送信局のアドレスが
設定される。このとき、宛先アドレスフィールドの全ビ
ットを「1」に設定されたデータフレームは一斉同報デ
ータフレームとなり、ネットワーク上の全局がそのデー
タフレームを受信する。
The immediate response request data frame has a destination address field and a source address field, where the address of the destination station is set in the former and the address of the transmitting station is set in the latter. At this time, a data frame in which all bits in the destination address field are set to "1" becomes a broadcast data frame, and all stations on the network receive the data frame.

一斉同報データフレームとは、送信局が他の全ての局に
対してデータを送る場合に使用するデータフレームであ
る。
A broadcast data frame is a data frame used when a transmitting station sends data to all other stations.

次に、第1図を参照して、−斉同報データフレームを受
信した場合の応答フレームの送信手順を説明する。
Next, with reference to FIG. 1, the procedure for transmitting a response frame when a -broadcast data frame is received will be described.

今、第3図において、ネットワーク上の0局3がトーク
ンフレームを保持しており、−斉回報データフレームを
送信したものと仮定する。前述のように、この−斉同報
データフレームは即時応答要求データフレームの1つで
ある。
Now, in FIG. 3, it is assumed that station 0 3 on the network holds a token frame and transmits a broadcast data frame. As mentioned above, this broadcast data frame is one of the immediate response request data frames.

他のA局1,8局2,0局4,8局5の各局はこの一斉
同報データフレームを受信するが、制御フィールドによ
りそれが即時応答要求データフレームであることを知る
。また、宛先アドレスフィールドによってそのフレーム
が一斉同報データフレームであり、ソースアドレスフィ
ールドからそのフレームが0局3がら送信されたもので
あると知る。
The other stations, A station 1, 8 station 2, 0 station 4, and 8 station 5, receive this simultaneous broadcast data frame, but they know from the control field that it is an immediate response request data frame. Further, the destination address field indicates that the frame is a broadcast data frame, and the source address field indicates that the frame was transmitted from station 03.

まず8局5の処理手順について説明する。First, the processing procedure of the 8th station 5 will be explained.

第1図に示す処理フローにより、−斉同報データフレー
ムを受信すると第1ノード11がら第2ノード12に進
む、ここで、受信した−斉同報データフレームのソース
アドレスが0局3のアドレスであり、6局5にとっては
0局3は先行局に位置するため、第2ノード12の判定
はYesとなる。これによって、処理は第9ノード19
に進む。
According to the processing flow shown in FIG. 1, when the -broadcast data frame is received, the process proceeds from the first node 11 to the second node 12. Here, the source address of the received -broadcast data frame is the address of station 3. Since station 0 3 is located at the preceding station for station 6 5, the determination of the second node 12 is Yes. As a result, the processing is performed at the ninth node 19.
Proceed to.

第9ノード19は、応答フレームの受信であるにこでは
、受信した一斉同報データフレームのソースアドレスで
なく、自局の持つ後続局アドレス情報を応答フレームの
宛先アドレスフィールドに設定して送信する0本例の6
局5の場合には、0局4を示すアドレス情報が設定され
る。これにより第10ノード20に進み、6局5におけ
る一斉同報データフレームに対する応答フレームの送信
処理が終了する。
When the ninth node 19 receives a response frame, it sets its own subsequent station address information in the destination address field of the response frame and transmits it, instead of the source address of the received broadcast data frame. 0 example 6
In the case of station 5, address information indicating 0 station 4 is set. As a result, the process proceeds to the tenth node 20, and the process of transmitting a response frame to the simultaneous broadcast data frame at the six stations 5 is completed.

次に、0局4の処理手順について説明する。Next, the processing procedure for station 0 4 will be explained.

6局5と同様に、−斉同報データフレームを受信すると
第1図の処理フローの第1ノード11から第2ノード1
2に進む、第2ノード12では、0局3は0局4の先行
局ではないためにNoと判定され、第3ノード13に処
理が進む。
Similarly to station 5, - upon receiving the broadcast data frame, the first node 11 to the second node 1 in the processing flow of FIG.
At the second node 12 , the determination is No because station 0 3 is not the preceding station of station 0 4 , and the process proceeds to the third node 13 .

第3ノード13では一斉同報データフレームに対する他
の局から送信される応答フレームを受信する。0局4は
、通信ネットワーク論理リング上の位置関係から、先の
6局5から送信された応答フレームを受信することにな
る。応答フレームが受信されると、処理は第3ノード1
3から第4ノード14に進む。
The third node 13 receives response frames transmitted from other stations in response to the broadcast data frame. Based on the positional relationship on the communication network logical ring, station 0 4 receives the response frame transmitted from the previous 6 stations 5. When the response frame is received, the processing starts at the third node 1
3 to the fourth node 14.

第4ノード14では、受信した応答フレームの宛先アド
レスが自局の持つ先行局アドレスと一致するかどうかが
判定される。この場合は、6局5が送信した応答フレー
ムを受信しているのであるから、宛先アドレスは0局4
のアドレスであり、判定はNoとなる。その結果、処理
は第5ノード15に進む、 第5ノード15では、受信
した応答フレームのソースアドレスが、自局の持つ先行
局アドレスと一致するかどうかが判定される。この場合
は、6局5は0局4の先行局であるからYesとなる。
The fourth node 14 determines whether the destination address of the received response frame matches the preceding station address of the fourth node. In this case, since the response frame sent by station 6 is received, the destination address is 0 and station 4.
address, and the determination is No. As a result, the process proceeds to the fifth node 15. The fifth node 15 determines whether the source address of the received response frame matches the preceding station address of its own station. In this case, since station 6 5 is the preceding station of station 0 4, the answer is Yes.

その結果、処理は第9ノード19に進む。As a result, the process proceeds to the ninth node 19.

前述のように、第9ノード19では、自局の持つ後続局
アドレス情報を応答フレームの宛先アドレスフィールド
に設定して送信する。0局4の場合には、A局1のアド
レス情報が設定される。これにより第10ノード20に
進み、0局4における一斉同報データフレームに対する
応答フレームの送信処理が終了する。
As described above, the ninth node 19 sets its own subsequent station address information in the destination address field of the response frame and transmits the response frame. In the case of station 0 4, the address information of station A 1 is set. As a result, the process proceeds to the tenth node 20, and the process of transmitting a response frame to the broadcast data frame at station 0 4 is completed.

次に、A局1の処理手順について説明する。Next, the processing procedure of station A 1 will be explained.

A局1についても、第3ノード13までは0局4と同様
に処理が進む。
For station A 1, the processing proceeds in the same way as for station 0 4 up to the third node 13.

ただし、最初に受信する応答フレームは6局5が送信し
たものであり、その宛先アドレスは0局4のアドレスに
等しい、したがって、第4ノード14ではYesと判定
され、第6ノード16に処理が進む。
However, the first response frame received is the one sent by the 6th station 5, and its destination address is equal to the address of the 0th station 4. Therefore, the 4th node 14 determines Yes, and the 6th node 16 sends the processing. move on.

第6ノード16では予め定めた時間を計測するタイマが
作動され、第7ノード17に進む。
At the sixth node 16, a timer for measuring a predetermined time is activated, and the process proceeds to the seventh node 17.

このタイマが計測する時間は、先行局、本例で1は0局
4が一斉同報データフレームの応答フレームを受信して
から、その局が送信する順番であるかどうかを判断し、
その結果、送信する場合の応答フレーム送信を終了する
までの時間より長いものである。
The time measured by this timer is that after the preceding station, in this example 1 is 0 station 4, receives the response frame of the broadcast data frame, it determines whether it is the turn for that station to transmit.
As a result, the time required to complete transmission of the response frame is longer than that required for transmission.

第7ノード17では、第6ノード16で動作を開始した
タイマがタイムアウトしたかどうかが判定される。
The seventh node 17 determines whether the timer that started operating at the sixth node 16 has timed out.

第8ノード18では、応答フレームが受信したかどうか
が判定される。
The eighth node 18 determines whether a response frame has been received.

この第7ノード17と第8ノード18のどちらかが成立
するまでこれらの判定が繰返される。
These determinations are repeated until either the seventh node 17 or the eighth node 18 is established.

A局1の場合、6局5が応答フレームを送信した後、0
局4が続いて応答フレームを送信するため、タイムアウ
トになる前に第8ノード18でYeSの判定を受ける。
In the case of A station 1, after station 6 transmits a response frame, 0
Since station 4 subsequently transmits a response frame, it receives a Yes determination at eighth node 18 before timeout.

そして、第8ノード18から第9ノード19に処理が進
み、応答フレームが送信される。このときの宛先アドレ
スは8局2のアドレスとなる。
Processing then proceeds from the eighth node 18 to the ninth node 19, and a response frame is transmitted. The destination address at this time is the address of the 8th station 2.

ここでA局1の送信系統が故障し、実際には応答フレー
ムが通信媒体6上に送信されながったと仮定する。
Here, it is assumed that the transmission system of the A station 1 has failed and the response frame is actually not transmitted onto the communication medium 6.

この状態における8局2の処理手順について説明する。The processing procedure of the 8th station 2 in this state will be explained.

8局2もA局1と同様に処理が進み、0局4が送信した
応答フレームを受信したとき、第4ノード14から第6
ノード16に処理が進む。
The process proceeds in the same way as station A 1 for station 8 2, and when it receives the response frame sent by station 0 4, it sends a message from the fourth node 14 to the sixth node.
Processing continues to node 16.

そして、A局1の場合と同様にタイマが作動し、A局1
が応答フレームを送信するのを待つ。
Then, the timer operates as in the case of A station 1, and A station 1
wait for the response frame to be sent.

しかし、前述のように、A局1は故障のため送信しない
ので、タイムアウトの条件が成立することになる。タイ
ムアウト成立後は、第9ノード19に進み、応答フレー
ムの送信を行なう。このときの宛先アドレスは、0局3
のアドレスとなる。これにより第10ノード20に進み
、8局2における一斉同報データフレームに対する応答
フレームの送信処理が終了する。
However, as described above, since station A 1 does not transmit due to a failure, the timeout condition is met. After the timeout is established, the process proceeds to the ninth node 19 and transmits a response frame. The destination address at this time is 0 station 3
address. As a result, the process advances to the tenth node 20, and the process of transmitting a response frame to the simultaneous broadcast data frame at the eight stations 2 is completed.

一斉同報データフレームの発信元である0局3は、各局
からの応答フレームを受信しながら、0局3の先行馬に
位置する8局2からの応答フレームを確認することで全
局からの応答が終了したことを知る。
Station 03, which is the source of the broadcast data frame, receives response frames from each station and checks the response frame from station 8, which is located in the lead of station 3, to receive responses from all stations. know that it has ended.

また、各局が送信した応答フレームのアドレス情報より
、A局1がネットワーク上から離れたことを知ることに
なる。
Also, from the address information in the response frames transmitted by each station, it is known that station A 1 has left the network.

次に、本発明の第二の実施例について説明する。Next, a second embodiment of the present invention will be described.

第2図は、本発明の第二の実施例の処理フローを示す図
であり、−斉同報データフレームに対する応答フレーム
の送信手順を示している。
FIG. 2 is a diagram showing a processing flow of a second embodiment of the present invention, and shows a procedure for transmitting a response frame to a broadcast data frame.

第一の実施例と同様、第3図に示すトークン・パッシン
グ・バス・アクセス方式のネットワークに実施するもの
とし、第4図に示す通信フレームのフォーマットを使用
するものとして説明する。
As with the first embodiment, the following description assumes that the network is implemented in the token passing bus access system shown in FIG. 3, and uses the communication frame format shown in FIG. 4.

第二の実施例は基本的には第一の実施例と同様のシステ
ム構成であり、相違点は処理フローと、扱う通信フレー
ムの種類である。
The second embodiment basically has the same system configuration as the first embodiment, with the difference being the processing flow and the types of communication frames handled.

第一の実施例では、3種類のデータフレームのうち、即
時応答要求データフレームを用いるものとし、−斉同報
データフレームについても即時応答するものとした。
In the first embodiment, among the three types of data frames, an immediate response request data frame is used, and an immediate response is also provided to the broadcast data frame.

第二の実施例では、即時応、答でないデータフレームの
一斉同報データフレームについても対処するものである
The second embodiment also deals with simultaneous broadcast data frames that are not immediate response data frames.

本実施例の一斉同報データフレームに対する応答送信手
順は、第1図の処理フローに第0ノード10と第11ノ
ード21を加えた第2図に示す処理フローとなる。
The response transmission procedure for the simultaneous broadcast data frame of this embodiment becomes the processing flow shown in FIG. 2, which is obtained by adding the 0th node 10 and the 11th node 21 to the processing flow shown in FIG.

以下に、説明が重複しないよう第一の実施例との相違点
について重点的に説明する。
Below, differences from the first embodiment will be explained with emphasis to avoid duplication of explanation.

ネット・ワーク上の各局は、−斉同報データフレームを
送信するとき、応答フレームを必要とする場合には、前
述の第一の実施例のように即時応答データフレームとし
て送信する。しかし、各局からの応答を必要としない場
合には、即時応答データフレームとせずに送信する。
When each station on the network transmits a broadcast data frame, if a response frame is required, it transmits it as an immediate response data frame as in the first embodiment described above. However, if a response from each station is not required, the data frame is not sent as an immediate response data frame.

各局の受信側では、第2図の処理フローにしながい、第
0ノード10で受信したデータフレームが即時応答デー
タフレームであるかどうかを判定する。Yesの場合に
は第1ノード11に進む。
The receiving side of each station determines whether the data frame received by the 0th node 10 is an immediate response data frame, according to the processing flow shown in FIG. If Yes, proceed to the first node 11.

Noの場合には第10ノード20に進み処理を終了する
In the case of No, the process proceeds to the tenth node 20 and ends the process.

第1ノード11に進んだ場合には、受信したデータフレ
ームが一斉同報データフレームであれば、その後の処理
は、第一の実施例と同じフローにしたがって行われ、そ
うでない場合は、第11ノード21に進み、通常の応答
フレームを受信して処理を終了するので、ここでは説明
を省略する。
When proceeding to the first node 11, if the received data frame is a simultaneous broadcast data frame, subsequent processing is performed according to the same flow as in the first embodiment; otherwise, the process proceeds to the first node 11. The process proceeds to the node 21, receives a normal response frame, and ends the process, so a description thereof will be omitted here.

以上、本発明の詳細な説明したが、本発明は上記実施例
に限られることなく種々の変形が可能である。
Although the present invention has been described in detail above, the present invention is not limited to the above embodiments and can be modified in various ways.

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

以上説明したように本発明によれば、−斉同報データフ
レームに対する応答フレームの宛先アドレスを宛先でな
く後続局のアドレスを設定することにより、ネットワー
ク上の途中の局の障害等による応答フレーム送信欠落の
場合でも、その障害局の後続局が、予め定められた時間
経過後に応答フレーム送信の順序を詰めて送信すること
により、応答フレームの送信が途切れることなく行われ
るという効果がある。
As explained above, according to the present invention, - By setting the destination address of a response frame to a broadcast data frame to the address of a subsequent station instead of the destination, response frames are transmitted due to failure of a station on the way on the network, etc. Even in the case of a dropout, the station following the failed station can send the response frames in a shorter order after a predetermined period of time has elapsed, so that response frames can be transmitted without interruption.

また、前記宛先アドレスをチエツクすることにより、自
局の応答フレーム送信の順序を自局の先行局の送信する
1つ前に知ることができ、自局の先行局の障害等による
応答フレーム送信欠落の場合は、先行局の異常を検出で
きるという効果がある。
In addition, by checking the destination address, it is possible to know the order in which the response frame of the own station is transmitted before the preceding station of the own station sends one response frame. In this case, there is an effect that an abnormality in the preceding station can be detected.

また、−斉同報データフレームの応答中に、上記のよう
な異常が発生した場合、その場で各局の先行局、後続局
アドレス情報を更新することにより速やかな論理リング
の維持再生を効率よく行うことができるという効果があ
る。
In addition, if an abnormality such as the one described above occurs during the response to a broadcast data frame, the preceding station and succeeding station address information of each station is updated on the spot to efficiently maintain and regenerate the logical ring. The effect is that it can be done.

さらに、ネッワーク上の全局から論理リングの順序で応
答フレームを受信できるため、ある時点でのネットワー
ク上への接続局や、論理リングの楕成厘序をチエツクで
き、したがって、ネットワークの維持管理、監視等に利
用できるという効果がある。
Furthermore, since response frames can be received from all stations on the network in the order of the logical rings, it is possible to check which stations are connected to the network at a certain point in time and the order of the logical rings. It has the advantage that it can be used for various purposes.

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

第1図は本発明の第一の実施例を示す処理フロー図、第
2図は本発明の第二の実施例を示す処理フロー図、第3
図は、トークン・パッシング・バス・アクセス方式によ
るネットワークシステムの概略を示す図、第4図は、通
信フレームのフォーマットを示す図である。 1〜5・・・ネットワーク上に接続しているA〜E局、
6・・・通信媒体、10〜21・・・第0〜11ノード
FIG. 1 is a process flow diagram showing a first embodiment of the present invention, FIG. 2 is a process flow diagram showing a second embodiment of the present invention, and FIG.
This figure is a diagram showing an outline of a network system using a token passing bus access method, and FIG. 4 is a diagram showing a format of a communication frame. 1 to 5: A to E stations connected to the network,
6... Communication medium, 10-21... 0th-11th nodes.

Claims (1)

【特許請求の範囲】 1、バス形の通信媒体上に形成されるネットワーク上の
通信局が先行局アドレス、自局アドレス、後続局アドレ
スからなるアドレス情報を持ち、前記アドレス情報によ
り論理リングを形成し、前記通信局のうち送信権を示す
トークンフレームを保有するトークン局がデータフレー
ムを送信することによって通信を行ない、前記データフ
レームの送信終了後前記トークンフレームは前記アドレ
ス情報にしたがって先行局、自局、後続局の順序で転送
することにより通信制御を行なうトークン・パッシング
・バス・アクセス方式において、前記論理リングを構成
する前記トークン局以外の全ての通信局に対する前記デ
ータフレームの送信である一斉同報データフレームに対
する応答フレームの宛先アドレスとして、前記後続局ア
ドレス情報を設定することを特徴とする通信制御方式。 2、前記通信局の受信処理装置は、前記先行局アドレス
と前記後続局アドレスとを判別するアドレス解読手段と
、 判別された前記宛先アドレス情報が前記先行局アドレス
と等しいとき前記先行局が前記応答フレームの送信に要
する時間より長い予め定めた応答確認時間を計測し、前
記応答確認時間を超過しても前記先行局の応答フレーム
が受信できないとき次の処理手順を設定する時間計測手
段を有することを特徴とする請求項1記載の通信制御方
式。
[Claims] 1. A communication station on a network formed on a bus-type communication medium has address information consisting of a preceding station address, an own station address, and a succeeding station address, and a logical ring is formed by the address information. Among the communication stations, the token station that owns the token frame indicating the transmission right performs communication by transmitting a data frame, and after the transmission of the data frame is completed, the token frame is sent to the preceding station and the own station according to the address information. In a token passing bus access method in which communication is controlled by transferring data frames in the order of a station and a subsequent station, simultaneous transmission of the data frame to all communication stations other than the token station forming the logical ring; A communication control method characterized in that the following station address information is set as a destination address of a response frame to the information data frame. 2. The reception processing device of the communication station includes address decoding means for determining the preceding station address and the succeeding station address, and when the determined destination address information is equal to the preceding station address, the preceding station responds to the response. The device has a time measuring means that measures a predetermined response confirmation time longer than the time required to transmit a frame, and sets a next processing procedure when the response frame of the preceding station cannot be received even after the response confirmation time has elapsed. The communication control method according to claim 1, characterized in that:
JP2296079A 1990-10-31 1990-10-31 Communication control device Expired - Lifetime JP3036050B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2296079A JP3036050B2 (en) 1990-10-31 1990-10-31 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2296079A JP3036050B2 (en) 1990-10-31 1990-10-31 Communication control device

Publications (2)

Publication Number Publication Date
JPH04168829A true JPH04168829A (en) 1992-06-17
JP3036050B2 JP3036050B2 (en) 2000-04-24

Family

ID=17828849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2296079A Expired - Lifetime JP3036050B2 (en) 1990-10-31 1990-10-31 Communication control device

Country Status (1)

Country Link
JP (1) JP3036050B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009278328A (en) * 2008-05-14 2009-11-26 Mitsubishi Electric Corp Facility management system, and terminal controller
CN115865866A (en) * 2022-12-13 2023-03-28 厦门海辰储能科技股份有限公司 Address allocation method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009278328A (en) * 2008-05-14 2009-11-26 Mitsubishi Electric Corp Facility management system, and terminal controller
CN115865866A (en) * 2022-12-13 2023-03-28 厦门海辰储能科技股份有限公司 Address allocation method and device
CN115865866B (en) * 2022-12-13 2023-12-22 厦门海辰储能科技股份有限公司 Address allocation method and device

Also Published As

Publication number Publication date
JP3036050B2 (en) 2000-04-24

Similar Documents

Publication Publication Date Title
US4750109A (en) Method and system for expediting multi-packet messages in a computer network
JPS62239641A (en) Multiple address communication system
JPH04502991A (en) Local area network with dynamically selectable multioperability
JPS6276840A (en) Node equipment
JPH04168829A (en) Communication control system
JPH027641A (en) Data transmission control system
JPS62237835A (en) Data communication control method
US6178177B1 (en) Data-processing network having non-deterministic access, but having deterministic access time
JPS62183638A (en) Multiple address communication control system in local area network
JPS61210740A (en) Emergency communicating control system for token bus type local network system
JP3501650B2 (en) Programmable controller network system
JPH04132433A (en) Communication control system
JPH0292043A (en) Data reception system
JPH0687559B2 (en) Bus type LAN
JP2743880B2 (en) Broadcast message duplicate reception prevention function method
JP2518468B2 (en) Information processing device
JPH0438618Y2 (en)
JPS60206341A (en) Communication control method
JPH0583772A (en) Interrupting processing method of multiple transmitting system
JPH0561820B2 (en)
JPH09181754A (en) Communication control system and communication control method
JPH02137539A (en) Transmission medium access system
JPH01154651A (en) Method for detecting communication station address
JPH0281533A (en) Urgent communication control system in token bus type local network system
JPS63115434A (en) Error detecting system for multi-address calling