JP2003143221A - Tcp/ip engine - Google Patents

Tcp/ip engine

Info

Publication number
JP2003143221A
JP2003143221A JP2001336689A JP2001336689A JP2003143221A JP 2003143221 A JP2003143221 A JP 2003143221A JP 2001336689 A JP2001336689 A JP 2001336689A JP 2001336689 A JP2001336689 A JP 2001336689A JP 2003143221 A JP2003143221 A JP 2003143221A
Authority
JP
Japan
Prior art keywords
transmission
unit
reception
data
application
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
JP2001336689A
Other languages
Japanese (ja)
Inventor
Shintaro Nagai
真太郎 長井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001336689A priority Critical patent/JP2003143221A/en
Publication of JP2003143221A publication Critical patent/JP2003143221A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a protocol stack by hardware that executes protocol processing for real time communication of application data in a connection state of the TCP/IP communication in a state independently of the operating system OS. SOLUTION: The TCP/IP engine of this invention is provided with a transmission buffer 102 that stores application data until the acknowledgement is finished in the connection state by the TCP/IP protocol processing, a transmission band management section 104 that informs of a transmission data quantity by each unit time on the basis of a set transmission band and a transmission control section 105 that instructs transmission of the application data included in the quantity of transmission data at a concerned time among the application data prepared in the transmission buffer 102 on the basis of the acknowledgement informed by the receiver side and the window size and analyzes a received frame to as to make the acknowledgement of the application data, and the engine executes the TCP/IP protocol processing independently of the OS.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、TCP/IPプロ
トコルにより、映像等のリアルタイムデータの通信を行
うTCP/IPエンジンに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a TCP / IP engine that communicates real-time data such as video by the TCP / IP protocol.

【0002】[0002]

【従来の技術】従来、TCP/IPプロトコルによるデ
ータ通信は、CPUが処理するソフトウェアのプロトコ
ルスタックとMAC層のパケット通信処理を行うハード
ウェアのネットワークインタフェースにより実現されて
いる。
2. Description of the Related Art Conventionally, data communication by the TCP / IP protocol has been realized by a protocol stack of software processed by a CPU and a network interface of hardware for packet communication processing of the MAC layer.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
TCP/IP通信においては、プロトコル処理をOS制
御下のソフトウェア処理が実行するため、他の優先処理
の実行に阻害され、接続状態中のアプリケーションデー
タの通信がリアルタイム性を保証できないという問題が
あった。
However, in the conventional TCP / IP communication, the software processing under the control of the OS executes the protocol processing, so that the execution of other priority processing is hindered and the application data in the connected state is disturbed. There was a problem that real-time communication could not be guaranteed.

【0004】本発明はこのような問題を解決するために
なされたもので、接続状態におけるアプリケーションデ
ータの通信のためのプロトコル処理を、OSの制御とは
独立した状態で実行できるハードウェアによるプロトコ
ルスタックを提供するものである。
The present invention has been made to solve such a problem, and is a hardware protocol stack capable of executing protocol processing for communication of application data in a connected state in a state independent of control of the OS. Is provided.

【0005】[0005]

【課題を解決するための手段】本発明の送信TCP/I
Pエンジンは、TCP/IPプロトコル処理における接
続状態において、アプリケーションデータを入力するア
プリCPUインタフェースと、このアプリCPUインタ
フェースが入力したアプリケーションデータを送達確認
が完了するまで保持する送信バッファと、一定時間間隔
を生成するタイマと、あらかじめ設定された送信帯域に
基づいて前記タイマに生成された単位時間ごとに送信デ
ータ量を通知する送信帯域管理部と、受信側から通知さ
れた送達確認とウインドウサイズに基づき、前記送信バ
ッファ内に用意されたアプリケーションデータのうち、
当該時刻における送信データ量に含まれるアプリケーシ
ョンデータの送信を指示する送信制御部と、前記送信バ
ッファからアプリケーションデータを入力し、前記送信
制御部の制御に従ってTCP/IPのフレームを生成す
る送信フレーム生成部と、アプリケーションデータの通
信以外の送信データを入力する送信CPUインタフェー
スと、前記送信フレーム生成部が生成した送信フレーム
と、前記送信CPUインタフェースが入力した送信デー
タとを入力し、アプリケーションデータの送信を優先す
るよう調停する送信調停部と、この送信調停部からのパ
ケットの送信要求を実行するネットワークに接続された
MAC送信部と、前記ネットワークからのパケットの受
信を実行するMAC受信部と、このMAC受信部が受信
した受信フレームを解析してアプリケーションデータの
送達確認と他のデータとを分離し、前記送達確認を前記
送信制御部に通知する受信解析部と、この受信解析部か
ら前記他のデータを入力する受信CPUインタフェース
とを備えたことを特徴とした構成を有している。
Transmission TCP / I of the present invention
In the connection state in the TCP / IP protocol processing, the P engine has an application CPU interface for inputting application data, a transmission buffer for holding application data input by the application CPU interface until delivery confirmation is completed, and a fixed time interval. A timer to generate, a transmission band management unit that notifies the amount of transmission data for each unit time generated in the timer based on a preset transmission band, and based on the delivery confirmation and the window size notified from the receiving side, Of the application data prepared in the transmission buffer,
A transmission control unit that instructs transmission of application data included in the transmission data amount at the time, and a transmission frame generation unit that inputs the application data from the transmission buffer and generates a TCP / IP frame under the control of the transmission control unit. And a transmission CPU interface for inputting transmission data other than communication of application data, a transmission frame generated by the transmission frame generation unit, and transmission data input by the transmission CPU interface, and transmission of application data is prioritized. A transmission arbitration unit that arbitrates so as to perform, a MAC transmission unit connected to a network that executes a packet transmission request from the transmission arbitration unit, a MAC reception unit that executes reception of a packet from the network, and a MAC reception unit Received frame received by the department A reception analysis unit that analyzes the delivery confirmation of the application data and other data and notifies the transmission confirmation to the transmission control unit, and a reception CPU interface that inputs the other data from the reception analysis unit. It has a configuration characterized by being provided.

【0006】この構成により、接続状態におけるアプリ
ケーションデータの送信のためのプロトコル処理を、O
S制御下のソフトウェア処理とは独立した形で実行で
き、よりリアルタイム性の高い送信ができることとな
る。
With this configuration, the protocol processing for transmitting application data in the connected state is
It can be executed independently of the software processing under the S control, and the transmission can be performed in higher real time.

【0007】また、本発明の送信TCP/IPエンジン
は、TCP/IPプロトコル処理における接続状態にお
いて、あらかじめ設定されたアプリケーションデータの
格納位置から、送信帯域管理部の指示に基づいてDMA
によりアプリケーションデータを必要量のみ入力するア
プリDMAインタフェースと、このアプリDMAインタ
フェースが入力したアプリケーションデータを送達確認
が完了するまで保持する送信バッファと、一定時間間隔
を生成するタイマと、あらかじめ設定された送信帯域に
基づいて前記タイマに生成された単位時間ごとに送信デ
ータ量を通知する送信帯域管理部と、受信側から通知さ
れた送達確認とウインドウサイズに基づき、前記送信バ
ッファ内に用意されたアプリケーションデータのうち、
当該時刻における送信データ量に含まれるアプリケーシ
ョンデータの送信を指示する送信制御部と、前記送信バ
ッファからアプリケーションデータを入力し、前記送信
制御部の制御に従ってTCP/IPのフレームを生成す
る送信フレーム生成部と、アプリケーションデータの通
信以外の送信データを入力する送信CPUインタフェー
スと、前記送信フレーム生成部が生成した送信フレーム
と、前記送信CPUインタフェースが入力した送信デー
タとを入力し、アプリケーションデータの送信を優先す
るよう調停する送信調停部と、この送信調停部からのパ
ケットの送信要求を実行するネットワークに接続された
MAC送信部と、前記ネットワークからのパケットの受
信を実行するMAC受信部と、このMAC受信部が受信
した受信フレームを解析してアプリケーションデータの
送達確認と他のデータとを分離し、前記送達確認を前記
送信制御部に通知する受信解析部と、この受信解析部か
ら前記他のデータを入力する受信CPUインタフェース
とを備えたことを特徴とした構成を有している。
Further, the transmission TCP / IP engine of the present invention, in the connection state in the TCP / IP protocol processing, performs DMA from a preset storage location of application data based on an instruction from the transmission band management section.
, An application DMA interface that inputs only the required amount of application data, a transmission buffer that holds the application data input by this application DMA interface until the delivery confirmation is completed, a timer that generates a fixed time interval, and a preset transmission. A transmission band management unit that notifies the transmission data amount for each unit time generated in the timer based on the band, and application data prepared in the transmission buffer based on the delivery confirmation and the window size notified from the receiving side. Out of
A transmission control unit that instructs transmission of application data included in the transmission data amount at the time, and a transmission frame generation unit that inputs the application data from the transmission buffer and generates a TCP / IP frame under the control of the transmission control unit. And a transmission CPU interface for inputting transmission data other than communication of application data, a transmission frame generated by the transmission frame generation unit, and transmission data input by the transmission CPU interface, and transmission of application data is prioritized. A transmission arbitration unit that arbitrates so as to perform, a MAC transmission unit connected to a network that executes a packet transmission request from the transmission arbitration unit, a MAC reception unit that executes reception of a packet from the network, and a MAC reception unit Received frame received by the department A reception analysis unit that analyzes the delivery confirmation of the application data and other data and notifies the transmission confirmation to the transmission control unit, and a reception CPU interface that inputs the other data from the reception analysis unit. It has a configuration characterized by being provided.

【0008】この構成により、接続状態におけるアプリ
ケーションデータの入力処理に関しても、OS制御下の
ソフトウェア処理とは独立した形で実行でき、よりリア
ルタイム性の高い送信ができることとなる。
With this configuration, the application data input processing in the connected state can be executed independently of the software processing under the control of the OS, and the transmission can be performed in a higher real time.

【0009】また、本発明の送信TCP/IPエンジン
は、前記アプリDMAインタフェースに、あらかじめ設
定されたブロックサイズのデータを、一定サイズのブロ
ックデータによりデータを取り扱うブロックデバイスよ
り、前記送信帯域管理部の指示に基づいてブロック単位
で必要量分読み出すブロック読出部を備えたことを特徴
とした構成を有している。
Further, the transmission TCP / IP engine of the present invention comprises: a block device which handles data of a preset block size in the application DMA interface, the block device handling the data with a block data of a fixed size; The configuration is characterized in that a block reading unit for reading a required amount in block units based on an instruction is provided.

【0010】この構成により、接続状態におけるブロッ
クデバイスからのアプリケーションデータの入力処理に
関して、OS制御下のソフトウェア処理とは独立した形
で実行でき、よりリアルタイム性の高い送信ができるこ
ととなる。
With this configuration, the input processing of application data from the block device in the connected state can be executed independently of the software processing under the control of the OS, and the transmission can be performed with higher real time.

【0011】さらに、本発明の受信TCP/IPエンジ
ンは、TCP/IPプロトコル処理における接続状態に
おいて、ネットワークに接続しフレームの受信処理を実
行するMAC受信部と、このMAC受信部が受信した受
信フレームを解析してアプリケーションデータと他のデ
ータとに分離する受信解析部と、この受信解析部から前
記他のデータを入力する受信CPUインタフェースと、
一定時間間隔を生成するタイマと、あらかじめ設定され
た受信帯域に基づいて前記タイマに生成された単位時間
ごとに受信可能なデータ量を通知する受信帯域管理部
と、CPUにアプリケーションを受け渡すアプリCPU
インタフェースと、このアプリCPUインタフェースを
介してCPU側のアプリケーションが受け取るまでアプ
リケーションデータを保持する受信バッファと、前記受
信帯域管理部に管理され、前記受信解析部から前記アプ
リケーションデータを入力し、前記受信バッファへ転送
するとともに、送達確認の実行を指示する受信制御部
と、この受信制御部の指示に基づき送達確認のフレーム
を生成する確認フレーム生成部と、アプリケーションデ
ータの通信以外の送信データを入力する送信CPUイン
タフェースと、前記確認フレーム生成部が生成した送達
確認のフレームと前記送信CPUインタフェースが入力
した送信データとを入力し、アプリケーションデータの
送信を優先するよう調停する送信調停部と、この送信調
停部からのパケットの送信要求を実行するネットワーク
に接続されたMAC送信部とを備えたことを特徴とした
構成を有している。
Further, the reception TCP / IP engine of the present invention is such that, in the connection state in the TCP / IP protocol processing, the MAC reception section which connects to the network and executes the frame reception processing, and the reception frame received by the MAC reception section. A reception analysis unit that analyzes the data and separates it into application data and other data; and a reception CPU interface that inputs the other data from the reception analysis unit,
A timer that generates a fixed time interval, a reception band management unit that notifies the amount of data that can be received per unit time generated by the timer based on a preset reception band, and an application CPU that transfers an application to the CPU
An interface, a reception buffer that holds application data until an application on the CPU side receives the application data through the application CPU interface, and the reception buffer that is managed by the reception band management unit and that receives the application data from the reception analysis unit. To the transmission control unit, which sends a transfer confirmation to the reception control unit for instructing execution of delivery confirmation, a confirmation frame generation unit for generating a delivery confirmation frame based on the instruction of the reception control unit, and transmission data other than communication of application data A CPU interface, a transmission arbitration unit that inputs a frame of delivery confirmation generated by the confirmation frame generation unit and transmission data input by the transmission CPU interface, and arbitrates to prioritize transmission of application data, and the transmission arbitration unit. Packets from It has a configuration in which characterized in that a MAC transmission unit connected to a network to execute the transmission request.

【0012】この構成により、接続状態におけるアプリ
ケーションデータの受信のためのプロトコル処理を、O
S制御下のソフトウェア処理とは独立した形で実行で
き、よりリアルタイム性の高い受信ができることとな
る。
With this configuration, the protocol processing for receiving the application data in the connected state is
This can be executed independently of the software processing under the S control, and reception with higher real-time property can be performed.

