Wireless network optimization method, device and equipment
By receiving and analyzing data packet information of wireless access points in a wireless network, accurately identifying abnormal or conflicting wireless access points, and improving data throughput performance by synchronizing data packet transmission, the problems of inaccurate identification and low throughput performance in wireless networks are solved.
Patent Information
- Application Number
- CN202311515453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2025-05-16
AI Technical Summary
Issues of inaccurate abnormal or conflict identification and low data throughput performance in wireless networks.
By receiving the sending and receiving packet information from multiple wireless access points, an abnormal wireless access point that conflicts with the current wireless access point is determined, and a plurality of data packets are sent synchronously to multiple designated terminals through multiple wireless access points that use the same channel for data transmission.
It realizes accurate identification of abnormalities or conflicts in wireless networks, improves network maintenance efficiency, reduces operation and maintenance resource investment, and improves network throughput performance and user experience through maximum efficiency reuse of air interfaces.
Smart Images

Figure CN120018164A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device and equipment for optimizing a wireless network. Background Art
[0002] At present, in high-density scenarios of wireless networks, the number of user terminals is large and dense, and a large number of APs (Access Points) are deployed. Adjacent APs may interfere with each other in the same channel or adjacent channels, resulting in data throughput performance suppression.
[0003] In the related art, the method for identifying anomalies or conflicts in wireless networks is mainly to collect various wireless network parameters through a one-time scan, such as RSSI (Received Signal Strength Indication) (terminal or neighbor AP), channel, AP transmit power, AP online status and other information, and then make adjustment strategies. However, due to the dynamic changes in the network environment and the low real-time nature of data, static optimization solutions cannot accurately locate the problem;
[0004] In related technologies, in order to maximize the efficiency of air interface multiplexing and improve data throughput performance, Wif6 uses OFDMA (Orthogonal Frequency Division Multiple Access) technology to subdivide channels and divide channel resources into multiple subcarriers. Each user temporarily uses different carrier resources according to bandwidth requirements to realize simultaneous data transmission to multiple users on the same channel. However, this solution requires the terminal to support Wif6 or above.
[0005] Therefore, the related art lacks a method that can accurately identify anomalies or conflicts in wireless networks and improve data throughput performance. Summary of the invention
[0006] The purpose of the present application is to provide a wireless network optimization method, device and equipment to solve the problems of inaccurate abnormality or conflict identification and low data throughput performance in wireless networks in related technologies.
[0007] In a first aspect, the present application provides a wireless network optimization method, which is applied to a wireless controller, and the method includes:
[0008] Receives information about sent and received data packets from multiple wireless access points in a wireless network;
[0009] For each wireless access point, do the following:
[0010] Determine, according to the sending and receiving data packet information of the multiple wireless access points, an abnormal wireless access point that conflicts with the current wireless access point, wherein the abnormal wireless access point and the current wireless access point use the same channel for data transmission;
[0011] Multiple data packets are synchronously sent to multiple designated terminals through multiple wireless access points that use the same channel for data transmission. The multiple wireless access points do not include the abnormal wireless access point, and the multiple wireless access points correspond to the multiple designated terminals one by one.
[0012] In a possible implementation, before receiving the information of sending and receiving data packets from multiple wireless access points in the wireless network, the method further includes:
[0013] Sending a Sync message to a wireless access point, and receiving a reply Sync message from the wireless access point;
[0014] Determine a time offset between the wireless controller and the wireless access point based on the timestamp of the Sync message and the reply Sync message;
[0015] The time offset is sent to the wireless access point, so that the wireless access point adjusts the local time according to the time offset.
[0016] In a possible implementation, the following steps are used to determine whether any two devices using the same channel for data transmission are visible to each other:
[0017] If the channel interference intensity between the two devices exceeds a preset threshold, determining that the two devices are visible;
[0018] Otherwise, it is determined that the two arbitrary devices are invisible to each other.
[0019] In a possible implementation manner, determining, according to the information of sending and receiving data packets of the multiple wireless access points, an abnormal wireless access point that conflicts with the current wireless access point includes:
[0020] If the current wireless access point and the first wireless access point send data packets to the associated terminal at the same time, and neither the current wireless access point nor the first wireless access point receives an ack reply from the associated terminal, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the first wireless access point, and the current wireless access point and the first wireless access point are visible to each other;
[0021] If the data packet sending period of the current wireless access point overlaps with the data packet sending period of the terminal associated with the second wireless access point, and the current wireless access point does not receive an ack reply from the terminal associated with the current wireless access point, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the second wireless access point, and the current wireless access point and the terminal associated with the second wireless access point are invisible;
[0022] If the terminal associated with the current wireless access point and the terminal associated with the third wireless access point send data packets to the corresponding wireless access point at the same time, and the current wireless access point and the third wireless access point have not received data packets from the associated terminals, then it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the third wireless access point, and the current wireless access point and the third wireless access point are visible. In a possible implementation, before the multiple wireless access points that use the same channel for data transmission synchronously send multiple data packets to multiple designated terminals, the method also includes:
[0023] The wireless access point that grabs the air interface channel resource is used as the main wireless access point, and the wireless access points that use the same channel for data transmission and are farther away from the main wireless access point than a preset distance are used as slave wireless access points.
[0024] In a possible implementation manner, after determining the master wireless access point and the slave wireless access point, the method further includes:
[0025] Among the terminals associated with the slave wireless access point, a terminal whose distance from the master wireless access point exceeds a preset distance is used as a designated terminal of the slave wireless access point.
[0026] In a second aspect, the present application provides a wireless network optimization method, which is applied to a wireless access point, and the method includes:
[0027] Send and receive data packet information to the wireless controller in the wireless network;
[0028] In response to the co-scheduling instruction, the data packet is sent to the designated terminal.
[0029] In a possible implementation manner, before sending the data packet transmission and reception information to the wireless controller in the wireless network, the method further includes:
[0030] Receive Sync messages from the wireless controller and reply with Sync messages to the wireless controller;
[0031] Receive a time offset from a wireless controller, and adjust the local time according to the time offset.
[0032] In a third aspect, the present application provides a wireless network optimization device, which is applied to a wireless controller, and the device includes:
[0033] An information receiving module is configured to receive information of sent and received data packets from a plurality of wireless access points in a wireless network;
[0034] For each wireless access point, do the following:
[0035] an abnormal wireless access point identification module, configured to determine an abnormal wireless access point that conflicts with a current wireless access point based on the information of sending and receiving data packets of the multiple wireless access points, wherein the abnormal wireless access point and the current wireless access point use the same channel for data transmission;
[0036] The data packet concurrent module is configured to synchronously send multiple data packets to multiple designated terminals through multiple wireless access points that use the same channel for data transmission, wherein the multiple wireless access points do not include the abnormal wireless access point, and the multiple wireless access points correspond to the multiple designated terminals one by one.
[0037] In a possible implementation, before receiving the information of sending and receiving data packets from multiple wireless access points in the wireless network, the method further includes a time synchronization module configured to:
[0038] Sending a Sync message to a wireless access point, and receiving a reply Sync message from the wireless access point;
[0039] Determine a time offset between the wireless controller and the wireless access point based on the timestamp of the Sync message and the reply Sync message;
[0040] The time offset is sent to the wireless access point, so that the wireless access point adjusts the local time according to the time offset.
[0041] In a possible implementation, the following steps are used to determine whether any two devices using the same channel for data transmission are visible to each other:
[0042] If the channel interference intensity between the two devices exceeds a preset threshold, determining that the two devices are visible;
[0043] Otherwise, it is determined that the two arbitrary devices are invisible to each other.
[0044] In a possible implementation manner, the abnormal wireless access point that conflicts with the current wireless access point is determined according to the information of sending and receiving data packets of the multiple wireless access points, and the abnormal wireless access point identification module is configured to:
[0045] If the current wireless access point and the first wireless access point send data packets to the associated terminal at the same time, and neither the current wireless access point nor the first wireless access point receives an ack reply from the associated terminal, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the first wireless access point, and the current wireless access point and the first wireless access point are visible to each other;
[0046] If the data packet sending period of the current wireless access point overlaps with the data packet sending period of the terminal associated with the second wireless access point, and the current wireless access point does not receive an ack reply from the terminal associated with the current wireless access point, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the second wireless access point, and the current wireless access point and the terminal associated with the second wireless access point are invisible;
[0047] If a terminal associated with the current wireless access point and a terminal associated with the third wireless access point send data packets to corresponding wireless access points at the same time, and neither the current wireless access point nor the third wireless access point receives data packets from the associated terminals, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the third wireless access point, and the current wireless access point and the third wireless access point are visible.
[0048] In a possible implementation manner, before the multiple data packets are synchronously sent to the multiple designated terminals through the multiple wireless access points that use the same channel for data transmission, the method further includes a master-slave wireless access point determination module configured to:
[0049] The wireless access point that grabs the air interface channel resource is used as the main wireless access point, and the wireless access points that use the same channel for data transmission and are farther away from the main wireless access point than a preset distance are used as slave wireless access points.
[0050] In a possible implementation manner, after determining the master wireless access point and the slave wireless access point, the method further includes a designated terminal determination module configured to:
[0051] Among the terminals associated with the slave wireless access point, a terminal whose distance from the master wireless access point exceeds a preset distance is used as a designated terminal of the slave wireless access point.
[0052] In a fourth aspect, the present application provides a wireless network optimization device, which is applied to a wireless access point, and the device includes:
[0053] An information sending module is configured to send and receive data packet information to a wireless controller in a wireless network;
[0054] The data packet sending module is configured to send the data packet to the designated terminal in response to the coordinated scheduling instruction.
[0055] In a possible implementation, before sending and receiving data packet information to a wireless controller in a wireless network, the method further includes a time adjustment module configured to:
[0056] Receive Sync messages from the wireless controller and reply with Sync messages to the wireless controller;
[0057] Receive a time offset from a wireless controller, and adjust the local time according to the time offset.
[0058] In a fifth aspect, the present application provides an electronic device, including:
[0059] Processor and memory;
[0060] The memory is used to store executable instructions of the processor;
[0061] The processor is used to execute the executable instructions to implement the wireless network optimization method as described in the first aspect and the second aspect.
[0062] In a sixth aspect, the present application provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the wireless network optimization method as described in the first and second aspects above.
[0063] In a seventh aspect, the present application provides a computer program product, including a computer program:
[0064] When the computer program is executed by a processor, the wireless network optimization method described in the first aspect and the second aspect is implemented.
[0065] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0066] In the embodiment of the present application, based on the sent and received data packet information of multiple wireless access points and the timestamps corresponding to the sent and received data packets, the abnormal wireless access point that conflicts with the current wireless access point is determined, and the abnormal or conflicting wireless access point can be accurately identified, thereby improving network maintenance efficiency and reducing the investment in operation and maintenance resources. By using multiple wireless access points that use the same channel for data transmission, multiple data packets are synchronously sent to multiple designated terminals, thereby realizing synchronous transmission of data packets, realizing maximum efficiency multiplexing of air interfaces, improving network throughput performance, and improving user experience.
[0067] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings introduced below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0069] Figure 1 A schematic diagram of the overall process of a wireless network optimization method applied to a wireless controller provided in an embodiment of the present application;
[0070] Figure 2 A schematic diagram of a process for time synchronization between a wireless controller and a wireless access point provided in an embodiment of the present application;
[0071] Figure 3 A schematic diagram of time synchronization between a wireless controller and a wireless access point provided in an embodiment of the present application;
[0072] Figure 4 A schematic diagram of a conflict between a current wireless access point and an abnormal wireless access point provided in an embodiment of the present application;
[0073] Figure 5 Another schematic diagram of a conflict between a current wireless access point and an abnormal wireless access point provided in an embodiment of the present application;
[0074] Figure 6 Another schematic diagram of a conflict between a current wireless access point and an abnormal wireless access point provided in an embodiment of the present application;
[0075] Figure 7 A schematic diagram of an AC and an AP in a wireless network provided in an embodiment of the present application;
[0076] Figure 8 Another schematic diagram of an AC and an AP in a wireless network provided by an embodiment of the present application;
[0077] Fig. 9 Another schematic diagram of an AC and an AP in a wireless network provided by an embodiment of the present application;
[0078] Fig.10 A schematic diagram of the AC performing statistical processing on the received and sent packet data information reported by the AP provided in the embodiment of the present application;
[0079] Fig.11 A schematic diagram of a flow chart of a wireless network optimization method applied to a wireless access point provided in an embodiment of the present application;
[0080] Fig.12 A schematic diagram of the structure of a wireless network optimization device 1200 provided in an embodiment of the present application;
[0081] Fig.13 A schematic diagram of the structure of a wireless network optimization device 1300 provided in an embodiment of the present application;
[0082] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0083] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Among them, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0084] Furthermore, in the description of the embodiments of the present application, unless otherwise specified, “ / ” means or. For example, A / B can mean A or B. The “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0085] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more.
[0086] Currently, the following solutions are available for diagnosing and identifying data conflicts and optimizing network performance in high-density wireless network scenarios:
[0087] 1. About the current wireless network diagnosis
[0088] Solution 1: Currently, poor wireless network health is mainly manifested in problems such as insufficient signal, Internet lag, and roaming stickiness. In related technologies, wireless network parameters are collected through a one-time scan, such as RSSI (terminal or neighbor AP), channel, AP transmit power, AP online status, and other information, and then adjustment strategies are made; however, due to the dynamic changes in the network environment and the low real-time nature of the data, the static optimization solution cannot accurately locate the problem.
[0089] 2. About current wireless network optimization
[0090] Solution 1: In order to maximize the efficiency of air interface multiplexing, Wif6 uses OFDMA technology to subdivide channels and divide channel resources into multiple subcarriers. Each user temporarily uses different carrier resources according to bandwidth requirements to achieve simultaneous data transmission to multiple users on the same channel; however, this solution requires the terminal to support Wif6 or above, and its universality is poor.
[0091] Solution 2: MU-MIMO technology enables the AP to transmit data with multiple terminals and multiple user terminals on the same channel at the same time, and can use all bandwidth resources; however, this solution requires good spatial isolation between terminals, and also requires WiFi6 or above terminals to support it.
[0092] In view of this, the present application provides a wireless network optimization method, device and equipment to solve the problems of inaccurate abnormality or conflict identification and low data throughput performance in wireless networks in related technologies.
[0093] The inventive concept of the present application can be summarized as follows: first, receiving the transceived data packet information and the timestamps corresponding to the transceived data packets from multiple wireless access points in a wireless network, then determining the abnormal wireless access point that conflicts with the current wireless access point based on the transceived data packet information and the timestamps corresponding to the transceived data packets of the multiple wireless access points, and finally, synchronously sending the multiple data packets to multiple designated terminals through multiple wireless access points that use the same channel for data transmission. The embodiment of the present application determines the abnormal wireless access point that conflicts with the current wireless access point based on the transceived data packet information and the timestamps corresponding to the transceived data packets of the multiple wireless access points, can accurately identify the abnormal or conflicting wireless access points, improve network maintenance efficiency, reduce operation and maintenance resource investment, and synchronously send multiple data packets to multiple designated terminals through multiple wireless access points that use the same channel for data transmission, thereby realizing synchronous transmission of data packets, and realizing maximum efficiency multiplexing of air interfaces, improving network throughput performance, and improving user experience.
[0094] After introducing the main inventive ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0095] To facilitate understanding of the wireless network optimization method provided in the embodiments of the present application, it is further described below with reference to the accompanying drawings.
[0096] In a possible implementation, a wireless network optimization method is applied to a wireless controller, and its overall process is as follows: Figure 1 As shown, including the following:
[0097] In step 101, receiving and sending data packet information from a plurality of wireless access points in a wireless network is received.
[0098] In a possible implementation, the information of the sent and received data packets includes the sent and received data packet sequence number, the timestamp, delay, error report, packet loss sequence number corresponding to the data packet, and wireless signal stability information (RSSI, NF, etc.), as shown in Table 1 below:
[0099]
[0100] Table 1 AP sent and received data packet information table The wireless controller will summarize and maintain the above sent and received data packet information, as shown in Table 2 below:
[0101] RSSI / NF AP1 AP1 AP1 … sta1 sta2 … AP1 -- xx xx xx xx xx xx AP1 xx -- xx xx xx xx xx AP1 xx xx -- xx xx xx xx … … … … -- … … …
[0102] Table 2 Neighbor AP and terminal information table
[0103] In a possible implementation, before receiving the information of the sent and received data packets and the timestamps corresponding to the sent and received data packets from multiple wireless access points in the wireless network, the present application will perform time synchronization processing on the wireless controller and the wireless access point in the wireless network, such as Figure 2 As shown, including the following:
[0104] In step 201, a Sync message is sent to a wireless access point, and a reply Sync message is received from the wireless access point.
[0105] In step 202, the time offset between the wireless controller and the wireless access point is determined based on the timestamps of the Sync message and the reply Sync message.
[0106] In step 203, the time offset is sent to the wireless access point, so that the wireless access point adjusts the local time according to the time offset.
[0107] For example, Figure 3 As shown in the figure, the wireless controller is used as the master clock, and all wireless access points are used as slave clocks. The master and slave clocks exchange Sync messages to record timestamps, including four timestamps t1, t2, t3, and t4. The following formula is used to calculate the round-trip time difference of the message to calculate the total round-trip delay between the master clock and the slave clock and the time deviation (that is, the time deviation between the wireless controller and the wireless access point):
[0108] Master-slave clock round trip link delay = [(t2-t1)+(t4-t3)];
[0109] Master-slave clock unidirectional link delay = [(t2-t1)+(t4-t3)] / 2;
[0110] Slave clock time offset Offset = [(t2-t1)-(t4-t3)] / 2;
[0111] The wireless access point adjusts the local time according to the time offset to achieve time synchronization with the wireless controller.
[0112] The above-mentioned step of performing time synchronization between the wireless controller and the wireless access point aligns the timestamps of the received and sent packet data of each wireless access point according to the time axis, so that the wireless controller can accurately identify and locate network data conflicts.
[0113] After receiving the information of sending and receiving data packets from multiple wireless access points in the wireless network, the following operations are performed for each wireless access point:
[0114] In step 102, an abnormal wireless access point that conflicts with the current wireless access point is determined according to the information of sending and receiving data packets of multiple wireless access points. The abnormal wireless access point and the current wireless access point use the same channel for data transmission.
[0115] It should be added that the embodiment of the present application also needs to use the following steps to determine whether any two devices are visible to each other:
[0116] If the channel interference intensity between any two devices exceeds a preset threshold, it is determined that the two devices are visible; otherwise, it is determined that the two devices are invisible.
[0117] For example, in the 802.11 protocol, a mechanism for dynamically adjusting the channel assessment (CCA) threshold is used to reduce co-channel interference. If the channel interference intensity exceeds the CCA threshold, it is visible; otherwise, if it does not exceed the CCA threshold, it is invisible. The CCA threshold can be modified and adjusted based on actual applications.
[0118] In a possible implementation, in step 102, according to the information of sending and receiving data packets of multiple wireless access points, determining an abnormal wireless access point that conflicts with the current wireless access point can be divided into the following three situations:
[0119] Case 1: If the current wireless access point and the first wireless access point send data packets to the associated terminal at the same time, and neither the current wireless access point nor the first wireless access point receives an ack reply from the associated terminal, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the first wireless access point, and the current wireless access point and the first wireless access point are visible.
[0120] For example, Figure 4 As shown, AP1, AP2, sta1, and sta2 using the same channel for data transmission are all visible to each other. AP1 (i.e., the current wireless access point) and AP2 (i.e., the first wireless access point) compete for access to the channel under the normal air interface. After waiting for DIFS (Distributed Inter-frame Spacing), since the contention window just selects CW (Contention Window) random numbers of 4, after the random number countdown reaches 0, data packets are sent to terminal sta1 and terminal sta2 at time t1 respectively. AP1 completes data transmission at time t2, and AP2 completes transmission at time t3. During the period from t1 to t2, neither AP1 nor AP2 receives ack replies from the associated terminals; AC (Access Controller) determines that sta1's downlink data transmission is interfered with by AP2 and lost due to packet loss, resulting in no ack reply, and sta2's downlink data transmission is interfered with by AP1 and lost or misreported, resulting in no ack reply, so AC determines that there is a conflict between AP1 and AP2.
[0121] Case 2: If the data packet sending period of the current wireless access point overlaps with the data packet sending period of the terminal associated with the second wireless access point, and the current wireless access point does not receive an ack reply from the terminal associated with the current wireless access point, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the second wireless access point, and the current wireless access point and the terminal associated with the second wireless access point are invisible.
[0122] For example, Figure 5As shown, AP3 (i.e., the current wireless access point) and sta4, which use the same channel for data transmission, are invisible, but other devices or terminals are visible. At time t1, AP4 (i.e., the second wireless access point) completes downlink data packet transmission. Since AP3 and sta4 are invisible, when sta4 replies ack, AP3 can temporarily use the channel for downlink data transmission, so that AP3's data packet sending period t3-t5 overlaps with the data packet sending period t2-t4 of the terminal sta4 associated with AP4, AP3 receives sta4's ack reply, and AP4 receives AP3's damaged data frame during the period t2-t4; AC determines that AP3's downlink data packet appears during the period t3-t5 and that the period t3-t5 overlaps with t2-t4 based on the data packet sending and receiving information of the above two wireless access points and the corresponding timestamps, thereby determining that AP4's uplink data transmission is interfered by AP3's downlink data transmission, and therefore, AC determines that there is a conflict between AP3 and AP4.
[0123] Case 3: If the terminal associated with the current wireless access point and the terminal associated with the third wireless access point send data packets to the corresponding wireless access points at the same time, and neither the current wireless access point nor the third wireless access point receives data packets from the associated terminals, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the third wireless access point, and the current wireless access point and the third wireless access point are visible.
[0124] For example, Figure 6 As shown, AP1 (i.e., the current wireless access point), AP2 (i.e., the third wireless access point), sta1, and sta2, which use the same channel for data transmission, are all visible to each other. Sta1 and sta2 compete for access to the channel under the normal air interface. After waiting for DIFS, since the contention window just selects the CW random number of 4, after the random number countdown reaches 0, data packets are sent to AP1 and AP2 at the same time at time t1. Sta2 completes the transmission at time t2, and sta1 completes the transmission at time t2. Both AP2 and AP1 receive abnormal error packets; AC determines that AP2 receives an error packet in the time period of t1-t2, and AP1 receives an error packet in the time period of t1-t3 based on the data packet transmission and reception information of the above two wireless access points and the corresponding timestamps, that is, AP1 and AP2 do not receive data packets from the associated terminals, or. The packet receiving time slots overlap and the terminals and devices are visible to each other, thereby determining that sta1 and sta2 send messages to suppress interference with each other, so AC determines that there is a conflict between AP1 and AP2.
[0125] It should be added that, for the third situation above, the ACK reply of the associated terminal is lost or the current wireless access point and the third wireless access point fail to demodulate the data packets from the associated terminal, which can also prove that there is a conflict between the current wireless access point and the third wireless access point.
[0126] It should be noted that determining the abnormal wireless access point that conflicts with the current wireless access point based on the information of the sent and received data packets of multiple wireless access points is not limited to the above three situations.
[0127] In step 103, multiple data packets are synchronously sent to multiple designated terminals through multiple wireless access points that use the same channel for data transmission. The multiple wireless access points do not include abnormal wireless access points, and the multiple wireless access points correspond to the multiple designated terminals one by one.
[0128] In a possible implementation, before multiple data packets are synchronously sent to multiple designated terminals through multiple wireless access points that use the same channel for data transmission, the embodiment of the present application also uses the wireless access point that grabs the air interface channel resources as the main wireless access point, and uses the wireless access points that are more than a preset distance from the main wireless access point among the multiple wireless access points that use the same channel for data transmission as slave wireless access points.
[0129] After determining the master wireless access point and the slave wireless access point, the embodiment of the present application further selects, among the terminals associated with the slave wireless access point, the terminals whose distance from the master wireless access point exceeds a preset distance as designated terminals of the slave wireless access point.
[0130] For example, the AC and AP in a wireless network Figure 7 As shown, AC determines that AP1 has a high abnormality rate based on the information of the wireless access point's sent and received data packets; Figure 8 As shown, AC determines that AP3 and AP1 have a conflict, but AP2 and AP1 do not have a conflict through the identification and processing of abnormal data conflicts, so AP2 and AP1 can realize concurrent data; Fig. 9 As shown, in the embodiment of the present application, AP1 that grabs the air interface channel resources is used as the main wireless access point. Since the distance between the slave wireless access point and the main wireless access point is close, there is a risk of mutual interference, and the distance between the slave wireless access point and the main wireless access point is far, which makes the coverage of the wireless network wider. Therefore, in the embodiment of the present application, the wireless access point AP2 whose distance from the main wireless access point exceeds the preset distance is used as the slave wireless access point. After determining the main wireless access point and the slave wireless access point, since the terminal associated with the slave wireless access point is far away from the main wireless access point, the coverage of the wireless network can also be wider. Therefore, in the embodiment of the present application, the terminal sta4 whose distance from the main wireless access point exceeds the preset distance among the terminals associated with the slave wireless access point is used as the designated terminal of the slave wireless access point, and the data packets are synchronously sent to sta1 and sta4 through AP1 and AP2, thereby realizing the synchronous sending of the data packets, realizing the maximum efficiency multiplexing of the air interface, and making the coverage of the wireless network better.
[0131] It should be added that, in the embodiment of the present application, the AC will perform statistical processing on the packet receiving and sending data information reported by the AP every period, filter out abnormal data, identify conflicting AP information and record it, and then release the data of the period, such as Fig.10 The AC processes the sent and received packet data reported by the AP once every n seconds.
[0132] In a possible implementation, the present application provides a wireless network optimization method, which is applied to a wireless access point, and the process is as follows: Fig.11 As shown, including the following:
[0133] In step 1101, sending and receiving data packet information is sent to a wireless controller in a wireless network;
[0134] In step 1102, in response to the co-scheduling instruction, a data packet is sent to a designated terminal.
[0135] In a possible implementation, before sending the sent and received data packet information and the timestamps corresponding to the sent and received data packets to the wireless controller in the wireless network, the wireless access point will also receive a Sync message from the wireless controller, reply to the wireless controller with a Sync message, and receive a time deviation from the wireless controller, and adjust the local time according to the time deviation.
[0136] In summary, the embodiment of the present application determines the abnormal wireless access point that conflicts with the current wireless access point according to the sent and received data packet information of multiple wireless access points and the timestamps corresponding to the sent and received data packets, and can accurately identify the abnormal or conflicting wireless access point, improve network maintenance efficiency, reduce the investment in operation and maintenance resources, and synchronously send multiple data packets to multiple designated terminals by using multiple wireless access points that use the same channel for data transmission, thereby realizing synchronous transmission of data packets, realizing maximum efficiency multiplexing of air interfaces, improving network throughput performance, and improving user experience.
[0137] Based on the same inventive concept, the present application provides a wireless network optimization device, which is applied to a wireless controller, such as Fig.12 As shown, the device 1200 includes:
[0138] The information receiving module 1201 is configured to receive information of sent and received data packets and timestamps corresponding to the sent and received data packets from multiple wireless access points in a wireless network;
[0139] For each wireless access point, do the following:
[0140] The abnormal wireless access point identification module 1202 is configured to determine an abnormal wireless access point that conflicts with the current wireless access point according to the information of the sent and received data packets of the multiple wireless access points and the timestamps corresponding to the sent and received data packets, and the abnormal wireless access point and the current wireless access point use the same channel for data transmission;
[0141] The data packet concurrent module 1203 is configured to synchronously send multiple data packets to multiple designated terminals through multiple wireless access points that use the same channel for data transmission, wherein the multiple wireless access points do not include the abnormal wireless access point, and the multiple wireless access points correspond to the multiple designated terminals one by one.
[0142] In a possible implementation, before receiving the information of sent and received data packets and the timestamps corresponding to the sent and received data packets from multiple wireless access points in the wireless network, the method further includes a time synchronization module configured to:
[0143] Sending a Sync message to a wireless access point and receiving a reply Sync message from the wireless access point;
[0144] Determine a time offset between the wireless controller and the wireless access point based on the timestamp of the Sync message and the reply Sync message;
[0145] The time offset is sent to the wireless access point, so that the wireless access point adjusts the local time according to the time offset.
[0146] In a possible implementation, the following steps are used to determine whether any two devices are visible to each other:
[0147] If the channel interference intensity between the two devices exceeds a preset threshold, determining that the two devices are visible;
[0148] Otherwise, it is determined that the two arbitrary devices are invisible to each other.
[0149] In a possible implementation, the abnormal wireless access point that conflicts with the current wireless access point is determined according to the sent and received data packet information of the multiple wireless access points and the timestamps corresponding to the sent and received data packets, and the abnormal wireless access point identification module is configured to:
[0150] If the current wireless access point and the first wireless access point send data packets to the associated terminal at the same time, and neither the current wireless access point nor the first wireless access point receives an ack reply from the associated terminal, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the first wireless access point, and the current wireless access point and the first wireless access point are visible to each other;
[0151] If the data packet sending period of the current wireless access point overlaps with the data packet sending period of the terminal associated with the second wireless access point, and the current wireless access point does not receive an ack reply from the terminal associated with the current wireless access point, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the second wireless access point, and the current wireless access point and the terminal associated with the second wireless access point are invisible;
[0152] If a terminal associated with the current wireless access point and a terminal associated with the third wireless access point send data packets to corresponding wireless access points at the same time, and neither the current wireless access point nor the third wireless access point receives data packets from the associated terminals, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the third wireless access point, and the current wireless access point and the third wireless access point are visible.
[0153] In a possible implementation manner, before the multiple data packets are synchronously sent to the multiple designated terminals through the multiple wireless access points that use the same channel for data transmission, the method further includes a master-slave wireless access point determination module configured to:
[0154] The wireless access point that grabs the air interface channel resource is used as the main wireless access point, and the wireless access points that use the same channel for data transmission and are farther away from the main wireless access point than a preset distance are used as slave wireless access points.
[0155] In a possible implementation manner, after determining the master wireless access point and the slave wireless access point, the method further includes a designated terminal determination module configured to:
[0156] Among the terminals associated with the slave wireless access point, a terminal whose distance from the master wireless access point exceeds a preset distance is used as a designated terminal of the slave wireless access point.
[0157] Based on the same inventive concept, the present application provides a wireless network optimization device, which is applied to a wireless access point, such as Fig.13 As shown, the device 1300 includes:
[0158] The information sending module 1301 is configured to send the information of the sent and received data packets and the timestamps corresponding to the sent and received data packets to the wireless controller in the wireless network;
[0159] The data packet sending module 1302 is configured to send the data packet to the designated terminal in response to the coordinated scheduling instruction.
[0160] In a possible implementation, before sending the information of the sent and received data packets and the timestamps corresponding to the sent and received data packets to the wireless controller in the wireless network, the method further includes a time adjustment module configured to:
[0161] Receive Sync messages from the wireless controller and reply with Sync messages to the wireless controller;
[0162] Receive a time offset from a wireless controller, and adjust the local time according to the time offset.
[0163] like Fig.14 As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).
[0164] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
[0165] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .
[0166] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0167] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0168] In an exemplary embodiment, the present application further provides a computer-readable storage medium including instructions, such as a memory 132 including instructions, and the instructions can be executed by a processor 131 of an electronic device 130 to complete the above-mentioned wireless network optimization method. Optionally, the computer-readable storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0169] In an exemplary embodiment, a computer program product is further provided, including a computer program, and when the computer program is executed by the processor 131, the method for optimizing a wireless network as provided in the present application is implemented.
[0170] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0171] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0172] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0173] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0174] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for optimizing a wireless network, characterized in that: Applied to a wireless controller, the method comprises: Receives information about sent and received data packets from multiple wireless access points in a wireless network; For each wireless access point, do the following: Determine, according to the sending and receiving data packet information of the multiple wireless access points, an abnormal wireless access point that conflicts with the current wireless access point, wherein the abnormal wireless access point and the current wireless access point use the same channel for data transmission; Multiple data packets are synchronously sent to multiple designated terminals through multiple wireless access points that use the same channel for data transmission. The multiple wireless access points do not include the abnormal wireless access point, and the multiple wireless access points correspond to the multiple designated terminals one by one.
2. The method according to claim 1, characterized in that Before receiving the transceiver data packet information from the plurality of wireless access points in the wireless network, the method further comprises: Sending a Sync message to a wireless access point and receiving a reply Sync message from the wireless access point; Determine a time offset between the wireless controller and the wireless access point based on the timestamp of the Sync message and the reply Sync message; The time offset is sent to the wireless access point, so that the wireless access point adjusts the local time according to the time offset.
3. The method according to claim 1, characterized in that Use the following steps to determine if any two devices using the same channel for data transmission are visible to each other: If the channel interference intensity between the two devices exceeds a preset threshold, determining that the two devices are visible; Otherwise, it is determined that the two arbitrary devices are invisible to each other.
4. The method according to claim 1, characterized in that: The step of determining, according to the information of the data packets received and sent by the multiple wireless access points, an abnormal wireless access point that conflicts with the current wireless access point includes: If the current wireless access point and the first wireless access point send data packets to the associated terminal at the same time, and neither the current wireless access point nor the first wireless access point receives an ack reply from the associated terminal, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the first wireless access point, and the current wireless access point and the first wireless access point are visible to each other; If the data packet sending period of the current wireless access point overlaps with the data packet sending period of the terminal associated with the second wireless access point, and the current wireless access point does not receive an ack reply from the terminal associated with the current wireless access point, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the second wireless access point, and the current wireless access point and the terminal associated with the second wireless access point are invisible; If a terminal associated with the current wireless access point and a terminal associated with the third wireless access point send data packets to corresponding wireless access points at the same time, and neither the current wireless access point nor the third wireless access point receives data packets from the associated terminals, it is determined that the abnormal wireless access point that conflicts with the current wireless access point is the third wireless access point, and the current wireless access point and the third wireless access point are visible.
5. The method according to claim 1, characterized in that Before synchronously sending the plurality of data packets to the plurality of designated terminals through the plurality of wireless access points using the same channel for data transmission, the method further comprises: The wireless access point that grabs the air interface channel resource is used as the main wireless access point, and the wireless access points that use the same channel for data transmission and are farther away from the main wireless access point than a preset distance are used as slave wireless access points.
6. The method according to claim 5, characterized in that After determining the master wireless access point and the slave wireless access point, the method further includes: Among the terminals associated with the slave wireless access point, a terminal whose distance from the master wireless access point exceeds a preset distance is used as a designated terminal of the slave wireless access point.
7. A method for optimizing a wireless network, characterized in that: Applied to a wireless access point, the method comprises: Send and receive data packet information to the wireless controller in the wireless network; In response to the co-scheduling instruction, the data packet is sent to the designated terminal.
8. The method according to claim 7, characterized in that Before sending the data packet information to the wireless controller in the wireless network, the method further includes: Receive Sync messages from the wireless controller and reply with Sync messages to the wireless controller; Receive a time offset from a wireless controller, and adjust the local time according to the time offset.
9. A wireless network optimization device, characterized in that: Applied to a wireless controller, the device comprises: An information receiving module is configured to receive information of sent and received data packets from a plurality of wireless access points in a wireless network; For each wireless access point, do the following: an abnormal wireless access point identification module, configured to determine an abnormal wireless access point that conflicts with a current wireless access point based on the information of sending and receiving data packets of the multiple wireless access points, wherein the abnormal wireless access point and the current wireless access point use the same channel for data transmission; The data packet concurrent module is configured to synchronously send multiple data packets to multiple designated terminals through multiple wireless access points that use the same channel for data transmission, wherein the multiple wireless access points do not include the abnormal wireless access point, and the multiple wireless access points correspond to the multiple designated terminals one by one.
10. A wireless network optimization device, characterized in that: Applied to a wireless access point, the device comprises: An information sending module is configured to send and receive data packet information to a wireless controller in a wireless network; The data packet sending module is configured to send the data packet to the designated terminal in response to the coordinated scheduling instruction.
11. A device, characterized in that: include: Processor and memory; The memory is used to store the processor executable instructions; The processor is configured to execute the instructions to implement the wireless network optimization method according to any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a device, the device is enabled to perform the method for optimizing a wireless network according to any one of claims 1 to 8.