Bluetooth network connection method and system for multi-device scenarios

By performing Bluetooth detection and screening of the surrounding environment of the service equipment, determining the stable state Bluetooth signals and user equipment, authenticating and building Bluetooth distribution network connections, the problem of multi-device Bluetooth connection in the existing technology is solved, and the connection efficiency and convenience are improved.

CN117858085BActive Publication Date: 2025-04-11HUIZHI ANKE (BEIJING) TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311751534.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2025-04-11
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

The existing Bluetooth connection method cannot achieve Bluetooth connection between multiple devices, resulting in the need to authenticate each device one by one when different devices perform Bluetooth connection operations, which increases time cost and reduces connection efficiency.

Method used

By performing Bluetooth detection on the surrounding environment of the service device, filtering the Bluetooth signal in a stable state, determining its corresponding user equipment and obtaining device attribute information, authenticating, and building a Bluetooth distribution network connection between the service device and multiple user equipment to realize Bluetooth distribution network connection in multiple device scenarios.

Benefits of technology

It realizes Bluetooth distribution network connection in multiple device scenarios, improves the execution efficiency and convenience of Bluetooth connection, and ensures orderly Bluetooth data transmission between each user device and service device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117858085B_ABST
    Figure CN117858085B_ABST
Patent Text Reader

Abstract

The present invention provides a Bluetooth network connection method and system for multi-device scenarios, which performs Bluetooth detection on the environment around a service device to obtain Bluetooth signal status information in the environment around the service device, thereby screening Bluetooth signals in a stable state, determining user devices corresponding to the Bluetooth signals in a stable state and obtaining their corresponding device attribute information, accurately determining user devices that can be connected to the service device via Bluetooth; then authenticating the user devices, establishing a Bluetooth network connection between the service device and several user devices, and realizing Bluetooth network connection in multi-device scenarios; and also determining the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, thereby ensuring orderly Bluetooth data transmission between each user device and the service device, and improving the execution efficiency and convenience of the Bluetooth connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network connection, and in particular to a Bluetooth network connection method and system for multi-device scenarios. Background Art

[0002] The network connection between different devices can be achieved through WIFI or Bluetooth connection. When connecting different devices through WIFI, it is necessary to pre-set the WIFI network and then connect the device to the WIFI network. It is suitable for long-term continuous communication connection between devices, which puts high requirements on the security of building the WIFI network. Under normal circumstances, only temporary connection is required between different devices. When the data interaction between different devices is completed, the connection can be disconnected. At this time, it is more suitable to use Bluetooth to achieve connection between different devices. Existing Bluetooth connection methods are all implemented in a one-to-one situation, and Bluetooth connection between multiple devices cannot be achieved. When Bluetooth connection operations are performed on different devices, each device needs to be authenticated one by one, which increases the time cost of Bluetooth connection operation and the inability to quickly switch Bluetooth connection, reducing the execution efficiency and convenience of Bluetooth connection. Summary of the invention

[0003] The purpose of the present invention is to provide a Bluetooth network connection method and system for multi-device scenarios, which performs Bluetooth detection on the surrounding environment of a service device to obtain Bluetooth signal status information in the surrounding environment, thereby screening Bluetooth signals in a stable state, and determining the user devices corresponding to the Bluetooth signals in a stable state and obtaining the corresponding device attribute information, accurately determining the user devices that can be connected to the service device by Bluetooth; then authenticating the user devices, establishing a Bluetooth network connection between the service device and several user devices, and realizing Bluetooth network connection in multi-device scenarios; and also determining the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, thereby ensuring orderly Bluetooth data transmission between each user device and the service device, and improving the execution efficiency and convenience of the Bluetooth connection.

[0004] The present invention is achieved through the following technical solutions:

[0005] The Bluetooth network connection method for multiple devices includes:

[0006] Performing Bluetooth detection on the surrounding environment of the service device to identify Bluetooth signal status information existing in the surrounding environment; analyzing the Bluetooth signal status information to screen out all Bluetooth signals in a stable state in the surrounding environment;

[0007] Perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user devices corresponding to all Bluetooth signals in a stable state, and obtain device attribute information corresponding to all user devices; based on the device attribute information, select a number of user devices that can simultaneously establish a Bluetooth connection with the service device from all user devices, and authenticate the selected user devices;

[0008] Based on the result of the authentication, a Bluetooth network connection is established between the service device and the corresponding user devices; based on the Bluetooth data transmission attribute information between all user devices currently connected to the network and the service device, the Bluetooth data reception status of all user devices currently connected to the network is determined.

[0009] Optionally, performing Bluetooth detection on the surrounding environment of the service device to identify Bluetooth signal status information existing in the surrounding environment; analyzing the Bluetooth signal status information to screen and obtain all Bluetooth signals in the surrounding environment that are in a stable state, including:

[0010] Performing Bluetooth scanning detection on the surrounding environment of the service device to identify the signal strength status information of all Bluetooth signals in the surrounding environment; analyzing the signal strength status information to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval;

