JPH1146204A - Network system for system providing plural tokens - Google Patents

Network system for system providing plural tokens

Info

Publication number
JPH1146204A
JPH1146204A JP9200514A JP20051497A JPH1146204A JP H1146204 A JPH1146204 A JP H1146204A JP 9200514 A JP9200514 A JP 9200514A JP 20051497 A JP20051497 A JP 20051497A JP H1146204 A JPH1146204 A JP H1146204A
Authority
JP
Japan
Prior art keywords
transmission
station
data
permission frame
transmission permission
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
JP9200514A
Other languages
Japanese (ja)
Inventor
Junichi Takano
純一 高野
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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP9200514A priority Critical patent/JPH1146204A/en
Publication of JPH1146204A publication Critical patent/JPH1146204A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a network system adopting the system which provides plural tokens in which tokens are given to stations with many transmission opportunities to the utmost, so as to allow the stations to make communication not via a central station in the case that stations with many transmission opportunities and stations with small transmission opportunities are in existence on a same network. SOLUTION: In this network system, a master station (a) has a token provision function and sends a transmission permission frame having destinations of plural slave stations (b), (c), (d) to each slave station. In the case that the slave station(b), (c) or (d) receiving the transmission permission frame has transmission data, the slave station (b), (c) or (d) sends the transmission permission frame without deleting an address of its own station. Upon the receipt of the circulated transmission permission frame, in the case that the transmission permission frame indicates the slave station (b), (c) or (d) with transmission data, the master station (a) retransmits the transmission permission frame to a transmission line, without rewriting at all the address of at least a destination address part.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、送信機会の多い局
と送信機会の少ない局とが同一のネットワークに存在す
る場合は、送信機会の多い局に、送信権をできるだけ与
えて通信させる複数送信権付与方式のネットワークシス
テムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for transmitting a plurality of stations by giving a transmission right to a station having a large number of transmission opportunities as much as possible when a station having a large number of transmission opportunities and a station having a small number of transmission opportunities are present in the same network. The present invention relates to a right-granting network system.

【0002】[0002]

【従来の技術】一般に、ローカルネットワーク(以下L
ANという)上への通信フレームの送信権を調停する方
式としては、トークンパッシング方式が広く知られてい
る。
2. Description of the Related Art Generally, a local network (hereinafter referred to as L)
A token passing method is widely known as a method for arbitrating the transmission right of a communication frame to the communication network (hereinafter referred to as AN).

【0003】このトークンパッシング方式のネットワー
クの形態は、各局(a、b、c、d)を伝送路によって
リング状に結ぶものである。
[0003] In the form of the network of the token passing system, each station (a, b, c, d) is connected in a ring shape by a transmission line.

【0004】このようなネットワークにおけるトークン
パッシング方式は、一般にトークンと呼ばれる制御パケ
ットを伝送路上に巡回させておき、送信要求を有する局
へトークンが到来すると、それを捕獲させ、その局だけ
が伝送路へ送出(本説明では以下送信という)する権利
を得るものである。
In such a token passing system in a network, a control packet generally called a token is circulated on a transmission line, and when a token arrives at a station having a transmission request, the token is captured and only that station transmits the token. (Hereinafter, referred to as transmission in this description).

【0005】この送信する権利は、各局に対して送信機
会を均等に与えるために、1回のトークン捕獲につき1
回のパケット送信が許される。そして、パケット送信後
は、その局はトークンを伝送路に戻しておくようにして
いる。また、トークンを送信した主局はトークンが一巡
して来ると、新たにトークンを生成して伝送路に送信す
る。
[0005] The right to transmit is granted one per token capture in order to give each station an equal opportunity to transmit.
Packet transmissions are allowed. After transmitting the packet, the station returns the token to the transmission path. Further, when the token that has transmitted the token makes a round, the token is newly generated and transmitted to the transmission path.

【0006】すなわち、トークンパッシング方式は、ト
ークンと呼ばれる制御パケットのネットワークの巡回に
より、順序よく各局に送信権を付与してデータを転送さ
せるものである。
That is, in the token passing method, a control packet called a token is circulated through a network so that each station is given a transmission right in order and transfers data.

【0007】一方、特開平5ー95361号公報のロー
カルエリアネットワーク管理方式においては、一台の中
央装置と複数の端末装置とが伝送路によってリング状に
接続されているネットワークネットワークの一台の中央
装置のみに伝送路使用権を与え、この中央装置が各端末
装置と順次通信を行い、通信要求がある端末のみに通信
開始を指示することによって伝送路におけるデータの衝
突を防止している。
On the other hand, in the local area network management system disclosed in Japanese Unexamined Patent Application Publication No. 5-95361, one central device and a plurality of terminal devices are connected to one central network in a ring by a transmission line. Only the apparatus is given the right to use the transmission path, and this central apparatus sequentially communicates with each terminal apparatus and instructs only the terminal requesting communication to start communication, thereby preventing data collision on the transmission path.

【0008】また、各端末装置同士が通信を行う場合
は、中央装置を介して通信を実現している。
[0008] When the terminal devices communicate with each other, the communication is realized via a central device.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記の
従来のトークンパッシング方式は、トークンと呼ばれる
制御パケットのネットワークの巡回により、順序よく各
局に送信権を付与し、送信権を獲得した局が1回の送信
権の獲得で1回のデータ送信を送信するようにしてい
る。
However, in the above-mentioned conventional token passing method, the right to transmit is given to each station in order by circulating a control packet called a token in a network, and the station that has acquired the right to transmit is transmitted once. One data transmission is transmitted when the transmission right is acquired.

【0010】つまり、各局には常に平等に送信権が廻っ
てくるようにされているので、送信機会が多い局も少な
い局もそれぞれの送信権は、トークンが一巡する毎に一
回しかない。
[0010] That is, since the transmission right is always equally transmitted to each station, the transmission right of each of the stations having a large number of transmission opportunities and that of the station having a small number of transmissions is limited to only once each time the token makes one round.

【0011】このため、送信機会の多い局は、データ送
信を一回した後は、他の局が送信するデータが無くて伝
送路を使用していないのにも係わらず次のトークンの巡
回まで待たなければならない。
For this reason, a station having a large number of transmission opportunities, after performing data transmission once, waits until the next token circulates even though there is no data to be transmitted by another station and no transmission path is used. have to wait.

【0012】例えば、子局がトークンが巡回する毎に送
信データの発生順に従って、送信データを伝送路に送信
するようにされている場合に、緊急送信データが後に発
生したときは、その緊急送信データは次回のトークンの
巡回時に伝送路に送出されてしまう。
For example, if the slave station transmits the transmission data to the transmission line in accordance with the order of generation of the transmission data every time the token circulates, and when the emergency transmission data occurs later, the emergency transmission The data is sent to the transmission line at the next round of the token.

【0013】すなわち、従来のトークンパッシング方式
は、送信機会の多い局と少ない局とがネットワーク上に
配置されている場合は、伝送路を効率的に使用できない
と共に、送信機会の多い局にとっては、緊急送信データ
を早く送信できない。
That is, in the conventional token passing system, when a station having a large number of transmission opportunities and a station having a small number of transmission opportunities are arranged on a network, the transmission path cannot be used efficiently. Emergency transmission data cannot be sent quickly.

【0014】また、特開平5ー95361号公報のロー
カルエリアネットワーク管理方式においては、各端末装
置は通信を行う場合は必ず中央装置を介して通信を行う
ようにされているので、データの転送速度が低下する。
In the local area network management system disclosed in Japanese Patent Application Laid-Open No. 5-95361, since each terminal device always communicates via the central device when performing communication, the data transfer speed is increased. Decrease.

【0015】従って、送信機会の多い局と送信機会の少
ない局とが同一のネットワークに存在する場合は、中央
局を介さずに送信機会の多い局に、送信権をできるだけ
与えて通信させることが望ましい。
Therefore, when a station having a large number of transmission opportunities and a station having a small number of transmission opportunities are present in the same network, it is possible to give a transmission right to a station having a large number of transmission opportunities as much as possible without passing through a central office. desirable.

【0016】[0016]

