Network Device Protocol Packet Transmission Delay Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Network devices face processor overload when transmitting a large number of protocol packets simultaneously, leading to potential disconnections and protocol timeouts due to synchronization issues during periodic packet transmission.
Innovation Solution
Implementing a delay mechanism to stagger the start-up time of packet transmission for multiple instances across physical ports, ensuring that protocol packets are transmitted at different times, thereby reducing processor burden and maintaining protocol stability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple instances transmit protocol packets simultaneously with the same transmission interval, then the protocol maintenance and neighbor detection are performed regularly, but the processor becomes overloaded causing message transmission failure
Solution Approach 1:
The patent segments the simultaneous packet transmission into sequential transmissions by introducing delay mechanisms. Different instances are assigned different transmission timing, dividing the transmission task into manageable time slices rather than processing all packets simultaneously, thus reducing processor load while maintaining periodic transmission functionality.
Solution Approach 2:
The patent applies preliminary action by pre-calculating and assigning delay times to different instances before transmission occurs. The system determines transmission timing in advance based on instance identification, ensuring that packets are transmitted in a controlled sequence rather than simultaneously, preventing processor overload before it occurs.
2Ease of operation
If all ports transmit LLDP messages synchronously, then the transmission timing is simple and regular, but the CPU receives 64000 messages at once causing overload
Solution Approach 1:
The patent segments the synchronous transmission of 64000 LLDP messages into smaller batches by introducing instance-specific delay times. Instead of transmitting all messages at once, the system divides them into sequential transmission groups, reducing the packet volume processed at any single moment while maintaining periodic transmission rhythm.
Solution Approach 2:
The patent introduces dynamic transmission timing where different instances have different delay values rather than fixed synchronous transmission. The delay mechanism dynamically adjusts transmission timing based on instance identification, transforming the static synchronous model into a dynamic sequential model that prevents processor overload.
3Speed
If the processor handles a large number of protocol packets in a short time, then the transmission speed is high, but the processor cannot keep up causing disconnections and timeouts
Solution Approach 1:
The patent applies periodic action by implementing delayed transmission for different instances. Instead of a single burst transmission, the system uses periodic transmission with calculated delays between instances, allowing the processor to handle packets in manageable intervals rather than overwhelming bursts, thus maintaining both speed and reliability.
Data Source
AI summary
The embodiment of the present document provides a method and apparatus for periodically transmitting a protocol packet by a network device, which relate to the communications technology. The method includes: identifying one or more physical ports of the network device; identifying one or more instances, under each physical port, which need to periodically transmit the protocol packet; performing delay processing on packet transmission start-up time of a plurality of instances when the plurality of instances request a processor to transmit protocol packets at the same time, so as to form a sequence of packet transmission start-up delay time corresponding to the plurality of instances; and the processor periodically transmitting each protocol packet of the corresponding instance according to the sequence of the packet transmission start-up delay time.


