A network communication method, system, routing device and service device

By combining short-distance and long-distance wireless communication modules in the routing device and establishing multiple communication links, the existing multi-link aggregation routers are solved, and flexibility and application scope are expanded.

CN114615191BActive Publication Date: 2025-08-26ALIBABA CLOUD COMPUTING CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210143448.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-16
Publication Date
2025-08-26
Estimated Expiration
2042-02-16

AI Technical Summary

Technical Problem

The existing multi-link aggregation routers are large in size and high in cost, making them inconvenient for portability and mass production.

Method used

Multiple communication links are established through the first routing device and the target service device, and the combination of short-distance and long-distance wireless communication modules is used to realize multi-link aggregation, reducing device volume and reducing costs.

Benefits of technology

A distributed router with different number of links is realized, providing different bandwidths and high availability capabilities, reducing device volume, facilitating mass production and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114615191B_ABST
    Figure CN114615191B_ABST
Patent Text Reader

Abstract

Embodiments of the present invention provide a network communication method, system, routing device, and service device. The method includes: a first routing device establishing multiple communication links with a target service device for communication; wherein the multiple communication links include a first type of communication link, which is a communication link from the first routing device to the target service device via a second routing device; the first routing device receiving first data sent by a terminal device and sending the first data to the target service device via one or more of the multiple communication links; the first routing device receiving second data sent by the target service device via one or more of the multiple communication links, and sending the second data to the terminal device. Through the embodiments of the present invention, multiple routing devices are combined into distributed routers with different numbers of links, thereby providing different bandwidths and high availability capabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a network communication method, system, routing equipment and service equipment. Background Art

[0002] Multi-link aggregation technology is one of the core technologies in network high availability solutions. Currently, most manufacturers use integrated routers with multiple communication modules to implement multi-link aggregation.

[0003] However, since such a router carries multiple communication modules, it is usually large in size, not easy to carry, and has a high manufacturing cost. Summary of the Invention

[0004] In view of the above problems, a network communication method, system, routing device and service device are proposed to overcome the above problems or at least partially solve the above problems, including:

[0005] A network communication method, applied to a first routing device, comprising:

[0006] The first routing device establishes multiple communication links with the target service device for communication; wherein the multiple communication links include a first type of communication link, and the first type of communication link is a communication link from the first routing device to the target service device via the second routing device;

[0007] The first routing device receives the first data sent by the terminal device, and sends the first data to the target service device through one or more communication links of the multiple communication links;

[0008] The first routing device receives second data sent by the target service device through one or more communication links of the plurality of communication links, and sends the second data to the terminal device.

[0009] Optionally, the first routing device and the second routing device are both configured with a first-type communication module, the second routing device is configured with a second-type communication module and is connected to the target service device through the configured second-type communication module, and the first routing device establishes multiple communication links with the target service device for communication, including:

[0010] The first routing device establishes a connection with the second routing device through the configured first type communication module;

[0011] The first routing device establishes a first type of communication link with the target service device according to the first type of communication module configured by the first routing device, the first type of communication module configured by the second routing device, and the second type of communication module configured by the second routing device.

[0012] Optionally, the first routing device establishes a first type of communication link for communicating with the target service device according to the first type of communication module configured in the first routing device, the first type of communication module configured in the second routing device, and the second type of communication module configured in the second routing device, including:

[0013] The first routing device establishes a communication tunnel between the first type of communication module configured in the first routing device and the first type of communication module configured in the second routing device;

[0014] The first routing device establishes, based on the communication tunnel, first routing information of the first type of communication module configured in the first routing device and the first type of communication module configured in the second routing device, and establishes second routing information of the first type of communication module configured in the second routing device and the second type of communication module configured in the second routing device;

[0015] The first routing device establishes a first type of communication link with the target service device according to the first routing information and the second routing information.

[0016] Optionally, before the first routing device establishes a connection with the second routing device through the configured first-type communication module, the method further includes:

[0017] The first routing device sets itself as a master routing device, and sets the first type of communication module configured in the first routing device to a mode accessible to other routing devices.

[0018] Optionally, the multiple communication links include a second-type communication link, which is a communication link from the first routing device itself to the target service device. The first routing device is configured with a second-type communication module and is connected to the target service device through the configured second-type communication module.

[0019] Optionally, the first type of communication module is a short-range wireless communication module, and the second type of communication module is a long-range wireless communication module.

[0020] A network communication method, applied to a second routing device, comprising:

[0021] The second routing device establishes a connection with the first routing device, so that the first routing device establishes a first type of communication link to the target service device via the second routing device;

[0022] When the second routing device receives the first data sent by the first routing device through the first type of communication link, the second routing device sends the first data to the target service device; wherein the first data is sent by the terminal device to the first routing device;

[0023] When receiving the second data sent by the target service device through the first type of communication link, the second routing device sends the second data to the first routing device, so that the first routing device sends the second data to the terminal device.

[0024] A network communication method, applied to a target service device, comprising:

[0025] The target service device establishes multiple communication links with the first routing device for communication; wherein the multiple communication links include a first type of communication link, and the first type of communication link is a communication link from the first routing device to the target service device via the second routing device;

