JPH0697983A - Network system - Google Patents

Network system

Info

Publication number
JPH0697983A
JPH0697983A JP4241850A JP24185092A JPH0697983A JP H0697983 A JPH0697983 A JP H0697983A JP 4241850 A JP4241850 A JP 4241850A JP 24185092 A JP24185092 A JP 24185092A JP H0697983 A JPH0697983 A JP H0697983A
Authority
JP
Japan
Prior art keywords
frame
transmission
node
buffer
frames
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
JP4241850A
Other languages
Japanese (ja)
Inventor
Kiyoshi Tawara
清 田原
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4241850A priority Critical patent/JPH0697983A/en
Publication of JPH0697983A publication Critical patent/JPH0697983A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To perform flow control so as not to generate the frame overflow of a buffer in a data link layer in a network system. CONSTITUTION:In the node of the network system, a frame received at a physical layer interface 23f is stored in a reception buffer 23e. A buffer using amount monitoring circuit 23h checks the number of the frames inside the reception buffer 23e for each frame reception and generates buffer full signals when the checked number of the frames is more than the preset number of the frames. When the buffer full signals are received, a protocol controller 23b sets a transmission cancellation frame at a transmission buffer 23d and instructs transmission to the physical layer interface 23f. Also, when the number of the frames of the reception buffer 23e is less than the prescribed number of the frames, buffer empty signals are generated and a transmission starting frame is transmitted corresponding to the buffer empty signals.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のノードおよび各
ノードを相互接続する伝送路を有し、各ノード間におい
てフレームの送受信が行われるネットワークシステムに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network system having a plurality of nodes and a transmission path interconnecting the nodes and transmitting / receiving a frame between the nodes.

【0002】[0002]

【従来の技術】フレーム交換型のネットワーク、特に、
ローカルエリアネットワーク(LAN)の分野では、フ
レームを受信する場合に受信バッファでフレームあふれ
が発生しないように、送信端末と受信端末との間で制御
を行うフロー制御が必要となる。受信端末において受信
処理能力以上のフレーム数を受信した場合、受信処理可
能フレーム数を越える分のフレーム数に対応するフレー
ムは廃棄され、受信端末から送信端末に対してフレーム
の再送要求が行われている。従来、このようなフロー制
御は、OSI(open system interconnection )参照モ
デルのトランスポート層に相当する部分で行われてい
た。このトランスポート層においては、通信の論理的な
チャネル毎にバッファが管理され、各バッファにおいて
フレームあふれが生じないようにフロー制御が行われて
いた。
BACKGROUND OF THE INVENTION Frame switched networks, especially
In the field of local area networks (LANs), flow control is required to perform control between a transmission terminal and a reception terminal so that a frame does not overflow in a reception buffer when receiving a frame. When the receiving terminal receives more frames than the reception processing capacity, the frames corresponding to the number of frames exceeding the number of frames that can be received are discarded and the receiving terminal requests the transmitting terminal to retransmit the frames. There is. Conventionally, such flow control has been performed in a portion corresponding to the transport layer of the OSI (open system interconnection) reference model. In this transport layer, buffers are managed for each logical channel of communication, and flow control is performed so that frame overflow does not occur in each buffer.

【0003】[0003]

【発明が解決しようとする課題】しかし、トランスポー
ト層における論理チャネル毎のフロー制御では、チャネ
ルの識別ができないデータリンク層でのバッファのフレ
ームあふれを防ぐことができないという問題があった。
However, the flow control for each logical channel in the transport layer has a problem that it is impossible to prevent the frame overflow of the buffer in the data link layer where the channel cannot be identified.

【0004】本発明は上記事情に鑑みなされたものであ
り、データリンク層においてバッファのフレームあふれ
が生じないようにフロー制御を行うことができるネット
ワークシステムを提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a network system capable of performing flow control so that frame overflow of a buffer does not occur in a data link layer.

【0005】[0005]

【課題を解決するための手段】本発明のネットワークシ
ステムでは、フレームの送受信を行う複数のノードと、
各ノードを相互接続する伝送路を有するネットワークシ
ステムにおいて、各ノードが、他ノードに対してフレー
ムの送受信を行う送受信手段と、送受信手段で受信した
フレームを記憶する記憶手段と、記憶手段に記憶されて
いるフレームの数をチェックするチェック手段と、記憶
手段に記憶されているフレームの数に応じて、他ノード
に対するフレーム送信の中止を要求する送信中止フレー
ムを生成する生成手段とを有し、生成された送信中止フ
レームは送受信手段によって他ノードに送信され、送信
中止フレームを受信した他ノードでは、送信中止フレー
ムを送信したノードに対するフレームの送信を中止する
ことを特徴とする。
In the network system of the present invention, a plurality of nodes for transmitting and receiving frames,
In a network system having a transmission path that interconnects each node, each node stores in the storage unit a transmission / reception unit that transmits / receives a frame to / from another node, a storage unit that stores the frame received by the transmission / reception unit. A check unit for checking the number of stored frames, and a generating unit for generating a transmission stop frame for requesting another node to stop frame transmission according to the number of frames stored in the storage unit. The generated transmission stop frame is transmitted to another node by the transmission / reception means, and the other node receiving the transmission stop frame stops transmitting the frame to the node that transmitted the transmission stop frame.

