JPH11243404A - Autonomous distribution system and transmission system - Google Patents

Autonomous distribution system and transmission system

Info

Publication number
JPH11243404A
JPH11243404A JP4339598A JP4339598A JPH11243404A JP H11243404 A JPH11243404 A JP H11243404A JP 4339598 A JP4339598 A JP 4339598A JP 4339598 A JP4339598 A JP 4339598A JP H11243404 A JPH11243404 A JP H11243404A
Authority
JP
Japan
Prior art keywords
transmission
data
network
buffer
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4339598A
Other languages
Japanese (ja)
Inventor
Kenji Kawada
健志 河田
Yoshihiro Miyazaki
義弘 宮崎
Soichi Takatani
壮一 高谷
Hisao Ogawa
尚雄 小川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4339598A priority Critical patent/JPH11243404A/en
Publication of JPH11243404A publication Critical patent/JPH11243404A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a transmission system that is able to deal with connection to a general purpose network system represented by a CSMA/CD system or extension of an existing network system and prevent data loss in the middle of transmission. SOLUTION: A function code filtering device 101, which has a buffer for temporarily storing transmission and reception data, a means for detecting that using amount of this buffer exceeds the predetermined normal amount, and a dummy data transmission means for transmitting dummy data on a network when normal amount exceeding the use amount is detected by the buffer, is provided between a host computer 102 of a transmission device and a main trunk network 103. Collision is made to occur between the transmission data and the dummy data, and retransmission of the data is facilitated when the transmission data from other transmission device connected to a transmission line of the main trunk network 103 are transmitted to general-purpose CSMA/CD system networks 104 and 105.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、伝送路の中継や伝
送プロトコル変換を行う高機能な伝送装置を有する自律
分散システム及び伝送システムに関し、特に伝送途中で
のデータの欠損防止を考慮した自律分散システム及び伝
送システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an autonomous decentralized system and a transmission system having a high-performance transmission device for relaying a transmission path and converting a transmission protocol, and more particularly to an autonomous decentralized system in consideration of preventing data loss during transmission. System and transmission system.

【0002】[0002]

【従来の技術】伝送路上でのデータの衝突を許容するネ
ットワーク伝送方式としてCSMA/CD(Carrier Se
nse Mutiple Access/Collision Detect )方式が一般的
に知られている。同方式はバス接続された複数の伝送装
置間で送信を要求する伝送装置(局)が伝送路上に信号
が流れているかどうかをチェックし、信号が流れていな
ければデータ(電文)の送信を行うもので、他の伝送装
置の状態を意識する必要がなく制御が簡単なことが特徴
である。
2. Description of the Related Art CSMA / CD (Carrier Securities) is a network transmission method that allows data collision on a transmission path.
An nse Mutiple Access / Collision Detect) method is generally known. In this method, a transmission device (station) requesting transmission among a plurality of transmission devices connected to a bus checks whether a signal is flowing on a transmission path, and if no signal is flowing, transmits data (telegram). It is characterized in that it is not necessary to be aware of the state of another transmission device and the control is simple.

【0003】しかし、電文が伝送路を伝搬する速度は有
限であるため、既に他の伝送装置(局)から電文が送出
されていても、まだ自局に信号が到達していないために
信号なしと判定され、電文の送信が開始されてしまう可
能性がある。この場合、伝送路上で複数の電文の衝突が
発生するため、電文を相手局が正常に受信することはで
きないが、伝送誤り制御により電文の再送が行われ、救
済することが可能となる。CSMA/CD方式では電文
の送出を開始すると送信を要求する伝送装置は伝送路上
での衝突発生の有無を監視し、もし衝突を検出するとた
だちに電文の送出を中止する。
However, since the speed at which a message propagates through a transmission line is finite, even if the message has already been sent from another transmission device (station), no signal has arrived at its own station. Is determined, and transmission of the message may be started. In this case, since a plurality of messages collide with each other on the transmission path, the message cannot be normally received by the partner station. However, the message is retransmitted by transmission error control and can be relieved. In the CSMA / CD system, when transmission of a message is started, a transmission device that requests transmission monitors whether or not a collision has occurred on a transmission line, and immediately stops transmitting the message if a collision is detected.

