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

Active Publication Date: 2022-03-29
北京东土军悦科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, during this switching time, the packets will be discarded because they cannot be forwarded correctly

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 processing method, device, equipment and medium of switch
  • Message processing method, device, equipment and medium of switch
  • Message processing method, device, equipment and medium of switch

Examples

Experimental program
Comparison scheme
Effect test

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...

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 embodiment of the invention discloses a message processing method, device, equipment and medium of an exchange. The method includes: when detecting a failure of a working output port of the switch, buffering the target message to be sent that matches the working output port according to the message sending processing sequence; If the protected egress port operates normally, then the target packet in the control cache is sent through the protected egress port. In the above technical solution, there is no discarding operation for packets in the network switching device during the link switching period, which greatly reduces the number of packet loss during the link switching period, and even avoids the packet loss during the link switching period. Packet loss in the network, thereby ensuring the integrity of the business data transmitted by the network switch.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communication, and in particular, to a message processing method, device, equipment and medium of a switch. Background technique [0002] The existing link protection method usually provides a backup link for the working link, and when the working link fails or deteriorates, switch to the backup link for data forwarding as soon as possible to reduce data loss. [0003] The switching time for a network device to successfully switch from a working link to a backup link is generally tens to hundreds of milliseconds, and the length of the switching time mainly depends on the complexity of the communication service and the link switching speed. At present, during this switching time, the packets in the queue to be forwarded will continue to be dequeued, and the forwarding path is searched for forwarding. However, during this switching time, the packets will be discarded because they ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L49/90H04L49/111H04L49/55
CPCH04L49/90H04L49/3027H04L49/55
Inventor 王小军李京河
Owner 北京东土军悦科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products