Multi-interface intelligent path selection network router, system and data transmission method
Through EMCP method and dynamic queue shaping technology, the router's intelligent path selection and load balancing between the FE and GE interfaces are realized, solving the problem of resource waste and performance bottlenecks between the interfaces of existing routers, and improving network transmission efficiency and stability.
Patent Information
- Application Number
- CN202411724851.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2044-11-28
AI Technical Summary
When existing routers have both Fast Ethernet and Gigabit Ethernet interfaces, they cannot dynamically adjust the packet transmission queue and path selection according to real-time changes in traffic, resulting in resource waste or performance bottlenecks, and cannot meet the needs of high real-time or low latency and low packet loss rate.
The EMCP method is used to path selection for data packets, and dynamically monitor the interface congestion, dynamic queue shaping, data packet transmission rate and packet loss rate are adjusted, and the path selection coefficient and weight adjustment are calculated in combination with hash value to realize load balancing of FE and GE interfaces.
It improves network transmission efficiency and resource utilization, reduces latency and packet loss rates, enhances the stability and fault tolerance of the system, and adapts to the needs of different network environments.
Smart Images

Figure CN119544581B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of router data transmission, and in particular relates to a multi-interface intelligent path selection network router, a system and a data transmission method. Background Art
[0002] With the development of network equipment, Ethernet technologies of varying speeds are widely used in various scenarios. Fast Ethernet (100 Mbps) and Gigabit Ethernet (1000 Mbps) are the two most common interface speeds. In modern communication networks, with the rapid growth of data traffic and increasing diversification, traditional routers with fixed interface configurations are gradually experiencing performance bottlenecks and insufficient flexibility. Especially in routers equipped with both Fast Ethernet (FE) and Gigabit Ethernet (GE) interfaces, the transmission capabilities of these interfaces vary significantly. The randomness and volatility of data traffic leads to uneven resource utilization, impacting overall network performance. Therefore, how to rationally distribute data traffic, dynamically adjust packet transmission queues, and efficiently select transmission paths based on packet indices have become pressing technical challenges.
[0003] In the prior art, transmission routers disclosed in Chinese patents with application numbers 201410494438.X and 202022847550.0 usually adopt static queue allocation and path selection strategies, which cannot be dynamically adjusted according to real-time changes in traffic. Their load balancing capabilities are limited. High-speed GE interfaces may be idle, while low-speed FE interfaces are easily overloaded, resulting in resource waste or performance bottlenecks; in addition, Chinese patent application number 201010548431.3 is a control method for a router queue control system based on congestion identification. Congestion identification is performed according to four different states composed of flag bit combinations, and the identification results are provided to the queue control module, so that corresponding queue control methods are adopted to calculate the probability of data discard or marking. However, it only calculates the queue ratio Rq(k) and the flow rate ratio Rx(k), compares the queue ratio and flow rate ratio with 1, and marks the corresponding flag bit. Its path selection rules for queues and data transmission are inefficient and cannot perform intelligent scheduling for traffic of different priorities. At the same time, when the queue in the FE interface overflows, it cannot increase the rate and transfer it to the GE interface for transmission when coordinating among multiple FE interfaces. When the queue in the GE interface overflows, it cannot reduce the rate and transfer it to the GE interface for transmission when coordinating among multiple GE interfaces. This makes it difficult to meet the requirements of high real-time or low latency and low packet loss rate services. Summary of the Invention
[0004] The present invention addresses the above-mentioned drawbacks and provides a multi-interface intelligent path selection network router, system, and data transmission method. The present invention provides a multi-interface intelligent path selection network router that can simultaneously support Fast Ethernet and Gigabit Ethernet interfaces and optimize data transmission between different rates, thereby improving network transmission efficiency and resource utilization.
[0005] The present invention provides the following technical solution: a data transmission method for a multi-interface intelligent path selection network router, wherein the method adopts the EMCP method to select the transmission path of each data packet and dynamically adjusts the queue of the transmission data packet of each interface in real time, comprising the following steps:
[0006] S1: Obtain the type, source address, destination address, protocol type, port number, and queue length of the nth data packet transmitted by the multi-interface intelligent path selection network router;
[0007] S2: Assign a packet type score P to each packet based on the DSCP field priority n_type , calculate the priority score P of the nth data packet transmitted by the router n_total ;
[0008] S3: Classify a total of N data packets according to the priority score. When the priority score of the nth data packet is P n_total Greater than the priority threshold P thr When the nth priority score is selected, the data packet with the nth priority score is transmitted to the GE interface for transmission; otherwise, the data packet with the nth priority score is transmitted to the FE interface for transmission;
[0009] S4: Use the EMCP method to select a path for the nth data packet when it is transmitted on the GE interface or FE interface;
[0010] S5: Dynamically monitors the packet transmission congestion of each interface, performs dynamic queue shaping, and adjusts the packet transmission rate and packet loss rate of each interface;
[0011] S6: Calculate and determine the data transmission quality index U of each FE interface and GE interface q When it is greater than the maximum threshold for low-quality transmission, it indicates that a queue overflow has occurred. In this case, the overflowed queue on the GE interface is transferred to the FE interface for transmission at a reduced rate, or the overflowed queue on the GE interface is transferred to the GE interface for transmission at a increased rate, thereby reducing the packet loss rate.
[0012] As a preferred embodiment of the present invention, the data packet types obtained in step S1 include: one or more of VoIP real-time stream, video stream, file transfer packet, ordinary data packet or background synchronization task data packet, and the corresponding data packet type score P n_type10, 8, 5, 2 and 1 respectively; the source address includes one or more of a local network address, a trusted external address or a public external address, and the corresponding source address priority score P n_s 8, 5 and 2 respectively; the target address includes one or more of: intranet core services, other intranet devices, external trusted servers or public Internet targets, and the corresponding target address priority score P n_d They are 10, 7, 5 and 3 respectively; the protocol type includes one or more of UDP protocol, TCP protocol or ICMP protocol, and the corresponding protocol type score P n_a 8, 5 and 3 respectively; the port number includes: one or more of HTTP / HTTPS port, SIP port, RTP port, FTP port or SSH port, and the corresponding port number score P n_p They are 6, 9, 10, 4, and 7 respectively.
[0013] As a preferred embodiment of the present invention, the step S2 calculates the priority score P of the nth data packet transmitted by the router. n_total The formula is as follows:
[0014] P n_total =ω1P n_type +ω2P n_s +ω3P n_d +ω4P n_a +ω5P n_p ; Among them, ω1 = 0.3, ω2 = 0.2, ω3 = 0.2, ω4 = 0.2, ω5 = 0.1; the priority threshold P thr is 6.
[0015] As a preferred embodiment of the present invention, the S4 step includes:
[0016] S41: First, according to the calculation result of the priority score, determine the number of data packets transmitted through the FE interface as αN and the number of data packets transmitted through the GE interface as (1-α)N;
[0017] S42: Calculate the traffic load dynamic coefficient σ of the i-th FE interface i and the traffic load dynamic coefficient δ of the j-th GE interface j :
[0018] in, is the current traffic demand of the i-th FE interface, max(R FE ) is the maximum flow requirement in 1 FE interface; f i is the dynamic adjustment factor of the i-th FE interface; f i =0.1~0.5;
[0019] in, is the current traffic demand of the j-th GE interface, max(R GE ) is the maximum flow demand among J GE interfaces; f j =0.1~0.5; where i=1,2,…,I; j=1,2…,J;
[0020] S43: Path selection is performed for a total of αN data packets of i FE interfaces, and for a total of (1-α)N data packets of j GE interfaces;
[0021] When the nth data packet is selected for transmission through the FE interface, the path selection coefficient σ i is the path weight of the i-th FE interface, Hash(P n_type ,P n_s ,P n_d ,P n_a ,P n_p ) is a function for calculating the hash value of the header field of the relevant information of the nth data packet; mod is the remainder calculation; Is the exclusive OR operator symbol;
[0022] When the nth data packet is selected for transmission through the GE interface, the path selection coefficient δ j is the path weight of the j-th GE interface;
[0023] S44: Calculate the threshold range of the i-th data transmission coefficient selection: For a total of I FE interfaces consisting of I data transmission paths, according to the calculated Index n Determine whether it falls within the transmission threshold range of the i-th path. If so, transmit the n-th data packet through the i-th FE interface. If not, traverse the 1 to i-1 and i+1 to I paths to determine the FE interface for transmitting the n-th data packet.
[0024] S45: Calculate the j-th data transmission coefficient and select the threshold range: For J data transmission paths consisting of J GE interfaces, according to the calculated Index n Determine whether it falls within the transmission threshold range of the j-th path. If so, transmit the n-th data packet through the j-th FE interface; if not, traverse the data transmission paths from 1 to j-1 and the data transmission paths from j+1 to J to determine the GE interface for transmitting the n-th data packet.
[0025] As a preferred embodiment of the present invention, the S5 step includes the following steps:
[0026] S51: Calculate the nth data packet of the qth interface in the kth time slot t k Transfer rate
[0027] When q=i,
[0028] When q=j, Where k = 1, 2, ... K;
[0029] S52: Further calculate the qth interface in the kth time slot t k Interface transmission rate V for multiple data packets q :
[0030] When q=i,
[0031] When q=j,
[0032] S53: Judgment With V q The size of and the queue capacity occupancy rate of the qth interface are used to determine the congestion level of the qth interface. The judgment criteria are as follows:
[0033]
[0034] Among them, QO q is the queue capacity occupancy rate of the qth interface, Min th and Max th They are the minimum and maximum capacity occupancy thresholds of the queue on the interface; Min th,q =0.45QS q , Max th =0.75QS q , QS q is the length of the packet transmission queue of the qth interface;
[0035] S54: Update the nth data packet of the qth interface in the kth time slot t according to the congestion level of the qth interface. k Transfer rate and packet loss rate
[0036] As the preferred embodiment of the present invention, in step S54, when C q When there is no congestion,
[0037] When C q When the congestion is low, is the floor function;
[0038] When C q When the congestion is moderate, is the ceiling function;
[0039] When C q When congestion is high, Furthermore, when q is i,
[0040] When q is j,
[0041] As a preferred embodiment of the present invention, the S6 step includes the following steps:
[0042] S61: Calculate the data transmission quality index U of the qth interface q :
[0043] When q=i,
[0044] When q=j,
[0045] S62: Determine the data transmission quality indicator U of the qth interface q Is the value greater than or equal to the maximum low-quality transmission threshold? If so, the system further determines whether the qth interface is an FE interface or a GE interface. If it is a GE interface, the system reduces the rate of overflowed queues on the GE interface and transfers them to the FE interface for transmission. If it is an FE interface, the system increases the rate of overflowed queues on the FE interface and transfers them to the GE interface for transmission.
[0046] If the data transmission quality index U of the qth interface q If the value is less than the maximum threshold of low-quality transmission, it is only necessary to repeat steps S1 to S5 to perform data transmission.
[0047] The present invention also provides a multi-interface intelligent path selection network router control system that uses the above method for data transmission, the system includes a data packet information acquisition module, a routing and forwarding module, an interface type allocation module, a path selection module and a congestion control module;
[0048] The data packet information acquisition module is used to obtain the type, source address, destination address, protocol type, port number and queue length of the nth data packet transmitted by the multi-interface intelligent path selection network router;
[0049] The routing and forwarding module is used to assign a data packet type score P to each data packet according to the DSCP field. n_type, calculate the priority score P of the nth data packet transmitted by the router n_total ;
[0050] The interface type allocation module is used to classify a total of N data packets according to the priority score. When the priority score of the nth data packet is P n_total Greater than the priority threshold P thr When the nth priority score is selected, the data packet with the nth priority score is transmitted to the GE interface for transmission; otherwise, the data packet with the nth priority score is transmitted to the FE interface for transmission;
[0051] The path selection module is used to select a path for the nth data packet when it is transmitted on the GE interface or the FE interface using the EMCP method;
[0052] The congestion control module is used to dynamically monitor the data packet transmission congestion of each interface, perform dynamic queue shaping, and adjust the data packet transmission rate and packet loss rate of each interface; the data transmission quality management module is used to calculate and determine the data transmission quality index U of each FE interface and GE interface. q When it is greater than the maximum threshold for low-quality transmission, it indicates that a queue overflow has occurred. In this case, the overflowed queue on the GE interface is transferred to the FE interface for transmission at a reduced rate, or the overflowed queue on the GE interface is transferred to the GE interface for transmission at a increased rate, thereby reducing the packet loss rate.
[0053] The present invention also provides a multi-interface intelligent path selection network router that uses the above method for data transmission. The multi-interface intelligent path selection network router includes a memory, a processor, a liquid crystal display screen arranged on the top of the multi-interface intelligent path selection network router, a 12V DC power input interface arranged on the rear side of the router, a console management interface and two antennas, as well as a USB interface, an SFP optical fiber interface, a first indicator light area arranged between the USB interface and the SFP optical fiber interface, a POE Ethernet power supply interface, a Fast Ethernet interface module, a second indicator light area and a Gigabit Ethernet interface module arranged on the front side of the multi-interface intelligent path selection network router; the Fast Ethernet interface module includes several FE interfaces, and the Gigabit Ethernet interface module includes several GE interfaces; the memory stores a computer-readable medium that can execute the above method on the processor.
[0054] As a preferred embodiment of the present invention, the several FE interfaces of the Fast Ethernet interface module support the standard IEEE802.3u protocol, and the several GE interfaces of the Gigabit Ethernet interface module support the standard IEEE802.3ab protocol.
[0055] The beneficial effects of the present invention are:
[0056] 1. The router provided by the present invention calculates the path selection coefficient Index by introducing the calculation of the hash value n The dynamic queue adjustment mechanism calculates indexes in real time based on packet characteristics (such as source address, destination address, and data type) and maps them to different interface paths for forwarding. Combined with a weight adjustment mechanism, it dynamically balances the transmission load between FE and GE interfaces, maximizing bandwidth utilization. Furthermore, intelligent queue adjustment adjusts queue lengths in real time based on packet priority and interface processing capabilities, improving the flexibility and efficiency of data transmission. This invention not only improves the overall performance of the router but also reduces network latency and congestion.
[0057] 2. The router provided by this invention is highly compatible and can support both FE and GE interfaces to meet the needs of diverse network environments. By optimizing queue management and traffic shaping, it improves overall data transmission efficiency and enables efficient data transmission. Through flow control and congestion management, it reduces packet loss due to queue overflow.
[0058] 3. The present invention can provide efficient data transmission between the main router and branch office equipment, while ensuring smooth transition of data streams between interfaces with different speeds, supporting flexible data packet transmission methods for multiple interfaces (such as FE and GE interfaces), and dynamically allocating data flow configurations between multiple FE interfaces and / or multiple GE interfaces to adapt to different user needs.
[0059] 4. When a network router provided by the present invention transmits a data packet and a path fails to meet transmission requirements, the system automatically traverses other paths (such as the i±1 path of the FE interface or the j±1 path of the GE interface) to reallocate the data packet transmission path. This mechanism enhances the network's fault tolerance, maintaining normal data transmission even when some interfaces fail. Through dynamic load balancing and intelligent path selection, the present invention not only optimizes network resource allocation but also enhances system stability, flexibility, and fault tolerance. This mechanism is suitable for high-concurrency networks with complex dynamic demands. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The present invention will be described in more detail below based on embodiments and with reference to the accompanying drawings, wherein:
[0061] Figure 1 A flow chart of a data transmission method for a multi-interface intelligent path selection network router provided by the present invention;
[0062] Figure 2The method provided by the present invention selects the FE interface path coefficient Index of different data packets n Dynamic change diagram of
[0063] Figure 3 The method provided by the present invention is to select the path coefficient Index of the GE interface of different data packets n Dynamic change diagram of
[0064] Figure 4 A schematic diagram of monitoring values of real-time throughput and packet loss rate of data packets at different transmission rates on the FE interface and queue shaping under high congestion conditions in an embodiment of the present invention;
[0065] Figure 5 A schematic diagram showing the monitoring values of the real-time throughput and packet loss rate of data packets at different transmission rates on a GE interface and queue shaping under high congestion conditions in an embodiment of the present invention;
[0066] Figure 6 This is a comparison diagram of the delay of the FE interface in an embodiment of the present invention when the method of the present invention is used and when the method of the present invention is used;
[0067] Figure 7 This is a comparison diagram of the delay of the GE interface in an embodiment of the present invention when the method of the present invention is used and when the method of the present invention is used;
[0068] Figure 8 This is a schematic diagram of the module structure of the multi-interface intelligent path selection network router control system provided by the present invention;
[0069] Figure 9 A schematic diagram of data connection for the network router provided by the present invention;
[0070] Figure 10 An overall side view of the network router provided by the present invention;
[0071] Figure 11 A schematic diagram of the front view of the structure of the network router provided by the present invention;
[0072] Figure 12 This is a schematic diagram of the rear structural view of the network router provided by the present invention. DETAILED DESCRIPTION
[0073] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0074] The present invention provides a data transmission method for a multi-interface intelligent path selection network router, which adopts the EMCP method to select the transmission path of each data packet and dynamically adjust the queue of the transmission data packet of each interface in real time. Figure 1 As shown, the method of the present invention comprises the following steps:
[0075] S1: Obtain the type, source address, destination address, protocol type, port number, and queue length of the nth data packet transmitted by the multi-interface intelligent path selection network router;
[0076] S2: Assign a packet type score P to each packet based on the DSCP field priority n_type , calculate the priority score P of the nth data packet transmitted by the router n_total ;
[0077] S3: Classify a total of N data packets according to the priority score. When the priority score of the nth data packet is P n_total Greater than the priority threshold P thr When the nth priority score is selected, the data packet with the nth priority score is transmitted to the GE interface for transmission; otherwise, the data packet with the nth priority score is transmitted to the FE interface for transmission;
[0078] S4: Use the EMCP method to select a path for the nth data packet when it is transmitted on the GE interface or FE interface;
[0079] S5: Dynamically monitors the packet transmission congestion of each interface, performs dynamic queue shaping, and adjusts the packet transmission rate and packet loss rate of each interface;
[0080] S6: Calculate and determine the data transmission quality index U of each FE interface and GE interface q When it is greater than the maximum threshold for low-quality transmission, it indicates that a queue overflow has occurred. In this case, the overflowed queue on the GE interface is transferred to the FE interface for transmission at a reduced rate, or the overflowed queue on the GE interface is transferred to the GE interface for transmission at a increased rate, thereby reducing the packet loss rate.
[0081] The data packet types obtained in step S1 include: one or more of VoIP real-time stream, video stream, file transfer packet, common data packet or background synchronization task data packet, and the corresponding data packet type score P n_type They are 10, 8, 5, 2 and 1 respectively; the source address includes one or more of the local network address, trusted external address or public external address, and the corresponding source address priority score P n_s 8, 5 and 2 respectively; the target address includes one or more of the following: intranet core services, other intranet devices, external trusted servers or public Internet targets, and the corresponding target address priority score P n_dThey are 10, 7, 5 and 3 respectively; the protocol type includes one or more of UDP protocol, TCP protocol or ICMP protocol, and the corresponding protocol type score P n_a 8, 5 and 3 respectively; the port number includes one or more of HTTP / HTTPS port, SIP port, RTP port, FTP port or SSH port, and the corresponding port number score P n_p They are 6, 9, 10, 4, and 7 respectively. As shown in Tables 1 to 5, they are P n_type 、P n_s 、P n_d 、P n_a and P n_p Scoring scores for different packet types and descriptions of the packet's priority requirements.
[0082] Table 1. Packet type priority score P n_type
[0083] Packet Type <![CDATA[P n_type Score]]> describe Implementing streaming (such as VoIP, etc.) 10 Low latency requirements Video streaming (such as conferencing) 8 High bandwidth requirements File transfer package (such as FTP protocol file transfer) 5 Medium bandwidth, low real-time requirements Ordinary data packets (such as HTTP web browsing data) 2 Normal traffic Background synchronization task package 1 Lowest priority
[0084] Table 2 Source address priority score P n_s
[0085] Source address range <![CDATA[P n_s Score]]> describe Local network address (intranet) 8 Internal traffic, higher priority Trusted external address (fixed IP) 5 Known trusted sources Public external address 2 Usually a lower priority
[0086] Table III Target address priority score P n_d
[0087]
[0088]
[0089] Table 4 Target address priority score P n_a
[0090]
[0091] Table 5 Port number priority score P n_p
[0092] Target address range <![CDATA[P n_p Score]]> describe HTTP / HTTPS (80 / 443) 6 Normal web access SIP(5060) 9 VoIP signal control RTP(5004) 10 Live streaming FTP(21) 4 File Transfer SSH(22) 7 Remote Management
[0093] In order to dynamically prioritize packets based on their attributes, such as packet type, source address, destination address, protocol type, and port number, a priority scoring formula can be constructed to assign weights to each attribute. The total priority score is calculated based on the specific attribute values. In step S2, the priority score P of the nth packet transmitted by the router is calculated. n_total The formula is as follows:
[0094] P n_total =ω1P n_type +ω2P n_s +v3Pn_d +ω4P n_a +ω5P n_p ; Among them, ω1=0.3, ω2=0.2, ω3=0.2, ω4=0.2, ω5=0.1; priority threshold P thr is 6.
[0095] In order to generate more detailed and clear information on how to use P n_type 、P n_s 、P n_d 、P n_a and P n_p Scoring different types of data packets to obtain priority scores P n_total , and then select the FE interface or the GE interface for data transmission according to the priority score, which is illustrated below with examples 1 to 3.
[0096] Example 1
[0097] When the data to be transmitted by the source address is VoIP traffic, and the data transmitted through the UDP protocol is real-time voice, the data type is VoIP, so P n_type =10; the source address is an intranet device, so P n_s =8; the target address is the core service of the intranet, so P n_d =10; the protocol type is UDP protocol, so P n_a =8; the port number is 6060 (SIP, signal control), so P n_p =9.
[0098] Therefore, P n_total =0.3×10+0.2×8+0.2×10+0.2×8+0.1×9=9. Since it is greater than P thr , the data packet has a high priority, and the GE interface is selected to transmit the data packet.
[0099] Example 2
[0100] When the data to be transmitted by the source address is a normal web traffic data packet, the data packet type score is P n_type =3; the source address is a public external address, so P n_s =2; the target address is an external trusted server, so P n_d =5; the protocol type is TCP protocol, so P n_a =5; the port number is 80, so P n_p =6.
[0101] Therefore, P n_total =0.3×3+0.2×2+0.2×5+0.2×5+0.1×6=4.1. Since it is less than P thr,The priority of this data packet is medium to low, so the FE interface is chosen to transmit the data packet.
[0102] Example 3
[0103] When the data to be transmitted by the source address is a background file, the packet type score is P n_type =5; the source address is a trusted external address, so P n_s =5; the target address is an intranet device, so P n_d =7; the protocol type is TCP, so P n_a =5; the port number is 21, so P n_p =4.
[0104] Therefore, P n_total =0.3×5+0.2×5+0.2×7+0.2×5+0.1×4=5.4. Since it is less than P thr This packet has a medium priority, so the FE interface is chosen for transmission. This shows that the priority scoring formula quantifies the importance of a packet by comprehensively analyzing its multiple attributes (type, source address, destination address, protocol, and port number). By flexibly adjusting the weights, it can adapt to different network environments and service requirements, achieving efficient traffic management.
[0105] Data packets must maintain integrity during transmission. Each data packet has a clear structure, including a header, a payload, etc., and decentralized transmission will destroy this integrity. When a router receives and forwards a data packet, it is based on the header information of the data packet (such as an IP address, a port number, etc.), and this information needs to be processed completely and centrally on one interface. The router provided by the present invention uses the priority scores calculated as above to establish a routing table from high to low, and determines the forwarding path of each data packet based on the routing table. Based on the matching result of the destination address, a data packet will be forwarded to a specific interface. Therefore, as another preferred embodiment of the present invention, step S4 includes:
[0106] S41: First, according to the calculation result of the priority score, determine the number of data packets transmitted through the FE interface as αN and the number of data packets transmitted through the GE interface as (1-α)N;
[0107] S42: Calculate the traffic load dynamic coefficient σ of the i-th FE interface i and the traffic load dynamic coefficient δ of the j-th GE interface j :
[0108] in, is the current traffic demand of the i-th FE interface, max(R FE) is the maximum flow demand in 1 FE interface; f i is the dynamic adjustment factor of the i-th FE interface; f i =0.1~0.5; preferably, f i =0.4;
[0109] in, is the current traffic demand of the j-th GE interface, max(R GE ) is the maximum flow demand among J GE interfaces; f j =0.1~0.5; wherein, i=1,2,…,I; j=1,2…,J; preferably, f j =0.5;
[0110] S43: Path selection is performed for a total of αN data packets of i FE interfaces, and for a total of (1-α)N data packets of j GE interfaces;
[0111] When the nth data packet is selected for transmission through the FE interface, the path selection coefficient
[0112] σ i is the path weight of the i-th FE interface, Hash(P n_type ,P n_s ,P n_d ,P n_a ,P n_p ) is a function for calculating the hash value of the header field of the relevant information of the nth data packet; mod is the remainder calculation, that is, calculation It is the XOR operator, that is, the two binary numbers before and after the symbol are compared bit by bit.
[0113] When the nth data packet is selected for transmission through the GE interface, the path selection coefficient δ j is the path weight of the j-th GE interface;
[0114] S44: Calculate the i-th data transmission coefficient selection threshold range for data transmitted through the i-th FE interface: For a total of I FE interfaces consisting of I data transmission paths, according to the calculated Index n Determine whether it falls within the transmission threshold range of the i-th path. If so, transmit the n-th data packet through the i-th FE interface; if not, traverse the 1 to i-1 and i+1 to I paths to determine the FE interface for transmitting the n-th data packet; Figure 2 As shown, the method provided by the present invention selects the FE interface path coefficient Index of different data packets. n Dynamic change diagram; the horizontal axis is the amount and location of data packets transmitted by the FE interface. When the horizontal axis is 1500, the vertical axis point value at the horizontal axis corresponding to the red curve is the highest threshold of the data transmission coefficient of the FE interface selected by the 1500th data packet. The vertical axis point value at the horizontal axis corresponding to the green dotted line is the lowest threshold of the data transmission coefficient of the FE interface selected by the 1500th data packet. The vertical axis point value at the horizontal axis corresponding to the blue dotted line is the path selection coefficient Index of the 1500th data packet. 1500 ;Depend on Figure 2 It can be seen that the vertical coordinate value of the blue dotted line is always within the range of the red curve with the highest threshold and the green dotted line with the lowest threshold selected for the data transmission coefficient of the FE interface;
[0115] S45: Calculate the j-th data transmission coefficient selection threshold range for data transmitted through the j-th GE interface: For J data transmission paths consisting of J GE interfaces, according to the calculated Index n Determine whether it falls within the transmission threshold range of the jth path. If so, transmit the nth data packet through the jth FE interface; if not, traverse the data transmission paths from 1 to j-1 and the data transmission paths from j+1 to J to determine the GE interface for transmitting the nth data packet; Figure 3 As shown, the GE interface path selection coefficient Index of different data packets n The definition of the red curve, green dashed line and blue dashed line is similar to that of the FE interface. Figure 3 It can be seen that the vertical coordinate value of the blue dotted line is always within the range of the red curve (highest threshold) and the green dotted line (lowest threshold) of the data transmission coefficient selection for the GE interface.
[0116] By dynamically allocating data packets to FE and GE interfaces and allocating the number of data packets (αN and (1-α)N) based on priority and traffic demand, resource allocation can be optimized when the load is heavy, maximizing interface utilization. The dynamic adjustment mechanism effectively reduces bottlenecks caused by improper resource allocation and improves the overall system throughput. In addition, by calculating the traffic load dynamic coefficient σ for each FE interface and each GE interface i and δ i, it monitors the usage of each interface in real time and performs load balancing based on a dynamic adjustment factor (such as 0.1 to 0.5), which serves as the dividend in the remainder calculation of the hash value. This factor, based on each interface's real-time dynamic traffic load, re-determines the packet capacity that interface can accommodate in the next time slot. This reduces delays and resource waste caused by overloaded or underloaded interfaces, improving system stability and reliability. It then performs a weighted XOR operation on each priority evaluation attribute and the resulting hash value modulo 1024. The path selection coefficient for the packet is calculated using the path weight and hash function, ensuring that the packet is transmitted along the optimal path. Especially in multipath scenarios, the dynamic adjustment mechanism of the path selection threshold effectively avoids congestion and packet loss.
[0117] A packet queue is a buffer structure in a router that temporarily stores packets to be sent or received. Dynamic shaping of the packet queue helps coordinate the transmission order and flow of packets, preventing network congestion or packet loss. Therefore, as another preferred embodiment of the present invention, step S5 includes the following steps:
[0118] S51: Calculate the nth data packet of the qth interface in the kth time slot t k Transfer rate
[0119] When q=i,
[0120] When q=j, Where k = 1, 2, ... K;
[0121] S52: Further calculate the qth interface in the kth time slot t k Interface transmission rate V for multiple data packets q :
[0122] When q=i,
[0123] When q=j,
[0124] S53: Judgment With V q The size of and the queue capacity occupancy rate of the qth interface are used to determine the congestion level of the qth interface. The judgment criteria are as follows:
[0125]
[0126] Among them, QO q is the queue capacity occupancy rate of the qth interface, Min th and Max thThey are the minimum and maximum capacity occupancy thresholds of the queue on the interface; Min th,q =0.45QS q , Max th =0.75QS q , QS q The length of the packet transmission queue of the qth interface obtained in step S1;
[0127] S54: Update the nth data packet of the qth interface in the kth time slot t according to the congestion level of the qth interface. k Transfer rate and packet loss rate
[0128] When C q When there is no congestion,
[0129] When C q When the congestion is low, is the floor function; For The result of the function is rounded down to the nearest integer.
[0130] When C q When the congestion is moderate, is the ceiling function; For The result of the function is rounded up to the integer value of the calculation result; The result of rounding down the result of 0.15q;
[0131] When C q When the congestion is high, Furthermore, when q is i,
[0132] When q is j,
[0133] like Figure 4 As shown, Figure 4(A) is the real-time throughput monitoring result of the FE interface within 200s using the method of the present invention. The blue dotted line in the figure represents the throughput of the monitored FE interface with a data packet transmission rate of 5000pkts / s and low congestion. The pink dotted line represents the throughput of the monitored FE interface with a data packet transmission rate of 10000pkts / s and medium congestion. The red dotted line represents the throughput of the monitored FE interface with a data packet transmission rate of 15000pkts / s and high congestion. The black dotted line represents the throughput of the monitored FE interface with high congestion. The real-time throughput after the transmission queue is input. The comparison of the blue, pink and red dotted lines shows that the faster the data packet transmission rate, the higher the throughput. The comparison of the black dotted line and the red dotted line shows that after the data packet transmission queue is regulated and shaped by the present invention, its throughput will not fluctuate greatly at different time points, ensuring the stability of the throughput. By calculating the transmission rate of the qth interface in each time slot, the interface transmission capacity is dynamically adjusted to ensure that the data packet is transmitted at the optimal rate. At the same time, through the dynamic transmission rate adjustment strategy of the present invention, the transmission strategy can be flexibly optimized according to the real-time network status, thereby improving the system's adaptability to network fluctuations. Figure 4 (B) shows the packet loss rate at different data packet transmission rates within 200 seconds of the FE interface using the method of the present invention. The comparison of the blue, pink, and red dotted lines shows that the faster the data packet transmission rate, the greater the packet loss rate. The comparison of the black and red dotted lines also shows that the present invention dynamically adjusts and shapes the data packet transmission queue, calculates the priority based on the queue length and interface parameters, and gives high-priority data packets an advantage in transmission rate allocation. At the same time, higher priority transmission is provided for mission-critical or delay-sensitive data, thereby reducing the packet loss rate of the FE interface.
[0134] Figure 5 (A) and Figure 5 (B) shows the monitoring and comparison results of the real-time throughput and packet loss rate of the GE interface within 200 seconds, respectively. These results demonstrate the same technical effect as the throughput and packet loss rate of the FE interface. This demonstrates that by employing the method provided by the present invention to shape the data packet transmission queues within multiple FE interfaces and multiple GE interfaces, different dynamic mechanisms for data packet queue transmission can be employed under different congestion conditions, thereby effectively reducing the packet loss rate and minimizing the possibility of data loss during transmission. In particular, under high congestion conditions, adjusting the priority and transmission rate of the data packet transmission queues can effectively avoid packet loss. Furthermore, by reducing queue congestion and optimizing time slot allocation, the technology reduces data transmission latency to a certain extent. In particular, under low and no congestion conditions, data packets can be transmitted at rates close to maximum.
[0135] Queue overflow is a phenomenon caused by network equipment being unable to process more data packets when traffic is too high, directly leading to data packet loss. Data packet loss reduces transmission reliability, increases retransmission overhead, and significantly impacts applications with high real-time requirements (such as video streaming and VoIP). In addition, the transmission capabilities of different interfaces vary. If the load is not properly distributed, it may cause overflow on the high-performance GE interface, while the low-speed FE interface is not fully utilized, resulting in resource waste. Therefore, as another preferred embodiment of the present invention, step S6 includes the following steps:
[0136] S61: Calculate the data transmission quality index U of the qth interface q :
[0137] When q=i,
[0138] When q=j,
[0139] S62: Determine the data transmission quality indicator U of the qth interface q Is the value greater than or equal to the maximum threshold for low-quality transmission? If so, the router further determines whether the qth interface is an FE interface or a GE interface. If it is a GE interface, the overflowing queues on the GE interface are transferred to the FE interface for transmission at a reduced rate. If it is an FE interface, the overflowing queues on the FE interface are transferred to the GE interface for transmission at a increased rate. This reduces the packet loss rate and improves the overall data transmission rate of the router.
[0140] If the data transmission quality index U of the qth interface q If the value is less than the maximum threshold of low-quality transmission, then only steps S1 to S5 need to be repeated for data transmission.
[0141] like Figure 6 (A) is the FE interface delay within 30 minutes when the method provided by the present invention is not used, Figure 6 (B) represents the FE interface delay within 30 minutes when the method provided by the present invention is used. The column corresponding to each horizontal axis represents the delay. A negative vertical axis value indicates a negative delay, that is, there is no delay within the 1-minute time slot of the monitoring point, but the clock point is ahead by the time represented by the length. The length of the column represented by each horizontal axis point is the total delay length within the 1-minute monitoring time slot. Therefore, the longer the column length, the longer the delay. Figure 7 (a) and Figure 7 (b) is the GE interface delay within 30 minutes when the method provided by the present invention is not adopted and when the method provided by the present invention is adopted.
[0142] pass Figure 6 (A) and Figure 6 (B) comparison, and Figure 7(A) and Figure 7 The comparison with (B) shows that the method provided by the present invention can effectively and dynamically adjust the overflow of different types of interface data packet queues. According to different interface types (such as q=i or q=j), the strategy is adjusted to adapt to the transmission requirements of the data packets in the overflow queue when the queues of different types of interfaces overflow. The elastic management method provided by the present invention enables the network to have a stronger adaptability to burst traffic, thereby improving the service quality (QoS) of the network. By monitoring and adjusting the data transmission quality index (Uq), it can be ensured that the transmission quality is maintained within an acceptable range. By dynamically adjusting the interface allocation, the packet loss rate and delay are reduced, and it is applied to a multi-interface transmission environment to meet the user's demand for high-quality services.
[0143] The present invention also provides a multi-interface intelligent path selection network router control system that uses the above method to perform data transmission, such as Figure 8 As shown, the system includes a data packet information acquisition module, a routing and forwarding module, an interface type allocation module, a path selection module, a congestion control module and a data transmission quality management module;
[0144] The data packet information acquisition module is used to obtain the type, source address, destination address, protocol type, port number and queue length of the nth data packet transmitted by the multi-interface intelligent path selection network router;
[0145] The routing and forwarding module is used to assign a packet type score P to each packet based on the priority of the DSCP field in the routing table. n_type , calculate the priority score P of the nth data packet transmitted by the router n_total ;
[0146] The interface type assignment module is used to classify a total of N data packets according to priority scores. When the priority score of the nth data packet is P n_total Greater than the priority threshold P thr When the nth priority score is selected, the data packet with the nth priority score is transmitted to the GE interface for transmission; otherwise, the data packet with the nth priority score is transmitted to the FE interface for transmission;
[0147] A path selection module is used to select a path for the nth data packet when it is transmitted on the GE interface or the FE interface using the EMCP method;
[0148] The congestion control module is used to dynamically monitor the packet transmission congestion of each interface, perform dynamic queue shaping, and adjust the packet transmission rate and packet loss rate of each interface. It is responsible for controlling data flow by packet loss or delay under high network load conditions.
[0149] The data transmission quality management module is used to calculate and judge the data transmission quality index U of each FE interface and GE interface.q When it is greater than the maximum threshold for low-quality transmission, it indicates that a queue overflow has occurred. In this case, the overflowed queue on the GE interface is transferred to the FE interface for transmission at a reduced rate, or the overflowed queue on the GE interface is transferred to the GE interface for transmission at a increased rate, thereby reducing the packet loss rate.
[0150] The present invention also provides a multi-interface intelligent path selection network router that uses the above method to perform data transmission, such as Figure 10-12 As shown, the multi-interface intelligent path selection network router includes a memory, a processor, an LCD display 1 arranged on the top of the multi-interface intelligent path selection network router, a 12V DC power input interface 2 arranged on the rear side of the router, a console management interface 3 and two antennas 4, as well as a USB interface 5, an SFP optical fiber interface 6, a first indicator area 7 arranged between the USB interface 5 and the SFP optical fiber interface 6, a POE Ethernet power supply interface 8, a Fast Ethernet interface module 9, a second indicator area 10 and a Gigabit Ethernet interface module 11 arranged on the front side of the multi-interface intelligent path selection network router; the Fast Ethernet interface module 9 includes a plurality of FE interfaces 91, and the Gigabit Ethernet interface module 11 includes a plurality of GE interfaces 111; the memory stores a computer-readable medium that can execute the above method on the processor. Examples of machine-readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0151] Preferably, the Fast Ethernet interface module 9 includes four FE interfaces 91, and the Gigabit Ethernet interface module 11 includes five GE interfaces 111. The present invention provides an LED display on the top of the network router to display device status, such as network connections (such as WAN and LAN connection status, as well as IP address, subnet mask, gateway information, etc.), interface traffic, system performance, etc. The basic network and device information provided can assist in quick inspection and simple configuration, and can also display device fault information when a device fails on the router. The four FE interfaces 91 of the Fast Ethernet interface module 9 support the standard IEEE 802.3u protocol, and the five GE interfaces 111 of the Gigabit Ethernet interface module 11 support the standard IEEE 802.3ab protocol.
[0152] like Figure 9 , which is a schematic diagram of data connection between the network router provided by the present invention and mobile terminals and PC mobile terminals in different rooms or different areas that can be covered.
[0153] like Figure 12 As shown, the 12V DC power input port 2 is the router's DC power input interface. After accepting a 12V external power adapter, it provides the router's primary power supply. The PoE port 8 provides a secondary power supply. The console management port 3 is used for direct, low-level management and configuration of the router via a serial cable (typically an RJ-45 or DB9 cable). It serves as an external interface for managing the router when network access, such as through Winbox or a web interface, is unavailable. It can also be used for device initialization, debugging, factory reset, and firmware upgrades.
[0154] like Figure 11 As shown, the first indicator area 7 includes a vertically arranged USB interface LED indicator 71 and an SFP optical fiber interface LED indicator 72, which are respectively used to indicate whether the corresponding interface is connected and its activity status;
[0155] The second indicator area 10 includes ten LED indicators labeled "1" through "10." The ten LED indicators are arranged in two rows. The indicators "1" through "5" in the first row correspond to the POE Ethernet power supply port 8 and the four FE interfaces 91 of the Fast Ethernet interface module 9 located on the left side of the second indicator area 10. The indicator labeled "1" corresponds to the POE Ethernet power supply port 8, and the indicators labeled "2" through "5" correspond to the four FE interfaces 91. If the indicators in the first indicator area 7 and the second indicator area 10 are solid, it indicates that the corresponding interface is connected to an external device. If they are flashing, it indicates that the corresponding interface is transmitting data. If they are off, it indicates that the data transmission link is disconnected.
[0156] The indicators “6” to “10” in the second row of the second indicator area 10 correspond one-to-one to the five GE ports 111 located on the right side of the second indicator area 10 .
[0157] Figure 10 and Figure 11 The ETH1 to ETH10 labeled below the POE Ethernet power supply interface 8, the four FE interfaces 91, and the five GE interfaces 111 indicate that the interface is an Ethernet interface, that is, it is the first to tenth physical Ethernet port for connecting wired network devices. The POE Ethernet power supply interface 8 can support Ethernet power supply and is used to provide power to other network devices (such as wireless access points or cameras). ETH2 to ETH5 of the four FE interfaces 91 support a data transmission rate of up to 100 Mbps, and ETH6 to ETH10 of the five GE interfaces 111 support a data transmission rate of up to 1 Gbps (i.e., 1000 Mbps).
[0158] While the present invention has been described with reference to preferred embodiments, various modifications may be made and equivalent components may be substituted without departing from the scope of the present invention. In particular, the various technical features described in the various embodiments may be combined in any manner, provided no structural conflicts exist. The present invention is not limited to the specific embodiments disclosed herein, but encompasses all technical solutions within the scope of the claims.
[0159] It should be noted that the serial numbers of the above-mentioned embodiments of the present invention are for descriptive purposes only and do not represent the advantages or disadvantages of the embodiments. In this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0160] The above are merely specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments, but is to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A data transmission method for a multi-interface intelligent path selection network router, wherein the method adopts an EMCP method to select a transmission path for each data packet and dynamically adjusts the queue of each interface's transmission data packet in real time, characterized in that: The following steps are involved: S1: Obtain the type, source address, destination address, protocol type, port number, and queue length of the nth data packet transmitted by the multi-interface intelligent path selection network router; S2: Assign a packet type score to each packet based on the DSCP field. , calculate the priority score of the nth data packet transmitted by the router ; S3: Classify a total of N data packets according to the priority score. When the priority score of the nth data packet is Greater than the priority threshold When the nth priority score is selected, the data packet with the nth priority score is transmitted to the GE interface for transmission; otherwise, the data packet with the nth priority score is transmitted to the FE interface for transmission; S4: Use the EMCP method to select a path for the nth data packet when it is transmitted on a GE interface or FE interface. Dynamically allocate data packets to FE and GE interfaces, allocating the number of data packets based on priority and traffic demand. Calculate the traffic load dynamic coefficient for each FE interface and each GE interface, perform a weighted XOR operation based on each priority evaluation attribute, and then calculate the hash value modulo 1024 and the traffic load dynamic coefficient to obtain the path selection coefficient for the nth data packet. This ensures that the nth data packet is transmitted along the optimal path when it is transmitted on a GE interface or FE interface. S5: Dynamically monitors the packet transmission congestion of each interface, performs dynamic queue shaping, and adjusts the packet transmission rate and packet loss rate of each interface; S6: Calculate and determine the data transmission quality index of each FE interface and GE interface When it is greater than the maximum threshold for low-quality transmission, it indicates that a queue overflow has occurred. In this case, the overflowed queue on the GE interface is transferred to the FE interface for transmission at a reduced rate, or the overflowed queue on the GE interface is transferred to the GE interface for transmission at a increased rate, thereby reducing the packet loss rate.
2. The data transmission method of a multi-interface intelligent path selection network router according to claim 1, characterized in that: The data packet types obtained in step S1 include: one or more of VoIP real-time stream, video stream, file transfer packet, ordinary data packet or background synchronization task data packet, and the corresponding data packet type score 10, 8, 5, 2 and 1 respectively; the source address includes one or more of a local network address, a trusted external address or a public external address, and the corresponding source address priority score 8, 5 and 2 respectively; the target address includes one or more of: intranet core services, other intranet devices, external trusted servers or public Internet targets, and the corresponding target address priority score The scores are 10, 7, 5 and 3 respectively; the protocol types include one or more of UDP protocol, TCP protocol or ICMP protocol, and the corresponding protocol type scores are 8, 5 and 3 respectively; the port number includes one or more of HTTP / HTTPS port, SIP port, RTP port, FTP port or SSH port, and the corresponding port number score They are 6, 9, 10, 4, and 7 respectively.
3. The data transmission method of a multi-interface intelligent path selection network router according to claim 2, characterized in that: The S2 step calculates the priority score of the nth data packet transmitted by the router The formula is as follows: ;in, =0.3, =0.2, =0.2, =0.2, =0.1; the priority threshold is 6.
4. The data transmission method of a multi-interface intelligent path selection network router according to claim 3, characterized in that: The S4 step includes: S41: First, according to the calculation result of the priority score, determine the number of data packets transmitted through the FE interface as αN and the number of data packets transmitted through the GE interface as (1-α)N; S42: Calculate the traffic load dynamic coefficient of the i-th FE interface and the traffic load dynamic coefficient of the j-th GE interface : ;in, is the current traffic demand of the i-th FE interface, is the maximum flow requirement in one FE interface; is the dynamic adjustment factor of the i-th FE interface; =0.1~0.5; ;in, is the current traffic demand of the j-th GE interface, is the maximum traffic demand among J GE interfaces; =0.1~0.5; where i=1,2,…,I; j=1,2…,J; S43: Path selection is performed for a total of αN data packets of I FE interfaces, and for a total of (1-α)N data packets of J GE interfaces; When the nth data packet is selected for transmission through the FE interface, the path selection coefficient ; is the path weight of the i-th FE interface, A function for calculating the hash value of the header field of the nth data packet related information; ; mod is the remainder calculation; ⊕ is the exclusive OR operator symbol; When the nth data packet is selected for transmission through the GE interface, the path selection coefficient ; is the path weight of the j-th GE interface; S44: Calculate the threshold range of the i-th data transmission coefficient selection: For a total of I FE interfaces consisting of I data transmission paths, according to the calculated Determine whether it falls within the transmission threshold range of the i-th path. If so, transmit the n-th data packet through the i-th FE interface. If not, traverse the 1 to i-1 and i+1 to I paths to determine the FE interface for transmitting the n-th data packet. S45: Calculate the j-th data transmission coefficient and select the threshold range: , for a total of J GE interfaces consisting of J data transmission paths, according to the calculated Determine whether it falls within the transmission threshold range of the j-th path. If so, transmit the n-th data packet through the j-th FE interface. If not, traverse the data transmission paths from 1 to j-1 and the data transmission paths from j+1 to J to determine the GE interface for transmitting the n-th data packet.
5. The data transmission method of a multi-interface intelligent path selection network router according to claim 4, characterized in that: The S5 step includes the following steps: S51: Calculate the nth data packet of the qth interface in the kth time slot Transfer rate : When q=i, ; When q=j, ; where k = 1, 2, ... K; S52: Further calculate the qth interface in the kth time slot Interface transmission rate for multiple packets : When q=i, ; When q=j, ; S53: Judgment and The size of and the queue capacity occupancy rate of the qth interface are used to determine the congestion level of the qth interface. The judgment criteria are as follows: ; in, is the queue capacity occupancy rate of the qth interface, and The minimum and maximum queue capacity occupancy thresholds for the interface, respectively. , , is the length of the packet transmission queue of the qth interface; S54: Update the nth data packet of the qth interface in the kth time slot according to the congestion level of the qth interface Transfer rate and packet loss rate .
6. The data transmission method of a multi-interface intelligent path selection network router according to claim 5, characterized in that: In step S54, when When there is no congestion, ; =0; when When the congestion is low, ; ; is the floor function; when When the congestion is moderate, ; is the ceiling function; ; when When the congestion is high, ; Further, when q is i, ; When q is j, .
7. The data transmission method of a multi-interface intelligent path selection network router according to claim 6, characterized in that: The S6 step includes the following steps: S61: Calculate the data transmission quality index of the qth interface : When q=i, ; When q=j, ; S62: Determine the data transmission quality index of the qth interface Is the value greater than or equal to the maximum low-quality transmission threshold? If so, the system further determines whether the qth interface is an FE interface or a GE interface. If it is a GE interface, the system reduces the rate of overflowed queues on the GE interface and transfers them to the FE interface for transmission. If it is an FE interface, the system increases the rate of overflowed queues on the FE interface and transfers them to the GE interface for transmission. If the data transmission quality index of the qth interface If the value is less than the maximum threshold of low-quality transmission, it is only necessary to repeat steps S1 to S5 to perform data transmission.
8. A multi-interface intelligent path selection network router control system for data transmission using the method according to any one of claims 1 to 7, characterized in that: The system includes a data packet information acquisition module, a routing and forwarding module, an interface type allocation module, a path selection module, a congestion control module and a data transmission quality management module; The data packet information acquisition module is used to obtain the type, source address, destination address, protocol type, port number and queue length of the nth data packet transmitted by the multi-interface intelligent path selection network router; The routing and forwarding module is used to assign a data packet type score to each data packet's priority based on the DSCP field , calculate the priority score of the nth data packet transmitted by the router ; The interface type allocation module is used to classify a total of N data packets according to the priority score. When the priority score of the nth data packet is Greater than the priority threshold When the nth priority score is selected, the data packet with the nth priority score is transmitted to the GE interface for transmission; otherwise, the data packet with the nth priority score is transmitted to the FE interface for transmission; The path selection module is used to select a path for the nth data packet when it is transmitted on the GE interface or the FE interface using the EMCP method; The congestion control module is used to dynamically monitor the data packet transmission congestion of each interface, perform dynamic queue shaping, and adjust the data packet transmission rate and packet loss rate of each interface; The data transmission quality management module is used to calculate and judge the data transmission quality index of each FE interface and GE interface When it is greater than the maximum threshold for low-quality transmission, it indicates that a queue overflow has occurred. In this case, the overflowed queue on the GE interface is transferred to the FE interface for transmission at a reduced rate, or the overflowed queue on the GE interface is transferred to the GE interface for transmission at a increased rate, thereby reducing the packet loss rate.
9. A multi-interface intelligent path selection network router for data transmission using the method according to any one of claims 1 to 7, characterized in that: The multi-interface intelligent path selection network router comprises a memory, a processor, a liquid crystal display (1) arranged on the top of the multi-interface intelligent path selection network router, a 12V DC power input interface (2) arranged on the rear side of the router, a console management interface (3) and two antennas (4), as well as a USB interface (5), an SFP optical fiber interface (6), a first indicator light area (7) arranged between the USB interface (5) and the SFP optical fiber interface (6), a POE Ethernet power supply interface (8), a Fast Ethernet interface module (9), a second indicator light area (10) and a Gigabit Ethernet interface module (11) arranged on the front side of the multi-interface intelligent path selection network router; the Fast Ethernet interface module (9) includes a plurality of FE interfaces (91), and the Gigabit Ethernet interface module (11) includes a plurality of GE interfaces (111); the memory stores a computer-readable medium capable of executing the method according to any one of claims 1 to 7 on the processor.
10. The multi-interface intelligent path selection network router according to claim 9, characterized in that: The plurality of FE interfaces (91) of the FastEthernet interface module (9) support the standard IEEE 802.3u protocol, and the plurality of GE interfaces (111) of the GigabitEthernet interface module (11) support the standard IEEE 802.3ab protocol.
Citation Information
Patent Citations
Router queue control system based on congestion identification and control method thereof
CN101997776A
Intelligent collecting router and implementing method thereof
CN104243331A
PCB (printed circuit board) compatible with network ports and router
CN213937964U
Industrial heterogeneous network scheduling method oriented to TSN and non-TSN interconnection
CN111600754A
Risk assessment method based on data priority, storage device and control circuit
CN114822664A