【課題を解決するための手段】本発明は、複数の局を伝
送路で接続し、これらの局の内でいずれかの第1の局が
伝送路に接続された他の複数の第2の局への送信権付与
機能を備えて通信を行うネットワークシステムである。
According to the present invention, a plurality of stations are connected by a transmission line, and among these stations, any one of the first stations is connected to a plurality of other second stations connected to the transmission line. This is a network system that performs communication with a function of granting a transmission right to a station.

【0017】第1の局は、自局から複数の第2の局に対
して、送信権を付与するときに、複数の第2の局を宛先
アドレス部に書き込んだ送信許可フレームを伝送路に送
信し、また、送信許可フレームを受信したとき、その送
信許可フレームのヘッダ部に所定の情報が残っている場
合は、受信した送信許可フレームをそのままの状態で伝
送路に送信する。
When the first station grants the transmission right from the own station to the plurality of second stations, the transmission permit frame in which the plurality of second stations are written in the destination address portion is transmitted to the transmission path. When transmitting and receiving a transmission permission frame, if predetermined information remains in the header of the transmission permission frame, the received transmission permission frame is transmitted to the transmission path as it is.

【0018】第2の局は、送信許可フレームを受信し、
送信データがある場合は、送信データを送信し、さらに
送信データがある場合は、送信許可フレームのヘッダ部
の所定の領域に、自局に送信データがあることを示す所
定の情報を書き込んだ送信許可フレームを伝送路に送信
し、また、送信データがない場合及びさらなる送信デー
タがない場合は、受信した送信許可フレームのヘッダ部
から自局に係わる所定の情報を除いた送信許可フレーム
を伝送路に送信することを要旨とする。
The second station receives the transmission permission frame,
When there is transmission data, the transmission data is transmitted. When there is further transmission data, predetermined information indicating that transmission data exists in the own station is written in a predetermined area of a header portion of the transmission permission frame. When the transmission frame is transmitted to the transmission path, and when there is no transmission data or when there is no further transmission data, the transmission permission frame obtained by removing predetermined information related to the own station from the header portion of the received transmission permission frame is transmitted to the transmission path. The gist is to transmit to.

【0019】本発明においては、主局とされた第1の局
と従局とされた複数の第2の局とからなるネットワーク
システムにおいて、第2の局が第1の局からの送信許可
フレームを受信すると、次回に送るデータがあるときは
送信許可フレームのヘッダ部の所定領域に、その第2の
局が次回に送るデータが存在することを示す所定の情報
を書き込んで送信する。
According to the present invention, in a network system including a first station as a master station and a plurality of second stations as slave stations, the second station transmits a transmission permission frame from the first station. Upon receipt, if there is data to be transmitted next time, the second station writes predetermined information indicating that there is data to be transmitted next time in a predetermined area of the header portion of the transmission permission frame and transmits the frame.

【0020】第1の局は、第2の局からの送信許可フレ
ームを受信し、このフレームのヘッダ部に、送るデータ
がある第2の局が存在することが書き込まれているとき
は、その第2の局に対する送信許可フレームを送信す
る。
The first station receives the transmission permission frame from the second station, and if the header of the frame indicates that there is a second station having data to be transmitted, the first station receives the frame. The transmission permission frame for the second station is transmitted.

【0021】請求項2においては、第1の局によって生
成された複数の第2の局への送信許可フレームが伝送路
に送信されると、この送信許可フレームが第2の局によ
って受信される。
According to the second aspect, when a plurality of transmission permission frames generated by the first station and transmitted to the second stations are transmitted to the transmission path, the transmission permission frames are received by the second station. .

【0022】そして、この第2の局は、送信するデータ
がある場合は、送信データを送信し、さらに送信データ
がある場合は、送信許可フレームの宛先アドレス部の自
局のアドレスをそのままにした送信許可フレームを伝送
路に送信し、さらなる送信データがない場合は、及び送
信データが一つもない場合は、受信した送信許可フレー
ムから自局の宛先を削除した送信許可フレームを伝送路
に送信する。
When there is data to be transmitted, the second station transmits the transmission data. When there is further transmission data, the second station keeps its own address in the destination address portion of the transmission permission frame. The transmission permission frame is transmitted to the transmission path, and if there is no further transmission data, and if there is no transmission data, the transmission permission frame in which the destination of the own station is deleted from the received transmission permission frame is transmitted to the transmission path. .

【0023】このため、送信権を付与する主局である第
1の局には、送るデータが存在する第2の局の宛先アド
レスが書き込まれた送信許可フレームが受信される。ま
た、いずれの局にも送るデータがないときは、第2の局
の宛先アドレスが削除された送信許可フレームが受信さ
れる。
For this reason, the first station, which is the master station to which the transmission right is assigned, receives the transmission permission frame in which the destination address of the second station having the data to be transmitted is written. When there is no data to be sent to any of the stations, a transmission permission frame in which the destination address of the second station is deleted is received.

【0024】従って、主局である第1の局は、送信許可
フレームの宛先アドレスを、送るデータが存在する第2
の局の宛先アドレスにして伝送路に送信するので、その
第2の局のみが送信権を得ることが可能となる。
Therefore, the first station, which is the master station, sets the destination address of the transmission permission frame to the second station in which data to be transmitted exists.
Since the transmission is made to the transmission path with the destination address of the first station, only the second station can obtain the transmission right.

【0025】[0025]

【発明の実施の形態】本発明の実施の形態では主局aと
子局b、c、dとにアドレスA、B、C、Dを持たせ、
これらの局が伝送路でリング状に接続されているネット
ワークに本発明を適用した形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION In the embodiment of the present invention, addresses A, B, C and D are assigned to a master station a and slave stations b, c and d, respectively.
An embodiment in which the present invention is applied to a network in which these stations are connected in a ring by a transmission line will be described.

【0026】図1は複数送信権付与方式を用いたネット
ワークシステムの概略構成図である。図1に示すネット
ワークシステムは、主局aが送信権付与機能を備え、複
数の子局b、c、dの宛先を持つ送信許可フレームを各
子局に向けて送信し、この送信許可フレームを受信した
子局b、c又はdが送信データを該当する局宛に送信す
る。
FIG. 1 is a schematic configuration diagram of a network system using a multiple transmission right grant method. In the network system shown in FIG. 1, the master station a has a transmission right grant function, transmits a transmission permission frame having a plurality of destinations of the slave stations b, c, and d to each of the slave stations. The received slave station b, c, or d transmits the transmission data to the corresponding station.

【0027】このとき、子局b、c、dは送信データが
複数ある場合は、最も優先レベルが高い送信データを最
初に送信すると共に、伝送路に送信する送信許可フレー
ムにまだ送信データが有ることを書き込んで送信する。
At this time, when there are a plurality of transmission data, the slave stations b, c, and d transmit the transmission data having the highest priority level first, and the transmission permission frame transmitted to the transmission path still has the transmission data. Write it and send it.

【0028】そして、主局aは、送信許可フレームを受
信したとき、この送信許可フレームに送信データが有る
子局b、c又はdがあることを示しているときは、何も
データの書き換えを行わないで、そのまま伝送路に再送
する。
When receiving the transmission permission frame, the main station a does not rewrite any data when the transmission permission frame indicates that there is a slave station b, c or d having transmission data. Instead, it is retransmitted to the transmission path.

【0029】このため、図1に示すように、主局aは少
なくとも、送信権を子局b、c、dに付与する送信権付
与手段1と、受信した送信許可フレームに、送信データ
が有る子局があるかどうかを判定する送信データ有り局
判定手段2とを備えている。
For this reason, as shown in FIG. 1, the master station a has at least the transmission right granting means 1 for granting the transmission right to the slave stations b, c and d, and the received transmission permission frame has transmission data. A transmission data existence station determining means for determining whether or not there is a slave station;

【0030】前述の送信権付与手段1は、複数の子局
b、c、dの宛先を持つ送信許可フレームを各子局に向
けて送信(以下同報通信という)する。
The above-mentioned transmission right granting means 1 transmits a transmission permission frame having destinations of a plurality of slave stations b, c and d to each slave station (hereinafter referred to as broadcast communication).

【0031】この送信許可フレームの送信に当たって
は、送信データ有り局判定手段2からの子局b、c又は
dのアドレスを送信許可フレームの宛先アドレス部に書
き込む。この送信許可フレームの構成については図を用
いて後述する。
In transmitting the transmission permission frame, the address of the slave station b, c or d from the transmission data existence station determining means 2 is written in the destination address portion of the transmission permission frame. The configuration of the transmission permission frame will be described later with reference to the drawings.

