Method and device for pairing and synchronizing mobile equipment and Bluetooth equipment

A technology of bluetooth devices and mobile devices, applied in the field of communication, can solve problems such as lower user experience, communication failure, out-of-sync pairing, etc.

Active Publication Date: 2017-02-22
FEITIAN TECHNOLOGIES
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when the mobile device establishes communication with the BLE Bluetooth device, if the mobile device has successfully paired with the BLE Bluetooth device before, since the previous pairing information with the BLE Bluetooth device is still stored in the mobile device, it will not Re-pairing; at this time, if the previous pairing information is also stored in the BLE Bluetooth device, the mobile device and the BLE Bluetooth device are paired and synchronized, thereby successfully establishing communication; but if the previous pairing information has been deleted by the BLE Bluetooth device at this time, then Due to the out-of-sync pairing between the mobile device and the BLE Bluetooth device, the communication will fail, which will reduce the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for pairing and synchronizing mobile equipment and Bluetooth equipment
  • Method and device for pairing and synchronizing mobile equipment and Bluetooth equipment
  • Method and device for pairing and synchronizing mobile equipment and Bluetooth equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0092] Embodiment 1 of the present invention provides a method for pairing and synchronizing a mobile device with a Bluetooth device, such as figure 1 shown, including:

[0093] Step 101: Determine whether the mobile device is bound to the target Bluetooth device, if yes, execute step 102; otherwise, bind the mobile device to the target Bluetooth device, and execute step 104;

[0094] Step 102: Determine whether there is a second pairing identifier corresponding to the target Bluetooth device in the mobile device, if yes, read the second pairing identifier, and execute step 103; otherwise, unbind and re-bind the mobile device and the target Bluetooth device , execute step 104;

[0095] Step 103: According to the first pairing identifier in the broadcast data of the target Bluetooth device, judge whether there is a second pairing identifier in the target Bluetooth device, if yes, communicate with the target Bluetooth device, and end; otherwise, unbind the mobile device from th...

Embodiment 2

[0124] Embodiment 2 of the present invention provides a method for pairing and synchronizing a mobile device with a Bluetooth device, such as figure 2 shown, including:

[0125] Step 201: Determine whether the mobile device supports BLE, if yes, execute step 202; otherwise, it prompts that it does not support BLE, and ends;

[0126] In this embodiment, step 201 specifically includes:

[0127] Step 201-1: Determine whether the hardware of the mobile device supports BLE, if yes, perform step 201-2, otherwise prompt that it does not support BLE, end;

[0128] In this embodiment, judging whether the hardware of the mobile device supports BLE is specifically: calling the first function interface and judging the type of the return value. If the return value is true, then confirm that the hardware of the mobile device supports BLE; The hardware does not support BLE;

[0129] In this embodiment, the first function interface is specifically:

[0130] context.getPackageManager().ha...

Embodiment 3

[0220] Embodiment 3 of the present invention provides a device for pairing and synchronizing a mobile device with a Bluetooth device, such as image 3 shown, including:

[0221] The first judging module 301 is used to judge whether the mobile device and the target Bluetooth device have been bound;

[0222] A binding module 302, configured to bind the mobile device to the target Bluetooth device when the first judging module 301 determines that the mobile device is not bound to the target Bluetooth device;

[0223] The second judging module 303 is used to judge whether there is a second pairing identifier corresponding to the target Bluetooth device in the mobile device when the first judging module 301 judges that the mobile device and the target Bluetooth device have been bound;

[0224] The reading module 304 is used to read the second pairing identifier when the second judging module 303 judges that there is a second pairing identifier corresponding to the target Bluetooth...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for pairing and synchronizing mobile equipment and Bluetooth equipment, and relates to the communication field. The method comprises the following steps: judging whether a second pairing identifier corresponding to target Bluetooth equipment exists in the mobile equipment when judging that the mobile equipment is bound with the target Bluetooth equipment, if the second pairing identifier corresponding to target Bluetooth equipment exists in the mobile equipment, reading the second pairing identifier, and judging whether the second pairing identifier exits in the target Bluetooth equipment according to a first pairing identifier in broadcast data of the target Bluetooth equipment, if the second pairing identifier exits in the target Bluetooth equipment, communicating with the target Bluetooth equipment, and ending the pairing; otherwise, unbinding the mobile equipment and the target Bluetooth equipment, and then rebinding the same, pairing the mobile equipment with the target Bluetooth equipment, receiving the pairing identifier returned by the target Bluetooth equipment, and saving the pairing identifier in the mobile equipment as the second pairing identifier to communicate with the target Bluetooth equipment, and ending the pairing. Through the adoption of the method provided by the invention, the problem that the communication is failed since the pairing of two parties is asynchronous when establishing the communication between the mobile equipment and the Bluetooth equipment is avoided, and the usability of the Bluetooth equipment is improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for pairing and synchronizing a mobile device with a Bluetooth device. Background technique [0002] BLE (Bluetooth Low Energy, Bluetooth Low Energy) Bluetooth technology has the advantages of shortening the wireless turn-on time, quickly establishing a connection, and reducing the peak power consumption of sending and receiving; it is widely used between mobile devices such as mobile phones, laptops, and PADs, and Bluetooth devices. data transmission. [0003] In the prior art, when the mobile device establishes communication with the BLE Bluetooth device, if the mobile device has successfully paired with the BLE Bluetooth device before, since the previous pairing information with the BLE Bluetooth device is still stored in the mobile device, it will not Re-pairing; at this time, if the previous pairing information is also stored in the BLE Bluetooth device, the mo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04W4/00H04W48/16H04W76/02
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products