JPH05347650A - Data reception system and communication controller - Google Patents

Data reception system and communication controller

Info

Publication number
JPH05347650A
JPH05347650A JP4154736A JP15473692A JPH05347650A JP H05347650 A JPH05347650 A JP H05347650A JP 4154736 A JP4154736 A JP 4154736A JP 15473692 A JP15473692 A JP 15473692A JP H05347650 A JPH05347650 A JP H05347650A
Authority
JP
Japan
Prior art keywords
header
received
data
reception
prediction
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.)
Granted
Application number
JP4154736A
Other languages
Japanese (ja)
Other versions
JP2985511B2 (en
Inventor
Tatsuya Yokoyama
達也 横山
Osamu Takada
治 高田
Tetsuhiko Hirata
哲彦 平田
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 JP4154736A priority Critical patent/JP2985511B2/en
Publication of JPH05347650A publication Critical patent/JPH05347650A/en
Application granted granted Critical
Publication of JP2985511B2 publication Critical patent/JP2985511B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To reduce a reception processing time at the reception of a frame by starting protocol processing and transfer of received data to a computer in response to a coincidence signal between a predicted header and a received header from a comparator circuit. CONSTITUTION:Plural prediction headers of a frame expected for succeeding reception are registered to a communication controller 2 and data received from a network 3 are fetched in real time. Then a comparator circuit 100beta compares the plural fetched prediction headers with the received data simultaneously to discriminate whether or not the received data are registered in the prediction headers. Protocol processing and the transfer of the received data to a computer 1 are started in response to a coincidence signal between the prediction header and the received header outputted from the comparator circuit 100beta. Thus, three ways of processing such as frame reception from the network 3, protocol processing and transfer processing of the received data to the computer 1 are overlapped respectively to reduce the entire reception processing time of the controller 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデータ受信方式および通
信制御装置に関し、更に詳しくは、計算機等の機器を通
信ネットワークに接続するための通信制御装置における
データ受信処理の高速化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data receiving system and a communication control device, and more particularly to a high speed data receiving process in a communication control device for connecting a device such as a computer to a communication network.

【0002】[0002]

【従来の技術】データ通信システムにおいて、データ受
信時の通信プロトコル処理を高速化する方式として、例
えば、特願平1−57701号公報に記載の「プロトコ
ル高速処理方式およびネットワーク・システム」があ
る。上記公報に記載の発明は、フレームを受信した際
に、複数のヘッダ要素から成るプロトコルヘッダをヘッ
ダ要素毎に逐次解析するのではなく、自局が以前に送信
したフレームのヘッダまたは自局が以前に受信したフレ
ームのヘッダに基づき、次に受信するであろうフレーム
に対する一つ又は複数レイヤのヘッダをまとめて予測
し、実際にフレームを受信した際、受信したヘッダと予
測ヘッダとを一括して比較することにより、受信したフ
レームに対するヘッダ解析処理を高速化するものである
(以下、上記従来の発明をヘッダ予測方式という)。
2. Description of the Related Art In a data communication system, as a method for speeding up communication protocol processing at the time of data reception, there is, for example, "protocol high speed processing method and network system" described in Japanese Patent Application No. 1-57701. In the invention described in the above publication, when a frame is received, the protocol header composed of a plurality of header elements is not sequentially analyzed for each header element, but the header of a frame previously transmitted by the local station or the local station Based on the header of the frame received in, the header of one or multiple layers for the frame that will be received next is collectively predicted, and when the frame is actually received, the received header and the predicted header are collectively By comparing, the header analysis process for the received frame is speeded up (hereinafter, the conventional invention is referred to as a header prediction method).

【0003】更に、データ受信時のプロトコル処理を高
速化する他の技術として、特開昭62−164345号
公報に記載の「通信制御装置」がある。上記公報に記載
の発明は、ネットワークからのフレーム受信が完了した
後でプロトコル処理を開始するのではなく、ある固定長
分のデータ(ヘッダ部分)の受信完了をハードウエアで
検出し、このタイミングをプロトコルヘッダの受信完了
とみなし、フレームの受信が完了する前にマイクロプロ
グラムによるプロトコルヘッダの解析処理を開始するこ
とにより、フレーム受信時のプロトコル処理時間を短縮
するようにしている。
Further, as another technique for accelerating the protocol processing at the time of receiving data, there is a "communication control device" described in JP-A-62-164345. The invention described in the above publication does not start the protocol processing after the frame reception from the network is completed, but detects the reception completion of a fixed length of data (header portion) by hardware, and detects the timing. It is considered that the reception of the protocol header is completed, and the protocol header analysis process by the microprogram is started before the completion of the frame reception, so that the protocol processing time at the time of frame reception is shortened.

【0004】[0004]

【発明が解決しようとする課題】或る計算機が同時に複
数の計算機と通信する環境下では、複数の予測ヘッダが
存在することになる。例えば、トランスポートレイヤで
設定するコネクション単位にヘッダ予測を行なう場合に
は、コネクション数分の予測ヘッダが存在する。このよ
うな場合に、特願平1−57701号公報に記載のヘッ
ダ予測方式によれば、フレーム受信時に、受信フレーム
中のトランスポートヘッダの中からコネクション識別子
を抽出し、比較対象となる予測ヘッダを特定する必要が
ある。
In an environment in which a computer communicates with a plurality of computers at the same time, a plurality of prediction headers will exist. For example, when header prediction is performed for each connection set in the transport layer, there are prediction headers for the number of connections. In such a case, according to the header prediction method described in Japanese Patent Application No. 1-57701, when a frame is received, the connection identifier is extracted from the transport header in the received frame, and the prediction header to be compared is extracted. Need to be identified.

【0005】また、LAN環境で使用されるOSIプロ
トコルのトランスポートプロトコル・クラス4(TP
4)、コネクションレス・ネットワークプロトコル(C
LNP)、ロジカルリンクコントロール・タイプ1(L
LCタイプ1)の組合せにおいては、トランスポートヘ
ッダに先行するネットワークレイヤのヘッダは可変長で
あり、コネクション識別子を抽出するためには、ネット
ワークレイヤのヘッダ解析が必須である。すなわち、複
数の予測ヘッダの中から比較すべき予測ヘッダを特定す
るためには、結局、プロトコルヘッダを下位レイヤから
逐次解析しなければならないという問題があった。
In addition, the transport protocol class 4 (TP) of the OSI protocol used in the LAN environment
4), connectionless network protocol (C
LNP), Logical Link Control Type 1 (L
In the combination of LC type 1), the header of the network layer preceding the transport header has a variable length, and the header analysis of the network layer is essential to extract the connection identifier. That is, in order to specify a prediction header to be compared from a plurality of prediction headers, there is a problem that the protocol header must be sequentially analyzed from the lower layer.

【0006】すなわち、上記特願平1−57701号公
報に記載のヘッダ予測方式は、予測するヘッダが複数存
在する場合、複数の予測ヘッダを逐次比較しすることに
よって、対象となる予測ヘッダを特定する必要があり、
高速化の面において改善の余地を残している。
That is, in the header prediction method described in Japanese Patent Application No. 1-57701, when a plurality of headers to be predicted are present, the target prediction header is specified by sequentially comparing the plurality of prediction headers. Must be
There is room for improvement in terms of speeding up.

【0007】一方、特開昭62−164345号公報に
記載されたプロトコルヘッダの解析処理をフレーム受信
完了前に開始する方式は、ヘッダが可変長のプロトコル
に対して、プロトコルヘッダを解析することなく、プロ
トコルヘッダの受信完了タイミングをハードウエアで正
確に抽出することは困難であり、また、一旦バッファメ
モリに格納したプロトコルヘッダをマイクロプログラム
によって解析するようにしているため、高速化の面で改
善の余地を残している。
On the other hand, the method disclosed in Japanese Patent Laid-Open No. 62-164345, which starts the analysis processing of the protocol header before the completion of the frame reception, does not analyze the protocol header for the protocol whose header is variable length. , It is difficult to accurately extract the reception completion timing of the protocol header by hardware, and since the protocol header once stored in the buffer memory is analyzed by the microprogram, it is possible to improve the speedup. There is room for it.

【0008】本発明の目的は、フレーム受信時のプロト
コル処理を高速化したフレーム受信方式および通信制御
装置を提供することにある。
It is an object of the present invention to provide a frame reception system and a communication control device in which protocol processing at the time of frame reception is speeded up.

【0009】本発明の他の目的は、予測ヘッダ数に関係
なく、プロトコルヘッダの解析処理を高速化したフレー
ム受信方式および通信制御装置を提供することにある。
Another object of the present invention is to provide a frame reception system and a communication control device in which the protocol header analysis processing is speeded up regardless of the number of predicted headers.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明では、ネットワークからのフレーム受信、プ
ロトコル処理、および受信データの計算機への転送処理
の三つの処理をそれぞれオーバラップさせ、通信制御装
置全体の受信処理時間を短縮することを特徴とする。
In order to achieve the above object, according to the present invention, three processes, that is, frame reception from a network, protocol processing, and transfer processing of received data to a computer are overlapped, and communication is performed. It is characterized in that the reception processing time of the entire control device is shortened.

【0011】本発明の他の側面は、自局が以前に送信し
たフレームのヘッダまたは自局が以前に受信したフレー
ムのヘッダに基づき、次に受信するであろうフレームの
ヘッダを予測しておき、実際にフレームを受信したと
き、複数の予測ヘッダの中から、上記受信ヘッダと一致
するものを高速に検索し、予測ヘッダ数に関係なくプロ
トコルヘッダの解析処理を高速化したことにある。
Another aspect of the present invention is to predict the header of the frame that will be received next based on the header of the frame that the station has previously transmitted or the header of the frame that the station has previously received. When a frame is actually received, a plurality of predicted headers that match the received header are searched at high speed to speed up the protocol header analysis processing regardless of the number of predicted headers.

【0012】本発明の他の側面は、プロトコルヘッダが
可変長のプロトコルあるいはヘッダ長が異なる複数のプ
ロトコルを扱う場合において、プロトコルヘッダの受信
完了タイミングを正確に抽出し、プロトコルヘッダを一
旦バッファメモリに格納することなく、ハードウェアに
よって受信中のプロトコルヘッダをリアルタイムに解析
することにより、フレーム受信時のプロトコル処理を高
速化したことにある。更に具体的に述べると、本発明に
よる通信制御装置は、通信制御処理を実行するマイクロ
プロセッサと、送受信データを一時的に格納するバッフ
ァメモリ、計算機内の主メモリと、バッファメモリとの
間でデータの転送制御を行なうDMAコントローラと、
LANとの接続制御を行なうLANコントローラと、計
算機インタフェース回路とを有する。また、高速化のた
めに、内部バスを、送受信データを転送するためのバス
と、マイクロプロセッサが通信制御処理に使用するバス
とを分離した形とし、以下の手段を備える。
According to another aspect of the present invention, when a protocol having a variable length or a plurality of protocols having different header lengths is handled, the reception completion timing of the protocol header is accurately extracted and the protocol header is temporarily stored in the buffer memory. This is to speed up the protocol processing at the time of frame reception by analyzing the protocol header being received by hardware in real time without storing it. More specifically, the communication control device according to the present invention includes a microprocessor for executing communication control processing, a buffer memory for temporarily storing transmission / reception data, a main memory in a computer, and a data transfer between the buffer memory. A DMA controller for controlling the transfer of
It has a LAN controller for controlling connection with a LAN and a computer interface circuit. Further, in order to increase the speed, the internal bus has a bus for transferring the transmission / reception data and a bus used by the microprocessor for the communication control processing, and is provided with the following means.

【0013】(a):自局が以前に送信したフレームの
ヘッダまたは自局が以前に受信したフレームのヘッダに
基づいて作成され、次に受信が期待されるフレーム(予
測ヘッダ)と予測ヘッダ長とを複数登録でき、ネットワ
ークから受信される受信データを取り込みながら、登録
済みの複数の予測ヘッダと受信データを同時に比較する
手段、および複数の予測ヘッダ長と比較時点での受信デ
ータ数とを同時に比較する手段。
(A): A frame (predicted header) and a predicted header length which are created based on the header of a frame previously transmitted by the self station or the header of a frame previously received by the self station and are expected to be received next. Multiple registered headers can be registered, and while simultaneously capturing the received data received from the network, the means for simultaneously comparing the registered predicted headers and the received data, and the predicted header lengths and the number of received data at the time of comparison can be A means to compare.

【0014】(b):手段(a)の比較結果に基づき、
予測ヘッダと受信ヘッダの一致を示す信号と、一致した
予測ヘッダの識別子を出力するための手段。
(B): Based on the comparison result of the means (a),
Means for outputting a signal indicating a match between the predicted header and the received header and an identifier of the matched predicted header.

【0015】(c):手段(b)から出力される一致信
号およびヘッダ識別子に応答して、DMAコントローラ
を起動し、受信データの計算機への転送を開始するため
の手段。
(C): Means for activating the DMA controller and starting the transfer of the received data to the computer in response to the coincidence signal and the header identifier output from the means (b).

【0016】(d):ネットワークからのフレーム受信
完了時に、受信異常をチェックし、受信異常の場合に
は、当該受信フレームを廃棄し、通信制御処理の状態を
フレーム受信前の状態に戻すための手段。
(D): When the reception of the frame from the network is completed, the reception abnormality is checked, and if the reception abnormality occurs, the reception frame is discarded and the state of the communication control processing is returned to the state before the frame reception. means.

【0017】[0017]

【作用】手段(a)により、受信ヘッダと複数の予測ヘ
ッダを同時に比較することによって、予測ヘッダの数に
関係なく、プロトコルヘッダの解析処理を高速化でき
る。また、予測したヘッダの長さおよび受信データ数を
比較することにより、プロトコルヘッダが可変長のプロ
トコルに対しても、プロトコルヘッダの受信完了タイミ
ングを正確にハードウエアで抽出できる。更に、ネット
ワークから受信される受信データを取り込みながら予測
ヘッダと比較することにより、プロトコルヘッダを一旦
バッファメモリに格納することなく、受信中のプロトコ
ルヘッダをリアルタイムに解析できる。
By means of the means (a), by simultaneously comparing the received header and a plurality of prediction headers, the protocol header analysis processing can be speeded up regardless of the number of prediction headers. Further, by comparing the predicted length of the header and the number of received data, the reception completion timing of the protocol header can be accurately extracted by hardware even for a protocol having a variable length protocol header. Furthermore, by comparing the predicted header with the received data received from the network, the protocol header being received can be analyzed in real time without temporarily storing the protocol header in the buffer memory.

【0018】手段(b)、(c)により、ネットワーク
からのフレーム受信と、受信データの計算機への転送を
オーバラップして実行できる。
By means (b) and (c), frame reception from the network and transfer of the received data to the computer can be performed in an overlapping manner.

【0019】手段(a)、(b)、(c)により、通信
制御装置内で発生するネットワークからのフレーム受
信、プロトコル処理、受信データの計算機への転送処理
の三つの処理をそれぞれオーバラップさせることがで
き、通信制御装置全体の受信処理時間を短縮することが
できる。
By means (a), (b), and (c), the three processes of frame reception from the network, protocol processing, and transfer processing of received data to the computer that occur in the communication control device are made to overlap. Therefore, the reception processing time of the entire communication control device can be shortened.

【0020】手段(d)により、フレーム受信完了前に
プロトコル処理が開始されたことによる不具合を防止で
きる。
By the means (d), it is possible to prevent the trouble caused by the start of the protocol processing before the frame reception is completed.

【0021】[0021]

【実施例】以下、本発明の実施例を図面を参照しながら
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0022】〔実施例1〕まず、本実施例の前提となる
システムの概要を説明する。
[Embodiment 1] First, an outline of a system on which the present embodiment is based will be described.

【0023】図2は、本発明に係る通信ネットワークシ
ステムの一例を示し、複数の計算機1(1A〜1D)
が、それぞれ通信制御装置2(2A〜2D)を介してネ
ットワーク3に接続されている。
FIG. 2 shows an example of a communication network system according to the present invention, which comprises a plurality of computers 1 (1A-1D).
Are respectively connected to the network 3 via the communication control devices 2 (2A to 2D).

【0024】図3は、ネットワーク3としてローカルエ
リアネットワーク(LAN)を適用した場合の通信制御
装置2の構成の1例を示すブロック図である。
FIG. 3 is a block diagram showing an example of the configuration of the communication control device 2 when a local area network (LAN) is applied as the network 3.

【0025】通信制御装置2は、計算機1内のシステム
バス6と接続されている。計算機1は、上記システムバ
ス6で接続された主プロセッサ4と主メモリ5とからな
っている。
The communication controller 2 is connected to the system bus 6 in the computer 1. The computer 1 comprises a main processor 4 and a main memory 5 connected by the system bus 6.

【0026】通信制御装置2は、通信制御処理を実行す
るマイクロプロセッサ10と、プログラムメモリ20
と、ローカルメモリ30と、本発明の主要部をなすヘッ
ダ予測回路100αと、送受信データを一時的に格納す
るバッファメモリ40と、計算機1内の主メモリ5と、
バッファメモリ40との間でデータの転送制御を行なう
DMAコントローラ50(以下、DMAC50と記す)
と、LANとの接続制御を行なうLANコントローラ6
0と、計算機インタフェース回路70で構成される。
The communication control device 2 includes a microprocessor 10 for executing communication control processing and a program memory 20.
A local memory 30, a header prediction circuit 100α which is a main part of the present invention, a buffer memory 40 for temporarily storing transmission / reception data, a main memory 5 in the computer 1,
A DMA controller 50 (hereinafter, referred to as a DMAC 50) that controls data transfer with the buffer memory 40.
And a LAN controller 6 for controlling connection with the LAN
0 and a computer interface circuit 70.

【0027】通信制御装置2の内部バスは、2系統の内
部バスから成る。一つは、送受信データが転送されるデ
ータバス90(90A、90B)であり、もう一つは、
マイクロプロセッサ10が接続され、通信制御処理が行
なわれる制御バス80である。
The internal bus of the communication control device 2 is composed of two internal buses. One is a data bus 90 (90A, 90B) to which transmitted / received data is transferred, and the other is
A control bus 80 to which the microprocessor 10 is connected and which performs communication control processing.

【0028】ヘッダ予測回路100αは、次に受信を期
待する複数の予測ヘッダの中から実際に受信したヘッダ
と一致するものを高速に検索する回路である。バッファ
メモリ40は、3ポートメモリを形成し、DMAC5
0、LANコントローラ60、マイクロプロセッサ10
から同時にアクセスできるように構成する。ヘッダ予測
回路100α、DMAC50及び、LANコントローラ
60は、マイクロプロセッサ10により制御される。
The header predicting circuit 100α is a circuit for rapidly searching a plurality of predictive headers which are expected to be received next, for a match with the actually received header. The buffer memory 40 forms a 3-port memory, and the DMAC5
0, LAN controller 60, microprocessor 10
It is configured so that they can be accessed simultaneously from. The header prediction circuit 100α, the DMAC 50, and the LAN controller 60 are controlled by the microprocessor 10.

【0029】マイクロプロセッサ10は、計算機1から
データ送信要求を受けると、DMAC50を用いて主メ
モリ5に格納された送信データをバッファメモリ40に
転送し、プロトコル処理を行った後、LANコントロー
ラ60を起動してフレームをネットワーク3に送出す
る。一方、LANコントローラ60からデータ受信通知
を受けると、プロトコル処理を行った後、DMAC50
を用いて受信データを主メモリ5に転送し、計算機に対
してデータ受信を通知する。
When the microprocessor 10 receives the data transmission request from the computer 1, the microprocessor 10 transfers the transmission data stored in the main memory 5 to the buffer memory 40 by using the DMAC 50, performs the protocol processing, and then the LAN controller 60. It is activated and sends a frame to the network 3. On the other hand, when the data reception notification is received from the LAN controller 60, protocol processing is performed and then the DMAC 50
To transfer the received data to the main memory 5 and notify the computer of the data reception.