【0004】一方、ネットワークの中継や伝送プロトコ
ル変換を行う伝送装置としてネットワーク間の接続をサ
ポートするゲートウェイが知られている。ゲートウェイ
は複数の同種、あるいは異種ネットワーク間の接続を可
能とするもので、その伝送装置は相互のネットワーク仕
様に準じたプロトコル変換等を行うため高機能な演算装
置を含んでいる。しかし、高度な演算を必要とするため
ゲートウェイにおけるデータ処理量には限界がある。こ
のため、ゲートウェイを介したデータ伝送では一回の転
送データ容量を抑える等の制限が行われることがある。
このような制限を行わないとネットワークからのデータ
受信量にゲートウェイ内部のデータ処理が追い付かず、
データの受信漏れが発生する可能性がある。このように
従来のゲートウェイなどの高機能の伝送装置を介した伝
送システムでは、データの受信漏れの危険を避けるため
にデータの転送容量を押さえねばならない必要があっ
た。
[0004] On the other hand, a gateway that supports connection between networks is known as a transmission device for relaying a network or converting a transmission protocol. The gateway enables connection between a plurality of networks of the same type or of different types, and its transmission device includes a high-performance computing device for performing protocol conversion and the like in accordance with the mutual network specifications. However, the amount of data processing in the gateway is limited due to the need for advanced calculations. For this reason, in data transmission via the gateway, there may be restrictions such as suppressing the amount of data transferred at one time.
Without such restrictions, the data processing inside the gateway cannot keep up with the amount of data received from the network,
Omission of data reception may occur. As described above, in a transmission system via a high-performance transmission device such as a conventional gateway, it is necessary to reduce the data transfer capacity in order to avoid the risk of omission of data reception.

【0005】[0005]

【発明が解決しようとする課題】本発明では高機能の伝
送装置を介したネットワーク伝送において、CSMA/
CD方式に代表される汎用ネットワークシステムへの接
続や既設のネットワークシステムへの増設にも対応で
き、伝送途中でのデータ欠損を防止し、伝送装置を管理
するホスト計算機の負担の低減を図ることのできる自律
分散システム及び伝送システムを提供することを課題と
する。
SUMMARY OF THE INVENTION In the present invention, in network transmission via a high-performance transmission device, CSMA /
It can be connected to a general-purpose network system typified by the CD system or added to an existing network system, preventing data loss during transmission and reducing the load on the host computer that manages the transmission device. It is an object of the present invention to provide an autonomous decentralized system and a transmission system that can perform the same.

【0006】[0006]

【課題を解決するための手段】本発明は、コンピュータ
と、このコンピュータにつながるCSMA/CD方式の
第1の伝送路と、ネットワークと、このネットワークに
つながるCSMA/CD方式の第2の伝送路と、上記第
1、第2の伝送路につながり、第1の伝送路を介しての
上記コンピュータからのデータを第2の伝送路を介して
上記ネットワークに送信し、上記第2の伝送路を介して
の上記ネットワークからのデータを第1の伝送路を介し
て上記コンピュータに受信させる機能コードフィルタリ
ング装置とを備えると共に、この機能コードフィルタリ
ング装置は、送受信バッファと、上記第2の伝送路を介
しての上記ネットワークから受信したデータが、登録ず
みのフィルタリングパラメータに一致するか否かを判定
する第1の手段と、一致するときにそのデータを上記送
受信バッファに一時格納した上で第1の伝送路を介して
上記コンピュータに送信し受信させる第2の手段と、上
記送受信バッファの使用量が規定量を越えたことを検出
する第3の手段と、規定量を越えていない状態で、上記
コンピュータからの第1の伝送路を介して受信したデー
タを、送受信バッファに一時記憶させた上で、第2の伝
送路を介して上記ネットワークに送信する第4の手段
と、規定量を越えたことを検出した状態で、上記コンピ
ュータからの第1の伝送路を介してデータを受信した場
合に、規定量を下回るまでダミーデータを、上記第1の
伝送路を介して上記コンピュータに送出する第5の手段
と、を備えた自律分散システムを開示する。
SUMMARY OF THE INVENTION The present invention provides a computer, a first CSMA / CD transmission line connected to the computer, a network, and a second CSMA / CD transmission line connected to the network. Transmitting the data from the computer via the first transmission path to the network via the second transmission path, and transmitting the data from the computer via the first transmission path to the network via the second transmission path. And a function code filtering device that causes the computer to receive data from the network via a first transmission path. The function code filtering apparatus includes a transmission / reception buffer and a transmission / reception buffer via the second transmission path. First means for determining whether or not the data received from the above network matches the registered filtering parameters. A second means for temporarily storing the data in the transmission / reception buffer when they match, and transmitting and receiving the data to / from the computer via the first transmission path, and the use amount of the transmission / reception buffer exceeding a prescribed amount. A third means for detecting data from the computer and temporarily storing data received from the computer via the first transmission path in a transmission / reception buffer in a state where the data does not exceed a prescribed amount, and A fourth means for transmitting data to the network via the network, and, when data is received via the first transmission path from the computer while detecting that the data exceeds the prescribed amount, the data is transmitted until the data falls below the prescribed amount. Fifth means for sending dummy data to the computer via the first transmission path is disclosed.

【0007】更に本発明は、機能コードフィルタリング
装置は、第1の送路側での信号衝突検出を行うモード/
信号衝突検出を行わないモードの切換手段を持つものと
した自律分散システムを開示する。
Further, according to the present invention, there is provided a function code filtering apparatus, comprising: a mode for performing signal collision detection on a first transmission path side;
Disclosed is an autonomous decentralized system having mode switching means that does not perform signal collision detection.

