JP4646650B2 - Network connection device - Google Patents

Network connection device Download PDF

Info

Publication number
JP4646650B2
JP4646650B2 JP2005036217A JP2005036217A JP4646650B2 JP 4646650 B2 JP4646650 B2 JP 4646650B2 JP 2005036217 A JP2005036217 A JP 2005036217A JP 2005036217 A JP2005036217 A JP 2005036217A JP 4646650 B2 JP4646650 B2 JP 4646650B2
Authority
JP
Japan
Prior art keywords
tcp
data
address
mac
divided
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.)
Expired - Fee Related
Application number
JP2005036217A
Other languages
Japanese (ja)
Other versions
JP2006222864A (en
Inventor
利彦 清水
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005036217A priority Critical patent/JP4646650B2/en
Publication of JP2006222864A publication Critical patent/JP2006222864A/en
Application granted granted Critical
Publication of JP4646650B2 publication Critical patent/JP4646650B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

この発明は、例えばプラント監視制御等で使用されるイーサネット(登録商標)などのネットワークに使用するネットワーク接続装置に関するものである。   The present invention relates to a network connection device used for a network such as Ethernet (registered trademark) used in, for example, plant monitoring and control.

ネットワーク接続装置においては、MTU(Maximum Transmission Unit)を超えるデータ長のパケットを転送する場合に、TCP(TransmissionControl Protocol)/IP(Internet Protocol)層とMAC(Media Access Control)層との間のパケット受け渡しが多くなり、通信性能が低下するという問題があり、この問題の対策として、例えば、特開平11−317762合公報(特許文献1)に記載のようなネットワーク接続装置が考えられている。   In a network connection device, when a packet having a data length exceeding the MTU (Maximum Transmission Unit) is transferred, a packet is transferred between a TCP (Transmission Control Protocol) / IP (Internet Protocol) layer and a MAC (Media Access Control) layer. As a countermeasure against this problem, for example, a network connection device described in Japanese Patent Application Laid-Open No. 11-317762 (Patent Document 1) is considered.

即ち、特許文献1に記載のネットワーク接続装置は、送信側で、TCP/IP層からデータを受け取ったデータをフレーム分割部でMTUのサイズに合わせて分割し、分割された各々にIPヘッダ及びTCPヘッダを付加する。また、受信側では、受信したフレームをフレーム結合部で結合して最初のデータに復元することにより、MTUを超えるデータ長のパケットを転送する場合の通信負荷増大による通信性能の低下を防ぐものである。   That is, in the network connection device described in Patent Document 1, on the transmission side, the data received from the TCP / IP layer is divided by the frame dividing unit according to the size of the MTU, and the IP header and the TCP are divided into the divided pieces. Add a header. On the receiving side, the received frame is combined at the frame combining unit and restored to the first data, thereby preventing a decrease in communication performance due to an increase in communication load when a packet having a data length exceeding the MTU is transferred. is there.

特開平11−317762号公報(図1、図2、段落0007〜0010)JP 11-317762 A (FIGS. 1 and 2, paragraphs 0007 to 0010)

特許文献1に記載のような従来の技術では、TCP/IP層から物理層にデータを渡す間にフレーム分割部を置き、フレーム分割部において、TCP/IPパケットを分割すると共に、分割した各々にIPヘッダ及びTCPヘッダを付加しているため、分割数が多くなるとTCP/IPヘッダが多くなり、無駄が発生すし、また、TCP/IP層から物理層にデータを渡す間にフレーム分割部での前記パケット分割・前記IP/TCPヘッダ付加処理が挿入されるので、処理に時間がかかるといった問題が生じる。   In the conventional technique as described in Patent Document 1, a frame division unit is placed while data is transferred from the TCP / IP layer to the physical layer, and the TCP / IP packet is divided by the frame division unit, and each of the divided pieces is divided. Since the IP header and the TCP header are added, if the number of divisions increases, the TCP / IP headers increase and waste occurs, and the frame division unit passes data from the TCP / IP layer to the physical layer. Since the packet segmentation / IP / TCP header addition process is inserted, there is a problem that the process takes time.

この発明は、前述のような実情に鑑みてなされたもので、ネットワーク接続装置のデータ転送において、使用するネットワークのMTUを超えるデータ長のパケットを転送する場合に、通信負荷の増大を抑えると共に、通信効率の低下を防ぐことを目的とするものである。   The present invention has been made in view of the above-described circumstances. In the data transfer of the network connection device, when transferring a packet having a data length exceeding the MTU of the network to be used, an increase in communication load is suppressed. The purpose is to prevent a decrease in communication efficiency.

この発明の係るネットワーク接続装置は、TCP/IP処理部およびMAC処理部を有しネットワークとデータを送受信するネットワーク接続装置において、前記TCP/IP処理部から指定されたアドレスを、前記MAC処理部によりMACヘッダが設定される領域に重ならないアドレスに変換するアドレス変換部を設け、このアドレス変換部によって変換されたアドレスの領域に送信データを設定して前記MACヘッダと共に前記ネットワークへ送信するネットワーク接続装置であって、分割されたパケットを組み立てるための制御情報として、MAC層においてTCP/IP層から受け取る分割される前のパケット毎に付加するフレーム番号と、分割されたフレームにシーケンシャルに与えるシーケンス番号を、MACフレームのオプション領域に設定するものである。 The network connection device according to the present invention includes a TCP / IP processing unit and a MAC processing unit, and transmits and receives data to and from the network. An address designated by the TCP / IP processing unit is assigned by the MAC processing unit. A network connection device that includes an address conversion unit that converts an address that does not overlap an area in which a MAC header is set, sets transmission data in the area of the address converted by the address conversion unit, and transmits the transmission data to the network together with the MAC header In addition, as control information for assembling the divided packets, a frame number to be added to each packet before being divided from the TCP / IP layer in the MAC layer and a sequence number to be sequentially given to the divided frames MAC frame options It is intended to be set in ® down area.

この発明は、TCP/IP処理部およびMAC処理部を有しネットワークとデータを送受信するネットワーク接続装置において、前記TCP/IP処理部から指定されたアドレスを、前記MAC処理部によりMACヘッダが設定される領域に重ならないアドレスに変換するアドレス変換部を設け、このアドレス変換部によって変換されたアドレスの領域に送信データを設定して前記MACヘッダと共に前記ネットワークへ送信するネットワーク接続装置であって、分割されたパケットを組み立てるための制御情報として、MAC層においてTCP/IP層から受け取る分割される前のパケット毎に付加するフレーム番号と、分割されたフレームにシーケンシャルに与えるシーケンス番号を、MACフレームのオプション領域に設定するので、送信の際にTCP/IP層及びMAC層が扱うデータ領域は、TCP/IP層からは連続したデータ領域として扱うことができ、MAC層及びハードウェアからはMTUのサイズ毎にMACヘッダが付加された領域として扱うことができ、TCP/IP層ではパケットの分割・組み立てが不要となるので、MTUサイズを超えるデータ長のパケットを送受信する場合に、TCP/IP層における通信負荷の増大とそれによる通信効率の低下を防ぐことができる。 According to the present invention, in a network connection device having a TCP / IP processing unit and a MAC processing unit for transmitting / receiving data to / from a network, an MAC header is set by the MAC processing unit with an address designated by the TCP / IP processing unit. An address conversion unit that converts an address that does not overlap an area to be transmitted, sets transmission data in the area of the address converted by the address conversion unit, and transmits the data together with the MAC header to the network. As frame control options for assembling the divided packets, a frame number added to each packet before being divided and received from the TCP / IP layer in the MAC layer, and a sequence number that is sequentially given to the divided frames are options of the MAC frame. since the set in the area, The data area handled by the TCP / IP layer and MAC layer during communication can be handled as a continuous data area from the TCP / IP layer, and a MAC header is added for each MTU size from the MAC layer and hardware. Since the TCP / IP layer does not need to divide and assemble packets, when a packet with a data length exceeding the MTU size is transmitted / received, an increase in the communication load in the TCP / IP layer is caused. A decrease in communication efficiency can be prevented.

実施の形態1.
以下、この発明の実施の形態1を、ネットワーク接続装置の事例を示す図1に基づいて説明する。
Embodiment 1 FIG.
A first embodiment of the present invention will be described below with reference to FIG. 1 showing an example of a network connection device.

図1において、ネットワーク接続装置100は、データ送受信処理部1およびデータ送受信部4を有し、イーサネット(登録商標)200に接続されている。前記イーサネット(登録商標)200は、例えばプラント監視制御等で使用されるLAN等のネットワークである。   In FIG. 1, the network connection device 100 includes a data transmission / reception processing unit 1 and a data transmission / reception unit 4, and is connected to an Ethernet (registered trademark) 200. The Ethernet (registered trademark) 200 is a network such as a LAN used for plant monitoring and control, for example.

前記データ送受信処理部1は、TCP/IP処理部2およびMAC処理部3を有している。   The data transmission / reception processing unit 1 includes a TCP / IP processing unit 2 and a MAC processing unit 3.

前記データ送受信部4は、アドレス変換部5、送信バッファ6、イーサネット(登録商標)フレーム送信部7、受信バッファ8、イーサネット(登録商標)フレーム受信部9、アドレス信号線10、およびデータ信号線11を有している。   The data transmission / reception unit 4 includes an address conversion unit 5, a transmission buffer 6, an Ethernet (registered trademark) frame transmission unit 7, a reception buffer 8, an Ethernet (registered trademark) frame reception unit 9, an address signal line 10, and a data signal line 11. have.

次に動作について説明する。   Next, the operation will be described.

TCP/IP処理部2は、送信データを送信バッファ6に設定する。その場合、TCP/IP処理部2から指定されたアドレスがアドレス変換部5により変換され、アドレス信号線10を通して送信バッファ6に送られる。   The TCP / IP processing unit 2 sets transmission data in the transmission buffer 6. In this case, the address designated by the TCP / IP processing unit 2 is converted by the address conversion unit 5 and sent to the transmission buffer 6 through the address signal line 10.

前記アドレス変換部5によるアドレス変換は、具体的には、変換アドレス変換部5が、図3に図示のように、TCP/IP処理部2から指定されたアドレスをMACヘッダが設定される領域に重ならないアドレスに変換する。なお、図3についての具体的な説明は、実施の形態2で後述する。   Specifically, the address conversion by the address conversion unit 5 is performed by the conversion address conversion unit 5 in the area where the MAC header is set, as shown in FIG. 3, the address specified by the TCP / IP processing unit 2. Convert to a non-overlapping address. 3 will be described later in the second embodiment.

このアドレス変換と同時に送信データも送信バッファ6に送られ、送信データが送信バッファ6の指定されたアドレスの領域に設定される。   Simultaneously with this address conversion, transmission data is also sent to the transmission buffer 6, and the transmission data is set in the designated address area of the transmission buffer 6.

送信データが送信バッファ6に設定されると、MAC処理部3が起動され、MAC処理部3が送信バッファ6に、MTU(例えば1500バイト)毎にMACヘッダを設定した後、イーサネット(登録商標)フレーム送信部7に対して送信指令を出す。   When the transmission data is set in the transmission buffer 6, the MAC processing unit 3 is activated, and after the MAC processing unit 3 sets a MAC header for each MTU (eg, 1500 bytes) in the transmission buffer 6, Ethernet (registered trademark) A transmission command is issued to the frame transmission unit 7.

送信指令を受けたイーサネット(登録商標)フレーム送信部7は、送信バッファ6からMACヘッダと送信データをMTUで設定されたサイズ(例えば1500バイト)だけ読み出し、つまりMTU単位で(換言すればMACヘッダ毎に)分割してイーサネット(登録商標)200に送信を行う。イーサネット(登録商標)フレーム送信部7は、TCP/IP処理部2で設定された送信データの最終データまでこの動作を行う。   The Ethernet (registered trademark) frame transmission unit 7 that has received the transmission instruction reads the MAC header and transmission data from the transmission buffer 6 by a size (for example, 1500 bytes) set in the MTU, that is, in units of MTU (in other words, the MAC header The data is divided and transmitted to the Ethernet (registered trademark) 200. The Ethernet (registered trademark) frame transmission unit 7 performs this operation up to the final data of the transmission data set by the TCP / IP processing unit 2.

受信時は、イーサネット(登録商標)フレーム受信部9が受信し、イーサネット(登録商標)フレーム受信部9が受信フレームを受信バッファ8内の中間保管領域に書き込むと共に、MAC処理部3に通知する。   At the time of reception, the Ethernet (registered trademark) frame receiving unit 9 receives the data, and the Ethernet (registered trademark) frame receiving unit 9 writes the received frame in the intermediate storage area in the reception buffer 8 and notifies the MAC processing unit 3 of the received frame.

この通知を受けたMAC処理部3は、複数の前記MACヘッダ毎に分割された受信フレームを、受信バッファ8内のデータ保管領域に、データの順番通り、つまりMAC用アドレスの順番通りに、格納し、最終データ受信後、TCP/IP処理部2に通知する。   Receiving this notification, the MAC processing unit 3 stores the reception frames divided for each of the plurality of MAC headers in the data storage area in the reception buffer 8 in the order of the data, that is, in the order of the MAC addresses. After receiving the final data, the TCP / IP processing unit 2 is notified.

この通知を受けたTCP/IP処理部2は、前述のように受信バッファ8内のデータ保管領域にMAC用アドレスの順番通り保管されたデータを読み出すが、その時アドレス変換部5によりMACヘッダ(図3のMAC用バッファアドレスを参照)を除くアドレスに変換されることにより、データのアドレスの順番通りに連続したデータとして扱うことができ、TCP/IP層でのパケットの組み立てが不要になる。   Upon receiving this notification, the TCP / IP processing unit 2 reads the data stored in the data storage area in the reception buffer 8 in the order of the MAC addresses as described above. At that time, the address conversion unit 5 reads the MAC header (see FIG. 3), the data can be handled as continuous data in the order of the data addresses, and the assembly of packets at the TCP / IP layer is not necessary.

前述のように、この発明の実施の形態1のネットワーク接続装置100においては、送信の際にTCP/IP層及びMAC層が扱うデータ領域は、TCP/IP層からは連続したデータ領域として扱うことができ、MAC層及びハードウェアからはMTUのサイズ毎にMACヘッダが付加された領域として扱うことができるように構成したアドレス変換部5を持つことにより、使用するネットワークのMTUを超えるデータ長のパケットを送受信する場合に、TCP/IP層ではMTUに合わせたパケットの分割・組み立てが不要である。   As described above, in the network connection device 100 according to the first embodiment of the present invention, the data area handled by the TCP / IP layer and the MAC layer at the time of transmission is handled as a continuous data area from the TCP / IP layer. Since the MAC layer and the hardware have the address conversion unit 5 configured so that it can be handled as an area to which a MAC header is added for each MTU size, the data length exceeding the MTU of the network to be used can be obtained. When transmitting / receiving a packet, the TCP / IP layer does not need to divide and assemble the packet in accordance with the MTU.

このように、アドレス変換機構5を設けることにより、TCP/IP層ではパケットの分割・組み立てが不要となるように構成してあるので、前述の特許文献1のように、フレーム分割部を設け、当該フレーム分割部において、TCP/IPパケットを分割すると共に、分割した各々にIPヘッダ及びTCPヘッダを付加する場合に比べ、MTUを超えるデータ長のパケットを転送する場合のTCP/IP層におけるパケット分割・組み立て処理の負荷を軽減させて通信性能を向上させることができる。   In this way, by providing the address translation mechanism 5, the TCP / IP layer is configured so that packet division / assembly is not required. Therefore, as in the above-mentioned Patent Document 1, a frame division unit is provided, Packet division in the TCP / IP layer in the case of transferring a packet having a data length exceeding the MTU as compared with a case where the frame division unit divides a TCP / IP packet and adds an IP header and a TCP header to each divided portion. -The communication performance can be improved by reducing the assembly processing load.

実施の形態2.
以下、この発明の実施の形態2を、アドレス変換部の動作の事例を表す図2及びアドレス変換部によるTCP/IP用バッファアドレスの変換後のアドレスの事例を示す図3に基づいて説明する。
Embodiment 2. FIG.
The second embodiment of the present invention will be described below with reference to FIG. 2 showing an example of the operation of the address translation unit and FIG. 3 showing an example of the address after the TCP / IP buffer address is translated by the address translation unit.

図2には、TCP/IP層及びMAC層から見たアドレスマップ12、TCP/IP用バッファの内容13、及びバッファの実体14を例示してある。TCP/IP用バッファとMAC用バッファとは、前記アドレスマップ12上では別空間に定義されており、それぞれ別の領域として扱うことができるようになっている。TCP/IP用バッファ13にはTCP/IP層が設定するIPヘッダ、TCPヘッダ及びデータが書き込まれている。これらIPヘッダ、TCPヘッダ及びデータは、TCP/IPパケット毎に設定されるものである。   FIG. 2 illustrates an address map 12 viewed from the TCP / IP layer and the MAC layer, the contents 13 of the TCP / IP buffer, and the buffer entity 14. The TCP / IP buffer and the MAC buffer are defined in different spaces on the address map 12, and can be handled as different areas. In the TCP / IP buffer 13, an IP header, a TCP header, and data set by the TCP / IP layer are written. These IP header, TCP header, and data are set for each TCP / IP packet.

TCP/IP用バッファアドレスは前記アドレス変換部5(図1参照)によって、バッファの実体14に示されるアドレスに変換される。バッファの実体14すなわち、MAC・イーサネット(登録商標)フレーム送受信部用バッファでは、TCP/IP用バッファから見た内容13にMACヘッダが付加された内容であるのに対し、TCP/IP用バッファからは、MACヘッダ部が見えないようにアドレス変換されている。このアドレス変換部5の動作により、TCP/IP層からは、パケットの分割・組み立てを意識することなくデータを設定することができる。   The TCP / IP buffer address is converted by the address conversion unit 5 (see FIG. 1) into an address indicated by the buffer entity 14. In the buffer entity 14, that is, the MAC / Ethernet (registered trademark) frame transmission / reception unit buffer, the content is a content obtained by adding a MAC header to the content 13 viewed from the TCP / IP buffer, whereas the buffer / TCP buffer uses the TCP / IP buffer. The address is converted so that the MAC header portion cannot be seen. By the operation of the address conversion unit 5, data can be set from the TCP / IP layer without being aware of packet division / assembly.

図3はアドレス変換部5によるTCP/IP用バッファアドレスの変換後のアドレスを例示したものである。TCP/IP用バッファアドレスは、アドレス変換部5によって以下のように変換される。
C+((TCP/IP用バッファアドレス−A)÷1500の商)×18+18
ここで、1500はイーサネット(登録商標)のMTUサイズである1500バイト、18はMACヘッダ長の18バイトによるものである。この変換を施すことにより、TCP/IP層からはTCP/IP用バッファアドレスに対して送信データを設定することで、送信データを分割することなく設定することができると共に、MAC層からはMAC用バッファアドレスを通してMACヘッダを挿入することができるため、MTUを超えるデータ長のパケットを送信する場合にTCP/IP層でのパケット分割が不要となる。このことは受信バッファに対しても同様に行われるため、TCP/IP層でのパケット組み立てが不要となる。
FIG. 3 shows an example of the address after the TCP / IP buffer address is converted by the address conversion unit 5. The TCP / IP buffer address is converted by the address conversion unit 5 as follows.
C + ((TCP / IP buffer address−A) ÷ 1500 quotient) × 18 + 18
Here, 1500 is an Ethernet (registered trademark) MTU size of 1500 bytes, and 18 is a MAC header length of 18 bytes. By performing this conversion, the transmission data can be set from the TCP / IP layer to the TCP / IP buffer address without dividing the transmission data, and the MAC layer can be used for the MAC. Since the MAC header can be inserted through the buffer address, packet division at the TCP / IP layer becomes unnecessary when transmitting a packet having a data length exceeding the MTU. Since this is also performed for the reception buffer, packet assembly at the TCP / IP layer is not necessary.

図2及び図3に示すように、TCP/IP層及びMAC層が扱うデータ領域を物理的に同一とするように構成してあるので、双方間でのデータの受け渡しの際の複雑な処理が不要になる。   As shown in FIG. 2 and FIG. 3, the data areas handled by the TCP / IP layer and the MAC layer are configured to be physically the same, so that complicated processing at the time of data transfer between the two is performed. It becomes unnecessary.

実施の形態3.
以下、この発明の実施の形態3を、フレーム番号及びシーケンス番号の構成の事例を示す図4に基づいて説明する。
Embodiment 3 FIG.
The third embodiment of the present invention will be described below with reference to FIG. 4 showing an example of the structure of frame numbers and sequence numbers.

図4に示すように、IEEE802.1Qで定義されているMACヘッダ15には、周知のようにTPID(TagProtocol IDentifier)とTCI(Tag Control Information)はVLANタグと呼ばれる識別コードがある。このオプション領域であるTCI部16に、フレーム番号(4ビット)とシーケンス番号(8ビット)とを設定する。フレーム番号はTCP/IP層からのパケット毎にインクリメントされ、その範囲は0から15である。シーケンス番号は、前述のようにMAC層でデータを分割して送信する際に、各フレームに順番に設定し、その範囲は0から255である。これらを使用することにより受信側では、MAC層で分割送信されたデータの組み立てを行うことができる。   As shown in FIG. 4, the MAC header 15 defined in IEEE 802.1Q has identification codes called VLAN tags, as is well known, TPID (Tag Protocol IDentifier) and TCI (Tag Control Information). A frame number (4 bits) and a sequence number (8 bits) are set in the TCI section 16 which is this optional area. The frame number is incremented for each packet from the TCP / IP layer, and its range is from 0 to 15. The sequence number is set in order for each frame when the data is divided and transmitted in the MAC layer as described above, and the range is from 0 to 255. By using these, on the receiving side, it is possible to assemble data divided and transmitted in the MAC layer.

このように、送信時に、パケット毎に付加するフレーム番号と、分割されたフレームにシーケンシャルに与えるシーケンス番号を、MACフレームのオプション領域に設定しているので、これらを使用することにより受信側では、MAC層で分割送信されたデータの組み立てを行うことができる。   In this way, since the frame number added for each packet and the sequence number that is sequentially given to the divided frames are set in the option area of the MAC frame at the time of transmission, by using these, on the receiving side, The data divided and transmitted by the MAC layer can be assembled.

実施の形態4.
以下、この発明の実施の形態4を、データ受信時のMAC層における処理フローの事例を表す図5に基づいて説明する。
Embodiment 4 FIG.
Hereinafter, Embodiment 4 of the present invention will be described based on FIG. 5 showing an example of a processing flow in the MAC layer at the time of data reception.

図5に示すように、MAC層では、フレーム受信時、送信元MACアドレスとオプション領域のフレーム番号(ID)とを参照して(ステップST1)、分割されたデータかどうかチェックを行う(ステップST2)。   As shown in FIG. 5, at the time of frame reception, the MAC layer refers to the source MAC address and the frame number (ID) of the option area (step ST1) and checks whether the data is divided (step ST2). ).

ステップST2でのチェック結果が、分割されたデータならば、シーケンス番号を参照して順番にバッファに格納する(ステップST3)。   If the check result in step ST2 is the divided data, the sequence number is referred to and stored in the buffer in order (step ST3).

次いで、全フレームを受信完了しかどうか判定し(ステップST4)、ステップST4での判定結果、全フレームを受信完了したならばTCP/IP層に受信通知を行う(ステップST5)。この処理により、MAC層で分割送信されたデータの組み立てを行うことができる。   Next, it is determined whether or not all frames have been received (step ST4), and if reception of all frames is completed as a result of determination in step ST4, a reception notification is sent to the TCP / IP layer (step ST5). By this processing, it is possible to assemble data divided and transmitted by the MAC layer.

前記ステップST2でのチェック結果が、分割されたデータでないならば、シーケンス番号を参照する必要が無いので、前記ステップST5に進む。   If the check result in step ST2 is not divided data, it is not necessary to refer to the sequence number, and the process proceeds to step ST5.

前記ステップST4での判定結果、全フレームを受信完了してないならば、次のフレーム受信を待つ(ステップST6)。   If the result of determination in step ST4 is that reception of all frames has not been completed, reception of the next frame is awaited (step ST6).

このように、送信元MACアドレス、MACフレームのオプション領域に設定されたフレーム番号及びシーケンス番号を参照して受信処理をするように構成しているので、この処理により、受信時に、MAC層で分割送信されたデータの組み立てを行うことができる。   As described above, since the reception process is configured with reference to the source MAC address, the frame number and the sequence number set in the option area of the MAC frame, it is divided at the MAC layer at the time of reception by this process. The transmitted data can be assembled.

実施の形態5.
以下、この発明の実施の形態5を、ネットワーク接続装置の他の事例を示す図6に基づいて説明する。
Embodiment 5. FIG.
The fifth embodiment of the present invention will be described below with reference to FIG. 6 showing another example of the network connection device.

図6は、TCP/IP層等からMTUのサイズを外部から変更できるように構成したもので、MTUサイズ設定部17を設けてある。アドレス変換部5は前記MTUサイズ設定部17に設定されたMTUの値を使用してアドレス変換を行う。これにより、使用するネットワークに対応してMTUサイズを変更することが可能となり、イーサネット(登録商標)だけでなく他のネットワークにも適用することが可能となる。   FIG. 6 shows a configuration in which the MTU size can be changed from the outside from the TCP / IP layer or the like, and an MTU size setting unit 17 is provided. The address conversion unit 5 performs address conversion using the MTU value set in the MTU size setting unit 17. As a result, the MTU size can be changed in accordance with the network to be used, and it can be applied not only to Ethernet (registered trademark) but also to other networks.

この発明の実施の形態1を示す図で、ネットワーク接続装置の事例を示す図である。It is a figure which shows Embodiment 1 of this invention, and is a figure which shows the example of a network connection apparatus. この発明の実施の形態2を示す図で、アドレス変換部の動作の事例を表す図である。It is a figure which shows Embodiment 2 of this invention, and is a figure showing the example of operation | movement of an address conversion part. この発明の実施の形態2を示す図で、アドレス変換部によるTCP/IP用バッファアドレスの変換後のアドレスの事例を示す図である。It is a figure which shows Embodiment 2 of this invention, and is a figure which shows the example of the address after the conversion of the buffer address for TCP / IP by the address conversion part. この発明の実施の形態3を示す図で、フレーム番号及びシーケンス番号の構成の事例を示す図である。It is a figure which shows Embodiment 3 of this invention, and is a figure which shows the example of a structure of a frame number and a sequence number. この発明の実施の形態4を示す図で、データ受信時のMAC層における処理フローの事例を表す図である。It is a figure which shows Embodiment 4 of this invention, and is a figure showing the example of the processing flow in the MAC layer at the time of data reception. この発明の実施の形態5を示す図で、ネットワーク接続装置の事例を示す図である。It is a figure which shows Embodiment 5 of this invention, and is a figure which shows the example of a network connection apparatus.

符号の説明Explanation of symbols

1 データ送受信処理部、
2 TCP/IP処理部、
3 MAC処理部、
4 データ送受信部、
5 アドレス変換部、
6 送信バッファ、
7 イーサネット(登録商標)フレーム送信部、
8 受信バッファ、
9 イーサネット(登録商標)フレーム受信部、
10 アドレス信号線、
11 データ信号線、
12 アドレスマップ、
13 TCP/IP用バッファの内容、
14 バッファの実体、
15 MACヘッダ、
16 TCI部内容、
17 MTUサイズ設定部、
100 ネットワーク接続装置100、
200 イーサネット(登録商標)(ネットワーク)。
1 Data transmission / reception processor
2 TCP / IP processing unit,
3 MAC processing part,
4 Data transmitter / receiver,
5 Address converter,
6 Send buffer,
7 Ethernet (registered trademark) frame transmitter,
8 Receive buffer,
9 Ethernet (registered trademark) frame receiver,
10 Address signal line,
11 Data signal line,
12 Address map,
13 Contents of TCP / IP buffer,
14 Buffer entity,
15 MAC header,
16 TCI content,
17 MTU size setting section,
100 network connection device 100,
200 Ethernet (registered trademark) (network).

Claims (3)

TCP/IP処理部およびMAC処理部を有しネットワークとデータを送受信するネットワーク接続装置において、
前記TCP/IP処理部から指定されたアドレスを、前記MAC処理部によりMACヘッダが設定される領域に重ならないアドレスに変換するアドレス変換部を設け、このアドレス変換部によって変換されたアドレスの領域に送信データを設定して前記MACヘッダと共に前記ネットワークへ送信するネットワーク接続装置であって、
分割されたパケットを組み立てるための制御情報として、MAC層においてTCP/IP層から受け取る分割される前のパケット毎に付加するフレーム番号と、分割されたフレームにシーケンシャルに与えるシーケンス番号を、MACフレームのオプション領域に設定する
ことを特徴とするネットワーク接続装置。
In a network connection device having a TCP / IP processing unit and a MAC processing unit for transmitting and receiving data to and from a network,
An address conversion unit that converts an address designated by the TCP / IP processing unit into an address that does not overlap an area in which a MAC header is set by the MAC processing unit is provided, and the address converted by the address conversion unit A network connection device that sets transmission data and transmits the data together with the MAC header to the network,
As control information for assembling the divided packets, a frame number added to each packet before being divided and received from the TCP / IP layer in the MAC layer, and a sequence number given sequentially to the divided frames are A network connection device set in an option area .
TCP/IP処理部およびMAC処理部を有しネットワークとデータを送受信するネットワーク接続装置において、
前記TCP/IP処理部から指定されたアドレスを、前記MAC処理部によりMACヘッダが設定される領域に重ならないアドレスに変換するアドレス変換部を設け、このアドレス変換部によって変換されたアドレスの領域に送信データを設定して前記MACヘッダと共に前記ネットワークへ送信し、前記アドレス変換部は、前記ネットワークからの受信データから前記MACヘッダを除くアドレス変換を行うネットワーク接続装置であって、
分割されたパケットを組み立てるための制御情報として、MAC層においてTCP/IP層から受け取る分割される前のパケット毎に付加するフレーム番号と、分割されたフレームにシーケンシャルに与えるシーケンス番号を、MACフレームのオプション領域に設定する
ことを特徴とするネットワーク接続装置。
In a network connection device having a TCP / IP processing unit and a MAC processing unit for transmitting and receiving data to and from a network
An address conversion unit that converts an address designated by the TCP / IP processing unit into an address that does not overlap an area in which a MAC header is set by the MAC processing unit is provided, and the address converted by the address conversion unit The transmission data is set and transmitted to the network together with the MAC header, and the address conversion unit is a network connection device that performs address conversion excluding the MAC header from the received data from the network,
As control information for assembling the divided packets, a frame number added to each packet before being divided and received from the TCP / IP layer in the MAC layer, and a sequence number given sequentially to the divided frames are A network connection device set in an option area .
請求項または請求項に記載のネットワーク接続装置において、
前記分割されたフレームを受信する場合に、送信元MACアドレスとオプション領域のフレーム番号を参照して、分割データかどうかをチェックし、分割データならばシーケンス番号を参照して順番にデータを格納する
ことを特徴とするネットワーク接続装置。
The network connection device according to claim 1 or 2 ,
When the divided frame is received, it is checked whether it is divided data by referring to the source MAC address and the frame number of the option area. If it is divided data, the data is stored in order by referring to the sequence number. A network connection device characterized by that.
JP2005036217A 2005-02-14 2005-02-14 Network connection device Expired - Fee Related JP4646650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005036217A JP4646650B2 (en) 2005-02-14 2005-02-14 Network connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005036217A JP4646650B2 (en) 2005-02-14 2005-02-14 Network connection device

Publications (2)

Publication Number Publication Date
JP2006222864A JP2006222864A (en) 2006-08-24
JP4646650B2 true JP4646650B2 (en) 2011-03-09

Family

ID=36984851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005036217A Expired - Fee Related JP4646650B2 (en) 2005-02-14 2005-02-14 Network connection device

Country Status (1)

Country Link
JP (1) JP4646650B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204801A (en) * 1992-01-24 1993-08-13 Hitachi Ltd Communication processing system
JPH06125365A (en) * 1992-06-30 1994-05-06 Hitachi Ltd Communication controller
JPH06252955A (en) * 1993-02-22 1994-09-09 Hitachi Ltd Data communications equipment
JPH0736805A (en) * 1993-07-19 1995-02-07 Hitachi Ltd Receiving frame data processing system
JPH11110315A (en) * 1997-07-31 1999-04-23 Matsushita Electric Ind Co Ltd Communicating device
JP2001251351A (en) * 2000-03-02 2001-09-14 Nec Corp Input packet processing system for packet switch
JP2004320392A (en) * 2003-04-16 2004-11-11 Nec Corp Packet processing device, packet data management method used therefor the same, and program therefor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05204801A (en) * 1992-01-24 1993-08-13 Hitachi Ltd Communication processing system
JPH06125365A (en) * 1992-06-30 1994-05-06 Hitachi Ltd Communication controller
JPH06252955A (en) * 1993-02-22 1994-09-09 Hitachi Ltd Data communications equipment
JPH0736805A (en) * 1993-07-19 1995-02-07 Hitachi Ltd Receiving frame data processing system
JPH11110315A (en) * 1997-07-31 1999-04-23 Matsushita Electric Ind Co Ltd Communicating device
JP2001251351A (en) * 2000-03-02 2001-09-14 Nec Corp Input packet processing system for packet switch
JP2004320392A (en) * 2003-04-16 2004-11-11 Nec Corp Packet processing device, packet data management method used therefor the same, and program therefor

Also Published As

Publication number Publication date
JP2006222864A (en) 2006-08-24

Similar Documents

Publication Publication Date Title
JP5047472B2 (en) MAC header compression used with frame aggregation
US7010613B2 (en) Methods and apparatus for reducing frame overhead on local area networks
US20090282460A1 (en) System and Method for Transferring Information Through a Trusted Network
CN102388648A (en) Header compression for IP relay nodes
JP2005027289A5 (en)
CN107920059A (en) The method and its device of data are sent and received in vehicle network
WO2007058457A1 (en) Method and apparatus for efficiently retransmitting data in wireless network environment
US20090232137A1 (en) System and Method for Enhancing TCP Large Send and Large Receive Offload Performance
CN106256149A (en) A kind of data processing method and device
EP2201740B1 (en) High speed packet processing in a wireless network
EP2071808A1 (en) Methods and a system and devices for ipv6 datagram transmission in the ethernet
JP2009164947A (en) Server, method of transferring packet, and program
JP2006295787A (en) System, apparatus, and method for information processing
JP4646650B2 (en) Network connection device
US7231505B1 (en) Aligning IP payloads on memory boundaries for improved performance at a switch
WO2016136813A1 (en) Communication device, terminal device, central server device, information processing system, telegram processing method and telegram generation method
US6735649B2 (en) Multiple buffers for removing unwanted header information from received data packets
US7986694B2 (en) Method for fragmenting an incoming packet into a first outgoing packet and a second outgoing packet
KR100690845B1 (en) A method and a mobile terminal for efficiently transmitting/receiving data by converting tcp header information at mobile network supporting tcp/ip protocol
JPH11275102A (en) Network system by power line, data transmission method and recording medium
US8054834B2 (en) Method and equipment for demultiplexing variable size protocol data units
JP2010153944A (en) Communication system, receiver, transmitter and communication method
US20150036588A1 (en) Method and apparatus for multiplexing packet to extend wireless sensor network using existing transmission network
CN116032862A (en) Method for transmitting BE data by TTE system with low delay and TTE system
JP2004312501A (en) Packet receiving method and packet receiver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091016

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100511

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100906

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101111

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101130

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101207

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees