Bluetooth positioning method and system and bluetooth device

By binding devices in the positioning APP and using Bluetooth signals for positioning, the problem of lack of positioning solutions for low-cost IoT devices is solved, and a decentralized Bluetooth positioning solution is realized, which is suitable for a variety of scenarios and reduces hardware costs and energy consumption.

WO2025123946A1PCT designated stage expired Publication Date: 2025-06-19ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/127008
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-14
Filing Date
2024-10-24
Publication Date
2025-06-19

AI Technical Summary

Technical Problem

Among existing IoT devices, low-cost devices equipped with Bluetooth modules lack effective positioning solutions, resulting in the inability to achieve accurate positioning.

Method used

By binding the first device to at least one second device in the positioning APP, positioning using Bluetooth signals, obtaining location information and uploading it to the distributed storage center, the user obtains location information from the storage center through the APP server to realize positioning.

Benefits of technology

It provides a decentralized Bluetooth positioning solution, which is suitable for a variety of scenarios, and can effectively locate devices equipped with only Bluetooth modules, reducing hardware costs and energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024127008_19062025_PF_FP_ABST
    Figure CN2024127008_19062025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in embodiments of the present application is a Bluetooth positioning method, comprising: binding at least one second device in a positioning APP of a first device; the second device broadcasts a Bluetooth signal; in response to the scanned Bluetooth signal, the first device performs positioning to obtain location information; the first device uploads the location information to a distributed storage center; and in response to a search operation of a user on the second device in the positioning APP, the positioning APP obtains the location information from the distributed storage center by means of an APP server, and uses the location information as the location information of the second device. The present method provides an open positioning solution, which is not limited to a specific terminal or APP, so that the Bluetooth positioning method can be applicable to more scenarios. The system and the device in the embodiments of the present application also have the described beneficial effect.
Need to check novelty before this filing date? Find Prior Art

Description

Bluetooth positioning method, system and Bluetooth device Technical Field

[0001] The present invention relates to the field of communications, and in particular to a Bluetooth positioning method, system and Bluetooth device. Background Art

[0002] The common positioning solution for current IoT devices integrates GPS and network modules, with the GPS module performing positioning and the network module reporting data. Due to the high hardware cost, high energy consumption, and network bandwidth requirements of both modules, they are primarily used on more expensive devices. Low-cost devices equipped only with Bluetooth modules lack effective positioning solutions due to their lack of positioning capabilities.

[0003] Summary of the Invention

[0004] One or more embodiments of this specification provide a Bluetooth positioning method, system, and Bluetooth device, which can provide an effective positioning solution for devices equipped only with a Bluetooth module.

[0005] In a first aspect, a Bluetooth positioning method is provided, including: binding a first device and at least one second device in a positioning APP; the positioning APP is installed on the first device; the second device broadcasts a Bluetooth signal; in response to scanning the Bluetooth signal, the first device performs positioning and obtains location information; the first device uploads the location information to a distributed storage center; in response to a user's search operation for the second device in the positioning APP, the positioning APP obtains the location information from the distributed storage center through the APP server, and uses the location information as the location information of the second device.

[0006] In one possible implementation, a first device is bound to at least one second device in a positioning APP, specifically including: Bluetooth pairing of the first device and the second device; after successful pairing, the positioning APP generates a matching public key and private key; the positioning APP stores the private key in the first device and sends the public key to the second device through the first device; the second device stores the public key.

[0007] In a possible implementation, the Bluetooth signal may include the device identification of the second device and the public key.

[0008] In one possible implementation, the first device uploads the location information to a distributed storage center, specifically including: the first device encrypts the location information using the public key carried in the Bluetooth signal to obtain first encrypted information; the first device uploads the first encrypted information to a device server; the device server uses the encryption key to perform a secondary encryption on the first encrypted information to obtain second encrypted information; and the device server uploads the second encrypted information to the distributed storage center.