【0008】更に本発明は、切換手段は、上記第3の手
段に対応して、規定量を越えていない状態では第1の伝
送路側での信号衝突検出を行うモードに制御され、規定
量を越えた状態では第1の伝送路側での信号衝突検出を
行わないモードに制御されるものとし、上記第4の手段
は、第1の伝送路側での上記信号衝突検出行うモードの
もとで、上記受信データを第2の伝送路に送出し、上記
第5の手段は、第1の伝送路側での上記信号衝突検出を
行わないモードのもとで、上記ダミーデータを第1の伝
送路に送出するものとした請求項2の自律分散システム
を開示する。
Further, according to the present invention, the switching means is controlled to a mode for detecting a signal collision on the first transmission line side when the predetermined amount is not exceeded, corresponding to the third means. In a state where the signal collision is exceeded, the mode is controlled so as not to perform the signal collision detection on the first transmission line side, and the fourth means operates in the mode in which the signal collision detection is performed on the first transmission line side. The fifth means transmits the received data to the first transmission line under a mode in which the signal collision detection is not performed on the first transmission line side. An autonomous decentralized system according to claim 2 to be transmitted is disclosed.

【0009】上記課題を達成するため、本発明は、伝送
路上でのデータの衝突を検出して再送する機能を持つ複
数の伝送装置と、該伝送装置を結び伝送路を構成するネ
ットワークからなる伝送システムにおいて、該伝送装置
と該ネットワーク間に設けられ、送受信データを一時的
に記憶する緩衝用バッファ手段と、該緩衝用バッファ手
段の使用量が予め定めた規定量を超えたことを検出する
バッファ使用量検出手段と、該バッファ使用量検出手段
が前記緩衝用バッファ手段での使用量の規定量超過を検
出したときに前記ネットワーク上にダミーデータを送出
するダミーデータ送出手段とを具備し、前記ネットワー
クの伝送路に接続される他の伝送装置からの送信データ
が前記ネットワーク上に送出されていた場合に、該送信
データと該ダミーデータ間に衝突を発生させ、データの
再送を促し、前記伝送装置における受信データの欠損を
防ぐことを特徴とする。
In order to achieve the above object, the present invention provides a transmission system comprising a plurality of transmission apparatuses having a function of detecting data collision on a transmission path and retransmitting the data, and a network connecting the transmission apparatuses to form a transmission path. A buffer provided between the transmission device and the network for temporarily storing transmission / reception data; and a buffer for detecting that the amount of use of the buffer exceeds a predetermined amount. And a dummy data sending unit that sends dummy data over the network when the buffer usage detecting unit detects that the usage amount in the buffering buffer unit exceeds a specified amount. When transmission data from another transmission device connected to the transmission path of the network has been transmitted over the network, the transmission data and the dummy To generate collision between over data, prompting the retransmission of the data, characterized in that to prevent the loss of the received data in the transmission device.

【0010】[0010]

【発明の実施の形態】以下、本発明にかかる伝送システ
ムを添付図面を参照にして詳細に説明する。図1は、本
発明の一実施の形態である伝送システムの構成を示す模
式図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a transmission system according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a schematic diagram illustrating a configuration of a transmission system according to an embodiment of the present invention.

【0011】機能コードフィルタリング装置101は、
ホスト計算機102と基幹ネットワーク103との中間
に接続され、ホスト計算機102で必要とされるデータ
を基幹ネットワーク103から取捨選択して取り込み、
ホスト計算機102のネットワーク負荷を軽減する機能
を持っている。
The function code filtering device 101 comprises:
Connected between the host computer 102 and the backbone network 103, data required by the host computer 102 is selected and taken from the backbone network 103,
It has a function of reducing the network load of the host computer 102.

【0012】電文の宛先を特に指定せずに伝送が行われ
る自律分散型のネットワークでは、データの受信先で当
該データが自分に必要なものかどうかを判定しなくては
ならない。したがって、宛先判定のための機能コードフ
ィルタリング装置101は必要不可欠となる。また、機
能コードフィルタリング装置101とホスト計算機10
2および基幹ネットワーク103の間は汎用CSMA/
CD方式の伝送路104、105で接続されており、そ
の位置付けは従来の技術で述べたゲートウェイの場合と
同様に考えられるが、機能コードフィルタリング装置1
01をホスト計算機102のFEP(Front End Proces
sor )とみなし、一つのシステムと考えた場合、ゲート
ウェイの場合のように伝送途中でのデータの欠損が発生
することは好ましくない。
In a distributed autonomous network in which transmission is performed without specifying a destination of a message, it is necessary to determine whether or not the data is necessary for itself at a data receiving destination. Therefore, the function code filtering device 101 for destination determination is indispensable. Also, the function code filtering device 101 and the host computer 10
2 and the backbone network 103 are general-purpose CSMA /
They are connected by CD-system transmission lines 104 and 105, and their positions can be considered as in the case of the gateway described in the related art.
01 to the FEP (Front End Processes) of the host computer 102.
sor), and when considered as one system, it is not preferable that data loss occurs during transmission as in the case of a gateway.