【0006】[0006]

【作用】以上のような構成により、データリンク層にお
けるバッファのフレームあふれが生じないようにフロー
制御が行われるので、トランスポート層における無駄な
フレームの再送が少なくなる。従って、フレームの転送
時間が短くなる。また、再送されるフレームが少なくな
るので、ネットワークの容量を効率良く使用することが
できる。
With the above-described structure, the flow control is performed so that the frame overflow of the buffer in the data link layer does not occur, so that unnecessary frame retransmissions in the transport layer are reduced. Therefore, the frame transfer time is shortened. In addition, since the number of retransmitted frames is reduced, the capacity of the network can be efficiently used.

【0007】[0007]

【実施例】本発明の実施例を説明する前に、従来のネッ
トワークシステムのノードについて図8を参照して説明
する。図8において、従来のノードは、CPU(centra
lprocessing unit )10、メモリ11、制御バス1
2、ネットワークインターフェース13、および伝送路
14によって構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the embodiments of the present invention, a node of a conventional network system will be described with reference to FIG. In FIG. 8, a conventional node is a CPU (centra
lprocessing unit) 10, memory 11, control bus 1
2, the network interface 13, and the transmission path 14.

【0008】ネットワークインターフェース13は、バ
スインターフェース13a、プロトコルコントローラ1
3b、メモリ13c、送信バッファ13d、受信バッフ
ァ13e、物理層インターフェース13f、および内部
バス13gによって構成される。内部バス13gは、バ
スインターフェース13a、プロトコルコントローラ1
3b、メモリ13c、送信バッファ13d、受信バッフ
ァ13e、および物理層インターフェース13fを相互
接続するために用いられる。
The network interface 13 includes a bus interface 13a and a protocol controller 1.
3b, memory 13c, transmission buffer 13d, reception buffer 13e, physical layer interface 13f, and internal bus 13g. The internal bus 13g includes a bus interface 13a and a protocol controller 1
3b, the memory 13c, the transmission buffer 13d, the reception buffer 13e, and the physical layer interface 13f are used for interconnection.

【0009】物理層インターフェース13fは、伝送路
14上の電気信号を判定することにより、他ノードから
自ノード宛に送信されたフレームを受信する。受信バッ
ファ13eは、物理層インターフェース13fで受信し
たフレームを記憶する。
The physical layer interface 13f receives the frame transmitted from another node to its own node by judging the electric signal on the transmission path 14. The reception buffer 13e stores the frame received by the physical layer interface 13f.

【0010】プロトコルコントローラ13bは、受信バ
ッファ13eに記憶されているフレームを読出し、読出
したフレームに対してプロトコル処理を行い、CPU1
0にその処理結果を示す結果データを転送する。
The protocol controller 13b reads the frame stored in the reception buffer 13e, performs the protocol processing on the read frame, and the CPU 1
The result data indicating the processing result is transferred to 0.

【0011】また、プロトコルコントローラ13bは、
CPU10から出力されるフレーム送信要求に応じて、
メモリ11に記憶されている送信情報を制御バス12、
バスインターフェース13a、および内部バス13gを
介して送信バッファ13dに転送し、この送信情報にプ
ロトコル情報を付加し、物理層インターフェース13f
にフレーム送信を指示する。これによって、プロトコル
情報が付加された送信情報が送信フレームとして物理層
インターフェース13fから伝送路14に出力される。
次に、本発明の実施例について説明する。
Further, the protocol controller 13b is
In response to a frame transmission request output from the CPU 10,
The transmission information stored in the memory 11 is transmitted to the control bus 12,
It is transferred to the transmission buffer 13d via the bus interface 13a and the internal bus 13g, protocol information is added to this transmission information, and the physical layer interface 13f is added.
To instruct the frame transmission. As a result, the transmission information to which the protocol information is added is output from the physical layer interface 13f to the transmission path 14 as a transmission frame.
Next, examples of the present invention will be described.

【0012】図1は、本発明の実施例であるネットワー
クシステムのノードの構成を示すブロック図である。図
1に示すように、本ノードは、CPU20、メモリ2
1、制御バス22、ネットワークインターフェース2
3、および伝送路24によって構成される。
FIG. 1 is a block diagram showing a configuration of a node of a network system which is an embodiment of the present invention. As shown in FIG. 1, this node includes a CPU 20 and a memory 2.
1, control bus 22, network interface 2
3 and the transmission line 24.

