Unlock instant, AI-driven research and patent intelligence for your innovation.

Data packet transmission processing method and system

A processing method and data packet technology, applied in the field of data transmission, can solve problems such as communication server crashes, backlog of data packets, and business logic processing affecting communication server efficiency, so as to improve subcontracting efficiency, improve processing efficiency, and prevent communication server from crashing Effect

Active Publication Date: 2014-07-02
南通海赛未来数字科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the efficiency of subcontracting is slow, it will not only greatly reduce the efficiency of the communication server to process messages, but also cause a backlog of a large number of unprocessed data packets in the memory, causing the communication server to crash
In addition, the processing of business logic after data packet analysis also greatly affects the efficiency of the communication server

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
  • Data packet transmission processing method and system
  • Data packet transmission processing method and system
  • Data packet transmission processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0011] figure 1 Shown is a flowchart of a data packet transmission processing method provided according to a preferred embodiment of the present invention. Such as figure 1 As shown, the data packet transmission processing method provided by the preferred embodiment of the present invention includes steps 101-103.

[0012] In step 101, the Socket thread receives data packets to be processed. Specifically, after the Socket thread receives the pending data packet sent by the user, it takes out the preprocessing thread from the thread pool to perform subsequent steps, and the Socket thread immediately returns to continue the receiving task of the next pending data packet. In this way, the receiving ...

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 provides a data packet transmission processing method and system. The method comprises steps as follows: a Socket thread receives to-be-processed data packets; a preprocessing thread merges incomplete data packets read from a buffer zone and the to-be-processed data packets received by the Socket thread, and scans the merged data packets through a regular expression to judge whether the merged data packets are matched with a special data structure; if the merged data packets are matched with the special data structure, matched complete data packets are put into a receiving queue; and an executive device schedules the complete data packets from the receiving queue and calls for corresponding threads for processing according to the service types of the complete data packets, wherein each service type has a priority level, and different service types are correspondingly processed by different threads.

Description

technical field [0001] The invention belongs to the field of data transmission, in particular to a data packet transmission processing method and system. Background technique [0002] At present, the application program based on TCP network transmission will have sticky packets, that is, several data sent by the sender will be glued into one packet when received by the receiver. For this phenomenon of sticky packets, the communication server must separate the sticky packets, and then perform business logic processing. Since the communication server needs to perform sub-packet processing every time it receives a data packet, the efficiency of sub-packet processing becomes one of the key factors restricting the efficiency of the entire communication server. If the efficiency of subcontracting is slow, it will not only greatly reduce the efficiency of the communication server to process messages, but also cause a backlog of a large number of unprocessed data packets in the mem...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/70H04L12/861
Inventor 胡加明
Owner 南通海赛未来数字科技有限公司