WO2017092386A1 - 一种可穿戴设备与移动终端的蓝牙互连方法及系统 - Google Patents

一种可穿戴设备与移动终端的蓝牙互连方法及系统 Download PDF

Info

Publication number
WO2017092386A1
WO2017092386A1 PCT/CN2016/092297 CN2016092297W WO2017092386A1 WO 2017092386 A1 WO2017092386 A1 WO 2017092386A1 CN 2016092297 W CN2016092297 W CN 2016092297W WO 2017092386 A1 WO2017092386 A1 WO 2017092386A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
wearable device
mobile terminal
signal strength
interconnection
Prior art date
Application number
PCT/CN2016/092297
Other languages
English (en)
French (fr)
Inventor
葛良波
蔡海
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Priority to US15/503,698 priority Critical patent/US20170280277A1/en
Publication of WO2017092386A1 publication Critical patent/WO2017092386A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of Bluetooth technology for smart terminals, and in particular, to a Bluetooth interconnection method and system for a wearable device and a mobile terminal.
  • Smart wearable devices such as smart watches and smart bracelets have been widely used. These wearable devices are often versatile by connecting to a smart phone via Bluetooth, and can simultaneously operate phones, text messages, mails, photos, music, etc. in the mobile phone.
  • the Bluetooth connection process between these wearable devices and mobile phones is troublesome or requires the mobile phone to support special hardware functions such as NFC. For example, some users need to open the Bluetooth of the mobile phone, manually search for nearby Bluetooth devices, and then complete the Bluetooth pairing connection by verifying the password, and when searching for two or more Bluetooth devices with the same name, the user does not know which Bluetooth device is positive.
  • the technical problem to be solved by the present invention is to provide a Bluetooth interconnection method and system for a wearable device and a mobile terminal, aiming at solving the connection operation between the wearable device and the mobile terminal in the prior art. Troublesome problems.
  • a Bluetooth interconnection method of a wearable device and a mobile terminal including:
  • the wearable device's Bluetooth broadcasts custom broadcast information including its corresponding Bluetooth address and Bluetooth name to the surrounding in a non-directional manner in a low power mode;
  • the mobile terminal scans and acquires customized broadcast information of each wearable device, and records a Bluetooth address, a Bluetooth name, and a Bluetooth received signal strength value corresponding to each wearable device;
  • the Bluetooth of the mobile terminal sends a custom connection request to establish a connection to the Bluetooth of the wearable device with the highest signal strength value received by the Bluetooth;
  • the wearable device determines that the mobile terminal is a legitimate connected device according to the broadcast channel, the connection confirmation information is received and the Bluetooth transmitted to the mobile terminal through the universal attribute protocol layer completes the interconnection.
  • the Bluetooth interconnection method of the wearable device and the mobile terminal wherein the Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth receiving the Bluetooth device with the highest signal strength value to establish a connection, which specifically includes:
  • the Bluetooth of the mobile terminal Comparing the Bluetooth received signal strength value corresponding to each wearable device with a preset signal strength threshold value, and finding a wearable device with the highest Bluetooth received signal strength value from the wearable device whose Bluetooth received signal strength value is higher than the signal strength threshold value The device, the Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth of the wearable device to establish a connection.
  • the Bluetooth interconnection method of the wearable device and the mobile terminal wherein when the wearable device determines that the mobile terminal is a legal connection device according to the broadcast channel, receiving the connection confirmation information and transmitting the Bluetooth to the mobile terminal through the universal attribute protocol layer , complete the interconnection, specifically including:
  • the Bluetooth of the mobile terminal sequentially cycles to the other Bluetooth receiving signal strength value higher than the signal strength threshold according to the Bluetooth received signal strength value in descending order.
  • the Bluetooth of the wearable device sends a custom connection request to establish a connection.
  • the wearable device determines that the mobile terminal is a legitimate connected device according to the broadcast channel, the interactive user connects the confirmation information until the interconnection is completed.
  • the Bluetooth interconnection method of the wearable device and the mobile terminal wherein the signal strength threshold is -60 dBm.
  • the method for Bluetooth interconnection of a wearable device and a mobile terminal wherein the mobile terminal scans and acquires customized broadcast information of each wearable device, records a Bluetooth address, a Bluetooth name, and a Bluetooth received signal strength of each wearable device. Values, including:
  • the mobile terminal scans and acquires the customized broadcast information of each wearable device, records the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value corresponding to each wearable device, and forms a corresponding scan list;
  • the mobile terminal records the wearable device whose Bluetooth name meets the Bluetooth name requirement in the scan list according to a preset or user-selected Bluetooth name requirement.
  • the method for the Bluetooth interconnection of the wearable device and the mobile terminal wherein before the comparing the Bluetooth received signal strength value corresponding to each wearable device with a preset signal strength threshold, the method further includes:
  • the Bluetooth name threshold association table is matched according to the Bluetooth name to obtain a corresponding signal strength threshold.
  • a Bluetooth interconnection method of a wearable device and a mobile terminal including:
  • the wearable device's Bluetooth broadcasts custom broadcast information including its corresponding Bluetooth address and Bluetooth name to the surrounding in a non-directional manner in a low power mode;
  • the mobile terminal scans and acquires customized broadcast information of each wearable device, and records a Bluetooth address, a Bluetooth name, and a Bluetooth received signal strength value corresponding to each wearable device;
  • the Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth receiving Bluetooth device with the highest signal strength value to establish a connection; the wearable device receives the connection confirmation information and transmits the Bluetooth to the mobile terminal through the universal attribute protocol layer to complete the interconnection.
  • the Bluetooth interconnection method of the wearable device and the mobile terminal wherein the Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth receiving the wearable device with the highest signal strength value to establish a connection, and the wearable device receives the connection confirmation.
  • Information is passed to the common attribute protocol layer
  • the Bluetooth of the mobile terminal completes the interconnection, and specifically includes:
  • the Bluetooth of the mobile terminal Comparing the Bluetooth received signal strength value corresponding to each wearable device with a preset signal strength threshold value, and finding a wearable device with the highest Bluetooth received signal strength value from the wearable device whose Bluetooth received signal strength value is higher than the signal strength threshold value The device, the Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth of the wearable device to establish a connection;
  • the wearable device receives the connection confirmation information and transmits the Bluetooth to the mobile terminal through the universal attribute protocol layer to complete the interconnection.
  • the method for the Bluetooth interconnection of the wearable device and the mobile terminal wherein the wearable device receives the connection confirmation information and transmits the Bluetooth to the mobile terminal through the common attribute protocol layer to complete the interconnection, and specifically includes:
  • the Bluetooth of the mobile terminal sequentially cycles to the other Bluetooth receiving signal strength value higher than the signal strength threshold according to the Bluetooth received signal strength value in descending order.
  • the wearable device's Bluetooth sends a custom connection request to establish a connection and interacts with the user connection confirmation until the interconnection is completed.
  • the Bluetooth interconnection method of the wearable device and the mobile terminal wherein the signal strength threshold is -60 dBm.
  • the method for Bluetooth interconnection of a wearable device and a mobile terminal wherein the mobile terminal scans and acquires customized broadcast information of each wearable device, records a Bluetooth address, a Bluetooth name, and a Bluetooth received signal strength of each wearable device. Values, including:
  • the mobile terminal scans and acquires the customized broadcast information of each wearable device, records the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value corresponding to each wearable device, and forms a corresponding scan list;
  • the mobile terminal records the wearable device whose Bluetooth name meets the Bluetooth name requirement in the scan list according to a preset or user-selected Bluetooth name requirement.
  • the Bluetooth interconnection method of the wearable device and the mobile terminal wherein the comparing the Bluetooth received signal strength value corresponding to each wearable device with a preset signal strength threshold before, it also includes:
  • the Bluetooth name threshold association table is matched according to the Bluetooth name to obtain a corresponding signal strength threshold.
  • a Bluetooth interconnection system for a wearable device and a mobile terminal comprising:
  • a broadcast module configured to broadcast, by the Bluetooth of the wearable device, a custom broadcast information including a corresponding Bluetooth address and a Bluetooth name to the surrounding in a connectable non-directional manner in a low power consumption mode;
  • a scanning module configured to scan and acquire customized broadcast information of each wearable device by using the mobile terminal, and record a Bluetooth address, a Bluetooth name, and a Bluetooth received signal strength value corresponding to each wearable device;
  • An interconnection module configured to establish a connection by using a Bluetooth of the mobile terminal to send a custom connection request to the Bluetooth receiving device with the highest signal strength value; the wearable device receives the connection confirmation information and transmits the connection confirmation message to the mobile terminal through the common attribute protocol layer Bluetooth, complete the interconnection.
  • the Bluetooth interconnection system of the wearable device and the mobile terminal, wherein the interconnection module comprises:
  • a Bluetooth requesting unit configured to compare a Bluetooth received signal strength value corresponding to each wearable device with a preset signal strength threshold, and find a Bluetooth receiving signal from a wearable device whose Bluetooth received signal strength value is higher than a signal strength threshold.
  • the wearable device with the highest intensity value the Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth of the wearable device to establish a connection;
  • a Bluetooth confirmation unit is configured to receive the connection confirmation information through the wearable device and transmit the Bluetooth to the mobile terminal through the universal attribute protocol layer to complete the interconnection.
  • the Bluetooth interconnection system of the wearable device and the mobile terminal, wherein the Bluetooth confirmation unit comprises:
  • the Bluetooth confirmation judging unit is configured to: when the wearable device does not receive the connection confirmation information of the user within a predetermined time, the Bluetooth of the mobile terminal sequentially cycles to the other Bluetooth receiving signal strength according to the Bluetooth receiving signal strength value in descending order The Bluetooth of the wearable device whose value is higher than the signal strength threshold sends a custom connection request to establish a connection and interacts with the user connection confirmation message until Complete the interconnection.
  • the Bluetooth interconnection system of the wearable device and the mobile terminal wherein the signal strength threshold is -60 dBm.
  • a scan list generating unit configured to scan and acquire custom broadcast information of each wearable device by using the mobile terminal, and record a Bluetooth address, a Bluetooth name, and a Bluetooth received signal strength value corresponding to each wearable device to form a corresponding scan list;
  • a scan list screening unit configured to record, by the mobile terminal, the wearable device whose Bluetooth name meets the Bluetooth name requirement according to a preset or user-selected Bluetooth name requirement in the scan list.
  • the Bluetooth interconnection method and system of the wearable device and the mobile terminal provided by the present invention effectively solve the problem that the connection operation between the wearable device and the mobile terminal is inconvenient in the prior art, and the Bluetooth of the wearable device is low.
  • the power consumption mode broadcasts the customized broadcast information including the corresponding Bluetooth address and the Bluetooth name to the surrounding non-directional manner; the mobile terminal scans and acquires the customized broadcast information of each wearable device, and records the Bluetooth corresponding to each wearable device.
  • the Bluetooth is transmitted to the mobile terminal to complete the interconnection; the mobile terminal is brought close to the wearable device, and the mobile terminal automatically connects to the wearable device.
  • the user is easy to operate without any manual setting, and the use is very convenient and the interconnection is convenient. Bringing great convenience to users.
  • FIG. 1 is a flowchart of a preferred embodiment of a Bluetooth interconnection method of a wearable device and a mobile terminal according to the present invention
  • FIG. 2 is a structural block diagram of a preferred embodiment of a Bluetooth interconnection system for a wearable device and a mobile terminal according to the present invention.
  • the present invention provides a Bluetooth interconnection method and system for a wearable device and a mobile terminal.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • BLE Bluetooth Low Energy
  • LL link layer
  • GAP Generic Access Profile
  • GATT Generic Attribute Profile
  • the link layer defines the signaling of the BLE channel, the role and state of the broadcast channel.
  • the signaling format of the BLE channel is shown in Table 1, and is applicable to a broadcast channel and a data channel.
  • the pilot code Preamble and the access address Access Address are fixed data for the BLE channel, and the Protocol Data Unit (PDU) can carry information in the BLE channel, Cyclic Redundancy Check (CRC). ) used as a loop check.
  • CRC Cyclic Redundancy Check
  • the signaling PDU of the broadcast channel is composed of a header header and a payload Payload, as shown in Table 2, and Table 2 is a signaling format of the broadcast channel.
  • the 4-bit PDU Type in the Header determines the signaling type of the broadcast channel, such as connectable non-directional broadcast signaling (ADV_IND), connectable directed broadcast signaling (ADV_DIRECT_IND), non-connected non-directional broadcast signaling (ADV_NONCONN_IND), scan Request signaling (SCAN_REQ), scan reply signaling (SCAN_RSP), connection request signaling (CONNECT_REQ), scanning non-directional broadcast signaling (ADV_SCAN_IND), as shown in Table 3, Table 3 is the signaling type of the broadcast channel. .
  • ADV_IND connectable non-directional broadcast signaling
  • ADV_DIRECT_IND connectable directed broadcast signaling
  • ADV_NONCONN_IND non-connected non-directional broadcast signaling
  • SCAN_REQ scan Request signaling
  • SCAN_RSP scan reply signaling
  • CONNECT_REQ connection request signaling
  • scanning non-directional broadcast signaling ADV_SCAN_IND
  • the Payload format for connecting non-directional broadcast signaling is as shown in Table 4.
  • AdvA represents the broadcaster's Bluetooth address
  • AdvData represents the broadcast data packet, which can carry up to 31 bytes of messages.
  • AD Structure represents a message segment, a broadcast data packet can accommodate multiple message segments;
  • AD Type represents the type of message segment, such as Bluetooth name, Bluetooth manufacturer, UUID, etc.;
  • AD Data represents the content of the message segment;
  • Length (length) Value Indicates the number of bytes of Data.
  • Table 5 shows the broadcast packet format to which non-directional broadcast signaling can be connected.
  • the AD Type field that has been defined by the Bluetooth Alliance is shown in Table 6, where 0x09 represents the Bluetooth name type, and undefined is the reserved field. Table 6 shows the complete set of AD Type fields defined by the Bluetooth Association.
  • the Payload format of the connection request signaling is as shown in Table 7.
  • InitA is the Bluetooth address of the scanning party
  • AdvA is the Bluetooth address of the broadcaster
  • link layer data LL Data is the content of the connection request.
  • Table 7 shows the Payload format for connection request signaling.
  • the format of the LL Data is as shown in Table 8, in which the channel matching ChM is used to select a channel for transmitting data.
  • Table 8 shows the LL Data format of the Connection Request PDU.
  • ChM 37 bits represent the data channel (0 to 36), and 3 bits represent the broadcast channel (37 to 39), as shown in Table 9.
  • the 3-bit broadcast channel is a reserved bit for future use.
  • Table 9 shows the channel With ChM format.
  • the link layer defines three roles in the broadcast channel: the broadcaster (Advertiser), the scanner (Scanner), and the initiator (Initiator).
  • the link layer defines three states in the broadcast channel: broadcast state, scan state, and origination state.
  • broadcast status includes:
  • Connectable undirected event All scanning parties around the broadcast direction broadcast ADV_IND signaling and declare themselves in connectable mode.
  • the broadcaster listens to the SCAN_REQ signaling sent by the scanner and then sends the SCAN_RSP signaling to the scanner.
  • the broadcaster also listens to the CONNECT_REQ signaling sent by the initiator;
  • Connectable directed event A specific scanning party around the broadcast direction broadcasts ADV_DIRECT_IND signaling and declares itself in connectable mode. The broadcaster only listens to the CONNECT_REQ signaling sent by a specific initiator;
  • Non-connectable undirected event All scanning parties around the broadcast direction broadcast ADV_NONCONN_IND signaling and declare that they are in a non-connectable mode. The broadcaster does not monitor the signaling sent by the scanning party;
  • Scannable undirected event All scanning parties around the broadcast direction broadcast ADV_SCAN_IND signaling. The broadcaster only listens to the SCAN_REQ signaling sent by the scanner and then sends the SCAN_RSP signaling to the scanner.
  • the scan status includes:
  • Passive scanning The scanning party in passive scanning mode can only listen to the signaling broadcast by the broadcaster and cannot send data to the outside.
  • the scanning party in the active scanning mode listens to the broadcaster's broadcast signaling, and only sends the SCAN_REQ message to the broadcaster who broadcasts the ADV_IND signaling and the ADV_SCAN_IND signaling. Therefore, after the transmission is completed, continue to listen to the SCAN_RSP signaling sent by the broadcaster.
  • the initiation status includes:
  • the initiator in the initiating state may send CONNECT_REQ signaling to the broadcaster that broadcasts ADV_IND signaling and ADV_DIRECT_IND signaling.
  • the signaling relationship corresponding to the three states of the broadcast channel is as shown in Table 10.
  • Table 10 shows the signaling relationships corresponding to the broadcast state, the scan state, and the origination state in the broadcast channel.
  • the GAP layer defines four roles: Broadcaster Role, Observer Role, Peripheral Role, and Central Role.
  • Broadcast role A device in the broadcast role broadcasts to the surrounding in a low-power mode, but does not respond to connection requests from other devices, that is, devices in the broadcast role are in a disconnected mode.
  • Observe the role The device in the observing role can scan the device in the broadcast role, but cannot initiate a connection request, that is, the device in the observing role is in the unconnectable mode.
  • Peripheral role A device in a peripheral role broadcasts to the surrounding in a low-power mode, responding to connection requests from other devices, that is, devices in a peripheral role are in connectable mode.
  • Central role A device in a central role can scan for devices in a peripheral role and can initiate a connection request, that is, the device in the central role is in connectable mode.
  • Table 11 shows the correspondence between the LL layer and the GAP layer.
  • E means no support
  • M means support
  • O means support support
  • O/E means if the central role supports passive scanning, then the central role selection supports active scanning, otherwise the central role Active scanning must be supported.
  • the GATT layer defines a server (Server) and a client (Client).
  • the server can send data to the client, otherwise the client cannot send data to the server.
  • Table 12 shows the communication mechanism of the GATT layer.
  • the original central role and peripheral roles are transformed into servers and clients.
  • the original central roles and peripheral roles can be either servers or clients. Can serve as both a server and a client.
  • the present invention defines the following two types of physical devices, as shown in FIG. 1, including a wearable device and a mobile terminal, wherein the wearable device includes a smart watch, a smart bracelet, smart glasses, and the like.
  • the mobile terminal includes a mobile phone, a tablet, and the like.
  • FIG. 1 is a flowchart of a preferred embodiment of a Bluetooth interconnection method between a wearable device and a mobile terminal according to the present invention. As shown in the figure, the method includes the following steps:
  • step S100 the Bluetooth of the wearable device broadcasts the customized broadcast information including the corresponding Bluetooth address and the Bluetooth name to the surrounding in a connectable non-directional manner in a low power consumption mode.
  • step S200 the mobile terminal scans and acquires the customized broadcast information of each wearable device, and records the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value corresponding to each wearable device.
  • Step S300 The Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth receiving device with the highest signal strength value to establish a connection; the wearable device receives the connection confirmation information and transmits the Bluetooth to the mobile terminal through the universal attribute protocol layer. interconnection.
  • step S100 the Bluetooth of the wearable device broadcasts the customized broadcast information including the respective corresponding Bluetooth address and Bluetooth name to the surrounding in a connectable non-directional manner in a low power consumption mode.
  • Bluetooth in the wearable device broadcasts a custom broadcast message to the surroundings in a "connectable non-directional" manner in a low power mode.
  • Bluetooth in the wearable device broadcasts a custom broadcast message as shown in Table 13 in a "connectable non-directional" manner in a low power mode, so that the mobile terminal (such as a mobile phone) can recognize the device as Legal device.
  • the custom broadcast message also includes a specific meaning of the Bluetooth name, such as: xxx smart watch I, xxx smart watch II, xxx smart bracelet I, xxx smart glasses II, etc., the name of the wearable device can be distinguished by the Bluetooth name.
  • Table 13 shows the Bluetooth custom broadcast packets of the wearable device.
  • Length indicates the total number of bytes of AD Type and AD Data; the value of AD Type is "49", which is not defined by the Bluetooth Alliance to prevent interference to other BLE devices.
  • the AD Type has been defined by the Bluetooth Alliance. The fields are shown in Table 6.
  • step S200 the mobile terminal scans and acquires the customized broadcast information of each wearable device, and records the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value corresponding to each wearable device.
  • the mobile terminal scans and acquires the customized broadcast information of each wearable device, and records the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value corresponding to each wearable device.
  • the Bluetooth in the mobile phone actively scans the surrounding Bluetooth signal, and after scanning the customized broadcast message of the Bluetooth of the wearable device to be connected, records the Bluetooth address, the Bluetooth name and the Received Signal Strength Indication (RSSI) of the device. Value to form a wearable device
  • the scan list is as shown in Table 14. Table 14 shows the wearable device scan list.
  • Wearable device Bluetooth address
  • Device model Bluetooth name
  • RSSI value (dBm) 1 Xxx smart watch I -50 2 Xxx smart bracelet I -65 3 Xxx smart glasses II -45 ... ... ... N Xxx smart watch II -72
  • step S300 the Bluetooth of the mobile terminal sends a custom connection request to establish a connection to the Bluetooth of the wearable device with the highest Bluetooth signal strength value; the wearable device receives the connection confirmation information and transmits the Bluetooth to the mobile terminal through the universal attribute protocol layer. , complete the interconnection.
  • the Bluetooth in the mobile phone first sends a custom connection request to the Bluetooth of the wearable device with the largest Bluetooth RSSI value to establish a connection.
  • Customizing the 37th to 39th bits in the ChM shown in Table 9 is "001", so that the wearable device can recognize that the mobile phone is a legitimate connected device, so that the user is sent by the wearable device to the mobile phone after the connection is established. Connection confirmation information does not affect normal BLE communication.
  • the Bluetooth of the mobile phone and the Bluetooth of the wearable device pass the user's connection confirmation information at the GATT layer to complete the interconnection.
  • the step S200 specifically includes:
  • the mobile terminal scans and acquires the customized broadcast information of each wearable device, records the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value of each wearable device to form a corresponding scan list.
  • the mobile terminal records, in the scan list, a wearable device whose Bluetooth name meets the Bluetooth name requirement according to a preset or user-selected Bluetooth name requirement.
  • the Bluetooth in the mobile phone actively scans the surrounding Bluetooth signal, and after scanning the custom broadcast message of the Bluetooth of the wearable device that needs to be connected, records the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value of the device to form a Bluetooth signal.
  • the wearable device scans the list, as shown in Table 14.
  • the APP in the mobile phone will be preset or set according to the user's choice of the type and model of the wearable device that needs to be connected (ie, the Bluetooth name).
  • the mobile phone will only match the Bluetooth name to the setting requirements and can broadcast the customized wide.
  • the wearable device that broadcasts the message is recorded in the scan list of the wearable device.
  • the step S300 specifically includes:
  • the wearable device receives the connection confirmation information and transmits the Bluetooth to the mobile terminal through the universal attribute protocol layer to complete the interconnection.
  • Bluetooth RSSI values Bluetooth received signal strength values
  • F signal strength threshold
  • the Bluetooth in the mobile phone firstly reaches the Bluetooth of the wearable device with the largest Bluetooth RSSI value. Send a custom connection request to establish a connection. Then the Bluetooth of the mobile phone and the Bluetooth of the wearable device pass the user's connection confirmation information at the GATT layer to complete the interconnection.
  • the Bluetooth in the handset When one or more of the recorded Bluetooth RSSI values are greater than the threshold F (eg, -60 dBm), the Bluetooth in the handset first sends a custom connection request to the Bluetooth of the wearable device with the largest Bluetooth RSSI value to establish a connection.
  • Customizing the 37th to 39th bits in the ChM shown in Table 9 is "001", so that the wearable device can recognize that the mobile phone is a legitimate connected device, so that the user is sent by the wearable device to the mobile phone after the connection is established. Connection confirmation information does not affect normal BLE communication. Then the Bluetooth of the mobile phone and the Bluetooth of the wearable device pass the user's connection confirmation information at the GATT layer to complete the interconnection.
  • the signal strength threshold is -60 dBm.
  • the Bluetooth RSSI threshold F that is, the setting of the signal strength threshold.
  • the Bluetooth RSSI value received by the receiver has a linear relationship with the distance, that is, the Bluetooth RSSI value decreases as the distance between the two Bluetooth devices increases.
  • the Bluetooth transceiver antenna is not a complete omnidirectional antenna and the device itself blocks the Bluetooth signal, the Bluetooth RSSI value received in the same direction and different directions may have a large difference.
  • the Bluetooth RSSI threshold F cannot be set too high and cannot be set too low. If the Bluetooth RSSI threshold F is set too high, it will increase the difficulty of Bluetooth automatic connection, and the user needs to put the mobile phone and the wearable device very close.
  • the Bluetooth RSSI threshold F In order to connect successfully; if the Bluetooth RSSI threshold F is set too low, it is easy to cause misconnection, and may initiate a Bluetooth connection to the same type of wearable device of other users whose nearby Bluetooth RSSI reaches the threshold. Therefore, the basic principle of the Bluetooth RSSI threshold F setting is that it can ensure that the mobile phone and the wearable device to be connected can be connected in most directions (such as 10 cm) in most directions, and most of them can be connected. Avoid misconnections with the same type of wearable device from other users at a distance (eg, 50 cm away). In order to improve the connection success rate at a short distance, when the mobile phone APP initiates a Bluetooth connection with the wearable device, the user is prompted to place the mobile phone as close as possible to the wearable device to be connected.
  • the setting of the Bluetooth RSSI threshold F can be appropriately adjusted according to the Bluetooth RSSI test data in various distances and directions of the actual product, or the RSSI threshold F can be set separately for different types and different types of wearable devices, that is, according to The Bluetooth name of the wearable device sets the respective Bluetooth RSSI thresholds: F1, F2, F3, etc.
  • a certain type of mobile phone is tested on the Bluetooth RSSI value of each type of smart watch in various distances and directions.
  • the test result shows that the Bluetooth RSSI threshold F is set to -60dBm, which is suitable for ensuring the mobile phone and
  • the smart watch to be connected can be connected in most directions within a range of 10 cm, and most of them can avoid misconnection with the same type of smart watch other than 30 cm.
  • the step S320 specifically includes:
  • the Bluetooth of the mobile terminal sequentially cycles to the other Bluetooth to receive the signal strength value higher than the signal strength according to the Bluetooth received signal strength value in descending order.
  • the Bluetooth of the threshold wearable device sends a custom connection request to establish a connection and interacts with the user connection confirmation until the interconnection is completed.
  • the Bluetooth of the mobile phone and the Bluetooth of the wearable device pass the user's connection confirmation information at the GATT layer to complete the interconnection. If after waiting for a certain period of time (that is, a predetermined time, for example, 10 seconds), the user connection confirmation message from the wearable device is not received, the Bluetooth in the mobile phone is sequentially looped to the wearable device according to the Bluetooth RSSI value in descending order. Scanning the list of other Bluetooth RSSI values greater than the threshold F of the wearable device's Bluetooth send custom connection request to establish a connection and Interact the user connection confirmation message until the interconnection is complete.
  • a certain period of time that is, a predetermined time, for example, 10 seconds
  • the user's connection confirmation information may be displayed on the screen of the wearable device, or the light flashes, or the sound is notified to the user, and the user may click on the "confirm" button on the screen of the wearable device, or long press on one of the wearable devices. Feedback to the wearable device by physical buttons or by continuously shaking the wearable device.
  • the wearable device when the mobile terminal sends a Bluetooth connection request to the wearable device, the wearable device receives the connection confirmation information of the user and transmits the connection confirmation information to the mobile terminal. If the wearable device is not the device that the user wants to connect, the mobile terminal does not receive the response of the wearable device, and the Bluetooth receiving signal in the scan list of the mobile terminal is in the Bluetooth corresponding to the second corresponding wearable device. By analogy, until there is a wearable device that gets a response. It should be noted that the wearable devices connected to the mobile terminal have higher Bluetooth received signal strength values than the signal strength threshold. If all the wearable devices whose Bluetooth received signal strength values are higher than the signal strength threshold are traversed, the loop traversal may continue, or the Bluetooth connection request may be stopped, which may be set as needed, preferably loop traversal.
  • the invention provides a Bluetooth interconnection method between a wearable device and a mobile terminal, the user opens the wearable device and the Bluetooth thereof, then opens the corresponding APP in the mobile phone and initiates connection with the wearable device, and simultaneously brings the mobile phone close to the wearable device, the mobile phone
  • the app in the phone automatically opens the Bluetooth in the phone to complete the Bluetooth connection with the wearable device.
  • the wearable device broadcasts a custom broadcast message that includes a specific Bluetooth name.
  • the Bluetooth side of the mobile phone scans the wearable device with a specific Bluetooth name and detects the Bluetooth RSSI value of the wearable device.
  • the mobile phone automatically connects to the wearable device when the Bluetooth RSSI value of the wearable device detected by the mobile phone is higher than a preset Bluetooth RSSI threshold.
  • the user simply opens the app in the phone and brings the phone closer to the wearable device, and the phone automatically connects to the wearable device. Throughout the process, the user is easy to operate and does not require any manual setup.
  • the embodiment of the present invention further provides a Bluetooth interconnection system between the wearable device and the mobile terminal, as shown in FIG. 2, the system include:
  • the broadcast module 10 is configured to broadcast, by the Bluetooth of the wearable device, the custom broadcast information including the corresponding Bluetooth address and the Bluetooth name to the surrounding in a connectable non-directional manner in a low power consumption mode; specifically, as described in step S100.
  • the scanning module 20 is configured to scan and acquire the customized broadcast information of each wearable device by the mobile terminal, and record the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value corresponding to each wearable device; specifically, as described in step S200.
  • the interconnection module 30 is configured to establish a connection by using a Bluetooth of the mobile terminal to send a custom connection request to the Bluetooth receiving the Bluetooth signal with the highest signal strength value; the wearable device receives the connection confirmation information and transmits the connection to the mobile through the common attribute protocol layer
  • the Bluetooth of the terminal completes the interconnection; specifically, as described in step S300.
  • interconnection module 30 includes:
  • a Bluetooth requesting unit configured to compare a Bluetooth received signal strength value corresponding to each wearable device with a preset signal strength threshold, and find a Bluetooth receiving signal from a wearable device whose Bluetooth received signal strength value is higher than a signal strength threshold.
  • the wearable device with the highest intensity value the Bluetooth of the mobile terminal sends a custom connection request to the Bluetooth of the wearable device to establish a connection.
  • a Bluetooth confirmation unit is configured to receive the connection confirmation information through the wearable device and transmit the Bluetooth to the mobile terminal through the universal attribute protocol layer to complete the interconnection.
  • the Bluetooth confirmation unit includes:
  • the Bluetooth confirmation judging unit is configured to: when the wearable device does not receive the connection confirmation information of the user within a predetermined time, the Bluetooth of the mobile terminal sequentially cycles to the other Bluetooth receiving signal strength according to the Bluetooth receiving signal strength value in descending order The Bluetooth of the wearable device whose value is above the signal strength threshold sends a custom connection request to establish a connection and interactively confirms the user connection until the interconnection is completed.
  • the signal strength threshold is -60 dBm.
  • dBm which is the unit of signal strength, this is prior art and will not be described too much here.
  • the scanning module 20 includes:
  • the scan list generating unit is configured to scan and acquire the customized broadcast information of each wearable device, record the Bluetooth address, the Bluetooth name, and the Bluetooth received signal strength value of each wearable device to form a corresponding scan list.
  • a scan list screening unit configured to record, by the mobile terminal, the wearable device whose Bluetooth name meets the Bluetooth name requirement according to a preset or user-selected Bluetooth name requirement in the scan list.
  • the present invention provides a Bluetooth interconnection method and system for a wearable device and a mobile terminal.
  • the Bluetooth of the wearable device is broadcasted in a connectable non-directional manner in a low-power mode to include a corresponding Bluetooth address.
  • the custom broadcast information of the Bluetooth name the mobile terminal scans and obtains the customized broadcast information of each wearable device, records the Bluetooth address, the Bluetooth name and the Bluetooth received signal strength value of each wearable device; the Bluetooth of the mobile terminal receives the Bluetooth
  • the Bluetooth of the wearable device with the highest signal strength value sends a custom connection request to establish a connection; the wearable device receives the connection confirmation information and transmits the Bluetooth to the mobile terminal through the universal attribute protocol layer to complete the interconnection; bringing the mobile terminal closer to the wearable device
  • the mobile terminal automatically connects to the wearable device.
  • the user is easy to operate, does not need any manual setting, is very convenient to use, and has convenient interconnection, which brings great convenience to the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)