[0026] The target service device receives the first data sent by the first routing device through one or more communication links of the plurality of communication links, and sends the first data to the Internet end; wherein the first data is sent by the terminal device to the first routing device;

[0027] The target service device receives the second data sent by the Internet end, and sends the second data to the first routing device through one or more communication links of the multiple communication links, so that the first routing device sends the second data to the terminal device.

[0028] A first routing device, wherein the first routing device is configured to:

[0029] Establishing multiple communication links for communicating with a target service device; wherein the multiple communication links include a first type of communication link, the first type of communication link being a communication link from the first routing device to the target service device via a second routing device;

[0030] receiving first data sent by a terminal device, and sending the first data to the target service device through one or more communication links of the plurality of communication links;

[0031] Receive second data sent by the target service device through one or more communication links of the multiple communication links, and send the second data to the terminal device.

[0032] A second routing device, wherein the second routing device is configured to:

[0033] Establishing a connection with a first routing device so that the first routing device establishes a first type of communication link to a target service device via the second routing device;

[0034] Upon receiving first data sent by the first routing device through the first type of communication link, sending the first data to the target service device; wherein the first data is sent by a terminal device to the first routing device;

[0035] When receiving the second data sent by the target service device through the first type of communication link, the second data is sent to the first routing device, so that the first routing device sends the second data to the terminal device.

[0036] A target service device, wherein the target service device is configured to:

[0037] Establishing multiple communication links for communication with the first routing device; wherein the multiple communication links include a first type of communication link, the first type of communication link being a communication link from the first routing device to the target service device via the second routing device;

[0038] receiving first data sent by the first routing device through one or more of the plurality of communication links, and sending the first data to an Internet end; wherein the first data is sent by a terminal device to the first routing device;

[0039] Receive second data sent by the Internet end, and send the second data to the first routing device through one or more communication links of the multiple communication links, so that the first routing device sends the second data to the terminal device.

[0040] A network communication system, characterized in that the system includes a first routing device, a second routing device, and a target service device;

[0041] During uplink communication:

[0042] The first routing device is configured to receive first data sent by a terminal device and send the first data to the target service device via one or more communication links among a plurality of communication links; wherein the plurality of communication links include a first type of communication link, which is a communication link from the first routing device to the target service device via the second routing device;

[0043] the second routing device is configured to, upon receiving first data sent by the first routing device through the first type of communication link, send the first data to the target service device;

[0044] The target routing device is configured to receive the first data sent by the first routing device through one or more of the plurality of communication links, and send the first data to an Internet end;

[0045] During downlink communication:

[0046] The target routing device is configured to receive the second data sent by the Internet terminal, and send the second data to the first routing device through one or more communication links of the plurality of communication links;

[0047] the second routing device being configured to, upon receiving second data sent by the target service device through the first type of communication link, send the second data to the first routing device;

[0048] The first routing device is used to send the second data to the terminal device.

[0049] The embodiments of the present invention have the following advantages:

[0050] In an embodiment of the present invention, multiple communication links are established for communication with the target service device through the first routing device, and the multiple communication links include a first type of communication link, which is a communication link from the first routing device to the target service device via the second routing device. Based on this, the first routing device can receive the first data sent by the terminal device, and send the first data to the target service device through one or more of the multiple communication links, and can receive the second data sent by the target service device through one or more of the multiple communication links, and send the second data to the terminal device, realizing the use of multiple routing devices to combine into distributed routers with different numbers of links, thereby being able to provide different bandwidths and high availability capabilities, and there is no need to maintain the distance between the antennas of each communication module when carrying, which greatly reduces the overall device size, facilitates mass production, reduces device costs, and improves the flexibility and application range of the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the description of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0052] Figure 1 This is a flowchart of a network communication method provided by one embodiment of the present invention;

[0053] Figure 2is a flowchart of another network communication method provided by one embodiment of the present invention;

[0054] Figure 3 is a flowchart of another network communication method provided by one embodiment of the present invention;

[0055] Figure 4 is a schematic diagram of a network communication architecture provided by an embodiment of the present invention;

[0056] Figure 5 It is a schematic diagram of a network communication example provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0057] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments described are only a portion of the embodiments of the present invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are also within the scope of protection of the present invention.

[0058] Reference Figure 1 , shows a step flow chart of a network communication method provided by an embodiment of the present invention, which can be applied to a first routing device, and the routing device can be a router.

[0059] Specifically, the following steps may be included:

[0060] Step 101: A first routing device establishes multiple communication links with a target service device for communication; wherein the multiple communication links include a first type of communication link, which is a communication link from the first routing device to the target service device via a second routing device.

[0061] The target service device may be a multi-link aggregation server that can aggregate multiple communication links. The first router may perform short-range wireless communication with the second router, such as using WiFi communication.

[0062] In order to realize communication with the target service device through multiple links, the first routing device can establish multiple communication links with the target service device to realize multi-link aggregation transmission. The protocols used can be such as MPTCP (MultiPathTCP, multi-path transmission control protocol), QUIC (Quick UDP Internet Connection, a low-latency Internet transport layer protocol based on UDP), etc.