[0009] Correspondingly, the positioning APP obtains the location information from the distributed storage center through the APP server, specifically including: the positioning APP sends a query request to the APP server; the APP server queries the second encrypted information in the distributed storage center in response to the query request; the APP server sends the second encrypted information to the device server; the device server uses the decryption key to decrypt the second encrypted information and returns the obtained first encrypted information to the APP server; the APP server sends the first encrypted information to the positioning APP; the positioning APP uses the private key stored on the first device to decrypt the first encrypted information to obtain the location information.

[0010] Exemplarily, the APP server queries the distributed storage center for the second encrypted information in response to the query request, specifically including: the APP server queries the distributed storage center for the second encrypted information based on the public key.

[0011] In one possible implementation, the first device uploads the location information to a distributed storage center, specifically including: the first device encrypts the location information using the public key carried in the Bluetooth signal to obtain first encrypted information; the first device uses the encryption key of the device server to perform secondary encryption on the first encrypted information to obtain second encrypted information; the first device uploads the second encrypted information to the distributed storage center.

[0012] Correspondingly, the positioning APP obtains the location information from the distributed storage center through the APP server, specifically including: the positioning APP sends a query request to the APP server; the APP server queries the second encrypted information in the distributed storage center in response to the query request; the APP server sends the second encrypted information to the device server; the device server uses the decryption key to decrypt the second encrypted information and returns the obtained first encrypted information to the APP server; the APP server sends the first encrypted information to the positioning APP; the positioning APP uses the private key stored on the first device to decrypt the first encrypted information to obtain the location information.

[0013] Exemplarily, the APP server queries the distributed storage center for the second encrypted information in response to the query request, specifically including: the APP server queries the distributed storage center for the second encrypted information based on the public key.

[0014] In a possible implementation, after binding the first device and the at least one second device in the positioning APP, the method further includes: displaying the at least one second device bound to the first device on the device management interface of the positioning APP.

[0015] In a second aspect, a Bluetooth device is provided, comprising: a processor and a communication interface; the communication interface is used for the Bluetooth device to exchange information with other Bluetooth devices; when program instructions are executed in the at least one processor, the Bluetooth device acts as a first device to interact with the other Bluetooth devices to implement the Bluetooth positioning method.

[0016] In a third aspect, a Bluetooth positioning system is provided, including a distributed storage center, a first device and at least one second device, wherein a positioning APP is installed on the first device; the first device and the second device interact with each other via Bluetooth to implement the Bluetooth positioning method.

[0017] The beneficial effect of the Bluetooth positioning method described in one or more embodiments of this specification is that it provides a decentralized Bluetooth positioning solution, so that the entire solution is not limited to a specific terminal or APP. The Bluetooth device to be located can be an independent hardware device or integrated into the hardware of an existing item as a functional module, thereby enabling the Bluetooth positioning method to be applicable to more scenarios.

[0018] The Bluetooth positioning system and Bluetooth device described in the embodiments of this specification also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of this specification or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] FIG1 is a schematic flow chart of a Bluetooth positioning method according to some embodiments of the present application.

[0021] FIG2 is a schematic diagram of a Bluetooth positioning system according to some embodiments of the present application.

[0022] FIG3 is a flow chart of a Bluetooth positioning method implemented based on the Bluetooth positioning system shown in FIG2 according to some embodiments of the present application.

[0023] FIG4 is a schematic diagram of a Bluetooth positioning system according to some other embodiments of the present application.

[0024] FIG5 is a flow chart of a Bluetooth positioning method implemented based on the Bluetooth positioning system shown in FIG4 according to some embodiments of the present application.

[0025] FIG6 is a schematic structural diagram of a Bluetooth device according to some embodiments of the present application. DETAILED DESCRIPTION

[0026] The common positioning solution currently used by IoT devices integrates GPS and network modules, with the GPS module performing positioning and the network module reporting data. Due to the high hardware cost, high energy consumption, and network bandwidth requirements of both modules, these solutions are primarily used on higher-priced devices such as mobile phones, smartwatches, and four-wheeled vehicles. Low-cost devices equipped solely with Bluetooth modules, such as electric vehicles with integrated Bluetooth digital keys, lack effective positioning solutions due to their lack of positioning capabilities.

[0027] In view of this, one or more embodiments of this specification propose a Bluetooth positioning method, system and Bluetooth device, aiming to provide an efficient and accurate positioning solution for devices with Bluetooth functions, especially devices equipped with only a Bluetooth module.

[0028] To help those skilled in the art better understand the technical solutions in this specification, the following will provide a clear and complete description of the technical solutions in the embodiments of this specification, in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative work should fall within the scope of protection of this specification.

[0029] It should be noted that in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than those described in this specification. In addition, a single step described in this specification may be broken down into multiple steps for description in other embodiments, and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0030] Those skilled in the art will appreciate that the terms used in the embodiments of the present invention are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The singular forms "a," "an," "the," and "the" used in the embodiments of the present invention and the appended claims are intended to include the plural forms, unless the context clearly indicates otherwise.

[0031] One or more embodiments of the present invention provide a Bluetooth positioning method (hereinafter referred to as the positioning method). Please refer to Figure 1, which exemplarily shows a flow chart of the Bluetooth positioning method. The flow of the positioning method includes steps S100 to S108:

[0032] S100: Binding a first device and at least one second device in a positioning APP.

[0033] Among them, the first device has a Bluetooth function and a positioning function, and the positioning APP is installed in the first device. Specifically, the first device can be an electronic device that integrates a Bluetooth module with a Bluetooth function and a positioning module with a positioning function. For example, the first device can be a smart phone, a terminal device in an industrial computer, a tablet computer, a wearable device, etc. The electronic device can run the positioning APP and display the user interaction interface of the positioning APP (such as the device management interface). The user can search for the location of the bound second device through the user interaction interface of the positioning APP. For example, the bound second device is displayed in the device management interface. The user can click the search button of each second device to search for the location of the second device. The found location information can be displayed on the device management interface and correspond one-to-one with the second device.

[0034] The second device has at least Bluetooth function. It can be an independent hardware device with Bluetooth function, such as a Bluetooth tag, or a device integrated with a Bluetooth module with Bluetooth function, such as a Bluetooth headset, a car terminal integrated with a Bluetooth module, a digital car key integrated with a Bluetooth module, etc.

[0035] The first device and the second device may have a one-to-one correspondence or a one-to-many relationship, that is, the first device may be bound to only one second device or multiple second devices, which is not limited in this embodiment.

[0036] In some feasible implementations, the specific process of binding the first device with at least one second device may include the following steps:

[0037] First, pair the first device with the second device via Bluetooth. After successful pairing, the location app generates matching public and private keys. The location app stores the private key on the first device and sends the public key to the second device via the first device, which then stores the public key.

[0038] Specifically, during the Bluetooth pairing and key distribution process, the second device and the first device can be paired and bound using the BLE protocol, which includes three stages:

[0039] Phase 1: The first device and the second device need to exchange pairing characteristics to obtain a temporary key TK.

[0040] Phase 2: The first device and the second device perform identity authentication using the temporary key TK. After authentication is completed, they are paired through the Security Management Protocol (SMP) and generate a short-term key STK.

[0041] Phase 3: The first and second devices communicate securely using the short-term key (STK) and negotiate a long-term key. For example, the location app can use an elliptic algorithm to generate public and private keys based on the short-term key (STK).

[0042] It should be noted that the public key of the second device should be unique, that is, each second device has a public key that is different from other second devices, and the first device stores the private key of each second device.

[0043] S102: The second device broadcasts a Bluetooth signal.

[0044] In some feasible implementations, to ensure the confidentiality of user data privacy, the second device may carry a public key when broadcasting. Specifically, the Bluetooth signal broadcast by the second device may include the device identification and public key information of the second device.

[0045] For example, the second device can broadcast public key information and device identification (such as manufacturer and device type) using the BLE protocol. The public key is 28 bytes long, while the maximum length of a Bluetooth broadcast packet is 31 bytes, and the broadcast requires 4 bytes to identify the manufacturer and type. Considering that the broadcast packet is not long enough, the second device can generate a MAC address from the first six bytes of the public key when broadcasting, and the remaining 22 bytes, together with device identification information such as manufacturer and device type, form the broadcast signal.

