JPH0149221B2 - - Google Patents
Info
- Publication number
- JPH0149221B2 JPH0149221B2 JP58238930A JP23893083A JPH0149221B2 JP H0149221 B2 JPH0149221 B2 JP H0149221B2 JP 58238930 A JP58238930 A JP 58238930A JP 23893083 A JP23893083 A JP 23893083A JP H0149221 B2 JPH0149221 B2 JP H0149221B2
- Authority
- JP
- Japan
- Prior art keywords
- station
- packet
- network
- master station
- stations
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
- 230000005540 biological transmission Effects 0.000 claims description 46
- 238000000034 method Methods 0.000 claims description 19
- 238000004891 communication Methods 0.000 description 24
- 230000005856 abnormality Effects 0.000 description 13
- 238000001514 detection method Methods 0.000 description 9
- 238000012423 maintenance Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000008034 disappearance Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/407—Bus networks with decentralised control
Landscapes
- Small-Scale Networks (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、パケツト通信手順の簡素化や迅速な
システム保全を可能とする計算機ネツトワークに
関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a computer network that enables simplified packet communication procedures and rapid system maintenance.
〔発明の技術的背景とその問題点〕
近時、オフイス・オートメーシヨン化の発展に
伴つて各種の交換機ネツトワークが開発されてい
る。しかしてこの種の交換機ネツトワークにあつ
ては、データをパケツト化して送信し、該パケツ
トの受信確認の応答を検出してそのデータ通信を
完了している。ところが、上記応答が得られない
場合には、通信相手局がビジー状態である為に該
パケツトを受信することができなかつたのか、或
いは電源オフ等の理由によつてネツトワークに参
加していない為に上記パケツトを受信しないのか
を判別することができず、この為通信元の局で
は、同じパケツトを何度も繰返して再送信してい
る。そして、或る所定回数のパケツト送信によつ
ても受信確認の応答が得られないとき、これを相
手先局の異常であると看做して、パケツト送信を
停止している。[Technical background of the invention and its problems] Recently, with the development of office automation, various switching networks have been developed. However, in this type of exchange network, data is sent as a packet, and the data communication is completed by detecting a response confirming receipt of the packet. However, if the above response is not obtained, the communication partner station may be unable to receive the packet because it is busy, or it may not be participating in the network due to the power being turned off, etc. Therefore, it is not possible to determine whether the packet is not received or not, and therefore the communication source station repeatedly retransmits the same packet. When a reception confirmation response is not obtained even after a predetermined number of packet transmissions, this is regarded as an abnormality in the destination station, and packet transmission is stopped.
またこのような異常検出方式にあつては、偶然
その局にパケツトを送信した局しか異常を検出す
ることができないので、従来特殊なモニタ局を設
け、このモニタ局にて一定期間毎にネツトワーク
の各局に対して異常検出を行うことがなされてい
る。然し作ら、このような特殊なモニタ局を設け
ることは不経済であり、モニタ局が異常を検出す
る迄、その異常に対処することができないと云う
不具合があつた。この為、前述したパケツトの再
送信を繰返すことが多くあり、ネツトワーク効率
の低下、およびネツトワークの無駄な占有を招い
ていた。 In addition, with this type of abnormality detection method, only the station that accidentally sent a packet to that station can detect an abnormality, so conventionally a special monitor station is set up, and this monitor station monitors the network at regular intervals. Anomaly detection is performed for each station. However, it is uneconomical to create and provide such a special monitor station, and there is a problem in that it is not possible to deal with an abnormality until the monitor station detects the abnormality. For this reason, the above-mentioned retransmission of packets is often repeated, resulting in a decrease in network efficiency and wasteful occupation of the network.
本発明はこのような事情を考慮してなされたも
ので、その目的とするところは、ネツトワークを
構成する各局の異常が不参加等を上記各局がそれ
ぞれ知ることができ、これによつてパケツト通信
手順の簡素化や迅速なシステム保全を図り得る計
算機ネツトワークを提供することにある。
The present invention has been made in consideration of the above circumstances, and its purpose is to enable each of the stations making up the network to be aware of abnormalities such as non-participation, etc., thereby preventing packet communication. The objective is to provide a computer network that can simplify procedures and speed up system maintenance.
本発明は親局が発生するフレームヘツダに従つ
て、複数の子局が順にパケツトを送信するに際
し、各子局は送信データや無いときにはダミーパ
ケツトを送信し、且つ親局は所定のタイムアウト
期間内にパケツトが送信されないときには、その
子局がネツトワークに参加していないとして代理
パケツトを送信するようにしたものであり、この
際各局においては、通信パケツトのヘツダの種別
を判定して、その局がネツトワークに参加してい
るか否かをそれぞれ判定するようにしたものであ
る。
In the present invention, when a plurality of slave stations sequentially transmit packets according to a frame header generated by a master station, each slave station transmits transmission data or a dummy packet when there is no data, and the master station transmits packets within a predetermined timeout period. If the slave station is not sent, it is assumed that the slave station is not participating in the network and a proxy packet is sent.At this time, each station determines the type of the header of the communication packet and determines whether the station is connected to the network. It is designed to determine whether or not each participant is participating in the event.
かくして本発明によれば、ネツトワークに参加
している局は、伝送路上の通信パケツトのヘツダ
から、そのパケツトが通常のデータパケツトか、
フレームヘツダパケツトか、ダミーパケツトか、
或いは代理パケツトであるかを判定し、代理パケ
ツトである場合にはそのスロツトの局がネツトワ
ーク不参加であると判定することができる。従つ
てこの不参加局への送信データを有する場合に
は、そのパケツト送信を速やかに中止してパケツ
ト通信手順の簡素化を図ることができる。また各
局が、それぞれ不参加局を検出できるので、不参
加理由を解消するべく回復作業を迅速に行つて、
システム保全を容易ならしめる等の実用上絶大な
る効果が奏せられる。
Thus, according to the present invention, a station participating in the network can determine from the header of a communication packet on the transmission path whether the packet is a normal data packet or not.
Is it a frame header packet or a dummy packet?
Alternatively, it is possible to determine whether the packet is a proxy packet, and if it is a proxy packet, it can be determined that the station in that slot is not participating in the network. Therefore, if there is data to be transmitted to this non-participating station, the packet transmission can be immediately stopped, thereby simplifying the packet communication procedure. In addition, each station can detect non-participating stations, so they can quickly perform recovery work to resolve the reason for non-participating.
This has great practical effects, such as making system maintenance easier.
以下、図面を参照して本発明の一実施例につき
説明する。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.
本発明に係る計算機ネツトワークは、伝送路を
同軸ケーブルを用いて構成する場合、第1図に示
すように複数の局11,12〜1oをバス2に接続
してバス形とし、また伝送路を光フアイバを用い
て構成する場合には、第2図に示すように複数の
局11,12〜1oをスターカツプラ3に接続した
スター形として構成される。これらの各局は、そ
れぞれ親局として働き得る機能を備え、或る1つ
の局が親局となつた場合には、残りの局はそれぞ
れ子局となるように、該親局と子局の機能を併せ
持つた構成を有する。 In the computer network according to the present invention, when the transmission path is configured using coaxial cables, a plurality of stations 1 1 , 1 2 to 1 o are connected to a bus 2 to form a bus type as shown in FIG. When the transmission line is constructed using optical fibers, it is constructed in a star configuration in which a plurality of stations 1 1 , 1 2 to 1 o are connected to a star coupler 3, as shown in FIG. Each of these stations has a function that can act as a master station, and the functions of the master station and slave stations are adjusted so that when one station becomes the master station, the remaining stations become slave stations. It has a configuration that combines the following.
しかして、この種のネツトワークにおいて、信
頼性と実時間性を備えることは非常に重要であ
り、次のようにして、その目的を達成している。 Therefore, it is very important to provide reliability and real-time performance in this type of network, and this purpose is achieved in the following manner.
実時間性とは、送信パケツトを有する局が、或
る一定期間以内に必ず送信権(伝送路使用権)を
確保し得ることを意味し、例えばプロセス制御分
野等にあつて、定期的に複数の制御点におけるデ
ータを収集する機能を実現するとき等において、
非須の性能である。ちなみに従来にあつては、ト
ークン・パシング(Token、Passing)等の方式
が知られているが、本実施例では、インプリシツ
ト・トークン・パシング(Implicit Token
Passing)と名付けられる方式が採用される。 Real-time property means that a station that has a transmission packet can always secure the transmission right (transmission path usage right) within a certain period of time.For example, in the field of process control, etc. When implementing functions to collect data at control points, etc.
This is unparalleled performance. Incidentally, conventionally, methods such as token passing are known, but in this embodiment, implicit token passing is used.
A method called ``Passing'' is adopted.
この方式は、Tokenを順に送り、このToken
を保持した局がパケツトの送信権を確保すると云
うような従来方式とは異なり、複数の局に予めパ
ケツト送信の順序を定めておき、前の局がパケツ
ト送信を完了したときに、次の局では暗黙のうち
にTokenが渡されたと判断して自己パケツトの
送信動作を開始するようにしたものである。 This method sends Tokens in order, and this Token
Unlike the conventional method in which the station that holds the packet transmission right secures the right to transmit the packet, the order of packet transmission is determined in advance for multiple stations, and when the previous station completes packet transmission, the next station In this case, it is decided that the token has been passed implicitly, and the packet transmission operation starts.
このような方式の採用により、従来のトーク
ン・パシング方式で見られるように、トークンを
送る相とデータを送る相とにバスを交互に切換え
る必要がなくなるので、たとえ信号伝送の基本ク
ロツクが高くなつたとしても、伝送路の使用効率
が悪くなるようなことがなくなる。 Adopting this method eliminates the need to alternately switch the bus between the token sending phase and the data sending phase, as seen in conventional token passing methods, even if the basic clock for signal transmission is high. Even if the transmission path is used efficiently, the efficiency of using the transmission path will not deteriorate.
またネツトワークの信頼性については、大略的
に伝送路を受動素子のみで構成すること、および
ネツトワークを構成する全ての局を同じ構造とし
て均質化することによつて達成している。即ち、
伝送路を同軸ケーブルや光フアイバのみを用い
て、第1図または第2図に示すようにバス形、ス
ター形の構成としている。そして、この伝送路に
はリピータ等と称される再生装置(能動素子)は
一切用いないようにしている。そして、ネツトワ
ークを構成する局に関しては、前述したように全
ての局が親局となり得る機能を備え、そのうちの
1つの局のみが選択的に親局として働くようにし
ている。尚、親局は、親局としての機能と共に子
局としての機能を同時に呈することは云うまでも
ない。 The reliability of the network is achieved by generally configuring the transmission path only with passive elements, and by making all the stations that make up the network homogeneous by having the same structure. That is,
The transmission path uses only coaxial cables and optical fibers, and has a bus-shaped or star-shaped configuration as shown in FIG. 1 or 2. Furthermore, no reproduction device (active element) called a repeater or the like is used in this transmission path. As for the stations constituting the network, all the stations have the function of becoming a master station, as described above, and only one of them is designed to selectively work as a master station. It goes without saying that the master station simultaneously functions as a master station and as a slave station.
以上が、本発明に係る計算機ネツトワークの基
本的な概要である。 The above is the basic outline of the computer network according to the present invention.
第3図は本ネツトワークにおけるフレーム構成
を示すものである。ネツトワークを構成する複数
の局のうち、選択的に定められた親局はフレーム
ヘツダ(FH)と称されるパケツトを送信し、こ
のフレームヘツダの送信完了を検出して、複数の
子局が予め定められた順序で、順に前局のパケツ
ト送信の完了を検出してパケツトを送信このパケ
ツトの種類は、後述するように上記フレームヘツ
ダを含めて4種類準備されている。1つのパケツ
トは、例えば第4図に示すように1バイトのヘツ
ダ部、1バイトのデイステイネーシヨン(通信
先)アドレス部、1バイトのソース(送信先:自
局)アドレス部、1バイトのデータタイプ部、そ
して0〜2042バイトのデータ部と、2バイトの
CRCコード部とによつて構成される。前記ヘツ
ダ部は、その値が「0」であるとき、そのパケツ
トが前記親局が発生するフレームヘツダ(FH)
であることを示している。またヘツダ部の値が
「1」であるときには代理パケツト、「2」である
ときにはデータパケツト、「3」であるときには
ダミーパケツトであることを示している。 Figure 3 shows the frame structure of this network. Among the multiple stations that make up the network, a selectively determined master station transmits a packet called a frame header (FH), detects the completion of transmission of this frame header, and transmits a predetermined packet to multiple slave stations. In this order, the completion of packet transmission from the previous station is detected and the packets are transmitted.As will be described later, four types of packets are prepared, including the above-mentioned frame header. For example, one packet consists of a 1-byte header section, a 1-byte destination (communication destination) address section, a 1-byte source (destination: own station) address section, and a 1-byte source address section, as shown in Figure 4. data type part, data part of 0 to 2042 bytes, and 2 bytes of
It consists of a CRC code part. When the value of the header section is "0", the packet is a frame header (FH) generated by the master station.
It shows that. Further, when the value of the header part is "1", it is a proxy packet, when it is "2", it is a data packet, and when it is "3", it is a dummy packet.
代理パケツトは、前記子局が何らかの理由によ
つてパケツト送信を行わないとき、例えば故障、
保守、電源オフ等によつてネツトワークに不参加
状態にあるとき、この子局に代つて前記親局が代
りに発生するパケツトである。またデータパケツ
トは、子局が本来の形式に則つて送信データ部を
パケツト化して送信するものであり、この場合デ
ータ部の長さはその送信データ量に応じて0〜
2042バイトの範囲で可変される。更にダミーパケ
ツトは、ネツトワークに参加している局が、その
時点で送信データを持たないとき、上記データパ
ケツトに代えて送信するものであり、この場合前
記データ部は0バイトに設定されて、その冗長が
最小限に抑えられる。 Proxy packets are used when the slave station does not transmit packets for some reason, such as failure,
These packets are generated by the master station in place of the slave station when the slave station is not participating in the network due to maintenance, power off, or the like. In addition, a data packet is a packet that a slave station transmits by converting the transmission data part into a packet according to the original format, and in this case, the length of the data part varies from 0 to 100 depending on the amount of data to be transmitted.
Variable within the range of 2042 bytes. Furthermore, dummy packets are sent in place of the above-mentioned data packets when a station participating in the network does not have any data to send at that time. is minimized.
また前記データタイプは、そのパケツトが優先
パケツトか、非優先パケツトか等を区別するもの
であり、通信先の局ではこのデータタイプと、現
処理中の状態とを比較して、通信パケツトの取込
みを制御する。尚、CRCコードは、通信パケツ
トのデータ誤り検出に用いられるものであること
は云うまでもない。 In addition, the data type distinguishes whether the packet is a priority packet or a non-priority packet, and the communication destination station compares this data type with the current processing status and determines whether to capture the communication packet. control. It goes without saying that the CRC code is used to detect data errors in communication packets.
第5図は、本ネツトワークにおける各局の親局
設定への試行手順と、パケツト送信の手順を概略
的に示したものである。この図を参照して、本ネ
ツトワークの動作につき説明する。 FIG. 5 schematically shows the procedure for attempting to set up a master station for each station in this network and the procedure for transmitting packets. The operation of this network will be explained with reference to this figure.
先ず親局の設定手順について説明する。親局の
設定が行われるケースは、典型的な例として3種
類ある。その1つは、ネツトワークを構成する複
数の局が1つづつ電源を投入し、順にネツトワー
クに参加する場合、2つ目は複数の局が同時に電
源投入を行つてネツトワークに参加する場合、3
つ目は親局が何らかの理由によつてネツトワーク
から離脱し、残つた局の中から改めて親局を選ぶ
場合である。しかして、複数の局が順にネツトワ
ークに参加する場合、ネツトワークに参加した局
はそれぞれ伝送路上のキヤリアを検出する。尚、
このキヤリア検出は、第3図に示すスロツト間隔
よりも十分に長い時間に亘つて行われる。このと
き、最初の局は、キヤリアが検出されないことか
らフレームヘツダを送信して親局設定の試行を行
うが、2番目以降に参加した局は、最初に参加し
た局によるキヤリアを検出するので、順に局子と
なる。前記最初にネツトワークに参加した局は、
フレームヘツダの送信後、そのスロツト期間内に
おける上記フレームヘツダの戻りを検出して、伝
送路が正常であることを確認したのち、フレーム
ヘツダの伝送路上における衝突が発生しないこと
を確認した上で親局となる。尚、上記タイムスロ
ツト期間における自己パケツトの戻りチエツク
は、前述したように伝送路が受動素子で構成さ
れ、送信パケツトが必ず自局に折返してくること
を利用して行われるものである。仮りに、バス2
まで、あるいはスターカツプラ3までの伝送路上
の送信側、または受信側に断線が存在すると、当
然のことながら自己パケツトの戻りがなくなる。
この場合には、速やかに電源をオフする等し、そ
の状況をオペレータに通知する等して復旧にあた
る。 First, the procedure for setting the master station will be explained. There are three typical cases in which the master station is set. The first is when multiple stations that make up the network turn on their power one by one and join the network one after the other, and the second is when multiple stations turn on their power at the same time and join the network. ,3
The second case is when the master station leaves the network for some reason and selects a new master station from among the remaining stations. Thus, when a plurality of stations join the network one after another, each station that joins the network detects a carrier on the transmission path. still,
This carrier detection is performed for a sufficiently longer period of time than the slot interval shown in FIG. At this time, the first station sends a frame header and attempts to set up a master station because no carrier is detected, but the stations that join from the second station onwards detect the carrier of the station that joined first, so they Becomes a station child. The first station to join the network is
After transmitting the frame header, it detects the return of the frame header within the slot period, confirms that the transmission path is normal, and then becomes the master station after confirming that no collision occurs on the frame header transmission path. . Note that the self-packet return check during the time slot period is performed by taking advantage of the fact that the transmission path is composed of passive elements, as described above, and that transmitted packets are always returned to the local station. For example, bus 2
If there is a disconnection on the transmitting side or the receiving side on the transmission path up to the star coupler 3, as a matter of course, the self-packet will not be returned.
In this case, recovery efforts include quickly turning off the power and notifying the operator of the situation.
ところで、前記2番目のケースとして、最初に
複数の局が同時にネツトワークに参加した場合、
これらの各局は伝送路にキヤリアが存在しないこ
とから、それぞれフレームヘツダを送信すること
になる。従つて、これらの各局からのフレームヘ
ツダは伝送路上において衝突する。前記衝突検出
は、このようなフレームヘツダの衝突を検出する
もので、これによつて各局は、自局以外に親局設
定の試行を行つている局が存在することを知る。
しかして、この衝突検出時には、各局はそれぞれ
所定のバツクオフ時間の経過の後、改めて前記キ
ヤリア検出からの手順を繰返す。上記バツクオフ
時間は、各局毎にそれぞれ定められた相互に異な
る時間からなり、例えば、各局に対して予め定め
られたパケツトの送信順位(スロツト番号:N)
に基づいて、
N×(一定時間)
として設定されている。従つて、前記各局は、そ
のスロツト番号に対応したバツクオフ時間を経た
のち、順に親局設定の試行を行うことになるの
で、ここではタイムスロツト番号の若い局が最初
に親局設定の試行を行うことになる。そして、こ
のときには他の局は、未だ親局設定の試行を開始
していないことから、上記タイムスロツト番号の
若い局が親局となることになる。このようにし
て、1つの局が親局となり、この親局が発生する
フレームヘツダに従つて、複数の局が順に前局の
パケツト送信の完了を検出してパケツトの送信を
行うことになる。 By the way, in the second case, when multiple stations join the network at the same time,
Since there is no carrier on the transmission path, each of these stations transmits a frame header. Therefore, frame headers from these stations collide on the transmission path. The collision detection is to detect such a collision of frame headers, and thereby each station knows that there is a station other than the own station that is attempting to establish a master station.
When this collision is detected, each station repeats the procedure starting from the carrier detection after a predetermined backoff time has elapsed. The above-mentioned backoff time consists of mutually different times determined for each station, for example, the packet transmission order (slot number: N) determined in advance for each station.
Based on this, it is set as N x (certain time). Therefore, each station will try to set up a master station in order after the backoff time corresponding to its slot number has elapsed, so here, the station with the lowest time slot number will try to set up a master station first. It turns out. At this time, since the other stations have not yet started attempting to set up a master station, the station with the smaller time slot number becomes the master station. In this way, one station becomes a master station, and a plurality of stations sequentially detect the completion of packet transmission of the previous station and transmit packets according to the frame header generated by this master station.
また、上記の如くして設定された親局がネツト
ワークから離脱した場合、親局からのフレームヘ
ツダがなくなるので、各局はパケツトを送信しな
くなる。これによつて伝送路上のキヤリアが長時
間に亘つて無くなるので、子局となつていた各局
はそれぞれ親局の消滅を検知し、それぞれ前述し
た所定のバツクオフ時間を経過したのちに、前述
した親局設定の試行を行うことになる。この場合
にあつても、最もスロツト番号の若い局が最初に
親局設定の試行を行うことになるので、上述した
2番目の例と同様に上記スロツト番号の若い局が
親局となり、他の局は再び子局となる。 Further, when the master station set as described above leaves the network, the frame header from the master station disappears, so each station stops transmitting packets. As a result, the carrier on the transmission path disappears for a long time, so each station that was a slave station detects the disappearance of the master station, and after the predetermined back-off time described above has elapsed, A trial will be made to set up the station. Even in this case, the station with the lowest slot number will first attempt to set up the master station, so as in the second example above, the station with the lowest slot number will become the master station, and the other stations will The station becomes a slave station again.
このようにして本ネツトワークにあつては、ネ
ツトワークを構成する複数の局のうちのいずれか
が、そのネツトワークの状況に応じて親局とな
る。そして、この親局の設定と同時にフレームヘ
ツダを送信してネツトワーク全体を管理すること
になる。しかも、前述したように、伝送路上にキ
ヤリアが存在しなくなつた場合、各局が速やかに
親局設定の試行をそれぞれ行つて親局を定めるの
で、親局の消滅期間を十分に短く抑えることがで
きる。 In this way, in this network, one of the multiple stations that make up the network becomes the master station depending on the situation of the network. At the same time as the master station is set up, the frame header is transmitted to manage the entire network. Furthermore, as mentioned above, if a carrier no longer exists on the transmission path, each station quickly attempts to set up a master station and determines the master station, making it possible to keep the period during which the master station disappears sufficiently short. can.
ちなみに従来にあつては、1フレーム中に1個
所しかないフレームヘツダの存在を検出した上で
親局の不在を判定しているので、親局の不在時点
から1フレーム時間以上の経過がなければその判
定ができなかつた。然し乍ら、本ネツトワークに
よれば、後述するように最大タイムスロツト間隔
の経過だけで親局の不在を判定できることになる
ので、その効果は絶大である。 By the way, conventionally, the absence of a master station is determined by detecting the presence of a frame header in only one place in one frame, so if more than one frame time has not elapsed since the time when the master station was absent, the I couldn't make a judgment. However, according to this network, the absence of a master station can be determined only by the elapse of the maximum time slot interval, as will be described later, and its effectiveness is enormous.
以上、親局の設定手順について説明した。しか
して、このようにして親局が設定されたのちには
次のようにして各局のパケツト送信が行われる。
親局がフレームヘツダを送信すると、ネツトワー
クを構成する各局は、その通信パケツトのヘツダ
部をチエツクしており、フレームヘツダであるこ
とを判別する。このフレームヘツダを検出してス
ロツトカウンタを初期化し、該カウンタをパケツ
ト送信によるキヤリアを検出する都度インクリメ
ントする。この場合、通信パケツトのキヤリアで
スロツトをカウントするので、仮りに上記パケツ
トにノイズが混入してエラーパケツトとなつたと
しても、スロツトのカウント動作は正常に行われ
る。そして、このスロツトカウント値に基づいて
自局のスロツトを判定し、前局のパケツト送信の
完了(キヤリアの一時消失)を検出してパケツト
の送信を行う。このとき局は、自己局が送信デー
タを有するか否かに応じて、送信データを有する
場合には前記第4図に示す如きパケツトを組立て
て送信し、また送信データが無いときには前記デ
ータ部が0バイトのダミーパケツトを組立てて送
信している。尚、親局は、1つの局としてデータ
をパケツト化して、その定められたスロツトに送
信すると共に、前記スロツトカウンタが所定値に
達したとき、フレームヘツダパケツトを構成し
て、これを送信している。 The procedure for setting the master station has been described above. After the master station is set in this manner, each station transmits packets as follows.
When the master station transmits a frame header, each station making up the network checks the header part of the communication packet and determines that it is a frame header. This frame header is detected and a slot counter is initialized, and the counter is incremented each time a carrier is detected by packet transmission. In this case, since the slots are counted using the carrier of the communication packet, even if the packet becomes an error packet due to noise being mixed in, the slot counting operation will be performed normally. Then, based on this slot count value, the slot of the own station is determined, and the completion of the packet transmission of the previous station (temporary disappearance of the carrier) is detected, and the packet is transmitted. At this time, depending on whether or not the station has transmission data, the station assembles and transmits a packet as shown in FIG. 4 if it has transmission data, and if it does not have transmission data, the data section A 0-byte dummy packet is assembled and sent. The master station, as one station, packetizes data and transmits it to its designated slot, and when the slot counter reaches a predetermined value, it composes a frame header packet and sends it to the packet. Sending.
尚、上記の如くして各局がパケツトを送信する
都度、これらの各局は、自己パケツトがそのスロ
ツト期間内に自己に戻つてくるか否かを判定し
て、それぞれ伝送路の状態を監視していることは
云うまでもない。そして、自己パケツトの戻りが
ない場合には、伝送路の断線等の事故が発生して
いると判定している。 Furthermore, each time each station transmits a packet as described above, each station determines whether or not its own packet returns to itself within the slot period, and monitors the state of the transmission path. Needless to say, there are. If there is no return of the own packet, it is determined that an accident such as a disconnection of the transmission line has occurred.
ところで、ネツトワークを構成する全ての局が
該ネツトワークに参加している場合、上述したよ
うに親局が発生するフレームヘツダに従つて上記
各局が順にパケツトを送信するが、電源オフ等に
よつてネツトワークに不参加の局が存在する場
合、スロツトの順番がその局になつても、該局か
らパケツトが送信されることはない。このような
場合、該局に続く局がキヤリア検出によるスロツ
トカウンタのインクリメントを行えないことか
ら、パケツト通信が中断する虞れがある。そこで
このような場合には、前記親局は、キヤリアが一
時的に消失するフレーム間隔(アイドル期間)の
検出を行い、一定期間以上のアイドルが続く場合
には、そのスロツトの局がネツトワークに不参加
である看做して、上記局に代つて代理パケツトを
送出している。このアイドル期間検出の時間は、
ネツトワークにおける任意の局間における最大伝
播遅延時間に比して十分に長く設定される。これ
によつて親局が代理パケツトを送信したのちに、
伝播遅延の最も長い局からのパケツトが親局に到
達してパケツトの衝突が生じると云うような不具
合が未然に防がれている。 By the way, when all the stations that make up a network participate in the network, each of the stations transmits packets in order according to the frame header generated by the master station as described above, but when the power is turned off, etc. If there is a non-participating station in the network, no packets will be transmitted from that station even if the slot becomes that station's turn. In such a case, the station following the station will not be able to increment the slot counter due to carrier detection, so there is a risk that packet communication will be interrupted. Therefore, in such a case, the master station detects the frame interval (idle period) at which the carrier is temporarily lost, and if the idle period continues for a certain period or more, the station in that slot joins the network. Assuming that the station is not participating, it sends out a proxy packet on behalf of the station. The time for this idle period detection is
It is set to be sufficiently long compared to the maximum propagation delay time between any stations in the network. As a result, after the master station sends a proxy packet,
This prevents problems such as packet collisions occurring when packets from the station with the longest propagation delay reach the master station.
このようにしてアイドル期間の検出を行い、親
局から代理パケツトを送信する場合に、前述した
ダミーパケツトがシステムに対して有効な役割り
を果す。即ち、ダミーパケツトを用いない場合に
は、データパケツトが送信されないことから、そ
の都度上記アイドル期間の検出を行つて代理パケ
ツトを送信する必要が生じる。この場合、システ
ム的には支障を招くことはないが、前述したよう
にアイドル期間検出はネツトワークの最大伝播遅
延時間以上に亘つて行われる。この為、パケツト
間隔が必然的に長くなることが否めず、フレーム
全体に占める割合が大きくなる。このことはネツ
トワーク効率の低下を意味する。 When an idle period is detected in this manner and a proxy packet is transmitted from the master station, the above-mentioned dummy packet plays an effective role in the system. That is, if a dummy packet is not used, no data packet is transmitted, so it is necessary to detect the idle period and transmit a proxy packet each time. In this case, there is no problem in terms of the system, but as described above, idle period detection is performed for longer than the maximum propagation delay time of the network. For this reason, it is undeniable that the packet interval inevitably becomes longer, and the proportion of the entire frame increases. This means a decrease in network efficiency.
この点、前述したダミーパケツトを用いれば、
送信データが無い場合であつてもパケツト間隔が
通常と変りなく、従つて局がネツトワークに不参
加の場合にだけ前記アイドル期間検出を行つて代
理パケツトを送信すれば良いことになる。これ
故、送信データが無くても、これによるネツトワ
ーク効率の低下を招くことがない。 In this regard, if you use the dummy packet mentioned above,
Even when there is no data to be transmitted, the packet interval remains the same as normal, so it is only necessary to detect the idle period and transmit a proxy packet when the station does not participate in the network. Therefore, even if there is no data to be sent, this will not cause a decrease in network efficiency.
しかして、上述の如く順に送信されるパケツト
は、各局においてそれぞれチエツクされている。
このチエツクは、前記パケツトのデイステイネー
シヨンアドレスの識別による、通信パケツトが自
局宛のものか否かの判定、データタイプの識別に
よる優先度の判定等からなる。そして、通信パケ
ツトが自局宛のものである場合、上記優先度と自
己の状態に応じて通信パケツトの受信取込みが行
われる。また同時に各局は、通信パケツトが代理
パケツトであるか否かを識別しており、該通信パ
ケツトが代理パケツトである場合には、そのとき
のスロツトカウンタの値から、そのスロツトに対
応した局のネツトワーク不参加を検出している。
この代理パケツトの判定は、前述したヘツダ部の
情報に従つて行われることは云うまでもない。そ
して、ネツトワーク不参加の情報は、その局への
送信データがある場合、そのデータパケツト通信
を中止する等の制御情報として用いられる。従つ
て、ネツトワーク不参加の局へ、パケツト通信不
成立の情報に従つて何度も同じデータを再送する
ことがなくなり、通信手順の大幅な簡略化を図る
ことが可能となる。 Thus, the packets transmitted in order as described above are checked at each station.
This check consists of determining whether the communication packet is addressed to the local station by identifying the destination address of the packet, and determining the priority by identifying the data type. If the communication packet is addressed to the own station, the communication packet is received and captured according to the above-mentioned priority and the own status. At the same time, each station identifies whether or not the communication packet is a proxy packet. If the communication packet is a proxy packet, the station corresponding to the slot is determined based on the value of the slot counter at that time. Network non-participation is detected.
It goes without saying that this determination of the proxy packet is made in accordance with the information in the header section described above. The information on non-participation in the network is used as control information for stopping data packet communication, etc., if there is data to be transmitted to that station. Therefore, it is no longer necessary to repeatedly retransmit the same data to a station that does not participate in the network based on the information that packet communication has not been established, and it is possible to greatly simplify the communication procedure.
以上説明したように、本ネツトワークによれ
ば、ネツトワークを構成する複数の局の中で親局
を設定し、親局が発生するフレームヘツダに従つ
て各局が順にデータパケツト、或いはダミーパケ
ツトを送信し、且つ子局がネツトワーク不参加の
場合は親局が代理パケツトを送信する。そして、
これらのパケツト送信時には、各局がそれぞれそ
のスロツト期間内における自己パケツトの戻りを
検出して、伝送路の異常をそれぞれ分散して管理
し、また代理パケツトの検出を行つて送信手順の
簡略化を図つている。更には、このようにして順
に送信されるパケツトのパケツト間隔の異常から
親局の不在を速やかに検出した親局設定を遅帯な
く行うようにしている。 As explained above, according to this network, a master station is set among a plurality of stations making up the network, and each station sequentially transmits data packets or dummy packets according to the frame header generated by the master station. If the slave station does not participate in the network, the master station transmits a proxy packet. and,
When transmitting these packets, each station detects the return of its own packet within its slot period, manages abnormalities in the transmission path in a distributed manner, and also detects proxy packets to simplify the transmission procedure. It's on. Furthermore, in this way, the absence of a master station is quickly detected from an abnormality in the packet interval of sequentially transmitted packets, and the master station setting is performed without delay.
これ故、本ネツトワークによれば、効率の良い
システム運用を図り、そのネツトワーク効率の向
上を図ることが可能となる。また各局がそれぞれ
自己パケツトの戻りを検出して伝送路の異常を監
視しているので、伝送路の異常を有する局が例え
ばキヤリアが検出されないと云う理由だけからそ
のまま親局設定の試行を繰返して行い、正常なネ
ツトワークの通信を妨害するような不具合がな
い。またこの異常検出によつて、その回復措置を
速やかに講じることができるので、システム保全
性が高い等の効果が奏せられる。尚、自パケツト
のチエツクについては、ソースアドレスのチエツ
クや、CRCコードに基づく誤り検出等によつて
行えばよく、その異常判定も、例えば連続3回の
異常検出等として行えばよい。 Therefore, according to this network, it is possible to operate the system efficiently and improve the network efficiency. Furthermore, since each station detects the return of its own packets and monitors transmission path abnormalities, a station with a transmission path abnormality may, for example, repeat attempts to set up a master station just because the carrier is not detected. network, and there are no defects that would interfere with normal network communication. Further, by detecting this abnormality, recovery measures can be taken promptly, so that effects such as high system integrity can be achieved. Note that the check of the own packet may be performed by checking the source address, error detection based on the CRC code, etc., and the abnormality determination may also be performed, for example, by detecting abnormality three times in a row.
また本システムは、スロツト数を一定とするも
のではなく、ネツトワークを構成する複数の局に
スロツト番号を割当て、これらのスロツト番号に
従つて各局が動作するものであるので、任意の局
数からなるネツトワークを効率良く構築すること
ができ、また局数の変化にも十分に対処し得る等
の効果が奏せられる。 In addition, this system does not have a fixed number of slots, but instead assigns slot numbers to multiple stations that make up the network, and each station operates according to these slot numbers. It is possible to efficiently construct a network based on the network, and it is also possible to sufficiently cope with changes in the number of stations.
尚、本発明は上記実施例に限定されるものでは
ない。例えばネツトワークを構成する局の数や、
パケツトの構成等は仕様に応じて定めれば良い。
また各局におけるパケツト送信手順も、第5図に
示す例に限定されるものではない。その他、本発
明はその要旨を逸脱しない範囲で種種変形して実
施することができる。 Note that the present invention is not limited to the above embodiments. For example, the number of stations that make up the network,
The structure of the packet may be determined according to the specifications.
Furthermore, the packet transmission procedure at each station is not limited to the example shown in FIG. In addition, the present invention can be implemented with various modifications without departing from the gist thereof.
図は本発明の一実施例を示すもので、第1図お
よび第2図はそれぞれネツトワークの基本構成を
示す図、第3図はフレームの構成を示す図、第4
図はパケツトの構成を示す図、第5図は親局設定
の試行手順とパケツト送信の手順を示す図であ
る。
11,12〜1o……局、2……バス、3……ス
ターカツプラ。
The figures show one embodiment of the present invention, and FIGS. 1 and 2 respectively show the basic configuration of the network, FIG. 3 shows the frame structure, and FIG. 4 shows the basic configuration of the network.
The figure shows the structure of a packet, and FIG. 5 shows the procedure for attempting to set up a master station and the procedure for transmitting a packet. 1 1 , 1 2 ~ 1 o ... Station, 2 ... Bus, 3 ... Star Katsupura.
Claims (1)
する親局および複数の子局からなり、上記親局が
発生するフレームヘツダに従つて上記ネツトワー
クに参加した各局は予め定められた順序で順にデ
ータパケツトまたはダミーパケツトを送信すると
共に、ネツトワークに不参加の子局に対しては前
記親局がタイムアウトを検出して代理パケツトを
送信してなる計算機ネツトワークにおいて、前記
各局は送信パケツトのヘツダをチエツクし、該送
信パケツトが前記代理パケツトであるときにはそ
のタイムスロツトの局をネツトワークに不参加で
あると判定して少なくともパケツトの送信手順を
制御してなることを特徴とする計算機ネツトワー
ク。1. Consists of a master station and a plurality of slave stations that constitute a bus-type or star-type network, and each station that has joined the network sequentially sends data packets or dummy packets in a predetermined order according to the frame header generated by the master station. In a computer network in which the master station detects a timeout and transmits a proxy packet to a slave station that does not participate in the network, each station checks the header of the transmitted packet and A computer network characterized in that when a packet is the proxy packet, the station in that time slot is determined to be non-participating in the network, and at least the packet transmission procedure is controlled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58238930A JPS60130944A (en) | 1983-12-20 | 1983-12-20 | Network for computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58238930A JPS60130944A (en) | 1983-12-20 | 1983-12-20 | Network for computer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60130944A JPS60130944A (en) | 1985-07-12 |
JPH0149221B2 true JPH0149221B2 (en) | 1989-10-24 |
Family
ID=17037387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58238930A Granted JPS60130944A (en) | 1983-12-20 | 1983-12-20 | Network for computer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60130944A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0824294B2 (en) * | 1987-11-30 | 1996-03-06 | 三田工業株式会社 | Packet switched LAN |
JPH0824295B2 (en) * | 1987-11-30 | 1996-03-06 | 三田工業株式会社 | Packet switched LAN |
-
1983
- 1983-12-20 JP JP58238930A patent/JPS60130944A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS60130944A (en) | 1985-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0004376B1 (en) | Multiple access bus communications system | |
US4750109A (en) | Method and system for expediting multi-packet messages in a computer network | |
US5121382A (en) | Station-to-station full duplex communication in a communications network | |
AU633676B2 (en) | Station-to-station full duplex communication in a token ring area network | |
JPS5840384B2 (en) | Message transmission method | |
EP0074672B1 (en) | Asynchronous data bus system | |
JPH073978B2 (en) | Broadcast system | |
JPS6276840A (en) | node device | |
US4498168A (en) | Communication network and method for its use | |
US20020101874A1 (en) | Physical layer transparent transport information encapsulation methods and systems | |
KR19990033599A (en) | Local area network interface device and method | |
JPH0149221B2 (en) | ||
JPH0422056B2 (en) | ||
JPS61265937A (en) | Method for avoiding collision of call in local network | |
JPS60130942A (en) | Network for computer | |
JPH0669183B2 (en) | Computer network | |
JP3280852B2 (en) | Polling communication method | |
JPH0413898B2 (en) | ||
JP3780921B2 (en) | Ring network reception confirmation method and terminal device | |
JP2925679B2 (en) | Relay device | |
JPS59167149A (en) | local network system | |
JPS62183638A (en) | Broadcast communication control method in local area network | |
KR100374441B1 (en) | Relay unit between communication channels for a station and in particular an Ethernet network | |
Foh et al. | A novel and simple MAC protocol for high speed passive optical LANs | |
JP2886273B2 (en) | Communication control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |