Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message processing method and message processing device

A message processing and message technology, applied in the computer field, can solve the problems of poor flexibility of message processing and waste of CPU resources, etc.

Active Publication Date: 2015-04-08
RUIJIE NETWORKS CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for message processing, which are used to solve the problems of waste of CPU resources and poor flexibility of message processing when the priority global scheduling algorithm generally used is used for message processing.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Generally, there are mainly two methods in the process of packet processing. One method is that the scheduler before version 2.6 of linux adopts a priority-based design to process packets. Specifically: in a multi-core system, only one run queue is saved to process messages, and each CPU compares the priorities of all processes in the run queue in turn, and selects the process with the highest priority as the next scheduled process. After the linux2.6 version, more scheduler algorithms have been added. But the goals of the thanks scheduler and the fast-forward virtual thread scheduler are different. The linux scheduler is oriented to the operating system, and needs to consider the interactive response and batch processing capabilities of the system at the same time. In the field of message forwarding, virtual thread scheduling considers the allocation of message processing stages and the message forwarding capability. Another way is to process packets based on a prior...

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 a message processing device. The method comprises the following steps of dividing multi-core central processing unit CPU of a processed message into at least one scheduling domain, and dividing a virtual thread of the processed message into at least one virtual thread working group; respectively distributing the at least one scheduling domain for the at least one virtual thread working group; according to the at least one distributed scheduling domain, and according to the load balancing principle, processing messages in each virtual thread working group. The message processing method and the message processing device are used for solving the problems that CPU resources are wasted comparatively, and the message processing flexibility is lower by an adopted priority global scheduling algorithm under the normal conditions when message processing is performed.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a message processing method and device. Background technique [0002] IP network devices, such as switches, routers, firewalls, and gateways, are used as data exchange nodes for computer interconnection, and their data forwarding performance determines the overall quality of the network. With the rapid increase in the number of user connections and the emergence of various high-bandwidth applications, it is increasingly difficult for single-core processors with limited main frequency to meet the performance requirements of high-speed data forwarding. Capability and parallel computing characteristics, gradually widely used in the field of network communication. The so-called multi-core processor refers to the integration of multiple core processors (English: Core-CPU) on a hardware chip, usually in a shared memory structure. The multi-core processor has relatively inde...

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/803
Inventor 范开基马晓靖
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products