Bluetooth key positioning method, device, equipment, medium and product
By acquiring and analyzing the monitoring information of Bluetooth keys and adjusting the acquisition parameters, the problem of poor accuracy caused by signal instability in Bluetooth positioning technology is solved, and a higher-precision Bluetooth key positioning is achieved.
Patent Information
- Application Number
- CN202411973875.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-11
AI Technical Summary
In the existing Bluetooth positioning technology, the use of RSSI signal is unstable, resulting in poor Bluetooth signal positioning and poor accuracy.
By acquiring the first monitoring information for the Bluetooth key sent by the at least one monitoring node, it is determined whether the key is in the target area. If it is, collect the second monitoring information, adjust the acquisition parameters, and determine the target positioning result of the Bluetooth key based on the adjusted parameters.
The positioning accuracy of Bluetooth keys is improved, and more accurate positioning results are achieved through the setting of multi-dimensional conditions and parameter adjustments.
Smart Images

Figure CN119815509A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Bluetooth positioning technology, and in particular to a Bluetooth key positioning method, device, equipment, medium and product. Background Art
[0002] In the vehicle-mounted multi-Bluetooth digital key system, the method of monitoring the received signal strength indication (RSSI) is used to determine the distance and location information of the mobile terminal digital key.
[0003] Since RSSI signals are unstable and greatly affected by environmental factors, they usually face problems such as poor Bluetooth signal positioning and poor accuracy. Summary of the invention
[0004] The present invention provides a Bluetooth key positioning method, device, equipment, medium and product, which improve the positioning accuracy of the Bluetooth key.
[0005] In a first aspect, an embodiment of the present disclosure provides a Bluetooth key positioning method, comprising:
[0006] Acquire first monitoring information for a Bluetooth key sent by at least one monitoring node, and determine whether the Bluetooth key is within a target area based on the first monitoring information;
[0007] If so, collecting the second monitoring information of the Bluetooth key, and determining whether the second monitoring information meets the deviation positioning condition;
[0008] If satisfied, the acquisition parameters are adjusted, and the target positioning result of the Bluetooth key is determined based on the adjusted first acquisition parameters and the second acquisition parameters.
[0009] In a second aspect, an embodiment of the present disclosure provides a Bluetooth key positioning device, comprising:
[0010] A first monitoring module, configured to obtain first monitoring information for a Bluetooth key sent by at least one monitoring node, and determine whether the Bluetooth key is within a target area based on the first monitoring information;
[0011] A second monitoring module, configured to collect second monitoring information of the Bluetooth key and determine whether the second monitoring information satisfies a deviation positioning condition;
[0012] The positioning result determination module is used to adjust the acquisition parameters if the conditions are met, and determine the target positioning result of the Bluetooth key based on the adjusted first acquisition parameters and the second acquisition parameters.
[0013] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0014] at least one processor; and
[0015] a memory communicatively connected to at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute a Bluetooth key positioning method provided by the above-mentioned first aspect embodiment.
[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement a Bluetooth key positioning method provided by the embodiment of the first aspect above when executed.
[0018] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements a Bluetooth key positioning method provided by the embodiment of the first aspect above.
[0019] A Bluetooth key positioning method, device, equipment, medium and product according to an embodiment of the present invention include obtaining first monitoring information for a Bluetooth key sent by at least one monitoring node, and determining whether the Bluetooth key is in a target area based on the first monitoring information; if so, collecting second monitoring information of the Bluetooth key, and determining whether the second monitoring information satisfies a deviation positioning condition; if so, adjusting the acquisition parameters, and determining the target positioning result of the Bluetooth key based on the adjusted first acquisition parameters and second acquisition parameters. The above technical solution, based on the setting of multi-dimensional conditions, ensures accurate judgment of the system before entering deviation positioning. After entering deviation positioning, differential determination of Bluetooth key positioning is achieved based on the adjusted different acquisition parameters, thereby improving the positioning accuracy of the Bluetooth key.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of a Bluetooth key positioning method provided by Embodiment 1 of the present invention;
[0023] Figure 2 is an example diagram of a Bluetooth key positioning system provided by Embodiment 1 of the present invention;
[0024] Figure 3 is a flow chart of a Bluetooth key positioning method provided by Embodiment 2 of the present invention;
[0025] Figure 4 is an example diagram of a received signal indication strength obtained based on a first acquisition parameter provided in Embodiment 2 of the present invention;
[0026] Figure 5 is an example diagram of a received signal indication strength obtained based on a second acquisition parameter provided in Embodiment 2 of the present invention;
[0027] Figure 6 is a structural schematic diagram of a Bluetooth key positioning device provided in Embodiment 3 of the present invention;
[0028] Figure 7 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second" and "target" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1This is a flow chart of a Bluetooth key locating method provided in Example 1 of the present invention. This embodiment is applicable to the situation of accurately locating a vehicle Bluetooth key deployed by a mobile terminal. The method can be executed by a Bluetooth key locating device, and the Bluetooth key locating device can be implemented in the form of hardware and / or software.
[0033] like Figure 1 As shown, the method includes:
[0034] S101. Obtain first monitoring information for a Bluetooth key sent by at least one monitoring node, and determine whether the Bluetooth key is in a target area based on the first monitoring information.
[0035] In this embodiment, the monitoring node can be understood as a device or equipment for monitoring Bluetooth signals arranged on the vehicle, such as a Smart Anchor Module (SAM), and the monitoring node has a signal monitoring function. The Bluetooth key can be understood as a virtual key deployed on a mobile terminal for starting the vehicle through the Bluetooth function. The first monitoring information can be understood as the signal strength indication RSSI of the Bluetooth key collected by at least one monitoring node. The target area can be understood as the effective area where the vehicle and the Bluetooth key are connected in communication.
[0036] Figure 2 is an example diagram of a Bluetooth key positioning system provided by the first embodiment of the present invention, such as Figure 2As shown, the Bluetooth key positioning system includes a master node and four slave nodes. The master node maintains a long-distance wireless connection with the mobile terminal where the Bluetooth key is located. The connection method can be Bluetooth, local area network or a specific vehicle system, preferably Bluetooth. The master node can be, for example, a smart Bluetooth module (Smart BLE Module, SBM), wherein the smart Bluetooth module is a module deployed based on Bluetooth Low Energy (Bluetooth Low Energy, BLE), which has certain Bluetooth communication capabilities and processing capabilities. The Bluetooth key positioning device as the execution subject of this embodiment can be the smart Bluetooth module, which can be integrated in a certain hardware electronic device. In the following content of this embodiment, "master node" refers to the "Bluetooth key positioning device" as the execution subject of this embodiment. The slave node is also the monitoring node in the embodiment of the present invention, for example, it can be a smart anchor module SAM. Among them, the monitoring area corresponding to the slave node SAM1 is area A, the monitoring area corresponding to the slave node SAM2 is B, the monitoring area corresponding to the slave node SAM3 is area C, and the monitoring area corresponding to the slave node SAM4 is area D. The four slave nodes are all connected to the master node SBM, so that any slave node can send the first monitoring information of the Bluetooth key to the master node when monitoring the first monitoring information of the Bluetooth key. Within the monitoring area, there is also a target area representing the effective distance between the vehicle and the Bluetooth key, and the range of the monitoring area is greater than or equal to the target area.
[0037] Specifically, the monitoring node can monitor the environmental information of its monitoring area, and at least one monitoring node monitors the environmental information around the vehicle (the vehicle where the monitoring node is located) simultaneously and in real time. When a certain monitoring node monitors the received signal strength indication RSSI of the Bluetooth key corresponding to the vehicle, a first monitoring information is formed based on the value of the received signal strength indication, and the first monitoring information is sent to the master node. In the case where there is a monitoring node sending the first monitoring information, the first monitoring information is received, the value of the received signal strength indication corresponding to the first monitoring information is identified, and it is determined whether the Bluetooth key is in the target area based on the value, that is, whether the distance between the Bluetooth key and the vehicle is within the effective distance range.
[0038] It is understandable that at most two monitoring nodes may send the first monitoring information at the same time. In this case, the Bluetooth key is located at the intersection of the target areas of the two monitoring nodes. At this time, in order to improve the accuracy of entry deviation positioning, the first monitoring information used to define the target area can be the one with weaker signal strength between the two. Alternatively, in order to improve the timeliness of entry deviation positioning, the first monitoring information used to define the target area can be the one with stronger signal strength between the two. When two first monitoring information exist at the same time, the first monitoring information to be applied can be determined based on actual needs, and this embodiment does not limit this.
[0039] S102: If yes, collect the second monitoring information of the Bluetooth key, and determine whether the second monitoring information meets the deviation positioning condition.
[0040] In this embodiment, the second monitoring information can be understood as the received signal strength indication of the Bluetooth key collected by the master node itself. The deviation positioning condition can be understood as the critical condition for starting the deviation positioning.
[0041] Specifically, after determining that the Bluetooth key is within the target area of the vehicle based on the first monitoring information collected by the monitoring node, the Bluetooth key further approaches the vehicle, thereby performing the collection work of the received signal strength indication through the master node itself, collecting the second monitoring information of the Bluetooth key, and further judging whether the signal strength of the Bluetooth key meets the conditions for starting deviation positioning based on the second monitoring information. Among them, the collection method can be to read RSSI during the scan callback, or to directly read RSSI after the BLE connection, and this embodiment does not limit this. If the received signal strength indication represented by the second monitoring information reaches the set signal threshold range, it is determined that the deviation positioning condition is met, and the subsequent deviation positioning can be performed to obtain an accurate Bluetooth key positioning result; if the minimum value of the threshold range is not reached, it is determined that the deviation positioning condition is not met. It can be understood that the monitoring node continues to operate, as long as the Bluetooth key is within its monitoring range, the corresponding first monitoring information can be obtained, and the first monitoring information changes in real time with the distance between the Bluetooth key and the vehicle, that is, during the period when the mobile terminal where the Bluetooth key is located continues to approach the vehicle, the monitoring node continues to collect the first monitoring information, and thus, if the deviation positioning condition is not met at present, it can return to re-execute step S101.
[0042] S103: If satisfied, adjust the acquisition parameters, and determine the target positioning result of the Bluetooth key based on the adjusted first acquisition parameters and second acquisition parameters.
[0043] In this embodiment, the acquisition parameter can be understood as the transmission power set by the master node to perform the second monitoring information acquisition. The first acquisition parameter can be understood as a high-level transmission power, and the second acquisition parameter can be understood as a low-level transmission power. The target positioning result can be understood as the result of positioning the Bluetooth key, representing the distance interval between the vehicle and the Bluetooth key.
[0044] Specifically, for the method of collecting the RSSI of the Bluetooth key by the master node, if the method is to read the RSSI during the scan callback, the transmission power of the broadcast mode or the transmission mode of the scanning room is adjusted; if the method is to directly read the RSSI after the BLE connection, the transmission power corresponding to the connection mode between the master node and the Bluetooth key is adjusted. Based on the adjusted first collection parameters and second collection parameters of different transmission power levels, the distance between the vehicle and the Bluetooth key calculated when the corresponding power level is sent is calculated respectively, and the difference between the two distances is taken to obtain the deviation factor. Finally, based on the deviation factor, a target positioning result with a smaller distance range and more accuracy is obtained.
[0045] A Bluetooth key positioning method according to an embodiment of the present invention includes obtaining first monitoring information for a Bluetooth key sent by at least one monitoring node, determining whether the Bluetooth key is in a target area based on the first monitoring information; if so, collecting second monitoring information for the Bluetooth key, and determining whether the second monitoring information satisfies a deviation positioning condition; if so, adjusting the acquisition parameters, and determining the target positioning result of the Bluetooth key based on the adjusted first acquisition parameters and second acquisition parameters. The above technical solution, based on the setting of multi-dimensional conditions, ensures accurate judgment of the system before entering deviation positioning. After entering deviation positioning, differential determination of the Bluetooth key positioning is achieved based on the adjusted different acquisition parameters, thereby improving the positioning accuracy of the Bluetooth key.
[0046] Embodiment 2
[0047] Figure 3 It is a flow chart of a Bluetooth key locating method provided in the second embodiment of the present invention. This embodiment is a further optimization of any of the above embodiments and can be applied to the situation of accurately locating the vehicle Bluetooth key deployed by the mobile terminal. The method can be executed by a Bluetooth key locating device, and the Bluetooth key locating device can be implemented in the form of hardware and / or software.
[0048] like Figure 3 As shown, the method includes:
[0049] S201. Obtain first monitoring information for a Bluetooth key sent by at least one monitoring node.
[0050] S202: Determine whether the received signal strength indicator corresponding to the first monitoring information is within a first preset range; if so, determine that the Bluetooth key is within a target area; otherwise, determine that the Bluetooth key is not within the target area.
[0051] In this embodiment, the first preset range can be understood as a signal strength range corresponding to the first monitoring information collected by the monitoring node, which is a signal strength range that characterizes signal stability. The two specific thresholds of the first preset range can be determined based on actual conditions, and this embodiment does not set a limitation on this. The first preset range that characterizes signal strength stability has a corresponding relationship with a target area that characterizes a relatively close distance, where a relatively close distance can be, for example, within a range of 100m, or other distance ranges, and this embodiment does not set a limitation on this.
[0052] Specifically, since the RSSI signal strength of the Bluetooth key is relatively stable only when it is within a certain distance range of the vehicle, the range of the signal strength corresponds to the distance between the Bluetooth key and the vehicle. Therefore, if the received signal strength indication corresponding to the first monitoring information is within the first preset range, it means that the signal strength is stable. Further, due to the corresponding relationship between signal strength and distance in terms of stability, it can be determined that the Bluetooth key is within the target area. On the contrary, if the received signal strength indication corresponding to the first monitoring information is not within the first preset range, it can be determined that the Bluetooth key is not within the target area.
[0053] S203: If yes, collect the second monitoring information of the Bluetooth key.
[0054] S204: Determine whether the received signal strength indicator corresponding to the second monitoring information is within a second preset range; if so, determine that the second monitoring information satisfies the deviation positioning condition; otherwise, determine that the second monitoring information does not satisfy the deviation positioning condition.
[0055] In this embodiment, the second preset range can be understood as the signal strength range corresponding to the second monitoring information collected by the master node, which is also a signal strength range that characterizes signal stability. For example, it can be within the range of [-75dBm, -35dBm] or other ranges. This embodiment does not limit this.
[0056] Specifically, when it is determined that the Bluetooth key is in the target area, it is further determined whether the received signal strength indication of the Bluetooth key collected by the main node is within the second preset range. If the received signal strength indication corresponding to the second monitoring information is within the second preset range, it indicates that the second monitoring information meets the deviation positioning condition, and further deviation positioning can be performed; if the received signal strength indication corresponding to the second monitoring information is not within the second preset range, it indicates that the second monitoring information does not meet the deviation positioning condition, and it returns to re-execute the acquisition operation of the first monitoring information.
[0057] S205: If the conditions are met, determine a first acquisition parameter in which the transmit power is in the first power range and a second acquisition parameter in which the transmit power is in the second power range.
[0058] In this embodiment, the first power interval can be understood as a transmission power interval of a large signal transmission power level, for example, it can be 7±3dBm, and the first acquisition parameter can be understood as a signal transmission parameter based on the large power level, at least including the signal transmission power. The second power interval can be understood as a transmission power interval of a small signal transmission power level, for example, it can be 0±3dBm, and the second acquisition parameter can be understood as a signal transmission parameter based on the small power level, at least including the signal transmission power. Among them, the minimum value of the first power interval is greater than the maximum value of the second power interval to clearly distinguish between the high power level and the low power level.
[0059] Specifically, if the second monitoring information meets the deviation positioning condition, the deviation positioning logic is executed, and the collection parameters of the second monitoring information are adjusted to obtain the first collection parameters of the transmission power in the first power range and the second collection parameters of the transmission power in the second power range.
[0060] S206: Determine a positioning deviation factor for the Bluetooth key based on the first acquisition parameter and the second acquisition parameter, and determine a target positioning result of the Bluetooth key based on the deviation factor.
[0061] In this embodiment, the positioning deviation factor can be understood as information used to describe the accuracy and reliability of the positioning result.
[0062] Specifically, based on the adjusted first acquisition parameter and second acquisition parameter of different transmission power levels, the distance between the vehicle and the Bluetooth key calculated when the corresponding power level is sent is calculated respectively, and the difference between the two distances, that is, the deviation factor δ, is calculated by δ=d2-d1, where d1 represents the distance between the vehicle and the Bluetooth key calculated under the first acquisition parameter, and d2 represents the distance between the vehicle and the Bluetooth key calculated under the second acquisition parameter. The target positioning result d after correction based on the deviation factor is calculated, that is, the high-precision distance interval between the vehicle and the Bluetooth key, where d' represents the high-precision distance value related to d1 in the target positioning result. It is obtained that d'0 is the minimum value of d', and d'1 is the maximum value of d'; where m1 represents the intermediate distance parameter related to distance d1, which can be obtained by We get: 10 Indicates the minimum value of d1, d 11 Indicates the maximum value of d1. d” is the high-precision distance value related to d2 in the target positioning result. It is obtained that d”0 is the minimum value of d” and d”1 is the maximum value of d”; where m2 represents the intermediate distance parameter related to distance d2, which can be obtained by We get: 20 Indicates the minimum value of d2, d21 It is understood that the intermediate distance parameter may be determined by other methods besides the above formula, and this embodiment does not limit this.
[0063] Exemplarily, the distance between the vehicle and the Bluetooth key under the first acquisition parameter is calculated And the distance between the vehicle and the Bluetooth key under the second acquisition parameter Then determine the deviation factor Determine the corresponding intermediate distance parameter according to the value range of d1 And according to the intermediate distance parameter 7 and the deviation factor [-1, -4], we can calculate Determine the corresponding intermediate distance parameter according to the value range of d2 And according to the intermediate distance parameter 4.5 and the deviation factor [-1, -4], we can calculate Finally, the target positioning result is calculated based on d' and d' The calculated target positioning result is compared with the initial calculated and Smaller range, higher accuracy.
[0064] Optionally, determining a positioning deviation factor for a Bluetooth key based on the first acquisition parameter and the second acquisition parameter includes:
[0065] S2061. Determine a first positioning result for the Bluetooth key based on the first collection parameter.
[0066] In this embodiment, the first positioning result can be understood as the distance d1 between the vehicle and the Bluetooth key calculated based on the first acquisition parameter.
[0067] Specifically, based on The distance d1 between the Bluetooth key and the vehicle under the first acquisition parameter is calculated. In the formula, abs(RSSI1) represents the absolute value of the received signal strength indication of the Bluetooth key received under the transmission power corresponding to the first acquisition parameter, and A1 represents the initial transmission power at a distance of 1 meter from the vehicle under the transmission power corresponding to the first acquisition parameter. r represents the attenuation factor under the current environment.
[0068] S2062: Determine a second positioning result for the Bluetooth key based on the second collection parameter.
[0069] In this embodiment, the second positioning result can be understood as the distance d2 between the vehicle and the Bluetooth key calculated based on the second acquisition parameter.
[0070] Specifically, based on The distance d2 between the Bluetooth key and the vehicle under the second acquisition parameter is calculated. In the formula, abs(RSSI2) represents the absolute value of the received signal strength indication of the Bluetooth key received under the transmission power corresponding to the second acquisition parameter, and A2 represents the initial transmission power at a distance of 1 meter from the vehicle under the transmission power corresponding to the second acquisition parameter. r represents the attenuation factor under the current environment.
[0071] S2063: Determine a positioning deviation factor for the Bluetooth key based on a difference between the first positioning result and the second positioning result.
[0072] In this embodiment, the difference between the first positioning result d1 and the second positioning result d2 is determined by δ=d2-d1 to obtain the deviation factor δ.
[0073] The existing Bluetooth digital key system adopts a system architecture of a master node and multiple slave nodes to achieve positioning. During the positioning process, the transmission power of the modules involved in the positioning is fixed, and a Bluetooth connection is established with the mobile terminal. The master node SBM module obtains the RSSI value of the mobile phone signal. Different slave nodes obtain the RSSI signal strength at different locations by monitoring or scanning, and simulate and calculate the distance information from the nodes at different locations to the mobile phone key, thereby calculating the coordinate position of the mobile phone key. Often, due to the large fluctuations in the Bluetooth signal, the calculated coordinate position has a large deviation after the filtering algorithm, which affects the positioning accuracy. The greater the transmission power of the Bluetooth module, the greater the fluctuation of the RSSI signal, which affects the deviation of the calculated coordinate position, affecting the positioning effect.
[0074] In a Bluetooth key positioning method proposed in an embodiment of the present invention, Figure 4 is an example diagram of a received signal indication strength obtained based on the first acquisition parameter provided by the second embodiment of the present invention, such as Figure 4 As shown, the horizontal axis represents the distance, and the vertical axis represents the received signal strength indication. The received signal strength indication of the Bluetooth key obtained by collecting the first collection parameter corresponding to the high power level has a signal strength stability range in the range of [-75dBm, -35dBm]. Figure 5 is an example diagram of a received signal indication strength obtained based on the second acquisition parameter provided by the second embodiment of the present invention, such as Figure 5As shown, the horizontal axis represents the distance, and the vertical axis represents the received signal strength indication. The received signal strength indication of the Bluetooth key obtained by the second acquisition parameter corresponding to the low power level has a stable signal strength range within the interval of [-85dBm, -60dBm]. It can be seen that the RSSI signal strength obtained by the small signal (the acquisition signal transmitted by the second acquisition parameter corresponding to the low power level) has high stability. After the signal particle filter, the effective RSSI can be used to calculate the position information. Based on the difference between the first positioning result d1 and the second positioning result d2, the deviation factor δ is obtained, and the position information of the Bluetooth digital key with high stability can be obtained.
[0075] A Bluetooth key positioning method provided by an embodiment of the present invention includes obtaining first monitoring information for a Bluetooth key sent by at least one monitoring node; determining whether the received signal strength indication corresponding to the first monitoring information is within a first preset range, if so, determining that the Bluetooth key is within a target area, otherwise, determining that the Bluetooth key is not within the target area; if so, collecting second monitoring information of the Bluetooth key; determining whether the received signal strength indication corresponding to the second monitoring information is within a second preset range, if so, determining that the second monitoring information satisfies a deviation positioning condition, otherwise, determining that the second monitoring information does not satisfy the deviation positioning condition; if so, determining a first acquisition parameter with a transmission power in a first power interval and a second acquisition parameter with a transmission power in a second power interval; determining a positioning deviation factor for the Bluetooth key based on the first acquisition parameter and the second acquisition parameter, and determining a target positioning result of the Bluetooth key based on the deviation factor. The above technical solution, based on the setting of multi-dimensional conditions, ensures accurate judgment of the system before entering the deviation positioning. After entering the deviation positioning, based on the adjusted different acquisition parameters, differential determination of the Bluetooth key positioning is realized, and target positioning information with high stability is obtained, thereby improving the Bluetooth positioning accuracy and thus improving the senseless experience of the Bluetooth digital key.
[0076] Embodiment 3
[0077] Figure 6 Schematic diagram of the structure of a Bluetooth key positioning device provided by Embodiment 3 of the present invention. Figure 6 As shown, the device comprises:
[0078] A first monitoring module 31 is used to obtain first monitoring information for a Bluetooth key sent by at least one monitoring node, and determine whether the Bluetooth key is in a target area based on the first monitoring information;
[0079] The second monitoring module 32 is used to collect the second monitoring information of the Bluetooth key and determine whether the second monitoring information meets the deviation positioning condition;
[0080] The positioning result determination module 33 is used to adjust the acquisition parameters if the conditions are met, and determine the target positioning result of the Bluetooth key based on the adjusted first acquisition parameters and the second acquisition parameters.
[0081] The Bluetooth key positioning device adopted in this technical solution is based on the setting of multi-dimensional conditions, which ensures the accurate judgment of the system before entering the deviation positioning. After entering the deviation positioning, based on the adjusted different acquisition parameters, the differential determination of the Bluetooth key positioning is realized, thereby improving the positioning accuracy of the Bluetooth key.
[0082] Optionally, the first monitoring module 31 is specifically used for:
[0083] Determine whether the received signal strength indication corresponding to the first monitoring information is within a first preset range, if so, determine that the Bluetooth key is within a target area, otherwise, determine that the Bluetooth key is not within the target area.
[0084] Optionally, the second monitoring module 32 is specifically used for:
[0085] Determine whether the received signal strength indication corresponding to the second monitoring information is within a second preset range, and if so, determine that the second monitoring information meets the deviation positioning condition, otherwise, determine that the second monitoring information does not meet the deviation positioning condition.
[0086] Optionally, the positioning result determination module 33 includes:
[0087] An acquisition parameter determination unit, configured to determine a first acquisition parameter in which the transmit power is within a first power interval and a second acquisition parameter in which the transmit power is within a second power interval;
[0088] A positioning result determining unit is used to determine a positioning deviation factor for the Bluetooth key based on the first acquisition parameter and the second acquisition parameter, and determine a target positioning result of the Bluetooth key based on the deviation factor.
[0089] Optionally, the minimum value of the first power interval is greater than the maximum value of the second power interval.
[0090] Optionally, the positioning result determination unit is specifically used to:
[0091] Determine a first positioning result for the Bluetooth key based on the first acquisition parameter;
[0092] Determine a second positioning result for the Bluetooth key based on the second acquisition parameter;
[0093] Based on the difference between the first positioning result and the second positioning result, a positioning deviation factor for the Bluetooth key is determined.
[0094] The Bluetooth key locating device provided in the embodiment of the present invention can execute the Bluetooth key locating method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0095] Embodiment 4
[0096] Figure 7 : is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0097] like Figure 7 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0098] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0099] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as the Bluetooth key positioning method.
[0100] In some embodiments, the Bluetooth key positioning method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the Bluetooth key positioning method described above can be performed. Alternatively, in other embodiments, the processor 41 can be configured to perform the Bluetooth key positioning method in any other appropriate manner (for example, by means of firmware).
[0101] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0102] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0103] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0104] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0105] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0106] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0107] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0108] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A Bluetooth key positioning method, characterized in that: include: Acquire first monitoring information for a Bluetooth key sent by at least one monitoring node, and determine whether the Bluetooth key is within a target area based on the first monitoring information; If so, collecting the second monitoring information of the Bluetooth key, and determining whether the second monitoring information meets the deviation positioning condition; If satisfied, the acquisition parameters are adjusted, and the target positioning result of the Bluetooth key is determined based on the adjusted first acquisition parameters and the second acquisition parameters.
2. The method according to claim 1, characterized in that: The determining whether the Bluetooth key is within a target area based on the first monitoring information includes: Determine whether the received signal strength indication corresponding to the first monitoring information is within a first preset range, if so, determine that the Bluetooth key is within a target area, otherwise, determine that the Bluetooth key is not within the target area.
3. The method according to claim 1, characterized in that The determining whether the second monitoring information satisfies the deviation positioning condition includes: Determine whether the received signal strength indication corresponding to the second monitoring information is within a second preset range, and if so, determine that the second monitoring information meets the deviation positioning condition, otherwise, determine that the second monitoring information does not meet the deviation positioning condition.
4. The method according to claim 1, characterized in that: The adjusting the acquisition parameters, and determining the target positioning result of the Bluetooth key based on the adjusted first acquisition parameters and the second acquisition parameters, includes: Determine a first acquisition parameter in which the transmit power is in a first power interval and a second acquisition parameter in which the transmit power is in a second power interval; A positioning deviation factor for the Bluetooth key is determined based on the first acquisition parameter and the second acquisition parameter, and a target positioning result of the Bluetooth key is determined based on the deviation factor.
5. The method according to claim 4, characterized in that The minimum value of the first power interval is greater than the maximum value of the second power interval.
6. The method according to claim 4, characterized in that The determining of the positioning deviation factor for the Bluetooth key based on the first acquisition parameter and the second acquisition parameter includes: Determine a first positioning result for the Bluetooth key based on the first acquisition parameter; Determine a second positioning result for the Bluetooth key based on the second acquisition parameter; Based on the difference between the first positioning result and the second positioning result, a positioning deviation factor for the Bluetooth key is determined.
7. A Bluetooth key positioning device, characterized in that: include: A first monitoring module, configured to obtain first monitoring information for a Bluetooth key sent by at least one monitoring node, and determine whether the Bluetooth key is within a target area based on the first monitoring information; A second monitoring module, configured to collect second monitoring information of the Bluetooth key and determine whether the second monitoring information satisfies a deviation positioning condition; The positioning result determination module is used to adjust the acquisition parameters if the conditions are met, and determine the target positioning result of the Bluetooth key based on the adjusted first acquisition parameters and the second acquisition parameters.
8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a Bluetooth key positioning method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a Bluetooth key positioning method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements a Bluetooth key positioning method according to any one of claims 1 to 6.