Abstract:
본 TOE(TCP Offload Engine)의 패킷 수신 하드웨어 장치 및 TOE 패킷 수신 하드웨어를 이용한 수신 시스템 및 방법에 관한 것으로, 더욱 상세하게는 IP 계층으로부터 수신되는 패킷의 종류를 분석하여 프로세서에서 직접 처리하기 위해 필요한 정보는 패킷 수신 하드웨어에 내장된 큐에 저장하여 프로세서가 직접 이용할 수 있도록 하고, 호스트메모리에 저장할 정보는 외부 메모리에 저장하여 프로세서에 의해 프로토콜 처리가 완료된 후에 호스트메모리로 전달하는 기술적 구성을 통해 프로세서가 실제 패킷의 수신시간과 비동기적으로 움직일 수 있고, 불필요한 정보를 처리하는 오버헤드를 줄일 수 있는 효과가 있다. TOE(TCP Offload Engine), 큐, 패킷 수신 하드웨어
Abstract:
A packet receiving hardware apparatus for a TCP(Transmission Control Protocol) offload engine and a system and a method by using a TOE(TCP Offload Engine) packet receiving hardware are provided to receive the normal packet effectively by analyzing the receiving packet and separately managing information needed in the processor from information stored in an external memory. A header process part(120) analyzes the header of a packet transmitted from an IP(Internet Protocol) layer, and classifies the packet, and extracts the information being transmitted to the processor and stores in a queue(130). A memory interface part(160) extracts the information being stored in a host memory from the packet according to the analysis result of the header process part and stores information being stored in the host memory in an external memory by using the address allocated from a memory table(170). The header process part comprises at least two queues so as for the queue to access to a receiving processor and a transmission processor respectively. The header process also stores a payload in the external memory by using a memory interface in case that the transmitted packet is the TCP packet having the payload or UDP(User Datagram Protocol) packet. A check sum calculator(140) calculates the check sum of a packet, and a packet reception controller(150) controls a header processor(120), a memory interface part(160) and the check sum calculator.
Abstract:
1. 청구범위에 기재된 발명이 속한 기술분야 본 발명은 전송 제어 프로토콜과 사용자 데이터그램 프로토콜의 소켓 검색 장치에 관한 것임. 2. 발명이 해결하려고 하는 기술적 과제 본 발명은 소켓의 개수를 1만개까지 허용하는 하드웨어에서 소켓 검색 시간을 줄이기 위하여 이진 검색(Binary Search) 알고리듬을 사용하고, 상기 이진 검색 알고리듬을 하드웨어로 구현하여 소켓 검색을 빠르게 할 수 있도록 도와주고, TCP 및 UDP 프로토콜의 경우 이진 트리(Binary Tree)의 관리를 위해 필요한 소켓의 생성, 제거, 검색 기능 및 리슨(Listen)/컨넥트(Connect) 등의 함수에 따른 기능을 모두 지원하여 소켓 아이디(ID)를 찾아내는 시간을 줄여 빠른 프로토콜 처리를 수행하기 위한 TCP와 UDP의 소켓 검색을 위한 소켓 검색 장치를 제공하는데 그 목적이 있음. 3. 발명의 해결방법의 요지 본 발명은 전송 제어 프로토콜(TCP)과 사용자 데이터그램 프로토콜(UDP)의 소켓 검색 장치에 있어서, 프로세서로부터 받은 명령 정보를 해석하여 하기 브랜치 테이블 관리 수단과 트리 테이블 관리 수단으로 명령을 전달하고, 하기 브랜치 테이블 관리 수단과 트리 테이블 관리 수단으로부터 결과를 받아 상기 프로세서로 결과를 보고하기 위한 마스터 관리 수단; 상기 마스터 관리 수단으로부터 명령을 받 아 브랜치 테이블을 관리하기 위한 브랜치 테이블 관리 수단; 및 이진 트리를 관리하기 위한 트리 테이블 관리 수단을 포함함. 4. 발명의 중요한 용도 본 발명은 네트워크 시스템 등에 이용됨. TCP, UDP, 소켓 검색, C10K, 브랜치, 노드, 이진 트리, 프로세서, TOE
Abstract:
A socket searching device for a TCP(Transmission Control Protocol) and a UDP(User Datagram Protocol) is provided to use binary search algorithm in order to reduce socket searching time, and to realize the binary search algorithm in hardware type, in order to quickly conduct a socket searching process, thereby carrying out a fast protocol processing function. A master module(201) interprets command information received from a processor to deliver a command to a tree table module(203) and a branch table module(202), and receives results from the branch table module(202) and the tree table module(203) to report the results to the processor. The branch table module(202) receives the command from the master module(201), and manages a branch table. The tree table module(203) manages a binary tree.
Abstract:
Provided is an apparatus for detection timeout of each channel, which is a socket connection, in a Transmission Control Protocol (TCP) Offload Engine (TOE) using TCP accelerating hardware, and a method thereof. The timer managing apparatus of the TOE using the TCP accelerating hardware, including: a command register for receiving a command for a retransmission timer or a delayed ACK timer from an embedded processor of the TOE; a finite state machine (FSM) for storing information of a timer in operation by analyzing the command for the retransmission timer or the delayed ACK timer stored in the command register and controlling an entire operation of the timer managing apparatus; and a timeout checker for checking timeout of a timer in operation by using the stored timer information and notifying the timeout to the FSM.