【0013】図2は機能コードフィルタリング装置10
1内部の構成図である。同装置は主にデータ選択のフィ
ルタリング処理を始めとするデータ処理全般を司るマイ
コン201、基幹ネットワーク103側のデータ伝送を
制御するマスタネットワークコントローラ202、ホス
ト計算機102側のデータ伝送を制御するスレーブネッ
トワークコントローラ203、マイコン201の演算処
理用のプログラムを格納するROM204、演算の中間
データや送受信バッファとして使用されるDRAM20
5などから構成される。
FIG. 2 shows a function code filtering device 10.
1 is a configuration diagram of the inside. The apparatus mainly includes a microcomputer 201 that controls overall data processing including filtering processing for data selection, a master network controller 202 that controls data transmission on the backbone network 103, and a slave network controller that controls data transmission on the host computer 102 side. 203, a ROM 204 for storing an arithmetic processing program of the microcomputer 201, a DRAM 20 used as intermediate data for arithmetic operations and a transmission / reception buffer
5 and the like.

【0014】図3に、基幹ネットワーク103からの受
信データの処理に関するフローチャートを示す。基幹ネ
ットワーク103からの受信データはマスタネットワー
クコントローラ202で機能コードフィルタリング装置
101内に取り込まれると、まず、マスタ側受信データ
管理テーブル206に登録された後、送受信バッファ2
05に格納される。
FIG. 3 is a flowchart showing processing of data received from the backbone network 103. When the received data from the backbone network 103 is taken into the function code filtering device 101 by the master network controller 202, the data is first registered in the master-side received data management table 206 and then transmitted and received by the transmission / reception buffer 2.
05 is stored.

【0015】マイコン201上で動作するフィルタリン
グタスクは、一定周期でマスタ側受信データ管理テーブ
ル206を参照し(ステップ301)、受信データが存
在することを確認するとフィルタリングパラメータテー
ブル212と受信データを照らし合わせ、ホスト計算機
102が必要とするデータか否かを判定する。
The filtering task that operates on the microcomputer 201 refers to the master-side received data management table 206 at regular intervals (step 301). When it is confirmed that the received data exists, the filtering task compares the filtering parameter table 212 with the received data. It is determined whether the data is required by the host computer 102.

【0016】図4に受信フレームの構成例を示す。受信
フレームのデータに先立つヘッダ部分は、MACヘッ
ダ、IPヘッダ、UDPヘッダに分かれている。MAC
ヘッダはメディアアクセス制御用のヘッダで宛先アドレ
スDA、発信アドレス、プロトコルアイプPTが含まれ
ている。IPヘッダはプロトコルPが含まれている。ま
た、UDPヘッダには発信ポート番号SP、宛先ポート
番号DP、チェックサムCkSum、データ長Lenが
含まれている。
FIG. 4 shows an example of the structure of a received frame. The header portion preceding the data of the received frame is divided into a MAC header, an IP header, and a UDP header. MAC
The header is a header for media access control and includes a destination address DA, a transmission address, and a protocol IP PT. The IP header contains the protocol P. In addition, the UDP header includes a transmission port number SP, a destination port number DP, a checksum CkSum, and a data length Len.

【0017】このうちフィルタリングパラメータとして
はプロトコルタイプPTと宛先ポート番号DPの2種類
が登録され、受信フレームがブロードキャストフレーム
であった場合(すなわち宛先アドレスDAがオール1の
場合)のみフィルタリングパラメータテーブル212と
受信データの照合が行われる(ステップ302)。
Of these, two types of protocol parameters PT and destination port number DP are registered as filtering parameters, and only when the received frame is a broadcast frame (that is, when the destination address DA is all 1), the filtering parameter table 212 is stored. The collation of the received data is performed (step 302).

【0018】判定の結果、ブロードキャストフレーム以
外の受信フレームの場合、およびブロードキャストフレ
ームでホスト計算機102が必要とするデータであった
場合は、スレーブ側送信キュー210が一杯となってい
ないかを判定し(ステップ303)、送信キュー210
に空きがある場合は当該データをスレーブ側送信キュー
210に格納し、スレーブ側送信データ管理テーブル2
07に登録する(ステップ304)。また、マスタ側受
信データ管理テーブル206および送受信バッファ20
5の当該データ格納部を解放する(ステップ305)。
If the result of the determination is that the received frame is other than a broadcast frame, and if the broadcast frame contains data required by the host computer 102, it is determined whether the slave-side transmission queue 210 is full. Step 303), transmission queue 210
If there is free space in the slave-side transmission data management table 2, the data is stored in the slave-side transmission queue 210.
07 (step 304). The master-side received data management table 206 and the transmission / reception buffer 20
5 is released (step 305).

【0019】一方、ステップ302で条件に適合しない
データであった場合は、当該データは廃棄され(ステッ
プ306)、マスタ側受信データ管理テーブル206お
よび送受信バッファ205の当該データ格納部を解放す
る(ステップ305)。一方、ステップ303でスレー
ブ側送信キュー210が一杯の場合は空きができるまで
待つことになる。
On the other hand, if the data does not meet the conditions in step 302, the data is discarded (step 306), and the data storage section of the master side received data management table 206 and the transmission / reception buffer 205 is released (step 306). 305). On the other hand, if the slave-side transmission queue 210 is full at step 303, the process waits until a space is available.

【0020】次に図5は、ホスト計算機102からの送
信データの処理に関するフローチャートである。この場
合は、基幹ネットワーク103からの受信データの処理
とは異なり、伝送データのフィルタリングを行う必要は
なく、基幹ネットワーク103に対するデータ中継の管
理だけ行えば充分である。ただし、基幹ネットワーク1
03上に流れるデータ量が非常に多い場合には、伝送路
でのデータ衝突に伴う再送処理等によって、送信キュー
211が思うように更新されなくなることがある。その
場合には、送受信バッファ205までが一杯となり、ホ
スト計算機102からのデータ受信ができなくなる可能
性がある。
Next, FIG. 5 is a flowchart relating to processing of transmission data from the host computer 102. In this case, unlike processing of data received from the backbone network 103, there is no need to perform filtering of transmission data, and it is sufficient to manage only data relay to the backbone network 103. However, backbone network 1
When the amount of data flowing on the transmission line 03 is very large, the transmission queue 211 may not be updated as desired due to retransmission processing or the like due to data collision on the transmission path. In this case, there is a possibility that the data up to the transmission / reception buffer 205 becomes full and data cannot be received from the host computer 102.

【0021】先に記したようにホスト計算機102から
の送信データが基幹ネットワーク103に到達する前に
欠損することは回避する必要がある。ホスト計算機10
2からの送信データはスレーブ側受信データ管理テーブ
ル208に登録された後、送受信バッファ205に格納
される。マイコン201上で動作する中継送信管理タス
クは一定周期でスレーブ側受信データ管理テーブル20
8を参照し(ステップ501)、受信データが存在する
ことを確認すると送受信バッファ205の空き容量をチ
ェックする(ステップ502)。
As described above, it is necessary to avoid that transmission data from the host computer 102 is lost before reaching the backbone network 103. Host computer 10
The transmission data from 2 is registered in the slave-side reception data management table 208 and then stored in the transmission / reception buffer 205. The relay transmission management task operating on the microcomputer 201 is executed at regular intervals by the slave-side reception data management table 20.
8 (step 501), and when it is confirmed that the received data exists, the free space of the transmission / reception buffer 205 is checked (step 502).

【0022】送受信バッファ203の空き容量が不足す
ると判断された場合には、更にスレーブ側送信キュー2
10を一時的に凍結し、図6に示すように送信キュー2
10の先頭にダミーデータ(擬似電文)を格納し、その
他のデータをシフトする。送信キュー210は、このダ
ミーデータの格納を可能とするため、通常1個のキュー
を予備として運用する(ステップ503)。ここで送受
信バッファ容量不足の判定基準はホスト計算機102か
らの受信データ格納用に1個、基幹ネットワーク103
からの受信用に1個、予備1個の計3個以下となったと
きとする。
If it is determined that the free space of the transmission / reception buffer 203 is insufficient, the slave side transmission queue 2
10 is temporarily frozen, and as shown in FIG.
Dummy data (pseudo-telegram) is stored at the top of 10, and other data is shifted. The transmission queue 210 normally operates one queue as a spare in order to store the dummy data (step 503). Here, the criterion of the shortage of the transmission / reception buffer capacity is one for storing the received data from the host computer 102 and one for the backbone network 103.
It is assumed that the number of receptions is three or less, that is, one for the reception from the server and one for the spare.

【0023】ステップ503の処理が行われた場合はス
レーブネットワークコントローラ203のデータ送信モ
ードを衝突検出を行わないモードに切り替え(ステップ
504)、強制的にダミーデータを伝送路上に送出さ
せ、ホスト計算機102からの送信データが伝送路上に
存在していた場合は、衝突による再送を促す。以降、ス
テップ502に戻って送受信バッファ205に空きがで
きるまで同様の処理を繰り返す。
When the processing in step 503 is performed, the data transmission mode of the slave network controller 203 is switched to a mode in which collision detection is not performed (step 504), and dummy data is forcibly transmitted on the transmission path. If the transmission data from is present on the transmission path, it prompts retransmission due to collision. Thereafter, the process returns to step 502 and the same process is repeated until the transmission / reception buffer 205 becomes empty.