【0013】ネットワークインターフェース23は、バ
スインターフェース23a、プロトコルコントローラ2
3b、メモリ23c、送信バッファ23d、受信バッフ
ァ23e、物理層インターフェース23f、内部バス2
3g、およびバッファ使用量監視回路23hによって構
成されている。すなわち、本実施例では、図8に示す従
来のネットワークシステムのノードと比較して、バッフ
ァ使用量監視回路23hが新たに設けられている。な
お、内部バス23gは、バスインターフェース23a、
プロトコルコントローラ23b、メモリ23c、送信バ
ッファ23d、受信バッファ23e、物理層インターフ
ェース23f、およびバッファ使用量監視回路23hを
相互接続するために用いられる。物理層インターフェー
ス23fは、伝送路24上の電気信号を判定することに
より、他ノードから自ノード宛に送信されたフレームを
受信する。
The network interface 23 includes a bus interface 23a and a protocol controller 2
3b, memory 23c, transmission buffer 23d, reception buffer 23e, physical layer interface 23f, internal bus 2
3g, and a buffer usage monitoring circuit 23h. That is, in this embodiment, the buffer usage monitoring circuit 23h is newly provided as compared with the node of the conventional network system shown in FIG. The internal bus 23g includes the bus interface 23a,
It is used for interconnecting the protocol controller 23b, the memory 23c, the transmission buffer 23d, the reception buffer 23e, the physical layer interface 23f, and the buffer usage monitoring circuit 23h. The physical layer interface 23f receives the frame transmitted from another node to its own node by determining the electric signal on the transmission path 24.

【0014】図2は、物理層インターフェース23fで
受信されたフレーム(受信フレーム)の構成を示す図で
ある。図2に示すように、受信フレームには、ヘッダ
(H)30、宛先アドレス(DA)31、発信元アドレ
ス(SA)32、情報(INFO)33、およびエラー
検出符号(FCS)34が含まれる。
FIG. 2 is a diagram showing the structure of a frame (received frame) received by the physical layer interface 23f. As shown in FIG. 2, the received frame includes a header (H) 30, a destination address (DA) 31, a source address (SA) 32, information (INFO) 33, and an error detection code (FCS) 34. .

【0015】受信フレーム内の宛先アドレス31が自ノ
ードアドレスである場合、すなわち、受信フレームが自
ノード宛に送信されたフレームである場合、この受信フ
レームは物理層インターフェース23fによって受信バ
ッファ23eのフレームが記憶されていない空きエリア
に記憶される。
When the destination address 31 in the received frame is the own node address, that is, when the received frame is a frame transmitted to the own node, the received frame is stored in the receive buffer 23e by the physical layer interface 23f. It is stored in an empty area that is not stored.

【0016】一方、受信フレーム内の宛先アドレス31
が自ノードアドレス以外のアドレスである場合、すなわ
ち、自ノード宛に送信されたフレームでない場合、受信
フレームは物理層インターフェース23fによって廃棄
される。
On the other hand, the destination address 31 in the received frame
Is an address other than the own node address, that is, if it is not a frame transmitted to the own node, the received frame is discarded by the physical layer interface 23f.

【0017】なお、受信バッファ23eは、図3に示す
ように、識別エリア40とデータエリア41によって論
理的に構成されている。識別エリア40とデータエリア
41は、それぞれ複数のエリアを有している。
The receiving buffer 23e is logically constructed by an identification area 40 and a data area 41, as shown in FIG. The identification area 40 and the data area 41 each have a plurality of areas.

【0018】物理層インターフェース23fは、自ノー
ド宛のフレームを受信した場合、受信バッファ23eの
データエリア41の所定エリアに受信フレームを記憶さ
せ、識別エリア40の対応するエリアに“1”を書込
む。また、物理層インターフェース23fは、フレーム
が受信バッファ23eのデータエリア41から読出され
た場合、識別エリア40の対応するエリアに“0”を書
込む。
When the physical layer interface 23f receives a frame addressed to its own node, the physical layer interface 23f stores the received frame in a predetermined area of the data area 41 of the reception buffer 23e and writes "1" in the corresponding area of the identification area 40. . Also, the physical layer interface 23f writes “0” in the corresponding area of the identification area 40 when the frame is read from the data area 41 of the reception buffer 23e.

【0019】バッファ使用量監視回路23hは、識別エ
リア40の各エリアに書込まれている“1”の数をフレ
ーム受信毎にカウントする。このカウント値によって受
信バッファ23eのフレーム記憶状況を把握することが
できる。
The buffer usage monitoring circuit 23h counts the number of "1" written in each area of the identification area 40 for each frame reception. The frame storage status of the reception buffer 23e can be grasped from this count value.

【0020】ここで、プロトコルコントローラ23bに
おけるフレーム送信処理について図4を参照して説明す
る。なお、図4は、図1に示す本発明の実施例であるノ
ードのプロトコルコントローラ23bにおけるフレーム
送信処理を示すフローチャートである。
Here, the frame transmission processing in the protocol controller 23b will be described with reference to FIG. 4. FIG. 4 is a flowchart showing the frame transmission processing in the protocol controller 23b of the node which is the embodiment of the present invention shown in FIG.

【0021】図4において、ステップA1では、CPU
20からフレーム送信要求があったかどうかが判断され
る。ステップA1においてCPU20からフレーム送信
要求があった場合、ステップA2では、他ノードからの
送信中止フレームを物理層インターフェース23fが受
信したかどうかが判断される。
In FIG. 4, in step A1, the CPU
It is determined from 20 whether there is a frame transmission request. When there is a frame transmission request from the CPU 20 in step A1, it is determined in step A2 whether or not the physical layer interface 23f receives a transmission stop frame from another node.

【0022】図5は、他ノードからのフレームの送信中
止を要求するための送信中止フレームの構成を示すブロ
ック図である。図5に示すように、この送信中止フレー
ムには、ヘッダ(H)40、宛先アドレス(DA)4
1、発信元アドレス(SA)42、“送信中止”情報4
3、およびエラー検出符号(FCS)44が含まれる。
なお、宛先アドレス41には同報アドレスがセットさ
れ、発信元アドレス42にはこの送信中止フレームを送
信するノードの自ノードアドレスがセットされることに
なる。
FIG. 5 is a block diagram showing the structure of a transmission stop frame for requesting the transmission stop of a frame from another node. As shown in FIG. 5, the transmission stop frame includes a header (H) 40 and a destination address (DA) 4
1, source address (SA) 42, "transmission stopped" information 4
3 and an error detection code (FCS) 44.
The destination address 41 is set to the broadcast address, and the source address 42 is set to the own node address of the node transmitting the transmission cancel frame.

【0023】ステップA2において、他ノードからの送
信中止フレームを受信した場合、ステップA3では、他
ノードからの送信開始フレームを物理層インターフェー
ス23fが受信したかどうかが判断される。
When a transmission stop frame from another node is received in step A2, it is determined in step A3 whether the physical layer interface 23f receives a transmission start frame from another node.

【0024】すなわち、他ノードに対するフレームの送
信中において、他ノードから送信中止フレームを受信し
た場合、他ノードに対するフレームの送信が中止され
る。その後、他ノードから送信開始フレームを受信した
場合、他ノードに対してフレームの送信が再開されるこ
とになる。従って、送信開始フレームが受信されるま
で、他ノードに対するフレームの送信は中止される。
That is, when a transmission stop frame is received from another node during transmission of a frame to another node, transmission of the frame to another node is stopped. After that, when a transmission start frame is received from another node, frame transmission is restarted to the other node. Therefore, the transmission of the frame to the other node is stopped until the transmission start frame is received.

【0025】なお、送信開始フレームの構成は、図5に
示す送信中止フレームとほぼ同様であり、送信開始フレ
ームでは、“送信中止”情報43の代わりに、“送信開
始”情報が含まれる。
The structure of the transmission start frame is almost the same as the transmission stop frame shown in FIG. 5, and the transmission start frame includes "transmission start" information instead of "transmission stop" information 43.

【0026】ステップA3において、他ノードからの送
信開始フレームを受信した場合、送信バッファ23d内
のフレームが送信される(ステップA4)。すなわち、
メモリ21に記憶されている送信情報は、制御バス2
2、バスインターフェース23a、および内部バス23
gを介して送信バッファ23dに転送され、この送信情
報にプロトコル情報が付加される。また、物理層インタ
ーフェース23fにフレーム送信が指示される。これに
よって、プロトコル情報が付加された送信情報が送信フ
レームとして物理層インターフェース23fから伝送路
24に出力されることになる。
When a transmission start frame is received from another node in step A3, the frame in the transmission buffer 23d is transmitted (step A4). That is,
The transmission information stored in the memory 21 is the control bus 2
2, bus interface 23a, and internal bus 23
It is transferred to the transmission buffer 23d via g, and protocol information is added to this transmission information. Further, the physical layer interface 23f is instructed to transmit the frame. As a result, the transmission information to which the protocol information is added is output from the physical layer interface 23f to the transmission path 24 as a transmission frame.

【0027】なお、CPU20は、複数のノードに対す
るフレーム送信要求をプロトコルコントローラ23bに
行う場合がある。この場合、上記のようなフレーム送信
処理がそれぞれのフレーム送信要求に対して順次行われ
ることになる。
The CPU 20 may make a frame transmission request to a plurality of nodes to the protocol controller 23b. In this case, the frame transmission processing as described above is sequentially performed for each frame transmission request.

【0028】図6は、例えば、3つのノード(宛先A、
B、C)に対するフレーム送信要求がCPU20から与
えられた場合におけるプロトコルコントローラ23bの
フレーム送信処理の手順を説明するための図である。
FIG. 6 shows, for example, that three nodes (destination A,
FIG. 7 is a diagram for explaining a procedure of frame transmission processing of a protocol controller 23b when a frame transmission request for B and C) is given from the CPU 20.

【0029】図6において、時間T1 は、宛先A、B、
Cに対するフレーム送信要求をCPU20から受信した
時を示している。従って、プロトコルコントローラ23
bでは、第1に、宛先Aに対するフレーム送信が開始さ
れる。
In FIG. 6, the time T1 is the destination A, B,
It shows the time when a frame transmission request for C is received from the CPU 20. Therefore, the protocol controller 23
In b, first, the frame transmission to the destination A is started.

【0030】時間T2 は、宛先Aに対するフレーム送信
中において宛先Aから送信中止フレームを受信し、宛先
Bに対するフレーム送信を開始する時を示している。従
って、受信した送信中止フレームに応じて宛先Aに対す
るフレーム送信は一時中止される。
Time T2 indicates the time when the transmission stop frame is received from the destination A during the frame transmission to the destination A and the frame transmission to the destination B is started. Therefore, the frame transmission to the destination A is temporarily stopped according to the received transmission stop frame.

【0031】時間T3 は、宛先Aから送信開始フレーム
を受信し、宛先Aに対するフレーム送信を再開する時を
示している。従って、受信した送信開始フレームに応じ
て宛先Aに対するフレーム送信が再開され、宛先Bに対
するフレーム送信が一時中止される。
Time T3 indicates the time when the transmission start frame is received from the destination A and the frame transmission to the destination A is restarted. Therefore, the frame transmission to the destination A is restarted according to the received transmission start frame, and the frame transmission to the destination B is temporarily stopped.

【0032】時間T4 は、宛先Aに対するフレーム送信
を終了し、宛先Bに対する送信を再開する時を示してい
る。時間T5 は、宛先Bに対するフレーム送信を終了
し、宛先Cに対するフレーム送信を開始する時を示して
いる。時間T6 は、宛先Cに対するフレーム送信を終了
する時を示している。
Time T4 indicates the time when the frame transmission to the destination A is finished and the transmission to the destination B is restarted. Time T5 indicates the time when the frame transmission to the destination B is ended and the frame transmission to the destination C is started. Time T6 indicates when the frame transmission to the destination C is finished.

【0033】以上のように、宛先Aから順にフレーム送
信処理が行われる。なお、宛先Aに対するフレーム送信
中に送信中止フレームを受信した場合には、フレーム送
信処理が宛先Aに対する処理から宛先Bに対する処理に
移行する。その後、送信開始フレームを受信した場合に
は、フレーム送信処理が宛先Bに対する処理から宛先A
に対する処理に戻ることになる。このような動作によっ
て、宛先Aから宛先Cに対してフレーム送信処理が行わ
れる。
As described above, the frame transmission processing is performed in order from the destination A. When the transmission stop frame is received during the frame transmission to the destination A, the frame transmission process shifts from the process for the destination A to the process for the destination B. After that, when the transmission start frame is received, the frame transmission processing is performed from the processing for the destination B to the destination A.
The process will be returned to. By such an operation, the frame transmission processing is performed from the destination A to the destination C.

【0034】前述したようなデータフレームのフレーム
送信処理の他に制御フレーム(送信中止フレーム、送信
開始フレーム)を送信する処理がさらに行われる。制御
フレームを送信するかどうかは1つのデータフレームを
送信する度に判断され、必要ならばデータフレームより
も優先して制御フレームが送信されることになる。
In addition to the data frame frame transmission process as described above, a process of transmitting a control frame (transmission stop frame, transmission start frame) is further performed. Whether to transmit the control frame is determined every time one data frame is transmitted, and if necessary, the control frame is transmitted with priority over the data frame.

【0035】次に、プロトコルコントローラ23bにお
けるフレーム受信処理について図7を参照して説明す
る。なお、図7は、図1に示す本発明の実施例であるノ
ードのプロトコルコントローラ23bにおけるフレーム
受信処理を示すフローチャートである。
Next, the frame receiving process in the protocol controller 23b will be described with reference to FIG. 7. FIG. 7 is a flowchart showing the frame receiving process in the protocol controller 23b of the node which is the embodiment of the present invention shown in FIG.

【0036】プロトコルコントローラ23bでは、その
処理能力を示す処理可能フレーム数と比較して受信フレ
ーム数が多くなると、受信バッファ23eに記憶される
フレーム数が多くなる。受信バッファ23eに記憶され
るフレームの数が予め設定されたフレーム数以上になっ
た場合、バッファ使用量監視回路23hは、“バッファ
フル”信号を生成し、この“バッファフル”信号をプロ
トコルコントローラ23bに出力する。
In the protocol controller 23b, when the number of received frames is larger than the number of processable frames indicating the processing capability, the number of frames stored in the reception buffer 23e is large. When the number of frames stored in the reception buffer 23e exceeds the preset number of frames, the buffer usage amount monitoring circuit 23h generates a "buffer full" signal and outputs the "buffer full" signal to the protocol controller 23b. Output to.

【0037】従って、ステップB1では、この“バッフ
ァフル”信号を受信したかどうかが判定される。ステッ
プB1において、“バッファフル”信号が受信されてい
ない場合、受信バッファ23eにはフレームを記憶する
エリアがまだ十分あると判断され、物理層インターフェ
ース23fにおいて次に受信したフレームが受信バッフ
ァ23eに記憶される(ステップB2)。
Therefore, in step B1, it is determined whether this "buffer full" signal has been received. In step B1, if the "buffer full" signal is not received, it is determined that the reception buffer 23e has enough area to store the frame, and the next received frame in the physical layer interface 23f is stored in the reception buffer 23e. (Step B2).

【0038】一方、ステップB1において、“バッファ
フル”信号が受信された場合、送信中止フレームが送信
バッファ23dにセットされ、物理層インターフェース
23fに対してフレーム送信が指示される。これによっ
て、送信バッファ23dにセットされている送信中止フ
レームは物理層インターフェース23fから伝送路24
に同報送信される(ステップB3)。
On the other hand, when the "buffer full" signal is received in step B1, the transmission stop frame is set in the transmission buffer 23d, and the physical layer interface 23f is instructed to transmit the frame. As a result, the transmission stop frame set in the transmission buffer 23d is transmitted from the physical layer interface 23f to the transmission line 24.
Is broadcast (step B3).