【0032】送信データ有り局判定手段2は、受信した
送信許可フレームに書き込まれている子局のアドレスか
ら送信データがある子局を判断して送信権付与手段1に
知らせる。
The transmission data existence station judging means 2 judges the slave station having the transmission data from the address of the slave station written in the received transmission permission frame, and notifies the transmission right granting means 1.

【0033】一方、子局b、c、dは、少なくとも、各
子局間の通信を可能とする子局間通信処理手段3と、複
数の送信データが存在するとき、最も優先度が高い送信
データを決定して子局間通信処理手段3に設定する優先
データ決定手段4とを備えている。
On the other hand, the slave stations b, c and d are provided with at least the slave station communication processing means 3 for enabling communication between the slave stations, and the transmission with the highest priority when a plurality of transmission data exist. A priority data determining means for determining data and setting the data in the communication processing means between slave stations;

【0034】子局間通信処理手段3は、送信許可フレー
ムの受信に伴って、送信データがない場合は、後述する
送信許可フレームの宛先アドレス部の自局アドレスを削
除して伝送路に送信する。
When there is no transmission data in response to the reception of the transmission permission frame, the inter-station communication processing means 3 deletes its own address in the destination address portion of the transmission permission frame described later and transmits the frame to the transmission path. .

【0035】また、子局間通信処理手段3は、送信デー
タがある場合は、送信元のアドレスと宛先アドレスとを
書き込んだ送信データを伝送路に送信する。
If there is transmission data, the inter-station communication processing means 3 transmits the transmission data in which the source address and the destination address are written to the transmission path.

【0036】優先データ決定手段4は、送信データが複
数存在するときは、各送信データの種類を判断し、この
種類に応じて優先順位を判断する。そして、最も優先順
位が高い送信データを子局間通信処理手段3に設定す
る。
When there are a plurality of transmission data, the priority data determination means 4 determines the type of each transmission data, and determines the priority according to the type. Then, the transmission data having the highest priority is set in the inter-station communication processing means 3.

【0037】次に、送信許可フレームについて図2を用
いて説明する。送信許可フレームは図2に示すように、
宛先総数nが書き込まれる宛先総数部8と、受信カウン
タ値cnが書き込まれる受信カウンタ部9と、各子局の
宛先アドレスが書き込まれる宛先アドレス部10と、送
信元アドレスが書き込まれる送信元アドレス部11と、
送信許可コマンドが書き込まれる送信許可コマンド部1
2とから構成されている。 前述の宛先総数部8と、受
信カウンタ部9と、宛先アドレス部10と、送信元アド
レス部11とを総称してヘッダ部という。
Next, the transmission permission frame will be described with reference to FIG. The transmission permission frame is, as shown in FIG.
A total destination section 8 in which the total destination number n is written, a reception counter section 9 in which the reception counter value cn is written, a destination address section 10 in which the destination address of each slave station is written, and a source address section in which the source address is written 11 and
Transmission permission command section 1 in which a transmission permission command is written
And 2. The above-mentioned total destination section 8, reception counter section 9, destination address section 10, and source address section 11 are collectively called a header section.

【0038】<主局及び子局の詳細構成>図3は主局a
及び子局b、c、d(総称して単に局という)の具体的
な構成図である。図3に示すように、局は伝送路からの
送信許可フレーム又は送信データを受信して所定の変換
を行う受信I/F15と、この受信I/F15からのデ
ータのアドレスを解読して内部に取り込むアドレスデコ
ーダ16と、アドレスデコーダ16が取り込んだ受信デ
ータが格納される受信バッファ17と、各機器からのデ
ータを受信する機能機器I/F部18と、後述するデー
タ処理部19と、送信データが格納される送信バッファ
20と、所定形式のフレームの送信データを生成して送
出する送信フレーム生成部21と、送信I/F22と、
送信フレーム生成部21で生成された送信データの宛先
総数n、受信カウント値Cnを減算又は加算するカウン
タ管理部23と、送信データの宛先アドレスを削除又は
追加する宛先アドレス管理部24と、送信許可フレーム
が格納される送信許可フレームバッファ25とを備えて
いる。
<Detailed Configuration of Master Station and Slave Station> FIG.
FIG. 4 is a specific configuration diagram of slave stations b, c, and d (collectively called stations). As shown in FIG. 3, the station receives a transmission permission frame or transmission data from a transmission path and performs a predetermined conversion. The reception I / F 15 decodes the address of the data from the reception I / F 15 and stores it therein. An address decoder 16 to be fetched, a reception buffer 17 in which received data fetched by the address decoder 16 is stored, a functional device I / F unit 18 for receiving data from each device, a data processing unit 19 described later, A transmission buffer 20, a transmission frame generation unit 21 for generating and transmitting transmission data of a frame of a predetermined format, a transmission I / F 22,
A counter management unit 23 for subtracting or adding the total number n of the transmission data generated by the transmission frame generation unit 21 and the reception count value Cn; a destination address management unit 24 for deleting or adding the destination address of the transmission data; A transmission permitting frame buffer 25 for storing frames.

【0039】前述のデータ処理部19は、主局aにおい
ては、少なくとも、送信権を子局b、c、dに付与する
送信権付与手段1と、受信した送信許可フレームに送信
データが有る子局があるかどうかを判定する送信データ
有り局判定手段2とを備えている。
The data processing unit 19 includes, in the master station a, at least the transmission right granting means 1 for granting the transmission right to the slave stations b, c, d, and the slave having the transmission data in the received transmission permission frame. A transmission data existence station determining means 2 for determining whether or not there is a station is provided.

【0040】一方、子局b、c、dのデータ処理部19
においては、少なくとも、各子局間の通信を可能とする
子局間通信処理手段3と、複数の送信データが存在する
とき、最も優先度が高い送信データを決定して子局間通
信処理手段3に設定する優先データ決定手段4とを備え
ている。
On the other hand, the data processing units 19 of the slave stations b, c, d
In the above, at least the inter-station communication processing means 3 which enables communication between the sub-stations, and when there are a plurality of transmission data, the transmission data having the highest priority is determined and the inter-station communication processing means 3 for setting priority data.

【0041】<動作説明>上記のように構成された複数
送信権付与方式を用いたネットワークシステムの動作を
説明する。本動作説明では子局bのみが2つの送信デー
タ(子局dへのコマンドデータ1と、子局cへのコマン
ドデータ2)を持ち、局aが2度目の送信権獲得時に1
つの送信データが発生するという仮定で説明する。
<Explanation of Operation> The operation of the network system using the multiple transmission right grant system configured as described above will be described. In the description of the operation, only the slave station b has two transmission data (command data 1 to the slave station d and command data 2 to the slave station c), and when the station a acquires the transmission right for the second time,
Description will be made on the assumption that one transmission data is generated.

【0042】図4は主局aの動作を説明するフローチャ
ートである。図5は子局の動作を説明するフローチャー
トである。図6は主局a、子局b、c、dにおける送信
許可フレーム及び送信データ(以下データという)の送
出手順を説明する説明図である。
FIG. 4 is a flowchart for explaining the operation of the master station a. FIG. 5 is a flowchart for explaining the operation of the slave station. FIG. 6 is an explanatory diagram illustrating a transmission procedure of a transmission permission frame and transmission data (hereinafter, referred to as data) in the master station a and the slave stations b, c, and d.

【0043】図4に示すように、主局aは初めにシステ
ムを初期化する(S1)。このシステム初期化後に主局
aは、図6のp1に示す新規の送信許可フレームFを生
成して同報通信で子局b、c、dに送信する(S2)。
このステップS2における送信許可フレームは図6のp
1に示すように、宛先総数nが3、受信カウンタCnが
0、宛先アドレスが子局bのアドレスB、子局cのアド
レスC、子局dのアドレスDが書き込まれた送信許可フ
レームF1である。
As shown in FIG. 4, the master station a first initializes the system (S1). After the system initialization, the master station a generates a new transmission permission frame F shown by p1 in FIG. 6 and transmits it to the slave stations b, c, and d by broadcast communication (S2).
The transmission permission frame in this step S2 is p
As shown in FIG. 1, the transmission permission frame F1 in which the total number of destinations n is 3, the reception counter Cn is 0, and the destination addresses are the address B of the slave station b, the address C of the slave station c, and the address D of the slave station d is written. is there.

