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

Method and device for forwarding message

A technology for forwarding messages and messages, applied in program control devices, digital transmission systems, data exchange networks, etc., can solve problems such as low efficiency of processing systems, and achieve the effect of improving efficiency and ensuring order.

Inactive Publication Date: 2009-05-20
RUIJIE NETWORKS CO LTD
View PDF2 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0023] In view of this, the embodiment of the present invention provides a method for forwarding a message to solve the problem of low efficiency of the processing system in the process of forwarding a message in the prior art

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 and device for forwarding message
  • Method and device for forwarding message
  • Method and device for forwarding message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] A network device usually contains one or more message receiving and sending interfaces, and multiple interfaces of the network device can receive messages at the same time, and each interface may be an inbound interface or an outbound interface. Figure 4 This is the process for the processing system to forward the message received by the network device in the embodiment of the present invention, where the processing system includes two, or three—and so on, multiple cores. The specific process is as follows:

[0048] Step 401: Query each inbound interface of the network device in turn in a polling manner, receive packets and perform service processing.

[0049] Step 402: Detect each inbound interface of the network device in a polling manner, and when it is detected that there is a message that has been forwarded and processed, the message is distributed through the corresponding outbound interface.

[0050] In the embodiment of the present invention, the above two steps ar...

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 method and a device for transmitting messages, and solves the problem in the prior art that a processing system has low efficiency during message transmission. The method executes message processing course through network equipment comprising a plurality of core processors and at least one interface; each interface is provided with a corresponding data structure module; the data structure module comprises at least one node and at least one message processing sliding pointer which points at a start node during initial setting; each core processor carries out independent polling of each interface to obtain the state of a node at which a message processing sliding pointer in the data structure module corresponding to a polled interface points; and according to the corresponding relation between node status and message processing course, message processing course corresponding to the obtained node state is executed for the message of the interface, wherein the message processing course comprises the step that the message processing sliding pointer is pointed at the next node.

Description

Technical field [0001] The present invention relates to computer and communication technology, in particular to a method and device for forwarding messages. Background technique [0002] With the development of Internet technology, single-core processors in network equipment are increasingly unable to meet the processing performance requirements of high-speed network applications, and multi-core processors have gradually been widely used in the field of network communications by virtue of their parallel computing characteristics. The so-called multi-core processor refers to the integration of multiple processing core processors (CORE) on a chip, usually a shared memory structure. The multi-core processor has relatively independent multiple computing and processing cores, and can execute the message forwarding processing program in parallel, and the message forwarding performance is greatly improved, thereby improving the overall system throughput. [0003] However, due to the ran...

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/56G06F9/44H04L12/70
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