【0013】また、本発明の受信TCP/IPエンジン
は、TCP/IPプロトコル処理における接続状態にお
いて、ネットワークに接続しフレームの受信処理を実行
するMAC受信部と、このMAC受信部が受信した受信
フレームを解析してアプリケーションデータと他のデー
タとに分離する受信解析部と、この受信解析部から前記
他のデータを入力する受信CPUインタフェースと、一
定時間間隔を生成するタイマと、あらかじめ設定された
受信帯域に基づいて前記タイマに生成された単位時間ご
とに受信可能なデータ量を通知する受信帯域管理部と、
あらかじめ設定されたアプリケーションデータの格納位
置へ、前記受信帯域管理部の指示に基づいてDMAによ
りアプリケーションデータを必要量のみ出力するアプリ
DMAインタフェースと、このアプリDMAインタフェ
ースを介してCPU側のアプリケーションが受け取るま
でアプリケーションデータを保持する受信バッファと、
前記受信帯域管理部に管理され、前記受信解析部から前
記アプリケーションデータを入力し、前記受信バッファ
へ転送するとともに、送達確認の実行を指示する受信制
御部と、この受信制御部の指示に基づき送達確認のフレ
ームを生成する確認フレーム生成部と、アプリケーショ
ンデータの通信以外の送信データを入力する送信CPU
インタフェースと、前記確認フレーム生成部が生成した
送達確認のフレームと前記送信CPUインタフェースが
入力した送信データとを入力し、アプリケーションデー
タの送信を優先するよう調停する送信調停部と、この送
信調停部からのパケットの送信要求を実行するネットワ
ークに接続されたMAC送信部とを備えたことを特徴と
した構成を有している。
Further, the receiving TCP / IP engine of the present invention includes a MAC receiving unit that connects to a network and executes a frame receiving process in a connection state in the TCP / IP protocol process, and a received frame received by the MAC receiving unit. A reception analysis unit that analyzes the received data and separates it into application data and other data, a reception CPU interface that inputs the other data from the reception analysis unit, a timer that generates a fixed time interval, and a preset reception A reception band management unit that notifies the amount of data that can be received per unit time generated in the timer based on the band,
An application DMA interface that outputs only a required amount of application data by DMA to a preset storage location of application data based on an instruction from the reception band management unit, and until an application on the CPU side receives the application DMA interface via this application DMA interface. A receive buffer that holds application data,
Controlled by the reception band management unit, the application data is input from the reception analysis unit, transferred to the reception buffer, and a reception control unit instructing execution of delivery confirmation, and delivery based on the instruction of the reception control unit A confirmation frame generation unit that generates a confirmation frame, and a transmission CPU that inputs transmission data other than communication of application data
An interface, a transmission arbitration unit that inputs the frame of the delivery confirmation generated by the confirmation frame generation unit and the transmission data input by the transmission CPU interface, and arbitrates to prioritize the transmission of application data, and from this transmission arbitration unit And a MAC transmitting unit connected to a network for executing the packet transmission request.

【0014】この構成により、接続状態におけるアプリ
ケーションデータの出力処理に関しても、OS制御下の
ソフトウェア処理とは独立した形で実行でき、よりリア
ルタイム性の高い受信ができることとなる。
With this configuration, output processing of application data in the connected state can be executed independently of software processing under OS control, and reception with higher real-time property can be performed.

【0015】また、本発明の受信TCP/IPエンジン
は、前記アプリDMAインタフェースに、あらかじめ設
定されたブロックサイズのデータを、一定サイズのブロ
ックデータによりデータを取り扱うブロックデバイス
へ、前記受信帯域管理部の指示に基づいてブロック単位
で必要量分書き込むブロック書込部を備えたことを特徴
とした構成を有している。
Further, the reception TCP / IP engine of the present invention is configured such that data of a preset block size in the application DMA interface is transferred to a block device which handles the data with block data of a fixed size, and It has a configuration characterized by including a block writing unit for writing a required amount in block units based on an instruction.

【0016】この構成により、接続状態におけるブロッ
クデバイスへのアプリケーションデータの出力処理に関
して、OS制御下のソフトウェア処理とは独立した形で
実行でき、よりリアルタイム性の高い受信ができること
となる。
With this configuration, the output processing of the application data to the block device in the connected state can be executed independently of the software processing under the control of the OS, and the reception with higher real-time property can be performed.

【0017】さらに、本発明のTCP/IPエンジン
は、前記送信TCP/IPエンジンと、前記受信TCP
/IPエンジンとを備え、前記送信TCP/IPエンジ
ンのタイマに、一定間隔で送信側の持つタイミングを受
信側へ通知するためのタイミングフレームを、前記送信
調停部にて最優先で送信が調停されるよう送信要求を行
うタイミングフレーム生成部と、前記受信TCP/IP
エンジンのタイマに、前記受信解析部にて分離された前
記タイミングフレームの到着間隔から送信側のタイマの
速度を算出し、前記タイマの進み具合に調整を行うタイ
マ調整部とを備えたことを特徴とした構成を有してい
る。
Further, the TCP / IP engine of the present invention includes the transmission TCP / IP engine and the reception TCP.
/ IP engine, and the transmission arbitration unit arbitrates the transmission of a timing frame for notifying the timing of the transmission side to the reception side at regular intervals to the timer of the transmission TCP / IP engine by the transmission arbitration unit. And a reception TCP / IP
The engine timer is provided with a timer adjustment unit that calculates the speed of the timer on the transmission side from the arrival intervals of the timing frames separated by the reception analysis unit and adjusts the progress of the timer. It has a configuration.

【0018】この構成により、受信TCP/IPエンジ
ンのタイマを送信TCP/IPエンジンのタイマに同期
させることができ、特別なデータフロー制御を必要とし
ないよりリアルタイム性の高い通信ができることとな
る。
With this configuration, the timer of the reception TCP / IP engine can be synchronized with the timer of the transmission TCP / IP engine, and communication with higher real time can be performed without requiring special data flow control.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0020】本発明の第1の実施の形態の送信TCP/
IPエンジンを図1に示す。
Transmission TCP / of the first embodiment of the present invention
The IP engine is shown in FIG.

【0021】図1に示すように、本実施の形態の送信T
CP/IPエンジンは、TCP/IPプロトコル処理に
おける接続状態において、アプリケーションデータを入
力するアプリCPUインタフェース101を、アプリケ
ーションデータを送達確認が完了するまで保持する送信
バッファ102に接続する。また、一定時間間隔を生成
するタイマ103を、あらかじめ設定された送信帯域に
基づいて単位時間ごとに送信データ量を通知する送信帯
域管理部104に接続する。さらに、送信バッファ10
2と送信帯域管理部104とを、受信側から通知された
送達確認とウインドウサイズに基づき、送信バッファ1
02内に用意されたアプリケーションデータのうち、当
該時刻において送信データ量に含まれているアプリケー
ションデータの送信を指示する送信制御部105に接続
する。
As shown in FIG. 1, the transmission T according to the present embodiment.
In the connection state in the TCP / IP protocol processing, the CP / IP engine connects the application CPU interface 101 that inputs application data to the transmission buffer 102 that holds the application data until the delivery confirmation is completed. Also, the timer 103 that generates a fixed time interval is connected to the transmission band management unit 104 that notifies the amount of transmission data for each unit time based on a preset transmission band. Further, the transmission buffer 10
2 and the transmission bandwidth management unit 104 based on the delivery confirmation and the window size notified from the receiving side.
Of the application data prepared in 02, it is connected to the transmission control unit 105 that instructs the transmission of the application data included in the transmission data amount at the time.

