Message processing method, device, equipment and medium of switch
A message processing and switching technology, applied in the field of communication, can solve the problem that the message cannot be forwarded correctly, discarded, etc., to achieve the effect of reducing the number of lost packets, avoiding packet loss, and ensuring integrity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flow chart of a message processing method of a switch provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where a switch needs to perform link switching due to a working link failure. This method can be implemented by the switch provided by the embodiment of the present invention. implemented by a message processing device, which can be implemented in software and / or hardware, and generally can be integrated into a processor.
[0027] Such as figure 1 As shown, the method of this embodiment specifically includes:
[0028] S110. When a failure of the working output port of the switch is detected, buffer the target message to be sent that matches the working output port according to the message sending processing sequence.
[0029] After the switch receives the packets sequentially through the incoming ports, it sends and processes each packet according to the packet sending and processing order, wherein the...
Embodiment 2
[0044] figure 2 It is a flow chart of a message processing method of a switch provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments, wherein, according to the message sending processing sequence, the target message to be sent that matches the working output port is cached, specifically: according to the message dequeuing sequence , sequentially obtain a message to be sent in the message queue to be sent as the current processing message; if the current processing message matches the working output port, then determine that the current processing message is the target message, and sequentially Add to the target message buffer queue.
[0045] Correspondingly, sending the target message cached through the protected egress port is specifically: sequentially obtaining a target message in the target message cache queue, and controlling the target message to pass through the Protect the outgoing port for sen...
Embodiment 3
[0068] image 3 Shown is a schematic structural diagram of a message processing device for a switch provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where a switch needs to perform link switching due to a working link failure. The device can use software and / or It is implemented in the form of hardware and generally can be integrated in the processor.
[0069] Such as image 3 As shown, the message processing device of the switch specifically includes: a message cache module 310 and a message recovery sending module 320 . in,
[0070] The message buffering module 310 is used for buffering the target message to be sent that matches the working output port according to the message sending processing sequence when detecting the failure of the working output port of the switch;
[0071] The message recovery sending module 320 is configured to control and send the buffered target message through the protected outbound port if it i...
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