【0030】図4は、計算機1と通信制御装置2が実行
する通信プロトコルの階層を示す図である。本実施例で
は、7階層から成るOSIプロトコルに対して、レイヤ
5(プレゼンテーションレイヤ)以上を計算機の主プロ
セッサで実行し、レイヤ4(トランスポートレイヤ)か
らレイヤ2(LLCサブレイヤ)までを通信制御装置2
内のマイクロプロセッサ10で実行し、レイヤ2(MA
Cサブレイヤ)以下を通信制御装置2内のLANコント
ローラ60で実行する。
FIG. 4 is a diagram showing a hierarchy of communication protocols executed by the computer 1 and the communication control device 2. In this embodiment, with respect to the OSI protocol consisting of 7 layers, layers 5 (presentation layer) and above are executed by the main processor of the computer, and layers 4 (transport layer) to layer 2 (LLC sublayer) are communication control devices. Two
It is executed by the microprocessor 10 in the layer 2 (MA
C sublayer) The following is executed by the LAN controller 60 in the communication control device 2.

【0031】図5は、通信制御装置2間でやりとりされ
るフレームのフォーマットを示す図である。計算機1間
で転送されるデータ46には、レイヤ4以下のヘッダ
(TLヘッダ45、NLヘッダ44、LLCヘッダ4
3、MACヘッダ42、PHYヘッダ41)とトレイラ
47とが付加されて、1つのフレーム48を形成する。
FIG. 5 is a diagram showing a format of a frame exchanged between the communication control devices 2. The data 46 transferred between the computers 1 includes headers below the layer 4 (TL header 45, NL header 44, LLC header 4).
3, MAC header 42, PHY header 41) and trailer 47 are added to form one frame 48.

【0032】TLヘッダ45、NLヘッダ44、LLC
ヘッダ43は、通信制御装置2内のマイクロプロセッサ
10によって処理され、MACヘッダ42、PHYヘッ
ダ41、トレイラ47は、LANコントローラ60によ
って処理される。
TL header 45, NL header 44, LLC
The header 43 is processed by the microprocessor 10 in the communication control device 2, and the MAC header 42, the PHY header 41, and the trailer 47 are processed by the LAN controller 60.

【0033】図6は、マイクロプロセッサ10が処理す
るOSIプロトコルのレイヤ4からレイヤ2(LLCサ
ブレイヤ)のプロトコルの内、主にLAN環境で使用さ
れるTP4、CLNP、LLCタイプ1の主なヘッダ形
式(a)〜(h)を示した図である。
FIG. 6 shows the main header formats of TP4, CLNP, and LLC type 1, which are mainly used in the LAN environment among the layers 4 to 2 (LLC sublayer) of the OSI protocol processed by the microprocessor 10. It is the figure which showed (a)-(h).

【0034】図7は、OSIトランスポート・プロトコ
ル(TP4)の通信シーケンスと、データ受信局(通信
制御装置2B)におけるヘッダ予測手順の一例を示した
図である。通信制御装置2は、データ転送に先立ち、C
Rパケット500、CCパケット501、AKパケット
503を送受信し、コネクションを設定する。コネクシ
ョン設定が完了した時点で、最初に受信するであろうD
Tパケット502のレイヤ4からレイヤ2(LLCサブ
レイヤ)までのヘッダをまとめて予測し、DTパケット
502を受信すると、予測したヘッダと受信ヘッダを一
括して比較する。受信ヘッダと予測ヘッダが一致すれ
ば、受信したパケットは正常なパケットである。
FIG. 7 is a diagram showing an example of a communication sequence of the OSI transport protocol (TP4) and a header prediction procedure in the data receiving station (communication control device 2B). The communication control device 2 performs the C
The R packet 500, the CC packet 501, and the AK packet 503 are transmitted and received to set the connection. D which will be received first when connection setting is completed
The headers from layer 4 to layer 2 (LLC sublayer) of the T packet 502 are collectively predicted, and when the DT packet 502 is received, the predicted header and the received header are collectively compared. If the received header and the predicted header match, the received packet is a normal packet.

【0035】すなわち、本発明によるヘッダ予測方式に
よれば、予測ヘッダと受信ヘッダを比較することによ
り、受信ヘッダの解析処理が行える。受信ヘッダが予測
ヘッダと一致すると、必要に応じてAKパケット503
を返信し、次のデータ受信に備え、予測ヘッダを更新し
ておく。例えば、パケットの転送順序が示されるシーケ
ンス番号を更新しておく。データの転送が終了すると、
DRパケット504、DCパケット505を送受信しコ
ネクションを解放する。
That is, according to the header prediction method of the present invention, the received header can be analyzed by comparing the predicted header with the received header. If the received header matches the predicted header, AK packet 503 is sent if necessary.
Is returned, and the prediction header is updated in preparation for the next data reception. For example, the sequence number indicating the packet transfer order is updated. When the data transfer is complete,
The DR packet 504 and the DC packet 505 are transmitted and received to release the connection.

【0036】図8は、複数の予測ヘッダの中から受信ヘ
ッダと一致するものを高速に検索する機能を備えたヘッ
ダ予測回路100αの構成の1例を示すブロック図であ
る。ヘッダ予測回路100αは、複数のエントリと、登
録・検索制御回路160とで構成され、各エントリは、
予測ヘッダを格納するためのnバイト幅の予測ヘッダレ
ジスタ110(110A、110B)と、受信ヘッダを
格納するためのnバイト幅の受信ヘッダレジスタ150
(150A、150B)と、予測ヘッダと受信ヘッダを
比較するためのヘッダ比較器120(120A、120
B)と、ヘッダの比較において比較対象外のエリア(予
測できない部分や、nバイト以下の予測ヘッダに対する
パディング部分など)を指定したマスクデータを保持す
るためのnバイト幅のマスクレジスタ140(140
A、140B)と、受信ヘッダの内容をマスクデータで
マスクしたデータをヘッダ比較器120に与えるための
マスク回路130(130A、130B)とからなる。
FIG. 8 is a block diagram showing an example of the structure of a header predicting circuit 100α having a function of rapidly searching a plurality of predictive headers that match the received header. The header prediction circuit 100α is composed of a plurality of entries and a registration / search control circuit 160, and each entry is
An n-byte wide prediction header register 110 (110A, 110B) for storing a prediction header and an n-byte width reception header register 150 for storing a reception header
(150A, 150B) and a header comparator 120 (120A, 120) for comparing the predicted header with the received header.
B) and an n-byte width mask register 140 (140) for holding mask data designating an area (a portion that cannot be predicted, a padding portion for a prediction header of n bytes or less, etc.) that is not a target for comparison in the header comparison.
A, 140B) and a mask circuit 130 (130A, 130B) for supplying the data obtained by masking the contents of the reception header with the mask data to the header comparator 120.

【0037】登録・検索制御回路160は、マイクロプ
ロセッサ10からのコマンドに応答して、予測ヘッダの
登録処理、登録済みの予測ヘッダの中から受信ヘッダと
一致するものの検索処理、および、登録されている予測
ヘッダの削除処理を行う。
In response to a command from the microprocessor 10, the registration / retrieval control circuit 160 registers the predicted header, retrieves the registered predicted headers that match the received header, and registers the predicted header. Delete the prediction header that exists.

【0038】図9は、登録・検索制御回路160の構成
の1例を示すブロック図である。
FIG. 9 is a block diagram showing an example of the configuration of the registration / search control circuit 160.

【0039】登録・検索制御回路160は、ヘッダ予測
回路100αに対するコマンドを保持するためのコマン
ドレジスタ160−1と、登録する予測ヘッダを一時的
に保持するための予測ヘッダ登録レジスタ160−2
と、登録するマスクデータを一時的に保持するためのマ
スクデータ登録レジスタ160−3と、予測ヘッダを識
別するための予測ヘッダ識別子を保持するヘッダ識別子
レジスタ160−4と、受信したデータ(ヘッダ)を一
時的に保持するための受信ヘッダ入力レジスタ160−
5と、検索結果を保持するためのステータスレジスタ1
60−6と、ヘッダ識別子レジスタ160−4の内容に
基づいて選択されたエントリに、比較許可信号162
(162A、162B)と予測ヘッダ161(161
A、161B)とマスクデータ164(164A、16
4B)とを与える選択回路160−9〜11と、各エン
トリから出力される予測ヘッダと受信ヘッダの一致信号
163(163A、163B)の論理和(OR)を取る
OR回路160−12と、上記一致信号163をコード
化し、一致したエントリの番号に変換するコーダ160
−13と、一致したエントリの番号を予測ヘッダ識別子
として保持する一致ヘッダ通知レジスタ160−7と、
マイクロプロセッサ10に割り込みを発生させる割り込
み発生回路160−14と、上記ハードウエアを制御す
るコントローラ160−8で構成される。
The registration / search control circuit 160 has a command register 160-1 for holding a command for the header prediction circuit 100α and a prediction header registration register 160-2 for temporarily holding a prediction header to be registered.
A mask data registration register 160-3 for temporarily holding the mask data to be registered, a header identifier register 160-4 for holding a prediction header identifier for identifying the prediction header, and received data (header) Header input register 160 for temporarily holding the
5 and status register 1 for holding search results
60-6 and an entry selected based on the contents of the header identifier register 160-4 are added to the comparison permission signal 162.
(162A, 162B) and prediction header 161 (161
A, 161B) and mask data 164 (164A, 16A)
4B), an OR circuit 160-12 for taking the logical sum (OR) of the match signals 163 (163A, 163B) of the predicted header and the received header output from each entry, and A coder 160 that encodes the match signal 163 and converts it into the number of the matched entry.
-13, and a matching header notification register 160-7 that holds the number of the matching entry as a predicted header identifier,
The microprocessor 10 includes an interrupt generation circuit 160-14 for generating an interrupt and a controller 160-8 for controlling the above hardware.

【0040】本実施例では、登録・検索制御回路160
は、予測ヘッダ識別子がエントリの番号に等しくなるよ
うに構成してある。
In this embodiment, the registration / retrieval control circuit 160
Is configured so that the predicted header identifier is equal to the entry number.

【0041】図10は、通信制御装置2で行なわれるヘ
ッダ予測処理に関するフローチャートを示す。
FIG. 10 shows a flowchart relating to the header prediction process performed by the communication control device 2.