【0022】次に、送信制御部105と送信バッファ1
02とを、アプリケーションデータを含むTCP/IP
のフレームを生成する送信フレーム生成部106に接続
する。次に、送信フレーム生成部106と、アプリケー
ションデータの通信以外の送信データを入力する送信C
PUインタフェース107とを、アプリケーションデー
タの送信を優先するよう調停する送信調停部108に接
続する。次に、送信調停部108を、送信調停部108
からのパケットの送信要求を実行するMAC送信部10
9に接続し、MAC送信部109をネットワーク300
に接続する。
Next, the transmission controller 105 and the transmission buffer 1
02 and TCP / IP including application data
Is connected to the transmission frame generation unit 106 that generates the frame. Next, the transmission frame generator 106 and a transmission C for inputting transmission data other than communication of application data
The PU interface 107 is connected to the transmission arbitration unit 108 that arbitrates to prioritize transmission of application data. Next, the transmission arbitration unit 108
MAC transmitter 10 for executing a packet transmission request from the
9 to connect the MAC transmission unit 109 to the network 300.
Connect to.

【0023】さらに、ネットワーク300に接続し、ネ
ットワーク300からのパケットの受信を実行するMA
C受信部110を、受信解析部111に接続する。ま
た、受信解析部111は、受信フレームを解析してアプ
リケーションデータの送達確認とそれ以外を分離し、送
達確認を送信制御部105に通知し、それ以外を受信C
PUインタフェース112に通知するものである。
Further, the MA connecting to the network 300 and receiving packets from the network 300.
The C reception unit 110 is connected to the reception analysis unit 111. Further, the reception analysis unit 111 analyzes the received frame to separate the delivery confirmation of the application data and other portions, notifies the transmission confirmation to the transmission control unit 105, and receives the rest.
The PU interface 112 is notified.

【0024】この構成により、接続状態におけるアプリ
ケーションデータの送信のためのプロトコル処理を、O
S制御下のソフトウェア処理とは独立した形で実行で
き、よりリアルタイム性の高い送信が可能となる。
With this configuration, the protocol processing for transmitting application data in the connected state is
It can be executed in a form independent of the software processing under the S control, and it becomes possible to perform transmission in higher real time.

【0025】つぎに、本発明の第2の実施の形態の送信
TCP/IPエンジンを図2に示す。
Next, FIG. 2 shows a transmission TCP / IP engine according to a second embodiment of the present invention.

【0026】図2に示すように、本実施の形態の送信T
CP/IPエンジンは、第1の実施の形態におけるアプ
リCPUインタフェース101のかわりに、あらかじめ
設定されたアプリケーションデータの格納位置から、送
信帯域管理部104の指示に基づいてDMAによりアプ
リケーションデータを必要量のみ入力するアプリDMA
インタフェース113を接続した構成を有している。
As shown in FIG. 2, the transmission T according to the present embodiment.
Instead of the application CPU interface 101 in the first embodiment, the CP / IP engine uses a preset storage location of application data to DMA only the required amount of application data based on an instruction from the transmission band management unit 104. App DMA to enter
The interface 113 is connected.

【0027】この構成により、接続状態におけるアプリ
ケーションデータの入力処理に関しても、OS制御下の
ソフトウェア処理とは独立した形で実行でき、よりリア
ルタイム性の高い送信が可能となる。
With this configuration, the input process of application data in the connected state can be executed independently of the software process under the OS control, and the transmission can be performed with higher real time.

【0028】つぎに、本発明の第3の実施の形態の送信
TCP/IPエンジンを図3に示す。
Next, FIG. 3 shows a transmission TCP / IP engine according to a third embodiment of the present invention.

【0029】図3に示すように、本実施の形態の送信T
CP/IPエンジンは、第2の実施の形態におけるアプ
リDMAインタフェース113に、あらかじめ設定され
たブロックサイズのデータを、ハードディスク等の一定
サイズのブロックデータによりデータを取り扱うブロッ
クデバイスより、送信帯域管理部104の指示に基づい
てブロック単位で必要量分読み出すブロック読出部11
4を接続した構成を有している。
As shown in FIG. 3, the transmission T of this embodiment is performed.
The CP / IP engine uses the application DMA interface 113 according to the second embodiment to transmit the data of a preset block size to a transmission band management unit 104 from a block device such as a hard disk which handles the data with a certain size of block data. Block reading unit 11 that reads a required amount in block units based on the instruction of
4 is connected.

【0030】この構成により、接続状態におけるブロッ
クデバイスからのアプリケーションデータの入力処理に
関して、OS制御下のソフトウェア処理とは独立した形
で実行でき、よりリアルタイム性の高い送信が可能とな
る。
With this configuration, the input processing of the application data from the block device in the connected state can be executed independently of the software processing under the control of the OS, and the transmission with higher real-time property becomes possible.

【0031】つぎに、本発明の第4の実施の形態の受信
TCP/IPエンジンを図4に示す。
Next, FIG. 4 shows a receiving TCP / IP engine according to the fourth embodiment of the present invention.

【0032】図4に示すように、本実施の形態の受信T
CP/IPエンジンは、TCP/IPプロトコル処理に
おける接続状態において、ネットワーク300に接続
し、フレームの受信処理を実行するMAC受信部201
を、受信解析部202に接続する。受信解析部202
は、MAC受信部201から受信フレームを受け取り、
受信フレームを解析してアプリケーションデータとそれ
以外を分離し、アプリケーションデータを受信制御部2
06に通知し、それ以外を受信CPUインタフェース2
03に通知する。
As shown in FIG. 4, the reception T of this embodiment is
The CP / IP engine is connected to the network 300 in the connection state in the TCP / IP protocol processing and executes the frame reception processing by the MAC reception unit 201.
To the reception analysis unit 202. Reception analysis unit 202
Receives a received frame from the MAC receiving unit 201,
The received frame is analyzed to separate the application data from the others, and the application data is received by the reception control unit 2
Notify 06, and receive other than that CPU interface 2
03 is notified.

