A method and device for forwarding messages
A technology for forwarding messages and messages, applied in the field of FPGA
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] figure 1 It is a schematic flowchart of a method for forwarding a message provided in Embodiment 1 of the present invention. The method can be performed by a device for forwarding messages, and the device for forwarding messages can be a field programmable gate array (Field-Programmable Gate Array, FPGA), and the FPGA includes an access port, a processing module, and an output port, wherein the device Can be implemented by software and / or hardware. Such as figure 1 As shown, the method includes:
[0043] Step 101, obtain network data message through the access port of FPGA, and add identification information in described network data message, and described identification information comprises source port number or IP address information;
[0044] Specifically, the way of adding the identification information can be added on a beat in the message. Preferably, the carrying of the identification information in the network data message includes:
[0045] The preset Nth ...
Embodiment 2
[0062] refer to image 3 , image 3 is a schematic diagram of another method for forwarding packets provided by Embodiment 2 of the present invention. Such as image 3 As shown, after the original network data message is accessed from the access port, the port number information is carried in the first frame of the message. SCH indicates the source port number, and DCH indicates the destination port number. After the message is processed by the data processing module, a Destination port number, update the destination port number of the first shot of the message, enter the data merging module, the merging module merges multiple inputs into one output, judge the destination port number of the message in the data forwarding module, and compare the destination port number with the output interface The packet matching the channel number of the channel is forwarded to the corresponding output interface module, and the port information carried by the output module is stripped and r...
Embodiment 3
[0064] refer to Figure 4 , Figure 4 is a schematic diagram of another method for forwarding packets provided by Embodiment 3 of the present invention.
[0065] The network data message is sent to the forwarding module after being processed by the processing module inside the FPGA. The DCH number of the message will be judged first inside the forwarding module. If the DCH value of the message matches the channel number (ch=0x10) of the output port 1, Then this message is stored in first-in-first-out queue (First-In First-Out, FIFO) 1, if the dch value of message matches with the channel number (ch=0x11) of output 2 ports, then this message is stored in FIFO2, if the dch value of the message matches the channel number of the output port 3 (ch=0x12), then store the message in FIFO3, if the dch value of the message matches the channel number of the output port 4 (ch=0x13) , then store the message into FIFO4. If there is a message inside the FIFO, it will read it and output it...
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