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

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

Info

Publication number
WO2016192350A1
WO2016192350A1 PCT/CN2015/096699 CN2015096699W WO2016192350A1 WO 2016192350 A1 WO2016192350 A1 WO 2016192350A1 CN 2015096699 W CN2015096699 W CN 2015096699W WO 2016192350 A1 WO2016192350 A1 WO 2016192350A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth device
target
bluetooth
rssi
data
Prior art date
Application number
PCT/CN2015/096699
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 WO2016192350A1 publication Critical patent/WO2016192350A1/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
    • 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 pairing a first Bluetooth device with a second Bluetooth 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 pairing and connecting terminal devices, which are designed to reduce human operations and improve the efficiency of paired connection of terminal devices under the premise of ensuring high security.
  • the present invention provides a method for pairing and connecting a terminal device, where the method includes:
  • the first Bluetooth device receives a broadcast data packet broadcast by the plurality of second Bluetooth devices, and acquires RSSI data associated with the broadcast data packet;
  • 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 Bluetooth device searches for the first RSSI curve corresponding to the predetermined mode from the plurality of first RSSI curves, and searches for the second Bluetooth device corresponding to the first RSSI curve corresponding to the predetermined mode.
  • the target second Bluetooth device As the target second Bluetooth device;
  • the first Bluetooth device initiates a connection request to the target second Bluetooth device to establish a connection.
  • the present invention provides a method for pairing and connecting a terminal device, where the method includes:
  • the first Bluetooth device acquires RSSI data of the Bluetooth signal of the target second Bluetooth device according to the preset time interval;
  • the first Bluetooth device establishes a first RSSI curve according to the RSS data
  • the first Bluetooth device determines whether the first RSSI curve conforms to a predetermined mode
  • the present invention provides a system for pairing and connecting a terminal device, where the system includes:
  • a first data acquiring unit configured to receive a broadcast data packet broadcast by a plurality of second Bluetooth devices, and acquire RSSI data associated with the broadcast data packet;
  • a first curve establishing unit configured to establish, according to the RSS data, a plurality of first RSSI curves, where each second Bluetooth device corresponds to a first RSSI curve;
  • a searching unit configured to search, from the plurality of first RSSI curves, a first RSSI curve that conforms to a preset mode, and to find a second corresponding to the first RSSI curve corresponding to the predetermined mode.
  • the Bluetooth device acts as the target second Bluetooth device;
  • connection unit configured to initiate a connection request to the target second Bluetooth device to establish a connection.
  • the present invention provides a system for pairing and connecting a terminal device, where the system includes:
  • a fifth data acquiring unit configured to acquire, after the connection with the target second Bluetooth device, the RSSI data of the Bluetooth signal of the target second Bluetooth device according to the preset time interval;
  • a fourth curve establishing unit configured to establish a first RSSI curve according to the RSS data
  • a fourth determining unit configured to determine whether the first RSSI change curve meets a predetermined mode
  • the fourth processing unit is configured to: when the fourth determining unit determines that the result is negative, disconnect the connection with the target second Bluetooth device.
  • the embodiment of the present invention uses a second Bluetooth device corresponding to the first RSSI curve corresponding to the predetermined mode as the target second Bluetooth device,
  • the target second Bluetooth device initiates a connection request 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, strong ease of use and practicality.
  • FIG. 1 is an application scenario diagram of a method for pairing and connecting terminal devices according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an implementation process of a terminal device pairing connection method according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of an implementation process of a terminal device pairing connection 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 method according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal device pairing connection system according to an embodiment of the present invention.
  • FIG. 1 shows an application scenario of a method for pairing a terminal device according to an embodiment of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • the application scenario includes a first Bluetooth device 010 and a plurality of second Bluetooth devices.
  • the first Bluetooth device 010 and the second Bluetooth device 020 are terminal devices having a Bluetooth function (preferably a Bluetooth Low Energy (BLE) function with a Bluetooth 4.0 protocol, such as a smart phone or a tablet) Computer, etc.
  • a Bluetooth function preferably a Bluetooth Low Energy (BLE) function with a Bluetooth 4.0 protocol, such as a smart phone or a tablet) Computer, etc.
  • BLE Bluetooth Low Energy
  • the plurality of second Bluetooth devices 020 broadcast the set broadcast data packets to the surroundings at the set time interval in the BLE mode.
  • the interval between the two can be 20m S ⁇ 10.24s.
  • the first Bluetooth device 010 after the pairing connection, dials the Bluetooth, receives the broadcast data packet broadcast by the plurality of second Bluetooth devices 0 20, and acquires the strength of the received signal associated with the broadcast data packet.
  • Received Signal Strength Indication (RSI) data Received Signal Strength Indication
  • the first Bluetooth device 010 calculates a corresponding RSSI value, and the RSSI value is updated at least once after each connection interval.
  • the RSSI value is positively correlated with the transmit power of the second Bluetooth device 020 and the receive sensitivity of the first Bluetooth device 010, and inversely related to the distance between the first Bluetooth device 010 and the second Bluetooth device 020 (general signal strength increases with distance) Roughly exponentially decays).
  • the first Bluetooth device 010 After acquiring the RSSI data, the first Bluetooth device 010 establishes a plurality of first RSSI curves according to the RSSI data, where each second Bluetooth device 020 corresponds to a first RSSI curve. Specifically, the multiple RS data values that are associated are obtained according to the multiple broadcast data packets sent by each second Bluetooth device 020, and the first RSSI corresponding to the second Bluetooth device 020 is established according to the multiple RSSI values. Curve.
  • the first Bluetooth device 010 searches for the predetermined mode from the plurality of first RSSI curves (eg, the RSSI variation range is within a preset range) Within, the RSSI change period meets the first RSSI curve of a particular rule, etc.), the matching will be found a second Bluetooth device corresponding to the first RSSI curve of the predetermined mode as the target second Bluetooth device
  • the first Bluetooth device 010 may receive the motion during the motion process (the motion may change the distance between the first Bluetooth device 010 and the second Bluetooth device 020)
  • the broadcast data packet is obtained, and the RSSI data associated with the broadcast data packet is obtained.
  • the first Bluetooth device 010 initiates a connection request to the second Bluetooth device (ie, the target second Bluetooth device) corresponding to the first RSSI change curve that meets the predetermined pattern to establish a connection.
  • the second Bluetooth device ie, the target second Bluetooth device
  • the RSSI curve reflects the change of the relative distance between the first Bluetooth device 010 and the second Bluetooth device 020. If one device does not move, first-order differentiation of the RSSI curve can obtain another The speed of movement of the device, the second-order differentiation of the RSSI curve can obtain the acceleration of the other device. Therefore, by the above conversion, the RSSI curve can be simplified as a curve of distance (ordinate) - turn (abscissa).
  • the curve is not limited to the distance (ordinate) - the form of the inter-turn (abscissa) curve, the velocity (ordinate) - inter-turn (abscissa), acceleration (ordinate) - ⁇ The form of the curve (abscissa) and the like are all within the scope of the present invention.
  • FIG. 2 is a flowchart for implementing a method for pairing and connecting terminal devices according to an 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 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, further includes:
  • the broadcast data packet carries a vendor custom field
  • the first Bluetooth The device filters out the second Bluetooth device issued by the vendor according to the vendor customization field carried in 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 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 searches for the first RSSI curve corresponding to the predetermined mode from the plurality of first RSSI curves, and compares the first RSSI curve corresponding to the predetermined pattern that is found.
  • 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.
  • one of the two Bluetooth devices may be selected or a second condition that meets a preset condition (eg, the closest selection distance) may be selected.
  • the Bluetooth device acts as the target second Bluetooth device.
  • step S204 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: [0067]
  • 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 cancel 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 more secure, and the user experience is greatly improved.
  • the present invention may also use some of the above steps as the confirmation after the connection, and specifically may be:
  • the first Bluetooth device acquires RSSI data of the Bluetooth signal of the target second Bluetooth device according to the preset inter-time interval;
  • the first Bluetooth device establishes a first RSSI curve according to the RSS data
  • the first Bluetooth device determines whether the first RSSI curve conforms to a predetermined mode
  • the two parties perform data interaction in a broadcast manner; after the connection is established, the two parties perform data interaction through the established Bluetooth link.
  • FIG. 3 is a flowchart of an implementation process of a terminal device pairing connection method according to another embodiment of the present invention, which mainly includes the following steps:
  • step S301 the first Bluetooth device receives the broadcast data packet broadcast by the plurality of second Bluetooth devices, and acquires RSSI data associated with the broadcast data packet;
  • Step S302 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;
  • Step S303 the first Bluetooth device searches for the first RSSI curve corresponding to the predetermined mode from the plurality of first RSSI curves, and compares the first RSSI curve corresponding to the predetermined pattern that is found.
  • Two Bluetooth devices as the target second Bluetooth device;
  • Step S304 the first Bluetooth device initiates a connection request to the target second Bluetooth device to establish a connection.
  • Step S305 the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: the RSSI data of the Bluetooth signal of the target second Bluetooth device, and the motion sensor of the first Bluetooth device are collected. Data, 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 passing according to the preset time interval The data collected by the motion sensor carried by the target second Bluetooth device.
  • 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 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 S306 The first Bluetooth device establishes a corresponding curve according to the acquired data.
  • the RS of the first Bluetooth device according to the monitored Bluetooth signal of the target second Bluetooth device
  • the SI data establishes a second RSSI curve, and establishes a third RSSI curve according to the acquired RSS I data of the Bluetooth signal of the first Bluetooth device;
  • 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 establishes a third motion curve according to the acquired data collected by the motion sensor of the first Bluetooth device, and collects the motion sensor according to the acquired motion sensor of the second Bluetooth device.
  • the data obtained establishes a fourth motion curve.
  • 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 S307 The first Bluetooth device determines whether the established curves are all matched. If the determination result is “Yes”, step S308 is performed; if the determination result is “No”, step S309 is performed.
  • the determining, by the first Bluetooth device, whether the established curves are all matched may include: determining, by the first Bluetooth device, whether the second RSSI curve and the third RSSI curve are matched, 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 S308 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 S309 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.
  • the first Bluetooth device and the second Bluetooth device are completed. , will save the pairing connection information. If the first Bluetooth device and the second Bluetooth device detect the saved pairing connection information during the next pairing connection, steps S305-309 need not be performed.
  • the first Bluetooth device and the target second Bluetooth device may monitor the data of the other party and obtain the other party.
  • the monitored data is self-generated, and corresponding curves (for example, RSSI curve, motion curve) are established according to the acquired data (for example, RSSI data, motion data), and the security of the connection is further confirmed by comparing the curves.
  • FIG. 4 is a flowchart of an implementation process of a terminal device pairing connection method according to another embodiment of the present invention, which mainly includes the following steps:
  • Step S401 The first Bluetooth device receives a broadcast data packet broadcast by multiple second Bluetooth devices, and acquires RSSI data associated with the broadcast data packet.
  • Step S402 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;
  • 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 compares the first RSSI curve corresponding to the predetermined pattern that is found.
  • Two Bluetooth devices 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.
  • Step S405 the first Bluetooth device acquires the following at least one set of data according to the preset inter-time interval: the RSSI data of the Bluetooth signal of the target second Bluetooth device, and the motion sensor of the first Bluetooth device are collected. Data, 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 passing according to the preset time interval The data collected by the motion sensor carried by the target second Bluetooth device.
  • 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 curve meets the predetermined mode. If the determination result is “Yes”, step S408 is performed; if the determination result is “No”, step S409 is performed.
  • the curve conforming to the predetermined mode may be that the variation range of the curve is within a preset range and/or the period of change of the curve conforms to a specific rule or the like.
  • Step S408 confirming the connection.
  • Step S409 disconnecting the connection with the target second Bluetooth device.
  • first Bluetooth device and the second Bluetooth device save pairing connection information after each pairing connection is completed. If the first Bluetooth device and the second Bluetooth device detect the saved pairing connection information during the next pairing connection, it is not necessary to perform steps S405-409.
  • the first Bluetooth device and the target second Bluetooth device may monitor the data of the other party and obtain the other party. Detecting the own data, and selecting at least one set of data from the obtained data (for example, RSS data, motion data), establishing a corresponding curve according to the selected data, and determining whether the established curve conforms A predetermined mode to further confirm the security of the connection.
  • data for example, RSS data, motion data
  • 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 acquired change of the RSSI data is within a preset range
  • This example can be applied to a scenario in which the first Bluetooth device and the target second Bluetooth device do the same motion together, for example, the first Bluetooth device is held in the hand, and the target second Bluetooth device is carried 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.
  • the motion curve conforms to a predetermined mode, and may be applied to a Bluetooth device motion or a field where two Bluetooth devices perform the same motion. If the RSSI curve is determined to meet the predetermined mode, it can be applied to a Bluetooth device motion or a scene in which two Bluetooth devices do the same motion; determining whether the RSSI curve matches the motion curve can be applied to a scene of Bluetooth device motion; It is determined whether the two motion curves match, and can be applied to scenes where two Bluetooth devices do the same motion; determining 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 corresponding Bluetooth device needs the Bluetooth Low Energy (BLE) function with the Bluetooth 4.0 protocol.
  • BLE Bluetooth Low Energy
  • FIG. 5 is a schematic structural diagram of a paired connection system of a terminal device 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 pairing connection system of the terminal device may be a software unit, a hardware unit, or a combination of software and hardware built in the first Bluetooth device.
  • the paired connection system of the terminal device includes: a first data acquiring unit 51, a first curve establishing unit
  • the first data acquiring unit 51 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 first curve establishing unit 52 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 searching unit 53 is configured to search, from the plurality of first RSSI curves, the first R that matches the preset mode.
  • the second Bluetooth device corresponding to the first RSSI curve corresponding to the predetermined mode is found as the target second Bluetooth device;
  • connection unit 54 is configured to initiate a connection request to the target second Bluetooth device to establish a connection.
  • system further includes:
  • the second data acquiring unit 55 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, Data collected by the motion sensor of the first Bluetooth device, the target second Bluetooth device root The RSSI data of the Bluetooth signal of the first Bluetooth device monitored according to the preset inter-turn interval and the target second Bluetooth device being self-contained by the target second Bluetooth device according to the preset inter-turn Data collected by the motion sensor;
  • a second curve establishing unit 56 configured to establish a corresponding curve according to the acquired data
  • the first determining unit 57 is configured to determine whether the established curves are all matched
  • the first processing unit 58 is configured to: when the first determining unit 57 determines that the result is negative, disconnect the connection with the target second Bluetooth device.
  • system further includes:
  • the third data acquiring unit 59 is configured to acquire, after establishing a connection with the target second Bluetooth device, the following at least one set 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;
  • a third curve establishing unit 510 configured to establish a corresponding curve according to the acquired data
  • the second determining unit 511 is configured to determine whether the established curves meet the predetermined mode.
  • the second processing unit 512 is configured to: when the second determining unit 511 determines that the result is negative, disconnect the connection with the target second Bluetooth device.
  • system further includes:
  • the fourth data acquiring unit 513 is configured to acquire RSSI data of the Bluetooth signal of the target second Bluetooth device and/or obtain the target according to the preset inter-time interval after establishing a connection with the target second Bluetooth device.
  • the RSS I data of the Bluetooth signal of the first Bluetooth device monitored by the second Bluetooth device according to the preset inter-turn interval;
  • the third determining unit 514 is configured to determine whether the acquired change of the RSSI data is within a preset range.
  • the third processing unit 515 is configured to determine, in the third determining unit 514, that the result is no. ⁇ , disconnecting the connection with the target second Bluetooth device.
  • the broadcast data packet carries a vendor-defined field
  • the system further includes: [0148]
  • the filtering unit is configured to filter, after the first Bluetooth device receives the broadcast data packet broadcast by the plurality of second Bluetooth devices, the second Bluetooth device issued by the vendor according to the vendor customization field carried by the broadcast data packet.
  • system further includes:
  • the display unit is configured to graphically display a process of pairing the first Bluetooth device with the second Bluetooth device.
  • the present invention further provides a system for pairing and connecting terminal devices, the system being usable for further confirmation after connection, the system comprising:
  • a fifth data acquiring unit configured to acquire, after the connection with the target second Bluetooth device, the RSSI data of the Bluetooth signal of the target second Bluetooth device according to the preset time interval;
  • a fourth curve establishing unit configured to establish a first RSSI curve according to the RSSI data
  • a fourth determining unit configured to determine whether the first RSSI curve meets a predetermined mode
  • the fourth processing unit is configured to: when the fourth determining unit determines that the result is negative, disconnect the connection with the target second Bluetooth device.
  • the embodiment of the present invention uses a second Bluetooth device corresponding to the first RSSI curve corresponding to the predetermined mode as the target second Bluetooth device, and initiates a connection request to the target second Bluetooth device, to establish 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.
  • the embodiment of the present invention can further confirm the security of the connection in a plurality of manners, and has strong ease of use and practicability.
  • 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 plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute the method according to various embodiments of the present invention. All or part of the steps.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明适用于通信技术领域,提供了一种终端设备配对连接的方法及系统。所述方法包括:第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包,并获取与所述广播数据包关联的RSSI数据;第一蓝牙设备根据所述RSSI数据建立多个第一RSSI变化曲线,其中每个第二蓝牙设备对应一个第一RSSI变化曲线;第一蓝牙设备从所述多个第一RSSI变化曲线中查找符合预定模式的第一RSSI变化曲线,将查找到的所述符合预定模式的第一RSSI变化曲线对应的第二蓝牙设备作为目标第二蓝牙设备;第一蓝牙设备向所述目标第二蓝牙设备发起连接请求,以建立连接。本发明提高了配对连接的效率以及安全性,增强了用户体验。

