Bluetooth-based ad hoc network intelligent device control system and method

By dividing the smart home environment into node areas and selecting regional master nodes and update relay nodes, the problem of low control efficiency of smart devices in large spaces is solved, and more efficient data transmission and device control are achieved.

CN120897249BActive Publication Date: 2026-03-03NINGBO XIAOJIANG ELECTRONICS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing technologies that transmit data directly to various smart devices via gateways are inefficient, leading to network congestion and transmission delays, especially in large-scale environments where the number of devices increases, thus increasing the network burden.

Method used

By collecting the rated power and signal strength of device nodes in the smart home environment, node areas are divided, regional master nodes and update relay nodes are selected, and self-organizing network control is carried out based on information carrying capacity, location distribution and link status.

Benefits of technology

It improves data transmission efficiency during the control of intelligent devices, reduces network traffic, optimizes network communication, and enhances device control performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120897249B_ABST
    Figure CN120897249B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of communication control, in particular to a Bluetooth-based self-organizing network intelligent device control system and method. First, node areas are divided, and then, according to the information bearing capacity, position distribution and link state performance of each device node in each node area, a regional master node capable of bearing the processing of all intelligent device nodes related information in the node area is screened out; and based on the link state performance and information bearing capacity of the device nodes in the historical relay node neighborhood, an update relay node capable of bearing the communication path construction role is determined; further, the regional master node and the update relay node jointly control the intelligent device, so as to improve the data transmission efficiency in the intelligent device control process, and make the control effect on the intelligent device better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication control technology, and more specifically to a Bluetooth-based self-organizing network intelligent device control system and method. Background Technology

[0002] With the development of technology, the concept of "Internet of Everything" is constantly being mentioned and realized, mainly in areas such as smart homes, smart lighting, and industrial automation. In the current smart home network environment, Bluetooth communication protocol is often used to facilitate information exchange between smart devices, ensuring interconnection and collaborative control between devices within a sufficiently large physical coverage area. This meets the communication needs of multi-device scenarios, thereby achieving intelligent control of devices.

[0003] Existing technologies typically control smart devices by directly transmitting data between the gateway and the smart device. However, in large environments, data generated during the control process of smart devices needs to travel long distances. When data is transmitted between smart devices, the gateway must handle the connection of a massive number of devices, data aggregation, and inefficient long-distance transmission requests. At the same time, the gateway interface and computing resource requirements increase linearly with the increase of devices, causing network congestion and transmission delays. This makes the existing method of directly transmitting data between the gateway and each smart device inefficient, resulting in poor control of self-organizing network smart devices. Summary of the Invention

[0004] To address the inefficiency of existing methods that directly transmit data between gateways and various smart devices, this application aims to provide a Bluetooth-based self-organizing network smart device control system and method. The specific technical solution adopted is as follows:

[0005] The first aspect of this application provides a Bluetooth-based self-organizing network smart device control method, comprising:

[0006] In a smart home device environment, the rated power of each device node and the signal strength at each sampling time are collected; among them, all device nodes include the historical relay node corresponding to the current time; based on the spatial distribution of all device nodes, all device nodes are divided into at least two node regions;

[0007] Within the current time window, the information carrying capacity value is determined based on the data transmission stability and rated power of the corresponding device for each device node; the node reliability is determined based on the proximity of each device node to the location center in each node region and the information carrying capacity value; and the link status performance value is determined based on the information load and overall signal strength of each device node.

[0008] Based on the node reliability and the link status performance value, determine the regional master node for each node region; based on the corresponding link status performance value and information carrying capacity value of each historical relay node's neighboring device nodes, determine the update relay node for each historical relay node.

[0009] Control of self-organizing network intelligent devices is performed based on the regional master node and update relay node.

[0010] Furthermore, the process of obtaining the node region includes:

[0011] Based on the room area, all device nodes are divided into regions, and the node areas corresponding to all device nodes in each room area are determined.

[0012] Furthermore, the process of obtaining the information carrying capacity value includes:

[0013] Within the current time window, calculate the product of bandwidth utilization and throughput for each device node to determine the data transmission capacity value; obtain the number of network outages for each device node during the testing phase; and determine the data transmission stability of each device node based on the product of the negative correlation mapping value of the number of network outages and the data transmission capacity value.

