A method, apparatus, terminal device, and storage medium for controlling routing power.
By obtaining the duty cycle and signal strength of routing devices in the Easy Mesh network, and adjusting the power of the routing devices using the 802.11h protocol, the problem of co-channel interference in the Easy Mesh network was solved, and network coverage and device power consumption were optimized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2026-04-03
AI Technical Summary
In existing technologies, routing devices in Easy Mesh networks suffer from co-channel interference during network setup and lack effective power control solutions.
By obtaining the duty cycle of the signal transmitted by the routing device and the signal strength of the downstream terminals, the routing power of the routing device is adjusted if the conditions are met, and power suppression is performed using the 802.11h protocol to reduce co-channel interference.
It effectively reduces co-channel interference between routing devices in the Easy Mesh network, ensuring network coverage while optimizing device power consumption.
Smart Images

Figure CN116321388B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computer technology, and in particular relates to a method, apparatus, terminal device and storage medium for controlling routing power. Background Technology
[0002] In existing technologies, mesh networks are commonly used in home and workplace settings to connect multiple routing devices and achieve strong wireless signal coverage across any location. However, since mesh networks require multiple routing devices, their wireless signal ranges may overlap, and mainstream home routers often lack multi-channel operation capabilities. Therefore, in practical use, co-channel interference may occur between different routing devices. Power control of the routing devices can effectively reduce this interference. However, current technologies lack power control solutions specifically for routing devices in Easy Mesh networks. Summary of the Invention
[0003] In view of this, embodiments of this application provide a method for controlling routing power to reduce co-channel interference between routing devices in a wireless mesh network.
[0004] The first aspect of this application provides a method for controlling routing power, including:
[0005] If the preset power adjustment trigger condition is met, the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located is obtained; the duty cycle is used to indicate the degree of overlap of the wireless signals transmitted by multiple second routing devices in the channel; the multiple routing devices include a first routing device and at least one second routing device connected to the first routing device;
[0006] If the duty cycle is greater than a preset percentage threshold, the signal strength of the wireless signal received by each downstream terminal is obtained; the multiple downstream terminals are terminals using the current second route.
[0007] If the signal strength of each of the connected terminals is greater than the preset strength threshold, the routing power of the second routing device is adjusted based on the preset configuration information.
[0008] A second aspect of this application provides a routing power control device, comprising:
[0009] The duty cycle acquisition module is used to acquire the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located if a preset power adjustment trigger condition is met; the duty cycle is used to represent the degree of overlap of wireless signals transmitted by multiple second routing devices in the channel; the multiple routing devices include a first routing device and at least one second routing device connected to the first routing device;
[0010] The signal strength acquisition module is used to acquire the signal strength of the wireless signal received by each downstream terminal if the duty cycle is greater than a preset percentage threshold; the multiple downstream terminals are terminals using the current second route.
[0011] The routing power adjustment module is used to adjust the routing power of the second routing device based on preset configuration information if the signal strength of each of the downstream terminals is greater than a preset strength threshold.
[0012] A third aspect of this application provides a terminal device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the routing power control method described in the first aspect above.
[0013] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the routing power control method described in the first aspect above.
[0014] A fifth aspect of this application provides a computer program product that, when run on a computer, causes the computer to execute the routing power control method described in the first aspect.
[0015] Compared with the prior art, the embodiments of this application have the following advantages:
[0016] In this embodiment, the wireless mesh network can consist of multiple routing devices, including a first routing device and multiple second routing devices connected to the first routing device. If a second routing device meets a preset power adjustment trigger condition, it can obtain the duty cycle of the channel in which the transmitted wireless signal is located. Using the duty cycle, the second routing device can determine the degree of overlap of the wireless signals transmitted by multiple second routing devices in the current channel. If the duty cycle is greater than a preset percentage threshold, the second routing device can obtain the signal strength of multiple connected terminals using the second routing device for wireless access. If the signal strength of each connected terminal is greater than a preset strength threshold, the second routing device can adjust its routing power based on configuration information. Through the method provided in this embodiment, the second routing device can easily and efficiently determine whether power control is needed. If control is required, the routing power can be directly adjusted using configuration information, thereby reducing co-channel interference between different routing devices. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the networking plane of a Mesh network provided in an embodiment of this application;
[0019] Figure 2 This is a schematic diagram of the module framework of an Easy Mesh network provided in an embodiment of this application;
[0020] Figure 3 This is a schematic diagram of a routing power control method provided in an embodiment of this application;
[0021] Figure 4 This is a network topology diagram of an Easy Mesh network provided in an embodiment of this application;
[0022] Figure 5 This is a schematic diagram of the transmission channel and maximum transmit power information of the 802.11h protocol provided in an embodiment of this application;
[0023] Figure 6 This is a schematic diagram of the format of the power suppression information used in the 802.11h protocol provided in this application embodiment;
[0024] Figure 7This is a schematic diagram of another routing power control method provided in an embodiment of this application;
[0025] Figure 8 This is a schematic diagram of an Easy Mesh network power control process provided in an embodiment of this application;
[0026] Figure 9 This is a schematic diagram of a routing power control device provided in an embodiment of this application;
[0027] Figure 10 This is a schematic diagram of a terminal device provided in an embodiment of this application. Detailed Implementation
[0028] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0029] In existing technologies, networking multiple routing devices using a mesh method can achieve strong wireless network coverage in homes and workplaces. However, networking multiple routing devices using a mesh method can also easily cause co-channel interference between the mesh network devices. For example... Figure 1 The diagram shown is a schematic representation of the network plane of a Mesh network according to an embodiment of this application. See also... Figure 1 In a Mesh network, the BSS (Basic Service Set) of the second routing device 1 and the BSS (Basic Service Set) of the second routing device 2 will have overlapping coverage areas. In the overlapping coverage areas, the second routing device 1 and the second routing device 2 will cause co-channel interference to each other.
[0030] The Easy Mesh networking protocol defines a channel planning mechanism for Mesh networking devices. Through this mechanism, each Mesh networking device can operate on a different channel. For example, device 1 operates on channel 1 in the 2.4 GHz band, while device 2 operates on channel 6 in the same band. This reduces co-channel interference between networking devices.
[0031] However, current mainstream home Mesh products are dual-band (2.4GHz and 5GHz), and the data transmission link of a Mesh network is mainly a 5GHz WiFi link. Therefore, in practical applications, all devices in a Mesh network (user terminals and networking equipment) can only operate on the same 5GHz band, and cannot stagger their operation according to the channel planning mechanism. In other words, the channel planning mechanism defined by the Easy Mesh networking protocol cannot be applied in mainstream home Mesh products.
[0032] When multiple network devices operate on the same channel, the operating power of each device can affect the connectivity of the network and the degree of co-channel interference between different devices. Therefore, controlling the operating power of each device can reduce the degree of co-channel interference between them using the same channel. However, existing Mesh power control technologies are based on the 802.11s Mesh protocol and are not well-suited for the Easy Mesh protocol.
[0033] For example, in an existing method for adjusting the transmit power of a wireless mesh network, the networking devices can obtain neighbor information of other networking devices in the same mesh network through the open / confirm frame handshake mechanism of the 802.11s protocol. Based on this neighbor information, the networking devices can adjust their transmit power. However, the Open / Confirm frame mechanism is absent in the Easy Mesh protocol. Furthermore, the performance evaluation of the 802.11s mesh network mentioned in the above method is based on a two-dimensional / three-dimensional mesh topology to evaluate the performance of each networking device in the mesh network. Therefore, existing technologies assume that any two nodes in the mesh network have a channel connection, and evaluate the interference and robustness of each node in the mesh network using neighbor information. Based on the evaluation results, the transmit power of the node itself can be calculated using an appropriate weighting method.
[0034] However, the Easy Mesh networking protocol is essentially a simple home mesh network solution, not a pure mesh network; it only supports star topologies. Therefore, the Easy Mesh networking protocol does not require complex neighbor information topology mechanisms, and topology evaluation methods for pure mesh network models are not very applicable. Consequently, existing technologies lack a transmission power control method specifically for the Easy Mesh networking protocol.
[0035] like Figure 2The diagram shown illustrates the module framework of an Easy Mesh network according to an embodiment of this application. In this embodiment, the Easy Mesh network can be implemented using the wbd_master / wbd_slave application processes within the BRCM software platform. The Easy Mesh network may include a client module (Agent module), a controller module, Blanket APIs, and Steering APIs. The Easy Mesh network comprises several modules: a client module (which is the loop body of the Multi-AP Agent main program) and a control module (which is also the loop body of the Multi-AP Agent main program). The client module implements the business logic functions of the Easy Mesh network's controller logic entity. Blanket APIs are a set of general-purpose API interfaces in the Easy Mesh network, including APIs for obtaining wireless interface information, obtaining wireless client information, and force-kicking users. Steering APIs are the API interfaces corresponding to 802.11k / v in the Easy Mesh network. The IEEE 1905.1 library provides API interfaces for sending and receiving 1905.1 message packets. Within the Easy Mesh network, the client module can connect to the control module to receive and execute various commands sent by the control module. The client module can also connect to multiple API interfaces with different functions through Blanket APIs to implement the corresponding functions of those API interfaces. The control and client modules can send and receive 1905.1 messages to and from the Linux system via the IEEE 1905.1 library. Users can send various 1905.1 messages to the control and client modules from the Linux system using the IEEE 1905.1 library to implement various configurations for the control and client modules. The client module and Steering APIs can also provide network services to the computer device where the wireless driver resides by connecting directly to the wireless driver.
[0036] The technical solution of this application will be described below through specific embodiments.
[0037] Reference Figure 3This diagram illustrates a routing power control method provided in an embodiment of this application. This embodiment can be applied to wireless mesh networks using the Easy Mesh protocol, which may include multiple routing devices. The wireless mesh network may consist of a first routing device and multiple second routing devices connected to the first routing device. In this embodiment, the executing entity can be any second routing device in the wireless mesh network. The aforementioned routing power control method may specifically include the following steps:
[0038] S301. If the preset power adjustment trigger condition is met, the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located is obtained; the duty cycle is used to indicate the degree of overlap of the wireless signals transmitted by multiple second routing devices in the channel; the multiple routing devices include the first routing device and at least one second routing device connected to the first routing device.
[0039] In this embodiment of the application, the Easy Mesh network may include multiple routing devices. For example... Figure 4 The diagram shown is a network topology diagram of an Easy Mesh network provided in an embodiment of this application. See also... Figure 4 An Easy Mesh network can consist of a first routing device and at least one second routing device connected to the first routing device. Multiple downstream terminals can be connected to the second routing device in the Easy Mesh network. Each downstream terminal provides a connection to the second routing device and can receive wireless signals transmitted by the second routing device. When a user needs to self-configure the Easy Mesh network, they can send a self-configuration command to both the first and second routing devices. After receiving the self-configuration command, the second routing device can initiate the self-configuration process. Once in the self-configuration process, the second routing device can determine whether the current situation meets the preset power trigger conditions. If the second routing device detects that the current situation meets the preset power trigger conditions during operation, it can obtain the duty cycle of the channel used for transmitting wireless signals through a chip driver. Based on the channel duty cycle, the second electronic device can determine the degree of overlap among all second routing devices using the same channel to transmit wireless signals.
[0040] In this embodiment, since the factory transmit power of each routing device in the Easy Mesh network is essentially the same, the overlapping interference of wireless signals from these devices is mutual. Because of this overlapping interference, the duty cycle obtained by any routing device is the result of the superposition of all routing devices using the same channel for wireless signal transmission. Therefore, by using the duty cycle, the second routing device can easily and directly determine the degree of overlap among all second routing devices transmitting wireless signals using the same channel.
[0041] In one possible implementation, when the second routing device enters the self-configuration process to configure the Easy Mesh network, the second routing device can determine that the current situation meets the preset power triggering conditions, and then the second routing device can obtain the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located.
[0042] In one possible implementation, the second routing device can also be connected to a timer. The second routing device can determine at preset adjustment intervals whether the preset power triggering condition is met, and then the second routing device can obtain the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located.
[0043] In another possible implementation, if the second routing device receives configuration information sent by the first routing device, the second routing device can determine that it currently meets the power adjustment trigger condition. Then, the second routing device can obtain the duty cycle of the channel in which the wireless signal transmitted by the second routing device resides.
[0044] S302. If the duty cycle is greater than a preset percentage threshold, the signal strength of the wireless signal received by each downstream terminal is obtained; the multiple downstream terminals are terminals using the current second routing device.
[0045] In this embodiment, after obtaining the duty cycle of the channel used to transmit wireless signals, the second routing device can determine whether the obtained duty cycle is greater than a preset percentage threshold. If the second routing device determines that the obtained duty cycle is greater than the preset percentage threshold, the second routing device can obtain the signal strength of the wireless signals received by each connected terminal by obtaining the terminal information of each connected terminal. The connected terminals can be multiple terminals connected to the second device and using the current second device for network access. The connected terminals can be various computer devices such as computers, tablets, and mobile phones. Specifically, the percentage threshold can be 30%, meaning that when the duty cycle obtained by the second routing device is greater than 30%, the second routing device can consider the current channel overlap interference to be severe and can adjust the power of the second routing device to reduce co-channel interference in its current channel.
[0046] In another possible implementation, when the second routing device determines that the acquired duty cycle is less than or equal to a preset duty cycle threshold, the second routing device can maintain its current routing power and continue operating until it receives configuration information sent by the first routing device. If the second routing device receives configuration information from the first routing device again, it can reacquire the duty cycle of the channel currently used for transmitting wireless signals and re-determine whether the acquired duty cycle is greater than the preset duty cycle threshold.
[0047] S303. If the signal strength of each of the connected terminals is greater than the preset strength threshold, the routing power of the second routing device is adjusted based on the configuration information.
[0048] In this embodiment, when the second routing device obtains the signal strength of each downstream terminal, it can determine whether the signal strength of each downstream terminal is greater than a preset strength threshold. If the second routing device determines that the signal strength of each downstream terminal is greater than the preset strength threshold, the second routing device can adjust the routing power based on the configuration period. The configuration information can be pre-stored in the second routing device or sent to the second routing device by the first routing device. For example, the strength threshold can be the original signal strength of the second routing device minus 75 dBmW. That is, when the signal strength of each downstream terminal is greater than -75 dBmW, the second routing device can consider that the current routing power for transmitting wireless signals is relatively high, and appropriately reducing the routing power will not significantly affect the coverage area of the second routing device. Therefore, the second routing device can adjust the routing power based on the configuration information.
[0049] In one possible implementation, if the signal strength of any downstream terminal of the second routing device is less than or equal to a preset strength threshold, the second routing device can consider that its current routing power for transmitting wireless signals is already at a critical power level. Further reducing the routing power might cause coverage issues for medium- to long-range locations. Therefore, the second routing device can maintain its current routing power until it receives configuration information from the first routing device. If the second routing device receives configuration information from the first routing device again, it can reacquire the duty cycle of the channel currently used for transmitting wireless signals and re-enter the power control process.
[0050] In this embodiment, the second device will choose to maintain its current routing power when it determines that the signal strength of any connected terminal is less than or equal to a preset strength threshold. Therefore, by controlling the routing power of the second routing device using the method provided in this embodiment, the problem of poor wireless network coverage at medium to long distance locations due to power suppression can be effectively avoided.
[0051] In one possible implementation, after receiving configuration information sent by the first routing device, the second routing device can obtain the power suppression information encapsulated in the configuration information by decompressing the configuration information. The power suppression information can be generated by the first routing device based on the link signal strength of the second routing device and a pre-defined power suppression relationship. The power suppression information may contain power suppression data. The power suppression relationship can be pre-generated based on empirical data and stored in the first routing device. The power suppression relationship stored in the first routing device may include power suppression data, the type of routing power, and the signal strength of the second routing device. The routing power of the second routing device may include the uplink power of the downstream terminals of the second routing device and the power of the second routing device itself. The first routing device can determine the power suppression data corresponding to each of the two routing power types of the second routing device based on the signal strength of the second routing device. It should be noted that the routing power control method provided in this application embodiment is not only applicable to routing power control of the 5G port of the second routing device, but also applicable to routing power control of the 2.4G port of the second routing device. Table 1 below is a power suppression relationship table for the 5G port provided in this application embodiment:
[0052]
[0053] Table 1
[0054] Based on the power suppression relationship table mentioned above, the first routing device can determine the power suppression data corresponding to the second routing device. Based on the power suppression data, the first routing device can generate power suppression information. After decompressing the configuration information to obtain the power suppression information, the second routing device can adjust its routing power according to the specific power suppression data in the power suppression information.
[0055] In another possible implementation, the configuration information sent by the first routing device can be a 1905.1 message data packet sent by the first routing device through the IEEE 1905.1 library. The 1905.1 message data packet can contain multiple 1905.1 messages of different message categories. Power suppression information can be encapsulated in a 1905.1 message of message category 0x4.Vendor. The specific definition of the 1905.1 message of message category 0x4.Vendor is shown in Table 2 below:
[0056]
[0057] Table 2
[0058] In the value field of a 1905.1 message of message type 0x4.Vendor, a TLV (Time Limit Volume) data can be encapsulated. The TLV data can consist of a type field (Tag field), a length field (Length field), and a value field (Value field). The type field stores the message type of the TLV data, the length field stores the message length of the TLV data, and the value field stores the specific message content of the TLV data. In this embodiment, the specific definition of the TLV data is shown in Table 3 below:
[0059]
[0060] Table 3
[0061] The power suppression information can be encapsulated in the TLV data value field by the first routing device. The TLV data value field can contain various message contents, and the power suppression information can be encapsulated in a Vendor Specific Information message. The power suppression information encapsulated in the TLV data value field can also be of TLV data type. The following is a script example of a TLV data type power suppression information data structure provided in an embodiment of this application.
[0062]
[0063]
[0064] Referring to the script example above, the data structure for power suppression information can include a TAG for power suppression information and a Data for power suppression information. In this embodiment, the specific definition of the power suppression information encapsulated in the TLV data is shown in the following table:
[0065] Field Length Value Description tlvType 1octets 11 Power constrain TLV(tag=130) tlvLength 2octets m Number of octets in ensuing field m octets Power Constraint information
[0066] In this embodiment, after the second routing device decompresses the power suppression information from the configuration information, it can adjust the power of its wireless signal based on its own power in the power suppression data. Since the second routing device also includes multiple BSS interfaces for receiving network data sent by downstream terminals, it can also limit the power of each downstream terminal uploading network data to the second routing device by configuring power suppression data on each of its BSS interfaces.
[0067] In one possible implementation, the second routing device can limit the power of each downstream terminal uploading network data to the second routing device by sending uplink power adjustment frames to each downstream terminal. The uplink power adjustment frame is generated based on power suppression data in the power suppression information. Specifically, this uplink power adjustment frame can be an 802.11 Deauth frame. The uplink power adjustment frame may contain the uplink power of the downstream terminal from the power suppression data. The second routing device can send the uplink power adjustment frame to all downstream terminals through multiple wireless BSS interfaces. After receiving the uplink power adjustment frame sent by the second routing device, the downstream terminal can reconnect to the second routing device according to the uplink power adjustment frame. After reconnection, the downstream terminal can adjust its uplink power according to a pre-set power control protocol; that is, the reconnected downstream terminal can perform network transmission according to the uplink power contained in the uplink power adjustment frame.
[0068] In one possible implementation of this application embodiment, the power control protocol used by the second routing device can be the 802.11h protocol. The 802.11h protocol may include a power control mechanism, namely the TPC mechanism. Through the TPC mechanism in the 802.11h protocol, the wireless access point of the second routing device can control the transmission power of each downstream terminal. The 802.11h protocol may include transmission channel and maximum transmission power information for wireless communication using the transmission area corresponding to the country element. Figure 5 The diagram shown illustrates the transmission channel and maximum transmit power information of the 802.11h protocol according to an embodiment of this application. See also... Figure 5 (a) is a schematic diagram illustrating the data format for transmitting power information using the 802.11h protocol in an embodiment of this application. It includes various data transmission formats such as data length, element ID, and triplet transmitted via the 802.11h protocol. See also... Figure 5(b) is the channel for wireless communication in the transmission area corresponding to the country element using the 802.11h protocol in this application embodiment and the maximum transmit power level of the channel.
[0069] In this embodiment of the application, the 802.11h protocol also defines a specific format for power suppression information. For example... Figure 6 The diagram shows the format of power suppression information used in the 802.11h protocol provided in this application embodiment. The local power constraint in the power suppression information can be a positive integer. The second routing device can adjust the uplink power of all downstream terminals based on the local power constraint. Specifically, the maximum transmit power level corresponding to the country element minus the local power constraint gives the transmit power of each downstream terminal after the second routing device adjusts the uplink power.
[0070] In this embodiment, before the second routing device adjusts the uplink power of each downstream terminal by configuring power suppression information on each BSS interface of the second routing device, the original settings of the second routing device may not accept power suppression information configuration for individual BSS interfaces. Therefore, the second routing device can first enable each BSS interface to support power suppression information configuration by adding power control interfaces. The second routing device can obtain the control interface configuration script by downloading the interface configuration script from the server. The following is an example of an interface configuration script based on a BRCM driver provided in this embodiment.
[0071]
[0072]
[0073] After obtaining the control interface configuration script, the second routing device can write the power control interface information into its configuration file by running the script, thereby generating a power control interface in the second routing device. Preferably, the power suppression interface can be an IOCTL interface. After running the control interface configuration script, the second routing device can configure power suppression information for each BSS interface by sending uplink power adjustment frames to the power control interface. The power suppression interface can monitor whether received packets carry power suppression information. If the power suppression interface detects that a packet carries power suppression information, it can identify the packet as an uplink power adjustment frame and adjust the uplink power that each BSS interface can receive based on the power suppression information in the uplink power adjustment frame.
[0074] In this embodiment, the second routing device can generate a power control interface using the obtained interface configuration script. Through this added power control interface, the second routing device can adjust the uplink power of each downstream terminal. Therefore, using the method provided in this embodiment, the second routing device can automatically control the power of each BSS interface, thereby reducing co-channel interference in the Easy Mesh network.
[0075] In this embodiment, after completing routing power control according to the configuration information, the second routing device can generate termination information and send it to the first routing device. The termination information generated by the second routing device indicates that the second routing device has completed power control according to the power suppression information. After receiving the termination information sent by the second routing device, the first routing device can determine that the second routing device that sent the termination information has completed routing power control, and therefore the first routing device can stop sending configuration information to the second routing device.
[0076] In one possible implementation, the termination information generated by the second routing device can be a 1905.1 message data packet. The second routing device can send the termination information to the first routing device through the IEEE 1905.1 library. The termination information generated by the second routing device may also contain empty power suppression information. That is, the termination information generated by the second routing device may encapsulate power suppression information, but the power suppression information may not contain specific power suppression data. When the first routing device receives a 1905.1 message data packet containing empty power suppression information, it can determine that the second routing device that sent the 1905.1 message data packet has completed routing power control.
[0077] Reference Figure 7This illustration shows a schematic diagram of another routing power control method provided in an embodiment of this application. This embodiment can be applied to a wireless mesh network using the Easy Mesh protocol, which may include multiple routing devices. The wireless mesh network may consist of a first routing device and multiple second routing devices connected to the first routing device. In this embodiment, the executing entity can be any first routing device in the wireless mesh network. The above-mentioned routing power control method may specifically include the following steps:
[0078] S701. If it is determined that the second routing device meets the preset power adjustment trigger condition, then the link signal strength of the second routing device is obtained; the second routing device is a routing device connected to the first routing device;
[0079] In this embodiment, when a user needs to self-configure the Easy Mesh network, they can send a self-configuration command to both a first routing device and a second routing device. Upon receiving the self-configuration command, the first routing device can initiate a self-configuration process. Once in the self-configuration process, the first routing device can receive self-configuration information from the second routing device. After receiving the self-configuration information, the first routing device can determine whether the second routing device is connected to it in a star topology. If the first routing device determines that the second routing device is connected in a star topology, it can determine that the second routing device meets a preset power adjustment trigger condition. The first routing device can generate startup information and send it to the corresponding second routing device. After receiving the startup information from the first routing device, the second routing device can start a signal strength watchdog timer installed on it. The signal strength watchdog timer periodically acquires the link signal strength on the second routing device and feeds it back to the first routing device.
[0080] In one possible implementation, a power control timer may also be installed on the first routing device. When the power control timer detects that the time interval between the last time the routing power control of the second routing device has reached a preset power control interval, the first routing device can determine that the second routing device meets the preset power adjustment trigger condition.
[0081] S702. Generate configuration information about the link signal strength based on a preset power suppression relationship; the configuration information is used to adjust the routing power of the second routing device;
[0082] In this embodiment, after receiving the link signal strength of the second routing device from the signal strength watchdog timer, the first routing device can generate configuration information about the link signal strength based on a preset power suppression relationship. The specific process for generating the configuration information is detailed in the first embodiment of the specification and will not be repeated here.
[0083] S703. Send the configuration information to the second routing device.
[0084] In this embodiment, after generating configuration information, the first routing device can send the generated configuration information to a second routing device with a corresponding link signal strength using the IEEE 1905.1 library. Upon receiving the configuration information from the first routing device, the second routing device can adjust its routing power according to the configuration information. The specific process of the second routing device adjusting its routing power according to the configuration information is described in the relevant content of the first embodiment of the specification, and will not be repeated here.
[0085] like Figure 8 The diagram shown is a schematic representation of an Easy Mesh network power control process provided in an embodiment of this application. See also... Figure 8After entering the self-configuration process, the first routing device can receive 1905.1 messages sent by the IEEE 1905.1 library. Based on the 1905.1 messages, the first routing device can generate first self-configuration information and send it to each second routing device. Upon receiving the first self-configuration information from the first routing device, the second routing device can generate second self-configuration information and send it back to the first routing device. After receiving the second self-configuration information from the second routing device, the first routing device can determine whether the second routing device that sent the second self-configuration information is directly connected to the first routing device in a star topology. If the second routing device is not directly connected to the first routing device in a star topology, the first routing device can re-receive the 1905.1 messages sent by the IEEE 1905.1 library. If the second routing device is directly connected to the first routing device in a star topology, the first routing device can generate a startup command and send it to the signal strength watchdog timer. The first routing device can receive the link signal strength of the second routing device from the signal strength watchdog timer. After receiving information about the link signal strength of the second routing device, the first routing device can determine whether the second routing device has already performed routing power control. If the first routing device determines that the second routing device has already performed routing power control, it can re-receive the 1905.1 message sent by the IEEE 1905.1 library. If the first routing device determines that the second routing device has not yet performed routing power control, it can determine whether the received link signal strength meets the preset power suppression relationship. If the first routing device determines that the received link signal strength does not meet the preset power suppression relationship, it can wait until the power control timer detects that the time interval since the last routing power control of the second routing device has reached the preset power control interval, and then re-acquire the link signal strength of the second routing device. If the first routing device determines that the received link signal strength meets the preset power suppression relationship, it can generate configuration information based on the 1905.1 protocol and send the generated configuration information to the second routing device. After receiving the configuration information sent by the first routing device, the second routing device can obtain the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located and the signal strength of each downstream terminal. If the duty cycle obtained by the second routing device is greater than the preset duty cycle threshold and the signal strength of each downstream terminal is greater than the preset signal strength threshold, the second routing device can adjust its own power and the uplink power of each downstream terminal based on the configuration information using the 801.1h mechanism. After completing the routing power adjustment, the second routing device can generate termination information and send it to the first routing device.After receiving the termination information sent by the second routing device, the first routing device can identify that the second routing device corresponding to the termination information has completed the routing power control.
[0086] In this embodiment, the second routing device can obtain the duty cycle of the channel where the transmitted wireless signal is located and the signal strength of each downstream terminal of the second routing device through a signal strength watchdog timer. Based on the obtained duty cycle and signal strength, the second routing device can determine the degree of overlap interference among multiple second routing devices currently transmitting wireless signals on the same channel. If the degree of overlap interference among multiple second routing devices is large, the second routing device can adjust the routing power according to the configuration information. By controlling the routing power of the second routing device through the control method provided in this embodiment, co-channel interference in Easy Mesh networks can be reduced simply and efficiently.
[0087] In the embodiments of this application, such as Figure 2 Before implementing routing power control, the various modules within the Easy Mesh network shown can be expanded. Users can first expand the client module (Agent module) in the Easy Mesh network to add power control mechanisms to the signal strength watchdog timers of the first and second routing devices.
[0088] The following is a sample script for adding a power control mechanism to the signal strength watchdog timer of the first routing device.
[0089]
[0090]
[0091] By running the script described above, the first routing device can add a power control mechanism to its signal strength watchdog timer. Through this power control mechanism, the first routing device can generate power suppression information based on power suppression relationships and send this information to the second routing device.
[0092] The following is a script example for adding a power control mechanism to the signal strength watchdog timer of the second routing device.
[0093]
[0094]
[0095] Using the script described above, the second routing device can add a power control mechanism to its signal strength watchdog timer. This power control mechanism allows the second routing device to send the link signal strength data collected by the watchdog timer to the first routing device and receive power suppression information from the first routing device. Users can also extend the Blanket APIs module in the Easy Mesh network.
[0096] The following is a script example for adding a power control API to the Blanket APIs module, as provided in an embodiment of this application.
[0097]
[0098] Using the script described above, the first and second routing devices can add power control APIs to their Blanket APIs modules.
[0099] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0100] Reference Figure 9 The diagram illustrates a routing power control device according to an embodiment of this application, which may specifically include a duty cycle acquisition module 901, a signal strength acquisition module 902, and a routing power adjustment module 903, wherein:
[0101] The duty cycle acquisition module 901 is used to acquire the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located if a preset power adjustment trigger condition is met; the duty cycle is used to indicate the degree of overlap of wireless signals transmitted by multiple second routing devices in the channel; the multiple routing devices include a first routing device and at least one second routing device connected to the first routing device.
[0102] The signal strength acquisition module 902 is used to acquire the signal strength of the wireless signal received by each downstream terminal if the duty cycle is greater than a preset percentage threshold; the multiple downstream terminals are terminals using the current second route.
[0103] The routing power adjustment module 903 is used to adjust the routing power of the second routing device based on preset configuration information if the signal strength of each of the downstream terminals is greater than a preset strength threshold.
[0104] The duty cycle acquisition module 901 can also be used to determine that the second routing device meets the preset power adjustment triggering condition if the second routing device receives configuration information sent by the first routing device.
[0105] The duty cycle acquisition module 901 can also be used to maintain the current routing power of the second routing device if the duty cycle is less than or equal to a preset percentage threshold, until the second routing device receives the configuration information sent by the first routing device.
[0106] The signal strength acquisition module 902 can also be used to maintain the current routing power of the second routing device if the signal strength of any of the downstream terminals is less than or equal to a preset signal strength threshold, until the second routing device receives the configuration sent by the first routing device.
[0107] The routing power adjustment module 903 can also be used to decompress the configuration information and obtain the power suppression information in the configuration information; the power suppression information is generated by the first routing device after determining the link signal strength of the second routing device, based on the link signal strength and a preset power suppression relationship; the routing power of the second routing device is adjusted according to the power suppression information.
[0108] The routing power adjustment module 903 can also be used to obtain a control interface configuration script; run the control interface configuration script to write the power control interface information into the configuration file of the second routing device to generate a power control interface in the second routing device; the power control interface is used to monitor whether the received packets carry power suppression information, and adjust the routing power of the second routing device when the power suppression information is present.
[0109] The routing power adjustment module 903 can also be used to generate end information; the end information is used to indicate that the second routing device has completed power control according to the power suppression information; and the end information is sent to the first routing device.
[0110] As the apparatus embodiments are basically similar to the method embodiments, they are described in a relatively simple manner. For relevant details, please refer to the description in the method embodiment section.
[0111] Reference Figure 10 The diagram illustrates a terminal device provided in an embodiment of this application. Figure 10As shown, the terminal device 1000 in this embodiment includes: a processor 1010, a memory 1020, and a computer program 1021 stored in the memory 1020 and executable on the processor 1010. When the processor 1010 executes the computer program 1021, it implements the steps of the various embodiments of the routing power control method described above, for example... Figure 3 The steps S301 to S303 are shown. Alternatively, when the processor 1010 executes the computer program 1021, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 9 The functions of modules 901 to 903 are shown.
[0112] For example, the computer program 1021 can be divided into one or more modules / units, which are stored in the memory 1020 and executed by the processor 1010 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which can be used to describe the execution process of the computer program 1021 in the terminal device 1000. For example, the computer program 1021 can be divided into a duty cycle acquisition module, a signal strength acquisition module, and a routing power adjustment module, with the specific functions of each module as follows:
[0113] The duty cycle acquisition module is used to acquire the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located if a preset power adjustment trigger condition is met; the duty cycle is used to represent the degree of overlap of wireless signals transmitted by multiple second routing devices in the channel; the multiple routing devices include a first routing device and at least one second routing device connected to the first routing device;
[0114] The signal strength acquisition module is used to acquire the signal strength of the wireless signal received by each downstream terminal if the duty cycle is greater than a preset percentage threshold; the multiple downstream terminals are terminals using the current second route.
[0115] The routing power adjustment module is used to adjust the routing power of the second routing device based on preset configuration information if the signal strength of each of the downstream terminals is greater than a preset strength threshold.
[0116] The terminal device 1000 may be the first routing device or the second routing device in the foregoing embodiments. The terminal device 1000 may include, but is not limited to, a processor 1010 and a memory 1020. Those skilled in the art will understand that... Figure 10This is merely one example of terminal device 1000 and does not constitute a limitation on terminal device 1000. It may include more or fewer components than shown, or combine certain components, or different components. For example, terminal device 1000 may also include input / output devices, network access devices, buses, etc.
[0117] The processor 1010 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0118] The memory 1020 can be an internal storage unit of the terminal device 1000, such as a hard disk or memory of the terminal device 1000. The memory 1020 can also be an external storage device of the terminal device 1000, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the terminal device 400. Furthermore, the memory 1020 can include both internal and external storage units of the terminal device 1000. The memory 1020 is used to store the computer program 1021 and other programs and data required by the terminal device 1000. The memory 1020 can also be used to temporarily store data that has been output or will be output.
[0119] This application also discloses a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the routing power control method as described in the foregoing embodiments.
[0120] This application also discloses a computer-readable storage medium storing a computer program that, when executed by a processor, implements the routing power control method as described in the foregoing embodiments.
[0121] This application also discloses a computer program product that, when run on a computer, causes the computer to execute the routing power control method described in the foregoing embodiments.
[0122] The embodiments described above are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for controlling routing power, characterized in that, Applied to second routing devices, including: If the preset power adjustment trigger condition is met, the duty cycle of the channel in which the wireless signal transmitted by the second routing device is located is obtained; the duty cycle is used to indicate the degree of overlap of the wireless signals transmitted by multiple second routing devices in the channel; the multiple routing devices include a first routing device and at least one second routing device connected to the first routing device; If the duty cycle is greater than the preset percentage threshold, the signal strength of the wireless signal received by each downstream terminal is obtained; the multiple downstream terminals are terminals using the current second routing device. If the signal strength of each of the connected terminals is greater than the preset strength threshold, the routing power of the second routing device is adjusted based on the configuration information. The routing power of the second routing device includes the uplink power of the connected terminals and the power of the second routing device itself. Also includes: The uplink power of each of the downstream terminals is limited by sending uplink power adjustment frames to each of the downstream terminals.
2. The control method according to claim 1, characterized in that, The condition that the preset power adjustment triggering condition is met includes: If the second routing device receives configuration information sent by the first routing device, it is determined that the second routing device meets the preset power adjustment trigger condition.
3. The control method according to claim 2, characterized in that, After obtaining the duty cycle of the channel where the wireless signal transmitted by the second routing device is located, the method further includes: If the duty cycle is less than or equal to a preset percentage threshold, the current routing power of the second routing device is maintained until the second routing device receives the configuration information sent by the first routing device.
4. The control method according to claim 2, characterized in that, After obtaining the signal strength of multiple downstream terminals, the process also includes: If the signal strength of any of the connected terminals is less than or equal to a preset signal strength threshold, the current routing power of the second routing device is maintained until the second routing device receives the configuration sent by the first routing device.
5. The control method according to any one of claims 2-4, characterized in that, The configuration information includes power suppression information, and adjusting the routing power of the second routing device includes: The configuration information is decompressed to obtain the power suppression information in the configuration information; the power suppression information is generated by the first routing device after determining the link signal strength of the second routing device, based on the link signal strength and a preset power suppression relationship; The routing power of the second routing device is adjusted according to the power suppression information.
6. The method according to claim 5, characterized in that, Before adjusting the routing power of the second routing device according to the power suppression information, the following steps are included: Obtain the control interface configuration script; Run the control interface configuration script to write the power control interface information into the configuration file of the second routing device to generate a power control interface in the second routing device; the power control interface is used to monitor whether the received packets carry power suppression information, and adjust the routing power of the second routing device when power suppression information is present.
7. The method according to claim 5, characterized in that, After adjusting the routing power of the second routing device according to the power suppression information, the process includes: Generate termination information; the termination information is used to indicate that the second routing device has completed power control based on the power suppression information; The termination information is sent to the first routing device.
8. A method for controlling routing power, characterized in that, The routing power control method according to claim 1, applied to a first routing device, includes: If it is determined that the second routing device meets the preset power adjustment trigger condition, then the link signal strength of the second routing device is obtained; the second routing device is a routing device connected to the first routing device; Configuration information regarding the link signal strength is generated based on a preset power suppression relationship; the configuration information is used to adjust the routing power of the second routing device. The configuration information is sent to the second routing device.
9. A routing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the routing power control method as described in any one of claims 1-7 or the routing power control method as described in claim 8.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the routing power control method as described in any one of claims 1-7 or the routing power control method as described in claim 8.
Citation Information
Patent Citations
Internet of Things router signal coverage overlapping prevention method based on automatic signal intensity adjustment
CN114915979A