【0039】他ノードがこの送信中止フレームを受信し
た場合、受信した送信中止フレームに含まれる発信元ア
ドレスで示されるノードに対しては、他ノードからのフ
レーム送信が中止される。なお、このフレーム送信の中
止は次のようにして行うことができる。
When another node receives this transmission stop frame, frame transmission from the other node is stopped for the node indicated by the source address included in the received transmission stop frame. The frame transmission can be stopped as follows.

【0040】すなわち、他ノードにおけるプロトコルコ
ントローラにおいて受信フレームが送信中止フレームで
あると判断された場合、受信フレームに含まれる発信元
アドレスをフレーム送信中止ノードアドレスとしてイン
ターフェース内のメモリに記憶する。ここで、CPUか
らプロトコルコントローラに対して送信要求があった場
合、CPUから出力された宛先アドレスをメモリに記憶
されているフレーム送信中止ノードアドレスと比較し、
宛先アドレスと一致するフレーム送信中止ノードアドレ
スがメモリに記憶されていれば、フレーム送信を中止す
る。
That is, when the protocol controller in another node determines that the received frame is the transmission stop frame, the source address included in the received frame is stored in the memory in the interface as the frame transmission stop node address. Here, when there is a transmission request from the CPU to the protocol controller, the destination address output from the CPU is compared with the frame transmission stop node address stored in the memory,
If the frame transmission stop node address that matches the destination address is stored in the memory, the frame transmission is stopped.

【0041】なお、送信中止フレームを送信したノード
では、他のノードからのフレームが受信されないので、
受信バッファ23eに記憶されているフレームは、プロ
トコルコントローラ23bによって順次プロトコル処理
される。
Since the node which has transmitted the transmission stop frame does not receive the frame from another node,
The frames stored in the reception buffer 23e are sequentially protocol-processed by the protocol controller 23b.

【0042】受信バッファ23eに記憶可能なフレーム
の数が予め設定されたフレーム数以下になった場合、バ
ッファ使用量監視回路23hは、“バッファエンプテ
ィ”信号を生成し、この“バッファエンプティ”信号を
プロトコルコントローラ23bに出力する。
When the number of frames that can be stored in the reception buffer 23e becomes equal to or less than the preset number of frames, the buffer usage amount monitoring circuit 23h generates a "buffer empty" signal and outputs this "buffer empty" signal. Output to the protocol controller 23b.

【0043】従って、ステップB4では、この“バッフ
ァエンプティ”信号を受信したかどうかが判定される。
ステップB4において、“バッファエンプティ”信号が
受信されていない場合、受信バッファ23eにはフレー
ムを記憶するエリアが十分確保されていないと判断され
る。従って、受信バッファ23eに記憶されているフレ
ームが読出され、読出されたフレームに対してプロトコ
ル処理が行われる(ステップB5)。プロトコル処理の
結果を示す結果データはCPU20に転送される。
Therefore, in step B4, it is determined whether this "buffer empty" signal has been received.
When the "buffer empty" signal is not received in step B4, it is determined that the reception buffer 23e does not have a sufficient area for storing the frame. Therefore, the frame stored in the reception buffer 23e is read, and the protocol processing is performed on the read frame (step B5). Result data indicating the result of the protocol processing is transferred to the CPU 20.

【0044】一方、ステップB4において、“バッファ
エンプティ”信号が受信された場合、送信開始フレーム
が送信バッファ23dにセットされ、物理層インターフ
ェース23fにフレーム送信が指示される。これによっ
て、送信開始フレームは物理層インターフェース23f
から伝送路24に同報送信される。
On the other hand, when the "buffer empty" signal is received in step B4, the transmission start frame is set in the transmission buffer 23d, and the physical layer interface 23f is instructed to transmit the frame. As a result, the transmission start frame is the physical layer interface 23f.
Is broadcast from the transmission line 24.

【0045】他ノードがこの送信開始フレームを受信し
た場合、受信した送信開始フレームの中から発信元アド
レスが読出され、読出された発信元フレームと一致する
フレーム送信中止ノードアドレスがメモリから削除され
る。以上のようにして、受信バッファ23eにおけるフ
レームあふれを防ぐことができる。
When another node receives this transmission start frame, the source address is read from the received transmission start frame, and the frame transmission stop node address that matches the read source frame is deleted from the memory. . As described above, frame overflow in the reception buffer 23e can be prevented.

【0046】なお、本実施例では、各ノードの受信バッ
ファのフレームあふれを防ぐために、送信中止フレー
ム、送信開始フレームが用いられている。しかし、各ノ
ードにタイマを設けることにより、受信バッファのフレ
ームあふれの制御を行うことが可能である。
In this embodiment, the transmission stop frame and the transmission start frame are used in order to prevent frame overflow in the reception buffer of each node. However, it is possible to control the frame overflow of the reception buffer by providing a timer in each node.

【0047】すなわち、所定ノードが送信中止フレーム
を受信した場合、そのノード内に設けられているタイマ
をスタートさせ、タイマのタイマ値が予め設定されたタ
イマ値に達するまでフレーム送信を中止する。これによ
って、ノードの受信バッファにおけるフレームあふれを
防ぐことができる。従って、この場合、前述した実施例
と比較して、送信開始フレームを所定ノードに送信する
必要がなくなる。また、送信開始フレームが全ノードに
届かず、いつまでもフレーム送信できなくなるという事
態を防ぐことができる。
That is, when a predetermined node receives a transmission stop frame, a timer provided in the node is started, and frame transmission is stopped until the timer value of the timer reaches a preset timer value. This makes it possible to prevent frame overflow in the reception buffer of the node. Therefore, in this case, it is not necessary to transmit the transmission start frame to the predetermined node as compared with the above-described embodiment. Further, it is possible to prevent a situation in which the transmission start frame does not reach all the nodes and the frame cannot be transmitted forever.

【0048】さらに、送信中止フレームを用いてフレー
ム送信を中止する場合、制御情報のようにデータ量が少
ない情報はフレーム送信し、画像情報のようにデータ量
が多い情報はバッファあふれが生じるのでフレーム送信
しないという判断をプロトコルコントローラで行うこと
により、制御情報だけは常にフレーム送信することが可
能となる。以上、本発明の実施例について説明したが、
本発明は上記実施例に限定されることなく本発明の要旨
の範囲内において種々の変形実施が可能である。
Furthermore, when frame transmission is stopped using a transmission stop frame, information with a small amount of data such as control information is transmitted with a frame, and information with a large amount of data such as image information causes a buffer overflow. By making a decision not to send by the protocol controller, it becomes possible to always send only control information in a frame. The embodiment of the present invention has been described above,
The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the gist of the present invention.

【0049】[0049]

【発明の効果】以上のように、データリンク層における
バッファのフレームあふれが生じないようにフロー制御
が行われるので、トランスポート層における無駄なフレ
ームの再送が少なくなる。従って、フレームの転送時間
が短くなる。また、再送されるフレームが少なくなるの
で、ネットワークの容量を効率良く使用できる。
As described above, since the flow control is performed so that the buffer frame in the data link layer does not overflow, unnecessary frame retransmissions in the transport layer are reduced. Therefore, the frame transfer time is shortened. In addition, since the number of retransmitted frames is reduced, the capacity of the network can be used efficiently.

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

【図1】本発明の実施例であるネットワークシステムに
おけるノードの構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a node in a network system that is an embodiment of the present invention.

【図2】受信フレームの構成を示す図。FIG. 2 is a diagram showing a configuration of a received frame.

【図3】図1に示すノードにおける受信バッファの論理
的な構成を示す図。
3 is a diagram showing a logical configuration of a reception buffer in the node shown in FIG.

【図4】図1に示すノードにおけるプロトコルコントロ
ーラのフレーム送信処理を示すフローチャート。
4 is a flowchart showing a frame transmission process of a protocol controller in the node shown in FIG.

【図5】送信中止フレームの構成を示す図。FIG. 5 is a diagram showing a structure of a transmission stop frame.

【図6】3つのノードに対する送信要求がCPUからあ
った場合におけるプロトコルコントローラのフレーム送
信処理の手順を説明するための図。
FIG. 6 is a diagram for explaining the procedure of frame transmission processing of the protocol controller when there are transmission requests from the CPU to three nodes.

【図7】図1に示すノードにおけるプロトコルコントロ
ーラのフレーム受信処理を示すフローチャート。
7 is a flowchart showing a frame reception process of a protocol controller in the node shown in FIG.

【図8】従来のネットワークシステムにおけるノードの
構成を示すブロック図。
FIG. 8 is a block diagram showing a configuration of a node in a conventional network system.

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