【0042】マイクロプロセッサ10は、通信制御装置
2間でコネクションを設定した後、当該コネクションに
対して最初に受信すべきデータパケットのレイヤ4から
レイヤ2(LLCサブレイヤ)に対する予測ヘッダ、マ
スクデータ及び上記予測ヘッダに対する予測ヘッダ識別
子を作成し(ステップ200)、ヘッダ予測回路100
αに登録する(201)。次に、ローカルメモリ30に
定義した図11に示す受信処理定義テーブル31に、上
記予測ヘッダ識別子及びヘッダ解析処理以外の受信処理
を登録し(202)、フレームの受信を待つ(20
3)。
After setting up the connection between the communication control devices 2, the microprocessor 10 predicts the header, the mask data and the above-mentioned predictive header for the layer 4 to the layer 2 (LLC sublayer) of the data packet to be received first for the connection. A prediction header identifier for the prediction header is created (step 200), and the header prediction circuit 100 is created.
Register to α (201). Next, in the reception processing definition table 31 shown in FIG. 11 defined in the local memory 30, reception processing other than the above-mentioned predicted header identifier and header analysis processing is registered (202), and the reception of a frame is awaited (20).
3).

【0043】LANコントローラ60からフレームの受
信完了通知を受けると、受信異常がないかどうかをチェ
ックし(204)、受信異常がなければ、受信バッファ
40内に受信されたデータの先頭からnバイトのデータ
を読み込み、ヘッダ予測回路100α内の受信ヘッダ入
力レジスタ160−5に設定し、検索コマンドを発行す
る(205)。
When the frame reception completion notification is received from the LAN controller 60, it is checked whether there is any reception abnormality (204). If there is no reception abnormality, data of n bytes from the head of the data received in the reception buffer 40 is checked. The data is read, set in the reception header input register 160-5 in the header prediction circuit 100α, and a search command is issued (205).

【0044】検索結果が一致すれば、一致ヘッダ通知レ
ジスタ160−7から予測ヘッダ識別子を取りだし、予
測ヘッダに対応した受信処理を受信処理定義テーブル3
1から求め実行する(207)。プロトコル処理が完了
すると、次のデータ受信に備えて予測ヘッダを更新し、
再度、ヘッダ予測回路100αに登録しておく(21
0)。次に、DMAC50を起動して、受信データを計
算機1に転送し(211)、計算機1へのデータ転送が
完了すると(212)、計算機に対してデータ受信を通
知する(213)。
If the search results match, the predicted header identifier is fetched from the matched header notification register 160-7, and the reception processing corresponding to the predicted header is set to the reception processing definition table 3
It is calculated from 1 and executed (207). When the protocol processing is completed, the prediction header is updated in preparation for the next data reception,
It is again registered in the header prediction circuit 100α (21
0). Next, the DMAC 50 is activated to transfer the received data to the computer 1 (211), and when the data transfer to the computer 1 is completed (212), the computer is notified of the data reception (213).

【0045】一方、ステップ204において、受信異常
があれば、受信したフレームを廃棄する(208)。ス
テップ206において、検索結果が不一致の場合、すな
わち、受信ヘッダがいかなる予測ヘッダとも一致しなか
った場合には、従来通り、受信ヘッダを逐次解析しプロ
トコル処理を行う(209)。
On the other hand, if there is an abnormal reception in step 204, the received frame is discarded (208). In step 206, if the search results do not match, that is, if the received header does not match any predicted header, the received header is sequentially analyzed and protocol processing is performed (209).

【0046】図12は、ヘッダ予測回路100αの動作
を示すフローチャートである。
FIG. 12 is a flowchart showing the operation of the header prediction circuit 100α.

【0047】登録・検索制御回路160は、コマンドレ
ジスタ160−1の内容を判定し(ステップ220)、
予測ヘッダの登録要求であれば、ヘッダ識別子レジスタ
160−4で指定されたエントリ内の予測ヘッダレジス
タ110とマスクレジスタ140に、予測ヘッダとマス
クデータを転送し、比較許可信号162をONにする
(227)。予測ヘッダの削除要求であれば(22
1)、指定されたエントリの比較許可信号162をOF
Fにする(228)。検索要求であれば(222)、受
信ヘッダ入力レジスタ160−5の内容を各エントリの
受信ヘッダレジスタ150に並列転送し、ヘッダ比較器
120に対して比較要求信号166をONにする(22
3)。
The registration / retrieval control circuit 160 judges the contents of the command register 160-1 (step 220),
If it is a prediction header registration request, the prediction header and mask data are transferred to the prediction header register 110 and the mask register 140 in the entry designated by the header identifier register 160-4, and the comparison permission signal 162 is turned on ( 227). If it is a request to delete the prediction header (22
1), the comparison permission signal 162 of the specified entry is OF
Set to F (228). If it is a search request (222), the contents of the reception header input register 160-5 are transferred in parallel to the reception header register 150 of each entry, and the comparison request signal 166 is turned on to the header comparator 120 (22).
3).

【0048】ヘッダ比較器120は、受信ヘッダレジス
タ150の内容をマスクレジスタ140の内容でマスク
し、マスクした値と予測ヘッダレジスタ110の内容を
比較する(224)。OR回路160−12によってヘ
ッダ比較器120からの一致信号163をチェックし
(225)、一致信号163が出力されているエントリ
が存在すれば、ステータスレジスタ160−6に一致を
示すコード設定し、コーダ160−13によって一致信
号163から予測ヘッダ識別子を生成し、一致ヘッダ通
知レジスタ160−7に設定し、マイクロプロセッサ1
0に対して割り込みを発生する(226)。一方、一致
したエントリが存在しなければ、ステータスレジスタ1
60−6に不一致を示すコードを設定し、割り込みを発
生する(229)。
The header comparator 120 masks the contents of the reception header register 150 with the contents of the mask register 140, and compares the masked value with the contents of the prediction header register 110 (224). The match signal 163 from the header comparator 120 is checked by the OR circuit 160-12 (225). If there is an entry for which the match signal 163 is output, a code indicating the match is set in the status register 160-6, and the coder is set. A prediction header identifier is generated from the match signal 163 by 160-13 and set in the match header notification register 160-7.
An interrupt is generated for 0 (226). On the other hand, if there is no matching entry, the status register 1
A code indicating a mismatch is set in 60-6, and an interrupt is generated (229).

【0049】上記動作フローチャートによって、通信制
御装置2内でのフレーム受信動作は、図13に示すタイ
ムチャートのように行なわれる。
According to the above operation flow chart, the frame receiving operation in the communication control device 2 is performed as shown in the time chart of FIG.

【0050】上記実施例においては、ヘッダ予測回路1
00αで最初に予測ヘッダを登録するタイミングが、コ
ネクション設定後となっているが、これはいかなる規則
に基づいて予測しても良い。
In the above embodiment, the header prediction circuit 1
The timing at which the predicted header is first registered with 00α is after the connection is set, but this may be predicted based on any rule.

【0051】また、予測ヘッダの登録・検索に関し、ヘ
ッダ予測回路100αに登録する予測ヘッダはヘッダそ
のものである必要はなく、例えば、パケットをヘッダを
含めて暗号化して転送する場合には、暗号化した予測ヘ
ッダを登録しておき、暗号化された受信ヘッダを復号化
せずに比較するようにしても良い。
Regarding the registration / retrieval of the prediction header, the prediction header registered in the header prediction circuit 100α does not need to be the header itself. For example, when the packet including the header is encrypted and transferred, the encryption is performed. The predicted header may be registered and the encrypted received header may be compared without being decrypted.

【0052】本実施例によれば、予測ヘッダの数が多い
場合においても、予測ヘッダ数に関係なく、ヘッダ予測
回路100αにより、複数の予測ヘッダの中から受信し
たヘッダと一致するものを高速に検索できるため、ヘッ
ダ予測処理を高速化できる。
According to this embodiment, even when the number of prediction headers is large, the header prediction circuit 100α can speed up the matching of the received headers from the plurality of prediction headers regardless of the number of prediction headers. Since the search can be performed, the header prediction process can be speeded up.

【0053】〔実施例2〕上述した実施例1では、図1
3に示した動作シーケンスから判るように、通信制御装
置2で行なうネットワークからのフレーム受信、プロト
コル処理、及び、受信データの計算機への転送処理がシ
ーケンシャルになっており、更に改良できる余地があ
る。
[Embodiment 2] In Embodiment 1 described above, FIG.
As can be seen from the operation sequence shown in FIG. 3, the frame reception from the network, the protocol process, and the transfer process of the received data to the computer performed by the communication control device 2 are sequential, and there is room for further improvement.

【0054】本発明の第2の実施例では、フレーム受信
時に通信制御装置2で発生する上記三つの処理を互いに
オーバラップさせ、通信制御装置全体の受信処理時間を
更に短縮することを特徴とする。
The second embodiment of the present invention is characterized in that the above-mentioned three processes which occur in the communication control unit 2 at the time of frame reception are overlapped with each other to further shorten the reception processing time of the entire communication control unit. ..

【0055】図1は、上記オーバラップ実行機能を備え
た通信制御装置2の構成を示すブロック図である。この
実施例では、ヘッダ予測回路100βが、LANコント
ローラ60からバッファメモリ40に転送される受信デ
ータをリアルタイムに取り込めるように、2つの内部バ
ス80、90間に配置された構成となっている。ヘッダ
予測回路100βは、LANコントローラ60から出力
されるフレーム受信中信号61に応答して、受信データ
の取り込みを開始する。
FIG. 1 is a block diagram showing the configuration of the communication control device 2 having the overlap execution function. In this embodiment, the header prediction circuit 100β is arranged between the two internal buses 80 and 90 so that the received data transferred from the LAN controller 60 to the buffer memory 40 can be fetched in real time. The header prediction circuit 100β starts capturing the received data in response to the frame receiving signal 61 output from the LAN controller 60.

【0056】図14は、上記ヘッダ予測回路100βの
構成を示すブロック図である。ヘッダ予測回路100β
は、図8で示したヘッダ予測回路100αの構成に、更
に受信ヘッダ転送制御回路170を追加した構成となっ
ている。受信ヘッダ転送制御回路170は、LANコン
トローラ60から得られるフレーム受信中信号61に応
答し、LANコントローラ60からバッファメモリ40
に転送される受信データをリアルタイムに取り込み、取
り込んだデータを各エントリ内の受信ヘッダレジスタ1
50に並列転送する機能を有する。
FIG. 14 is a block diagram showing the structure of the header prediction circuit 100β. Header prediction circuit 100β
Has a configuration in which a reception header transfer control circuit 170 is further added to the configuration of the header prediction circuit 100α shown in FIG. The reception header transfer control circuit 170 responds to the in-frame receiving signal 61 obtained from the LAN controller 60, and the LAN controller 60 causes the buffer memory 40
Received data transferred to the real time is received, and the received data is received header register 1 in each entry.
It has a function of parallel transfer to 50.

