CN112887948A - Method and system for binding Bluetooth device - Google Patents

Method and system for binding Bluetooth device Download PDF

Info

Publication number
CN112887948A
CN112887948A CN202110056416.5A CN202110056416A CN112887948A CN 112887948 A CN112887948 A CN 112887948A CN 202110056416 A CN202110056416 A CN 202110056416A CN 112887948 A CN112887948 A CN 112887948A
Authority
CN
China
Prior art keywords
mobile device
bluetooth
private key
data
connection
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.)
Granted
Application number
CN202110056416.5A
Other languages
Chinese (zh)
Other versions
CN112887948B (en
Inventor
高茟嘉
黎光仁
林昱玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Appliances Shanghai Corp
Original Assignee
Inventec Appliances Shanghai Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Appliances Shanghai Corp filed Critical Inventec Appliances Shanghai Corp
Priority to CN202110056416.5A priority Critical patent/CN112887948B/en
Priority to TW110112078A priority patent/TWI790589B/en
Publication of CN112887948A publication Critical patent/CN112887948A/en
Application granted granted Critical
Publication of CN112887948B publication Critical patent/CN112887948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Cosmetics (AREA)
  • Package Frames And Binding Bands (AREA)

Abstract

A method for binding a Bluetooth device is used for binding at least one mobile device with the Bluetooth device. The method comprises the following steps: a first mobile device of at least one mobile device obtains a private key of a Bluetooth device and establishes a connection with the Bluetooth device; the first mobile device obtains second mobile device data of the second mobile device and transmits the private key to the second mobile device; the first mobile device writes the data of the second mobile device into a white list of the Bluetooth device; the second mobile device sends a second connection request to the Bluetooth device, wherein the second connection request comprises second mobile device data and a private key; and the Bluetooth device confirms that the private key in the second connection request is matched with the public key and establishes connection with the second mobile device according to the second mobile device data in the white list.

Description

Method and system for binding Bluetooth device
Technical Field
The present invention relates to a binding method and system, and more particularly, to a method and system for binding bluetooth devices, which can improve security.
Background
With the development of electronic technology and computer computing technology, electronic products gradually change from wired communication to wireless communication. Wireless communication is a communication method for exchanging information by using the characteristic that electromagnetic wave signals propagate in free space. Currently, common wireless communication standards include Zigbee, bluetooth, wireless broadband, Ultra Wideband (UWB), Near Field Communication (NFC), and the like. Because the wireless communication is not restricted by the physical line and the wiring man-hour and the wire expenditure can be reduced, the electronic product with the wireless communication better meets the requirements of people, and the application of the wireless communication is wider.
In current consumer electronics products with wireless communication, bluetooth communication is one of the common and common communication methods. The Bluetooth communication can be used for wireless communication and transmission among a plurality of electronic products including mobile phones, PDAs, tablet computers, wireless earphones, wireless sound boxes, intelligent watches and the like. Generally, when two bluetooth devices are paired, one bluetooth device searches for the other bluetooth device first, and the two bluetooth devices need to input the same identification code through pairing to establish a connection. However, some bluetooth electronic products do not need identification codes, and when the bluetooth device searches for the bluetooth electronic product, the bluetooth electronic product and the bluetooth electronic product can be connected. Therefore, except that the owner of the bluetooth electronic product can establish a connection with the bluetooth electronic product through the own mobile device (such as a mobile phone), all other mobile devices can search for the bluetooth electronic product and establish a connection, so that the bluetooth electronic product is used by being connected with an unknown mobile device, and the security is further reduced.
In addition, due to the improvement of life quality, the functions and the demands of people on the Bluetooth electronic products are higher and higher, so that the price of the Bluetooth electronic products is also increased. Further, due to the miniaturization trend of electronic products, bluetooth electronic products are easily lost or stolen. Although some bluetooth electronic products have identification codes, users of other mobile devices still have many ways (e.g., password cracking, resetting, etc.) to obtain the identification codes of the bluetooth electronic products, which substantially reduces security.
Therefore, it is necessary to develop a new method for binding bluetooth devices to improve security, so as to solve the problems of the prior art.
Disclosure of Invention
The present invention provides a method for binding bluetooth devices, which is used for at least one mobile device to bind bluetooth devices. The bluetooth device contains a whitelist, a private key, and a public key that matches the private key. The method for binding the Bluetooth device comprises the following steps: a first mobile device in the at least one mobile device obtains a private key of the Bluetooth device and establishes a connection with the Bluetooth device; the first mobile device obtains second mobile device data of the second mobile device and transmits the private key to the second mobile device; the first mobile device writes the data of the second mobile device into a white list of the Bluetooth device; the second mobile device sends a second connection request to the Bluetooth device, wherein the second connection request comprises second mobile device data and a private key; and the Bluetooth device confirms that the private key in the second connection request is matched with the public key and establishes connection with the second mobile device according to the second mobile device data in the white list.
Wherein, in the step of the first mobile device of the at least one mobile device obtaining the private key of the bluetooth device and establishing the connection with the bluetooth device, the method further comprises the following steps: the first mobile device obtains a private key of the Bluetooth device; the first mobile device sends a first connection request to the Bluetooth device, wherein the first connection request comprises first mobile device data and a private key; the Bluetooth device confirms whether the private key is matched with the public key and judges whether the white list contains first mobile device data of the first mobile device; and if the private key and the public key are matched and the white list contains the data of the first mobile device, establishing a connection between the Bluetooth device and the first mobile device.
Wherein, in the step of establishing a connection between the bluetooth device and the first mobile device if the private key and the public key are matched and the white list contains data of the first mobile device, the method further comprises the following steps: if the white list does not contain the data of the first mobile device, the Bluetooth device judges whether the white list is blank; and when the white list is blank, the Bluetooth device writes the data of the first mobile device into the white list and establishes a connection with the first mobile device.
Wherein the first mobile device data is a MAC address.
Wherein, the private key is a QR code.
Another aspect of the present invention is to provide a system for binding bluetooth devices, which includes a first mobile device, a second mobile device and a bluetooth device. The first mobile device has first mobile device data and a private key, and the first mobile device is configured to send the private key. The second mobile device has second mobile device data and is coupled to the first mobile device. The second mobile device is used for receiving the private key sent by the first mobile device, transmitting second mobile device data to the first mobile device, and sending a second connection request containing the second mobile device data and the private key. The Bluetooth device comprises a connecting module, a storage module and a control module. The connection module is used for connecting with the first mobile device and receiving a second connection request. The storage module contains a white list and a public key. The control module is connected with the storage module and the connecting module. The control module is used for controlling the connection module according to the white list. The first mobile device sends write-in data containing second mobile device data to the Bluetooth device, and the control module writes the second mobile device data in the write-in data into the white list. And when the control module confirms that the private key in the second connection request is matched with the public key and the white list contains the data of the second mobile device, the control module controls the connection module to establish a connection with the second mobile device.
The first mobile device sends a first connection request containing first mobile device data and a private key, and the connection module receives the first connection request. When the control module confirms that the white list contains the data of the first mobile device and the private key in the first connection request is matched with the public key, the control module controls the connection module to establish connection with the first mobile device.
The first mobile device sends a first connection request containing first mobile device data and a private key, and the connection module receives the first connection request. When the white list of the storage module is blank and the control module confirms that the private key in the first connection request is matched with the public key, the control module writes the data of the first mobile device into the white list and controls the connection module to establish connection with the first mobile device.
The first mobile device data and the second mobile device data are MAC addresses.
In summary, in the method for binding a bluetooth device of the present invention, the public and private keys of the bluetooth device and the unique data of the mobile device are used as the basis for determining the connection between the bluetooth device and the mobile device, so that the mobile device is bound to the bluetooth device in a one-to-one manner, thereby improving the security. Furthermore, the method for binding the Bluetooth device prevents other mobile devices from being randomly connected with the Bluetooth device through the authentication mechanism of the public key and the private key of the Bluetooth device, so that the safety is improved. In addition, the method for binding the Bluetooth device only uses the mobile device in the white list to edit the connection list, so as to prevent other mobile devices from being connected with the Bluetooth device, thereby reducing the risk of stealing products and improving the safety. In addition, the method for binding the Bluetooth device increases the bound device list through the mobile device bound with the Bluetooth device, so as to improve the safety.
Drawings
Exemplary embodiments thereof are described in detail by referring to the accompanying drawings. The above and other features and advantages of the present invention will become more apparent.
Fig. 1 is a flowchart illustrating steps of a method for binding bluetooth devices according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of a method for binding bluetooth devices according to an embodiment of the present invention.
Fig. 3 is a functional block diagram of a system for binding bluetooth devices according to an embodiment of the present invention.
Fig. 4 is a functional block diagram of a system for binding bluetooth devices according to an embodiment of the present invention.
[ notation ] to show
1. 2: system for binding Bluetooth device
11. 21: first moving device
12. 23: bluetooth device
121. 231: connecting module
122. 232: memory module
1221. 2321: white list
123. 233: control module
22: second moving device
S1-S11, S31, S61: step (ii) of
Detailed Description
In order that the advantages, spirit and features of the invention will be readily understood and appreciated, reference will now be made in detail to the embodiments and accompanying drawings. It is to be understood that these embodiments are merely representative of the present invention, and that the specific methods, devices, conditions, materials, etc., described herein are not intended to limit the present invention or the corresponding embodiments. It should be noted that the devices shown in the drawings are merely for illustrating the relative positions thereof and are not drawn to scale in practice, and will be described in advance.
Reference throughout this specification to the description of "a particular embodiment," "another particular embodiment," or "some embodiments," or the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments.
In various embodiments of the disclosure, the expression "or" includes any or all combinations of the words listed simultaneously. For example, the expression "a or B" may include a, may include B, or may include both a and B. In addition, the indefinite articles "a", "an" and "an" preceding an apparatus or element are not intended to limit the number of requirements (i.e., the number of occurrences) of the apparatus or element. Thus, "a" or "an" should be read to include one or at least one, and the singular form of a device or element also includes the plural form unless the number clearly indicates the singular form.
Please refer to fig. 1. Fig. 1 is a flowchart illustrating steps of a method for binding bluetooth devices according to an embodiment of the present invention. As shown in fig. 1, the method for binding bluetooth devices of the present invention is used for binding at least one mobile device to a bluetooth device. The method for binding the Bluetooth device comprises the following steps: step S1: the first mobile device obtains a private key of the Bluetooth device; step S2: the first mobile device sends a first connection request to the Bluetooth device, wherein the first connection request comprises first mobile device data and a private key; step S3: the Bluetooth device confirms whether the private key is matched with the public key stored in the Bluetooth device; if the confirmation result of the step S3 is yes, execute step S4: the Bluetooth device judges whether a white list stored in the Bluetooth device contains first mobile device data or not; if the determination result in the step S4 is yes, execute step S5: the Bluetooth device establishes a connection with the first mobile device.
In practice, the mobile device may be a smart phone, a tablet computer, or the like, and the bluetooth device may be a wireless bluetooth headset, a smart watch, a wireless stereo, or other electronic products that need to be bound. Further, the mobile device and the bluetooth device can communicate and transmit data through an application program (APP) in a wireless transmission manner. An Application (APP) may be used to control the bluetooth device and the Application (APP) may be downloaded or imported to be installed in the mobile device. After the mobile device installs the application program (APP) and binds the Bluetooth device, the user can control the Bluetooth device through the application program (APP).
In practice, the bluetooth device may store a pair of public key and private key matching with each other, and the first mobile device may obtain the private key of the bluetooth device through the application program in step S1. Taking a wireless bluetooth headset as an example, the public key is stored in the wireless bluetooth headset, the private key may be attached to a product outer box of the wireless bluetooth headset in an accessory form (such as a sticker, a small card), and the private key may be presented in a QR Code (QR Code). Therefore, the first mobile device can scan the QR code through an Application (APP) to obtain the private key of the wireless bluetooth headset. Please note that, the form and the presentation manner of the private key are not limited thereto, and the manner of obtaining the private key by the first mobile device is not limited thereto. The first mobile device can also input the product serial number of the Bluetooth device through the network to obtain the private key of the Bluetooth device.
After the first mobile device obtains the private key of the bluetooth device, in step S2, the first mobile device transmits the first mobile device data and the private key to the bluetooth device as a first connection request to bind and connect with the bluetooth device. In practice, the first Mobile device data may be a Media Access Control Address (MAC Address) of the first Mobile device, but is not limited thereto, and the first Mobile device data may also be a serial number of the Mobile device, an International Mobile Equipment Identity (IMEI) or other unique Mobile device data. The connection request may also be in the form of a packet, and the first mobile device may store the first mobile device data and the private key in the packet and transmit the packet to the bluetooth device.
After the bluetooth device receives the first connection request sent by the first mobile device, in step S3, the bluetooth device first determines whether the private key and the public key transmitted by the first mobile device are matched. If the private key transmitted by the first mobile device matches the public key of the bluetooth device, it indicates that the bluetooth device accepts the connection request sent by the first mobile device, and then the step S4 is executed.
In practice, the white list of the bluetooth device may be a connection protocol and may store the MAC address, and the bluetooth device may connect with the mobile device corresponding to the MAC address according to the MAC address in the white list. If the determination result in the step S4 is yes, that is, the white list of the bluetooth device includes the first mobile device data, then step S5 is executed: the Bluetooth device establishes a connection with the first mobile device. Therefore, the method for binding the Bluetooth device of the invention takes the public and private keys of the Bluetooth device and the MAC address of the mobile device as the judgment basis for the connection between the Bluetooth device and the mobile device, so as to bind the mobile device to the Bluetooth device.
Further, in step S3, if the private key transmitted by the first mobile device does not match the public key of the bluetooth device, step S31 is executed: the bluetooth device refuses to connect. In practice, when the private key transmitted by the first mobile device does not conform to the public key of the bluetooth device, it indicates that the private key stored in the first mobile device is not the private key of the bluetooth device. At this time, the bluetooth device does not accept the connection request sent by the first mobile device and rejects the connection of the first mobile device. Therefore, the method for binding the Bluetooth device can prevent other mobile devices from being randomly connected with the Bluetooth device through the authentication mechanism of the public key and the private key of the Bluetooth device, so as to improve the safety.
In this embodiment, in step S4, if the data in the white list of the bluetooth device does not include the first mobile device data of the first mobile device, step S6 is executed: the bluetooth device determines whether the white list is blank. If the determination result in the step S6 is yes, execute step S7: the Bluetooth device writes the data of the first mobile device into a white list and establishes a connection with the first mobile device. In practice, when the white list of the bluetooth device is blank, it indicates that the bluetooth device has not established a connection with any mobile device. That is, when the white list of the bluetooth device is blank and the bluetooth device receives the first connection request transmitted by the first mobile device, the first connection request is the connection request received by the bluetooth device for the first time. At this time, the bluetooth device writes the first mobile device data in the first connection request into the white list. Further, since the white list of the bluetooth device includes the first mobile device data of the first mobile device, the bluetooth device also establishes a connection with the first mobile device. Therefore, when the user purchases the bluetooth device and connects the mobile device with the bluetooth device for the first time, the bluetooth device can automatically take the mobile device of the user as the main connection device and bind the mobile device to the bluetooth device.
In addition, in step S6, if the white list is not blank, step S61 is executed: the bluetooth device does not allow the first mobile device to be wired. When the white list of the Bluetooth device is not blank, the Bluetooth device is indicated to be connected with other mobile devices. At this time, the bluetooth device connects to the mobile device for the mobile device data according to the mobile device data in the white list. Thus, when the white list of the bluetooth device is not blank and the data in the white list does not include the first mobile device data of the first mobile device, the bluetooth device rejects the connection of the first mobile device. In practice, when the bluetooth device is stolen or lost and another mobile device intends to connect with the bluetooth device, the other mobile device is not the device connected with the bluetooth device for the first time and the mobile device data of the other mobile device is not in the white list, so that the other mobile device cannot be connected with the bluetooth device, thereby reducing the risk of theft of the product and improving the security.
The method for binding the Bluetooth device can be used for binding the Bluetooth device by a single mobile device, and can also be used for binding one Bluetooth device by a plurality of mobile devices. Please refer to fig. 2. Fig. 2 is a flowchart illustrating steps of a method for binding bluetooth devices according to an embodiment of the present invention. Please note that, in the present embodiment, the first mobile device has bound the bluetooth device through the steps of fig. 1. Further, as shown in fig. 2, the method for binding bluetooth devices comprises the following steps: step S8: the first mobile device obtains second mobile device data of the second mobile device and transmits a private key of the Bluetooth device to the second mobile device; step S9: the first mobile device writes the data of the second mobile device into a white list of the Bluetooth device; step S10: the second mobile device sends a second connection request to the Bluetooth device, wherein the second connection request comprises second mobile device data and a private key; and step S11: and the Bluetooth device establishes a connection with the second mobile device according to the second connection request and the second mobile device data in the white list.
In practice, the second mobile device may also be a smart phone, a tablet computer, or the like, and the second mobile device may also install an application program (APP) corresponding to the bluetooth device. The second mobile device can communicate and transmit data with the first mobile device in a wireless or wired connection mode.
In step S8, the second mobile device may first transmit the second mobile device data to the first mobile device, so that the first mobile device obtains the second mobile device data. Then, the first mobile device transmits the private key of the Bluetooth device to the second mobile device. In practice, the second mobile device data may be a MAC address of the second mobile device, and the second mobile device data may convert the MAC address into the QR code through an application program (APP). And the first mobile device may scan a QR code generated by the second mobile device through an Application (APP) to obtain second mobile device data of the second mobile device. Similarly, the first mobile device may convert the private key into a QR code through an Application (APP), and the second mobile device scans the QR code generated by the first mobile device to obtain the private key of the wireless bluetooth headset. Besides the first mobile device and the second mobile device can transmit the device data and the private key to each other in the form of the QR code, the first mobile device and the second mobile device can also transmit the device data and the private key in the form of bluetooth, Wi-Fi, Zigbee, Near Field Communication (NFC), or other wireless transmission methods.
After the first mobile device obtains the second mobile device data of the second mobile device, in step S9, the first mobile device writes the second mobile device data into the white list of the bluetooth device. In practice, the first mobile device is bound with the bluetooth device, that is, the white list of the bluetooth device includes the first mobile device data of the first mobile device. At this time, the first mobile device may view and edit the white list of the bluetooth device through an application program (APP). Thus, the first mobile device may write the second mobile device data of the second mobile device into the white list of the bluetooth device.
In this embodiment, the sequence of steps S8 and S9 is not limited to this, and the first mobile device may also obtain the second mobile device data of the second mobile device, and write the second mobile device data into the white list of the bluetooth device, and then the first mobile device transmits the private key of the bluetooth device to the second mobile device.
After the second mobile device obtains the private key of the bluetooth device, in step S10, the second mobile device transmits the second mobile device data and the private key to the bluetooth device as a second connection request to be bound and connected with the bluetooth device. Since the second connection request includes the private key of the bluetooth device and the white list of the bluetooth device includes the second mobile device data, the bluetooth device and the second mobile device establish a connection in step S11. Therefore, the method for binding the Bluetooth device can increase the bound device list through the mobile device bound with the Bluetooth device so as to improve the safety.
Further, the first mobile apparatus may add the mobile apparatus data of the other mobile apparatuses to the white list according to the above steps, so that the other mobile apparatuses can establish a connection with the bluetooth apparatus. In addition, when the first mobile device writes the second mobile device data of the second mobile device into the white list and the second mobile device also establishes a connection with the bluetooth device, the second mobile device may add the mobile device data of the other mobile devices into the white list according to the above steps, so that the other mobile devices can establish a connection with the bluetooth device.
Please refer to fig. 1 and fig. 3. Fig. 3 is a functional block diagram of the system 1 for binding bluetooth devices according to an embodiment of the present invention. The steps of fig. 1 can be achieved by the system 1 of fig. 3 for binding bluetooth devices. In this embodiment, the system 1 for binding bluetooth devices includes a first mobile device 11 and a bluetooth device 12. The first mobile device 11 has first mobile device data and a private key, and is configured to send a first connection request including the first mobile device data and the private key to the bluetooth device 12. The bluetooth device 12 includes a connection module 121, a storage module 122 and a control module 123. The connection module 121 is used for receiving a first connection request sent by the first mobile apparatus 11 and establishing a connection. The memory module 122 contains a white list 1221 and the public key of the bluetooth device 12. The control module 123 is connected to the connection module 121 and the storage module 122. The control module 123 is used for controlling the connection module 121 according to the white list. When the control module 123 determines that the private key in the first connection request received by the connection module 121 matches the public key and the white list 1221 of the storage module 122 contains the first mobile device data, the control module 123 controls the connection module 121 to establish a connection with the first mobile device 11.
In practice, when the first mobile device 11 obtains the private key of the bluetooth device 12 and sends the first connection request to the bluetooth device according to the first mobile device data and the private key, the connection module 121 of the bluetooth device 12 receives the first connection request. At this time, the control module 123 of the bluetooth device 12 first determines whether the private key in the first connection request matches the public key stored in the bluetooth device 12. If the private key and the public key in the first connection request match each other, the control module 123 of the bluetooth device 12 then determines whether the white list 1221 of the storage module 122 contains the first mobile device data. When the white list 1221 of the storage module 122 also includes the first mobile device data of the first mobile device 11, the control module 123 of the bluetooth device 12 controls the connection module 121 to establish a connection with the first mobile device 11. Further, when the private key and the public key in the first connection request match each other and the white list 1221 of the storage module 122 does not contain the first mobile device data of the first mobile device 11, the control module 123 of the bluetooth device 12 further determines whether the storage module 122 is blank. If the white list 1221 of the storage module 122 is blank, the control module 123 of the bluetooth device 12 writes the first mobile device data in the first connection request into the white list 1221 of the storage module 122, and controls the connection module 121 to establish a connection with the first mobile device 11.
Please refer to fig. 2 and fig. 4. Fig. 4 is a functional block diagram of a system 2 for binding bluetooth devices according to an embodiment of the present invention. The steps of fig. 2 can be achieved by the system 1 of fig. 4 for binding bluetooth devices. In this embodiment, the system 2 for binding bluetooth devices includes a first mobile device 21, a second mobile device 22 and a bluetooth device 23. The first mobile device 21 is used to send a private key. The second mobile device 22 has second mobile device data and is coupled to the first mobile device 21. The second mobile device 22 is configured to receive the private key sent by the first mobile device 21, transmit second mobile device data to the first mobile device, and send a second connection request including the second mobile device data and the private key to the bluetooth device 23. The bluetooth device 23 includes a connection module 231, a storage module 232, a white list 2321 stored in the storage module 232, and a control module 233. The connection module 231 is used for connecting with the first mobile device and receiving the second connection request. Please note that the functions of the storage module 232, the white list 2321 and the control module 233 of the bluetooth device 23 are substantially the same as those of the units in the previous embodiment, and are not described herein again. The number of mobile devices is not limited to 2, and the number of mobile devices may be 3 or more.
When the first mobile device 21 has bound the bluetooth device 23, the first mobile device 21 may transmit the private key of the bluetooth device 23 to the second mobile device 22, and the second mobile device 22 may transmit the second mobile device data to the first mobile device 21. Then, the first mobile device 21 can create write data containing the second mobile device data and send the write data to the bluetooth device 23. When the connection module 231 of the bluetooth device 23 receives the written data, the control module 233 writes the second mobile device data in the written data into the white list 2321 of the storage module 232. Since the second connection request includes the private key of the bluetooth device 23 and the white list 2321 of the storage module 232 of the bluetooth device 23 includes the second mobile device data, when the second mobile device 22 sends the second connection request to the bluetooth device 23, the control module 233 of the bluetooth device 23 confirms that the private key in the second connection request matches the public key and the white list 2321 includes the second mobile device data, thereby controlling the connection module 231 to establish a connection with the second mobile device 22.
In summary, in the method for binding a bluetooth device of the present invention, the public and private keys of the bluetooth device and the unique data of the mobile device are used as the basis for determining the connection between the bluetooth device and the mobile device, so that the mobile device is bound to the bluetooth device in a one-to-one manner, thereby improving the security. Furthermore, the method for binding the Bluetooth device prevents other mobile devices from being randomly connected with the Bluetooth device through the authentication mechanism of the public key and the private key of the Bluetooth device, so that the safety is improved. In addition, the method for binding the Bluetooth device only uses the mobile device in the white list to edit the connection list, so as to prevent other mobile devices from being connected with the Bluetooth device, thereby reducing the risk of stealing products and improving the safety. In addition, the method for binding the Bluetooth device increases the bound device list through the mobile device bound with the Bluetooth device, so as to improve the safety.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
The above detailed description of the preferred embodiments is intended to more clearly illustrate the features and spirit of the present invention, and is not intended to limit the scope of the present invention by the preferred embodiments disclosed above. On the contrary, it is intended to cover various modifications and equivalent arrangements included within the scope of the claims. The scope of the claims is thus to be accorded the broadest interpretation so as to encompass all such modifications and equivalent arrangements as is within the scope of the appended claims.

Claims (10)

1. A method for binding a Bluetooth device, wherein the Bluetooth device comprises a white list, a private key and a public key matching the private key, the method comprising:
a first mobile device of the at least one mobile device obtains the private key of the Bluetooth device and establishes a connection with the Bluetooth device;
the first mobile device obtains second mobile device data of a second mobile device and transmits the private key to the second mobile device;
the first mobile device writes the second mobile device data into the white list of the Bluetooth device;
the second mobile device sends a second connection request to the Bluetooth device, wherein the second connection request comprises second mobile device data and the private key; and
the bluetooth device confirms that the private key in the second connection request is matched with the public key and establishes connection with the second mobile device according to the second mobile device data in the white list.
2. The method of claim 1, wherein the step of the first mobile device of the at least one mobile device obtaining the private key of the bluetooth device and establishing a connection with the bluetooth device further comprises the steps of:
the first mobile device obtains the private key of the Bluetooth device;
the first mobile device sends a first connection request to the Bluetooth device, wherein the first connection request comprises first mobile device data and the private key;
the Bluetooth device determines whether the private key is matched with the public key and judges whether the white list contains first mobile device data of the first mobile device; and
if the private key and the public key are matched and the white list contains the data of the first mobile device, the Bluetooth device establishes a connection with the first mobile device.
3. The method of claim 2, wherein if the private key and the public key match each other and the white list contains the first mobile device data, the step of the bluetooth device establishing a connection with the first mobile device further comprises the steps of:
if the white list does not contain the data of the first mobile device, the Bluetooth device judges whether the white list is blank; and
and when the white list is blank, the Bluetooth device writes the data of the first mobile device into the white list and establishes a connection with the first mobile device.
4. The method of claim 1 wherein the first mobile device data is a MAC address.
5. The method of claim 1, wherein the private key is a QR code.
6. A system for binding bluetooth devices, comprising:
a first mobile device having a first mobile device data and a private key, the first mobile device configured to send the private key;
a second mobile device having a second mobile device data and coupled to the first mobile device, the second mobile device configured to receive the private key sent by the first mobile device and transmit the second device data to the first mobile device, and send a second connection request including the second mobile device data and the private key; and
a bluetooth device, comprising:
a connection module for connecting with the first mobile device and receiving the second connection request;
a storage module, which contains a white list and a public key; and
the control module is connected with the storage module and the connection module and is used for controlling the connection module according to the white list;
the first mobile device is used for sending write-in data containing the second mobile device data to the Bluetooth device, the control module writes the second mobile device data in the write-in data into the white list, and when the control module confirms that the private key in the second connection request is matched with the public key and the white list contains the second mobile device data, the control module controls the connection module to establish connection with the second mobile device.
7. The system of claim 6, wherein the first mobile device sends a first connection request including the first mobile device data and the private key and the connection module receives the first connection request, and the control module controls the connection module to establish a connection with the first mobile device when the control module determines that the white list includes the first mobile device data and that the private key in the first connection request matches the public key.
8. The system of claim 6, wherein the first mobile device sends a first attach request including the first mobile device data and private key and the attach module receives the first attach request, and the control module writes the first mobile device data to the white list and controls the attach module to attach to the first mobile device when the white list is blank and the control module confirms that the private key in the first attach request matches the public key.
9. The system of claim 6 wherein the first mobile device data and the second mobile device data are MAC addresses.
10. The system of claim 6, wherein the private key is a QR code.
CN202110056416.5A 2021-01-15 2021-01-15 Method and system for binding Bluetooth device Active CN112887948B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110056416.5A CN112887948B (en) 2021-01-15 2021-01-15 Method and system for binding Bluetooth device
TW110112078A TWI790589B (en) 2021-01-15 2021-04-01 Bluetooth device binding method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110056416.5A CN112887948B (en) 2021-01-15 2021-01-15 Method and system for binding Bluetooth device

Publications (2)

Publication Number Publication Date
CN112887948A true CN112887948A (en) 2021-06-01
CN112887948B CN112887948B (en) 2023-04-18

Family

ID=76048320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110056416.5A Active CN112887948B (en) 2021-01-15 2021-01-15 Method and system for binding Bluetooth device

Country Status (2)

Country Link
CN (1) CN112887948B (en)
TW (1) TWI790589B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894627A (en) * 2016-03-30 2016-08-24 北京千丁互联科技有限公司 Bluetooth access control equipment and bluetooth access control management system and method
US20170289735A1 (en) * 2016-03-31 2017-10-05 Indrajith Rajapaksa Point-and-connect bluetooth pairing
CN109769240A (en) * 2019-03-12 2019-05-17 百度在线网络技术(北京)有限公司 Bluetooth connecting method, device and system
CN109951893A (en) * 2019-03-21 2019-06-28 青岛海信电器股份有限公司 A kind of terminal device awakening method and device
CN110266474A (en) * 2019-05-15 2019-09-20 亚信科技(成都)有限公司 Key sending method, apparatus and system
CN110602676A (en) * 2019-09-09 2019-12-20 飞天诚信科技股份有限公司 Method for preventing hardware wallet from being maliciously paired
CN111447601A (en) * 2020-04-07 2020-07-24 北京四维智联科技有限公司 Method and device for realizing automobile Bluetooth key

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI250452B (en) * 2004-08-19 2006-03-01 Inventec Appliances Corp Method to block Internet advertisement
US8554141B2 (en) * 2010-06-24 2013-10-08 Broadcom Corporation Method and system for multi-stage device filtering in a bluetooth low energy device
CA3058013C (en) * 2019-03-29 2021-04-27 Alibaba Group Holding Limited Managing sensitive data elements in a blockchain network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894627A (en) * 2016-03-30 2016-08-24 北京千丁互联科技有限公司 Bluetooth access control equipment and bluetooth access control management system and method
US20170289735A1 (en) * 2016-03-31 2017-10-05 Indrajith Rajapaksa Point-and-connect bluetooth pairing
CN109769240A (en) * 2019-03-12 2019-05-17 百度在线网络技术(北京)有限公司 Bluetooth connecting method, device and system
CN109951893A (en) * 2019-03-21 2019-06-28 青岛海信电器股份有限公司 A kind of terminal device awakening method and device
CN110266474A (en) * 2019-05-15 2019-09-20 亚信科技(成都)有限公司 Key sending method, apparatus and system
CN110602676A (en) * 2019-09-09 2019-12-20 飞天诚信科技股份有限公司 Method for preventing hardware wallet from being maliciously paired
CN111447601A (en) * 2020-04-07 2020-07-24 北京四维智联科技有限公司 Method and device for realizing automobile Bluetooth key

Also Published As

Publication number Publication date
CN112887948B (en) 2023-04-18
TW202231037A (en) 2022-08-01
TWI790589B (en) 2023-01-21

Similar Documents

Publication Publication Date Title
US9241237B2 (en) Device with an EEPROM having both a near field communication interface and a second interface
CN103222291B (en) Electronic equipment, NFC controller and application method for configuring route
CN105992306B (en) Binding method of terminal and home gateway
US9344154B2 (en) Near field communication system in a local network
US20070123165A1 (en) Methods, systems and devices for assisted discovery in bluetooth enabled devices
US20090174525A1 (en) Communication system and communication method
KR102632548B1 (en) Method for uwb transaction and electronic device therefor
US20100099356A1 (en) Wireless self-service terminal audio lead through
KR20200045367A (en) Electronic device using a bluetooth communication and method of operating the same
JP2002076977A (en) Radio communication module
CN105281809A (en) Auxiliary bluetooth low-power-consumption equipment pairing method and system
KR20200028809A (en) Method for uwb transaction and electronic device therefor
KR101392571B1 (en) Near Field Communication Interface Control
CN112887948B (en) Method and system for binding Bluetooth device
US7814212B1 (en) Data delivery system using local and remote communications
KR20130124049A (en) Vehicle communication device for connecting a short distance radio communication device and method thereof
KR20210039109A (en) Electronic device for transmitting/receiving data and method thereof
JP2007116319A (en) Communication system, network management server, wireless terminal, and program
CN113301542B (en) Pairing connection method and device, storage medium and electronic equipment
KR101387853B1 (en) Method and Apparatus for serching bluetooth device
US9426803B2 (en) Base station, method for controlling base station, and information processing system
KR100936530B1 (en) Network device and method for sharing authorization information
CA2554325C (en) Controlling visibility of a wireless device in discoverable mode
CN111107545A (en) Account synchronization method, medium and terminal based on NFC
EP2658213A1 (en) Method and system for communicating data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant