JPH01276939A - Packet transmission and reception system in local area network system - Google Patents

Packet transmission and reception system in local area network system

Info

Publication number
JPH01276939A
JPH01276939A JP63106266A JP10626688A JPH01276939A JP H01276939 A JPH01276939 A JP H01276939A JP 63106266 A JP63106266 A JP 63106266A JP 10626688 A JP10626688 A JP 10626688A JP H01276939 A JPH01276939 A JP H01276939A
Authority
JP
Japan
Prior art keywords
packet
received
packets
response
local area
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
JP63106266A
Other languages
Japanese (ja)
Inventor
Katsuya Matsuzawa
松澤 克哉
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 JP63106266A priority Critical patent/JPH01276939A/en
Publication of JPH01276939A publication Critical patent/JPH01276939A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To relieve the load of a high order layer and to improve the response by adopting the constitution such that a deficiency request (NAK response) to missing of a packet and data reception confirmation are entirely implemented in a LAN interface. CONSTITUTION:A LAN interface 13 is provided with a LAN controller 21, a microprocessor 22, a program memory 23 and a buffer memory 24. Then a series of packets served for the transmission of the unit data of an optional size handled in the high order layer of a device connected to the LAN are sent sequentially from the head packet while they are provided with a packet number consecutive from the final packet sequentially. Moreover, a packet addressed to its own equipment from the packet of other device is received and when the received packet is not the head packet of a series of packets, whether or not the received packet is the succeeding packet from the same sender is discriminated based on the packet number of the received packet. When missing of packet is detected, an error response is returned to the sender and when the received packet while missing of packet is not detected is the final packet, the reception end response is returned to the sender.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、複.数の機器がローカルエリアネットワー
クによって相互接続されたシステムに係り、特に上位層
(アプリケーションレベル)で扱われる任意サイズの単
位データを幾つかのパケットに分割して機器間で送受信
するための送受信方式に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) It relates to a system in which several devices are interconnected by a local area network, and in particular relates to a transmission/reception method for dividing unit data of arbitrary size handled at the upper layer (application level) into several packets and transmitting and receiving them between devices. .

(従来の技術) 従来、ローカルエリアネットワーク(以下、LANと称
する)を介してデータ転送を行う場合、送信側では、第
6図に示すようにアプリケーションレベルで取扱われる
単位(単位データ、ここではファイル)A,Bとは全く
無関係に細かなパケットの単位、例えばal4 〜al
  CAmaL4+−・・+al )、b8 〜bl 
 (B−b3 +・+bl )に分割し、更に或る一定
のパケット数、例えば7パケツトで1つのグループG1
を作成するのが一般的であった。一方、受信側では上記
のグループG1を単位にACK (受信完了)またはN
AK(エラー受信)の応答を送信側に返し、この単位で
上位層へ渡していた。上位装置では渡されたグループG
1が全て揃っているか否か全データの内容を確認し、も
しグループ員に不足があれば、即ち受信パケット数に不
足があれば、この時点で再送を要求する。
(Prior Art) Conventionally, when data is transferred via a local area network (hereinafter referred to as LAN), on the sending side, as shown in FIG. )A, B are completely unrelated to small packet units, e.g. al4 ~ al
CAmaL4+-...+al), b8 ~bl
(B-b3+・+bl), and further divide one group G1 into a certain number of packets, for example, 7 packets.
It was common to create On the other hand, on the receiving side, ACK (reception complete) or N
An AK (error received) response was returned to the sending side, and this unit was passed to the upper layer. Group G passed in the upper device
The contents of all data are checked to see if all 1s are present, and if there is a shortage of group members, that is, if there is a shortage in the number of received packets, retransmission is requested at this point.

(発明が解決しようとする課題) 上記したように従来の方式では、上位層がデータ受信確
認、更にはパケットの不足要求を行う必要があるため、
上位層の負荷が大きく且つ送信側に対する応答性が悪い
という問題があった。また、グループ単位でACKまた
はNAK (応答)を返すため、即ち応答の送信間隔が
一義的に決まっているため、伝送路に応じたチューニン
グを行うことができず、伝送路の状態が非常に良くても
応答回数を減らすことができなかった。
(Problems to be Solved by the Invention) As mentioned above, in the conventional method, the upper layer needs to confirm data reception and furthermore request packet shortage.
There were problems in that the load on the upper layer was large and the responsiveness to the sending side was poor. In addition, since ACK or NAK (response) is returned for each group, that is, the response transmission interval is uniquely determined, so tuning according to the transmission path is not possible, and the condition of the transmission path is very poor. However, the number of responses could not be reduced.

したがってこの発明は、LANインタフェース(ローカ
ルエリアネットワーク●インタフェース)においてデー
タ受信確認、更にはパケットの不足要求が行え、もって
ネットワーク上位層の負荷の軽減と送信側に対する応答
性の向上を図ることを解決すべき第1の課題とする。更
にこの発明は、パケット送信側への応答の回数を減少す
ることを解決すべき第2の課題とする。
Therefore, this invention solves the problem of being able to confirm data reception and also request packet shortages at the LAN interface (local area network interface), thereby reducing the load on the upper layer of the network and improving responsiveness to the sending side. This should be the first issue to be addressed. Furthermore, the second problem to be solved by the present invention is to reduce the number of responses to the packet transmitting side.

[発明の構成] (課題を解決するための手段) この発明は、LANに接続される機器の上位層で扱われ
る任意サイズの単位データの送信に供される一連のパケ
ットを、最終パケットから順に連続するパケット番号を
付加した状態で、先頭パケットから順に送信するパケッ
ト送信手段と、LANに接続される他の機器のパケット
送信手段からの自機器宛のパケットを受信するパケット
受信手段と、受信パケットが一連のパケットの先頭パケ
ットでない場合に、この受信パケットが同パケットと同
一の発信元からの先の受信パケットの次のパケットであ
るか否かを受信パケットのパケット番号をもとに判別し
てパケット抜けを検出するパケット抜け検出手段とを各
機器のLANインタフェースに設け、パケット抜け検出
手段によってパケット抜けが検出された場合にはLAN
インタフェースから発信元へエラー応答を返し、パケッ
ト抜けが検出されなかった際の受信パケットが最終パケ
ットである場合には、即ち一連のパケットを全て正常受
信した場合にはLANインタフェースから発信元へ受信
完了応答を返すようにしたことを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The present invention sequentially processes a series of packets used for transmitting unit data of arbitrary size handled in an upper layer of equipment connected to a LAN, starting from the last packet. Packet transmitting means for sequentially transmitting packets starting from the first packet with consecutive packet numbers added; packet receiving means for receiving packets addressed to the device from packet transmitting means of other devices connected to the LAN; and received packets. is not the first packet in a series of packets, it is determined based on the packet number of the received packet whether this received packet is the next packet of the previous received packet from the same source as the same packet. Packet dropout detection means for detecting packet dropouts is provided in the LAN interface of each device, and when a packet dropout is detected by the packet dropout detection means, the LAN
An error response is returned from the interface to the source, and if the received packet when no packet loss is detected is the final packet, that is, if all the series of packets have been received normally, the reception from the LAN interface to the source is completed. The feature is that it returns a response.

(作用) 上記の構成によれば、データ受信確認、および不足要求
(エラー応答)がLANインタフェースで全て行われる
ため、上位層の負荷が軽減されると共に応答性が向上す
る。また、パケット数には無関係にデータ受信確認時だ
け(即ち上位層で扱われる任意サイズの単位に対応する
一連のパケットを全て正常受信した場合だけ)受信完了
応答(ACK応答)が返されるため、従来のようにグル
ープ単位で応答が返される方式に比べて応答回数が減少
する。
(Operation) According to the above configuration, data reception confirmation and insufficient request (error response) are all performed on the LAN interface, so the load on the upper layer is reduced and responsiveness is improved. Also, regardless of the number of packets, a reception completion response (ACK response) is returned only when data reception is confirmed (that is, only when a series of packets corresponding to units of arbitrary size handled by the upper layer are successfully received). The number of responses is reduced compared to the conventional method in which responses are returned in groups.

(実施例) 第1図はこの発明の一実施例に係るパケット受信制御処
理手順を示すフローチャート、第2図は第1図の手順を
適用するLAN (ローカルエリアネットワーク)シス
テムの一実施例を示すブロック構成図、第3図は第2図
のLANシステムで適用されるパケットのフォーマット
を示す図である。
(Embodiment) Fig. 1 is a flowchart showing a packet reception control processing procedure according to an embodiment of the present invention, and Fig. 2 shows an embodiment of a LAN (local area network) system to which the procedure of Fig. 1 is applied. The block configuration diagram, FIG. 3, is a diagram showing a packet format applied in the LAN system of FIG. 2.

第2図において、llはLANの伝送路である同軸ケー
ブルなどのLANケーブルである。このLANケーブル
11には、トランシーバ(T R)12−1= 12−
n5L A Nインタフェース11−1〜13−nを介
してワークステーション、計算機などのホスト装置14
−1−14−nが接続されている。
In FIG. 2, 11 is a LAN cable such as a coaxial cable, which is a LAN transmission line. This LAN cable 11 has a transceiver (TR) 12-1=12-
A host device 14 such as a workstation or computer via the n5LAN interfaces 11-1 to 13-n.
-1-14-n are connected.

LANインタフェース13−2は、トランシーバ12−
2と接続されシリアル・パラレル変換機能を持つLAN
コントローラ21、LAN側(LANケーブル11側)
とホスト装置14−2側とのインタフェース処理を行う
マイクロプロセッサ22、マイクロプロセッサ22の制
御プログラムが格納されるプログラムメモリ23、およ
び送受信データを一時格納するためのバッファメモリ2
4を主構成として有している。このLANインタフェー
ス13−2の主構成は、他のLANインタフェースll
−1,11−3〜II−nについてもほぼ同様である。
The LAN interface 13-2 is connected to the transceiver 12-
A LAN that is connected to 2 and has a serial/parallel conversion function.
Controller 21, LAN side (LAN cable 11 side)
A microprocessor 22 performs interface processing between the host device 14-2 and the host device 14-2, a program memory 23 stores a control program for the microprocessor 22, and a buffer memory 2 temporarily stores transmitted and received data.
4 as the main configuration. The main configuration of this LAN interface 13-2 is that other LAN interfaces
The same applies to -1, 11-3 to II-n.

ホスト装置14−2は、アプリケーションプログラム等
を実行するホストCPU31およびアプリケーションプ
ログラム等が格納される主メモリ32を主構成として有
している。このホスト装置14−2の主構成は、他のホ
スト装置14−1.14−3〜14−nについてもほぼ
同様である。
The host device 14-2 mainly includes a host CPU 31 that executes application programs and the like, and a main memory 32 that stores the application programs and the like. The main configuration of this host device 14-2 is almost the same for the other host devices 14-1, 14-3 to 14-n.

第2図のLANシステムで適用されるパケットは、第3
図のフォーマットで示されるように、宛先を示す宛先ア
ドレスDAが設定されるフィールド、発信元を示す発信
元アドレスSAが設定されるフィールド、タイプフィー
ルド、データフィールドなど周知のフィールド構成とな
っている。
The packets applied in the LAN system in Figure 2 are
As shown in the format shown in the figure, it has a well-known field configuration including a field in which a destination address DA indicating the destination is set, a field in which a source address SA indicating the source is set, a type field, and a data field.

但し、データフィールドの例えば先頭の所定領域は、該
当パケットのパケットナンバ(パケット番4Hnが設定
されるパケットナンバフィールドに割当てられており、
残りのデータフィールドが従来のデータフィールドとし
て用いられることに注意されたい。アプリケーションレ
ベル(上位層)で取扱う任意サイズの単位データに対応
する一連のパケット数がNであるものとすると、各パケ
ットのパケットナンバフィールドには、最終パケットか
ら順に1,2・・・と連続するパケット番号が設定され
る。即ちN個のパケットの各パケットフィールドには、
先頭パケットから順にノ(ケラトナンバnとしてN、N
−1,N−2,・・・1がそれぞれ設定される。
However, for example, a predetermined area at the beginning of the data field is allocated to the packet number field in which the packet number (packet number 4Hn) of the corresponding packet is set.
Note that the remaining data fields are used as conventional data fields. Assuming that the number of packets in a series corresponding to unit data of arbitrary size handled at the application level (upper layer) is N, the packet number field of each packet will contain 1, 2, etc. in order from the last packet. Packet number is set. That is, in each packet field of N packets,
From the first packet (N, N as the kerato number n)
-1, N-2, . . . 1 are set respectively.

次に、この発明の一実施例の動作を、第4図に示すよう
にアプリケーションレベルで取扱われる単位(単位デー
タ、ここではファイル)A、Bが、a14〜alから成
る14個のパケット−、ba〜biから成る3個のパケ
ットに分割されて、それぞれLANインタフェース13
−1. If−3からLANインタフェース13−2に
送信される場合について、第1図のフローチャートおよ
び第5図のバッファメモリ24内管理テーブルの状態図
を適宜参照して説明する。
Next, the operation of an embodiment of the present invention will be described. As shown in FIG. 4, the units (unit data, here files) A and B handled at the application level are 14 packets consisting of a14 to al. It is divided into three packets consisting of ba to bi, and each packet is sent to the LAN interface 13.
-1. The case where data is transmitted from If-3 to the LAN interface 13-2 will be explained with reference to the flowchart in FIG. 1 and the state diagram of the management table in the buffer memory 24 in FIG. 5 as appropriate.

まず、LANインタフェース13−2のLANコントロ
ーラ21は、トランシーバ12−2を介して取込まれる
LANケーブル11上のパケットの受信を行い、パケッ
ト受信終了後、受信パケットのフレーム数が規定通りで
あるか否かをチエツクし、規定通りであれば自分宛のパ
ケットであるか否かを(受信パケット中の宛先アドレス
DAが自身のアドレスに一致するか否かにより)チエツ
クする。
First, the LAN controller 21 of the LAN interface 13-2 receives a packet on the LAN cable 11 that is taken in via the transceiver 12-2, and after receiving the packet, checks whether the number of frames in the received packet is as specified. If it is as specified, it is checked whether the packet is addressed to itself (by checking whether the destination address DA in the received packet matches its own address).

LANインタフェース13−2のマイクロプロセッサ2
2は、自分宛のパケットがLANコントローラ21によ
って正常に受信されたことを検出すると(ステップSL
 −33) 、その受信パケット中の発信元アドレスS
Aが、バッファメモリ24に確保された第5図に示すよ
うな管理テーブル51の発信元アドレスフィールド(S
Aフィールド)に登録されているか否かの判定を行う(
ステップS4)、なお、管理テーブル51の各エントリ
には、上記のSAフィールドの他に、同フィールドで示
される発信元からの一連のパケットの総数Nを示すフィ
ー゛ルド(総パケット数フィールド)、実際に受信した
パケット数lを示すフィールド(受信パケット数フィー
ルド)が用意されている。
Microprocessor 2 of LAN interface 13-2
2 detects that the packet addressed to itself has been normally received by the LAN controller 21 (step SL).
-33), the source address S in the received packet
A is the source address field (S) of the management table 51 as shown in FIG.
Determine whether it is registered in A field) (
Step S4), each entry in the management table 51 includes, in addition to the SA field described above, a field (total packet number field) indicating the total number N of a series of packets from the source indicated by the same field; A field (received packet number field) indicating the number l of packets actually received is prepared.

ステップS4の判定がNOの場合、マイクロプロセッサ
22は受信ノ5ケットが同パケット中の発信元アドレス
SAで示される発信元からの一連のパケットの先頭パケ
ット(第4図の例ではバケッ) a 14またはbl)
であるものと判断し、この発信元アドレスSAを第5図
に示す管理テーブル51の空きエントリのSAアドレス
フィールドに登録し、且つそのエントリのパケット数フ
ィールドの値(N)を“0#クリヤする(ステップS5
)。
If the determination in step S4 is NO, the microprocessor 22 selects the first packet (bucket in the example of FIG. 4) of a series of packets from the source whose received packet is indicated by the source address SA in the packet a14. or bl)
, and registers this source address SA in the SA address field of an empty entry in the management table 51 shown in FIG. 5, and clears the value (N) of the number of packets field of that entry to "0#". (Step S5
).

これに対してステップS4の判定がYESの場合マイク
ロプロセッサ22は受信パケットが同パケット中の発信
元アドレスSAで示される発信元からの一連のパケット
の2番目以降のパケットであるものと判断し、管理テー
ブル51の該当エントリの総パケット数フィールド、受
信パケット数フィールドの値Nl lをロードする(ス
テップS6)。
On the other hand, if the determination in step S4 is YES, the microprocessor 22 determines that the received packet is the second or subsequent packet in a series of packets from the source indicated by the source address SA in the same packet, The values Nl l of the total number of packets field and the number of received packets field of the corresponding entry in the management table 51 are loaded (step S6).

マイクロプロセッサ22はステップS5またはステップ
S6を終了すると、受信パケット中のパケットナンバn
(第3図参照)を読取り(ステップS7)、上記N(ス
テップS5で101クリヤされたNまたはステップS6
でロードしたN)との大小を比較する(ステップS8)
。もしN<nであれば、マイクロプロセッサ22は先頭
パケット受信であるものとして、受信パケット中の発信
元アドレスSAが登録された管理テーブル51内エント
リの総パケット数フィールドにN(総パケット数)とし
て受信パケット(先頭パケット)中のパケットナンバn
を設定すると共に、同エントリの受信パケット数フィー
ルドの値iを“0”クリヤしくステップS9)、更に同
エントリに対応して総パケット数Nに相当する数のデー
タ領域(受信データ領域)をバッファメモリ24上に確
保する(ステップ810)。
After completing step S5 or step S6, the microprocessor 22 determines the packet number n in the received packet.
(see Figure 3) (step S7), and reads the above N (N cleared to 101 in step S5 or step S6).
Compare the size with N) loaded in (step S8)
. If N<n, the microprocessor 22 assumes that the first packet has been received, and enters N (total number of packets) in the total number of packets field of the entry in the management table 51 in which the source address SA in the received packet is registered. Packet number n in the received packet (first packet)
At the same time, the value i of the received packet number field of the same entry is cleared to "0" (step S9), and the data area (received data area) corresponding to the total number of packets N is buffered corresponding to the same entry. Allocate it on the memory 24 (step 810).

マイクロプロセッサ22は、ステップ89゜310を終
了するとステップSitに進む。またステップS8でN
≧nを判定した場合には、マイクロプロセッサ22は2
番目以降のパケット受信であるものと判断し、ステップ
S9,810をスキップしてステップSllに進む。マ
イクロプロセッサ22はステップSllにおいてN−L
とnとを比較し、N−tenであれば、即ち総パケット
数Nから受信パケット数lを減じた値がパケットナンバ
がnのパケットの受信であるにも拘らずnに一致しなけ
れば、発信元から送出された一連のパケットに抜けがあ
ったものと判断し、発信元に対してLANコントローラ
21を介してNAK応答する。
When the microprocessor 22 completes step 89°310, it proceeds to step Sit. Also, in step S8
If it is determined that ≧n, the microprocessor 22
It is determined that the packet is received after the th packet, and the process skips steps S9 and 810 and proceeds to step Sll. The microprocessor 22 performs N-L in step Sll.
and n, and if N-ten, that is, if the value obtained by subtracting the number of received packets l from the total number of packets N does not match n even though the packet number is the reception of a packet with n, It is determined that there is an omission in the series of packets sent from the sender, and a NAK response is sent to the sender via the LAN controller 21.

これに対してN−1−nであれば、マイクロプロセッサ
22はパケット抜けがないものと判断し、ステップS1
2に進む。
On the other hand, if it is N-1-n, the microprocessor 22 determines that there is no missing packet, and in step S1
Proceed to step 2.