【0057】図15と図16は、本実施例における通信
制御装置2の動作を示すフローチャートである。図15
において、受信フレームを予測し、予測ヘッダをヘッダ
予測回路100βに登録するまでの処理(ステップ20
0〜201)は、実施例1と同じである。
15 and 16 are flow charts showing the operation of the communication control device 2 in this embodiment. Figure 15
In, the process of predicting the received frame and registering the predictive header in the header predicting circuit 100β (step 20
0 to 201) are the same as in the first embodiment.

【0058】予測ヘッダの登録を終えると、マイクロプ
ロセッサ10は、図17に示す受信処理定義テーブル3
1αに、予測ヘッダ識別子と、対応する受信処理を前処
理と後処理に分けて登録した後(ステップ300)、ヘ
ッダ予測回路100βからの予測ヘッダ一致割り込み、
または、LANコントローラ60からの受信完了割り込
みを待つ(301、203)。
When the registration of the prediction header is completed, the microprocessor 10 receives the reception process definition table 3 shown in FIG.
In 1α, after registering the predictive header identifier and the corresponding receiving process in preprocessing and postprocessing separately (step 300), the predictive header match interrupt from the header predicting circuit 100β,
Alternatively, it waits for a reception completion interrupt from the LAN controller 60 (301, 203).

【0059】ヘッダ予測回路100βから割り込みを受
けると、受信処理定義テーブル31αから一致した予測
ヘッダに対応する前処理を求め、これを実行する(30
2)。次のステップで、図18に示す予測完了フレーム
登録テーブル32に、受信フレームの先頭アドレスと、
予測ヘッダ識別子とを登録し(303)、次のデータ受
信に備え、予測ヘッダを更新し、再度、ヘッダ予測回路
100βに登録する(210)。次に、DMAC50を
起動し、計算機1への受信データの転送を開始し(21
1)、フレームの受信完了を待つ(203)。
When an interrupt is received from the header prediction circuit 100β, a preprocess corresponding to the matching predicted header is obtained from the reception process definition table 31α and executed (30).
2). In the next step, in the prediction completion frame registration table 32 shown in FIG.
The prediction header identifier is registered (303), the prediction header is updated in preparation for the next data reception, and it is registered again in the header prediction circuit 100β (210). Next, the DMAC 50 is activated and the transfer of the received data to the computer 1 is started (21
1), wait for the completion of frame reception (203).

【0060】フレームの受信完了割り込みを受けると、
図16のステップ204で、受信異常がないかどうかを
チェックする。もし、受信異常がなければ、当該受信フ
レームが予測完了フレーム登録テーブル32に登録され
ているかどうかをチェックし(305)、登録されてい
れば、受信処理定義テーブル31αから当該受信フレー
ムに対する後処理をより求め実行する(306)。次
に、当該受信フレームを予測完了フレーム登録テーブル
32から削除し(307)、DMAC50による計算機
1への受信データの転送完了を待つ(212)。計算機
1への転送が終了すると、計算機1にデータ受信を通知
する(213)。
When a frame reception completion interrupt is received,
In step 204 of FIG. 16, it is checked whether there is any abnormal reception. If there is no reception abnormality, it is checked whether or not the received frame is registered in the prediction completion frame registration table 32 (305). If registered, post-processing for the received frame is performed from the reception process definition table 31α. More requested and executed (306). Next, the received frame is deleted from the prediction completion frame registration table 32 (307), and the completion of the transfer of the received data to the computer 1 by the DMAC 50 is waited (212). When the transfer to the computer 1 is completed, the computer 1 is notified of the data reception (213).

【0061】ステップ204において、受信異常があっ
た場合には、当該受信フレームが、予測完了フレーム登
録テーブル32に登録されているかどうかをチェックし
(308)、登録されていれば、既に実行している前処
理が実行される前の状態に戻し(309)、予測完了フ
レーム登録テーブル32から、当該受信フレームを削除
する(310)。次に、受信した異常フレームを廃棄す
る(208)。
In step 204, if there is an abnormal reception, it is checked whether the received frame is registered in the prediction completion frame registration table 32 (308), and if it is registered, it is already executed. The pre-processing is returned to the state before execution (309), and the received frame is deleted from the prediction completion frame registration table 32 (310). Next, the received abnormal frame is discarded (208).

【0062】ステップ308において、受信した異常フ
レームが予測完了フレーム登録テーブル32に登録され
ていなければ、何もせずに受信フレームを廃棄する(2
08)。ステップ305において、正常受信でありなが
ら、当該受信フレームが予測完了フレーム登録テーブル
32に登録されていなければ、従来通り、受信フレーム
を逐次解析し、プロトコル処理を行う(209)。
In step 308, if the received abnormal frame is not registered in the prediction completion frame registration table 32, the received frame is discarded without doing anything (2
08). In step 305, if the received frame is not normally registered in the prediction completion frame registration table 32 despite normal reception, the received frame is sequentially analyzed and protocol processing is performed as usual (209).

【0063】図19は、本実施例においてヘッダ予測回
路100βが実行する動作のフローチャートを示す。予
測ヘッダの登録・削除に関する動作(ステップ220、
221、227、228)は、実施例1と同じである。
FIG. 19 shows a flowchart of the operation executed by the header prediction circuit 100β in this embodiment. Operation related to registration / deletion of prediction header (step 220,
221, 227, 228) are the same as in the first embodiment.

【0064】受信ヘッダ転送制御回路170は、LAN
コントローラ60から出力されるフレーム受信中信号6
1によりフレームの受信開始を検出すると(320)、
データバス90B上を流れる1ワードのデータを取り込
み、各エントリの受信ヘッダレジスタに並列に転送し、
受信ヘッダレジスタの大きさであるnバイトに達したと
ころで、受信データの取り込みを停止し、各エントリの
ヘッダ比較器120に対して比較要求信号166を出力
する(321)。
The reception header transfer control circuit 170 is a LAN
Frame receiving signal 6 output from the controller 60
When the reception start of the frame is detected by 1 (320),
Takes in one word of data flowing on the data bus 90B and transfers it in parallel to the reception header register of each entry,
When the size of the reception header register reaches n bytes, the reception of the reception data is stopped, and the comparison request signal 166 is output to the header comparator 120 of each entry (321).

【0065】予測ヘッダが登録されているエントリのヘ
ッダ比較器120は、受信ヘッダレジスタ150の内容
をマスクレジスタ140の内容でマスクしたデータと、
予測ヘッダレジスタ110の内容を比較する(22
4)。
The header comparator 120 of the entry in which the prediction header is registered has data obtained by masking the contents of the reception header register 150 with the contents of the mask register 140,
The contents of the prediction header register 110 are compared (22
4).

【0066】登録・検索制御回路160は、各エントリ
からの一致信号163をチェックし(225)、予測ヘ
ッダと受信ヘッダが一致するエントリが存在すれば、ス
テータスレジスタ160−6に一致を示すコードを設定
し、一致ヘッダ通知レジスタ160−7に予測ヘッダ識
別子を設定した後、マイクロプロセッサ10に割り込み
を発生する(226)。
The registration / retrieval control circuit 160 checks the match signal 163 from each entry (225), and if there is an entry in which the predicted header and the received header match, a code indicating the match is sent to the status register 160-6. After setting and setting the prediction header identifier in the match header notification register 160-7, an interrupt is generated in the microprocessor 10 (226).

【0067】図20は、受信ヘッダ転送制御回路170
の構成を示すブロック図である。
FIG. 20 shows a reception header transfer control circuit 170.
3 is a block diagram showing the configuration of FIG.

【0068】受信ヘッダ転送制御回路170は、データ
バス90Bを流れる受信データをヘッダ予測回路100
βに取り込むためのデータ取り込み回路170−1と、
フレーム受信中信号61からフレームの受信開始タイミ
ングを抽出するためのフレーム受信開始タイミング生成
回路170−6と、受信データのワード数をカウントす
るための受信データカウンタ170−5と、ヘッダ予測
回路100βに取り込むデータ数を指定するための受信
ヘッダレジスタ長170−4と、受信データカウンタ1
70−5と受信ヘッダレジスタ長170−4を比較する
ための比較器170−3と、データの取り込み終了のタ
イミングを生成するためのOR回路170−7と、各エ
ントリのヘッダ比較器120に対する比較要求信号16
6を生成するための比較要求信号生成回路170−2で
構成される。
The reception header transfer control circuit 170 receives the reception data flowing through the data bus 90B from the header prediction circuit 100.
a data fetch circuit 170-1 for fetching into β,
The frame reception start timing generation circuit 170-6 for extracting the frame reception start timing from the frame receiving signal 61, the reception data counter 170-5 for counting the number of words of the reception data, and the header prediction circuit 100β. Reception header register length 170-4 for designating the number of data to be fetched, and reception data counter 1
70-5 and a reception header register length 170-4, a comparator 170-3 for comparing the data, an OR circuit 170-7 for generating a timing of the end of data acquisition, and a comparison for the header comparator 120 of each entry. Request signal 16
6 is formed by the comparison request signal generation circuit 170-2.

【0069】図21は、上記受信ヘッダ転送制御回路1
70の詳細な動作を示すフローチャートである。
FIG. 21 shows the reception header transfer control circuit 1 described above.
7 is a flowchart showing a detailed operation of 70.

【0070】フレーム受信開始タイミング生成回路17
0−6は、フレーム受信中信号61からフレームの受信
開始を検出すると(330)、受信データカウンタ17
0−5をクリアする(331)。比較要求信号生成回路
170−2は、比較要求信号166をOFFにする(3
32)。データ取り込み回路170−1は、データバス
90Bを流れる1ワードの受信データを取り込み、各エ
ントリの受信ヘッダレジスタ150に並列転送する(3
33)。
Frame reception start timing generation circuit 17
When the reception start of the frame is detected from the frame reception signal 61 (330), 0-6, the reception data counter 17
Clear 0-5 (331). The comparison request signal generation circuit 170-2 turns off the comparison request signal 166 (3
32). The data fetch circuit 170-1 fetches one word of received data flowing through the data bus 90B and transfers it in parallel to the receive header register 150 of each entry (3
33).

