TCP service device and method

A service device and task technology, applied in the TCP service field, can solve problems such as low processing efficiency and inability to allocate new tasks, and achieve the effects of simplifying processing procedures, achieving effective management, and ensuring efficiency

Active Publication Date: 2010-05-05
HUNDSUN TECH
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. The parent process generates a socket after receiving the connection request, and transfers the socket through sendmsg/recvmsg, and the processing efficiency is low;
[0008] 2. When the sub-processes have been assigned task...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • TCP service device and method
  • TCP service device and method
  • TCP service device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to enable those skilled in the art to better understand the solutions of the embodiments of the present invention, the embodiments of the present invention will be further described in detail below in conjunction with the drawings and implementations.

[0055] The TCP service device and method of the embodiment of the present invention adopts the "semi-synchronous / semi-asynchronous" working mode, pre-derived work process, and the management process captures the client connection request event, and then distributes it to the work process for receiving operation. The management process and the working process adopt the event-driven mode internally.

[0056] figure 1 It is a schematic structural diagram of a TCP server device according to an embodiment of the present invention.

[0057] In this embodiment, the TCP service device includes:

[0058] The receiving unit 100 , the management process unit 111 and at least one work process unit, for the convenience of de...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of TCP service, and discloses a TCP service device and a method. The device comprises a receiving unit, a manage progress unit and at least one work progress unit, wherein, the receiving unit is used for receiving a connection request initiated by a client, and putting the connection request into a kernel queue; the manage progress unit is used for checking the kernel queue, and distributing and processing the task of the connection request for the work progress unit after an unprocessed connection request is checked to be contained in the kernel queue, and updating the connection number of the work progress unit when receiving the notification sent after the work progress unit finishes the task; and the work progress unit is used for processing the task distributed by the manage progress unit and sending notification to the manage progress unit after finishing the task. By the invention, the processing efficiency of the TCP service can be improved, and the effective management of the TCP service can be realized.

Description

technical field [0001] The present invention relates to a TCP (Transmission Control Protocol, transmission control protocol) service technology, in particular to a TCP service device and method. Background technique [0002] TCP is a connection-oriented, reliable, and byte-stream-based transport layer communication protocol. In the simplified computer network OSI (Open System Interconnect, Open System Interconnect) model, it completes the fourth layer, which is the specified transport layer. function, UDP (User Datagram Protocol, User Datagram Protocol) is another important transport protocol in the same layer. [0003] In the Internet protocol suite, the TCP layer is an intermediate layer located above the IP layer and below the application layer. Reliable, pipe-like connections are often required between application layers of different hosts, but the IP layer does not provide such a flow mechanism, but provides unreliable packet switching. After the TCP connection is est...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08
Inventor 田欢春林建军
Owner HUNDSUN TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products