Abstract

一种可穿戴设备与移动终端的蓝牙互连方法及系统,包括:可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播广播信息;移动终端获取各可穿戴设备的广播信息,记录各可穿戴设备的广播信息;移动终端的蓝牙向信号强度值最大的可穿戴设备发送连接请求;该可穿戴设备接收连接确认信息并传递给移动终端,完成互连。

Description

一种可穿戴设备与移动终端的蓝牙互连方法及系统 技术领域
本发明涉及智能终端蓝牙技术领域,尤其涉及的是一种可穿戴设备与移动终端的蓝牙互连方法及系统。
背景技术
随着电子设备的普及,出现了越来越多的智能设备,如智能手机、可穿戴设备等。智能手表、智能手环等智能可穿戴设备已被人们广泛使用,这些可穿戴设备往往通过蓝牙连接智能手机而实现多功能,能同步操作手机中的电话、短信、邮件、照片、音乐等。目前,这些可穿戴设备与手机的蓝牙连接过程比较麻烦或者要求手机支持NFC等特殊的硬件功能。比如:有的需要用户打开手机的蓝牙,手动搜索附近的蓝牙设备,然后通过验证密码完成蓝牙的配对连接,而且当搜索到两个及两个以上同名蓝牙设备时,用户不知道哪个蓝牙设备是正真想要连接的,需要依次尝试连接;有的需要用户使用手机摄像头扫描可穿戴设备中存储的二维码获得蓝牙地址来完成蓝牙的配对连接;有的需要手机支持NFC功能,通过手机NFC读取可穿戴设备上的NFC标签中的蓝牙地址来完成蓝牙的配对连接。对用户来说,使用不是很方便。
因此,现有技术还有待于改进和发展。
发明内容
本发明要解决的技术问题在于,提供一种可穿戴设备与移动终端的蓝牙互连方法及系统,旨在解决现有技术中可穿戴设备与移动终端连接操作 麻烦不方便的问题。
本发明解决技术问题所采用的技术方案如下:
一种可穿戴设备与移动终端的蓝牙互连方法,其中包括:
可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;
移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;
移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;
当该可穿戴设备根据广播信道判定移动终端为合法的连接设备时,接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接,具体包括:
将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中当该可穿戴设备根据广播信道判定移动终端为合法的连接设备时,接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连,具体包括:
当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,当该可穿戴设备根据广播信道判定移动终端为合法的连接设备时,交互用户连接确认信息,直到完成互连。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述信号强度阈值为-60dBm。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,具体包括:
移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表;
移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较之前,还包括:
设置蓝牙名称阈值关联表;
根据蓝牙名称匹配蓝牙名称阈值关联表,得到对应的信号强度阈值。
一种可穿戴设备与移动终端的蓝牙互连方法,其中包括:
可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;
移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;
移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接,该可穿戴设备接收连接确认信息并通过通用属性协议层传递给 移动终端的蓝牙,完成互连,具体包括:
将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接;
该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连,具体包括:
当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,并交互用户连接确认信息,直到完成互连。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述信号强度阈值为-60dBm。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,具体包括:
移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表;
移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较之 前,还包括:
设置蓝牙名称阈值关联表;
根据蓝牙名称匹配蓝牙名称阈值关联表,得到对应的信号强度阈值。
一种可穿戴设备与移动终端的蓝牙互连系统,其中包括:
广播模块,用于通过可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;
扫描模块,用于通过移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;
互连模块,用于通过移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述互连模块包括:
蓝牙请求单元,用于将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接;
蓝牙确认单元,用于通过该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述蓝牙确认单元包括:
蓝牙确认判断单元,用于当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,并交互用户连接确认信息,直到 完成互连。
所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述信号强度阈值为-60dBm。
所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述扫描模块包括:
扫描列表生成单元,用于通过移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表;
扫描列表筛选单元,用于通过移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
本发明所提供的一种可穿戴设备与移动终端的蓝牙互连方法及系统,有效地解决了现有技术中可穿戴设备与移动终端连接操作麻烦不方便的问题,可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连;将移动终端靠近可穿戴设备,移动终端就会自动连接可穿戴设备,整个过程中,用户操作简便,无需任何手动设置,使用非常方便,互连便利,给用户带来了大大的方便。
附图说明
图1为本发明提供的可穿戴设备与移动终端的蓝牙互连方法较佳实施例的流程图;
图2为本发明提供的可穿戴设备与移动终端的蓝牙互连系统较佳实施例的结构框图。
具体实施方式
本发明提供一种可穿戴设备与移动终端的蓝牙互连方法及系统,为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
首先对低功耗蓝牙协议进行详细说明如下。
低功耗蓝牙(Bluetooth Low Energy,BLE)的优点是省功耗,同时传输的数据量也比较小。BLE协议的开发主要在链路层(Link Layer,LL),通用访问协议层(Generic Access Profile,GAP)和通用属性协议层(Generic Attribute Profile,GATT),下面将分别作介绍。
关于链路层(LL),根据蓝牙联盟发布的低功耗蓝牙协议,链路层定义了BLE信道的信令,广播信道的角色和状态。BLE信道的信令格式如表1所示,适用于广播信道和数据信道。其中,引导码Preamble和接入地址Access Address对于BLE信道来说是固定的数据,协议数据单元(Protocol Data Unit,PDU)可以在BLE信道中携带信息,循环冗余校验(Cyclic Redundancy Check,CRC)用作循环校验。
Figure PCTCN2016092297-appb-000001
表1
关于广播信道的信令格式,广播信道的信令PDU由头Header和有效载荷Payload组成,如表2所示,表2为广播信道的信令格式。
Figure PCTCN2016092297-appb-000002
表2
Header中的4比特PDU Type决定了广播信道的信令类型,如可连接非定向广播信令(ADV_IND),可连接定向广播信令(ADV_DIRECT_IND),不可连接非定向广播信令(ADV_NONCONN_IND),扫描请求信令(SCAN_REQ),扫描回复信令(SCAN_RSP),连接请求信令(CONNECT_REQ),可扫描非定向广播信令(ADV_SCAN_IND),具体如表3所示,表3为广播信道的信令类型。
PDU Type Packet Name
0000 ADV_IND
0001 ADV_DIRECT_IND
0010 ADV_NONCONN_IND
0011 SCAN_REQ
0100 SCAN_RSP
0101 CONNECT_REQ
0110 ADV_SCAN_IND
0111-1111 Reserved
表3
关于可连接非定向广播信令,可连接非定向广播信令的Payload格式如表4所示。其中,AdvA表示广播方的蓝牙地址,AdvData表示广播数据包,最多可携带31个字节的消息。
Figure PCTCN2016092297-appb-000003
表4
广播数据包的格式如表5所示。其中,AD Structure表示消息段,一个广播数据包可容纳多个消息段;AD Type表示消息段的类型,如蓝牙名称,蓝牙制造商,UUID等;AD Data表示消息段的内容;Length(长度)的值 表示Data的字节数。表5为可连接非定向广播信令的广播数据包格式。
Figure PCTCN2016092297-appb-000004
表5
已经被蓝牙联盟定义的AD Type字段如表6所示,其中,0x09表示蓝牙名称类型,未被定义的就是保留字段。表6为蓝牙联盟定义的AD Type字段全集。
0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08
0x09 0x0A 0x0D 0x0E 0x0F 0x10 0x11 0x12
0x14 0x1F 0x15 0x16 0x20 0x21 0x17 0x18
0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x3D 0xFF
表6
关于连接请求信令,连接请求信令的Payload格式如表7所示。其中,InitA是扫描方的蓝牙地址,AdvA是广播方的蓝牙地址,链路层数据LL Data是连接请求的内容。表7为连接请求信令的Payload格式。
Figure PCTCN2016092297-appb-000005
表7
LL Data的格式如表8所示,其中,信道匹配ChM用来选择传输数据的信道。表8为连接请求PDU的LL Data格式。
Figure PCTCN2016092297-appb-000006
表8
ChM中37个比特代表数据信道(0~36),3个比特代表广播信道(37~39),如表9所示。3比特广播信道是将来使用保留位。表9为信道匹 配ChM格式。
Figure PCTCN2016092297-appb-000007
表9
关于广播信道的角色和状态,链路层在广播信道中定义了3种角色:广播方(Advertiser),扫描方(Scanner)和发起方(Initiator)。
链路层在广播信道中定义了3种状态:广播状态,扫描状态和发起状态。所述广播状态包括:
可连接非定向广播事件(Connectable undirected event):广播方向周围所有的扫描方广播ADV_IND信令,并声明自己处于可连接模式。广播方监听扫描方发来的SCAN_REQ信令,然后向扫描方发送SCAN_RSP信令。广播方也监听发起方发来的CONNECT_REQ信令;
可连接定向广播事件(Connectable directed event):广播方向周围特定的扫描方广播ADV_DIRECT_IND信令,并声明自己处于可连接模式。广播方只监听特定发起方发来的CONNECT_REQ信令;
不可连接非定向广播事件(Non-connectable undirected event):广播方向周围所有的扫描方广播ADV_NONCONN_IND信令,并声明自己处于不可连接模式。广播方不监听扫描方发来的信令;
可扫描非定向广播事件(Scannable undirected event):广播方向周围所有的扫描方广播ADV_SCAN_IND信令。广播方只监听扫描方发来的SCAN_REQ信令,然后向扫描方发送SCAN_RSP信令。
所述扫描状态包括:
被动扫描:处于被动扫描模式的扫描方只能监听广播方广播的信令,不能对外发送数据;
主动扫描:处于主动扫描模式的扫描方监听广播方广播的信令,只对广播ADV_IND信令和ADV_SCAN_IND信令的广播方发送SCAN_REQ信 令,发送完毕后继续监听广播方发来的SCAN_RSP信令。
所述发起状态包括:
处于发起状态的发起方可以对广播ADV_IND信令和ADV_DIRECT_IND信令的广播方发送CONNECT_REQ信令。
广播信道3种状态对应的信令关系如表10所示。表10为广播信道中广播状态、扫描状态和发起状态对应的信令关系。
Figure PCTCN2016092297-appb-000008
表10
关于通用访问协议(GAP):GAP层定义了4种角色:广播角色(Broadcaster Role)、观察角色(Observer Role)、外围角色(Peripheral Role)和中心角色(Central Role)。广播角色:处于广播角色的设备以低功耗模式向周围广播,但不会响应其他设备发来的连接请求,即处于广播角色的设备处于不可连接模式。观察角色:处于观察角色的设备可以扫描处于广播角色的设备,但不能发起连接请求,即处于观察角色的设备处于不可连接模式。外围角色:处于外围角色的设备以低功耗模式向周围广播,响应其他设备发来的连接请求,即处于外围角色的设备处于可连接模式。中心角色:处于中心角色的设备可以扫描处于外围角色的设备,可以发起连接请求,即处于中心角色的设备处于可连接模式。
LL层与GAP层的对应关系如表11所示,表11为LL层与GAP层的对应关系。
Link Layer functionality Broadcaster Observer Peripheral Central
Advertising event types:        
Connectable undirected event E E M E
Connectable directed event E E O E
Non-connectable undirected event M E O E
Scannable undirected event O E O E
Scanning types:        
Passive scanning E M E O
Active scanning E O E O/E
表11
表11中,“E”表示不支持,“M”表示必须支持,“O”表示选择支持,“O/E”表示如果中心角色支持被动扫描,那么中心角色选择支持主动扫描,否者中心角色必须支持主动扫描。
关于通用属性协议层(GATT),GATT层定义了服务器(Server)和客户端(Client)。服务器可以向客户端发送数据,反之客户端不能向服务器发送数据,如表12所示,表12为GATT层的通信机制。
Figure PCTCN2016092297-appb-000009
表12
当两个BLE连接成功后,意味着从GAP层进入到GATT层,原来的中心角色和外围角色转变为服务器和客户端,原来的中心角色和外围角色既可以是服务器又可以是客户端,也可以同时担任服务器和客户端。
本发明定义了以下2种物理设备类型,如图1所示,包括可穿戴设备和移动终端,其中,可穿戴设备包括智能手表、智能手环、智能眼镜等。移动终端包括手机、平板电脑等。
请参阅图1,图1为本发明提供的可穿戴设备与移动终端的蓝牙互连方法较佳实施例的流程图,如图所示,所述方法包括以下步骤:
步骤S100,可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息。
步骤S200,移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值。
步骤S300,移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
下面结合具体的实施例对上述步骤进行详细的描述。
在步骤S100中,可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息。具体来说,可穿戴设备中的蓝牙以低功耗模式向周围以“可连接非定向”方式广播自定义广播消息。
在实际应用时,可穿戴设备中的蓝牙以低功耗模式向周围以“可连接非定向”方式广播如表13所示的自定义广播消息,使得移动终端(譬如手机)能够识别该设备为合法设备。自定义广播消息中还包括特定含义的蓝牙名称,如:xxx智能手表I、xxx智能手表II、xxx智能手环I、xxx智能眼镜II等,可用蓝牙名称来区分可穿戴设备的类型及型号。表13为可穿戴设备的蓝牙自定义广播数据包。
Length AD Type AD Data
1E 49 000...000
1Byte 1Byte 29Bytes
表13
其中,Length的值表示AD Type和AD Data的字节总数;AD Type的值为“49”,该值未被蓝牙联盟定义过,防止对其他BLE设备产生干扰,已经被蓝牙联盟定义的AD Type字段如表6所示。
在步骤S200中,移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值。具体来说,移动终端周围的可穿戴设备可能不止一个。
手机中的蓝牙主动扫描周围的蓝牙信号,当扫描到需要连接的可穿戴设备的蓝牙的自定义广播消息后,记录该设备的蓝牙地址、蓝牙名称和蓝牙接收信号强度RSSI(Received Signal Strength Indication)值,形成可穿戴设 备扫描列表,具体如表14所示。表14为可穿戴设备扫描列表。
可穿戴设备(蓝牙地址) 设备型号(蓝牙名称) RSSI值(dBm)
1 xxx智能手表I -50
2 xxx智能手环I -65
3 xxx智能眼镜II -45
... ... ...
N xxx智能手表II -72
表14
在步骤S300中,移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。具体来说,手机中的蓝牙首先向蓝牙RSSI值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接。在表9所示的ChM中自定义第37位到39位为“001”,使得可穿戴设备能够识别出该手机为合法的连接设备,从而在建立连接后由可穿戴设备向该手机发送用户的连接确认信息,同时不对正常的BLE通信产生影响。随后手机的蓝牙和该可穿戴设备的蓝牙在GATT层传递用户的连接确认信息,完成互连。
优选地,所述步骤S200具体包括:
S210,移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表。
S220,移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
具体来说,手机中的蓝牙主动扫描周围的蓝牙信号,当扫描到需要连接的可穿戴设备的蓝牙的自定义广播消息后,记录该设备的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成可穿戴设备扫描列表,如表14。手机中的APP会预先设定或根据用户选择设定需要连接的可穿戴设备的类型及型号(即蓝牙名称),手机只会将蓝牙名称符合设定要求并能广播自定义广 播消息的可穿戴设备记录在可穿戴设备的扫描列表中。
优选地,所述步骤S300具体包括:
S310,将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接。
S320,该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
具体来说,当记录的蓝牙接收信号强度值(蓝牙RSSI值)有一个或多个大于信号强度阈值F(如-60dBm)时,手机中的蓝牙首先向蓝牙RSSI值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接。随后手机的蓝牙和该可穿戴设备的蓝牙在GATT层传递用户的连接确认信息,完成互连。
当记录的蓝牙RSSI值有一个或多个大于阀值F(如-60dBm)时,手机中的蓝牙首先向蓝牙RSSI值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接。在表9所示的ChM中自定义第37位到39位为“001”,使得可穿戴设备能够识别出该手机为合法的连接设备,从而在建立连接后由可穿戴设备向该手机发送用户的连接确认信息,同时不对正常的BLE通信产生影响。随后手机的蓝牙和该可穿戴设备的蓝牙在GATT层传递用户的连接确认信息,完成互连。
进一步地,所述信号强度阈值为-60dBm。关于蓝牙RSSI阀值F,也就是信号强度阈值的设定。原理上,接收方收到的蓝牙RSSI值与距离存在一定的线性关系,即蓝牙RSSI值随着两个蓝牙设备距离的增大而减小。但实际上由于蓝牙收发天线并非完全的全向天线以及设备本身对蓝牙信号的阻挡,相同距离不同方向上收到的蓝牙RSSI值会有较大的差异。同时,蓝牙RSSI阀值F不能设的太高也不能设的太低。如果蓝牙RSSI阀值F设的太高,会增加蓝牙自动连接的难度,需要用户将手机和可穿戴设备靠的很近 才能连接成功;如果蓝牙RSSI阀值F设的太低,容易引起误连,可能会向附近的蓝牙RSSI达到阀值的其他用户的同款型的可穿戴设备发起蓝牙连接。因此,蓝牙RSSI阀值F设定的基本原则是:即可以保证手机与要连接的可穿戴设备在近距离的范围内(如10厘米)大部分方向上都能连接成功,也能绝大部分避免与远距离(如50厘米以外)的其他用户的同款型的可穿戴设备发生误连。为提高近距离的连接成功率,可以在手机APP发起与可穿戴设备的蓝牙连接时,在手机APP界面提示用户将手机尽量靠近要连接的可穿戴设备。
蓝牙RSSI阀值F的设定可根据实际产品的各个距离和方向上的蓝牙RSSI测试数据做适当调整,也可以对不同类型、不同型号的可穿戴设备分别设定RSSI阀值F,即根据可穿戴设备的蓝牙名称设置各自的蓝牙RSSI阀值:F1,F2,F3等。作为一个例子,用某型号手机对某型号智能手表各个距离和方向上的蓝牙RSSI值进行了测试,测试结果显示:蓝牙RSSI阀值F设定为-60dBm是比较合适的,即可以保证手机与要连接的智能手表在10厘米的范围内绝大部分方向上都能连接成功,也能绝大部分避免与30厘米以外的同款型的智能手表发生误连。
优选地,所述步骤S320具体包括:
S321,当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,并交互用户连接确认信息,直到完成互连。
具体来说,手机的蓝牙和该可穿戴设备的蓝牙在GATT层传递用户的连接确认信息,完成互连。如果等待一定时间(也就是预定时间,譬如10秒钟)后没有收到来自该可穿戴设备的用户连接确认信息,手机中的蓝牙按照蓝牙RSSI值由大到小的顺序依次循环向可穿戴设备扫描列表中其他蓝牙RSSI值大于阀值F的可穿戴设备的蓝牙发送自定义连接请求建立连接并 交互用户连接确认信息,直到完成互连。
其中,用户的连接确认信息,可以通过可穿戴设备的屏幕显示,或者灯光闪烁,或者声音通知用户,用户可以通过点击可穿戴设备屏幕上的“确认”按钮,或者长按可穿戴设备的某个物理按键,或者连续晃动可穿戴设备等方式反馈给可穿戴设备。
也就是说,当移动终端发送蓝牙连接请求至可穿戴设备时,可穿戴设备接收用户的连接确认信息,发送给移动终端。若该可穿戴设备不是用户想要连接的设备,那么移动终端得不到该可穿戴设备的响应,移动终端蓝牙连接扫描列表中蓝牙接收信号强度值排第二对应的可穿戴设备的蓝牙,依次类推,直到有得到响应的可穿戴设备为止。需要说明的是,移动终端连接的可穿戴设备,它们的蓝牙接收信号强度值均高于信号强度阈值。如果遍历完所有的蓝牙接收信号强度值均高于信号强度阈值的可穿戴设备,那么可继续循环遍历,也可停止发送蓝牙连接请求,这可根据需要进行设定,优选为循环遍历。
本发明提供的可穿戴设备与移动终端的蓝牙互连方法,用户打开可穿戴设备及其蓝牙,然后打开手机中对应的APP并发起与可穿戴设备的连接,同时将手机靠近可穿戴设备,手机中的APP自动打开手机中的蓝牙完成与可穿戴设备的蓝牙连接。可穿戴设备广播自定义广播消息,其中包括特定的蓝牙名称。手机侧的蓝牙扫描具有特定蓝牙名称的可穿戴设备,并检测可穿戴设备蓝牙RSSI值。随着手机与可穿戴设备距离的减小,当手机检测到的可穿戴设备的蓝牙RSSI值高于预先设定的蓝牙RSSI阈值时,手机自动连接可穿戴设备。对用户而言,用户只需打开手机中的APP,将手机靠近可穿戴设备,手机就会自动连接可穿戴设备。整个过程中,用户操作简便,无需任何手动设置。
基于上述可穿戴设备与移动终端的蓝牙互连方法,本发明实施例还提供了一种可穿戴设备与移动终端的蓝牙互连系统,如图2所示,所述系统 包括:
广播模块10,用于通过可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;具体如步骤S100所述。
扫描模块20,用于通过移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;具体如步骤S200所述。
互连模块30,用于通过移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连;具体如步骤S300所述。
进一步地,所述互连模块30包括:
蓝牙请求单元,用于将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接。
蓝牙确认单元,用于通过该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
进一步地,所述蓝牙确认单元包括:
蓝牙确认判断单元,用于当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,并交互用户连接确认信息,直到完成互连。
进一步地,所述信号强度阈值为-60dBm。关于dBm乃信号强度的单位,此乃现有技术,此处不做过多描述。
进一步地,所述扫描模块20包括:
扫描列表生成单元,用于通过移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表。
扫描列表筛选单元,用于通过移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
综上所述,本发明提供的一种可穿戴设备与移动终端的蓝牙互连方法及系统,可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连;将移动终端靠近可穿戴设备,移动终端就会自动连接可穿戴设备,整个过程中,用户操作简便,无需任何手动设置,使用非常方便,互连便利,给用户带来了大大的方便。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (17)

  1. 一种可穿戴设备与移动终端的蓝牙互连方法,其中包括:
    可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;
    移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;
    移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接;
    当该可穿戴设备根据广播信道判定移动终端为合法的连接设备时,接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
  2. 根据权利要求1所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接,具体包括:
    将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接。
  3. 根据权利要求1所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述当该可穿戴设备根据广播信道判定移动终端为合法的连接设备时,接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连,具体包括:
    当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,当该可穿戴设备根据广播信道判定移动终端为合法的连接设备时,交互用户连接确认信息,直到完成互连。
  4. 根据权利要求2所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述信号强度阈值为-60dBm。
  5. 根据权利要求1所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,具体包括:
    移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表;
    移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
  6. 根据权利要求2所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较之前,还包括:
    设置蓝牙名称阈值关联表;
    根据蓝牙名称匹配蓝牙名称阈值关联表,得到对应的信号强度阈值。
  7. 一种可穿戴设备与移动终端的蓝牙互连方法,其中包括:
    可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;
    移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;
    移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接,该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
  8. 根据权利要求7所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接,该可穿戴设备接收连接确认信息并通过通用 属性协议层传递给移动终端的蓝牙,完成互连,具体包括:
    将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接;
    该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
  9. 根据权利要求8所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连,具体包括:
    当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,并交互用户连接确认信息,直到完成互连。
  10. 根据权利要求8所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述信号强度阈值为-60dBm。
  11. 根据权利要求7所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,具体包括:
    移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表;
    移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
  12. 根据权利要求8所述的可穿戴设备与移动终端的蓝牙互连方法,其中所述将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强 度阈值进行比较之前,还包括:
    设置蓝牙名称阈值关联表;
    根据蓝牙名称匹配蓝牙名称阈值关联表,得到对应的信号强度阈值。
  13. 一种可穿戴设备与移动终端的蓝牙互连系统,其中包括:
    广播模块,用于通过可穿戴设备的蓝牙以低功耗模式向周围以可连接非定向方式广播包含各自对应的蓝牙地址和蓝牙名称的自定义广播信息;
    扫描模块,用于通过移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值;
    互连模块,用于通过移动终端的蓝牙向蓝牙接收信号强度值最大的可穿戴设备的蓝牙发送自定义连接请求建立连接,该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
  14. 根据权利要求13所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述互连模块包括:
    蓝牙请求单元,用于将各可穿戴设备对应的蓝牙接收信号强度值与预先设定的信号强度阈值进行比较,从蓝牙接收信号强度值高于信号强度阈值的可穿戴设备中找出蓝牙接收信号强度值最大的可穿戴设备,移动终端的蓝牙向该可穿戴设备的蓝牙发送自定义连接请求建立连接;
    蓝牙确认单元,用于通过该可穿戴设备接收连接确认信息并通过通用属性协议层传递给移动终端的蓝牙,完成互连。
  15. 根据权利要求14所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述蓝牙确认单元包括:
    蓝牙确认判断单元,用于当在预定时间内,该可穿戴设备没有接收用户的连接确认信息时,移动终端的蓝牙按照蓝牙接收信号强度值由大到小的顺序依次循环向其它蓝牙接收信号强度值高于信号强度阈值的可穿戴设备的蓝牙发送自定义连接请求建立连接,并交互用户连接确认信息,直到 完成互连。
  16. 根据权利要求14所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述信号强度阈值为-60dBm。
  17. 根据权利要求13所述的可穿戴设备与移动终端的蓝牙互连系统,其中所述扫描模块包括:
    扫描列表生成单元,用于通过移动终端扫描并获取各可穿戴设备的自定义广播信息,记录各可穿戴设备对应的蓝牙地址、蓝牙名称和蓝牙接收信号强度值,形成对应的扫描列表;
    扫描列表筛选单元,用于通过移动终端根据预先设定或用户选择的蓝牙名称要求,将蓝牙名称符合蓝牙名称要求的可穿戴设备记录在所述扫描列表中。