[0063] In a specific implementation, the first routing device may establish a connection with one or more second routing devices, and each second routing device may be connected to a target service device, thereby establishing a first type of communication link to the target service device via the second routing device.

[0064] In one embodiment of the present invention, both the first routing device and the second routing device can be configured with a first-type communication module. The first-type communication module is a short-range wireless communication module, such as a WiFi communication module, which can be used for communication between the first routing device, the second routing device, and the terminal device.

[0065] The second routing device can be configured with a second-type communication module and can be connected to the target service device through the configured second-type communication module. Specifically, it can be connected to the target service device through a base station. The second-type communication module is a long-distance wireless communication module, such as a cellular network communication module, or it can be other communication modules for long-distance wireless communication, such as an Ethernet communication module.

[0066] In one example, the second routing device may be configured with one or more second-type communication modules, that is, the second routing device may be configured with a single communication module or multiple communication modules.

[0067] Based on this, step 101 may include:

[0068] In sub-step 11, the first routing device establishes a connection with the second routing device through the configured first-type communication module.

[0069] Since both the first routing device and the second routing device are configured with a first-class communication module for short-range wireless communication, the first routing device can establish a connection with the second routing device through the configured first-class communication module. Specifically, the second routing device can be connected to the physical interface of the first-class communication module configured on the first router through the physical interface of the configured first-class communication module.

[0070] In one embodiment of the present invention, before sub-step 11, the following steps may also be included:

[0071] The first routing device sets itself as a master routing device, and sets the first type of communication module configured in the first routing device to a mode accessible to other routing devices.

[0072] Since there are multiple routing devices, a first routing device can be determined as the main routing device from the multiple routing devices. Specifically, the routing device can detect the network signal of the main routing device through the first-class communication module. When the network signal of the main routing device is not detected, it can set itself as the main routing device. For the main routing device, in order to access other devices, the first-class communication module configured therein can be set to a mode accessible to other routing devices. For example, if the first-class communication module is a WiFi communication module, it can be set to wireless access point (AP) mode.

[0073] In one example, when there is no main routing device or the main routing device stops working, the first routing device as the main routing device can also be automatically elected by multiple routing devices, such as electing the router with the smallest WiFi.BSSID or MAC as the main router.

[0074] In sub-step 12, the first routing device establishes a first type of communication link with the target service device according to the first type of communication module configured in the first routing device, the first type of communication module configured in the second routing device, and the second type of communication module configured in the second routing device.

[0075] After the first routing device and the second routing device establish a connection through the configured first-class communication module, and the second routing device establishes a connection with the target service device through the configured second-class communication module, a first-class communication link can be established from the first-class communication module configured on the first routing device to the target service device via the first-class communication module configured on the second routing device and the second-class communication module configured on the second routing device, for communication with the target service device.

[0076] In one embodiment of the present invention, sub-step 12 may include:

[0077] In sub-step 121 , a first routing device establishes a communication tunnel between a first type of communication module configured in the first routing device and a first type of communication module configured in a second routing device.

[0078] After the second routing device is connected to the physical interface of the first type of communication module configured on the first router through the physical interface of the configured first type of communication module, the second routing device can establish a communication tunnel, such as an IP tunnel, with the first routing device based on the connected physical interface.

[0079] Among them, network tunneling technology is the process of a router encapsulating a network layer protocol into another protocol to transmit it across the network to another router. Through network tunneling technology, the networks at both ends of the tunnel are combined into a larger internal network.

[0080] In sub-step 122, the first routing device establishes first routing information of the first type of communication module configured on the first routing device and the first type of communication module configured on the second routing device based on the communication tunnel, and establishes second routing information of the first type of communication module configured on the second routing device and the second type of communication module configured on the second routing device.

[0081] After establishing the communication tunnel, a virtual network interface is set between the first routing device and the second routing device, which can use the communication tunnel through the virtual network interface, and then establish the first routing information between the virtual network interface in the first type of communication module configured by the first routing device and the virtual network interface in the first type of communication module configured by the second routing device.

[0082] For the second routing device, it can be configured with a forwarding control module, and a connection can be established between the configured first-type communication module and the second-type communication module through the forwarding control module, thereby establishing second routing information of the first-type communication module and the configured second-type communication module configured by the second routing device.

[0083] The forwarding control module is mainly composed of an IP routing table and an IP forwarder. The IP forwarder forwards IP data packets according to the IP routing table. The IP routing table can be changed according to the access or removal of each router.

[0084] In sub-step 123 , the first routing device establishes a first type of communication link with the target service device according to the first routing information and the second routing information.

[0085] In order to achieve multi-link aggregation, a multi-link aggregation module can be configured in the routing device. The multi-link aggregation module configured in the first routing device can establish a first-class communication link from the first-class communication module configured in the first routing device to the target service device via the first-class communication module and the second-class communication module configured in the second routing device based on the first-class communication module configured in the first routing device and the first-class communication module configured in the second routing device, and the second routing information of the first-class communication module configured in the second routing device and the second-class communication module configured in the second routing device.