[0014] The information carrying capacity value of each device node is determined by multiplying the rated power of each device node with the data transmission stability.

[0015] Furthermore, the process of obtaining the node reliability includes:

[0016] Each device node is designated as the target node in turn; within the node region where the target node is located, other device nodes outside the target node are designated as reference nodes.

[0017] The reference distance of each reference node is determined based on the Euclidean distance between each reference node and the target node;

[0018] The overall distance value is determined based on the mean of the reference distances of all reference nodes; the distance dispersion is determined based on the variance of the reference distances of all reference nodes; and the product of the overall distance and the distance dispersion is negatively correlated to determine the distance weight of the target node.

[0019] The reliability of the corresponding node is determined by multiplying the information carrying capacity value of the target node with the distance weight.

[0020] Furthermore, the process of obtaining the link state performance value includes:

[0021] The normalized value of the total number of forwarded messages for each device node within the current time window is used as the corresponding information load level; the average CPU utilization of each device node at all sampling moments within the current time window is used to determine the corresponding CPU load level; the average signal strength of each device node at all sampling moments within the current time window is normalized to determine the corresponding signal performance characteristic value.

[0022] The product of the information load level and the CPU load level is negatively correlated to determine the device load weight of each device node; the product of the device load weight and the signal performance characteristic value is normalized to determine the link state performance value of each device node.

[0023] Furthermore, the process of obtaining the regional master node includes:

[0024] In each node region, all device nodes whose link status performance values ​​are greater than a preset performance threshold are selected as preferred nodes; the preferred node with the highest node reliability is selected as the region master node in each node region.

[0025] Furthermore, the process of obtaining the updated relay node includes:

[0026] Each historical relay node is used as the target relay node in turn;

[0027] When the link status performance value of the target relay node is greater than the preset performance threshold, the target relay node is used as its corresponding update relay node.

[0028] When the link status performance value of the target relay node is less than the preset performance threshold, the preset number of device nodes that are closest to each historical relay node are taken as nodes to be analyzed.

[0029] Based on the information carrying capacity value and link status performance value of each node to be analyzed, the corresponding update performance value is determined; the node to be analyzed with the largest update performance value is selected as the update relay node of the target relay node.

[0030] Furthermore, the process of obtaining the updated performance value includes:

[0031] The corresponding update performance value is determined by multiplying the information carrying capacity value and the link status performance value of each node to be analyzed.

[0032] Furthermore, the process of controlling the self-organizing network intelligent device based on the regional master node and the update relay node includes:

[0033] After replacing the corresponding historical relay node with each updated relay node, the self-organizing network intelligent device is controlled in conjunction with the regional master node.

[0034] Secondly, this application provides a Bluetooth-based self-organizing network smart device control system, the system comprising:

[0035] The data acquisition and preprocessing module is used to collect the rated power of each device node and the signal strength at each sampling time in a smart home device environment; among them, all device nodes include the historical relay node corresponding to the current time; based on the spatial distribution of all device nodes, all device nodes are divided into at least two node regions;

[0036] The parameter determination module is used to determine the information carrying capacity value within the current time window based on the data transmission stability and rated power of the corresponding device for each device node; determine the corresponding node reliability based on the proximity of the location center of each device node in each node area and the information carrying capacity value; and determine the corresponding link status performance value based on the information load and overall signal strength of each device node.

[0037] The node determination module is used to determine the regional master node of each node area based on the node reliability and the link status performance value; and to determine the update relay node of each historical relay node based on the corresponding link status performance value and information carrying capacity value of each device node adjacent to each historical relay node.

[0038] The device control module is used to control the self-organizing network intelligent devices based on the regional master node and update relay node.

[0039] Thirdly, this application provides a computer device including a memory and a processor. The memory is used to store computer program code, and the processor is used to call and run the computer program code from the memory to perform the method as described in the first aspect of this application or any embodiment of the first aspect.

[0040] Fourthly, this application provides a computer program product comprising computer program code, which, when executed, performs the method as described in the first aspect of this application or any embodiment thereof.

[0041] Fifthly, this application provides a computer-readable storage medium that stores computer program code, which, when executed, performs the method as described in the first aspect of this application or any embodiment thereof.

[0042] This application has the following beneficial effects:

[0043] This invention primarily analyzes the transmission status of key nodes during the control and operation of intelligent devices. Compared to data transmission between intelligent devices and gateways, this invention first divides nodes into regions, and then, based on the information carrying capacity, location distribution, and link status of each device node in each region, selects a regional master node capable of handling the relevant information of all intelligent device nodes within its region. Furthermore, based on the link status and information carrying capacity of device nodes in the neighboring historical relay nodes, it determines an update relay node capable of constructing communication paths. Finally, the regional master node and the update relay node work together to control the intelligent device, thereby improving data transmission efficiency during the intelligent device control process and resulting in better control of the intelligent device. Attached Figure Description

[0044] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, 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 the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 A flowchart illustrating a Bluetooth-based self-organizing network smart device control method according to an embodiment of the present invention;

[0046] Figure 2 This is a structural diagram of a Bluetooth-based self-organizing network smart device control system provided in one embodiment of the present invention;

[0047] Figure 3 This is a schematic diagram of a computer device structure provided in one embodiment of the present invention. Detailed Implementation

[0048] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of a Bluetooth-based self-organizing network intelligent device control system and method proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment, and specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature.

[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0050] The following description, in conjunction with the accompanying drawings, details a specific solution for a Bluetooth-based self-organizing network intelligent device control system and method provided by the present invention.

[0051] This application provides a Bluetooth-based self-organizing network smart device control method. Please refer to [link to relevant documentation]. Figure 1 The diagram illustrates a flowchart of a Bluetooth-based self-organizing network smart device control method according to an embodiment of the present invention. The method includes:

[0052] Step S101: In the smart home device environment, collect the rated power of each device node and the signal strength at each sampling time; wherein, all device nodes include the historical relay node corresponding to the current time; according to the spatial distribution of all device nodes, divide all device nodes into at least two node regions.

[0053] This application primarily analyzes the data transmission control of smart home devices in large-space environments, aiming to optimize data communication between various smart home devices to ensure their normal operation. Based on the Bluetooth communication protocol, it intelligently controls the role of each smart home device node in the network and the data transmission path, thereby helping to optimize data communication between nodes.

[0054] In one specific implementation of this invention, each smart home device is used as a device node. The rated power of each smart home device is collected to determine the rated power of the corresponding device node. The user powers on each smart home device in the large space, and the smart home devices enter an active state. They then periodically broadcast beacon frames containing their unique identifier, device type, Received Signal Strength Indication (RSSI) and CPU utilization at each sampling time, as well as bandwidth utilization, throughput, and total number of forwarded messages within the current time window. The gateway continuously scans and listens for the broadcasts of the active smart home devices. After receiving the broadcasts, the gateway records all the information and processes it as collected data, treating each smart home device as a device node during processing. It should be noted that the current time window is set to within 5 minutes before the current moment, and in this embodiment of the invention, the current moment is the time for adjusting and updating the relay node and the regional master node. The adjustment time interval is set to 5 minutes, and the sampling frequency is set to once every 10 seconds, which can be adjusted according to the specific implementation environment.

[0055] In one specific implementation of this invention, before device control is performed, the data transmission of each device node is tested simultaneously during the testing phase to determine the number of network outages during the testing phase; wherein, the duration of the testing phase is set to 1 hour, which can be adjusted according to the specific implementation environment.

[0056] Furthermore, in this embodiment of the invention, the historical relay node at the current moment is the updated relay node obtained during the last node adjustment before the current moment. That is, after obtaining the updated relay node at the current moment, the obtained updated relay node is used as the historical relay node for the next node adjustment. It should be noted that, considering that the historical relay node cannot be determined during the first adjustment, the historical relay node during the first adjustment in this embodiment of the invention is set as the regional master node during the first adjustment.

[0057] In a topology network composed of multiple intelligent devices, data transmission typically involves forwarding data from each node to the next-hop node to reach the target location in order to achieve intelligent control of the devices. During this process, each intelligent device needs to be monitored by the gateway. However, due to the large number of device nodes in the network, the gateway may experience network congestion and computational overload when monitoring all device nodes, thus affecting the transmission of data generated by the intelligent devices. By setting up regional master nodes within the intelligent devices, the performance pressure on the gateway can be effectively alleviated, network traffic reduced, and data transmission and communication optimized, thus facilitating better control of the intelligent devices. In large spatial environments, intelligent devices are generally distributed across multiple room areas (e.g., different devices are distributed in living rooms, bedrooms, etc.). Firstly, based on the location relationships of the active device nodes in the network, the network is divided into regions.

