A method, device, apparatus and storage medium for network configuration of a device
By verifying the physical co-location of device scanning lists and wireless signal data, the problem of users having to operate each device individually in the device configuration network was solved, realizing collaborative device configuration, improving configuration efficiency and avoiding erroneous device association.
Patent Information
- Application Number
- CN202611554315.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-09
- Publication Date
- 2026-11-03
AI Technical Summary
In existing equipment distribution network schemes, each device needs to be distributed independently, and users need to operate one by one, which can easily cause confusion and result in low distribution efficiency.
By acquiring the device scan list and the binding declaration information published by the first device in the wireless broadcast frame, physical co-location verification is performed based on wireless signal data to verify whether the devices are actually in the same physical space location, and coordinated network configuration is performed after the verification is passed.
It enables collaborative network configuration in multi-set scenarios without requiring users to manually distinguish the location of devices, avoiding erroneous association of devices across rooms, improving network configuration efficiency and reducing cognitive confusion.
Smart Images

Figure CN123035525A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of equipment network distribution technology in the new generation of information technology industry, and specifically relates to a method, apparatus, electronic device and storage medium for equipment network distribution. Background Technology
[0002] With the rapid development of smart home technologies, a typical scenario involves the home host (gateway) being embedded inside a cabinet air conditioner, with both devices physically co-located. Traditional solutions require each device to be configured independently on the network. Users will see two device hotspots after opening the app, requiring them to operate each one separately, which can easily cause confusion. Some improved solutions pre-set static identifiers on the device side, such as SSID (Service Set Identifier) keywords or device type identifiers in the Beacon frame Vendor IE. The app then performs static filtering, hiding one of the hotspots and only displaying the main device entry.
[0003] In the current backup network solution, each device still needs to be configured independently, and users need to operate one by one, which can easily cause confusion and result in low configuration efficiency. Summary of the Invention
[0004] The purpose of this application is to provide a method, apparatus, device, and storage medium for device network configuration, which can solve the problem that in the current device network configuration scheme, each device still needs to be configured independently, and users need to operate one by one, which can easily cause cognitive confusion and low network configuration efficiency.
[0005] To solve the above-mentioned technical problems, this application provides the following: Firstly, embodiments of this application provide a method for device network configuration, the method comprising: Obtain the device scan list and the binding declaration information published by the first device in the wireless broadcast frame, wherein the binding declaration information is used to indicate the binding relationship between the first device and the second device; If the second device is present in the device scan list, the wireless signal data emitted by the first device and the second device are obtained respectively, and physical co-location verification is performed on the first device and the second device based on the wireless signal data; If the physical co-location verification is successful, collaborative network configuration is performed on the first device and the second device.
[0006] Optionally, before obtaining the binding declaration information and device scan list published by the first device in the radio broadcast frame, the method further includes: The motion state of the mobile terminal is determined, and a scanning sampling strategy is determined based on the motion state information; wherein, the scanning sampling strategy includes a sampling period and a statistical window length, used to acquire the wireless signal data within the statistical window length through the sampling period.
[0007] Optionally, a scanning sampling strategy is determined based on the motion state information, including: When the mobile terminal is stationary, a first sampling period and a first statistical window length are used as the sampling strategy. When the mobile terminal is in a mobile state, a second sampling period and a second statistical window length are used; wherein, the second sampling period is less than the first sampling period, and the second statistical window length is less than the first statistical window length.
[0008] Optionally, the wireless signal data includes Bluetooth signal data and WiFi signal data of the first device and the second device respectively, and the step of performing physical co-location verification on the first device and the second device based on the wireless signal data includes: Perform signal difference verification based on the WiFi signal data; If the signal difference verification passes, the connection distance between the mobile terminal and the first device is determined, and it is determined whether the connection distance meets the preset distance requirement. If the connection distance meets the preset distance requirement, the shell attenuation characteristic verification is performed based on the Bluetooth signal data; If the connection distance does not meet the preset distance requirement, or if the housing attenuation characteristic verification is passed, the angle of arrival difference verification is performed based on the Bluetooth signal data or the WiFi signal data. If the arrival angle difference verification passes, it is determined that the first device and the second device are physically co-located.
[0009] Optionally, performing signal difference verification based on the WiFi signal data includes: Based on the WiFi signal data, a signal strength difference sequence between the first device and the second device is determined, and a statistic of the dispersion of the signal strength difference sequence is determined. If the dispersion statistic is less than a preset intensity difference threshold, the signal difference verification is deemed successful.
[0010] Optionally, determining whether the connection distance meets the preset distance requirement includes: If the connection distance is less than a preset far-field distance threshold, it is determined that the connection distance meets the preset distance requirement; If the connection distance is greater than or equal to the preset far-field distance threshold, it is determined that the connection distance does not meet the preset distance requirement.
[0011] Optionally, performing housing attenuation characteristic verification based on the Bluetooth signal data includes: If the connection distance is less than a preset near-field distance threshold, the difference in Bluetooth reception strength between the first device and the second device is determined based on the Bluetooth signal data, and if the difference in Bluetooth reception strength is within a preset attenuation range, the shell attenuation characteristic verification is confirmed to be successful. When the connection distance is greater than or equal to the preset near-field distance threshold and less than the preset far-field distance threshold, the theoretical Bluetooth reception strength of the second device is determined based on the Bluetooth signal data and the preset attenuation difference of the first device. When the theoretical Bluetooth reception strength of the second device is within the preset reception strength range, the shell attenuation characteristic verification is confirmed to be successful.
[0012] Optionally, performing angle of arrival difference verification based on the Bluetooth signal data or the WiFi signal data includes: Based on the Bluetooth signal data or the WiFi signal data, determine the angle of arrival of the signal between the first device and the second device; Based on the signal angle of arrival, an azimuth difference sequence and an elevation difference sequence are constructed, and the dispersion statistics of the azimuth difference sequence and the elevation difference sequence are determined respectively. If the dispersion statistics of both the azimuth difference sequence and the pitch difference sequence are less than a preset angle threshold, the arrival angle difference is determined to be verified as passed.
[0013] Optionally, determining the angle of arrival between the first device and the second device based on the Bluetooth signal data or the WiFi signal data includes: If the connection distance is less than a preset far-field distance threshold, the signal angles of arrival of the first device and the second device are determined based on the Bluetooth signal data. When the connection distance is greater than or equal to the preset far-field distance threshold, the signal angles of arrival of the first device and the second device are determined based on the WiFi signal data.
[0014] Optionally, the step of performing coordinated network configuration for the first device and the second device after the physical co-location verification is passed includes: Based on the device scan list, a device display list is determined, and if the physical co-location verification is passed, the entry of the second device is hidden in the device display list; In response to the selection operation of the first device access point, a network configuration certificate is issued to the first device and the second device to enable the first device and the second device to access the wireless network.
[0015] Secondly, embodiments of this application provide a device for equipment network distribution, the device comprising: The declaration acquisition module is used to acquire the device scan list and the binding declaration information published by the first device in the wireless broadcast frame, wherein the binding declaration information is used to indicate the binding relationship between the first device and the second device; The co-location determination module is used to, when the second device exists in the device scanning list, respectively obtain the wireless signal data emitted by the first device and the second device, and perform physical co-location verification on the first device and the second device based on the wireless signal data; The distribution network module is used to perform coordinated distribution network for the first device and the second device after the physical co-location verification is passed.
[0016] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0017] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0018] In this embodiment, by obtaining a device scan list and binding declaration information published by the first device in a wireless broadcast frame, the binding declaration information is used to indicate the binding relationship between the first device and the second device. When the second device exists in the device scan list, the wireless signal data emitted by the first device and the second device are obtained respectively. Based on the wireless signal data, physical co-location verification is performed on the first device and the second device. If the physical co-location verification is successful, collaborative network configuration is performed on the first device and the second device. This realizes physical co-location verification through wireless signal data emitted by two smart home devices, eliminating the need for users to manually distinguish device groups in different spatial locations. It allows for independent determination of each group in multi-set scenarios, avoiding misassociation of devices across rooms. At the same time, performing collaborative network configuration on the two devices after the physical co-location verification is successful simplifies the traditional solution of configuring two devices one by one into a single-entry collaborative network configuration, reducing cognitive confusion and improving network configuration efficiency. Attached Figure Description
[0019] To more clearly illustrate the technical solution of this application, the drawings used in the description of this application 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.
[0020] Figure 1 This is a flowchart illustrating the steps of a device network configuration method provided in some embodiments of this application; Figure 2 This is a schematic diagram of an architecture for a multi-device physical co-location silent network provided in some embodiments of this application; Figure 3 This is a schematic diagram illustrating the principle of RSSI difference timing stability provided in some embodiments of this application; Figure 4 This is a schematic diagram of a Bluetooth shell attenuation fingerprint provided in some embodiments of this application; Figure 5 This is an overall flowchart of a device distribution network provided in some embodiments of this application; Figure 6 This is a structural block diagram of a device for network distribution provided in some embodiments of this application; Figure 7 This is a schematic diagram of the hardware structure of an electronic device provided in some embodiments of this application. Detailed Implementation
[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0023] In practical applications, current solutions typically rely directly on the binding relationships declared by the devices and perform hotspot filtering accordingly. However, this approach lacks verification of whether two devices are truly located in the same physical space. When multiple similar devices exist in a home environment, the app struggles to distinguish between device groups in different locations, potentially incorrectly associating devices across rooms based solely on declared information. Furthermore, malicious devices can deceive the filtering logic by forging declaration information, leading to insufficient reliability in physical co-location determinations. Therefore, how to perform physical-layer verification of the binding relationships between devices before network configuration becomes a crucial technical problem that needs to be solved.
[0024] Based on this, the embodiments of this application provide a method for device network configuration. This method can obtain a device scan list and binding declaration information published by a first device in a wireless broadcast frame. If a second device exists in the device scan list, wireless signal data emitted by the first device and the second device are obtained respectively. Based on the wireless signal data, physical co-location verification is performed on the first device and the second device. If the physical co-location verification is successful, collaborative network configuration is performed on the first device and the second device.
[0025] The following description, in conjunction with the accompanying drawings, details a method for device network distribution provided in this application through specific embodiments and application scenarios.
[0026] Reference Figure 1 This document illustrates a flowchart of a device network configuration method according to some embodiments of this application, which may specifically include the following steps: Step 101: Obtain the device scan list and the binding declaration information published by the first device in the wireless broadcast frame. The binding declaration information is used to indicate the binding relationship between the first device and the second device.
[0027] In step 101, the mobile terminal can obtain the device scan list and the binding declaration information published by the first device in the wireless broadcast frame. The binding declaration information is used to indicate the binding relationship between the first device and the second device.
[0028] Specifically, such as Figure 2 As shown, the first device can be a cabinet air conditioner, and the second device can be a home host, i.e., a gateway. The two are physically co-located, meaning the second device is embedded inside the metal casing of the first device. The mobile terminal can be a smartphone with a configuration app installed. The first and second devices are connected via a universal asynchronous receiver / transmitter (UART) and maintain a heartbeat, exchanging their respective radio identifiers. The first device stores the radio identifier of the second device locally and publishes a binding declaration in the vendor-specific information element of the radio broadcast frame.
[0029] The binding declaration information includes the device's WiFi MAC address, the associated host's WiFi MAC address, the device's Bluetooth MAC (Media Access Control) address, the associated host's Bluetooth MAC address, the device type identifier, and the IE version number; any mobile terminal that scans this hotspot can parse the binding declaration information without establishing a WiFi connection.
[0030] As an example, the carrier of the binding declaration information may include at least one of the following: manufacturer-specific information elements in a WiFi Beacon frame or probe response frame, manufacturer-specific data fields in a Bluetooth broadcast packet, a device body QR code, a near-field communication tag, or a binding relationship sent from a cloud server to a mobile terminal.
[0031] It should be further explained that the first device is not limited to cabinet air conditioners, and the second device is not limited to home host units. It can also be extended to any physical co-location combination such as central air conditioning indoor units and gateways, refrigerators and ice-making modules, TVs and audio host units. One first device can be bound to multiple second devices to form a one-to-many co-location determination and batch silent network configuration.
[0032] In some embodiments of this application, before obtaining the binding declaration information and device scan list published by the first device in the wireless broadcast frame, the method further includes: The motion state of the mobile terminal is determined, and a scanning sampling strategy is determined based on the motion state information; wherein, the scanning sampling strategy includes a sampling period and a statistical window length, used to acquire the wireless signal data within the statistical window length through the sampling period.
[0033] Specifically, after the user opens the app, the app first reads data from the mobile terminal's built-in IMU (Inertial Measurement Unit) to determine the motion state. Then, based on the motion state information, it determines a scanning sampling strategy, which includes a sampling period and a statistical window length, used to acquire the wireless signal data within the statistical window length through the sampling period.
[0034] In one example, motion state determination based on IMU can be replaced by motion information sources such as GNSS (Global Navigation Satellite System) speed or pedometer data, or motion state detection can be omitted and a fixed high-density sampling strategy can be used throughout.
[0035] In some embodiments of this application, a scanning sampling strategy is determined based on the motion state information, including: When the mobile terminal is stationary, a first sampling period and a first statistical window length are used as the sampling strategy; when the mobile terminal is moving, a second sampling period and a second statistical window length are used; wherein, the second sampling period is shorter than the first sampling period, and the second statistical window length is shorter than the first statistical window length.
[0036] Specifically, if the variance of the acceleration vector magnitude and the gyroscope angular velocity are both below a preset threshold, the mobile terminal is determined to be stationary. In this case, the sampling period for WiFi, Bluetooth, and AOA is set to 5 seconds, and the statistical window consists of 3 sampling points, i.e., the statistical window length is 15 seconds. Otherwise, the mobile terminal is determined to be in motion, and the sampling period is set to 200 milliseconds, with a statistical window of 20 sampling points, i.e., the statistical window length is 4 seconds (total duration). Furthermore, for mobile terminals in motion, if the RSSI of the air conditioner unit is stronger than -40dBm and the binding declaration information is complete, the statistical window can be shortened to 5 sampling points, completing all verifications within 2 seconds.
[0037] For example, the variance of the magnitude of the triaxial acceleration vector within a 1-second window is less than 0.05 m² / s². 4 Furthermore, the angular velocity of each axis of the gyroscope is less than 0.1 rad / s, and both conditions must be met for the gyroscope to be considered stationary.
[0038] Furthermore, the first and second devices can connect via a universal asynchronous receiver and maintain a heartbeat signal. When the heartbeat signal is interrupted, the first device clears the binding relationship in the binding declaration information or sets the second device identifier in the binding declaration information to an invalid value; the mobile terminal determines that the second device does not exist in the device scan list based on the binding declaration information.
[0039] When the associated host MAC address in the binding declaration information is all zeros, it indicates that there is currently no bound host. The device scan list is a list of surrounding devices obtained by the mobile terminal through the system's WiFi and Bluetooth scanning interfaces.
[0040] As can be seen, the mobile terminal can adopt different sampling strategies under different motion states. In the moving state, high-frequency short-window sampling is used to improve the confidence of the judgment, while in the stationary state, low-frequency long-window sampling is used to reduce scanning power consumption. At the same time, the binding relationship is cleared by heartbeat interruption to prevent outdated binding declaration information from misleading subsequent judgments.
[0041] Step 102: If the second device exists in the device scan list, obtain the wireless signal data emitted by the first device and the second device respectively, and perform physical co-location verification on the first device and the second device based on the wireless signal data.
[0042] In step 102, the presence of the second device in the device scan list can be determined based on the binding declaration information. If the second device exists in the device scan list, the wireless signal data emitted by the first device and the second device are acquired respectively. The binding declaration information is only used as a logical grouping basis, and the physical co-location verification is used to verify whether the devices corresponding to the binding relationship are actually in the same physical space.
[0043] Specifically, based on the associated host's WiFi MAC address and Bluetooth MAC address in the binding declaration information, the corresponding entries can be searched in the WiFi scanning list and Bluetooth broadcast list, respectively. If either MAC address is not found in the scanning list, or the corresponding signal strength is below -85dBm, the cabinet will be marked as an isolated device, and its corresponding host hotspot will remain in the display list and will not participate in subsequent filtering.
[0044] In some embodiments of this application, the wireless signal data includes Bluetooth signal data and WiFi signal data of the first device and the second device respectively, and the step of performing physical co-location verification on the first device and the second device based on the wireless signal data includes: Sub-step 11: Perform signal difference verification based on the WiFi signal data.
[0045] In sub-step 11, signal difference verification can be performed based on the WiFi signal data of the first device and the second device respectively.
[0046] In some embodiments of this application, performing signal difference verification based on the WiFi signal data includes: Sub-step 21: Based on the WiFi signal data, determine the signal strength difference sequence between the first device and the second device, and determine the discreteness statistics of the signal strength difference sequence; In sub-step 21, the signal strength difference sequence between the first device and the second device can be determined based on their respective WiFi signal data, and the discreteness statistics of the signal strength difference sequence can be determined.
[0047] Specifically, the WiFi signals emitted by the first device and the second device can be continuously scanned at the sampling period to construct a time series of the difference in received signal strength between the first device and the second device (i.e., the signal strength difference sequence), as shown in formula (1) below: (1) in, Let the received signal strength of the first device at the k-th sampling point be denoted as . Let N be the received signal strength of the second device at the k-th sampling point, and N be the number of sampling points within the statistical window length.
[0048] The dispersion statistics of the signal strength difference sequence can include at least one of the following: sample standard deviation, variance, range, coefficient of variation; the dispersion statistics can also be replaced by the cross-correlation coefficient between the two signal sequences.
[0049] Sub-step 22: If the discreteness statistic is less than a preset intensity difference threshold, the signal difference verification is determined to be successful.
[0050] In sub-step 22, if the discreteness statistic is less than the preset intensity difference threshold, the signal difference verification can be determined to be successful.
[0051] Specifically, the sample standard deviation of the time series of received signal strength difference can be calculated according to the following formula (2): (2) in, The standard deviation of the time series of received signal strength difference. The difference in received signal strength between the first and second devices at the k-th sampling point. Σ represents the average value of the received signal strength difference within the statistical window, N is the number of sampling points within the statistical window length, k is the sampling point number, with a value ranging from 1 to N, and Σ is the summation sign.
[0052] In one example, the signal difference verification is deemed successful if the sample standard deviation is less than a preset intensity difference threshold. For example, the preset intensity difference threshold could be 3 dB.
[0053] It should be added that, such as Figure 3 As shown, if the air conditioner unit and the home host are physically co-located with a distance of less than 30 cm, the path loss from both to the mobile terminal changes synchronously within a meter-level range. The difference sequence is approximately constant, reflecting only the difference in transmit power and antenna gain between the two, with a very small sample standard deviation. However, if the two are placed in different locations, the difference fluctuates independently and randomly with the change in terminal location, and the sample standard deviation increases significantly. The 3dB threshold is calibrated based on the statistical characteristics of multipath fading of 2.4GHz signals in a typical home environment.
[0054] Furthermore, the fixed threshold judgment can be replaced by a machine learning classifier based on the difference sequence features to further improve the judgment accuracy under complex apartment layouts. It is evident that the path loss from the two physically co-located devices to the mobile terminal changes synchronously. By tracking the "difference" rather than the "absolute value," the drastic signal fluctuations introduced by movement can be transformed into high-confidence evidence of co-location, turning "movement interference" into "movement enhancement." The sliding window time-series statistics upgrade instantaneous measurement to time-series consistency verification, significantly suppressing instantaneous misjudgments caused by multipath fading.
[0055] Sub-step 12: If the signal difference verification passes, determine the connection distance between the mobile terminal and the first device, and determine whether the connection distance meets the preset distance requirement.
[0056] In sub-step 12, if the signal difference verification passes, the connection distance between the mobile terminal and the first device can be determined, and it can be judged whether the connection distance meets the preset distance requirement.
[0057] In some embodiments of this application, determining whether the connection distance meets the preset distance requirement includes: If the connection distance is less than a preset far-field distance threshold, the connection distance is determined to meet the preset distance requirement; if the connection distance is greater than or equal to the preset far-field distance threshold, the connection distance is determined to not meet the preset distance requirement.
[0058] Specifically, the preset far-field distance threshold refers to the distance boundary value at which the low-power Bluetooth beacon of the second device may be lower than the receiving sensitivity of the mobile terminal after the distance between the mobile terminal and the first device exceeds the threshold, and the casing attenuation characteristic verification cannot continue.
[0059] As an example, the preset far-field distance threshold is 8 meters. That is, if the connection distance is less than 8 meters, the connection distance is determined to meet the preset distance requirement; if the connection distance is greater than or equal to 8 meters, the connection distance is determined to not meet the preset distance requirement.
[0060] Sub-step 13: If the connection distance meets the preset distance requirement, perform shell attenuation characteristic verification based on the Bluetooth signal data.
[0061] In sub-step 13, if the connection distance meets the preset distance requirement, the shell attenuation characteristic verification can be performed based on the Bluetooth signal data.
[0062] In some embodiments of this application, performing housing attenuation characteristic verification based on the Bluetooth signal data includes: If the connection distance is less than a preset near-field distance threshold, the difference in Bluetooth reception strength between the first device and the second device is determined based on the Bluetooth signal data, and if the difference in Bluetooth reception strength is within a preset attenuation range, the attenuation characteristic verification of the housing is confirmed to be successful.
[0063] Specifically, the preset near-field distance threshold refers to the distance between the mobile terminal and the first device that is less than the threshold, allowing the mobile terminal to directly measure the received strength of the Bluetooth beacon of the second device without needing a distance boundary value inferred from a model. As an example, the preset near-field distance threshold is 2 meters.
[0064] The difference in Bluetooth reception strength between the first device and the second device can be determined by the following formula (3): (3) in, This represents the near-field Bluetooth housing attenuation difference (i.e., the difference in Bluetooth reception strength). The reception strength of the Bluetooth beacon for the first device (i.e., Bluetooth reception strength). The received signal strength of the second device's Bluetooth beacon is defined by 15dB and 25dB, which are the lower and upper limits of the preset attenuation range. In other words, if the difference in Bluetooth received signal strength is between 15dB and 25dB, the casing attenuation characteristic verification is considered successful.
[0065] It should be noted that the Bluetooth transmission power of the second device is lower than that of the first device. As an example, the Bluetooth transmission power of the first device is 0dBm, and that of the second device is -20dBm. The broadcast interval is 500 milliseconds, and the broadcast content includes the Bluetooth MAC address and device type identifier of the device. The preset attenuation range is determined by the electromagnetic shielding attenuation characteristics of the first device's casing. For example, the galvanized steel casing produces approximately 18dB to 22dB of electromagnetic shielding attenuation in the 2.4GHz band. Combined with the near-field diffraction loss caused by the host Bluetooth antenna being located inside the casing, the total attenuation falls within the 15dB to 25dB range.
[0066] When the connection distance is greater than or equal to the preset near-field distance threshold and less than the preset far-field distance threshold, the theoretical Bluetooth reception strength of the second device is determined based on the Bluetooth signal data and the preset attenuation difference of the first device. When the theoretical Bluetooth reception strength of the second device is within the preset reception strength range, the shell attenuation characteristic verification is confirmed to be successful.
[0067] Specifically, the theoretical Bluetooth reception strength can be determined according to the following formula (4): (4) in, This represents the theoretical Bluetooth reception strength of the second device. The reception strength of the Bluetooth beacon for the first device. The attenuation difference is the factory-calibrated value, exemplarily 20dB.
[0068] Specifically, when the inferred value falls within the normal reception range of -75dBm to -55dBm and the deviation from the most recent direct measurement value (if any) is less than 5dB, the casing attenuation characteristic verification is confirmed to be successful.
[0069] The verification principle of shell attenuation characteristics can be found in the attached figure. Figure 4As shown, the second device is embedded inside the metal casing of the first device. Its Bluetooth module periodically broadcasts a beacon at a significantly lower transmission power than the first device. The mobile terminal compares the difference in the received strength of the Bluetooth beacons of the two devices. If the difference falls within the preset attenuation range corresponding to the electromagnetic shielding of the metal casing, it is confirmed that the second device is indeed embedded in the casing of the first device.
[0070] It is evident that the attenuation of fingerprints is inherently determined by the physical shielding characteristics of the metal casing, and belongs to physical evidence at the hardware structure level. It cannot be counterfeited by software forging SSID or IE fields. The verification strategy combining near-field and far-field ensures the continuity of verification throughout the entire mobile terminal movement process.
[0071] Sub-step 14: If the connection distance does not meet the preset distance requirement, or if the housing attenuation characteristic verification is passed, perform an angle of arrival difference verification based on the Bluetooth signal data or the WiFi signal data.
[0072] In sub-step 14, if the connection distance does not meet the preset distance requirement, or if the shell attenuation characteristic verification is passed, the angle of arrival difference verification can be performed based on Bluetooth signal data or WiFi signal data.
[0073] Specifically, the preset near-field distance threshold is 2 meters, and the preset far-field distance threshold is 8 meters. When the distance is greater than 8 meters, the low-power beacon may be lower than the receiving sensitivity, meaning the connection distance does not meet the preset distance requirement. Therefore, the casing attenuation characteristic verification is skipped, and only signal difference verification and subsequent angle of arrival difference verification are relied upon for judgment. Thus, if the connection distance does not meet the preset distance requirement, or the casing attenuation characteristic verification passes, angle of arrival difference verification is performed based on Bluetooth signal data or WiFi signal data.
[0074] For mobile terminals that do not have the capability to measure angle of arrival, physical co-location verification can be broken down into two levels: signal difference verification and casing attenuation characteristic verification.
[0075] In some embodiments of this application, angle-of-arrival (AOA) difference verification is performed based on the Bluetooth signal data or the WiFi signal data, including: Sub-step 31: Based on the Bluetooth signal data or the WiFi signal data, determine the signal angle of arrival of the first device and the second device.
[0076] In sub-step 31, the signal angles of arrival of the first device and the second device can be determined based on their respective Bluetooth signal data or WiFi signal data.
[0077] In some embodiments of this application, determining the angle of arrival between the first device and the second device based on the Bluetooth signal data or the WiFi signal data includes: When the connection distance is less than a preset far-field distance threshold, the signal angles of arrival of the first device and the second device are determined based on the Bluetooth signal data; when the connection distance is greater than or equal to the preset far-field distance threshold, the signal angles of arrival of the first device and the second device are determined based on the WiFi signal data.
[0078] Angle of arrival is a directional parameter and is independent of the signal standard. It only requires the terminal to have the ability to measure the angle of arrival of a multi-antenna array. That is, when the distance is close, Bluetooth 5.1 AoA (Angle of Arrival) is used to measure the angle of arrival of the Bluetooth signals of the two devices. When the distance is far and the host's low-power Bluetooth beacon is lower than the receiving sensitivity, it switches to measuring the angle of arrival of the host's normal power WiFi signal.
[0079] Specifically, the preset far-field distance threshold can be 8 meters. If the distance from the mobile device to the first device is less than 8 meters, Bluetooth is used to measure the angle of arrival; if it is greater than 8 meters, WiFi is used instead. This is precisely how the angle of arrival difference verification in the far-field situation is not affected by low-power Bluetooth. In addition, if the terminal does not have WiFi angle measurement capability, the far-field can rely solely on signal difference verification and existence declaration judgment, and low confidence can be marked.
[0080] Sub-step 32: Based on the signal arrival angle, construct the azimuth difference sequence and the elevation difference sequence, and determine the dispersion statistics of the azimuth difference sequence and the elevation difference sequence respectively.
[0081] In sub-step 32, an azimuth difference sequence and an elevation difference sequence can be constructed based on the signal angle of arrival, and the dispersion statistics of the azimuth difference sequence and the elevation difference sequence can be determined respectively. The dispersion statistics include at least one of the following: sample standard deviation, variance, range, and coefficient of variation.
[0082] Sub-step 33: If the dispersion statistics of both the azimuth difference sequence and the pitch difference sequence are less than a preset angle threshold, the arrival angle difference is determined to be verified as passed.
[0083] In sub-step 33, if the dispersion statistics of both the azimuth difference sequence and the pitch difference sequence are less than the preset angle threshold, the arrival angle difference verification is confirmed to be successful.
[0084] Specifically, the arrival angle difference can be verified using the following formula (5): (5) in, This represents the sample standard deviation of the azimuth difference sequence. This represents the sample standard deviation of the elevation angle difference sequence, with 5° as the preset angle threshold. This threshold can be calibrated based on the preset physical distance between the two devices and the measurement error of the terminal antenna array (approximately ±3°). Both azimuth and elevation angles are applicable. In other words, if the sample standard deviations of both the azimuth and elevation angle difference sequences are less than 5°, the arrival angle difference verification is considered successful.
[0085] It can be seen that the incident directions of the co-located devices relative to the mobile terminal are almost identical, with an angle difference close to 0° and minimal fluctuation. The incident directions of the separate devices change independently as the terminal moves, with significant fluctuations in the angle difference. This verifies the physical co-location relationship in the angle domain.
[0086] Sub-step 15: If the arrival angle difference value verification is passed, determine that the first device and the second device are physically co-located.
[0087] In sub-step 15, if the angle of arrival difference verification passes, it can be determined that the first device and the second device are physically co-located. Specifically, the first device and the second device are physically co-located only if the signal difference verification, the housing attenuation characteristic verification, and the angle of arrival difference verification all pass. If any verification fails, the subsequent verification is terminated, and the entry point of the second device is retained.
[0088] When there are multiple groups of devices within the scanning range, the scanned devices are divided into multiple device groups according to the binding declaration information corresponding to each group of devices. Physical co-location verification is performed independently for each device group, and the verification results of each group do not affect each other.
[0089] In addition, the binding relationships that can be physically verified are written to a local cache. These binding relationships include the identifier of the first device, the identifier of the second device, and a verification timestamp. When the same combination of device identifiers is scanned again within the cache's validity period, and the difference in received signal strength between the first and second devices is within a preset range, the verification result in the local cache is reused. As an example, the cache validity period is 24 hours, and the preset range is ±5dB.
[0090] Based on the above, in multi-set scenarios, each set can be independently verified and accurately grouped, avoiding incorrect association of devices across rooms. Cache reuse reduces latency caused by repeated verification. Even if the binding declaration information is counterfeited by software or the declaration becomes outdated due to device relocation, the non-counterfeitable spatial features at the physical layer can still identify false or invalid binding relationships. Device groups that fail verification retain dual entry displays to prevent false filtering that could prevent users from discovering the devices.
[0091] Step 103: If the physical co-location verification is passed, perform coordinated network configuration for the first device and the second device.
[0092] In step 103, if the physical co-location verification passes, collaborative network distribution can be performed on the first device and the second device.
[0093] In some embodiments of this application, the step of performing coordinated network configuration on the first device and the second device after the physical co-location verification is passed includes: Sub-step 41: Based on the device scan list, determine the device display list, and if the physical co-location verification is passed, hide the entry of the second device in the device display list.
[0094] In sub-step 41, a device display list can be determined based on the device scan list, and the entry point for the second device can be hidden in the device display list if the physical co-location verification passes. Specifically, the device display list to be presented can be determined based on the device scan list, i.e., the scanned devices. If the physical co-location verification passes, the entry point for the second device can be hidden in the device display list; if the physical co-location verification fails, both entry points for the first and second devices can be retained in the device display list. While retaining both entry points, the physical co-location verification continues to be performed in the background. When the background verification passes, the device display list is dynamically refreshed to show only the single entry point for the first device.
[0095] This allows for the conservative display of dual entry points and manual network configuration by users before verification; after verification, it automatically simplifies and supports collaborative network configuration, with both paths coexisting and the network configuration success rate unaffected.
[0096] Sub-step 42: In response to the selection operation of the first device entry point, a network configuration certificate is issued to the first device and the second device to enable the first device and the second device to access the wireless network.
[0097] In sub-step 42, in response to the selection operation of the first device's entry point, network configuration credentials can be issued to both the first and second devices to enable them to access the wireless network. Specifically, the device first connects to the cabinet hotspot and receives the router's SSID and password to gain network access, then switches to the host hotspot to receive the same network configuration credentials to gain network access. The network configuration operations of the first and second devices are executed independently; failure of network configuration for either device does not affect the network configuration status of the other. If the second device fails to configure, it can be reset and reconfigured via a universal asynchronous receiver / transmitter (UART) from the already networked first device. The recovery process does not require user intervention.
[0098] It should be added that the two devices can maintain network configuration linkage via a universal asynchronous transceiver. That is, when the user triggers the first device to reset and enter network configuration mode via a remote control, the first device notifies the second device to switch to network configuration mode synchronously via the universal asynchronous transceiver. Both return to the discoverable state at the same time. The mobile terminal re-executes the physical co-configuration determination and collaborative network configuration according to the above process. No separate operation of the second device by the user is required throughout the process.
[0099] Furthermore, the method of issuing distribution network certificates to the second device in the collaborative distribution network can be replaced by triggering the second device to access the wireless network through a wired connection between the first and second devices after the first device has accessed the wireless network. The wireless signals used in signal difference verification and angle of arrival difference verification can be replaced with ultra-wideband signals, and the dispersion statistics can be replaced with variance, range, coefficient of variation, or the cross-correlation coefficient between two signal sequences. Fixed threshold determination can be replaced with a machine learning classifier based on the features of the difference sequence. The housing is not limited to galvanized steel plates; aluminum alloy housings or composite material housings with metal shielding layers can all generate calibrable attenuation fingerprints. The Bluetooth transmission power difference and attenuation determination range can be adjusted after experimental calibration according to the housing material, thickness, and product structure.
[0100] In this embodiment, by obtaining a device scan list and binding declaration information published by the first device in a wireless broadcast frame, the binding declaration information is used to indicate the binding relationship between the first device and the second device. When the second device exists in the device scan list, the wireless signal data emitted by the first device and the second device are obtained respectively. Based on the wireless signal data, physical co-location verification is performed on the first device and the second device. If the physical co-location verification is successful, collaborative network configuration is performed on the first device and the second device. This realizes physical co-location verification through wireless signal data emitted by two smart home devices, eliminating the need for users to manually distinguish device groups in different spatial locations. It allows for independent determination of each group in multi-set scenarios, avoiding misassociation of devices across rooms. At the same time, performing collaborative network configuration on the two devices after the physical co-location verification is successful simplifies the traditional solution of configuring two devices one by one into a single-entry collaborative network configuration, reducing cognitive confusion and improving network configuration efficiency.
[0101] Reference Figure 5 This document illustrates an overall flowchart of a device distribution network provided by some embodiments of this application, which may specifically include the following steps: 1. Start: The mobile terminal scans for WiFi and Bluetooth and parses the Vendor IE published by the first device in the wireless broadcast frame to obtain the binding declaration information.
[0102] 2. Perform L1 binding object existence verification: Determine whether the binding object indicated by the binding declaration information exists in the current device scan list; if it exists, proceed to the next step; if it does not exist, go to the "any level failed" branch.
[0103] 3. Perform L3 signal difference verification: Determine the standard deviation of the difference in received signal strength between the first and second devices. Is it less than 3dB? If it is less than 3dB, proceed to the next step; if it is not less than 3dB, go to the "Failed at any level" branch and stop verification.
[0104] 4. Perform L2 shell attenuation characteristic verification: Determine the difference in Bluetooth reception strength between the first device and the second device. Is it within the preset attenuation range of 15dB to 25dB? If it is within this range, proceed to the next step; if it is not within this range, proceed to the "Failure at any level" branch.
[0105] 5. Perform L4 arrival angle difference verification: Determine the standard deviation of the azimuth angle difference between the first and second devices. and standard deviation of pitch angle difference Are all angles less than 5°? If all angles are less than 5°, proceed to the next step. If any angle is not less than 5°, proceed to the "Failure at any level" branch.
[0106] 6. Failure at any level: If verification fails at any level (L1, L3, L2, L4), the home host hotspot will be retained, and dual entry points will be displayed.
[0107] 7. Confirm the physical co-location relationship: When L1, L3, L2, and L4 are all passed, confirm that the physical co-location relationship between the first device and the second device is established, filter the home host hotspot (i.e., the entry point), and display a single entry point.
[0108] 8. Background execution of dual-device synchronous silent network configuration: After confirming the establishment of physical co-location relationship, the mobile terminal performs synchronous silent network configuration for the first and second devices in the background.
[0109] In this embodiment, by obtaining a device scan list and binding declaration information published by the first device in a wireless broadcast frame, the binding declaration information is used to indicate the binding relationship between the first device and the second device. When the second device exists in the device scan list, the wireless signal data emitted by the first device and the second device are obtained respectively. Based on the wireless signal data, physical co-location verification is performed on the first device and the second device. If the physical co-location verification is successful, collaborative network configuration is performed on the first device and the second device. This realizes physical co-location verification through wireless signal data emitted by two smart home devices, eliminating the need for users to manually distinguish device groups in different spatial locations. It allows for independent determination of each group in multi-set scenarios, avoiding misassociation of devices across rooms. At the same time, performing collaborative network configuration on the two devices after the physical co-location verification is successful simplifies the traditional solution of configuring two devices one by one into a single-entry collaborative network configuration, reducing cognitive confusion and improving network configuration efficiency.
[0110] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.
[0111] Reference Figure 6 The diagram illustrates the structure of a device for equipment distribution network according to some embodiments of this application, which may specifically include the following modules: The declaration acquisition module 601 is used to acquire the device scan list and the binding declaration information published by the first device in the wireless broadcast frame, wherein the binding declaration information is used to indicate the binding relationship between the first device and the second device; The co-location determination module 602 is used to, when the second device exists in the device scanning list, respectively obtain the wireless signal data emitted by the first device and the second device, and perform physical co-location verification on the first device and the second device based on the wireless signal data; The distribution module 603 is used to perform coordinated distribution between the first device and the second device when the physical co-location verification is passed.
[0112] In one embodiment of this application, before obtaining the binding declaration information and device scan list published by the first device in the wireless broadcast frame, the method further includes: A state determination module is used to determine the motion state of the mobile terminal and, based on the motion state information, determine a scanning sampling strategy; wherein, the scanning sampling strategy includes a sampling period and a statistical window length, used to acquire the wireless signal data within the statistical window length through the sampling period.
[0113] In one embodiment of this application, the state determination module includes: The first strategy determination submodule is used to adopt a first sampling period and a first statistical window length as a sampling strategy when the mobile terminal is in a stationary state. The second strategy determination submodule is used to employ a second sampling period and a second statistical window length when the mobile terminal is in a mobile state; wherein the second sampling period is less than the first sampling period, and the second statistical window length is less than the first statistical window length.
[0114] In one embodiment of this application, the wireless signal data includes Bluetooth signal data and WiFi signal data of the first device and the second device respectively, and the co-location determination module 602 includes: The difference verification submodule is used to perform signal difference verification based on the WiFi signal data; The distance determination submodule is used to determine the connection distance between the mobile terminal and the first device when the signal difference verification is passed, and to determine whether the connection distance meets the preset distance requirement. The attenuation verification submodule is used to perform shell attenuation characteristic verification based on the Bluetooth signal data when the connection distance meets the preset distance requirement. Angle of arrival verification submodule is used to perform angle of arrival difference verification based on Bluetooth signal data or WiFi signal data when the connection distance does not meet the preset distance requirement or the housing attenuation characteristic verification passes. The co-location determination submodule is used to determine that the first device and the second device are physically co-located if the arrival angle difference value verification is passed.
[0115] In one embodiment of this application, the difference verification submodule includes: The sequence acquisition unit is used to determine the signal strength difference sequence between the first device and the second device based on the WiFi signal data, and to determine the discreteness statistics of the signal strength difference sequence; The difference determination unit is used to determine that the signal difference verification is passed when the discreteness statistic is less than a preset intensity difference threshold.
[0116] In one embodiment of this application, the distance determination submodule includes: The first determination unit is used to determine that the connection distance meets the preset distance requirement when the connection distance is less than a preset far-field distance threshold. The second determination unit is used to determine that the connection distance does not meet the preset distance requirement when the connection distance is greater than or equal to the preset far-field distance threshold.
[0117] In one embodiment of this application, the attenuation verification submodule includes: The first distance verification unit is used to determine the difference in Bluetooth reception strength between the first device and the second device based on the Bluetooth signal data when the connection distance is less than a preset near-field distance threshold, and to determine that the shell attenuation characteristic verification is passed when the difference in Bluetooth reception strength is within a preset attenuation range. The second distance verification unit is used to determine the theoretical Bluetooth reception strength of the second device based on the Bluetooth signal data and the preset attenuation difference of the first device when the connection distance is greater than or equal to the preset near-field distance threshold and less than the preset far-field distance threshold, and to determine that the shell attenuation characteristic verification is passed when the theoretical Bluetooth reception strength of the second device is within the preset reception strength range.
[0118] In one embodiment of this application, the angle of arrival verification submodule includes: Angle of arrival determination unit, used to determine the angle of arrival of the signals of the first device and the second device based on the Bluetooth signal data or the WiFi signal data; The difference determination unit is used to construct an azimuth difference sequence and an elevation difference sequence based on the signal arrival angle, and to determine the dispersion statistics of the azimuth difference sequence and the elevation difference sequence respectively. The determination unit is used to determine that the arrival angle difference verification is passed when the dispersion statistics of both the azimuth difference sequence and the pitch difference sequence are less than a preset angle threshold.
[0119] In one embodiment of this application, the angle of arrival determination unit includes: The first determining subunit is configured to determine the signal angle of arrival between the first device and the second device based on the Bluetooth signal data when the connection distance is less than a preset far-field distance threshold. The second determining subunit is used to determine the signal arrival angles of the first device and the second device based on the WiFi signal data when the connection distance is greater than or equal to the preset far-field distance threshold.
[0120] In one embodiment of this application, the distribution network module 603 includes: The display list determination submodule is used to determine the device display list based on the device scan list, and hide the entry of the second device in the device display list if the physical co-location verification is passed; The network configuration submodule is used to issue network configuration credentials to the first device and the second device in response to the selection operation of the first device entry, so that the first device and the second device can access the wireless network.
[0121] The device for network configuration in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.
[0122] The device for network distribution in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0123] The device for equipment network distribution provided in this application embodiment can achieve... Figure 1 The various processes implemented by the device network distribution method in the method embodiment are not described in detail here to avoid repetition.
[0124] In this embodiment, by obtaining a device scan list and binding declaration information published by the first device in a wireless broadcast frame, the binding declaration information is used to indicate the binding relationship between the first device and the second device. When the second device exists in the device scan list, the wireless signal data emitted by the first device and the second device are obtained respectively. Based on the wireless signal data, physical co-location verification is performed on the first device and the second device. If the physical co-location verification is successful, collaborative network configuration is performed on the first device and the second device. This realizes physical co-location verification through wireless signal data emitted by two smart home devices, eliminating the need for users to manually distinguish device groups in different spatial locations. It allows for independent determination of each group in multi-set scenarios, avoiding misassociation of devices across rooms. At the same time, performing collaborative network configuration on the two devices after the physical co-location verification is successful simplifies the traditional solution of configuring two devices one by one into a single-entry collaborative network configuration, reducing cognitive confusion and improving network configuration efficiency.
[0125] Optionally, embodiments of this application also provide an electronic device. Figure 7 This is a schematic diagram of the hardware structure of an electronic device, including a processor 710, a memory 709, and a program or instructions stored in the memory 709 and executable on the processor 710. When the program or instructions are executed by the processor 710, they implement the various processes of the above-described device network distribution method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0126] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0127] The electronic device 700 includes, but is not limited to, components such as: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710. The user input unit 707 includes a touch panel 7071 and other input devices 7072; the display unit 706 includes a display panel 7061; and the input unit includes a graphics processor 7041 and a microphone 7042.
[0128] Those skilled in the art will understand that the electronic device 700 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 7The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0129] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described device network distribution method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0130] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0131] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0132] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0133] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for equipment network distribution, characterized in that, The method includes: Obtain the device scan list and the binding declaration information published by the first device in the wireless broadcast frame, wherein the binding declaration information is used to indicate the binding relationship between the first device and the second device; If the second device is present in the device scan list, the wireless signal data emitted by the first device and the second device are obtained respectively, and physical co-location verification is performed on the first device and the second device based on the wireless signal data; If the physical co-location verification is successful, coordinated network configuration will be performed on the first device and the second device; Before obtaining the binding declaration information and device scan list published by the first device in the radio broadcast frame, the process also includes: The motion state of the mobile terminal is determined, and a scanning sampling strategy is determined based on the motion state information; wherein, the scanning sampling strategy includes a sampling period and a statistical window length, used to acquire the wireless signal data within the statistical window length through the sampling period.
2. The method according to claim 1, characterized in that, Based on the motion state information, a scanning sampling strategy is determined, including: When the mobile terminal is stationary, a first sampling period and a first statistical window length are used as the sampling strategy. When the mobile terminal is in a mobile state, a second sampling period and a second statistical window length are used; wherein, the second sampling period is less than the first sampling period, and the second statistical window length is less than the first statistical window length.
3. The method according to claim 1, characterized in that, The wireless signal data includes Bluetooth signal data and WiFi signal data of the first device and the second device respectively. The step of performing physical co-location verification on the first device and the second device based on the wireless signal data includes: Perform signal difference verification based on the WiFi signal data; If the signal difference verification passes, the connection distance between the mobile terminal and the first device is determined, and it is determined whether the connection distance meets the preset distance requirement. If the connection distance meets the preset distance requirement, the shell attenuation characteristic verification is performed based on the Bluetooth signal data; If the connection distance does not meet the preset distance requirement, or if the housing attenuation characteristic verification is passed, the angle of arrival difference verification is performed based on the Bluetooth signal data or the WiFi signal data. If the arrival angle difference verification passes, it is determined that the first device and the second device are physically co-located.
4. The method according to claim 3, characterized in that, Performing signal difference verification based on the WiFi signal data includes: Based on the WiFi signal data, a signal strength difference sequence between the first device and the second device is determined, and a statistic of the dispersion of the signal strength difference sequence is determined. If the dispersion statistic is less than a preset intensity difference threshold, the signal difference verification is deemed successful.
5. The method according to claim 3, characterized in that, The step of determining whether the connection distance meets the preset distance requirement includes: If the connection distance is less than a preset far-field distance threshold, it is determined that the connection distance meets the preset distance requirement; If the connection distance is greater than or equal to the preset far-field distance threshold, it is determined that the connection distance does not meet the preset distance requirement.
6. The method according to claim 5, characterized in that, Based on the Bluetooth signal data, perform housing attenuation characteristic verification, including: If the connection distance is less than a preset near-field distance threshold, the difference in Bluetooth reception strength between the first device and the second device is determined based on the Bluetooth signal data, and if the difference in Bluetooth reception strength is within a preset attenuation range, the attenuation characteristic verification of the housing is determined to be successful. When the connection distance is greater than or equal to the preset near-field distance threshold and less than the preset far-field distance threshold, the theoretical Bluetooth reception strength of the second device is determined based on the Bluetooth signal data and the preset attenuation difference of the first device. When the theoretical Bluetooth reception strength of the second device is within the preset reception strength range, the shell attenuation characteristic verification is confirmed to be successful.
7. The method according to claim 3, characterized in that, Performing angle-of-arrival difference verification based on the Bluetooth signal data or the WiFi signal data includes: Based on the Bluetooth signal data or the WiFi signal data, determine the angle of arrival of the signal between the first device and the second device; Based on the signal angle of arrival, an azimuth difference sequence and an elevation difference sequence are constructed, and the dispersion statistics of the azimuth difference sequence and the elevation difference sequence are determined respectively. If the dispersion statistics of both the azimuth difference sequence and the pitch difference sequence are less than a preset angle threshold, the arrival angle difference is determined to be verified as passed.
8. The method according to claim 7, characterized in that, Determining the angle of arrival of the first device and the second device based on the Bluetooth signal data or the WiFi signal data includes: If the connection distance is less than a preset far-field distance threshold, the signal angles of arrival of the first device and the second device are determined based on the Bluetooth signal data. When the connection distance is greater than or equal to the preset far-field distance threshold, the signal angles of arrival of the first device and the second device are determined based on the WiFi signal data.
9. The method according to any one of claims 1-8, characterized in that, The step of performing coordinated network configuration for the first device and the second device after the physical co-location verification is passed includes: Based on the device scan list, a device display list is determined, and if the physical co-location verification is passed, the entry of the second device is hidden in the device display list; In response to the selection operation of the first device access point, a network configuration certificate is issued to the first device and the second device to enable the first device and the second device to access the wireless network.
10. A device for equipment distribution network, characterized in that, The device includes: The declaration acquisition module is used to acquire the device scan list and the binding declaration information published by the first device in the wireless broadcast frame, wherein the binding declaration information is used to indicate the binding relationship between the first device and the second device; The co-location determination module is used to, when the second device exists in the device scanning list, respectively obtain the wireless signal data emitted by the first device and the second device, and perform physical co-location verification on the first device and the second device based on the wireless signal data; The distribution network module is used to perform coordinated distribution network between the first device and the second device after the physical co-location verification is passed; Before obtaining the binding declaration information and device scan list published by the first device in the radio broadcast frame, the process also includes: A state determination module is used to determine the motion state of the mobile terminal and, based on the motion state information, determine a scanning sampling strategy; wherein, the scanning sampling strategy includes a sampling period and a statistical window length, used to acquire the wireless signal data within the statistical window length through the sampling period.
11. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method as described in any one of claims 1 to 9.
12. A readable storage medium, characterized in that, A computer program is stored on the readable storage medium, which, when executed by a processor, implements the method as described in any one of claims 1 to 9.