【0024】ステップ502で送受信バッファ205に
空きがあることが分かった場合は、まずスレーブネット
ワークコントローラ203のデータ送信モードを衝突検
出を行うモードに戻し(ステップ505)、図3のステ
ップ303と同様、マスタ側送信キュー211が一杯と
なっていないかを判定し(ステップ506)、送信キュ
ー211に空きがある場合は当該データをマスタ側送信
キュー211に格納し、マスタ側送信データ管理テーブ
ル209に登録する。また、スレーブ側受信データ管理
テーブル208、及び送受信バッファ205の当該デー
タ格納部を解放する(ステップ507)。一方、マスタ
側送信キュー211が一杯の場合は図3のステップ30
3のときと同様、空きができるまで待つ。
If it is found in step 502 that there is free space in the transmission / reception buffer 205, the data transmission mode of the slave network controller 203 is returned to the mode for performing collision detection (step 505), and the same as step 303 in FIG. It is determined whether the master-side transmission queue 211 is full (step 506). If there is free space in the transmission queue 211, the data is stored in the master-side transmission queue 211 and registered in the master-side transmission data management table 209. I do. Further, the data storage unit of the slave-side received data management table 208 and the transmission / reception buffer 205 is released (step 507). On the other hand, if the master-side transmission queue 211 is full, step 30 in FIG.
As in the case of 3, it waits until a space becomes available.

【0025】尚、送受信バッファ全体の使用量の過不足
を問題としたが、ネットワークの送信用とコンピュータ
への受信用とのバッファに分け、ネットワークのデータ
送信のための送信バッファのみについて使用量の過不足
を問題にするやり方ある。
Although the problem of excessive or insufficient use of the entire transmission / reception buffer has been a problem, it is divided into buffers for network transmission and reception for a computer, and only the transmission buffer for network data transmission is used. There is a way to make excess or deficiency a problem.

【0026】[0026]

【発明の効果】以上説明したように本発明によると、バ
ッファメモリの使用状況を監視し、受信データ量が所定
量以上に達したら、受信データが流れている伝送路上に
ダミーデータを送出して衝突を発生させ、データの再送
を促すようにすることで、CSMA/CD方式に代表さ
れる汎用ネットワークシステムに特別な変更を加えるこ
となく、接続される伝送装置内でのデータの欠損を防止
することができ、データの欠損チェック、再送処理とい
ったホスト計算機の負荷を軽減することができる。
As described above, according to the present invention, the use status of the buffer memory is monitored, and when the amount of received data reaches a predetermined amount or more, dummy data is sent out onto the transmission line through which the received data is flowing. By generating a collision and prompting retransmission of data, loss of data in a connected transmission device can be prevented without making a special change to a general-purpose network system represented by the CSMA / CD system. This can reduce the load on the host computer such as data loss check and retransmission processing.

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

【図1】本発明の伝送システムの一実施の形態の構成を
示す模式図である。
FIG. 1 is a schematic diagram showing a configuration of an embodiment of a transmission system according to the present invention.

【図2】図1に示す実施の形態で用いられる機能コード
フィルタリング装置内部の構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a configuration inside a function code filtering device used in the embodiment shown in FIG. 1;

【図3】図1に示す実施の形態における基幹ネットワー
クからの受信データの処理を示すフローチャートであ
る。
FIG. 3 is a flowchart showing processing of data received from the backbone network in the embodiment shown in FIG. 1;

【図4】図1に示す実施の形態に用いられる受信フレー
ムの構成例である。
FIG. 4 is a configuration example of a reception frame used in the embodiment shown in FIG. 1;

【図5】図1に示す実施の形態におけるホスト計算機か
らの送信データの処理を示すフローチャートである。
FIG. 5 is a flowchart showing processing of transmission data from a host computer in the embodiment shown in FIG.

【図6】図1に示す実施の形態におけるスレーブ側送信
キューへのダミーデータ格納方法の説明図である。
FIG. 6 is an explanatory diagram of a method of storing dummy data in a slave transmission queue in the embodiment shown in FIG. 1;

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