PCT/CN2016/092297 2015-12-02 2016-07-29 一种可穿戴设备与移动终端的蓝牙互连方法及系统 WO2017092386A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/503,698 US20170280277A1 (en) 2015-12-02 2016-07-29 Bluetooth interconnection method and system for wearable device and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510872303.7 2015-12-02
CN201510872303.7A CN105516896A (zh) 2015-12-02 2015-12-02 一种可穿戴设备与移动终端的蓝牙互连方法及系统

Publications (1)

Publication Number Publication Date
WO2017092386A1 true WO2017092386A1 (zh) 2017-06-08

Family

ID=55724471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092297 WO2017092386A1 (zh) 2015-12-02 2016-07-29 一种可穿戴设备与移动终端的蓝牙互连方法及系统

Country Status (3)

Country Link
US (1) US20170280277A1 (zh)
CN (1) CN105516896A (zh)
WO (1) WO2017092386A1 (zh)

Families Citing this family (73)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6394452B2 (ja) * 2015-03-23 2018-09-26 カシオ計算機株式会社 無線通信装置、無線通信方法、及びプログラム
CN105516896A (zh) * 2015-12-02 2016-04-20 惠州Tcl移动通信有限公司 一种可穿戴设备与移动终端的蓝牙互连方法及系统
CN105942993A (zh) * 2016-05-06 2016-09-21 上海中医药大学 一种蓝牙脉诊手环及脉搏数据传输方法
US10154367B2 (en) * 2016-05-16 2018-12-11 Google Llc Adaptive threshold for proximity based wireless communications features
CN106101981A (zh) * 2016-05-27 2016-11-09 深圳市优必选科技有限公司 蓝牙装置的蓝牙改名模块及蓝牙改名方法
CN106073710A (zh) * 2016-06-06 2016-11-09 宁波力芯科信息科技有限公司 智能穿戴设备及智能穿戴设备的控制方法
CN105956852B (zh) * 2016-06-21 2019-11-15 飞天诚信科技股份有限公司 一种蓝牙智能密钥设备及其工作方法
US10645559B2 (en) 2016-06-27 2020-05-05 Huawei Technologies Co., Ltd. Bluetooth connection method and terminal
CN105972830A (zh) * 2016-06-29 2016-09-28 广东万和新电气股份有限公司 基于智能用户终端的电热水器控制系统及方法
CN106054658B (zh) * 2016-08-09 2019-09-13 广东美的制冷设备有限公司 联动控制方法、联动控制系统及智能穿戴设备
CN106304016A (zh) * 2016-08-11 2017-01-04 惠州Tcl移动通信有限公司 一种移动终端区别连接同名蓝牙设备的方法及系统
CN106376098A (zh) * 2016-09-02 2017-02-01 上海心书科技发展有限公司 一种蓝牙快速配对方法
CN106331164A (zh) * 2016-09-30 2017-01-11 广东美的制冷设备有限公司 快速建立物联网的方法和装置
CN108377482B (zh) * 2016-11-07 2021-05-28 中兴通讯股份有限公司 一种终端连接蓝牙设备的方法、装置、系统及设备
CN106792448A (zh) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 蓝牙连接方法和装置、系统
CN106686528B (zh) * 2016-12-21 2021-01-01 杭州新中大科技股份有限公司 一种数据传输方法及系统及主设备和从设备
US10306690B2 (en) 2016-12-30 2019-05-28 Intel Corporation Communication under multiple communication links
US11470058B2 (en) 2017-03-03 2022-10-11 Huawei Technologies Co., Ltd. Network connection method, mobile terminal, electronic device, and graphical user interface
CN107135463A (zh) * 2017-04-01 2017-09-05 杭州联络互动信息科技股份有限公司 一种蓝牙连接方法和装置
WO2018209555A1 (zh) * 2017-05-16 2018-11-22 深圳市创客工场科技有限公司 连接蓝牙设备的方法及终端设备
CN108965571A (zh) * 2017-05-19 2018-12-07 宏碁股份有限公司 自动连线的虚拟实境系统及其控制方法
CN107197346B (zh) * 2017-05-27 2021-06-15 深圳Tcl新技术有限公司 电视终端及蓝牙设备回连方法和计算机可读存储介质
CN107391183A (zh) * 2017-06-30 2017-11-24 深圳市冠旭电子股份有限公司 一种应用程序的安装方法及其系统、终端设备
CN107610266B (zh) * 2017-07-06 2020-06-26 北京万相融通科技股份有限公司 一种车站巡检系统
CN107481349B (zh) * 2017-07-06 2020-06-19 北京万相融通科技股份有限公司 一种车站巡检方法及其巡检系统
CN107665518A (zh) * 2017-07-06 2018-02-06 北京万相融通科技股份有限公司 一种巡检人员巡检车站的方法
CN107231627B (zh) * 2017-08-10 2020-11-10 乐鑫信息科技(上海)股份有限公司 一种蓝牙网络及配网方法
CN107948958A (zh) * 2017-11-16 2018-04-20 中科创达软件股份有限公司 一种基于ble传递信息的方法、装置及中央设备
KR102393290B1 (ko) * 2017-11-28 2022-05-02 삼성전자주식회사 원격 제어 장치, 전자 장치 및 그들의 페어링 방법
CN108184226A (zh) * 2017-12-31 2018-06-19 福建省卓展信息科技股份有限公司 一种智能传呼饮水系统
CN108391259B (zh) * 2018-01-11 2020-12-29 佳禾智能科技股份有限公司 一种蓝牙快速配对的方法
CN108174457B (zh) * 2018-01-12 2020-09-01 恒玄科技(上海)股份有限公司 充电盒、蓝牙耳机的通信系统和通信方法
CN108245132B (zh) * 2018-01-15 2020-07-14 浙江大学 一种基于蓝牙的医疗可穿戴设备智能交互方法
CN108495291A (zh) * 2018-03-12 2018-09-04 北京华大智宝电子系统有限公司 一种蓝牙连接方法及装置
CN108521647B (zh) * 2018-04-20 2021-06-25 北京华大智宝电子系统有限公司 一种蓝牙sim卡的配对方法以及蓝牙主设备
CN108712739A (zh) * 2018-05-17 2018-10-26 四川斐讯信息技术有限公司 一种ios系统获取蓝牙地址的方法及装置
CN108769972B (zh) * 2018-07-12 2020-10-13 南昌黑鲨科技有限公司 智能终端与蓝牙设备的连接控制方法及蓝牙连接控制系统
KR102600892B1 (ko) * 2018-08-08 2023-11-10 삼성전자주식회사 블루투스 저전력을 이용하여 통신을 수행하는 장치 및 방법
CN110874134A (zh) * 2018-08-31 2020-03-10 哈曼国际工业有限公司 可佩戴电子装置及姿势控制的系统和方法
CN110602671B (zh) * 2018-10-17 2022-06-17 深圳市文鼎创数据科技有限公司 蓝牙搜索结果展示方法、装置、终端设备及存储介质
CN109089329B (zh) * 2018-10-24 2021-05-04 重庆长安汽车股份有限公司 用于移动终端和车载终端wlan连接的方法和装置
CN109246851A (zh) * 2018-10-30 2019-01-18 歌尔科技有限公司 一种蓝牙连接的处理方法、设备及存储介质
CN109963345A (zh) * 2019-03-21 2019-07-02 达铭实业(宿州)股份有限公司 一种蓝牙数据高速传输的抗干扰方法
CN111770481A (zh) * 2019-03-27 2020-10-13 峰范(北京)科技有限公司 声音播放装置及其连接方法
CN109862549A (zh) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 蓝牙连接方法、装置、可读存储介质及移动设备
US11115811B2 (en) * 2019-04-04 2021-09-07 Qualcomm Incorporated Address management for Bluetooth devices
CN110087221B (zh) * 2019-04-26 2021-09-14 上海救要救信息科技有限公司 一种救援方法与设备
CN111867148A (zh) * 2019-04-30 2020-10-30 青岛海信移动通信技术股份有限公司 一种建立设备连接和数据传输的方法和设备
CN111918252A (zh) * 2019-05-10 2020-11-10 北京京东尚科信息技术有限公司 一种智能设备接入无线局域网的方法、系统及装置
CN110351694A (zh) * 2019-07-18 2019-10-18 杭州圆规网络科技有限公司 中频治疗仪单板软件通信协议
CN110460983A (zh) * 2019-08-06 2019-11-15 RealMe重庆移动通信有限公司 蓝牙名称搜索方法、装置、电子设备及存储介质
CN110489958B (zh) * 2019-08-27 2021-03-05 上海银基信息安全技术股份有限公司 一种身份认证方法、定位装置及待解锁终端
CN112449328B (zh) * 2019-08-30 2023-08-22 华为技术有限公司 一种蓝牙搜索方法、系统及相关装置
CN110856109B (zh) * 2019-10-24 2021-08-17 苏州维伟思医疗科技有限公司 一种监护仪的管控方法及系统
WO2021134471A1 (zh) * 2019-12-31 2021-07-08 深圳市大疆创新科技有限公司 通信系统及其方法、可移动平台和终端设备
CN111479247A (zh) * 2020-03-16 2020-07-31 珠海格力电器股份有限公司 一种配网方法、装置、电子设备及计算机可读介质
CN111356088B (zh) * 2020-03-16 2021-09-21 无锡市铖月科技有限公司 设备控制方法、设备、通信控制电路及存储介质
CN111356120B (zh) * 2020-04-20 2022-08-16 遂宁摩天时代科技有限公司 具有蓝牙功能手机自动检测范围内无线耳机的方法
CN111586661B (zh) * 2020-05-11 2022-09-02 山东亚华电子股份有限公司 一种基于ble的自适应关联组网方法及设备
CN113676878B (zh) * 2020-05-13 2023-11-17 成都鼎桥通信技术有限公司 一种对多个智能穿戴设备进行数据采集的方法和设备
CN111698759A (zh) * 2020-06-18 2020-09-22 宁波小匠物联网科技有限公司 进入配网模式的方法和系统、配网设备和计算机可读存储介质
US20230292379A1 (en) * 2020-07-20 2023-09-14 Lg Electronics Inc. Method and device for scanning for and connecting bluetooth device
CN111818499B (zh) * 2020-07-27 2023-09-22 深圳市千分一智能技术有限公司 快速配对方法、装置、设备及计算机可读存储介质
KR20220015845A (ko) 2020-07-31 2022-02-08 주식회사 모카시스템 리더기 및 그 제어 방법
CN114070706A (zh) * 2020-08-05 2022-02-18 中标软件有限公司 国产操作系统下低功耗蓝牙设备通讯的实现方法
CN112367646B (zh) * 2020-09-22 2023-06-23 粒恩医疗科技(深圳)有限公司 一种基于蓝牙和云平台的多数据安全传输方法及系统
CN114827906B (zh) * 2021-01-21 2024-03-22 宏碁股份有限公司 蓝牙低功耗提醒系统及其提醒方法
CN112968721A (zh) * 2021-02-01 2021-06-15 深圳新蕊科技有限公司 一种高效通信低功耗的蓝牙芯片系统
CN112954660A (zh) * 2021-02-09 2021-06-11 Oppo广东移动通信有限公司 蓝牙匹配方法、装置、移动终端、蓝牙设备和通信系统
WO2022246803A1 (zh) * 2021-05-28 2022-12-01 华为技术有限公司 接入方法及通信装置
CN115708373A (zh) * 2021-08-18 2023-02-21 Oppo广东移动通信有限公司 蓝牙音频的接收方法、装置、终端及存储介质
CN114040351B (zh) * 2021-10-21 2023-04-18 郑州大学第一附属医院 一种基于近距离通信的可穿戴儿童呼吸监控系统
CN117717351A (zh) * 2024-02-08 2024-03-19 南京鼓楼医院集团宿迁医院有限公司 一种基于蓝牙传输的心电图机快速辅助匹配方法和系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635586A (zh) * 2009-07-21 2010-01-27 李治勋 一种蓝牙输入设备的自动连接方法
CN104426586A (zh) * 2013-08-28 2015-03-18 现代自动车株式会社 具有蓝牙模块的设备及其蓝牙通信方法
EP2866482A1 (en) * 2013-10-24 2015-04-29 Nokia Corporation Device discovery, device selection and connection setup in a short-range wireless communication system.
CN104768123A (zh) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 一种蓝牙连接方法、装置及系统
CN105516896A (zh) * 2015-12-02 2016-04-20 惠州Tcl移动通信有限公司 一种可穿戴设备与移动终端的蓝牙互连方法及系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399567A (zh) * 2007-09-26 2009-04-01 艾威梯软件技术(北京)有限公司 自动发起蓝牙连接认证的方法和认证发起设备
US20120230305A1 (en) * 2011-03-08 2012-09-13 Research In Motion Limited Wi-fi network access and a mobile terminal configured for the same
JP2015019244A (ja) * 2013-07-11 2015-01-29 アプリックスIpホールディングス株式会社 遠隔制御システム、端末およびその遠隔制御対象決定方法
CN104469980B (zh) * 2014-11-21 2018-09-11 广东欧珀移动通信有限公司 蓝牙连接方法及蓝牙设备
JP2016178357A (ja) * 2015-03-18 2016-10-06 富士通株式会社 無線通信装置
CN104902435A (zh) * 2015-04-21 2015-09-09 北京云迹科技有限公司 一种移动终端与蓝牙手环的绑定方法、装置及移动终端
CN104917551B (zh) * 2015-06-11 2017-04-26 上海科勒电子科技有限公司 一种蓝牙设备的配对方法及设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635586A (zh) * 2009-07-21 2010-01-27 李治勋 一种蓝牙输入设备的自动连接方法
CN104426586A (zh) * 2013-08-28 2015-03-18 现代自动车株式会社 具有蓝牙模块的设备及其蓝牙通信方法
EP2866482A1 (en) * 2013-10-24 2015-04-29 Nokia Corporation Device discovery, device selection and connection setup in a short-range wireless communication system.
CN104768123A (zh) * 2015-03-18 2015-07-08 广东欧珀移动通信有限公司 一种蓝牙连接方法、装置及系统
CN105516896A (zh) * 2015-12-02 2016-04-20 惠州Tcl移动通信有限公司 一种可穿戴设备与移动终端的蓝牙互连方法及系统

