Wireless communication method and device

By establishing dual-link communication between AP and STA in the WLAN network, using dual-channel and CAP WAP tunneling technology, the problems of data transmission failure and link packet loss in the WLAN network are solved, and the data transmission success rate and communication reliability are improved.

CN114375009BActive Publication Date: 2025-03-04NEW H3C BIG DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111584184.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2025-03-04
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

The connection between AP and STA in WLAN network is susceptible to wireless environment uncertainty, resulting in data transmission failure and link packet loss. Especially in high-demand application scenarios such as Wi-Fi voice calls, video conferencing and AGV car guidance, packet loss will lead to serious functional failure.

Method used

By establishing dual-link communication between the AP and the STA, the primary channel and secondary channel communication are performed using the first channel and the second channel respectively, ensuring that data is encapsulated and transmitted through the CAP WAP tunnel, reducing the risk of link packet loss.

Benefits of technology

It effectively reduces the impact of wireless environment uncertainty on communication stability, improves data transmission success rate, reduces packet loss on wireless links, and ensures communication reliability in high-demand application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114375009B_ABST
    Figure CN114375009B_ABST
Patent Text Reader

Abstract

The present application provides a wireless communication method and device, which enables a wireless access point device and a station in a wireless network to realize dual Wi-Fi communication. The wireless access point notifies the station of the first and second basic service sets supporting dual wireless communication through the first and second channels, receives the first association request frame with the primary channel identifier and the second association request frame with the secondary channel identifier sent by the station; records the first source MAC address of the first association request frame as the primary channel site address and corresponding to the first channel and the first basic service set; records the second source MAC address of the second association request frame as the secondary channel site address and corresponding to the second channel and the second basic service set; receives uplink data with the first source MAC address and the second source MAC address through the first and second channels; encapsulates the uplink data based on the CAP WAP tunnel connected to the access control device, and sends the encapsulated uplink data to the access control device through the CAP WAP tunnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to communication technology, and in particular to a wireless communication method and device. Background Art

[0002] WLAN (Wireless Local Area Network) is an open shared environment. Its carrier medium is radio signals, which are easily affected by external factors such as mutual interference and being blocked by obstacles, resulting in data transmission failure. Although it has defects, the advantages of WLAN network are enough to offset the defects and develop rapidly. With the increasing use of WLAN, more applications have higher requirements for wireless delay and packet loss. For example, in Wi-Fi voice calls, once the packet is lost, the other party cannot understand the speaker's accurate intention. In video conferencing, packet loss will cause the screen to freeze. In the case of packet loss in AGV (Automated Guided Vehicle), the car will stop in place and cannot work according to normal instructions.

[0003] Therefore, it is necessary to ensure that the connection between AP (Access Point) and STA (Station) in the WLAN network is more reliable. Summary of the invention

[0004] The purpose of the present application is to provide a wireless communication method and device to establish a dual link that ensures the stability of wireless communication to resist the uncertainty of the wireless environment, improve the data transmission success rate, and reduce link packet loss.

[0005] To achieve the above-mentioned purpose, the present application provides a wireless communication method, which includes: notifying a first basic service set and a second basic service set supporting dual wireless communication to a site through a first channel and a second channel; receiving a first association request frame with a primary channel identifier and a second association request frame with a secondary channel identifier sent by the site; recording a first source MAC address of the first association request frame as a primary channel site address and corresponding to the first channel and the first basic service set; recording a second source MAC address of the second association request frame as a secondary channel site address and corresponding to the second channel and the second basic service set; receiving uplink data with the first source MAC address and the second source MAC address through the first channel and the second channel; encapsulating the uplink data based on a CAP WAP tunnel connected to an access control device, and sending the encapsulated uplink data to the access control device through the CAP WAP tunnel.

