JPH0383431A - Communication equipment for private communication network - Google Patents
Communication equipment for private communication networkInfo
- Publication number
- JPH0383431A JPH0383431A JP22059389A JP22059389A JPH0383431A JP H0383431 A JPH0383431 A JP H0383431A JP 22059389 A JP22059389 A JP 22059389A JP 22059389 A JP22059389 A JP 22059389A JP H0383431 A JPH0383431 A JP H0383431A
- Authority
- JP
- Japan
- Prior art keywords
- bus line
- transmission
- occupying right
- communication
- tank
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 50
- 230000005540 biological transmission Effects 0.000 claims abstract description 51
- 238000004904 shortening Methods 0.000 abstract 1
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000027311 M phase Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、構内通信網の通信装置に関するものであり、
特にイーサネット型の横内通信網に利用されるものであ
る。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a communication device for a local area communication network,
In particular, it is used for an Ethernet-type horizontal communication network.
[従来の技術]
従来、構内の情報通信を総括的に行うために、ローカル
・エリア・ネットワーク(LAN)と呼ばれる横内通信
網が普及している。特に、I EEE802 、3 [
X格に準拠するイーサネット(E tl+erneL)
型の横内通信網は、広く普及している。このイーサネッ
ト型の横内通信網は、ツイスト・ペア線や同軸ケーブル
のような2線式のバスラインに、ノードと呼ばれる通信
装置を複数個接続し、C8MA/CD(Carrier
5ence Multiple Access/Co
11ision Detection)方式でアクセス
を行う。[Prior Art] Conventionally, a local communication network called a local area network (LAN) has been widely used to comprehensively communicate information within a premises. In particular, IEEE802,3 [
Ethernet compliant with X rating (E tl+erneL)
This type of Yokonai communication network is widely used. This Ethernet-type Yokonai communication network connects multiple communication devices called nodes to a two-wire bus line such as a twisted pair wire or coaxial cable, and uses C8MA/CD (Carrier
5ence Multiple Access/Co
11ision Detection) method.
C3MA/CD方式では、送信元のノートがまずバスラ
インの状態をセンスし、バスライン上にパケットが送出
されていないことを確認してから自分のパケットを送出
する。もし、バスライン上にパケットがあれば、そのパ
ケットが送信し終わるまで待ってから自分のパケットを
送出する。そして、パケットの送出中も常にバスライン
をセンスし、自分が送出した信号と違う信号がバスライ
〉・上に現れるとパケットが壊されたと判断し、パケッ
トの再送を開始する。このとき、複数のノードが同時に
パケットの再送を開始すると、再び信号が衝突するので
、バスラインの専有槽を有するノードがパケットの再送
を開始する。この専有槽を予め獲得しておくために、送
信元のノードは、まず専有槽を獲得するための送信を行
い、次に相手先のノードを特定するための送信を行い、
続いてデータやコマンドの送信を行う、そして、通信が
終了すると、専有槽を放棄するための送信を行い、バス
ラインを他のノードに解放する。In the C3MA/CD method, the sending node first senses the state of the bus line, confirms that no packets are being sent out on the bus line, and then sends out its own packet. If there is a packet on the bus line, it waits until that packet has been transmitted before transmitting its own packet. It constantly senses the bus line even while sending a packet, and if a signal different from the one it sent appears on the bus line, it determines that the packet has been destroyed and starts retransmitting the packet. At this time, if a plurality of nodes start retransmitting packets at the same time, the signals will collide again, so the node that has an exclusive tank for the bus line will start retransmitting packets. In order to acquire this exclusive tank in advance, the sending node first sends a message to acquire the exclusive tank, and then sends a message to identify the destination node.
Next, data and commands are sent, and when the communication is completed, a message is sent to abandon the exclusive tank and the bus line is released to other nodes.
[発明が解決しようとする課題]
上述のようなイーサネット型の横内通信網は、例えばフ
ァイル転送を行う場合のように、1つのノードから一度
に送信されるデータ量が多く、且つ送信を行うノードの
数が少ない場合には、バスラインの専有槽を獲得するた
めの送信回数が少なくて済むので、伝送効率が高くなる
。一方、多数の店舗や事務所が入居しているビルで照明
負荷の監視制御を行う場合のように、1つのノードから
一度に送信されるデータ量が少なく、且つ送信を行うノ
ードの数が多い場合には、バスラインの専有槽を獲得す
るための送信回数が多くなるので、伝送効率が下がる。[Problems to be Solved by the Invention] In the above-mentioned Ethernet-type horizontal communication network, a large amount of data is transmitted at one time from one node, such as in the case of file transfer, and the transmitting node When the number of bus lines is small, the number of transmissions required to acquire a dedicated tank on the bus line is small, resulting in high transmission efficiency. On the other hand, when monitoring and controlling lighting loads in a building that houses many stores or offices, the amount of data transmitted from one node at a time is small and the number of nodes transmitting data is large. In this case, the number of transmissions required to acquire a dedicated tank on the bus line increases, resulting in a decrease in transmission efficiency.
そこで、−度バスラインの専有槽を獲得してデータ送信
を行ったノードは、その後一定の待機時間中は送信デー
タがあってもバスラインの専有槽を獲得するための送信
を差し控えることにより、バスラインの専有槽を獲得す
るための送信を行うノードの数を減らすことが好ましい
。ところが、始業時間や昼休みには同一のビル内で照明
負荷の状態が一斉に変化するので、−定の待機時間中に
全てのノードがバスラインの専有槽を獲得してデータ送
信を完了できるとは限らない。この場合、一方では何回
も続けてバスラインの専有槽を獲得できるノードが生じ
る半面、他方では1回もバスライ、ンの専有槽を獲得で
きないノードが生じ得る。Therefore, a node that has acquired a dedicated tank for a bus line and transmitted data will refrain from transmitting data to acquire a dedicated bus line for a certain waiting period, even if there is data to be sent. , it is preferable to reduce the number of nodes that perform transmission to acquire a dedicated tank on the bus line. However, since the lighting load conditions change all at once in the same building at the start of the work day or during lunch breaks, it is difficult to ensure that all nodes can acquire exclusive use of the bus line and complete data transmission during a certain waiting time. is not limited. In this case, on the one hand, there may be nodes that can acquire a dedicated tank for a bus line many times in a row, and on the other hand, there may be nodes that cannot acquire a dedicated tank for a bus line even once.
本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、バスラインの専有槽を獲得する
機会を均等化できる横内通信網の通信装置を提供するこ
とにある。The present invention has been made in view of these points, and its purpose is to provide a communication device for the Yokonai communication network that can equalize the chances of acquiring a dedicated bus line tank.
[課題を解決するための手段]
本発明にあっては、上記の課題を解決するために、第1
図に示すように、複数個の通信装置NN2.・・・、N
i、・・・、N j、・・・がバスラインBに接続さ
れ、バスラインBの専有槽を獲得した通信装置Niが通
信中はバスラインBを専有し、通信終了後はバスライン
Bを解放するような横内通信網の通信装置において、送
信データをバスラインB上に送り出す送信部11と、送
信部11を制御する送信制御部12と、送信データを一
時記憶するための送信メモリ13と、送信メモリ13に
送信データが存在するときにバスラインBの専有槽を獲
得するための制御を間欠的に行う専有槽獲得制御部14
と、専有槽獲得制御部14の動作間隔を時間経過と共に
短くする動作間隔制御部15とを有することを特徴とす
るものである。[Means for Solving the Problems] In the present invention, in order to solve the above problems, the first
As shown in the figure, a plurality of communication devices NN2. ..., N
i, . In a communication device for a Yokonai communication network that releases transmission data, a transmission unit 11 that sends transmission data onto a bus line B, a transmission control unit 12 that controls the transmission unit 11, and a transmission memory 13 that temporarily stores transmission data. and a dedicated tank acquisition control unit 14 that intermittently performs control to acquire a dedicated tank for bus line B when transmission data exists in the transmission memory 13.
and an operation interval control section 15 that shortens the operation interval of the exclusive tank acquisition control section 14 over time.
[作用]
本発明にあっては、このように、バスラインBの専有槽
を獲得するための制御を間欠的に行う専有槽獲得制御部
14を設け、この専有11獲得制御部14の動作間隔を
時間経過と共に短くする動作間隔制御部15を設けたか
ら、バスラインBの専有槽を獲得できない時間が長くな
るにつれて、バスラインBの専有槽を獲得するための制
御を行う頻度が増えることになる。したがって、1つの
通信装置が何度もバスラインBの専有槽を獲得して、他
の通信装置が一度もバスラインBの専有槽を獲得できな
いというような事態が生じることを防止でき、バスライ
ンBの専有槽を獲得する機会を各通信装置について均等
化することができるものである。[Function] According to the present invention, as described above, the exclusive tank acquisition control section 14 is provided which performs the control for acquiring the exclusive tank of the bus line B intermittently, and the operation interval of this exclusive 11 acquisition control section 14 is adjusted. Since the operation interval control unit 15 is provided to shorten the time interval as time passes, as the time during which a dedicated tank for bus line B cannot be obtained becomes longer, the frequency of control for obtaining a dedicated tank for bus line B increases. . Therefore, it is possible to prevent a situation in which one communication device acquires the exclusive tank of bus line B many times and another communication device is unable to acquire the exclusive tank of bus line B even once. This makes it possible to equalize the chances of acquiring the exclusive tank of B for each communication device.
[実施例〕
以下、本発明の実施例について図面を参照しながら説明
する。第1図(a)はイーサネット型の横内通信網の全
体構成を示している0図中、Bはバスラ・fンであり、
ツイスト・ベア線や同軸ケーブルのような2線式の伝送
線よりなる。N、、N2.・・・Ni、・・・、Nj、
・・・はノードと呼ばれる通信装置であり、バスライン
Bに接続されている。各通信装置Niは、送信器10と
受信器20及び衝突検出器30を備えている。送信元の
通信装置Niは受信器20によりバスラインBの状態を
センスし、バスラインB上にバゲッI・が送出されてい
ないことを確認すると、送信器10により自分のパケッ
トを送出する。もし、バスラインB上にパケットがあれ
ば、そのパケットが送信し終わるまで待ってから自分の
パケットを送出する。そして、バケ・ソトの送出中も常
にバスラインBをセンスし、自分が送出した信号と違う
信号がバスラインB上に現れると、衝突検出器30が信
号の衝突を検出し、送信器10にパケットの再送を指示
する。このとき、他の通信装置が同時にパケットの再送
を開始すると、再び信号が衝突するので、送信元の通信
装置NiはバスラインBの専有槽を予め獲得しておくた
めに、まず専有槽を獲得するための送信を行い、次に相
手先の通信袋WNi(≠Ni)を特定するための送信を
行い、続いてデータやコマンドの送信を行う、そして、
通信が終了すると、専有槽を放棄するための送信を行い
、バスラインBを他の通信装置に解放する。[Examples] Examples of the present invention will be described below with reference to the drawings. Figure 1(a) shows the overall configuration of an Ethernet-type horizontal communication network. In Figure 1(a), B is a bus line.
It consists of two-wire transmission lines such as twisted bare wires or coaxial cables. N,,N2. ...Ni, ..., Nj,
... are communication devices called nodes, and are connected to bus line B. Each communication device Ni includes a transmitter 10, a receiver 20, and a collision detector 30. The transmission source communication device Ni uses the receiver 20 to sense the state of the bus line B, and when it confirms that no packet I is being sent on the bus line B, the transmitter 10 sends out its own packet. If there is a packet on bus line B, it waits until that packet has been transmitted before transmitting its own packet. The bus line B is always sensed even during the sending of the bage soto, and if a signal different from the signal sent out appears on the bus line B, the collision detector 30 detects a collision of signals, and the transmitter 10 Instructs to retransmit the packet. At this time, if another communication device starts retransmitting the packet at the same time, the signals will collide again, so the sending communication device Ni first acquires the exclusive tank for bus line B in order to acquire it in advance. , then sends a message to identify the communication bag WNi (≠Ni) of the other party, then sends data and commands, and
When the communication is completed, a transmission is made to abandon the exclusive tank, and the bus line B is released to other communication devices.
第1図(b)は送信器10の構成を示している。FIG. 1(b) shows the configuration of the transmitter 10.
送信部11は送信するデータをバスラインBに送り出す
機能を有する。送信制御部12は送信部11のプロトコ
ル等を制御する。送信メモリ13は送信データを一時記
憶するバッファメモリであり、例えばFIFO″rti
成されている。専有槽獲得制御部14は送信メモリ13
に送信データが存在する場合には、バスラインBの専有
槽を獲得するための制御を間欠的に行う。動作間隔制御
部15は、専有槽獲得制御部14の動作間隔を時間経過
と共に短くする制御を行う。The transmitter 11 has a function of sending data to be transmitted to the bus line B. The transmission control unit 12 controls the protocol of the transmission unit 11 and the like. The transmission memory 13 is a buffer memory that temporarily stores transmission data, and is, for example, a FIFO″rti
has been completed. The exclusive tank acquisition control unit 14 is connected to the transmission memory 13
If there is transmission data on the bus line B, control is performed intermittently to acquire a dedicated tank for the bus line B. The operation interval control section 15 performs control to shorten the operation interval of the exclusive tank acquisition control section 14 as time passes.
第2図は本実施例の動作を示す流れ図である。FIG. 2 is a flowchart showing the operation of this embodiment.
#1では、送信メモリ13に送信データが存在するか否
かを判定する。送信メモリ13に送信データが無ければ
、送信メモリ13に送信データが入力されるまで待つ、
送信メモリ13に送信データが有れば、#2で待機時間
Tが経過するのを待った後、#3で専有槽獲得制御部1
4を動作させ、バスラインBの専有槽獲得のための制御
を行う。In #1, it is determined whether transmission data exists in the transmission memory 13. If there is no transmission data in the transmission memory 13, wait until the transmission data is input into the transmission memory 13.
If there is transmission data in the transmission memory 13, after waiting for the waiting time T to elapse in #2, the exclusive tank acquisition control unit 1
4 to perform control for acquiring a dedicated tank for bus line B.
バスラインBの専有槽を獲得するには、バスラインB上
にパケットが無いことを受信器20により確認した後、
他の通信装置にバスラインBの専有を知らせるための信
号を送信するものである。これにより他の通信装置はバ
スラインBが専有されたことを検出できるので、その後
、バスラインBの解放が知らされるまで専有槽獲得のた
めの送信は行わない。専有槽獲得のための送信を2個以
上の通信装置が同時に行うと、バスラインB上で信号が
衝突するので、専有槽獲得は失敗する。#4では専有槽
獲得に成功したか否かを判定する。専有槽獲得に成功す
れば、#5で相手先通信装置を特定するためのアドレス
データを送信した後、送信メモリ13に蓄積された送信
データを送信する。To acquire a dedicated tank for bus line B, after confirming with the receiver 20 that there are no packets on bus line B,
A signal is sent to notify other communication devices that bus line B is occupied. As a result, other communication devices can detect that bus line B is occupied, and therefore do not perform any transmission to obtain an exclusive tank until they are informed that bus line B has been released. If two or more communication devices simultaneously perform transmissions for acquiring the exclusive tank, the signals will collide on bus line B, and the acquisition of the exclusive tank will fail. In #4, it is determined whether or not the exclusive tank has been successfully acquired. If the exclusive tank is successfully acquired, address data for specifying the communication device of the other party is transmitted in step #5, and then the transmission data stored in the transmission memory 13 is transmitted.
そして、バスラインBの解放を知らせるための信号を他
の通信装置に送信する。次に、#6で待機時間Tを初期
値Tsに設定して、#1に戻る。専有槽獲得に失敗すれ
ば、#7で待機時間Tから所定値tを減算する。#8で
はI(回連続して専有槽獲得に失敗したか否かを判定す
る。専有槽獲得の失敗回数かに回未満であれば、#1に
戻る。専有槽獲得の失敗回数が増えると、#7で待機時
間Tが所定値tずつ減算されて行くので、#2での待機
時間Tが徐々に短くなる。これにより専有槽獲得の機会
が多くなり、専有槽獲得に成功する確率が高くなる。な
お、バスラインBが特に混んでいる場合には、待機時間
Tの短い通信装置の数が増えて、却って専有槽獲得の機
会が減少すると考えられるので、専有槽獲得の失敗回数
かに回に達すると、#9でリセット動作を行い、m期状
態に戻る。これにより、他の通信装置が専有槽を獲得で
きる可能性が増大する。Then, a signal for notifying the release of bus line B is transmitted to other communication devices. Next, in #6, the waiting time T is set to the initial value Ts, and the process returns to #1. If acquisition of the exclusive tank fails, a predetermined value t is subtracted from the waiting time T in #7. In #8, it is determined whether or not the exclusive tank acquisition has failed I(times in a row). If the number of exclusive tank acquisition failures is less than the number of times, the process returns to #1. If the number of exclusive tank acquisition failures increases, , in #7, the waiting time T is subtracted by a predetermined value t, so the waiting time T in #2 gradually becomes shorter.This increases the chances of acquiring a dedicated tank, and increases the probability of successfully acquiring a dedicated tank. Furthermore, if bus line B is particularly busy, the number of communication devices with short standby time T will increase, and the chances of acquiring a private tank will actually decrease, so the number of failures to acquire a private tank will increase. When reaching the second period, a reset operation is performed in #9 and the state returns to the m-phase state.This increases the possibility that another communication device can acquire the exclusive tank.
[発明の効果]
本発明によれば、複数個の通信装置がバスラインに接続
された横内通信網の通信装置において、バスラインの専
有槽を獲得するための制御を行う間隔を時間経過と共に
短くしているので、バスラインの専有槽を獲得する機会
が各通信装置について均等化されるという効果がある。[Effects of the Invention] According to the present invention, in a communication device of a yokonai communication network in which a plurality of communication devices are connected to a bus line, the interval at which control is performed to acquire an exclusive tank of the bus line can be shortened as time passes. This has the effect that each communication device has an equal chance of acquiring a dedicated bus line.
第1図(a>は本発明の一実施例の全体構成を示すブロ
ック図、第1図(b)は同上の要部槽底を示すブロック
図、第2図は同上の動作説明のための流れ図である。
Bはバスライン、N、、N2.・・・、N i、・・・
、Nj、・・・は通信装置、10は送信器、11は送信
部、12は送信制御部、13は送信メモリ、14は専有
II獲得制御部、15は動作間隔制御部、20は受信器
、30は衝突検出器である。Fig. 1 (a) is a block diagram showing the overall configuration of an embodiment of the present invention, Fig. 1 (b) is a block diagram showing the main part of the tank bottom, and Fig. 2 is a block diagram for explaining the operation of the same. It is a flowchart. B is a bus line, N, , N2..., N i,...
, Nj, ... are communication devices, 10 is a transmitter, 11 is a transmission section, 12 is a transmission control section, 13 is a transmission memory, 14 is a proprietary II acquisition control section, 15 is an operation interval control section, 20 is a receiver , 30 is a collision detector.
Claims (1)
ラインの専有権を獲得した通信装置が通信中はバスライ
ンを専有し、通信終了後はバスラインを解放するような
構内通信網の通信装置において、送信データをバスライ
ン上に送り出す送信部と、送信部を制御する送信制御部
と、送信データを一時記憶するための送信メモリと、送
信メモリに送信データが存在するときにバスラインの専
有権を獲得するための制御を間欠的に行う専有権獲得制
御部と、専有権獲得制御部の動作間隔を時間経過と共に
短くする動作間隔制御部とを有することを特徴とする構
内通信網の通信装置。(1) A local communication network in which multiple communication devices are connected to a bus line, and the communication device that has acquired exclusive rights to the bus line monopolizes the bus line during communication, and releases the bus line after communication is completed. In a communication device, there is a transmission unit that sends transmission data onto a bus line, a transmission control unit that controls the transmission unit, a transmission memory that temporarily stores the transmission data, and a transmission unit that sends transmission data onto the bus line when the transmission data exists in the transmission memory. an exclusive right acquisition control section that intermittently performs control to acquire exclusive right of the exclusive right acquisition control section; and an operation interval control section that shortens the operation interval of the exclusive right acquisition control section as time passes. communication equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22059389A JPH0383431A (en) | 1989-08-28 | 1989-08-28 | Communication equipment for private communication network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22059389A JPH0383431A (en) | 1989-08-28 | 1989-08-28 | Communication equipment for private communication network |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0383431A true JPH0383431A (en) | 1991-04-09 |
Family
ID=16753409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22059389A Pending JPH0383431A (en) | 1989-08-28 | 1989-08-28 | Communication equipment for private communication network |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0383431A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07321829A (en) * | 1994-05-25 | 1995-12-08 | Nec Field Service Ltd | Controller for local area network system |
US6078572A (en) * | 1995-09-20 | 2000-06-20 | Ntt Docomo | Access method, mobile station and base station for CDMA mobile communication system |
JP2005012780A (en) * | 2003-05-23 | 2005-01-13 | Hitachi Kokusai Electric Inc | Method and device for image transmission |
-
1989
- 1989-08-28 JP JP22059389A patent/JPH0383431A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07321829A (en) * | 1994-05-25 | 1995-12-08 | Nec Field Service Ltd | Controller for local area network system |
US6078572A (en) * | 1995-09-20 | 2000-06-20 | Ntt Docomo | Access method, mobile station and base station for CDMA mobile communication system |
JP2005012780A (en) * | 2003-05-23 | 2005-01-13 | Hitachi Kokusai Electric Inc | Method and device for image transmission |
JP4541758B2 (en) * | 2003-05-23 | 2010-09-08 | 株式会社日立国際電気 | Image transmission device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0832454B1 (en) | Data communication network with highly efficient polling procedure | |
EP0110390B1 (en) | Collision avoidance circuit for packet switched communication system | |
WO1997032254A1 (en) | System and method for bus contention resolution | |
US5621725A (en) | Communication system capable of preventing dropout of data block | |
JPH09181737A (en) | Communication method for small scale network | |
JPS6199439A (en) | Group address communication system | |
EP0865179B1 (en) | Hub dominated method & system for managing network collisions | |
US7158561B2 (en) | Communication system, communication device, and communication method | |
JPH0383431A (en) | Communication equipment for private communication network | |
US20040233927A1 (en) | Method of controlling communications | |
Rios et al. | A hybrid multiple-access protocol for data and voice-packet over local area networks | |
JP2003018162A (en) | Maintenance control system and maintenance control method | |
JPH0383432A (en) | Communication equipment for private communication network | |
US8718082B2 (en) | Network system of time band reservation, frame transfer method, and network device | |
Maslouh et al. | Resolving the access conflict for shared ethernet communication channel | |
CN102550114B (en) | Shared use of time slots | |
KR101992713B1 (en) | Communication interface apparatus | |
JPH04103244A (en) | Network monitor system | |
AU711109C (en) | Data communication network with highly efficient polling procedure | |
JPH03222542A (en) | Line concentrator for network | |
JP5635014B2 (en) | Apparatus and method for automatic channel setting | |
JP2000278288A (en) | Radio communication method and its device | |
JPH04342335A (en) | Transmission control system for storage type start communication network | |
Sonprasit | Survey of local area networks for low end systems | |
JPH0653976A (en) | Contention control method in private system |