101 機能コードフィルタリング装置 102 ホスト計算機 103 基幹ネットワーク 104、105 汎用CSMA/CD方式ネットワーク 201 マイコン 202 マスタネットワークコントローラ 203 スレーブネットワークコントローラ 204 プログラム格納用ROM 205 送受信バッファ用DRAM 206 マスタ側受信データ管理テーブル 207 スレーブ側送信データ管理テーブル 208 スレーブ側受信データ管理テーブル 209 マスタ側送信データ管理テーブル 210 スレーブ側送信キュー 211 マスタ側送信キュー 212 フィルタリングパラメータテーブル 101 Function Code Filtering Device 102 Host Computer 103 Backbone Network 104, 105 General Purpose CSMA / CD Network 201 Microcomputer 202 Master Network Controller 203 Slave Network Controller 204 Program Storage ROM 205 Transmission / Reception Buffer DRAM 206 Master-side Received Data Management Table 207 Slave Side Transmission data management table 208 Slave side reception data management table 209 Master side transmission data management table 210 Slave side transmission queue 211 Master side transmission queue 212 Filtering parameter table

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小川 尚雄 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Nao Ogawa 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Inside the Hitachi, Ltd. Omika Plant

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータと、 このコンピュータにつながるCSMA/CD方式の第1
の伝送路と、 ネットワークと、 このネットワークにつながるCSMA/CD方式の第2
の伝送路と、 上記第1、第2の伝送路につながり、第1の伝送路を介
しての上記コンピュータからのデータを第2の伝送路を
介して上記ネットワークに送信し、上記第2の伝送路を
介しての上記ネットワークからのデータを第1の伝送路
を介して上記コンピュータに受信させる機能コードフィ
ルタリング装置とを備えると共に、 この機能コードフィルタリング装置は、 送受信バッファと、 上記第2の伝送路を介しての上記ネットワークから受信
したデータが、登録ずみのフィルタリングパラメータに
一致するか否かを判定する第1の手段と、 一致するときにそのデータを上記送受信バッファに一時
格納した上で第1の伝送路を介して上記コンピュータに
送信し受信させる第2の手段と、 上記送受信バッファの使用量が規定量を越えたことを検
出する第3の手段と、 規定量を越えていない状態で、上記コンピュータからの
第1の伝送路を介して受信したデータを、送受信バッフ
ァに一時記憶させた上で、第2の伝送路を介して上記ネ
ットワークに送信する第4の手段と、 規定量を越えたことを検出した状態で、上記コンピュー
タからの第1の伝送路を介してデータを受信した場合
に、規定量を下回るまでダミーデータを、上記第1の伝
送路を介して上記コンピュータに送出する第5の手段
と、 を備えた自律分散システム。
1. A computer and a first CSMA / CD system connected to the computer
Transmission line, network, and the second CSMA / CD system connecting to this network
Transmitting the data from the computer via the first transmission path to the network via the second transmission path, and connecting the data to the network via the second transmission path. A function code filtering device for causing the computer to receive data from the network via a transmission line via a first transmission line, the function code filtering device comprising: a transmission / reception buffer; First means for determining whether or not data received from the network via a path matches registered filtering parameters; and if matched, temporarily store the data in the transmission / reception buffer, and Second means for transmitting to and receiving from the computer via the first transmission path, and that the used amount of the transmission / reception buffer exceeds a prescribed amount. A third means for detecting, and temporarily storing data received from the computer via the first transmission path in a transmission / reception buffer in a state where the second transmission path is not exceeded, and A fourth means for transmitting data to the network via a first transmission path from the computer in a state where the data exceeds a prescribed amount, and a dummy until the data falls below the prescribed amount. Fifth means for sending data to the computer via the first transmission path.
【請求項2】 上記機能コードフィルタリング装置は、
第1の送路側での信号衝突検出を行うモード/信号衝突
検出を行わないモードの切換手段を持つものとした請求
項1の自律分散システム。
2. The function code filtering device according to claim 1,
2. The autonomous decentralized system according to claim 1, further comprising switching means for switching between a mode in which signal collision is detected on the first transmission path side and a mode in which signal collision is not detected.
【請求項3】 上記切換手段は、上記第3の手段に対応
して、規定量を越えていない状態では第1の伝送路側で
の信号衝突検出を行うモードに制御され、規定量を越え
た状態では第1の伝送路側での信号衝突検出を行わない
モードに制御されるものとし、 上記第4の手段は、第1の伝送路側での上記信号衝突検
出行うモードのもとで、上記受信データを第2の伝送路
に送出し、 上記第5の手段は、第1の伝送路側での上記信号衝突検
出を行わないモードのもとで、上記ダミーデータを第1
の伝送路に送出するものとした請求項2の自律分散シス
テム。
3. The switching means is controlled to a mode for detecting a signal collision on the first transmission line side when the amount does not exceed a prescribed amount, corresponding to the third means. In the state, the mode is controlled so as not to perform the signal collision detection on the first transmission path side, and the fourth means performs the reception in the mode in which the signal collision detection is performed on the first transmission path side. The fifth means transmits the dummy data to the first transmission line in a mode in which the signal collision detection is not performed on the first transmission line side.
3. The autonomous decentralized system according to claim 2, wherein the signal is transmitted to a transmission line of the same.
【請求項4】 送受信バッファから第1の伝送路を介し
てのコンピュータへの送信及び第2の伝送路を介しての
ネットワークへの送信に際しては、それぞれ送信キュー
にデータをセットすると共にそのデータの格納元領域の
開放を行わせるものとした請求項1の自律分散システ
ム。
4. When data is transmitted from a transmission / reception buffer to a computer via a first transmission path and transmitted to a network via a second transmission path, data is set in a transmission queue and the data is stored in the transmission queue. 2. The autonomous decentralized system according to claim 1, wherein the storage source area is opened.
【請求項5】 上記送受信バッファは、ネットワークへ
の送信用バッファ領域とコンピュータへの受信用バッフ
ァ領域とを持ち、第3の手段は、送信用バッファ領域の
使用量が規定量を越えたことを検出するものとした請求
項1の自律分散システム。
5. The transmission / reception buffer has a buffer area for transmission to a network and a buffer area for reception to a computer, and a third means determines that the usage of the transmission buffer area exceeds a prescribed amount. The autonomous decentralized system according to claim 1, wherein the autonomous decentralized system is detected.
【請求項6】 伝送路上でのデータの衝突を検出して再
送する機能を持つ複数の伝送装置と、該伝送装置を結び
伝送路を構成するネットワークからなる伝送システムに
おいて、 該伝送装置と該ネットワーク間に設けられ、送受信デー
タを一時的に記憶する緩衝用バッファ手段と、 該緩衝用バッファ手段の使用量が予め定めた規定量を超
えたことを検出するバッファ使用量検出手段と、 該バッファ使用量検出手段が前記緩衝用バッファ手段で
の使用量の規定量超過を検出したときに前記ネットワー
ク上にダミーデータを送出するダミーデータ送出手段と
を具備し、 前記ネットワークの伝送路に接続される他の伝送装置か
らの送信データが前記ネットワーク上に送出されていた
場合に、該送信データと該ダミーデータ間に衝突を発生
させ、データの再送を促し、前記伝送装置における受信
データの欠損を防ぐことを特徴とする伝送システム。
6. A transmission system comprising a plurality of transmission devices having a function of detecting data collision on a transmission line and retransmitting the data, and a network connecting the transmission devices and forming a transmission line, wherein the transmission device and the network Buffer buffer means for temporarily storing transmission / reception data, buffer use amount detection means for detecting that the use amount of the buffer buffer means has exceeded a predetermined amount, Dummy data sending means for sending dummy data onto the network when the amount detecting means detects the use amount of the buffering buffer means exceeds a specified amount, and wherein the dummy data sending means is connected to a transmission line of the network. If the transmission data from the transmission device is transmitted over the network, a collision occurs between the transmission data and the dummy data, Transmission system prompts the retransmission, characterized in that to prevent the loss of the received data in the transmission device.
【請求項7】 前記バッファ使用量検出手段で使用量の
規定量超過が検出されたときに前記ネットワークに対す
るデータの衝突検出機能を一時的に停止する衝突検出機
能停止手段を具備し、 前記ネットワークの伝送路に接続される他の伝送装置か
らの送信データが前記ネットワーク上に送出されていた
場合でも、前記ダミーデータ送出手段が前記ネットワー
ク上に前記ダミーデータを送出し、該送信データと前記
ダミーデータ間に確実に衝突を発生させ、データの再送
を促し、前記伝送装置における受信データの欠損を防ぐ
ことを特徴とする請求項6に記載の伝送システム。
7. A collision detecting function stopping unit for temporarily stopping a data collision detecting function for the network when the buffer usage detecting unit detects that the used amount exceeds a specified amount. Even when transmission data from another transmission device connected to a transmission path has been transmitted over the network, the dummy data transmission means transmits the dummy data over the network, and the transmission data and the dummy data are transmitted. 7. The transmission system according to claim 6, wherein a collision is reliably generated between the transmission devices, and the retransmission of the data is promoted to prevent loss of received data in the transmission device.
JP4339598A 1998-02-25 1998-02-25 Autonomous distribution system and transmission system Pending JPH11243404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4339598A JPH11243404A (en) 1998-02-25 1998-02-25 Autonomous distribution system and transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4339598A JPH11243404A (en) 1998-02-25 1998-02-25 Autonomous distribution system and transmission system