【0033】次に、一定時間間隔を生成するタイマ20
4を、あらかじめ設定された受信帯域に基づいて単位時
間ごとに受信可能なデータ量を通知する受信帯域管理部
205に接続する。次に、受信解析部202と受信帯域
管理部205とを、受信制御部206に接続し、受信制
御部206は、受信解析部202から通知されたアプリ
ケーションデータを受信バッファ207へ転送するとと
もに、送達確認の実行を確認フレーム生成部209に指
示する。また、受信バッファ207は、アプリCPUイ
ンタフェース208に接続し、アプリCPUインタフェ
ース208を介してCPU側のアプリケーションが受け
取るまでアプリケーションデータを保持するものであ
る。
Next, a timer 20 for generating a fixed time interval
4 is connected to the reception band management unit 205 that notifies the amount of data that can be received per unit time based on the reception band set in advance. Next, the reception analysis unit 202 and the reception band management unit 205 are connected to the reception control unit 206, and the reception control unit 206 transfers the application data notified from the reception analysis unit 202 to the reception buffer 207 and sends it. The confirmation frame generation unit 209 is instructed to execute confirmation. Further, the reception buffer 207 is connected to the application CPU interface 208 and holds application data until the application on the CPU side receives the application data via the application CPU interface 208.

【0034】次に、受信制御部206からの指示に基づ
き送達確認のフレームを生成する確認フレーム生成部2
09と、アプリケーションデータの通信以外の送信デー
タを入力する送信CPUインタフェース210とを、ア
プリケーションデータの送信を優先するよう調停する送
信調停部211に接続する。さらに、送信調停部211
を、送信調停部211からのパケットの送信要求を実行
するMAC送信部212に接続し、MAC送信部212
をネットワーク300に接続した構成を有している。
Next, a confirmation frame generator 2 for generating a frame for confirmation of delivery based on an instruction from the reception controller 206.
09 and a transmission CPU interface 210 for inputting transmission data other than communication of application data are connected to a transmission arbitration unit 211 that arbitrates to prioritize transmission of application data. Further, the transmission arbitration unit 211
Is connected to the MAC transmission unit 212 that executes the packet transmission request from the transmission arbitration unit 211, and the MAC transmission unit 212
Is connected to the network 300.

【0035】この構成により、接続状態におけるアプリ
ケーションデータの受信のためのプロトコル処理を、O
S制御下のソフトウェア処理とは独立した形で実行で
き、よりリアルタイム性の高い受信が可能となる。
With this configuration, the protocol processing for receiving the application data in the connected state is
It can be executed independently of the software processing under S control, and reception with higher real-time property becomes possible.

【0036】つぎに、本発明の第5の実施の形態の受信
TCP/IPエンジンを図5に示す。
Next, FIG. 5 shows a receiving TCP / IP engine according to the fifth embodiment of the present invention.

【0037】図5に示すように、本実施の形態の受信T
CP/IPエンジンは、第4の実施の形態におけるアプ
リCPUインタフェース208のかわりに、あらかじめ
設定されたアプリケーションデータの格納位置へ、受信
帯域管理部205の指示に基づいてDMAによりアプリ
ケーションデータを必要量のみ出力するアプリDMAイ
ンタフェース213を接続した構成を有している。
As shown in FIG. 5, the reception T of this embodiment is
The CP / IP engine, instead of the application CPU interface 208 in the fourth embodiment, stores only a required amount of application data in a preset storage location of application data by DMA based on an instruction from the reception bandwidth management unit 205. It has a configuration in which an output application DMA interface 213 is connected.

【0038】この構成により、接続状態におけるアプリ
ケーションデータの出力処理に関しても、OS制御下の
ソフトウェア処理とは独立した形で実行でき、よりリア
ルタイム性の高い受信が可能となる。
With this configuration, the output processing of application data in the connected state can be executed independently of the software processing under the control of the OS, and reception with higher real-time property can be performed.

【0039】つぎに、本発明の第6の実施の形態の受信
TCP/IPエンジンを図6に示す。
Next, FIG. 6 shows a receiving TCP / IP engine according to a sixth embodiment of the present invention.

【0040】図6に示すように、本実施の形態の受信T
CP/IPエンジンは、第5の実施の形態におけるアプ
リDMAインタフェース213に、あらかじめ設定され
たブロックサイズのデータを、ハードディスク等の一定
サイズのブロックデータによりデータを取り扱うブロッ
クデバイスへ、受信帯域管理部205の指示に基づいて
ブロック単位で必要量分書き込むブロック書込部214
を接続した構成を有している。
As shown in FIG. 6, the reception T of this embodiment is
The CP / IP engine uses the application DMA interface 213 according to the fifth embodiment to transfer data of a preset block size to a block device such as a hard disk that handles data with a fixed size of block data, and a reception band management unit 205. Block writing unit 214 that writes a necessary amount in block units based on the instruction of
Is connected.

【0041】この構成により、接続状態におけるブロッ
クデバイスへのアプリケーションデータの出力処理に関
して、OS制御下のソフトウェア処理とは独立した形で
実行でき、よりリアルタイム性の高い受信が可能とな
る。
With this configuration, the output process of the application data to the block device in the connected state can be executed independently of the software process under the control of the OS, and the reception with higher real-time property can be performed.

【0042】つぎに、本発明の第7の実施の形態のTC
P/IPエンジンについて、送信側を図7に、受信側を
図8に示す。
Next, the TC according to the seventh embodiment of the present invention
Regarding the P / IP engine, the transmitting side is shown in FIG. 7 and the receiving side is shown in FIG.

【0043】図7に示すように、本実施の形態の送信T
CP/IPエンジンは、第1の実施の形態における送信
TCP/IPエンジンのタイマ103に、一定間隔で送
信側の持つタイミングを受信側へ通知するためのタイミ
ングフレームを、送信調停部108にて最優先で送信が
調停されるよう送信要求を行うタイミングフレーム生成
部115を接続した構成を有している。
As shown in FIG. 7, the transmission T of this embodiment is performed.
In the transmission arbitration unit 108, the CP / IP engine uses the transmission arbitration unit 108 to generate a timing frame for notifying the reception side of the timing of the transmission side at regular intervals to the timer 103 of the transmission TCP / IP engine in the first embodiment. It has a configuration in which a timing frame generation unit 115 for making a transmission request is connected so that transmission is arbitrated with priority.

【0044】また、図8に示すように、本実施の形態の
受信TCP/IPエンジンは、第4の実施の形態におけ
る受信TCP/IPエンジンのタイマ204に、受信解
析部202にて分離された前記タイミングフレームの到
着間隔から送信側のタイマ103の速度を算出し、タイ
マ204の進み具合に調整をかけるタイマ調整部215
を接続した構成を有している。
Further, as shown in FIG. 8, the reception TCP / IP engine of the present embodiment is separated by the reception analysis unit 202 into the timer 204 of the reception TCP / IP engine of the fourth embodiment. A timer adjusting unit 215 that calculates the speed of the timer 103 on the transmitting side from the arrival interval of the timing frame and adjusts the progress of the timer 204.
Is connected.

【0045】この構成により、受信TCP/IPエンジ
ンのタイマ204を送信TCP/IPエンジンのタイマ
103に同期させることができ、特別なデータフロー制
御を必要としない、よりリアルタイム性の高い通信が可
能となる。
With this configuration, the timer 204 of the reception TCP / IP engine can be synchronized with the timer 103 of the transmission TCP / IP engine, and communication with higher real time is possible without requiring special data flow control. Become.