[0006] To achieve the above-mentioned purpose, the present application also provides a wireless communication method, which is applied to a site of a wireless network, and the method includes: receiving a first basic service set and a second basic service set of a wireless access point notifying support for dual wireless communications through a first channel and a second channel; selecting the first channel and the second channel as a main channel and a secondary channel respectively according to signal strength; recording the first channel as the main channel and the corresponding first basic service set; recording the second channel as the secondary channel and the corresponding second basic service set; sending a first association request frame with a first MAC address as a source MAC address and a main channel identifier through the first channel; sending a second association request frame with a second MAC address as a source MAC address and a secondary channel identifier through the second channel; sending first uplink data and second uplink data through the first channel and the second channel respectively; wherein the first uplink data and the second uplink data have the same destination MAC address and the same data part; the source MAC address of the first uplink data is the first MAC address; the source MAC address of the second uplink data is the second MAC address.

[0007] To achieve the above objectives, the present application also provides a wireless communication device, the processor of the device executes the method for implementing dual Wi-Fi communication by a wireless access point AP in the present application by running processor executable instructions in a memory.

[0008] To achieve the above objectives, the present application also provides a wireless communication device, the processor of the device executes the method for implementing dual Wi-Fi communication by a station in a wireless network in the present application by running processor-executable instructions in a memory.

[0009] The beneficial effect of the present application is that a dual Wi-Fi link is established between the AP and the STA, which can reduce the uncertainty of the wireless environment, improve the success rate of data transmission, and reduce the packet loss of the wireless link. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A flowchart of an embodiment of a wireless communication method is provided for the present application;

[0011] Figure 2 Shown is a schematic diagram of a first embodiment of negotiated dual wireless communication provided by the present application;

[0012] Figure 3 Shown is a schematic diagram of a second embodiment of negotiated dual wireless communication provided by the present application;

[0013] Figures 4A-4B The figure shows a schematic diagram of a dual wireless communication embodiment provided by the present application;

[0014] Figure 5 Shown is a schematic diagram of a wireless access point device provided by the present application;

[0015] Figure 6 Shown is a schematic diagram of the site equipment provided by this application. DETAILED DESCRIPTION

[0016] The present invention will be described in detail with multiple examples shown in multiple figures. In the following detailed description, multiple specific details are used to provide a comprehensive understanding of the present application. Known methods, steps, components and circuits are not described in detail in the examples to avoid making these examples difficult to understand.

[0017] Among the terms used, the term "include" means including but not limited to; the term "contain" means including but not limited to; the terms "above", "within" and "below" are inclusive of the number; the terms "greater than" and "less than" are exclusive of the number. The term "based on" means based on at least a part thereof.

[0018] Figure 1 The flowchart of the wireless communication method embodiment provided by the present application includes the following steps:

[0019] Step 101, notifying a first basic service set and a second basic service set supporting dual wireless communication to a station through a first channel and a second channel;

[0020] Step 102, receiving a first association request frame with a primary channel identifier and a second association request frame with a secondary channel identifier sent by a station;

[0021] Step 103, record the first source MAC address of the first association request frame as the primary channel site address and corresponding to the first channel and the first basic service set;

[0022] Step 104, record that the second source MAC address of the second association request frame is a secondary channel site address and corresponds to the second channel and the second basic service set;

[0023] Step 105, receiving uplink data with a first source MAC address and a second source MAC address through the first channel and the second channel;

[0024] Step 106: Encapsulate the uplink data based on the CAP WAP tunnel connected to the access control device, and send the encapsulated uplink data to the access control device through the CAP WAP tunnel.

[0025] Figure 2 Shown is a schematic diagram of Embodiment 1 of negotiating dual wireless communications provided by the present application;

[0026] Figure 2 In the embodiment, a channel list is preconfigured in a device serving as a station, and probe request frames (Probe Request) 201 and 202 are broadcast on channel 1 (not shown in the figure) and channel 2 (not shown in the figure) in the station channel list.

[0027] After receiving the probe request frames 201 and 202, the AP sends probe response frames (Probe Response) 203 and 204 with a custom element. The custom element can be identified by the custom element ID, and the value of supporting dual Wi-Fi is carried in the Capabilities field of the element. The probe response 203 responded by the AP carries the BSSID1 (Basic Service Set Identifier) ​​of the first BSS (Basic Service Set), and the probe response frame 204 responded by the AP carries the BSSID2 of the second BSS (Basic Service Set).

[0028] The site selects the first channel with the strongest signal as the main channel, selects the second channel as the secondary channel, records MAC1 used for main channel communication corresponding to the first channel and BSSID1; records MAC2 used for secondary channel communication corresponding to the second channel and BSSID2.

[0029] The station uses MAC1 as the source MAC address, generates an association request frame 205 with a primary channel identifier, and sends the association request frame 205 to the AP through the first channel; uses MAC2 as the source MAC address, generates an association request frame 206 with a secondary channel identifier, and sends the association request frame 206 to the AP through the second channel.

[0030] The AP receives the association request frames 205 and 206, records the first channel as the primary channel and MAC1 corresponding to BSSID 1, and records the second channel as the secondary channel and MAC2 corresponding to BSSID 2. The negotiation of dual Wi-Fi communication is completed between the AP and the station.

[0031] Figure 3 Shown is a schematic diagram of Embodiment 2 of negotiating dual wireless communications provided by the present application.

[0032] The station listens for beacon frames on channel 1 (not shown) and channel 2 (not shown) according to a pre-configured channel list.

[0033] The AP periodically transmits beacon frames 301 and 302 on channel 1 and channel 2.

[0034] The beacon frame 301 sent by the AP communication channel 1 is the BSSID1 of the first BSS, and the Capabilities field of the custom element of the beacon frame 301 carries a value of supporting dual Wi-Fi.

[0035] The beacon frame 302 sent by the AP communication channel 2 is the BSSID2 of the second BSS, and the Capabilities field of the custom element of the beacon frame 302 carries a value of supporting dual Wi-Fi.

[0036] The station receives beacon frames 301 and 302, selects the first channel with the strongest signal as the main channel, selects the second channel as the secondary channel, records MAC1 used for main channel communication corresponding to the first channel and BSSID1; records MAC2 used for secondary channel communication corresponding to the second channel and BSSID2.

[0037] The station uses MAC1 as the source MAC address, generates an association request frame 303 with a primary channel identifier, and sends the association request frame 303 to the AP through the first channel; uses MAC2 as the source MAC address, generates an association request frame 304 with a secondary channel identifier, and sends the association request frame 304 to the AP through the second channel.

[0038] The AP receives the association request frames 303 and 304, records the first channel as the primary channel and MAC1 corresponding to BSSID 1, and records the second channel as the secondary channel and MAC2 corresponding to BSSID 2. The negotiation of dual Wi-Fi communication is completed between the AP and the station.

[0039] Figures 4A-4B The figure shows a schematic diagram of a dual wireless communication embodiment provided by the present application;

[0040] Figure 4A In the example, the station STA sends uplink data 401 through channel 1 and uplink data 402 through channel 2; the source MAC addresses of the uplink data 401 and 402 are MAC1 and MAC2 respectively; the destination MAC address and the data part are the same.

[0041] The AP receives uplink data 401 and 402, determines that the negotiated first channel is the primary channel, discards the received uplink data 402, and encapsulates the uplink data 401 into encapsulated uplink data 403 according to the CAP WAP (Controlling and Provisioning of Wireless Access Point) of the connected AC (Access Control) device, and sends the encapsulated uplink data 403 to the AC through the CAP WAP tunnel.

[0042] Figure 4BIn the example, AC sends the encapsulated downlink data 404 to AP through the CAP WAP tunnel. AP decapsulates and obtains downlink data 405. AP copies a copy for the second channel of the secondary channel and changes the destination MAC address to MAC2. Since AP sends the uplink data received on the primary channel to AC through the CAP WAP tunnel and AC forwards it, the MAC address learned by the communication peer of the station STA is the MAC address used by the station STA for primary channel communication. Therefore, the destination MAC address of the frame sent by its communication peer to the station STA is also MAC1 of the station STA.

[0043] Before the AP sends downlink data to the station STA through the secondary channel, it first modifies the destination MAC address to the address of the station STA used for communication on the secondary channel, so that the station STA can correctly parse the downlink data frame received through the secondary channel belonging to the second BSS.

[0044] The AP sends the decapsulated downlink data 405 to the station STA through the first channel, and sends the copied downlink data 406 with the modified destination MAC address to the station STA through the second channel.

[0045] The station STA receives downlink data 405 and 406 through the primary channel and the secondary channel of the first BSS and the second BSS respectively, discards the downlink data 406, and sends the downlink data 405 to the protocol stack for processing.

[0046] exist Figure 4A and 4B , when channel 1 between the AP and the station STA fails, the station STA1 will only send uplink data through channel 2. The AP can modify the source MAC address of the uplink data to MAC1 corresponding to the primary channel and then send it to the AC through the CAP WAP tunnel to avoid too many MAC addresses learned by the AC. When the AP receives downlink data through the CAP WAP tunnel, it modifies the destination MAC address of the decapsulated downlink data to the MAC address of the secondary channel and sends it to the station STA through the secondary channel. The station STA only receives downlink data through channel 2 and sends it to the protocol stack for processing.

[0047] Or, in Figure 4A and 4B , when channel 2 between the AP and the station STA fails, the station STA1 will only send uplink data through channel 2, and the AP will send the uplink data to the AC through the CAP WAP tunnel. When the AP receives downlink data through the CAP WAP tunnel, it will send the decapsulated downlink data to the station STA through the main channel. The station STA only receives downlink data through channel 1 and sends it to the protocol stack for processing.

[0048] In this application, the AP and the site STA can further send and receive some important business flows through dual Wi-Fi links. The STA ensures the uniqueness of the IP layer data for the received downlink data; the AP ensures the uniqueness of the IP layer data for the received uplink data.

[0049] APs and STAs can start before transmitting data frames of important services. Figure 2 or Figure 3 The negotiation of dual Wi-Fi link forwarding improves the reliability of data forwarding for important services, which is conducive to providing strong network layer protection for the use of certain sensitive applications in Wi-Fi networks.

[0050] Figure 5 The figure shows a schematic diagram of a wireless access point device provided by the present application; the device 500 at least includes a communication interface 502 and a communication bus 504, wherein a processor 501, a communication interface 502, and a memory 503 communicate with each other via the communication bus 504. The processor 501 of the device 500 implements the present application by running the processor executable instructions in the memory 503. Figure 1 , Figure 2 , Figure 3 , Figure 4A , 4B Dual Wi-Fi link communication

[0051] Figure 6 The schematic diagram of the station device provided by the present application is shown; the device 600 at least includes a communication interface 602 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604. The processor 601 of the device 600 executes the processor executable instructions in the memory 603 to implement the present application Figure 1 , Figure 2 , Figure 3 , Figure 4A , 4B Dual Wi-Fi link communication.

[0052] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A wireless communication method, applied to a wireless access point device, characterized in that: The method comprises, Notify the station of a first basic service set and a second basic service set supporting dual wireless communication through a first channel and a second channel; receiving a first association request frame with a primary channel identifier and a second association request frame with a secondary channel identifier sent by the station; Record that the first source MAC address of the first association request frame is the primary channel site address and corresponds to the first channel and the first basic service set; Recording that the second source MAC address of the second association request frame is a secondary channel site address and corresponds to the second channel and the second basic service set; receiving uplink data with the first source MAC address and the second source MAC address through the first channel and the second channel; The uplink data is encapsulated based on the CAP WAP tunnel connected to the access control device, and the encapsulated uplink data is sent to the access control device through the CAP WAP tunnel.

2. The method according to claim 1, characterized in that The method further comprises, receiving encapsulated downlink data through the CAP WAP tunnel; Decapsulate the encapsulated downlink data into downlink data; copying a copy of downlink data for the second channel; Modify the destination MAC address of the copied downlink data to the secondary channel site address; The downlink data and the duplicated downlink data are sent to the site through the first channel and the second channel respectively.

3. The method according to claim 2, characterized in that Before duplicating a copy of the downlink data on the second channel, the method further includes, determining that a failure of the second channel is detected, sending the downlink data to the site via the first channel; or, Determine that a failure of the first channel is detected, modify the destination MAC address of the downlink data to the secondary channel site address; and send the modified downlink data to the site through the second channel.

4. The method according to claim 1, characterized in that: Notifying the first basic service set and the second basic service set supporting dual wireless communication to the station through the first channel and the second channel includes: Receiving a first probe request frame and a second probe request frame through the first channel and the second channel respectively; Sending a first probe response frame carrying a dual wireless communication support identifier and the first basic service set identifier through the first channel; A second probe response frame carrying the dual wireless communication support identifier and the second basic service set identifier is sent through the second channel.

5. The method according to claim 1, characterized in that Notifying the first basic service set and the second basic service set supporting dual wireless communication to the station through the first channel and the second channel includes: Sending a first beacon frame carrying a dual wireless communication support identifier and a first basic service set identifier through the first channel; A second beacon frame carrying the dual wireless communication support identifier and a second basic service set identifier is sent through the second channel.

6. A wireless communication method, applied to a wireless network station, characterized in that: The method comprises, receiving a first basic service set and a second basic service set supporting dual wireless communication advertised by a wireless access point through a first channel and a second channel; Selecting the first channel and the second channel as a primary channel and a secondary channel respectively according to signal strength; Recording the first channel as the primary channel and the corresponding first basic service set; Recording the second channel as the secondary channel and the corresponding second basic service set; Sending a first association request frame with a first MAC address as a source MAC address and a primary channel identifier through the first channel; sending a second association request frame with a second MAC address as a source MAC address and a secondary channel identifier through the second channel; The first uplink data and the second uplink data are sent respectively through the first channel and the second channel; wherein the first uplink data and the second uplink data have the same destination MAC address and the same data part; the source MAC address of the first uplink data is the first MAC address; the source MAC address of the second uplink data is the second MAC address.

7. The method according to claim 6, characterized in that The method further comprises, receiving first downlink data and second downlink data through the first channel and the second channel respectively; wherein the first downlink data and the second downlink data have the same source MAC address and data part, the destination MAC address of the first downlink data is the first MAC address, and the destination MAC address of the second downlink data is the second MAC address; The first downlink data of the first channel as the main channel is processed at the protocol layer.

8. The method according to claim 7, characterized in that The method further comprises, determining that a failure of the first channel is detected; Sending uplink data with the second MAC as the source MAC address through the normal second channel; receiving, through the second channel, downlink data with the second MAC address as the destination MAC address; or, determining that a failure of the second channel is detected; Sending uplink data with the first MAC as the source MAC address through the normal first channel; Downlink data with the first MAC address as the destination MAC address is received through the first channel.

9. The method according to claim 7, characterized in that: receiving, through the first channel and the second channel, a first basic service set and a second basic service set of a wireless access point announcing support for dual wireless communications; Broadcasting a probe request frame on each channel in the channel list; receiving a first probe request frame and a second probe request frame through the first channel and the second channel respectively; sending a first probe response frame with a dual wireless communication support identifier and the first basic service set identifier through the first channel; A second probe response frame carrying the dual wireless communication support identifier and the second basic service set identifier is sent through the second channel.

10. The method according to claim 6, characterized in that Receiving the first basic service set and the second basic service set of the wireless access point through the first channel and the second channel to support dual wireless communication includes: Sending a first beacon frame carrying a dual wireless communication support identifier and a first basic service set identifier through the first channel; A second beacon frame carrying the dual wireless communication support identifier and a second basic service set identifier is sent through the second channel.

11. A wireless communication device, the device being applied to a wireless access point device, the device comprising a processor and a memory, characterized in that: The processor executes the method described in any one of claims 1 to 5 by running the processor-executable instructions in the memory.

12. A wireless communication device, the device being applied to a station of a wireless network, the device comprising a processor and a memory, characterized in that: The processor is used to execute the method according to any one of claims 6 to 10 by running the processor-executable instructions in the memory.

Citation Information

Patent Citations

  • Communication method and communication device for wireless local area network, and access point

    CN105979608A

  • Active scanning method in wireless LAN system

    CN108174431A