Description

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

Claims

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

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510295247.5 2015-06-02
CN201510295247.5A CN105050029B (zh) 2015-06-02 2015-06-02 终端设备配对连接的方法及系统

Publications (1)

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

Family

ID=54456133

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096699 WO2016192350A1 (zh) 2015-06-02 2015-12-08 终端设备配对连接的方法及系统

Country Status (2)

Country Link
CN (1) CN105050029B (zh)
WO (1) WO2016192350A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936134B (zh) * 2015-06-02 2019-02-01 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007104B (zh) * 2015-06-02 2017-08-29 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007560B (zh) * 2015-06-02 2018-09-11 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN105050029B (zh) * 2015-06-02 2019-06-18 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN104936135B (zh) * 2015-06-02 2019-02-01 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN104967970B (zh) * 2015-06-02 2019-02-01 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105246024B (zh) * 2015-09-02 2019-05-24 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105959480B (zh) * 2016-06-08 2020-01-31 联想(北京)有限公司 一种控制方法及电子设备
CN106656358A (zh) * 2016-11-21 2017-05-10 芯海科技(深圳)股份有限公司 一种低功耗蓝牙的测试方法
CN107277748A (zh) * 2017-05-15 2017-10-20 深圳市冠旭电子股份有限公司 一种蓝牙配对方法、系统及其终端设备
CN107659919B (zh) * 2017-08-28 2021-07-16 联想(北京)有限公司 一种通讯连接方法及电子设备
CN107730845B (zh) * 2017-10-20 2018-12-11 前海随身宝(深圳)科技有限公司 物品防丢失方法、装置及终端设备
CN110021156A (zh) * 2018-01-10 2019-07-16 金宝电子工业股份有限公司 遥控系统以及遥控方法

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997358A (zh) * 2014-05-21 2014-08-20 青岛海信电器股份有限公司 蓝牙遥控器与被控设备配对方法、设备及系统
CN104159188A (zh) * 2014-08-28 2014-11-19 吴宇 一种无线设备的配对方法
CN104506214A (zh) * 2014-12-23 2015-04-08 北京深思数盾科技有限公司 近距离蓝牙配对方法和终端
CN104936135A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN104936134A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN104967970A (zh) * 2015-06-02 2015-10-07 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007560A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN105007104A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105050029A (zh) * 2015-06-02 2015-11-11 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101094506B1 (ko) * 2009-04-21 2011-12-19 삼성에스디에스 주식회사 디바이스 충격을 이용한 무선 네트워크 연결 제어 방법 및 응용 프로그램 제어 방법과 그 디바이스
CN104243692A (zh) * 2014-08-21 2014-12-24 深圳市金立通信设备有限公司 一种终端连接的方法

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997358A (zh) * 2014-05-21 2014-08-20 青岛海信电器股份有限公司 蓝牙遥控器与被控设备配对方法、设备及系统
CN104159188A (zh) * 2014-08-28 2014-11-19 吴宇 一种无线设备的配对方法
CN104506214A (zh) * 2014-12-23 2015-04-08 北京深思数盾科技有限公司 近距离蓝牙配对方法和终端
CN104936135A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN104936134A (zh) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN104967970A (zh) * 2015-06-02 2015-10-07 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105007560A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接确认的方法及系统
CN105007104A (zh) * 2015-06-02 2015-10-28 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统
CN105050029A (zh) * 2015-06-02 2015-11-11 深圳市文鼎创数据科技有限公司 终端设备配对连接的方法及系统