マイクロプロセッサ22は、ステップS12において受
信パケット数iを+1する。これにより、現時点までの
(発信元アドレスSAが同一の)先頭パケットからの受
信パケット数が示される。次にマイクロプロセッサ22
は受信パケット中のパケットナンバnが1であるか否か
を判定しくステップ513)、n−1でなければ、即ち
受信パケットが最終パケットでなければ、受信パケット
中のデータをパケットナンバnに対応するバッファメモ
リ24内データ領域に登録する(ステップ514)。
The microprocessor 22 increments the number i of received packets by 1 in step S12. This indicates the number of packets received from the first packet (with the same source address SA) up to the present time. Next, the microprocessor 22
determines whether the packet number n in the received packet is 1 (step 513), and if it is not n-1, that is, the received packet is not the final packet, the data in the received packet is mapped to the packet number n. The data is registered in the data area in the buffer memory 24 (step 514).

そしてマイクロプロセッサ22はステップ812で+1
された受信パケット数lを、管理テーブル51の上記対
応エントリの受信パケット数フィールドにセーブしくス
テップ515)、ステップSlに戻る。これに対し、ス
テップ813でn−1が判定された場合には、即ち受信
パケットが最終パケットの場合には、マイクロプロセッ
サ22は受信パケット中の発信元アドレスSAで示され
る発信元からの一連のパケット(第4図の例ではファイ
ルAのパケットaf4〜alまたはファイルBのパケッ
トb3〜bl)が全て抜けなく正常に受信されたものと
判断し、受信パケット中のデータをパケットナンバn(
−1)に対応するバッファメモリ24内データ領域に登
録した後(ステップ816)、LANコントローラ21
を介して発信元へのACK応答を行う(ステップS 1
7)。そしてマイクロプロセッサ22はファイル受信終
了をホス) 装置14−2のホストCPU31に通知す
る(ステップ81g)。
The microprocessor 22 then receives +1 in step 812.
The number l of received packets is saved in the number of received packets field of the corresponding entry in the management table 51 (step 515), and the process returns to step Sl. On the other hand, if n-1 is determined in step 813, that is, if the received packet is the final packet, the microprocessor 22 sends a series of messages from the source indicated by the source address SA in the received packet. It is determined that all the packets (packets af4 to al of file A or packets b3 to bl of file B in the example in FIG. 4) have been received normally without any omissions, and the data in the received packets are assigned packet number n (
-1) in the data area in the buffer memory 24 (step 816), the LAN controller 21
An ACK response is sent to the sender via
7). The microprocessor 22 then notifies the host CPU 31 of the host device 14-2 of the completion of file reception (step 81g).

これによりホストCPU31は、受信終了したファイル
のデータをバッファメモリ24から例えば主メモリ32
に読込む。
As a result, the host CPU 31 transfers the received file data from the buffer memory 24 to, for example, the main memory 32.
Read into.

なお、第4図では、ファイルAに対応するパケットa1
4〜atの(LANインタフェース13−1による)送
信が終了してから、ファイルBに対応するパケットb3
〜blの(LANインタフェース13−1による)送信
が行われた場合が示されているが、例えばa14〜a1
の送信の隙間を利用して並行してb3〜blを送信する
ことも可能である。
In addition, in FIG. 4, packet a1 corresponding to file A
After the transmission of 4 to at is completed (by LAN interface 13-1), packet b3 corresponding to file B is sent.
Although a case is shown in which transmission of ~bl (by LAN interface 13-1) is performed, for example, a14 to a1
It is also possible to transmit b3 to bl in parallel using the gap between transmissions.