[0086] In one embodiment of the present invention, the multiple communication links for communicating with the target service device may further include a second-type communication link. The second-type communication link may be a communication link from the first routing device itself to the target service device. Specifically, the first routing device may also be configured with a second-type communication module and connected to the target service device via the configured second-type communication module. Specifically, the connection to the target service device may be via a base station. The second-type communication module may be a long-distance wireless communication module, such as a cellular network communication module, or another communication module for long-distance wireless communication, such as an Ethernet communication module.

[0087] For the first routing device, it can also be configured with a forwarding control module, which can establish a connection between the first-class communication module and the second-class communication module configured by it through the forwarding control module, and then establish the third routing information of the first-class communication module configured by the first routing device and the configured second-class communication module. The multi-link aggregation module configured by the first routing device can then establish the first-class communication module configured by the first routing device according to the third routing information of the first-class communication module configured by the first routing device and the configured second-class communication module, and then establish a second-class communication link from the first-class communication module configured by the first routing device to the target service device via the second-class communication module configured by the first routing device.

[0088] In one example, the first routing device may be configured with one or more second-type communication modules, that is, the second routing device may be configured with a single communication module or multiple communication modules.

[0089] Step 102: A first routing device receives first data sent by a terminal device, and sends the first data to a target service device through one or more communication links among a plurality of communication links.

[0090] For the terminal device, it can be connected to the first routing device. Specifically, the terminal device can be configured with a first-class communication module, which is a short-range wireless communication module, such as a WiFi communication module. The physical interface on the first-class communication module configured in the terminal device can be connected to the physical interface on the first-class communication module configured in the first router. For example, the terminal device can be connected to the first routing device using WiFi Station or WiFi Direct.

[0091] During the uplink communication process, the terminal device can send first data to the first routing device. The multi-link clustering module configured in the first routing device can determine one or more communication links from multiple communication links for communicating with the target service device, and then send the first data to the target service device through the one or more communication links. It can split the first data into multiple sub-data and then use multiple communication links to send them.

[0092] After receiving data sent by one or more communication links, the target service device can aggregate the data to obtain first data, and then send the first data to the Internet end.

[0093] Step 103: The first routing device receives second data sent by the target service device through one or more communication links among the multiple communication links, and sends the second data to the terminal device.

[0094] During the downlink communication process, the Internet end can send the second data to the target service device. The target service device can determine one or more communication links from the multiple communication links for communicating with the first routing device, and then use the one or more communication links to send the second data to the first routing device. It can split the second data into multiple sub-data and then use multiple communication links to send them.

[0095] After receiving data sent by one or more communication links, the multi-link aggregation module configured in the first routing device may aggregate the data to obtain second data, and then may send the second data to the terminal device.

[0096] In an embodiment of the present invention, multiple communication links are established for communication with the target service device through the first routing device, and the multiple communication links include a first type of communication link, which is a communication link from the first routing device to the target service device via the second routing device. Based on this, the first routing device can receive the first data sent by the terminal device, and send the first data to the target service device through one or more of the multiple communication links, and can receive the second data sent by the target service device through one or more of the multiple communication links, and send the second data to the terminal device, realizing the use of multiple routing devices to combine into distributed routers with different numbers of links, thereby being able to provide different bandwidths and high availability capabilities, and there is no need to maintain the distance between the antennas of each communication module when carrying, which greatly reduces the overall device size, facilitates mass production, reduces device costs, and improves the flexibility and application range of the device.

[0097] Reference Figure 2 , shows a flowchart of another network communication method provided by an embodiment of the present invention. The method can be applied to a second routing device and specifically may include the following steps:

[0098] Step 201: A second routing device establishes a connection with a first routing device, so that the first routing device establishes a first type of communication link to a target service device via the second routing device.

[0099] Step 202: When receiving first data sent by the first routing device through the first type of communication link, the second routing device sends the first data to the target service device; wherein the first data is sent by the terminal device to the first routing device.

[0100] Step 203: When receiving the second data sent by the target service device through the first type of communication link, the second routing device sends the second data to the first routing device, so that the first routing device sends the second data to the terminal device.

[0101] In an embodiment of the present invention, the first routing device and the second routing device may both be configured with a first type of communication module, and the second routing device may be configured with a second type of communication module and connected to the target service device through the configured second type of communication module.

[0102] Based on this, step 201 may include:

[0103] In sub-step 21, the second routing device establishes a connection with the first routing device through the configured first-class communication module, so that the first routing device establishes a first-class communication link for communicating with the target service device according to the first-class communication module configured by the first routing device, the first-class communication module configured by the second routing device, and the second-class communication module configured by the second routing device.

[0104] In one embodiment of the present invention, it further includes:

[0105] The second routing device establishes a communication tunnel between the first-class communication module configured on the second routing device and the first-class communication module configured on the first routing device, so that the first routing device establishes first routing information of the first-class communication module configured on the first routing device and the first-class communication module configured on the second routing device based on the communication tunnel, and establishes second routing information of the first-class communication module configured on the second routing device and the second-class communication module configured, and establishes a first-class communication link for communicating with the target service device according to the first routing information and the second routing information.

