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

Inactive Publication Date: 2017-09-22
HANGZHOU DUNCHONG SCI & TECH
View PDF14 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] As analyzed above, if the throughput of the NAT gateway is too small, it will become a network bottleneck and have a negative impact on the transmission efficiency of the entire network.

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
  • UDP message processing method and apparatus thereof, and network forwarding apparatus
  • UDP message processing method and apparatus thereof, and network forwarding apparatus
  • UDP message processing method and apparatus thereof, and network forwarding apparatus

Examples

Experimental program
Comparison scheme
Effect test

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

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

A UDP message processing method and an apparatus thereof, and a network forwarding apparatus are disclosed. The method comprises the following steps of receiving a network message transmitted by an input PORT; determining whether a CPU occupancy rate of network equipment is greater than or equal to a critical threshold; if the CPU occupancy rate is less than the critical threshold, directly forwarding the network message; if the CPU occupancy rate is equal to or greater than the critical threshold and the message belongs to a UDP message, classifying the UDP message according to a seven-element group; based on a condition that reasonable time delay and a MTU are satisfied, accumulatively caching; when the reasonable time delay and the MTU are not satisfied, carrying out recombination and forwarding; and after the forwarding, carrying out fragmentation, wherein the recombination and the fragmentation refer to an identification field and a sheet offset field. In the invention, the UDP messages of a same kind are accumulated and recombined; and through sacrificing time delay, forwarding of message cost information is reduced and a greater throughput is exchanged so that an actual forwarding rate of the UDP messages is increased.

Description

technical field [0001] The present invention relates to the field of message processing, and specifically relates to optimizing the processing of UDP protocol messages to overcome the throughput that is easily caused when small bytes pass through NAT (Network Address Translation, Network Address Translation) equipment. small problem. Background technique [0002] With the increasing popularity of the Internet, the needs of intranet users to access the Internet are increasing. Some enterprises also need to provide external services such as WWW page browsing, FTP file transfer, and DNS domain name resolution. These factors will lead to a sharp increase in network traffic. [0003] see figure 1 , due to the scarcity of IP resources, NAT (Network Address Translation, Network Address Translation) equipment is widely used in enterprises, institutions, campuses and other areas with many Internet devices. As a data channel between the internal and external networks, the NAT gatewa...

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 Applications(China)
IPC IPC(8): H04L12/951H04L12/861H04L29/12H04L47/43
CPCH04L49/90H04L49/9057H04L61/2503
Inventor 黄庆容
Owner HANGZHOU DUNCHONG SCI & TECH
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