JPH04185029A - Communication controller with collision learning function - Google Patents

Communication controller with collision learning function

Info

Publication number
JPH04185029A
JPH04185029A JP2312733A JP31273390A JPH04185029A JP H04185029 A JPH04185029 A JP H04185029A JP 2312733 A JP2312733 A JP 2312733A JP 31273390 A JP31273390 A JP 31273390A JP H04185029 A JPH04185029 A JP H04185029A
Authority
JP
Japan
Prior art keywords
transmission
collision
packet size
maximum packet
communication control
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
JP2312733A
Other languages
Japanese (ja)
Inventor
Takuji Yamaguchi
山口 卓爾
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2312733A priority Critical patent/JPH04185029A/en
Publication of JPH04185029A publication Critical patent/JPH04185029A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the transmission efficiency by reducing a maximum packet size to minimize the waiting time of a line in the case of a high frequency in occurrence of collision and increasing the maximum packet size to improve the line use rate in the case of a low frequency in occurrence of collision. CONSTITUTION:A communication controller consists of a host machine 1, a host input/output interface 2, a communication control means 3 which receives a transmission request from the host machine 1 to transmit transmission data as packets, a LAN input/output interface 4, a collision detecting means 5 which detects whether packets can be transmitted or not by collision, and a size changing means 6 which increases or reduces the maximum packet size in accordance with the frequency in occurrence of collision. In this constitution, it is discriminated whether this transmission is the first transmission or not in response to a transmission request from the machine 1; and in the case of the first transmission, 1024 bytes are set as the size to transmit transmission data as packets, and this transmission is confirmed by the means 5. Thereafter, it is discriminated whether retransmission should be executed or not.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、LANにおけるデータ通信の制御装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data communication control device in a LAN.

(従来の技術) 従来、LANの伝送路を流れるパケットは、多数の利用
者の待時間を最小にするため、最大パケットサイズを制
限している。さらに、通信を一度開始すると、パケット
サイズは固定である。これは、最大パケットサイズを大
きくすると、コリージョンの発生数が多くなり、待時間
が増大するためである。
(Prior Art) Conventionally, the maximum packet size of packets flowing through a LAN transmission path is limited in order to minimize waiting time for a large number of users. Furthermore, once communication begins, the packet size is fixed. This is because increasing the maximum packet size increases the number of collisions and increases the waiting time.

(発明が解決しようとする課題) しかしながら、少数の利用者がLANを利用していると
きは、コリージョンの発生数が少ないにもかかわらず、
最大パケットサイズが制限されているため、伝送効率が
悪いという問題があった。
(Problem to be solved by the invention) However, when a small number of users are using the LAN, even though the number of collisions is small,
Since the maximum packet size is limited, there is a problem of poor transmission efficiency.

本発明は、上記従来技術の問題点を改善するもので、コ
リージョン発生数に応じて最大パケットサイズを増減し
、回線の使用効率、伝送効率の向上を図るようにしたコ
リージョン学習機能付通信制御装置を一提供することを
目的とする。
The present invention improves the problems of the prior art as described above, and is a communication system with a collision learning function that increases or decreases the maximum packet size according to the number of collisions to improve line usage efficiency and transmission efficiency. The object of the present invention is to provide a control device.

(課題を解決するための手段) この目的を達成するために、本発明は、LANの通信回
線上で発生するコリージョンの発生数を検知するコリー
ジョン検知手段と、検知したコリージョンの発生数に応
じて送信する最大パケットサイズを動的に変化させる最
大パケットサイズ変更手段と、送信するデータをプロト
コルに組み入れる通信制御手段とから構成される。
(Means for Solving the Problems) In order to achieve this object, the present invention provides a collision detection means for detecting the number of occurrences of collisions occurring on a communication line of a LAN, and a collision detection means for detecting the number of occurrences of collisions that occur on a communication line of a LAN. It is comprised of a maximum packet size changing means that dynamically changes the maximum packet size to be transmitted according to the data, and a communication control means that incorporates the data to be transmitted into the protocol.

(作 用) この構成によれば、コリージョンの発生数が多い時は最
大パケットサイズを減少させ、回線の待時間を最小にし
、コリージョンの発生数が少ない時は最大パケットサイ
ズを増加させ、回線使用率を上げるようにして伝送効率
を向上させる。
(Function) According to this configuration, when a large number of collisions occur, the maximum packet size is decreased to minimize line waiting time, and when a small number of collisions occur, the maximum packet size is increased, To improve transmission efficiency by increasing line usage rate.

(実施例) 以下、図面を参照して実施例を詳細に説明する。(Example) Hereinafter, embodiments will be described in detail with reference to the drawings.

第1図は、本発明の一実施例の概略ブロック図であり、
1はホストマシン、2はホスト入出力インターフェース
、3は、ホストマシン1から送信要求を受け、送信デー
タをパケットとして送信する通信制御手段、4はLAN
入出力インターフェース、5は送信パケットが送信でき
たかどうかをコリージョン(衝突)により検知するコリ
ージョン検知手段、6はコリージョンの発生数に応じて
最大パケットサイズを増減する最大パケットサイズ変更
手段である。
FIG. 1 is a schematic block diagram of an embodiment of the present invention,
1 is a host machine; 2 is a host input/output interface; 3 is a communication control means that receives a transmission request from the host machine 1 and transmits transmission data as a packet; 4 is a LAN
An input/output interface, 5 is a collision detection means for detecting whether a transmission packet has been transmitted by collision, and 6 is a maximum packet size changing means for increasing or decreasing the maximum packet size according to the number of occurrences of collisions. .

次に、本実施例の動作をフローチャートに従って説明す
る。
Next, the operation of this embodiment will be explained according to a flowchart.

まず、第2図は、送信データをパケットとして送信する
通信制御手段3の動作を示したもので、ホストマシンl
から送信要求があると、最初の送信かどうかを判別する
(Sl)。判別後、最初の送信であれば、最大パケット
サイズに1024バイトを設定する(S2)。次に最大
パケットサイズ内で送信データをパケットとして送信す
る(S3)。送信後、送信が成功したかどうかを判別す
るために、゛コリージョン検知手段5に要求を出す(S
4)。この後、送信を再度行うかどうか判別する(S5
)。
First, FIG. 2 shows the operation of the communication control means 3 that transmits transmission data as a packet.
When there is a transmission request from , it is determined whether it is the first transmission (Sl). After the determination, if it is the first transmission, the maximum packet size is set to 1024 bytes (S2). Next, the transmission data is transmitted as a packet within the maximum packet size (S3). After the transmission, in order to determine whether the transmission was successful, a request is made to the collision detection means 5 (S
4). After this, it is determined whether to perform the transmission again (S5
).

これは、送信が成功していなかった時には再送信を、成
功していても送信データが全て送られていない時には残
り分をそれぞれ送信するために判別を行う。
This makes a determination to retransmit if the transmission is not successful, and to transmit the remaining data even if the transmission is successful but not all of the transmission data has been sent.

廁3図は、コリージョン検知手段5のフローチャートで
ある。通信制御手段3より要求を受け、LAN入出力イ
ンターフェース4を介してコリージョンが発生したかど
うかを検出しくT1)、次に、コリージョンの発生数に
合わせて最大パケットサイズを変更するために、最大パ
ケットサイズ変更手段6に要求を出す(T2)。
Figure 3 is a flowchart of the collision detection means 5. Upon receiving a request from the communication control means 3, it is detected via the LAN input/output interface 4 whether or not a collision has occurred (T1). Next, in order to change the maximum packet size according to the number of occurrences of collisions, A request is issued to the maximum packet size changing means 6 (T2).

第4図は、最大パケットサイズ変更手段6のフローチャ
ートである。コリージョン検知手段5より要求を受け、
コリージョンの発生を判別する(Ul)。コリージョン
が発生していれば、送信失敗であるので再送信を行う。
FIG. 4 is a flowchart of the maximum packet size changing means 6. Upon receiving a request from the collision detection means 5,
Determine occurrence of collision (Ul). If a collision occurs, it means that the transmission has failed, so retransmission is performed.

再送信を行う際は、最大パケットサイズをチエツクし、
最大パケットサイズが初期値より大きい範囲の中で最大
パケットサイズを下げてい<(U2.03)。これは、
コリージョンの発生が多い時は多数の利用者が使用して
いるため、最大パケットサイズを初期値まで下げていき
、LANの専有率を下げて多数の利用者の使用を可能に
する必要があるためである。その後、送信の継続を行う
ため、送信継続をセットしてコリージョン検知手段に戻
る(U4)。
When retransmitting, check the maximum packet size and
The maximum packet size is lowered within a range where the maximum packet size is larger than the initial value (U2.03). this is,
When collisions occur frequently, many users are using the network, so it is necessary to reduce the maximum packet size to the initial value and reduce the LAN occupation rate to enable use by a large number of users. It's for a reason. Thereafter, in order to continue transmission, the transmission continuation is set and the process returns to the collision detection means (U4).

次に、コリージョンが発生していない時は、最大パケッ
トサイズを8192バイト(1024X 8 )の範囲
の中で増加させる(U5. U6)。この後、送信デー
タが全て送信されたかどうかを、送信データ長と最大パ
ケットサイズから求め判別する(U7. U8)。
Next, when no collision occurs, the maximum packet size is increased within the range of 8192 bytes (1024X 8 ) (U5. U6). Thereafter, it is determined from the transmission data length and the maximum packet size whether all the transmission data has been transmitted (U7, U8).

この判別より、送信データを全て送−信した場合は、送
信終了をセットしくU9)、未送信データがあれば送信
継続をセットしくU4)、コリージョン検知手段に戻る
Based on this determination, if all of the transmission data has been transmitted, the end of transmission should be set (U9), and if there is unsent data, the continuation of transmission should be set (U4), and the process returns to the collision detection means.

(発明の効果) 以上説明したように、本発明によれば、LANの伝送路
を流れる最大パケットサイズを伝送路のコリージョン発
生数に応じて変化させ、コリージョンが少ない時に最大
パケットサイズを増加させることにより、回線使用率を
上げ、伝送効率の向上を図ることができるという効果が
ある。
(Effects of the Invention) As explained above, according to the present invention, the maximum packet size flowing through a LAN transmission path is changed according to the number of collisions occurring on the transmission path, and the maximum packet size is increased when there are few collisions. This has the effect of increasing the line usage rate and improving transmission efficiency.

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

第1図は、本発明の一実施例のブロック図、第2図は、
通信制御手段のフローチャート、第3図は、コリージョ
ン検知手段のフローチャート、第4図は、最大パケット
サイズ変更手段のフローチャートである。 l ・・・ホストマシン、 2 ・・・ホスト入出力イ
ンターフェース、 3 ・・・通信制御手段、4 ・・
・ LAN入出力インターフェース、 5・・・コリー
ジョン検知手段、 6 ・・・最大パケットサイズ変更
手段。 特許出願人   株式会社 リ コー ー(Z 第2図 jl13図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a flowchart of the communication control means, FIG. 3 is a flowchart of the collision detection means, and FIG. 4 is a flowchart of the maximum packet size changing means. l...Host machine, 2...Host input/output interface, 3...Communication control means, 4...
- LAN input/output interface, 5... Collision detection means, 6... Maximum packet size changing means. Patent applicant: Ricoh Co., Ltd. (Z Figure 2, Figure 13)

Claims (1)

【特許請求の範囲】[Claims] CSMA/CD(衝突検出)型のLAN(ローカルエリ
アネットワーク)を利用する通信制御装置において、L
ANの通信回線上で発生するコリージヨン(衝突)の発
生数を検知するコリージヨン検知手段と、検知したコリ
ージヨンの発生数に応じて送信する最大パケットサイズ
を動的に変化させる最大パケットサイズ変更手段と、送
信するデータをプロトコルに組み入れる通信制御手段と
からなることを特徴とするコリージヨン学習機能付通信
制御装置。
In a communication control device that uses a CSMA/CD (collision detection) type LAN (local area network), L
Collision detection means for detecting the number of collisions occurring on the communication line of the AN; Maximum packet size changing means for dynamically changing the maximum packet size to be transmitted according to the number of detected collisions; A communication control device with a collision learning function, comprising a communication control means that incorporates data to be transmitted into a protocol.
JP2312733A 1990-11-20 1990-11-20 Communication controller with collision learning function Pending JPH04185029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2312733A JPH04185029A (en) 1990-11-20 1990-11-20 Communication controller with collision learning function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2312733A JPH04185029A (en) 1990-11-20 1990-11-20 Communication controller with collision learning function

Publications (1)

Publication Number Publication Date
JPH04185029A true JPH04185029A (en) 1992-07-01

Family

ID=18032771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2312733A Pending JPH04185029A (en) 1990-11-20 1990-11-20 Communication controller with collision learning function

Country Status (1)

Country Link
JP (1) JPH04185029A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7990944B2 (en) * 2007-09-06 2011-08-02 Wi-Lan, Inc. Contention-based communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7990944B2 (en) * 2007-09-06 2011-08-02 Wi-Lan, Inc. Contention-based communication
US8861437B2 (en) 2007-09-06 2014-10-14 Wi-Lan, Inc. Contention-based communication

Similar Documents

Publication Publication Date Title
US5309562A (en) Method and apparatus for establishing protocol spoofing from a modem
KR0122853B1 (en) Method and apparatus for batching the receipt of data packets
JPH0832585A (en) Radio lan system
US5383185A (en) Method and apparatus for data collision detection in a multi-processor communication system
JPH0771125B2 (en) Data communication method and data communication system
US7110418B2 (en) Method to ensure the quality of preferred communication services, a local network, a station, a local network controller and a program module therefor
JPH11501196A (en) Method and apparatus for automatic retransmission of packets in a network adapter
US6778551B1 (en) Collision control systems and methods utilizing an inter-frame gap code counter
US8149703B2 (en) Powerline network bridging congestion control
JPH04185029A (en) Communication controller with collision learning function
JPH1056470A (en) Network communication control equipment
JP2001525155A (en) Random access communication method using binary feedback
KR0165440B1 (en) Polling communication method
JPH0530115A (en) Polling system
JP3486182B2 (en) Communication device and communication control method and program therefor
JPH04127738A (en) Network system and multiple address communication response control method
KR20000028414A (en) Method of go back n arq in sliding window protocol
JPH0575622A (en) Emergency communication control system with priority
KR930004100B1 (en) Method for embodying full duplex communication protocol
JP2000101656A (en) Infrared data transmitter and receiver
JPH06350611A (en) Communication processing system
JPS60254943A (en) Data transmission system of bus type lan system
CN115687198A (en) Device communication device and method based on SPI
JPH06169329A (en) Response system for interruption packet
JPS62126735A (en) Emergency communication system