UDP message processing method and apparatus thereof, and network forwarding apparatus
A message processing and message technology, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the problems of network transmission efficiency, etc., to achieve the effect of improving the actual forwarding rate, large throughput, and reducing forwarding
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] see figure 2 , shows a flow chart of a UDP message processing method according to a specific embodiment of the present invention, including the following steps:
[0046] Message receiving step S100: receiving the network message transmitted by the input PORT port;
[0047] In this step, the input PORT port refers to the receiving port of the network device for various types of packets.
[0048]The first judgment step S110: judge whether the CPU usage rate of the network device is greater than or equal to the critical threshold, if not, that is, less than the critical threshold, directly forward the network message, if yes, that is, equal to or higher than the critical threshold, then forward the network packet message for further processing.
[0049] In this step, it is used to judge the CPU usage rate of the network device. When the CPU usage rate is high, it is necessary to use the specific steps of the present invention to further process the UDP message.
[0050...
Embodiment 2
[0060] This embodiment is a specific example of embodiment 1, and is a further explanation of the specific implementation of certain steps in embodiment 1.
[0061] see image 3 , shows a processing example to UDP message processing method according to the present invention, comprises the following steps:
[0062] Message receiving step S100: receiving the network message transmitted by the input PORT port;
[0063] First judging step S110: judging whether the CPU usage rate of the network device is greater than or equal to a critical threshold, for example 80%, if it is less than 80% of the critical threshold, directly forward the network message, if it is equal to or higher than the critical threshold 80%, then Further processing of network packets
[0064] Second judging step S120: carry out the inspection of IP message header for the message that is sent from input PORT, when the protocol number of IP message header is not equal to 17, do not do any processing to message...
Embodiment 3
[0077] see Figure 4 , the present invention also discloses a UDP message processing device, comprising the following units:
[0078] A message receiving unit 200, configured to receive a network message transmitted by an input PORT port;
[0079] The first judging unit 210 is configured to judge whether the CPU usage rate of the network device is greater than or equal to the critical threshold, if not, that is, less than the critical threshold, and directly forward the network message, if yes, that is, equal to or higher than the critical threshold, then Further processing of network packets;
[0080] The second judging unit 220 is used to judge whether the network message belongs to the UDP message, if not, directly forward the network message, and if yes, further process the network message;
[0081] The classification and reorganization unit 230 is used to classify the UDP messages. The messages of the same class have the same source, purpose and port, and the messages o...
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