【0044】すなわち、主局aのデータ処理部19の送
信権付与手段1がアドレス管理部24を用いて、宛先ア
ドレスを子局bのアドレスB、子局cのアドレスC、子
局dのアドレスDの順序に送信フレーム生成部21に送
出し、カウンタ管理部23を用いて受信カウンタ値Cn
を「0」とし、かつ送信許可フレームバッファ25の送
信許可コマンドを送信フレーム生成部21に送出させ、
送信フレーム生成部21において図6に示すp1の送信
許可フレームF1を生成させて送信I/F22を介して
伝送路に送信させている。
That is, the transmission right granting means 1 of the data processing unit 19 of the main station a uses the address management unit 24 to change the destination address to the address B of the slave station b, the address C of the slave station c, and the address of the slave station d. D to the transmission frame generation unit 21 in the order of D, and using the counter management unit 23, the reception counter value Cn
Is set to “0”, and the transmission permission command of the transmission permission frame buffer 25 is transmitted to the transmission frame generation unit 21.
The transmission frame generation unit 21 generates a transmission permission frame F1 of p1 shown in FIG. 6 and transmits the transmission permission frame F1 to the transmission path via the transmission I / F 22.

【0045】一方、子局bは、図5に示すように、送信
許可フレームFの受信かどうかを監視している(S2
0)。ステップS20で子局bが送信許可フレームFの
受信と判断したときは、図4のステップS2で主局aが
送信した送信許可フレームF1を送信許可フレームバッ
ファ25に格納し(S21)、送信バッファ20にデー
タがあるかどうかを判定する(S22)。
On the other hand, as shown in FIG. 5, the slave station b monitors whether or not the transmission permission frame F has been received (S2).
0). If it is determined in step S20 that the slave station b has received the transmission permission frame F, the transmission permission frame F1 transmitted by the master station a in step S2 of FIG. 4 is stored in the transmission permission frame buffer 25 (S21). It is determined whether or not there is data in 20 (S22).

【0046】ステップS21の処理は、具体的には子局
bのアドレスデコーダ16が送信許可フレームF1の宛
先アドレス部10にアドレスBが書き込まれていると
き、送信許可フレームF1を送信許可フレームバッファ
25に格納する。
More specifically, the processing of step S21 is performed when the address decoder 16 of the slave station b writes the address B into the destination address section 10 of the transmission permission frame F1 and transmits the transmission permission frame F1 to the transmission permission frame buffer 25. To be stored.

【0047】また、ステップS22で子局bがデータが
有ると判定したときは、子局bの優先データ決定処理手
段4は、送信バッファ20のコマンドデータ1とコマン
ドデータ2の内でどちらが緊急なデータかどうかを判断
する(S23)。この優先データの決定は、例えば予め
データの種類毎に、優先レベルを記憶したテーブル(図
示せず)をデータ処理部19に設け、このテーブルの優
先レベルと送信バッファ20のデータとの比較によって
決定する。
When it is determined in step S22 that the slave station b has data, the priority data determination processing means 4 of the slave station b determines which of the command data 1 and the command data 2 in the transmission buffer 20 is urgent. It is determined whether the data is data (S23). The priority data is determined, for example, by providing a table (not shown) in which priority levels are stored in advance for each type of data in the data processing unit 19 and comparing the priority level of this table with the data in the transmission buffer 20. I do.

【0048】そして、ステップS23で決定されたデー
タK1(送信コマンドデータ1)を送信フレーム生成部
21に送出して送信させる(S24)。この子局bから
の子局dへのデータK1は、図6のP2に示すように、
宛先総数部8の宛先総数nが「1」、受信カウンタ部9
の受信カウント値Cnが「0」、宛先アドレス部10が
アドレス「D」、送信元アドレス部11がアドレス
「B」にされる。
Then, the data K1 (transmission command data 1) determined in step S23 is transmitted to the transmission frame generation section 21 to be transmitted (S24). The data K1 from the slave station b to the slave station d is represented by P2 in FIG.
The total number n of destinations in the total destination section 8 is “1”, and the reception counter section 9
, The destination address section 10 is set to the address “D”, and the transmission source address section 11 is set to the address “B”.

【0049】すなわち、宛先アドレス管理部24がカウ
ンタ管理部23を用いて、宛先総数nを「1」及び受信
カウンタCnを「0」にして送信フレーム生成部21に
送出する。また、宛先アドレス管理部24が宛先アドレ
スをアドレス「D」にすると共に送信元アドレスを
「B」にする。
That is, the destination address management unit 24 uses the counter management unit 23 to set the total number of destinations n to “1” and set the reception counter Cn to “0”, and send them to the transmission frame generation unit 21. The destination address management unit 24 sets the destination address to the address “D” and sets the source address to “B”.

【0050】この処理によって、送信フレーム生成部2
1は、図6のP2に示すデータK1を生成して伝送路を
介して送出している。
By this processing, the transmission frame generation unit 2
No. 1 generates data K1 shown in P2 of FIG. 6 and sends it out via a transmission line.

【0051】つまり、子局bのデータ処理部19の子局
間通信処理手段3は、データがあるときは、そのデータ
の宛先である子局のアドレスと、送信元である子局b
(自局)のアドレスを書き込む機能を備えることによっ
て、主局aを介さなくとも子局間の通信を可能としてい
る。
That is, when there is data, the inter-slave communication processing means 3 of the data processing unit 19 of the slave station b determines the address of the slave station as the destination of the data and the slave station b as the transmission source.
The provision of the function of writing the address of (own station) enables communication between slave stations without the intervention of the master station a.

【0052】そして、このデータK1を送信した後に、
さらに送るデータがあるかどうかを判断する(S2
5)。子局bにはさらにデータ2があるのでステップS
25では送信バッファ20に、さらに送るデータ有りと
判断する。
Then, after transmitting this data K1,
It is determined whether there is more data to send (S2
5). Since the slave station b has further data 2, step S
At 25, it is determined that there is more data to be transmitted in the transmission buffer 20.

【0053】ステップS25において、さらに送るデー
タがあると判断したときは、送信許可フレームF1に処
理を加えないで、図6のp2に示すように、そのまま送
信(送信許可フレームF2)して(S26)、処理をス
テップS20に戻す。この送信許可フレームF2は、子
局bの送信バッファ20に、さらに子局cに送信するデ
ータ2があるため、送信許可フレームF2の宛先総数n
を「3」、受信カウント値Cnを「0」、宛先アドレス
部10をアドレス「B、C、D」の順序にし、かつ送信
元アドレスを「A」にしている。
If it is determined in step S25 that there is more data to be transmitted, the transmission permission frame F1 is not processed and the transmission is permitted (transmission permission frame F2) as shown at p2 in FIG. 6 (S26). ), And the process returns to step S20. Since the transmission permission frame F2 has data 2 to be transmitted to the child station c in the transmission buffer 20 of the child station b, the total number of destinations n of the transmission permission frame F2 is n.
Is set to "3", the reception count value Cn is set to "0", the destination address section 10 is set to the address "B, C, D", and the source address is set to "A".

【0054】すなわち、子局bに他に送信するデータが
あるときは、自己アドレスであるアドレスBを削除しな
いでそのまま送信することで、子局bのデータ処理部1
9の子局間通信処理手段3は、次回に送信権が子局bに
与えられるようにしている。
That is, when there is other data to be transmitted in the slave station b, the data processing unit 1 of the slave station b transmits the address B which is its own address without deleting it.
The inter-slave station communication processing means 3 is configured to give the transmission right to the slave station b next time.

【0055】また、これを受信した子局cは、送信バッ
ファ20にはデータが存在しないため、ステップS2
0、ステップS21を介してステップS22で送信バッ
ファ20にデータが無いと判断されてステップS27に
進む。ステップS27では送信許可フレームF2の宛先
アドレス部10の自己アドレスであるアドレスCを削除
する(S27)。
Further, the slave station c which has received this data has no data in the transmission buffer 20, so that the slave station c performs step S2.
0, it is determined through step S21 that there is no data in the transmission buffer 20 in step S22, and the process proceeds to step S27. In step S27, the address C, which is the self address of the destination address section 10 of the transmission permission frame F2, is deleted (S27).

