WO2016192352A1 - 终端设备配对连接确认的方法及系统 - Google Patents

终端设备配对连接确认的方法及系统 Download PDF

Info

Publication number
WO2016192352A1
WO2016192352A1 PCT/CN2015/096822 CN2015096822W WO2016192352A1 WO 2016192352 A1 WO2016192352 A1 WO 2016192352A1 CN 2015096822 W CN2015096822 W CN 2015096822W WO 2016192352 A1 WO2016192352 A1 WO 2016192352A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth device
curve
target
rssi
bluetooth
Prior art date
Application number
PCT/CN2015/096822
Other languages
English (en)
French (fr)
Inventor
陈柳章
Original Assignee
深圳市文鼎创数据科技有限公司
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 深圳市文鼎创数据科技有限公司 filed Critical 深圳市文鼎创数据科技有限公司
Publication of WO2016192352A1 publication Critical patent/WO2016192352A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and system for confirming pairing connection of a terminal device.
  • the process of pairing a terminal device (such as a first Bluetooth device with a second Bluetooth device) generally includes the following steps:
  • Step 1 the first Bluetooth device scans the second Bluetooth device
  • Step 2 The user selects a target second Bluetooth device from the scanned second Bluetooth device;
  • Step 3 If the first Bluetooth device and the target second Bluetooth device have been paired, the Bluetooth connection is directly established;
  • Step 4 If the first Bluetooth device is not paired with the target second Bluetooth device, the pairing process is triggered.
  • the pairing process does not require user participation, but the pairing mode is less secure; if the target second Bluetooth device uses the pairing mode of the input pairing code, the pairing process requires user input 4 to 6-bit pairing code; if the target second Bluetooth device uses the pairing mode of the digital comparison, the user needs to compare whether the 6-digit comparison number displayed on the respective screens of the first Bluetooth device and the second Bluetooth device is the same, if the same, both sides Complete the pairing by clicking the confirmation button;
  • Step 5 After the pairing is completed, the first Bluetooth device establishes a Bluetooth connection with the target second Bluetooth device.
  • the embodiments of the present invention provide a method and system for confirming a pairing connection of a terminal device, so as to improve the security of the paired connection of the terminal device.
  • the present invention provides a method for confirming a connection connection of a terminal device, where the method includes: [0011] After establishing a connection with the target second Bluetooth device, the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, the first Bluetooth The data collected by the motion sensor of the device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the target second Bluetooth device according to the The data collected by the motion sensor provided by the target second Bluetooth device between the presets;
  • the first Bluetooth device establishes a corresponding curve according to the acquired data
  • the first Bluetooth device determines whether the established curves match
  • the present invention provides a system for pairing connection confirmation of a terminal device, where the system includes:
  • the first data acquiring unit is configured to: after establishing a connection with the target second Bluetooth device, acquire at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, The data collected by the motion sensor of the first Bluetooth device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the target number The data collected by the second Bluetooth device according to the motion sensor carried by the target second Bluetooth device according to the preset time;
  • a first curve establishing unit configured to establish a corresponding curve according to the acquired data
  • a first determining unit configured to determine whether the established curves are all matched
  • the first processing unit is configured to: when the first determining unit determines that the result is negative, disconnect the connection with the target second Bluetooth device.
  • the beneficial effects of the embodiment of the present invention compared with the prior art are: after the first Bluetooth device is connected with the target second Bluetooth device, the first Bluetooth device and the device are The target second Bluetooth device can monitor the data of the other party, acquire the data monitored by the other party, and establish a corresponding curve according to the acquired data (for example, RSSI data, motion data) (for example, RSSI curve, motion curve). ), by comparing the curves to further confirm the security of the connection, which has strong ease of use and practicability.
  • FIG. 1 is a schematic flowchart of an implementation process of a terminal device pairing connection confirmation method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an implementation process of a terminal device pairing connection confirmation method according to another embodiment of the present invention
  • FIG. 3 is a schematic flowchart of an implementation process of a terminal device pairing connection confirmation method according to another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of an implementation process of a terminal device pairing connection confirmation method according to another embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of an implementation process of a terminal device pairing connection confirmation method according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal device pairing connection confirmation system according to an embodiment of the present invention.
  • FIG. 1 is a flowchart for implementing a method for confirming a pairing connection of a terminal device according to an embodiment of the present invention, which mainly includes the following steps:
  • Step S101 After establishing a connection with the target second Bluetooth device, the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, The data collected by the motion sensor of the first Bluetooth device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the target The second Bluetooth device collects data according to the motion sensor that is carried by the target second Bluetooth device according to the preset time.
  • the target second Bluetooth device is a second Bluetooth device connected to the first Bluetooth device.
  • the first Bluetooth device and the target second Bluetooth device are terminal devices having a Bluetooth function (preferably Bluetooth Low Energy (BLE) function with Bluetooth 4.0 protocol), such as a smartphone, a tablet, and the like.
  • BLE Bluetooth Low Energy
  • the target second Bluetooth is at a certain interval (for example, 7.5ms ⁇ 4s, preferably 20ms).
  • the device needs to send a heartbeat packet that maintains the connection to the first Bluetooth device, and the first Bluetooth device needs to respond.
  • the first Bluetooth device and the target second Bluetooth device transmit and receive the heartbeat packet at each of the time intervals, the RSSI data is updated once every time interval. Based on this, the first Bluetooth device and the target second Bluetooth device in the embodiment of the present invention can confirm the connection by monitoring the R SSI data of the Bluetooth signal of the other party and acquiring the RSSI data of the Bluetooth signal detected by the other party. safety.
  • the first Bluetooth device and the target second Bluetooth device each have a motion sensor (eg, a gyroscope, a gravity sensor, an acceleration sensor, etc.), the first Bluetooth device and the second The Bluetooth device can also collect its own motion data through its own motion sensor, and confirm the security of the connection by acquiring the collected motion data.
  • a motion sensor eg, a gyroscope, a gravity sensor, an acceleration sensor, etc.
  • Step S102 The first Bluetooth device establishes a corresponding curve according to the acquired data.
  • the first Bluetooth device establishes a second RSSI curve according to the monitored RS SI data of the Bluetooth signal of the target second Bluetooth device, according to the acquired RSS signal of the Bluetooth signal of the first Bluetooth device.
  • the I data establishes a third RSSI curve;
  • the method may further include:
  • the first Bluetooth device acquires data collected by its motion sensor according to the preset inter-turn interval, and establishes a second motion curve according to the data.
  • the first Bluetooth device collects according to the acquired motion sensor that is included in the first Bluetooth device.
  • the obtained data establishes a third motion curve, and a fourth motion curve is established according to the acquired data collected by the motion sensor of the second Bluetooth device.
  • the curve may be in the form of a distance (ordinate) - an inter-turn (abscissa) curve, a velocity (ordinate) - an inter-turn (abscissa) curve, or an acceleration. (ordinate) - the form of a curve such as the daytime (abscissa).
  • Step S103 The first Bluetooth device determines whether the established curves are all matched. If the determination result is “Yes”, step S104 is performed; if the determination result is “No”, step S105 is performed.
  • the first Bluetooth device determines whether the established curves are all matched.
  • the first Bluetooth device determines whether the second RSSI curve and the third RSSI curve match, and Whether the second RSSI curve matches the second motion curve.
  • the matching of the curves in the embodiments of the present invention does not necessarily require the two to be completely consistent, and the variation range, the change period, and the shape of the curve (ie, the change trend and the change rate of different inter-turn points). It can be within the preset range.
  • Step S104 confirming the connection.
  • the first Bluetooth device may match the second RSSI curve with the third RSSI curve, and the second RSSI curve matches the second motion curve, Confirm connection
  • Step S105 disconnecting the connection with the target second Bluetooth device.
  • the first Bluetooth device does not match the second RSSI curve and the third RSSI curve, and/or the second RSSI curve does not match the second motion curve. Matching, disconnecting the connection with the target second Bluetooth device, and the pairing connection is terminated.
  • determining whether the RSSI curve and the motion curve match may be applied to a scene in which a Bluetooth device moves; determining whether the two motion curves match, may be applied to two Bluetooth devices. Scenes of the same motion; Judging whether the two RSSI curves match, can be applied to a Bluetooth device motion or a scene in which two Bluetooth devices do the same motion.
  • the first Bluetooth device and the target second Bluetooth device may monitor the data of the other party and obtain the other party. Detected own data and built according to the acquired data (such as RSSI data, motion data) The corresponding curve (for example, RSSI curve, motion curve) is established, and the safety of the connection is further confirmed by comparing the curves.
  • the present invention may further include:
  • the first Bluetooth device acquires RSSI data of the Bluetooth signal of the target second Bluetooth device according to the preset inter-time interval and/or acquires the monitored position of the target second Bluetooth device according to the preset inter-turn interval The RSSI data of the Bluetooth signal of the first Bluetooth device;
  • the first Bluetooth device determines whether the changed change of the RSSI data is within a preset range
  • This example can be applied to the following scenario: the first Bluetooth device and the target second Bluetooth device do the same motion together, for example, the first Bluetooth device is held on the hand, and the target second Bluetooth device is on the wrist, due to The distance between the first Bluetooth device and the target second Bluetooth device does not change, and the change of the RSSI data is close to zero.
  • FIG. 2 is a flowchart for implementing a method for confirming a pairing connection of a terminal device according to another embodiment of the present invention, which mainly includes the following steps:
  • Step S201 The first Bluetooth device receives the broadcast data packet broadcast by the plurality of second Bluetooth devices, and acquires the RSSI data associated with the broadcast data packet.
  • the plurality of second Bluetooth devices may broadcast the set broadcast data packet to the surroundings according to the set time interval in the BLE mode.
  • the first Bluetooth device may acquire RSSI data associated with the broadcast data packet after receiving the broadcast data packet broadcast by the plurality of second Bluetooth devices.
  • the interval between the intervals may be 20 ms to 10.24 s.
  • the embodiment of the present invention in order to reduce the number of candidate second Bluetooth devices and improve the security of the first Bluetooth device pairing connection, further includes:
  • the broadcast data packet carries a vendor custom field
  • the first Bluetooth device filters out the second Bluetooth device issued by the vendor according to the vendor customization field carried by the broadcast data packet. . That is, the first Bluetooth device only needs to pay attention to the second Bluetooth device issued by the manufacturer, and broadcasts The vendor-defined field carried by the packet excludes the second Bluetooth device that is not issued by the vendor.
  • step S202 the first Bluetooth device establishes a plurality of first RSSI curves according to the RSSI data.
  • Each of the second Bluetooth devices corresponds to a first RSSI curve.
  • the first RSSI curve may be in the form of a distance (ordinate) - an inter-turn (abscissa) curve, a velocity (ordinate) - an inter-turn (abscissa) curve. , acceleration (ordinate) - inter-turn (abscissa) or RSSI value (ordinate) - distance (abscissa) and other curve forms.
  • each second Bluetooth device corresponds to a first RSSI curve. Specifically, acquiring, according to the multiple broadcast data packets sent by each second Bluetooth device, multiple associated RSSI values, according to the multiple RSSs
  • the I value establishes a first RSSI curve corresponding to the second Bluetooth device.
  • step S203 the first Bluetooth device acquires data collected by its own motion sensor, and establishes a first motion curve according to the data.
  • the first Bluetooth device may collect the motion data of the first Bluetooth device through its own motion sensor after receiving the broadcast data packet, and according to the motion data. Establish a first motion curve.
  • the first motion curve may be in the form of a distance (ordinate) - an inter-turn (abscissa) curve, a velocity (ordinate) - a form of an inter-turn (abscissa) curve or an acceleration (ordinate) - a cross (transverse) Coordinates and other forms of curves.
  • the first Bluetooth device may receive the broadcast data packet in a motion process (the motion may change a distance between the first Bluetooth device and the second Bluetooth device),
  • the RSSI data associated with the broadcast data packet is collected, and the motion data of the first Bluetooth device is collected by its own motion sensor.
  • the user snoozes the motion sensor through the app of the first Bluetooth device, and shakes the first Bluetooth device longitudinally along the second Bluetooth device ⁇ -> the first Bluetooth device in the vicinity of the second Bluetooth device (eg, within 1 meter) ( That is, the relative spatial direction of the second Bluetooth device and the first Bluetooth device are kept unchanged, and only the distance is changed.
  • the distance between the second Bluetooth device and the first Bluetooth device within 1 meter may cause a significant change in the RSSI value.
  • the Bluetooth device collects the motion data of the first Bluetooth device through the motion sensor, and simultaneously receives the broadcast data packet broadcast by the second Bluetooth device, and records the RSSI data associated with the broadcast data packet.
  • the first Bluetooth device searches for the target second Bluetooth device that matches the first RSSI curve with the first motion curve.
  • the first Bluetooth device searches for, according to the first motion curve, a first RSSI curve that matches the first motion curve from the plurality of first RSSI curves, and The second Bluetooth device corresponding to the matched first RSSI curve is found as the target second Bluetooth device.
  • the matching of the first RSSI curve to the first motion curve in the embodiment of the present invention does not necessarily require the two to be completely consistent, the first RSSI curve and the first motion.
  • the magnitude of the change of the curve, the period of change, and the shape ie, the change trend of the different points in the day, the rate of change
  • step S205 the first Bluetooth device initiates a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first RSSI curve with the first motion curve. To establish a connection.
  • the method for establishing a connection may be that the user selects the target second Bluetooth device, and then connects through the justwork method, or may be connected through the existing pairing manner, and is not limited herein.
  • the embodiment of the present invention further includes:
  • the process of pairing the first Bluetooth device with the second Bluetooth device is displayed in a graphical manner.
  • the motion state of the other party is displayed on the display screen of the first Bluetooth device and/or the display screen of the second Bluetooth device, for example, a moving ball is displayed on the display screen of the second Bluetooth device, and the motion is small.
  • the ball reflects the motion of the first Bluetooth device or the change in RSSI value.
  • the embodiment of the present invention further includes:
  • the first Bluetooth device and/or the second Bluetooth device may increase the confirmation of the pairing connection and the cancellation of the pairing connection. Specifically, the first Bluetooth device and/or the second Bluetooth device may be added to confirm the pairing connection and cancel. Pairing the connected button or the preset operation gesture, so that the user triggers the button or the operation gesture, and the first Bluetooth device or the second Bluetooth device performs a corresponding function of confirming the pairing connection or canceling the pairing connection, for example, The first Bluetooth device or the second Bluetooth device touches the touch screen to perform the confirming the pairing connection function, and the reverse button is swiped on the touch screen of the first Bluetooth device or the second Bluetooth device to perform the unpairing connection function.
  • the pairing connection process between the first Bluetooth device and the second Bluetooth device is made simpler, More convenient and safer, greatly improving the user experience.
  • Step S206 after establishing a connection with the target second Bluetooth device, the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, the The data collected by the motion sensor of the first Bluetooth device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the target second The data collected by the Bluetooth device according to the motion sensor provided by the target second Bluetooth device according to the preset time;
  • Step S207 The first Bluetooth device establishes a corresponding curve according to the acquired data.
  • Step S208 the first Bluetooth device determines whether the established curves match, if the determination result is "Yes”, then step S209 is performed; if the determination result is "No", then step S210 is performed;
  • step S209 confirming the connection
  • Step S210 disconnecting the connection with the target second Bluetooth device.
  • the embodiment of the present invention searches for the target second Bluetooth device by matching the RSSI curve of the second Bluetooth device with the motion curve of the first Bluetooth device, so that the pairing connection process is safe, simple, and fast, and does not require the user to participate in the selection. , input, confirmation and other operations, effectively improve the user experience. Moreover, by confirming the connection, the security of the connection can be further improved.
  • FIG. 3 is a flowchart for implementing a method for confirming a pairing connection of a terminal device according to an embodiment of the present invention, which mainly includes the following steps:
  • Step S301 The first Bluetooth device receives a broadcast data packet broadcast by a plurality of second Bluetooth devices, where the broadcast data packet carries data collected by the second Bluetooth device through its own motion sensor.
  • the plurality of second Bluetooth devices can broadcast the set broadcast data packet to the surroundings according to the set time interval in the BLE mode.
  • the first Bluetooth device may acquire RSSI data associated with the broadcast data packet after receiving the broadcast data packet broadcast by the plurality of second Bluetooth devices.
  • the interval between the intervals may be 20 ms to 10.24 s.
  • the embodiment of the present invention in order to reduce the number of candidate second Bluetooth devices and improve the security of the first Bluetooth device pairing connection, the embodiment of the present invention further includes: [0091] the broadcast data packet carries a vendor custom field;
  • the first Bluetooth device filters out the second Bluetooth device issued by the vendor according to the vendor customization field carried by the broadcast data packet. . That is, the first Bluetooth device only needs to pay attention to the second Bluetooth device issued by the manufacturer, and excludes the second Bluetooth device that is not issued by the vendor through the vendor customization field carried in the broadcast data packet.
  • the broadcast data packet further carries data collected by the second Bluetooth device through its own motion sensor.
  • step S302 the first Bluetooth device acquires RSSI data associated with the broadcast data packet, and data collected by the second Bluetooth device carried in the broadcast data packet through its own motion sensor. .
  • the first Bluetooth device may receive the broadcast data during the process of moving together with the second Bluetooth device, or the first Bluetooth device does not move, and the second Bluetooth device moves. And obtaining, by the packet, RSSI data associated with the broadcast data packet and data collected by the second Bluetooth device carried in the broadcast data packet by a motion sensor that is included in the broadcast data packet.
  • step S303 the first Bluetooth device establishes a plurality of first RSSI curves according to the RSSI data, where each second Bluetooth device corresponds to a first RSSI curve.
  • the first RSSI curve may be in the form of a distance (ordinate) - an inter-turn (abscissa) curve, a velocity (ordinate) - an inter-turn (abscissa) curve. , acceleration (ordinate) - inter-turn (abscissa) or RSSI value (ordinate) - distance (abscissa) and other curve forms.
  • each second Bluetooth device corresponds to a first RSSI curve.
  • the multiple RSSI values are obtained according to the multiple broadcast data packets sent by each second Bluetooth device, and the first RSSI curve corresponding to the second Bluetooth device is established according to the multiple RSSI values. .
  • step S304 the first Bluetooth device establishes a plurality of first motion curves according to data collected by the second Bluetooth device carried in the broadcast data packet through its own motion sensor, where each The two Bluetooth devices correspond to a first motion curve.
  • the first motion curve may be in the form of a distance (ordinate) - an inter-turn (abscissa) curve, a speed (ordinate) - an inter-turn (abscissa) curve, or Acceleration (ordinate) - inter-turn (abscissa) and other curve forms.
  • the first Bluetooth device searches for the target second Bluetooth device that matches the first RSSI curve with the first motion curve.
  • the first RSSI variation curve of the embodiment of the present invention does not necessarily need to be completely consistent with the first motion curve, and the first RSSI variation curve and the first motion curve change the amplitude,
  • the period of change, the shape ie, the change trend of different points in the day, the rate of change
  • the period of change, the shape ie, the change trend of different points in the day, the rate of change
  • step S306 the first Bluetooth device initiates a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first RSSI curve with the first motion curve. To establish a connection.
  • the method for establishing a connection may be that the user selects the target second Bluetooth device, and then connects through the justwork mode, or may be connected through an existing pairing manner, and is not limited herein.
  • the embodiment of the present invention further includes:
  • the process of pairing the first Bluetooth device with the second Bluetooth device is displayed in a graphical manner.
  • the motion state of the other party is displayed on the display screen of the first Bluetooth device and/or the display screen of the second Bluetooth device, for example, a moving ball is displayed on the display screen of the second Bluetooth device, and the motion is small.
  • the ball reflects the motion of the first Bluetooth device or the change in RSSI value.
  • the embodiment of the present invention further includes:
  • the acknowledgment of the pairing connection and the unpairing connection are increased.
  • the first Bluetooth device and/or the second Bluetooth device may be added to confirm the pairing connection and cancel. Pairing the connected button or the preset operation gesture, so that the user triggers the button or the operation gesture, and the first Bluetooth device or the second Bluetooth device performs a corresponding function of confirming the pairing connection or canceling the pairing connection, for example,
  • the first Bluetooth device or the second Bluetooth device touches the touch screen to perform the confirming the pairing connection function, and the reverse button is swiped on the touch screen of the first Bluetooth device or the second Bluetooth device to perform the unpairing connection function.
  • Step S307 after establishing a connection with the target second Bluetooth device, the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, the The data collected by the motion sensor of the first Bluetooth device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the Determining, by the target second Bluetooth device, data collected by the motion sensor carried by the target second Bluetooth device according to the preset time;
  • Step S308 the first Bluetooth device establishes a corresponding curve according to the acquired data.
  • Step S309 the first Bluetooth device determines whether the established curves match, if the determination result is "Yes”, then step S310 is performed; if the determination result is "No", then step S311 is performed;
  • Step S310 confirming the connection
  • Step S31 disconnecting the connection with the target second Bluetooth device.
  • the embodiment of the present invention searches for the target second Bluetooth device by matching the RSSI curve of the second Bluetooth device with the motion curve of the second Bluetooth device, so that the pairing connection process is safe, simple, and fast, and does not require the user to participate in the selection. , input, confirmation and other operations, effectively improve the user experience. Moreover, by confirming the connection, the security of the connection can be further improved.
  • FIG. 4 is a flowchart for implementing a method for confirming a pairing connection of a terminal device according to an embodiment of the present invention, which mainly includes the following steps:
  • Step S401 The first Bluetooth device receives the broadcast data packet broadcast by the plurality of second Bluetooth devices, and acquires the RSSI data associated with the broadcast data packet.
  • the plurality of second Bluetooth devices may broadcast the set broadcast data packet to the surroundings according to the set time interval in the BLE mode.
  • the first Bluetooth device may acquire RSSI data associated with the broadcast data packet after receiving the broadcast data packet broadcast by the plurality of second Bluetooth devices.
  • the interval between the intervals may be 20 ms to 10.24 s.
  • the embodiment of the present invention in order to reduce the number of candidate second Bluetooth devices and improve the security of the first Bluetooth device pairing connection, the embodiment of the present invention further includes:
  • the broadcast data packet carries a vendor custom field
  • the first Bluetooth device filters out the second Bluetooth device issued by the vendor according to the vendor customization field carried by the broadcast data packet. . That is, the first Bluetooth device only needs to pay attention to the second Bluetooth device issued by the manufacturer, and excludes the second Bluetooth device that is not issued by the vendor by using a vendor custom field carried in the broadcast data packet.
  • the first Bluetooth device may receive the broadcast data packet in a motion process (the motion may change a distance between the first Bluetooth device and the second Bluetooth device), The RSSI data associated with the broadcast packet.
  • step S402 the first Bluetooth device establishes a plurality of first RSSI curves according to the RSSI data.
  • Each of the second Bluetooth devices corresponds to a first RSSI curve.
  • the first RSSI curve may be in the form of a distance (ordinate) - an inter-turn (abscissa) curve, a velocity (ordinate) - an inter-turn (abscissa) curve. , acceleration (ordinate) - inter-turn (abscissa) or RSSI value (ordinate) - distance (abscissa) and other curve forms.
  • each second Bluetooth device corresponds to a first RSSI curve. Specifically, acquiring, according to the multiple broadcast data packets sent by each second Bluetooth device, multiple associated RSSI values, according to the multiple RSSs
  • the I value establishes a first RSSI curve corresponding to the second Bluetooth device.
  • step S403 the first Bluetooth device searches for the first RSSI curve corresponding to the predetermined mode from the plurality of first RSSI curves, and the first RSSI curve corresponding to the predetermined pattern is matched.
  • the second Bluetooth device acts as the target second Bluetooth device.
  • the first RSSI curve conforming to the predetermined mode may be a variation curve in which the RSSI change amplitude is within a preset range and/or the RSSI change period meets a specific rule or the like.
  • any one of the two Bluetooth devices may be selected or a second condition that meets the preset condition (eg, the closest selection distance) may be selected.
  • the Bluetooth device acts as the target second Bluetooth device.
  • step S404 the first Bluetooth device initiates a connection request to the target second Bluetooth device to establish a connection.
  • the method for establishing a connection may be that the user selects the target second Bluetooth device, and then connects through the justwork mode, or may be connected through the existing pairing mode, and is not limited herein.
  • the embodiment of the present invention further includes:
  • the process of pairing the first Bluetooth device with the second Bluetooth device is displayed in a graphical manner.
  • the motion state of the other party is displayed on the display screen of the first Bluetooth device and/or the display screen of the second Bluetooth device, for example, a moving ball is displayed on the display screen of the second Bluetooth device, and the motion is small.
  • Ball reflection The motion of a Bluetooth device or the change in RSSI value.
  • the embodiment of the present invention further includes:
  • the acknowledgment of the pairing connection and the unpairing connection are increased.
  • the first Bluetooth device and/or the second Bluetooth device may be added to confirm the pairing connection and cancel. Pairing the connected button or the preset operation gesture, so that the user triggers the button or the operation gesture, and the first Bluetooth device or the second Bluetooth device performs a corresponding function of confirming the pairing connection or canceling the pairing connection, for example,
  • the first Bluetooth device or the second Bluetooth device touches the touch screen to perform the confirming the pairing connection function, and the reverse button is swiped on the touch screen of the first Bluetooth device or the second Bluetooth device to perform the unpairing connection function.
  • Step S405 After establishing a connection with the target second Bluetooth device, the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, The data collected by the motion sensor of the first Bluetooth device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the target second The data collected by the Bluetooth device according to the motion sensor provided by the target second Bluetooth device according to the preset time;
  • Step S406 The first Bluetooth device establishes a corresponding curve according to the acquired data.
  • Step S407 the first Bluetooth device determines whether the established curves match, if the determination result is "Yes”, step S408 is performed; if the determination result is "No", then step S409 is performed;
  • Step S408 confirming the connection
  • Step S409 disconnecting the connection with the target second Bluetooth device.
  • a second Bluetooth device corresponding to the first RSSI curve corresponding to the predetermined mode is used as the target second Bluetooth device, and a connection request is initiated to the target second Bluetooth device to establish a connection.
  • the pairing connection process in the embodiment of the present invention does not require the user to participate in the operations of selecting, inputting, confirming, etc., and under the premise of ensuring high security, the human operation is reduced, and the pairing connection of the terminal device is improved. Efficiency, enhanced user experience. Moreover, by confirming the connection, the security of the connection can be further improved.
  • FIG. 5 is a flowchart for implementing a method for confirming a pairing connection of a terminal device according to an embodiment of the present invention, which mainly includes the following steps:
  • Step S501 The first Bluetooth device receives a broadcast data packet broadcast by a plurality of second Bluetooth devices, where the broadcast data packet carries data collected by the second Bluetooth device through its own motion sensor.
  • the plurality of second Bluetooth devices may broadcast the set broadcast data packet to the surroundings according to the set time interval in the BLE mode.
  • the broadcast data packet carries data collected by the second Bluetooth device through its own motion sensor; the interval may be 20 ms to 10.24 s.
  • the embodiment of the present invention in order to reduce the number of candidate second Bluetooth devices and improve the security of the first Bluetooth device pairing connection, further includes:
  • the broadcast data packet carries a vendor custom field
  • the first Bluetooth device filters out the second Bluetooth device issued by the vendor according to the vendor customization field carried by the broadcast data packet. . That is, the first Bluetooth device only needs to pay attention to the second Bluetooth device issued by the manufacturer, and excludes the second Bluetooth device that is not issued by the vendor through the vendor customization field carried in the broadcast data packet.
  • step S502 the first Bluetooth device establishes a plurality of first motion curves according to data collected by the second Bluetooth device carried in the broadcast data packet through the motion sensor provided by the second Bluetooth device, where each of the first The two Bluetooth devices correspond to a first motion curve.
  • the first motion curve may be in the form of a distance (ordinate) - an inter-turn (abscissa) curve, a speed (ordinate) - an inter-turn (abscissa) curve, Acceleration (ordinate) - inter-turn (abscissa) and other curve forms.
  • step S503 the first Bluetooth device searches for the first motion curve that matches the predetermined pattern from the plurality of first motion curves, and searches for the second corresponding to the first motion curve that matches the predetermined pattern.
  • the Bluetooth device acts as the target second Bluetooth device.
  • the first motion curve that conforms to the predetermined mode may be a curve in which the curve variation amplitude is within a preset range and/or the curve change period conforms to a specific rule or the like.
  • the user may select any one of them or select the first condition that meets the preset condition (for example, the selection distance is the closest).
  • Two Bluetooth devices act as the target second Bluetooth device.
  • the embodiment may further include:
  • the first Bluetooth device acquires RSSI data associated with the broadcast data packet
  • the first Bluetooth device searches for the first motion curve that matches the predetermined mode from the plurality of first motion curves, and uses the second Bluetooth device corresponding to the first motion curve that meets the predetermined mode to be found as
  • the target second Bluetooth device can include:
  • the first Bluetooth device searches for the first motion curve that matches the predetermined mode from the plurality of first motion curves, and the second Bluetooth device corresponding to the first motion curve that matches the predetermined pattern is found.
  • the second Bluetooth device that finds the change of the RSSI data in a preset range, and finds the second Bluetooth device that is found as the target second Bluetooth device.
  • the user snoozes the motion sensor by the app of the first Bluetooth device, and shakes the second Bluetooth device and the first Bluetooth device together, and the first Bluetooth device receives the broadcast data packet broadcast by the second Bluetooth device, and acquires the The data collected by the second Bluetooth device carried in the broadcast data packet through its own motion sensor simultaneously records the RSSI data associated with the broadcast data packet.
  • the first Bluetooth device further needs to determine whether the change of the RSSI data is within a preset range and whether the RSSI data is always the largest.
  • step S504 the first Bluetooth device initiates a connection request to the target second Bluetooth device to establish a connection.
  • the method for establishing a connection may be that the user selects the target second Bluetooth device, and then connects through the justwork mode, or may be connected through an existing pairing manner, and is not limited herein.
  • the embodiment of the present invention further includes:
  • the process of pairing the first Bluetooth device with the second Bluetooth device is displayed in a graphical manner.
  • the motion state of the other party is displayed on the display screen of the first Bluetooth device and/or the display screen of the second Bluetooth device, for example, a moving ball is displayed on the display screen of the second Bluetooth device, and the motion is small.
  • the ball reflects the motion of the first Bluetooth device or the change in RSSI value.
  • the embodiment of the present invention further includes: [0163] In the first Bluetooth device and/or the second Bluetooth device, the acknowledgment of the pairing connection and the unpairing connection are increased. Specifically, the first Bluetooth device and/or the second Bluetooth device may be added to confirm the pairing connection and cancel.
  • Pairing the connected button or the preset operation gesture so that the user triggers the button or the operation gesture, and the first Bluetooth device or the second Bluetooth device performs a corresponding function of confirming the pairing connection or canceling the pairing connection, for example,
  • the first Bluetooth device or the second Bluetooth device touches the touch screen to perform the confirming the pairing connection function, and the reverse button is swiped on the touch screen of the first Bluetooth device or the second Bluetooth device to perform the unpairing connection function.
  • Step S505 after establishing a connection with the target second Bluetooth device, the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, The data collected by the motion sensor of the first Bluetooth device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the target second The data collected by the Bluetooth device according to the motion sensor provided by the target second Bluetooth device according to the preset time;
  • Step S506 the first Bluetooth device establishes a corresponding curve according to the acquired data.
  • Step S507 the first Bluetooth device determines whether the established curves match, if the determination result is "Yes”, step S508 is performed; if the determination result is "No", then step S509 is performed;
  • Step S508 confirming the connection
  • Step S509 disconnecting the connection with the target second Bluetooth device.
  • a second Bluetooth device corresponding to the first motion curve that meets the predetermined mode is used as the target second Bluetooth device, and a connection request is initiated to the target second Bluetooth device to establish a connection.
  • the pairing connection process in the embodiment of the present invention does not require the user to participate in the operations of selecting, inputting, confirming, etc., and under the premise of ensuring high security, the human operation is reduced, and the pairing connection of the terminal device is improved. Efficiency, enhanced user experience. Moreover, the security of the connection can be further improved by confirming the connection.
  • the corresponding Bluetooth device needs the Bluetooth Low Energy (BLE) function with the Bluetooth 4.0 protocol.
  • BLE Bluetooth Low Energy
  • FIG. 6 is a schematic structural diagram of a terminal device pairing connection confirmation system according to an embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the terminal device pairing connection confirmation system may be a software unit, a hardware unit or a combination of software and hardware built in the first Bluetooth device.
  • the terminal device pairing connection confirmation system includes: a first data acquiring unit 61, a first curve establishing unit 62, a first determining unit 63, and a first processing unit 64.
  • the specific functions of each unit are as follows:
  • the first data acquiring unit 61 is configured to: after establishing a connection with the target second Bluetooth device, acquire at least two sets of data according to the preset inter-time interval: RSSI data of the Bluetooth signal of the target second Bluetooth device, The data collected by the motion sensor of the first Bluetooth device, the RSSI data of the Bluetooth signal of the first Bluetooth device monitored by the target second Bluetooth device according to the preset interval, and the target The second Bluetooth device collects data according to the motion sensor that is carried by the target second Bluetooth device according to the preset time;
  • the first curve establishing unit 62 is configured to establish a corresponding curve according to the acquired data
  • the first determining unit 63 is configured to determine whether the established curves are all matched
  • the first processing unit 64 is configured to: when the first determining unit 63 determines that the result is negative, disconnect the connection with the target second Bluetooth device.
  • system further includes:
  • the second data acquiring unit 65 is configured to receive a broadcast data packet broadcast by the plurality of second Bluetooth devices, and acquire RSSI data associated with the broadcast data packet;
  • the second curve establishing unit 66 is configured to establish, according to the RSSI data, a plurality of first RSSI curves, where each second Bluetooth device corresponds to a first RSSI curve;
  • the third curve establishing unit 67 is configured to acquire data collected by the motion sensor that is provided by the third curve, and according to the The data establishes a first motion curve;
  • the first matching unit 68 is configured to search for the target second Bluetooth device that matches the first RSSI curve with the first motion curve;
  • the first connection unit 69 is configured to initiate a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first RSSI curve with the first motion curve, To establish a connection.
  • system further includes:
  • the first data receiving unit 610 is configured to receive a broadcast data packet that is broadcast by the multiple second Bluetooth devices, where the broadcast data packet carries data collected by the second Bluetooth device through its own motion sensor;
  • the third data acquiring unit 611 is configured to acquire RSSI data associated with the broadcast data packet, and data collected by the second Bluetooth device carried in the broadcast data packet by using the motion sensor that is included in the broadcast data packet. ;
  • the fourth curve establishing unit 612 is configured to establish, according to the RSSI data, a plurality of first RSSI curves, where each second Bluetooth device corresponds to a first RSSI curve;
  • the fifth curve establishing unit 613 is configured to establish, according to the data collected by the second Bluetooth device carried in the broadcast data packet by the motion sensor that is included in the broadcast data packet, a plurality of first motion curves, where each The second Bluetooth device corresponds to a first motion curve;
  • the second matching unit 614 is configured to find a target second Bluetooth device that matches the first RSSI curve with the first motion curve;
  • the second connection unit 615 is configured to initiate a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first RSSI curve with the first motion curve, To establish a connection.
  • system further includes:
  • the fourth data acquiring unit 616 is configured to receive a broadcast data packet broadcast by the plurality of second Bluetooth devices, and obtain RSSI data associated with the broadcast data packet;
  • the sixth curve establishing unit 617 is configured to establish, according to the RSSI data, a plurality of first RSSI curves, where each second Bluetooth device corresponds to a first RSSI curve;
  • the first searching unit 618 is configured to search, according to the preset mode, from the plurality of first RSSI curves a first RSSI curve, the second Bluetooth device corresponding to the first RSSI curve corresponding to the predetermined mode is found as the target second Bluetooth device;
  • the third connection unit 619 is configured to initiate a connection request to the target second Bluetooth device to establish a connection.
  • system further includes:
  • the second data receiving unit 620 is configured to receive a broadcast data packet broadcast by the multiple second Bluetooth devices, where the broadcast data packet carries data collected by the second Bluetooth device through its own motion sensor;
  • the seventh curve establishing unit 621 is configured to establish, according to the data collected by the second Bluetooth device carried in the broadcast data packet by the motion sensor that is included in the broadcast data packet, a plurality of first motion curves, where each The second Bluetooth device corresponds to a first motion curve;
  • the second searching unit 622 is configured to search, from the plurality of first motion curves, a first motion curve that meets a predetermined pattern, and search the second Bluetooth that corresponds to the first motion curve that meets the predetermined mode.
  • the device acts as the target second Bluetooth device;
  • the fourth connection unit 623 is configured to initiate a connection request to the target second Bluetooth device to establish a connection.
  • the first Bluetooth device and the target second Bluetooth device may monitor each other's Data, and acquiring own data monitored by the other party, and establishing corresponding curves (for example, RSSI curve, motion curve) according to the acquired data (for example, RSSI data, motion data), and further confirming the connection by comparing the curves Security.
  • the target second Bluetooth device can be selected by using multiple selection methods, and the selection mode does not require the user to participate in selection, input, confirmation, etc., thereby effectively improving the efficiency of the terminal pairing connection, and has strong ease of use and practicability. .
  • each functional unit in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be implemented in the form of hardware. , and also It can be implemented in the form of a software functional unit.
  • the disclosed systems and methods can be implemented in other ways.
  • the system embodiment described above is merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes a number of instructions for causing a computer device (which may be a personal computer, a server, Or a network device or the like) or a processor performs all or part of the steps of the method according to various embodiments of the embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (R OM), and a random access memory (RAM).
  • a variety of media that can store program code such as a disk or a disc.

Abstract

本发明适用于通信技术领域,提供了一种终端设备配对连接确认的方法及系统。所述方法包括:第一蓝牙设备在与目标第二蓝牙设备建立连接之后,根据预设时间间隔获取以下至少两组数据:所述目标第二蓝牙设备的蓝牙信号的RSSI数据、所述第一蓝牙设备自带的运动传感器采集到的数据、所述目标第二蓝牙设备根据所述预设时间间隔监测到的所述第一蓝牙设备的蓝牙信号的RSSI数据以及所述目标第二蓝牙设备根据所述预设时间间通过其自带的运动传感器采集到的数据;第一蓝牙设备根据获取的所述数据建立相应的曲线;第一蓝牙设备判断建立的所述曲线是否都相匹配;若否,则断开与所述目标第二蓝牙设备的连接。通过本发明可进一步提高配对连接的安全性。

Description

说明书 发明名称:终端设备配对连接确认的方法及系统 技术领域
[0001] 本发明属于通信技术领域, 尤其涉及一种终端设备配对连接确认的方法及系统 背景技术
[0002] 在现有技术中, 终端设备 (如第一蓝牙设备与第二蓝牙设备) 配对连接的流程 一般包括以下步骤:
[0003] 步骤 1, 第一蓝牙设备扫描第二蓝牙设备;
[0004] 步骤 2, 用户从扫描到的第二蓝牙设备中选择目标第二蓝牙设备;
[0005] 步骤 3, 如果第一蓝牙设备与目标第二蓝牙设备已经配对过, 则直接建立蓝牙 连接;
[0006] 步骤 4, 如果第一蓝牙设备与目标第二蓝牙设备未配对过, 则触发配对流程。
如果目标第二蓝牙设备是 Justwork配对模式, 则配对过程不需要用户参与, 但是 该配对模式安全性较低; 如果目标第二蓝牙设备使用输入配对码的配对模式, 则配对过程需要用户输入 4至 6位的配对码; 如果目标第二蓝牙设备使用数字比 对的配对模式, 则用户需要比较第一蓝牙设备和第二蓝牙设备各自屏幕上显示 的 6位比对数字是否一样, 如果一样则双方通过点击确认键来完成配对;
[0007] 步骤 5, 配对完成后, 第一蓝牙设备与目标第二蓝牙设备建立蓝牙连接。
[0008] 由上可知, 现有的第一蓝牙设备与第二蓝牙设备在完成配对连接后, 未进行再 确认, 安全性较低。
技术问题
[0009] 鉴于此, 本发明实施例提供一种终端设备配对连接确认的方法及系统, 以提高 终端设备配对连接的安全性。
问题的解决方案
技术解决方案
[0010] 第一方面, 本发明提供了一种终端设备配对连接确认的方法, 所述方法包括: [0011] 第一蓝牙设备在与目标第二蓝牙设备建立连接之后, 根据预设吋间间隔获取以 下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝 牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根据所述预设 吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所述目标第二 蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运动传感器采 集到的数据;
[0012] 第一蓝牙设备根据获取的所述数据建立相应的曲线;
[0013] 第一蓝牙设备判断建立的所述曲线是否都相匹配;
[0014] 若否, 则断幵与所述目标第二蓝牙设备的连接。
[0015] 第二方面, 本发明提供了一种终端设备配对连接确认的系统, 所述系统包括:
[0016] 第一数据获取单元, 用于在与目标第二蓝牙设备建立连接后, 根据预设吋间间 隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所 述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根据 所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所述 目标第二蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运动 传感器采集到的数据;
[0017] 第一曲线建立单元, 用于根据获取的所述数据建立相应的曲线;
[0018] 第一判断单元, 用于判断建立的所述曲线是否都相匹配;
[0019] 第一处理单元, 用于在所述第一判断单元判断结果为否吋, 断幵与所述目标第 二蓝牙设备的连接。
发明的有益效果
有益效果
[0020] 本发明实施例与现有技术相比存在的有益效果是: 本发明实施例所述第一蓝牙 设备在与所述目标第二蓝牙设备建立连接后, 所述第一蓝牙设备和所述目标第 二蓝牙设备可通过监测对方的数据, 以及获取对方监测到的自身的数据, 并根 据获取的所述数据 (例如 RSSI数据、 运动数据) 建立对应的曲线 (例如 RSSI变 化曲线、 运动曲线) , 通过比较所述曲线来进一步确认连接的安全性, 具有较 强的易用性和实用性。 对附图的简要说明
附图说明
[0021] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。
[0022] 图 1是本发明实施例提供的终端设备配对连接确认方法的实现流程示意图; [0023] 图 2是本发明另一实施例提供的终端设备配对连接确认方法的实现流程示意图
[0024] 图 3是本发明另一实施例提供的终端设备配对连接确认方法的实现流程示意图
[0025] 图 4是本发明另一实施例提供的终端设备配对连接确认方法的实现流程示意图
[0026] 图 5是本发明另一实施例提供的终端设备配对连接确认方法的实现流程示意图
[0027] 图 6是本发明实施例提供的终端设备配对连接确认系统的组成结构示意图。
本发明的实施方式
[0028] 以下描述中, 为了说明而不是为了限定, 提出了诸如特定系统结构、 技术之类 的具体细节, 以便透切理解本发明实施例。 然而, 本领域的技术人员应当清楚 , 在没有这些具体细节的其它实施例中也可以实现本发明。 在其它情况中, 省 略对众所周知的系统、 装置、 电路以及方法的详细说明, 以免不必要的细节妨 碍本发明的描述。
[0029] 为了说明本发明所述的技术方案, 下面通过具体实施例来进行说明。
[0030] 请参阅图 1, 为本发明实施例提供的终端设备配对连接确认方法的实现流程, 其主要包括以下步骤:
[0031] 步骤 S101, 第一蓝牙设备在与目标第二蓝牙设备建立连接之后, 根据预设吋间 间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根 据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所 述目标第二蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运 动传感器采集到的数据。
[0032] 在本发明实施例中, 所述目标第二蓝牙设备为与所述第一蓝牙设备连接的第二 蓝牙设备。 所述第一蓝牙设备和目标第二蓝牙设备为具有蓝牙功能 (优选具有 蓝牙 4.0协议的蓝牙低能耗 (Bluetooth Low Energy, BLE) 功能) 的终端设备, 例如智能手机、 平板电脑等。
[0033] 示例性的, 当所述第一蓝牙设备与所述目标第二蓝牙设备建立连接后, 每隔一 定的吋间间隔 (例如 7.5ms~4s, 优选 20ms) , 所述目标第二蓝牙设备需要向所 述第一蓝牙设备发送维持连接的心跳包, 所述第一蓝牙设备则需要应答。
[0034] 由于所述第一蓝牙设备与所述目标第二蓝牙设备在每个所述吋间间隔会收发所 述心跳包, 因此所述 RSSI数据每个吋间间隔后会更新一次。 基于此, 本发明实 施例所述第一蓝牙设备和所述目标第二蓝牙设备可通过监测对方的蓝牙信号的 R SSI数据, 以及获取对方监测到的自身的蓝牙信号的 RSSI数据来确认连接的安全 性。
[0035] 另一示例, 所述第一蓝牙设备和所述目标第二蓝牙设备均自带有运动传感器 ( 例如, 陀螺仪、 重力传感器、 加速度传感器等) , 所述第一蓝牙设备和第二蓝 牙设备还可以分别通过其自带的运动传感器采集自身的运动数据, 并通过获取 采集到的运动数据来确认连接的安全性。
[0036] 步骤 S102, 第一蓝牙设备根据获取的所述数据建立相应的曲线。
[0037] 示例性的, 第一蓝牙设备根据所述监测到的目标第二蓝牙设备的蓝牙信号的 RS SI数据建立第二 RSSI变化曲线, 根据所述获取的第一蓝牙设备的蓝牙信号的 RSS I数据建立第三 RSSI变化曲线;
[0038] 进一步的, 还可以包括:
[0039] 第一蓝牙设备根据所述预设吋间间隔获取其运动传感器采集到的数据, 并根据 该数据建立第二运动曲线。
[0040] 另一示例, 第一蓝牙设备根据获取的所述第一蓝牙设备自带的运动传感器采集 到的数据建立第三运动曲线, 根据获取的所述第二蓝牙设备自带的运动传感器 采集到的数据建立第四运动曲线。
[0041] 需要说明的是, 本发明实施例所述曲线可以为距离 (纵坐标) -吋间 (横坐标)曲 线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式或者加速度 (纵坐标) -吋间 (横坐标)等曲线形式。
[0042] 步骤 S103, 第一蓝牙设备判断建立的所述曲线是否都相匹配, 若判断结果为" 是", 则执行步骤 S104; 若判断结果为"否", 则执行步骤 S105。
[0043] 示例性的, 第一蓝牙设备判断建立的所述曲线是否都相匹配可以包括: 第一蓝 牙设备判断所述第二 RSSI变化曲线与所述第三 RSSI变化曲线是否相匹配, 以及 所述第二 RSSI变化曲线与所述第二运动曲线是否相匹配。
[0044] 需要说明的是, 本发明实施例所述曲线相匹配并不一定需要两者完全一致, 所 述曲线的变化幅度、 变化周期、 形态 (即不同吋间点的变化走向、 变化率) 在 预设范围内即可。
[0045] 步骤 S 104, 确认连接。
[0046] 示例性的, 第一蓝牙设备可以在所述第二 RSSI变化曲线与所述第三 RSSI变化曲 线相匹配, 且所述第二 RSSI变化曲线与所述第二运动曲线相匹配吋, 确认连接
[0047] 步骤 S105, 断幵与所述目标第二蓝牙设备的连接。
[0048] 示例性的, 第一蓝牙设备在所述第二 RSSI变化曲线与所述第三 RSSI变化曲线不 相匹配, 和 /或所述第二 RSSI变化曲线与所述第二运动曲线不相匹配吋, 断幵与 所述目标第二蓝牙设备的连接, 配对连接终止。
[0049] 需要说明的是, 在本实施例中, 判断 RSSI变化曲线与运动曲线是否匹配, 可应 用于一个蓝牙设备运动的场景; 判断两个运动曲线是否匹配, 可应用于两个蓝 牙设备做相同运动的场景; 判断两个 RSSI变化曲线是否匹配, 可应用于一个蓝 牙设备运动或者两个蓝牙设备做相同运动的场景。
[0050] 本发明实施例所述第一蓝牙设备在与所述目标第二蓝牙设备建立连接后, 所述 第一蓝牙设备和所述目标第二蓝牙设备可通过监测对方的数据, 以及获取对方 监测到的自身的数据, 并根据获取的所述数据 (例如 RSSI数据、 运动数据) 建 立对应的曲线 (例如 RSSI变化曲线、 运动曲线) , 通过比较所述曲线来进一步 确认连接的安全性。
[0051] 另外, 本实施例上述示例只用于解释本发明, 并不限定本发明的保护范围。
[0052] 作为本发明的另一较佳示例, 在所述第一蓝牙设备与所述目标第二蓝牙设备建 立连接之后, 本发明还可以包括:
[0053] 第一蓝牙设备根据预设吋间间隔获取所述目标第二蓝牙设备的蓝牙信号的 RSSI 数据和 /或获取所述目标第二蓝牙设备根据所述预设吋间间隔监测到的所述第一 蓝牙设备的蓝牙信号的 RSSI数据;
[0054] 第一蓝牙设备判断获取的所述 RSSI数据的变化是否在预设范围内;
[0055] 若否, 则断幵与所述目标第二蓝牙设备的连接。
[0056] 该实例可应用于如下场景: 第一蓝牙设备和所述目标第二蓝牙设备在一起做相 同运动, 例如第一蓝牙设备拿在手上, 目标第二蓝牙设备带在手腕上, 由于第 一蓝牙设备和所述目标第二蓝牙设备距离没有改变, 所述 RSSI数据的变化接近 为零。
[0057] 请参阅图 2, 为本发明另一实施例提供的终端设备配对连接确认方法的实现流 程, 其主要包括以下步骤:
[0058] 步骤 S201 , 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 并获取与 所述广播数据包关联的 RSSI数据。
[0059] 在本发明实施例中, 所述多个第二蓝牙设备可在 BLE模式下, 按设定的吋间间 隔向周围广播设定的广播数据包。 所述第一蓝牙设备可在接收到所述多个第二 蓝牙设备广播的广播数据包的同吋, 获取与所述广播数据包关联的 RSSI数据。 其中, 所述间隔吋间可以为 20ms~10.24s。
[0060] 作为本发明的一较佳示例, 为了减少候选第二蓝牙设备的数量, 提高第一蓝牙 设备配对连接的安全性, 本发明实施例还包括:
[0061] 所述广播数据包携带有厂商自定义字段;
[0062] 在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后, 所述第一蓝牙 设备根据所述广播数据包携带的厂商自定义字段过滤出该厂商发行的第二蓝牙 设备。 即所述第一蓝牙设备只需要关注该厂商发行的第二蓝牙设备, 通过广播 数据包携带的厂商自定义字段排除非该厂商发行的第二蓝牙设备。
[0063] 在步骤 S202中, 第一蓝牙设备根据所述 RSSI数据建立多个第一 RSSI变化曲线
, 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线。
[0064] 在本发明实施例中, 所述第一 RSSI变化曲线可以为距离 (纵坐标) -吋间 (横坐 标)曲线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式、 加速度 (纵坐标) - 吋间 (横坐标)或者 RSSI值 (纵坐标) -距离 (横坐标)等曲线形式。
[0065] 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线。 具体的是, 根据每一个第 二蓝牙设备发送的多个广播数据包, 获取关联的多个 RSSI值, 根据所述多个 RSS
I值建立与该第二蓝牙设备相对应的第一 RSSI变化曲线。
[0066] 在步骤 S203中, 第一蓝牙设备获取其自带的运动传感器采集到的数据, 并根据 所述数据建立第一运动曲线。
[0067] 在本发明实施例中, 所述第一蓝牙设备可在接收所述广播数据包的同吋, 通过 其自带的运动传感器采集第一蓝牙设备的运动数据, 并根据所述运动数据建立 第一运动曲线。 所述第一运动曲线可以为距离 (纵坐标) -吋间 (横坐标)曲线的 形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式或者加速度 (纵坐标) -吋间 (横 坐标)等曲线形式。
[0068] 可选的是, 所述第一蓝牙设备可在运动过程 (所述运动可使得第一蓝牙设备与 第二蓝牙设备之间的距离发生变化) 中接收所述广播数据包, 获取所述广播数 据包关联的 RSSI数据, 同吋通过其自带的运动传感器采集第一蓝牙设备的运动 数据。
[0069] 例如, 用户通过第一蓝牙设备的 app打幵运动传感器, 并在第二蓝牙设备附近( 如 1米内)沿着第二蓝牙设备 <->第一蓝牙设备纵向晃动第一蓝牙设备 (即保持第 二蓝牙设备与第一蓝牙设备两者相对空间方向不变, 只改变距离远近, 1米内第 二蓝牙设备与第一蓝牙设备间的距离变化会引起 RSSI值的明显变化) , 第一蓝 牙设备通过所述运动传感器采集第一蓝牙设备的运动数据, 并同吋接收第二蓝 牙设备广播的广播数据包, 记录所述广播数据包关联的 RSSI数据。
[0070] 在步骤 S204中, 第一蓝牙设备査找所述第一 RSSI变化曲线与所述第一运动曲线 相匹配的目标第二蓝牙设备。 [0071] 具体的是, 所述第一蓝牙设备根据所述第一运动曲线, 从所述多个第一 RSSI变 化曲线中査找与所述第一运动曲线相匹配的第一 RSSI变化曲线, 并将査找到的 所述相匹配的第一 RSSI变化曲线对应的第二蓝牙设备作为所述目标第二蓝牙设 备。
[0072] 需要说明的是, 本发明实施例所述第一 RSSI变化曲线与所述第一运动曲线相匹 配并不一定需要两者完全一致, 所述第一 RSSI变化曲线与所述第一运动曲线的 变化幅度、 变化周期、 形态 (即不同吋间点的变化走向、 变化率) 在预设范围 内即可。
[0073] 在步骤 S205中, 第一蓝牙设备在査找到所述第一 RSSI变化曲线与所述第一运动 曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请求, 以建立连接。
[0074] 在本发明实施例中, 所述建立连接的方式可以是由用户选择目标第二蓝牙设备 后, 通过 justwork方式连接, 也可以通过现有的配对方式连接, 在此不做限制。
[0075] 进一步的, 为了增强用户体验, 便于用户更直观的了解配对连接过程, 本发明 实施例还包括:
[0076] 以图形化的方式显示第一蓝牙设备与第二蓝牙设备配对连接的过程。 示例性的 , 在第一蓝牙设备的显示屏和 /或第二蓝牙设备的显示屏上显示对方的运动状态 , 例如在第二蓝牙设备的显示屏上显示一运动小球, 通过所述运动小球反映第 一蓝牙设备的运动情况或者 RSSI值变化情况。
[0077] 可选的, 为进一步增强易用性和实用性, 本发明实施例还包括:
[0078] 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及取消配对连接的功 育^ 具体的可以是, 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及 取消配对连接的按键或者预设的操作手势, 以使得用户在触发所述按键或所述 操作手势吋, 第一蓝牙设备或第二蓝牙设备执行对应的确认配对连接或取消配 对连接的功能, 例如在第一蓝牙设备或第二蓝牙设备的触摸屏上顺吋针滑动执 行确认配对连接功能, 在第一蓝牙设备或第二蓝牙设备的触摸屏上逆吋针滑动 执行取消配对连接功能。
[0079] 通过本发实施例, 使得第一蓝牙设备与第二蓝牙设备的配对连接过程更简单、 更方便以及更安全, 极大的提升了用户体验。
[0080] 步骤 S206, 第一蓝牙设备在与目标第二蓝牙设备建立连接之后, 根据预设吋间 间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根 据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所 述目标第二蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运 动传感器采集到的数据;
[0081] 步骤 S207, 第一蓝牙设备根据获取的所述数据建立相应的曲线;
[0082] 步骤 S208 , 第一蓝牙设备判断建立的所述曲线是否都相匹配, 若判断结果为" 是", 则执行步骤 S209; 若判断结果为"否", 则执行步骤 S210;
[0083] 步骤 S209, 确认连接;
[0084] 步骤 S210, 断幵与所述目标第二蓝牙设备的连接。
[0085] 本发明实施例步骤 S206〜步骤 S210的具体实施过程可参考图 1对应实施例中的步 骤 S101〜步骤 105, 在此不再赘述。
[0086] 本发明实施例通过将第二蓝牙设备的 RSSI变化曲线与第一蓝牙设备的运动曲线 进行匹配来査找目标第二蓝牙设备, 使得配对连接过程安全、 简单、 快捷, 不 需要用户参与选择、 输入、 确认等操作, 有效提升了用户体验。 而且, 通过对 连接后的确认, 可进一步提高连接的安全性。
[0087] 请参阅图 3, 为本发明实施例提供的终端设备配对连接确认方法的实现流程, 其主要包括以下步骤:
[0088] 步骤 S301, 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播 数据包携带有所述第二蓝牙设备通过其自带的运动传感器采集到的数据。
[0089] 在本发明实施例中, 所述多个第二蓝牙设备可在 BLE模式下, 按设定的吋间间 隔向周围广播设定的广播数据包。 所述第一蓝牙设备可在接收到所述多个第二 蓝牙设备广播的广播数据包的同吋, 获取与所述广播数据包关联的 RSSI数据。 其中, 所述间隔吋间可以为 20ms~10.24s。
[0090] 作为本发明的一较佳示例, 为了减少候选第二蓝牙设备的数量, 提高第一蓝牙 设备配对连接的安全性, 本发明实施例还包括: [0091] 所述广播数据包携带有厂商自定义字段;
[0092] 在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后, 所述第一蓝牙 设备根据所述广播数据包携带的厂商自定义字段过滤出该厂商发行的第二蓝牙 设备。 即所述第一蓝牙设备只需要关注该厂商发行的第二蓝牙设备, 通过广播 数据包携带的厂商自定义字段排除非该厂商发行的第二蓝牙设备。
[0093] 作为本发明的另一较佳示例, 所述广播数据包还携带有所述第二蓝牙设备通过 其自带的运动传感器采集到的数据。
[0094] 在步骤 S302中, 第一蓝牙设备获取与所述广播数据包关联的 RSSI数据, 以及所 述广播数据包中携带的所述第二蓝牙设备通过其自带的运动传感器采集到的数 据。
[0095] 在本发明实施例中, 所述第一蓝牙设备可在与第二蓝牙设备一起运动的过程中 , 或者第一蓝牙设备不动, 第二蓝牙设备运动的过程中接收所述广播数据包, 获取所述广播数据包关联的 RSSI数据以及所述广播数据包中携带的所述第二蓝 牙设备通过其自带的运动传感器采集到的数据。
[0096] 在步骤 S303中, 第一蓝牙设备根据所述 RSSI数据建立多个第一 RSSI变化曲线 , 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线。
[0097] 在本发明实施例中, 所述第一 RSSI变化曲线可以为距离 (纵坐标) -吋间 (横坐 标)曲线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式、 加速度 (纵坐标) - 吋间 (横坐标)或者 RSSI值 (纵坐标) -距离 (横坐标)等曲线形式。
[0098] 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线。 具体的是, 根据每一个第 二蓝牙设备发送的多个广播数据包, 获取关联的多个 RSSI值, 根据所述多个 RSS I值建立与该第二蓝牙设备相对应的第一 RSSI变化曲线。
[0099] 在步骤 S304中, 第一蓝牙设备根据所述广播数据包中携带的所述第二蓝牙设备 通过其自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第二 蓝牙设备对应一个第一运动曲线。
[0100] 在本发明实施例中, 所述第一运动曲线可以为距离 (纵坐标) -吋间 (横坐标)曲 线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式或者加速度 (纵坐标) -吋间 (横坐标)等曲线形式。 [0101] 在步骤 S305中, 第一蓝牙设备査找所述第一 RSSI变化曲线与所述第一运动曲线 相匹配的目标第二蓝牙设备。
[0102] 本发明实施例所述第一 RSSI变化曲线与所述第一运动曲线相匹配并不一定需要 两者完全一致, 所述第一 RSSI变化曲线与所述第一运动曲线的变化幅度、 变化 周期、 形态 (即不同吋间点的变化走向、 变化率) 在预设范围内即可。
[0103] 在步骤 S306中, 第一蓝牙设备在査找到所述第一 RSSI变化曲线与所述第一运动 曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请求, 以建立连接。
[0104] 在本发明实施例中, 所述建立连接的方式可以是由用户选择目标第二蓝牙设备 后, 通过 justwork方式连接, 也可以通过现有的配对方式连接, 在此不做限制。
[0105] 进一步的, 为了增强用户体验, 便于用户更直观的了解配对连接过程, 本发明 实施例还包括:
[0106] 以图形化的方式显示第一蓝牙设备与第二蓝牙设备配对连接的过程。 示例性的 , 在第一蓝牙设备的显示屏和 /或第二蓝牙设备的显示屏上显示对方的运动状态 , 例如在第二蓝牙设备的显示屏上显示一运动小球, 通过所述运动小球反映第 一蓝牙设备的运动情况或者 RSSI值变化情况。
[0107] 可选的, 为进一步增强易用性和实用性, 本发明实施例还包括:
[0108] 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及取消配对连接的功 育^ 具体的可以是, 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及 取消配对连接的按键或者预设的操作手势, 以使得用户在触发所述按键或所述 操作手势吋, 第一蓝牙设备或第二蓝牙设备执行对应的确认配对连接或取消配 对连接的功能, 例如在第一蓝牙设备或第二蓝牙设备的触摸屏上顺吋针滑动执 行确认配对连接功能, 在第一蓝牙设备或第二蓝牙设备的触摸屏上逆吋针滑动 执行取消配对连接功能。
[0109] 步骤 S307, 第一蓝牙设备在与目标第二蓝牙设备建立连接之后, 根据预设吋间 间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根 据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所 述目标第二蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运 动传感器采集到的数据;
[0110] 步骤 S308, 第一蓝牙设备根据获取的所述数据建立相应的曲线;
[0111] 步骤 S309, 第一蓝牙设备判断建立的所述曲线是否都相匹配, 若判断结果为" 是", 则执行步骤 S310; 若判断结果为"否", 则执行步骤 S311 ;
[0112] 步骤 S310, 确认连接;
[0113] 步骤 S311, 断幵与所述目标第二蓝牙设备的连接。
[0114] 本发明实施例步骤 S307〜步骤 S311的具体实施过程可参考图 1对应实施例中的步 骤 S101〜步骤 105, 在此不再赘述。
[0115] 本发明实施例通过将第二蓝牙设备的 RSSI变化曲线与第二蓝牙设备的运动曲线 进行匹配来査找目标第二蓝牙设备, 使得配对连接过程安全、 简单、 快捷, 不 需要用户参与选择、 输入、 确认等操作, 有效提升了用户体验。 而且, 通过对 连接后的确认, 可进一步提高连接的安全性。
[0116] 请参阅图 4, 为本发明实施例提供的终端设备配对连接确认方法的实现流程, 其主要包括以下步骤:
[0117] 步骤 S401 , 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 并获取与 所述广播数据包关联的 RSSI数据。
[0118] 在本发明实施例中, 所述多个第二蓝牙设备可在 BLE模式下, 按设定的吋间间 隔向周围广播设定的广播数据包。 所述第一蓝牙设备可在接收到所述多个第二 蓝牙设备广播的广播数据包的同吋, 获取与所述广播数据包关联的 RSSI数据。 其中, 所述间隔吋间可以为 20ms~10.24s。
[0119] 作为本发明的一较佳示例, 为了减少候选第二蓝牙设备的数量, 提高第一蓝牙 设备配对连接的安全性, 本发明实施例还包括:
[0120] 所述广播数据包携带有厂商自定义字段;
[0121] 在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后, 所述第一蓝牙 设备根据所述广播数据包携带的厂商自定义字段过滤出该厂商发行的第二蓝牙 设备。 即所述第一蓝牙设备只需要关注该厂商发行的第二蓝牙设备, 通过广播 数据包携带的厂商自定义字段排除非该厂商发行的第二蓝牙设备。 [0122] 可选的是, 所述第一蓝牙设备可在运动过程 (所述运动可使得第一蓝牙设备与 第二蓝牙设备之间的距离发生变化) 中接收所述广播数据包, 获取所述广播数 据包关联的 RSSI数据。
[0123] 在步骤 S402中, 第一蓝牙设备根据所述 RSSI数据建立多个第一 RSSI变化曲线
, 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线。
[0124] 在本发明实施例中, 所述第一 RSSI变化曲线可以为距离 (纵坐标) -吋间 (横坐 标)曲线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式、 加速度 (纵坐标) - 吋间 (横坐标)或者 RSSI值 (纵坐标) -距离 (横坐标)等曲线形式。
[0125] 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线。 具体的是, 根据每一个第 二蓝牙设备发送的多个广播数据包, 获取关联的多个 RSSI值, 根据所述多个 RSS
I值建立与该第二蓝牙设备相对应的第一 RSSI变化曲线。
[0126] 在步骤 S403中, 第一蓝牙设备从所述多个第一 RSSI变化曲线中査找符合预定模 式的第一 RSSI变化曲线, 将査找到的所述符合预定模式的第一 RSSI变化曲线对 应的第二蓝牙设备作为目标第二蓝牙设备。
[0127] 在本发明实施例中, 所述符合预定模式的第一 RSSI变化曲线可以是 RSSI变化幅 度在预设范围内和 /或 RSSI变化周期符合特定规则等的变化曲线。
[0128] 需要说明的是, 当同吋存在多个符合预定模式的第一 RSSI变化曲线对应的第二 蓝牙设备, 可从中选择任意一个或者选择符合预设条件 (例如选择距离最近) 的第二蓝牙设备作为所述目标第二蓝牙设备。
[0129] 在步骤 S404中, 第一蓝牙设备向所述目标第二蓝牙设备发起连接请求, 以建立 连接。
[0130] 在本发明实施例中, 所述建立连接的方式可以是由用户选择目标第二蓝牙设备 后, 通过 justwork方式连接, 也可以通过现有的配对方式连接, 在此不做限制。
[0131] 进一步的, 为了增强用户体验, 便于用户更直观的了解配对连接过程, 本发明 实施例还包括:
[0132] 以图形化的方式显示第一蓝牙设备与第二蓝牙设备配对连接的过程。 示例性的 , 在第一蓝牙设备的显示屏和 /或第二蓝牙设备的显示屏上显示对方的运动状态 , 例如在第二蓝牙设备的显示屏上显示一运动小球, 通过所述运动小球反映第 一蓝牙设备的运动情况或者 RSSI值变化情况。
[0133] 可选的, 为进一步增强易用性和实用性, 本发明实施例还包括:
[0134] 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及取消配对连接的功 育^ 具体的可以是, 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及 取消配对连接的按键或者预设的操作手势, 以使得用户在触发所述按键或所述 操作手势吋, 第一蓝牙设备或第二蓝牙设备执行对应的确认配对连接或取消配 对连接的功能, 例如在第一蓝牙设备或第二蓝牙设备的触摸屏上顺吋针滑动执 行确认配对连接功能, 在第一蓝牙设备或第二蓝牙设备的触摸屏上逆吋针滑动 执行取消配对连接功能。
[0135] 步骤 S405 , 第一蓝牙设备在与目标第二蓝牙设备建立连接之后, 根据预设吋间 间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根 据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所 述目标第二蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运 动传感器采集到的数据;
[0136] 步骤 S406, 第一蓝牙设备根据获取的所述数据建立相应的曲线;
[0137] 步骤 S407, 第一蓝牙设备判断建立的所述曲线是否都相匹配, 若判断结果为" 是", 则执行步骤 S408; 若判断结果为"否", 则执行步骤 S409;
[0138] 步骤 S408 , 确认连接;
[0139] 步骤 S409, 断幵与所述目标第二蓝牙设备的连接。
[0140] 本发明实施例步骤 S405〜步骤 S409的具体实施过程可参考图 1对应实施例中的步 骤 S101〜步骤 105, 在此不再赘述。
[0141] 本发明实施例将符合预定模式的第一 RSSI变化曲线对应的第二蓝牙设备作为所 述目标第二蓝牙设备, 向所述目标第二蓝牙设备发起连接请求, 以建立连接。 与现有技术相比, 本发明实施例所述配对连接过程不需要用户参与选择、 输入 、 确认等操作, 在保证较高安全性的前提下, 减少了人为操作, 提高了终端设 备配对连接的效率, 增强了用户体验。 而且, 通过对连接后的确认, 可进一步 提高连接的安全性。 [0142] 请参阅图 5, 为本发明实施例提供的终端设备配对连接确认方法的实现流程, 其主要包括以下步骤:
[0143] 步骤 S501, 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播 数据包携带有所述第二蓝牙设备通过其自带的运动传感器采集到的数据。
[0144] 在本发明实施例中, 所述多个第二蓝牙设备可在 BLE模式下, 按设定的吋间间 隔向周围广播设定的广播数据包。 其中, 所述广播数据包携带有所述第二蓝牙 设备通过其自带的运动传感器采集到的数据; 所述间隔吋间可以为 20ms~10.24s
[0145] 作为本发明的一较佳示例, 为了减少候选第二蓝牙设备的数量, 提高第一蓝牙 设备配对连接的安全性, 本发明实施例还包括:
[0146] 所述广播数据包携带有厂商自定义字段;
[0147] 在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后, 所述第一蓝牙 设备根据所述广播数据包携带的厂商自定义字段过滤出该厂商发行的第二蓝牙 设备。 即所述第一蓝牙设备只需要关注该厂商发行的第二蓝牙设备, 通过广播 数据包携带的厂商自定义字段排除非该厂商发行的第二蓝牙设备。
[0148] 在步骤 S502中, 第一蓝牙设备根据所述广播数据包中携带的所述第二蓝牙设备 通过其自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第二 蓝牙设备对应一个第一运动曲线。
[0149] 在本发明实施例中, 所述第一运动曲线可以为距离 (纵坐标) -吋间 (横坐标)曲 线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式、 加速度 (纵坐标) -吋间 ( 横坐标)等曲线形式。
[0150] 在步骤 S503中, 第一蓝牙设备从所述多个第一运动曲线中査找符合预定模式的 第一运动曲线, 将査找到的所述符合预定模式的第一运动曲线对应的第二蓝牙 设备作为目标第二蓝牙设备。
[0151] 在本发明实施例中, 所述符合预定模式的第一运动曲线可以是曲线变化幅度在 预设范围内和 /或曲线变化周期符合特定规则等的变化曲线。
[0152] 需要说明的是, 当同吋存在多个符合预定模式的第一运动曲线对应的第二蓝牙 设备, 可从中选择任意一个或者选择符合预设条件 (例如选择距离最近) 的第 二蓝牙设备作为所述目标第二蓝牙设备。
[0153] 可选的, 在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后, 本实 施例还可以包括:
[0154] 第一蓝牙设备获取与所述广播数据包关联的 RSSI数据;
[0155] 所述第一蓝牙设备从所述多个第一运动曲线中査找符合预定模式的第一运动曲 线, 将査找到的所述符合预定模式的第一运动曲线对应的第二蓝牙设备作为目 标第二蓝牙设备可以包括:
[0156] 所述第一蓝牙设备从所述多个第一运动曲线中査找符合预定模式的第一运动曲 线, 并从査找到的所述符合预定模式的第一运动曲线对应的第二蓝牙设备中査 找所述 RSSI数据的变化在预设范围内的第二蓝牙设备, 将査找到的该第二蓝牙 设备作为目标第二蓝牙设备。
[0157] 例如, 用户通过第一蓝牙设备的 app打幵运动传感器, 将第二蓝牙设备和第一 蓝牙设备拿在一起晃动, 第一蓝牙设备接收第二蓝牙设备广播的广播数据包, 获取所述广播数据包中携带的所述第二蓝牙设备通过其自带的运动传感器采集 到的数据, 同吋记录所述广播数据包关联的 RSSI数据。 第一蓝牙设备在判断出 所述第二蓝牙设备的运动曲线符合预定模式吋, 还需要进一步判断所述 RSSI数 据的变化是否在预设范围内且所述 RSSI数据是否始终最大。
[0158] 在步骤 S504中, 第一蓝牙设备向所述目标第二蓝牙设备发起连接请求, 以建立 连接。
[0159] 在本发明实施例中, 所述建立连接的方式可以是由用户选择目标第二蓝牙设备 后, 通过 justwork方式连接, 也可以通过现有的配对方式连接, 在此不做限制。
[0160] 进一步的, 为了增强用户体验, 便于用户更直观的了解配对连接过程, 本发明 实施例还包括:
[0161] 以图形化的方式显示第一蓝牙设备与第二蓝牙设备配对连接的过程。 示例性的 , 在第一蓝牙设备的显示屏和 /或第二蓝牙设备的显示屏上显示对方的运动状态 , 例如在第二蓝牙设备的显示屏上显示一运动小球, 通过所述运动小球反映第 一蓝牙设备的运动情况或者 RSSI值变化情况。
[0162] 可选的, 为进一步增强易用性和实用性, 本发明实施例还包括: [0163] 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及取消配对连接的功 育^ 具体的可以是, 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及 取消配对连接的按键或者预设的操作手势, 以使得用户在触发所述按键或所述 操作手势吋, 第一蓝牙设备或第二蓝牙设备执行对应的确认配对连接或取消配 对连接的功能, 例如在第一蓝牙设备或第二蓝牙设备的触摸屏上顺吋针滑动执 行确认配对连接功能, 在第一蓝牙设备或第二蓝牙设备的触摸屏上逆吋针滑动 执行取消配对连接功能。
[0164] 步骤 S505, 第一蓝牙设备在与目标第二蓝牙设备建立连接之后, 根据预设吋间 间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根 据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所 述目标第二蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运 动传感器采集到的数据;
[0165] 步骤 S506, 第一蓝牙设备根据获取的所述数据建立相应的曲线;
[0166] 步骤 S507, 第一蓝牙设备判断建立的所述曲线是否都相匹配, 若判断结果为" 是", 则执行步骤 S508; 若判断结果为"否", 则执行步骤 S509;
[0167] 步骤 S508, 确认连接;
[0168] 步骤 S509, 断幵与所述目标第二蓝牙设备的连接。
[0169] 本发明实施例步骤 S505〜步骤 S509的具体实施过程可参考图 1对应实施例中的步 骤 S101〜步骤 105, 在此不再赘述。
[0170] 本发明实施例将符合预定模式的第一运动曲线对应的第二蓝牙设备作为所述目 标第二蓝牙设备, 并向所述目标第二蓝牙设备发起连接请求, 以建立连接。 与 现有技术相比, 本发明实施例所述配对连接过程不需要用户参与选择、 输入、 确认等操作, 在保证较高安全性的前提下, 减少了人为操作, 提高了终端设备 配对连接的效率, 增强了用户体验。 而且, 通过对连接后的确认, 可进一步提 高连接的安全性。
[0171] 需要说明的是, 在第一蓝牙设备与目标第二蓝牙设备建立连接前, 双方是以广 播的方式进行数据交互; 在建立连接后, 双方是通过建立的蓝牙链路进行数据 交互。
[0172] 需要进一步说明的是, 涉及广播功能吋, 相应的蓝牙设备需要具有蓝牙 4.0协议 的蓝牙低能耗 (Bluetooth Low Energy, BLE) 功能。
[0173] 另外, 应理解, 图 1至 5对应实施例中各步骤的序号的大小并不意味着执行顺序 的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施 例的实施过程构成任何限定。
[0174] 请参阅图 6, 为本发明实施例提供的终端设备配对连接确认系统的组成结构示 意图。 为了便于说明, 仅示出了与本发明实施例相关的部分。
[0175] 所述终端设备配对连接确认系统可以是内置于第一蓝牙设备中的软件单元、 硬 件单元或者是软硬件结合的单元。
[0176] 所述终端设备配对连接确认系统包括: 第一数据获取单元 61、 第一曲线建立单 元 62、 第一判断单元 63以及第一处理单元 64, 各单元具体功能如下:
[0177] 第一数据获取单元 61, 用于在与目标第二蓝牙设备建立连接后, 根据预设吋间 间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根 据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所 述目标第二蓝牙设备根据所述预设吋间间通过所述目标第二蓝牙设备自带的运 动传感器采集到的数据;
[0178] 第一曲线建立单元 62, 用于根据获取的所述数据建立相应的曲线;
[0179] 第一判断单元 63, 用于判断建立的所述曲线是否都相匹配;
[0180] 第一处理单元 64, 用于在所述第一判断单元 63判断结果为否吋, 断幵与所述目 标第二蓝牙设备的连接。
[0181] 进一步的, 所述系统还包括:
[0182] 第二数据获取单元 65, 用于接收多个第二蓝牙设备广播的广播数据包, 并获取 与所述广播数据包关联的 RSSI数据;
[0183] 第二曲线建立单元 66, 用于根据所述 RSSI数据建立多个第一 RSSI变化曲线, 其 中每个第二蓝牙设备对应一个第一 RSSI变化曲线;
[0184] 第三曲线建立单元 67, 用于获取其自带的运动传感器采集到的数据, 并根据所 述数据建立第一运动曲线;
[0185] 第一匹配单元 68, 用于査找所述第一 RSSI变化曲线与所述第一运动曲线相匹配 的目标第二蓝牙设备;
[0186] 第一连接单元 69, 用于在査找到所述第一 RSSI变化曲线与所述第一运动曲线相 匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请求, 以建立 连接。
[0187] 进一步的, 所述系统还包括:
[0188] 第一数据接收单元 610, 用于接收多个第二蓝牙设备广播的广播数据包, 所述 广播数据包携带有所述第二蓝牙设备通过其自带的运动传感器采集到的数据;
[0189] 第三数据获取单元 611, 用于获取与所述广播数据包关联的 RSSI数据, 以及所 述广播数据包中携带的所述第二蓝牙设备通过其自带的运动传感器采集到的数 据;
[0190] 第四曲线建立单元 612, 用于根据所述 RSSI数据建立多个第一 RSSI变化曲线, 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线;
[0191] 第五曲线建立单元 613, 用于根据所述广播数据包中携带的所述第二蓝牙设备 通过其自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第二 蓝牙设备对应一个第一运动曲线;
[0192] 第二匹配单元 614, 用于査找所述第一 RSSI变化曲线与所述第一运动曲线相匹 配的目标第二蓝牙设备;
[0193] 第二连接单元 615, 用于在査找到所述第一 RSSI变化曲线与所述第一运动曲线 相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请求, 以建 立连接。
[0194] 进一步的, 所述系统还包括:
[0195] 第四数据获取单元 616, 用于接收多个第二蓝牙设备广播的广播数据包, 并获 取与所述广播数据包关联的 RSSI数据;
[0196] 第六曲线建立单元 617, 用于根据所述 RSSI数据建立多个第一 RSSI变化曲线, 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线;
[0197] 第一査找单元 618, 用于从所述多个第一 RSSI变化曲线中査找符合预设模式的 第一 RSSI变化曲线, 将査找到的所述符合预定模式的第一 RSSI变化曲线对应的 第二蓝牙设备作为目标第二蓝牙设备;
[0198] 第三连接单元 619, 用于向所述目标第二蓝牙设备发起连接请求, 以建立连接
[0199] 进一步的, 所述系统还包括:
[0200] 第二数据接收单元 620, 用于接收多个第二蓝牙设备广播的广播数据包, 所述 广播数据包携带有所述第二蓝牙设备通过其自带的运动传感器采集到的数据; [0201] 第七曲线建立单元 621, 用于根据所述广播数据包中携带的所述第二蓝牙设备 通过其自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第二 蓝牙设备对应一个第一运动曲线;
[0202] 第二査找单元 622, 用于从所述多个第一运动曲线中査找符合预定模式的第一 运动曲线, 将査找到的所述符合预定模式的第一运动曲线对应的第二蓝牙设备 作为目标第二蓝牙设备;
[0203] 第四连接单元 623, 用于向所述目标第二蓝牙设备发起连接请求, 以建立连接
[0204] 综上所述, 本发明实施例所述第一蓝牙设备在与所述目标第二蓝牙设备建立连 接后, 所述第一蓝牙设备和所述目标第二蓝牙设备可通过监测对方的数据, 以 及获取对方监测到的自身的数据, 并根据获取的所述数据 (例如 RSSI数据、 运 动数据) 建立对应的曲线 (例如 RSSI变化曲线、 运动曲线) , 通过比较所述曲 线来进一步确认连接的安全性。 而且, 可以采用多种选择方式选择目标第二蓝 牙设备, 所述选择方式不需要用户参与选择、 输入、 确认等操作, 有效提高了 终端配对连接的效率, 具有较强的易用性和实用性。
[0205] 所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 仅以上述各 功能单元的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配 由不同的功能单元、 模块完成, 即将所述系统的内部结构划分成不同的功能单 元或模块, 以完成以上描述的全部或者部分功能。 实施例中的各功能单元可以 集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两个或两个 以上单元集成在一个单元中, 上述集成的单元既可以采用硬件的形式实现, 也 可以采用软件功能单元的形式实现。 另外, 各功能单元的具体名称也只是为了 便于相互区分, 并不用于限制本申请的保护范围。 上述系统中单元的具体工作 过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。
[0206] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结合来实现 。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特定应用和设 计约束条件。 专业技术人员可以对每个特定的应用来使用不同方法来实现所描 述的功能, 但是这种实现不应认为超出本发明的范围。
[0207] 在本发明所提供的实施例中, 应该理解到, 所揭露的系统和方法, 可以通过其 它的方式实现。 例如, 以上所描述的系统实施例仅仅是示意性的, 例如, 所述 单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征可以忽 略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通讯连 接可以是通过一些接口, 装置或单元的间接耦合或通讯连接, 可以是电性, 机 械或其它的形式。
[0208] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。
[0209] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能单元的形式 实现。
[0210] 所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用 吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实施 例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部 或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 或处理器 (processor) 执行本发明实施例各个实施例所述方法 的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (R OM, Read-Only Memory) 、 随机存取存储器 (RAM, Random Access Memory
) 、 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述 实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进 行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明实 施例各实施例技术方案的精神和范围。

Claims

权利要求书
[权利要求 1] 一种终端设备配对连接确认的方法, 其特征在于, 所述方法包括: 第一蓝牙设备在与目标第二蓝牙设备建立连接之后, 根据预设吋间间 隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSS I数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目 标第二蓝牙设备根据所述预设吋间间隔监测到的所述第一蓝牙设备的 蓝牙信号的 RSSI数据以及所述目标第二蓝牙设备根据所述预设吋间 间通过所述目标第二蓝牙设备自带的运动传感器采集到的数据; 第一蓝牙设备根据获取的所述数据建立相应的曲线;
第一蓝牙设备判断建立的所述曲线是否都相匹配; 若否, 则断幵与所述目标第二蓝牙设备的连接。
[权利要求 2] 如权利要求 1所述的方法, 其特征在于, 所述第一蓝牙设备与目标第 二蓝牙设备建立连接包括: 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 并获取与所 述广播数据包关联的 RSSI数据;
第一蓝牙设备根据所述 RSS擞据建立多个第一 RSSI变化曲线, 其中 每个第二蓝牙设备对应一个第一 RSSI变化曲线; 第一蓝牙设备获取其自带的运动传感器采集到的数据, 并根据所述数 据建立第一运动曲线;
第一蓝牙设备査找所述第一 RSSI变化曲线与所述第一运动曲线相匹 配的目标第二蓝牙设备;
第一蓝牙设备在査找到所述第一 RSSI变化曲线与所述第一运动曲线 相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请 求, 以建立连接。
[权利要求 3] 如权利要求 1所述的方法, 其特征在于, 所述第一蓝牙设备与目标第 二蓝牙设备建立连接包括: 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播数 据包携带有所述第二蓝牙设备通过其自带的运动传感器采集到的数据 第一蓝牙设备获取与所述广播数据包关联的 RSSI数据, 以及所述广 播数据包中携带的所述第二蓝牙设备通过其自带的运动传感器采集到 的数据;
第一蓝牙设备根据所述 RSS擞据建立多个第一 RSSI变化曲线, 其中 每个第二蓝牙设备对应一个第一 RSSI变化曲线; 第一蓝牙设备根据所述广播数据包中携带的所述第二蓝牙设备通过其 自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第 二蓝牙设备对应一个第一运动曲线;
第一蓝牙设备査找所述第一 RSSI变化曲线与所述第一运动曲线相匹 配的目标第二蓝牙设备;
第一蓝牙设备在査找到所述第一 RSSI变化曲线与所述第一运动曲线 相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请 求, 以建立连接。
[权利要求 4] 如权利要求 1所述的方法, 其特征在于, 所述第一蓝牙设备与目标第 二蓝牙设备建立连接包括: 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 并获取与所 述广播数据包关联的 RSSI数据;
第一蓝牙设备根据所述 RSS擞据建立多个第一 RSSI变化曲线, 其中 每个第二蓝牙设备对应一个第一 RSSI变化曲线; 第一蓝牙设备从所述多个第一 RSSI变化曲线中査找符合预定模式的 第一 RSSI变化曲线, 将査找到的所述符合预定模式的第一 RSSI变化 曲线对应的第二蓝牙设备作为目标第二蓝牙设备; 第一蓝牙设备向所述目标第二蓝牙设备发起连接请求, 以建立连接。
[权利要求 5] 如权利要求 1所述的方法, 其特征在于, 所述第一蓝牙设备与目标第 二蓝牙设备建立连接包括: 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播数 据包携带有所述第二蓝牙设备通过其自带的运动传感器采集到的数据 第一蓝牙设备根据所述广播数据包中携带的所述第二蓝牙设备通过其 自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第 二蓝牙设备对应一个第一运动曲线; 第一蓝牙设备从所述多个第一运动曲线中査找符合预定模式的第一运 动曲线, 将査找到的所述符合预定模式的第一运动曲线对应的第二蓝 牙设备作为目标第二蓝牙设备;
第一蓝牙设备向所述目标第二蓝牙设备发起连接请求, 以建立连接。
[权利要求 6] 如权利要求 2至 5任一项所述的方法, 其特征在于, 所述广播数据包携 带有厂商自定义字段;
在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后, 所述 第一蓝牙设备根据所述广播数据包携带的厂商自定义字段过滤出该厂 商发行的第二蓝牙设备。
[权利要求 7] 如权利要求 2至 6任一项所述的方法, 其特征在于, 所述方法还包括: 以图形化的方式显示第一蓝牙设备与第二蓝牙设备配对连接的过程。
[权利要求 8] —种终端设备配对连接确认的系统, 其特征在于, 所述系统包括: 第一数据获取单元, 用于在与目标第二蓝牙设备建立连接后, 根据预 设吋间间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信 号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据 、 所述目标第二蓝牙设备根据所述预设吋间间隔监测到的所述第一蓝 牙设备的蓝牙信号的 RSSI数据以及所述目标第二蓝牙设备根据所述 预设吋间间通过所述目标第二蓝牙设备自带的运动传感器采集到的数 据;
第一曲线建立单元, 用于根据获取的所述数据建立相应的曲线; 第一判断单元, 用于判断建立的所述曲线是否都相匹配;
第一处理单元, 用于在所述第一判断单元判断结果为否吋, 断幵与所 述目标第二蓝牙设备的连接。
[权利要求 9] 如权利要求 8所述的系统, 其特征在于, 所述系统还包括: 第二数据获取单元, 用于接收多个第二蓝牙设备广播的广播数据包, 并获取与所述广播数据包关联的 RSSI数据;
第二曲线建立单元, 用于根据所述 RSS擞据建立多个第一 RSSI变化 曲线, 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线; 第三曲线建立单元, 用于获取其自带的运动传感器采集到的数据, 并 根据所述数据建立第一运动曲线;
第一匹配单元, 用于査找所述第一 RSSI变化曲线与所述第一运动曲 线相匹配的目标第二蓝牙设备;
第一连接单元, 用于在査找到所述第一 RSSI变化曲线与所述第一运 动曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起 连接请求, 以建立连接。
[权利要求 10] 如权利要求 8所述的系统, 其特征在于, 所述系统还包括:
第一数据接收单元, 用于接收多个第二蓝牙设备广播的广播数据包, 所述广播数据包携带有所述第二蓝牙设备通过其自带的运动传感器采 集到的数据;
第三数据获取单元, 用于获取与所述广播数据包关联的 RSSI数据, 以及所述广播数据包中携带的所述第二蓝牙设备通过其自带的运动传 感器采集到的数据;
第四曲线建立单元, 用于根据所述 RSS擞据建立多个第一 RSSI变化 曲线, 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线; 第五曲线建立单元, 用于根据所述广播数据包中携带的所述第二蓝牙 设备通过其自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第二蓝牙设备对应一个第一运动曲线; 第二匹配单元, 用于査找所述第一 RSSI变化曲线与所述第一运动曲 线相匹配的目标第二蓝牙设备;
第二连接单元, 用于在査找到所述第一 RSSI变化曲线与所述第一运 动曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起 连接请求, 以建立连接。
[权利要求 11] 如权利要求 8所述的系统, 其特征在于, 所述系统还包括:
第四数据获取单元, 用于接收多个第二蓝牙设备广播的广播数据包, 并获取与所述广播数据包关联的 RSSI数据;
第六曲线建立单元, 用于根据所述 RSS擞据建立多个第一 RSSI变化 曲线, 其中每个第二蓝牙设备对应一个第一 RSSI变化曲线; 第一査找单元, 用于从所述多个第一 RSSI变化曲线中査找符合预设 模式的第一 RSSI变化曲线, 将査找到的所述符合预定模式的第一 RSS
I变化曲线对应的第二蓝牙设备作为目标第二蓝牙设备;
第三连接单元, 用于向所述目标第二蓝牙设备发起连接请求, 以建立 连接。
[权利要求 12] 如权利要求 8所述的系统, 其特征在于, 所述系统还包括:
第二数据接收单元, 用于接收多个第二蓝牙设备广播的广播数据包, 所述广播数据包携带有所述第二蓝牙设备通过其自带的运动传感器采 集到的数据;
第七曲线建立单元, 用于根据所述广播数据包中携带的所述第二蓝牙 设备通过其自带的运动传感器采集到的数据建立多个第一运动曲线, 其中每个第二蓝牙设备对应一个第一运动曲线; 第二査找单元, 用于从所述多个第一运动曲线中査找符合预定模式的 第一运动曲线, 将査找到的所述符合预定模式的第一运动曲线对应的 第二蓝牙设备作为目标第二蓝牙设备;
第四连接单元, 用于向所述目标第二蓝牙设备发起连接请求, 以建立 连接。
[权利要求 13] 如权利要求 8至 12任一项所述的系统, 其特征在于, 所述广播数据包 携带有厂商自定义字段;
所述系统还包括:
过滤单元, 用于在第一蓝牙设备接收多个第二蓝牙设备广播的广播数 据包之后, 根据所述广播数据包携带的厂商自定义字段过滤出该厂商 发行的第二蓝牙设备。 [权利要求 14] 如权利要求 8至 13任一项所述的系统, 其特征在于, 所述系统还包括 显示单元, 用于以图形化的方式显示第一蓝牙设备与第二蓝牙设备配 对连接的过程。
PCT/CN2015/096822 2015-06-02 2015-12-09 终端设备配对连接确认的方法及系统 WO2016192352A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510296814.9A CN105007560B (zh) 2015-06-02 2015-06-02 终端设备配对连接确认的方法及系统
CN201510296814.9 2015-06-02

Publications (1)

Publication Number Publication Date
WO2016192352A1 true WO2016192352A1 (zh) 2016-12-08

Family

ID=54380040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096822 WO2016192352A1 (zh) 2015-06-02 2015-12-09 终端设备配对连接确认的方法及系统

Country Status (2)

Country Link
CN (1) CN105007560B (zh)
WO (1) WO2016192352A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082649A (zh) * 2023-10-18 2023-11-17 常州嘉昊广播电视设备有限公司 一种基于5g技术的数据传输系统及方法

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936135B (zh) * 2015-06-02 2019-02-01 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN105050029B (zh) * 2015-06-02 2019-06-18 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN104936134B (zh) * 2015-06-02 2019-02-01 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007560B (zh) * 2015-06-02 2018-09-11 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN104967970B (zh) * 2015-06-02 2019-02-01 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007104B (zh) * 2015-06-02 2017-08-29 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105246024B (zh) * 2015-09-02 2019-05-24 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN110602671B (zh) * 2018-10-17 2022-06-17 深圳市文鼎创数据科技有限公司 蓝牙搜索结果展示方法、装置、终端设备及存储介质

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100159840A1 (en) * 2008-12-18 2010-06-24 Plantronics, Inc. Antenna diversity to improve proximity detection using rssi
CN103235283A (zh) * 2013-04-08 2013-08-07 苏州迈普信息技术有限公司 一种基于蓝牙判别运动趋势的方法
CN103687050A (zh) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 移动终端与车载设备连接方法、移动终端及车载连接系统
CN103995249A (zh) * 2014-06-11 2014-08-20 王立宁 一种确定目标物位置的无线通信系统和方法
CN104936134A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN104936135A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN104967970A (zh) * 2015-06-02 2015-10-07 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007104A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007560A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN105050029A (zh) * 2015-06-02 2015-11-11 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070211573A1 (en) * 2006-03-10 2007-09-13 Hermansson Jonas G Electronic equipment with data transfer function using motion and method
CN103179168A (zh) * 2011-12-26 2013-06-26 鸿富锦精密工业(深圳)有限公司 电子装置及通过蓝牙共享资料的方法
CN104144520A (zh) * 2013-05-07 2014-11-12 李东舸 一种设备间建立连接的方法、装置与系统
CN103713736A (zh) * 2013-10-16 2014-04-09 惠州紫旭科技有限公司 基于设备运动轨迹的信息识别方法

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100159840A1 (en) * 2008-12-18 2010-06-24 Plantronics, Inc. Antenna diversity to improve proximity detection using rssi
CN103687050A (zh) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 移动终端与车载设备连接方法、移动终端及车载连接系统
CN103235283A (zh) * 2013-04-08 2013-08-07 苏州迈普信息技术有限公司 一种基于蓝牙判别运动趋势的方法
CN103995249A (zh) * 2014-06-11 2014-08-20 王立宁 一种确定目标物位置的无线通信系统和方法
CN104936134A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN104936135A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN104967970A (zh) * 2015-06-02 2015-10-07 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007104A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007560A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN105050029A (zh) * 2015-06-02 2015-11-11 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082649A (zh) * 2023-10-18 2023-11-17 常州嘉昊广播电视设备有限公司 一种基于5g技术的数据传输系统及方法
CN117082649B (zh) * 2023-10-18 2023-12-19 常州嘉昊广播电视设备有限公司 一种基于5g技术的数据传输系统及方法

Also Published As

Publication number Publication date
CN105007560B (zh) 2018-09-11
CN105007560A (zh) 2015-10-28

Similar Documents

Publication Publication Date Title
WO2016192356A1 (zh) 终端设备配对连接的方法及系统
WO2016192352A1 (zh) 终端设备配对连接确认的方法及系统
WO2016192350A1 (zh) 终端设备配对连接的方法及系统
WO2016192357A1 (zh) 终端设备配对连接的方法及系统
WO2016192355A1 (zh) 终端设备配对连接确认的方法及系统
WO2016192353A1 (zh) 终端设备配对连接的方法及系统
WO2017035978A1 (zh) 终端设备配对连接的方法及系统
WO2017035977A1 (zh) 终端设备配对连接确认的方法及系统
EP2945136B1 (en) Mobile terminal and method for controlling the mobile terminal
JP6467526B2 (ja) 通信メッセージ送信方法及びウェアラブル・デバイス
KR101637813B1 (ko) 와이파이 또는 블루투스 신호 강도를 이용하여 주 디스플레이와 같은 방에 있는 후보 동반 디스플레이 디바이스의 근접 검출
JP6065234B2 (ja) 多端末位置決め方法、ならびに関連デバイスおよびシステム
US10003944B2 (en) Electronic device and method for providing emergency video call service
CN103914661A (zh) 于装置间分享数据的方法
KR101680667B1 (ko) 이동 단말기 및 이동 단말기의 제어방법
CN112134758B (zh) 弱网环境监测和通信会话重连的方法和装置
WO2018227715A1 (zh) 物联网接入的方法及装置
TWI706332B (zh) 圖形編碼展示方法和裝置以及電腦設備
CN106464695A (zh) 用于认证在用户装置与流媒体内容装置之间的连接的方法、系统和媒体
WO2016169107A1 (zh) 来电接听方法及装置
EP3687118B1 (en) Information search method, terminal, network device, and system
US9852601B1 (en) Close range monitoring
CN109075856A (zh) 飞行路径配置方法和装置
EP3342180B1 (en) Method of detecting external devices and electronic device for processing same
CN114270898A (zh) 电子装置和通过电子装置提供服务的方法

Legal Events

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

Ref document number: 15893996

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: 15893996

Country of ref document: EP

Kind code of ref document: A1