20…CPU、21…メモリ、22…制御バス、23…
ネットワークインターフェース、23a…バスインター
フェース、23b…プロトコルコントローラ、23c…
メモリ、23d…送信バッファ、23e…受信バッフ
ァ、23f…物理層インターフェース、23g…内部バ
ス、23h…バッファ使用量監視回路、24…伝送路。
20 ... CPU, 21 ... Memory, 22 ... Control bus, 23 ...
Network interface, 23a ... Bus interface, 23b ... Protocol controller, 23c ...
Memory, 23d ... Transmission buffer, 23e ... Reception buffer, 23f ... Physical layer interface, 23g ... Internal bus, 23h ... Buffer usage monitoring circuit, 24 ... Transmission path.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 フレームの送受信を行う複数のノード
と、各ノードを相互接続する伝送路を有するネットワー
クシステムにおいて、各ノードは、 他ノードに対してフレームの送受信を行う送受信手段
と、 送受信手段で受信したフレームを記憶する記憶手段と、 記憶手段に記憶されているフレームの数をチェックする
チェック手段と、 記憶手段に記憶されているフレームの数に応じて、他ノ
ードに対するフレーム送信の中止を要求する送信中止フ
レームを生成する生成手段とを有し、 生成された送信中止フレームは送受信手段によって他ノ
ードに送信され、送信中止フレームを受信した他ノード
では、送信中止フレームを送信したノードに対するフレ
ームの送信を中止することを特徴とするネットワークシ
ステム。
1. In a network system having a plurality of nodes for transmitting and receiving frames and a transmission path for interconnecting the nodes, each node includes a transmitting and receiving means for transmitting and receiving frames to other nodes, and a transmitting and receiving means. Storage means for storing the received frames, check means for checking the number of frames stored in the storage means, and a request to stop frame transmission to another node according to the number of frames stored in the storage means The transmission stop frame thus generated is transmitted to another node by the transmission / reception means, and the other node receiving the transmission stop frame transmits the frame of the frame for the node transmitting the transmission stop frame. A network system characterized by stopping transmission.
【請求項2】 他ノードから送信中止フレームを送信し
たノードに対するフレーム送信は、予め決められた期間
だけ中止されることを特徴とする請求項1記載のネット
ワークシステム。
2. The network system according to claim 1, wherein the frame transmission to the node that has transmitted the transmission stop frame from another node is stopped for a predetermined period.
【請求項3】 前記生成手段は、さらに、記憶手段に記
憶されているフレームの数に応じて他ノードに対するフ
レーム送信の再開を要求する送信開始フレームを生成
し、他ノードから送信中止フレームを送信したノードに
対するフレーム送信は、送信中止フレームを送信したノ
ードから送信開始フレームを受信するまで中止されるこ
とを特徴とする請求項1記載のネットワークシステム。
3. The generation means further generates a transmission start frame requesting restart of frame transmission to another node according to the number of frames stored in the storage means, and transmits a transmission stop frame from the other node. 2. The network system according to claim 1, wherein the frame transmission to the node that has made the transmission is stopped until the transmission start frame is received from the node that has transmitted the transmission stop frame.
【請求項4】 他ノードは、送信中止フレームを送信し
たノードに対して所定量以上のフレームのみの送信を中
止することを特徴とする請求項1記載のネットワークシ
ステム。
4. The network system according to claim 1, wherein the other node suspends transmission of only a predetermined amount of frames or more to the node which transmitted the transmission suspension frame.
JP4241850A 1992-09-10 1992-09-10 Network system Pending JPH0697983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4241850A JPH0697983A (en) 1992-09-10 1992-09-10 Network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4241850A JPH0697983A (en) 1992-09-10 1992-09-10 Network system

Publications (1)

Publication Number Publication Date
JPH0697983A true JPH0697983A (en) 1994-04-08

Family

ID=17080440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4241850A Pending JPH0697983A (en) 1992-09-10 1992-09-10 Network system

Country Status (1)

Country Link
JP (1) JPH0697983A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987003875A1 (en) * 1985-12-26 1987-07-02 Eisai Co., Ltd. Cephalosporin derivatives
US6912603B2 (en) 2001-06-08 2005-06-28 Fujitsu Limited Transmitting apparatus and method of controlling flow thereof
KR100548835B1 (en) * 1997-09-25 2006-07-25 니뽄 덴신 덴와 가부시키가이샤 Communication method, and data communications terminal, with data communication protocol for inter-layer flow control
JP2008099186A (en) * 2006-10-16 2008-04-24 Nec Corp Wireless transmission apparatus
JP2014236453A (en) * 2013-06-05 2014-12-15 富士通株式会社 Information processing device, information processing system and control method for information processing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987003875A1 (en) * 1985-12-26 1987-07-02 Eisai Co., Ltd. Cephalosporin derivatives
KR100548835B1 (en) * 1997-09-25 2006-07-25 니뽄 덴신 덴와 가부시키가이샤 Communication method, and data communications terminal, with data communication protocol for inter-layer flow control
US6912603B2 (en) 2001-06-08 2005-06-28 Fujitsu Limited Transmitting apparatus and method of controlling flow thereof
JP2008099186A (en) * 2006-10-16 2008-04-24 Nec Corp Wireless transmission apparatus
JP2014236453A (en) * 2013-06-05 2014-12-15 富士通株式会社 Information processing device, information processing system and control method for information processing system

Similar Documents

Publication Publication Date Title
US5513172A (en) Frame relay apparatus and a relay method
US6272114B1 (en) Data processing apparatus/method and electronic apparatus with such apparatus/method
US6442168B1 (en) High speed bus structure in a multi-port bridge for a local area network
JPH0697983A (en) Network system
JPS60106250A (en) Data communication system
JPH0923245A (en) Inter-network connector
JPH0983561A (en) Inter-network connection device
JPH06252895A (en) Data transmission system
JPH02228842A (en) Communication system for home control system
JPH0279640A (en) Data transmission equipment
JP2675154B2 (en) Broadcast communication method
JPH02127836A (en) Priority processing system
JP2677895B2 (en) Multiplex transmission method
KR950001516B1 (en) Flow control method in the packet exchange
JP2542461B2 (en) Collision detection transmission system
JPH05336122A (en) Method for controlling network
JP2841505B2 (en) Communication control device
JP2522155B2 (en) Repeater between local area networks
JPH05122383A (en) Common line communication control system
JPH05347620A (en) Repeater
JPS62161235A (en) Data transmission system
JPH01135155A (en) Communication method in packet switching network
JPS6069935A (en) Data communication system
JPS63285660A (en) Information processing system
JPH07143133A (en) Multi-layer protocol processor for common use of memory