[0058] Preferably, in a specific implementation of the present invention, all device nodes are divided into regions based on room areas, and the node areas corresponding to all device nodes in each room area are determined. That is, the node areas are divided in units of room areas. Furthermore, a corresponding area master node is selected in each node area to help the gateway manage the smart devices in the area, thereby improving the efficiency of network configuration and status collection.

[0059] Step S102: Within the current time window, determine the information carrying capacity value based on the data transmission stability and rated power of the corresponding device for each device node; determine the corresponding node reliability based on the proximity of the location center of each device node in each node area and the information carrying capacity value; and determine the corresponding link status performance value based on the information load and overall signal strength of each device node.

[0060] For each node region, in order for the region master node to better fulfill its responsibilities such as receiving gateway commands and monitoring the status of various smart devices within the region, it is usually a device with strong data processing capabilities, a relatively central location, or a good signal (such as smart speakers, high-power lighting fixtures, and air conditioner controllers). Therefore, by further combining the capabilities of each device node within the region, the device corresponding to the region master node is dynamically selected. For each device node, the stronger and more stable its data transmission capability, the stronger its information carrying capacity, and the more suitable it is to serve as the region master node for that region. Therefore, within the current time window, the information carrying capacity value is determined based on the data transmission stability and rated power of each device node's corresponding device.

[0061] Preferably, in some possible implementations of the embodiments of the present invention, the process of obtaining the information carrying capacity value includes:

[0062] Within the current time window, the product of bandwidth utilization and throughput for each device node is calculated to determine its data transmission capacity. The number of network outages for each device node during the testing phase is obtained. The data transmission stability of each device node is determined based on the product of the negative correlation mapping value of the number of network outages and its data transmission capacity. The information carrying capacity of each device node is determined based on the product of its rated power and data transmission stability. It should be noted that, in this embodiment of the invention, the device node refers by default to the smart home device corresponding to that device node, and will not be further elaborated upon here.

[0063] For each device node, according to the definitions of bandwidth utilization and throughput, a higher bandwidth utilization and throughput indicate a stronger data transmission capability. Conversely, a higher data transmission capability coupled with fewer network outages indicates stronger transmission stability. Furthermore, a higher power rating for the device node typically corresponds to more powerful hardware resources and stronger data processing capabilities. Therefore, based on data transmission stability, a more accurate information carrying capacity value can be determined for each device node by combining it with its rated power.

[0064] In one specific implementation of this invention, the process of obtaining the information carrying capacity value is expressed by the following formula: ;in, For the first The information carrying capacity value of each device node within the current time window; For the first The bandwidth utilization rate of the devices corresponding to each device node within the current time window; For the first The throughput of the devices corresponding to each device node within the current time window; For the first Data transmission capability value of each device node; For the first The number of times each device node experienced network outages during the testing phase; For the first The rated power of the equipment corresponding to each device node; It is an exponential function with the natural constant as its base; For the first Data transmission stability of each device node.

[0065] When selecting a regional master node, in addition to considering the information carrying capacity of the device node, the location of the device node also needs to be considered. For each device node, the closer it is to other device nodes in its node region, the higher the data transmission efficiency will be. Therefore, based on the proximity of the location center of each device node in each node region and the information carrying capacity value, the reliability of the corresponding node is determined, so that the higher the node reliability, the more suitable it is as the regional master node in the corresponding region.

[0066] Preferably, in some possible implementations of the embodiments of the present invention, the process of obtaining node reliability includes:

[0067] Each device node is sequentially designated as the target node; within the node region where the target node is located, other device nodes outside the target node are designated as reference nodes; the reference distance of each reference node is determined based on the Euclidean distance between each reference node and the target node; the overall distance value is determined based on the mean of the reference distances of all reference nodes; and the degree of distance dispersion is determined based on the variance of the reference distances of all reference nodes.

