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

Method and device for rapidly processing data message in multi-core mode

A technology for processing data and managing messages, applied in the computer field, can solve the problems of complex data message processing process, slow processing speed of business messages, affecting the data processing performance of the central processor, etc. , the effect of reducing the number of copies

Inactive Publication Date: 2015-10-07
NAT COMP NETWORK & INFORMATION SECURITY MANAGEMENT CENT
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In addition, the processing of data packets is carried out in the user state. When the data packets are sent from the kernel state to the user state, they must first pass through the TCP / IP protocol stack, and there is an action of data copying. The entire data packet processing flow Relatively speaking, it is more complicated, and the processing speed of business messages is relatively slow, which affects the data processing performance of the central processing unit

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
  • Method and device for rapidly processing data message in multi-core mode
  • Method and device for rapidly processing data message in multi-core mode

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0023] Such as figure 1 As shown, the method for quickly processing data packets in the multi-core mode in this embodiment is implemented under the symmetric multiprocessing SMP architecture of the server, so that management packets and service packets can be processed separately. Specifically, as shown in the figure, the method includes a rule entry establishing step S10, a packet receiving step S20, and a forwarding step S30. Among them, the rule entry establishment step S10: send the management message to the user state running on at least one core in the multi-core, so that the user state program can establish a sending rule entry based on the management message, and the sending rule entry includes all business Packet features and corresponding sending rules. In multi-core mode, a CPU includes multiple cores, and data packets can be processed by a specified core, or distributed to all cores for simultaneous processing. During the specific execution process, the user can ...

no. 2 example

[0027] Such as figure 2 As shown, the device for rapidly processing data packets in the multi-core mode provided by the present invention includes a planning entry establishment module 100 , a packet receiving module 200 and a forwarding module 300 under the symmetric multiprocessing SMP architecture.

[0028]Specifically, the rule table item establishment module 100 is configured to send the management message to the user mode program running on at least one core in the multi-core, so that the user mode program establishes the sending rule table item based on the management message, and sends the rule table Items include the characteristics of all business packets and the corresponding sending rules. Preferably, the rule entry creation module 100 is further configured to send the management message to the user mode program running on at least one core among the multi-cores through the protocol stack. This increases the reliability of the management message transmission. Fu...

no. 3 example

[0032] The server provided in this embodiment includes an apparatus for rapidly processing data packets in multi-core mode as described in the second embodiment.

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 method and a device for rapidly processing data messages in a multi-core mode. The method comprises: a rule list item establishing step, a packet receiving step, and a transmit step. The rule list item establishing step comprises: sending a management message to user mode program which is operated in at least a core in a plurality of cores, so that the user mode program establishing sending rule list items based on the management message, the sending rule list items including characteristics of all service messages and sending rules corresponding to the service messages. The packet receiving step comprises: performing packet reception on real-time service messages from the hardware ports of a server, sending the real-time service messages to user mode program which is operated in at least a core except the core in the plurality of cores. The transmit step comprises: according to the characteristics of the real-time service messages, finding the sending rule list item, and transmitting the real-time service messages according to corresponding sending rules. Using the method can improve data message processing speed, and improve data processing capacity of a central processor.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for rapidly processing data packets in a multi-core mode. In addition, the invention also relates to a device for rapidly processing data packets in a multi-core mode. Background technique [0002] In the prior art, the central processing unit CPU first receives the data message through the socket, and then performs corresponding processing on the data message according to the type of the data message, wherein the data message includes a management message and a service message, and the management The data payload content of the message includes the sending rule table item. Before sending the business message, look up the rule table item according to the characteristics of the service message and forward it according to the corresponding rule. All the processing is done through the socket, because the socket is Running on the basis of the protocol stack, the whole pro...

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 Applications(China)
IPC IPC(8): G06F15/173
Inventor 周立邹昕张家琦金暐李应博朱小波
Owner NAT COMP NETWORK & INFORMATION SECURITY MANAGEMENT CENT