[0011] The average signal strength value and the signal strength change rate value are respectively compared with thresholds. If the average signal strength value is greater than or equal to a preset signal strength threshold and the signal strength change rate value is less than the preset signal strength change rate threshold, it is determined that the corresponding Bluetooth signal is in a stable state; signal names are identified for all Bluetooth signals in a stable state to form a signal name directory of all Bluetooth signals in a stable state.

[0012] Optionally, the signal strength status information is analyzed to obtain average signal strength values ​​and signal strength change rate values ​​of all identified Bluetooth signals within a preset time interval, including:

[0013] Step S1, using the following formula (1), obtain the average signal strength value of all Bluetooth signals within a preset time interval:

[0014]

[0015] In the above formula (1), represents the average signal strength value of the ath Bluetooth signal identified within the preset time interval; n_a represents the total number of signal strengths of the ath Bluetooth signal collected within the preset time interval; E_a(k) represents the kth signal strength of the ath Bluetooth signal collected within the preset time interval; Indicates the minimum signal strength value of the ath Bluetooth signal collected within the preset time interval; Indicates the maximum signal strength of the ath Bluetooth signal collected within the preset time interval;

[0016] Step S2, using the following formula (2), obtain the average signal strength change rate value of all Bluetooth signals within a preset time interval,

[0017]

[0018] In the above formula (2), represents the average signal strength change rate value of the a-th Bluetooth signal identified within a preset time interval; T represents the preset time interval;

[0019] Step S3, using the following formula (3), based on the average signal strength change rate value of all Bluetooth signals identified in the preset time interval and the head and tail signal strengths, the final signal strength change rate value of all Bluetooth signals in the preset time interval is obtained,

[0020]

[0021] In the above formula (3), b_a represents the final signal strength change rate value of the a-th Bluetooth signal within a preset time interval.

[0022] Optionally, performing signal positioning and identification on all Bluetooth signals in a stable state, determining user devices corresponding to all Bluetooth signals in a stable state, and obtaining device attribute information corresponding to all user devices; based on the device attribute information, selecting a number of user devices that can simultaneously establish a Bluetooth connection with the service device from all user devices, and authenticating the selected user devices, including:

[0023] Perform signal position positioning and identification on all Bluetooth signals in a stable state, determine the relative position information between the user equipment corresponding to all Bluetooth signals in a stable state and the service equipment, and obtain the device identity information corresponding to all user equipment;

[0024] Based on the relative position information and device identity information of all user devices relative to the service device, all user devices located in the same position range are determined as several user devices that can simultaneously establish a Bluetooth connection with the service device; and the device identity information of the several user devices that can simultaneously establish a Bluetooth connection with the service device is compared with the device identity whitelist of the service device. If the device identity information exists in the device identity whitelist, it is determined that the authentication of the corresponding user device is successful; otherwise, it is determined that the authentication of the corresponding user device has failed.

[0025] Optionally, based on the result of the authentication, establishing a Bluetooth network connection between the service device and the corresponding plurality of user devices; and determining the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information between all user devices currently connected to the network and the service device, including:

[0026] Building a Bluetooth network connection between the service device and all successfully authenticated user devices based on the Bluetooth signal channels corresponding to all successfully authenticated user devices;

[0027] Obtain the amount of bits of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device, and determine the order in which the service device receives Bluetooth data from all user devices currently connected to the network based on the order of the amount of bits of Bluetooth data to be transmitted from small to large; and when the service device completes receiving Bluetooth data from any user device currently connected to the network, stop the Bluetooth network connection between the service device and the corresponding user device.

[0028] Bluetooth network connection system for multi-device scenarios, including:

[0029] A Bluetooth signal detection module is used to perform Bluetooth detection on the surrounding environment of the service device and identify Bluetooth signal status information existing in the surrounding environment;

[0030] A Bluetooth signal analysis module, used to analyze the Bluetooth signal status information and screen out all Bluetooth signals in a stable state in the surrounding environment;

[0031] A user equipment calibration module is used to perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user equipment corresponding to each of the Bluetooth signals in a stable state, and obtain device attribute information corresponding to each of the user equipment;

[0032] A user equipment selection and authentication module, configured to select, based on the equipment attribute information, a number of user equipments that can simultaneously establish a Bluetooth connection with the service equipment from all user equipments, and authenticate the selected number of user equipments;

[0033] A network configuration connection module, used to establish a Bluetooth network configuration connection between the service device and corresponding user devices based on the authentication result;

[0034] The Bluetooth data receiving control module is used to determine the Bluetooth data receiving status of all user devices connected to the current configuration network by the service device based on the Bluetooth data transmission attribute information of all user devices connected to the current configuration network and the service device.

[0035] Optionally, the Bluetooth signal detection module is used to perform Bluetooth detection on the surrounding environment of the service device and identify Bluetooth signal status information existing in the surrounding environment, including:

[0036] Performing Bluetooth scanning detection on the surrounding environment of the service device to identify the signal strength status information of all Bluetooth signals in the surrounding environment; analyzing the signal strength status information to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval;

[0037] The Bluetooth signal analysis module is used to analyze the Bluetooth signal status information and screen out all Bluetooth signals in the surrounding environment that are in a stable state, including:

[0038] The average signal strength value and the signal strength change rate value are respectively compared with thresholds. If the average signal strength value is greater than or equal to a preset signal strength threshold and the signal strength change rate value is less than the preset signal strength change rate threshold, it is determined that the corresponding Bluetooth signal is in a stable state; signal names are identified for all Bluetooth signals in a stable state to form a signal name directory of all Bluetooth signals in a stable state.

[0039] Optionally, the user equipment calibration module is used to perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user equipment corresponding to each of all Bluetooth signals in a stable state, and obtain device attribute information corresponding to each of all user equipment, including:

[0040] Perform signal position positioning and identification on all Bluetooth signals in a stable state, determine the relative position information between the user equipment corresponding to all Bluetooth signals in a stable state and the service equipment, and obtain the device identity information corresponding to all user equipment;

[0041] The user equipment selection and authentication module is used to select a number of user equipments that can simultaneously establish a Bluetooth connection with the service device from all user equipments based on the device attribute information, and authenticate the selected user equipments, including:

[0042] Based on the relative position information and device identity information of all user devices relative to the service device, all user devices located in the same position range are determined as several user devices that can simultaneously establish a Bluetooth connection with the service device; and the device identity information of the several user devices that can simultaneously establish a Bluetooth connection with the service device is compared with the device identity whitelist of the service device. If the device identity information exists in the device identity whitelist, it is determined that the authentication of the corresponding user device is successful; otherwise, it is determined that the authentication of the corresponding user device has failed.

[0043] Optionally, the network configuration connection module is used to establish a Bluetooth network configuration connection between the service device and corresponding user devices based on the authentication result, including:

[0044] Building a Bluetooth network connection between the service device and all successfully authenticated user devices based on the Bluetooth signal channels corresponding to all successfully authenticated user devices;

[0045] The Bluetooth data receiving control module is used to determine the Bluetooth data receiving status of all user devices connected to the current configuration network by the service device based on the Bluetooth data transmission attribute information of all user devices connected to the current configuration network and the service device, including:

[0046] Obtain the amount of bits of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device, and determine the order in which the service device receives Bluetooth data from all user devices currently connected to the network based on the order of the amount of bits of Bluetooth data to be transmitted from small to large; and when the service device completes receiving Bluetooth data from any user device currently connected to the network, stop the Bluetooth network connection between the service device and the corresponding user device.

[0047] Compared with the prior art, the present invention has the following beneficial effects:

[0048] The Bluetooth network connection method and system for multi-device scenarios provided in the present application perform Bluetooth detection on the environment around the service device, obtain the Bluetooth signal status information in the surrounding environment, thereby screening the Bluetooth signals in a stable state, and determining the user devices corresponding to the Bluetooth signals in a stable state and obtaining the corresponding device attribute information, accurately determining the user devices that can be connected to the service device by Bluetooth; then authenticating the user devices, establishing a Bluetooth network connection between the service device and several user devices, and realizing Bluetooth network connection in multi-device scenarios; and also determining the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, thereby ensuring orderly Bluetooth data transmission between each user device and the service device, and improving the execution efficiency and convenience of the Bluetooth connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0050] Figure 1 A schematic diagram of the flow of the Bluetooth network connection method for multiple device scenarios provided by the present invention.

[0051] Figure 2 A schematic diagram of the structure of a Bluetooth network connection system for multiple device scenarios provided by the present invention. DETAILED DESCRIPTION

[0052] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0053] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0054] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0055] See also Figure 1 As shown, a Bluetooth network connection method for a multi-device scenario provided by an embodiment of the present application includes:

[0056] Perform Bluetooth detection on the surrounding environment of the service device to identify Bluetooth signal status information existing in the surrounding environment; analyze the Bluetooth signal status information to screen out all Bluetooth signals in the surrounding environment that are in a stable state;

[0057] Perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user devices corresponding to all Bluetooth signals in a stable state, and obtain device attribute information corresponding to all user devices; based on the device attribute information, select a number of user devices that can simultaneously establish a Bluetooth connection with the service device from all user devices, and authenticate the selected user devices;

[0058] Based on the result of the authentication, a Bluetooth network connection is established between the service device and the corresponding user devices; based on the Bluetooth data transmission attribute information between all user devices currently connected to the network and the service device, the Bluetooth data reception status of all user devices currently connected to the network is determined.

[0059] The beneficial effects of the above embodiments are as follows: the Bluetooth network connection method for multi-device scenarios performs Bluetooth detection on the surrounding environment of the service device, obtains the Bluetooth signal status information in the surrounding environment, thereby screening the Bluetooth signals in a stable state, and determining the user devices corresponding to the Bluetooth signals in a stable state and obtaining the corresponding device attribute information, accurately determining the user devices that can be connected to the service device by Bluetooth; then authenticating the user devices, establishing a Bluetooth network connection between the service device and several user devices, and realizing Bluetooth network connection in multi-device scenarios; and also determining the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, thereby ensuring orderly Bluetooth data transmission between each user device and the service device, and improving the execution efficiency and convenience of the Bluetooth connection.

