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

A message processing method and device

A message processing and message technology, which is applied in the field of communication and can solve the problems of fixed message forwarding mode and inability to give priority to message output.

Active Publication Date: 2017-11-17
XFUSION DIGITAL TECH CO LTD
View PDF6 Cites 0 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
  • A message processing method and device
  • A message processing method and device
  • A 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, belonging to the technical field of communication. In the process of processing the allocated message, the present invention records the queue identifier of the service queue corresponding to the service type carried by the message in the message description corresponding to the message identifier according to the service type carried by the message. character, so that after the message processing is completed, the message identifiers are assigned to service queues with different priorities, and the output order of the messages is determined by the priority of the set service queues, starting from the service queue with the highest priority At the beginning, output the message corresponding to the message identifier recorded in each service queue in order of priority from high to low; since the service queue where the message is located is determined according to the service type of the message during the processing of the message, And the priority of the output message is set for the service queue, so the output order of the message can be flexibly configured according to different application scenarios.

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