[0068] To ensure efficient data transmission for other smart devices within the region and balance network load, the regional master node should typically be located at the center of the region. This means the distance between the gateway node and other smart devices should be as short and evenly distributed as possible. In other words, the smaller the overall distance and the lower the distance dispersion, the more likely the target node is to be centrally located and thus the higher its probability of being a regional master node. Therefore, a negative correlation is applied to the product of the overall distance and the distance dispersion to determine the distance weight of the target node. A larger distance weight increases the likelihood that the corresponding device node is a regional master node. Furthermore, combining the information carrying capacity value with the product of the target node's information carrying capacity value and the distance weight determines the node's reliability. A higher node reliability increases the likelihood that it is a regional master node.

[0069] In one specific implementation of this invention, the process of obtaining node reliability is expressed by the formula: ;in, For the first Node reliability of each device node; For the first The average of the reference distances of all reference nodes corresponding to the nth device node, i.e., the nth... The overall distance value corresponding to each device node; For the first The variance of the reference distances of all reference nodes corresponding to the nth device node, i.e., the variance of the reference distances of the nth device node. The degree of distance dispersion corresponding to each device node; It is a linear normalization function; For the first Distance weights corresponding to each device node.

[0070] The reliability of nodes is analyzed from two aspects: the information carrying capacity of the device nodes and the spatial proximity of their centers. Further, to determine a more accurate regional master node, the impact of link status performance is considered. For each device node, if its information load is too high and its overall signal strength is low within the current time window, it indicates that the device node may be approaching its capacity and is therefore no longer suitable for participating in the selection of a regional master node. Therefore, this embodiment of the invention further determines the corresponding link status performance value based on the information load and overall signal strength of each device node. The smaller the link status performance value, the worse the link status performance of the corresponding device node, and the less suitable it is for participating in the selection of a regional master node.

[0071] Preferably, in some possible implementations of the embodiments of the present invention, the process of obtaining the link state performance value includes:

[0072] The normalized value of the total number of forwarded messages for each device node within the current time window is used as the corresponding information load level; the average CPU utilization of each device node at all sampling moments within the current time window is used to determine the corresponding CPU load level; the average signal strength of each device node at all sampling moments within the current time window is normalized to determine the corresponding signal performance characteristic value; and a negative correlation mapping is applied to the product of information load level and CPU load level to determine the device load weight of each device node. It should be noted that, unless otherwise specified, all normalization methods in this embodiment of the invention employ linear normalization.

[0073] For each device node, a higher total number of forwarded messages (i.e., a higher information load) within the current time window indicates a higher information load. Similarly, a higher overall CPU utilization within the current time window indicates a higher CPU load, making the corresponding device node more likely to reach its device load. Therefore, a higher CPU load and higher information load indicate a higher overall information load for the corresponding device node, making it more likely to reach its device load. Thus, a higher device load weight indicates a less suitable device node for participating in the selection of the regional master node, and the corresponding link status performance value should be lower. Furthermore, signal strength directly reflects the link status performance of a device node in terms of information reception capability; therefore, a higher signal strength characteristic value corresponds to a higher link status performance value. Therefore, by further combining the device load weight and signal strength characteristic value, and normalizing the product between them, the link status performance value for each device node is determined. This results in a lower link status performance value indicating a worse link status performance for the corresponding device node, making it less suitable for participating in the selection of the regional master node.

[0074] Preferably, in a specific implementation of this invention, the process of obtaining the link state performance value is expressed by the following formula: ;in, For the first Link status performance values ​​of each device node; For the first The normalized value of the total number of messages forwarded by a device node within the current time window, which is also the corresponding information load level; For the first The average CPU utilization of each device node at all sampling times within the current time window, which is also the corresponding CPU load level; It is an exponential function with the natural constant as its base; For the first Device load weight of each device node; For the first The normalized value of the mean signal strength of each device node at all sampling times within the current time window, which is also the corresponding signal performance characteristic value. This is a linear normalization function; normalizing each parameter can reduce the influence of dimensions on the calculation process, improve the robustness of the calculation process, and normalize the link state performance value can make the subsequent threshold division process more accurate. This will not be elaborated further here.

[0075] Step S103: Determine the regional master node for each node area based on node reliability and link status performance values; determine the update relay node for each historical relay node based on the corresponding link status performance values ​​and information carrying capacity values ​​of each device node adjacent to each historical relay node.