[発明の効果] 以上詳述したようにこの発明によれば、データ受信確認
、およびパケット抜けに対する不足要求(NAK応答)
がLANインタフェースにおいて全て行われるため、上
位層の負荷が軽減されると共に応答性が向上する。また
、パケット数には無関係にデータ受信確認時だけ、即ち
上位層で扱われる任意サイズの単位に対応する一連のパ
ケットを全て正常受信した場合だけ、受信完了応答(A
CK応答)が返されるため、従来のように所定数のパケ
ットから成るグループ単位で応答を返す方式に比べて応
答回数が減少し、単位時向当りの送信パケット数を増や
すことが可能となる。したがってネットワークのチュー
ニングが容易に行える。
[Effects of the Invention] As described in detail above, according to the present invention, data reception confirmation and missing request (NAK response) in response to packet loss can be performed.
Since all of this is done on the LAN interface, the load on the upper layer is reduced and responsiveness is improved. In addition, regardless of the number of packets, a reception completion response (A
CK response) is returned, the number of responses is reduced compared to the conventional method of returning responses in groups of a predetermined number of packets, making it possible to increase the number of transmitted packets per unit time. Therefore, network tuning can be easily performed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例に係るパケット受信制御処
理手順を示すフローチャート、第2図は第1図の手順を
適用するLAN (ローカルエリアネットワーク)シス
テムの一実施例を示すブロック構成図、第3図は第2図
のLANシステムで適用されるパケットのフォーマット
図、第4図は第2図のシステムにおけるパケット送受信
処理を説明するための図、第5図はパケット受信の管理
に供される管理テーブルの構造の一例を第4図に対比さ
せて示す図、第6図は従来のパケット送受信処理を説明
するための図である・ 11−L A Nケーブル、13−1−13−n−L 
A Nインタフェース、14−1−14−n・・・ホス
ト装置、21・・・LANコントローラ、22・・・マ
イクロプロセッサ、24・・・バッファメモリ、31・
・・ホストCPU、51・・・管理テーブル。 出願人代理人 弁理士 鈴江武彦 第1図 笛 2F!!i 第4図
FIG. 1 is a flowchart showing a packet reception control processing procedure according to an embodiment of the present invention, and FIG. 2 is a block diagram showing an embodiment of a LAN (local area network) system to which the procedure of FIG. 1 is applied. Fig. 3 is a diagram of the packet format applied in the LAN system of Fig. 2, Fig. 4 is a diagram for explaining the packet transmission/reception processing in the system of Fig. 2, and Fig. 5 is a diagram used to manage packet reception. A diagram showing an example of the structure of a management table compared to FIG. 4, and FIG. 6 is a diagram for explaining conventional packet transmission/reception processing. 11-LAN cable, 13-1-13-n -L
A N interface, 14-1-14-n... host device, 21... LAN controller, 22... microprocessor, 24... buffer memory, 31...
...Host CPU, 51...Management table. Applicant's agent Patent attorney Takehiko Suzue Figure 1 Flute 2F! ! i Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)複数の機器がローカルエリアネットワークによっ
て相互接続されたシステムにおいて、上記各機器のロー
カルエリアネットワーク・インタフェースに、 上位層で扱われる任意サイズの単位データの送信に供さ
れる一連のパケットであって、その所定領域に最終パケ
ットから順に連続するパケット番号が設定された一連の
パケットを、先頭パケットから順に送信するパケット送
信手段と、他機器の上記パケット送信手段から送信され
たパケットが自機器宛のパケットである場合に同パケッ
トを受信するパケット受信手段と、このパケット受信手
段によって受信されたパケットが上記一連のパケットの
先頭パケットでない場合に、この受信パケットの上記パ
ケット番号をもとに同パケットが同パケットと同一の発
信元アドレスを含む先の受信パケットの次のパケットで
あるか否かを判別してパケット抜けを検出するパケット
抜け検出手段と、このパケット抜け検出手段によってパ
ケット抜けが検出された場合に発信元へエラー応答を返
す第1応答手段と、このパケット抜け検出手段によって
パケット抜けが検出されなかった際の上記受信パケット
が最終パケットである場合に上記発信元へ受信完了応答
を返す第2応答手段と、を設け、上記一連のパケットが
全て正常受信された場合に上記第2応答手段から発信元
へ受信完了応答を返すようにしたことを特徴とするロー
カルエリアネットワークにおけるパケット送受信方式。
(1) In a system in which multiple devices are interconnected by a local area network, a series of packets used to transmit unit data of arbitrary size to be handled by the upper layer is sent to the local area network interface of each of the devices. packet transmitting means for transmitting a series of packets in which sequential packet numbers are set in the predetermined area starting from the last packet, starting from the first packet; packet receiving means that receives the same packet when the packet is a packet of a packet dropout detection means for detecting a packet dropout by determining whether or not the packet is the next packet of the previous received packet containing the same source address as the same packet; a first response means for returning an error response to the sender when the packet dropout is detected by the packet dropout detection means; and a reception completion response is returned to the sender when the received packet is the final packet when no packet dropout is detected by the packet dropout detection means; A packet transmission and reception method in a local area network, characterized in that a second response means is provided, and when all of the series of packets are successfully received, the second response means returns a reception completion response to the source. .
(2)上記各機器の上記ローカルエリアネットワーク・
インタフェースに、 上記一連のパケットの発信元を示す発信元アドレスを発
信元毎に登録するための管理テーブルと、この管理テー
ブルに上記受信パケットに含まれる発信元アドレスが登
録されているか否かにより上記受信パケットが先頭パケ
ットであるか否かを判別する先頭パケット判別手段と、
この先頭パケット判別手段によって先頭パケットが判別
された場合には同パケットに含まれる発信元アドレスを
上記管理テーブルに登録するテーブル登録手段と、 を更に設けたことを特徴とする第1請求項記載のローカ
ルエリアネットワークにおけるパケット送受信方式。
(2) The above local area network of each of the above devices.
The interface has a management table for registering the source address indicating the source of the above series of packets for each source, and the above depending on whether the source address included in the received packet is registered in this management table. a first packet determining means for determining whether a received packet is a first packet;
1. The apparatus according to claim 1, further comprising: table registration means for registering a source address included in the packet in the management table when the first packet is determined by the first packet discriminating means. Packet transmission and reception method in local area networks.
JP63106266A 1988-04-28 1988-04-28 Packet transmission and reception system in local area network system Pending JPH01276939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63106266A JPH01276939A (en) 1988-04-28 1988-04-28 Packet transmission and reception system in local area network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63106266A JPH01276939A (en) 1988-04-28 1988-04-28 Packet transmission and reception system in local area network system

