Multi-core network device message ordering method and system by interface
A network device and message technology, applied in the field of network communication, can solve problems such as packet loss or video mosaic, message disorder, network communication blockage, etc., and achieve the effect of fine order preservation and fast forwarding speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Such as figure 1 As shown, this embodiment records a method for maintaining the order of multi-core network device packets by interface, including the following steps:
[0032] S1: After receiving the current message, each CPU of the multi-core CPU obtains the incoming interface information of the current message, judges the incoming interface of the current message, and groups the messages according to the incoming interface;
[0033] S2: The thread corresponding to the current message sorts the current message in the corresponding inbound interface group, and processes the current message;
[0034] S3: After the current message is processed, determine whether the previous message of the same inbound interface has been forwarded, if so, forward the processed current message, otherwise wait for the previous message to be forwarded , and then forward the processed current message.
[0035] In this embodiment, before the step S1, it further includes: the multi-core CPU ...
Embodiment 2
[0046] Such as figure 2 As shown, this embodiment records a multi-core network device packet order protection system by interface, and the system includes:
[0047] The message is grouped by interface module 201, which is used to obtain the incoming interface information of the message after each CPU of the multi-core CPU receives the message, judge the incoming interface of the message and group by the incoming interface of the message;
[0048] The message processing module 202 is configured to sort the messages of the same incoming interface through corresponding threads, and process the messages;
[0049]The forwarding module 203 is used to judge whether the previous message of the same ingress interface has been forwarded after the current message is processed, if so, forward the processed current message, otherwise wait for the previous message to be forwarded. After the message is forwarded, the processed current message is forwarded.
[0050] By judging whether the ...
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