[0046] S104: In response to scanning the Bluetooth signal, the first device performs positioning to obtain location information.

[0047] When the first device scans a Bluetooth signal, it can determine whether the Bluetooth signal comes from the bound second device based on the device identifier carried in the Bluetooth signal. If so, the first device locates its own position through the positioning module on its own end to obtain location information. The positioning module can be a GPS module.

[0048] S106: The first device uploads the location information to the distributed storage center.

[0049] A distributed storage center is a device cluster composed of multiple storage servers. In the distributed storage center, location information can be stored in the form of key-value pairs, that is, when the first device stores the location information in the distributed storage center, the location information data is stored in the form of key-value. Among them, the key can be used to indicate the device identifier of the sender of the Bluetooth signal that triggers the first device to obtain the location information, that is, the device identifier of the corresponding second device, and the value is used to indicate the location information or to indicate the storage location of the location information in the storage table of the distributed storage center. In addition to the storage form of key-value pairs, location information can also be stored in other forms in the distributed storage center, and this embodiment does not limit this.

[0050] It should be understood that the location information stored in the distributed storage center should have a unique index. The positioning server of the positioning app can retrieve the corresponding location information in the distributed storage center based on the index. The index can be retrieved based on the unique identifier of the second device. For example, a hash algorithm can be used to map the public key of the second device or part of the public key information to the index. In this way, during retrieval, the corresponding location information can be retrieved based on the public key information of the second device.

[0051] S108: In response to the user's search operation for the second device in the positioning APP, the positioning APP obtains location information from the distributed storage center through the APP server, and uses the location information as the location information of the second device.

[0052] After the second device is bound, the second device bound to the first device can be displayed in the device management interface of the positioning app of the first device. The user can select the second device to be located from the device management interface to trigger the first device to locate it.

[0053] Specifically, when the user selects the second device to be located on the device management interface, the positioning APP generates a query request and sends the query request to the APP server. The query request can carry the unique identifier of the second device, so that the APP server can retrieve the corresponding location information from the distributed storage center based on the unique identifier.

[0054] The location information retrieved by the APP server is actually the location information of the first device. However, considering that the communication distance of Bluetooth communication is very short, when the first device scans the Bluetooth signal emitted by the second device, the second device must maintain a very limited distance from the first device. Therefore, the location information of the first device at this time can be used to roughly represent the location information of the second device.

[0055] The APP server can send the location information to the positioning APP so that the positioning APP displays the location information to the user.

[0056] The above positioning method provides a decentralized Bluetooth positioning solution, so that the entire solution is not limited to a specific terminal or APP. The Bluetooth device to be located can be an independent hardware device or integrated into the hardware of an existing item as a functional module, thereby enabling the Bluetooth positioning method to be applied to more scenarios.

[0057] The above positioning method will be further explained below in conjunction with specific application scenarios.

[0058] Please refer to Figure 2, which shows a Bluetooth positioning system that can be used to implement the Bluetooth positioning method. It should be noted that the Bluetooth positioning method described in one or more embodiments of the present application can be implemented by relying on the Bluetooth positioning system shown in Figure 2, but is not limited to the Bluetooth positioning system.

[0059] As shown in Figure 2, the Bluetooth positioning system includes a first device 20, a second device 21, a distributed storage center 22, a device server 23, and an APP server 24. A connection is established between the first device 20 and the second device 21 via Bluetooth. Connections are established between the first device 20 and the device server 23, between the device server 23 and the distributed storage center 22, between the device server 23 and the APP server, and between the distributed storage center 22 and the APP server 24 via a communication link 25.

[0060] The first device 20 can be implemented using, for example but not limited to, smart phones, notebooks, iPads, etc. A positioning APP is installed in the first device 20 to provide the user with an interactive interface for the Bluetooth positioning method.

[0061] The second device 21 may be an independent hardware device with Bluetooth function, or a Bluetooth module integrated in a device, such as a Bluetooth AP.

[0062] Device server 23 is a server provided by the manufacturer of first device 20. It can be any device, equipment, platform, or device cluster with computing and processing capabilities. In this embodiment, the implementation form of device server 23 is not limited. For example, device server 23 can be a single server or a server cluster composed of multiple servers. Device server 23 can also be a cloud server, also known as a cloud computing server or cloud host, which is a host product in a cloud computing service system.

[0063] APP server 24 is a server provided by the service provider that locates the App. Similarly, APP server 24 can be any device, equipment, platform, or device cluster with computing and processing capabilities. In this embodiment, the implementation of APP server 24 is not limited. For example, APP server 24 can be a single server or a server cluster consisting of multiple servers. APP server 24 can also be a cloud server, also known as a cloud computing server or cloud host, which is a host product in a cloud computing service system.

[0064] The communication link 25 can be implemented by setting a communication interface on the first device 20, the distributed storage center 22, the device server 23 and the APP server 24. The communication interface can use a transceiver module such as, but not limited to, a network interface card or a transceiver to realize communication between the first device 20, the distributed storage center 22, the device server 23 and the APP server 24.

[0065] Please refer to FIG3 , which shows a process of a Bluetooth positioning method implemented based on the Bluetooth positioning system shown in FIG2 , including steps S300 to S316 :

[0066] S300: Bind at least one second device 21 in the positioning APP of the first device 20.

[0067] Specifically, the binding process between the first device 20 and the second device 21 is as follows: the first device 20 and the second device 21 are paired via Bluetooth; after successful pairing, the positioning APP generates matching public and private keys; the positioning APP stores the private key in the first device 20 and sends the public key to the second device 21 through the first device 20; the second device 21 stores the public key.

[0068] S302: The second device 21 broadcasts a Bluetooth signal.

[0069] After obtaining the public key, the second device 21 broadcasts a Bluetooth signal, which includes the device identification and the public key of the second device 21.

[0070] S304: In response to scanning the Bluetooth signal, the first device 20 performs positioning and obtains location information.

[0071] After scanning the Bluetooth signal, the first device 20 can determine whether the Bluetooth signal comes from the bound second device 21 based on the device identifier carried in the Bluetooth signal. If so, the first device 20 performs positioning to obtain its own current location information.

[0072] S306 : The first device 20 encrypts the location information using the public key carried in the Bluetooth signal to obtain first encrypted information, and uploads the first encrypted information to the device server 23 .

[0073] S308 : The device server 23 uses the encryption key to perform secondary encryption on the first encrypted information to obtain second encrypted information, and uploads the second encrypted information to the distributed storage center 22 .

[0074] The device server 23 may pre-store an encryption key and a decryption key, or may be equipped with a key generating device to generate an encryption key and a decryption key each time after obtaining the first encrypted information.

[0075] The device server 23 may encrypt the first encrypted information using a pre-stored encryption key or an encryption key generated in real time to obtain the second encrypted information.

[0076] The device server 23 uploads the second encrypted information to the distributed storage center 22. The distributed storage center 22 can store the second encrypted information and construct an index. The index can be associated with the public key corresponding to the second encrypted information, so that during subsequent retrieval, the second encrypted information can be retrieved based on the public key of the second device 21. For example, the index can be a unique code mapped from all or part of the public key information.

[0077] S310 : In response to the user's search operation for the second device 21 in the positioning APP, the positioning APP obtains the second encrypted information from the distributed storage center 22 through the APP server 24 .

[0078] Specifically, the positioning APP sends a query request to the APP server 24 based on the user's search operation; the APP server 24 responds to the query request and queries the second encrypted information in the distributed storage center 22.

[0079] In some feasible implementations, the index of the second encrypted information in the distributed storage center 22 is generated by the public key of the corresponding second device 21. Therefore, the APP server 24 can query the second encrypted information in the distributed storage center 22 based on the public key of the second device 21.

[0080] S312: The APP server 24 sends the second encrypted information to the device server 23 for decryption, and obtains the first encrypted information returned by the device server 23.

[0081] Since the second encrypted information is encrypted by the device server 23 using the encryption key, the device server 23 can use the matching decryption key to decrypt the second encrypted information to obtain the first encrypted information, and then return the obtained first encrypted information to the APP server 24.