【0046】なお、上記TCP/IPエンジンは、第2
または第3の実施の形態の送信TCP/IPエンジン、
および、第5または第6の実施の形態の受信TCP/I
Pエンジンに対しても適用可能である。
The above TCP / IP engine is the second
Alternatively, the transmission TCP / IP engine of the third embodiment,
And reception TCP / I according to the fifth or sixth embodiment
It is also applicable to the P engine.

【0047】[0047]

【発明の効果】以上説明したように、本発明は接続状態
におけるアプリケーションデータの送受信のためのプロ
トコル処理を、OS制御下のソフトウェア処理とは独立
した形で実行でき、よりリアルタイム性の高い送受信が
できるというすぐれた効果を有するTCP/IPエンジ
ンを提供することができるものである。
As described above, according to the present invention, the protocol processing for transmitting / receiving the application data in the connected state can be executed independently of the software processing under the OS control, and the transmission / reception with higher real-time property can be performed. It is possible to provide a TCP / IP engine having an excellent effect.

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

【図1】本発明の第1の実施の形態における送信TCP
/IPエンジンを示すブロック図
FIG. 1 is a transmission TCP according to a first embodiment of this invention.
/ IP engine block diagram

【図2】本発明の第2の実施の形態における送信TCP
/IPエンジンを示すブロック図
FIG. 2 is a transmission TCP according to the second embodiment of the present invention.
/ IP engine block diagram

【図3】本発明の第3の実施の形態における送信TCP
/IPエンジンを示すブロック図
FIG. 3 is a transmission TCP according to the third embodiment of the present invention.
/ IP engine block diagram

【図4】本発明の第4の実施の形態における受信TCP
/IPエンジンを示すブロック図
FIG. 4 is a reception TCP according to the fourth embodiment of the present invention.
/ IP engine block diagram

【図5】本発明の第5の実施の形態における受信TCP
/IPエンジンを示すブロック図
FIG. 5 is a reception TCP according to the fifth embodiment of the present invention.
/ IP engine block diagram

【図6】本発明の第6の実施の形態における受信TCP
/IPエンジンを示すブロック図
FIG. 6 is a reception TCP according to the sixth embodiment of the present invention.
/ IP engine block diagram

【図7】本発明の第7の実施の形態における送信TCP
/IPエンジンを示すブロック図
FIG. 7 is a transmission TCP according to the seventh embodiment of the present invention.
/ IP engine block diagram

【図8】本発明の第7の実施の形態における受信TCP
/IPエンジンを示すブロック図
FIG. 8 is a reception TCP according to the seventh embodiment of the present invention.
/ IP engine block diagram

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