【0056】そして、宛先総数nを1デクリメントする
と共に、受信カウンタを1インクリメントした(S2
8)、送信許可フレームF3を次局に送信する(S2
9)。
Then, the total number n of destinations is decremented by 1 and the reception counter is incremented by 1 (S2
8) The transmission permit frame F3 is transmitted to the next station (S2).
9).

【0057】すなわち、子局cは、図6のp3に示すよ
うに、子局bから受信した送信許可フレームF2の宛先
アドレス部10のアドレスCを削除すると共に、宛先総
数nを「2」、受信カウンタ値Cnを「1」にした送信
許可フレームF3を送信することになる。
That is, the slave station c deletes the address C of the destination address section 10 of the transmission permission frame F2 received from the slave station b and sets the total number of destinations n to “2”, as indicated by p3 in FIG. The transmission permission frame F3 in which the reception counter value Cn is set to "1" is transmitted.

【0058】図3の構成図を用いて説明すると、子局c
のデータ処理部19は、カウンタ管理部23を用いて、
宛先総数nを「2」及び受信カウンタCnを「1」にし
て送信フレーム生成部21に送出させ送信許可フレーム
F3を送信する。
A description will be given with reference to the configuration diagram of FIG.
The data processing unit 19 uses the counter management unit 23 to
The total number of destinations n is set to “2” and the reception counter Cn is set to “1”, and the transmission frame generation unit 21 transmits the transmission permission frame F3.

【0059】一方、子局dは、送信許可フレームF3を
受信した後、応答データR1を送信し、その時点での自
局の送信バッファ内にさらに送るデータがないため、ス
テップS25、27、28、29の処理によって、送信
許可フレームF4を伝送路に送出する。
On the other hand, the slave station d transmits the response data R1 after receiving the transmission permission frame F3, and there is no more data to be sent in its own transmission buffer at that time, so that steps S25, S27 and S28 are performed. , 29, the transmission permission frame F4 is transmitted to the transmission path.

【0060】具体的には、子局dが前述の送信コマンド
データK1を受信し、子局dのアドレスデコーダ16に
よって受信バッファ17に格納され、図6のp4に示す
ように、宛先アドレス部10がアドレスB、送信元アド
レス部11がアドレスDとされて応答1が書き込まれた
応答データR1を送信する。この送信は、送信バッファ
20、送信フレーム生成部21、宛先アドレス管理部2
4を用いて行う。
More specifically, the slave station d receives the above-mentioned transmission command data K1, is stored in the reception buffer 17 by the address decoder 16 of the slave station d, and, as shown at p4 in FIG. Is the address B, the source address section 11 is the address D, and the response data R1 in which the response 1 is written is transmitted. This transmission is performed by the transmission buffer 20, the transmission frame generation unit 21, the destination address management unit 2
4 is performed.

【0061】また、子局dは、送信許可フレームF3を
受信したときは、本例では主局aに送るデータがないの
で、図5に示す前述のステップS22、ステップS2
7、28、29の処理によって自己アドレスであるアド
レスDを削除し、宛先総数nを「1」、にし、かつ受信
カウンタ値Cnを「2」とした送信許可フレームF4を
伝送路に送信する。
Further, when the slave station d receives the transmission permission frame F3, there is no data to be sent to the master station a in this example, so that the above-mentioned steps S22 and S2 shown in FIG.
The address D, which is its own address, is deleted by the processes of 7, 28, and 29, and the transmission permission frame F4 in which the total number of destinations n is set to "1" and the reception counter value Cn is set to "2" is transmitted to the transmission path.

【0062】すなわち、子局dからの送信許可フレーム
F4は、図6のp4に示すように、子局bのアドレスB
がそのまま残っている。
That is, as shown at p4 in FIG. 6, the transmission permission frame F4 from the slave station d has the address B of the slave station b.
Is left as it is.

【0063】一方、この送信許可フレームF4を受信し
た主局aは、宛先総数nが「0」以外で、かつ送信許可
フレームF4が一巡目の場合は、図6のp6に示すよう
に、送信許可フレームF4の内容を書き換えないで、送
信許可フレームF5として伝送路に送信する。
On the other hand, when the total number of destinations n is other than "0" and the transmission permission frame F4 is the first round, the master station a which has received the transmission permission frame F4 transmits the transmission permission frame F4 as shown at p6 in FIG. The content of the permission frame F4 is transmitted to the transmission path as the transmission permission frame F5 without rewriting.

【0064】この送信許可フレームF5を送信するまで
の処理を図4のフローチャートを用いて説明する。
The processing up to the transmission of the transmission permission frame F5 will be described with reference to the flowchart of FIG.

【0065】図4に示すステップS1及びステップS2
の処理によって、全子局に対して同報通信の送信許可フ
レームF1を送信した後に主局aは、主局aが伝送路に
送出した送信許可フレームFの受信かどうかを監視して
いる(S3)。
Steps S1 and S2 shown in FIG.
After transmitting the transmission permission frame F1 of the broadcast communication to all the slave stations, the main station a monitors whether or not the transmission permission frame F transmitted by the main station a to the transmission path is received (by the processing of (1)). S3).

【0066】ステップS3において、主局aがステップ
S2で送信した送信許可フレームFを受信したと判断し
たときは、その受信された送信許可フレームFを主局a
のアドレスデコーダ16が送信許可フレームバッファ2
5に格納する(S4)。この受信された送信フレームF
は、図6のp4に示すように、子局b、c、dによっ
て、宛先総数nが「1」、受信カウンタ値Cnが
「2」、宛先アドレス部10の相手先アドレスが
「B」、送信元アドレスが「A」にされた送信許可フレ
ームF4である。
If it is determined in step S3 that the main station a has received the transmission permission frame F transmitted in step S2, the received transmission permission frame F is transmitted to the main station a.
Of the transmission permitting frame buffer 2
5 (S4). This received transmission frame F
As shown at p4 in FIG. 6, the total number n of destinations is “1”, the reception counter value Cn is “2”, the destination address of the destination address unit 10 is “B”, This is the transmission permission frame F4 in which the transmission source address is set to “A”.

【0067】次に、主局aのデータ処理部19の送信デ
ータ有り局判定手段2は、受信した送信許可フレームF
4の宛先総数nが「0」かどうかを判断する(S5)。
すなわち、子局b、c、dの内、前回の送信権獲得時に
送信バッファのデータを全て送信しきれなかった局が存
在しているかどうかを判断している。
Next, the transmission data existence station judging means 2 of the data processing section 19 of the main station a receives the transmission permission frame F
It is determined whether or not the total number n of destinations of “4” is “0” (S5).
That is, it is determined whether or not there is any of the slave stations b, c, and d that has not been able to transmit all the data in the transmission buffer when the previous transmission right was acquired.

【0068】ステップS5において、宛先総数nが
「0」でないと判断したときは、送信許可フレームF4
は一巡目かどうかを判断する(S9)。ステップS9で
送信許可フレームF4が一巡目と判断したときは、主局
aのデータ処理部19の送信権付与手段1が送信バッフ
ァ20に送るデータが存在しているかどうかを判断する
(S10)。本例では主局aの送信バッファ20には送
るデータがないと判断する。
If it is determined in step S5 that the total number of destinations n is not "0", the transmission permission frame F4
Determines whether or not it is the first cycle (S9). When it is determined in step S9 that the transmission permission frame F4 is the first round, it is determined whether or not there is data to be transmitted to the transmission buffer 20 by the transmission right granting unit 1 of the data processing unit 19 of the master station a (S10). In this example, it is determined that there is no data to be transmitted in the transmission buffer 20 of the main station a.

【0069】ステップS10で送信バッファ20に送る
データが存在すると判定された場合は、送信権付与手段
1は図6のp7に示すように、そのデータを送信して
(S11)、処理をステップS12に進める。
If it is determined in step S10 that there is data to be transmitted to the transmission buffer 20, the transmission right granting means 1 transmits the data as shown at p7 in FIG. 6 (S11), and the process proceeds to step S12. Proceed to

【0070】図3においては、カウンタ管理部23を用
いて宛先総数nを「3」、受信カウンタ値Cnを「0」
にさせると共に、宛先アドレス部10を用いて宛先アド
レス管理部24のアドレスをB、C、Dの順にして、送
信元アドレスをアドレスAにする。
In FIG. 3, the total number of destinations n is set to “3” and the reception counter value Cn is set to “0” using the counter management unit 23.
In addition, the address of the destination address management unit 24 is set to B, C, and D using the destination address unit 10, and the source address is set to the address A.