[0076] Since a low link status value makes a node less suitable for selection as a regional master node, and node reliability indicates the likelihood that the corresponding device node belongs to the regional master node, the regional master node for each node region is further determined based on node reliability and link status value.

[0077] Preferably, in some possible implementations of the embodiments of the present invention, the process of obtaining the regional master node includes: in each node region, all device nodes whose link status performance value is greater than a preset performance threshold are selected as preferred nodes; in a specific implementation of the embodiments of the present invention, the preset performance threshold is set to 0.3, that is, when the link status performance value is less than or equal to 0.3, it indicates that the corresponding device node is not suitable for participating in the selection of the regional master node, so preferred nodes are selected for further determination of the regional master node; and the greater the node reliability, the more likely it is to be the regional master node; therefore, combined with the characteristic that each node region has only one regional master node, the preferred node with the highest node reliability is selected as the regional master node in each node region.

[0078] After selecting the regional master node, it's necessary to consider the data transmission between the "gateway," "regional master node," and "smart device" when issuing commands to the smart device to achieve device control. However, in the network, data transmission during smart device control is not direct point-to-point transmission but is forwarded through relay nodes. Therefore, in subsequent multi-node data transmission hops, new relay nodes (i.e., the nodes hopped between the master node and another regional master node) need to be determined to facilitate data transmission. It should be noted that the regional master node can also be selected as a relay node.

[0079] Historical relay nodes are device nodes that functioned as relay nodes before the current time. Considering changes in the network environment, corresponding historical relay nodes may no longer be suitable as relay nodes, thus requiring the selection of new relay nodes. Furthermore, considering that significant changes in relay node location may affect data transmission stability, updated relay nodes are selected near historical relay nodes to ensure stable and efficient data transmission. Since link state performance values ​​characterize information forwarding capabilities, they can be used as parameters to determine updated relay nodes. Information carrying capacity characterizes data processing capabilities; therefore, device nodes with higher information carrying capacity ensure efficient data transmission when used as relay nodes. This embodiment of the invention further determines the updated relay node for each historical relay node based on the corresponding link state performance values ​​and information carrying capacity values ​​of the device nodes adjacent to each historical relay node.

[0080] Preferably, in some possible implementations of this invention, the process of obtaining the updated relay node includes:

[0081] Each historical relay node is sequentially designated as a target relay node. When the link status performance value of a target relay node exceeds a preset performance threshold, the target relay node is designated as its corresponding update relay node. Firstly, if the link status value of a target relay node exceeds the preset performance threshold, it indicates that the link status performance, as shown by the information load and signal strength, is acceptable, and it still possesses the ability to continue functioning as a relay node. Therefore, its relay node status is not changed, and it continues to function as an update relay node.

[0082] When the link status performance value of the target relay node is less than the preset performance threshold, it indicates that the information load of the target relay node is high, the device load may be close to the upper limit, and the link status performance is poor. If it continues to serve as a relay node, it may lead to slow data transmission and reduced efficiency of device control changes. Therefore, it is necessary to select a new relay node. The preset number of device nodes closest to each historical relay node are selected as nodes to be analyzed.

[0083] Since the link state performance value of a device node can characterize its information forwarding capability, and the information carrying capacity can characterize its data processing capability, the larger the link state performance value and the larger the information carrying capacity of the node to be analyzed, the higher its suitability as a relay node in terms of both information forwarding and data processing. Therefore, based on the information carrying capacity value and link state performance value of each node to be analyzed, the corresponding update performance value is determined. Specifically, the update performance value is determined by the product between the information carrying capacity value and the link state performance value of each node to be analyzed, so that the larger the update performance value, the more suitable it is as an update relay node.

[0084] Since the target relay node can only select one device node as the update relay node, among all the nodes to be analyzed corresponding to the target node, the node with the largest update performance value is selected as the update relay node of the target relay node.

[0085] Step S104: Control the self-organizing network intelligent devices based on the regional master node and update relay node.

[0086] Through the analysis in steps S102 and S103, all regional master nodes and update relay nodes are determined; finally, ad hoc intelligent device control is performed based on these nodes. Preferably, in some possible implementations of this invention, the process of controlling ad hoc intelligent devices based on regional master nodes and update relay nodes includes:

[0087] After replacing the corresponding historical relay node with each updated relay node (i.e., replacing each historical relay node with the corresponding updated relay node), the self-organizing network intelligent device control is performed in conjunction with the regional master node. Specifically: the gateway sends instructions to relevant devices to update their roles (set or cancel relay function), and at the same time, the gateway updates the internal network topology; the gateway maintains a heartbeat connection with the regional master node and the updated relay node to monitor their online status, and the regional master node monitors the status of other device nodes in the region. Device offline or abnormal will be reported to the gateway, and the gateway can trigger the device. If it is determined to be temporarily offline, it will wait; if it is offline for a long time, it will be marked as faulty or not configured.

[0088] In summary, a Bluetooth-based ad hoc smart device control method first divides the network into node regions. Then, based on the information carrying capacity, location distribution, and link status of each device node in each region, it selects a regional master node capable of handling information related to all smart device nodes within its region. Next, based on the link status and information carrying capacity of device nodes in the neighboring historical relay nodes, it determines an update relay node capable of constructing communication paths. Finally, it combines the regional master node and the update relay node to jointly control the smart devices, thereby improving data transmission efficiency during the smart device control process and resulting in better control of the smart devices.

[0089] This application also provides a Bluetooth-based self-organizing network smart device control system; please refer to [link / reference]. Figure 2 The diagram illustrates a structure of a Bluetooth-based self-organizing network smart device control system according to an embodiment of the present invention. The system includes: a data acquisition and preprocessing module 201, a parameter determination module 202, a node determination module 203, and a device control module 204.

[0090] The data acquisition and preprocessing module 201 is used to acquire the rated power of each device node and the signal strength at each sampling time in a smart home device environment; wherein, all device nodes include the historical relay node corresponding to the current time; and according to the spatial distribution of all device nodes, all device nodes are divided into at least two node regions.

[0091] The parameter determination module 202 is used to determine the information carrying capacity value based on the data transmission stability and rated power of the corresponding device for each device node within the current time window; determine the corresponding node reliability based on the proximity of the location center of each device node in each node area and the information carrying capacity value; and determine the corresponding link status performance value based on the information load and overall signal strength of each device node.

[0092] The node determination module 203 is used to determine the regional master node of each node area based on the node reliability and link status performance value; and to determine the update relay node of each historical relay node based on the corresponding link status performance value and information carrying capacity value of each device node adjacent to each historical relay node.

[0093] The device control module 204 is used to control the self-organizing network intelligent devices based on the regional master node and the update relay node.

[0094] It should be noted that the system provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. In addition, the Bluetooth-based self-organizing network intelligent device control system and the Bluetooth-based self-organizing network intelligent device control method embodiment provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiment, which will not be repeated here.

[0095] This application also provides a computer device; please refer to [link / reference]. Figure 3 The illustration shows a schematic diagram of a computer device structure according to an embodiment of the present invention. The computer device includes a memory 301, a processor 302, and a computer program 303 stored in the memory 301 and running on the processor 302. When the processor 302 executes the computer program 303, the computer device can execute any of the Bluetooth-based self-organizing network smart device control methods described above.

[0096] This application also provides a computer program product that, when run on a computer device, enables the computer device to execute any of the Bluetooth-based self-organizing network smart device control methods described above.

[0097] This application also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer device, the computer device can execute any of the Bluetooth-based self-organizing network smart device control methods described above.

[0098] In the embodiments provided in this application, it should be understood that the computer device, computer program product and computer-readable storage medium provided are all used to perform the corresponding methods provided above, and therefore the beneficial effects they can achieve can be referred to the beneficial effects of the methods provided above, which will not be repeated here.

[0099] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0100] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

Claims

