JP2009218743A - Ip protocol processor and its processing method - Google Patents

Ip protocol processor and its processing method Download PDF

Info

Publication number
JP2009218743A
JP2009218743A JP2008058703A JP2008058703A JP2009218743A JP 2009218743 A JP2009218743 A JP 2009218743A JP 2008058703 A JP2008058703 A JP 2008058703A JP 2008058703 A JP2008058703 A JP 2008058703A JP 2009218743 A JP2009218743 A JP 2009218743A
Authority
JP
Japan
Prior art keywords
bit
bit table
reassembly
processing
packet
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
JP2008058703A
Other languages
Japanese (ja)
Other versions
JP2009218743A5 (en
JP5094482B2 (en
Inventor
Eiji Imao
英司 今尾
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2008058703A priority Critical patent/JP5094482B2/en
Priority to US12/394,435 priority patent/US7969977B2/en
Publication of JP2009218743A publication Critical patent/JP2009218743A/en
Publication of JP2009218743A5 publication Critical patent/JP2009218743A5/ja
Application granted granted Critical
Publication of JP5094482B2 publication Critical patent/JP5094482B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/166IP fragmentation; TCP segmentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To accelerate the reassembling processing of fragmented IP packets and to reduce a memory cost required for parallel processing. <P>SOLUTION: The IP protocol processor reassembles the IP packets on the basis of a bit table which manages the reception conditions of the fragmented IP packets. When reassembling them, the bit table to be the object of the reassembly is transferred from a first storage part storing a plurality of bit tables to a second storage part storing a part of the plurality of bit tables. On the basis of the bit table transferred to the second storage part, the fragmented IP packets are reassembled. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、IP(Internet protocol)通信を利用するアプリケーション機器や、IP通信制御機器におけるプロトコル処理に関し、特に、複数のフラグメントパケットに分割して送信されたIPパケットの受信技術に関する。また、IPプロトコル処理の高速化をTOE(TCP/IP Offload Engine)技術によって実現する組み込み機器に好適である。   The present invention relates to protocol processing in an application device that uses IP (Internet protocol) communication and an IP communication control device, and more particularly, to a technique for receiving an IP packet that is transmitted by being divided into a plurality of fragment packets. Further, it is suitable for an embedded device that realizes speeding up of IP protocol processing by a TOE (TCP / IP Offload Engine) technology.

プロトコル処理の中でプロセッサ処理量が大きい処理の1つにIPリアセンブルがある。IP通信では、送信元或いは伝送経路上で1つのIPパケットを複数のIPパケットに分割して転送し、受信側で分割元の1つのパケットを復元して受信するメカニズムがある。1つのIPパケットを複数のIPパケットに分割して転送する処理はIPフラグメント(IP Fragmentation)と呼ばれている。一方、分割された複数のIPパケットを受信し、元のIPパケットに復元する処理はIPリアセンブル(IP Reassembly)と呼ばれている。IPリアセンブルは、RFC791に仕様が公開されている。   IP reassembly is one of the processes with a large amount of processor processing among protocol processes. In IP communication, there is a mechanism in which one IP packet is divided and transferred to a plurality of IP packets on the transmission source or transmission path, and one packet of the division source is restored and received on the receiving side. The process of dividing one IP packet into a plurality of IP packets and transferring it is called an IP fragment (IP Fragmentation). On the other hand, the process of receiving a plurality of divided IP packets and restoring them to the original IP packet is called IP reassembly. The specification of IP reassembly is disclosed in RFC791.

また、IPリアセンブルには、RFC791に記載の処理方法と、RFC815に記載の処理方法の2つのアルゴリズムが知られている。本発明は、前者の方法に関与するものであるので、前者の方法について紹介しておく。尚、ここでは、前者のIPリアセンブル処理方法を、ビットマップテーブル方式と呼称する。   For IP reassembly, two algorithms, a processing method described in RFC 791 and a processing method described in RFC 815, are known. Since the present invention relates to the former method, the former method will be introduced. Here, the former IP reassembly processing method is referred to as a bitmap table method.

ビットマップテーブル方式によるIPリアセンブルでは、受信側が送信元IPパケットのペイロードデータの8オクテット分を1ビットに割り当てたビットテーブルを用意する。IPデータグラムは最大長が65535オクテットであるため、用意するビットテーブルは、約8キロビットの長さが必要である。そして、到着する各フラグメントパケットのペイロードデータを保存しながら、フラグメントデータのオフセット位置と長さに相当する、該ビットテーブルのビットをセットしていくことで、フラグメントデータの受信状況を管理する。その後、送信元のIPパケットのペイロード長さに相当するビットテーブル上のビットが全てセットされると、分割元のIPパケットの再組み立てに必要なデータが揃ったことを意味し、IPリアセンブル処理の完了となる。   In IP reassembly using the bitmap table method, the receiving side prepares a bit table in which 8 octets of payload data of a source IP packet are assigned to 1 bit. Since the IP datagram has a maximum length of 65535 octets, the prepared bit table needs to be about 8 kilobits long. Then, while storing the payload data of each arriving fragment packet, by setting the bit table bits corresponding to the offset position and length of the fragment data, the reception status of the fragment data is managed. After that, when all the bits on the bit table corresponding to the payload length of the source IP packet are set, it means that the data necessary for reassembly of the source IP packet has been prepared. Is completed.

近年、ネットワーク通信が急速に高速化しており、既に民生用にギガビットネットワーク対応のイーサネット(登録商標)製品が普及している。更に、現在IEEE802.3ワーキンググループにおいて40メガビット/秒、或いは100メガビット/秒の伝送速度を実現可能な規格が標準化されようとしている。こうしたネットワーク通信の高速化に伴い、IP通信を利用するアプリケーションも送受信するデータ量も増大しており、通信端末機器にとって通信プロトコル処理にかかる負荷が高くなってきている。   In recent years, network communication has rapidly increased in speed, and Ethernet (registered trademark) products compatible with gigabit networks have already become widespread for consumer use. Furthermore, a standard capable of realizing a transmission rate of 40 megabits / second or 100 megabits / second is now being standardized in the IEEE 802.3 working group. As network communication speeds up, the amount of data transmitted and received by applications using IP communication has also increased, and the load on communication protocol processing has increased for communication terminal devices.

従来、IP通信のプロトコル処理は、TCP/IP(Transmission Control Protocol/Internet Protocol)プロトコルスタックというソフトウェアで実現されることが多い。IP通信機能を有する組み込み機器においても、IPプロトコル処理をソフトウェアで実装する場合が多い。しかし、小規模な組み込み機器では、製造コストや電力消費量の面で有利である、動作周波数が低いCPUを搭載することが多いため、必要なソフトウェアによるプロトコル処理のプロセッサ負荷が高くなってしまう。   Conventionally, protocol processing for IP communication is often realized by software called TCP / IP (Transmission Control Protocol / Internet Protocol) protocol stack. Even in an embedded device having an IP communication function, IP protocol processing is often implemented by software. However, since a small-scale embedded device is often equipped with a CPU having a low operating frequency, which is advantageous in terms of manufacturing cost and power consumption, a processor load for protocol processing by necessary software increases.

そのため、従来の処理では高い通信性能を実現することが困難になってきている。また、通信処理にかかる処理負荷が原因で、アプリケーション処理にCPUリソースを十分に割り当てられないことも問題となる。   For this reason, it has become difficult to achieve high communication performance with conventional processing. Another problem is that CPU resources cannot be sufficiently allocated to application processing due to processing load on communication processing.

このような問題への対策として、プロセッサの通信処理負荷を軽減し、高速なIP通信を実現するTOE(TCP/IP Offload Engine)と総称される技術がある。このTOEとは、アプリケーションを実行するプロセッサとは別の処理手段により、TCP/IPプロトコル処理の高速化を図る技術である。   As a countermeasure against such a problem, there is a technology collectively called TOE (TCP / IP Offload Engine) that reduces the communication processing load of the processor and realizes high-speed IP communication. This TOE is a technique for speeding up TCP / IP protocol processing by processing means different from a processor that executes an application.

TOEでは、プロトコル処理全体又は一部をハードウェア処理(集積回路)で実行して高速化するケースが多い。また、組み込み機器においては、TOEをLSI化してチップに内蔵する実装も行われている。
特開2007−274056号公報
In the TOE, the whole or part of the protocol processing is executed by hardware processing (integrated circuit) to increase the speed. In addition, in embedded devices, mounting is performed in which a TOE is converted into an LSI and incorporated in a chip.
JP 2007-274056 A

上述したビットマップテーブル方式のIPリアセンブルでは、分割前のIPパケットの最大パケットサイズに対応するために必要なテーブルサイズは1Kバイト(8192バイト)である。また、IPリアセンブルの同時並行処理数と同数のビットマップテーブルが必要となる。通信の高速化により単位時間あたりの受信IPパケット数が増加すると、並行処理するIPリアセンブルも増加し、ビットマップテーブルに必要なメモリサイズが増加してしまう。   In the above-described bitmap table type IP reassembly, the table size required to correspond to the maximum packet size of the IP packet before division is 1 Kbyte (8192 bytes). In addition, the same number of bitmap tables as the number of IP parallel reassembly processes is required. When the number of received IP packets per unit time increases due to higher communication speed, the IP reassembly that is processed in parallel also increases, and the memory size required for the bitmap table increases.

一方、上述のTOE技術によってハードウェア処理でIPリアセンブルの高速化を実現するためには、アクセス遅延が小さいオンチップメモリ上にビットテーブルを形成することが望ましい。しかしながら、並行処理可能な数に見合う大きなメモリ容量が必要となり、メモリコストが高価であるオンチップメモリでは、メモリコストが高くなってしまう。一方、小容量のメモリでは並行処理可能な数に制限が生じることが問題となる。   On the other hand, it is desirable to form a bit table on an on-chip memory with a small access delay in order to realize high speed IP reassembly by hardware processing by the above-described TOE technology. However, a large memory capacity corresponding to the number that can be processed in parallel is required, and an on-chip memory having a high memory cost increases the memory cost. On the other hand, there is a problem that a limited number of parallel processing is possible in a small-capacity memory.

このビットデータでフラグメントデータの到着状況を管理する先行技術として、例えば特許文献1がある。特許文献1では、IPフラグメントの分割サイズを狭い範囲に限定することで、フラグメントパケットに暗黙的な断片番号を付与し、フラグメントパケットの受信状況の管理を単純化して高速化している。   As a prior art for managing the arrival status of fragment data using this bit data, for example, Patent Document 1 is known. In Patent Literature 1, by limiting the fragment size of an IP fragment to a narrow range, an implicit fragment number is assigned to the fragment packet, and the management of the reception status of the fragment packet is simplified and speeded up.

この方法では、予めIPパケットを分割するサイズを限定しているので、フラグメントパケットの受信状況を管理するビット幅を8Kビットよりも小さくすることが可能であるため、IPリアセンブルに必要なメモリサイズを縮小することができる。しかしながら、分割サイズを狭い範囲に制限するため、任意サイズのフラグメントパケットのIPリアセンブルを実行するには不適である。   In this method, since the size for dividing the IP packet is limited in advance, the bit width for managing the reception status of the fragment packet can be made smaller than 8K bits, so the memory size required for IP reassembly Can be reduced. However, since the division size is limited to a narrow range, it is not suitable for performing IP reassembly of fragment packets of any size.

本発明は、フラグメントされたIPパケットのリアセンブル処理を高速化し、並行処理にかかるメモリコストを減少させることを目的とする。   An object of the present invention is to speed up the reassembly process of fragmented IP packets and reduce the memory cost for parallel processing.

本発明は、フラグメントされたIPパケットの受信状況を管理するビットテーブルに基づいて前記IPパケットのリアセンブルを行うIPプロトコル処理装置であって、複数のビットテーブルを記憶する第1の記憶手段と、前記複数のビットテーブルの一部を記憶している第2の記憶手段と、前記ビットテーブルに基づいて前記リアセンブルを行う際に、前記第1の記憶手段から第2の記憶手段へ前記リアセンブルの対象となるビットテーブルを転送する転送手段と、前記転送手段で前記第2の記憶手段へ転送されたビットテーブルに基づいて前記フラグメントされたIPパケットをリアセンブル処理する処理手段と、を有することを特徴とする。   The present invention is an IP protocol processing apparatus for reassembling the IP packet based on a bit table for managing the reception status of fragmented IP packets, and a first storage means for storing a plurality of bit tables; A second storage unit storing a part of the plurality of bit tables; and the reassembling from the first storage unit to the second storage unit when performing the reassembly based on the bit table. Transfer means for transferring the bit table to be subject to the transfer, and processing means for reassembling the fragmented IP packet based on the bit table transferred to the second storage means by the transfer means. It is characterized by.

また、本発明は、複数のビットテーブルを記憶する第1の記憶手段と、前記複数のビットテーブルの一部を記憶する第2の記憶手段とを有し、フラグメントされたIPパケットの受信状況を管理するビットテーブルに基づいて前記IPパケットのリアセンブルを行うIPプロトコル処理装置の処理方法であって、前記ビットテーブルに基づいて前記リアセンブルを行う際に、前記第1の記憶手段から第2の記憶手段へ前記リアセンブルの対象となるビットテーブルを転送する転送工程と、前記転送手段で前記第2の記憶手段へ転送されたビットテーブルに基づいて前記フラグメントされたIPパケットをリアセンブル処理する処理工程と、を有することを特徴とする。   The present invention further includes a first storage unit that stores a plurality of bit tables and a second storage unit that stores a part of the plurality of bit tables. A processing method of an IP protocol processing device for reassembling the IP packet based on a bit table to be managed, wherein when performing the reassembling based on the bit table, a second storage unit A transfer step of transferring the bit table to be reassembled to the storage means, and a process of reassembling the fragmented IP packet based on the bit table transferred to the second storage means by the transfer means And a process.

本発明によれば、フラグメントされたIPパケットのリアセンブル処理を高速化し、並行処理にかかるメモリコストを減少させることができる。   According to the present invention, the reassembling process of fragmented IP packets can be accelerated, and the memory cost for parallel processing can be reduced.

以下、図面を参照しながら発明を実施するための最良の形態について詳細に説明する。   The best mode for carrying out the invention will be described below in detail with reference to the drawings.

[第1の実施形態]
図1は、第1の実施形態におけるネットワーク通信装置の構成の一例を表すブロック図である。図1に示すように、CPU102、ROM103、RAM104がシステムバス101に接続されている。ここで、CPU102は、ROM103に格納されたシステムプログラムをRAM104に読み出して実行する。RAM104は、システムプログラムを実行時に使用される主記憶装置である。
[First Embodiment]
FIG. 1 is a block diagram illustrating an example of a configuration of a network communication apparatus according to the first embodiment. As shown in FIG. 1, a CPU 102, a ROM 103, and a RAM 104 are connected to the system bus 101. Here, the CPU 102 reads the system program stored in the ROM 103 into the RAM 104 and executes it. The RAM 104 is a main storage device used when executing the system program.

105に示すブロックは、本発明に係るIPプロトコル処理装置であり、システムバス101に接続されている。IPプロトコル処理装置105は、CPU102によって実行されるアプリケーションの通信に必要なTCP/IPプロトコル処理、及びネットワーク117へのデータ送受信を実行する。   Reference numeral 105 denotes an IP protocol processing apparatus according to the present invention, which is connected to the system bus 101. The IP protocol processing device 105 executes TCP / IP protocol processing necessary for application communication executed by the CPU 102 and data transmission / reception to / from the network 117.

IPプロトコル処理装置105において、バスブリッジ回路107は、内部のローカルバス106をシステムバス101に接続するもので、ローカルバス106とシステムバス101間のデータ転送が可能である。そして、IPプロトコル処理装置105と、CPU102、ROM104、RAM104で構成される外部のシステムとは、それぞれのバス回路が相互に接続されて通信データや制御データの入出力をバス転送によって行える仕組みになっている。   In the IP protocol processing device 105, the bus bridge circuit 107 connects the internal local bus 106 to the system bus 101 and can transfer data between the local bus 106 and the system bus 101. The IP protocol processing device 105 and an external system composed of the CPU 102, the ROM 104, and the RAM 104 are connected to each other so that communication data and control data can be input and output by bus transfer. ing.

また、TCP/IPプロトコル処理を実行するための2つのローカルプロセッサ108、109、ローカルRAM110、データ転送を行うためのDMAコントローラ(DMAC)111がローカルバス106に接続されている。更に、IPリアセンブルのビットテーブル処理を実行するリアセンブルビットマップコントローラ(RBMC)112、プロトコル処理のタイマー処理に利用する通信タイマー113がローカルバス106に接続されている。更に、プロトコル処理の様々な管理情報の格納と検索を行うための連想メモリであるCAM(Content Addressable Memory)114がローカルバス106に接続されている。更に、暗号化通信処理に必要な暗号化/復号化の計算処理を実行する暗号処理部115、ネットワーク117に対してデータ送受信を行う通信制御部116がローカルバス106に接続されている。   Further, two local processors 108 and 109 for executing TCP / IP protocol processing, a local RAM 110, and a DMA controller (DMAC) 111 for transferring data are connected to the local bus 106. Further, a reassembly bitmap controller (RBMC) 112 for executing IP reassembly bit table processing and a communication timer 113 used for protocol processing timer processing are connected to the local bus 106. Further, a CAM (Content Addressable Memory) 114 which is an associative memory for storing and retrieving various management information for protocol processing is connected to the local bus 106. Further, an encryption processing unit 115 that executes encryption / decryption calculation processing necessary for encrypted communication processing, and a communication control unit 116 that transmits and receives data to and from the network 117 are connected to the local bus 106.

IPプロトコル処理装置105は、IPプロトコル処理を複数のプロセッサ処理による並列処理で実行する。更に、111から115の各ハードウェア処理部を利用し、TCP/IPプロトコルのパケット送受信と、送信フロー制御や輻輳制御、通信エラー制御、更にIPsecやSSL/TLS等の暗号通信プロトコル処理を実行する。   The IP protocol processing device 105 executes IP protocol processing by parallel processing using a plurality of processor processes. Furthermore, using each hardware processing unit 111 to 115, TCP / IP protocol packet transmission / reception, transmission flow control, congestion control, communication error control, and encryption communication protocol processing such as IPsec and SSL / TLS are executed. .

また、ローカルプロセッサ108、109が実行するプログラムはROM103に保存されており、IPプロトコル処理装置105の起動時にローカルRAM109上にコピーされる。ローカルプロセッサ108、109は、ローカルRAM109からプログラムを読み出して実行する。   The programs executed by the local processors 108 and 109 are stored in the ROM 103 and are copied onto the local RAM 109 when the IP protocol processing apparatus 105 is activated. The local processors 108 and 109 read the program from the local RAM 109 and execute it.

尚、図1では、2個のローカルプロセッサ108、109が図示されているが、ソフトウェア処理を実行するプロセッサの個数は2つに限定されるものではない。   In FIG. 1, two local processors 108 and 109 are shown, but the number of processors that execute software processing is not limited to two.

DMAC111は、IPプロトコル処理装置105の内部又は外部のメモリデバイスやハードウェアモジュール間における送受信データや制御データの転送処理を行う。RBMC112は、ビットマップ方式(RFC791)のIPリアセンブルアルゴリズムで使用するビットテーブルのビット操作処理や、RAM104との間でビットテーブルのデータ転送を行う。   The DMAC 111 performs transfer processing of transmission / reception data and control data between memory modules and hardware modules inside or outside the IP protocol processing apparatus 105. The RBMC 112 performs bit manipulation processing of a bit table used in a bitmap (RFC 791) IP reassembly algorithm, and transfers bit table data to and from the RAM 104.

通信タイマー113は、IPリアセンブルにおけるタイムアウト時間の計測や、TCPプロトコル通信における再送処理、確認応答送信などの各種タイマーで必要な時間計測のように、IPプロトコル処理における様々なタイムアウト処理に利用される。暗号処理部115は、IPSecやSSL(Secure Socket Layer)/TLS(Transport Layer Security)などの暗号通信プロトコル処理で処理負荷が大きい暗号化/復号化の演算処理を実行する。   The communication timer 113 is used for various timeout processing in IP protocol processing, such as measurement of timeout time in IP reassembly, time measurement required for various timers such as retransmission processing in TCP protocol communication, and transmission of acknowledgment response. . The encryption processing unit 115 executes encryption / decryption calculation processing with a heavy processing load in encryption communication protocol processing such as IPSec and SSL (Secure Socket Layer) / TLS (Transport Layer Security).

通信制御部116は、ネットワーク117のMAC処理(伝送メディア制御処理)や、フレームデータの送受信を行う機能が実装される。ネットワーク117は、例えばイーサネット(登録商標)のような有線ネットワークであるが、無線ネットワークや、光ファイバーネットワーク等であっても良い。   The communication control unit 116 is equipped with functions for performing MAC processing (transmission media control processing) of the network 117 and transmission / reception of frame data. The network 117 is a wired network such as Ethernet (registered trademark), but may be a wireless network, an optical fiber network, or the like.

ここで、RBMC112の実施構成の一例を、図2を参照して説明する。図2は、第1の実施形態におけるRBMCの構成の一例を表すブロック図である。   Here, an example of an implementation configuration of the RBMC 112 will be described with reference to FIG. FIG. 2 is a block diagram illustrating an example of the configuration of the RBMC in the first embodiment.

RBMC112は、レジスタ201、リソース管理部202、内部メモリ(SRAM)203、ビット処理部204、DMA機能部205で構成される。まず、レジスタ201はRBMC112の設定や起動などの制御インタフェースであり、複数のレジスタセットである。そして、このレジスタ201に対してローカルプロセッサ108、109が読み書きを行い、RBMC112を設定、制御する。   The RBMC 112 includes a register 201, a resource management unit 202, an internal memory (SRAM) 203, a bit processing unit 204, and a DMA function unit 205. First, the register 201 is a control interface for setting and starting the RBMC 112, and is a plurality of register sets. The local processors 108 and 109 read from and write to the register 201 to set and control the RBMC 112.

リソース管理部202は、複数のビットテーブルのデータ管理を行う。管理情報データは、図1に示すローカルRAM109に記憶される。ビット処理部204は、内部メモリ203に格納されたビットテーブルデータの任意の範囲に対してビット操作処理を行う。このビット操作処理には、任意長のビット列に対して全ビットを1にセット、全ビットを0にクリア、値が1であるビット数のカウント、全ビットを1にセットしたときに0から1に変化したビット数のカウントが含まれる。   The resource management unit 202 performs data management of a plurality of bit tables. The management information data is stored in the local RAM 109 shown in FIG. The bit processing unit 204 performs bit operation processing on an arbitrary range of bit table data stored in the internal memory 203. In this bit manipulation processing, all bits are set to 1 for a bit string of arbitrary length, all bits are cleared to 0, the number of bits having a value of 1 is counted, and when all bits are set to 1, 0 to 1 Contains a count of the number of bits changed.

内部メモリ203は、この例ではアクセス遅延が非常に小さいメモリとして実装される。RBMC112は、内部メモリ203上にビット処理部204がビット操作処理を行うビットテーブルデータを一時格納する。ビット処理部204のビット操作処理において、内部メモリ203に対してデータの読み書きが実行される。   In this example, the internal memory 203 is implemented as a memory having a very small access delay. The RBMC 112 temporarily stores bit table data on which the bit processing unit 204 performs bit operation processing on the internal memory 203. In the bit operation processing of the bit processing unit 204, data is read from and written to the internal memory 203.

DMA機能部205は、リソース管理部202によって制御され、内部メモリ203とRBMC112の外部にあるメモリとの間でビットテーブルのデータ転送を実行する。   The DMA function unit 205 is controlled by the resource management unit 202 and executes bit table data transfer between the internal memory 203 and a memory outside the RBMC 112.

以上の構成において、IPリアセンブルのビットテーブルをRAM104に確保する。そして、RBMC112がビットテーブルのビット操作処理を行うときには対象のビットテーブルデータを内部メモリ203に一時格納し、一時格納したビットテーブルデータに対してビット操作処理を実行する。   In the above configuration, an IP reassembly bit table is secured in the RAM 104. When the RBMC 112 performs bit manipulation processing of the bit table, the target bit table data is temporarily stored in the internal memory 203, and the bit manipulation processing is executed on the temporarily stored bit table data.

ここで、IPリアセンブルのビットテーブルのビット操作処理を、図3を参照して説明する。IPリアセンブルで使用するビットテーブルは、先頭ビットから順番に各ビットが分割元IPパケットのペイロードの先頭から8オクテット毎にマッピングされる。即ち、各ビットは、IPリアセンブルによって対応する8オクテットが受信済みであるか否かを記憶しておくフラグである。例えば、図3に示すビットテーブル301で、値が1であるビットが対応する8オクテットは、既に受信済みであることを表している。   Here, the bit manipulation processing of the IP reassembly bit table will be described with reference to FIG. In the bit table used in IP reassembly, each bit is mapped every 8 octets from the top of the payload of the source IP packet in order from the top bit. That is, each bit is a flag for storing whether or not the corresponding 8 octets have been received by IP reassembly. For example, in the bit table 301 shown in FIG. 3, 8 octets corresponding to a bit having a value of 1 indicate that it has already been received.

IPリアセンブルでは、受信したフラグメントパケットのIPヘッダの内容から、そのフラグメントパケットが運ぶフラグメントデータについて、分割前のIPパケットのペイロードにおけるフラグメントオフセットとフラグメントサイズを得ることができる。この情報を元に、受信したフラグメントデータが対応するビット範囲の各ビットを、受信済みを表す1に書き込んでいく。また、最後尾のフラグメントパケットを受信すると、分割元のIPパケットの全長を得ることができ、ビットテーブル上で必要なビット幅が確定する。従って、分割元IPパケットのペイロード長分のビット列が全て値1で埋まったとき、分割元のIPパケットを構成する全てのフラグメントデータを受信したことになる。   In IP reassembly, the fragment offset and fragment size in the payload of the IP packet before division can be obtained from the contents of the IP header of the received fragment packet for the fragment data carried by the fragment packet. Based on this information, each bit in the bit range corresponding to the received fragment data is written to 1 indicating reception completion. When the last fragment packet is received, the total length of the source IP packet can be obtained, and the necessary bit width is determined on the bit table. Therefore, when all the bit strings corresponding to the payload length of the segmentation source IP packet are filled with the value 1, all fragment data constituting the segmentation source IP packet are received.

図3に示す例では、301のビットテーブルで、303は受信したフラグメントデータの分割元IPパケットペイロードにおけるオフセット位置を表し、304はフラグメントデータに対応するビット幅を表している。ここで、ビットテーブルはフラグメントされたIPパケットの受信状況を管理するためのテーブルである。   In the example shown in FIG. 3, reference numeral 301 denotes a bit table, where 303 represents an offset position in the fragmented IP packet payload of the received fragment data, and 304 represents a bit width corresponding to the fragment data. Here, the bit table is a table for managing the reception status of fragmented IP packets.

ビット処理部204は、フラグメントデータを受信すると、303の位置から304の幅だけ各ビットに1を書き込む。その結果、301のビットデータは302に示すように更新される。305に表す部分は、新規に0から1に変化したビットであることを表している。ビット処理部204はこのようなビット操作処理を実行する。   When the bit processing unit 204 receives the fragment data, the bit processing unit 204 writes 1 to each bit by the width of 304 from the position of 303. As a result, the bit data 301 is updated as indicated by 302. A portion represented by 305 represents a bit newly changed from 0 to 1. The bit processing unit 204 executes such bit operation processing.

また、ビット処理部204は値が0から1に変化したビット数をカウントし、RBMC112のレジスタ201に新規に受信したフラグメントデータサイズを設定する。   The bit processing unit 204 counts the number of bits whose value has changed from 0 to 1, and sets the newly received fragment data size in the register 201 of the RBMC 112.

上述したように、ビット処理部204は、アクセス遅延が小さい内部メモリ203上のデータに対してビット操作処理を行う。これにより、IPリアセンブルを高速化することができるため、内部メモリ203は、例えばSRAMを実装することが考えられる。   As described above, the bit processing unit 204 performs bit manipulation processing on data on the internal memory 203 with a small access delay. As a result, it is possible to increase the speed of IP reassembly, and therefore it is conceivable that the internal memory 203 is mounted with an SRAM, for example.

しかし、アクセス遅延の小さい内部メモリ203に、並行処理する全てのIPリアセンブルのビットテーブルを置くことは、並行処理可能なIPリアセンブル数に応じたメモリ容量が必要となり、メモリコストが非常に高くなってしまう。   However, placing all the IP reassembly bit tables for parallel processing in the internal memory 203 with a small access delay requires a memory capacity corresponding to the number of IP reassembly that can be processed in parallel, and the memory cost is very high. turn into.

従って、全てのビットテーブルはRAM104に確保し、IPリアセンブルで処理対象となるビットテーブルデータだけを内部メモリ203にコピーし、一時格納することで、内部メモリ203のメモリコストを抑えることができる。   Therefore, all the bit tables are secured in the RAM 104, and only the bit table data to be processed by IP reassembly is copied to the internal memory 203 and temporarily stored, so that the memory cost of the internal memory 203 can be suppressed.

第1の実施形態では、並行処理する各IPリアセンブルに対してIPリアセンブルIDという識別子を付与し、ビットテーブルに対応付けて管理する。そして、RAM104上のビットテーブルのうち、ビット操作処理の実行頻度が高いビットテーブルを内部メモリ203に一時格納しておくようにする。   In the first embodiment, an identifier called an IP reassembly ID is assigned to each IP reassembly to be processed in parallel, and managed in association with a bit table. Of the bit tables on the RAM 104, a bit table having a high frequency of bit operation processing is temporarily stored in the internal memory 203.

図4は、IPリアセンブルのビットテーブルをIPリアセンブル識別子で管理する状態を示す図である。この例では、ある時点において、RAM104上に処理途中であるN個のビットテーブルが確保されており、内部メモリ203には4個のビットテーブルが一時格納されている状態を示している。   FIG. 4 is a diagram showing a state in which the IP reassembly bit table is managed by the IP reassembly identifier. In this example, N bit tables that are being processed are secured on the RAM 104 at a certain point in time, and four bit tables are temporarily stored in the internal memory 203.

図4に示すように、RAM104には、405〜411に示すN個のビットテーブルが任意のメモリアドレスに配置されている。このうち、IPリアセンブルIDが1、3、M、N−1であるビットテーブル406、408、409、411が、それぞれ内部メモリ203の401、402、403、404に示す場所に一時格納されている。   As shown in FIG. 4, in the RAM 104, N bit tables indicated by 405 to 411 are arranged at arbitrary memory addresses. Among these, bit tables 406, 408, 409, and 411 having IP reassembly IDs of 1, 3, M, and N−1 are temporarily stored in locations indicated by 401, 402, 403, and 404 in the internal memory 203, respectively. Yes.

即ち、この内部メモリ203へのデータの格納方法は、ビットテーブルサイズを単位とするフルアソシエイティブ方式である。図4に示す内部メモリ203の使用例では、ある時点において、IPリアセンブルIDが1、3、M、N−1であるビットテーブルが内部メモリ203に置かれている。従って、その時点から次に受信するフラグメントパケットが、これらのIPリアセンブルの何れかであれば、RAM104から内部メモリ203にビットテーブルを転送する必要がない。   That is, the method for storing data in the internal memory 203 is a full associative method with the bit table size as a unit. In the usage example of the internal memory 203 shown in FIG. 4, a bit table having IP reassembly IDs of 1, 3, M, and N−1 is placed in the internal memory 203 at a certain time. Therefore, if the next fragment packet received from that point is one of these IP reassembles, there is no need to transfer the bit table from the RAM 104 to the internal memory 203.

しかしながら、内部メモリ203にビットテーブルを格納していないIPリアセンブルのフラグメントパケットを受信した場合、処理対象であるビットテーブルをRAM104から内部メモリ203にコピーする必要がある。また、例えば内部メモリ203にビットテーブルを格納する空きが無い場合、一時格納しているビットテーブルの何れかをRAM104に書き戻し、空いた場所に次の処理対象となるビットテーブルを一時格納する必要が生じる。   However, when an IP reassembly fragment packet that does not store a bit table in the internal memory 203 is received, it is necessary to copy the bit table to be processed from the RAM 104 to the internal memory 203. Further, for example, when there is no space for storing the bit table in the internal memory 203, it is necessary to write back one of the temporarily stored bit tables to the RAM 104 and temporarily store the bit table to be processed next in the vacant place. Occurs.

そのため、RBMC112内のリソース管理部202において、リアセンブルID毎にビットテーブルの管理を行う。リソース管理部202がIPリセンブルID毎に保持するビットテーブル管理情報70は、次の701〜710を含む。701はリアセンブルIDである。702はこのビットテーブルを使用するIPリアセンブルにおいて最後に処理したIPリアセンブルの処理時刻の記録である。703は最後に処理したIPリアセンブルの時間間隔(到着間隔)の記録である。704はRAM104にあるビットテーブルのメモリアドレスである。705は内部メモリ203にビットテーブルが一時格納されているか否かを示すフラグである。706〜710は内部メモリ203にビットテーブルを一時格納しているときに使用するパラメータである。   For this reason, the resource management unit 202 in the RBMC 112 manages the bit table for each reassembly ID. The bit table management information 70 that the resource management unit 202 holds for each IP reassembly ID includes the following 701 to 710. Reference numeral 701 denotes a reassembly ID. Reference numeral 702 denotes a record of the processing time of the IP reassembly processed last in the IP reassembly using this bit table. Reference numeral 703 denotes a record of the time interval (arrival interval) of the IP reassembly processed last. Reference numeral 704 denotes a memory address of the bit table in the RAM 104. Reference numeral 705 denotes a flag indicating whether or not the bit table is temporarily stored in the internal memory 203. Parameters 706 to 710 are used when the bit table is temporarily stored in the internal memory 203.

706は内部メモリ203上のビットテーブルデータのアドレスであり、707はその内部メモリ203上でのビットテーブルデータのサイズを示す。708はビットテーブルデータが内部メモリ203で変更されたかを示すフラグである。そして、709はビットテーブルの変更されたビット範囲の先頭位置を意味するオフセットアドレスであり、710は変更範囲を示すデータサイズである。各ビットテーブルの管理情報をローカルRAM110に保存し、RBMC112のリソース管理部202によって更新される。   Reference numeral 706 denotes an address of the bit table data on the internal memory 203, and reference numeral 707 denotes the size of the bit table data on the internal memory 203. A flag 708 indicates whether the bit table data has been changed in the internal memory 203. Reference numeral 709 denotes an offset address indicating the start position of the changed bit range of the bit table, and reference numeral 710 denotes a data size indicating the changed range. The management information of each bit table is stored in the local RAM 110 and updated by the resource management unit 202 of the RBMC 112.

リソース管理部202は、RAM104からビットテーブルデータを転送して内部メモリ203に格納するとき、ビットテーブルデータを一時格納する空きがあるか否かを、ビットテーブル管理情報をチェックして判定する。また、空きがない場合には、ビットテーブル管理情報にある最後に処理したIPリアセンブルの時間間隔703を比較し、最も長い到着間隔であるIPリアセンブルのビットテーブルを選択する。選択されたビットテーブルは内部メモリ203からRAM104にデータを書き戻し、内部メモリ203に空き領域を作成する。   When the bit management data is transferred from the RAM 104 and stored in the internal memory 203, the resource management unit 202 checks the bit table management information to determine whether or not there is a space for temporarily storing the bit table data. If there is no free space, the last processed IP reassembly time interval 703 in the bit table management information is compared, and the IP reassembly bit table having the longest arrival interval is selected. For the selected bit table, data is written back from the internal memory 203 to the RAM 104, and an empty area is created in the internal memory 203.

このようにして、IPリアセンブルでビットテーブルを内部メモリ203に一時格納していない場合にも、RAM104から内部メモリ203にビットテーブルデータを転送して一時格納することを実行する。   In this way, even when the bit table is not temporarily stored in the internal memory 203 by IP reassembly, the bit table data is transferred from the RAM 104 to the internal memory 203 and temporarily stored.

尚、内部メモリ203及びRAM104間のデータ転送は、RBMC112内のDMA機能部205が実行する。   Note that data transfer between the internal memory 203 and the RAM 104 is executed by the DMA function unit 205 in the RBMC 112.

次に、IPプロトコル処理装置105で実行されるIPリアセンブルの全体的な処理の流れを、図5を参照して説明する。図5は、IPリアセンブルにおけるDMAC111、RBMC112、ローカルプロセッサ108の時間的な処理シーケンスを示す図である。尚、図5に示す例は、受信IPパケットがフラグメントパケットであることを前提としたシーケンスである。   Next, the overall processing flow of IP reassembly executed by the IP protocol processing device 105 will be described with reference to FIG. FIG. 5 is a diagram showing a temporal processing sequence of the DMAC 111, the RBMC 112, and the local processor 108 in IP reassembly. Note that the example shown in FIG. 5 is a sequence on the assumption that the received IP packet is a fragment packet.

通信制御部116がIPパケットを受信すると、はじめにDMAC111がS501で受信IPパケットの転送を開始し、通信制御部116からRAM104へ転送が行われる。また、受信IPパケットの先頭からIPヘッダまでの部分に相当するサイズのデータはRAM104に転送されると共に、ローカルRAM110へも同時転送される。そして、S502でIPパケットの転送が、先頭のMACヘッダ(リンク層フレームのヘッダ)とIPヘッダ部分に相当するデータサイズまで終わると、ローカルプロセッサ108へ受信通知(S503)を行う。更に、DMAC111は通知を行った後も、S504で引き続きペイロード部分の転送を続行する。   When the communication control unit 116 receives the IP packet, first, the DMAC 111 starts transferring the received IP packet in S501, and the transfer is performed from the communication control unit 116 to the RAM 104. In addition, data having a size corresponding to the portion from the top of the received IP packet to the IP header is transferred to the RAM 104 and simultaneously transferred to the local RAM 110. When the transfer of the IP packet is completed in S502 up to the data size corresponding to the head MAC header (link layer frame header) and the IP header portion, a reception notification is sent to the local processor 108 (S503). Further, after the notification, the DMAC 111 continues to transfer the payload portion in S504.

一方、ローカルプロセッサ108は、S505でDMAC111からの通知を受けて、IPパケットの受信処理を開始する。即ち、ローカルプロセッサ108は受信IPパケット全体がRAM104に転送されるのを待たずに、IPパケットの受信処理を開始する。次に、ローカルプロセッサ108はS506でローカルRAM110に転送されたMACヘッダとIPヘッダの内容を解析する。ここで、宛先MACアドレス、宛先IPアドレスが受信可能であるかチェックする。更に、S506でIPパケットヘッダの内容に基づきフラグメントパケットであるかを判定する。   On the other hand, the local processor 108 receives the notification from the DMAC 111 in step S505, and starts IP packet reception processing. That is, the local processor 108 starts the IP packet reception process without waiting for the entire received IP packet to be transferred to the RAM 104. Next, the local processor 108 analyzes the contents of the MAC header and the IP header transferred to the local RAM 110 in S506. Here, it is checked whether the destination MAC address and the destination IP address can be received. In step S506, it is determined whether the packet is a fragment packet based on the contents of the IP packet header.

次に、S506でフラグメントパケットであることが判定されると、S507で、その受信フラグメントパケットを対象とするIPリアセンブルのリアセンブルIDの検索処理を行う。続いて、S508でRBMC112に対してS507で検索されたリアセンブルIDに対応するビットテーブルのプリロードを起動(S509)する。このプリロードは、処理対象のビットテーブルデータを内部メモリ203に一時格納する処理である。   Next, when it is determined in S506 that the packet is a fragment packet, in S507, the IP reassembly ID reassembly ID search process for the received fragment packet is performed. Subsequently, preloading of the bit table corresponding to the reassembly ID searched in S507 is activated for the RBMC 112 in S508 (S509). This preload is a process of temporarily storing the bit table data to be processed in the internal memory 203.

起動指示により、RBMC112は、S510で内部メモリ203にそのリアセンブルIDのビットテーブルが格納されているかを調べ、格納されていない場合はRAM104に確保されているビットテーブルを一時格納する。即ち、S510でRAM104と内部メモリ203の間でビットテーブルのデータ転送を行う。   In response to the activation instruction, the RBMC 112 checks whether the bit table of the reassembly ID is stored in the internal memory 203 in S510, and if not stored, temporarily stores the bit table secured in the RAM 104. That is, the bit table data is transferred between the RAM 104 and the internal memory 203 in S510.

一方、ローカルプロセッサ108は、RBMC112のプリロードを起動した後、その処理完了を待たずに、S511で受信IPパケット(即ちフラグメントパケット)のIPヘッダチェックサムの検証を実行する。IPヘッダのチェックサムが正しいならば、IPヘッダの内容が正しいので、そのIPパケットは受信可能であると判定する。   On the other hand, after starting the preloading of the RBMC 112, the local processor 108 performs verification of the IP header checksum of the received IP packet (that is, the fragment packet) in S511 without waiting for the completion of the processing. If the checksum of the IP header is correct, it is determined that the IP packet is receivable because the content of the IP header is correct.

次に、S512でRBMC112に対して、ビットテーブルへのビット操作処理を起動(S513)する。そして、ローカルプロセッサ108は、S514のビット操作処理の完了を待機する。   Next, in S512, the bit manipulation to the bit table is started for the RBMC 112 (S513). Then, the local processor 108 waits for completion of the bit operation processing in S514.

起動指示により、RBMC112は、S514で内部メモリ203に一時格納しておいたビットテーブルデータに対するビット操作処理を実施する。この処理でビット値を0から1に変更したビット数分のデータサイズ、即ち新規に受信したフラグメントサイズを、レジスタ201に設定し、処理完了を通知(S515)する。   In response to the activation instruction, the RBMC 112 performs bit manipulation processing on the bit table data temporarily stored in the internal memory 203 in S514. In this process, the data size corresponding to the number of bits whose bit value is changed from 0 to 1, that is, the newly received fragment size is set in the register 201, and the process completion is notified (S515).

ここで、ローカルプロセッサ108が通知を受信すると、IPリアセンブル処理で新規に受信したフラグメントデータサイズを得ることができる。   Here, when the local processor 108 receives the notification, the newly received fragment data size can be obtained by the IP reassembly process.

一方、DMAC111がS516で、受信IPパケットの全体をRAM104に転送し終えると、ローカルプロセッサ108に転送完了を通知(S517)する。これにより、ローカルプロセッサ108がS518でDMA転送完了通知を受信すると、ローカルプロセッサ108はこのIPパケットの受信処理を終了する。   On the other hand, when the DMAC 111 finishes transferring the entire received IP packet to the RAM 104 in S516, it notifies the local processor 108 of the transfer completion (S517). As a result, when the local processor 108 receives the DMA transfer completion notification in S518, the local processor 108 ends the IP packet reception process.

以上がIPプロトコル処理装置105で実行されるIPリアセンブルの全体的な処理の流れである。   The above is the overall processing flow of IP reassembly executed by the IP protocol processing device 105.

第1の実施形態では、S511でIPヘッダチェックサム検証後に受信IPパケットが受信可能であるかを判定している。しかし、その判定後のS514でIPリアセンブルのビットテーブルのビット操作処理に至った段階で、RBMC112が内部メモリ203にビットテーブルデータを格納するのではない。前段のS508でRBMC112にビットテーブルのプリロードを起動している。つまり、ローカルプロセッサ108がS511でIPヘッダチェックサムの検証を行っている間にRBMC112はS510でプリロード処理を実行する。   In the first embodiment, it is determined in step S511 whether the received IP packet can be received after the IP header checksum verification. However, the RBMC 112 does not store the bit table data in the internal memory 203 at the stage of the bit manipulation processing of the IP reassembly bit table in S514 after the determination. In step S508, the bit table preload is activated in the RBMC 112. That is, while the local processor 108 is verifying the IP header checksum in S511, the RBMC 112 executes preload processing in S510.

このような処理シーケンスにより、ローカルプロセッサ108のIPパケット受信処理とRBMC112のプリロード処理を並列的に実行する。これにより、RBMC112が内部メモリ203にビットテーブルデータを一時格納する際に、内部メモリ203とRAM104の間でデータ転送が発生したとしても、その時間的なオーバーヘッドは無視することができる。   With such a processing sequence, the IP packet reception processing of the local processor 108 and the preload processing of the RBMC 112 are executed in parallel. As a result, even when data transfer occurs between the internal memory 203 and the RAM 104 when the RBMC 112 temporarily stores the bit table data in the internal memory 203, the time overhead can be ignored.

S511の結果、IPパケットが受信可能であるならば、S512でIPリアセンブルを実行する。ここで、既に内部メモリ203にはビットテーブルデータが格納されているため、S514のビット操作処理は高速に実行される。もし、S511でIPパケットが受信不可と判定した場合でも、S510では内部メモリ203にビットテーブルデータを確保しただけであるため、ビットテーブルの状態を変更していないことは明白である。   As a result of S511, if an IP packet can be received, IP reassembly is executed in S512. Here, since the bit table data is already stored in the internal memory 203, the bit manipulation processing in S514 is executed at high speed. Even if it is determined in S511 that the IP packet cannot be received, it is clear that the bit table state is not changed because only the bit table data is secured in the internal memory 203 in S510.

次に、上述したIPリアセンブルの処理シーケンスにおけるS506〜S808で実行されるローカルプロセッサ108の処理を、図6及び図7を参照して詳しく説明する。   Next, the processing of the local processor 108 executed in S506 to S808 in the above-described IP reassembly processing sequence will be described in detail with reference to FIGS.

図6は、IPv4(IPバージョン4)パケットのIPヘッダのフォーマットを示す図である。IPパケットがフラグメントパケットであるか否かは、フラグメント継続フラグ606とフラグメントオフセット609で判定する。フラグメント継続フラグ606が1であれば、このIPパケットがフラグメントパケットであり、更に後続するフラグメントデータを運ぶ別のIPパケットが存在していることを示す。   FIG. 6 is a diagram showing a format of an IP header of an IPv4 (IP version 4) packet. Whether or not the IP packet is a fragment packet is determined by the fragment continuation flag 606 and the fragment offset 609. If the fragment continuation flag 606 is 1, it indicates that this IP packet is a fragment packet, and that there is another IP packet carrying subsequent fragment data.

また、フラグメント継続フラグ606が0であるが、フラグメントオフセット609が0でなければ、このIPパケットはフラグメントデータの最後尾を運ぶフラグメントパケットである。このような判定方法により、受信したIPパケットがフラグメントパケットであるかを判定する。   If the fragment continuation flag 606 is 0 but the fragment offset 609 is not 0, this IP packet is a fragment packet carrying the end of fragment data. With such a determination method, it is determined whether the received IP packet is a fragment packet.

また、同じ分割元パケットを構成するフラグメントパケットは、IPヘッダ内のIP識別子605、プロトコル611、送信元IPアドレス613、宛先IPアドレス614の4つのフィールド値が同一でなければならない。   In addition, fragment packets constituting the same fragment source packet must have the same four field values of the IP identifier 605, the protocol 611, the source IP address 613, and the destination IP address 614 in the IP header.

第1の実施形態では、これらの4つのパラメータとIPリアセンブルを識別するためのリアセンブルIDを関連付けてCAM114に検索エントリデータを保存する。この検索エントリデータの保存は、新規のIPリアセンブルを開始し、新規のリアセンブルIDを決定したときに実行する。また、フラグメントパケット受信時のIPリアセンブルの検索処理は、CAM114に対して、IPヘッダから得られる4つのフィールドを検索キーとしてリアセンブルIDを検索することである。この検索の結果、リアセンブルIDが見つからなかった場合は、新規のIPリアセンブルを開始し、新規のIPリアセンブルを決定する。   In the first embodiment, search entry data is stored in the CAM 114 by associating these four parameters with a reassembly ID for identifying IP reassembly. The search entry data is saved when a new IP reassembly is started and a new reassembly ID is determined. Also, the IP reassembly search process when a fragment packet is received is to search the CAM 114 for a reassembly ID using four fields obtained from the IP header as search keys. If no reassembling ID is found as a result of this search, a new IP reassembly is started and a new IP reassembly is determined.

図7は、ローカルプロセッサ108の処理(図5のS505〜S508)を示すフローチャートである。まずS701で、受信IPパケットのMACヘッダとIPヘッダの各種パラメータを読み出して取得する。次に、S702で宛先MACアドレスと宛先IPアドレスが受信可能であるかを判定する。判定した結果、受信できないアドレスである場合は、その受信パケットを破棄し、この処理を終了する。   FIG. 7 is a flowchart showing the processing of the local processor 108 (S505 to S508 in FIG. 5). First, in S701, the MAC header and various parameters of the IP header of the received IP packet are read and acquired. In step S702, it is determined whether the destination MAC address and the destination IP address can be received. As a result of the determination, if the address cannot be received, the received packet is discarded, and this process ends.

また、宛先MACアドレスと宛先IPアドレスが共に受信可能なアドレスである場合はS703へ処理を進める。このS703では、S701で取得したIPヘッダ内のフラグメント継続フラグ606とフラグメントオフセット609の値により、このIPパケットがフラグメントパケットであるか否かを調べる。ここで、フラグメントパケットでは無い場合、IPリアセンブルを実行しないで、通常のIPパケット受信の処理を実行する。   If the destination MAC address and the destination IP address are both receivable addresses, the process proceeds to S703. In S703, it is checked whether or not the IP packet is a fragment packet based on the values of the fragment continuation flag 606 and the fragment offset 609 in the IP header acquired in S701. If the packet is not a fragment packet, normal IP packet reception processing is executed without executing IP reassembly.

一方、S703でフラグメントパケットであると判定した場合はS704へ処理を進め、フラグメントパケットのリアセンブルIDを取得するために検索処理を実行する。尚、この検索処理については上述した通りであるので、その説明は省略する。   On the other hand, if it is determined in S703 that the packet is a fragment packet, the process proceeds to S704, and a search process is executed to obtain the reassembly ID of the fragment packet. Since this search process is as described above, its description is omitted.

続いて、S705でリアセンブルIDが検索できたか否かを判定し、検索できなかった場合はS706へ処理を進める。このS706では、フラグメントパケットは新規にIPリアセンブルを開始する必要があるので、新しいリアセンブルIDを決定する。そして、パケットのIP識別子、プロトコル、送信元IPアドレス、宛先IPアドレスの4つの値に新しいリアセンブルIDを関連付けて、CAM114に検索エントリを登録しておく。更に、新規のリアセンブルIDに対応するビットマップテーブルをRAM104上に確保する。続くS707では、S706で新規に決定したリアセンブルIDと、RAM104上に確保したビットテーブルのメモリアドレスをRBMC112のレジスタ201に設定する。このとき、RBMC112のリソース管理部202が新しいIPリアセンブルのビットテーブル管理情報をローカルRAM110に作成する。   Subsequently, in S705, it is determined whether or not the reassembly ID can be searched. If the reassembly ID cannot be searched, the process proceeds to S706. In S706, since the fragment packet needs to start a new IP reassembly, a new reassembly ID is determined. Then, a search entry is registered in the CAM 114 by associating a new reassembly ID with the four values of the packet IP identifier, protocol, source IP address, and destination IP address. Furthermore, a bitmap table corresponding to the new reassembly ID is secured on the RAM 104. In the subsequent S707, the reassembly ID newly determined in S706 and the memory address of the bit table secured on the RAM 104 are set in the register 201 of the RBMC 112. At this time, the resource management unit 202 of the RBMC 112 creates new IP reassembly bit table management information in the local RAM 110.

また、S705でリアセンブルIDが検索できた場合及びS707での処理を終了した場合はS708へ処理を進める。このS708では、リアセンブルID、IPヘッダから取得したフラグメントオフセット609、IPパケットのペイロードの長さであるフラグメントデータサイズ、RBMC112のレジスタ201に設定してプリロード処理を起動する。   If the reassembly ID can be searched in S705 and if the process in S707 is completed, the process proceeds to S708. In S708, the preload processing is started by setting the reassembly ID, the fragment offset 609 acquired from the IP header, the fragment data size that is the length of the payload of the IP packet, and the register 201 of the RBMC 112.

次に、上述したIPリアセンブルの処理シーケンスにおけるS510で実行されるRBMC112のビットテーブルのプリロード処理を、図8を用いて説明する。   Next, the bit table preload processing of the RBMC 112 executed in S510 in the above-described IP reassembly processing sequence will be described with reference to FIG.

図8は、ビットテーブルのプリロード処理を示すフローチャートである。まずS801では、レジスタ201に指定にされたリアセンブルIDに対応するビットテーブルが内部メモリ203に一時格納されているかを調べる。ここで、内部メモリ203に格納されていれば、この処理を終了する。   FIG. 8 is a flowchart showing bit table preload processing. First, in step S <b> 801, it is checked whether a bit table corresponding to the reassembly ID designated in the register 201 is temporarily stored in the internal memory 203. Here, if it is stored in the internal memory 203, this processing is terminated.

また、指定されたリアセンブルIDのビットテーブルが内部メモリ203に格納されていなければS802へ処理を進め、内部メモリ203にビットテーブルを格納する空きがあるか否かを調べる。もし空きがあればS807へ処理を進め、空きが無ければS803へ処理を進める。   If the bit table of the specified reassembly ID is not stored in the internal memory 203, the process proceeds to S802, and it is checked whether or not there is a free space for storing the bit table in the internal memory 203. If there is a vacancy, the process proceeds to S807, and if there is no vacancy, the process proceeds to S803.

S803では、内部メモリ203にビットテーブルを格納しているIPリアセンブルについて、各々が最後に処理されたときの前回処理からの時間間隔を比較し、最も時間間隔が長いIPリアセンブルを選択する。ここでは、リソース管理部202がIPリセンブルID毎に保持するビットテーブル管理情報70を参照し、内部メモリ格納フラグ705がオンであるビットテーブル管理情報の中で、最後に処理したIPリアセンブルの時間間隔703の値で比較する。即ち、ビットテーブル管理情報の703の値が最も大きいリアセンブルIDを選択する。   In step S803, for the IP reassembly in which the bit table is stored in the internal memory 203, the time interval from the previous process when each was last processed is compared, and the IP reassembly with the longest time interval is selected. Here, referring to the bit table management information 70 held by the resource management unit 202 for each IP reassembly ID, the time of the IP reassembly last processed in the bit table management information for which the internal memory storage flag 705 is on. Comparison is made with the value of the interval 703. That is, the reassembly ID having the largest value 703 in the bit table management information is selected.

次に、S804で、選択したリアセンブルIDの内部メモリ203上のビットテーブルが変更されたかを調べる。ここでは、選択されたリアセンブルIDのビットテーブル管理情報で708の内部メモリデータ変更フラグがオンであるかをチェックする。もし、変更されていればS805へ処理を進め、そうでなければS807へ処理を進める。   In step S804, it is checked whether the bit table on the internal memory 203 of the selected reassembly ID has been changed. Here, it is checked whether or not the internal memory data change flag 708 is on in the bit table management information of the selected reassembly ID. If changed, the process proceeds to S805, and if not, the process proceeds to S807.

S805では、選択されたリアセンブルIDの内部メモリ203上のビットテーブルが変更された範囲だけをRAM104上にあるビットテーブルに書き戻す処理を行う。RBMC112は、ビット操作処理の際、ビットテーブル管理情報の709のデータ変更オフセットと、710のデータ変更サイズを更新する。そのため、書き戻す必要のあるビットテーブルの変更部分は709から710の範囲である。ここでは、内部メモリ203上のビットテーブルの変更部分だけをRAM104上のビットテーブルに書き込んで反映する。   In step S <b> 805, only the range in which the bit table on the internal memory 203 of the selected reassembly ID is changed is written back to the bit table on the RAM 104. The RBMC 112 updates the data change offset 709 and the data change size 710 of the bit table management information during the bit manipulation process. Therefore, the changed portion of the bit table that needs to be written back is in the range of 709 to 710. Here, only the changed part of the bit table on the internal memory 203 is written and reflected in the bit table on the RAM 104.

次に、S806では、RAM104に書き戻したビットテーブルについて、管理情報の705から710の全てのフィールドをクリアし、S807へ処理を進める。   Next, in S806, all fields 705 to 710 of the management information are cleared for the bit table written back to the RAM 104, and the process proceeds to S807.

このS807では、指定されたリアセンブルIDのビットテーブルデータを内部メモリ203に読み込む。内部メモリ203上の読み込む場所は、S802で見つかった空きであるか、S803で選択したリアセンブルIDのビットテーブルがあった場所である。   In S807, the bit table data of the designated reassembly ID is read into the internal memory 203. The read location on the internal memory 203 is the location found in S802 or the location of the reassembly ID bit table selected in S803.

次に、S808で、レジスタ201に設定されたフラグメントオフセットとフラグメントデータサイズの範囲のビットテーブルデータを優先して先に、内部メモリ203に転送する。この部分以外のビットテーブルデータは後から転送する。これは、ビットテーブルの全体を内部メモリ203に転送する前に、ビット操作処理が起動された場合に、直ちにビット操作処理を行うことを可能にするためである。以上のようにして、ビットテーブルのプリロード処理が実行される。   In step S808, the bit table data in the range of the fragment offset and the fragment data size set in the register 201 is preferentially transferred to the internal memory 203 first. Bit table data other than this part is transferred later. This is to enable the bit manipulation process to be performed immediately when the bit manipulation process is activated before the entire bit table is transferred to the internal memory 203. The bit table preload process is executed as described above.

次に、上述したIPリアセンブルの処理シーケンスにおけるS514で実行されるRBMC112のビットテーブルのビット操作処理を、図9を用いて説明する。   Next, the bit manipulation processing of the bit table of the RBMC 112 executed in S514 in the above-described IP reassembly processing sequence will be described with reference to FIG.

図9は、ビットテーブルのビット操作処理を示すフローチャートである。まずS901で、通信タイマー113から現在のタイマー値を取得して現在時刻を求める。また、指定されたリアセンブルIDのビットテーブル管理情報中の最後に処理したIPリアセンブルの処理時刻702との差分値を求め、1個前に処理実行したIPフラグメントパケットとの時間間隔を取得する。そして、管理情報の702と703のフィールドを更新する。   FIG. 9 is a flowchart showing bit manipulation processing of the bit table. First, in S901, the current timer value is acquired from the communication timer 113 to obtain the current time. Also, a difference value from the processing time 702 of the IP reassembly processed last in the bit table management information of the specified reassembling ID is obtained, and the time interval with the IP fragment packet that has been processed one time before is acquired. . Then, the fields 702 and 703 of the management information are updated.

次に、S902で、指定されたリアセンブルIDのビットテーブルが内部メモリ203上に一時格納されているかを調べる。ここでは、RBMC112のリソース管理部202がそのリアセンブルIDのビットテーブル管理情報の内部メモリ格納フラグ705がオンであるかを調べ、オンであるときはS906へ処理を進め、オフであるならばS903へ処理を進める。   In step S <b> 902, it is checked whether the bit table of the designated reassembly ID is temporarily stored in the internal memory 203. Here, the resource management unit 202 of the RBMC 112 checks whether the internal memory storage flag 705 of the bit table management information of the reassembly ID is on. If it is on, the process proceeds to S906, and if it is off, the process proceeds to S903. Proceed to the process.

このS903では、RAM104にあるビットテーブルに対して直接ビット操作を施す処理モードとなる。次に、S904では、RAM104上のそのビットテーブルに対してレジスタ201に指定されたフラグメントオフセットと、フラグメントデータサイズに対応するビット範囲を1にセットする。そして、S905では、RAM104上のビットテーブルの中で0から1に変更されたビットの数をレジスタ201に設定して、S910へ処理を進める。   In S903, a processing mode is performed in which a bit operation is directly performed on the bit table in the RAM 104. In step S904, the fragment offset specified in the register 201 and the bit range corresponding to the fragment data size are set to 1 for the bit table on the RAM 104. In S905, the number of bits changed from 0 to 1 in the bit table on the RAM 104 is set in the register 201, and the process proceeds to S910.

一方、S906では、内部メモリ203上のビットテーブルデータに対してビット操作を施すモードとなる。次に、S907では、内部メモリ203上のそのビットテーブルに対してレジスタ201に指定されたフラグメントオフセットと、フラグメントデータサイズに対応するビット範囲を1にセットする。そして、S908では、RAM104上のビットテーブル中で0から1に変更されたビットの数をレジスタ201に設定する。次に、S909で、内部メモリ203上のビットテーブルで変更した部分のデータオフセットとサイズをビットテーブル管理情報の709と710にそれぞれ記録しておく。そして、S910へ処理を進める。   On the other hand, in S906, the bit table data on the internal memory 203 is set to a bit operation mode. Next, in S907, the fragment offset specified in the register 201 and the bit range corresponding to the fragment data size are set to 1 for the bit table on the internal memory 203. In step S <b> 908, the number of bits changed from 0 to 1 in the bit table on the RAM 104 is set in the register 201. In step S909, the data offset and size of the portion changed in the bit table on the internal memory 203 are recorded in the bit table management information 709 and 710, respectively. Then, the process proceeds to S910.

このS910では、ビット操作処理の終了をローカルプロセッサ108に通知し、この処理を終了する。   In S910, the end of the bit manipulation process is notified to the local processor 108, and this process is terminated.

尚、S902からS903へ処理を進める場合、アクセス遅延の大きいRAM104上のビットテーブルに対してビット操作処理を行う。そのため、S902からS906へ処理を進める、内部メモリ203にあるビットテーブルへのビット操作処理に比較して処理にかかる時間が大きくなってしまう。しかし、上述した図5に示すシーケンスのように、RBMC112のプリロード処理を実行するので、S902からS906へ処理を進めることになり、ビット操作処理を高速に行うことが可能である。   When the process proceeds from S902 to S903, a bit manipulation process is performed on the bit table on the RAM 104 having a large access delay. For this reason, the processing time is increased compared to the bit operation processing to the bit table in the internal memory 203 which advances the processing from S902 to S906. However, since the preload processing of the RBMC 112 is executed as in the sequence shown in FIG. 5 described above, the processing proceeds from S902 to S906, and the bit manipulation processing can be performed at high speed.

本実施形態によれば、RFC791に記載のIPリアセンブル方法において、RBMC112がアクセス遅延の小さい内部メモリ203にビットテーブルを一時格納してビット操作処理を行えるため、ビット操作処理の高速化を実現できる。   According to the present embodiment, in the IP reassembling method described in RFC 791, the RBMC 112 can temporarily store the bit table in the internal memory 203 with a small access delay and perform the bit operation processing, so that the speed of the bit operation processing can be realized. .

また、受信したフラグメントパケットのIPパケット受信処理の実行と、RBMC112のプリロード処理が並列処理化されるため、RBMC112が内部メモリ203にビットテーブルを格納するための時間的なオーバーヘッドを無視可能である。   Also, since the execution of the IP packet reception process for the received fragment packet and the preload process of the RBMC 112 are performed in parallel, the time overhead for the RBMC 112 to store the bit table in the internal memory 203 can be ignored.

更に、プリロード処理において、内部メモリ203に空きがない場合に、フラグメントパケットの時間的な到着間隔の大きいIPリアセンブルのビットマップテーブルをRAM104に書き戻すような制御を行う。それゆえ、フラグメントパケットの到着間隔の短い、即ちIPリアセンブルの処理頻度が高いビットテーブルを優先的に内部メモリ203に格納しておくことができ、RAM104と内部メモリ203間のビットテーブルのデータ転送を減らすことが可能となる。   Further, in the preload process, when there is no free space in the internal memory 203, control is performed to write back to the RAM 104 an IP reassembly bitmap table having a large arrival interval of fragment packets. Therefore, a bit table having a short fragment packet arrival interval, that is, a high frequency of IP reassembly processing can be preferentially stored in the internal memory 203, and bit table data transfer between the RAM 104 and the internal memory 203 can be performed. Can be reduced.

[第2の実施形態]
次に、図面を参照しながら本発明に係る第2の実施形態を詳細に説明する。尚、第2の実施形態におけるIPプロトコル装置の構成は、第1の実施形態で説明した図1及び図2と同様である。即ち、図1に示すIPプロトコル処理装置105、図2に示す内部構成は同じであり、リアセンブルビットマップコントローラ(RBMC)112も、第1の実施形態の構成と同じとする。
[Second Embodiment]
Next, a second embodiment according to the present invention will be described in detail with reference to the drawings. The configuration of the IP protocol device in the second embodiment is the same as that shown in FIGS. 1 and 2 described in the first embodiment. That is, the IP protocol processing apparatus 105 shown in FIG. 1 and the internal configuration shown in FIG. 2 are the same, and the reassembly bitmap controller (RBMC) 112 is also the same as the configuration of the first embodiment.

第1の実施形態では、RBMC112の内部メモリ203に並行して処理を行っている全ビットテーブルの中から、直近に処理されたIPリアセンブルの幾つかについてビットテーブルの全体データを内部メモリ203に一時格納していた。しかし、第2の実施形態では、内部メモリ203に一時格納するデータはRAM104上に確保している全ビットテーブルについて各々の一部データのみを一時格納する。   In the first embodiment, the entire bit table data is stored in the internal memory 203 for some of the most recently processed IP reassembly among all the bit tables processed in parallel with the internal memory 203 of the RBMC 112. It was temporarily stored. However, in the second embodiment, the data temporarily stored in the internal memory 203 temporarily stores only partial data of all bit tables secured on the RAM 104.

図10は、全ビットテーブルの一部分データのみを内部メモリ203に格納する状態を示す図である。1008〜1014はRAM104にN個のIPリアセンブルの全ビットテーブルが確保されていることを表している。また、内部メモリ203の1001〜1007には、ビットテーブル1008〜1014における一部データのみが格納されていることを表している。   FIG. 10 is a diagram showing a state in which only partial data of all bit tables is stored in the internal memory 203. Reference numerals 1008 to 1014 denote that all bit tables of N IP reassembly are secured in the RAM 104. Further, it is shown that only partial data in the bit tables 1008 to 1014 are stored in 1001 to 1007 of the internal memory 203.

この例では、リアセンブルIDが0のビットテーブル1008の一部データが1001に格納されており、リアセンブルIDがMのビットテーブル1012の一部データが1005に格納されている。   In this example, partial data of the bit table 1008 with a reassembly ID of 0 is stored in 1001, and partial data of the bit table 1012 with a reassembly ID of M is stored in 1005.

尚、内部メモリ203への格納方式はダイレクトマップ方式とする。即ち、内部メモリ203では、各ビットテーブルの一部データの格納場所とサイズを固定に定義し、個々の格納場所に格納する対象データは、RAM104上に確保された各ビットテーブルの1Kオクテットの範囲に限定化する。   The storage method in the internal memory 203 is a direct map method. That is, in the internal memory 203, the storage location and size of a part of each bit table are defined as fixed, and the target data stored in each storage location is the range of 1K octets of each bit table secured on the RAM 104. Limited to

このような内部メモリ203の格納方法では、格納するデータサイズを小さくすることで、内部メモリ203に必要なメモリサイズを小さくすることが可能である。また、内部メモリ203に格納するデータサイズを1回のIPリアセンブルに必要となる最大サイズ分を格納するようにする。これにより、RBMC112のプリロード処理でRAM104と内部メモリ203間で転送するデータサイズを、ビットテーブル全体を転送するよりも小さくすることが可能である。   In such a storage method of the internal memory 203, the memory size required for the internal memory 203 can be reduced by reducing the size of data to be stored. Further, the maximum data size required for one IP reassembly is stored as the data size stored in the internal memory 203. As a result, the data size transferred between the RAM 104 and the internal memory 203 in the preload processing of the RBMC 112 can be made smaller than when the entire bit table is transferred.

ここで、内部メモリ203に格納するサイズは、IPプロトコル処理装置105が接続するネットワークのMTU値を元にして決定する。例えば、一般的なイーサネット(登録商標)の場合、MTUは1500であるので、1つのIPパケットが運ぶペイロードの最大長は、IPヘッダの最小サイズを引いた1480である。   Here, the size stored in the internal memory 203 is determined based on the MTU value of the network to which the IP protocol processing apparatus 105 is connected. For example, in the case of a general Ethernet (registered trademark), since the MTU is 1500, the maximum length of the payload carried by one IP packet is 1480 minus the minimum size of the IP header.

よって、1つのフラグメントパケットが運ぶフラグメントデータは最大長が1480となり、必要なビットテーブルデータは185ビットである。つまり、各ビットテーブルについて24バイト(192ビット)分のビットデータを格納すれば、1回のフラグメントパケットのIPリアセンブルでは十分なデータサイズになる。   Therefore, the fragment data carried by one fragment packet has a maximum length of 1480, and the necessary bit table data is 185 bits. That is, if bit data for 24 bytes (192 bits) is stored for each bit table, the data size is sufficient for IP reassembly of one fragment packet.

また、第1の実施形態では、ビットテーブル全体を内部メモリ203に一時格納しているが、1つのビットテーブルに必要なサイズは1Kバイト(8192ビット)であるため、約40倍の個数のビットテーブルを一時格納することが可能とある。   In the first embodiment, the entire bit table is temporarily stored in the internal memory 203. Since the size required for one bit table is 1 Kbyte (8192 bits), the number of bits is approximately 40 times as many. It is possible to temporarily store the table.

しかしながら、第1の実施形態では、RBMC112のプリロード処理で、既に内部メモリ203にビットテーブルが確保されている場合は、RAM104からビットテーブルデータを転送する必要が無かった。つまり、同じIPリアセンブルが、連続的に処理する場合や、単位時間当たりの実行頻度が大きい場合には、ビットテーブルデータの転送回数を減らす効果がある。   However, in the first embodiment, it is not necessary to transfer the bit table data from the RAM 104 when the bit table is already secured in the internal memory 203 by the preload processing of the RBMC 112. That is, when the same IP reassembly is processed continuously or when the execution frequency per unit time is large, there is an effect of reducing the number of bit table data transfers.

逆に、第2の実施形態の方法は、フラグメントパケットが重複するフラグメントデータを持つことが頻発する状況でない限り、毎回のIPリアセンブルにおいてRAM104と内部メモリ203へのデータ転送が発生してしまう。   On the contrary, in the method of the second embodiment, data transfer to the RAM 104 and the internal memory 203 occurs in each IP reassembly unless the fragment packet frequently has overlapping fragment data.

しかし、ビットテーブルデータの転送サイズが小さく、また、前述したようにIPリアセンブルが、ローカルプロセッサ108のIPパケット受信処理と、RBMC112のプリロード処理が並列的に実行される。   However, the transfer size of the bit table data is small, and as described above, the IP reassembly is performed in parallel with the IP packet reception process of the local processor 108 and the preload process of the RBMC 112.

このことから、RAM104と内部メモリ203間のビットテーブルデータ転送にかかる時間的オーバーヘッドは無視でき、IPリアセンブル処理速度の低下にはならない。   Therefore, the time overhead required to transfer the bit table data between the RAM 104 and the internal memory 203 can be ignored, and the IP reassembly processing speed does not decrease.

また、同時に並行処理可能なIPリアセンブルの数により、アクセス遅延の小さい内部メモリ203にかかるメモリコストを低減することが可能になる。   In addition, the number of IP reassembling processes that can be performed in parallel can reduce the memory cost of the internal memory 203 with a small access delay.

[第3の実施形態]
次に、図面を参照しながら本発明に係る第3の実施形態を詳細に説明する。尚、第3の実施形態におけるIPプロトコル装置の構成は、第1の実施形態で説明した図1と同様である。即ち、図1に示すIPプロトコル処理装置105の内部構成は同じである。しかし、第1の実施形態で説明したリアセンブルビットマップコントローラ(RBMC)の内部構成が異なる。
[Third Embodiment]
Next, a third embodiment according to the present invention will be described in detail with reference to the drawings. Note that the configuration of the IP protocol device in the third embodiment is the same as that of FIG. 1 described in the first embodiment. That is, the internal configuration of the IP protocol processing apparatus 105 shown in FIG. 1 is the same. However, the internal configuration of the reassembly bitmap controller (RBMC) described in the first embodiment is different.

図11は、第3の実施形態におけるRBMCの構成の一例を示す図である。1100は図2に示すRBMC112に相当する第3の実施形態におけるRBMCである。RBMC1100は、レジスタ201、リソース管理部202、1次内部メモリ1101、ビット処理部204、DMA機能部205、2次内部メモリ1102で構成される。尚、図2に示す構成と同様なものには同一の符号を付している。   FIG. 11 is a diagram illustrating an example of the configuration of the RBMC in the third embodiment. Reference numeral 1100 denotes an RBMC in the third embodiment corresponding to the RBMC 112 shown in FIG. The RBMC 1100 includes a register 201, a resource management unit 202, a primary internal memory 1101, a bit processing unit 204, a DMA function unit 205, and a secondary internal memory 1102. In addition, the same code | symbol is attached | subjected to the thing similar to the structure shown in FIG.

RBMC1100の構成において、第1の実施形態との違いは、内部メモリ203を、1次内部メモリ1101と2次内部メモリ1102の2つとしたことである。   In the configuration of the RBMC 1100, the difference from the first embodiment is that the internal memory 203 includes two parts, a primary internal memory 1101 and a secondary internal memory 1102.

図12は、第3の実施形態におけるビットテーブルデータの内部メモリへの格納方法を示す図である。RAM104には、並行して処理を行っている全てのIPリアセンブルのビットテーブル405〜411を確保している。そして、2次内部メモリ1102には、RAM104の任意のアドレスに確保されたビットテーブルの内、4個のビットテーブルが一時格納されている。図12に示す例では、リアセンブルIDが0、3、M、N−1の4個のビットテーブル405、408、409、411が2次内部メモリ1102の1209〜1212の場所に格納されている。更に、2次内部メモリ1102に一時格納されている各ビットテーブルの一部分データ1205〜1208が1次内部メモリ1101の1201〜1204に格納されている。   FIG. 12 is a diagram illustrating a method of storing bit table data in the internal memory according to the third embodiment. In the RAM 104, all the IP reassembly bit tables 405 to 411 that are processed in parallel are secured. The secondary internal memory 1102 temporarily stores four bit tables among bit tables secured at arbitrary addresses in the RAM 104. In the example shown in FIG. 12, four bit tables 405, 408, 409, and 411 with reassembly IDs 0, 3, M, and N−1 are stored in locations 1209 to 1212 of the secondary internal memory 1102. . Further, partial data 1205 to 1208 of each bit table temporarily stored in the secondary internal memory 1102 are stored in 1201 to 1204 of the primary internal memory 1101.

この格納方法は、1次内部メモリ1101への格納は2次内部メモリ1102に対するダイレクトマップ方式である。   In this storage method, storage in the primary internal memory 1101 is a direct map method for the secondary internal memory 1102.

また、2次内部メモリ1102への格納では、RAM104上の任意のアドレスに配置されたビットテーブルに対してビットテーブルサイズ単位でのフルアソシエイティブ方式である。   In addition, the storage in the secondary internal memory 1102 is a fully associative method in bit table size units with respect to a bit table arranged at an arbitrary address on the RAM 104.

このようなRBMC1100の構成及びビットテーブルデータの格納方法では、フラグメントパケットの到着間隔が短く、単位時間当たりのIPリアセンブル処理の回数が多いビットテーブルを優先して2次内部メモリ1102に格納しておく。このようにすることで、RAM104へのビットテーブルデータの転送を少なくすることが可能となる。   In the configuration of the RBMC 1100 and the bit table data storage method, a bit table having a short fragment packet arrival interval and a large number of IP reassembly processes per unit time is preferentially stored in the secondary internal memory 1102. deep. By doing so, it is possible to reduce the transfer of bit table data to the RAM 104.

更に、1次内部メモリ1101と2次内部メモリ1102の間では、ビットテーブルの中の一部データのみを転送するため、データ転送のオーバーヘッドを極小化できる。   Furthermore, since only a part of the data in the bit table is transferred between the primary internal memory 1101 and the secondary internal memory 1102, the overhead of data transfer can be minimized.

また、1次内部メモリ1101と2次内部メモリ1102は、RBMC1100内部で高速にデータ転送を行うことが可能である。よって、1次内部メモリ1101へのビット操作処理により書き込みが行われると同時に、2次内部メモリ1102に書き込むようにするライトスルー(write through)制御を行い、1次メモリ及び2次メモリ間のデータ同期制御を簡便化する。   Further, the primary internal memory 1101 and the secondary internal memory 1102 can transfer data at high speed within the RBMC 1100. Therefore, write-through control is performed so that data is written to the secondary internal memory 1102 at the same time that data is written to the primary internal memory 1101, and data between the primary memory and the secondary memory is recorded. Simplify synchronous control.

更に、IPリアセンブルで処理対象となるビットテーブルが2次内部メモリ1102に存在しない場合は、RAM104から処理対象の範囲のデータのみ直接、1次内部メモリ1101に直接転送することでプリロード処理を高速化する。このプリロード処理では、上述のライトスルー制御を行う場合、1次内部メモリ1101のデータは書き戻す必要がない。   Further, when the bit table to be processed by IP reassembly does not exist in the secondary internal memory 1102, only the data in the range to be processed is directly transferred from the RAM 104 to the primary internal memory 1101 so that the preload processing can be performed at high speed. Turn into. In this preloading process, it is not necessary to write back the data in the primary internal memory 1101 when performing the above write-through control.

このように、ビットマップテーブル方式のIPリアセンブルで複数のIPリアセンブルを並列的に実行する場合にも、ビットテーブルをアクセス遅延の小さいメモリ上に置いてビット操作処理の高速化とメモリに必要な容量を抑えることが可能となる。本発明はIPプロトコル通信を高速に実行する通信端末機器や、TOEにおいて好適である。   In this way, even when multiple IP reassembly is executed in parallel in the bitmap table type IP reassembly, the bit table is placed on a memory with a small access delay, and the bit operation processing is required to be accelerated and the memory is required. It becomes possible to suppress a large capacity. The present invention is suitable for a communication terminal device that performs IP protocol communication at high speed or in a TOE.

上述した実施形態によれば、ビットテーブルのビット操作処理をアクセス遅延の小さい第2の記憶手段に保持するデータに対して実行することで、IPリアセンブルの高速化を図ることができる。   According to the above-described embodiment, it is possible to increase the speed of IP reassembly by executing the bit manipulation processing of the bit table on the data held in the second storage unit with a small access delay.

また、処理途中である全てのIPリアセンブルのビットテーブルを第1の記憶手段に配置し、ビット操作を行うビットテーブルのデータだけをアクセス遅延の小さい第2の記憶手段に置くことで、第2の記憶手段に必要な記憶容量を少なくすることができる。例えば、第1の記憶手段にSDRAM、第2の記憶手段にSRAMを用い、一般にメモリコストが高価なSRAMを小容量で実装し、安価なSDRAMには少なくとも全ビットテーブルを保存可能な大容量で実装することでメモリコストを抑えることができる。つまり、IPリアセンブルの並行処理可能な数を低メモリコストで拡大することができる。   Also, all the IP reassembly bit tables that are in the process of processing are arranged in the first storage means, and only the bit table data for performing bit operations is placed in the second storage means with a small access delay, so that the second The storage capacity required for the storage means can be reduced. For example, an SDRAM is used as the first storage means and an SRAM is used as the second storage means. In general, an SRAM having a high memory cost is mounted in a small capacity, and an inexpensive SDRAM has a large capacity capable of storing at least all bit tables. By implementing it, memory cost can be reduced. That is, the number of IP reassembly processes that can be processed in parallel can be increased at a low memory cost.

更に、ビット操作処理を行うビットテーブルのデータを処理開始の事前に第2の記憶手段に用意し、フラグメントパケットの到着間隔が短いIPリアセンブルのビットテーブルデータを優先的に第2の記憶手段に保持する。これにより、第1の記憶手段と第2の記憶手段の間で発生するデータ転送の時間的なオーバーヘッドを平均的に小さくできるため、IPリアセンブルの処理高速化が可能となる。   Further, bit table data for performing bit manipulation processing is prepared in the second storage means in advance of processing start, and IP reassembled bit table data having a short fragment packet arrival interval is preferentially stored in the second storage means. Hold. As a result, the time overhead of data transfer occurring between the first storage means and the second storage means can be reduced on average, so that the processing speed of IP reassembly can be increased.

尚、本発明は複数の機器(例えば、ホストコンピュータ、インターフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、1つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用しても良い。   Even if the present invention is applied to a system constituted by a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), it is applied to an apparatus (for example, a copying machine, a facsimile machine, etc.) comprising a single device. It may be applied.

また、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(CPU若しくはMPU)が記録媒体に格納されたプログラムコードを読出し実行する。これによっても、本発明の目的が達成されることは言うまでもない。   In addition, a recording medium in which a program code of software for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (CPU or MPU) of the system or apparatus stores the program code stored in the recording medium. Read and execute. It goes without saying that the object of the present invention can also be achieved by this.

この場合、コンピュータ読み取り可能な記録媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。   In this case, the program code itself read from the computer-readable recording medium realizes the functions of the above-described embodiments, and the recording medium storing the program code constitutes the present invention.

このプログラムコードを供給するための記録媒体として、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a recording medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、次の場合も含まれることは言うまでもない。即ち、プログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理により前述した実施形態の機能が実現される場合である。   In addition, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the following cases are included. That is, based on the instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. .

更に、記録媒体から読出されたプログラムコードがコンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込む。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理により前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, the program code read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. After that, based on the instruction of the program code, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing. Needless to say.

第1の実施形態におけるネットワーク通信装置の構成の一例を表すブロック図である。It is a block diagram showing an example of a structure of the network communication apparatus in 1st Embodiment. 第1の実施形態におけるRBMCの構成の一例を表すブロック図である。It is a block diagram showing an example of composition of RBMC in a 1st embodiment. IPリアセンブルにおけるビットテーブルのビット操作処理を説明するための図である。It is a figure for demonstrating the bit operation process of the bit table in IP reassembly. IPリアセンブルのビットテーブルをIPリアセンブル識別子で管理する状態を示す図である。It is a figure which shows the state which manages the bit table of IP reassembly by an IP reassembly identifier. IPリアセンブルにおけるDMAC111、RBMC112、ローカルプロセッサ108の時間的な処理シーケンスを示す図である。It is a figure which shows the time processing sequence of DMAC111, RBMC112, and the local processor 108 in IP reassembly. IPv4(IPバージョン4)パケットのIPヘッダのフォーマットを示す図である。It is a figure which shows the format of the IP header of an IPv4 (IP version 4) packet. ローカルプロセッサ108の処理(図5のS505〜S508)を示すフローチャートである。6 is a flowchart showing processing of the local processor 108 (S505 to S508 in FIG. 5). ビットテーブルのプリロード処理を示すフローチャートである。It is a flowchart which shows the preload process of a bit table. ビットテーブルのビット操作処理を示すフローチャートである。It is a flowchart which shows the bit operation process of a bit table. 全ビットテーブルの一部分データのみを内部メモリ203に格納する状態を示す図である。It is a figure which shows the state which stores only the partial data of all the bit tables in the internal memory. 第3の実施形態におけるRBMCの構成の一例を示す図である。It is a figure which shows an example of a structure of RBMC in 3rd Embodiment. 第3の実施形態におけるビットテーブルデータの内部メモリへの格納方法を示す図である。It is a figure which shows the storage method to the internal memory of the bit table data in 3rd Embodiment.

符号の説明Explanation of symbols

101 システムバス
102 CPU
103 ROM
104 RAM
105 IPプロトコル処理装置
106 ローカルバス
107 バスブリッジ
108 ローカルプロセッサ
109 ローカルプロセッサ
110 ローカルRAM
111 DMAコントローラ(DMAC)
112 リアセンブルビットマップコントローラ(RBMC)
113 通信タイマー
114 CAM
115 暗号処理部
116 通信制御部
117 ネットワーク
201 レジスタ
202 リソース管理部
203 内部メモリ
204 ビット処理部
205 DMA機能部
101 System bus 102 CPU
103 ROM
104 RAM
105 IP protocol processor 106 Local bus 107 Bus bridge 108 Local processor 109 Local processor 110 Local RAM
111 DMA controller (DMAC)
112 Reassembling bitmap controller (RBMC)
113 Communication timer 114 CAM
115 Cryptographic Processing Unit 116 Communication Control Unit 117 Network 201 Register 202 Resource Management Unit 203 Internal Memory 204 Bit Processing Unit 205 DMA Function Unit

Claims (7)

フラグメントされたIPパケットの受信状況を管理するビットテーブルに基づいて前記IPパケットのリアセンブルを行うIPプロトコル処理装置であって、
複数のビットテーブルを記憶する第1の記憶手段と、
前記複数のビットテーブルの一部を記憶する第2の記憶手段と、
前記ビットテーブルに基づいて前記リアセンブルを行う際に、前記第1の記憶手段から第2の記憶手段へ前記リアセンブルの対象となるビットテーブルを転送する転送手段と、
前記転送手段で前記第2の記憶手段へ転送されたビットテーブルに基づいて前記フラグメントされたIPパケットをリアセンブル処理する処理手段と、
を有することを特徴とするIPプロトコル処理装置。
An IP protocol processing device for reassembling the IP packet based on a bit table for managing the reception status of the fragmented IP packet,
First storage means for storing a plurality of bit tables;
Second storage means for storing a part of the plurality of bit tables;
Transfer means for transferring the bit table to be reassembled from the first storage means to the second storage means when performing the reassembly based on the bit table;
Processing means for reassembling the fragmented IP packet based on the bit table transferred by the transfer means to the second storage means;
An IP protocol processing apparatus comprising:
前記第2の記憶手段は、前記第1の記憶手段よりもアクセス遅延が小さいことを特徴とする請求項1に記載のIPプロトコル処理装置。   The IP protocol processing apparatus according to claim 1, wherein the second storage unit has an access delay smaller than that of the first storage unit. 前記フラグメントされたIPパケットの到着間隔が短い場合に、前記対象となるビットテーブルを優先的に前記第2の記憶手段へ転送させるよう前記転送手段を制御する手段を更に有することを特徴とする請求項1又は2に記載のIPプロトコル処理装置。   The apparatus further comprises means for controlling the transfer means to preferentially transfer the target bit table to the second storage means when the arrival interval of the fragmented IP packet is short. Item 3. The IP protocol processing device according to Item 1 or 2. 前記転送手段は、前記ビットテーブルに含まれるデータを優先して前記第2の記憶手段へ転送させることを特徴とする請求項1乃至3の何れか1項に記載のIPプロトコル処理装置。   4. The IP protocol processing apparatus according to claim 1, wherein the transfer unit preferentially transfers data included in the bit table to the second storage unit. 5. 複数のビットテーブルを記憶する第1の記憶手段と、前記複数のビットテーブルの一部を記憶する第2の記憶手段とを有し、フラグメントされたIPパケットの受信状況を管理するビットテーブルに基づいて前記IPパケットのリアセンブルを行うIPプロトコル処理装置の処理方法であって、
前記ビットテーブルに基づいて前記リアセンブルを行う際に、前記第1の記憶手段から第2の記憶手段へ前記リアセンブルの対象となるビットテーブルを転送する転送工程と、
前記転送工程で前記第2の記憶手段へ転送されたビットテーブルに基づいて前記フラグメントされたIPパケットをリアセンブル処理する処理工程と、
を有することを特徴とするIPプロトコル処理装置の処理方法。
Based on a bit table that has first storage means for storing a plurality of bit tables and second storage means for storing a part of the plurality of bit tables, and that manages the reception status of fragmented IP packets A processing method of an IP protocol processing device for reassembling the IP packet,
A transfer step of transferring the bit table to be reassembled from the first storage means to the second storage means when performing the reassembly based on the bit table;
A processing step of reassembling the fragmented IP packet based on the bit table transferred to the second storage means in the transfer step;
A processing method for an IP protocol processing apparatus, comprising:
請求項1乃至4の何れか1項に記載のIPプロトコル処理装置としてコンピュータを機能させるためのプログラム。   The program for functioning a computer as an IP protocol processing apparatus of any one of Claims 1 thru | or 4. 請求項6に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 6 is recorded.
JP2008058703A 2008-03-07 2008-03-07 Processing apparatus and processing method thereof Expired - Fee Related JP5094482B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008058703A JP5094482B2 (en) 2008-03-07 2008-03-07 Processing apparatus and processing method thereof
US12/394,435 US7969977B2 (en) 2008-03-07 2009-02-27 Processing apparatus and method for processing IP packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008058703A JP5094482B2 (en) 2008-03-07 2008-03-07 Processing apparatus and processing method thereof

Publications (3)

Publication Number Publication Date
JP2009218743A true JP2009218743A (en) 2009-09-24
JP2009218743A5 JP2009218743A5 (en) 2011-04-14
JP5094482B2 JP5094482B2 (en) 2012-12-12

Family

ID=41053510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008058703A Expired - Fee Related JP5094482B2 (en) 2008-03-07 2008-03-07 Processing apparatus and processing method thereof

Country Status (2)

Country Link
US (1) US7969977B2 (en)
JP (1) JP5094482B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011035484A (en) * 2009-07-30 2011-02-17 Nec Commun Syst Ltd Packet receiving device, congestion state recovery method for packet buffer and program
JP2015136071A (en) * 2014-01-17 2015-07-27 キヤノン株式会社 Communication device, control method, and program

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5070125B2 (en) * 2008-05-19 2012-11-07 キヤノン株式会社 Reception device and method, communication system and method, and program
US10218756B2 (en) * 2012-01-06 2019-02-26 Comcast Cable Communications, Llc Streamlined delivery of video content
JP5812533B2 (en) * 2012-05-31 2015-11-17 株式会社日立製作所 Communication device and communication method
JP6192284B2 (en) 2012-10-15 2017-09-06 キヤノン株式会社 COMMUNICATION DEVICE AND ITS CONTROL METHOD
JP6600241B2 (en) * 2015-12-11 2019-10-30 キヤノン株式会社 Arithmetic apparatus, arithmetic method, and communication apparatus
CN112073436B (en) * 2020-09-28 2022-04-22 山东产研集成电路产业研究院有限公司 Method for reducing transmission delay of receiving channel in TOE

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05327771A (en) * 1992-05-27 1993-12-10 Toshiba Corp Packet making-up system
JPH11261649A (en) * 1998-03-12 1999-09-24 Hitachi Ltd Data processor and router bridge adopting the same
JP2006005878A (en) * 2004-06-21 2006-01-05 Fujitsu Ltd Control method for communication system, communication control apparatus, and program
JP2006014143A (en) * 2004-06-29 2006-01-12 Nec Corp Communication system equipped with off-road engine having execution function for communication low rank protocol and data dividing function for received data stream
JP2007274056A (en) * 2006-03-30 2007-10-18 Oki Electric Ind Co Ltd Datagram reassembling apparatus

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030007447A (en) * 2000-03-03 2003-01-23 테너 네트워크스, 인크. High-speed Data Processing Using Internal Processor Mermory Space
US20090161568A1 (en) * 2007-12-21 2009-06-25 Charles Kastner TCP data reassembly
US7245615B1 (en) * 2001-10-30 2007-07-17 Cisco Technology, Inc. Multi-link protocol reassembly assist in a parallel 1-D systolic array system
US7403999B2 (en) * 2001-12-28 2008-07-22 International Business Machines Corporation Classification support system and method for fragmented IP packets
US7346701B2 (en) * 2002-08-30 2008-03-18 Broadcom Corporation System and method for TCP offload
US7424571B2 (en) * 2004-07-27 2008-09-09 Gigafin Networks, Inc. Array machine context data memory
US7594002B1 (en) * 2003-02-14 2009-09-22 Istor Networks, Inc. Hardware-accelerated high availability integrated networked storage system
US7561573B2 (en) * 2005-03-23 2009-07-14 Fujitsu Limited Network adaptor, communication system and communication method
US20060274789A1 (en) * 2005-06-07 2006-12-07 Fong Pong Apparatus and methods for a high performance hardware network protocol processing engine
JP2007172008A (en) * 2005-12-19 2007-07-05 Sony Corp Information-processing system, receiver, and program
US7769015B2 (en) * 2007-09-11 2010-08-03 Liquid Computing Corporation High performance network adapter (HPNA)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05327771A (en) * 1992-05-27 1993-12-10 Toshiba Corp Packet making-up system
JPH11261649A (en) * 1998-03-12 1999-09-24 Hitachi Ltd Data processor and router bridge adopting the same
JP2006005878A (en) * 2004-06-21 2006-01-05 Fujitsu Ltd Control method for communication system, communication control apparatus, and program
JP2006014143A (en) * 2004-06-29 2006-01-12 Nec Corp Communication system equipped with off-road engine having execution function for communication low rank protocol and data dividing function for received data stream
JP2007274056A (en) * 2006-03-30 2007-10-18 Oki Electric Ind Co Ltd Datagram reassembling apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011035484A (en) * 2009-07-30 2011-02-17 Nec Commun Syst Ltd Packet receiving device, congestion state recovery method for packet buffer and program
JP2015136071A (en) * 2014-01-17 2015-07-27 キヤノン株式会社 Communication device, control method, and program

Also Published As

Publication number Publication date
US7969977B2 (en) 2011-06-28
JP5094482B2 (en) 2012-12-12
US20090225757A1 (en) 2009-09-10

Similar Documents

Publication Publication Date Title
JP5094482B2 (en) Processing apparatus and processing method thereof
JP4942375B2 (en) Network processing equipment
EP1787212B1 (en) Packet queuing, scheduling and ordering
US7535907B2 (en) TCP engine
US7561573B2 (en) Network adaptor, communication system and communication method
JP4504977B2 (en) Data processing for TCP connection using offload unit
CN102427446B (en) Packet coalescing
US9304939B2 (en) Method and multi-core communication processor for replacing data in system cache
US7260631B1 (en) System and method for receiving iSCSI protocol data units
US8661205B2 (en) Communication apparatus and information transfer method
US9866639B2 (en) Communication apparatus, information processor, communication method, and computer-readable storage medium
US9961147B2 (en) Communication apparatus, information processor, communication method, and computer-readable storage medium
JP4921142B2 (en) Communication device
US11336297B2 (en) DMA transfer apparatus, method of controlling the same, communication apparatus, method of controlling the same, and non-transitory computer-readable storage medium
JP4263718B2 (en) Communication processing apparatus and communication processing method
US20160057068A1 (en) System and method for transmitting data embedded into control information
US20090240925A1 (en) Device, method, and computer program product that process message
JP2007274056A (en) Datagram reassembling apparatus
JP2020088517A (en) Communication apparatus, and control method and program of communication apparatus
US20170265103A1 (en) Communication device, communication method, and non-transitory computer readable medium
US7733862B2 (en) Method and apparatus for implementing IPSec engine in IXDP2851
JP4321390B2 (en) Semiconductor integrated circuit
JP2005141677A (en) Communication library for ic card and the ic card
JP2019213059A (en) Communication device, control method of communication device, and program
JP2005184051A (en) Communication control apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110225

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120807

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: 20120817

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: 20120918

R151 Written notification of patent or utility model registration

Ref document number: 5094482

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees