A message transmission method, apparatus and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NEW H3C TECH CO LTD
- Filing Date
- 2024-09-26
- Publication Date
- 2026-05-26
AI Technical Summary
During wireless terminal roaming, existing technologies cannot effectively prevent interruptions in data packet transmission, leading to a decline in user experience.
The access controller (AC) sends radio frequency information of neighboring access points (APs) to the access point (AP), causing the APs to broadcast beacon messages and instruct wireless terminals to establish wireless links with multiple APs, thereby maintaining continuity during roaming.
Wireless terminals do not need to re-establish wireless links during roaming, avoiding interruptions in data packet transmission, improving user experience, and ensuring business continuity.
Smart Images

Figure CN122095682A_ABST
Abstract
Description
Message transmission method, device and equipment TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, in particular to a message transmission method, device and equipment. BACKGROUND
[0002] A WLAN (Wireless Local Area Network) can include an AC (Access Controller) and multiple APs (Access Points).
[0003] When the wireless terminal is in the coverage of the AP1, the wireless terminal establishes a wireless link with the AP1. The wireless terminal sends data messages to the AP1 through the wireless link, and the wireless terminal receives data messages sent by the AP1 through the wireless link. When the wireless terminal roams, i.e., the wireless terminal roams from the AP1 to the coverage of the AP2, the wireless terminal needs to reestablish a wireless link with the AP2. The wireless terminal sends data messages to the AP2 through the wireless link, and the wireless terminal receives data messages sent by the AP2 through the wireless link.
[0004] SUMMARY
[0005] The present application provides a message transmission method applied to an AC (Access Controller), comprising:
[0006] For any first AP in multiple APs (Access Points) managed by the AC, the first AP's neighbor AP's radio frequency information is sent to the first AP, so that the first AP broadcasts a beacon message carrying the first AP's radio frequency information and the neighbor AP's radio frequency information; wherein the beacon message is used to instruct a wireless terminal to be accessed to the first AP to establish a first wireless link with the first AP based on the first AP's radio frequency information and to establish a second wireless link with the neighbor AP based on the neighbor AP's radio frequency information; wherein the first AP's radio frequency information and the neighbor AP's radio frequency information are different;
[0007] The first data message sent by the first AP and the second data message sent by the neighbor AP are received, the first data message is sent by the wireless terminal to the first AP based on the first wireless link; the second data message is sent by the wireless terminal to the neighbor AP based on the second wireless link; wherein the first data message and the second data message carry the same payload content;
[0008] The first data message or the second data message is sent.
[0009] The application provides a message transmission method applied to an access point (AP), and the method comprises the following steps:
[0010] receiving radio frequency information of a neighbor AP of the AP, which is sent by an AC accessed by the AP;
[0011] broadcasting a beacon message to a wireless terminal, wherein the beacon message comprises the radio frequency information of the AP and the radio frequency information of the neighbor AP; and the beacon message is used to instruct the wireless terminal to be accessed to the AP to establish a first wireless link with the AP based on the radio frequency information of the AP and to establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP; wherein the radio frequency information of the AP is different from the radio frequency information of the neighbor AP;
[0012] receiving a first data message sent by the wireless terminal based on the first wireless link;
[0013] sending the first data message to the AC.
[0014] The application provides a message transmission method applied to a wireless terminal, and the method comprises the following steps:
[0015] receiving a beacon message broadcasted by a first AP, wherein the beacon message comprises radio frequency information of the first AP and radio frequency information of a neighbor AP of the first AP;
[0016] if the wireless terminal is to be accessed to the first AP, establishing a first wireless link with the first AP based on the radio frequency information of the first AP;
[0017] establishing a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP;
[0018] sending a first data message to the first AP through the first wireless link and sending a second data message to the neighbor AP through the second wireless link; wherein the first data message and the second data message carry the same payload content.
[0019] The application provides a message transmission device applied to an access controller (AC), and the device comprises the following steps:
[0020] The sending module is configured to send, for any first AP in the plurality of APs managed by the AC, radio frequency information of neighbor APs of the first AP to the first AP, so that the first AP broadcasts a beacon message carrying the radio frequency information of the first AP and the radio frequency information of the neighbor APs; wherein the beacon message is used to instruct a wireless terminal to be accessed to the first AP to establish a first wireless link with the first AP based on the radio frequency information of the first AP and to establish a second wireless link with the neighbor APs based on the radio frequency information of the neighbor APs; wherein the radio frequency information of the first AP is different from the radio frequency information of the neighbor APs.
[0021] The receiving module is configured to receive a first data message sent by the first AP and a second data message sent by the neighbor AP, the first data message being sent by the wireless terminal to the first AP based on the first wireless link, and the second data message being sent by the wireless terminal to the neighbor AP based on the second wireless link; wherein the first data message and the second data message carry the same payload content.
[0022] The processing module is configured to send the first data message or the second data message.
[0023] The present application provides a message transmission device, applied to an access point (AP), and the device comprises:
[0024] The first receiving module is configured to receive radio frequency information of neighbor APs of the AP sent by an AC to which the AP is accessed.
[0025] The first sending module is configured to broadcast a beacon message to a wireless terminal, the beacon message comprising radio frequency information of the AP and radio frequency information of the neighbor APs; wherein the beacon message is used to instruct the wireless terminal to be accessed to the AP to establish a first wireless link with the AP based on the radio frequency information of the AP and to establish a second wireless link with the neighbor APs based on the radio frequency information of the neighbor APs; wherein the radio frequency information of the AP is different from the radio frequency information of the neighbor APs.
[0026] The second receiving module is configured to receive a first data message sent by the wireless terminal based on the first wireless link.
[0027] The second sending module is configured to send the first data message to the AC.
[0028] The present application provides a message transmission device, applied to a wireless terminal, and the device comprises:
[0029] The receiving module is configured to receive a beacon message broadcasted by a first AP, the beacon message comprising radio frequency information of the first AP and radio frequency information of neighbor APs of the first AP.
[0030] establishing a first wireless link with the first AP based on the radio frequency information of the first AP if the wireless terminal is to access the first AP; and establishing a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP;
[0031] sending a first data packet to the first AP through the first wireless link and sending a second data packet to the neighbor AP through the second wireless link, wherein the first data packet and the second data packet carry the same payload content.
[0032] The application provides an electronic device, comprising: a processor and a machine readable storage medium, the machine readable storage medium storing machine executable instructions capable of being executed by the processor; the processor is configured to execute the machine executable instructions to implement the packet transmission method of the above examples of the application.
[0033] The application provides an access controller, comprising: a processor and a machine readable storage medium, the machine readable storage medium storing machine executable instructions capable of being executed by the processor; the processor is configured to execute the machine executable instructions to implement the packet transmission method of the above examples of the application.
[0034] The application provides an access point, comprising: a processor and a machine readable storage medium, the machine readable storage medium storing machine executable instructions capable of being executed by the processor; the processor is configured to execute the machine executable instructions to implement the packet transmission method of the above examples of the application.
[0035] The application provides a wireless terminal, comprising: a processor and a machine readable storage medium, the machine readable storage medium storing machine executable instructions capable of being executed by the processor; the processor is configured to execute the machine executable instructions to implement the packet transmission method of the above examples of the application.
[0036] The application provides a computer program product, the computer program product comprising a computer program, the computer program being executed by a processor to implement the packet transmission method of the above examples of the application.
[0037] The application provides a machine readable storage medium, the machine readable storage medium storing machine executable instructions capable of being executed by a processor; wherein the processor is configured to execute the machine executable instructions to implement the packet transmission method of the above examples of the application.
[0038] As can be seen from the above technical solutions, in this embodiment, the beacon message broadcast by the first AP includes the radio frequency information of the first AP and the radio frequency information of the neighboring APs, enabling the wireless terminal to establish a wireless link with the first AP based on the radio frequency information of the first AP and to establish a wireless link with the neighboring APs based on the radio frequency information of the neighboring APs. That is, the wireless terminal establishes wireless links with multiple APs simultaneously. Thus, during roaming, if the wireless terminal roams from the first AP to the coverage area of a neighboring AP, the wireless terminal does not need to re-establish a wireless link with the neighboring AP, thereby avoiding interruption in data packet transmission. The wireless terminal can continue to send and receive data packets, thus improving the user experience. Regarding the reconnection process during roaming, roaming continuity is ensured; the wireless terminal is unaware of the reconnection process, and service is not interrupted. Attached Figure Description
[0039] Figure 1A is a flowchart illustrating a message transmission method according to one embodiment of this application;
[0040] Figure 1B is a flowchart illustrating a message transmission method according to one embodiment of this application.
[0041] Figure 1C is a flowchart illustrating a message transmission method according to one embodiment of this application;
[0042] Figure 2 is a schematic diagram of WLAN networking in one embodiment of this application;
[0043] Figure 3 is a flowchart illustrating a message transmission method according to one embodiment of this application;
[0044] Figure 4 is a schematic diagram of a wireless terminal establishing a wireless link with multiple access points in one embodiment of this application;
[0045] Figure 5 is a schematic diagram of the roaming process of a wireless terminal in one embodiment of this application;
[0046] Figure 6A is a schematic diagram of the structure of a message transmission device according to one embodiment of this application;
[0047] Figure 6B is a schematic diagram of the structure of a message transmission device in one embodiment of this application;
[0048] Figure 6C is a schematic diagram of the structure of a message transmission device according to one embodiment of this application;
[0049] Figure 7A is a hardware structure diagram of the AC in one embodiment of this application;
[0050] Figure 7B is a hardware structure diagram of the AP in one embodiment of this application;
[0051] Figure 7C is a hardware structure diagram of a wireless terminal according to one embodiment of this application. DETAILED DESCRIPTION
[0052] Embodiments of the present application provide a message transmission method, which is applied to an AC, and the AC manages a plurality of APs. Any AP in the plurality of APs is referred to as a first AP, and the AC determines a neighbor AP of the first AP from the plurality of APs managed by the AC. Referring to FIG. 1A, a flowchart of the method is shown. The method can include the following steps.
[0053] In step 111, radio frequency information of the neighbor AP of the first AP is sent to the first AP, so that the first AP broadcasts a beacon message carrying the radio frequency information of the first AP and the radio frequency information of the neighbor AP. The beacon message is used to instruct a wireless terminal to be accessed to the first AP to establish a first wireless link with the first AP based on the radio frequency information of the first AP and to establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP. The radio frequency information of the first AP is different from the radio frequency information of the neighbor AP.
[0054] In step 112, a first data message sent by the first AP and a second data message sent by the neighbor AP are received. The first data message can be sent by the wireless terminal to the first AP based on the first wireless link, and the second data message can be sent by the wireless terminal to the neighbor AP based on the second wireless link. The first data message and the second data message carry the same payload content.
[0055] In step 113, the first data message or the second data message is sent.
[0056] Embodiments of the present application provide a message transmission method, which is applied to an AP. Referring to FIG. 1B, a flowchart of the method is shown. The method includes the following steps.
[0057] In step 121, radio frequency information of a neighbor AP of the AP is received, which is sent by an AC to which the AP is accessed.
[0058] In step 122, a beacon message is broadcasted to a wireless terminal, and the beacon message includes radio frequency information of the AP and radio frequency information of the neighbor AP. The beacon message is used to instruct the wireless terminal to be accessed to the AP to establish a first wireless link with the AP based on the radio frequency information of the first AP and to establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP. The radio frequency information of the AP is different from the radio frequency information of the neighbor AP.
[0059] In step 123, a first data message sent by the wireless terminal is received based on the first wireless link.
[0060] In step 124, the first data message is sent to the AC.
[0061] The embodiment of the present application provides a message transmission method, which can be applied to a wireless terminal (i.e. a wireless client), and a flowchart of the method is shown in FIG. 1C. The method can include the following steps.
[0062] In step 131, a beacon message broadcasted by the first AP is received, wherein the beacon message comprises radio frequency information of the first AP and radio frequency information of a neighbor AP of the first AP.
[0063] In step 132, if the wireless terminal is to be connected to the first AP, a first wireless link is established between the wireless terminal and the first AP based on the radio frequency information of the first AP, and a second wireless link is established between the wireless terminal and the neighbor AP based on the radio frequency information of the neighbor AP.
[0064] In step 133, a first data message is sent to the first AP through the first wireless link, and a second data message is sent to the neighbor AP through the second wireless link, wherein the first data message and the second data message carry the same payload.
[0065] According to the above technical solution, in the embodiment of the present application, the beacon message broadcasted by the first AP comprises radio frequency information of the first AP and radio frequency information of a neighbor AP of the first AP, so that the wireless terminal establishes a wireless link with the first AP based on the radio frequency information of the first AP and establishes a wireless link with the neighbor AP based on the radio frequency information of the neighbor AP, i.e. the wireless terminal establishes wireless links with multiple APs at the same time. In this way, during the roaming process of the wireless terminal, if the wireless terminal roams from the first AP to the coverage range of the neighbor AP, the wireless terminal does not need to establish a wireless link with the neighbor AP again, so that the transmission of the data message is not interrupted, i.e. the wireless terminal can continue to send data messages and can also continue to receive data messages, thereby improving the user experience. For the reconnection process of roaming, the continuity of roaming is ensured, and the wireless terminal has no awareness of the reconnection process, and the service will not be interrupted.
[0066] In one example, when the AC determines the neighbor AP of the first AP from multiple APs, the neighbor AP of the first AP is determined in the following manner: for each AP other than the first AP, if the signal strength of the first AP detected by the AP is greater than a signal strength threshold, the AP is determined as the neighbor AP of the first AP. Alternatively, if the signal strength of the first AP detected by the AP is greater than a signal strength threshold and the communication quality of the AP is greater than a communication quality threshold, the AP is determined as the neighbor AP of the first AP.
[0067] In one example, after the first AP receives a first data packet sent by the wireless terminal via the first wireless link, the first AP can determine a first signal strength of the first data packet, the first signal strength being a signal strength measured by the first AP when receiving the first data packet via the first wireless link. The first AP sends the first signal strength to the AC. After the neighbor AP receives a second data packet sent by the wireless terminal via the second wireless link, the neighbor AP can determine a second signal strength of the second data packet, the second signal strength being a signal strength measured by the neighbor AP when receiving the second data packet via the second wireless link. The neighbor AP sends the second signal strength to the AC.
[0068] The AC determines the first signal strength of the first data packet and determines the second signal strength of the second data packet. If the first signal strength is not less than the second signal strength, the AC can discard the second data packet and send the first data packet to the Internet. Alternatively, if the first signal strength is less than the second signal strength, the AC can discard the first data packet and send the second data packet to the Internet.
[0069] In one example, upon receiving a response data packet for the first data packet or the second data packet, if the first signal strength is not less than the second signal strength, the AC sends the response data packet to the first AP so that the first AP sends the response data packet to the wireless terminal via the first wireless link. Alternatively, if the first signal strength is less than the second signal strength, the AC sends the response data packet to the neighbor AP of the first AP so that the neighbor AP sends the response data packet to the wireless terminal via the second wireless link.
[0070] In one example, the AC can also detect whether the wireless terminal roams from the first AP to a second AP, wherein the second AP can be a neighbor AP of the first AP, and the signal strength measured by the second AP when receiving a data packet from the wireless terminal is greater than the signal strength measured by the first AP when receiving the data packet from the wireless terminal.
[0071] If yes, the AC can send radio frequency information of the neighbor AP of the second AP to the second AP so that the second AP broadcasts a beacon packet carrying the radio frequency information of the second AP and the radio frequency information of the neighbor AP of the second AP. The beacon packet is used to enable a wireless terminal to be accessed by the second AP to establish a wireless link with the second AP based on the radio frequency information of the second AP and to establish a wireless link with the neighbor AP of the second AP based on the radio frequency information of the neighbor AP of the second AP. The radio frequency information of the second AP is different from the radio frequency information of the neighbor AP.
[0072] If the wireless terminal roams from the first AP to a second AP, the wireless terminal determines whether there is a wireless link between the wireless terminal and the second AP, and if not, the wireless terminal establishes a wireless link with the second AP based on radio frequency information of the second AP, and if yes, the wireless link between the wireless terminal and the second AP is maintained. In addition, the wireless terminal determines whether there is a wireless link between the wireless terminal and a neighbor AP of the second AP, and if not, the wireless terminal establishes a wireless link with the neighbor AP based on radio frequency information of the neighbor AP, and if yes, the wireless link between the wireless terminal and the neighbor AP of the second AP is maintained.
[0073] In one example, the AC can also obtain a number of established wireless links of the wireless terminal. If the number of established wireless links reaches a number threshold, the AC sends a link disconnection message to an AP corresponding to a wireless link with the earliest establishment time, so that the AP disconnects the wireless link between the AP and the wireless terminal based on the link disconnection message, wherein the number threshold can be less than or equal to the number of radio frequencies of the wireless terminal.
[0074] If the first AP (i.e., the first AP is an AP corresponding to a wireless link with the earliest establishment time among all established wireless links) receives the link disconnection message sent by the AC, the first AP disconnects the first wireless link between the first AP and the wireless terminal based on the link disconnection message. The link disconnection message is sent by the AC when the AC determines that the number of established wireless links of the wireless terminal reaches the number threshold.
[0075] In one example, the beacon message can include an ML (Multi Link) field, and the ML field can indicate that the beacon message carries radio frequency information of a neighbor AP. The beacon message can also include an RNR (Reduced Neighbor Report) field, and the RNR field can be used to carry the radio frequency information of the neighbor AP.
[0076] The technical solutions of the embodiments of the present application are described below in combination with specific application scenarios.
[0077] Referring to FIG. 2, a networking diagram of a WLAN is shown, the WLAN can include an AC and a plurality of APs managed by the AC, and the APs can be denoted as AP1, AP2, and so on. The AC is connected with the APs through a POE (Power Over Ethernet) switch or other types of switches.
[0078] The wireless terminal (also referred to as a wireless client, STA) can be a notebook computer, a smart phone, and the like. The wireless terminal is a terminal that accesses an AP in a wireless manner, and the type of the wireless terminal is not limited.
[0079] In one example, for each AP managed by the AC, the AP can be regarded as the first AP, and the AC can determine the neighbor APs of the first AP from the plurality of APs (the number of the neighbor APs can be one or more). For example, assuming that the AC manages AP1, AP2, AP3 and AP4, when AP1 is regarded as the first AP, the AC determines that the neighbor AP of the first AP is AP2. When AP2 is regarded as the first AP, the AC determines that the neighbor APs of the first AP are AP1 and AP3. When AP3 is regarded as the first AP, the AC determines that the neighbor APs of the first AP are AP2 and AP4. When AP4 is regarded as the first AP, the AC determines that the neighbor AP of the first AP is AP3.
[0080] In one example, the AC can determine the neighbor APs of the first AP in the following manner:
[0081] Manner 1: For each AP managed by the AC (except the first AP), the AC determines the signal strength of the first AP detected by the AP, and if the signal strength is greater than a signal strength threshold (which can be configured according to experience), it indicates that the distance between the AP and the first AP is close, and the AP is regarded as the neighbor AP of the first AP. If the signal strength is not greater than the signal strength threshold, it indicates that the distance between the AP and the first AP is far, and the AP is not regarded as the neighbor AP of the first AP.
[0082] Obviously, after the above processing operation is performed on each AP managed by the AC, the neighbor APs of the first AP can be obtained, and the number of the neighbor APs can be one or more, or the neighbor APs can be empty.
[0083] As to the signal strength of the first AP detected by the AP, the AP can send a probe packet to the first AP, and the first AP determines the signal strength of the probe packet, which is the signal strength measured by the first AP when receiving the probe packet of the AP. The first AP sends the signal strength of the probe packet to the AC, and the AC regards the signal strength of the probe packet as the signal strength of the first AP detected by the AP.
[0084] Alternatively, the first AP can also send a probe packet to the AP, and the AP can determine the signal strength of the probe packet, which can be the signal strength measured by the AP when receiving the probe packet of the first AP. The AP can send the signal strength of the probe packet to the AC, and the AC regards the signal strength of the probe packet as the signal strength of the first AP detected by the AP.
[0085] As can be seen from the above, when the AC determines the neighbor APs of the first AP from the plurality of APs, the signal strength of the first AP detected by the neighbor APs can be greater than the signal strength threshold.
[0086] In the manner 2, for each AP (except the first AP) managed by the AC, the AC determines the signal strength of the first AP detected by the AP, and determines the communication quality of the AP.
[0087] If the signal strength is greater than the signal strength threshold, it indicates that the distance between the AP and the first AP is close. If the communication quality of the AP is greater than the communication quality threshold, it indicates that the communication quality of the AP is good, and the communication quality of the data packet can be guaranteed when the data packet is processed by the AP. Based on this, the AP can be used as the neighbor AP of the first AP, so that the wireless terminal can obtain a better use experience. If the signal strength is not greater than the signal strength threshold, and / or the communication quality of the AP is not greater than the communication quality threshold (i.e., the communication quality of the AP is poor), the AP can not be used as the neighbor AP of the first AP.
[0088] Obviously, after the above processing operation is performed on each AP managed by the AC, the neighbor AP of the first AP can be obtained, and the number of the neighbor AP can be one or multiple.
[0089] Regarding the communication quality (which can also be referred to as network quality) of the AP, the AP can count the communication quality index of the AP, and send the communication quality index of the AP to the AC. The AC determines the communication quality of the AP based on the communication quality index. For example, the communication quality index can include, but is not limited to, at least one of the packet loss rate, the delay, and the delay jitter. The AC can determine the communication quality of the AP based on the packet loss rate, the delay, and the delay jitter. For example, the greater the packet loss rate, the smaller the communication quality (indicating poor communication quality), and the smaller the packet loss rate, the greater the communication quality. The greater the delay, the smaller the communication quality, and the smaller the delay, the greater the communication quality. The greater the delay jitter, the smaller the communication quality, and the smaller the delay jitter, the greater the communication quality. Of course, the above is only an example of determining the communication quality, which is not limited.
[0090] As can be seen from the above, when the AC determines the neighbor AP of the first AP from the multiple APs, the signal strength of the first AP detected by the neighbor AP can be greater than the signal strength threshold, and the communication quality of the neighbor AP is greater than the communication quality threshold.
[0091] In one example, for the manner 1, since the distance between the first AP and the neighbor AP does not change, after the neighbor AP of the first AP is determined, the neighbor AP does not change, so that the AC does not need to determine the neighbor AP of the first AP again after the neighbor AP of the first AP is determined.
[0092] For the mode 2, since the communication quality of each AP changes, after the neighbor AP of the first AP is determined, the neighbor AP can change. Based on this, the AC can periodically determine the neighbor AP of the first AP, or re-determine the neighbor AP of the first AP when a trigger condition (such as a change in the communication quality of the AP) is met. In summary, after the neighbor AP of the first AP is determined, the AC needs to re-determine the neighbor AP of the first AP, and update the neighbor AP of the first AP when the neighbor AP changes.
[0093] In one example, after the AC determines the neighbor AP of the first AP from the plurality of APs, the first AP and the neighbor AP can be virtually a distributed AP. Based on the virtualization of the first AP and the neighbor AP as a distributed AP, the wireless terminal is provided with joint services by the first AP and the neighbor AP in the distributed AP.
[0094] For example, by virtually the first AP and the neighbor AP as a distributed AP, it means that the first AP and the neighbor AP are the same AP, so when the first AP and the neighbor AP provide wireless services for the wireless terminal at the same time, it means that the wireless terminal is provided with wireless services by the same AP, which can be understood as that the wireless terminal is provided with wireless services by multiple radio frequency units of the same AP, that is, each AP corresponds to a radio frequency unit.
[0095] For example, when the first AP and the neighbor AP are virtually a distributed AP, the AC virtually a first radio frequency unit (that is, any radio frequency unit supported by the first AP) of the first AP and a second radio frequency unit (that is, any radio frequency unit supported by the neighbor AP) of the neighbor AP as a distributed AP, and the first radio frequency unit and the second radio frequency unit are different.
[0096] When AP2 is the first AP, the neighbor AP of the first AP is AP1 and AP3, and it is assumed that AP1, AP2 and AP3 all support radio frequency unit a1, radio frequency unit a2, radio frequency unit a3 and radio frequency unit a4, then radio frequency unit a1 of AP1, radio frequency unit a2 of AP2 and radio frequency unit a3 of AP3 can be virtually a distributed AP, that is, the distributed AP includes radio frequency unit a1 of AP1, radio frequency unit a2 of AP2 and radio frequency unit a3 of AP3. On this basis, radio frequency unit a1 of AP1, radio frequency unit a2 of AP2 and radio frequency unit a3 of AP3 can be used to provide wireless services for the wireless terminal.
[0097] In the above application scenario, a packet transmission method is proposed in the embodiment of the present application. It is assumed that the plurality of APs managed by the AC includes AP1, AP2 and AP3, AP2 is the neighbor AP of AP1, AP1 and AP3 are the neighbor AP of AP2, and AP2 is the neighbor AP of AP3. Referring to FIG. 3, the method can include:
[0098] In step 301, the AC sends the radio information of the neighbor APs of the first AP to the first AP, and the first AP can receive the radio information of the neighbor APs of the first AP sent by the AC.
[0099] For example, when AP1 is the first AP, AP2 is a neighbor AP of AP1, and the AC virtualizes the radio unit a1 of AP1 and the radio unit a2 of AP2 as a distributed AP, the AC sends the radio information of the radio unit a2 of AP2 to AP1. The radio information can include but is not limited to the channel information and the BSSID (Basic Service Set Identifier) of the radio unit a2 of AP2. The radio information is not limited in this regard, and the BSSID can be understood as a unique identifier for identifying AP2 in a WLAN.
[0100] When AP2 is the first AP, AP1 and AP3 are neighbor APs of AP2, and the AC virtualizes the radio unit a1 of AP1, the radio unit a2 of AP2, and the radio unit a3 of AP3 as a distributed AP, the AC sends the radio information of the radio unit a1 of AP1 and the radio information of the radio unit a3 of AP3 to AP2.
[0101] In step 302, the first AP broadcasts a beacon packet to the wireless terminal. The beacon packet can include the radio information of the first AP and the radio information of the neighbor APs of the first AP.
[0102] For example, when AP1 is the first AP, AP1 can broadcast a beacon packet 1. Assuming that the AC virtualizes the radio unit a1 of AP1 and the radio unit a2 of AP2 as a distributed AP, the beacon packet 1 can include the radio information of the radio unit a1 of AP1 and the radio information of the radio unit a2 of AP2.
[0103] When AP2 is the first AP, AP2 can broadcast a beacon packet 2. Assuming that the AC virtualizes the radio unit a1 of AP1, the radio unit a2 of AP2, and the radio unit a3 of AP3 as a distributed AP, the beacon packet 2 can include the radio information of the radio unit a1 of AP1, the radio information of the radio unit a2 of AP2, and the radio information of the radio unit a3 of AP3.
[0104] In one example, when the first AP broadcasts a beacon message to the wireless terminal, the beacon message can be a beacon message, and the beacon message can include a BSSID field, which can be used to carry the radio information of the first AP. In addition, the beacon message can also include an ML field, which can indicate that the beacon message carries the radio information of the neighboring APs or does not carry the radio information of the neighboring APs. For example, if the ML field has a first value (e.g., 1), it indicates that the beacon message carries the radio information of the neighboring APs. If the ML field has a second value (e.g., 0), it indicates that the beacon message does not carry the radio information of the neighboring APs.
[0105] For example, if the first AP supports virtualizing the radio units of different APs as one distributed AP, i.e., the first AP supports the beacon message carrying the radio information of the neighboring APs, when the first AP sends the beacon message to the wireless terminal, the ML field has the first value. Alternatively, if the first AP does not support virtualizing the radio units of different APs as one distributed AP, i.e., the first AP does not support the beacon message carrying the radio information of the neighboring APs, when the first AP broadcasts the beacon message to the wireless terminal, the ML field has the second value.
[0106] If the ML field is used to indicate that the beacon message carries the radio information of the neighboring APs, the beacon message can further include an RNR field, and the RNR field can be used to carry the radio information of the neighboring APs. If the ML field is used to indicate that the beacon message does not carry the radio information of the neighboring APs, the beacon message does not include the RNR field.
[0107] For example, when AP1 is the first AP, AP1 broadcasts beacon message 1, the ML field of beacon message 1 has the first value, and the RNR field includes the radio information of a2, the radio unit of AP2. When AP2 is the first AP, AP2 broadcasts beacon message 2, the ML field of beacon message 2 has the first value, and the RNR field includes the radio information of a1, the radio unit of AP1, and the radio information of a3, the radio unit of AP3.
[0108] Step 303: The wireless terminal receives the beacon message broadcasted by the first AP, which can include the radio information of the first AP and the radio information of the neighboring APs of the first AP.
[0109] For example, if the wireless terminal is located in the coverage of AP1, the wireless terminal can receive beacon message 1 broadcasted by AP1. The wireless terminal can also receive beacon message 2 broadcasted by AP2.
[0110] When the wireless terminal receives the plurality of AP broadcasted beacon messages, the wireless terminal determines the signal strength of each of the beacon messages, and the wireless terminal only processes the beacon message with the strongest signal strength and discards the rest of the beacon messages. If the signal strength of the beacon message 1 is the strongest, the wireless terminal performs subsequent processing (such as establishing a link and sending data messages) based on the beacon message 1, the wireless terminal accesses the AP 1, and discards the rest of the beacon messages.
[0111] At step 304, the wireless terminal establishes a first wireless link with the first AP based on the radio frequency information of the first AP. The wireless terminal establishes a second wireless link with a neighbor AP of the first AP based on the radio frequency information of the neighbor AP of the first AP.
[0112] In one example, the wireless terminal can obtain the radio frequency information of the first AP from the beacon message, and establish a link (denoted as a first wireless link) with the first AP based on the radio frequency information of the first AP. In addition, the wireless terminal can obtain the radio frequency information of a neighbor AP of the first AP from the beacon message, and establish a link (denoted as a second wireless link) with the neighbor AP based on the radio frequency information of the neighbor AP of the first AP.
[0113] For example, the AP 1 broadcasts the beacon message 1, and the wireless terminal obtains the radio frequency information of the radio frequency unit a1 of the AP 1 from the BSSID field of the beacon message 1. If the wireless terminal supports the radio frequency unit a1, the wireless terminal establishes a first wireless link with the AP 1 based on the radio frequency information of the radio frequency unit a1 of the AP 1, and the first wireless link is a link to the radio frequency unit a1. Based on the first wireless link, the wireless terminal can send data messages to the AP 1 through the radio frequency unit a1, and the AP 1 can send data messages to the wireless terminal through the radio frequency unit a1. For example, the first wireless link can be a WIFI type link, or can be another type of link.
[0114] For example, the wireless terminal can also obtain the value of the ML field of the beacon message 1. If the value of the ML field is the second value, the wireless terminal ends the processing procedure. If the value of the ML field is the first value, the wireless terminal can also obtain the content of the RNR field of the beacon message 1, i.e., obtain the radio frequency information of the radio frequency unit a2 of the AP 2 from the RNR field. If the wireless terminal supports the radio frequency unit a2, the wireless terminal establishes a second wireless link with the AP 2 based on the radio frequency information of the radio frequency unit a2 of the AP 2, and the second wireless link is a link to the radio frequency unit a2. Based on the second wireless link, the wireless terminal can send data messages to the AP 2 through the radio frequency unit a2, and the AP 2 can send data messages to the wireless terminal through the radio frequency unit a2. For example, the second wireless link can be a WIFI type link, or can be another type of link.
[0115] In one example, the wireless terminal can support multiple radio units, such as radio unit a1, radio unit a2, radio unit a3, and radio unit a4. Based on this, the wireless terminal establishes a first wireless link with AP1 based on the radio information of radio unit a1 of AP1. The wireless terminal establishes a second wireless link with AP2 based on the radio information of radio unit a2 of AP2.
[0116] For example, the AC can know that the wireless terminal supports multiple radio units. When the AC virtualizes the first AP and the neighbor AP as a distributed AP, the AC needs to virtualize a first radio unit of the first AP (i.e., a radio unit that is supported by both the first AP and the wireless terminal) and a second radio unit of the neighbor AP (i.e., a radio unit that is supported by both the neighbor AP and the wireless terminal) as a distributed AP, and the first radio unit and the second radio unit are different.
[0117] The wireless terminal supporting multiple radio units means that the wireless terminal allows concurrent reception or transmission of data packets in multiple radio units, and the multiple radio units can be radio units in 2.4 GHz, 5 GHz, and 6 GHz across a single or multiple frequency bands, and the multiple radio units are not limited.
[0118] Referring to FIG. 4, a diagram of a wireless terminal establishing wireless links with multiple APs is shown. The AC virtualizes radio unit a1 of AP1 and radio unit a2 of AP2 as a distributed AP, and the wireless terminal supports radio unit a1 and radio unit a2. Based on the radio information of radio unit a1 of AP1, the wireless terminal establishes a first wireless link (denoted as link1) with AP1. Based on the radio information of radio unit a2 of AP2, the wireless terminal establishes a second wireless link (denoted as link2) with AP2.
[0119] In step 305, the wireless terminal transmits a first data packet to the first AP through the first wireless link, and the wireless terminal transmits a second data packet to the neighbor AP of the first AP through the second wireless link.
[0120] In one example, when the wireless terminal sends a data packet to the Internet, the wireless terminal sends the data packet to the first AP (e.g., AP1) through the first wireless link based on the radio unit a1, and the data packet is recorded as a first data packet. The wireless terminal sends the data packet to the neighbor AP (e.g., AP2) of the first AP through the second wireless link based on the radio unit a2, and the data packet is recorded as a second data packet. Obviously, the first data packet and the second data packet are the same data packet, i.e., the first data packet and the second data packet carry the same payload, and thus the same data packet is sent to the first AP and the neighbor AP.
[0121] In step 306, the first AP receives the first data packet sent by the wireless terminal based on the first wireless link, and sends the first data packet to the AC. The neighbor AP of the first AP receives the second data packet sent by the wireless terminal based on the second wireless link, and sends the second data packet to the AC.
[0122] In one example, the first AP receives the first data packet based on the first wireless link, and determines a first signal strength of the first data packet, where the first signal strength is measured when the first AP receives the first data packet through the first wireless link. The first AP sends the first data packet and the first signal strength to the AC.
[0123] The neighbor AP of the first AP receives the second data packet based on the second wireless link, and determines a second signal strength of the second data packet, where the second signal strength is measured when the neighbor AP receives the second data packet through the second wireless link. The neighbor AP sends the second data packet and the second signal strength to the AC.
[0124] In step 307, the AC receives the first data packet sent by the first AP, and receives the second data packet sent by the neighbor AP of the first AP.
[0125] For example, the AC can receive the first data packet and the first signal strength sent by the first AP, and the AC can receive the second data packet and the second signal strength sent by the neighbor AP of the first AP.
[0126] In step 308, the AC sends the first data packet or the second data packet. For example, the AC discards the first data packet, and sends the second data packet to the Internet. Or, the AC discards the second data packet, and sends the first data packet to the Internet.
[0127] In one example, the AC can receive a first signal strength of the first data packet and a second signal strength of the second data packet. If the first signal strength is not less than the second signal strength, it indicates that the signal strength of the first data packet is superior to the signal strength of the second data packet, i.e. the wireless terminal is in the coverage range of the first AP, thus the AC can discard the second data packet and send the first data packet to the Internet.
[0128] Alternatively, if the first signal strength is less than the second signal strength, it indicates that the signal strength of the second data packet is superior to the signal strength of the first data packet, i.e. the wireless terminal is in the coverage range of the neighbor AP of the first AP, the AC can discard the first data packet and send the second data packet to the Internet.
[0129] In step 309, the AC receives a response data packet for the first data packet or the second data packet, which is sent by a device in the Internet to the wireless terminal.
[0130] In step 310, if the first signal strength is not less than the second signal strength, the AC sends the response data packet to the first AP, which sends the response data packet to the wireless terminal through the first wireless link. Alternatively, if the first signal strength is less than the second signal strength, the AC sends the response data packet to the neighbor AP of the first AP, which sends the response data packet to the wireless terminal through the second wireless link.
[0131] In one example, if the first signal strength is not less than the second signal strength, it indicates that the wireless terminal is in the coverage range of the first AP, the AC sends the first data packet to the Internet. Based on this, when the AC receives a response data packet for the wireless terminal, the AC sends the response data packet to the first AP.
[0132] After receiving the response data packet, the first AP sends the response data packet to the wireless terminal through the first wireless link based on the radio unit al, since the first AP (e.g. AP1) establishes the first wireless link with the wireless terminal and the first wireless link is a link for the radio unit al.
[0133] If the first signal strength is less than the second signal strength, it indicates that the wireless terminal is in the coverage range of the neighbor AP of the first AP, the AC sends the second data packet to the Internet. Based on this, when the AC receives a response data packet for the wireless terminal, the AC sends the response data packet to the neighbor AP of the first AP.
[0134] After receiving the response data packet, the neighbor AP (e.g., AP2) establishes a second wireless link with the wireless terminal, and the second wireless link is a link for radio unit a2. Thus, the neighbor AP sends the response data packet to the wireless terminal through the second wireless link based on radio unit a2.
[0135] In one example, for a roaming process of the wireless terminal, i.e., the wireless terminal roams from a first AP to a neighbor AP of the first AP (for convenience, the neighbor AP of the first AP is referred to as a second AP), referring to FIG. 5, which is a schematic diagram of the roaming process of the wireless terminal, the roaming process can include:
[0136] In step 501, the AC detects whether the wireless terminal roams from the first AP to the second AP, i.e., whether the wireless terminal switches from the first AP to the second AP. The second AP can be a neighbor AP of the first AP.
[0137] For example, when the AC receives the first signal strength of the first data packet and the second signal strength of the second data packet, if the first signal strength is not less than the second signal strength, it indicates that the wireless terminal is within the coverage of the first AP, i.e., the wireless terminal does not roam from the first AP to the second AP.
[0138] If the first signal strength is less than the second signal strength, it indicates that the wireless terminal is currently within the coverage of the neighbor AP (i.e., the second AP) of the first AP. However, in order to avoid repeated roaming of the wireless terminal (i.e., roaming from the first AP to the second AP, and then roaming from the second AP to the first AP, and repeating the above process), instead of directly determining that the wireless terminal roams from the first AP to the second AP, the roaming number of the wireless terminal is incremented by 1, and it is determined whether the updated roaming number reaches a number threshold (configured according to experience, such as 10, 12, etc.).
[0139] If yes, it indicates that the wireless terminal roams from the first AP to the second AP. If no, it indicates that the wireless terminal does not roam from the first AP to the second AP. When the AC receives the first signal strength of the first data packet and the second signal strength of the second data packet again, if the first signal strength is not less than the second signal strength (i.e., the wireless terminal roams from the second AP to the first AP again), the roaming number of the wireless terminal is updated to 0. If the first signal strength is less than the second signal strength, the roaming number of the wireless terminal is incremented by 1, and it is determined whether the updated roaming number reaches the number threshold, and so on, until the roaming number reaches the number threshold.
[0140] If the wireless terminal does not roam from the first AP to the second AP, steps 305-310 are repeated. If the wireless terminal roams from the first AP to the second AP, step 502 is performed. The second AP is a neighbor AP of the first AP, and the second AP measures a signal strength of the data packet from the wireless terminal that is greater than the signal strength of the data packet from the wireless terminal that is measured by the first AP when the wireless terminal roams from the first AP to the second AP.
[0141] In step 502, the AC sends radio frequency information of the neighbor APs of the second AP to the second AP, and the second AP can receive the radio frequency information of the neighbor APs of the second AP sent by the AC.
[0142] For example, when the wireless terminal roams from AP1 to AP2, AP2 is the second AP, and AP1 and AP3 are the neighbor APs of AP2. Assuming that the AC virtualizes the radio frequency unit a1 of AP1, the radio frequency unit a2 of AP2 and the radio frequency unit a3 of AP3 as a distributed AP, the AC sends the radio frequency information of the radio frequency unit a1 of AP1 and the radio frequency information of the radio frequency unit a3 of AP3 to AP2.
[0143] In step 503, the second AP broadcasts a beacon packet to the wireless terminal. For example, the beacon packet can include the radio frequency information of the second AP and the radio frequency information of the neighbor APs of the second AP.
[0144] For example, AP2 can broadcast a beacon packet to the wireless terminal, and the beacon packet can include the radio frequency information of the radio frequency unit a1 of AP1, the radio frequency information of the radio frequency unit a2 of AP2 and the radio frequency information of the radio frequency unit a3 of AP3.
[0145] For example, when AP2 broadcasts a beacon packet to the wireless terminal, the beacon packet includes a BSSID field, and the BSSID field is used to carry the radio frequency information of AP2. The beacon packet further includes an ML field, and the ML field indicates that the beacon packet carries the radio frequency information of the neighbor APs. For example, the ML field can have a first value (e.g., 1) indicating that the beacon packet carries the radio frequency information of the neighbor APs. The beacon packet can further include an RNR field, and the RNR field is used to carry the radio frequency information of AP1 and the radio frequency information of AP3.
[0146] In step 504, the wireless terminal receives the beacon packet broadcasted by the second AP, and the beacon packet can include the radio frequency information of the second AP and the radio frequency information of the neighbor APs of the second AP.
[0147] In step 505, the wireless terminal establishes a wireless link with the second AP based on the radio frequency information of the second AP. The wireless terminal establishes a wireless link with the neighbor AP of the second AP based on the radio frequency information of the neighbor AP of the second AP.
[0148] The wireless terminal can obtain the radio frequency information of the second AP from the beacon message, and establish a wireless link with the second AP based on the radio frequency information of the second AP. When establishing the wireless link with the second AP, the wireless terminal determines whether a wireless link already exists between the wireless terminal and the second AP, and if not, establishes a wireless link with the second AP based on the radio frequency information of the second AP, and if so, maintains the wireless link between the wireless terminal and the second AP.
[0149] The wireless terminal can obtain the radio frequency information of the neighbor AP of the second AP from the beacon message, and establish a wireless link with the neighbor AP based on the radio frequency information of the neighbor AP. When establishing the wireless link with the neighbor AP, the wireless terminal determines whether a wireless link already exists between the wireless terminal and the neighbor AP, and if not, establishes a wireless link with the neighbor AP based on the radio frequency information of the neighbor AP, and if so, maintains the wireless link between the wireless terminal and the neighbor AP.
[0150] For example, the wireless terminal can obtain the radio frequency information of the radio frequency unit a2 of the AP 2 from the BSSID field of the beacon message, and since a wireless link already exists between the wireless terminal and the AP 2, the wireless terminal can maintain the wireless link between the wireless terminal and the AP 2. Based on the wireless link between the wireless terminal and the AP 2, the wireless terminal can send a data message to the AP 2 through the radio frequency unit a2, and the AP 2 can send a data message to the wireless terminal through the radio frequency unit a2.
[0151] The wireless terminal can also obtain the radio frequency information of the radio frequency unit a1 of the AP 1 from the RNR field of the beacon message. Since a wireless link already exists between the wireless terminal and the AP 1, the wireless terminal can maintain the wireless link between the wireless terminal and the AP 1. Based on the wireless link between the wireless terminal and the AP 1, the wireless terminal can send a data message to the AP 1 through the radio frequency unit a1, and the AP 1 can send a data message to the wireless terminal through the radio frequency unit a1.
[0152] The wireless terminal can also obtain the radio frequency information of the radio frequency unit a3 of the AP 3 from the RNR field of the beacon message. Since no wireless link exists between the wireless terminal and the AP 3, if the wireless terminal supports the radio frequency unit a3, the wireless terminal establishes a wireless link with the AP 3 based on the radio frequency information of the radio frequency unit a3 of the AP 3, which is a wireless link for the radio frequency unit a3. Based on the wireless link, the wireless terminal can send a data message to the AP 3 through the radio frequency unit a3, and the AP 3 can send a data message to the wireless terminal through the radio frequency unit a3.
[0153] In summary, the wireless terminal can establish wireless links with the AP 1, the AP 2, and the AP 3, respectively.
[0154] Step 506, the wireless terminal sends data packets to the second AP (e.g. AP2) through the wireless link, and the wireless terminal sends data packets to the neighboring APs (e.g. AP1 and AP3) of the second AP through the wireless link.
[0155] Step 507, the second AP receives the data packets sent by the wireless terminal, and sends the data packets to the AC. The neighboring APs of the second AP receive the data packets sent by the wireless terminal, and send the data packets to the AC.
[0156] Step 508, the AC receives the data packets sent by the second AP, and receives the data packets sent by the neighboring APs of the second AP. The AC discards one data packet, and sends the remaining data packets.
[0157] Step 509, the AC receives the response data packets, and sends the response data packets to the second AP. The second AP sends the response data packets to the wireless terminal through the wireless link. Alternatively, the AC sends the response data packets to the neighboring APs of the second AP, and the neighboring APs of the second AP send the response data packets to the wireless terminal through the wireless link.
[0158] Steps 506-509 can refer to steps 305-310, and will not be repeated here.
[0159] In one example, the roaming process of the wireless terminal is as follows. The wireless terminal roams from the second AP to the neighboring APs of the second AP, e.g. the wireless terminal roams from AP2 to AP1 or AP3. The process shown in FIG. 5 is repeated.
[0160] In one example, when the wireless terminal roams from the first AP to the neighboring APs of the first AP, the wireless link between the wireless terminal and the first AP can be disconnected. In this way, the wireless terminal can continue to establish wireless links with the remaining APs, i.e. establish wireless links with the next neighboring APs, thereby ensuring the continuity of the roaming of the wireless terminal.
[0161] In one example, after the wireless terminal roams from the first AP to the neighboring APs of the first AP, the wireless terminal can roam from the neighboring APs to the first AP again. Based on this, if the wireless link between the wireless terminal and the first AP has been disconnected, the wireless link between the wireless terminal and the first AP needs to be re-established. In order to avoid repeated establishment and disconnection of the wireless link, the wireless link can also be disconnected in the following way:
[0162] The AC can obtain the number of established wireless links of the wireless terminal. For example, the AC can obtain the number of established wireless links of the wireless terminal each time the wireless terminal establishes a new wireless link. Assuming that the number of links is M, it means that the wireless terminal has established M wireless links, and the wireless terminal sends data packets to M APs through the M wireless links respectively.
[0163] If the number of links does not reach the number threshold, all the established wireless links of the wireless terminal are kept, and the wireless terminal continues to send data packets to the AP through the wireless links.
[0164] If the number of links reaches the number threshold, the AC determines the AP corresponding to the wireless link with the earliest establishment time among all the established wireless links. Assuming that the wireless terminal establishes a wireless link 1 with an AP 1, then the wireless terminal establishes a wireless link 2 with an AP 2, and then the wireless terminal establishes a wireless link 3 with an AP 3. Based on this, the wireless link 1 is the wireless link with the earliest establishment time. The AC sends a link disconnection packet to the AP (such as the AP 1), and after the AP receives the link disconnection packet sent by the AC, the AP disconnects the wireless link between the AP and the wireless terminal based on the link disconnection packet.
[0165] For example, the link disconnection packet carries information of the wireless terminal, and the link disconnection packet indicates that the wireless link between the AP and the wireless terminal needs to be disconnected. In this way, after the AP receives the link disconnection packet, the AP knows, based on the information of the wireless terminal, that the wireless link between the target AP and the wireless terminal needs to be disconnected.
[0166] In an example, the number threshold can be less than or equal to the number of radios of the wireless terminal. For example, assuming that the wireless terminal supports a radio unit a1, a radio unit a2, a radio unit a3, and a radio unit a4, the number of radios of the wireless terminal is 4, that is, the wireless terminal can establish a maximum of 4 wireless links, that is, 4 wireless links are established through 4 radio units. Based on this, the number threshold can be less than or equal to 4.
[0167] Taking the number threshold as 4 as an example, if the number of links of the established wireless links of the wireless terminal reaches the number threshold, it indicates that the wireless terminal has been unable to continue to establish wireless links, and therefore, the wireless link between the AP and the wireless terminal is disconnected, so that the wireless terminal can continue to establish wireless links, that is, the wireless terminal can continue to establish wireless links with the remaining APs, and the continuity of the wireless terminal roaming is ensured.
[0168] In an example, in a warehouse application scenario, the wireless terminal can be a robot, which can include an AGV (Automated Guided Vehicle) and the like, and the travel path of the robot can be planned in advance. The robot travels along the travel path and carries materials during the travel. Assuming that the robot passes through the AP 1, the AP 2, the AP 3, the AP 4, and so on in sequence on the travel path.
[0169] On this basis, when the robot roams into the coverage of AP1, the robot establishes a wireless link with AP1, and the robot establishes a wireless link with AP2. When the robot roams into the coverage of AP2, since the robot has established a wireless link with AP2, the robot can communicate with the AC through AP2, and the service will not be interrupted, and the robot establishes a wireless link with AP3. When the robot roams into the coverage of AP3, since the robot has established a wireless link with AP3, the robot can communicate with the AC through AP3, and the service will not be interrupted, and the robot establishes a wireless link with AP4, and so on.
[0170] In summary, for the application scenario of a single route, when the robot travels along the pre-planned travel path, all neighbor APs can establish a wireless link with the robot, and the roaming continuity is guaranteed.
[0171] As can be seen from the above technical solutions, in the embodiments of the present application, during the roaming process of the wireless terminal, if the wireless terminal roams from one AP to the coverage of a neighbor AP, the wireless terminal does not need to reestablish a wireless link with the neighbor AP, thereby avoiding the interruption of the transmission process of the data packet and improving the user experience. For the reconnection process during the roaming process, the continuity of roaming is guaranteed, and the wireless terminal is not aware of the reconnection process, and the service will not be interrupted. When the number of radio frequencies of the wireless terminal is more, the wireless terminal can establish more wireless links at the same time, that is, the wireless terminal can move under more APs, the movable range of the wireless terminal is larger, and the flexibility is higher. Multiple APs can work collaboratively through multiple links, the overall performance can exceed the limit of a single AP, and load sharing between multiple wireless links can be performed, thereby guaranteeing the use experience of multiple users. In the roaming scenario of the wireless terminal, the wireless terminal will not cause service interruption due to roaming, zero roaming based on WIFI is realized, the WIFI reconnection problem of the wireless terminal during roaming is solved, and the user experience is improved.
[0172] Based on the same application concept as the above method, the embodiments of the present application propose a packet transmission device, which is applied to an AC, as shown in FIG. 6A, which is a structural schematic diagram of the device, the device comprises:
[0173] The sending module 611 is configured to send, for any first AP in the AC-managed APs, radio frequency information of neighbor APs of the first AP to the first AP, so that the first AP broadcasts a beacon packet carrying the radio frequency information of the first AP and the radio frequency information of the neighbor APs; wherein the beacon packet is used to instruct a wireless terminal to be accessed to the first AP to establish a first wireless link with the first AP based on the radio frequency information of the first AP and to establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP; and the radio frequency information of the first AP is different from the radio frequency information of the neighbor APs.
[0174] The receiving module 612 is configured to receive a first data packet sent by the first AP and a second data packet sent by the neighbor AP, wherein the first data packet is sent by the wireless terminal to the first AP based on the first wireless link, and the second data packet is sent by the wireless terminal to the neighbor AP based on the second wireless link; and the first data packet and the second data packet carry the same payload content.
[0175] The processing module 613 is configured to send the first data packet or the second data packet.
[0176] In one example, the neighbor APs of the first AP are determined in the following manner:
[0177] For each AP other than the first AP, if the signal strength of the first AP detected by the AP is greater than a signal strength threshold, the AP is determined as a neighbor AP of the first AP.
[0178] Alternatively, if the signal strength of the first AP detected by the AP is greater than a signal strength threshold and the communication quality of the AP is greater than a communication quality threshold, the AP is determined as a neighbor AP of the first AP.
[0179] In one example, when the processing module 613 sends the first data packet or the second data packet, it is specifically configured to: determine a first signal strength of the first data packet, wherein the first signal strength is a signal strength measured by the first AP when receiving the first data packet through the first wireless link; determine a second signal strength of the second data packet, wherein the second signal strength is a signal strength measured by the neighbor AP when receiving the second data packet through the second wireless link; if the first signal strength is not less than the second signal strength, the first data packet is sent; or if the first signal strength is less than the second signal strength, the second data packet is sent.
[0180] In an example, the sending module 611 is further configured to, when receiving a response data packet for the first data packet or the second data packet, if the first signal strength is not less than the second signal strength, send the response data packet to the first AP, so that the first AP sends the response data packet to the wireless terminal through the first wireless link; or if the first signal strength is less than the second signal strength, send the response data packet to the neighbor AP, so that the neighbor AP sends the response data packet to the wireless terminal through the second wireless link.
[0181] In an example, the processing module 613 is further configured to detect whether the wireless terminal roams from the first AP to a second AP; the second AP is a neighbor AP of the first AP, and a signal strength measured by the second AP when receiving a data packet of the wireless terminal is greater than a signal strength measured by the first AP when receiving the data packet of the wireless terminal; and the sending module 611 is further configured to, if the wireless terminal roams from the first AP to the second AP, send radio frequency information of a neighbor AP of the second AP to the second AP, so that the second AP broadcasts a beacon packet carrying the radio frequency information of the second AP and the radio frequency information of the neighbor AP.
[0182] In an example, the processing module 613 is further configured to acquire a number of established wireless links of the wireless terminal; and the sending module 611 is further configured to, if the number of the wireless links reaches a number threshold, send a link disconnection packet to an AP corresponding to a wireless link with the earliest establishment time, so that the AP disconnects a wireless link between the AP and the wireless terminal based on the link disconnection packet, wherein the number threshold is less than or equal to a number of radios of the wireless terminal.
[0183] Based on the same application concept as the above method, an embodiment of the present application proposes a packet transmission device, applied to an AP, as shown in FIG. 6B, which is a structural schematic diagram of the device, the device comprises:
[0184] A first receiving module 621 is configured to receive radio frequency information of a neighbor AP of the AP, which is sent by an AC accessed by the AP; and a first sending module 622 is configured to broadcast a beacon packet to a wireless terminal, the beacon packet comprising radio frequency information of the AP and radio frequency information of the neighbor AP; wherein the beacon packet is used to instruct the wireless terminal to be accessed by the AP to establish a first wireless link with the AP based on the radio frequency information of the AP and to establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP; and wherein the radio frequency information of the AP and the radio frequency information of the neighbor AP are different;
[0185] The second receiving module 623 is configured to receive the first data message sent by the wireless terminal based on the first wireless link.
[0186] In one example, the second sending module 624 is further configured to determine a first signal strength of the first data message after receiving the first data message sent by the wireless terminal based on the first wireless link, the first signal strength being a signal strength measured by the AP when receiving the first data message through the first wireless link; and send the first signal strength to the AC.
[0187] In one example, the beacon message comprises a multi-link (ML) field, and the ML field indicates that the beacon message carries the radio frequency information of the neighbor AP; and the beacon message comprises a reduced neighbor report (RNR) field, and the RNR field is used to carry the radio frequency information of the neighbor AP.
[0188] In one example, the first receiving module 621 is further configured to, if a link disconnection message sent by the AC is received, disconnect the first wireless link between the AP and the wireless terminal based on the link disconnection message; wherein the link disconnection message is sent by the AC when determining that the number of established wireless links of the wireless terminal reaches a number threshold, and the AP is an AP corresponding to a wireless link with the earliest establishment time among all the established wireless links.
[0189] Based on the same application concept as the above method, the embodiments of the present application propose a message transmission device, which is applied to a wireless terminal, and a structure diagram of the device is shown in FIG. 6C. The device comprises:
[0190] The receiving module 631 is configured to receive a beacon message broadcasted by a first access point (AP), and the beacon message comprises radio frequency information of the first AP and radio frequency information of a neighbor AP of the first AP.
[0191] The establishing module 632 is configured to, if the wireless terminal is to be accessed to the first AP, establish a first wireless link with the first AP based on the radio frequency information of the first AP; and establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP.
[0192] The sending module 633 is configured to send a first data message to the first AP through the first wireless link, and send a second data message to the neighbor AP through the second wireless link; wherein the first data message and the second data message carry the same payload content.
[0193] In one example, the establishing module 632 is further configured to determine whether a wireless link exists between the wireless terminal and a second AP to which the wireless terminal roams from the first AP, and if not, establish a wireless link with the second AP based on radio frequency information of the second AP, wherein the beacon message broadcasted by the second AP comprises the radio frequency information of the second AP; and determine whether a wireless link exists between the wireless terminal and a neighbor AP of the second AP, and if not, establish a wireless link with the neighbor AP based on radio frequency information of the neighbor AP, wherein the beacon message broadcasted by the second AP comprises the radio frequency information of the neighbor AP of the second AP.
[0194] In one example, the beacon message comprises a multi-link (ML) field, and the ML field indicates that the beacon message carries the radio frequency information of the neighbor AP; and the beacon message comprises a reduced neighbor report (RNR) field, and the RNR field is used to carry the radio frequency information of the neighbor AP.
[0195] Based on the same application concept as the above method, an electronic device (e.g., an AC, an AP, or a wireless terminal) is provided in an embodiment of the present application. The electronic device comprises a processor and a machine readable storage medium, and the machine readable storage medium stores machine executable instructions which can be executed by the processor. The processor is configured to execute the machine executable instructions to implement the packet transmission method disclosed in the above examples of the present application.
[0196] Based on the same concept as the above method, an AC is provided in one example of the present application. As shown in FIG. 7A, the AC can comprise a processor 711 and a machine readable storage medium 712, and the machine readable storage medium 712 stores machine executable instructions which can be executed by the processor 711. The processor 711 is configured to execute the machine executable instructions to implement the packet transmission method disclosed in the above examples of the present application.
[0197] In one example, the processor 711 can comprise one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 711 can be implemented in at least one of a hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array).
[0198] The processor 711 can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state.
[0199] In some embodiments, the processor 711 can be integrated with a GPU (Graphics Processing Unit) for rendering and drawing content required to be displayed by the display screen.
[0200] In one example, the AC can also optionally include a peripheral device interface 713 and at least one peripheral device. The processor 711 and the peripheral device interface 713 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 713 through a bus, a signal line or a circuit board. For example, the peripheral device can include at least one of a radio frequency circuit 714 and a power supply 715.
[0201] The radio frequency circuit 714 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 714 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 714 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 714 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a user identity module card, and the like.
[0202] The radio frequency circuit 714 can communicate with the user equipment through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network.
[0203] The power supply 715 is used to supply power to each component in the electronic device. The power supply 715 can be an alternating current, a direct current, a disposable battery or a rechargeable battery, and the type of the power supply 715 is not limited.
[0204] Based on the same idea as the above method, one example of the present application proposes an AP, as shown in FIG. 7B, which can include a processor 721 and a machine readable storage medium 722, the machine readable storage medium 722 stores machine executable instructions executable by the processor 721; the processor 721 is used to execute the machine executable instructions to implement the packet transmission method disclosed in the above examples of the present application.
[0205] The processor 721 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 721 can be implemented in at least one of a DSP, a FPGA, a PLA.
[0206] The processor 721 can also include a main processor and a co-processor. The main processor is a processor for processing data in a wake-up state, also referred to as a CPU. The co-processor is a low-power processor for processing data in a standby state. In some embodiments, the processor 721 can be integrated with a GPU, which is responsible for rendering and drawing the content required to be displayed by the display screen.
[0207] In one example, the AP can also optionally include a peripheral device interface 723 and at least one peripheral device. The processor 721 and the peripheral device interface 723 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 723 through a bus, a signal line or a circuit board. For example, the peripheral device can include at least one of a radio frequency circuit 724 and a power supply 725.
[0208] The radio frequency circuit 724 is used to receive and transmit RF signals, also known as electromagnetic signals. The radio frequency circuit 724 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 724 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 724 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a user identity module card, etc. The radio frequency circuit 724 can communicate with the user equipment through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks, a wireless local area network and / or a WiFi network.
[0209] The power supply 725 is used to supply power to each component in the electronic device. The power supply 725 can be an alternating current, a direct current, a disposable battery or a rechargeable battery, and the type of the power supply 725 is not limited.
[0210] Based on the same idea as the above method, in one example of the present application, a wireless terminal is provided, as shown in FIG. 7C, which can include a processor 731 and a machine readable storage medium 732, the machine readable storage medium 732 stores machine executable instructions executable by the processor 731; the processor 731 is used to execute the machine executable instructions to implement the packet transmission method disclosed in the above examples of the present application.
[0211] The processor 731 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 731 can be implemented in at least one of a DSP, a FPGA, a PLA.
[0212] The processor 731 can also include a main processor and a coprocessor. The main processor is a processor for processing data in a wake-up state, also referred to as a CPU. The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 731 can be integrated with a GPU, which is responsible for rendering and drawing of content to be displayed by the display screen.
[0213] In one example, the wireless terminal can also optionally include a peripheral device interface 733 and at least one peripheral device. The processor 731 and the peripheral device interface 733 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 733 through a bus, a signal line, or a circuit board. For example, the peripheral device can include at least one of a radio frequency circuit 734 and a power supply 735.
[0214] The radio frequency circuit 734 is used to receive and transmit RF signals, also referred to as electromagnetic signals. The radio frequency circuit 734 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 734 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 734 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a user identity module card, etc. The radio frequency circuit 734 can communicate with the user equipment through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks, a wireless local area network, and / or a WiFi network.
[0215] The power supply 735 is used to supply power to each component in the electronic device. The power supply 735 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery, without limitation to the type of power supply 735.
[0216] Based on the same application concept as the above method, the embodiments of the present application also provide a machine readable storage medium, and the machine readable storage medium stores a plurality of computer instructions. When the computer instructions are executed by a processor, the packet transmission method disclosed in the above examples of the present application can be realized. The machine readable storage medium can be any electronic, magnetic, optical or other physical storage apparatus, and can contain or store information such as executable instructions, data, etc. For example, the machine readable storage medium can be RAM, volatile memory, non-volatile memory, flash memory, a storage drive (such as a hard disk drive), a solid state drive, any type of storage disc (such as an optical disc, a DVD, etc.), or similar storage medium, or a combination thereof.
[0217] Based on the same application concept as the above method, the embodiments of the present application also provide a computer program product, and the computer program product can include a computer program. When the computer program is executed by a processor, the packet transmission method disclosed in the above examples of the present application can be realized.
[0218] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can be in 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.
[0219] The above only describes the embodiments of the present application and is not intended to limit the present application. Those skilled in the art can make various modifications and changes to the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principles of the present application shall be included in the scope of the claims of the present application.
Claims
1. A method of transmitting a packet, characterized by, The application is applied to an access controller (AC), and comprises: sending, for any first access point (AP) in a plurality of APs managed by the AC, radio frequency information of neighbor APs of the first AP to the first AP, so that the first AP broadcasts a beacon message carrying the radio frequency information of the first AP and the radio frequency information of the neighbor APs; wherein the beacon message is used to instruct a wireless terminal to be accessed to the first AP to establish a first wireless link with the first AP based on the radio frequency information of the first AP and to establish a second wireless link with the neighbor APs based on the radio frequency information of the neighbor APs; wherein the radio frequency information of the first AP is different from the radio frequency information of the neighbor APs; receiving a first data message sent by the first AP and a second data message sent by the neighbor APs, wherein the first data message is sent by the wireless terminal to the first AP based on the first wireless link, and the second data message is sent by the wireless terminal to the neighbor APs based on the second wireless link; wherein the first data message and the second data message carry the same payload content; sending the first data message or the second data message.
2. The method of claim 1, wherein the neighbor APs of the first AP are determined by: for each AP other than the first AP, if the signal strength of the first AP detected by the AP is greater than a signal strength threshold, the AP is determined as a neighbor AP of the first AP; or, if the signal strength of the first AP detected by the AP is greater than a signal strength threshold and the communication quality of the AP is greater than a communication quality threshold, the AP is determined as a neighbor AP of the first AP.
3. The method of claim 1, wherein the sending the first data message or the second data message comprises: determining a first signal strength of the first data message, wherein the first signal strength is a signal strength measured by the first AP when receiving the first data message through the first wireless link; determining a second signal strength of the second data message, wherein the second signal strength is a signal strength measured by the neighbor AP when receiving the second data message through the second wireless link; if the first signal strength is not less than the second signal strength, the first data message is sent; or, if the first signal strength is less than the second signal strength, the second data message is sent. After the sending the first data message or the second data message, the method further comprises: 4. The method of claim 3, wherein, Upon receiving a response data packet for the first data packet or the second data packet, if the first signal strength is not less than the second signal strength, sending the response data packet to the first AP, so that the first AP sends the response data packet to the wireless terminal through the first wireless link; or if the first signal strength is less than the second signal strength, sending the response data packet to the neighbor AP, so that the neighbor AP sends the response data packet to the wireless terminal through the second wireless link.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: detecting whether the wireless terminal roams from the first AP to a second AP; wherein the second AP is a neighbor AP of the first AP, and a signal strength measured by the second AP when receiving a data packet of the wireless terminal is greater than a signal strength measured by the first AP when receiving the data packet of the wireless terminal; if yes, sending radio frequency information of a neighbor AP of the second AP to the second AP, so that the second AP broadcasts a beacon packet carrying the radio frequency information of the second AP and the radio frequency information of the neighbor AP.
6. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: obtaining a number of established wireless links of the wireless terminal; if the number of wireless links reaches a number threshold, sending a link disconnection packet to an AP corresponding to a wireless link with the earliest establishment time, so that the AP disconnects the wireless link between the AP and the wireless terminal based on the link disconnection packet, wherein the number threshold is less than or equal to a number of radios of the wireless terminal.
7. A message transmission method characterized by comprising: Applied to an access point (AP), the method comprises: receiving radio frequency information of a neighbor AP of the AP sent by an AC accessed by the AP; broadcasting a beacon packet to a wireless terminal, the beacon packet comprising radio frequency information of the AP and radio frequency information of the neighbor AP; wherein the beacon packet is used to instruct the wireless terminal to be accessed by the AP to establish a first wireless link with the AP based on the radio frequency information of the AP and to establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP; wherein the radio frequency information of the AP is different from the radio frequency information of the neighbor AP; receiving a first data packet sent by the wireless terminal based on the first wireless link; sending the first data packet to the AC.
8. The method of claim 7, wherein, After receiving the first data packet sent by the wireless terminal based on the first wireless link, the method further comprises: determining a first signal strength of the first data packet, the first signal strength being a signal strength measured by the AP when receiving the first data packet through the first wireless link; sending the first signal strength to the AC.
9. The method of claim 7 or 8, wherein: the beacon packet comprises a multi-link (ML) field, and the ML field indicates that the beacon packet carries the radio frequency information of the neighbor AP; and the beacon packet comprises a reduced neighbor report (RNR) field, and the RNR field is used to carry the radio frequency information of the neighbor AP.
10. The method according to claim 7 or 8, characterized in that, The method further comprises: If the link disconnection message sent by the AC is received, disconnect the first wireless link between the AP and the wireless terminal based on the link disconnection message; wherein the link disconnection message is sent by the AC when the number of established wireless links of the wireless terminal reaches the number threshold, and the AP is the AP corresponding to the wireless link with the earliest establishment time among all the established wireless links.
11. A message transmission method characterized by comprising: Applied to a wireless terminal, comprising: Receiving a beacon message broadcast by a first access point (AP), wherein the beacon message comprises radio frequency information of the first AP and radio frequency information of a neighbor AP of the first AP; If the wireless terminal is to access the first AP, establishing a first wireless link with the first AP based on the radio frequency information of the first AP; Establishing a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP; Sending a first data message to the first AP through the first wireless link and sending a second data message to the neighbor AP through the second wireless link, wherein the first data message and the second data message carry the same payload content.
12. The method of claim 11, wherein, If the wireless terminal roams from the first AP to a second AP, the method further comprises: Determining whether there is a wireless link between the wireless terminal and the second AP, and if not, establishing a wireless link with the second AP based on the radio frequency information of the second AP; wherein the beacon message broadcast by the second AP comprises the radio frequency information of the second AP; Determining whether there is a wireless link between the wireless terminal and a neighbor AP of the second AP, and if not, establishing a wireless link with the neighbor AP based on the radio frequency information of the neighbor AP; wherein the beacon message broadcast by the second AP comprises the radio frequency information of the neighbor AP of the second AP.
13. The method of claim 11, wherein: The beacon message comprises a multi-link (ML) field indicating that the beacon message carries the radio frequency information of the neighbor AP, and the beacon message comprises a reduced neighbor report (RNR) field for carrying the radio frequency information of the neighbor AP. Applied to an access controller (AC), comprising:
14. A packet transmission apparatus characterized by comprising: A sending module configured to, for any first AP in a plurality of APs managed by the AC, send radio frequency information of a neighbor AP of the first AP to the first AP, so that the first AP broadcasts a beacon message carrying the radio frequency information of the first AP and the radio frequency information of the neighbor AP; wherein the beacon message is used to instruct a wireless terminal to be accessed by the first AP to establish a first wireless link with the first AP based on the radio frequency information of the first AP and to establish a second wireless link with the neighbor AP based on the radio frequency information of the neighbor AP; and the radio frequency information of the first AP is different from the radio frequency information of the neighbor AP. receive a first data packet sent by the first AP and a second data packet sent by the neighbor AP, the first data packet being sent by the wireless terminal to the first AP based on the first wireless link, the second data packet being sent by the wireless terminal to the neighbor AP based on the second wireless link, wherein the first data packet and the second data packet carry the same payload content; a processing module configured to send the first data packet or the second data packet.
15. A packet transmission apparatus characterized by comprising: The device is applied to an access point (AP) and includes: a first receiving module configured to receive radio frequency (RF) information of a neighbor AP of the AP from an AC to which the AP is connected; a first sending module configured to broadcast a beacon packet to a wireless terminal, the beacon packet including the RF information of the AP and the RF information of the neighbor AP, wherein the beacon packet is used to instruct the wireless terminal to be connected to the AP to establish a first wireless link with the AP based on the RF information of the AP and to establish a second wireless link with the neighbor AP based on the RF information of the neighbor AP, and wherein the RF information of the AP is different from the RF information of the neighbor AP; a second receiving module configured to receive a first data packet sent by the wireless terminal based on the first wireless link; a second sending module configured to send the first data packet to the AC.
16. A packet transmission apparatus characterized by comprising: The device is applied to a wireless terminal and includes: a receiving module configured to receive a beacon packet broadcast by a first AP, the beacon packet including RF information of the first AP and RF information of a neighbor AP of the first AP; a establishing module configured to, if the wireless terminal is to be connected to the first AP, establish a first wireless link with the first AP based on the RF information of the first AP and establish a second wireless link with the neighbor AP based on the RF information of the neighbor AP; a sending module configured to send a first data packet to the first AP through the first wireless link and send a second data packet to the neighbor AP through the second wireless link, wherein the first data packet and the second data packet carry the same payload content.
17. An electronic device, comprising: include: a processor and a machine readable storage medium storing machine executable instructions executable by the processor; the processor is configured to execute the machine executable instructions to implement the method in any one of claims 1-6, or the processor is configured to execute the machine executable instructions to implement the method in any one of claims 7-10, or the processor is configured to execute the machine executable instructions to implement the method in any one of claims 11-13.