Network configuration method, readable storage medium and electronic equipment

By implementing the network configuration method in electronic devices, determining the network quality parameters of the wireless network and adjusting the access point parameters, the problem of poor communication quality of the wireless network is solved and the overall communication quality of the wireless network is improved.

CN120018165APending Publication Date: 2025-05-16HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311519832.X
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

Technical Problem

The prior art is difficult to ensure the communication quality of wireless networks, especially when there are interference signals and busy air outlets in indoor environments.

Method used

By implementing a network configuration method in the electronic device, the situation of at least two network quality parameters of the wireless network is determined, and the network parameters of the access point are adjusted to meet the network quality conditions. Specific steps include obtaining network quality parameters of the test location, determining low-quality areas, and performing optimization strategies such as adjusting transmission power, channel, or performing congestion control.

Benefits of technology

The communication quality of wireless networks is improved, the stability and efficiency of STA communication through wireless networks is ensured, and the situation where a single network quality parameter meets the conditions but affects the overall network quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120018165A_ABST
    Figure CN120018165A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and discloses a network configuration method, a readable storage medium and electronic equipment. In the method, a control device can determine the condition of at least two network quality parameters in a first space on the basis of collecting the at least two network quality parameters of at least two test positions in the first space. Then, the control equipment can determine a low-quality area, in which the network quality parameters do not meet the network quality condition, in the first space according to the conditions of the at least two network quality parameters in the first space; secondly, the control device can adjust the values of the at least two network quality parameters at different positions of the first space by adjusting the network parameters of at least part of the access points related to the network quality of the low-quality area, so that the at least two network quality parameters of each area in the first space meet the network quality condition. Therefore, the communication quality of the wireless network in the first space can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a network configuration method, a readable storage medium and an electronic device. Background Art

[0002] In order to improve the communication quality of a station (STA) communicating through a wireless network (such as a wireless local area network (WLAN), a wireless fidelity (Wi-Fi) network, etc.), before deploying an access point (AP), an electronic device can predict the theoretical situation of the received signal strength indication (RSSI) of the indoor wireless network based on the network parameters of the AP (such as transmission power, etc.), the target deployment position of the AP input by the user in the room, the layout of indoor obstacles, etc. If the RSSI situation of the indoor wireless network indicates that there is an area where the RSSI of the wireless network is less than the preset RSSI, the user can adjust the target deployment position of each AP input into the electronic device until the RSSI of each indoor position predicted by the electronic device is greater than the preset RSSI. Then, the user can deploy the AP to the corresponding target deployment position, but this method cannot guarantee the quality of the STA's communication through the wireless network. Summary of the invention

[0003] In view of this, the present application provides a network configuration method, a readable storage medium and an electronic device, which are conducive to improving the network quality of a wireless network.

[0004] A first aspect provides a network configuration method, which is applied to an electronic device, the method comprising: determining at least two network quality parameters of a wireless network in a first space, wherein at least one access point is set in the first space; based on the at least two network quality parameters, determining that there is a first area in the first space whose network quality parameters do not meet a network quality condition; adjusting the network parameters of the first access point so that the network quality parameters of the first area meet the network quality condition, wherein the first access point is associated with the network quality of the first area, and the at least one access point includes the first access point.

[0005] Based on the above method, the electronic device can adjust the above at least two network quality parameters at various locations in the first space to meet the network quality condition based on the way of adjusting the network parameters of the access point in the first space. In this way, since at least two network quality parameters in the first space meet the network quality condition, it can be avoided that only a single network quality parameter meets the network quality condition and affects the network quality of the wireless network, which is conducive to improving the quality of the STA's communication in the first space through the wireless network provided by the above at least one access point.

[0006] In some implementations, conditions of at least two network quality parameters of the wireless network in the first space are used to indicate a value of each of the two network quality parameters at different locations in the first space.

[0007] In some implementations, the first access point may include at least one of a second access point that provides the first wireless network for the first area and other access points except the second access point among the access points covering the first area.

[0008] In a possible implementation of the first aspect above, the at least two network quality parameters include at least two of the following parameters: a received signal strength indication of the first wireless network provided by at least one access point; a signal-to-noise ratio of a channel supported by at least one access point; and an air interface duty cycle of a channel supported by at least one access point.

[0009] In a possible implementation of the first aspect above, the network quality condition includes at least two of the following conditions: a received signal strength indication of a first wireless network provided by at least one access point is greater than or equal to a first value; a signal-to-noise ratio of a first channel is greater than or equal to a second value, wherein the first channel is a channel currently used by a second access point that provides the first wireless network for the first area; and an air interface duty cycle corresponding to the first channel is less than or equal to a third value.

[0010] In this method, after the electronic device adjusts the network parameters of the first access point, at least two of the received signal strength of the first wireless network provided by at least one access point in the first space and the signal-to-noise ratio and duty cycle of the first channel currently used by the first access point providing the first wireless network in the first area meet the network quality conditions, thereby improving the network quality of the first wireless network.

[0011] In a possible implementation of the first aspect above, the above-mentioned determination of at least two network quality parameters of the wireless network in the first space includes: obtaining measurement data of at least two network quality parameters corresponding to at least two test locations in the first space; and determining at least two network quality parameters of the wireless network in the first space based on the measurement data.

[0012] In this method, the conditions of at least two network quality parameters of the wireless network in the first space are obtained based on the measurement data of the at least two test positions in the first space corresponding to the at least two network quality parameters, rather than just theoretical data. This can improve the accuracy of the conditions of at least two network quality parameters of the wireless network in the first space, making the conditions of the above-mentioned at least two network quality parameters in the first space more accurate, thereby further improving the network quality of the wireless network in the first space.

[0013] In a possible implementation of the first aspect, the obtaining of measurement data of at least two network quality parameters corresponding to at least two test positions in the first space includes: obtaining measurement data corresponding to at least two network quality parameters from sites set at at least two test positions.

[0014] In this method, the electronic device can use the numerical values ​​of the two network quality parameters measured by the site set at the test location as the numerical values ​​of the two network quality parameters corresponding to the test location, so that the determined situations of the two network quality parameters are more consistent with the actual values ​​of the two network quality parameters at each location in the first space.

[0015] In a possible implementation of the first aspect, the first space includes at least two subspaces, and at least one test position is set in each of the at least two subspaces; and the above-mentioned situation of determining at least two network quality parameters of the wireless network in the first space based on the measurement data includes: determining the network quality parameter of the first subspace of the at least two subspaces by at least one of the following methods: using the signal-to-noise ratio in the measurement data corresponding to the test position in the first subspace as the signal-to-noise ratio in the first subspace; using the air interface duty cycle in the measurement data corresponding to the test position in the first subspace as the air interface duty cycle in the first subspace; based on the received signal strength indication of the first wireless network provided by at least one access point in the measurement data corresponding to the test position in the first subspace and the theoretical situation of the received signal strength indication in the first space, obtaining the received signal strength indication of the first wireless network provided by at least one access point in the first subspace; wherein the theoretical situation of the received signal strength indication of the first wireless network provided by at least one access point in the first space is calculated based on the transmission power of at least one access point, the position of at least one access point in the first space, and the layout information of the first space.

[0016] In the method, the received signal strength indication of the first wireless network provided by at least one access point in the first subspace is obtained by the electronic device based on the received signal strength indication of the first wireless network provided by at least one access point in the measurement data corresponding to the test position in the first subspace and the theoretical situation of the received signal strength indication in the first space. In this way, the accuracy of the received signal strength indication of the first wireless network provided by at least one access point in the first subspace can be improved, so that the electronic device can more accurately determine the first area, thereby improving the network quality of the wireless network in the first space after adjusting the network parameters of the first access point.

[0017] In a possible implementation of the first aspect, the at least two test positions are obtained based on a theoretical situation in the first space of a received signal strength indication of the first wireless network provided by at least one access point.

[0018] In a possible implementation of the first aspect, the adjusting the network parameter of the first access point includes: adjusting the network parameter of the first access point in at least one of the following ways: corresponding to a received signal strength indication of a first wireless network provided by at least one access point in the first area being less than a first value, increasing the transmit power of the second access point; corresponding to a signal-to-noise ratio of a first channel currently used by the wireless network in the first area being less than a second value, switching the channel of the second access point from the first channel to the second channel, or increasing the transmit power of the second access point, or reducing the transmit power of access points other than the second access point among the access points covering the first area; corresponding to an air interface duty cycle corresponding to the first channel in the first area being greater than a third value, switching the channel of the second access point from the first channel to the second channel, or triggering at least one access point to execute congestion control logic.

[0019] In this method, the electronic device can make the network quality parameters of each location in the first space meet the network quality conditions by adjusting the transmission power, channel, etc. of the second access point that provides the first wireless network to the first area, and the access points other than the second access point among the access points whose wireless network signals cover the first area.

[0020] In a possible implementation of the first aspect, an air interface duty cycle of the second channel is less than or equal to a third value, and a signal-to-noise ratio of the second channel is greater than the second value.

[0021] In this method, the electronic device can determine a second channel whose air interface duty cycle is less than or equal to a third value and whose signal-to-noise ratio is greater than a second value based on the determined signal-to-noise ratio of the channel supported by at least one access point and the air interface duty cycle of the channel supported by at least one access point, and switch the second access point to the second channel. In this way, it is possible to avoid affecting the network quality of the wireless network in the first space due to an excessively high air interface duty cycle or an excessively high signal-to-noise ratio.

[0022] In a possible implementation of the first aspect above, the method further includes: when a received signal strength indication corresponding to a first wireless network provided by at least one access point in the first area is less than a first value, and a current transmission power of the second access point is a maximum transmission power of the second access point, prompting a user to add an access point or replace an access point or move the location of an access point.

[0023] In the method, if the received signal strength indication of the first wireless network provided by at least one access point in the first area cannot meet the network quality condition by adjusting the network parameters of the access point, the electronic device may also prompt the user to add an access point or replace the access point or move the location of the access point so that the received signal strength indication of the first wireless network provided by at least one access point in the first area meets the network quality condition.

[0024] In a second aspect, the present application provides an electronic device, the electronic device comprising: a memory for storing one or at least two programs; a processor for executing one or at least two programs so that the electronic device implements the network configuration method provided in the above-mentioned first aspect and any possible implementation of the above-mentioned first aspect.

[0025] The third aspect provides a readable storage medium, which includes one or at least two programs. When the one or at least two programs are executed on an electronic device, the electronic device implements the network configuration method provided by the first aspect and any possible implementation of the first aspect.

[0026] A fourth aspect provides a program product, which, when running on an electronic device, enables the electronic device to implement the network configuration method provided by the first aspect and any possible implementation of the first aspect.

[0027] It should be understood that the beneficial effects of the second to fourth aspects mentioned above can refer to the beneficial effects described in the first aspect and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 According to some embodiments of the present application, a schematic diagram of deployment of APs in room R0 is shown;

[0029] Figure 2According to some embodiments of the present application, a schematic diagram of the architecture of a wireless network is shown;

[0030] Figure 3 According to some embodiments of the present application, a flow chart of a network configuration method is shown;

[0031] Figure 4A According to some embodiments of the present application, a schematic diagram of a unit layout interface U1 is shown;

[0032] Figure 4B According to some embodiments of the present application, a schematic diagram of setting an AP interface U2 is shown;

[0033] Figure 4C According to some embodiments of the present application, a schematic diagram of configuring a test position interface U3 is shown;

[0034] Figure 4D According to some embodiments of the present application, a schematic diagram of a STA configuration interface U4 is shown;

[0035] Figure 5 According to some embodiments of the present application, a schematic diagram of a method for calculating the actual value of RSSI in room R02 is shown;

[0036] Fig. 6A According to some embodiments of the present application, a schematic diagram of a network evaluation result interface U5 is shown;

[0037] Figure 6B According to some embodiments of the present application, a schematic diagram of a network optimization result interface U6 is shown;

[0038] Figure 6C According to some embodiments of the present application, a schematic diagram of a network optimization result interface U7 is shown;

[0039] Figure 7 According to some embodiments of the present application, a schematic diagram of the structure of a network configuration system 70 is shown;

[0040] Figure 8 According to some embodiments of the present application, a schematic structural diagram of an electronic device 100 is shown. DETAILED DESCRIPTION

[0041] Illustrative embodiments of the present application include, but are not limited to, a network deployment method, a readable storage medium, and an electronic device.

[0042] It should be understood that the method provided in the embodiments of the present application can be applied to the deployment and optimization of any wireless communication network. For ease of description, the following is introduced using a Wi-Fi network as an example.

[0043] The technical solution of the present application is introduced below in conjunction with the accompanying drawings.

[0044] The network quality of a wireless network is not only related to the RSSI of the wireless network, but also to the network environment of the area where the STA is located. In some scenarios, such as when the interference signal is strong indoors and the indoor air interface is busy, even if the signal strength of the wireless network is greater than the preset signal strength, the quality of the STA's communication through the wireless network is poor. Therefore, after deploying the AP to the corresponding target deployment position based on the theoretical situation of the indoor RSSI, even if the indoor RSSI is greater than the preset RSSI, the quality of the STA's communication through the wireless network will be poor due to reasons such as strong indoor interference signals and busy indoor air interfaces.

[0045] For example, refer to Figure 1 , assuming that AP 1 is deployed in room R0 and AP 2 is deployed in room R1, and AP 2 and AP 1 cover area D1 in room R1 through the Wi-Fi network of the same channel, and the RSSI of the Wi-Fi network provided by AP 2 and AP 1 in area D1 is greater than -65dB (here, -65dB is used as an example of the preset RSSI, and other values ​​can also be used as the preset RSSI). In the process of STA communicating through the Wi-Fi network provided by AP 1 in area D1, since AP 1 and AP 2 use the same channel, the Wi-Fi network of AP 2 (and the signals transmitted by other devices using the channel) are noise signals for STA, which will cause the signal-to-noise ratio (SNR) of the Wi-Fi network provided by AP 1 to be low (for example, less than 20%, or other values). When the SNR is low, the quality of wireless communication will also be low. In this way, even if the RSSI of the Wi-Fi network signal provided by AP 1 in area D1 is greater than the preset RSSI value, the network quality of STA communicating through the Wi-Fi network provided by AP 1 is also poor.

[0046] For another example, suppose that an AP uses a certain channel to cover a certain area indoors, and the RSSI of the Wi-Fi network provided by the AP in this area is greater than the preset RSSI value. If the air interface corresponding to the channel in this area is busy (for example, the air interface corresponding to the channel has a high occupancy rate), even if the RSSI of the Wi-Fi network provided by the AP is greater than the preset RSSI value, there are not enough idle air interfaces to meet the wireless communication needs of the STA, resulting in poor network quality when the STA transmits data through the Wi-Fi network provided by the AP. For example, refer to Figure 1,The RSSI of the Wi-Fi network provided by AP 2 in room R1 at point M is greater than -65dB, but the air interface duty cycle is greater than 75%. When the STA connects to the Wi-Fi network provided by AP 2 at point M, the network quality of the STA is poor due to the busy air interface.

[0047] In view of this, an embodiment of the present application provides a network configuration method, in which, after deploying an AP in a first space (for example, in a house), the control device can determine the situation of the at least two network quality parameters in the first space based on collecting at least two network quality parameters (for example, RSSI, SNR of different channels, air interface duty cycle of different channels, etc.) of at least two test locations in the first space. Then, the control device can determine the area (hereinafter referred to as the low-quality area) in the first space where the network quality parameters do not meet the network quality conditions based on the situation of the at least two network quality parameters in the first space. Secondly, the control device can adjust the situation of the at least two network quality parameters in the first space by adjusting the network parameters of at least some APs related to the network parameters of the low-quality area in the first space (for example, transmission power, channel, etc.), so that the at least two network quality parameters in each area in the first space meet the network quality conditions.

