Method, device and system for treating messages of multi-core system

A message processing, multi-core system technology, applied in transmission systems, digital transmission systems, data exchange networks, etc. Text processing performance, the effect of avoiding out-of-order phenomenon

Inactive Publication Date: 2011-05-11
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, during the research process of the present invention, the inventor found that the above-mentioned multi-core system based on the basic order preservation function has the following problems in the message processing method: there are some messages in the message that take a long time to process, for example: IP data security (IP Security; hereinafter referred to as:

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, device and system for treating messages of multi-core system
  • Method, device and system for treating messages of multi-core system
  • Method, device and system for treating messages of multi-core system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 1 It is a flow chart of the packet processing method of the multi-core system provided by Embodiment 1 of the present invention. Executing pre-processing of message forwarding is one of the basic functions of a multi-core system. The technical solution of this embodiment can be executed by an order-keeping module in a multi-core system. The order-keeping module can be implemented by hardware and / or software, and can usually be integrated in each nuclear unit. The method of this embodiment specifically includes the following steps:

[0034] Step 100, the order-preserving module marks continuous basic sequence numbers for the messages received through the network interface, and assigns the messages to the core unit for forwarding pre-processing;

[0035] The basic serial number is a serial number that increases continuously and is used to identify the order in which messages enter the multi-core system. Generally, it can be set to be recycled within a certain ran...

Embodiment 2

[0052] figure 2 It is a flowchart of a message processing method for a multi-core system provided in Embodiment 2 of the present invention. This embodiment may be based on Embodiment 1, and specifically includes the following steps:

[0053] Step 100, the order-preserving module marks continuous basic sequence numbers for the messages received through the network interface, and assigns the messages to the core unit for forwarding pre-processing;

[0054] Specifically, the core unit in the multi-core system performs forwarding pre-processing on the message allocated to itself. For example, the pre-forwarding process may include the conventional basic forwarding process, etc., and the core unit can determine the state information of the message according to the parameters such as the business type. Need to keep order or give up order.

[0055] Step 200, the order-preserving module identifies the message, and when the message is identified as a specific message, enter step C10,...

Embodiment 3

[0083] Figure 4 It is a flowchart of a message processing method for a multi-core system provided in Embodiment 3 of the present invention. This embodiment may be based on Embodiment 1, and specifically includes the following steps:

[0084] Step 100, the order-preserving module marks continuous basic sequence numbers for the messages received through the network interface, and assigns the messages to the core unit for forwarding pre-processing;

[0085] Step 200, the sequence-preserving module identifies the message, and when the message is recognized as a specific message, enter step C10, and when it is recognized that the message is a non-specific message, enter step C20;

[0086] Step C10, register the specific message in the basic sequence-preserving queue, record the state information in the serial number unit corresponding to the basic serial number of the specific message as specific, and enter step A10;

[0087] Step C20, when the order-preserving module recognizes ...

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 embodiment of the invention relates to a method, a device, and a system for processing messages of a multi-core system. The method comprises the following steps that the messages received through a network interface are marked with continuous basic serial numbers, and the messages are distributed to a core unit for processing prior to transmission; the messages are identified; when the messages are identified as specific messages, the state information of the specific messages of which the processing prior to transmission is finished is stored in the serial number unit in a specific order-preserving queue as per the specific serial number of the specific messages; and the specific order-preserving queen is subjected to the queue brushing operation, and the messages are transmitted as per the sequence of the specific messages in the specific order-preserving queue. The embodiment of the invention adopts the technical means of the specific order-preserving queue independent of a basic order-preserving queue, thereby avoiding the disorder of the specific messages and improving the message processing performance of the multi-core system.

Description

technical field [0001] Embodiments of the present invention relate to a message processing technology in a communication system, and in particular to a message processing method, device and system for a multi-core system. Background technique [0002] A multi-core system is a product formed to increase data processing speed. In a multi-core system, each core unit has its own execution program and system operation resources, and the system operations of each core unit are independent of each other. In order to allow multiple cores to work in parallel to process IP packets, the network interface set in the multi-core system will perform round-robin distribution after receiving IP packets, and distribute them fairly to each core unit to process the packets. When each core unit receives the IP packet distributed to itself, it will start independent processing. For a central processing unit (Central Processing Unit, CPU for short), a single-core CPU can only process one IP pack...

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): H04L12/56H04L12/861
Inventor 李珅陆晓萍
Owner HUAWEI DIGITAL TECH (CHENGDU) CO LTD
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