A system for reducing roaming delay of wireless client terminal equipment
By establishing dual communication links in WiFi terminal devices and using EoGRE technology for packet processing, the problem of roaming delay and packet loss in WiFi terminal devices is solved, and zero packet loss and simplified networking is achieved, avoiding the need for additional protocol support. .
Patent Information
- Application Number
- CN202111257086.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-10-27
AI Technical Summary
Existing WiFi terminal devices have latency and packet loss problems during roaming, and require AP and CPE to support 802.11k, 802.11v, and 802.11r protocols, which adds additional air interface overhead.
Multiple wireless access points are used to connect to the gateway through the switch to establish dual communication links, and signal switching modules are used to adjust access point connections in real time, and packet deduplication and packaging are combined with EoGRE technology to realize dual-link protocol header packaging.
It realizes zero packet loss during roaming of wireless client terminal devices, reduces latency, and avoids additional protocol support requirements for AP and CPE, simplifies network complexity.
Smart Images

Figure CN113923739B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network communication, and in particular to a system for reducing roaming delay of wireless client terminal equipment. Background Art
[0002] WIFI CPE (WIFI Customer Premise Equipment) is a wireless terminal access device that receives wifi signals. It can replace wireless client devices such as wireless network cards and can receive wireless signals from wireless routers, wireless APs (Wireless Access Points), wireless base stations, etc. It is a new type of wireless terminal access device. Taking the AGV car as an example, the AGV car, as a wireless client terminal device, involves the problem of roaming of wireless client terminal devices between wireless APs during rapid movement. How to reduce the roaming delay of wireless client terminal devices and reduce the packet loss of wireless client terminal devices during roaming is a technical problem in WiFi mobile networking.
[0003] Among them, the WiFi protocol family defines 802.11k, 802.11v, and 802.11r protocols, which aim to solve the roaming problem of WiFi terminals. However, in the actual application of this solution, the following problems exist: 1) Both AP and CPE must support 802.11k, 802.11v, and 802.11r protocols; 2) 802.11k, 802.11v, and 802.11r protocols increase additional air interface overhead. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention provides a system for reducing the roaming delay of a wireless client terminal device, comprising:
[0005] Multiple wireless access points, each of which uses the same wireless network name, and each of which is connected to a gateway via a switch;
[0006] At least one wireless client terminal device, each of which is equipped with two communication modules, the two communication modules respectively form dual communication links with the gateway through the wireless access point and the switch, and the wireless client terminal device transmits and receives messages with the gateway through the dual communication links during roaming.
[0007] Preferably, the wireless client terminal device includes a signal switching module, which is respectively connected to the two communication modules, and is used to obtain the signal strength of the connection signal between the communication module and the currently connected wireless access point in real time for each communication module during roaming, and when the signal strength is less than a threshold, disconnect the connection with the current wireless access point and reconnect to other wireless access points at the current roaming location whose signal strength is not less than the threshold.
[0008] Preferably, the gateway includes a message deduplication module, which is used to perform deduplication processing on the message when receiving the message transmitted by the dual communication link.
[0009] Preferably, the wireless client terminal device includes a first encapsulation module, which is used to perform dual-link protocol header encapsulation on the message to obtain an uplink encapsulation message after receiving the message sent by a wired terminal connected to the wireless client terminal device, and send the uplink encapsulation message to the gateway through the dual communication link.
[0010] Preferably, the gateway includes a first decapsulation module, and the first decapsulation module includes:
[0011] A first processing unit, configured to decapsulate the received uplink encapsulation message to obtain an Ethernet header protocol number of an inner layer message of the uplink encapsulation message, and output a first signal when the Ethernet header protocol number is a pre-configured dual-link custom protocol;
[0012] The second processing unit is connected to the first processing unit and is used to obtain the triplet information of the inner message according to the first signal, and deduplicate the uplink encapsulated message according to the triplet information.
[0013] Preferably, the triplet information includes a destination MAC address, a source MAC address and a serial number.
[0014] Preferably, the gateway includes a second encapsulation module, which is used to encapsulate the message with a dual-link protocol header to obtain a downlink encapsulated message after receiving the message sent by a server connected to the gateway, when the destination MAC address of the message is matched to the corresponding dual communication link, and send the downlink encapsulated message to the wireless client terminal device through the dual communication link.
[0015] Preferably, the wireless client terminal device includes a second decapsulation module for decapsulating the received downlink encapsulation message.
[0016] Preferably, the EoGRE technology is used to perform dual-link protocol header encapsulation on the message.
[0017] Preferably, the communication module is a 5G module, and the antennas of the two 5G modules face different directions.
[0018] The above technical solution has the following advantages or beneficial effects:
[0019] 1) Through dual communication link technology, zero packet loss is achieved for wireless client terminal devices during roaming;
[0020] 2) Wireless access points can use common APs. APs and CPEs do not need to support 802.11k, 802.11v, and 802.11r protocols, and do not need to add additional air interface overhead.
[0021] 2) Through EoGRE technology, the wired terminals under the CPE and the servers connected to the gateway are in a Layer 2 network, which reduces the complexity of networking in real applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A structural schematic diagram of a system for reducing roaming delay of wireless client terminal equipment in a preferred embodiment of the present invention;
[0023] Figure 2 A schematic diagram of the network structure of the system network in a preferred embodiment of the present invention;
[0024] Figure 3 A schematic diagram of a dual communication link in a preferred embodiment of the present invention;
[0025] Figure 4 It is a schematic diagram of the encapsulation message format for dual-link protocol header encapsulation in a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0026] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also fall within the scope of the present invention as long as they conform to the gist of the present invention.
[0027] In a preferred embodiment of the present invention, based on the above problems existing in the prior art, a system for reducing the roaming delay of wireless client terminal equipment is provided. Figure 1 As shown, including:
[0028] Multiple wireless access points 1, each wireless access point 1 uses the same wireless network name, and each wireless access point 1 is connected to a gateway 3 via a switch 2;
[0029] At least one wireless client terminal device 4, each wireless client terminal device 4 is equipped with two communication modules 41, and the two communication modules 41 respectively form dual communication links with the gateway 3 through the wireless access point 1 and the switch 2. During roaming, the wireless client terminal device 4 realizes the message reception and transmission with the gateway 3 through the dual communication links.
[0030] Specifically, in this embodiment, by establishing a dual communication link between the wireless client terminal device 4 and the gateway 3, during the roaming process of the wireless client terminal device 4, the two communication links simultaneously receive or send messages, thereby ensuring high reliability of message reception and transmission, while reducing the roaming delay of the wireless client terminal device 4, and reducing the packet loss of the wireless client terminal device 4 during the roaming process, achieving zero packet loss.
[0031] In a preferred embodiment of the present invention, the wireless client terminal device 4 includes a signal switching module 42, which is respectively connected to the two communication modules 41, and is used to obtain the signal strength of the connection signal between the communication module 41 and the currently connected wireless access point 1 in real time for each communication module 41 during the roaming process, and when the signal strength is less than a threshold, disconnect the current wireless access point 1 and reconnect to other wireless access points 1 at the current roaming location whose signal strength is not less than the threshold.
[0032] Specifically, in this embodiment, Figure 2 As shown, taking two wireless access points 1, namely AP1 and AP2, as an example, the two communication modules 41 are respectively Figure 2 Module 1 and module 2, wherein the two wireless access points 1 use the same wireless network name to facilitate switching between wireless access points, and the antennas of the two communication modules 41 face different directions to receive connection signals of wireless access points 1 in different directions.
[0033] During roaming, the wireless client terminal device 4 simultaneously sends and receives messages through dual communication links. When the connection signal is lower than the threshold, the weak signal connection is disconnected to scan other signals and reconnect. Specifically, Figure 2 When the wireless client terminal device 4 roams to position A, it is close to AP1, and both module 1 and module 2 are connected to AP1; when the wireless client terminal device 4 roams to position B, if the signal strength of the connection signal between module 2 and AP1 is lower than the threshold, the weak signal link is disconnected to scan other signals and reconnect to AP2, and module 1 continues to maintain the connection with AP1; when the wireless client terminal device 4 roams to position C, both module 1 and module 2 switch to connect to AP2, ensuring the reliability of the signal connection.
[0034] In a preferred embodiment of the present invention, the gateway 3 includes a message deduplication module 31 for deduplicating the messages when receiving the messages transmitted by the dual communication links.
[0035] Specifically, in this embodiment, since two communication links receive or send messages at the same time, the same message may be received twice. Therefore, the gateway 2 needs to perform deduplication processing when receiving the message.
[0036] In a preferred embodiment of the present invention, the wireless client terminal device 4 includes a first encapsulation module 43, which is used to perform dual-link protocol header encapsulation on the message to obtain an uplink encapsulation message after receiving a message sent by a wired terminal 5 connected to the wireless client terminal device 4, and send the uplink encapsulation message to the gateway 3 via a dual communication link.
[0037] Specifically, in this embodiment, Figure 3 As shown, the two communication modules 41 are respectively Figure 3 The dual communication link established between the modules 1 and 2 in the wireless client terminal device 4 and the gateway 3 is as follows: Figure 3 For the uplink message, after the wireless client terminal device 4 receives the message from the LAN port of the wired terminal 5, it first performs dual-link protocol header encapsulation, and then sends the message on the communication link 1 and the communication link 2 at the same time after encapsulation.
[0038] In a preferred embodiment of the present invention, the gateway 3 includes a first decapsulation module 32, and the first decapsulation module 32 includes:
[0039] The first processing unit 321 is used to decapsulate the received uplink encapsulation message to obtain the Ethernet header protocol number of the inner layer message of the uplink encapsulation message, and output a first signal when the Ethernet header protocol number is a pre-configured dual-link custom protocol;
[0040] The second processing unit 322 is connected to the first processing unit 321, and is used to obtain the triplet information of the inner message according to the first signal, and perform deduplication processing on the uplink encapsulation message according to the triplet information.
[0041] Specifically, in this embodiment, Figure 3 As shown, after receiving the encapsulated uplink encapsulated message, the gateway first decapsulates the uplink encapsulated message, determines the protocol number of the Ethernet header of the inner message, and directly discards it if the protocol number is a dual-link custom protocol. If the protocol number is a dual-link custom protocol, deduplication is performed, specifically: judging whether the message is a duplicate message according to the inner message triplet, if it is a duplicate message, discard it, otherwise it is processed according to the normal message receiving process, and the sequence number corresponding to (destination MAC + source MAC) is updated at the same time. Among them, the triplet information includes the destination mac address, source mac address and sequence number.
[0042] In a preferred embodiment of the present invention, the gateway 3 includes a second encapsulation module 33, which is used to encapsulate the message with a dual-link protocol header after receiving a message sent by a server 6 connected to the gateway 3, and when the corresponding dual communication link is matched according to the destination MAC address of the message, obtain a downlink encapsulated message, and send the downlink encapsulated message to the wireless client terminal device 4 through the dual communication link.
[0043] Specifically, in this embodiment, Figure 3 As shown, for downlink messages, gateway 3 receives messages from the WAN port of the server and matches the corresponding communication link according to the destination MAC of the message. If no corresponding communication link is matched, it is discarded. If the corresponding communication link can be found (normally corresponding to two communication links), the message is first encapsulated with a dual-link protocol header, and then the message is sent on two communication links at the same time after encapsulation.
[0044] In a preferred embodiment of the present invention, the wireless client terminal device 4 includes a second decapsulation module 44 for decapsulating the received downlink encapsulation message.
[0045] Specifically, in this embodiment, after the wireless client terminal device 4 receives the message of the communication link, it also needs to decapsulate. The decapsulation process is similar to the process of the gateway receiving the message, which will not be repeated here.
[0046] In a preferred embodiment of the present invention, the EoGRE technology is used to perform dual-link protocol header encapsulation on the message.
[0047] Specifically, Figure 4 As shown in the figure, the encapsulated message format for dual-link protocol header encapsulation, the original message before encapsulation includes destination MAC, source MAC, Type (IPV4 0x0800) and Payload, the dual-link protocol header message with dual-link protocol header includes destination MAC, source MAC, dual-link custom protocol Type, sequence number, reserved field, Type in the original message and Payload, then the encapsulated message includes outer destination MAC, outer source MAC, protocol number (IPV4 0x0800), IP header (protocol number Ox2f GRE tunnel), GRE protocol header, Payload, wherein the dual-link protocol header message is used as the Payload of the encapsulated message.
[0048] In a preferred embodiment of the present invention, the communication module 41 is a 5G module, and the antennas of the two 5G modules face different directions.
[0049] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of this specification and illustrations should be included in the protection scope of the present invention.
Claims
1. A system for reducing roaming delay of wireless client terminal equipment, characterized in that: include: Multiple wireless access points, each of which uses the same wireless network name, and each of which is connected to a gateway via a switch; At least one wireless client terminal device, each of which is equipped with two communication modules, the two communication modules respectively form a dual communication link with the gateway through the wireless access point and the switch, and the wireless client terminal device transmits and receives messages with the gateway through the dual communication links during roaming; The wireless client terminal device comprises a first encapsulation module, which is used to perform dual-link protocol header encapsulation on the message to obtain an uplink encapsulation message after receiving the message sent by a wired terminal connected to the wireless client terminal device, and send the uplink encapsulation message to the gateway through the dual communication link; The gateway includes a first decapsulation module, wherein the first decapsulation module includes: A first processing unit, configured to decapsulate the received uplink encapsulation message to obtain an Ethernet header protocol number of an inner layer message of the uplink encapsulation message, and output a first signal when the Ethernet header protocol number is a pre-configured dual-link custom protocol; The second processing unit is connected to the first processing unit and is used to obtain the triplet information of the inner message according to the first signal, and deduplicate the uplink encapsulated message according to the triplet information.
2. The system for reducing roaming delay of wireless client terminal equipment according to claim 1, characterized in that: The wireless client terminal device includes a signal switching module, which is respectively connected to the two communication modules, and is used to obtain the signal strength of the connection signal between the communication module and the currently connected wireless access point in real time for each communication module during roaming, and when the signal strength is less than a threshold, disconnect the current wireless access point and reconnect to other wireless access points at the current roaming location whose signal strength is not less than the threshold.
3. The system for reducing roaming delay of wireless client terminal equipment according to claim 1, characterized in that: The gateway includes a message deduplication module, which is used to perform deduplication processing on the message when receiving the message transmitted by the dual communication link.
4. The system for reducing roaming delay of wireless client terminal equipment according to claim 1, characterized in that: The triplet information includes the destination MAC address, the source MAC address and the serial number.
5. The system for reducing roaming delay of wireless client terminal equipment according to claim 1, characterized in that: The gateway includes a second encapsulation module, which is used to encapsulate the message with a dual-link protocol header to obtain a downlink encapsulated message after receiving the message sent by a server connected to the gateway, when the destination MAC address of the message is matched to the corresponding dual communication link, and send the downlink encapsulated message to the wireless client terminal device through the dual communication link.
6. The system for reducing roaming delay of wireless client terminal equipment according to claim 5, characterized in that: The wireless client terminal device includes a second decapsulation module, which is used to decapsulate the received downlink encapsulation message.
7. The system for reducing roaming delay of wireless client terminal equipment according to claim 1 or 5, characterized in that: The EoGRE technology is used to perform dual-link protocol header encapsulation on the message.
8. The system for reducing roaming delay of wireless client terminal equipment according to claim 1, characterized in that: The communication module is a 5G module, and the antennas of the two 5G modules face different directions.
