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

Message processing method and device

A message processing and message technology, which is applied in the field of communication, can solve the problems that the priority of message output cannot be given priority, and the message forwarding method is fixed.

Active Publication Date: 2015-03-25
XFUSION DIGITAL TECH CO LTD
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the packet forwarding method is relatively fixed, and the output of certain service types of packets cannot be prioritized according to different service scenarios.

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
  • Message processing method and device
  • Message processing method and device
  • Message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] The embodiment of the present invention provides a message processing method, see figure 2 , the method flow includes:

[0056] Step 200, the distribution module of the switch distributes the received messages, and the sorting module registers the received messages in the default queue of the queue list according to the order in which the messages are received, wherein the queue list also includes multiple Business queues classified by type, and each business queue has a queue ID.

[0057] Wherein, the message received by the switch may be any message that needs to be processed and forwarded in the network.

[0058] Wherein, the distribution module of the switch distributes the message to each processor core in an idle state for processing according to the state of each processor core in the multi-core processor.

[0059] Step 201, in the process of processing the allocated message, each processor core in the multi-core processor of the switch records the queue ident...

Embodiment 2

[0064] The embodiment of the present invention provides a message processing method, see image 3 , the method flow includes:

[0065] Step 300, the distribution module of the switch distributes the received messages, and the sorting module registers the received messages in the default queue of the queue list according to the order in which the messages are received, wherein the queue list also includes multiple Business queues classified by type, and each business queue has a queue ID.

[0066] Specifically, the process of step 300 is specifically described by steps 3001-3003.

[0067] Step 3001, the distribution module of the switch receives the message.

[0068] Wherein, the message received by the switch is a message waiting to be processed and forwarded by the switch. Among them, the distribution module is a decoder.

[0069] Optionally, the device used by the distribution module may not only be a decoder, but also any other existing hardware capable of realizing the...

Embodiment 3

[0128] see Figure 7 , this embodiment provides a message processing device, the device includes:

[0129] The distribution module 400 is configured to distribute the received messages, register the received messages in the default queue of the queue list according to the receiving order of the messages, wherein the queue list also includes multiple business queues, each business queue has a queue ID;

[0130] The processing module 401 is configured to record the queue identifier of the service queue corresponding to the service type carried by the message in the message descriptor corresponding to the message identifier according to the service type carried by the message, wherein the message identifier is in The message is allocated during the process of registering the message to the default queue;

[0131] The ordering module 402 is used to move the message identifier of the message from the default queue to the service queue corresponding to the recorded queue identifie...

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 discloses a message processing method and device and belongs to the technical field of communication. When distributed messages are processed, according to the service types carried by the messages, queue identification of service queues corresponding to the service types carried by the messages is recorded into message descriptors corresponding to the queue identification, accordingly, after message processing, the message identification is distributed into service queues with different priorities, the output sequence of the messages is determined by the set priorities of the service queues, and the messages corresponding to the message identification recorded in the service queues are output according to the sequence from a high priority to a low priority from the service queue with the highest priority. During message processing, the service queues where the messages are placed are determined according to the service types of the messages, the priorities of the output messages are set for the service queues, and therefore according to difference of application scenarios, the output sequence of the messages can be configured flexibly.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a message processing method and device. Background technique [0002] With the deepening of social informatization, people rely more and more on the Internet, and the number of computer nodes connected to the network has also increased exponentially. Network devices such as switches and network processors are used as data exchange nodes between computers and the Internet, and their data processing performance determines the performance of the entire network. With the rapid increase in the number of user connections and the emergence of high-bandwidth applications such as online video, it is increasingly difficult for single-core processors set in network devices to process packets to meet the performance requirements of high-speed data processing. Due to its strong parallel computing capability, it has gradually been widely used in the field of network communicati...

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): H04L12/865H04L12/851H04L47/6275
Inventor 李聪周智周冠锋
Owner XFUSION DIGITAL TECH CO LTD