[0082] S314: The APP server 24 sends the first encrypted information to the positioning APP.

[0083] S316: The positioning APP uses the private key stored on the first device 20 to decrypt the first encrypted information to obtain the location information.

[0084] The first device 20 stores a private key that matches the public key carried in the Bluetooth signal. The first encrypted information encrypted by the public key can be decrypted using the private key to obtain the location information.

[0085] After the positioning APP obtains the location information, it can display the location information in the device management interface.

[0086] Please refer to Figure 4, which shows another Bluetooth positioning system that can be used to implement the Bluetooth positioning method. It should be noted that the Bluetooth positioning method described in one or more embodiments of the present application can be implemented by relying on the Bluetooth positioning system shown in Figure 4, but is not limited to the Bluetooth positioning system.

[0087] As shown in Figure 4, the Bluetooth positioning system includes a first device 40, a second device 41, a distributed storage center 42, a device server 43, and an APP server 44. A connection is established between the first device 40 and the second device 41 via Bluetooth. Connections are established between the first device 40 and the device server 43, between the first device 40 and the distributed storage center 42, between the device server 43 and the APP server, and between the distributed storage center 42 and the APP server 44 via a communication link 45.

[0088] The first device 40 can be implemented using, for example but not limited to, smart phones, notebooks, iPads, etc. A positioning APP is installed in the first device 40 to provide the user with an interactive interface for the Bluetooth positioning method.

[0089] The second device 41 may be an independent hardware device with Bluetooth function, or a Bluetooth module integrated in a device, such as a Bluetooth AP.

[0090] Device server 43 is a server provided by the manufacturer of first device 40. It can be any device, equipment, platform, or device cluster with computing and processing capabilities. In this embodiment, the implementation form of device server 43 is not limited. For example, device server 43 can be a single server or a server cluster composed of multiple servers. Device server 43 can also be a cloud server, also known as a cloud computing server or cloud host, which is a host product in a cloud computing service system.

[0091] APP server 44 is a server provided by the service provider that locates the App. Similarly, APP server 44 can be any device, equipment, platform, or device cluster with computing and processing capabilities. In this embodiment, the implementation of APP server 44 is not limited. For example, APP server 44 can be a single server or a server cluster consisting of multiple servers. APP server 44 can also be a cloud server, also known as a cloud computing server or cloud host, which is a host product in a cloud computing service system.

[0092] The communication link 45 can be implemented by setting a communication interface on the first device 40, the distributed storage center 42, the device server 43 and the APP server 44. The communication interface can use a transceiver module such as, but not limited to, a network interface card or a transceiver to realize communication between the first device 40, the distributed storage center 42, the device server 43 and the APP server 44.

[0093] Please refer to FIG5 , which shows a process of a Bluetooth positioning method implemented based on the Bluetooth positioning system shown in FIG4 , including steps S500 to S514 :

[0094] S500: Bind at least one second device 41 in the positioning APP of the first device 40.

[0095] Specifically, the binding process between the first device 40 and the second device 41 is as follows: the first device 40 and the second device 41 are paired via Bluetooth; after successful pairing, the positioning APP generates matching public and private keys; the positioning APP stores the private key in the first device 40 and sends the public key to the second device 41 through the first device 40; the second device 41 stores the public key.

[0096] S502: The second device 41 broadcasts a Bluetooth signal.

[0097] After obtaining the public key, the second device 41 broadcasts a Bluetooth signal including the device identification and the public key of the second device 41 .

[0098] S504: In response to scanning the Bluetooth signal, the first device 40 performs positioning to obtain location information.

[0099] After scanning the Bluetooth signal, the first device 40 can determine whether the Bluetooth signal comes from the bound second device 41 based on the device identifier carried in the Bluetooth signal. If so, the first device 40 performs positioning to obtain its own current location information.

[0100] S506: The first device 40 encrypts the location information and uploads it to the distributed storage center 42.