【0071】受信データカウンタ170−5は、受信デ
ータ数をカウントアップする(334)。受信データ数
が受信ヘッダレジスタ長(n)に達するか、又は、フレ
ームの受信が完了するまで、ステップ333、334が
繰り返される。比較器170−3は、受信データカウン
タ170−5の内容と、受信ヘッダレジスタ長170−
4を比較し(335)、受信データ数が受信ヘッダレジ
スタ長に達すれば、受信データの取り込みを停止した後
(339)、ヘッダ比較器120に対して比較要求信号
166を出し(340)、フレーム受信完了を待つ(3
41)。受信データ数が受信ヘッダレジスタ長に達する
前であっても、フレームの受信が完了すれば、受信デー
タの取り込みを停止し(337)、ヘッダ比較器120
に対して比較要求信号166を出す(338)。
The reception data counter 170-5 counts up the number of reception data (334). Steps 333 and 334 are repeated until the number of received data reaches the reception header register length (n) or the reception of the frame is completed. The comparator 170-3 receives the contents of the reception data counter 170-5 and the reception header register length 170-
4 is compared (335), and when the number of received data reaches the received header register length, the reception of the received data is stopped (339), the comparison request signal 166 is issued to the header comparator 120 (340), and the frame Wait for reception completion (3
41). If the reception of the frame is completed even before the number of received data reaches the length of the received header register, the reception of the received data is stopped (337) and the header comparator 120
A comparison request signal 166 is issued to (338).

【0072】図22は、上記フローに基づくヘッダ予測
回路100βの動作を示すタイムチャートである。図2
2に示すように、受信データ数が受信ヘッダレジスタ長
(n)に達した時点で、受信ヘッダ転送制御回路170
からヘッダ比較器120に比較要求信号166が出力さ
れ、受信したヘッダと一致する予測ヘッダが登録されて
いるエントリから一致信号163が出力され、予測した
ヘッダの解析処理が完了する。
FIG. 22 is a time chart showing the operation of the header prediction circuit 100β based on the above flow. Figure 2
2, when the number of received data reaches the reception header register length (n), the reception header transfer control circuit 170
Outputs a comparison request signal 166 to the header comparator 120, outputs a match signal 163 from an entry in which a predicted header that matches the received header is registered, and the analysis processing of the predicted header is completed.

【0073】図23に、本実施例における通信制御装置
2のフレーム受信時のタイムチャートを示す。
FIG. 23 shows a time chart when the communication control device 2 in the present embodiment receives a frame.

【0074】本実施例によれば、プロトコルヘッダを一
旦バッファメモリに格納することなく、受信プロトコル
ヘッダをヘッダ予測回路100βによってリアルタイム
に解析できるという効果がある。また、通信制御装置2
で発生するネットワークからのデータ受信、プロトコル
処理、計算機への受信データの転送の3つの処理を互い
にオーバラップして処理できるため、通信制御装置全体
の受信処理時間を短縮できるという効果がある。
According to this embodiment, the reception protocol header can be analyzed in real time by the header prediction circuit 100β without storing the protocol header in the buffer memory once. In addition, the communication control device 2
Since the three processes of the data reception from the network, the protocol process, and the transfer of the received data to the computer that occur in 1) can be processed by overlapping with each other, there is an effect that the reception processing time of the entire communication control device can be shortened.

【0075】〔実施例3〕実施例2で述べたヘッダ予測
回路100βは、受信ヘッダレジスタ150の長さ(n
バイト)分の受信データを取り込んだ後に予測ヘッダと
の比較を開始するようにしているため、ヘッダの長さが
可変長のプロトコルにおいては、予測したヘッダがnバ
イト以下の場合に、nバイトに達するまでヘッダの解析
処理を待たせる必要がある。
[Third Embodiment] The header prediction circuit 100β described in the second embodiment has a length (n) of the reception header register 150.
Since the comparison with the predicted header is started after the received data of (bytes) has been fetched, in a protocol with a variable header length, if the predicted header is n bytes or less, it becomes n bytes. It is necessary to make the header analysis process wait until it reaches.

【0076】以下に述べる第3の実施例は、ヘッダが可
変長のプロトコルにおいて、プロトコルヘッダの受信が
完了したタイミングをハードウエアにより正確に抽出
し、ヘッダ解析処理を開始できるようにしたことを特徴
とする。
The third embodiment described below is characterized in that, in a protocol having a variable length header, the timing when the reception of the protocol header is completed is accurately extracted by hardware, and the header analysis process can be started. And

【0077】図24は、本実施例におけるヘッダ予測回
路100γの構成を示すブロック図である。ヘッダ予測
回路100γを構成するブロックは、実施例2と同じで
あるが、受信ヘッダ転送制御回路170γからヘッダ比
較器120に、受信データカウント167が入力されて
いる点で異なる。
FIG. 24 is a block diagram showing the structure of the header prediction circuit 100γ in this embodiment. The blocks forming the header prediction circuit 100γ are the same as those in the second embodiment, but are different in that the reception data count 167 is input from the reception header transfer control circuit 170γ to the header comparator 120.

【0078】図25は、本実施例におけるヘッダ比較器
120による予測ヘッダと受信ヘッダとの比較方法を示
した図である。マイクロプロセッサ10は、予測ヘッダ
を登録する時、予測ヘッダの他に予測ヘッダ長も登録し
ておく。
FIG. 25 is a diagram showing a method of comparing the predicted header and the received header by the header comparator 120 in this embodiment. When registering the prediction header, the microprocessor 10 also registers the prediction header length in addition to the prediction header.

【0079】ヘッダ比較器120は、受信ヘッダレジス
タ150の内容をマスクレジスタ140でマスクしたデ
ータと予測ヘッダとの比較と、予測ヘッダ長と受信デー
タカウント167との比較を同時に行うように構成され
ている。すなわち、予測ヘッダ長と受信データカウント
を比較することにより、予測したヘッダの受信完了タイ
ミングを抽出する。
The header comparator 120 is configured to simultaneously compare the data obtained by masking the contents of the reception header register 150 with the mask register 140 and the prediction header, and compare the prediction header length with the reception data count 167. There is. That is, the reception completion timing of the predicted header is extracted by comparing the predicted header length with the received data count.

【0080】図26は、本実施例におけるヘッダ予測回
路100γの動作を示すフローチャートである。図26
において、フレームの受信が開始されるまでのフロー
(ステップ220、221、227、228、320)
は、実施例2と同じである。
FIG. 26 is a flow chart showing the operation of the header prediction circuit 100γ in this embodiment. FIG. 26
The flow until the reception of the frame is started (steps 220, 221, 227, 228, 320)
Is the same as in the second embodiment.

【0081】フレームの受信が開始されると、受信ヘッ
ダ転送制御回路170γは、データバス90Bを流れる
1ワードの受信データを取り込み、各エントリの受信ヘ
ッダレジスタに並列転送し、比較要求信号166をON
にする(350)。
When the frame reception is started, the reception header transfer control circuit 170γ takes in one word of reception data flowing through the data bus 90B, transfers it in parallel to the reception header register of each entry, and turns on the comparison request signal 166.
(350).

【0082】ヘッダ比較器120は、予測ヘッダと受信
ヘッダとの比較と、予測ヘッダ長と受信データカウンタ
との比較を同時に行う(351)。
The header comparator 120 simultaneously compares the predicted header and the received header and the predicted header length and the received data counter (351).

【0083】登録・検索制御回路160は、一致したエ
ントリがあるかどうかをチェックし(225)、一致し
たエントリがあれば、マイクロプロセッサ10に通知す
る(226)。一致したエントリがなければ、nバイト
の受信が完了するまで、又は、フレームの受信が完了す
るまで、ステップ350、351、225を繰り返す
(352)。
The registration / retrieval control circuit 160 checks whether there is a matching entry (225), and if there is a matching entry, it notifies the microprocessor 10 (226). If there is no matching entry, steps 350, 351 and 225 are repeated until the reception of n bytes is completed or the reception of the frame is completed (352).

【0084】図27は、本実施例における受信ヘッダ転
送制御回路170γの構成を示すブロック図である。受
信ヘッダ転送制御回路170γを構成するブロックは、
実施例2と同じであるが、受信データカウンタ170−
5の出力信号である受信データカウント167がヘッダ
比較器120に入力されている点、比較要求信号生成回
路170−2のセット端子Sとリセット端子Rに入力さ
れる信号が逆になっている点で、実施例2と異なる。
FIG. 27 is a block diagram showing the structure of the reception header transfer control circuit 170γ in this embodiment. The blocks constituting the reception header transfer control circuit 170γ are
Same as the second embodiment, except that the reception data counter 170-
5, the received data count 167 which is the output signal of No. 5 is input to the header comparator 120, and the signals input to the set terminal S and the reset terminal R of the comparison request signal generation circuit 170-2 are reversed. However, it differs from the second embodiment.

【0085】図28は、本実施例における受信ヘッダ転
送制御回路170γの動作を示すフローチャートであ
る。図28において、実施例2のフローチャート(図2
1)と異なる部分は、比較要求信号生成回路170−2
がフレームの受信を開始すると、比較要求信号166を
ONにし(ステップ360)、データの取り込みを停止
すると、比較要求信号166をOFFにする(361、
362)点である。すなわち、実施例2では、nバイト
のデータを受信した時点で比較要求信号166をONに
していたが、本実施例では、1ワードの受信データを取
り込んだ時点から、比較要求信号166をONにするよ
うにしている。
FIG. 28 is a flow chart showing the operation of the reception header transfer control circuit 170γ in this embodiment. 28, a flowchart of the second embodiment (see FIG.
The part different from 1) is the comparison request signal generation circuit 170-2.
When the frame reception starts, the comparison request signal 166 is turned on (step 360), and when the data acquisition is stopped, the comparison request signal 166 is turned off (361,
362) point. That is, in the second embodiment, the comparison request signal 166 is turned on when the n-byte data is received, but in the present embodiment, the comparison request signal 166 is turned on from the time when the one-word received data is fetched. I am trying to do it.

【0086】図29は、本実施例におけるヘッダ予測回
路100γの動作を示すタイムチャートである。図29
に示すように、予測ヘッダ長がmバイトであった場合、
mバイトの受信が完了した時点で、予測したヘッダとの
一致信号163が出力され、マイクロプロセッサ10に
通知される。
FIG. 29 is a time chart showing the operation of the header prediction circuit 100γ in this embodiment. FIG. 29
As shown in, when the predicted header length is m bytes,
When reception of m bytes is completed, a match signal 163 with the predicted header is output, and the microprocessor 10 is notified.

