CN116887181A - Bluetooth device positioning method and device and related device - Google Patents
Bluetooth device positioning method and device and related device Download PDFInfo
- Publication number
- CN116887181A CN116887181A CN202311133161.3A CN202311133161A CN116887181A CN 116887181 A CN116887181 A CN 116887181A CN 202311133161 A CN202311133161 A CN 202311133161A CN 116887181 A CN116887181 A CN 116887181A
- Authority
- CN
- China
- Prior art keywords
- bluetooth device
- bluetooth
- target
- determining
- information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000008447 perception Effects 0.000 claims description 5
- 238000004891 communication Methods 0.000 abstract description 5
- 238000010276 construction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/16—Communication-related supplementary services, e.g. call-transfer or call-hold
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The embodiment of the application provides a positioning method, a positioning device and related equipment of Bluetooth equipment, which relate to the technical field of wireless communication, wherein a server is used for acquiring a calling result of second Bluetooth equipment, and the calling result is a result that the second Bluetooth equipment calls first Bluetooth equipment based on a low-order Media Access Control (MAC) address; and the server determines the position information of the first Bluetooth device according to the call result. In this way, the position information of the first bluetooth device can be acquired by the call result of the second bluetooth device calling the first bluetooth device when the first bluetooth device is in the non-discoverable state.
Description
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a method and an apparatus for positioning a bluetooth device, and a related device.
Background
The construction of the digital city needs to rely on a sound communication infrastructure, but the current positioning technology of the communication infrastructure has a defect in scene applicability, and is difficult to meet the global accurate perception requirement required by the construction of the digital city. For example, the geographic position of the large-scale perception object such as people stream, traffic stream and logistics is comprehensively and efficiently obtained, and not only the main stream active positioning technical means but also the passive positioning technical means under the non-cooperative scene are needed.
At present, bluetooth devices are discovered by a passive positioning technology, and the bluetooth devices are required to be in a state capable of being discovered. For example: bluetooth devices may be discovered only in the event of a bright screen or active search for nearby devices. Therefore, how to detect bluetooth devices in an undiscoverable state becomes a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a positioning method and device of Bluetooth equipment and related equipment, which are used for solving the problem that how to detect the Bluetooth equipment in an undiscoverable state in the prior art is needed to be solved.
In a first aspect, an embodiment of the present application provides a positioning method of a bluetooth device, applied to a server, where the method includes:
the method comprises the steps that a server obtains a calling result of a second Bluetooth device, wherein the calling result is a result of the second Bluetooth device calling a first Bluetooth device based on a low-order Media Access Control (MAC) address;
and the server determines the position information of the first Bluetooth device according to the call result.
Optionally, the number of the second bluetooth devices is n, n is a positive integer, each of the n second bluetooth devices corresponds to a sensing area, and the server determining the location information of the first bluetooth device according to the call result includes:
determining m first sensing areas according to the calling result, wherein the first sensing areas are sensing areas corresponding to second Bluetooth equipment with successful calling result, and m is a positive integer less than or equal to n;
and under the condition that m is greater than 1, determining the position information of the first Bluetooth device according to the m first sensing areas, wherein the position information is that the first Bluetooth device is located in a target area, and the target area is an area where the m first sensing areas overlap with each other.
Optionally, the determining, by the server, the location information of the first bluetooth device according to the call result includes:
acquiring at least three pieces of first Bluetooth information of the first Bluetooth device in a preset time window under the condition that the call result comprises that at least three pieces of second Bluetooth devices call the first Bluetooth device successfully, wherein the first Bluetooth information comprises signal strength;
and calculating the position information of the first Bluetooth equipment according to the at least three pieces of first Bluetooth information based on a multilateration algorithm.
Optionally, the calculating, based on the multilateration algorithm, the location information of the first bluetooth device according to the at least three pieces of first bluetooth information includes:
determining at least three first radiuses according to the signal strengths of the at least three first Bluetooth messages;
determining a target intersection point according to at least three circular areas, wherein the target intersection point is an intersection point of the at least three circular areas, and the circular areas are areas determined according to the first radius and a preset circle center;
and determining the position information of the first Bluetooth device according to the target intersection point.
Optionally, the call result includes signal strengths between the first bluetooth device and at least three second bluetooth devices, and determining the location information of the first bluetooth device according to the call result includes:
determining a target position fingerprint according to signal strengths between the first Bluetooth device and at least three second Bluetooth devices;
and determining the position information of the first Bluetooth device from a preset fingerprint database according to the target position fingerprint.
Optionally, before determining the location information of the first bluetooth device from a preset fingerprint database according to the target location fingerprint, the method further includes:
acquiring signal strength information of a plurality of target positions in the perception range of the at least three second Bluetooth devices, wherein the signal strength information comprises signal strength between each second Bluetooth device in the at least three second Bluetooth devices and the target position;
and constructing the preset fingerprint database according to the position fingerprint and the position information of each target position in the plurality of target positions, wherein the position fingerprint of the target position is determined according to the signal intensity information of the target position.
In a second aspect, an embodiment of the present application provides a positioning method of a bluetooth device, applied to a second bluetooth device, where the method includes:
the second Bluetooth device obtains a target signal sent by the third Bluetooth device to the first gateway, wherein the target signal comprises a low-order Media Access Control (MAC) address of the first Bluetooth device;
under the condition that the first Bluetooth device is in a state of being not discoverable, the second Bluetooth device calls the first Bluetooth device according to the low-order MAC address to obtain a call result;
and the second Bluetooth device sends the call result to the server through a second gateway.
In a third aspect, an embodiment of the present application provides a positioning apparatus for a bluetooth device, where the apparatus includes:
the first acquisition module is used for acquiring a call result of the second Bluetooth device by the server, wherein the call result is a result of the second Bluetooth device calling the first Bluetooth device based on the low-order Media Access Control (MAC) address;
and the determining module is used for determining the position information of the first Bluetooth device according to the calling result by the server.
Optionally, the number of the second bluetooth devices is n, n is a positive integer, each of the n second bluetooth devices corresponds to a sensing area, and the determining module includes:
the first determining submodule is used for determining m first sensing areas according to the calling result, wherein the first sensing areas are sensing areas corresponding to second Bluetooth equipment with successful calling result, and m is a positive integer less than or equal to n;
and the second determining submodule is used for determining the position information of the first Bluetooth device according to the m first sensing areas when m is larger than 1, wherein the position information is that the first Bluetooth device is located in a target area, and the target area is an area where the m first sensing areas overlap with each other.
Optionally, the determining module includes:
the first acquisition sub-module is used for acquiring at least three pieces of first Bluetooth information of the first Bluetooth device in a preset time window under the condition that the call result comprises that at least three pieces of second Bluetooth devices call the first Bluetooth device successfully, wherein the first Bluetooth information comprises signal strength;
and the calculating sub-module is used for calculating the position information of the first Bluetooth equipment according to the at least three pieces of first Bluetooth information based on a multilateral positioning algorithm.
Optionally, the computing submodule includes:
a first determining unit, configured to determine at least three first radii according to signal strengths of the at least three first bluetooth information;
the second determining unit is used for determining a target intersection point according to at least three circular areas, wherein the target intersection point is an intersection point of the at least three circular areas, and the circular areas are areas determined according to the first radius and a preset circle center;
and a third determining unit, configured to determine location information of the first bluetooth device according to the target intersection point.
Optionally, the call result includes signal strengths between the first bluetooth device and at least three second bluetooth devices, and the determining module includes:
a third determining submodule, configured to determine a target location fingerprint according to signal strengths between the first bluetooth device and at least three second bluetooth devices;
and the fourth determining submodule is used for determining the position information of the first Bluetooth device from a preset fingerprint database according to the target position fingerprint.
Optionally, the determining module further includes:
a second obtaining sub-module, configured to obtain signal strength information of a plurality of target locations within a sensing range of the at least three second bluetooth devices, where the signal strength information includes signal strength between each of the at least three second bluetooth devices and the target location;
and the construction submodule is used for constructing the preset fingerprint database according to the position fingerprint and the position information of each target position in the plurality of target positions, and the position fingerprint of the target position is determined according to the signal intensity information of the target position.
In a fourth aspect, an embodiment of the present application provides a positioning apparatus for a bluetooth device, where the apparatus includes:
the second acquisition module is used for acquiring a target signal sent by the third Bluetooth device to the first gateway by the second Bluetooth device, wherein the target signal comprises a low-order Media Access Control (MAC) address of the first Bluetooth device;
the calling module is used for calling the first Bluetooth device according to the low-order MAC address to obtain a calling result when the first Bluetooth device is in a state that the first Bluetooth device cannot be found;
and the sending module is used for sending the call result to the server through the second gateway by the second Bluetooth device.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In the embodiment of the application, a call result of a second Bluetooth device is obtained through a server, wherein the call result is a result of the second Bluetooth device calling a first Bluetooth device based on a low-order Media Access Control (MAC) address; and the server determines the position information of the first Bluetooth device according to the call result. In this way, the position information of the first bluetooth device can be acquired by the call result of the second bluetooth device calling the first bluetooth device when the first bluetooth device is in the non-discoverable state.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a positioning method of a bluetooth device according to an embodiment of the present application;
fig. 2 is a second flowchart of a positioning method of a bluetooth device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a positioning device of a bluetooth device according to an embodiment of the present application;
fig. 4 is a second schematic structural diagram of a positioning device of a bluetooth device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the structures so used are interchangeable under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object can be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
As shown in fig. 1, an embodiment of the present application provides a positioning method for a bluetooth device, including the following steps:
step 101, a server acquires a call result of a second Bluetooth device, wherein the call result is a result of the second Bluetooth device calling a first Bluetooth device based on a low-order Media Access Control (MAC) address;
it should be appreciated that the second bluetooth device may be understood as a bluetooth sensor. The first bluetooth device may understand that the MAC address of the bluetooth device is not randomized.
It should be appreciated that a complete MAC address typically includes two parts, an upper part and a lower part, and the lower MAC address may be a lower 32-bit MAC address or a lower 24-bit MAC address, which is determined according to the standard of the bluetooth communication protocol, without further limitation.
Step 102, the server determines the position information of the first Bluetooth device according to the call result.
It should be appreciated that the call result includes a call success and a call failure, and that the first bluetooth device is located within the sensing area of the second bluetooth device in the case that the call result is a call success. And under the condition that the call result is that the call fails, the first Bluetooth device is positioned outside the sensing area of the second Bluetooth device. The location information of the first bluetooth device may be located within the sensing area of the second bluetooth device or may be located outside the sensing area of the second bluetooth device.
In the embodiment of the application, a call result of a second Bluetooth device is obtained through a server, wherein the call result is a result of the second Bluetooth device calling a first Bluetooth device based on a low-level Media Access Control (MAC) address; and the server determines the position information of the first Bluetooth device according to the call result. In this way, the position information of the first bluetooth device can be acquired by the call result of the second bluetooth device calling the first bluetooth device when the first bluetooth device is in the non-discoverable state.
Optionally, the number of the second bluetooth devices is n, n is a positive integer, each of the n second bluetooth devices corresponds to a sensing area, and the step 102 includes:
determining m first sensing areas according to the calling result, wherein the first sensing areas are sensing areas corresponding to second Bluetooth equipment with successful calling result, and m is a positive integer less than or equal to n;
and under the condition that m is greater than 1, determining the position information of the first Bluetooth device according to the m first sensing areas, wherein the position information is that the first Bluetooth device is located in a target area, and the target area is an area where the m first sensing areas overlap with each other.
In the embodiment of the present application, the call result includes a call result of each of the n second bluetooth devices to make a call to the first bluetooth device.
It will be appreciated that there are overlapping regions between the m first sensing regions.
It is understood that the target area is a region where the m first sensing areas overlap each other, including a partial region of each of the m first sensing areas.
In the embodiment of the application, m first sensing areas are determined according to the calling result, wherein the first sensing areas are sensing areas corresponding to second bluetooth equipment with successful calling result, and m is a positive integer less than or equal to n; and under the condition that m is greater than 1, determining the position information of the first Bluetooth device according to the m first sensing areas, wherein the position information is that the first Bluetooth device is located in a target area, and the target area is an area where the m first sensing areas overlap with each other. In this way, the first bluetooth device is called through n second bluetooth devices corresponding to different first sensing areas, whether the first bluetooth device is located in the n first sensing areas or not can be obtained according to a calling result, and then m first sensing areas where the first bluetooth device is located are intersected, and the intersection area of the m first sensing areas is the target area in the position information of the first bluetooth device.
Optionally, the step 102 includes:
acquiring at least three pieces of first Bluetooth information of the first Bluetooth device in a preset time window under the condition that the call result comprises that at least three pieces of second Bluetooth devices call the first Bluetooth device successfully, wherein the first Bluetooth information comprises signal strength;
and calculating the position information of the first Bluetooth equipment according to the at least three pieces of first Bluetooth information based on a multilateration algorithm.
In the embodiment of the present application, the preset time window may be that the location information of the first bluetooth device is unchanged in this time length interval.
It should be understood that the first bluetooth information is a signal strength between the second bluetooth device and the first bluetooth device, and the separation distance between the second bluetooth device and the first bluetooth device may be calculated according to the signal strength between the second bluetooth device and the first bluetooth device.
In the embodiment of the application, under the condition that the calling result comprises that at least three second Bluetooth devices call the first Bluetooth device successfully, at least three first Bluetooth information of the first Bluetooth device in a preset time window is obtained, wherein the first Bluetooth information comprises signal strength; and calculating the position information of the first Bluetooth equipment according to the at least three pieces of first Bluetooth information based on a multilateration algorithm. In this way, more accurate location information of the first bluetooth device may be obtained.
Optionally, the calculating, based on the multilateration algorithm, the location information of the first bluetooth device according to the at least three pieces of first bluetooth information includes:
determining at least three first radiuses according to the signal strengths of the at least three first Bluetooth messages;
determining a target intersection point according to at least three circular areas, wherein the target intersection point is an intersection point of the at least three circular areas, and the circular areas are areas determined according to the first radius and a preset circle center;
and determining the position information of the first Bluetooth device according to the target intersection point.
In the embodiment of the present application, the determining at least three first radii according to the signal strengths of the at least three first bluetooth information may be determined by a bluetooth ranging principle.
Further, after determining at least three first radii, a circular area is obtained based on each first radius and the preset center. And the preset circle center corresponds to the position coordinate of the second Bluetooth device.
In the embodiment of the application, according to the at least three circular areas, a common intersection point of the at least three circular areas can be determined, wherein the common intersection point is the target intersection point.
In the embodiment of the application, at least three first radiuses are determined according to the signal intensity of the at least three first Bluetooth messages; determining a target intersection point according to at least three circular areas, wherein the target intersection point is an intersection point of the at least three circular areas, and the circular areas are areas determined according to the first radius and a preset circle center; and determining the position information of the first Bluetooth device according to the target intersection point. Thus, more accurate position information of the first Bluetooth device can be obtained.
Optionally, the call result includes signal strengths between the first bluetooth device and at least three second bluetooth devices, and determining the location information of the first bluetooth device according to the call result includes:
determining a target position fingerprint according to signal strengths between the first Bluetooth device and at least three second Bluetooth devices;
and determining the position information of the first Bluetooth device from a preset fingerprint database according to the target position fingerprint.
It should be appreciated that the coordinate locations of the at least three second bluetooth devices should be different.
In the embodiment of the application, the target position fingerprint is determined according to the signal intensity between the first Bluetooth device and at least three second Bluetooth devices; and determining the position information of the first Bluetooth device from a preset fingerprint database according to the target position fingerprint. In this way, the accuracy of locating the location information of the first bluetooth device may be improved.
Optionally, before determining the location information of the first bluetooth device from a preset fingerprint database according to the target location fingerprint, the method further includes:
acquiring signal strength information of a plurality of target positions in the perception range of the at least three second Bluetooth devices, wherein the signal strength information comprises signal strength between each second Bluetooth device in the at least three second Bluetooth devices and the target position;
and constructing the preset fingerprint database according to the position fingerprint and the position information of each target position in the plurality of target positions, wherein the position fingerprint of the target position is determined according to the signal intensity information of the target position.
It should be appreciated that the preset fingerprint database stores location fingerprints and location information for a plurality of target locations.
It should be understood that the location fingerprint may be understood as an expression of signal strengths between the target location and the at least three second bluetooth devices.
In the embodiment of the application, the accuracy of the position information of the first Bluetooth device can be improved by the mode.
As shown in fig. 2, an embodiment of the present application provides a positioning method of a bluetooth device, which is applied to a second bluetooth device, and the method includes:
step 201, a second bluetooth device obtains a target signal sent by a third bluetooth device to a first gateway, where the target signal includes a low-order media access control MAC address of the first bluetooth device;
in step 201, the second bluetooth device may be understood as a classical bluetooth sensor.
It should be appreciated that a complete MAC address typically includes two parts, an upper part and a lower part, and that the lower MAC address may be either a lower 32-bit MAC address or a lower 24-bit MAC address, without further limitation.
Step 202, under the condition that a first Bluetooth device is in a state of being not discoverable, the second Bluetooth device calls the first Bluetooth device according to a low-order MAC address to obtain a call result;
it should be understood that the non-discoverable state may be understood as the first bluetooth device being in an off-screen state, or in a state in which the bluetooth switch is not open.
Optionally, in some embodiments, in a case that the first bluetooth device is in an undetectable state, the second bluetooth device makes a call to the first bluetooth device according to the low order media access control MAC address, where the call result is determined as a call failure if the number of calls exceeds a preset number of times, and the call is still unsuccessful.
And step 203, the second Bluetooth device sends the call result to a server through a second gateway.
In the embodiment of the application, a target signal sent by a third Bluetooth device to a first gateway is acquired through a second Bluetooth device, wherein the target signal comprises a low-order MAC address of the first Bluetooth device; under the condition that the first Bluetooth device is in a state of being not discoverable, the second Bluetooth device calls the first Bluetooth device according to the low-order Media Access Control (MAC) address to obtain a call result; and the second Bluetooth device sends the call result to the server through a second gateway. In this way, the location information of the first bluetooth device may be acquired in a case where the first bluetooth device is in a non-discoverable state.
As shown in fig. 3, an embodiment of the present application provides a positioning apparatus 300 of a bluetooth device, where the apparatus includes:
a first obtaining module 301, configured to obtain a call result of a second bluetooth device, where the call result is a result that the second bluetooth device calls a first bluetooth device based on a low order medium access control MAC address;
a determining module 302, configured to determine, by using the server, location information of the first bluetooth device according to the call result.
Optionally, the number of the second bluetooth devices is n, n is a positive integer, each of the n second bluetooth devices corresponds to a sensing area, and the determining module includes:
the first determining submodule is used for determining m first sensing areas according to the calling result, wherein the first sensing areas are sensing areas corresponding to second Bluetooth equipment with successful calling result, and m is a positive integer less than or equal to n;
and the second determining submodule is used for determining the position information of the first Bluetooth device according to the m first sensing areas when m is larger than 1, wherein the position information is that the first Bluetooth device is located in a target area, and the target area is an area where the m first sensing areas overlap with each other.
Optionally, the determining module includes:
the first acquisition sub-module is used for acquiring at least three pieces of first Bluetooth information of the first Bluetooth device in a preset time window under the condition that the call result comprises that at least three pieces of second Bluetooth devices call the first Bluetooth device successfully, wherein the first Bluetooth information comprises signal strength;
and the calculating sub-module is used for calculating the position information of the first Bluetooth equipment according to the at least three pieces of first Bluetooth information based on a multilateral positioning algorithm.
Optionally, the computing submodule includes:
a first determining unit, configured to determine at least three first radii according to signal strengths of the at least three first bluetooth information;
the second determining unit is used for determining a target intersection point according to at least three circular areas, wherein the target intersection point is an intersection point of the at least three circular areas, and the circular areas are areas determined according to the first radius and a preset circle center;
and a third determining unit, configured to determine location information of the first bluetooth device according to the target intersection point.
Optionally, the call result includes signal strengths between the first bluetooth device and at least three second bluetooth devices, and the determining module includes:
a third determining submodule, configured to determine a target location fingerprint according to signal strengths between the first bluetooth device and at least three second bluetooth devices;
and the fourth determining submodule is used for determining the position information of the first Bluetooth device from a preset fingerprint database according to the target position fingerprint.
Optionally, the determining module further includes:
a second obtaining sub-module, configured to obtain signal strength information of a plurality of target locations within a sensing range of the at least three second bluetooth devices, where the signal strength information includes signal strength between each of the at least three second bluetooth devices and the target location;
and the construction submodule is used for constructing the preset fingerprint database according to the position fingerprint and the position information of each target position in the plurality of target positions, and the position fingerprint of the target position is determined according to the signal intensity information of the target position.
The positioning device 300 of the bluetooth device can implement each process of the method embodiment of fig. 1 in the embodiment of the present application, and achieve the same beneficial effects, and in order to avoid repetition, the description is omitted here.
As shown in fig. 4, an embodiment of the present application provides a positioning apparatus 400 of a bluetooth device, where the apparatus includes:
a second obtaining module 401, configured to obtain, by using a second bluetooth device, a target signal sent by a third bluetooth device to a first gateway, where the target signal includes a low-order medium access control MAC address of the first bluetooth device;
a calling module 402, configured to, when a first bluetooth device is in a state that the first bluetooth device cannot be found, call the first bluetooth device according to a low order MAC address by using the second bluetooth device, so as to obtain a call result;
and a sending module 403, configured to send the call result to a server by using the second bluetooth device through a second gateway.
The positioning device 400 of the bluetooth device can implement each process of the method embodiment of fig. 1 in the embodiment of the present application, and achieve the same beneficial effects, and in order to avoid repetition, a detailed description is omitted here.
The embodiment of the application also provides electronic equipment. Referring to fig. 5, an electronic device may include a processor 501, a memory 502, and a program 5021 stored on the memory 502 and executable on the processor 501.
The program 5021, when executed by the processor 501, may implement any steps and achieve the same advantages in the method embodiments corresponding to fig. 1 or fig. 2, and will not be described herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of implementing the methods of the embodiments described above may be implemented by hardware associated with program instructions, where the program may be stored on a readable medium.
The embodiment of the present application further provides a readable storage medium, where a computer program is stored, where the computer program when executed by a processor may implement any step in the method embodiment corresponding to fig. 1 or fig. 2, and the same technical effect may be achieved, and in order to avoid repetition, no description is repeated here.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (11)
1. A method for locating a bluetooth device, applied to a server, the method comprising:
the method comprises the steps that a server obtains a calling result of a second Bluetooth device, wherein the calling result is a result of the second Bluetooth device calling a first Bluetooth device based on a low-order Media Access Control (MAC) address;
and the server determines the position information of the first Bluetooth device according to the call result.
2. The method of claim 1, wherein the number of the second bluetooth devices is n, n is a positive integer, each of the n second bluetooth devices corresponds to a sensing area, and the server determining the location information of the first bluetooth device according to the call result comprises:
determining m first sensing areas according to the calling result, wherein the first sensing areas are sensing areas corresponding to second Bluetooth equipment with successful calling result, and m is a positive integer less than or equal to n;
and under the condition that m is greater than 1, determining the position information of the first Bluetooth device according to the m first sensing areas, wherein the position information is that the first Bluetooth device is located in a target area, and the target area is an area where the m first sensing areas overlap with each other.
3. The method of claim 1, wherein the server determining location information of the first bluetooth device based on the call result comprises:
acquiring at least three pieces of first Bluetooth information of the first Bluetooth device in a preset time window under the condition that the call result comprises that at least three pieces of second Bluetooth devices call the first Bluetooth device successfully, wherein the first Bluetooth information comprises signal strength;
and calculating the position information of the first Bluetooth equipment according to the at least three pieces of first Bluetooth information based on a multilateration algorithm.
4. The method of claim 3, wherein the calculating the location information of the first bluetooth device based on the at least three first bluetooth information based on the multilateration algorithm comprises:
determining at least three first radiuses according to the signal strengths of the at least three first Bluetooth messages;
determining a target intersection point according to at least three circular areas, wherein the target intersection point is an intersection point of the at least three circular areas, and the circular areas are areas determined according to the first radius and a preset circle center;
and determining the position information of the first Bluetooth device according to the target intersection point.
5. The method of claim 1, wherein the call result comprises signal strength between the first bluetooth device and at least three second bluetooth devices, and wherein determining location information for the first bluetooth device based on the call result comprises:
determining a target position fingerprint according to signal strengths between the first Bluetooth device and at least three second Bluetooth devices;
and determining the position information of the first Bluetooth device from a preset fingerprint database according to the target position fingerprint.
6. The method of claim 5, further comprising, prior to said determining location information for said first bluetooth device from a database of pre-set fingerprints based on said target location fingerprint:
acquiring signal strength information of a plurality of target positions in the perception range of the at least three second Bluetooth devices, wherein the signal strength information comprises signal strength between each second Bluetooth device in the at least three second Bluetooth devices and the target position;
and constructing the preset fingerprint database according to the position fingerprint and the position information of each target position in the plurality of target positions, wherein the position fingerprint of the target position is determined according to the signal intensity information of the target position.
7. A method of locating a bluetooth device, applied to a second bluetooth device, the method comprising:
the second Bluetooth device obtains a target signal sent by the third Bluetooth device to the first gateway, wherein the target signal comprises a low-order Media Access Control (MAC) address of the first Bluetooth device;
under the condition that the first Bluetooth device is in a state of being not discoverable, the second Bluetooth device calls the first Bluetooth device according to the low-order MAC address to obtain a call result;
and the second Bluetooth device sends the call result to the server through a second gateway.
8. A positioning apparatus for a bluetooth device, the apparatus comprising:
the first acquisition module is used for acquiring a call result of the second Bluetooth device by the server, wherein the call result is a result of the second Bluetooth device calling the first Bluetooth device based on the low-order Media Access Control (MAC) address;
and the determining module is used for determining the position information of the first Bluetooth device according to the calling result by the server.
9. A positioning apparatus for a bluetooth device, the apparatus comprising:
the second acquisition module is used for acquiring a target signal sent by the third Bluetooth device to the first gateway by the second Bluetooth device, wherein the target signal comprises a low-order Media Access Control (MAC) address of the first Bluetooth device;
the calling module is used for calling the first Bluetooth device according to the low-order MAC address to obtain a calling result when the first Bluetooth device is in a state that the first Bluetooth device cannot be found;
and the sending module is used for sending the call result to the server through the second gateway by the second Bluetooth device.
10. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method of locating a bluetooth device according to any of claims 1-7 or 8.
11. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the method of positioning a bluetooth device according to any of claims 1-7 or 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311133161.3A CN116887181A (en) | 2023-09-05 | 2023-09-05 | Bluetooth device positioning method and device and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311133161.3A CN116887181A (en) | 2023-09-05 | 2023-09-05 | Bluetooth device positioning method and device and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116887181A true CN116887181A (en) | 2023-10-13 |
Family
ID=88260801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311133161.3A Pending CN116887181A (en) | 2023-09-05 | 2023-09-05 | Bluetooth device positioning method and device and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116887181A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878089A (en) * | 2005-03-04 | 2006-12-13 | 美国博通公司 | Method and system for tracking bluetooth enabled devices |
US7983691B1 (en) * | 2006-11-06 | 2011-07-19 | Google Inc. | Geographically localizing mobile communciation devices |
CN105516887A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Bluetooth based positioning method and device |
US20160142884A1 (en) * | 2014-11-17 | 2016-05-19 | West Corporation | System and method for locating a mobile phone with moveable wireless beacons |
CN106550314A (en) * | 2015-09-19 | 2017-03-29 | 深圳市潮流网络技术有限公司 | A kind of call transferring method based on bluetooth location technology |
-
2023
- 2023-09-05 CN CN202311133161.3A patent/CN116887181A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1878089A (en) * | 2005-03-04 | 2006-12-13 | 美国博通公司 | Method and system for tracking bluetooth enabled devices |
US7983691B1 (en) * | 2006-11-06 | 2011-07-19 | Google Inc. | Geographically localizing mobile communciation devices |
CN105516887A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Bluetooth based positioning method and device |
US20160142884A1 (en) * | 2014-11-17 | 2016-05-19 | West Corporation | System and method for locating a mobile phone with moveable wireless beacons |
CN106550314A (en) * | 2015-09-19 | 2017-03-29 | 深圳市潮流网络技术有限公司 | A kind of call transferring method based on bluetooth location technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9198004B2 (en) | User-in-the-loop architecture for indoor positioning | |
JP2008524743A (en) | Method and system for managing events | |
US11096008B1 (en) | Indoor positioning techniques using beacons | |
CN105516916B (en) | A kind of alarm method and system of mobile device | |
US10136257B2 (en) | Mobile device in-motion proximity guidance system | |
US20210334710A1 (en) | Car-hailing method and device, as well as computer readable storage medium | |
CN106658568B (en) | Method and equipment for providing available wireless access point information | |
KR20090117355A (en) | Apparatus and method for updating map in navigation system | |
CN110213712B (en) | Positioning transmission method, device, terminal and storage medium | |
CN110459043A (en) | A kind of alarm processing method and device | |
CN105120426A (en) | Vehicle finding method and device | |
CA3154877C (en) | System and method for identifying a disease affected area | |
CN103714632A (en) | Method, device and system for monitoring tax-control terminal and tax-control terminal | |
CN104038900A (en) | Locating method and equipment | |
JP2002314477A (en) | Information providing system, its method and user terminal used for it, and its program | |
CN106658670B (en) | A kind of Wireless Fidelity Wi-Fi scan method and mobile terminal | |
CN116887181A (en) | Bluetooth device positioning method and device and related device | |
CN106888496B (en) | A kind of Wireless Fidelity Wi-Fi connection method and mobile terminal | |
US20050060118A1 (en) | Terminal and an associated system, method and computer program product for obtaining the terminal location based upon connections of the terminal | |
US11153720B1 (en) | Positioning techniques for dead zones using beacons | |
KR20060093802A (en) | Apparatus and method for connecting a call of a cell phone using a key word | |
US10306585B2 (en) | Signal determining method and apparatus | |
KR101893707B1 (en) | Method of Locating Users of Smart Devices by Analyzing Wireless Signal based on Fuzzy Logic for Accurate Location Information | |
CN112770253A (en) | Emergency call positioning method and device, storage medium and electronic equipment | |
CN111757463B (en) | Indoor positioning method and terminal equipment |
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 |