101 アプリCPUインタフェース 102 送信バッファ 103 タイマ 104 送信帯域管理部 105 送信制御部 106 送信フレーム生成部 107 送信CPUインタフェース 108 送信調停部 109 MAC送信部 110 MAC受信部 111 受信解析部 112 受信CPUインタフェース 113 アプリDMAインタフェース 114 ブロック読出部 115 タイミングフレーム生成部 201 MAC受信部 202 受信解析部 203 受信CPUインタフェース 204 タイマ 205 受信帯域管理部 206 受信制御部 207 受信バッファ 208 アプリCPUインタフェース 209 確認フレーム生成部 210 送信CPUインタフェース 211 送信調停部 212 MAC送信部 213 アプリDMAインタフェース 214 ブロック書込部 215 タイマ調整部 300 ネットワーク 101 application CPU interface 102 send buffer 103 timer 104 transmission band management unit 105 transmission control unit 106 transmission frame generation unit 107 Transmission CPU interface 108 Transmission Arbitration Unit 109 MAC transmitter 110 MAC receiver 111 Reception analysis unit 112 Receiving CPU interface 113 app DMA interface 114 block reading unit 115 Timing frame generator 201 MAC receiver 202 Reception analysis unit 203 Receiving CPU interface 204 timer 205 reception band management unit 206 reception control unit 207 Receive buffer 208 Application CPU interface 209 Confirmation frame generation unit 210 Transmission CPU interface 211 Transmission Arbitration Unit 212 MAC transmitter 213 application DMA interface 214 block writing unit 215 Timer adjustment unit 300 networks

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 TCP/IPプロトコル処理における接
続状態において、アプリケーションデータを入力するア
プリCPUインタフェースと、 このアプリCPUインタフェースが入力したアプリケー
ションデータを送達確認が完了するまで保持する送信バ
ッファと、 一定時間間隔を生成するタイマと、 あらかじめ設定された送信帯域に基づいて前記タイマに
生成された単位時間ごとに送信データ量を通知する送信
帯域管理部と、 受信側から通知された送達確認とウインドウサイズに基
づき、前記送信バッファ内に用意されたアプリケーショ
ンデータのうち、当該時刻における送信データ量に含ま
れるアプリケーションデータの送信を指示する送信制御
部と、 前記送信バッファからアプリケーションデータを入力
し、前記送信制御部の制御に従ってTCP/IPのフレ
ームを生成する送信フレーム生成部と、 アプリケーションデータの通信以外の送信データを入力
する送信CPUインタフェースと、 前記送信フレーム生成部が生成した送信フレームと、前
記送信CPUインタフェースが入力した送信データとを
入力し、アプリケーションデータの送信を優先するよう
調停する送信調停部と、 この送信調停部からのパケットの送信要求を実行するネ
ットワークに接続されたMAC送信部と、 前記ネットワークからのパケットの受信を実行するMA
C受信部と、 このMAC受信部が受信した受信フレームを解析してア
プリケーションデータの送達確認と他のデータとを分離
し、前記送達確認を前記送信制御部に通知する受信解析
部と、 この受信解析部から前記他のデータを入力する受信CP
Uインタフェースとを備えたことを特徴とする送信TC
P/IPエンジン。
1. An application CPU interface for inputting application data in a connection state in TCP / IP protocol processing, a transmission buffer for holding application data input by the application CPU interface until delivery confirmation is completed, and a fixed time interval Based on the delivery confirmation and the window size notified from the receiving side, a timer that generates a transmission bandwidth management unit that notifies the transmission data amount for each unit time that is generated by the timer based on a preset transmission bandwidth. Of the application data prepared in the transmission buffer, a transmission control unit for instructing transmission of application data included in the transmission data amount at the time, and application data input from the transmission buffer, To control A transmission frame generation unit for generating a TCP / IP frame, a transmission CPU interface for inputting transmission data other than application data communication, a transmission frame generated by the transmission frame generation unit, and a transmission CPU interface for input The transmission arbitration unit for arbitrating so that the transmission of the application data is prioritized, the MAC transmission unit connected to the network for executing the packet transmission request from the transmission arbitration unit, and the transmission from the network. MA for executing packet reception
A C reception unit, a reception analysis unit that analyzes the reception frame received by the MAC reception unit, separates the delivery confirmation of application data from other data, and notifies the transmission control unit of the delivery confirmation. Reception CP for inputting the other data from the analysis unit
Transmission TC comprising U interface
P / IP engine.
【請求項2】 TCP/IPプロトコル処理における接
続状態において、あらかじめ設定されたアプリケーショ
ンデータの格納位置から、送信帯域管理部の指示に基づ
いてDMAによりアプリケーションデータを必要量のみ
入力するアプリDMAインタフェースと、 このアプリDMAインタフェースが入力したアプリケー
ションデータを送達確認が完了するまで保持する送信バ
ッファと、 一定時間間隔を生成するタイマと、 あらかじめ設定された送信帯域に基づいて前記タイマに
生成された単位時間ごとに送信データ量を通知する送信
帯域管理部と、 受信側から通知された送達確認とウインドウサイズに基
づき、前記送信バッファ内に用意されたアプリケーショ
ンデータのうち、当該時刻における送信データ量に含ま
れるアプリケーションデータの送信を指示する送信制御
部と、 前記送信バッファからアプリケーションデータを入力
し、前記送信制御部の制御に従ってTCP/IPのフレ
ームを生成する送信フレーム生成部と、 アプリケーションデータの通信以外の送信データを入力
する送信CPUインタフェースと、 前記送信フレーム生成部が生成した送信フレームと、前
記送信CPUインタフェースが入力した送信データとを
入力し、アプリケーションデータの送信を優先するよう
調停する送信調停部と、 この送信調停部からのパケットの送信要求を実行するネ
ットワークに接続されたMAC送信部と、 前記ネットワークからのパケットの受信を実行するMA
C受信部と、 このMAC受信部が受信した受信フレームを解析してア
プリケーションデータの送達確認と他のデータとを分離
し、前記送達確認を前記送信制御部に通知する受信解析
部と、 この受信解析部から前記他のデータを入力する受信CP
Uインタフェースとを備えたことを特徴とする送信TC
P/IPエンジン。
2. An application DMA interface for inputting only a required amount of application data by DMA from a preset storage location of application data in accordance with an instruction from a transmission band management unit in a connection state in TCP / IP protocol processing, A transmission buffer that holds the application data input by this application DMA interface until delivery confirmation is completed, a timer that generates a fixed time interval, and a unit time that is generated by the timer based on a preset transmission band. A transmission band management unit that notifies the transmission data amount, and an application included in the transmission data amount at the time among the application data prepared in the transmission buffer based on the delivery confirmation and the window size notified from the receiving side. A transmission control unit for instructing the transmission of data, a transmission frame generation unit for inputting application data from the transmission buffer and generating a TCP / IP frame under the control of the transmission control unit, and a transmission other than communication of application data A transmission CPU interface for inputting data, a transmission frame generated by the transmission frame generation unit, and transmission data input by the transmission CPU interface, and a transmission arbitration unit that arbitrates to prioritize transmission of application data, A MAC transmission unit connected to a network that executes a packet transmission request from the transmission arbitration unit, and an MA that executes reception of a packet from the network.
A C reception unit, a reception analysis unit that analyzes the reception frame received by the MAC reception unit, separates the delivery confirmation of application data from other data, and notifies the transmission control unit of the delivery confirmation. Reception CP for inputting the other data from the analysis unit
Transmission TC comprising U interface
P / IP engine.
【請求項3】 前記アプリDMAインタフェースに、あ
らかじめ設定されたブロックサイズのデータを、一定サ
イズのブロックデータによりデータを取り扱うブロック
デバイスより、前記送信帯域管理部の指示に基づいてブ
ロック単位で必要量分読み出すブロック読出部を備えた
ことを特徴とする請求項2記載の送信TCP/IPエン
ジン。
3. A predetermined amount of block size data, which is set in advance in the application DMA interface, is provided in block units based on an instruction from the transmission bandwidth management unit from a block device that handles the data with block data of a fixed size. The transmission TCP / IP engine according to claim 2, further comprising a block reading unit for reading.
【請求項4】 TCP/IPプロトコル処理における接
続状態において、ネットワークに接続しフレームの受信
処理を実行するMAC受信部と、 このMAC受信部が受信した受信フレームを解析してア
プリケーションデータと他のデータとに分離する受信解
析部と、 この受信解析部から前記他のデータを入力する受信CP
Uインタフェースと、 一定時間間隔を生成するタイマと、 あらかじめ設定された受信帯域に基づいて前記タイマに
生成された単位時間ごとに受信可能なデータ量を通知す
る受信帯域管理部と、 CPUにアプリケーションを受け渡すアプリCPUイン
タフェースと、 このアプリCPUインタフェースを介してCPU側のア
プリケーションが受け取るまでアプリケーションデータ
を保持する受信バッファと、 前記受信帯域管理部に管理され、前記受信解析部から前
記アプリケーションデータを入力し、前記受信バッファ
へ転送するとともに、送達確認の実行を指示する受信制
御部と、 この受信制御部の指示に基づき送達確認のフレームを生
成する確認フレーム生成部と、 アプリケーションデータの通信以外の送信データを入力
する送信CPUインタフェースと、 前記確認フレーム生成部が生成した送達確認のフレーム
と、前記送信CPUインタフェースが入力した送信デー
タとを入力し、アプリケーションデータの送信を優先す
るよう調停する送信調停部と、 この送信調停部からのパケットの送信要求を実行するネ
ットワークに接続されたMAC送信部とを備えたことを
特徴とする受信TCP/IPエンジン。
4. A MAC receiving unit that connects to a network and executes a frame receiving process in a connection state in TCP / IP protocol processing, and analyzes a received frame received by the MAC receiving unit to analyze application data and other data. And a reception CP that inputs the other data from the reception analysis unit.
U interface, a timer that generates a fixed time interval, a reception band management unit that notifies the amount of data that can be received per unit time generated by the timer based on a preset reception band, and an application to the CPU An application CPU interface to be handed over, a reception buffer for holding application data until an application on the CPU side receives the application data via the application CPU interface, and the reception band management unit manages the application data and inputs the application data from the reception analysis unit. , A reception control unit that transfers to the reception buffer and instructs execution of delivery confirmation, a confirmation frame generation unit that generates a delivery confirmation frame based on the instruction of the reception control unit, and transmission data other than communication of application data CPU to input An interface, a transmission confirmation frame generated by the confirmation frame generation unit, and transmission data input by the transmission CPU interface, and a transmission arbitration unit that arbitrates to prioritize transmission of application data, and a transmission arbitration unit. Receiving TCP / IP engine, which comprises a MAC transmitting unit connected to a network for executing a request to transmit a packet from.
【請求項5】 TCP/IPプロトコル処理における接
続状態において、ネットワークに接続しフレームの受信
処理を実行するMAC受信部と、 このMAC受信部が受信した受信フレームを解析してア
プリケーションデータと他のデータとに分離する受信解
析部と、 この受信解析部から前記他のデータを入力する受信CP
Uインタフェースと、 一定時間間隔を生成するタイマと、 あらかじめ設定された受信帯域に基づいて前記タイマに
生成された単位時間ごとに受信可能なデータ量を通知す
る受信帯域管理部と、 あらかじめ設定されたアプリケーションデータの格納位
置へ、前記受信帯域管理部の指示に基づいてDMAによ
りアプリケーションデータを必要量のみ出力するアプリ
DMAインタフェースと、 このアプリDMAインタフェースを介してCPU側のア
プリケーションが受け取るまでアプリケーションデータ
を保持する受信バッファと、 前記受信帯域管理部に管理され、前記受信解析部から前
記アプリケーションデータを入力し、前記受信バッファ
へ転送するとともに、送達確認の実行を指示する受信制
御部と、 この受信制御部の指示に基づき送達確認のフレームを生
成する確認フレーム生成部と、 アプリケーションデータの通信以外の送信データを入力
する送信CPUインタフェースと、 前記確認フレーム生成部が生成した送達確認のフレーム
と、前記送信CPUインタフェースが入力した送信デー
タとを入力し、アプリケーションデータの送信を優先す
るよう調停する送信調停部と、 この送信調停部からのパケットの送信要求を実行するネ
ットワークに接続されたMAC送信部とを備えたことを
特徴とする受信TCP/IPエンジン。
5. A MAC receiving unit that connects to a network and executes a frame receiving process in a connection state in TCP / IP protocol processing, and analyzes a received frame received by this MAC receiving unit to analyze application data and other data. And a reception CP that inputs the other data from the reception analysis unit.
A U interface, a timer that generates a fixed time interval, a reception band management unit that notifies the amount of data that can be received per unit time generated by the timer based on a preset reception band, and a preset An application DMA interface that outputs only a required amount of application data by DMA to a storage location of application data based on an instruction from the reception band management unit, and holds the application data until the application on the CPU side receives the application DMA interface via the application DMA interface. And a reception control unit that receives the application data from the reception analysis unit, transfers the data to the reception buffer, and instructs the execution of delivery confirmation, the reception buffer being managed by the reception bandwidth management unit. Delivery based on instructions A confirmation frame generation unit for generating a confirmation frame, a transmission CPU interface for inputting transmission data other than application data communication, a delivery confirmation frame generated by the confirmation frame generation unit, and a transmission input by the transmission CPU interface And a MAC transmission unit connected to the network for executing a packet transmission request from the transmission arbitration unit. Receiving TCP / IP engine.
【請求項6】 前記アプリDMAインタフェースに、あ
らかじめ設定されたブロックサイズのデータを、一定サ
イズのブロックデータによりデータを取り扱うブロック
デバイスへ、前記受信帯域管理部の指示に基づいてブロ
ック単位で必要量分書き込むブロック書込部を備えたこ
とを特徴とする請求項5記載の受信TCP/IPエンジ
ン。
6. The application DMA interface is provided with a predetermined block size of data, and a block device which handles the data with a block data of a fixed size is provided with a required amount in block units based on an instruction from the reception band management unit. The reception TCP / IP engine according to claim 5, further comprising a block writing unit for writing.
【請求項7】 請求項1から3のいずれか1項に記載の
送信TCP/IPエンジンと、請求項4から6のいずれ
か1項に記載の受信TCP/IPエンジンとを備え、 前記送信TCP/IPエンジンのタイマに、一定間隔で
送信側の持つタイミングを受信側へ通知するためのタイ
ミングフレームを、前記送信調停部にて最優先で送信が
調停されるよう送信要求を行うタイミングフレーム生成
部と、 前記受信TCP/IPエンジンのタイマに、前記受信解
析部にて分離された前記タイミングフレームの到着間隔
から送信側のタイマの速度を算出し、前記タイマの進み
具合に調整を行うタイマ調整部とを備えたことを特徴と
するTCP/IPエンジン。
7. The transmission TCP / IP engine according to any one of claims 1 to 3 and the reception TCP / IP engine according to any one of claims 4 to 6, wherein said transmission TCP / Timing frame generation unit that requests the timer of the IP engine to transmit a timing frame for notifying the reception side of the timing of the transmission side at regular intervals so that the transmission arbitration unit arbitrates the transmission with the highest priority. And a timer adjustment unit for calculating the speed of the timer on the transmission side from the arrival interval of the timing frames separated by the reception analysis unit to the timer of the reception TCP / IP engine, and adjusting the progress of the timer. A TCP / IP engine characterized by comprising:
JP2001336689A 2001-11-01 2001-11-01 Tcp/ip engine Pending JP2003143221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001336689A JP2003143221A (en) 2001-11-01 2001-11-01 Tcp/ip engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001336689A JP2003143221A (en) 2001-11-01 2001-11-01 Tcp/ip engine