[0106] In one embodiment of the present invention, the multiple communication links may include a second-class communication link, which may be a communication link from the first routing device itself to the target service device. The first routing device may be configured with a second-class communication module and may be connected to the target service device through the configured second-class communication module.

[0107] In an embodiment of the present invention, the first type of communication module may be a short-range wireless communication module, and the second type of communication module may be a long-range wireless communication module.

[0108] Reference Figure 3 , shows a flowchart of another network communication method provided by an embodiment of the present invention. The method can be applied to a target service device and specifically may include the following steps:

[0109] In step 301, a target service device establishes multiple communication links with a first routing device for communication; wherein the multiple communication links include a first type of communication link, which is a communication link from the first routing device to the target service device via the second routing device.

[0110] In step 302, the target service device receives first data sent by the first routing device through one or more communication links among the plurality of communication links, and sends the first data to the Internet end; wherein the first data is sent by the terminal device to the first routing device.

[0111] In step 303 , the target service device receives the second data sent by the Internet end, and sends the second data to the first routing device through one or more communication links among the plurality of communication links, so that the first routing device sends the second data to the terminal device.

[0112] In one embodiment of the present invention, the multiple communication links may include a second-class communication link, which may be a communication link from the first routing device itself to the target service device. The first routing device may be configured with a second-class communication module and may be connected to the target service device through the configured second-class communication module.

[0113] In an embodiment of the present invention, the first type of communication module may be a short-range wireless communication module, and the second type of communication module may be a long-range wireless communication module.

[0114] The following combination Figure 4 and Figure 5 The present invention is illustrated by way of example:

[0115] exist Figure 4 In the example, there are a device (i.e., a terminal device), a router A (i.e., a first routing device), a router B (i.e., a second routing device), a cellular base station, and a multi-link aggregation server (i.e., a target service device), and the multi-link aggregation server is connected to the Internet.

[0116] Among them, router A has a WiFi module (i.e., a first-type communication module), a forwarding control module connected to the WiFI module, a cellular module (i.e., a second-type communication module) connected to the forwarding control module, and a multi-link aggregation module connected to the forwarding control module. The cellular module is connected to the multi-link aggregation server through a cellular base station, and the terminal device is connected to the WiFi module of router A.

[0117] Router B has a WiFi module (i.e., a first-class communication module), a forwarding control module connected to the WiFi module, a cellular module (i.e., a second-class communication module) connected to the forwarding control module, and a multi-link aggregation module connected to the forwarding control module (when router B is a non-master routing device, the multi-link aggregation module is not used). The cellular module is connected to the multi-link aggregation server through a cellular base station.

[0118] exist Figure 4 Based on the network architecture, combined with Figure 5 The following describes the network communication process:

[0119] 1. Router A starts, and the WiFi module, forwarding control module, and cellular module start. The cellular module of router A connects to the cellular base station and establishes network interface if3.

[0120] 2. Router B starts, and the WiFi module, forwarding control module, and cellular module start. The cellular module of router B connects to the cellular base station and establishes network interface if4.

[0121] 3. The WiFi module of Router A detects the WiFi signal of the main router. If the WiFi signal of the main router is not detected, it sets itself (Router A) as the main router and sets the WiFi module to AP mode.

[0122] 4. Router A starts the multi-link aggregation module.

[0123] 5. The multi-link aggregation module in router A establishes link 1 from if3 to if5 (ie, the second type of communication link from the first routing device itself to the target service device).

[0124] 6. The WiFi module of router B detects the WiFi signal of the main router A and connects to the WiFi physical interface if1 of router A through the WiFi physical interface if2.

[0125] 7. Router B establishes an IP tunnel to the WiFi physical interface if1 of router A through the WiFi physical interface if2. Router B obtains the virtual network interface xif2 of the IP tunnel, and router A obtains the virtual network interface xif1 of the IP tunnel. The next hop of xif1 is set to xif2 (that is, the first routing information between the virtual network interface in the first type of communication module configured by the first routing device and the virtual network interface in the first type of communication module configured by the second routing device), and the next hop of xif2 is if4 (that is, the second routing information between the first type of communication module configured by the second routing device and the configured second type of communication module).

[0126] 8. The multi-link aggregation module in router A establishes link 2 from xif1 to if5 (ie, a first type of communication link from the first routing device to the target service device via the second routing device), for example, xif1-xif2-if4-if5.

[0127] 9. If there are more routers, you can repeat steps 6, 7, and 8 to establish more second-type communication links.

[0128] 10. The multi-link aggregation module in router A uses the two network interfaces xif1 and if3 to establish two links (link 1 and link 2) to connect to the multi-link aggregation server, thereby achieving multi-link aggregation transmission.

[0129] 11. The WiFi physical interface if0 of the terminal device is connected to the WiFi physical interface if1 of router A through WiFi Station or WiFi Direct.

[0130] 12. The uplink IP data (first data) applied in the terminal device is routed and forwarded to the multi-link aggregation module of router A through the physical interface if0.

[0131] 13. The multi-link aggregation module of router A routes and forwards the uplink IP data to the multi-link aggregation server through two links (link 1 and link 2).

[0132] 14. The multi-link aggregation server transmits the downlink IP data (i.e., the second data) sent from the Internet to the terminal device to the multi-link aggregation module of router A through two links.