[0060] In another embodiment, a Bluetooth detection is performed on the surrounding environment of the service device to identify Bluetooth signal status information existing in the surrounding environment; the Bluetooth signal status information is analyzed to screen and obtain all Bluetooth signals in the surrounding environment that are in a stable state, including:

[0061] Perform Bluetooth scanning detection on the environment around the service device to identify the signal strength status information of all Bluetooth signals in the environment; analyze the signal strength status information to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval;

[0062] The average signal strength value and the signal strength change rate value are respectively compared with thresholds. If the average signal strength value is greater than or equal to a preset signal strength threshold and the signal strength change rate value is less than the preset signal strength change rate threshold, it is determined that the corresponding Bluetooth signal is in a stable state; signal names are identified for all Bluetooth signals in a stable state to form a signal name directory of all Bluetooth signals in a stable state.

[0063] The beneficial effect of the above embodiment is that there are multiple user devices in the environment where the service device is located. When the user device needs to establish a Bluetooth connection with the service device, the user device will enter the Bluetooth working mode accordingly and send out a Bluetooth signal. In this way, the Bluetooth scanning and detection of the surrounding environment of the service device is performed to identify the signal strength status information of all Bluetooth signals in the surrounding environment, so as to facilitate the quantitative analysis of the stable state of the Bluetooth signal generated by each user device. Specifically, the average signal strength value and the signal strength change rate value are respectively compared with the threshold value. If the average signal strength value is greater than or equal to the preset signal strength threshold value and the signal strength change rate value is less than the preset signal strength change rate threshold value, it indicates that the Bluetooth signal can maintain a sufficiently large signal strength and the drift of the signal strength is small. Then, the signal name of all Bluetooth signals in a stable state is identified to form a signal name directory of all Bluetooth signals in a stable state, so that the service device can establish a Bluetooth connection with the user device with a stable Bluetooth signal, improve the connection stability and continuity of the two, and avoid the occurrence of Bluetooth connection interruption.

[0064] In another embodiment, the signal strength status information is analyzed to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval, including:

[0065] Step S1, using the following formula (1), obtain the average signal strength value of all Bluetooth signals within a preset time interval:

[0066]

[0067] In the above formula (1), represents the average signal strength value of the ath Bluetooth signal identified within the preset time interval; n_a represents the total number of signal strengths of the ath Bluetooth signal collected within the preset time interval; E_a(k) represents the kth signal strength of the ath Bluetooth signal collected within the preset time interval; Indicates the minimum signal strength value of the ath Bluetooth signal collected within the preset time interval; Indicates the maximum signal strength of the ath Bluetooth signal collected within the preset time interval;

[0068] Step S2, using the following formula (2), obtain the average signal strength change rate value of all Bluetooth signals within a preset time interval,

[0069]

[0070] In the above formula (2), represents the average signal strength change rate value of the a-th Bluetooth signal identified within a preset time interval; T represents the preset time interval;

[0071] Step S3, using the following formula (3), based on the average signal strength change rate value of all Bluetooth signals identified in the preset time interval and the head and tail signal strengths, the final signal strength change rate value of all Bluetooth signals in the preset time interval is obtained,

[0072]

[0073] In the above formula (3), b_a represents the final signal strength change rate value of the a-th Bluetooth signal within a preset time interval.

[0074] The beneficial effect of the above embodiment is that the above formula (1) is used to obtain the average signal strength value of all Bluetooth signals within the preset time interval, thereby eliminating the maximum and minimum values, which can ensure that the obtained average is more convincing; then the above formula (2) is used to obtain the average signal strength change rate value of all Bluetooth signals within the preset time interval, and then the change rate of each stage is averaged to reflect the local changes within the preset time; then the above formula (3) is used to obtain the final signal strength change rate value of all Bluetooth signals within the preset time interval based on the average signal strength change rate value of all Bluetooth signals within the preset time interval and the first and last signal strengths, and then a comprehensive calculation is performed in combination with the overall change of the change rate, which can ensure the rigor of the system.

[0075] In another embodiment, signal positioning and identification are performed on all Bluetooth signals in a stable state, user devices corresponding to all Bluetooth signals in a stable state are determined, and device attribute information corresponding to all user devices is obtained; based on the device attribute information, a number of user devices that can simultaneously establish a Bluetooth connection with the service device are selected from all user devices, and the selected user devices are authenticated, including:

[0076] Perform signal position positioning and identification on all Bluetooth signals in a stable state, determine the relative position information between the user devices corresponding to all Bluetooth signals in a stable state and the service device, and obtain the device identity information corresponding to all user devices;

