JPH0484531A - Communication system for local network system - Google Patents
Communication system for local network systemInfo
- Publication number
- JPH0484531A JPH0484531A JP19888690A JP19888690A JPH0484531A JP H0484531 A JPH0484531 A JP H0484531A JP 19888690 A JP19888690 A JP 19888690A JP 19888690 A JP19888690 A JP 19888690A JP H0484531 A JPH0484531 A JP H0484531A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- data
- transmission
- data transmission
- token
- 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
Links
Landscapes
- Dc Digital Transmission (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はローカルネットワークシステムの通信方式に関
し、特にトークンバス型のローカルネットワークで緊急
通信を行うためのローカルネットワークシステムの通信
方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication method for a local network system, and more particularly to a communication method for a local network system for performing emergency communication in a token bus type local network.
従来のバス型のローカルネットワークシステムの通信方
式で採用されている伝送制御方式では、バス」二にデー
タが存在しないことを確認して、新たなフレームを送信
するC8MA方式や、非同期に送信したフレームが他の
データ伝送装置で送信したフレームと衝突したことを検
知する機能を有するC8MA/CD方式が一般的である
。The transmission control methods adopted in the communication methods of conventional bus-type local network systems include the C8MA method, which transmits a new frame after confirming that there is no data on the bus, and the C8MA method, which transmits a new frame after confirming that no data exists on the bus, and the C8MA method, which transmits a new frame after confirming that no data exists on the bus. The C8MA/CD method, which has a function of detecting when a frame has collided with a frame transmitted by another data transmission device, is common.
しかしながら、C8MA方式やC8MA、/CD方式は
、フレームの衝突の発生を前提きしているために、一定
の限られたレスポンスタイムを必要とするネットワーク
システムでは、高負荷時の性能が悪くなって不適当であ
る。However, since the C8MA, C8MA, and /CD methods are based on the assumption that frame collisions will occur, performance under high loads deteriorates in network systems that require a certain limited response time. It's inappropriate.
このために、バス型のローカルネットワークシステムで
は、トークンフレームを受信したデータ伝送装置だけが
送信を許されるトークンフレームによる送信制御方式が
あり、この送信制御方式を用いたシステムをトークンバ
ス型のローカルネットワークシステムと呼んでいる。For this reason, in bus-type local network systems, there is a transmission control method using token frames in which only the data transmission device that has received the token frame is allowed to transmit. It's called a system.
上述した従来のローカルネットワークシステムの通信方
式は、緊急に送信したい場合でも、トークンフレームを
受信するまで送信できないので、複数のデータ伝送装置
間で一斉に同期を取って行う処理や、各データ伝送装置
に対する強制初期化処理などの緊急性を必要とする通信
が困難であるという欠点を有している。In the communication method of the conventional local network system described above, even if you want to send something urgently, you cannot send it until a token frame is received. The disadvantage is that it is difficult to perform communications that require urgency, such as forced initialization processing.
本発明の目的は、伝送路上に送信されているフレームが
あるときに、強制的に送信を行って衝突を発生させるこ
とにより、他の送信を中断させて、自己の緊急通信を行
わせ、トークンフレームを受信しなくても、直ちに緊急
通信を行うことができるローカルネットワークシステム
の通信方式を提供することにある。An object of the present invention is to forcibly transmit a frame when there is a frame being transmitted on a transmission path and cause a collision, thereby interrupting other transmissions and causing the user to perform his own emergency communication. An object of the present invention is to provide a communication method for a local network system that allows immediate emergency communication even without receiving a frame.
第1の発明のローカルネットワークシステムの通信方式
は、バス」二の伝送路と、前記伝送路に接続された複数
のデータ伝送装置とを備え、前記データ伝送装置のそれ
ぞれが、前記伝送路を介して相互にデータをフレーム単
位で伝送するとともに、同時伝送によるデータの衝突を
検出することができる機能を有するトークンバス型のロ
ーカルネットワークシステムの通信方式において、前記
データ伝送装置の一つは、前記伝送路上にフレームが伝
送されているときに、強制的に新たなフレームの送信を
行って、既に伝送中のフレームと衝突を発生させること
により、他の前記デー夕伝送装置の送信を中断させて、
自己の緊急通信を行い、その緊急通信の完了後にトーク
ンフレームを送信して送信権を放棄することにより構成
されている。A communication system for a local network system according to a first aspect of the present invention includes a transmission path of a bus and a plurality of data transmission devices connected to the transmission path, and each of the data transmission devices transmits data via the transmission path. In a communication method of a token bus type local network system that has a function of mutually transmitting data frame by frame and detecting data collision due to simultaneous transmission, one of the data transmission devices is When a frame is being transmitted on the road, forcibly transmitting a new frame and causing a collision with a frame already being transmitted, thereby interrupting the transmission of the other data transmission device,
It is configured by performing its own emergency communication and, after completing the emergency communication, transmitting a token frame and relinquishing the transmission right.
また、第2の発明のローカルネットワークシステムの通
信方式は、バス」二の伝送路と、前記伝送路に接続され
た複数のデータ伝送装置とを備え、これらのデータ伝送
装置のそれぞれが、前記伝送路を介して相互にデータを
フレーム単位で伝送するとともに、同時伝送によるデー
タの衝突を検出することができる機能を宵するトークン
バス型のローカルネットワークシステムの通信方式にお
いて、
(A)緊急通信を行う第1のデータ伝送装置が、トーク
ンフレームを受信していないときには、トークンフレー
ムを受信した第2のデータ伝送装置のフレームが、前記
伝送路上に伝送されているときに、強制的に新たなフレ
ームの送信を行って、既に伝送中のフレームと衝突を発
生させ、
(B)その衝突を検出した前記第2のデータ伝送装置が
、自己の送信を中断し、
(C)その送信の中断を検出した前記第1のデータ伝送
装置が、自己の緊急通信を行い、(D)その緊急通信の
完了後に、前記第1のデータ伝送装置が、トークンフレ
ームを送信して送信権を放棄する、
ことにより構成されている。Further, a communication system for a local network system according to a second aspect of the invention includes a transmission path of a bus and a plurality of data transmission devices connected to the transmission path, and each of these data transmission devices is connected to the transmission path. In the communication method of a token bus-type local network system that transmits data in frames to each other via a network and has a function that can detect collisions of data due to simultaneous transmission, (A) perform emergency communication. When the first data transmission device has not received a token frame and the frame of the second data transmission device that has received the token frame is being transmitted on the transmission path, a new frame is forcibly generated. (B) the second data transmission device that detects the collision interrupts its own transmission; (C) the second data transmission device detects the interruption of its transmission; The first data transmission device performs its own emergency communication, and (D) after the emergency communication is completed, the first data transmission device transmits a token frame and relinquishes the transmission right. has been done.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明を適用したローカルネットワークシステ
ムの一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a local network system to which the present invention is applied.
第1図に示すローカルネットワークシステムは、トーク
ンバス型であり、バス上の伝送路1と、その伝送路1に
接続された複数のデータ伝送装置2−1.2−2.・・
・・・・2−1.・・・・・・2−j。The local network system shown in FIG. 1 is of a token bus type, and includes a transmission path 1 on the bus and a plurality of data transmission devices 2-1, 2-2.・・・
...2-1. ...2-j.
・・・・・・2−Nとを備えている。...2-N.
そして、データ伝送装置2−1.2−2.・・・・・・
2−Nの中の任意の二つであるデータ伝送装置2−tと
2−jとは、伝送路1を介して相互にデータをフレーム
単位で伝送するとともに、同時伝送によるデータの衝突
を検出することができる機能を有している。And data transmission device 2-1.2-2.・・・・・・
Data transmission devices 2-t and 2-j, which are arbitrary two of data transmission devices 2-N, mutually transmit data in frame units via transmission path 1, and detect data collisions due to simultaneous transmission. It has the ability to
また、第2図は本実施例のデータ伝送装置2−iの一例
を示すブロック図である。Further, FIG. 2 is a block diagram showing an example of the data transmission device 2-i of this embodiment.
データ伝送装置2−iは、緊急通信を行いたい場合に、
第2図に示すように、受信制御部i−1でトークンフレ
ームを受信していなければ、制御部i−2の制御により
、伝送路1上に他のデータ伝送装置2−jでフレームが
伝送されているときに、送信制御部i−3により、強制
的に新たなフレームの送信を行って、既に伝送中のフレ
ームと衝突を発生させることにより、送信中の他のデー
タ伝送装置2−jのコリジヨン検出部j−4により、そ
の衝突を検出させて送信を中断させ、送信制御部i−3
により、自己の緊急通信を行い、その緊急通信の完了後
にトークンフレームを送信して送信権を放棄することが
できる。When the data transmission device 2-i wants to perform emergency communication,
As shown in FIG. 2, if the reception control unit i-1 does not receive the token frame, the frame is transmitted by another data transmission device 2-j on the transmission path 1 under the control of the control unit i-2. 2-j, the transmission control unit i-3 forcibly transmits a new frame and causes a collision with the frame already being transmitted, so that the other data transmission device 2-j that is currently transmitting The collision detection unit j-4 detects the collision and interrupts the transmission, and the transmission control unit i-3
This allows the user to perform his own emergency communication, and after completing the emergency communication, sends a token frame and relinquishes the transmission right.
以下に、データ伝送装置2−iと2−jとの通信を例に
して、本実施例のローカルネットワークシステムの通信
方式を詳細に説明する。The communication method of the local network system of this embodiment will be described in detail below, using communication between data transmission devices 2-i and 2-j as an example.
データ伝送装置2 +、2 Jは、ネットワーク」
二の他のデータ伝送装置と区別するために、ネットワー
ク」二のアドレスを有している。Data transmission device 2+, 2J is network"
In order to distinguish it from other data transmission devices, the network has an address of 'two'.
また、データ転送は、フレーム単位に行われ、各フレー
ムは、送信元のデータ伝送装置2−iのアドレスと、送
信先のデータ伝送装置2−jのアドレスと、トークンフ
レーム、応答フレーム。Further, data transfer is performed in units of frames, and each frame includes the address of the data transmission device 2-i that is the source, the address of the data transmission device 2-j that is the destination, a token frame, and a response frame.
データフレームの種類を区別するフレーム識別情報と、
伝送するデータと、伝送フレーム全体のチエツクサムで
あるFe2とを含んでいる。Frame identification information that distinguishes the type of data frame,
It includes the data to be transmitted and Fe2, which is a checksum of the entire transmission frame.
なお、トークンフレームは、あらかじめ定められた順序
に従い、ネットワーク上を伝送させている。Note that the token frames are transmitted over the network in a predetermined order.
データ伝送装置2−iにおける送信は、第2図の受信制
御部i−1でトークンフレームを受け、制御部i−2か
ら送信制御部i−3に対して送信指示を行うことにより
開始され、送信制御部f−3が、制御部i−2から送ら
れたフレームを伝送路1に送出することにより行ってい
る。Transmission in the data transmission device 2-i is started by receiving a token frame in the reception control unit i-1 in FIG. 2, and issuing a transmission instruction from the control unit i-2 to the transmission control unit i-3, The transmission control unit f-3 performs this by sending the frame sent from the control unit i-2 to the transmission path 1.
一方、データ伝送装置2−jにおける受信は、伝送路1
上を伝送されてくるフレームを受信制御部j−1で常時
受信しており、自局宛のフレームであれば、制御部j−
2へ送出し、自局宛のフレームでなければ廃棄すること
により行われている。On the other hand, reception at the data transmission device 2-j is performed through the transmission path 1.
The reception control unit j-1 always receives frames transmitted over the top, and if the frame is addressed to the own station, the control unit j-1
This is done by sending the frame to No. 2 and discarding the frame if it is not addressed to the local station.
また、データ伝送装置2−iの送信中に伝送路1上に他
のデータ伝送装置からフレームが同時に送信されて、衝
突が発生した場合には、コリジヨン検出部i−4は、制
御部i −2へ衝突を検出した旨を通知している。Further, if frames are simultaneously transmitted from another data transmission device on the transmission path 1 during transmission by the data transmission device 2-i and a collision occurs, the collision detection unit i-4 controls the control unit i- 2 is notified that a collision has been detected.
データ伝送装置2−iが通常のデータフレームを送信す
る場合には、自分宛のトークンフレームを受信すること
により開始する。自分宛のトークンフレームを受信して
、送信権を得ると、所望の送信先のデータ伝送装置2−
jのアドレスと、自局のデータ伝送装置2−iのアドレ
スと、データフレームを示すフレーム識別情報と、伝送
するデータと、チエツクサムのFe2とを含むデータフ
レームを伝送路1」ニへ送信する。When the data transmission device 2-i transmits a normal data frame, it starts by receiving a token frame addressed to itself. When receiving a token frame addressed to itself and obtaining transmission rights, the data transmission device 2-
A data frame including the address of the data transmission device 2-i, the address of the own data transmission device 2-i, frame identification information indicating the data frame, the data to be transmitted, and the checksum Fe2 is transmitted to the transmission line 1''.
なお、伝送路1上のすべてのデータ伝送装置が、常時、
伝送路1上のフレームを受信しており、自分宛のフレー
ムでなければ廃棄している。Note that all data transmission devices on transmission line 1 are always
It receives frames on transmission path 1, and discards them if they are not addressed to itself.
そこで、送信先のデータ伝送装置2−jは、自分宛のデ
ータフレームを受信すると、送信元のデータ伝送装置2
−iに対して、データフレームを受信した旨の通知をす
るために、データフレーム中の送信元のアドレスを取出
して応答フレームを構成し、送信元のデータ伝送装置2
−iに対して、その応答フレームを送信する。Therefore, when the destination data transmission device 2-j receives the data frame addressed to itself, it transmits the data frame to the source data transmission device 2-j.
- In order to notify i that the data frame has been received, the sender's address in the data frame is extracted and a response frame is constructed, and the sender's data transmission device 2
- Send the response frame to i.
送信元のデータ伝送装置2−iは、送信先のデータ伝送
装置2−jからの応答フレームを受信すると送信を完了
し、送信権を放棄するために、あらかじめ定められた順
序に従って、次のデータ伝送装置にトークンフレームを
送信する。Upon receiving the response frame from the destination data transmission device 2-j, the source data transmission device 2-i completes the transmission and transmits the next data in a predetermined order in order to relinquish the transmission right. Send a token frame to the transmission device.
次に、本実施例のデータ伝送装置2−iで、緊急通信を
行う場合について説明する。Next, a case where the data transmission device 2-i of this embodiment performs emergency communication will be described.
まず、緊急通信を行うデータ伝送装置2−iが、既にト
ークンフレームを受信しているときには、通常の送信動
作で緊急通信を行う。First, when the data transmission device 2-i that performs emergency communication has already received a token frame, it performs emergency communication using a normal transmission operation.
また、緊急通信を行うデータ伝送装置2−iが、未だト
ークンフレームを受信していないときで、データ伝送装
置2−jが、トークンフレームを受信しているときには
、データ伝送装置2−jは、自分宛のトークンフレーム
を受信すると、データ伝送装置2−に宛のデータフレー
ムを送信するので、データ伝送装置2−iは、伝送路1
上に送信されたデータフレームを受信し始めると、伝送
路1上へ強制的にフレームを送信して衝突を発生させる
。Further, when the data transmission device 2-i that performs emergency communication has not yet received the token frame and the data transmission device 2-j has received the token frame, the data transmission device 2-j When receiving the token frame addressed to itself, the data transmission device 2-i transmits the addressed data frame to the data transmission device 2-i.
When the data frame transmitted above starts to be received, the frame is forcibly transmitted onto the transmission path 1, causing a collision.
そこで、データ伝送装置2−jは、衝突の検出により、
緊急通信があることを知って送信を中止する。Therefore, by detecting the collision, the data transmission device 2-j
Stop sending when you know there is an emergency message.
一方、データ伝送装置2−iは、伝送路1上に送信され
るデータフレームがなくなったことを確認して、データ
伝送装置2−hへの緊急通信のデータフレームを送信し
、データ伝送装置2−hは、この緊急通信のデータフレ
ームを受信して、受信した旨の応答フレームをデータ伝
送装置2−iに返すので、データ伝送装置2−iは、そ
の応答フレームを受信して、緊急通信を完了する。On the other hand, the data transmission device 2-i confirms that there are no more data frames to be transmitted on the transmission path 1, and transmits an emergency communication data frame to the data transmission device 2-h. -h receives the data frame of this emergency communication and returns a response frame indicating that it has been received to the data transmission device 2-i, so the data transmission device 2-i receives the response frame and transmits the emergency communication. complete.
そして、データ伝送装置2−iは、送信権を放棄するた
めに、あらかじめ定められたデータ伝送装置に対して、
l−−クンフレームを送信する。Then, the data transmission device 2-i sends a message to a predetermined data transmission device in order to give up the transmission right.
l--Send a frame.
以上説明したように、本発明のローカルネットワークシ
ステムの通信方式は、伝送路上に送信されているフレー
ムがあるときに、強制的に送信を行って衝突を発生させ
ることにより、他の送信を中断させて、自己の緊急通信
を行わせ、トークンフレームを受信しなくても、直ちに
緊急通信を行うことができるという効果を有している。As explained above, the communication method of the local network system of the present invention forcibly transmits a frame when there is a frame being transmitted on the transmission path and causes a collision, thereby interrupting other transmissions. This has the effect that emergency communications can be made immediately without receiving a token frame.
■・・・・・・伝送路、2−1.2−2.〜2−1.〜
2−j、〜2−N・・・・・・データ伝送装置、j−1
・・・・・・受信制御部、i−2・・・・・・制御部、
i−3・・・・・・送信制御部、i−4・・・・・・コ
リジヨン検出部。■...Transmission line, 2-1.2-2. ~2-1. ~
2-j, ~2-N...Data transmission device, j-1
......Reception control unit, i-2...Control unit,
i-3...Transmission control unit, i-4...Collision detection unit.
Claims (1)
データ伝送装置とを備え、前記データ伝送装置のそれぞ
れが、前記伝送路を介して相互にデータをフレーム単位
で伝送するとともに、同時伝送によるデータの衝突を検
出することができる機能を有するトークンバス型のロー
カルネットワークシステムの通信方式において、前記デ
ータ伝送装置の一つは、前記伝送路上にフレームが伝送
されているときに、強制的に新たなフレームの送信を行
って、既に伝送中のフレームと衝突を発生させることに
より、他の前記データ伝送装置の送信を中断させて、自
己の緊急通信を行い、その緊急通信の完了後にトークン
フレームを送信して送信権を放棄することを特徴とする
ローカルネットワークシステムの通信方式。2、バス上
の伝送路と、前記伝送路に接続された複数のデータ伝送
装置とを備え、これらのデータ伝送装置のそれぞれが、
前記伝送路を介して相互にデータをフレーム単位で伝送
するとともに、同時伝送によるデータの衝突を検出する
ことができる機能を有するトークンバス型のローカルネ
ットワークシステムの通信方式において、 (A)緊急通信を行う第1のデータ伝送装置が、トーク
ンフレームを受信していないときには、トークンフレー
ムを受信した第2の データ伝送装置のフレームが、前記伝送路上に伝送され
ているときに、強制的に新たなフレームの送信を行って
、既に伝送中のフレームと衝突を発生させ、 (B)その衝突を検出した前記第2のデータ伝送装置が
、自己の送信を中断し、 (C)その送信の中断を検出した前記第1のデータ伝送
装置が、自己の緊急通信を行い、(D)その緊急通信の
完了後に、前記第1のデータ伝送装置が、トークンフレ
ームを送信して送信権を放棄する、 ことを特徴とするローカルネットワークシステムの通信
方式。[Claims] 1. A transmission path on a bus and a plurality of data transmission devices connected to the transmission path, each of the data transmission devices transmitting frames of data to each other via the transmission path. In a communication method of a token bus type local network system that has a function of transmitting data in units of units and detecting data collisions due to simultaneous transmission, one of the data transmission devices transmits frames on the transmission path. when the data transmission device is transmitting a new frame and causing a collision with the frame already being transmitted, thereby interrupting the transmission of the other data transmission device and performing its own emergency communication; A communication method for a local network system characterized by transmitting a token frame and relinquishing transmission rights after the emergency communication is completed. 2. A transmission path on a bus and a plurality of data transmission devices connected to the transmission path, and each of these data transmission devices:
In a communication method of a token bus type local network system that has a function of mutually transmitting data in frame units via the transmission path and detecting data collisions due to simultaneous transmission, (A) emergency communication. When the first data transmission device that transmits the token frame has not received the token frame, the frame of the second data transmission device that has received the token frame is forcibly transmitted to the transmission path, and a new frame is forcibly transmitted. (B) upon detecting the collision, the second data transmission device interrupts its own transmission; and (C) detects the interruption of the transmission. (D) After the emergency communication is completed, the first data transmission device transmits a token frame and relinquishes the transmission right. Communication method of local network system featuring characteristics.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19888690A JPH0484531A (en) | 1990-07-26 | 1990-07-26 | Communication system for local network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19888690A JPH0484531A (en) | 1990-07-26 | 1990-07-26 | Communication system for local network system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0484531A true JPH0484531A (en) | 1992-03-17 |
Family
ID=16398569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP19888690A Pending JPH0484531A (en) | 1990-07-26 | 1990-07-26 | Communication system for local network system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0484531A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06276578A (en) * | 1993-03-18 | 1994-09-30 | Honda Motor Co Ltd | Data transmission system for vehicle |
-
1990
- 1990-07-26 JP JP19888690A patent/JPH0484531A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06276578A (en) * | 1993-03-18 | 1994-09-30 | Honda Motor Co Ltd | Data transmission system for vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02228854A (en) | Data communication system and data communication method | |
JPH0484531A (en) | Communication system for local network system | |
JPS61210740A (en) | Emergency communicating control system for token bus type local network system | |
JP3341276B2 (en) | Communication control device | |
KR100460087B1 (en) | Method for controlling a data traffic each of task in data transmit and receive | |
JPS5811146B2 (en) | Communication method using polling emulator | |
JPH0575622A (en) | Emergency communication control system with priority | |
JP3623460B2 (en) | Data transmission method using Ethernet between compact control stations | |
JP2914722B2 (en) | Wireless packet alternate communication method | |
JPS6141246A (en) | Station number setting system of packet communication network | |
JPH05327734A (en) | Multi-address communication system | |
JPS6165557A (en) | Communication priority control method | |
JPH02217039A (en) | Poling/selecting control procedure system | |
JPH02295251A (en) | Emergency communication control system with priority of taken bus type local network system | |
JPS60117846A (en) | Data transmission system | |
JPH0683230B2 (en) | Load control device | |
JPH0355933A (en) | Token bus type local network system | |
JPH11154961A (en) | Communication system and polling control method in the communication system | |
JPH03207137A (en) | Local area network system | |
JPH06224919A (en) | Lan system | |
JPH0646069A (en) | Loopback test equipment | |
JPS63234649A (en) | Communication control method | |
JPH02239740A (en) | Emergency communication control system with priority in token bus type local network system | |
JPH0821934B2 (en) | Data transmission equipment | |
JPS63114336A (en) | Bus network priority control system |