Publications (1)

Publication Number Publication Date
JPH11243404A true JPH11243404A (en) 1999-09-07

Family

ID=12662608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4339598A Pending JPH11243404A (en) 1998-02-25 1998-02-25 Autonomous distribution system and transmission system

Country Status (1)

Country Link
JP (1) JPH11243404A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015111754A (en) * 2013-12-06 2015-06-18 アンリツネットワークス株式会社 Switching device and switching device control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015111754A (en) * 2013-12-06 2015-06-18 アンリツネットワークス株式会社 Switching device and switching device control method

Similar Documents

Publication Publication Date Title
JP3184817B2 (en) Flow control method, suspension control system and node
US4750109A (en) Method and system for expediting multi-packet messages in a computer network
KR101676353B1 (en) Method of message control in heterogeneous network and apparatus the same
EP0517534A1 (en) LAN repeater
WO2000011841A1 (en) Method and system for prioritised congestion control in a switching hub
JPH11239163A (en) Inter-lan flow control method and switch
JPH11243404A (en) Autonomous distribution system and transmission system
CN101617509B (en) Method for transferring data to a plurality of control appliances
EP0222584A2 (en) A bridge for and a method for routeing signals between local area networks
JPH0458215B2 (en)
JPH09214545A (en) Network communication control system
JP3163526B2 (en) LAN broadcast frame processing method and apparatus
JP2001119405A (en) Ip telephone system
JP2007135107A (en) Relay connection unit
JPS59167149A (en) Local network system
JP3818381B2 (en) Packet transfer control device, transmission device, communication system, and packet transfer control method
JPH0964872A (en) Network system
JPH02260735A (en) Relay congestion forecasting device
JP3066164B2 (en) Data transmission system
JPH0253346A (en) Bus type lan
JPS60189344A (en) Data communication system and its equipment
JP2542461B2 (en) Collision detection transmission system
JPH05336122A (en) Method for controlling network
JPS5816823B2 (en) Communication method
JPS61127245A (en) Communication network