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

Message forwarding method and message forwarding equipment

A message forwarding and message technology, applied in the field of communication, can solve the problems of CPU attack on the management board and the inability to manage the protection of the board.

Active Publication Date: 2014-09-10
RUIJIE NETWORKS CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for message forwarding, which are used to solve the problem that the line card CPU and the management board CPU adopt separate speed limits, which may cause the management board CPU to be attacked by a large flow of messages, and then the management board cannot be executed. The problem of effective protection

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] The embodiment of the present invention provides a method for message forwarding, the execution subject of the method is a line card, specifically the CPU in the line card, such as figure 2 As shown, the message forwarding method includes:

[0083] Step 201, the line card puts the message to be sent into the queue.

[0084] Step 202. Determine whether the first packet permission of the queue is zero, and the first packet permission is used to indicate that the management board allows the line card to send the number of packets in the queue.

[0085] If the first message permission of the queue is not zero, perform step 203; if the first message permission of the queue is zero, perform steps 204-206.

[0086] Step 203: If the first packet allowance of the queue is not zero, send the packets in the queue that do not exceed the first packet allowance of the queue to the management board.

[0087] Wherein, the sending the messages in the queue that do not exceed the firs...

Embodiment 2

[0103] The embodiment of the present invention provides a method for message forwarding, the execution subject of the method is the management board, specifically the CPU in the management board, such as image 3 shown, including:

[0104] Step 301, the management board receives the message permission application message sent by the line card, the message permission application message indicates that the line card applies to the management board for the message permission of the queue, and the message permission is used to represent the The management board allows the line card to send the number of packets in the queue.

[0105] Wherein, the message permission application message includes: a queue identifier and the number of messages in the queue, the queue identifier is used to represent the label of the queue, and the number of messages in the queue is used to represent the The number of messages, the queue identifier corresponds to the number of messages in the queue. F...

Embodiment 3

[0123] The embodiment of the present invention takes figure 1 The shown rack switch is taken as an example, and the method of how the line card forwards the message to the management board is described in detail. in, Figure 4 Schematic diagram of the method for forwarding packets to the management board for the line card, Figure 5 for Figure 4 The flow chart of the method for the line card to forward the message to the management board is shown in the figure. The execution subject above the dotted line is the line card, and the execution subject below the dotted line is the management board. Specifically, the message forwarding method includes:

[0124] Step 400, the line card receives the message.

[0125] Wherein, the line card receives at least one message, and generally, the line card will receive a large number of messages at the same time. In the embodiment of the present invention, the line card receives a large number of messages as an example for description. ...

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 t forwarding equipment, relates to the technical field of communication and used for solving the problems that a linecard CPU (central processing unit) and a manage board CUP are independently limited in speed, which results in that the manage board CPU may attacked by mass messages and the manage board cannot be protected effectively. The message forwarding method includes: placing messages to be sent in a queue by the linecard; determining whether a first message license in the queue is zero or not; if not, sending the messages not exceeding the first message license in the queue to the manage board; if yes, sending message license application information to the manage board; receiving message license response information sent by the manage board, wherein the message license response information indicates that the manage board distributes a second message license to the queue; sending the messages, not exceeding the second message license of the queue, in the queue to the manage board.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for message forwarding. Background technique [0002] With the continuous development of network technology, the structure and level of the network are becoming more and more complex, and the flow of message information transmitted in the network is becoming more and more dense. Therefore, it is necessary to strictly protect the network equipment. , may lead to abnormality of the entire network service. [0003] Such as figure 1 As shown, the rack-mounted switch is taken as an example for illustration. The rack-mounted switch is mainly composed of multiple line cards and management boards. Each line card mainly includes a line card Central Processing Unit (CPU for short) and an ASIC (Application Specific Integrated Circuit, referred to as ASIC), the management board mainly includes the management board CPU. Specifically, the ASIC chip of the ...

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
IPC IPC(8): H04L12/861G06F9/50
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