Also Published As

Publication number Publication date
CN105050029A (zh) 2015-11-11
CN105050029B (zh) 2019-06-18

Similar Documents

Publication Publication Date Title
WO2016192356A1 (zh) 终端设备配对连接的方法及系统
WO2016192350A1 (zh) 终端设备配对连接的方法及系统
WO2016192357A1 (zh) 终端设备配对连接的方法及系统
WO2016192353A1 (zh) 终端设备配对连接的方法及系统
WO2016192352A1 (zh) 终端设备配对连接确认的方法及系统
WO2016192355A1 (zh) 终端设备配对连接确认的方法及系统
WO2017035978A1 (zh) 终端设备配对连接的方法及系统
CN106951767B (zh) 解锁控制方法及相关产品
CN104518875B (zh) 一种身份验证及账号获取的方法、移动终端
WO2017035977A1 (zh) 终端设备配对连接确认的方法及系统
US10003944B2 (en) Electronic device and method for providing emergency video call service
WO2019015575A1 (zh) 解锁控制方法及相关产品
JP6065234B2 (ja) 多端末位置決め方法、ならびに関連デバイスおよびシステム
WO2019019837A1 (zh) 生物识别方法及相关产品
CN111357245B (zh) 一种信息搜索的方法、终端、网络设备和系统
CN107330867B (zh) 图像合成方法、装置、计算机可读存储介质和计算机设备
WO2016061249A1 (en) Methods and systems for sharing contact information between mobile devices
CN107103221B (zh) 解锁控制方法及相关产品
CN106066953B (zh) 一种指纹解锁控制方法、及终端设备
CN108632822B (zh) 无线接入点的检测方法、装置以及移动终端
CN107479811A (zh) 在会话期间建立与管理会议、记录会议的方法以及移动终端
US20160294768A1 (en) Electronic device for performing communication using dns name and method thereof
WO2016119616A1 (zh) 一种用户终端的拨号方法以及用户终端
US20150106535A1 (en) Information processing apparatus, information processing method, and program
CN107609377B (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: 15893994

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

Country of ref document: EP

Kind code of ref document: A1