Publications (1)

Publication Number Publication Date
JPH01276939A true JPH01276939A (en) 1989-11-07

Family

ID=14429285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63106266A Pending JPH01276939A (en) 1988-04-28 1988-04-28 Packet transmission and reception system in local area network system

Country Status (1)

Country Link
JP (1) JPH01276939A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011503966A (en) * 2007-11-01 2011-01-27 トムソン ライセンシング Method and apparatus for streaming a scalable multimedia data stream
JP2014039136A (en) * 2012-08-15 2014-02-27 Nippon Hoso Kyokai <Nhk> Transmitter for performing radio communication, receiver, transmission method, reception method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011503966A (en) * 2007-11-01 2011-01-27 トムソン ライセンシング Method and apparatus for streaming a scalable multimedia data stream
JP2014039136A (en) * 2012-08-15 2014-02-27 Nippon Hoso Kyokai <Nhk> Transmitter for performing radio communication, receiver, transmission method, reception method and program

Similar Documents

Publication Publication Date Title
US5856972A (en) Duplicate message detection method and apparatus
JP3305769B2 (en) Communication device
US4547850A (en) Priority control method and apparatus for common bus of data processing system
NL8702394A (en) INTERFACE FOR A CONNECTION NETWORK BETWEEN SEPARATE STATIONS ON THE ONE PART AND A PHYSICAL MEDIUM USED FOR MESSAGE TRANSMISSION BETWEEN THESE STATIONS.
JPH01276939A (en) Packet transmission and reception system in local area network system
JPH02100538A (en) Data communication method for local area network
JPH0458215B2 (en)
AU718251B2 (en) Transmission line duplexing processing method and apparatus thereof, and recording medium for recording its processing procedure
JPH1027168A (en) Dynamic load distribution system for message
JP3217397B2 (en) Data transmission method of communication control device
JPS6326576B2 (en)
JP2677895B2 (en) Multiplex transmission method
CN1096780C (en) Router newwork exchanger device and method for raising second layer of ethernet exchanger function
JPH02245860A (en) Data transfer sysem
JPH0991100A (en) Data transmission controller
JPS60245339A (en) Packet exchange controlling system
JPH04241541A (en) Data transmission/reception system
JP3060660B2 (en) Terminal device transmission control method
JP2747248B2 (en) Communication data division transmission method and apparatus
JPS6141246A (en) Station number setting system of packet communication network
JPH0728733A (en) Network traffic control method
Duffy A Data Link Protocol for Time Critical Applications
JPS616952A (en) Data transmission system
JP2752456B2 (en) Channel device
JPS63215242A (en) Data collecting system