Also Published As

Publication number Publication date
US20170280277A1 (en) 2017-09-28
CN105516896A (zh) 2016-04-20

Similar Documents

Publication Publication Date Title
WO2017092386A1 (zh) 一种可穿戴设备与移动终端的蓝牙互连方法及系统
US10506420B2 (en) Methods, systems, and devices for enabling multiple radio assisted discovery
WO2021027616A1 (zh) 一种通过遥控器实现一碰投屏的终端设备、方法以及系统
US9924304B2 (en) Interconnection method and system of networking of piconet based on bluetooth low energy and conventional bluetooth
EP3200553B1 (en) Device and method for sharing contents in electronic device with other electronic device
KR102208438B1 (ko) 근접 서비스 데이터 송신 방법 및 그 전자 장치
WO2017092310A1 (zh) 基于蓝牙的可穿戴设备与移动终端自动连接的方法及系统
WO2017107470A1 (zh) 建立无线连接的方法及装置
CN104394600B (zh) 传输文件的方法及装置
WO2014031660A1 (en) Joining communication groups with pattern sequenced light and/or sound signals as data transmissions
WO2017071074A1 (zh) 建立连接的方法及装置
KR102037256B1 (ko) 사용자 의향을 반영한 서비스 연결 장치 및 방법
CN109496439A (zh) 基于物物直连建立单播连接的方法及装置
WO2015180051A1 (zh) 数据发送方法及装置
CN109451798A (zh) 混合自动重传请求反馈指示、反馈方法及装置和基站
EP4311282A1 (en) Method for establishing connection between multiple devices, and device
KR102197851B1 (ko) 단말간 직접 통신에서 대상 발견 방법 및 장치
US11367449B2 (en) Method and apparatus for calling voice recognition service by using Bluetooth low energy technology
JP6851806B2 (ja) 通信装置および通信装置の制御方法
US20150365133A1 (en) Touch and Talk Auto-Configuring of Video Conferences Using Near Field Communication (NFC)
WO2022068670A1 (zh) 设备间触碰建立无线连接的方法、电子设备及芯片
CN110178337A (zh) 数据反馈、传输方法及装置、基站和用户设备
WO2019090723A1 (zh) 数据传输方法及装置
CN105704208B (zh) 服务启动方法及装置
WO2014180233A1 (zh) 一种实现资源共享的方法、装置及终端

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 15503698

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16869697

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16869697

Country of ref document: EP

Kind code of ref document: A1