[0133] 15. The multi-link aggregation module of router A transmits the downlink IP data to the terminal device.

[0134] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0135] An embodiment of the present invention further provides a first routing device, which can be used to:

[0136] A plurality of communication links are established with the target service device for communication; wherein the plurality of communication links include a first type of communication link, which is a communication link from the first routing device to the target service device via the second routing device.

[0137] First data sent by the terminal device is received, and the first data is sent to the target service device through one or more communication links of the multiple communication links.

[0138] The second data is received from the target service device through one or more communication links of the plurality of communication links, and the second data is sent to the terminal device.

[0139] In one embodiment of the present invention, the first routing device and the second routing device are both configured with a first type of communication module, and the second routing device is configured with a second type of communication module. The second routing device is connected to a target service device through the configured second type of communication module. Multiple communication links established with the target service device for communication may include:

[0140] A connection is established with the second routing device through the configured first-type communication module.

[0141] A first type of communication link for communicating with a target service device is established according to the first type of communication module configured in the first routing device, the first type of communication module configured in the second routing device, and the second type of communication module configured in the second routing device.

[0142] In one embodiment of the present invention, establishing a first type of communication link for communicating with a target service device according to a first type of communication module configured on a first routing device, a first type of communication module configured on a second routing device, and a second type of communication module configured on the second routing device may include:

[0143] A communication tunnel is established between the first type of communication module configured in the first routing device and the first type of communication module configured in the second routing device.

[0144] Based on the communication tunnel, first routing information of the first type of communication module configured by the first routing device and the first type of communication module configured by the second routing device is established, and second routing information of the first type of communication module configured by the second routing device and the second type of communication module configured is established.

[0145] A first type of communication link is established with the target service device according to the first routing information and the second routing information.

[0146] In one embodiment of the present invention, the first routing device may further be configured to:

[0147] The first routing device itself is set as the main routing device, and the first type of communication module configured in the first routing device is set to a mode accessible to other routing devices.

[0148] In one embodiment of the present invention, the multiple communication links may include a second-type communication link, which may be a communication link from the first routing device itself to the target service device. The first routing device may be configured with a second-type communication module and may be connected to the target service device through the configured second-type communication module.

[0149] In one embodiment of the present invention, the first type of communication module may be a short-range wireless communication module, and the second type of communication module may be a long-range wireless communication module.

[0150] An embodiment of the present invention further provides a second routing device, which can be used to:

[0151] A connection is established with the first routing device, so that the first routing device establishes a first type of communication link to the target service device via the second routing device.

[0152] When first data is received from the first routing device through the first type of communication link, the first data is sent to the target service device; wherein the first data is sent from the terminal device to the first routing device.

[0153] When receiving the second data sent by the target service device through the first type of communication link, the second data is sent to the first routing device, so that the first routing device sends the second data to the terminal device.

[0154] In an embodiment of the present invention, the first routing device and the second routing device may both be configured with a first type of communication module, and the second routing device may be configured with a second type of communication module and connected to the target service device through the configured second type of communication module.

[0155] Based on this, establishing a connection with the first routing device so that the first routing device establishes a first type of communication link to the target service device via the second routing device may include:

[0156] Establish a connection with the first routing device through the configured first-class communication module, so that the first routing device establishes a first-class communication link for communicating with the target service device according to the first-class communication module configured by the first routing device, the first-class communication module configured by the second routing device, and the second-class communication module configured by the second routing device.

[0157] In one embodiment of the present invention, the second routing device may further be configured to:

[0158] A communication tunnel is established between the first-class communication module configured on the second routing device and the first-class communication module configured on the first routing device, so that the first routing device establishes first routing information of the first-class communication module configured on the first routing device and the first-class communication module configured on the second routing device based on the communication tunnel, and establishes second routing information of the first-class communication module configured on the second routing device and the second-class communication module configured on the second routing device, and establishes a first-class communication link for communicating with the target service device based on the first routing information and the second routing information.

[0159] In one embodiment of the present invention, the multiple communication links may include a second-class communication link, which may be a communication link from the first routing device itself to the target service device. The first routing device may be configured with a second-class communication module and may be connected to the target service device through the configured second-class communication module.

[0160] In an embodiment of the present invention, the first type of communication module may be a short-range wireless communication module, and the second type of communication module may be a long-range wireless communication module.

[0161] An embodiment of the present invention further provides a target service device, which can be used to:

[0162] Establishing multiple communication links for communication with the first routing device; wherein the multiple communication links include a first type of communication link, the first type of communication link being a communication link from the first routing device to the target service device via the second routing device;

[0163] receiving first data sent by the first routing device through one or more communication links of the plurality of communication links, and sending the first data to an Internet end; wherein the first data is sent by the terminal device to the first routing device;

[0164] Receive second data sent by the Internet end, and send the second data to the first routing device through one or more communication links in the plurality of communication links, so that the first routing device sends the second data to the terminal device.

[0165] In one embodiment of the present invention, the multiple communication links may include a second-class communication link, which may be a communication link from the first routing device itself to the target service device. The first routing device may be configured with a second-class communication module and may be connected to the target service device through the configured second-class communication module.