[0077] Based on the relative position information and device identity information of all user devices relative to the service device, all user devices located in the same position range are determined as several user devices that can simultaneously establish a Bluetooth connection with the service device; and the device identity information of the several user devices that can simultaneously establish a Bluetooth connection with the service device is compared with the device identity whitelist of the service device. If the device identity information exists in the device identity whitelist, it is determined that the authentication of the corresponding user device is successful; otherwise, it is determined that the authentication of the corresponding user device has failed.

[0078] The beneficial effects of the above embodiments include signal azimuth positioning and identification of all Bluetooth signals in a stable state, determining the relative azimuth information between the user devices corresponding to all Bluetooth signals in a stable state and the service device, thereby locating the user devices corresponding to the surrounding environment of the service device, so that all user devices in the same azimuth range are subsequently determined as several user devices that can simultaneously connect to the service device through Bluetooth, achieving synchronous Bluetooth connection between the service device and multiple user devices, and improving the efficiency of Bluetooth connection between the service device and the user devices. In addition, the device identity information of several user devices that can simultaneously connect to the service device through Bluetooth is compared with the device identity whitelist of the service device, and the user devices are securely authenticated to ensure that only successfully authenticated user devices can connect to the service device, thereby improving the Bluetooth connection security of the two.

[0079] In another embodiment, based on the result of the authentication, establishing a Bluetooth network connection between the service device and the corresponding plurality of user devices; based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, determining the Bluetooth data reception status of the service device for all user devices currently connected to the network, including:

[0080] Based on the Bluetooth signal channels corresponding to all successfully authenticated user devices, establish a Bluetooth network connection between the service device and all successfully authenticated user devices;

[0081] Obtain the amount of bits of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device, and determine the order in which the service device receives Bluetooth data from all user devices currently connected to the network based on the order of the amount of bits of Bluetooth data to be transmitted from small to large; and when the service device completes receiving Bluetooth data from any user device currently connected to the network, stop the Bluetooth network connection between the service device and the corresponding user device.

[0082] The beneficial effect of the above embodiment is that, based on the Bluetooth signal channels corresponding to all successfully authenticated user devices, the Bluetooth network connection between the service device and all successfully authenticated user devices is established, and a synchronous Bluetooth connection between the service device and multiple user devices is realized. In addition, the amount of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device is obtained, and the order of receiving Bluetooth data of all user devices currently connected to the network is determined based on the order from small to large of the amount of Bluetooth data to be transmitted. This ensures that the service device can quickly and efficiently receive data from user devices. When the service device completes the reception of Bluetooth data of any user device currently connected to the network, the Bluetooth network connection between the service device and the corresponding user device is stopped, which can effectively reduce the Bluetooth connection load of the service device.

[0083] See also Figure 2 As shown, a Bluetooth network connection system for a multi-device scenario provided by an embodiment of the present application includes:

[0084] A Bluetooth signal detection module is used to perform Bluetooth detection on the surrounding environment of the service device and identify the Bluetooth signal status information existing in the surrounding environment;

[0085] A Bluetooth signal analysis module is used to analyze the Bluetooth signal status information and screen out all Bluetooth signals in a stable state in the surrounding environment;

[0086] A user equipment calibration module is used to perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user equipment corresponding to each of the Bluetooth signals in a stable state, and obtain device attribute information corresponding to each of the user equipment;

[0087] A user equipment selection and authentication module, used to select a number of user equipments that can simultaneously establish a Bluetooth connection with the service device from all user equipments based on the device attribute information, and authenticate the selected user equipments;

[0088] A network configuration connection module, used to establish a Bluetooth network configuration connection between the service device and corresponding user devices based on the authentication result;

[0089] The Bluetooth data receiving control module is used to determine the Bluetooth data receiving status of all user devices connected to the current configuration network by the service device based on the Bluetooth data transmission attribute information of all user devices connected to the current configuration network and the service device.

[0090] The beneficial effects of the above embodiments are as follows: the Bluetooth network connection and docking system for multi-device scenarios performs Bluetooth detection on the environment around the service device, obtains the Bluetooth signal status information in the environment, thereby screening the Bluetooth signals in a stable state, and determining the user devices corresponding to the Bluetooth signals in a stable state and obtaining the corresponding device attribute information, accurately determining the user devices that can be connected to the service device by Bluetooth; then authenticating the user devices, establishing a Bluetooth network connection between the service device and several user devices, and realizing Bluetooth network connection and docking in multi-device scenarios; and also determining the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, thereby ensuring orderly Bluetooth data transmission between each user device and the service device, and improving the execution efficiency and convenience of the Bluetooth connection.

[0091] In another embodiment, the Bluetooth signal detection module is used to perform Bluetooth detection on the surrounding environment of the service device and identify Bluetooth signal status information existing in the surrounding environment, including:

[0092] Perform Bluetooth scanning detection on the environment around the service device to identify the signal strength status information of all Bluetooth signals in the environment; analyze the signal strength status information to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval;

[0093] The Bluetooth signal analysis module is used to analyze the Bluetooth signal status information and screen all Bluetooth signals in a stable state in the surrounding environment, including:

[0094] The average signal strength value and the signal strength change rate value are respectively compared with thresholds. If the average signal strength value is greater than or equal to a preset signal strength threshold and the signal strength change rate value is less than the preset signal strength change rate threshold, it is determined that the corresponding Bluetooth signal is in a stable state; signal names are identified for all Bluetooth signals in a stable state to form a signal name directory of all Bluetooth signals in a stable state.

[0095] The beneficial effect of the above embodiment is that there are multiple user devices in the environment where the service device is located. When the user device needs to establish a Bluetooth connection with the service device, the user device will enter the Bluetooth working mode accordingly and send out a Bluetooth signal. In this way, the Bluetooth scanning and detection of the surrounding environment of the service device is performed to identify the signal strength status information of all Bluetooth signals in the surrounding environment, so as to facilitate the quantitative analysis of the stable state of the Bluetooth signal generated by each user device. Specifically, the average signal strength value and the signal strength change rate value are respectively compared with the threshold value. If the average signal strength value is greater than or equal to the preset signal strength threshold value and the signal strength change rate value is less than the preset signal strength change rate threshold value, it indicates that the Bluetooth signal can maintain a sufficiently large signal strength and the drift of the signal strength is small. Then, the signal name of all Bluetooth signals in a stable state is identified to form a signal name directory of all Bluetooth signals in a stable state, so that the service device can establish a Bluetooth connection with the user device with a stable Bluetooth signal, improve the connection stability and continuity of the two, and avoid the occurrence of Bluetooth connection interruption.

[0096] In another embodiment, the user equipment calibration module is used to perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user equipment corresponding to each of the Bluetooth signals in a stable state, and obtain device attribute information corresponding to each of the user equipment, including:

[0097] Perform signal position positioning and identification on all Bluetooth signals in a stable state, determine the relative position information between the user devices corresponding to all Bluetooth signals in a stable state and the service device, and obtain the device identity information corresponding to all user devices;

[0098] The user equipment selection and authentication module is used to select a number of user equipments that can simultaneously establish a Bluetooth connection with the service device from all user equipments based on the device attribute information, and authenticate the selected user equipments, including:

[0099] Based on the relative position information and device identity information of all user devices relative to the service device, all user devices located in the same position range are determined as several user devices that can simultaneously establish a Bluetooth connection with the service device; and the device identity information of the several user devices that can simultaneously establish a Bluetooth connection with the service device is compared with the device identity whitelist of the service device. If the device identity information exists in the device identity whitelist, it is determined that the authentication of the corresponding user device is successful; otherwise, it is determined that the authentication of the corresponding user device has failed.

[0100] The beneficial effects of the above embodiments include signal azimuth positioning and identification of all Bluetooth signals in a stable state, determining the relative azimuth information between the user devices corresponding to all Bluetooth signals in a stable state and the service device, thereby locating the user devices corresponding to the surrounding environment of the service device, so that all user devices in the same azimuth range are subsequently determined as several user devices that can simultaneously connect to the service device through Bluetooth, achieving synchronous Bluetooth connection between the service device and multiple user devices, and improving the efficiency of Bluetooth connection between the service device and the user devices. In addition, the device identity information of several user devices that can simultaneously connect to the service device through Bluetooth is compared with the device identity whitelist of the service device, and the user devices are securely authenticated to ensure that only successfully authenticated user devices can connect to the service device, thereby improving the Bluetooth connection security of the two.

[0101] In another embodiment, the network configuration connection module is used to establish a Bluetooth network configuration connection between the service device and corresponding user devices based on the authentication result, including:

[0102] Based on the Bluetooth signal channels corresponding to all successfully authenticated user devices, establish a Bluetooth network connection between the service device and all successfully authenticated user devices;

[0103] The Bluetooth data receiving control module is used to determine the Bluetooth data receiving status of all user devices connected to the current distribution network by the service device based on the Bluetooth data transmission attribute information of all user devices connected to the current distribution network and the service device, including:

[0104] Obtain the amount of bits of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device, and determine the order in which the service device receives Bluetooth data from all user devices currently connected to the network based on the order of the amount of bits of Bluetooth data to be transmitted from small to large; and when the service device completes receiving Bluetooth data from any user device currently connected to the network, stop the Bluetooth network connection between the service device and the corresponding user device.

[0105] The beneficial effect of the above embodiment is that, based on the Bluetooth signal channels corresponding to all successfully authenticated user devices, the Bluetooth network connection between the service device and all successfully authenticated user devices is established, and a synchronous Bluetooth connection between the service device and multiple user devices is realized. In addition, the amount of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device is obtained, and the order of receiving Bluetooth data of all user devices currently connected to the network is determined based on the order from small to large of the amount of Bluetooth data to be transmitted. This ensures that the service device can quickly and efficiently receive data from user devices. When the service device completes the reception of Bluetooth data of any user device currently connected to the network, the Bluetooth network connection between the service device and the corresponding user device is stopped, which can effectively reduce the Bluetooth connection load of the service device.