[0101] Specifically, the first device 40 may encrypt the location information twice. The first encryption step may utilize the public key carried in the Bluetooth signal to encrypt the location information, thereby obtaining first encrypted information. The second encryption step may utilize the encryption key of the device server 43 to encrypt the first encrypted information again, thereby obtaining second encrypted information.

[0102] The first device 40 may pre-store an encryption key of the device server 43, and the corresponding decryption key may be stored in the device server 43. After obtaining the location information, the first device 40 may also request the device server 43 to obtain the encryption key in real time. The device server 43 may issue the encryption key to the first device 40 according to the request and store the corresponding decryption key.

[0103] The first device 40 uploads the second encrypted information to the distributed storage center 42. The distributed storage center 42 can store the second encrypted information and construct an index. The index can be associated with the public key corresponding to the second encrypted information, so that during subsequent retrieval, the second encrypted information can be retrieved based on the public key of the second device 41. For example, the index can be a unique code mapped from all or part of the public key information.

[0104] S508 : In response to the user's search operation for the second device 41 in the positioning APP, the positioning APP obtains the encrypted location information from the distributed storage center 42 through the APP server 44 .

[0105] Specifically, the positioning APP sends a query request to the APP server 44 based on the user's search operation; the APP server 44 responds to the query request and queries the second encrypted information in the distributed storage center 42.

[0106] In some feasible implementations, the index of the second encrypted information in the distributed storage center 42 is generated by the public key of the corresponding second device 41. Therefore, the APP server 44 can query the second encrypted information in the distributed storage center 42 based on the public key of the second device 41.

[0107] S510 : The APP server 44 sends the second encrypted information to the device server 43 for decryption, and obtains the first encrypted information returned by the device server 43 .

[0108] Since the second encrypted information is encrypted by the encryption key of the device server 43 , the device server 43 can use the matching decryption key to decrypt the second encrypted information to obtain the first encrypted information, and then return the obtained first encrypted information to the APP server 44 .

[0109] S512: The APP server 44 sends the first encrypted information to the positioning APP.

[0110] S514: The positioning APP uses the private key stored on the first device 40 to decrypt the first encrypted information to obtain the location information.

[0111] The first device 40 stores a private key that matches the public key carried in the Bluetooth signal. The first encrypted information encrypted by the public key can be decrypted using the private key to obtain the location information.

[0112] After the positioning APP obtains the location information, it can display the location information in the device management interface.

[0113] As can be seen from the above process, the Bluetooth positioning method described in this embodiment can provide a decentralized open Bluetooth positioning solution while protecting user privacy, which can adapt to the needs of various Bluetooth positioning scenarios.

[0114] Referring to Figure 6 , this embodiment further provides a Bluetooth device, comprising a memory 600, a processor 601, a communication interface 602, a positioning module 603, and a bus 604. The positioning module 603 is configured to implement the positioning function of the device, and the communication interface 602 is configured to enable the Bluetooth device to exchange information with other Bluetooth devices. When the program instructions in the memory 600 are executed by the at least one processor 601, the Bluetooth device acts as a first device to interact with other Bluetooth devices, thereby implementing the aforementioned Bluetooth positioning method.

[0115] It should be understood that the present application does not limit the number of processors 601 and memories 600 in the Bluetooth device.

[0116] Bus 604 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Bus 604 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, FIG6 shows a single line, but this does not imply a single bus or type of bus. Bus 604 may include a pathway for transmitting information between various components of the Bluetooth device (e.g., memory 600, processor 601, communication interface 602, and positioning module 603).

[0117] The memory 600 may include a volatile memory, such as a random access memory (RAM). The memory 600 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0118] The processor 601 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0119] The communication interface 602 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the Bluetooth device and other Bluetooth devices or a communication network, such as communication with a device server.

[0120] Those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that described herein, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0121] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0122] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0123] It should be noted that the above examples are merely specific embodiments of the present invention. Obviously, the present invention is not limited to the above examples, and many similar variations are possible. All variations directly derived from or associating with the present invention by those skilled in the art are intended to fall within the scope of protection of the present invention.

Claims