[0166] In an embodiment of the present invention, the first type of communication module may be a short-range wireless communication module, and the second type of communication module may be a long-range wireless communication module.

[0167] An embodiment of the present invention further provides a network communication system, which may include a first routing device, a second routing device, and a target service device;

[0168] During uplink communication:

[0169] The first routing device can be used to receive first data sent by the terminal device and send the first data to the target service device through one or more communication links among multiple communication links; wherein the multiple communication links include a first type of communication link, and the first type of communication link is a communication link from the first routing device to the target service device via the second routing device.

[0170] The second routing device may be configured to send the first data to the target service device when receiving the first data sent by the first routing device through the first type of communication link.

[0171] The target routing device can be used to receive the first data sent by the first routing device through one or more communication links of the multiple communication links, and send the first data to the Internet end.

[0172] During downlink communication:

[0173] The target routing device can be used to receive the second data sent by the Internet end, and send the second data to the first routing device through one or more communication links among the multiple communication links.

[0174] The second routing device may be configured to send the second data to the first routing device when receiving the second data sent by the target service device through the first type of communication link.

[0175] The first routing device can be used to send the second data to the terminal device.

[0176] An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the above network communication method is implemented.

[0177] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the network communication method described above is implemented.

[0178] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0179] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0180] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0181] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0182] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0184] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0185] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only 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. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

[0186] The above is a detailed introduction to the provided network communication method, system, routing device and service device. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting the present invention.

Claims

1. A network communication method, characterized in that: Applied to a first routing device, including: The first routing device establishes multiple communication links with the target service device for communication; the first routing device establishes a connection with one or more second routing devices, and each second routing device is connected to the target service device; wherein the multiple communication links include a first type of communication link and a second type of communication link, the first type of communication link is a communication link from the first routing device to the target service device via the second routing device; the second type of communication link is a communication link from the first routing device itself to the target service device, the first routing device is configured with a second type of communication module and is connected to the target service device through the configured second type of communication module; the second type of communication module is a long-range wireless communication module; the first routing device and the second routing device are both configured with a first type of communication module, the first type of communication module is a short-range wireless communication module, and the first routing device and the second routing device establish a connection through the configured first type of communication module; The first routing device receives the first data sent by the terminal device, and sends the first data to the target service device through one or more communication links of the multiple communication links; The first routing device receives second data sent by the target service device through one or more communication links of the plurality of communication links, and sends the second data to the terminal device.

2. The method according to claim 1, characterized in that The second routing device is configured with a second type of communication module and is connected to the target service device through the configured second type of communication module. The first routing device establishes multiple communication links with the target service device for communication, including: The first routing device establishes a first type of communication link with the target service device according to the first type of communication module configured by the first routing device, the first type of communication module configured by the second routing device, and the second type of communication module configured by the second routing device.

3. The method according to claim 2, characterized in that The first routing device establishes a first type of communication link for communicating with the target service device according to the first type of communication module configured in the first routing device, the first type of communication module configured in the second routing device, and the second type of communication module configured in the second routing device, including: The first routing device establishes a communication tunnel between the first type of communication module configured in the first routing device and the first type of communication module configured in the second routing device; The first routing device establishes, based on the communication tunnel, first routing information of the first type of communication module configured in the first routing device and the first type of communication module configured in the second routing device, and establishes second routing information of the first type of communication module configured in the second routing device and the second type of communication module configured in the second routing device; The first routing device establishes a first type of communication link with the target service device according to the first routing information and the second routing information.

4. The method according to claim 2 or 3, characterized in that Before the first routing device establishes a connection with the second routing device through the configured first-type communication module, the method further includes: The first routing device sets itself as a master routing device, and sets the first type of communication module configured in the first routing device to a mode accessible to other routing devices.

5. A network communication method, characterized in that: Applied to the second routing device, including: The second routing device establishes a connection with the first routing device, so that the first routing device establishes a first type of communication link to the target service device via the second routing device; the first routing device establishes a connection with one or more second routing devices, each of which is connected to the target service device; the first routing device is configured with a second type of communication module and is connected to the target service device through the configured second type of communication module; the second type of communication module is a long-range wireless communication module; the first routing device and the second routing device are both configured with a first type of communication module, the first type of communication module is a short-range wireless communication module, and the first routing device and the second routing device establish a connection through the configured first type of communication module; When the second routing device receives the first data sent by the first routing device through the first type of communication link, the second routing device sends the first data to the target service device; wherein the first data is sent by the terminal device to the first routing device; When receiving the second data sent by the target service device through the first type of communication link, the second routing device sends the second data to the first routing device, so that the first routing device sends the second data to the terminal device.