[0048] Specifically, after each AP is deployed in the first space, the control device can obtain the position of each AP in the first space (for example, the position input by the user), the network parameters of each AP, the spatial layout of the first space (for example, shape, size, position of obstacles (for example, walls), etc.), etc. to determine the theoretical situation of RSSI in the first space. Then, at least two test positions are determined based on the theoretical situation of RSSI in the first space. Then, the control device can obtain the network quality parameters measured by the STA set by the user at each test position, and use the obtained network quality parameters measured by each STA as the network quality parameters of the corresponding test position. Secondly, the control device can obtain the situation of each network quality parameter in the first space based on the obtained network quality parameters, the theoretical situation of RSSI in the first space, the spatial layout of the first space (for example, shape, size, position of obstacles (for example, walls), etc.), the deployment position of each AP, and the network parameters of each AP (for example, transmission power, channel). Thirdly, the control device compares each network quality parameter in the first space with the network quality condition (threshold value corresponding to each network quality parameter) based on the network quality parameter of the first space, determines the low-quality area in the first space, and executes the corresponding network optimization strategy so that the network quality in the low-quality space meets the network quality condition. The network quality condition may include one or at least two of RSSI greater than a preset RSSI, SNR greater than a preset SNR, and air interface duty cycle less than a preset duty cycle.

[0049] In some embodiments, the above-mentioned at least two network quality parameters in the first space are used to indicate the values ​​of each network quality parameter at different positions (or areas) in the first space, such as the values ​​of RSSI at different positions, the values ​​of SNR of different channels, the values ​​of air interface duty cycles of different channels, etc.

[0050] In some embodiments, the network optimization strategy may be different in response to the specific situation where the network quality parameters in the low-quality area do not meet the network quality conditions.

[0051] For example, when the RSSI in a low-quality area is less than a preset RSSI, the network optimization strategy may include increasing the transmit power of the AP corresponding to the low-quality area or prompting the user to adjust the AP position / increase the number of APs / replace an AP with greater transmit power.

[0052] For another example, when the SNR of a low-quality area is less than a preset SNR, the network optimization strategy may include adjusting the channel of the AP in the first space, increasing the transmit power of the AP corresponding to the low-quality area, reducing the transmit power of other APs other than the AP corresponding to other low-quality areas, etc.

[0053] For another example, when the air interface duty cycle of the low-quality area is greater than a preset duty cycle, the network optimization strategy may include adjusting the AP channel corresponding to the low-quality area or triggering the AP corresponding to the low-quality area to perform congestion control.

[0054] Through the above network configuration method, it can be ensured that the RSSI, SNR, and air interface duty cycle of the Wi-Fi network signal provided by the AP set in the first space in each area of ​​the first space meet the network quality conditions, thereby improving the network quality of the STA during data transmission through the Wi-Fi network.

[0055] In some embodiments, after executing the corresponding network optimization strategy, the control device may further obtain the network quality parameters of at least two test locations again and re-determine the network quality parameters in the first space. If there are still low-quality areas in the first space, the control device may continue to execute the network optimization strategy until the network quality parameters of each area in the first space meet the network quality condition (i.e., there are no low-quality areas).

[0056] In some embodiments, since the SNR and air interface duty cycle vary little in a small space, the SNR and air interface duty cycle at each test location may also be measured by an AP set in a subspace (eg, a room) where the test location is located.

[0057] In some embodiments, the network quality parameter of the test location may include at least two of the following parameters: RSSI at the test location, SNR of different channels at the test location, and air interface duty cycle of different channels at the test location. Among them, RSSI is used to indicate the strength of the Wi-Fi network signal at the test location. The larger the RSSI value, the greater the strength of the Wi-Fi network signal, and the higher the Wi-Fi network communication quality when other conditions are constant; the SNR of a channel is used to indicate the signal-to-noise ratio of the channel at the test location. The larger the SNR, the higher the Wi-Fi network communication quality of the channel when other conditions are constant; the air interface duty cycle of a channel is used to indicate the busyness of the air interface (for example, the proportion of the air interface occupied). The larger the air interface duty cycle, the higher the busyness of the air interface, and the lower the Wi-Fi network communication quality of the channel when other conditions are constant.

[0058] In some embodiments, when obtaining the network quality parameters of the test location, the network quality parameters of the channels supported by the AP in the first space may be obtained, without obtaining the network quality parameters of the channels not supported by the AP in the first space.

[0059] In some embodiments, the network quality condition may include at least one of the following conditions: RSSI is greater than or equal to a preset RSSI; SNR is greater than or equal to a preset SNR; and air interface duty cycle is less than or equal to a preset duty cycle.

[0060] In some embodiments, the corresponding optimization strategies may be different depending on the situation where the network quality parameters of the low-quality area do not meet the network quality conditions:

[0061] The RSSI corresponding to the low-quality area is less than the preset RSSI. The optimization strategy may include increasing the transmit power of the AP corresponding to the low-quality area or prompting the user to adjust the AP position / increase the number of APs / replace an AP with greater transmit power to improve the RSSI of the low-quality area.

[0062] When the SNR corresponding to the low-quality area is less than the preset SNR, the network optimization strategy may include adjusting the channel of the AP in the first space, increasing the transmit power of the AP corresponding to the low-quality area, reducing the transmit power of other APs except the AP corresponding to the low-quality area, etc., so as to improve the SNR of the low-quality area.

[0063] The air interface duty cycle corresponding to the low-quality area is greater than the preset duty cycle, and the optimization strategy may include adjusting the AP channel corresponding to the low-quality area or triggering the AP corresponding to the low-quality area to perform congestion control, etc. In some embodiments, congestion control may be to adjust the network priority of different devices or services in the first space, for example: to increase the network priority of important services (such as interaction and control services between devices in the first space (such as smart home devices and whole-house smart devices)), reduce the network priority of non-important services (such as video / file download services, etc.), and perform network control on non-important services (such as speed limit, prohibition of network access, etc.).

[0064] Exemplarily, in some embodiments, when the SNR in a low-quality area is less than a preset SNR and / or the air interface duty cycle in a low-quality area is greater than a preset duty cycle, the control device can determine a channel whose SNR and air interface duty cycle meet corresponding network quality conditions based on the collected SNRs and air interface duty cycles of each channel in each test location, and adjust the AP's channel to this channel.

[0065] In some embodiments, the test position in the first space can be obtained by the control device based on the network parameters of the AP (such as the transmission power, etc.), the position of the AP in the first space, and the layout of obstacles in the first space. For example, the control device can first obtain the shape and size of the first space, the position of the obstacle (such as a wall), the position of the AP in the first space, and the transmission power of the AP, and obtain the theoretical situation of the RSSI in the first space (such as the theoretical value of the RSSI at different positions in the first space). Then, if the theoretical value of the RSSI within a preset range of a certain position in the first space (such as the average value of the RSSI within the range, etc.) is less than the preset RSSI theoretical value, the control device can determine the position as a test position.

[0066] For example, assuming that the RSSI corresponding to the Wi-Fi signal transmitted at the AP is W0, the RSSI of point A in the first space can be expressed as the following formula (1):

[0067] W A =W0-W 墙 -W 空气 (1)

[0068] In formula (1), W 墙 represents the loss of Wi-Fi signals caused by obstacles (such as walls) between point A and AP, W 空气 The loss of Wi-Fi network signals when they are transmitted through the air.

[0069] In some embodiments, assuming that the number of walls between point A and the AP is n, and the loss of the RSSI of the Wi-Fi network signal caused by each wall is W1, then W 墙It can be expressed as n×W1. For another example, if the loss of Wi-Fi signals by each wall is different, the loss of Wi-Fi signals by each wall among the n walls can be added together to get W 墙 .

[0070] In some embodiments, the distance between point A and the AP is L, and the RSSI loss of the Wi-Fi network signal when it is transmitted per unit distance in the air is W2, then W 空气 It can be expressed as L×W2.

[0071] In some embodiments, assuming that the frequency of the Wi-Fi signal emitted by the AP is f, the distance between point A and the AP is L, and the propagation speed of the electromagnetic wave is c, W in formula (1) 空气 It can be expressed as 20log 10 (4π×Lf / c), or 20log 10 Approximate value of (4π×Lf / c).

[0072] In other embodiments, the control device may also determine the RSSI of each position in the first space by other methods, which are not limited here.

[0073] It should be understood that since the loss per unit distance of a Wi-Fi network signal when it is transmitted in the air is generally low, in some embodiments, if the distance between point A and the AP is small (e.g., less than 10 meters (or other values)), W in the above formula (1) is 空气 The term can also be ignored.

[0074] In some embodiments, the control device may also determine N (N≥1) test locations in each subspace (e.g., each room) in the first space. The test location in each subspace may be a location in the subspace where the distance from the AP whose Wi-Fi network signal covers the subspace is greater than a distance threshold (e.g., the distance threshold may be 10 meters, or other values), or a location in the subspace where the number of walls between the AP whose Wi-Fi network signal covers the room is greater than a preset number.

[0075] It should be understood that the AP mentioned in the embodiments of the present application can be any device that can provide wireless network access function, including but not limited to AP, router, customer premises equipment (CPE), etc.

[0076] It should be understood that the control device mentioned in the embodiments of the present application can be any electronic device, including but not limited to mobile phones, tablet computers, laptop computers, desktop computers, whole-house smart hosts, network devices (such as routers, APs, access controllers (AC), etc.), etc.

[0077] It should be understood that the STA mentioned in the embodiments of the present application can specifically be any device that can access a wireless network, including but not limited to mobile phones, tablet computers, laptops, desktop computers, network devices (such as routers, APs, ACs, etc.), smart home devices (such as smart TVs, smart lamps, smart curtains, smart speakers, etc.), etc.

[0078] To facilitate understanding, the basic architecture of wireless networks is first introduced.

[0079] Figure 2 According to some embodiments of the present application, a schematic diagram of the architecture of a wireless network is shown.

[0080] like Figure 2 As shown, the wireless network architecture includes a control device, an AC, and at least one AP.

[0081] The control device is used to manage and optimize the wireless network. For example, in some embodiments, the control device can be used to generate test locations in the first space used by the wireless network architecture, obtain network quality parameters at each test location, generate the network quality parameter situation in the first space, determine whether there is a low-quality area in the first space based on the network quality parameter situation in the first space, and execute a corresponding network optimization strategy when there is a low-quality area in the first space.

[0082] AC can be used to aggregate the data of each AP and connect it to the Internet, the Internet or other networks, forward the data sent by the Internet, the Internet or other networks to each AP, manage AP configuration, authenticate and manage STA, and provide broadband access and security.

[0083] The AP is used to provide a wireless network (such as a Wi-Fi network) for STAs. Generally speaking, the service set identifier (SSID) of the Wi-Fi network provided by the same AC is the same.

[0084] In some embodiments, an AC and an AP may be integrated into the same device, that is, the device is used to implement the function of an AC as well as the function of an AP.

[0085] In some embodiments, the control device and the AC may be integrated into the same device, which may be used to implement the functions of the AC and the control device.

[0086] In some embodiments, the control device, the AC and an AP may also be integrated into the same device, and the device may be used to implement the functions of the AC, the control device and the AP.

[0087] It should be understood that Figure 2 The wireless network architecture shown is only an example. In other embodiments, the architecture of the wireless network may also adopt other architectures, which will not be described in detail here.

[0088] Next, combine Figure 2 The wireless network architecture shown introduces the technical solution of this application.

[0089] Figure 3 According to some embodiments of the present application, a flow chart of a network configuration method is shown. The execution subject of the method is a control device, such as Figure 3 As shown, the process includes the following steps:

[0090] S301: Obtain layout information of a first space, deployment locations of APs, and network parameters of the APs.

[0091] Exemplarily, the control device may obtain layout information of a first space (eg, a house) where network optimization or network deployment is to be performed, a deployment location of an AP, and network parameters of the AP.

[0092] In some embodiments, the layout information of the first space may include, but is not limited to, the size of each room in the house, the distribution of obstacles in the house (eg, walls, doors, windows, large furniture, etc.), and the like.

[0093] In some embodiments, the network parameters of the AP may include but are not limited to the transmit power of the AP (eg, the RSSI of the Wi-Fi signal transmitted at the AP), the frequency / wavelength of the Wi-Fi signal, the channel used by the AP, etc.

[0094] For example, the control device can interact with the user by displaying a user interface based on the control device or other devices that can communicate with the control device to obtain layout information of the first space, deployment locations of APs, and network parameters of APs.

[0095] refer to Figure 4A , the control device can display the apartment layout interface U1, and the user can interact with the control device to draw the layout information of the first space. For example, Figure 4A In the diagram, the information of the first space drawn by the user may include the shapes and sizes of rooms R01, R02, R03, R04 and R05, and the positions of obstacles such as walls, doors and windows.

[0096] In some embodiments, the control device or other device may also store or obtain preset layout information of the first space (such as preset apartment type, etc.) from the server, so that the user can select the existing layout information. For example, the user can select the "Import" control U11 in the apartment type layout interface U1 to obtain the preset layout information or obtain the layout information stored in the control device or other device.

[0097] In some embodiments, the user can also set specific information of obstacles in the apartment layout interface, such as wall thickness, wall type (such as concrete wall, brick wall), door / window material (such as metal, glass, wood, etc.), so that the control device can more accurately calculate the network quality parameters of each location in the first space.

[0098] After the control device detects that the user clicks the "Next" control U12 on the apartment layout interface U1, it can display Figure 4B The AP setting interface U2 is shown to facilitate obtaining information such as the location where the AP is deployed in the first space and the network parameters of the AP.

