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

Message forwarding method and device

A message forwarding and message technology, which is applied in the field of multi-core systems, can solve the problems of insufficient balance of the message distribution scheme and low forwarding ability, and achieve the effect of message forwarding balance and improved forwarding ability

Active Publication Date: 2012-01-04
NEW H3C TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] To sum up, the packet distribution scheme in the existing multi-forwarding module system working in load sharing mode is not balanced enough, and the forwarding ability is low

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The core idea of ​​the present invention is: in a system that includes a distribution module and multiple forwarding modules, and the distribution module distributes the received large messages to each forwarding module for processing with a certain load sharing strategy, between the distribution module and the forwarding module Introduce another entity, that is, the data flow object; the distribution module no longer writes the message directly into the queue of the forwarding module, but writes it into the queue of the data flow object; each forwarding module dynamically selects each data flow object and processes it packets in its queue. Usually, a data stream object corresponds to a queue.

[0023] In order to make the object, technical solution and advantages of the present invention clearer, in the following examples, as figure 1 The shown multi-core system is an application scenario, and describes the solution of the present invention. That is, in the following...

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 forwarding method and a device. The method comprises the following steps: a plurality of data flow objects are built in a system comprising a distributing module and a plurality of forwarding modules, a corresponding relation between a hash value and the data flow object is built; after receiving the message, the distributing module carries out hash operation to obtain the hash value according to the content in a specified field of the message, and the message is written into an array of a data flow object corresponding to the hash value; an idle forwarding module obtains an unattended processing data flow object, and then, the message is obtained from the array of the data flow object to forward; the unattended processing data flow object refers to a data flow object which has no forwarding module to process messages in the array. The technical scheme of the invention ensures that the message forwarding in a multi-core system is more balanced, and the forwarding ability of the multi-core system is improved.

Description

technical field [0001] The invention relates to the technical field of multi-core systems, in particular to a message forwarding method and device. Background technique [0002] With the slowdown of central processing unit (CPU) frequency increase, multi-core technology has emerged to improve processing performance. At present, more and more network devices are equipped with multi-core CPUs to improve software performance. For example, a multi-core router device improves data forwarding performance by increasing the number of cores. [0003] After the message enters the multi-core system, it usually needs to be distributed first, and the messages of different service flows are distributed to different cores for processing, so as to make full use of each core of the CPU. [0004] figure 1 It is a schematic diagram of packet distribution in an existing multi-core system. Such as figure 1 As shown, the multi-core system includes a distribution core and multiple forwarding ...

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/56G06F15/163H04L12/861
Inventor 魏巍
Owner NEW H3C TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More