1. A Bluetooth-based self-organizing network intelligent device control method, characterized in that, The method comprises: In the smart home device environment, the rated power of each device node and the signal strength at each sampling time are collected; wherein all device nodes include historical relay nodes corresponding to the current time; according to the spatial distribution of all device nodes, all device nodes are divided into at least two node regions; In the current time window, the information carrying capacity value is determined according to the data transmission stability of each device node corresponding device and the rated power; the node reliability corresponding to each node region is determined according to the position center approximation of each device node in each node region and the information carrying capacity value; the link state performance value corresponding to each device node is determined according to the information load and the overall size of the signal strength; According to the node reliability and the link state performance value, the region master node of each node region is determined; according to the corresponding link state performance value and information carrying capacity value of each device node adjacent to each historical relay node, the update relay node of each historical relay node is determined; The self-organizing network intelligent device control is carried out according to the region master node and the update relay node; The formulas for calculating information carrying capacity include: ;in, For the first The information carrying capacity value of each device node within the current time window; For the first The bandwidth utilization rate of the devices corresponding to each device node within the current time window; For the first The throughput of the devices corresponding to each device node within the current time window; For the first The number of times each device node experienced network outages during the testing phase; For the first The rated power of the equipment corresponding to each device node; It is an exponential function with the natural constant as its base; The calculation formula of the node reliability comprises: ; wherein, is the node reliability of the i-th device node; is the mean value of the reference distances of all the reference nodes corresponding to the i-th device node; is the variance of the reference distances of all the reference nodes corresponding to the i-th device node; is a linear normalization function;​​​ The formulas for calculating link state performance values ​​include: ;in, For the first Link status performance values ​​of each device node; For the first The normalized value of the total number of messages forwarded by each device node within the current time window; For the first The average CPU utilization of each device node at all sampling times within the current time window; For the first The normalized value of the mean signal strength of each device node at all sampling times within the current time window. 2.The Bluetooth-based self-organizing network intelligent device control method according to claim 1, characterized in that, The node region acquisition process comprises: The node regions of all device nodes in each room region are determined according to the region division of all device nodes based on the room region. 3.The Bluetooth-based self-organizing network intelligent device control method of claim 1, wherein, The region master node acquisition process comprises: In each node region, all device nodes with a link state performance value greater than a preset performance threshold value are selected as preferred nodes; the preferred node with the maximum node reliability is selected as the region master node in each node region.

4. The Bluetooth-based self-organizing network intelligent device control method according to claim 1, characterized in that, The update relay node acquisition process comprises: Each historical relay node is sequentially selected as a target relay node; When the link state performance value of the target relay node is greater than a preset performance threshold value, the target relay node is selected as its own corresponding update relay node; When the link state performance value of the target relay node is less than a preset performance threshold value, the preset number of device nodes most adjacent to each historical relay node are selected as analysis nodes; According to the information carrying capacity value and the link state performance value of each analysis node, the corresponding update performance value is determined; the analysis node with the maximum update performance value is selected as the update relay node of the target relay node.

5. The Bluetooth-based self-organizing network intelligent device control method according to claim 4, characterized in that, The update performance value acquisition process comprises: According to the product of the information carrying capacity value and the link state performance value of each analysis node, the corresponding update performance value is determined.

6. The Bluetooth-based self-organizing network intelligent device control method according to claim 1, wherein, The self-organizing network intelligent device control process according to the region master node and the update relay node comprises: After each update relay node replaces the corresponding historical relay node, the self-organizing network intelligent device control is carried out in combination with the region master node.

7. A Bluetooth-based self-organizing network intelligent device control system, characterized in that, The system is used to realize the self-organizing network intelligent device control method based on Bluetooth according to any one of claims 1-6, and the system comprises: The data collection preprocessing module is configured to collect the rated power of each device node and the signal strength at each sampling time in the smart home device environment, wherein all the device nodes include a historical relay node corresponding to the current time; and all the device nodes are divided into at least two node regions according to the spatial distribution of all the device nodes. The parameter determination module is configured to determine an information carrying capacity value according to the data transmission stability of each device node and the rated power of the corresponding device within a current time window; determine a corresponding node reliability according to the position center approximation of each device node in each node region and the information carrying capacity value; and determine a corresponding link state performance value according to the information load of each device node and the overall size of the signal strength. The node determination module is configured to determine a regional master node of each node region according to the node reliability and the link state performance value; and determine an updated relay node of each historical relay node according to the corresponding link state performance value and information carrying capacity value of each device node adjacent to the historical relay node. The device control module is configured to perform self-organizing network intelligent device control according to the regional master node and the updated relay node.

Citation Information

Patent Citations

  • Multi-smart home equipment dynamic ad hoc network construction method

    CN104917656A

  • Communication relay position optimization method and device based on deep reinforcement learning

    CN118590961A