[0106] In general, the Bluetooth network connection method and system for multi-device scenarios performs Bluetooth detection on the environment around the service device to obtain Bluetooth signal status information in the surrounding environment, thereby screening Bluetooth signals in a stable state, and determining the user devices corresponding to the Bluetooth signals in a stable state and obtaining the corresponding device attribute information, accurately determining the user devices that can be connected to the service device via Bluetooth; then authenticating the user devices, establishing a Bluetooth network connection between the service device and several user devices, and realizing Bluetooth network connection in multi-device scenarios; and also determining the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, thereby ensuring orderly Bluetooth data transmission between each user device and the service device, and improving the execution efficiency and convenience of Bluetooth connections.

[0107] The above is only a specific implementation of the present invention, and any other improvements made based on the concept of the present invention are considered to be within the protection scope of the present invention.

Claims

1. A Bluetooth network connection method for multiple device scenarios, characterized in that: include: Performing Bluetooth detection on the surrounding environment of the service device to identify Bluetooth signal status information existing in the surrounding environment; Analyze the Bluetooth signal status information, and filter out all Bluetooth signals in a stable state in the surrounding environment; Perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user devices corresponding to all Bluetooth signals in a stable state, and obtain device attribute information corresponding to all user devices; based on the device attribute information, select a number of user devices that can simultaneously establish a Bluetooth connection with the service device from all user devices, and authenticate the selected user devices; Based on the result of the authentication, establish a Bluetooth network connection between the service device and the corresponding user devices; determine the Bluetooth data reception status of the service device for all user devices currently connected to the network based on the Bluetooth data transmission attribute information between all user devices currently connected to the network and the service device; Among them, performing Bluetooth detection on the surrounding environment of the service device to identify Bluetooth signal status information existing in the surrounding environment; analyzing the Bluetooth signal status information to screen out all Bluetooth signals in the surrounding environment that are in a stable state, including: Performing Bluetooth scanning detection on the surrounding environment of the service device to identify the signal strength status information of all Bluetooth signals in the surrounding environment; analyzing the signal strength status information to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval; Performing threshold comparison on the average signal strength value and the signal strength change rate value respectively, and if the average signal strength value is greater than or equal to a preset signal strength threshold and the signal strength change rate value is less than the preset signal strength change rate threshold, determining that the corresponding Bluetooth signal is in a stable state; performing signal name recognition on all Bluetooth signals in a stable state to form a signal name directory of all Bluetooth signals in a stable state; Among them, signal positioning and identifying are performed on all Bluetooth signals in a stable state, user devices corresponding to all Bluetooth signals in a stable state are determined, and device attribute information corresponding to all user devices is obtained; based on the device attribute information, a number of user devices that can simultaneously establish a Bluetooth connection with the service device are selected from all user devices, and the selected user devices are authenticated, including: Perform signal position positioning and identification on all Bluetooth signals in a stable state, determine the relative position information between the user equipment corresponding to all Bluetooth signals in a stable state and the service equipment, and obtain the device identity information corresponding to all user equipment; Based on the relative position information and device identity information of all user devices relative to the service device, all user devices located in the same position range are determined as several user devices that can simultaneously establish a Bluetooth connection with the service device; and the device identity information of the several user devices that can simultaneously establish a Bluetooth connection with the service device is compared with the device identity whitelist of the service device. If the device identity information exists in the device identity whitelist, it is determined that the authentication of the corresponding user device is successful; otherwise, it is determined that the authentication of the corresponding user device has failed.

2. The Bluetooth network connection method for multiple device scenarios according to claim 1, characterized in that: The signal strength status information is analyzed to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval, including: Step S1, using the following formula (1), obtain the average signal strength value of all Bluetooth signals within a preset time interval: In the above formula (1), represents the average signal strength value of the ath Bluetooth signal identified within the preset time interval; n_a represents the total number of signal strengths of the ath Bluetooth signal collected within the preset time interval; E_a(k) represents the kth signal strength of the ath Bluetooth signal collected within the preset time interval; Indicates the minimum signal strength value of the ath Bluetooth signal collected within the preset time interval; Indicates the maximum signal strength of the ath Bluetooth signal collected within the preset time interval; Step S2, using the following formula (2), obtain the average signal strength change rate value of all Bluetooth signals within a preset time interval, In the above formula (2), represents the average signal strength change rate value of the a-th Bluetooth signal identified within a preset time interval; T represents the preset time interval; Step S3, using the following formula (3), based on the average signal strength change rate value of all Bluetooth signals identified in the preset time interval and the head and tail signal strengths, the final signal strength change rate value of all Bluetooth signals in the preset time interval is obtained, In the above formula (3), b_a represents the final signal strength change rate value of the a-th Bluetooth signal within a preset time interval.

3. The Bluetooth network connection method for multiple device scenarios according to claim 1, characterized in that: Based on the result of the authentication, establishing a Bluetooth network connection between the service device and the corresponding plurality of user devices; based on the Bluetooth data transmission attribute information of all user devices currently connected to the network and the service device, determining the Bluetooth data reception status of the service device for all user devices currently connected to the network, including: Building a Bluetooth network connection between the service device and all successfully authenticated user devices based on the Bluetooth signal channels corresponding to all successfully authenticated user devices; Obtain the amount of bits of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device, and determine the order in which the service device receives Bluetooth data from all user devices currently connected to the network based on the order of the amount of bits of Bluetooth data to be transmitted from small to large; and when the service device completes receiving Bluetooth data from any user device currently connected to the network, stop the Bluetooth network connection between the service device and the corresponding user device.

4. A Bluetooth network connection system for multiple devices, characterized in that: include: A Bluetooth signal detection module is used to perform Bluetooth detection on the surrounding environment of the service device and identify Bluetooth signal status information existing in the surrounding environment; A Bluetooth signal analysis module, used to analyze the Bluetooth signal status information and screen out all Bluetooth signals in a stable state in the surrounding environment; A user equipment calibration module is used to perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user equipment corresponding to each of the Bluetooth signals in a stable state, and obtain device attribute information corresponding to each of the user equipment; A user equipment selection and authentication module, configured to select, based on the equipment attribute information, a number of user equipments that can simultaneously establish a Bluetooth connection with the service equipment from all user equipments, and authenticate the selected number of user equipments; A network configuration connection module, used to establish a Bluetooth network configuration connection between the service device and corresponding user devices based on the authentication result; A Bluetooth data receiving control module, configured to determine the Bluetooth data receiving status of all user devices connected to the current configuration network by the service device based on the Bluetooth data transmission attribute information of all user devices connected to the current configuration network and the service device; The Bluetooth signal detection module is used to perform Bluetooth detection on the surrounding environment of the service device and identify the Bluetooth signal status information existing in the surrounding environment, including: Performing Bluetooth scanning detection on the surrounding environment of the service device to identify the signal strength status information of all Bluetooth signals in the surrounding environment; analyzing the signal strength status information to obtain the average signal strength value and signal strength change rate value of all identified Bluetooth signals within a preset time interval; The Bluetooth signal analysis module is used to analyze the Bluetooth signal status information and screen out all Bluetooth signals in the surrounding environment that are in a stable state, including: Performing threshold comparison on the average signal strength value and the signal strength change rate value respectively, and if the average signal strength value is greater than or equal to a preset signal strength threshold and the signal strength change rate value is less than the preset signal strength change rate threshold, determining that the corresponding Bluetooth signal is in a stable state; performing signal name recognition on all Bluetooth signals in a stable state to form a signal name directory of all Bluetooth signals in a stable state; The user equipment calibration module is used to perform signal positioning and identification on all Bluetooth signals in a stable state, determine the user equipment corresponding to each of the Bluetooth signals in a stable state, and obtain the device attribute information corresponding to each of the user equipment, including: Perform signal position positioning and identification on all Bluetooth signals in a stable state, determine the relative position information between the user equipment corresponding to all Bluetooth signals in a stable state and the service equipment, and obtain the device identity information corresponding to all user equipment; The user equipment selection and authentication module is used to select a number of user equipments that can simultaneously establish a Bluetooth connection with the service device from all user equipments based on the device attribute information, and authenticate the selected user equipments, including: Based on the relative position information and device identity information of all user devices relative to the service device, all user devices located in the same position range are determined as several user devices that can simultaneously establish a Bluetooth connection with the service device; and the device identity information of the several user devices that can simultaneously establish a Bluetooth connection with the service device is compared with the device identity whitelist of the service device. If the device identity information exists in the device identity whitelist, it is determined that the authentication of the corresponding user device is successful; otherwise, it is determined that the authentication of the corresponding user device has failed.

5. The Bluetooth network connection system for multiple device scenarios according to claim 4, characterized in that: The network configuration connection module is used to establish a Bluetooth network configuration connection between the service device and corresponding user devices based on the authentication result, including: Building a Bluetooth network connection between the service device and all successfully authenticated user devices based on the Bluetooth signal channels corresponding to all successfully authenticated user devices; The Bluetooth data receiving control module is used to determine the Bluetooth data receiving status of all user devices connected to the current configuration network by the service device based on the Bluetooth data transmission attribute information of all user devices connected to the current configuration network and the service device, including: Obtain the amount of bits of Bluetooth data to be transmitted between all user devices currently connected to the network and the service device, and determine the order in which the service device receives Bluetooth data from all user devices currently connected to the network based on the order of the amount of bits of Bluetooth data to be transmitted from small to large; and when the service device completes receiving Bluetooth data from any user device currently connected to the network, stop the Bluetooth network connection between the service device and the corresponding user device.

Citation Information

Patent Citations

  • Equipment network distribution method, device and system, electronic equipment and storage medium

    CN112969167A