[0099] refer to Figure 4B , different models can be pre-stored in the control device (for example Figure 4B The user can select APs of different models / types by operating in the "AP" control U21, and drag the selected AP to the corresponding position in the "Household Layout" area U22 in the AP setting interface U2 to implement the deployment of the AP. In this way, the control device can obtain the network parameters corresponding to the AP selected by the user from the pre-stored network parameters.

[0100] In some embodiments, when the control device detects the user's operation on the "Recommended Settings" control U23 in the AP setting interface U2, it can also automatically select a suitable generated AP based on the layout information of the first space and based on pre-set deployment rules, and set it to the corresponding position in the first space.

[0101] For example, in some embodiments, the control device may select a room with the largest area (for example, Figure 4B In the room R01 shown in FIG. 1 , a first AP is deployed near a wall (or other wall) near the center of the first space in the room R01 (for example, at Figure 4B Then, in the room opposite to room R01 (e.g. Figure 4BA second AP is deployed in room R02) away from the wall of room R01 (or point A) (for example, AP 20 is deployed at point B in room R02). Then, the control device can draw a triangle with the line segment corresponding to the line connecting the positions of the first AP and the second AP (for example, line segment AB) as the side, so that the other vertex of the triangle is located in other rooms where no AP is deployed and the distance between the vertex and the line segment is within a preset distance range (for example, 5-10 meters, or other values, not limited here), and a third AP is deployed at the other vertex (for example, the distance between point C in room R04 and line segment AB is 6 meters, and AP 30 can be deployed at C). By analogy, the control device can obtain the positions where other APs are to be deployed.

[0102] In some embodiments, if the distance between two sequentially deployed APs is greater than a preset distance (for example, the preset distance may be 10 meters, or other values, which are not limited here), another AP may be deployed between the two APs.

[0103] In some embodiments, if the room selected to deploy the AP is a room at the edge of the first space, the AP may be set at a wall of the room close to the center of the first space.

[0104] It should be understood that in other embodiments, the deployment rule may also be other rules, which are not limited here. For example, the control device may first determine the number of APs to be used based on the area of ​​the first space and the range that the APs can cover, and then determine the deployment position of each AP by evenly distributing the number of APs or by drawing triangles as described above.

[0105] In some embodiments, the user may also adjust the deployment position of each AP by operating in the aforementioned “housing layout” area U22 (eg, dragging an icon corresponding to a deployed AP).

[0106] In some embodiments, the user may also manually adjust the network parameters of the AP (eg, transmission power, channel, etc.) by operating the icon of the deployed AP in the aforementioned “Household Layout” area U22 (eg, long pressing operation, etc.).

[0107] It should be understood that the above process of obtaining the layout information of the first space, the deployment position of the AP and the network parameters of the AP is only an example. In other embodiments, the control device can also obtain the layout information of the first space, the deployment position of the AP and the network parameters of the AP through other methods, which are not limited here.

[0108] S302: Obtain theoretical conditions of RSSI in the first space based on layout information of the first space, deployment locations of APs, and network parameters of the APs.

[0109] After obtaining the layout information of the first space, the deployment location of the AP and the network parameters of the AP, the control device can simulate the theoretical situation of RSSI in the first space (for example, the theoretical value of RSSI at each position in the first space) based on the transmission principle of the radio frequency signal.

[0110] For example, in some embodiments, the control device may determine the theoretical value of the RSSI at each position in the first space according to the aforementioned formula (1), thereby obtaining the theoretical situation of the RSSI in the first space.

[0111] In some embodiments, the control device may also display the theoretical situation of RSSI in the first space. For example, after detecting the user's selection operation of the "Network Evaluation" control U24 in the AP setting interface U2, the control device may obtain the theoretical situation of RSSI in the first space based on the layout information of the first space, the deployment location of the AP, the network parameters of the AP, and the aforementioned formula (1), and display the obtained theoretical situation of RSSI in the first space on the display. Figure 4C In the configuration test position interface U3 shown in FIG. Figure 4C As shown, the theoretical value of RSSI at each position in the first space in the configuration test position interface U3 can be represented by the depth of color, and the user can view the theoretical value of RSSI at a certain position by dragging the cursor U31 to the position. Figure 4C When the cursor U31 is located at point T2, the control device can display that the theoretical value of RSSI at point T2 is -70dB.

[0112] In some embodiments, if Wi-Fi signals of at least two APs can cover a certain location, the control device may use a larger value of at least two theoretical RSSI values ​​corresponding to the at least two APs as the theoretical RSSI value of the location.

[0113] It should be understood that in other embodiments, the control device may also calculate the theoretical value of the RSSI of each position in the first space in other ways, which is not limited here.

[0114] S303: Determine a test location based on the layout information of the first space, the deployment location of the AP, and a theoretical situation of RSSI in the first space.

[0115] After acquiring the theoretical situation of RSSI in the first space, the control device may determine the test position based on the layout information of the first space, the deployment position of the AP, and the theoretical situation of RSSI in the first space.

[0116] In some embodiments, the control device may also determine N (N≥1) test locations in each subspace (e.g., each room) in the first space. The test location in each subspace may be a location in the subspace where the distance from the AP whose Wi-Fi network signal covers the subspace is greater than a distance threshold (e.g., the distance threshold may be 10 meters, or other values), or a location in the subspace where the number of walls between the AP whose Wi-Fi network signal covers the room is greater than a preset number, or a location in the subspace where the theoretical value of RSSI is less than a preset theoretical RSSI.

[0117] In some embodiments, the number of test positions determined in each subspace may be different or the same, which is not limited here.

[0118] It should be understood that in other embodiments, the control device may also determine the test location in other ways, which are not limited here. For example, the control device may determine one or at least two locations in each sub-space where the theoretical value of RSSI is the smallest (or less than a preset theoretical RSSI) as the test location in the subspace. For another example, the control device may use a location in the subspace that meets at least one of the following conditions as the test location in the subspace: the theoretical value of RSSI is less than the preset theoretical RSSI, the distance to the nearest AP (or AP covering the subspace) is greater than the preset distance, and the number of obstacles (such as walls) between the nearest AP (or AP covering the subspace) is greater than the preset number of obstacles.

[0119] For example, reference Figure 4C The control device can set test position T1 at a position where the theoretical value of RSSI is less than a preset theoretical RSSI (for example, -60dB) in room R01, set test position T2 at a position with the largest number of walls (2 walls) between AP 20 and room R02, set test position T3 at a position farthest from AP 20 in the area covered by AP 20 in room R03, set test position T4 at a position farthest from AP 30 in the area covered by AP 30 in room R04, set test position T5 at a position farthest from AP 10 in the area covered by AP 10 in room R05, and set test position T6 at a position with the largest number of walls (3 walls) between room R05 and AP120.

[0120] It should be understood that Figure 4C The arrangement of the test positions shown is only an example. In other embodiments, the test positions may be arranged in other ways or more / fewer test positions may be arranged, which is not limited here.

[0121] In some embodiments, the user can also manually adjust the test position (add, delete, move the test position, etc.) by interacting with the control device. Figure 4C The user can adjust the test positions automatically generated by the control device by dragging the aforementioned test position T1 to the test position T6 in the test position configuration interface U3. The user can also increase or decrease the test positions by operating the "add" control U32 and the "delete" control U33.

[0122] S304: Obtain network quality parameters at each test location.

[0123] After determining the test locations, the control device can obtain network quality parameters at each test location, such as RSSI, SNR, air interface duty cycle, etc.

[0124] In some embodiments, for a certain AP, the RSSI of any point within the coverage of the AP is independent of the channel of the AP. Based on this, when the control device obtains the network quality parameters at each test location, it only needs to obtain the RSSI of one channel.

[0125] In some embodiments, since the SNR and air interface duty cycle are not only related to the network parameters of the AP, but also to other signals within the coverage of the AP, the control device can obtain the SNR and air interface duty cycle corresponding to different channels at each test location when obtaining the network quality parameters at each test location.

[0126] In some embodiments, the control device may also only obtain the SNR and air interface duty cycle of some channels to save the amount of data collected. For example, for any test location, since a small SNR or a large air interface duty cycle will reduce the communication quality of the wireless network, the control device may only collect the SNR of the channel currently used by the AP covering the location and the SNR of the channel whose SNR is greater than or equal to the preset SNR, as well as the air interface duty cycle of the channel currently used by the AP covering the location and the air interface duty cycle of the channel whose air interface duty cycle is less than the preset air interface duty cycle.

[0127] In some embodiments, a user may place a STA at each test location and connect to the Wi-Fi network provided by the AP. The control device may obtain network quality parameters corresponding to each test location from the STA placed at each test location.

[0128] For example, refer to Figure 4DAfter detecting that the user selects the "Next" control U34 in the configuration test location interface U3, the control device may display the configuration STA interface U4 and prompt the user to "select the STA corresponding to each test location". The control device may determine the STA corresponding to each test location based on the user's operation on the configuration STA interface U4, and use the network quality parameters corresponding to the STA as the network quality parameters of the test location. For example, refer to Figure 4D After detecting that the user selects the test location T1, the control device can display the configuration control U41, which includes the STAs (such as STA1, STA2, STA3, etc.) that have been connected to the Wi-Fi network provided by the AP corresponding to the AC; after detecting that the user selects STA1, the control device can associate STA1 with the test location T1, and use the network quality parameters measured by STA1 as the network quality parameters corresponding to the test location T1.

[0129] In some embodiments, the control device may send a beacon frame or a discovery request or other request to the STA based on the AC, so that the STA can send the network quality parameters (such as RSSI, SNR, air interface duty cycle) measured by the STA to the AC. Then, the control device can obtain the network quality parameters sent by the STA from the AC.

[0130] After receiving the beacon frame or the probe request, the STA will measure the network quality parameters and send the measured network quality parameters back to the AC through a control frame or a response frame. After receiving the network quality parameters measured by the STA, the AC can send the measured network quality parameters to the control device.

[0131] In some embodiments, since the SNR and air interface duty cycle vary little in a small space, the SNR and air interface duty cycle at each test location may also be measured by an AP set in a subspace (eg, a room) where the test location is located.

[0132] In other embodiments, the control device may also obtain the network quality parameters at each test location in other ways, which are not limited here.

[0133] S305: Obtaining the network quality parameters in the first space based on the network quality parameters at each test position.

[0134] After the control device obtains the network quality parameters at each test position, it can obtain the network quality parameter situation in the first space based on the network quality parameters at each test position and the theoretical situation of RSSI in the first space, the layout information of the first space, the deployment position of the AP, and the network parameters of the AP. For example, the network quality parameter situation in the first space may include one or at least two of the RSSI situation in the first space (e.g., RSSI at different positions (or areas)), the SNR situation in the first space (e.g., SNR of each channel at different positions (or areas)), the air interface duty cycle situation in the first space (e.g., the duty cycle of each channel at different positions (or areas)), and the network quality score situation (e.g., RSSI at different positions (or areas)).

[0135] For example, since the indoor space is generally small, the changes in SNR and air interface duty cycle in an independent subspace (for example, in a room) are generally small. Therefore, in some embodiments, the control device can use the SNR and air interface duty cycle at the test position in each independent subspace as the SNR or air interface duty cycle in the independent subspace. In other words, the SNR or air interface duty cycle of each independent subspace in the first space can be the SNR or air interface duty cycle corresponding to the channel currently used by the AP at the test position in the independent subspace.

[0136] Exemplarily, the control device can correct the loss of Wi-Fi signals caused by various obstacles (such as walls) in the first space based on the difference between the theoretical value of RSSI at each test position and the actual value of RSSI (RSSI measured by the STA at each test position), thereby recalculating the RSSI at each position in the first space based on formula (1) to obtain the RSSI situation in the first space. Figure 5 , the aforementioned room R02 is covered by AP 20, and there are walls W1 and W2 between test position T2 and AP 20. Assuming that the theoretical value of RSSI at T2 is -70dB, and the actual value of RSSI measured by the STA at test position T2 is -75dB, the loss of walls W1 and W2 used in calculating the theoretical value of RSSI is too low (-70dB-(-75dB)=5dB is underestimated). The area where the Wi-Fi network signal of AP 20 in room R02 needs to pass through walls W1 and W2 ( Figure 5 The theoretical value of RSSI at each location in the D2 area shown in FIG. 1 is added with 5 dB to obtain the actual value of RSSI at each location in the area.

[0137] Exemplarily, the control device may perform weighted summation of the RSSI, SNR, and air interface duty cycle of each location to obtain a network quality score for each location, where the network quality score increases with an increase in RSSI, increases with an increase in SNR, and decreases with an increase in air interface duty cycle. It should be understood that the control device may also calculate the network quality score in other ways, which are not limited here.

[0138] In some embodiments, after obtaining the network quality parameter status in the first space, the control device may display the network quality parameter status in the first space.

[0139] For example, refer to Fig. 6A After obtaining the network quality parameters in the first space, the control device can display Fig. 6A The network evaluation result interface U5 shown in the figure allows the user to view the status of each network quality parameter in the first space by operating the network evaluation result interface U5 (for example, selecting options such as RSSI, SNR, air interface duty cycle, network quality score, etc. in the network quality parameter control U51). Fig. 6A The network evaluation result interface U5 may also include a cursor U52. When the cursor U52 is located at a certain position, the control device may display the network quality parameters at the position. For example, when the cursor U52 is located at the aforementioned point T2 in room R02, the control device may display the network quality parameters of point T2 as "-75dB, 30%, 40%", to indicate that the RSSI at point T2 is -75dB, the SNR of the channel currently used by AP 20 (i.e., the AP covering point D) is 30%, and the air interface duty cycle of the channel currently used by AP 20 is 40%.

[0140] It should be understood that in other embodiments, the control device may also display the network quality parameters in the first space in other ways or not display the network quality parameters in the first space, which is not limited here.

[0141] S306: Determine whether there is a low-quality area that does not meet the network quality condition.

[0142] After obtaining the network quality parameters in the first space, the control device can determine whether there is a low-quality area in the first space based on the network quality parameters in the first space. If there is no low-quality area in the first space, it means that all Wi-Fi networks in the first space meet the network quality conditions, and the process goes to step S309; ​​otherwise, if there is a low-quality area in the first space, it means that there is an area in the first space that does not meet the network quality conditions, and the process goes to step S307.

[0143] In some embodiments, the network quality condition may include at least one of the following conditions: RSSI is greater than or equal to a preset RSSI; SNR is greater than or equal to a preset SNR; and air interface duty cycle is less than or equal to a preset duty cycle.

[0144] Exemplarily, if there is an area in the first space where the RSSI is less than the preset RSSI, the area may be a low-quality area. For example, in some embodiments, the preset RSSI may be -65 dB, or other values, which are not limited here.

[0145] Exemplarily, if there is an area in the first space where the SNR is less than the preset SNR, the area can be a low-quality area. For example, in some embodiments, the preset SNR can be 20%, or other values, which are not limited here. Exemplarily, if there is an area in the first space where the air interface duty cycle is greater than the preset duty cycle, the area can be a low-quality area. For example, in some embodiments, the preset duty cycle can be 75%, or other values, which are not limited here.

[0146] It should be understood that in some embodiments, the control device may also determine the low-quality area in other ways, which are not limited here.

[0147] In some embodiments, when the control device determines that there is a low-quality area in the first space, the control device may also display the low-quality area in the network evaluation result interface. Fig. 6A , the RSSI of the D3 area is less than -65dB, the control device can determine that the D3 area is a low-quality area and highlight the edge of the D3 area in the network evaluation result interface U5.

[0148] S307: Determine whether the optimization termination condition is met.

[0149] Exemplarily, when the control device determines that there is a low-quality network area, it can determine whether the optimization termination condition is met. If it is determined that the optimization termination condition is met, it means that the current AP deployment method cannot ensure that the network quality parameters in the first space meet the network quality condition, and the control device can go to step S309 to re-acquire the deployment position and network parameters of each AP; otherwise, if it is determined that the optimization termination condition is not met, the control device can execute step S308.

[0150] In some embodiments, the optimization termination condition may include at least one of the following conditions: the number of optimizations performed after obtaining the deployment location of the AP and the network parameters of the AP reaches a preset number; there is an area where the RSSI is less than the preset RSSI and the power of the AP corresponding to the area is already maximum. In some embodiments, the preset number of times may be 3 times or other values, which are not limited here.

[0151] In other embodiments, the optimization termination condition may also include more or fewer conditions, which are not limited here.

[0152] In some embodiments, the control device may determine whether the optimization termination condition is met when detecting a user confirming an operation to perform network optimization, such as detecting a user selecting a network optimization control U53 in the network evaluation result interface U5.

[0153] S308: Execute the network optimization strategy corresponding to each low-quality area.

[0154] When there are low-quality areas in the first space and the optimization termination condition is not currently met, the control device may execute a network optimization strategy corresponding to each low-quality area.

[0155] Corresponding to the RSSI of the low-quality area being less than the preset RSSI, the network optimization strategy may include increasing the transmit power of the AP covering the low-quality area. For example, the control device may send an instruction to adjust the transmit power to the AP based on the communication interface provided by each AP, so that after receiving the instruction to adjust the transmit power, the AP may increase the transmit power of the AP based on the specific content of the instruction.

[0156] Corresponding to the SNR of the low-quality area being less than the preset SNR, the network optimization strategy may include adjusting the channel of the AP and adjusting the transmit power of the AP. For example, if a certain area can be covered by at least two APs, and one of the at least two APs is used as the main AP (i.e., the AP to which the STA is connected when in the area), the control device may increase the SNR of the low-quality area by increasing the transmit power of the main AP and / or reducing the transmit power of other APs other than the main AP among the at least two APs. For another example, if the SNR of the channel currently used by the main AP is low but the SNR of another channel is high, the control device may switch the channel of the main AP to the other channel. The control device may send an instruction to adjust the channel to the AP based on the communication interface provided by each AP, so that after receiving the instruction to adjust the channel, the AP may adjust the channel to the channel instructed by the instruction based on the specific content of the instruction (for example, the instruction may include an identifier of a channel, and the AP may adjust the channel to the channel instructed by the instruction based on the identifier of the channel).

[0157] The air interface duty cycle corresponding to the low-quality area is greater than the preset duty cycle, and the network optimization strategy may include adjusting the channel of the AP or triggering the AP to perform congestion control. For example, if the air interface duty cycle of the channel currently used by the main AP corresponding to the low-quality area is high but the air interface duty cycle of another channel is low, the control device may switch the channel of the main AP to the other channel.

[0158] Exemplarily, when the SNR in the low-quality area is less than a preset SNR and / or the air interface duty cycle in the low-quality area is greater than a preset duty cycle, the control device can determine a channel whose SNR and air interface duty cycle meet the corresponding network quality conditions based on the collected SNRs and air interface duty cycles of each channel in each test location, and adjust the AP's channel to this channel.

[0159] For example, the control device may determine at least one channel whose SNR is greater than a preset SNR and whose air interface duty cycle is less than a preset duty cycle based on the SNR and air interface duty cycle corresponding to each channel previously collected. Then, the control device may select a channel from the at least one channel as a channel (hereinafter referred to as a target channel) used by the AP covering the low-quality area, and adjust the channel of the AP covering the low-quality area to the target channel.

[0160] In some embodiments, the control device may determine the target channel from the at least one channel based on evaluating the SNR and air interface duty cycle of each channel. For example, the score S of each channel may be expressed as the following formula (2):

[0161] S=S1×a+S3×b (2)

[0162] In formula (2), S1 represents the score of the SNR of the channel. The larger the SNR of a channel, the larger the S1 corresponding to the channel. S3 represents the score of the air interface duty cycle of the channel. The larger the air interface duty cycle of a channel, the smaller the S3 corresponding to the channel. a represents the influence of SNR on network quality, and b represents the influence of air interface duty cycle on network quality. a and b can be empirical values ​​or experimental values ​​or can be set according to the needs of actual evaluation.

[0163] In some embodiments, a may be equal to 1-b, for example, a=1-b=0.5.

[0164] After determining the score S corresponding to each channel in the at least one channel (or all channels supported by the AP), the control device may use a channel with the largest score S as the target channel.

[0165] It should be understood that the method of determining the score of each channel shown in the above formula (2) is only an example. In other embodiments, the control device may also determine the score of each channel in other ways, which is not limited here.

[0166] S309: Display the network quality parameters in the first space.

[0167] Exemplarily, the control device may display the network quality parameters in the first space when the network is optimized for the first space so that there is no low-quality area in the first space, or when there is a low-quality area in the first space but the termination condition is met.

[0168] For example, reference Figure 6B , the control device can display the network optimization result interface U6 when optimizing the network of the first space so that there is no low-quality area in the first space. In the network optimization result interface U6, the user can view the status of each network quality parameter in the first space by operating the network optimization result interface U6 (for example, selecting options such as RSSI, SNR, air interface duty cycle, network quality score, etc. in the network quality parameter control U61). Figure 6B , cursor U62 is located at the aforementioned point T2 in room R02, and the network quality parameters at point T2 are "-60dB, 30%, 40%", that is, the RSSI at point T2 is -60dB, the SNR of the channel currently used by AP 20 (i.e., the AP covering point D) is 30%, and the air interface duty cycle of the channel currently used by AP20 is 40%. It can be seen that after optimization, the network quality parameters of the aforementioned area D3 all meet the network quality conditions.

[0169] For example, reference Figure 6C , the control device can display the network optimization result interface U7 when there is a low-quality area in the first space but the termination condition is met. In the network optimization result interface U7, the user can view the status of each network quality parameter in the first space and the status of the low-quality area by operating the network optimization result interface U7 (for example, selecting options such as RSSI, SNR, air interface duty cycle, network quality score, etc. in the network quality parameter control U71). Continue to refer to Figure 6C , the network quality parameters of the aforementioned D3 area are "-68dB, 30%, 40%", that is, the RSSI of the D3 area is -68dB, the SNR of the channel currently used by AP 20 (i.e., the AP covering point D) is 30%, and the air interface duty cycle of the channel currently used by AP 20 is 40%. Since the RSSI of the D3 area is -68dB, the network quality condition is not met and the transmit power of AP 20 is already at the maximum, the control device can display the prompt message U72 to prompt the user that "the network quality parameters of the highlighted area cannot meet the requirements, and it is recommended to move the location of AP 20 or increase the number of APs or replace AP 20".

[0170] In some embodiments, if the control device detects that the user operates the "re-deploy AP" control U73 in the network optimization result interface U7, the aforementioned setting AP interface U2 may be displayed to facilitate the user to move the position of AP 20 or other APs or add APs. Moreover, after the user moves the position of AP 20 or other APs or adds APs, the control device may also re-execute the aforementioned steps S301 to S309 to optimize the network of the first space.

[0171] It should be understood that in other embodiments, the control device may also display the network quality parameters in the first space in other ways or not display the network quality parameters in the first space, which is not limited here.

[0172] Based on the above method, the control device can determine the situation of the at least two network quality parameters in the first space based on collecting at least two network quality parameters (such as RSSI, SNR of different channels, air interface duty cycle of different channels, etc.) of at least two test locations in the first space (such as a house). Then, the control device can adjust the situation of the at least two network quality parameters in the first space (such as adjusting the values ​​of each network quality parameter at different locations) by adjusting the parameters (such as transmit power, channel, etc.) of the AP deployed in the first space, so that the at least two network quality parameters in each area of ​​the first space meet the network quality conditions, which is conducive to improving the network quality of the Wi-Fi network in the first space.

[0173] The embodiment of the present application also provides a network configuration system for implementing the network configuration methods provided in the aforementioned embodiments.

[0174] For example, Figure 7 According to some embodiments of the present application, a schematic diagram of the structure of a network configuration system 70 is shown. The network configuration system 70 can be deployed in the aforementioned control device.

[0175] like Figure 7 As shown, the network configuration system 70 includes a collection unit 701 , a simulation unit 702 , an evaluation unit 703 , an optimization unit 704 and a display unit 705 .

[0176] The collection unit 701 can be used to interact with the user based on the display unit 705 to obtain layout information of the first space, network parameters of the AP, deployment location of the AP, test location and other information. The collection unit 701 can also be used to collect network quality parameters of each test location in the aforementioned first space based on the AP and AC. For details, please refer to the relevant descriptions of the aforementioned steps S301, S303 and S304, which will not be repeated here.

[0177] The simulation unit 702 is used to determine the theoretical situation of RSSI in the first space based on the network parameters of the AP, the layout information of the first space, the deployment position of the AP, etc. The simulation unit 702 can also be used to determine the situation of the network quality parameters of the first space based on the theoretical situation of RSSI in the first space and the network quality parameters of each test position. The simulation unit 702 can also determine the test position based on the theoretical situation of RSSI in the first space, the layout information of the first space, the deployment position of the AP, etc. For details, please refer to the relevant descriptions of the aforementioned steps S302, S303 and S305, which will not be repeated here.

[0178] The evaluation unit 703 is used to determine the low-quality area in the first space based on the network quality parameter of the first space. For details, please refer to the related description of the above-mentioned step S306 and step S307, which will not be repeated here.

[0179] The optimization unit 704 is used to execute a corresponding optimization strategy based on the low-quality region in the first space. For details, please refer to the relevant description of the aforementioned step S308, which will not be repeated here.

[0180] The display unit 705 is used for the interaction between the network configuration system 70 and the user, for example, displaying the aforementioned interfaces U1 to U7. For details, please refer to the relevant descriptions of the aforementioned steps S301 to S305 and step S309, which will not be repeated here.

[0181] In some embodiments, the display unit 705 may display the relevant interface on a display screen of the control device, or on a display screen of other devices capable of communicating with the control device, which is not limited here.

[0182] It should be understood that Figure 7 The structure of the network configuration system 70 shown is only an example. In other embodiments, the network configuration system 70 may include more or fewer modules, and some modules may be merged or split, which will not be elaborated here.

[0183] Furthermore, an embodiment of the present application also provides an electronic device 100 , and at least part of the aforementioned control device, AC, AP, and STA may adopt the structure of the electronic device 100 .

[0184] For example, Figure 8 According to some embodiments of the present application, a schematic structural diagram of a control device 10 is shown.

[0185] like Figure 8 As shown, the electronic device 100 includes a processor 110 , a memory 120 , a communication interface 130 , and a bus 140 .

[0186] The processor 110 may include one or at least two processing units, for example, the processor 110 may include a central processing unit (CPU), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a microcontroller unit (MCU), a video codec, a digital signal processor (DSP), a baseband processor, a neural-network processing unit (NPU), a field programmable gate array (FPGA), etc. In some embodiments, different processing units may be independent devices or integrated into one or at least two processors.

[0187] In some embodiments, the processor 110 may be configured to execute one or at least two programs to implement the network configuration methods provided in the aforementioned embodiments.

[0188] For example, when the electronic device 100 is a control device, the processor 110 can be used to execute instructions for obtaining the spatial layout of the first space, the deployment location of the AP in the first space, the network parameters of the AP, etc., instructions for generating test locations in the first space, instructions for obtaining network quality parameters at each test location, instructions for generating the status of the network quality parameters in the first space, instructions for determining whether there is a low-quality area in the first space based on the status of the network quality parameters in the first space, and instructions for executing a corresponding network optimization strategy when there is a low-quality area in the first space.

[0189] For another example, when the electronic device 100 is an AC or AP, the processor 110 can respond to instructions sent by the control device and execute instructions to adjust its own network parameters (such as transmit power, channel, etc.), obtain network quality parameters measured by STA (such as RSSI, SNR, duty cycle, etc.), trigger congestion control, etc.

[0190] For another example, when the electronic device is a STA, the processor 110 may be configured to respond to an instruction sent by the AC / AP / control device and execute an instruction to measure network quality parameters and send the measured network quality parameters to the AC / AP / control device.

[0191] The memory 120 may include one or at least two memories for storing data or program codes. For example, in some embodiments, the memory 120 may be used to store data, such as the preset RSSI, preset SNR and preset duty cycle corresponding to the above network quality conditions, the spatial layout of the first space, etc. For another example, in some embodiments, the memory 120 may be used to store instructions of the network configuration method provided in the aforementioned embodiments.

[0192] In some embodiments, the memory 120 may include a hard disk drive, a solid state drive, a flash memory, an optical disk, or a magneto-optical disk.

[0193] In some embodiments, memory 120 may include removable or non-removable or fixed media.

[0194] In some embodiments, the memory 120 may be internal or external to the electronic device 100 .

[0195] The communication interface 130 is used to realize communication between the electronic device 100 and other devices. In some embodiments, the communication interface 130 may include a wireless communication interface and a wired communication interface.

[0196] In some embodiments, the wireless communication interface can provide wireless communication solutions including WLAN (such as Wi-Fi), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module can be one or at least two devices integrating at least one communication processing module.

[0197] The wired communication interface may include an Ethernet interface (such as a fiber optic interface, an RJ-45 interface, etc.), a universal serial bus (USB), a power line carrier communication (PLC) interface, a high definition multimedia interface (HDMI) interface, a digital audio interface, and other wired communication interfaces, which are used to provide a wired communication solution for application on the electronic device 100.

[0198] In some embodiments, when the electronic device 100 is a control device, the electronic device 100 can communicate with the AC / AP / STA based on the communication interface 130 to obtain network quality parameters of the test location, and send instructions of the aforementioned network configuration method to the AC and AP (for example, instructions for obtaining network quality parameters of the STA, instructions for adjusting the channel / transmission power, etc.).

[0199] In some embodiments, when the electronic device is an AC or AP, the electronic device 100 can communicate with the STA / control device based on the communication interface 130 to obtain network quality parameters of the test location from the STA, send instructions to obtain network quality parameters to the STA, send network quality parameters of the test location to the control device, etc.

[0200] In some embodiments, when the electronic device is a STA, the electronic device 100 can communicate with the control device / AC / AP based on the communication interface 130 to send the network quality parameters measured by itself (that is, the network quality parameters of the test location where the STA is located) to the control device / AC / AP.

[0201] The bus 140 is used to connect the processor 110 , the memory 120 , the communication interface 130 , and other possible modules or circuits.

[0202] It should be understood that Figure 8 The structure of the electronic device 100 is only an example. In other embodiments, the electronic device 100 may include more or fewer modules, which is not limited here. For example, the electronic device 100 may also include an input / output interface for connecting to an input / output device such as a display screen and a touch screen to realize interaction between the electronic device 100 and the user.

[0203] An embodiment of the present application also provides a program product, which, when executed on an electronic device, can enable the electronic device to implement the network configuration methods provided in the aforementioned embodiments.

[0204] An embodiment of the present application also provides a readable storage medium, in which one or at least two programs are stored. When the one or at least two programs are executed by an electronic device, the electronic device implements the network configuration method provided by the aforementioned embodiments.

[0205] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0206] It should be noted that, in the examples and description of the present application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the statement "comprises one" do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.

Claims

1. A network configuration method, applied to an electronic device, characterized in that: include: Determine at least two network quality parameters of a wireless network in a first space, wherein at least one access point is set in the first space; Based on the at least two network quality parameters, determining that there is a first area in the first space where the network quality parameters do not meet the network quality condition; Adjust a network parameter of a first access point so that a network quality parameter of the first area meets the network quality condition, wherein the first access point is associated with the network quality of the first area, and the at least one access point includes the first access point.

2. The method according to claim 1, characterized in that The at least two network quality parameters include at least two of the following parameters: a received signal strength indication of the first wireless network provided by the at least one access point; a signal-to-noise ratio of a channel supported by the at least one access point; An air interface duty cycle of a channel supported by the at least one access point.

3. The method according to claim 2, wherein the network quality condition comprises at least two of the following conditions: The received signal strength indication of the first wireless network provided by the at least one access point is greater than or equal to a first value; The signal-to-noise ratio of the first channel is greater than or equal to the second value, wherein, The first channel is a channel currently used by a second access point that provides the first wireless network for the first area; The air interface duty cycle corresponding to the first channel is less than or equal to a third value.

4. The method according to claim 3, characterized in that The determining of the at least two network quality parameters of the wireless network in the first space includes: Acquire measurement data of at least two test positions in the first space corresponding to the at least two network quality parameters; At least two network quality parameters of the wireless network in the first space are determined based on the measurement data.

5. The method according to claim 4, characterized in that The obtaining the measurement data of the at least two network quality parameters corresponding to the at least two test positions in the first space includes: The measurement data corresponding to the at least two network quality parameters are acquired from sites arranged at the at least two test locations.

6. The method according to claim 4, characterized in that The first space includes at least two subspaces, and at least one of the test positions is set in each of the at least two subspaces; and determining at least two network quality parameters of the wireless network in the first space based on the measurement data includes: A case where a network quality parameter of a first subspace of the at least two subspaces is determined by at least one of the following methods: Using the signal-to-noise ratio in the measurement data corresponding to the test position in the first subspace as the signal-to-noise ratio in the first subspace; Using the air interface duty ratio in the measurement data corresponding to the test position in the first subspace as the air interface duty ratio in the first subspace; Based on the received signal strength indication of the first wireless network provided by the at least one access point in the measurement data corresponding to the test position in the first subspace and the theoretical situation of the received signal strength indication in the first space, obtaining the situation of the received signal strength indication of the first wireless network provided by the at least one access point in the first subspace; The theoretical situation of the received signal strength indication of the first wireless network provided by the at least one access point in the first space is calculated based on the transmission power of the at least one access point, the position of the at least one access point in the first space, and the layout information of the first space.

7. The method according to claim 6, characterized in that The at least two test positions are obtained based on a theoretical situation in which a received signal strength indication of a first wireless network provided by the at least one access point is provided in the first space.

8. The method according to any one of claims 3 to 7, wherein adjusting the network parameters of the first access point comprises: Adjust the network parameters of the first access point by at least one of the following methods: In response to the received signal strength indication of the first wireless network provided by the at least one access point in the first area being less than a first value, increasing the transmission power of the second access point; In response to the signal-to-noise ratio of the first channel currently used by the wireless network in the first area being less than the second value, switching the channel of the second access point from the first channel to the second channel, or increasing the transmission power of the second access point, or reducing the transmission power of access points other than the second access point among the access points covering the first area; Corresponding to the air interface duty cycle corresponding to the first channel in the first area being greater than the third value, the channel of the second access point is switched from the first channel to the second channel, or the at least one access point is triggered to execute congestion control logic.

9. The method according to claim 8, characterized in that The air interface duty cycle of the second channel is less than or equal to the third value, and the signal-to-noise ratio of the second channel is greater than the second value.

10. The method according to claim 8, characterized in that The method further comprises: The received signal strength indication corresponding to the first wireless network provided by the at least one access point in the first area is less than the first value, and the current transmission power of the second access point is the maximum transmission power of the second access point, prompting the user to add an access point or replace the access point or move the location of the access point.

11. An electronic device, characterized in that: include: A memory for storing one or at least two programs; A processor, configured to execute the one or at least two programs so that the electronic device implements the network configuration method according to any one of claims 1 to 10.

12. A readable storage medium, characterized in that: The readable storage medium includes one or at least two programs, and when the one or at least two programs are executed on an electronic device, the electronic device implements the network configuration method according to any one of claims 1 to 10.