WO2017035978A1 - Pairing connection method and system for terminal devices - Google Patents
Pairing connection method and system for terminal devices Download PDFInfo
- Publication number
- WO2017035978A1 WO2017035978A1 PCT/CN2015/096831 CN2015096831W WO2017035978A1 WO 2017035978 A1 WO2017035978 A1 WO 2017035978A1 CN 2015096831 W CN2015096831 W CN 2015096831W WO 2017035978 A1 WO2017035978 A1 WO 2017035978A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bluetooth device
- target
- data
- touch
- bluetooth
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and system for pairing and connecting 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 two Bluetooth devices use the pairing mode of the input pairing code, the pairing process requires the user to input 4 to 6 digits. Pairing code; if the two Bluetooth devices use the pairing mode of the digital comparison, the user needs to compare whether the 6-digit comparison numbers displayed on the respective screens of the first Bluetooth device and the second Bluetooth device are the same. If the same, the two parties click the confirmation button. Complete pairing;
- 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: [0011] The first Bluetooth device receives the broadcast data packet broadcast by the plurality of second Bluetooth devices, where the broadcast data packet carries the first touch slip data collected by the second Bluetooth device through the touch sensing point thereof;
- the first Bluetooth device establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
- the first Bluetooth device acquires second touch sliding data collected by the touch screen thereof, and establishes a second touch sliding change curve according to the second touch sliding data;
- the first Bluetooth device searches for the target second Bluetooth device that matches the first touch sliding variation curve with the second touch sliding variation curve
- the first Bluetooth device After the first Bluetooth device finds the target second Bluetooth device that matches the first touch slip curve and the second touch slip curve, the first Bluetooth device initiates a connection request to the target second Bluetooth device, to establish connection.
- the present invention provides a system for pairing and connecting a terminal device, where the system includes: [0017] a first data acquiring unit, configured to receive a broadcast data packet broadcast by multiple second Bluetooth devices, where The broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through its touch sensing point
- a first curve establishing unit configured to establish a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
- a second curve establishing unit configured to acquire second touch sliding data collected by the touch screen of the first Bluetooth device, and establish a second touch sliding change curve according to the second touch sliding data
- a matching unit configured to find a target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve
- a connection unit configured to initiate a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve, To establish a connection.
- the embodiment of the present invention checks by comparing the touch sliding variation curve of the second Bluetooth device with the touch sliding variation curve of the first Bluetooth device. Looking for the second Bluetooth device, making the pairing connection process safe, simple, and fast, effectively improving the user experience, with strong ease of use and practicality.
- FIG. 1 is an application scenario diagram of a method for pairing and connecting a terminal device 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.
- [0028] 5 is a schematic structural diagram of a terminal device pairing connection system according to an embodiment of the present invention.
- FIG. 6 is a diagram showing an example of a first Bluetooth device and a second Bluetooth device application 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), for example
- a Bluetooth function preferably a Bluetooth Low Energy (BLE) function with a Bluetooth 4.0 protocol
- 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 second Bluetooth device further includes a plurality of touch sensing points (the touch point spacing is sufficiently small), and one of the second Bluetooth devices is attached to the touch screen of the first Bluetooth device (The touch sensing point is disposed on at least one edge of the second Bluetooth device, and the thickness of the edge is sufficiently thin, such as a standard bank card thickness, so that the user's finger can simultaneously contact the touch screen of the first Bluetooth device and the first The touch sensing point of the two Bluetooth devices, when the finger slides, the first Bluetooth device and the second Bluetooth device can simultaneously collect the sliding data of the finger.
- the touch sensing point of the two Bluetooth devices when the finger slides, the first Bluetooth device and the second Bluetooth device can simultaneously collect the sliding data of the finger.
- 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 second carried in the broadcast data packet.
- the first Bluetooth device 010 establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device 020 corresponds to a first touch sliding change curve. Specifically, the first touch sliding data is obtained according to the broadcast data packet sent by each second Bluetooth device 020, and the first touch sliding corresponding to the second Bluetooth device 020 is established according to the first touch sliding data. Curve.
- the first Bluetooth device 010 receives the broadcast data packet, acquires second touch sliding data collected by its own touch screen, and establishes a second touch sliding change according to the second touch sliding data. curve.
- the first Bluetooth device 010 searches for the first touch sliding change that matches the second touch sliding change curve from the plurality of first touch sliding change curves according to the second touch sliding change curve. a curve, and initiating a connection request to the second Bluetooth device (ie, the target second Bluetooth device) corresponding to the matched first touch slip profile to establish a connection.
- the second Bluetooth device ie, the target second Bluetooth device
- the touch slide data in this embodiment includes a touch point position and a touch time.
- the first touch slip variation curve may be a curve of the inter-turn (abscissa)-touch point position (ordinate).
- the first touch sliding change curve and the second touch sliding change curve in the embodiment of the present invention The matching means that the change range, the change period, and the shape of the first touch sliding change curve and the second touch sliding change curve (ie, the change trend of the different turn points, the change rate) are preset. Within the scope.
- FIG. 2 is a flowchart of an implementation process of a terminal device pairing connection method according to an embodiment of the present invention.
- the method is applicable to the application scenario described in the corresponding embodiment of FIG. 1, that is, the second Bluetooth device includes multiple At the touch sensing point, there is a second Bluetooth device attached to the touch screen of the first Bluetooth device, so that the user's finger can simultaneously touch the touch screen of the first Bluetooth device and the touch sensing point of the second Bluetooth device, when the finger slides ⁇
- the first Bluetooth device and the second Bluetooth device can simultaneously collect touch sliding data of the finger, which mainly includes the following steps:
- Step S201 The first Bluetooth device receives a broadcast data packet that is broadcast by the multiple second Bluetooth devices, where the broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through the touch sensing point thereof.
- 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 touch sliding data is collected by the touch sensing point, and the touch sliding data is carried in the broadcast data. Broadcast in the package.
- 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 through the vendor customization field carried in the broadcast data packet.
- step S202 the first Bluetooth device establishes a plurality of first touch slides according to the first touch slip data.
- the first touch sliding change curve may be a touch point position (ordinate) - a form of an inter-turn (abscissa) curve, a speed (ordinate) - an inter-turn (an abscissa) The form of the curve, the acceleration (ordinate) - the inter-turn (abscissa) and other curve forms.
- each of the second Bluetooth devices corresponds to a first touch slip curve.
- the first touch sliding data is obtained according to the broadcast data packet sent by each second Bluetooth device, and the first touch sliding curve corresponding to the second Bluetooth device is established according to the first touch sliding data. .
- step S203 the first Bluetooth device acquires the second touch sliding data collected by the touch screen, and establishes a second touch sliding change curve according to the second touch sliding data.
- the first Bluetooth device may receive the broadcast data packet, acquire second touch sliding data collected by its own touch screen, and establish a first according to the second touch sliding data.
- the second touch sliding change curve may be a touch point position (ordinate) - a form of an inter-turn (abscissa) curve, a speed (ordinate) - a form of an inter-turn (abscissa) curve or an acceleration (ordinate) - Curve form such as daytime (abscissa).
- step S204 the first Bluetooth device searches for the target second Bluetooth device that matches the first touch sliding variation curve with the second touch sliding variation curve.
- the first Bluetooth device searches for the first one that matches the second touch sliding change curve from the plurality of first touch sliding change curves according to the second touch sliding change curve. Touching the sliding curve, and the second Bluetooth device corresponding to the matched first touch sliding curve is used as the target second Bluetooth device.
- the matching of the first touch sliding change curve and the second touch sliding change curve in the embodiment of the present invention means that the first touch sliding change curve and the second touch sliding change
- the magnitude of change, the period of change, and the shape of the curve at the same moment are within the preset range.
- step S205 after the first Bluetooth device finds the target second Bluetooth device that matches the first touch sliding curve and the second touch sliding curve, the target second Bluetooth device is sent to the target second Bluetooth device. Initiate a connection request to establish a connection.
- the manner of establishing a connection may be connected by a justwork method, or In order to connect through the existing pairing method, there is no limitation here.
- 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 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 present invention may also use some of the above steps as the confirmation after the connection, specifically:
- the first Bluetooth device establishes a third touch sliding change curve according to the third touch sliding data
- the first Bluetooth device acquires fourth touch sliding data collected by the touch screen thereof, and establishes a fourth touch sliding change curve according to the fourth touch sliding data;
- the first Bluetooth device determines whether the third touch sliding change curve matches the fourth touch sliding change curve
- the two parties before the first Bluetooth device establishes a connection with the target second Bluetooth device, the two parties perform data interaction by means of broadcasting; after establishing the connection, the two parties can establish a Bluetooth link or wireless communication. The way to data interaction.
- the third touch sliding data and the fourth touch sliding data are generated by the current touch sliding operation after the first Bluetooth device establishes a connection with the target second Bluetooth device. Touch Slide data.
- the first Bluetooth device after the first Bluetooth device establishes a connection with the target second Bluetooth device, if the user's touch sliding operation (which may be sliding back and forth) is detected, the first Bluetooth device and the target second Bluetooth device The touch data is collected and exchanged respectively, and the first Bluetooth device and the target second Bluetooth device respectively determine whether the touch-sliding data collected by the two sides is consistent with the touch-to-touch position curve, and if the inconsistency is inconsistent, the connection is terminated, and the paired connection is terminated, such as Then complete the pairing connection.
- touch sliding operation which may be sliding back and forth
- the embodiment is preferably the following application scenario: the target second Bluetooth device includes multiple touch sensing points, and the target second Bluetooth device is attached to the touch screen of the first Bluetooth device, so that the user's finger The touch screen of the first Bluetooth device and the touch sensing point of the second Bluetooth device can be contacted, and when the finger slides, the first Bluetooth device and the second Bluetooth device can simultaneously collect the touch sliding data of the finger.
- 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 a broadcast data packet broadcast by the plurality of second Bluetooth devices, where the broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through the touch sensing point thereof.
- Step S302 the first Bluetooth device establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
- Step S303 the first Bluetooth device acquires the second touch sliding data collected by the touch screen, and establishes a second touch sliding change curve according to the second touch sliding data.
- Step S304 the first Bluetooth device searches for the target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve;
- Step S305 the first Bluetooth device initiates a connection to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve. Request to establish a connection.
- Step S306 the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: the target The RSSI data of the Bluetooth signal of the second Bluetooth device, the data collected by the motion sensor of the first Bluetooth device, and the first Bluetooth detected by the target second Bluetooth device according to the preset time interval The RSSI data of the Bluetooth signal of the device and the data collected by the target second Bluetooth device by the motion sensor carried by the target second Bluetooth device according to the preset inter-turn interval.
- 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 S307 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, according to the obtained 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 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) - daytime (abscissa) and other curve forms.
- Step S308 the first Bluetooth device determines whether the established curves match, if the determination result is "Yes”, then step S309 is performed; if the determination result is "No", then step S310 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 in the same engraving (ie, the change trend of different inter-turn points) , rate of change) can be within the preset range.
- Step S309 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 S310 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.
- steps S306-310 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 for implementing a method for pairing and connecting a terminal device according to another embodiment of the present invention. It mainly includes the following steps:
- Step S401 The first Bluetooth device receives a broadcast data packet broadcast by a plurality of second Bluetooth devices, where the broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through the touch sensing point thereof.
- Step S402 the first Bluetooth device establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
- Step S403 The first Bluetooth device acquires second touch sliding data collected by the touch screen, and establishes a second touch sliding change curve according to the second touch sliding data.
- Step S404 the first Bluetooth device searches for the target second Bluetooth device that matches the first touch slip variation curve and the second touch sliding variation curve;
- Step S405 the first Bluetooth device initiates a connection to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding change curve and the second touch sliding change curve. Request to establish a connection.
- Step S406 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 S407 The first Bluetooth device establishes a corresponding curve according to the acquired data.
- Step S408 The first Bluetooth device determines whether the established curve meets the predetermined mode. If the determination result is “Yes”, step S409 is performed; if the determination result is “No”, step S410 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 S409 confirming the connection.
- Step S410 disconnecting the connection with the target second Bluetooth device.
- first Bluetooth device and the second Bluetooth device are connected at each time. When you are done, the pairing connection information is saved. If the first Bluetooth device and the second Bluetooth device detect the saved pairing connection information during the next pairing connection process, steps S406-410 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. 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 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.
- determining whether the motion curve conforms to a predetermined mode may be applied to a Bluetooth device motion or a scene in which two Bluetooth devices perform the same motion; Whether the RSSI curve conforms to the predetermined mode, and can be applied to a Bluetooth device motion or a scene in which two Bluetooth devices perform the same motion; determining whether the RSSI curve and the motion curve match, can be applied to a scene of a Bluetooth device motion; Whether the motion curves match 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
- the size of the serial numbers of the steps in the corresponding embodiments in FIG. 2, FIG. 3, and FIG. 4 does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic.
- the implementation of the embodiments of the present invention should not be construed as limiting.
- FIG. 5 is a schematic structural diagram of a terminal device pairing connection system according to an embodiment of the present invention.
- the terminal device pairing connection 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 system includes: a first data acquiring unit 51, and a first curve establishing unit 52.
- the second curve establishing unit 53, the matching unit 54, and the connecting unit 55, the specific functions of each unit are as follows: [0129]
- the first data acquiring unit 51 is configured to receive a broadcast data packet broadcast by the plurality of second Bluetooth devices, where the broadcast The data packet carries the first touch slip data collected by the second Bluetooth device through its touch sensing point;
- the first curve establishing unit 52 is configured to establish, according to the first touch sliding data, a plurality of first touch sliding variation curves, wherein each second Bluetooth device corresponds to a first touch sliding variation curve;
- the second curve establishing unit 53 is configured to acquire second touch sliding data collected by the touch screen of the first Bluetooth device, and establish a second touch sliding curve according to the second touch sliding data;
- the matching unit 54 is configured to find the target second Bluetooth device that matches the first touch sliding change curve with the second touch sliding change curve;
- a connecting unit 55 configured to initiate a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding change curve and the second touch sliding change curve
- system further includes:
- the second data acquiring unit 56 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 collected by the motion sensor of the target second Bluetooth device according to the preset inter-turn interval; [0136] a third curve establishing unit 57, configured to establish a corresponding curve according to the acquired data;
- the first determining unit 58 is configured to determine whether the established curves are all matched
- the first processing unit 59 is configured to: when the first determining unit 58 determines that the result is no, disconnect the connection with the target second Bluetooth device.
- system further includes:
- the third data acquiring unit 510 is configured to: after establishing a connection with the target second Bluetooth device, acquire 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 collected by the motion sensor of the target second Bluetooth device according to the preset inter-turn interval;
- a fourth curve establishing unit 511 configured to establish a corresponding curve according to the acquired data
- the second determining unit 512 is configured to determine whether the established curves meet the predetermined mode.
- the second processing unit 513 is configured to: when the second determining unit 512 determines that the result is negative, disconnect the connection with the target second Bluetooth device.
- system further includes:
- the fourth data acquiring unit 514 is 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 inter-time interval and/or obtain the target.
- the third determining unit 515 is configured to determine whether the acquired change of the RSSI data is within a preset range.
- the third processing unit 516 is configured to determine, in the third determining unit 515, 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:
- 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.
- the system further includes:
- a display unit 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:
- the fifth data acquiring unit is configured to: after establishing a connection with the target second Bluetooth device, after detecting the touch sliding operation, acquiring the third touch sliding collected by the target second Bluetooth device through the touch sensing point thereof Data
- a fifth curve establishing unit configured to establish a third touch sliding change curve according to the third touch sliding data
- a sixth curve establishing unit configured to acquire fourth touch sliding data collected by the touch screen of the first Bluetooth device, and establish a fourth touch sliding change curve according to the fourth touch sliding data
- a fourth determining unit configured to determine whether the third touch sliding change curve matches the fourth touch sliding change curve
- 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 present invention provides an example of a first Bluetooth device and a second Bluetooth device application.
- the second Bluetooth device 2 is placed in the first Bluetooth device 1.
- the plane where the touch sensing point 21 of the second Bluetooth device 2 is located is in the same direction as the plane where the touch screen 11 of the first Bluetooth device 1 is located, so that the user's finger can contact the first Bluetooth device 1 at the same time.
- the first Bluetooth device 1 and the second Bluetooth device 2 can detect the touch sliding operation of the finger, and collect the touch sliding data of the finger, and the touch sliding data reaction The relative position of each engraving of the finger is determined. If the inter-head-relative position curves of the two sides are identical, it is determined that the same finger is in the touch of the touch screen 11 of the first Bluetooth device 1 and the second Bluetooth device 2 Sliding on the sensing point 21 can be used as a selection, binding and authentication of the wireless device.
- the touch sliding operation may be a touch sliding from one end of the touch sensing point 21 to the other end, or sliding from one end to the other end for a predetermined number of times (such as one or two times), or from one end to the other end
- the reciprocating touch slides a predetermined number of times (such as once or twice).
- the touch sensing point 21 can be disposed on at least one edge of the second blue night device 2, so that the user can simultaneously touch the touch screen 11 of the first bluetooth device 1 and the touch of the second bluetooth device 2 through one finger. Sensing point 21. Of course, the touch sensing point 21 may not be disposed at the edge of the second blue night device 2, and the user may contact the touch screen 11 of the first Bluetooth device 1 and the second by two fingers respectively. The touch sensing point 21 of the Bluetooth device 2.
- the embodiment of the present invention searches for the target second Bluetooth device by matching the touch sliding curve of the second Bluetooth device with the touch sliding curve of the first Bluetooth device, so that the pairing connection process is safe and simple. Fast and effective to enhance the user experience. Moreover, after the first Bluetooth device establishes a connection with the target second Bluetooth device, 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.
- 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. , can also be implemented in the form of software functional units.
- the specific names of the functional units are only for the purpose of distinguishing from each other, and are not intended to limit the scope of protection of the present application.
- 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 perform all or part of the steps of the methods of the various embodiments of the embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (R 0M, Read-Only Memory), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. medium.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
说明书 发明名称:终端设备配对连接的方法及系统 技术领域 Description: The method and system for pairing and connecting terminal devices
[0001] 本发明属于通信技术领域, 尤其涉及一种终端设备配对连接的方法及系统。 [0001] The present invention relates to the field of communications technologies, and in particular, to a method and system for pairing and connecting a terminal device.
背景技术 Background technique
[0002] 在现有技术中, 终端设备 (如第一蓝牙设备与第二蓝牙设备) 配对连接的流程 一般包括以下步骤: [0002] In the prior art, the process of pairing a terminal device (such as a first Bluetooth device with a second Bluetooth device) generally includes the following steps:
[0003] 步骤 1, 第一蓝牙设备扫描第二蓝牙设备; [0003] Step 1, the first Bluetooth device scans the second Bluetooth device;
[0004] 步骤 2, 用户从扫描到的第二蓝牙设备中选择目标第二蓝牙设备; [0004] Step 2: The user selects a target second Bluetooth device from the scanned second Bluetooth device;
[0005] 步骤 3, 如果第一蓝牙设备与目标第二蓝牙设备已经配对过, 则直接建立蓝牙 连接; [0005] Step 3: If the first Bluetooth device and the target second Bluetooth device have been paired, the Bluetooth connection is directly established;
[0006] 步骤 4, 如果第一蓝牙设备与目标第二蓝牙设备未配对过, 则触发配对流程。 [0006] Step 4: If the first Bluetooth device is not paired with the target second Bluetooth device, the pairing process is triggered.
如果两蓝牙设备是采用 Justwork配对模式, 则配对过程不需要用户参与, 但是该 配对模式安全性较低; 如果两蓝牙设备使用输入配对码的配对模式, 则配对过 程需要用户输入 4至 6位的配对码; 如果两蓝牙设备使用数字比对的配对模式, 则用户需要比较第一蓝牙设备和第二蓝牙设备各自屏幕上显示的 6位比对数字是 否一样, 如果一样则双方通过点击确认键来完成配对; If the two Bluetooth devices are in Justwork pairing mode, the pairing process does not require user participation, but the pairing mode is less secure; if the two Bluetooth devices use the pairing mode of the input pairing code, the pairing process requires the user to input 4 to 6 digits. Pairing code; if the two Bluetooth devices use the pairing mode of the digital comparison, the user needs to compare whether the 6-digit comparison numbers displayed on the respective screens of the first Bluetooth device and the second Bluetooth device are the same. If the same, the two parties click the confirmation button. Complete pairing;
[0007] 步骤 5, 配对完成后, 第一蓝牙设备与目标第二蓝牙设备建立蓝牙连接。 [0007] Step 5: After the pairing is completed, the first Bluetooth device establishes a Bluetooth connection with the target second Bluetooth device.
[0008] 由上可知, 如果需要保证较高的安全性, 现有第一蓝牙设备与第二蓝牙设备的 配对连接需要用户参与选择、 输入、 确认等, 操作复杂, 配对连接效率较低, 影响用户体验。 [0008] It can be seen from the above that if a higher security is required, the existing connection between the first Bluetooth device and the second Bluetooth device requires the user to participate in selection, input, confirmation, etc., the operation is complicated, and the pairing connection efficiency is low, affecting user experience.
技术问题 technical problem
[0009] 鉴于此, 本发明实施例提供一种终端设备配对连接的方法及系统, 旨在保证较 高安全性的前提下, 减少人为操作, 提高终端设备配对连接的效率。 In view of this, 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.
问题的解决方案 Problem solution
技术解决方案 Technical solution
[0010] 第一方面, 本发明提供了一种终端设备配对连接的方法, 所述方法包括: [0011] 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播数据包携带 有所述第二蓝牙设备通过其触摸感应点采集到的第一触摸滑动数据; [0010] In a first aspect, the present invention provides a method for pairing and connecting a terminal device, where the method includes: [0011] The first Bluetooth device receives the broadcast data packet broadcast by the plurality of second Bluetooth devices, where the broadcast data packet carries the first touch slip data collected by the second Bluetooth device through the touch sensing point thereof;
[0012] 第一蓝牙设备根据所述第一触摸滑动数据建立多个第一触摸滑动变化曲线, 其 中每个第二蓝牙设备对应一个第一触摸滑动变化曲线; [0012] the first Bluetooth device establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
[0013] 第一蓝牙设备获取其触摸屏采集到的第二触摸滑动数据, 并根据所述第二触摸 滑动数据建立第二触摸滑动变化曲线; [0013] the first Bluetooth device acquires second touch sliding data collected by the touch screen thereof, and establishes a second touch sliding change curve according to the second touch sliding data;
[0014] 第一蓝牙设备査找所述第一触摸滑动变化曲线与所述第二触摸滑动变化曲线相 匹配的目标第二蓝牙设备; [0014] the first Bluetooth device searches for the target second Bluetooth device that matches the first touch sliding variation curve with the second touch sliding variation curve;
[0015] 第一蓝牙设备在査找到所述第一触摸滑动变化曲线与所述第二触摸滑动变化曲 线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请求, 以 建立连接。 [0015] after the first Bluetooth device finds the target second Bluetooth device that matches the first touch slip curve and the second touch slip curve, the first Bluetooth device initiates a connection request to the target second Bluetooth device, to establish connection.
[0016] 第二方面, 本发明提供了一种终端设备配对连接的系统, 所述系统包括: [0017] 第一数据获取单元, 用于接收多个第二蓝牙设备广播的广播数据包, 所述广播 数据包携带有所述第二蓝牙设备通过其触摸感应点采集到的第一触摸滑动数据 [0016] In a second aspect, the present invention provides a system for pairing and connecting a terminal device, where the system includes: [0017] a first data acquiring unit, configured to receive a broadcast data packet broadcast by multiple second Bluetooth devices, where The broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through its touch sensing point
[0018] 第一曲线建立单元, 用于根据所述第一触摸滑动数据建立多个第一触摸滑动变 化曲线, 其中每个第二蓝牙设备对应一个第一触摸滑动变化曲线; [0018] a first curve establishing unit, configured to establish a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
[0019] 第二曲线建立单元, 用于获取第一蓝牙设备的触摸屏采集到的第二触摸滑动数 据, 并根据所述第二触摸滑动数据建立第二触摸滑动变化曲线; [0019] a second curve establishing unit, configured to acquire second touch sliding data collected by the touch screen of the first Bluetooth device, and establish a second touch sliding change curve according to the second touch sliding data;
[0020] 匹配单元, 用于査找所述第一触摸滑动变化曲线与所述第二触摸滑动变化曲线 相匹配的目标第二蓝牙设备; [0020] a matching unit, configured to find a target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve;
[0021] 连接单元, 用于在査找到所述第一触摸滑动变化曲线与所述第二触摸滑动变化 曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请求, 以建立连接。 [0021] a connection unit, configured to initiate a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve, To establish a connection.
发明的有益效果 Advantageous effects of the invention
有益效果 Beneficial effect
[0022] 本发明实施例与现有技术相比存在的有益效果是: 本发明实施例通过将第二蓝 牙设备的触摸滑动变化曲线与第一蓝牙设备的触摸滑动变化曲线进行匹配来査 找目标第二蓝牙设备, 使得配对连接过程安全、 简单、 快捷, 有效提升了用户 体验, 具有较强的易用性和实用性。 [0022] The beneficial effects of the embodiment of the present invention compared with the prior art are: the embodiment of the present invention checks by comparing the touch sliding variation curve of the second Bluetooth device with the touch sliding variation curve of the first Bluetooth device. Looking for the second Bluetooth device, making the pairing connection process safe, simple, and fast, effectively improving the user experience, with strong ease of use and practicality.
对附图的简要说明 Brief description of the drawing
附图说明 DRAWINGS
[0023] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。 [0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are merely Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the skilled artisan.
[0024] 图 1是本发明实施例提供的终端设备配对连接方法的应用场景图; 1 is an application scenario diagram of a method for pairing and connecting a terminal device according to an embodiment of the present invention;
[0025] 图 2是本发明实施例提供的终端设备配对连接方法的实现流程示意图; 2 is a schematic flowchart of an implementation process of a terminal device pairing connection method according to an embodiment of the present invention;
[0026] 图 3是本发明另一实施例提供的终端设备配对连接方法的实现流程示意图; [0027] 图 4是本发明另一实施例提供的终端设备配对连接方法的实现流程示意图; [0028] 图 5是本发明实施例提供的终端设备配对连接系统的组成结构示意图; 3 is a schematic flowchart of an implementation process of a terminal device pairing connection method according to another embodiment of the present invention; [0027] 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; [0028] 5 is a schematic structural diagram of a terminal device pairing connection system according to an embodiment of the present invention;
[0029] 图 6是本发明实施例提供的第一蓝牙设备与第二蓝牙设备应用的示例图。 6 is a diagram showing an example of a first Bluetooth device and a second Bluetooth device application according to an embodiment of the present invention.
本发明的实施方式 Embodiments of the invention
[0030] 以下描述中, 为了说明而不是为了限定, 提出了诸如特定系统结构、 技术之类 的具体细节, 以便透切理解本发明实施例。 然而, 本领域的技术人员应当清楚 , 在没有这些具体细节的其它实施例中也可以实现本发明。 在其它情况中, 省 略对众所周知的系统、 装置、 电路以及方法的详细说明, 以免不必要的细节妨 碍本发明的描述。 [0030] In the following description, for purposes of illustration and description However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the invention.
[0031] 为了说明本发明所述的技术方案, 下面通过具体实施例来进行说明。 [0031] In order to explain the technical solution described in the present invention, the following description will be made by way of specific embodiments.
[0032] 图 1示出了本发明实施例提供的终端设备配对连接方法的应用场景, 为了便于 说明, 仅示出了与本发明实施例相关的部分。 [0032] 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.
[0033] 如图 1所示, 所述应用场景包括一个第一蓝牙设备 010以及多个第二蓝牙设备 02[0033] As shown in FIG. 1, the application scenario includes a first Bluetooth device 010 and a plurality of second Bluetooth devices.
0; 0;
[0034] 其中, 所述第一蓝牙设备 010和第二蓝牙设备 020为具有蓝牙功能 (优选具有蓝 牙 4.0协议的蓝牙低能耗 (Bluetooth Low Energy , BLE) 功能) 的终端设备, 例 如智能手机、 平板电脑、 具有蓝牙功能的智能卡、 信息安全设备等。 [0034] wherein, 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), for example Such as smartphones, tablets, smart cards with Bluetooth capabilities, information security devices, etc.
[0035] 在该应用场景中, 所述多个第二蓝牙设备 020在 BLE模式下, 按设定的吋间间 隔向周围广播设定的广播数据包。 例如, 间隔吋间可以为 20mS~10.24s。 [0035] In the application scenario, 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. For example, the interval between the two can be 20m S ~ 10.24s.
[0036] 作为本发明的一较佳示例, 所述第二蓝牙设备还包括多个触摸感应点 (触摸点 间距足够小) , 存在其中一个第二蓝牙设备贴于第一蓝牙设备的触摸屏上 (所 述触摸感应点设置在第二蓝牙设备的至少一个边缘, 且该边缘的厚度足够薄, 如标准的银行卡厚度) , 以使得用户手指可同吋接触到第一蓝牙设备的触摸屏 以及该第二蓝牙设备的触摸感应点, 当手指滑动吋, 所述第一蓝牙设备和该第 二蓝牙设备可同吋采集到手指的滑动数据。 [0036] As a preferred example of the present invention, the second Bluetooth device further includes a plurality of touch sensing points (the touch point spacing is sufficiently small), and one of the second Bluetooth devices is attached to the touch screen of the first Bluetooth device ( The touch sensing point is disposed on at least one edge of the second Bluetooth device, and the thickness of the edge is sufficiently thin, such as a standard bank card thickness, so that the user's finger can simultaneously contact the touch screen of the first Bluetooth device and the first The touch sensing point of the two Bluetooth devices, when the finger slides, the first Bluetooth device and the second Bluetooth device can simultaneously collect the sliding data of the finger.
[0037] 所述第一蓝牙设备 010在配对连接前, 打幵蓝牙, 接收所述多个第二蓝牙设备 0 20广播的广播数据包, 并获取所述广播数据包中携带的所述第二蓝牙设备 020通 过其触摸感应点采集到的第一触摸滑动数据。 [0037] 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 second carried in the broadcast data packet. The first touch slip data collected by the Bluetooth device 020 through its touch sensing point.
[0038] 所述第一蓝牙设备 010根据所述第一触摸滑动数据建立多个第一触摸滑动变化 曲线, 其中每个第二蓝牙设备 020对应一个第一触摸滑动变化曲线。 具体的是, 根据每一个第二蓝牙设备 020发送的广播数据包, 获取对应的第一触摸滑动数据 , 根据所述第一触摸滑动数据建立与该第二蓝牙设备 020相对应的第一触摸滑动 变化曲线。 [0038] The first Bluetooth device 010 establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device 020 corresponds to a first touch sliding change curve. Specifically, the first touch sliding data is obtained according to the broadcast data packet sent by each second Bluetooth device 020, and the first touch sliding corresponding to the second Bluetooth device 020 is established according to the first touch sliding data. Curve.
[0039] 进一步的, 所述第一蓝牙设备 010接收所述广播数据包, 并获取通过其自身的 触摸屏采集的第二触摸滑动数据, 并根据所述第二触摸滑动数据建立第二触摸 滑动变化曲线。 [0039] Further, the first Bluetooth device 010 receives the broadcast data packet, acquires second touch sliding data collected by its own touch screen, and establishes a second touch sliding change according to the second touch sliding data. curve.
[0040] 所述第一蓝牙设备 010根据所述第二触摸滑动变化曲线, 从所述多个第一触摸 滑动变化曲线中査找与所述第二触摸滑动变化曲线相匹配的第一触摸滑动变化 曲线, 并向所述相匹配的第一触摸滑动变化曲线对应的第二蓝牙设备 (即目标 第二蓝牙设备) 发起连接请求, 以建立连接。 [0040] the first Bluetooth device 010 searches for the first touch sliding change that matches the second touch sliding change curve from the plurality of first touch sliding change curves according to the second touch sliding change curve. a curve, and initiating a connection request to the second Bluetooth device (ie, the target second Bluetooth device) corresponding to the matched first touch slip profile to establish a connection.
[0041] 需要说明的是, 本实施例所述触摸滑动数据包括触摸点位置以及触摸的吋间。 [0041] It should be noted that the touch slide data in this embodiment includes a touch point position and a touch time.
因此, 所述第一触摸滑动变化曲线可以为吋间 (横坐标) -触摸点位置 (纵坐标 ) 的曲线。 Therefore, the first touch slip variation curve may be a curve of the inter-turn (abscissa)-touch point position (ordinate).
[0042] 另外, 本发明实施例所述第一触摸滑动变化曲线与所述第二触摸滑动变化曲线 相匹配是指, 所述第一触摸滑动变化曲线与所述第二触摸滑动变化曲线在同一 吋刻的变化幅度、 变化周期、 形态 (即不同吋间点的变化走向、 变化率) 在预 设范围内。 [0042] In addition, the first touch sliding change curve and the second touch sliding change curve in the embodiment of the present invention The matching means that the change range, the change period, and the shape of the first touch sliding change curve and the second touch sliding change curve (ie, the change trend of the different turn points, the change rate) are preset. Within the scope.
[0043] 需要说明的是, 本实施例提供的所述应用场景只是一种示例, 只用于解释本发 明, 并不限定本发明的保护范围。 [0043] It should be noted that the application scenario provided by this embodiment is only an example, which is only used to explain the present invention, and does not limit the scope of protection of the present invention.
[0044] [0044]
[0045] 请参阅图 2, 为本发明实施例提供的终端设备配对连接方法的实现流程, 该方 法可应用于图 1对应实施例所述的应用场景, 即所述第二蓝牙设备包括多个触摸 感应点, 存在一个第二蓝牙设备贴于第一蓝牙设备的触摸屏上, 以使得用户手 指可同吋接触到第一蓝牙设备的触摸屏以及该第二蓝牙设备的触摸感应点, 当 手指滑动吋, 所述第一蓝牙设备和该第二蓝牙设备可同吋采集到手指的触摸滑 动数据, 其主要包括以下步骤: [0045] Please refer to FIG. 2, which is a flowchart of an implementation process of a terminal device pairing connection method according to an embodiment of the present invention. The method is applicable to the application scenario described in the corresponding embodiment of FIG. 1, that is, the second Bluetooth device includes multiple At the touch sensing point, there is a second Bluetooth device attached to the touch screen of the first Bluetooth device, so that the user's finger can simultaneously touch the touch screen of the first Bluetooth device and the touch sensing point of the second Bluetooth device, when the finger slides 吋The first Bluetooth device and the second Bluetooth device can simultaneously collect touch sliding data of the finger, which mainly includes the following steps:
[0046] 步骤 S201 , 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播 数据包携带有所述第二蓝牙设备通过其触摸感应点采集到的第一触摸滑动数据 [0046] Step S201: The first Bluetooth device receives a broadcast data packet that is broadcast by the multiple second Bluetooth devices, where the broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through the touch sensing point thereof.
[0047] 在本发明实施例中, 所述多个第二蓝牙设备可在 BLE模式下, 按设定的吋间间 隔向周围广播设定的广播数据包。 In the embodiment of the present invention, 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.
[0048] 作为本发明的一较佳示例, 当所述第二蓝牙设备检测到触摸滑动操作吋, 通过 所述触摸感应点采集触摸滑动数据, 并将所述触摸滑动数据携带在所述广播数 据包中进行广播。 [0048] As a preferred example of the present invention, when the second Bluetooth device detects a touch sliding operation, the touch sliding data is collected by the touch sensing point, and the touch sliding data is carried in the broadcast data. Broadcast in the package.
[0049] 可选的, 为了减少候选第二蓝牙设备的数量, 提高第一蓝牙设备配对连接的安 全性, 本发明实施例还包括: [0049] Optionally, in order to reduce the number of the candidate second Bluetooth devices and improve the security of the first Bluetooth device pairing connection, the embodiment of the present invention further includes:
[0050] 所述广播数据包携带有厂商自定义字段; [0050] the broadcast data packet carries a vendor custom field;
[0051] 在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后, 所述第一蓝牙 设备根据所述广播数据包携带的厂商自定义字段过滤出该厂商发行的第二蓝牙 设备。 即所述第一蓝牙设备只需要关注该厂商发行的第二蓝牙设备, 通过广播 数据包携带的厂商自定义字段排除非该厂商发行的第二蓝牙设备。 [0051] after the first Bluetooth device receives the broadcast data packet broadcast by the plurality of second Bluetooth devices, 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.
[0052] 在步骤 S202中, 第一蓝牙设备根据所述第一触摸滑动数据建立多个第一触摸滑 动变化曲线, 其中每个第二蓝牙设备对应一个第一触摸滑动变化曲线。 [0052] In step S202, the first Bluetooth device establishes a plurality of first touch slides according to the first touch slip data. The change curve, wherein each second Bluetooth device corresponds to a first touch slip curve.
[0053] 在本发明实施例中, 所述第一触摸滑动变化曲线可以为触摸点位置 (纵坐标) - 吋间 (横坐标)曲线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式、 加速度 ( 纵坐标) -吋间 (横坐标)等曲线形式。 [0053] In the embodiment of the present invention, the first touch sliding change curve may be a touch point position (ordinate) - a form of an inter-turn (abscissa) curve, a speed (ordinate) - an inter-turn (an abscissa) The form of the curve, the acceleration (ordinate) - the inter-turn (abscissa) and other curve forms.
[0054] 其中每个第二蓝牙设备对应一个第一触摸滑动变化曲线。 具体的是, 根据每一 个第二蓝牙设备发送的广播数据包, 获取对应的第一触摸滑动数据, 根据所述 第一触摸滑动数据建立与该第二蓝牙设备相对应的第一触摸滑动变化曲线。 [0054] wherein each of the second Bluetooth devices corresponds to a first touch slip curve. Specifically, the first touch sliding data is obtained according to the broadcast data packet sent by each second Bluetooth device, and the first touch sliding curve corresponding to the second Bluetooth device is established according to the first touch sliding data. .
[0055] 在步骤 S203中, 第一蓝牙设备获取其触摸屏采集到的第二触摸滑动数据, 并根 据所述第二触摸滑动数据建立第二触摸滑动变化曲线。 [0055] In step S203, the first Bluetooth device acquires the second touch sliding data collected by the touch screen, and establishes a second touch sliding change curve according to the second touch sliding data.
[0056] 在本发明实施例中, 所述第一蓝牙设备可接收所述广播数据包, 并获取通过其 自身的触摸屏采集的第二触摸滑动数据, 并根据所述第二触摸滑动数据建立第 二触摸滑动变化曲线。 所述第二触摸滑动变化曲线可以为触摸点位置 (纵坐标) - 吋间 (横坐标)曲线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式或者加速 度 (纵坐标) -吋间 (横坐标)等曲线形式。 [0056] In the embodiment of the present invention, the first Bluetooth device may receive the broadcast data packet, acquire second touch sliding data collected by its own touch screen, and establish a first according to the second touch sliding data. Two touch sliding curves. The second touch sliding change curve may be a touch point position (ordinate) - a form of an inter-turn (abscissa) curve, a speed (ordinate) - a form of an inter-turn (abscissa) curve or an acceleration (ordinate) - Curve form such as daytime (abscissa).
[0057] 在步骤 S204中, 第一蓝牙设备査找所述第一触摸滑动变化曲线与所述第二触摸 滑动变化曲线相匹配的目标第二蓝牙设备。 [0057] In step S204, the first Bluetooth device searches for the target second Bluetooth device that matches the first touch sliding variation curve with the second touch sliding variation curve.
[0058] 具体的是, 所述第一蓝牙设备根据所述第二触摸滑动变化曲线, 从所述多个第 一触摸滑动变化曲线中査找与所述第二触摸滑动变化曲线相匹配的第一触摸滑 动变化曲线, 并将所述相匹配的第一触摸滑动变化曲线对应的第二蓝牙设备作 为目标第二蓝牙设备。 [0058] Specifically, the first Bluetooth device searches for the first one that matches the second touch sliding change curve from the plurality of first touch sliding change curves according to the second touch sliding change curve. Touching the sliding curve, and the second Bluetooth device corresponding to the matched first touch sliding curve is used as the target second Bluetooth device.
[0059] 需要说明的是, 本发明实施例所述第一触摸滑动变化曲线与所述第二触摸滑动 变化曲线相匹配是指, 所述第一触摸滑动变化曲线与所述第二触摸滑动变化曲 线在同一吋刻的变化幅度、 变化周期、 形态 (即不同吋间点的变化走向、 变化 率) 在预设范围内。 [0059] It should be noted that the matching of the first touch sliding change curve and the second touch sliding change curve in the embodiment of the present invention means that the first touch sliding change curve and the second touch sliding change The magnitude of change, the period of change, and the shape of the curve at the same moment (ie, the trend of change at different points in the day, the rate of change) are within the preset range.
[0060] 在步骤 S205中, 第一蓝牙设备在査找到所述第一触摸滑动变化曲线与所述第二 触摸滑动变化曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发 起连接请求, 以建立连接。 [0060] In step S205, after the first Bluetooth device finds the target second Bluetooth device that matches the first touch sliding curve and the second touch sliding curve, the target second Bluetooth device is sent to the target second Bluetooth device. Initiate a connection request to establish a connection.
[0061] 在本发明实施例中, 所述建立连接的方式可以是通过 justwork方式连接, 也可 以通过现有的配对方式连接, 在此不做限制。 [0061] In the embodiment of the present invention, the manner of establishing a connection may be connected by a justwork method, or In order to connect through the existing pairing method, there is no limitation here.
[0062] 进一步的, 为了增强用户体验, 便于用户更直观的了解配对连接过程, 本发明 实施例还包括: [0062] Further, in order to enhance the user experience, the user is more intuitively aware of the pairing connection process, and the embodiment of the present invention further includes:
[0063] 以图形化的方式显示第一蓝牙设备与第二蓝牙设备配对连接的过程。 [0063] The process of pairing the first Bluetooth device with the second Bluetooth device is displayed in a graphical manner.
[0064] 可选的, 为进一步增强易用性和实用性, 本发明实施例还包括: [0064] Optionally, in order to further enhance the ease of use and the utility, the embodiment of the present invention further includes:
[0065] 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及取消配对连接的功 育^ 具体的可以是, 在第一蓝牙设备和 /或第二蓝牙设备增加确认配对连接以及 取消配对连接的按键或者预设的操作手势, 以使得用户在触发所述按键或所述 操作手势吋, 第一蓝牙设备或第二蓝牙设备执行对应的确认配对连接或取消配 对连接的功能, 例如在第一蓝牙设备或第二蓝牙设备的触摸屏上顺吋针滑动执 行确认配对连接功能, 在第一蓝牙设备或第二蓝牙设备的触摸屏上逆吋针滑动 执行取消配对连接功能。 [0065] 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.
[0066] 通过本发明实施例, 使得第一蓝牙设备与第二蓝牙设备的配对连接过程更简单[0066] The pairing connection process between the first Bluetooth device and the second Bluetooth device is made simpler by using the embodiment of the present invention.
、 更方便以及更安全, 极大的提升了用户体验。 More convenient and safer, greatly improving the user experience.
[0067] 另外, 作为本发明的一优选实例, 本发明还可以将上述某些步骤作为连接后的 确认, 具体可以是: [0067] In addition, as a preferred example of the present invention, the present invention may also use some of the above steps as the confirmation after the connection, specifically:
[0068] 第一蓝牙设备在与目标第二蓝牙设备建立连接后, 若检测到触摸滑动操作, 则 获取所述目标第二蓝牙设备通过其触摸感应点采集到的第三触摸滑动数据; [0068] after the first Bluetooth device establishes a connection with the target second Bluetooth device, if a touch sliding operation is detected, acquiring third touch sliding data collected by the target second Bluetooth device through the touch sensing point thereof;
[0069] 第一蓝牙设备根据所述第三触摸滑动数据建立第三触摸滑动变化曲线; [0069] the first Bluetooth device establishes a third touch sliding change curve according to the third touch sliding data;
[0070] 第一蓝牙设备获取其触摸屏采集到的第四触摸滑动数据, 并根据所述第四触摸 滑动数据建立第四触摸滑动变化曲线; [0070] the first Bluetooth device acquires fourth touch sliding data collected by the touch screen thereof, and establishes a fourth touch sliding change curve according to the fourth touch sliding data;
[0071] 第一蓝牙设备判断所述第三触摸滑动变化曲线与所述第四触摸滑动变化曲线是 否相匹配; [0071] the first Bluetooth device determines whether the third touch sliding change curve matches the fourth touch sliding change curve;
[0072] 若否, 则断幵与所述目标第二蓝牙设备的连接。 [0072] If no, the connection with the target second Bluetooth device is broken.
[0073] 需要说明的是, 在第一蓝牙设备与目标第二蓝牙设备建立连接前, 双方是以广 播的方式进行数据交互; 在建立连接后, 双方可通过建立的蓝牙链路或者无线 通信的方式进行数据交互。 另外, 所述第三触摸滑动数据以及第四触摸滑动数 据均为第一蓝牙设备与目标第二蓝牙设备建立连接后当前触摸滑动操作产生的 触摸滑动数据。 [0073] It should be noted that before the first Bluetooth device establishes a connection with the target second Bluetooth device, the two parties perform data interaction by means of broadcasting; after establishing the connection, the two parties can establish a Bluetooth link or wireless communication. The way to data interaction. In addition, the third touch sliding data and the fourth touch sliding data are generated by the current touch sliding operation after the first Bluetooth device establishes a connection with the target second Bluetooth device. Touch Slide data.
[0074] 在本发明实施例中, 在第一蓝牙设备与目标第二蓝牙设备建立连接之后, 若检 测到用户的触摸滑动操作 (可以是来回滑动) , 第一蓝牙设备和目标第二蓝牙 设备各自采集触摸滑动数据并交换, 第一蓝牙设备和目标第二蓝牙设备各自判 断两边采集的触摸滑动数据反应的吋间-相对触摸位置曲线是否一致, 不一致则 断幵连接、 配对连接终止, 如一致则完成配对连接。 [0074] In the embodiment of the present invention, after the first Bluetooth device establishes a connection with the target second Bluetooth device, if the user's touch sliding operation (which may be sliding back and forth) is detected, the first Bluetooth device and the target second Bluetooth device The touch data is collected and exchanged respectively, and the first Bluetooth device and the target second Bluetooth device respectively determine whether the touch-sliding data collected by the two sides is consistent with the touch-to-touch position curve, and if the inconsistency is inconsistent, the connection is terminated, and the paired connection is terminated, such as Then complete the pairing connection.
[0075] 需要说明的是, 该实施例优选如下应用场景: 即目标第二蓝牙设备包括多个触 摸感应点, 所述目标第二蓝牙设备贴于第一蓝牙设备的触摸屏上, 以使得用户 手指可同吋接触到第一蓝牙设备的触摸屏以及该第二蓝牙设备的触摸感应点, 当手指滑动吋, 所述第一蓝牙设备和该第二蓝牙设备可同吋采集到手指的触摸 滑动数据。 [0075] It should be noted that the embodiment is preferably the following application scenario: the target second Bluetooth device includes multiple touch sensing points, and the target second Bluetooth device is attached to the touch screen of the first Bluetooth device, so that the user's finger The touch screen of the first Bluetooth device and the touch sensing point of the second Bluetooth device can be contacted, and when the finger slides, the first Bluetooth device and the second Bluetooth device can simultaneously collect the touch sliding data of the finger.
[0076] 请参阅图 3, 为本发明另一实施例提供的终端设备配对连接方法的实现流程, 其主要包括以下步骤: [0076] Please refer to FIG. 3, which 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:
[0077] 步骤 S301, 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播 数据包携带有所述第二蓝牙设备通过其触摸感应点采集到的第一触摸滑动数据 [0077] Step S301, the first Bluetooth device receives a broadcast data packet broadcast by the plurality of second Bluetooth devices, where the broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through the touch sensing point thereof.
[0078] 步骤 S302, 第一蓝牙设备根据所述第一触摸滑动数据建立多个第一触摸滑动变 化曲线, 其中每个第二蓝牙设备对应一个第一触摸滑动变化曲线; [0078] Step S302, the first Bluetooth device establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
[0079] 步骤 S303, 第一蓝牙设备获取其触摸屏采集到的第二触摸滑动数据, 并根据所 述第二触摸滑动数据建立第二触摸滑动变化曲线; [0079] Step S303, the first Bluetooth device acquires the second touch sliding data collected by the touch screen, and establishes a second touch sliding change curve according to the second touch sliding data.
[0080] 步骤 S304, 第一蓝牙设备査找所述第一触摸滑动变化曲线与所述第二触摸滑动 变化曲线相匹配的目标第二蓝牙设备; [0080] Step S304, the first Bluetooth device searches for the target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve;
[0081] 步骤 S305, 第一蓝牙设备在査找到所述第一触摸滑动变化曲线与所述第二触摸 滑动变化曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连 接请求, 以建立连接。 [0081] Step S305, the first Bluetooth device initiates a connection to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding variation curve and the second touch sliding variation curve. Request to establish a connection.
[0082] 本发明实施例步骤 S301〜步骤 S305的具体实施过程可参考图 2对应实施例中的步 骤 S201〜步骤 205, 在此不再赘述。 For the specific implementation of the steps S301 to S305 in the embodiment of the present invention, reference may be made to the steps S201 to 205 in the corresponding embodiment of FIG. 2, and details are not described herein again.
[0083] 步骤 S306, 第一蓝牙设备根据预设吋间间隔获取以下至少两组数据: 所述目标 第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采 集到的数据、 所述目标第二蓝牙设备根据所述预设吋间间隔监测到的所述第一 蓝牙设备的蓝牙信号的 RSSI数据以及所述目标第二蓝牙设备根据所述预设吋间 间隔通过所述目标第二蓝牙设备自带的运动传感器采集到的数据。 [0083] Step S306, the first Bluetooth device acquires at least two sets of data according to the preset inter-time interval: the target The RSSI data of the Bluetooth signal of the second Bluetooth device, the data collected by the motion sensor of the first Bluetooth device, and the first Bluetooth detected by the target second Bluetooth device according to the preset time interval The RSSI data of the Bluetooth signal of the device and the data collected by the target second Bluetooth device by the motion sensor carried by the target second Bluetooth device according to the preset inter-turn interval.
[0084] 示例性的, 当所述第一蓝牙设备与所述目标第二蓝牙设备建立连接后, 每隔一 定的吋间间隔 (例如 7.5ms~4s, 优选 20ms) , 所述目标第二蓝牙设备需要向所 述第一蓝牙设备发送维持连接的心跳包, 所述第一蓝牙设备则需要应答。 [0084] Illustratively, after the first Bluetooth device establishes a connection with 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.
[0085] 由于所述第一蓝牙设备与所述目标第二蓝牙设备在每个所述吋间间隔会收发所 述心跳包, 因此所述 RSSI数据每个吋间间隔后会更新一次。 基于此, 本发明实 施例所述第一蓝牙设备和所述目标第二蓝牙设备可通过监测对方的蓝牙信号的 R SSI数据, 以及获取对方监测到的自身的蓝牙信号的 RSSI数据来确认连接的安全 性。 [0085] Since 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.
[0086] 另一示例, 所述第一蓝牙设备和所述目标第二蓝牙设备均自带有运动传感器 ( 例如, 陀螺仪、 重力传感器、 加速度传感器等) , 所述第一蓝牙设备和第二蓝 牙设备可分别通过其自带的运动传感器采集自身的运动数据, 并通过获取采集 到的运动数据来确认连接的安全性。 [0086] In another example, 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.
[0087] 步骤 S307, 第一蓝牙设备根据获取的所述数据建立相应的曲线。 [0087] Step S307: The first Bluetooth device establishes a corresponding curve according to the acquired data.
[0088] 示例性的, 第一蓝牙设备根据所述监测到的目标第二蓝牙设备的蓝牙信号的 RS[0088] Illustratively, the RS of the first Bluetooth device according to the monitored Bluetooth signal of the target second Bluetooth device
SI数据建立第二 RSSI变化曲线, 根据所述获取的第一蓝牙设备的蓝牙信号的 RSSThe SI data establishes a second RSSI curve, according to the obtained RSS signal of the Bluetooth signal of the first Bluetooth device
I数据建立第三 RSSI变化曲线; The I data establishes a third RSSI curve;
[0089] 进一步的, 还可以包括: [0089] Further, the method may further include:
[0090] 第一蓝牙设备根据所述预设吋间间隔获取其运动传感器采集到的数据, 并根据 该数据建立第二运动曲线。 [0090] 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.
[0091] 另一示例, 第一蓝牙设备根据获取的所述第一蓝牙设备自带的运动传感器采集 到的数据建立第三运动曲线, 根据获取的所述第二蓝牙设备自带的运动传感器 采集到的数据建立第四运动曲线。 [0091] In another example, 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.
[0092] 需要说明的是, 本发明实施例所述曲线可以为距离 (纵坐标) -吋间 (横坐标)曲 线的形式、 速度 (纵坐标) -吋间 (横坐标)曲线的形式或者加速度 (纵坐标) -吋间 (横坐标)等曲线形式。 [0092] It should be noted that, in the embodiment of the present invention, 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) - daytime (abscissa) and other curve forms.
[0093] 步骤 S308, 第一蓝牙设备判断建立的所述曲线是否都相匹配, 若判断结果为" 是", 则执行步骤 S309; 若判断结果为"否", 则执行步骤 S310。 [0093] Step S308, the first Bluetooth device determines whether the established curves match, if the determination result is "Yes", then step S309 is performed; if the determination result is "No", then step S310 is performed.
[0094] 示例性的, 第一蓝牙设备判断建立的所述曲线是否都相匹配可以包括: 第一蓝 牙设备判断所述第二 RSSI变化曲线与所述第三 RSSI变化曲线是否相匹配, 以及 所述第二 RSSI变化曲线与所述第二运动曲线是否相匹配。 [0094] Exemplarily, 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.
[0095] 需要说明的是, 本发明实施例所述曲线相匹配并不一定需要两者完全一致, 所 述曲线在同一吋刻的变化幅度、 变化周期、 形态 (即不同吋间点的变化走向、 变化率) 在预设范围内即可。 [0095] It should be noted that 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 in the same engraving (ie, the change trend of different inter-turn points) , rate of change) can be within the preset range.
[0096] 步骤 S309, 确认连接。 [0096] Step S309, confirming the connection.
[0097] 示例性的, 第一蓝牙设备可以在所述第二 RSSI变化曲线与所述第三 RSSI变化曲 线相匹配, 且所述第二 RSSI变化曲线与所述第二运动曲线相匹配吋, 确认连接 [0097] Illustratively, 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
[0098] 步骤 S310, 断幵与所述目标第二蓝牙设备的连接。 [0098] Step S310, disconnecting the connection with the target second Bluetooth device.
[0099] 示例性的, 第一蓝牙设备在所述第二 RSSI变化曲线与所述第三 RSSI变化曲线不 相匹配, 和 /或所述第二 RSSI变化曲线与所述第二运动曲线不相匹配吋, 断幵与 所述目标第二蓝牙设备的连接, 配对连接终止。 [0099] Exemplarily, 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.
[0100] 需要说明的是, 所述第一蓝牙设备和所述第二蓝牙设备在每次配对连接完成后 [0100] It should be noted that, after the pairing connection is completed, the first Bluetooth device and the second Bluetooth device are completed.
, 都会保存配对连接信息。 如果所述第一蓝牙设备和所述第二蓝牙设备在下次 的配对连接过程中, 检测到所述已保存的配对连接信息, 则无需执行步骤 S306~ 310。 , 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 S306-310 need not be performed.
[0101] 另外, 本实施例上述示例只用于解释本发明, 并不限定本发明的保护范围。 In addition, the above examples of the present embodiment are only for explaining the present invention, and do not limit the scope of protection of the present invention.
[0102] 本发明实施例所述第一蓝牙设备在与所述目标第二蓝牙设备建立连接后, 所述 第一蓝牙设备和所述目标第二蓝牙设备可通过监测对方的数据, 以及获取对方 监测到的自身的数据, 并根据获取的所述数据 (例如 RSSI数据、 运动数据) 建 立对应的曲线 (例如 RSSI变化曲线、 运动曲线) , 通过比较所述曲线来进一步 确认连接的安全性。 After the first Bluetooth device establishes a connection with the target second Bluetooth device, 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.
[0103] 请参阅图 4, 为本发明另一实施例提供的终端设备配对连接方法的实现流程, 其主要包括以下步骤: [0103] Please refer to FIG. 4, which is a flowchart for implementing a method for pairing and connecting a terminal device according to another embodiment of the present invention. It mainly includes the following steps:
[0104] 步骤 S401 , 第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包, 所述广播 数据包携带有所述第二蓝牙设备通过其触摸感应点采集到的第一触摸滑动数据 [0104] Step S401: The first Bluetooth device receives a broadcast data packet broadcast by a plurality of second Bluetooth devices, where the broadcast data packet carries the first touch sliding data collected by the second Bluetooth device through the touch sensing point thereof.
[0105] 步骤 S402, 第一蓝牙设备根据所述第一触摸滑动数据建立多个第一触摸滑动变 化曲线, 其中每个第二蓝牙设备对应一个第一触摸滑动变化曲线; [0105] Step S402, the first Bluetooth device establishes a plurality of first touch sliding change curves according to the first touch sliding data, wherein each second Bluetooth device corresponds to a first touch sliding change curve;
[0106] 步骤 S403 , 第一蓝牙设备获取其触摸屏采集到的第二触摸滑动数据, 并根据所 述第二触摸滑动数据建立第二触摸滑动变化曲线; [0106] Step S403: The first Bluetooth device acquires second touch sliding data collected by the touch screen, and establishes a second touch sliding change curve according to the second touch sliding data.
[0107] 步骤 S404, 第一蓝牙设备査找所述第一触摸滑动变化曲线与所述第二触摸滑动 变化曲线相匹配的目标第二蓝牙设备; [0107] Step S404, the first Bluetooth device searches for the target second Bluetooth device that matches the first touch slip variation curve and the second touch sliding variation curve;
[0108] 步骤 S405 , 第一蓝牙设备在査找到所述第一触摸滑动变化曲线与所述第二触摸 滑动变化曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连 接请求, 以建立连接。 [0108] Step S405, the first Bluetooth device initiates a connection to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding change curve and the second touch sliding change curve. Request to establish a connection.
[0109] 本发明实施例步骤 S401〜步骤 S405的具体实施过程可参考图 2对应实施例中的步 骤 S201〜步骤 205, 在此不再赘述。 For the specific implementation process of the steps S401 to S405 in the embodiment of the present invention, reference may be made to the steps S201 to 205 in the corresponding embodiment of FIG. 2, and details are not described herein again.
[0110] 步骤 S406, 第一蓝牙设备根据预设吋间间隔获取以下至少一组数据: 所述目标 第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采 集到的数据、 所述目标第二蓝牙设备根据所述预设吋间间隔监测到的所述第一 蓝牙设备的蓝牙信号的 RSSI数据以及所述目标第二蓝牙设备根据所述预设吋间 间隔通过所述目标第二蓝牙设备自带的运动传感器采集到的数据。 [0110] Step S406, 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.
[0111] 步骤 S407, 第一蓝牙设备根据获取的所述数据建立相应的曲线。 [0111] Step S407: The first Bluetooth device establishes a corresponding curve according to the acquired data.
[0112] 步骤 S408 , 第一蓝牙设备判断建立的所述曲线是否都符合预定模式, 若判断结 果为"是", 则执行步骤 S409; 若判断结果为"否", 则执行步骤 S410。 [0112] Step S408: The first Bluetooth device determines whether the established curve meets the predetermined mode. If the determination result is “Yes”, step S409 is performed; if the determination result is “No”, step S410 is performed.
[0113] 在本发明实施例中, 所述符合预定模式的曲线可以是曲线的变化幅度在预设范 围内和 /或曲线的变化周期符合特定规则等。 [0113] In the embodiment of the present invention, 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.
[0114] 步骤 S409, 确认连接。 [0114] Step S409, confirming the connection.
[0115] 步骤 S410, 断幵与所述目标第二蓝牙设备的连接。 [0115] Step S410, disconnecting the connection with the target second Bluetooth device.
[0116] 另外, 需要说明的是, 所述第一蓝牙设备和所述第二蓝牙设备在每次配对连接 完成后, 都会保存配对连接信息。 如果所述第一蓝牙设备和所述第二蓝牙设备 在下次的配对连接过程中, 检测到所述已保存的配对连接信息, 则无需执行步 骤 S406~410。 [0116] In addition, it should be noted that the first Bluetooth device and the second Bluetooth device are connected at each time. When you are done, the pairing connection information is saved. If the first Bluetooth device and the second Bluetooth device detect the saved pairing connection information during the next pairing connection process, steps S406-410 need not be performed.
[0117] 本发明实施例所述第一蓝牙设备在与所述目标第二蓝牙设备建立连接后, 所述 第一蓝牙设备和所述目标第二蓝牙设备可通过监测对方的数据, 以及获取对方 监测到的自身的数据, 并从获取的所述数据 (例如 RSS擞据、 运动数据) 中选 择至少一组数据, 根据选择的所述数据建立对应的曲线, 通过判断建立的所述 曲线是否符合预定模式来进一步确认连接的安全性。 [0117] After the first Bluetooth device establishes a connection with the target second Bluetooth device, 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.
[0118] 作为本发明的另一较佳示例, 在所述第一蓝牙设备与所述目标第二蓝牙设备建 立连接之后, 本发明还可以包括: [0118] As another preferred example of the present invention, after the first Bluetooth device establishes a connection with the target second Bluetooth device, the present invention may further include:
[0119] 第一蓝牙设备根据预设吋间间隔获取所述目标第二蓝牙设备的蓝牙信号的 RSSI 数据和 /或获取所述目标第二蓝牙设备根据所述预设吋间间隔监测到的所述第一 蓝牙设备的蓝牙信号的 RSSI数据; [0119] 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;
[0120] 第一蓝牙设备判断获取的所述 RSSI数据的变化是否在预设范围内; [0120] the first Bluetooth device determines whether the acquired change of the RSSI data is within a preset range;
[0121] 若否, 则断幵与所述目标第二蓝牙设备的连接。 [0121] If no, the connection with the target second Bluetooth device is broken.
[0122] 该实例可应用于如下场景: 第一蓝牙设备和所述目标第二蓝牙设备在一起做相 同运动, 例如第一蓝牙设备拿在手上, 目标第二蓝牙设备带在手腕上, 由于第 一蓝牙设备和所述目标第二蓝牙设备距离没有改变, 所述 RSSI数据的变化接近 为零。 [0122] 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.
[0123] 另外, 还需要说明的是, 上述图 3以及图 4对应实施例中, 判断运动曲线是否符 合预定模式的, 可应用于一个蓝牙设备运动或者两个蓝牙设备做相同运动的场 景; 判断 RSSI变化曲线是否符合预定模式的, 可应用于一个蓝牙设备运动或者 两个蓝牙设备做相同运动的场景; 判断 RSSI变化曲线与运动曲线是否匹配, 可 应用于一个蓝牙设备运动的场景; 判断两个运动曲线是否匹配, 可应用于两个 蓝牙设备做相同运动的场景; 判断两个 RSSI变化曲线是否匹配, 可应用于一个 蓝牙设备运动或者两个蓝牙设备做相同运动的场景。 [0123] In addition, it should be noted that, in the foregoing embodiments of FIG. 3 and FIG. 4, determining whether the motion curve conforms to a predetermined mode may be applied to a Bluetooth device motion or a scene in which two Bluetooth devices perform the same motion; Whether the RSSI curve conforms to the predetermined mode, and can be applied to a Bluetooth device motion or a scene in which two Bluetooth devices perform the same motion; determining whether the RSSI curve and the motion curve match, can be applied to a scene of a Bluetooth device motion; Whether the motion curves match 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.
[0124] 需要进一步说明的是, 涉及广播功能吋, 相应的蓝牙设备需要具有蓝牙 4.0协议 的蓝牙低能耗 (Bluetooth Low Energy, BLE) 功能。 [0125] 另外, 应理解, 图 2、 图 3以及图 4对应实施例中各步骤的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应对 本发明实施例的实施过程构成任何限定。 [0124] It should be further explained that, in connection with the broadcast function, the corresponding Bluetooth device needs the Bluetooth Low Energy (BLE) function with the Bluetooth 4.0 protocol. In addition, it should be understood that the size of the serial numbers of the steps in the corresponding embodiments in FIG. 2, FIG. 3, and FIG. 4 does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic. The implementation of the embodiments of the present invention should not be construed as limiting.
[0126] 请参阅图 5, 为本发明实施例提供的终端设备配对连接系统的组成结构示意图[0126] Please refer to FIG. 5, which is a schematic structural diagram of a terminal device pairing connection 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.
[0127] 所述终端设备配对连接系统可以是内置于第一蓝牙设备中的软件单元、 硬件单 元或者是软硬件结合的单元。 [0127] The terminal device pairing connection system may be a software unit, a hardware unit or a combination of software and hardware built in the first Bluetooth device.
[0128] 所述终端设备配对连接系统包括: 第一数据获取单元 51、 第一曲线建立单元 52[0128] The terminal device pairing connection system includes: a first data acquiring unit 51, and a first curve establishing unit 52.
、 第二曲线建立单元 53、 匹配单元 54以及连接单元 55, 各单元具体功能如下: [0129] 第一数据获取单元 51, 用于接收多个第二蓝牙设备广播的广播数据包, 所述广 播数据包携带有所述第二蓝牙设备通过其触摸感应点采集到的第一触摸滑动数 据; The second curve establishing unit 53, the matching unit 54, and the connecting unit 55, the specific functions of each unit are as follows: [0129] The first data acquiring unit 51 is configured to receive a broadcast data packet broadcast by the plurality of second Bluetooth devices, where the broadcast The data packet carries the first touch slip data collected by the second Bluetooth device through its touch sensing point;
[0130] 第一曲线建立单元 52, 用于根据所述第一触摸滑动数据建立多个第一触摸滑动 变化曲线, 其中每个第二蓝牙设备对应一个第一触摸滑动变化曲线; [0130] The first curve establishing unit 52 is configured to establish, according to the first touch sliding data, a plurality of first touch sliding variation curves, wherein each second Bluetooth device corresponds to a first touch sliding variation curve;
[0131] 第二曲线建立单元 53, 用于获取第一蓝牙设备的触摸屏采集到的第二触摸滑动 数据, 并根据所述第二触摸滑动数据建立第二触摸滑动变化曲线; [0131] The second curve establishing unit 53 is configured to acquire second touch sliding data collected by the touch screen of the first Bluetooth device, and establish a second touch sliding curve according to the second touch sliding data;
[0132] 匹配单元 54, 用于査找所述第一触摸滑动变化曲线与所述第二触摸滑动变化曲 线相匹配的目标第二蓝牙设备; [0132] The matching unit 54 is configured to find the target second Bluetooth device that matches the first touch sliding change curve with the second touch sliding change curve;
[0133] 连接单元 55, 用于在査找到所述第一触摸滑动变化曲线与所述第二触摸滑动变 化曲线相匹配的目标第二蓝牙设备后, 向所述目标第二蓝牙设备发起连接请求[0133] a connecting unit 55, configured to initiate a connection request to the target second Bluetooth device after finding the target second Bluetooth device that matches the first touch sliding change curve and the second touch sliding change curve
, 以建立连接。 To establish a connection.
[0134] 进一步的, 所述系统还包括: [0134] Further, the system further includes:
[0135] 第二数据获取单元 56, 用于在与目标第二蓝牙设备建立连接后, 根据预设吋间 间隔获取以下至少两组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备根 据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及所 述目标第二蓝牙设备根据所述预设吋间间隔通过所述目标第二蓝牙设备自带的 运动传感器采集到的数据; [0136] 第三曲线建立单元 57, 用于根据获取的所述数据建立相应的曲线; [0135] The second data acquiring unit 56 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 collected by the motion sensor of the target second Bluetooth device according to the preset inter-turn interval; [0136] a third curve establishing unit 57, configured to establish a corresponding curve according to the acquired data;
[0137] 第一判断单元 58, 用于判断建立的所述曲线是否都相匹配; [0137] The first determining unit 58 is configured to determine whether the established curves are all matched;
[0138] 第一处理单元 59, 用于在所述第一判断单元 58判断结果为否吋, 断幵与所述目 标第二蓝牙设备的连接。 [0138] The first processing unit 59 is configured to: when the first determining unit 58 determines that the result is no, disconnect the connection with the target second Bluetooth device.
[0139] 进一步的, 所述系统还包括: [0139] Further, the system further includes:
[0140] 第三数据获取单元 510, 用于在与目标第二蓝牙设备建立连接后, 根据预设吋 间间隔获取以下至少一组数据: 所述目标第二蓝牙设备的蓝牙信号的 RSSI数据 、 所述第一蓝牙设备自带的运动传感器采集到的数据、 所述目标第二蓝牙设备 根据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSSI数据以及 所述目标第二蓝牙设备根据所述预设吋间间隔通过所述目标第二蓝牙设备自带 的运动传感器采集到的数据; [0140] The third data acquiring unit 510 is configured to: after establishing a connection with the target second Bluetooth device, acquire 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 collected by the motion sensor of the target second Bluetooth device according to the preset inter-turn interval;
[0141] 第四曲线建立单元 511, 用于根据获取的所述数据建立相应的曲线; [0141] a fourth curve establishing unit 511, configured to establish a corresponding curve according to the acquired data;
[0142] 第二判断单元 512, 用于判断建立的所述曲线是否都符合预定模式; [0142] The second determining unit 512 is configured to determine whether the established curves meet the predetermined mode.
[0143] 第二处理单元 513, 用于在所述第二判断单元 512判断结果为否吋, 断幵与所述 目标第二蓝牙设备的连接。 [0143] The second processing unit 513 is configured to: when the second determining unit 512 determines that the result is negative, disconnect the connection with the target second Bluetooth device.
[0144] 进一步的, 所述系统还包括: [0144] Further, the system further includes:
[0145] 第四数据获取单元 514, 用于在与目标第二蓝牙设备建立连接后, 根据预设吋 间间隔获取所述目标第二蓝牙设备的蓝牙信号的 RSSI数据和 /或获取所述目标第 二蓝牙设备根据所述预设吋间间隔监测到的所述第一蓝牙设备的蓝牙信号的 RSS I数据; [0145] The fourth data acquiring unit 514 is 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 inter-time interval and/or obtain the target. 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;
[0146] 第三判断单元 515, 用于判断获取的所述 RSSI数据的变化是否在预设范围内; [0147] 第三处理单元 516, 用于在所述第三判断单元 515判断结果为否吋, 断幵与所述 目标第二蓝牙设备的连接。 [0146] The third determining unit 515 is configured to determine whether the acquired change of the RSSI data is within a preset range. [0147] The third processing unit 516 is configured to determine, in the third determining unit 515, that the result is no.吋, disconnecting the connection with the target second Bluetooth device.
[0148] 进一步的, 所述广播数据包携带有厂商自定义字段; [0148] Further, the broadcast data packet carries a vendor-defined field;
[0149] 所述系统还包括: [0149] The system further includes:
[0150] 过滤单元, 用于在第一蓝牙设备接收多个第二蓝牙设备广播的广播数据包之后 , 根据所述广播数据包携带的厂商自定义字段过滤出该厂商发行的第二蓝牙设 备。 [0151] 进一步的, 所述系统还包括: [0150] 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. [0151] Further, the system further includes:
[0152] 显示单元, 用于以图形化的方式显示第一蓝牙设备与第二蓝牙设备配对连接的 过程。 [0152] a display unit, configured to graphically display a process of pairing the first Bluetooth device with the second Bluetooth device.
[0153] 作为本发明的另一较佳实例, 本发明还提供一种终端设备配对连接的系统, 该 系统可用于连接后的进一步确认, 所述系统包括: [0153] As another preferred example of the present invention, 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:
[0154] 第五数据获取单元, 用于在与目标第二蓝牙设备建立连接后, 在检测到触摸滑 动操作吋, 获取所述目标第二蓝牙设备通过其触摸感应点采集到的第三触摸滑 动数据; [0154] The fifth data acquiring unit is configured to: after establishing a connection with the target second Bluetooth device, after detecting the touch sliding operation, acquiring the third touch sliding collected by the target second Bluetooth device through the touch sensing point thereof Data
[0155] 第五曲线建立单元, 用于根据所述第三触摸滑动数据建立第三触摸滑动变化曲 线; [0155] a fifth curve establishing unit, configured to establish a third touch sliding change curve according to the third touch sliding data;
[0156] 第六曲线建立单元, 用于获取第一蓝牙设备的触摸屏采集到的第四触摸滑动数 据, 并根据所述第四触摸滑动数据建立第四触摸滑动变化曲线; [0156] a sixth curve establishing unit, configured to acquire fourth touch sliding data collected by the touch screen of the first Bluetooth device, and establish a fourth touch sliding change curve according to the fourth touch sliding data;
[0157] 第四判断单元, 用于判断所述第三触摸滑动变化曲线与所述第四触摸滑动变化 曲线是否相匹配; [0157] a fourth determining unit, configured to determine whether the third touch sliding change curve matches the fourth touch sliding change curve;
[0158] 第四处理单元, 用于在所述第四判断单元判断结果为否吋, 断幵与所述目标第 二蓝牙设备的连接。 [0158] 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.
[0159] 为了更好的方便理解, 本发明给出了一个第一蓝牙设备与第二蓝牙设备应用的 示例, 如图 6所示, 所述第二蓝牙设备 2置于第一蓝牙设备 1的触摸屏 11上, 所述 第二蓝牙设备 2的触摸感应点 21所在的平面与第一蓝牙设备 1的触摸屏 11所在的 平面面向同一方向, 方便用户手指可同吋接触到所述第一蓝牙设备 1的触摸屏 11 以及所述第二蓝牙设备 2的触摸感应点 21。 [0159] For better understanding, the present invention provides an example of a first Bluetooth device and a second Bluetooth device application. As shown in FIG. 6, the second Bluetooth device 2 is placed in the first Bluetooth device 1. On the touch screen 11, the plane where the touch sensing point 21 of the second Bluetooth device 2 is located is in the same direction as the plane where the touch screen 11 of the first Bluetooth device 1 is located, so that the user's finger can contact the first Bluetooth device 1 at the same time. The touch screen 11 and the touch sensing point 21 of the second Bluetooth device 2.
[0160] 在本实施例中, 当手指滑动吋所述第一蓝牙设备 1和第二蓝牙设备 2可以同吋检 测到手指的触摸滑动操作, 采集手指的触摸滑动数据, 所述触摸滑动数据反应 了手指各个吋刻的相对位置, 如果两边的手指吋间-相对位置曲线一致, 则判定 是同一个手指同吋在所述第一蓝牙设备 1的触摸屏 11以及所述第二蓝牙设备 2的 触摸感应点 21上滑动, 可以作为无线设备的选择、 绑定及认证。 [0160] In this embodiment, when the finger slides, the first Bluetooth device 1 and the second Bluetooth device 2 can detect the touch sliding operation of the finger, and collect the touch sliding data of the finger, and the touch sliding data reaction The relative position of each engraving of the finger is determined. If the inter-head-relative position curves of the two sides are identical, it is determined that the same finger is in the touch of the touch screen 11 of the first Bluetooth device 1 and the second Bluetooth device 2 Sliding on the sensing point 21 can be used as a selection, binding and authentication of the wireless device.
[0161] 其中, 所述触摸滑动操作可以是从触摸感应点 21的一端触摸滑动到另一端, 或 从一端触摸滑动到另一端重复预定次数 (如一次或两次) , 或从一端到另一端 的往复触摸滑动预定次数 (如一次或两次) 。 [0161] wherein the touch sliding operation may be a touch sliding from one end of the touch sensing point 21 to the other end, or sliding from one end to the other end for a predetermined number of times (such as one or two times), or from one end to the other end The reciprocating touch slides a predetermined number of times (such as once or twice).
[0162] 需要说明的是, 以上示例仅用于解释说明, 并不用于限定本申请的保护范围。 [0162] It should be noted that the above examples are for illustrative purposes only and are not intended to limit the scope of the present application.
所述触摸感应点 21可设置在所述第二蓝夜设备 2的至少一个边缘, 以便于用户通 过一个手指即可同吋接触到第一蓝牙设备 1的触摸屏 11以及第二蓝牙设备 2的触 摸感应点 21。 当然, 所述触摸感应点 21也可以不设置在所述第二蓝夜设备 2的边 缘, 此吋用户可通过两个手指分别同吋接触到第一蓝牙设备 1的触摸屏 11以及所 述第二蓝牙设备 2的触摸感应点 21。 The touch sensing point 21 can be disposed on at least one edge of the second blue night device 2, so that the user can simultaneously touch the touch screen 11 of the first bluetooth device 1 and the touch of the second bluetooth device 2 through one finger. Sensing point 21. Of course, the touch sensing point 21 may not be disposed at the edge of the second blue night device 2, and the user may contact the touch screen 11 of the first Bluetooth device 1 and the second by two fingers respectively. The touch sensing point 21 of the Bluetooth device 2.
[0163] 综上所述, 本发明实施例通过将第二蓝牙设备的触摸滑动变化曲线与第一蓝牙 设备的触摸滑动变化曲线进行匹配来査找目标第二蓝牙设备, 使得配对连接过 程安全、 简单、 快捷, 有效提升了用户体验。 而且, 本发明实施例在所述第一 蓝牙设备与所述目标第二蓝牙设备建立连接后, 还可以通过多种方式进一步确 认连接的安全性, 具有较强的易用性和实用性。 [0163] In summary, the embodiment of the present invention searches for the target second Bluetooth device by matching the touch sliding curve of the second Bluetooth device with the touch sliding curve of the first Bluetooth device, so that the pairing connection process is safe and simple. Fast and effective to enhance the user experience. Moreover, after the first Bluetooth device establishes a connection with the target second Bluetooth device, 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.
[0164] 所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 仅以上述各 功能单元的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配 由不同的功能单元、 模块完成, 即将所述系统的内部结构划分成不同的功能单 元或模块, 以完成以上描述的全部或者部分功能。 实施例中的各功能单元可以 集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两个或两个 以上单元集成在一个单元中, 上述集成的单元既可以采用硬件的形式实现, 也 可以采用软件功能单元的形式实现。 另外, 各功能单元的具体名称也只是为了 便于相互区分, 并不用于限制本申请的保护范围。 上述系统中单元的具体工作 过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。 [0164] It will be clearly understood by those skilled in the art that, for convenience and brevity of description, only the division of each functional unit described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed, that is, the internal structure of the system is divided into different functional units or modules to complete all or part of the functions described above. 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. , can also be implemented in the form of software functional units. In addition, the specific names of the functional units are only for the purpose of distinguishing from each other, and are not intended to limit the scope of protection of the present application. For the specific working process of the unit in the foregoing system, refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
[0165] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结合来实现 。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特定应用和设 计约束条件。 专业技术人员可以对每个特定的应用来使用不同方法来实现所描 述的功能, 但是这种实现不应认为超出本发明的范围。 [0165] Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
[0166] 在本发明所提供的实施例中, 应该理解到, 所揭露的系统和方法, 可以通过其 它的方式实现。 例如, 以上所描述的系统实施例仅仅是示意性的, 例如, 所述 单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征可以忽 略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通讯连 接可以是通过一些接口, 装置或单元的间接耦合或通讯连接, 可以是电性, 机 械或其它的形式。 [0166] In the embodiments provided by the present invention, it should be understood that the disclosed system and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative, for example, The division of units is only for one logical function division. The actual implementation may have another division manner. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual 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 an electrical, mechanical or other form.
[0167] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。 [0167] 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.
[0168] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能单元的形式 实现。 [0168] In addition, 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.
[0169] 所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用 吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实施 例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部 或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 或处理器 (processor) 执行本发明实施例各个实施例所述方法 的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (R 0M, Read-Only Memory) 、 随机存取存储器 (RAM, Random Access Memory ) 、 磁碟或者光盘等各种可以存储程序代码的介质。 [0169] 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. Based on such understanding, the technical solution of the embodiments of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage. 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 perform all or part of the steps of the methods of the various embodiments of the embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (R 0M, Read-Only Memory), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. medium.
以上所述实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述 实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进 行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明实 施例各实施例技术方案的精神和范围。 The above described embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the examples are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510557062.7 | 2015-09-02 | ||
| CN201510557062.7A CN105246024B (en) | 2015-09-02 | 2015-09-02 | The method and system of terminal device pairing connection |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017035978A1 true WO2017035978A1 (en) | 2017-03-09 |
Family
ID=55043456
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/096831 Ceased WO2017035978A1 (en) | 2015-09-02 | 2015-12-09 | Pairing connection method and system for terminal devices |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105246024B (en) |
| WO (1) | WO2017035978A1 (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105007104B (en) * | 2015-06-02 | 2017-08-29 | 深圳市文鼎创数据科技有限公司 | The method and system of terminal device pairing connection |
| CN104967970B (en) * | 2015-06-02 | 2019-02-01 | 深圳市文鼎创数据科技有限公司 | The method and system of terminal device pairing connection |
| WO2018040005A1 (en) * | 2016-08-31 | 2018-03-08 | 深圳市大疆创新科技有限公司 | Communication connection processing method, apparatus, and system |
| CN106559740A (en) * | 2016-10-13 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of mobile terminal and its control method of communication |
| CN106411961A (en) * | 2016-12-14 | 2017-02-15 | 深圳市万通顺达科技股份有限公司 | Connection method of Bluetooth traffic card |
| CN108616561B (en) * | 2017-01-03 | 2021-04-09 | 国基电子(上海)有限公司 | Data transmission method and system |
| CN106961663A (en) * | 2017-04-24 | 2017-07-18 | 维沃移动通信有限公司 | A kind of Bluetooth connecting method and device |
| CN107465997A (en) | 2017-07-28 | 2017-12-12 | 广东欧珀移动通信有限公司 | Bluetooth connecting method, device, terminal and computer-readable recording medium |
| CN109831770B (en) * | 2019-04-09 | 2022-03-25 | 惠州Tcl移动通信有限公司 | Pairing method, device, storage medium and mobile terminal of mobile terminal |
| CN112867175A (en) * | 2021-02-23 | 2021-05-28 | Oppo广东移动通信有限公司 | Device connection method, device, electronic device and storage medium |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014033350A1 (en) * | 2012-08-28 | 2014-03-06 | Nokia Corporation | Discovery method and apparatuses and system for discovery |
| CN104601204A (en) * | 2014-12-25 | 2015-05-06 | 小米科技有限责任公司 | Method and device for detecting triggering condition |
| CN104602232A (en) * | 2014-12-26 | 2015-05-06 | 广州三星通信技术研究有限公司 | Method, device and system for building communication connection between electronic devices |
| CN104811896A (en) * | 2015-04-01 | 2015-07-29 | 广东小天才科技有限公司 | Method and device for confirming low-power-consumption Bluetooth connection |
| CN104936134A (en) * | 2015-06-02 | 2015-09-23 | 深圳市文鼎创数据科技有限公司 | Method and system for pairing connection of terminal equipment |
| CN104936135A (en) * | 2015-06-02 | 2015-09-23 | 深圳市文鼎创数据科技有限公司 | Terminal device pairing connection confirmation method and system |
| CN104967970A (en) * | 2015-06-02 | 2015-10-07 | 深圳市文鼎创数据科技有限公司 | Terminal equipment pairing and connecting method and system |
| CN105007560A (en) * | 2015-06-02 | 2015-10-28 | 深圳市文鼎创数据科技有限公司 | Method and system for confirming pairing connection of terminal equipment |
| CN105007104A (en) * | 2015-06-02 | 2015-10-28 | 深圳市文鼎创数据科技有限公司 | Method and system for pairing connection of terminal equipment |
| CN105050029A (en) * | 2015-06-02 | 2015-11-11 | 深圳市文鼎创数据科技有限公司 | Pairing connection method and system of terminal equipment |
| CN105208513A (en) * | 2015-09-02 | 2015-12-30 | 深圳市文鼎创数据科技有限公司 | Terminal device pairing connection confirmation method and system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9137627B2 (en) * | 2011-12-30 | 2015-09-15 | Linkedin Corporation | Systems and methods for mobile device pairing |
| CN103687050A (en) * | 2012-08-31 | 2014-03-26 | 中兴通讯股份有限公司 | Connection method of mobile terminal and vehicle-mounted equipment, mobile terminal and vehicle-mounted connection system |
| CN104159188B (en) * | 2014-08-28 | 2018-08-14 | 吴宇 | A kind of matching method of wireless device |
-
2015
- 2015-09-02 CN CN201510557062.7A patent/CN105246024B/en not_active Expired - Fee Related
- 2015-12-09 WO PCT/CN2015/096831 patent/WO2017035978A1/en not_active Ceased
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014033350A1 (en) * | 2012-08-28 | 2014-03-06 | Nokia Corporation | Discovery method and apparatuses and system for discovery |
| CN104601204A (en) * | 2014-12-25 | 2015-05-06 | 小米科技有限责任公司 | Method and device for detecting triggering condition |
| CN104602232A (en) * | 2014-12-26 | 2015-05-06 | 广州三星通信技术研究有限公司 | Method, device and system for building communication connection between electronic devices |
| CN104811896A (en) * | 2015-04-01 | 2015-07-29 | 广东小天才科技有限公司 | Method and device for confirming low-power-consumption Bluetooth connection |
| CN104936134A (en) * | 2015-06-02 | 2015-09-23 | 深圳市文鼎创数据科技有限公司 | Method and system for pairing connection of terminal equipment |
| CN104936135A (en) * | 2015-06-02 | 2015-09-23 | 深圳市文鼎创数据科技有限公司 | Terminal device pairing connection confirmation method and system |
| CN104967970A (en) * | 2015-06-02 | 2015-10-07 | 深圳市文鼎创数据科技有限公司 | Terminal equipment pairing and connecting method and system |
| CN105007560A (en) * | 2015-06-02 | 2015-10-28 | 深圳市文鼎创数据科技有限公司 | Method and system for confirming pairing connection of terminal equipment |
| CN105007104A (en) * | 2015-06-02 | 2015-10-28 | 深圳市文鼎创数据科技有限公司 | Method and system for pairing connection of terminal equipment |
| CN105050029A (en) * | 2015-06-02 | 2015-11-11 | 深圳市文鼎创数据科技有限公司 | Pairing connection method and system of terminal equipment |
| CN105208513A (en) * | 2015-09-02 | 2015-12-30 | 深圳市文鼎创数据科技有限公司 | Terminal device pairing connection confirmation method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105246024B (en) | 2019-05-24 |
| CN105246024A (en) | 2016-01-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017035978A1 (en) | Pairing connection method and system for terminal devices | |
| WO2016192356A1 (en) | Method and system for terminal device pairing connection | |
| WO2016192350A1 (en) | Pairing connection method and system for terminal devices | |
| WO2016192357A1 (en) | Method and system for terminal device pairing connection | |
| WO2016192353A1 (en) | Method and system for terminal device pairing connection | |
| WO2017035977A1 (en) | Method and system for confirming pairing connection of terminal devices | |
| WO2016192352A1 (en) | Method and system for confirming pairing connection of terminal devices | |
| CN109891874B (en) | Panoramic shooting method and device | |
| WO2016192355A1 (en) | Method and system for confirming terminal device pairing connection | |
| EP2945136B1 (en) | Mobile terminal and method for controlling the mobile terminal | |
| EP3069255B1 (en) | Method and apparatus for connecting communication of electronic devices | |
| US20120077436A1 (en) | Method and apparatus to transfer files between two touch screen interfaces | |
| CN103607536B (en) | The control method and camera of camera | |
| US20110319016A1 (en) | Data exchange initiated by tapping devices | |
| US9961661B2 (en) | Determination of a communication object | |
| CN108701043A (en) | A display processing method and device | |
| KR20140128039A (en) | Method And Apparatus For Performing Communication Service | |
| CN107437009A (en) | Authority control method and related product | |
| CN106055209B (en) | A kind of application startup method and terminal device | |
| CN107256380A (en) | Fingerprint registration method and related products | |
| CN108052820A (en) | A kind of solution lock control method and terminal device and Related product | |
| EP3342180B1 (en) | Method of detecting external devices and electronic device for processing same | |
| WO2019019837A1 (en) | Biological identification method and related product | |
| CN107590464A (en) | Face recognition method and related products | |
| CN105930700A (en) | Data processing method, electronic terminal and data processing system |
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: 15902784 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: 15902784 Country of ref document: EP Kind code of ref document: A1 |