1. A Bluetooth positioning method, comprising: Binding at least one second device in a positioning APP of the first device; The second device broadcasts a Bluetooth signal; In response to scanning the Bluetooth signal, the first device performs positioning to obtain location information; The first device uploads the location information to a distributed storage center; In response to the user's search operation for the second device in the positioning APP, the positioning APP obtains the location information from the distributed storage center through the APP server, and uses the location information as the location information of the second device.

2. The method according to claim 1, wherein binding the first device to at least one second device in the positioning APP specifically comprises: The first device performs Bluetooth pairing with the second device; After the pairing is successful, the positioning APP generates matching public and private keys; The positioning APP stores the private key in the first device, and sends the public key to the second device through the first device; The second device stores the public key. 3 . The method of claim 2 , wherein the Bluetooth signal comprises a device identification of the second device and the public key.

4. The method according to claim 3, wherein the first device uploads the location information to a distributed storage center, specifically comprising: The first device encrypts the location information using the public key carried in the Bluetooth signal to obtain first encrypted information; The first device uploads the first encrypted information to a device server of the first device; The device server uses the encryption key to re-encrypt the first encrypted information to obtain second encrypted information; The device server uploads the second encrypted information to the distributed storage center.

5. The method according to claim 4, wherein the positioning APP obtains the location information from the distributed storage center through the APP server, specifically comprising: The positioning APP sends a query request to the APP server; The APP server queries the distributed storage center for the second encrypted information in response to the query request; The APP server sends the second encrypted information to the device server; The device server decrypts the second encrypted information using the decryption key, and returns the obtained first encrypted information to the APP server; The APP server sends the first encrypted information to the positioning APP; The positioning APP uses the private key stored on the first device to decrypt the first encrypted information to obtain the location information.

6. The method according to claim 5, wherein the APP server queries the distributed storage center for the second encrypted information in response to the query request, specifically comprising: The APP server queries the second encrypted information in the distributed storage center based on the public key.

7. The method according to claim 3, wherein the first device uploads the location information to a distributed storage center, specifically comprising: The first device encrypts the location information using the public key carried in the Bluetooth signal to obtain first encrypted information; The first device uses the encryption key of the device server to re-encrypt the first encrypted information to obtain second encrypted information; The first device uploads the second encrypted information to the distributed storage center.

8. The method according to claim 7, wherein the positioning APP obtains the location information from the distributed storage center through the APP server, specifically comprising: The positioning APP sends a query request to the APP server; The APP server queries the distributed storage center for the second encrypted information in response to the query request; The APP server sends the second encrypted information to the device server; The device server decrypts the second encrypted information using the decryption key, and returns the obtained first encrypted information to the APP server; The APP server sends the first encrypted information to the positioning APP; The positioning APP uses the private key stored on the first device to decrypt the first encrypted information to obtain the location information.

9. The method according to claim 8, wherein the APP server queries the distributed storage center for the second encrypted information in response to the query request, specifically comprising: The APP server queries the second encrypted information in the distributed storage center based on the public key.

10. The method according to any one of claims 1 to 9, after binding the first device and the at least one second device in the positioning APP, further comprising: At least one second device bound to the first device is displayed on the device management interface of the positioning APP.

11. A Bluetooth device, comprising: Processor and communication interface; The communication interface is used for the Bluetooth device to exchange information with other Bluetooth devices; when the program instructions are executed in the at least one processor, the Bluetooth device interacts with the other Bluetooth devices as a first device to implement the method described in any one of claims 1 to 10.

12. A Bluetooth positioning system, comprising a distributed storage center, a first device and at least one second device, wherein a positioning APP is installed on the first device; the first device and the second device interact with each other via Bluetooth to implement the method described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Article search and loss prevention method based on combination of mobile interconnected handsets and Bluetooth technology

    CN105303791A

  • Positioning method and device for Bluetooth equipment

    CN111065049A

  • Bluetooth earphone searching method and system, intelligent device and storage medium

    CN114900798A

  • Equipment searching method, electronic equipment and system

    CN115914985A

  • Bluetooth positioning method and system and Bluetooth device

    CN118018947A