【0071】この処理は、ステップS5でn=0の時、
又はステップS9で2巡目の時に行う。
This processing is performed when n = 0 in step S5.
Alternatively, it is performed in the second round in step S9.

【0072】また、ステップS10で送るデータがない
と判断したときは、一巡してきた送信許可フレームF
(F4)を書き換えないでそのまま送信(送信許可フレ
ームF5)して(S12)、処理をステップS3に戻
す。
If it is determined in step S10 that there is no data to be transmitted, the transmission permit frame F
(F4) is transmitted without rewriting (transmission permission frame F5) (S12), and the process returns to step S3.

【0073】すなわち、主局aは同報通信の送信許可フ
レームFを伝送路に送出した後に、送信許可フレームF
が戻ってきたとしても、その送信許可フレームの宛先総
数nが「0」以上(0を含まない)の場合は、送信権を
主局aが設定しないで、主局bが送信権を得るように、
そのまま伝送路に送出している。図3においては、カウ
ンタ管理部23を用いて宛先総数nを「1」、受信カウ
ンタ値Cnを「2」にさせると共に、宛先アドレス管理
部24を用いて宛先アドレス部10のアドレスをBのみ
にして、送信元アドレスをアドレスAにした送信許可フ
レームF5を送信する。
That is, the master station a transmits the transmission permission frame F of the broadcast to the transmission line, and then transmits the transmission permission frame F
Is returned, if the total number n of destinations of the transmission permission frame is equal to or greater than "0" (not including 0), the master station a does not set the transmission right and the master station b obtains the transmission right. To
It is sent to the transmission line as it is. In FIG. 3, the total number of destinations n is set to “1” and the reception counter value Cn is set to “2” using the counter management unit 23, and the address of the destination address unit 10 is changed to only B using the destination address management unit 24. Then, the transmission permission frame F5 in which the source address is set to the address A is transmitted.

【0074】一方、子局bは、主局aから送信された送
信許可フレームF5を受信する。つまり、主局aは、次
回の送信許可フレームFの送信時には、次回に送るデー
タがある子局bに対して送信許可フレームFを送信して
いる。
On the other hand, the slave station b receives the transmission permission frame F5 transmitted from the master station a. That is, when transmitting the next transmission permission frame F, the main station a transmits the transmission permission frame F to the slave station b having data to be transmitted next time.

