JPH07107101A - Communication controller - Google Patents
Communication controllerInfo
- Publication number
- JPH07107101A JPH07107101A JP25273793A JP25273793A JPH07107101A JP H07107101 A JPH07107101 A JP H07107101A JP 25273793 A JP25273793 A JP 25273793A JP 25273793 A JP25273793 A JP 25273793A JP H07107101 A JPH07107101 A JP H07107101A
- Authority
- JP
- Japan
- Prior art keywords
- station
- transmission
- communication
- transmitting
- bit mask
- 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
- Small-Scale Networks (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、LAN(Local
Area Network)に複数の通信局を接続し、
各通信局の間でCSMA/CD方式(Carrier
SenseMultiple Access/Coll
ision Detection方式)により通信を行
う通信システムに適用される通信制御装置に関するもの
である。更に詳しくは、各通信局がLANの回線へ確定
的なアクセスをできるように工夫をこらした通信制御装
置に関するものである。BACKGROUND OF THE INVENTION The present invention relates to a LAN (Local).
Connect multiple communication stations to Area Network),
CSMA / CD system (Carrier) between each communication station
SenseMultiple Access / Coll
The present invention relates to a communication control device applied to a communication system that performs communication according to the (ion Detection method). More specifically, it relates to a communication control device devised so that each communication station can make definite access to a LAN line.
【0002】[0002]
【従来の技術】LANにおけるメディア・アクセス方式
としてCSMA/CD方式があり、この方式は例えばE
THERNETに用いられている。CSMA/CD方式
の通信では、ポーリング/セレクション方式の通信のよ
うなマスタ局とスレーブ局という各局間の主従関係はな
く、各通信局は回線が未使用であれば自由にアクセスが
できる。更に、複数局が同時にアクセスして衝突が発生
した場合には、確率的なアルゴリズムにより再度アクセ
スを試みるという通信手順になっている。しかしなが
ら、CSMA/CD方式の通信では、各通信局のアクセ
スが確定的に保障されないだけでなく、特に回線上の負
荷が高い場合には、特定の通信局のアクセスの確率だけ
が大きく低下してしまうという欠点があった。ここで、
回線上の負荷が高い場合とは、回線に対して送信を行い
たい通信局が多い場合である。2. Description of the Related Art There is a CSMA / CD system as a media access system in a LAN.
Used in THERNET. In the CSMA / CD system communication, there is no master-slave relationship between the master station and the slave station as in the polling / selection system communication, and each communication station can freely access if the line is unused. Further, when a plurality of stations access at the same time and a collision occurs, the communication procedure is such that the access is tried again by a stochastic algorithm. However, in the communication of the CSMA / CD system, not only the access of each communication station is not definitely guaranteed, but especially when the load on the line is high, only the access probability of a specific communication station is greatly reduced. There was a drawback that it would end up. here,
The case where the load on the line is high is the case where there are many communication stations that want to transmit to the line.
【0003】[0003]
【発明が解決しようとする課題】本発明は上述した欠点
を解決するためになされたものであり、マスタ局を定
め、このマスタ局から回線を使用できる通信局を特定す
ることにより、各通信局の確定的なアクセスを保障し、
回線上の負荷が高い場合であっても全通信局が平等に回
線を使用できる通信制御装置を実現することを目的とす
る。SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned drawbacks, and a master station is defined, and a communication station that can use a line is specified from this master station. Guarantees definite access of
An object of the present invention is to realize a communication control device in which all communication stations can use the line equally even if the load on the line is high.
【0004】[0004]
【課題を解決するための手段】本発明は、LANに複数
の通信局を接続し各通信局の間でCSMA/CD方式に
より通信を行う通信システムに適用され、各通信局に設
けられた通信制御装置において、LANとの間で送受信
を行う送受信手段と、自局がマスタ局になったときにの
み動作し、通信局の局アドレスの中の特定ビットを指定
するビットマスク情報と、送信を許可する通信局の局ア
ドレスを前記ビットマスク情報で指定した特定ビットの
部分で指定する送信許可局アドレス情報とを含む送信局
指示フレームを前記送受信手段を介してLANへ送出
し、この送信局指示フレームは一定周期毎に前記ビット
マスク情報と送信許可局アドレス情報を更新しながら送
出する送信局指示手段と、この送信局指示手段が送出し
た送信局指示フレームを受信し、受信したフレームに含
まれたビットマスク情報と自局の局アドレスの論理積を
とり、この論理積と送信局指示フレームに含まれた送信
許可局アドレス情報を比較し、比較結果が一致した場合
は自局の送受信手段に送信を許可する送信局認識手段
と、を具備したことを特徴とする通信制御装置である。The present invention is applied to a communication system in which a plurality of communication stations are connected to a LAN and communication is performed between the communication stations by the CSMA / CD system, and the communication provided in each communication station. In the control device, transmission / reception means for performing transmission / reception with the LAN, bit mask information for operating only when the own station becomes the master station, and specifying the specific bit in the station address of the communication station, and transmission. A transmission station instruction frame including transmission permission station address information for designating the station address of the communication station to be permitted by the specific bit portion designated by the bit mask information is transmitted to the LAN via the transmission / reception means, and this transmission station instruction is issued. In the frame, the transmission station instruction means for transmitting while updating the bit mask information and the transmission permission station address information at regular intervals, and the transmission station instruction frame transmitted by this transmission station instruction means. Received, the logical product of the bit mask information contained in the received frame and the station address of the local station is calculated, and this logical product is compared with the transmission permission station address information contained in the transmission station instruction frame. The communication control device is provided with a transmitting station recognizing unit that permits the transmitting and receiving unit of the own station to transmit when they match.
【0005】[0005]
【作用】このような本発明では、マスタ局の送信局指示
手段は、ビットマスク情報と送信許可局アドレス情報を
含む送信局指示フレームを、一定周期毎にビットマスク
情報と送信許可局アドレス情報を更新しながら送出す
る。マスタ局を含む全通信局の送信局認識手段は、送信
局指示手段が送出した送信局指示フレームを受信する。
そして、受信したフレームに含まれたビットマスク情報
と自局の局アドレスの論理積をとり、この論理積と送信
局指示フレームに含まれた送信許可局アドレス情報を比
較し、比較結果が一致した場合は自局の送受信手段に送
信を許可する。According to the present invention, the transmitting station designating means of the master station sends the transmitting station designating frame containing the bit mask information and the transmission permitting station address information to the bit mask information and the transmission permitting station address information at regular intervals. Send while updating. The transmitting station recognizing means of all communication stations including the master station receives the transmitting station instruction frame transmitted by the transmitting station instruction means.
Then, the logical product of the bit mask information contained in the received frame and the station address of its own station is calculated, and this logical product is compared with the transmission-permitted station address information contained in the transmitting station instruction frame, and the comparison results are in agreement. In this case, the transmission / reception means of the own station is permitted to transmit.
【0006】[0006]
【実施例】以下、図面を用いて本発明を説明する。図1
は本発明が適用される通信システムの概略構成図であ
る。図1で、LはLANを用いた通信媒体、S1〜S8
は通信媒体Lに接続された通信局である。通信局S1〜
S8には配列順に従って、それぞれ1〜8の局アドレス
が付けられている。局アドレスは例えば1バイトデータ
で与えられる。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. Figure 1
FIG. 1 is a schematic configuration diagram of a communication system to which the present invention is applied. In FIG. 1, L is a communication medium using a LAN, S1 to S8
Is a communication station connected to the communication medium L. Communication station S1
Station addresses 1 to 8 are assigned to S8 in the order of arrangement. The station address is given as 1-byte data, for example.
【0007】図2は本発明の一実施例の構成図である。
図2で図1と同一のものは同一符号を付ける。図2で、
1は図1におけるS1〜S8のような通信局、2は通信
局1内に設けられた本発明にかかる通信制御装置であ
る。通信制御装置2において、21は通信媒体Lとの間
で送受信を行う送受信手段である。22は自局がマスタ
局である場合にのみ動作する送信局指示手段である。送
信局指示手段22において、221はビットマスク情報
と送信許可局アドレス情報を格納したメモリである。ビ
ットマスク情報は、通信局の局アドレスの中の特定ビッ
トを指定する情報である。送信許可局アドレス情報は、
送信を許可する通信局の局アドレスをビットマスク情報
で指定した特定ビットの部分で指定する情報である。2
22はビットマスク情報と送信許可局アドレス情報を含
んだ送信局指示フレームを送受信手段21を介して通信
媒体Lに一定周期で送出する送出手段、223はビット
マスク情報と送信許可局アドレス情報を更新する更新手
段である。23は送信局認識手段である。送信局認識手
段23で、231は自己の局で受信した送信局指示フレ
ームに含まれたビットマスク情報と自局の局アドレスの
論理積をとる論理積回路、232は論理積回路231で
とった論理積と自己の局で受信した送信局指示フレーム
に含まれた送信許可局アドレス情報を比較する比較手
段、233は比較手段232の比較結果が一致した場合
は自局の送受信手段21に送信を許可する許可手段であ
る。局アドレスは、例えば通信局のメモリに格納されて
いる。FIG. 2 is a block diagram of an embodiment of the present invention.
2 that are the same as those in FIG. 1 are given the same reference numerals. In Figure 2,
Reference numeral 1 is a communication station such as S1 to S8 in FIG. 1, and 2 is a communication control device according to the present invention provided in the communication station 1. In the communication control device 2, reference numeral 21 is a transmitting / receiving means for transmitting / receiving to / from the communication medium L. Reference numeral 22 is a transmitting station instruction means that operates only when the own station is a master station. In the transmitting station instruction means 22, reference numeral 221 is a memory which stores bit mask information and transmission permitted station address information. The bit mask information is information that specifies a specific bit in the station address of the communication station. The information on the authorized station address is
This is information that specifies the station address of the communication station whose transmission is permitted by the specific bit portion specified by the bit mask information. Two
22 is a sending means for sending a transmitting station instruction frame containing bit mask information and transmission permitting station address information to the communication medium L via the transmitting and receiving means 21 at a constant cycle, and 223 is updating bit mask information and transmission permitting station address information. It is an updating means to perform. Reference numeral 23 is a transmitting station recognizing means. In the transmitting station recognizing means 23, reference numeral 231 is a logical product circuit for taking the logical product of the bit mask information included in the transmitting station instruction frame received by the own station and the station address of the own station, and 232 is the logical product circuit 231. The comparison means 233 for comparing the logical product with the transmission permitted station address information included in the transmission station instruction frame received by the own station, and the comparison means 233, when the comparison result of the comparison means 232 is the same, transmits to the transmission / reception means 21 of the own station. It is a permission means to permit. The station address is stored in the memory of the communication station, for example.
【0008】このように構成した通信制御装置の動作を
説明する。図1の通信システムで通信局S1をマスタ局
とする。通信局S1は自局がもっている送信局指示手段
22により送信局指示フレームを各通信局に送信する。
すなわち、例えば、ビットマスク情報を「0011」、
送信許可局アドレス情報を「0001」として送信局指
示フレームを構成し、送受信手段21により通信媒体L
にフレームを送出する。ビットマスク情報と送信許可局
アドレス情報は2進数である。通信媒体Lから送信局指
示フレームを受信した各通信局は、送信局認識手段23
によりビットマスク情報「0011」と自局の局アドレ
スの論理積をとり、とった論理積と送信許可局アドレス
情報「0001」の値を比較し、比較結果が一致してい
れば自局の送受信手段21に送信を許可する。この例の
場合、局アドレスの下位2ビットが「01」である通信
局、すなわち、通信局S1(局アドレス「0001」)
とS5(局アドレス「0101」)が送信を許可され
る。一定時間が経過した後、通信局S1は送信局指示手
段22により送信許可局アドレス情報を1つ増やし、
「0010」として再び送信局指示フレームを送出す
る。その結果、上述したのと同様の動作により、通信局
S2(局アドレス「0010」)とS6(局アドレス
「0110」)が送信を許可される。以上の手順を繰り
返して、マスタ局S1は一定周期で送信許可局アドレス
情報を、 0001→0010→0011→0000→0001→
… のように更新しながら送信局指示フレームを送出する。
この動作により各通信局に順番に送信権が与えられるこ
とになる。The operation of the communication control device thus configured will be described. In the communication system of FIG. 1, the communication station S1 is a master station. The communication station S1 transmits a transmission station instruction frame to each communication station by the transmission station instruction means 22 of its own station.
That is, for example, the bit mask information is set to “0011”,
A transmission station instruction frame is formed by setting the transmission permission station address information to "0001", and the transmission / reception means 21 communicates with the communication medium L.
Send the frame to. The bit mask information and the transmission permission station address information are binary numbers. Each communication station that has received the transmission station instruction frame from the communication medium L has the transmission station recognition means 23.
The logical product of the bit mask information “0011” and the station address of the own station is calculated by using, and the obtained logical product is compared with the value of the transmission-permitted station address information “0001”. If the comparison result matches, transmission / reception of the own station Permit transmission to the means 21. In the case of this example, the communication station whose lower 2 bits of the station address is “01”, that is, the communication station S1 (station address “0001”)
And S5 (station address "0101") are permitted to be transmitted. After a lapse of a certain time, the communication station S1 increases the transmission-permitted station address information by 1 by the transmission station instruction means 22,
The transmitting station instruction frame is sent again as "0010". As a result, the communication stations S2 (station address "0010") and S6 (station address "0110") are permitted to transmit by the same operation as described above. By repeating the above procedure, the master station S1 obtains the transmission-permitted station address information at a constant cycle: 0001 → 0010 → 0011 → 0000 → 0001 →
The transmitting station instruction frame is transmitted while being updated as follows.
By this operation, the transmission right is sequentially given to each communication station.
【0009】[0009]
【発明の効果】本発明によれば、マスタ局から回線が使
用可能である通信局を特定示することにより、回線上の
通信局が一度にアクセスすることを回避できる。これに
よって、各通信局の確定的なアクセスを保障するとも
に、CSMA/CD方式の通信に特徴的な回線上の衝突
を、回線が高負荷である際にも一定範囲内におさめ、全
ての通信局が平等に回線を使用できる。According to the present invention, it is possible to prevent a communication station on a line from accessing the communication station at one time by indicating from the master station which communication station can use the line. This guarantees deterministic access of each communication station, and suppresses the collision on the line that is characteristic of CSMA / CD communication within a certain range even when the line is under heavy load, and all communication The stations can use the lines equally.
【図1】本発明が適用される通信システムの概略構成図
である。FIG. 1 is a schematic configuration diagram of a communication system to which the present invention is applied.
【図2】本発明の一実施例を示した構成図である。FIG. 2 is a configuration diagram showing an embodiment of the present invention.
S1〜S8,1 通信局 L 通信媒体 2 通信制御装置 21 送受信手段 22 送信局指示手段 23 送信局認識手段 S1 to S8, 1 communication station L communication medium 2 communication control device 21 transmission / reception means 22 transmission station instruction means 23 transmission station recognition means
Claims (1)
の間でCSMA/CD方式により通信を行う通信システ
ムに適用され、各通信局に設けられた通信制御装置にお
いて、 LANとの間で送受信を行う送受信手段と、 自局がマスタ局になったときにのみ動作し、通信局の局
アドレスの中の特定ビットを指定するビットマスク情報
と、送信を許可する通信局の局アドレスを前記ビットマ
スク情報で指定した特定ビットの部分で指定する送信許
可局アドレス情報とを含む送信局指示フレームを前記送
受信手段を介してLANへ送出し、この送信局指示フレ
ームは一定周期毎に前記ビットマスク情報と送信許可局
アドレス情報を更新しながら送出する送信局指示手段
と、 この送信局指示手段が送出した送信局指示フレームを受
信し、受信したフレームに含まれたビットマスク情報と
自局の局アドレスの論理積をとり、この論理積と送信局
指示フレームに含まれた送信許可局アドレス情報を比較
し、比較結果が一致した場合は自局の送受信手段に送信
を許可する送信局認識手段と、 を具備したことを特徴とする通信制御装置。1. A communication control device provided in each communication station, which is applied to a communication system in which a plurality of communication stations are connected to a LAN and performs communication by the CSMA / CD system between the communication stations. The transmission / reception means that performs transmission / reception with, the bit mask information that operates only when the local station becomes the master station, and specifies the specific bits in the station address of the communication station, and the station address of the communication station that permits transmission. A transmission station instruction frame including the transmission permitted station address information designated by the specific bit portion designated by the bit mask information is transmitted to the LAN via the transmission / reception means, and the transmission station instruction frame has the bits at regular intervals. A transmitting station instruction means for transmitting while updating the mask information and the transmission permission station address information, and a frame for receiving the transmitting station instruction frame transmitted by this transmitting station instruction means. The logical product of the bit mask information contained in the program and the station address of its own station is compared, and this logical product is compared with the transmission-permitted station address information contained in the transmitting station instruction frame. A communication control device, comprising: a transmitting station recognizing unit that permits transmission to a transmitting / receiving unit of the station.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25273793A JPH07107101A (en) | 1993-10-08 | 1993-10-08 | Communication controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25273793A JPH07107101A (en) | 1993-10-08 | 1993-10-08 | Communication controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07107101A true JPH07107101A (en) | 1995-04-21 |
Family
ID=17241570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25273793A Pending JPH07107101A (en) | 1993-10-08 | 1993-10-08 | Communication controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07107101A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6593444B2 (en) | 2000-02-29 | 2003-07-15 | Shell Oil Company | Thermoplastic polyurethane elastomers (TPUs) prepared with polytrimethylene carbonate soft segment |
GB2501595A (en) * | 2012-03-09 | 2013-10-30 | Cambridge Silicon Radio Ltd | Bit-masked downlink beacon codes to select sub-set of stations to contend for transmission in time-slotted system |
-
1993
- 1993-10-08 JP JP25273793A patent/JPH07107101A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6593444B2 (en) | 2000-02-29 | 2003-07-15 | Shell Oil Company | Thermoplastic polyurethane elastomers (TPUs) prepared with polytrimethylene carbonate soft segment |
GB2501595A (en) * | 2012-03-09 | 2013-10-30 | Cambridge Silicon Radio Ltd | Bit-masked downlink beacon codes to select sub-set of stations to contend for transmission in time-slotted system |
US9042354B2 (en) | 2012-03-09 | 2015-05-26 | Cambridge Silicon Radio Limited | Controlling stations' access to a communications medium |
US9497778B2 (en) | 2012-03-09 | 2016-11-15 | Qualcomm Technologies International, Ltd. | Controlling stations' access to a communications medium |
DE102013004296B4 (en) * | 2012-03-09 | 2017-05-24 | Qualcomm Technologies International, Ltd. | Controlling the access of stations to a communication medium |
GB2501595B (en) * | 2012-03-09 | 2017-08-30 | Qualcomm Technologies Int Ltd | Controlling Stations' Access to a Communications Medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105847456B (en) | A kind of RS485 distributes address methods, devices and systems automatically | |
US4661902A (en) | Local area network with carrier sense collision avoidance | |
US4689786A (en) | Local area network with self assigned address method | |
US6850992B2 (en) | Address assignment method for at least one bus device that has recently been connected to a bus system | |
US5218603A (en) | Node unit and communications method for local area network | |
KR870006752A (en) | Broadcast communication system and method | |
JPH11505986A (en) | Data communication with highly efficient polling procedure | |
EP0493905B1 (en) | Address management for remote terminals in digital loop transmission systems | |
JPH07107101A (en) | Communication controller | |
JP3982779B2 (en) | Node recognition method | |
JP3714009B2 (en) | Multi-protocol compatible communication control method, multi-protocol compatible communication system, and multi-protocol compatible communication control processing program | |
JPS60246148A (en) | Data transmission control system | |
JPS5848593A (en) | Polling transmission system | |
JPH04296133A (en) | Automatic address setting device | |
JPS6069935A (en) | Data communication system | |
JPS63197144A (en) | Information communication system | |
JP2708052B2 (en) | Polling communication system | |
JPS617751A (en) | Data transmission control system | |
JPS6211339A (en) | Data transmission control system | |
JP2566350B2 (en) | Data way device | |
JP2919584B2 (en) | Network system and data transmission control device | |
JPH0666788B2 (en) | System control method | |
JPH04296132A (en) | Automatic address setting device | |
JPS6165642A (en) | Data communication system | |
JPH0418652A (en) | Data communication system |