6. A network communication method, characterized in that: Applied to target service devices for: The target service device establishes multiple communication links with the first routing device for communication; the first routing device establishes connections with one or more second routing devices, and each second routing device is connected to the target service device; wherein the multiple communication links include first-type communication links and second-type communication links, the first-type communication link is a communication link from the first routing device to the target service device via the second routing device; the second-type communication link is a communication link from the first routing device itself to the target service device, the first routing device is configured with a second-type communication module and is connected to the target service device through the configured second-type communication module; the second-type communication module is a long-distance wireless communication module; the first routing device and the second routing device are both configured with a first-type communication module, the first-type communication module is a short-distance wireless communication module, and the first routing device and the second routing device establish a connection through the configured first-type communication module; The target service device receives the first data sent by the first routing device through one or more communication links of the plurality of communication links, and sends the first data to the Internet end; wherein the first data is sent by the terminal device to the first routing device; The target service device receives the second data sent by the Internet end, and sends the second data to the first routing device through one or more communication links of the multiple communication links, so that the first routing device sends the second data to the terminal device.

7. A first routing device, characterized in that: The first routing device is configured to: Establishing multiple communication links for communicating with a target service device; the first routing device establishes a connection with one or more second routing devices, and each second routing device is connected to a target service device; wherein the multiple communication links include a first type of communication link and a second type of communication link, the first type of communication link is a communication link from the first routing device to the target service device via the second routing device; the second type of communication link is a communication link from the first routing device itself to the target service device, the first routing device is configured with a second type of communication module and is connected to the target service device through the configured second type of communication module; the second type of communication module is a long-range wireless communication module; the first routing device and the second routing device are both configured with a first type of communication module, the first type of communication module is a short-range wireless communication module, and the first routing device and the second routing device establish a connection through the configured first type of communication module; receiving first data sent by a terminal device, and sending the first data to the target service device through one or more communication links of the plurality of communication links; Receive second data sent by the target service device through one or more communication links of the multiple communication links, and send the second data to the terminal device.

8. A second routing device, characterized in that: The second routing device is configured to: Establishing a connection with a first routing device so that the first routing device establishes a first type of communication link to a target service device via the second routing device; the first routing device establishes a connection with one or more second routing devices, each of which is connected to a target service device; the first routing device is configured with a second type of communication module and is connected to the target service device through the configured second type of communication module; the second type of communication module is a long-range wireless communication module; the first routing device and the second routing device are both configured with a first type of communication module, the first type of communication module is a short-range wireless communication module, and the first routing device and the second routing device establish a connection through the configured first type of communication module; Upon receiving first data sent by the first routing device through the first type of communication link, sending the first data to the target service device; wherein the first data is sent by a terminal device to the first routing device; When receiving the second data sent by the target service device through the first type of communication link, the second data is sent to the first routing device, so that the first routing device sends the second data to the terminal device.

9. A target service device, characterized in that: The target service device includes: Establishing multiple communication links for communication with a first routing device; establishing a connection between the first routing device and one or more second routing devices, each of which is connected to a target service device; wherein the multiple communication links include a first type of communication link and a second type of communication link, the first type of communication link being a communication link from the first routing device to the target service device via the second routing device; the second type of communication link being a communication link from the first routing device itself to the target service device, the first routing device being configured with a second type of communication module and being connected to the target service device through the configured second type of communication module; the second type of communication module being a long-range wireless communication module; the first routing device and the second routing device being both configured with a first type of communication module, the first type of communication module being a short-range wireless communication module, and the first routing device and the second routing device establishing a connection through the configured first type of communication module; receiving first data sent by the first routing device through one or more of the plurality of communication links, and sending the first data to an Internet end; wherein the first data is sent by a terminal device to the first routing device; Receive second data sent by the Internet end, and send the second data to the first routing device through one or more communication links of the multiple communication links, so that the first routing device sends the second data to the terminal device.

10. A network communication system, characterized in that: The system includes a first routing device, a second routing device, and a target service device; During uplink communication: The first routing device is configured to receive first data sent by a terminal device and send the first data to the target service device through one or more communication links among a plurality of communication links; the first routing device establishes a connection with one or more second routing devices, and each second routing device is connected to the target service device; wherein the plurality of communication links include a first type of communication link and a second type of communication link, the first type of communication link being a communication link from the first routing device to the target service device via the second routing device; the second type of communication link being a communication link from the first routing device itself to the target service device, the first routing device being configured with a second type of communication module and being connected to the target service device through the configured second type of communication module; the second type of communication module being a long-distance wireless communication module; the first routing device and the second routing device being both configured with a first type of communication module, the first type of communication module being a short-distance wireless communication module, and the first routing device and the second routing device establishing a connection through the configured first type of communication module; the second routing device is configured to, upon receiving first data sent by the first routing device through the first type of communication link, send the first data to the target service device; The target service device is configured to receive first data sent by the first routing device through one or more communication links of the plurality of communication links, and send the first data to an Internet end; During downlink communication: The target service device is configured to receive the second data sent by the Internet terminal, and send the second data to the first routing device via one or more communication links of the plurality of communication links; the second routing device being configured to, upon receiving second data sent by the target service device through the first type of communication link, send the second data to the first routing device; The first routing device is used to send the second data to the terminal device.

Citation Information

Patent Citations

  • LTE and WIFI aggregation method, network device and terminal device

    CN109788578A

  • V2x communications using multiple radio access technologies (multi-rat)

    CN110832951A

  • Method for automatically opening and closing aggregation, electronic equipment and storage medium

    CN112887150A