Publications (1)

Publication Number Publication Date
JP2003143221A true JP2003143221A (en) 2003-05-16

Family

ID=19151473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001336689A Pending JP2003143221A (en) 2001-11-01 2001-11-01 Tcp/ip engine

Country Status (1)

Country Link
JP (1) JP2003143221A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7394813B2 (en) 2004-05-05 2008-07-01 Sharp Laboratories Of America, Inc. Systems and methods for implementing an acknowledgement mechanism for transmission of a real-time data stream
JP2008165724A (en) * 2006-12-06 2008-07-17 Hitachi Ltd Io adaptor and data transfer method thereof
JP2009077024A (en) * 2007-09-19 2009-04-09 Panasonic Corp Tcp packet communication device, and technique related thereto

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7394813B2 (en) 2004-05-05 2008-07-01 Sharp Laboratories Of America, Inc. Systems and methods for implementing an acknowledgement mechanism for transmission of a real-time data stream
JP2008165724A (en) * 2006-12-06 2008-07-17 Hitachi Ltd Io adaptor and data transfer method thereof
JP2009077024A (en) * 2007-09-19 2009-04-09 Panasonic Corp Tcp packet communication device, and technique related thereto

Similar Documents

Publication Publication Date Title
TWI336576B (en) A scheduler system and method thereof
US7480238B2 (en) Dynamic packet training
JPH077975B2 (en) System and method for controlling data transmission
EA010385B1 (en) Method and apparatus for isochronous datagram delivery over contention-based data link
JP2019054350A (en) Transfer device, transfer method, and program
JP5074872B2 (en) Protocol processing apparatus and control method
WO2012151920A1 (en) Method and device for service transmission
US11876859B2 (en) Controlling packet delivery based on application level information
US20200252337A1 (en) Data transmission method, device, and computer storage medium
US8838782B2 (en) Network protocol processing system and network protocol processing method
WO2021092839A1 (en) Data transmission method, electronic devices, system and storage medium
Deng et al. A low-delay AVB flow scheduling method occupying the guard band in Time-Sensitive Networking
JP4446166B2 (en) Transmission apparatus and method, recording medium, program, and control apparatus
JP2003143221A (en) Tcp/ip engine
CN107517167B (en) Data transmission control method and device and SoC chip
WO2012155557A1 (en) Method and system for synchronous service flow transmission in heterogeneous network
WO2022213923A1 (en) Transmission processing method and apparatus, and communication device
JP2001320417A (en) Transmission control system and its method
CN112491620B (en) Multi-channel data transmission controller based on SRIO and adjusting method
US7046624B1 (en) Network apparatus and a method for communicating by using the network apparatus
JP2008160557A (en) Receiver, transmitter and repeater
WO2017054473A1 (en) Method, sdn controller and network element for use in processing messages
JPWO2008068795A1 (en) Communication system and communication apparatus
CA2546277A1 (en) Internet endpoint system
WO2015096030A1 (en) Data transmission method, device and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041101

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060704

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061031

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070220