【0075】次に、送信許可フレームF5を受信した子
局bは、図6のp6に示すように、前回に送信できなか
った子局c宛のデータk3を送信する。このデータk3
は、図6のp6に示すように、宛先総数nが「1」、受
信カウンタ値Cnが「0」、宛先アドレス部10の宛先
アドレスが[C」、送信元アドレスが「B」で伝送路に
送信される。
Next, the slave station b that has received the transmission permission frame F5 transmits data k3 addressed to the slave station c that could not be transmitted previously, as indicated by p6 in FIG. This data k3
As shown at p6 in FIG. 6, the total number of destinations n is “1”, the reception counter value Cn is “0”, the destination address of the destination address section 10 is “C”, the source address is “B”, and the transmission path is Sent to.

【0076】また、子局bは、データ2(コマンド2)
を送信した後は、さらに送るデータがないので、図6の
p6に示すように、宛先総数nを「0」、受信カウンタ
値Cnを「3」、かつ送信元アドレスを「A」とした送
信許可フレームF6を伝送路に送信する。
The slave station b receives data 2 (command 2).
Since there is no further data to be transmitted after the transmission, the total number of destinations n is set to "0", the reception counter value Cn is set to "3", and the transmission source address is set to "A" as shown at p6 in FIG. The permission frame F6 is transmitted to the transmission path.

【0077】つまり、子局bは、さらに送信するデータ
がないときは、子局bのアドレスBを削除して送信して
いる。
That is, when there is no more data to be transmitted, the slave station b deletes the address B of the slave station b and transmits.

【0078】従って、この送信許可フレームF6の宛先
アドレス部10には、何もアドレスが書き込まれていな
いので、子局c、子局dは、送信許可フレームF6を書
き換えないでそのまま次局に送信する。
Since no address is written in the destination address section 10 of the transmission permission frame F6, the slave stations c and d transmit the transmission permission frame F6 to the next station without rewriting. I do.

【0079】この送信許可フレームF6を受信した主局
aは、宛先総数nが「0」にされているので、受信した
送信許可フレームF6を削除する。
The master station a that has received the transmission permission frame F6 deletes the received transmission permission frame F6 because the total number of destinations n is “0”.

【0080】そして、主局aは2度目の送信権獲得時に
1つの送信データが発生するので、図6のp7に示すよ
うに、全子局宛の一斉同報データ3(コマンド3)を書
き込んだデータk4を送信する。そして、新規の送信許
可フレームF7を作成して伝送路に送信する。
Since one transmission data is generated when the master station a acquires the transmission right for the second time, the broadcast data 3 (command 3) addressed to all the slave stations is written as shown at p7 in FIG. The data k4 is transmitted. Then, a new transmission permission frame F7 is created and transmitted to the transmission path.

【0081】この送信許可フレームF7を送信するまで
の主局aの処理を図4に従って説明する。
The processing of the main station a until the transmission permission frame F7 is transmitted will be described with reference to FIG.

【0082】主局aは、送信許可フレームF6をステッ
プS3、S4を介して受信すると、ステップS5で送信
許可フレームF6の宛先総数nは「0」と判定する。
When the main station a receives the transmission permission frame F6 via steps S3 and S4, it determines in step S5 that the total number n of destinations of the transmission permission frame F6 is "0".

【0083】ステップS5で宛先総数nが「0」と判定
したときは、送信バッファに送るデータがあるかどうか
を判定する(S6)。本例ではデータ3(コマンド3)
があると判定する。
If it is determined in step S5 that the total number n of destinations is "0", it is determined whether there is data to be transmitted to the transmission buffer (S6). In this example, data 3 (command 3)
It is determined that there is.

【0084】ステップS6で送るデータが有ると判定し
たときは、同報通信のデータフレームを生成して送信さ
せる(S7)。
If it is determined in step S6 that there is data to be sent, a data frame for broadcast communication is generated and transmitted (S7).

【0085】そして、ステップS8に示すように、宛先
総数nを「3」、受信カウンタ値Cnを「0」、宛先ア
ドレス部10のアドレスを、B、C、Dにし、送信元ア
ドレス11をAにした同報通信の送信許可フレームF7
を送信する。
Then, as shown in step S8, the total number of destinations n is "3", the reception counter value Cn is "0", the addresses of the destination address section 10 are B, C, and D, and the source address 11 is A. Broadcast transmission permission frame F7
Send

【0086】<実施の形態2>図7は実施の形態2の概
略構成図である。実施の形態2にいては、主局aが送信
権付与手段1と、次回送信データ有り局判定手段2と、
子局送信頻度判定手段30とを備えている。
<Second Embodiment> FIG. 7 is a schematic configuration diagram of a second embodiment. In the second embodiment, the master station a includes a transmission right granting unit 1, a next transmission data existence station determining unit 2,
And a slave station transmission frequency determining means 30.

【0087】この主局aの子局送信頻度判定手段30
は、各子局を一巡してきた送信許可フレームFの送信元
アドレスの頻度を統計的に調査し、送信回数が極端に少
ない局に、数回毎に送信権を付与する。
The slave station transmission frequency determining means 30 of the master station a
, Statistically investigates the frequency of the source address of the transmission permission frame F that has cycled through each of the slave stations, and grants a transmission right to the station whose transmission number is extremely small every few times.

【0088】また、子局cの送信回数が極端に送信回数
が少ない場合は、宛先アドレス部10からアドレスCを
除去したアドレスB、Dのみの送信許可フレームFを伝
送路に数回毎に送出する。
When the number of transmissions of the slave station c is extremely small, the transmission permitting frame F including only the addresses B and D obtained by removing the address C from the destination address section 10 is transmitted to the transmission line every several times. I do.

【0089】従って、無駄な送信権の付与を極力省いて
いるので、伝送路の使用効率を高めることになる。
Accordingly, since the useless grant of the transmission right is minimized, the use efficiency of the transmission path is improved.

【0090】なお、上記実施の形態1、2では、接続形
態をリング型として説明したが、これに限らず例えばバ
ス型であってもよい。
In the first and second embodiments, the connection type is described as a ring type. However, the connection type is not limited to this and may be, for example, a bus type.

【0091】また、送信権の付与機能を主局としたが、
主局に限らずに子局側に与えるようにしてもよい。
Although the function of granting the transmission right is set as the main station,
The information may be provided not only to the master station but also to the slave station.

【0092】さらに、各子局が一回の送信権を得たとき
に送信できるデータ数は一個として説明したが、一個に
限らずに複数のデータを送信してもよい。
Further, although the number of data that can be transmitted when each slave station obtains one transmission right has been described as one, a plurality of data may be transmitted without being limited to one.

【0093】さらに、主局が巡回してきた送信許可フレ
ームを強制消滅するのは、上記の実施の形態では2巡後
としたが、データを送る子局が存在している場合はその
子局がデータを送出した巡回回数になったとき主局から
巡回させた送信許可フレームを削除してもよい。
Further, in the above-described embodiment, the transmission permission frame that the master station has circulated is forcibly deleted after two rounds. However, when there is a child station to which data is transmitted, the child station transmits the data. May be deleted when the number of times of transmission is reached.

【0094】[0094]

【発明の効果】以上のように本発明によれば、主局とさ
れた第1の局と従局とされた複数の第2の局とからなる
ネットワークシステムにおいて、第2の局が第1の局か
らの送信許可フレームを受信すると、次回に送るデータ
があるときは送信許可フレームのヘッダ部の所定領域
に、その第2の局が次回に送るデータが存在することを
示す所定の情報を書き込んで送信する。
As described above, according to the present invention, in a network system including a first station as a master station and a plurality of second stations as slave stations, the second station is a first station. When the transmission permission frame is received from the station, if there is data to be transmitted next time, predetermined information indicating that there is data to be transmitted next time by the second station is written in a predetermined area of the header portion of the transmission permission frame. To send.

【0095】第1の局は、第2の局からの送信許可フレ
ームを受信し、このフレームのヘッダ部に、送るデータ
がある第2の局が存在することが書き込まれているとき
は、その第2の局に対する送信許可フレームを送信す
る。
The first station receives the transmission permission frame from the second station, and if the header of the frame indicates that there is a second station having data to be transmitted, the first station receives the frame. The transmission permission frame for the second station is transmitted.

【0096】つまり、送るデータがある第2の局のみが
優先的に送信権を得るという効果が得られている。従っ
て、送信機会の多い局は、次の同報通信の送信許可フレ
ームの巡回を待たなくとも、かつ主局である第1の局を
介さなくとも、送信権が優先して与えられるので、伝送
路を効率的に使用できると共に、送信データの衝突が起
こらないという効果が得られている。
That is, the effect is obtained that only the second station having the data to be transmitted preferentially obtains the transmission right. Therefore, a station having many transmission opportunities is given priority in transmission without waiting for the next broadcast transmission permission frame to circulate and without passing through the first station which is the master station. As a result, the path can be used efficiently, and the collision of transmission data does not occur.

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

【図1】複数送信権付与方式を用いたネットワークシス
テムの概略構成図である。
FIG. 1 is a schematic configuration diagram of a network system using a multiple transmission right grant method.

【図2】送信許可フレームの構成を説明する説明図であ
る。
FIG. 2 is an explanatory diagram illustrating a configuration of a transmission permission frame.

【図3】局のハード構成を示す具体的な構成図である。FIG. 3 is a specific configuration diagram showing a hardware configuration of a station.

【図4】主局aの動作を説明するフローチャートであ
る。
FIG. 4 is a flowchart illustrating an operation of a master station a.

【図5】子局の動作を説明するフローチャートである。FIG. 5 is a flowchart illustrating an operation of a slave station.

【図6】主局a、子局における送信データの送出手順を
説明する説明図である。
FIG. 6 is an explanatory diagram for explaining a transmission procedure of transmission data in a main station a and a slave station.

【図7】実施の形態2の概略構成図である。FIG. 7 is a schematic configuration diagram of a second embodiment.

【符号の説明】[Explanation of symbols]

a 主局 b 子局 c 子局 d 子局 1 送信権付与手段 2 送信データ有り局判定手段 3 子局間通信処理手段 4 優先データ決定手段 8 宛先総数部 9 受信カウンタ部 10 宛先アドレス部 11 送信元アドレス部 16 アドレスデコーダ 19 データ処理部 20 送信バッファ 23 カウンタ管理部 24 宛先アドレス管理部 25 送信許可フレームバッファ a master station b slave station c slave station d slave station 1 transmission right grant means 2 transmission data existence station determination means 3 inter-slave station communication processing means 4 priority data determination means 8 destination total number section 9 reception counter section 10 destination address section 11 transmission Original address section 16 Address decoder 19 Data processing section 20 Transmission buffer 23 Counter management section 24 Destination address management section 25 Transmission permitted frame buffer

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 複数の局を伝送路で接続し、これらの局
の内でいずれかの第1の局が前記伝送路に接続された他
の複数の第2の局への送信権付与機能を備えて通信を行
うネットワークシステムであって、 前記第1の局は、 自局から前記複数の第2の局に対して、送信権を付与す
るときに、前記複数の第2の局を宛先アドレス部に書き
込んだ送信許可フレームを前記伝送路に送信し、 また、前記送信許可フレームを受信したとき、その送信
許可フレームのヘッダ部に所定の情報が残っている場合
は、前記受信した送信許可フレームをそのままの状態で
前記伝送路に送信し、 前記第2の局は、 前記送信許可フレームを受信し、送信データがある場合
は、送信データを送信し、さらに送信データがある場合
は、前記送信許可フレームのヘッダ部の所定の領域に、
自局に送信データがあることを示す所定の情報を書き込
んだ送信許可フレームを前記伝送路に送信し、また、送
信データがない場合及びさらなる送信データがない場合
は、前記受信した送信許可フレームのヘッダ部から自局
に係わる所定の情報を除いた送信許可フレームを前記伝
送路に送信することを特徴とする複数送信権付与方式の
ネットワークシステム。
1. A plurality of stations are connected by a transmission line, and a first station among these stations is provided with a transmission right grant function to a plurality of other second stations connected to the transmission line. A communication system comprising: a first station that, when granting a transmission right from the own station to the plurality of second stations, transmits the plurality of second stations to the plurality of second stations; The transmission permission frame written in the address portion is transmitted to the transmission path. When the transmission permission frame is received, and when predetermined information remains in a header portion of the transmission permission frame, the transmission permission frame is transmitted. The second station receives the transmission permission frame, transmits the transmission data if there is transmission data, and transmits the transmission data if there is further transmission data. Of the header part of the transmission permission frame The constant of the area,
A transmission permission frame in which predetermined information indicating that there is transmission data in the own station is transmitted to the transmission path.If there is no transmission data and there is no further transmission data, the transmission permission frame of the received transmission permission frame is transmitted. A transmission right granting network system, wherein a transmission permission frame excluding predetermined information relating to the own station from a header portion is transmitted to the transmission path.
【請求項2】 前記第1の局は、 自局から前記複数の第2の局に対して、送信権を付与す
るときに、前記複数の第2の局を宛先アドレス部に書き
込んだ送信許可フレームを前記伝送路に送信し、 前記送信許可フレームを受信したとき、その送信許可フ
レームの宛先アドレス部に前記第2の局の宛先が残って
いる場合は、前記受信した送信許可フレームをそのまま
の状態で前記伝送路に送信し、 前記第2の局は、 前記送信許可フレームを受信し、送信データがある場合
は、送信データを送信し、さらに送信データがある場合
は、前記送信許可フレームの宛先アドレス部の自局のア
ドレスをそのままにした送信許可フレームを前記伝送路
に送信し、さらなる送信データがない場合は、及び送信
データが一つもない場合は、前記受信した送信許可フレ
ームから自局の宛先を削除した送信許可フレームを前記
伝送路に送信することを特徴とする請求項1記載の複数
送信権付与方式のネットワークシステム。
2. The first station, when granting a transmission right from the own station to the plurality of second stations, writes the plurality of second stations in a destination address section and permits transmission. A frame is transmitted to the transmission path. When the transmission permission frame is received, if the destination of the second station remains in the destination address portion of the transmission permission frame, the received transmission permission frame is left as it is. The second station receives the transmission permission frame, transmits the transmission data if there is transmission data, and further transmits the transmission permission frame if there is transmission data. A transmission permission frame in which the address of the own station in the destination address section is left as it is is transmitted to the transmission path, and if there is no further transmission data, and if there is no transmission data, the received transmission permission frame is transmitted. Network systems in different transmission right grant scheme of claim 1, wherein the transmitting a transmission permission frame deleting the destination of its own station from frame to said transmission path.
【請求項3】 前記第1の局は、 前記第2の局から送信許可フレームを受信したとき、こ
の送信許可フレームの宛先アドレス部に前記第2の局の
いずれの宛先も残っていない場合は、新たに前記複数の
第2の局への送信許可フレームを生成して前記伝送路に
送信することを特徴とする請求項1又は2記載の複数送
信権付与方式のネットワークシステム。
3. The first station, when receiving a transmission permission frame from the second station, when no destination of the second station remains in a destination address portion of the transmission permission frame. 3. The network system according to claim 1, wherein a transmission permission frame for the plurality of second stations is newly generated and transmitted to the transmission path.
【請求項4】 前記第2の局は、 前記第1の局から前記送信許可フレームを受信したと
き、送るデータが複数有る場合は、それらのデータの優
先度を判断し、優先度が高いデータから順次送信するこ
とを特徴とする請求項1、2又は3記載の複数送信権付
与方式のネットワークシステム。
4. The second station, when receiving the transmission permission frame from the first station, when there are a plurality of data to be transmitted, determines a priority of those data, and determines a data having a higher priority. 4. The network system according to claim 1, wherein the transmission is sequentially performed from the transmission right.
【請求項5】 前記第1の局は、 前記複数の第2の局に対して送信権を付与するときは、
宛先総数部と受信カウンタ値部と宛先アドレス部と送信
元アドレス部とからなるヘッダ部と、送信許可コマンド
データ部とからなる前記送信許可フレームを生成して前
記伝送路に送信する送信権付与手段と、 前記送信許可フレームを受信したとき、該送信許可フレ
ームの宛先総数部を調べ、この宛先総数部に宛先総数が
存在しない場合は、新しい送信許可フレームを前記送信
権付与手段に生成させ、 また、前記宛先総数が存在する場合は、前記受信した送
信許可フレームを前記伝送路にそのまま送信し、 前記第2の局は、 前記第1の局から前記送信許可フレームを受信したと
き、送るデータがない場合、又はデータ送信後さらに送
るデータがない場合は、その送信許可フレームの宛先総
数及び受信カウンタ値を更新し、かつ自局のアドレスを
削除した送信許可フレームを伝送路に送信し、 また、データ送信後さらに送るデータがあるときは、そ
の送信許可フレームの内容を書き換えないで、そのまま
前記伝送路に送信する子局間通信処理手段とを有するこ
とを特徴とする請求項1、2、3又は4記載の複数送信
権付与方式のネットワークシステム。
5. The first station, when granting a transmission right to the plurality of second stations,
Transmission right granting means for generating the transmission permission frame including a header section including a destination total number section, a reception counter value section, a destination address section and a transmission source address section, and a transmission permission command data section, and transmitting the transmission permission frame to the transmission path. When the transmission permission frame is received, the total number of destinations of the transmission permission frame is checked, and if the total number of destinations does not exist in the total number of destinations, a new transmission permission frame is generated by the transmission right granting means. When the total number of destinations exists, the received transmission permission frame is transmitted to the transmission path as it is, and the second station, when receiving the transmission permission frame from the first station, If not, or if there is no more data to send after data transmission, update the total number of destinations and the reception counter value of the transmission-permitted frame, and A transmission permission frame from which the transmission permission frame is deleted, and if there is further data to be transmitted after the data transmission, the slave station communication processing means transmits the transmission permission frame to the transmission path without rewriting the contents of the transmission permission frame. 5. The network system according to claim 1, wherein the transmission right grant system comprises:
【請求項6】 前記第2の局は、 前記送信許可フレームを受信する毎に、前記送信データ
が複数存在するときは、それぞれの優先度を判断し、優
先度が高いデータから順に前記子局間通信処理手段に設
定する優先データ決定手段とを有することをことを特徴
とする請求項5記載の複数送信権付与方式のネットワー
クシステム。
6. The second station, each time the transmission permission frame is received, when there are a plurality of the transmission data, determines the priority of each of the transmission data, and determines the priority of the child station in descending order of the priority. 6. The network system according to claim 5, further comprising priority data determination means set in the inter-communication processing means.
【請求項7】 前記第2の局の子局間通信処理手段は、 前記データを送信するときは、宛先総数を更新すると共
に、宛先アドレスを前記データを送信する第1又は第2
の局のアドレスにし、かつ送信元アドレスを自局のアド
レスにしたフォーマット形式で送信することを特徴とす
る請求項6記載の複数送信権付与方式のネットワークシ
ステム。
7. The slave-station communication processing means of the second station, when transmitting the data, updates the total number of destinations and sets the destination address to the first or second one for transmitting the data.
7. The network system according to claim 6, wherein the transmission is performed in a format in which the address of the first station is set and the source address is set to the address of the own station.
【請求項8】 前記第1の局は、 前記送信許可フレームを受信する毎に、宛先アドレス部
に第2の局のアドレスが残っているかどうかで前記第2
の局の送信頻度を判定し、送信頻度が少ない第2の局に
対しては、所定回に一度の割合で前記複数の第2の局へ
の送信許可フレームを送信する子局送信頻度判定手段と
を有することを特徴とする請求項4記載の複数送信権付
与方式のネットワークシステム。
8. Each time the first station receives the transmission permission frame, the first station determines whether or not the address of the second station remains in the destination address section.
A sub-station transmission frequency determining means for determining a transmission frequency of the second station and transmitting a transmission permission frame to the plurality of second stations at a predetermined rate once for a second station having a low transmission frequency. 5. The network system according to claim 4, further comprising:
JP9200514A 1997-07-25 1997-07-25 Network system for system providing plural tokens Pending JPH1146204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9200514A JPH1146204A (en) 1997-07-25 1997-07-25 Network system for system providing plural tokens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9200514A JPH1146204A (en) 1997-07-25 1997-07-25 Network system for system providing plural tokens

Publications (1)

Publication Number Publication Date
JPH1146204A true JPH1146204A (en) 1999-02-16

Family

ID=16425587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9200514A Pending JPH1146204A (en) 1997-07-25 1997-07-25 Network system for system providing plural tokens

Country Status (1)

Country Link
JP (1) JPH1146204A (en)

Similar Documents

Publication Publication Date Title
JP4391316B2 (en) Media access control device for wireless LAN
US5590328A (en) Protocol parallel processing apparatus having a plurality of CPUs allocated to process hierarchical protocols
JPH0365704B2 (en)
KR920017403A (en) Transmission Access Authorization and Control Method and Ringbus Communication System
JPH02246444A (en) Data transmission mechanism and system therefor
JPH03129941A (en) Communication response control method
JPH06237257A (en) Local communication system
JPH1146204A (en) Network system for system providing plural tokens
US7200155B2 (en) Communication system capable of efficiently transmitting data from terminals to server
JP3163526B2 (en) LAN broadcast frame processing method and apparatus
JPH06326721A (en) Slot access method
CN115767736B (en) Continuous time frame reservation method and system based on hybrid TDMA wireless ad hoc network
JPH1028098A (en) Circuit access method
US6865630B2 (en) Apparatus and method of preventing congestion in message transmission system
JPH1155301A (en) Network system of priority node transmission right giving system
JPH06112875A (en) Satellite line multiple access system
JPS6223649A (en) Network system
JPH0311840A (en) Token passing communication system
JPH10262067A (en) Packet communication system
JPH0763162B2 (en) Slot access method
JPH1132065A (en) Transmission system and communication method for the same
JPH08149148A (en) Loop shaped serial communication procedure and loop shaped serial communication network
JPS60224358A (en) Distributed access control system of loop network
JPS5871751A (en) Controlling system for transmission right
JPH04355862A (en) Common resource contention preventing circuit