【0087】受信中のデータをリアルタイムに取り込
み、予測したヘッダと比較するようにすると、受信中の
データ部が予測ヘッダと偶然一致し、データ部を誤って
プロトコルヘッダの受信完了と解釈する場合も考えられ
るが、本実施例では、予測ヘッダ長と比較時点での受信
データタウントを比較することにより、誤ったヘッダ解
析が発生しないように構成されている。
When the data being received is fetched in real time and compared with the predicted header, the data part being received coincidentally with the predicted header, and the data part may be erroneously interpreted as the reception completion of the protocol header. Although conceivable, the present embodiment is configured so that erroneous header analysis does not occur by comparing the predicted header length with the received data taunt at the time of comparison.

【0088】本実施例によれば、ヘッダの長さが可変長
のプロトコルにおいても、ヘッダ予測回路100γによ
って、予測したヘッダの受信が完了したタイミングを正
確に抽出でき、プロトコルヘッダを一旦バッファメモリ
に格納することなく、リアルタイムに解析できるという
効果がある。
According to the present embodiment, even in a protocol in which the header length is variable, the header predicting circuit 100γ can accurately extract the timing at which the predicted header has been received, and the protocol header is temporarily stored in the buffer memory. There is an effect that analysis can be performed in real time without storing.

【0089】[0089]

【発明の効果】以上の説明から明らかなように、本発明
によれば、自局が以前に送信したフレームのヘッダまた
は自局が以前に受信したフレームのヘッダに基づき、次
に受信するであろうフレームのヘッダを予測し、フレー
ムを受信した際に、受信したヘッダと複数の予測ヘッダ
とを一括して比較することにより、受信したフレームの
ヘッダ解析処理を高速化できるようになっている。複数
の予測ヘッダと受信ヘッダの比較をハードウェアで同時
に行うことにより、予測ヘッダの個数に関係なく、プロ
トコルヘッダの解析処理を高速化できる。
As is apparent from the above description, according to the present invention, the next reception is performed based on the header of the frame previously transmitted by the local station or the header of the frame previously received by the local station. By predicting the header of a deaf frame and comparing the received header with a plurality of predicted headers at once when the frame is received, the header analysis processing of the received frame can be speeded up. By simultaneously comparing a plurality of prediction headers and reception headers by hardware, the protocol header analysis processing can be speeded up regardless of the number of prediction headers.

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

【図1】本発明による通信制御装置の構成の1例を示す
ブロック図。
FIG. 1 is a block diagram showing an example of a configuration of a communication control device according to the present invention.

【図2】本発明の適用対象となるネットワークシステム
の構成を示す図。
FIG. 2 is a diagram showing a configuration of a network system to which the present invention is applied.

【図3】本発明による通信制御装置の他の構成例を示す
ブロック図。
FIG. 3 is a block diagram showing another configuration example of the communication control device according to the present invention.

【図4】プロトコル階層を示す図。FIG. 4 is a diagram showing a protocol hierarchy.

【図5】通信制御装置間でやりとりされるフレームフォ
ーマットを示す図。
FIG. 5 is a diagram showing a frame format exchanged between communication control devices.

【図6】レイヤ4、レイヤ3、レイヤ2の主なパケット
フォーマットを示す図。
FIG. 6 is a diagram showing main packet formats of layer 4, layer 3, and layer 2;

【図7】OSIプロトコル(レイヤ4)における通信シ
ーケンスとヘッダ予測処理の概要を示す図。
FIG. 7 is a diagram showing an outline of a communication sequence and header prediction processing in the OSI protocol (layer 4).

【図8】ヘッダ予測回路の構成を示すブロック図。FIG. 8 is a block diagram showing the configuration of a header prediction circuit.

【図9】登録・検索制御回路の構成を示すブロック図。FIG. 9 is a block diagram showing the configuration of a registration / search control circuit.

【図10】通信制御装置の動作の1実施例を示すフロー
チャート。
FIG. 10 is a flowchart showing an example of the operation of the communication control device.

【図11】受信処理定義テーブルの構成を示す図。FIG. 11 is a diagram showing the configuration of a reception processing definition table.

【図12】ヘッダ予測回路の詳細な動作を示すフローチ
ャート。
FIG. 12 is a flowchart showing the detailed operation of the header prediction circuit.

【図13】フレーム受信時における通信制御装置の動作
を示すタイムチャート。
FIG. 13 is a time chart showing the operation of the communication control device during frame reception.

【図14】ヘッダ予測回路の他の構成を示すブロック
図。
FIG. 14 is a block diagram showing another configuration of the header prediction circuit.

【図15】通信制御装置の動作の他の実施例を示すフロ
ーチャートの前半部。
FIG. 15 is a first half of a flowchart showing another embodiment of the operation of the communication control device.

【図16】通信制御装置の動作の他の実施例を示すフロ
ーチャートの後半分。
FIG. 16 is the latter half of a flowchart showing another embodiment of the operation of the communication control device.

【図17】受信処理定義テーブルの他の構成を示す図FIG. 17 is a diagram showing another configuration of a reception process definition table.

【図18】予測完了フレーム登録テーブルの構成を示す
図。
FIG. 18 is a diagram showing the configuration of a prediction completion frame registration table.

【図19】ヘッダ予測回路の動作の他の実施例を示すフ
ローチャート。
FIG. 19 is a flowchart showing another embodiment of the operation of the header prediction circuit.

【図20】受信ヘッダ転送制御回路の構成を示すブロッ
ク図。
FIG. 20 is a block diagram showing the configuration of a reception header transfer control circuit.

【図21】受信ヘッダ転送制御回路の動作を示すフロー
チャート。
FIG. 21 is a flowchart showing the operation of the reception header transfer control circuit.

【図22】ヘッダ予測回路の動作を示すタイムチャー
ト。
FIG. 22 is a time chart showing the operation of the header prediction circuit.

【図23】通信制御装置の動作の他の実施例を示すタイ
ムチャート。
FIG. 23 is a time chart showing another embodiment of the operation of the communication control device.

【図24】ヘッダ予測回路の他の構成例を示すブロック
図。
FIG. 24 is a block diagram showing another configuration example of the header prediction circuit.

【図25】ヘッダの比較方法を説明するためのブロック
図。
FIG. 25 is a block diagram for explaining a header comparison method.

【図26】ヘッダ予測回路の動作の他の実施例を示すフ
ローチャート。
FIG. 26 is a flowchart showing another embodiment of the operation of the header prediction circuit.

【図27】受信ヘッダ転送制御回路の構成の他の実施例
を示すブロック図。
FIG. 27 is a block diagram showing another embodiment of the configuration of the reception header transfer control circuit.

【図28】受信ヘッダ転送制御回路の動作の他の実施例
を示すフローチャート。
FIG. 28 is a flowchart showing another embodiment of the operation of the reception header transfer control circuit.

【図29】ヘッダ予測回路の動作の他の実施例を示すタ
イムチャート。
FIG. 29 is a time chart showing another embodiment of the operation of the header prediction circuit.

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

1…計算機 2…通信制御装置 3…ネットワーク 10…マイクロプロセッサ 40…バッファメモリ 50…DMAC 60…LANコントローラ 61…フレーム受信中信号 100…ヘッダ予測回路 110…予測ヘッダレジスタ 120…比較器 130…マスク回路 140…マスクレジスタ 150…受信ヘッダレジスタ 160…登録・検索制御回路 170…受信ヘッダ転送制御回路 180…受信データ長カウンタ DESCRIPTION OF SYMBOLS 1 ... Computer 2 ... Communication control device 3 ... Network 10 ... Microprocessor 40 ... Buffer memory 50 ... DMAC 60 ... LAN controller 61 ... Frame receiving signal 100 ... Header prediction circuit 110 ... Prediction header register 120 ... Comparator 130 ... Mask circuit 140 ... Mask register 150 ... Reception header register 160 ... Registration / search control circuit 170 ... Reception header transfer control circuit 180 ... Reception data length counter

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04L 12/40 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04L 12/40

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】計算機とのインタフェース回路と、通信制
御処理を実行するマイクロプロセッサと、送受信データ
を一時的に格納するバッファメモリと、計算機内の主メ
モリとバッファメモリとの間でデータの転送制御を行な
うDMAコントローラと、ネットワークとの接続制御を
行なうLANコントローラを有する通信制御装置におい
て、 自局が以前に送信したフレームのヘッダまたは自局が以
前に受信したフレームのヘッダに基づいて作成され、次
に受信が期待されるフレームのヘッダ(予測ヘッダ)を
複数保持する手段と、 ネットワークから受信される受信データをリアルタイム
に取り込む手段と、 予測ヘッダと受信データを同時に比較する複数の比較手
段と、 受信データと予測ヘッダが一致した場合に、一致信号お
よ予測ヘッダに対応した識別子を出力する手段を有する
ことを特徴とする通信制御装置。
1. A computer interface circuit, a microprocessor for executing communication control processing, a buffer memory for temporarily storing transmission / reception data, and data transfer control between a main memory and a buffer memory in the computer. In a communication control device having a DMA controller for performing the above and a LAN controller for controlling the connection with the network, the communication controller is created based on the header of the frame previously transmitted by the local station or the header of the frame previously received by the local station. Means for holding multiple headers (predicted headers) of the frame expected to be received, means for capturing the received data received from the network in real time, multiple comparison means for simultaneously comparing the predicted header and the received data, When the data and the prediction header match, the matching signal and the prediction header are paired. A communication control device comprising means for outputting a corresponding identifier.
【請求項2】計算機とのインタフェース回路と、通信制
御処理を実行するマイクロプロセッサと、送受信データ
を一時的に格納するバッファメモリと、計算機内の主メ
モリとバッファメモリとの間でデータの転送制御を行な
うDMAコントローラと、ネットワークとの接続制御を
行なうLANコントローラを有する通信制御装置におい
て、 自局が以前に送信したフレームのヘッダまたは自局が以
前に受信したフレームのヘッダに基づいて作成され、次
に受信が期待されるフレームのヘッダ(予測ヘッダ)を
複数保持するステップと、 ネットワークから受信される受信データをリアルタイム
に取り込むステップと、 予測ヘッダと受信データを同
時に比較するステップと、 受信データと予測ヘッダが一致した場合に、一致信号及
び、予測ヘッダに対応した識別子を出力するステップを
有することを特徴とするデータ受信方式。
2. A computer interface circuit, a microprocessor for executing communication control processing, a buffer memory for temporarily storing transmission / reception data, and a data transfer control between a main memory and a buffer memory in the computer. In a communication control device having a DMA controller for performing the above and a LAN controller for controlling the connection with the network, the communication controller is created based on the header of the frame previously transmitted by the local station or the header of the frame previously received by the local station. To hold multiple headers (predicted headers) of the frame that are expected to be received, to receive the received data from the network in real time, to compare the predicted header and received data at the same time, When headers match, match signal and prediction header The method for receiving data is characterized in that it has a step of outputting an identifier corresponding to.
【請求項3】前記予測ヘッダと受信データとを比較する
比較手段を有し、プロトコルヘッダを一旦受信バッファ
に格納することなく、プロトコルヘッダを受信しながら
ヘッダの解析を行なうことを特徴とする通信制御装置。
3. Communication characterized by having a comparing means for comparing the predicted header and received data, and analyzing the header while receiving the protocol header without temporarily storing the protocol header in a receiving buffer. Control device.
【請求項4】前記予測ヘッダと受信データとを比較する
比較手段により、フレームの受信が完了する前にプロト
コルヘッダの解析を開始することを特徴とする請求項4
に記載の通信制御装置。
4. The analysis of the protocol header is started before the reception of the frame is completed by the comparison means for comparing the predicted header with the received data.
The communication control device according to.
【請求項5】前記予測ヘッダと受信データとを比較する
比較手段により、ソフトウエアの介在なしに、受信した
プロトコルヘッダの解析を行なうことを特徴とする請求
項4に記載の通信制御装置。
5. The communication control device according to claim 4, wherein the comparison means for comparing the predicted header with the received data analyzes the received protocol header without intervention of software.
【請求項6】前記予測ヘッダと受信ヘッダとを比較する
比較手段から出力される一致信号、および、予測ヘッダ
に対応した識別子に応答して、前記識別子に対応した通
信プロトコル処理と受信データの計算機への転送を開始
することを特徴とする請求項4に記載の通信制御装置。
6. A computer for communication protocol processing corresponding to the identifier and received data in response to a match signal output from a comparing means for comparing the predicted header and the received header and an identifier corresponding to the predicted header. The communication control device according to claim 4, wherein transfer to the communication device is started.
【請求項7】計算機とのインタフェース回路と、通信制
御処理を実行するマイクロプロセッサと、送受信データ
を一時的に格納するバッファメモリと、計算機内の主メ
モリとバッファメモリとの間でデータの転送制御を行な
うDMAコントローラと、ネットワークとの接続制御を
行なうLANコントローラを有する通信制御装置におい
て、 自局が以前に送信したフレームのヘッダまたは自局が以
前に受信したフレームのヘッダに基づいて作成され、次
に受信が期待されるフレームのヘッダ(予測ヘッダ)と
比較対象外のエリアを示すマスクデータとを複数保持す
る手段と、 ネットワークから受信される受信データをリアルタイム
に取り込む手段と、 受信ヘッダを該マスクデータでマスクする手段と、 該マスク手段から出力されるデータと予測ヘッダとを比
較する複数の比較手段を有することを特徴とする通信制
御装置。
7. An interface circuit with a computer, a microprocessor for executing communication control processing, a buffer memory for temporarily storing transmission / reception data, and data transfer control between a main memory and a buffer memory in the computer. In a communication control device having a DMA controller for performing the above and a LAN controller for controlling the connection with the network, the communication controller is created based on the header of the frame previously transmitted by the local station or the header of the frame previously received by the local station. Means for holding a plurality of headers (predicted headers) of frames expected to be received and mask data indicating an area not to be compared, means for fetching received data received from the network in real time, and the received header for the mask Means for masking with data, data output from the masking means, and A communication control device comprising a plurality of comparing means for comparing the measurement header.
【請求項8】計算機とのインタフェース回路と、通信制
御処理を実行するマイクロプロセッサと、送受信データ
を一時的に格納するバッファメモリと、計算機内の主メ
モリとバッファメモリとの間でデータの転送制御を行な
うDMAコントローラと、ネットワークとの接続制御を
行なうLANコントローラを有する通信制御装置におい
て、 自局が以前に送信したフレームのヘッダまたは自局が以
前に受信したフレームのヘッダに基づいて作成され、次
に受信が期待されるフレームのヘッダ(予測ヘッダ)
と、予測ヘッダ長と、比較対象外のエリアを示すマスク
データとを保持する手段と、 ネットワークから受信される受信データをリアルタイム
に取り込む手段と、 受信ヘッダを該マスクデータでマスクする手段と、 該マスク手段から出力されるデータと予測ヘッダを比較
する手段と、 予測ヘッダ長と受信データ長を比較する手段を有するこ
とを特徴とする通信制御装置。
8. A computer interface circuit, a microprocessor for executing communication control processing, a buffer memory for temporarily storing transmission / reception data, and data transfer control between a main memory and a buffer memory in the computer. In a communication control device having a DMA controller for performing the above and a LAN controller for controlling the connection with the network, the communication controller is created based on the header of the frame previously transmitted by the local station or the header of the frame previously received by the local station. Header of frame expected to be received by (predicted header)
A means for holding a predicted header length and mask data indicating an area not to be compared, a means for fetching received data received from a network in real time, a means for masking the received header with the mask data, A communication control device comprising: means for comparing the data output from the mask means with a prediction header; and means for comparing the prediction header length with the received data length.
JP4154736A 1992-06-15 1992-06-15 Data receiving system and communication control device Expired - Fee Related JP2985511B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4154736A JP2985511B2 (en) 1992-06-15 1992-06-15 Data receiving system and communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4154736A JP2985511B2 (en) 1992-06-15 1992-06-15 Data receiving system and communication control device

Publications (2)

Publication Number Publication Date
JPH05347650A true JPH05347650A (en) 1993-12-27
JP2985511B2 JP2985511B2 (en) 1999-12-06

Family

ID=15590809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4154736A Expired - Fee Related JP2985511B2 (en) 1992-06-15 1992-06-15 Data receiving system and communication control device

Country Status (1)

Country Link
JP (1) JP2985511B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625523B2 (en) 2000-03-29 2003-09-23 Valentino Campagnolo System for data transfer, for example for cycles such as competition bicycles
US6634971B2 (en) 2000-03-29 2003-10-21 Campagnolo Srl Process for controlling gear shifting in a cycle, and corresponding system and components
JP2004507158A (en) * 2000-08-14 2004-03-04 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Apparatus and method for identifying data packets at wire rate on a network switch port
US6757567B2 (en) 2000-03-27 2004-06-29 Campagnolo Srl Multiprocessor control system for cycles, for example for competition bicycles
JP2009060660A (en) * 2001-08-09 2009-03-19 Panasonic Corp Transmission apparatus and transmission method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6757567B2 (en) 2000-03-27 2004-06-29 Campagnolo Srl Multiprocessor control system for cycles, for example for competition bicycles
US6625523B2 (en) 2000-03-29 2003-09-23 Valentino Campagnolo System for data transfer, for example for cycles such as competition bicycles
US6634971B2 (en) 2000-03-29 2003-10-21 Campagnolo Srl Process for controlling gear shifting in a cycle, and corresponding system and components
US6873885B2 (en) 2000-03-29 2005-03-29 Campagnolo S.R.L. System for data transfer, for example for cycles such as competition bicycles
US7121968B2 (en) 2000-03-29 2006-10-17 Campagnolo S.R.L. Process for controlling gear shifting in a cycle, and corresponding systems and components
US7200447B2 (en) 2000-03-29 2007-04-03 Campagnolo, S.R.L. Multiprocessor control system for cycles, for example for competition bicycles
US7207911B2 (en) 2000-03-29 2007-04-24 Campagnolo, S.R.L. Process for controlling gear shifting in a cycle, and corresponding systems and components
US7623931B2 (en) 2000-03-29 2009-11-24 Campagnolo S.R.L. Multiprocessor control system for cycles, for example for competition bicycles
JP2004507158A (en) * 2000-08-14 2004-03-04 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Apparatus and method for identifying data packets at wire rate on a network switch port
JP2009060660A (en) * 2001-08-09 2009-03-19 Panasonic Corp Transmission apparatus and transmission method
US8085666B2 (en) 2001-08-09 2011-12-27 Panasonic Corporation Transmission apparatus and transmission method

Also Published As

Publication number Publication date
JP2985511B2 (en) 1999-12-06

Similar Documents

Publication Publication Date Title
KR970007620B1 (en) Communication control unit and circuit device for communication control
EP0753817A1 (en) Method and apparatus for data communication
US5101477A (en) System for high speed transfer of data frames between a channel and an input/output device with request and backup request count registers
JP2985511B2 (en) Data receiving system and communication control device
US7058051B2 (en) Packet processing device
US5734918A (en) Computer system with an input/output processor which enables direct file transfers between a storage medium and a network
US7324438B1 (en) Technique for nondisruptively recovering from a processor failure in a multi-processor flow device
JP3291866B2 (en) Data receiving system and communication control device
JP3168102B2 (en) Communication device
JP2617648B2 (en) Network configuration recognition device
JPH0936853A (en) Data exchange system on network
JP3091791B2 (en) Message type data processing system
JP2848370B2 (en) Communication line monitoring device
CN116185927A (en) Serial port data analysis method and system
JPH022747A (en) Withdrawal frame recognition device
JPH1168874A (en) Analytic system for transmission information
JPH08179816A (en) Distributed control system
JPH1165909A (en) Distributed processing system
KR20210131699A (en) Method and apparatus for managing control videio based on event information
JPS62135042A (en) Automatic recognition system for equipment address in data communication
JP2772713B2 (en) Fault-tolerant multiprocessor system
JP2001333138A (en) Protocol analyzer, trigger detector, recoding medium with trigger detection program recorded therein, and board
JPH0563756A (en) Communication protocol controller
JPH05197692A (en) System for storing inter-cpu communication data history
JP2002278917A (en) Image data transfer system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990831

LAPS Cancellation because of no payment of annual fees