Method and device for message forwarding
A message forwarding and message technology, applied in the field of communication, can solve problems such as inability to manage board protection, management board CPU attack, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com