Router reliable transmission control method and system
By setting up WAN ports in the router and forming network routing tables, the problem of insufficient switch port isolation and traffic equalization capabilities is solved, and higher security and traffic equalization capabilities are achieved, cost is reduced, and data transmission security of trusted users is ensured.
Patent Information
- Application Number
- CN202411851022.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-08
AI Technical Summary
In the implementation of switch port isolation, the prior art requires specific switching chips and software support, and the traffic equalization mechanism of closing the link aggregation port limits the switch's traffic equalization capability and lacks a solution for trusted user selection and confirmation.
By setting the number and connection method of WAN ports in the router, a network routing table is formed and data transmission is carried out based on the routing table information, port control, traffic equalization control and trusted user control are realized, ensuring stable, safe and reliable transmission of communication equipment.
It achieves better security and traffic equalization capabilities, reduces costs, and ensures data transmission security between trusted fixed IP users in a multi-user network.
Smart Images

Figure CN119788586A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a router reliable transmission control method and system. Background Art
[0002] At present, with the development of communication and network technology, various user terminal devices need to exchange and reliably transmit data with radio stations and communication terminals in wireless networks, which requires both secure transmission and flexible switching. When transmitting large amounts of data, controlling devices to transmit evenly on different paths and interfaces will enhance the transmission efficiency of the communication system. Communication equipment will enhance the security of the communication system by checking the routing table to match the network to ensure information transmission between trusted users with fixed IP addresses.
[0003] Commonly used devices for controlling data transmission include switches, communication controllers, and routers. Switches are mainly used to connect devices within a local area network. The connected network segments still belong to the same broadcast domain. Broadcast data packets will propagate on all network segments connected to the switch, which may cause communication congestion and security vulnerabilities in some cases. The communication controller establishes a communication session between the terminal and the network node, manages data communication on the communication link and controls data flow, and provides buffering, error detection and correction, routing, etc. The communication controller is actually a computer with a bus, memory, and central processing unit inside, as well as an adapter connected to the host channel and an interface component connected to the group controller. It requires more hardware and complex software protocols, and is more expensive. A router is a network device that can forward and route data between different networks. In a router, the WAN port is the interface for the router to connect to the wide area network. It is usually used to connect to broadband access devices provided by Internet providers (ISPs), while the LAN port is the interface for the router to connect to the local area network. It is usually used to connect to devices within the local area network, such as computers, mobile phones, printers, etc. The difference between the two interfaces brings convenient conditions for the flexible control and secure transmission of communication information.
[0004] ZTE Corporation's invention patent "Method for realizing switch port isolation, switch and switching chip" (publication number: CN 101123510A) involves the field of Ethernet switches and discloses a method for realizing switch port isolation. The technology includes the following steps: several ports of the switching chip are respectively set as security ports and isolation ports; all isolation ports of the switching chip are set as link aggregation ports; the traffic balancing mechanism of the link aggregation port is turned off to ensure that the second-layer forwarding is carried out according to the normal mechanism. The patent document realizes good port isolation and enables the switch to have more choices in the use of switching chips. Port isolation can be realized by using low-end chips, saving investment and cost, and improving product practicality and stability. However, the scheme has the following defects: First, this implementation method requires the use of switching chips to realize port isolation, and the switch requires specific chips and software support; Second, the realization of port isolation requires the closure of the traffic balancing mechanism of the link aggregation port, which limits the traffic balancing ability of some ports of the switch to a certain extent, and reduces the ability and efficiency of the switch to perform traffic balancing; Third, in terms of trusted user selection and confirmation of data transmission, the switch scheme does not provide relevant solutions. Summary of the invention
[0005] In view of the defects in the prior art, the object of the present invention is to provide a method and system for controlling reliable transmission of a router.
[0006] A reliable transmission control method for a router provided by the present invention comprises:
[0007] Router setup steps: Set the number of WAN ports and the connection method;
[0008] The network routing table forming step: enabling the communication network to determine the routing table information according to the connection mode of the WAN port;
[0009] Data transmission steps: Transmit data according to the routing table information.
[0010] Preferably, the router setting step includes:
[0011] Select the number of WAN ports in the basic settings interface mode and complete the number setting;
[0012] Router products can access the WAN in the following ways: fixed IP address, automatic IP address acquisition and PPPoE dial-up. Select the connection method in the WAN settings of the basic settings to complete the connection method settings.
[0013] Enable the IP traffic statistics function, select Terminal Management in Basic Settings, select Speed Limit, and set the maximum uplink / downlink rate;
[0014] Configure traffic balancing in the WAN settings under Basic Settings.
[0015] Preferably, the network routing table forming step includes:
[0016] When the WAN port is set to automatically obtain an IP address to access the WAN, the entire communication network will choose to dynamically learn and update the routing table information through the routing protocol;
[0017] When a fixed IP address is selected in the WAN port settings to access the WAN, the entire communication network selects the method of manually configuring router information, and directly enters the IP information and connection relationship to determine the routing table information.
[0018] Preferably, the routing table formation includes the formation of a routing table of a router device and the formation of a routing table of an upper-level network switch device in the network.
[0019] Preferably, the data transmission step includes setting up a router after the network is established, completing the formation of a network routing table through channel establishment, and enabling the communication network to perform communication tasks between users.
[0020] A router reliable transmission control system provided by the present invention comprises:
[0021] Router setting module: set the number of WAN ports and connection method;
[0022] Network routing table forming module: enables the communication network to determine routing table information according to the connection mode of the WAN port;
[0023] Data transmission module: transmits data according to routing table information.
[0024] Preferably, the router setting module includes:
[0025] Select the number of WAN ports in the basic settings interface mode and complete the number setting;
[0026] Router products can access the WAN in the following ways: fixed IP address, automatic IP address acquisition and PPPoE dial-up. Select the connection method in the WAN settings of the basic settings to complete the connection method settings.
[0027] Enable the IP traffic statistics function, select Terminal Management in Basic Settings, select Speed Limit, and set the maximum uplink / downlink rate;
[0028] Configure traffic balancing in the WAN settings under Basic Settings.
[0029] Preferably, the network routing table forming module includes:
[0030] When the WAN port is set to automatically obtain an IP address to access the WAN, the entire communication network will choose to dynamically learn and update the routing table information through the routing protocol;
[0031] When a fixed IP address is selected in the WAN port settings to access the WAN, the entire communication network selects the method of manually configuring router information, and directly enters the IP information and connection relationship to determine the routing table information.
[0032] Preferably, the routing table formation includes the formation of a routing table of a router device and the formation of a routing table of an upper-level network switch device in the network.
[0033] Preferably, the data transmission module includes setting up a router after the network is established, completing the formation of a network routing table through channel establishment, and enabling the communication network to perform communication tasks between users.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] 1. The present invention utilizes the protocol strategy set by the router to realize port control, traffic balancing control and trusted user control, as well as stable, safe and reliable transmission of communication equipment; the business layer and the transmission layer are processed separately, the WAN port is external and connected to the transmission equipment, and the LAN port is internal and connected to the business terminal equipment, and the transmission is performed according to the IP address, thus overcoming the information flooding broadcast of the switch; compared with the switch, it has better security advantages.
[0036] 2. The present invention enables the router to perform load balancing and multi-port transmission according to traffic operation conditions, split transmission of transmission data packets and synthesize and reassemble them into original data packets, thereby enhancing link transmission efficiency; compared with the complexity of communication controller hardware and software, the router architecture of the present invention has better economy and greatly reduces costs.
[0037] 3. In a multi-user network, the present invention enables the router to check the routing table to ensure data transmission between trusted fixed IP users, thereby enhancing the security of the communication system.
[0038] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0040] Figure 1 This is a diagram of the router networking framework in the present invention.
[0041] Figure 2 This is a flow chart of reliable transmission control of the router in the present invention.
[0042] Figure 3 This is a schematic diagram of setting the number of WAN ports in the present invention.
[0043] Figure 4 This is a schematic diagram of the WAN port setting in the present invention.
[0044] Figure 5 It is a schematic diagram of terminal management in the present invention.
[0045] Figure 6 This is a schematic diagram of terminal rate management in the present invention.
[0046] Figure 7 It is a schematic diagram of flow balance in the present invention.
[0047] Figure 8 It is a schematic diagram of data transmission based on router traffic balancing in the present invention.
[0048] Fig. 9 It is a schematic diagram of reliable data transmission based on a fixed IP address in the present invention. DETAILED DESCRIPTION
[0049] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0050] The present invention starts from the perspective of actual needs and applications, and designs a method for realizing internal and external network interface control by utilizing router interface configuration, including input and output interface control, flow balance control and trusted user control.
[0051] Router networking framework Figure 1 As shown, the router can be selected as the desktop model TL-R489GP-AC or the rack model TL-ER6229GPE-AC according to the actual application. Both have 1 WAN port, 3 LAN / WAN ports, and 5 LAN ports. The LAN port supports POE function. Both routers support static routing and traffic balancing.
[0052] The reliable transmission control flow chart of the router is as follows Figure 2 shown.
[0053] This method comprises the following steps:
[0054] Step 1: Router Setup
[0055] Step 1.1: Set the number of WAN ports.
[0056] like Figure 3 As shown, enter the page, in the interface mode of basic settings, select the number of WAN ports, and after the settings are completed, click "Save".
[0057] Step 1.2: WAN port settings.
[0058] Router products provide three ways to access the WAN: fixed IP address, automatic IP address acquisition, and PPPoE dial-up. Wired broadband generally uses the automatic IP address acquisition connection method.
[0059] like Figure 4 As shown, enter the page, in the WAN settings of the basic settings, select the connection method, and after the settings are completed, click "Save".
[0060] Step 1.3: Terminal rate management
[0061] Make sure the IP traffic statistics function is enabled; otherwise, you will not be able to view the correct uplink and downlink rates.
[0062] like Figure 5 As shown, enter the page and select Terminal Management in Basic Settings.
[0063] like Figure 6 As shown, click the Settings button, select Speed Limit, and set the maximum uplink / downlink rate. After setting, click OK.
[0064] Step 1.4: Traffic balancing.
[0065] like Figure 7 As shown, enter the page, in the WAN settings of the basic settings, select traffic balancing, turn on special application routing, and in the balancing mode, select "connection balancing"; after the settings are completed, click "Save".
[0066] Step 2: Network routing table is formed.
[0067] When you select Automatically obtain an IP address to access the WAN in the WAN port settings, the entire communication network chooses to dynamically learn and update the routing table information through the routing protocol. When you select Fixed IP address to access the WAN in the WAN port settings, the entire communication network chooses to manually configure the router information, directly inputting the IP information and connection relationship to determine the routing table information.
[0068] The routing table formation includes the routing table formation of the router device and the routing table formation of the upper-level network switch device in the network.
[0069] Step 3: Data is transmitted reliably.
[0070] After the network is built, the router is set up, and the network routing table is formed through channel establishment. Then the communication network can perform communication tasks between users.
[0071] The above are basic embodiments of the present invention. The technical solution of the present invention is further described below through two preferred embodiments.
[0072] Example 1
[0073] Data transmission based on router traffic balancing.
[0074] The user computer transmits high-speed data streams to the upper computer. The router traffic balancing design splits the data packets through multiple transmissions and synthesizes the data packets for output at the upper network switch. The data transmission diagram based on router traffic balancing is shown in the figure. Figure 8 shown.
[0075] The data transmission scheme based on router traffic balancing is as follows:
[0076] ①Router settings
[0077] Set the number of router WAN ports to three WAN ports, set the WAN port to automatically obtain an IP address, the maximum upstream rate of terminal rate management is 100kB / s, and the traffic balancing mode is connection balancing.
[0078] ② Network routing table formation
[0079] The channel is established and the entire communication network dynamically learns and updates the routing table information through the routing protocol.
[0080] ③Reliable data transmission
[0081] The user computer sets the target address to the network IP of the upper-level computer, and the data transmission rate is 150kB / s. As a result, the data is transmitted in split streams at the router WAN1 and WAN2 ports, and the upper-level network switch receives and synthesizes data packets at the LAN1 and LAN2 ports respectively, and transmits the 150kB / s data stream at the LAN3 port of the upper-level network switch to the upper-level computer.
[0082] Example 2
[0083] Reliable data transmission based on fixed IP address.
[0084] In a multi-user network or multi-external network, such as when CPE and vehicle-mounted stations access the router via different wireless networks, the router can ensure communication between trusted IP users, and communication packets that cannot match the routing table will be discarded. This solution can ensure the communication security of the router's internal and external networks. The schematic diagram of reliable data transmission based on fixed IP addresses is shown in the figure below. Fig. 9 shown.
[0085] The reliable data transmission scheme based on fixed IP addresses is as follows:
[0086] ①Router settings
[0087] Set the number of router WAN ports to three WAN ports, set the WAN port to a fixed IP address, set the maximum upstream rate of terminal rate management to 100kB / s, and set the traffic balancing mode to connection balancing.
[0088] ② Network routing table formation
[0089] The channel is established and the entire communication network chooses the method of manually configuring router information, directly inputting IP information and connection relationships to determine the routing table information.
[0090] ③Reliable data transmission
[0091] The user computer and CPE and vehicle-mounted station can transmit data to each other. The router will check whether the source IP address of the data is in the routing table and whether the target network matches the routing table. If it matches, it will be forwarded from the corresponding port. If it does not match the routing table, the data packet will be discarded. Under the mutual trust fixed IP address, the user computer can communicate smoothly with the CPE and vehicle-mounted station. This transmission scheme enhances the security of the communication system.
[0092] The present invention utilizes the protocol strategy set by the router to realize port control, traffic balancing control and trusted user control, as well as stable, safe and reliable transmission of communication equipment; the business layer and the transmission layer are processed separately, the WAN port is external and connected to the transmission equipment, and the LAN port is internal and connected to the business terminal equipment, and transmission is performed according to the IP address, thus overcoming the information flooding broadcast of the switch; compared with the switch, it has better security advantages.
[0093] The present invention also provides a router reliable transmission control system, which can be implemented by executing the process steps of the router reliable transmission control method, that is, those skilled in the art can understand the router reliable transmission control method as a preferred implementation of the router reliable transmission control system.
[0094] Specifically, a router reliable transmission control system includes:
[0095] Router setting module: set the number of WAN ports and connection method;
[0096] Network routing table forming module: enables the communication network to determine routing table information according to the connection mode of the WAN port;
[0097] Data transmission module: transmits data according to routing table information.
[0098] The router setting module includes:
[0099] Select the number of WAN ports in the basic settings interface mode and complete the number setting;
[0100] Router products can access the WAN in the following ways: fixed IP address, automatic IP address acquisition and PPPoE dial-up. Select the connection method in the WAN settings of the basic settings to complete the connection method settings.
[0101] Enable the IP traffic statistics function, select Terminal Management in Basic Settings, select Speed Limit, and set the maximum uplink / downlink rate;
[0102] Configure traffic balancing in the WAN settings under Basic Settings.
[0103] The network routing table forming module comprises:
[0104] When the WAN port is set to automatically obtain an IP address to access the WAN, the entire communication network will choose to dynamically learn and update the routing table information through the routing protocol;
[0105] When a fixed IP address is selected in the WAN port settings to access the WAN, the entire communication network selects the method of manually configuring router information, and directly enters the IP information and connection relationship to determine the routing table information.
[0106] The routing table formation includes the routing table formation of a router device and the routing table formation of an upper-level network switch device in the network.
[0107] The data transmission module includes setting up routers after the network is established, completing the formation of a network routing table through channel establishment, and enabling the communication network to perform communication tasks between users.
[0108] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.
[0109] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A router reliable transmission control method, characterized in that: include: Router setup steps: Set the number of WAN ports and the connection method; The network routing table forming step: enabling the communication network to determine the routing table information according to the connection mode of the WAN port; Data transmission steps: Transmit data according to the routing table information.
2. The router reliable transmission control method according to claim 1, characterized in that: The router setting steps include: Select the number of WAN ports in the basic settings interface mode and complete the number setting; Router products can access the WAN in the following ways: fixed IP address, automatic IP address acquisition and PPPoE dial-up. Select the connection method in the WAN settings of the basic settings to complete the connection method settings. Enable the IP traffic statistics function, select Terminal Management in Basic Settings, select Speed Limit, and set the maximum uplink / downlink rate; Configure traffic balancing in the WAN settings under Basic Settings.
3. The reliable transmission control method for a router according to claim 2, characterized in that: The network routing table forming step comprises: When the WAN port is set to automatically obtain an IP address to access the WAN, the entire communication network will choose to dynamically learn and update the routing table information through the routing protocol; When a fixed IP address is selected in the WAN port settings to access the WAN, the entire communication network selects the method of manually configuring router information, and directly enters the IP information and connection relationship to determine the routing table information.
4. The reliable transmission control method for routers according to claim 3, characterized in that: The routing table formation includes the routing table formation of a router device and the routing table formation of an upper-level network switch device in the network.
5. The reliable transmission control method for routers according to claim 1, characterized in that: The data transmission step includes setting up a router after the network is established, completing the formation of a network routing table through channel establishment, and enabling the communication network to perform communication tasks between users.
6. A router reliable transmission control system, characterized in that: include: Router setting module: set the number of WAN ports and connection method; Network routing table forming module: enables the communication network to determine routing table information according to the connection mode of the WAN port; Data transmission module: transmits data according to routing table information.
7. The router reliable transmission control system according to claim 6, characterized in that: The router setting module includes: Select the number of WAN ports in the basic settings interface mode and complete the number setting; Router products can access the WAN in the following ways: fixed IP address, automatic IP address acquisition and PPPoE dial-up. Select the connection method in the WAN settings of the basic settings to complete the connection method settings. Enable the IP traffic statistics function, select Terminal Management in Basic Settings, select Speed Limit, and set the maximum uplink / downlink rate; Configure traffic balancing in the WAN settings under Basic Settings.
8. The reliable transmission control system for routers according to claim 7, characterized in that: The network routing table forming module comprises: When the WAN port is set to automatically obtain an IP address to access the WAN, the entire communication network will choose to dynamically learn and update the routing table information through the routing protocol; When a fixed IP address is selected in the WAN port settings to access the WAN, the entire communication network selects the method of manually configuring router information, and directly enters the IP information and connection relationship to determine the routing table information.
9. The reliable transmission control system for routers according to claim 8, characterized in that: The routing table formation includes the routing table formation of a router device and the routing table formation of an upper-level network switch device in the network.
10. The reliable transmission control system for routers according to claim 6, characterized in that: The data transmission module includes setting up routers after the network is established, completing the formation of a network routing table through channel establishment, and enabling the communication network to perform communication tasks between users.
Citation Information
Patent Citations
Method, switch and switching chip for port separation of switch
CN101123510A