Positioning method, device, electronic device and computer-readable storage medium
By acquiring and filtering multiple sets of Bluetooth signal parameters, the problem of signals being susceptible to environmental noise in Bluetooth positioning technology is solved, the positioning accuracy is improved, and the positioning accuracy is achieved.
Patent Information
- Application Number
- CN202210431761.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-04-22
AI Technical Summary
The existing Bluetooth positioning technology has low positioning accuracy due to the signal being easily disturbed by environmental noise. There are cumulative errors in the Bluetooth signal fitting the road network positioning and inertial sensor fusion positioning, which cannot guarantee positioning accuracy.
By obtaining multiple sets of Bluetooth signal parameters detected by the user equipment at different locations, determining the signal error parameters, and filtering the signal parameters, a higher accuracy signal parameters are obtained, and then positioning processing is performed to improve positioning accuracy.
By performing positioning processing of signal parameters after filtering, equipment errors and environmental errors can be effectively filtered out, positioning accuracy can be improved, and positioning accuracy can be enhanced.
Smart Images

Figure CN114828209B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a positioning method, device, electronic device and computer-readable storage medium. Background Art
[0002] Positioning technology can combine people or objects with location data information to achieve accurate positioning, navigation, landmark and other services. Among the related technologies, Bluetooth-based indoor positioning technology mainly includes pure Bluetooth positioning technology, Bluetooth positioning combined with road network positioning technology, and Bluetooth positioning technology combined with inertial sensor positioning technology. Among them, Bluetooth positioning technology can achieve meter-level positioning results based on very small computing power, but Bluetooth signals are easily interfered by environmental noise, and the positioning accuracy is not high. In the Bluetooth positioning combined with road network positioning technology, the low positioning stability and accuracy will lead to road network fitting errors, and thus the positioning accuracy cannot be guaranteed. The fusion positioning of Bluetooth positioning and inertial sensors requires frequent interactive calculations with sensor devices, which will affect the overall performance of the system; and the inertial sensor positioning itself will have cumulative errors, and the positioning accuracy cannot be guaranteed. Therefore, improving the accuracy of positioning has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the technical defect of low positioning accuracy of Bluetooth positioning.
[0004] According to one aspect of the present application, a positioning method is provided, the method comprising:
[0005] Acquire first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first location; wherein each group of Bluetooth signals is respectively sent by a corresponding Bluetooth beacon device;
[0006] Determine a signal error parameter, and filter the first signal parameter of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter;
[0007] The signal error parameter is determined according to a device error parameter of the Bluetooth beacon device and an environment error parameter of the first location;
[0008] Perform positioning processing on the first user equipment according to the second signal parameter.
[0009] Optionally, filtering the first signal parameters of each group of Bluetooth signals according to the signal error parameters to obtain the second signal parameters includes:
[0010] Performing filtering processing on the first signal parameter according to the signal error parameter and the first data relationship;
[0011] Wherein, the first data relationship includes:
[0012] ;
[0013] Wherein, V represents the second signal parameter; n represents the number of filtering processes, V(n-1) represents the result of the n-1th filtering process; RSSI represents the first signal parameter; and K(n) represents the signal error parameter.
[0014] Optionally, determining the signal error parameter includes:
[0015] Determining the signal error parameter according to the device error parameter, the environment error parameter and a second data relationship;
[0016] The second data relationship includes:
[0017] ; Wherein, K(n) represents the signal error parameter of the nth filtering process; K(n-1) represents the signal error parameter of the n-1th filtering process; Q represents the device error parameter; and R represents the environment error parameter.
[0018] Optionally, performing positioning processing on the first user equipment according to the second signal parameter includes:
[0019] Determine the interval distance between the first user equipment and the Bluetooth beacon device according to the second signal parameter, the preset signal parameter, the preset attenuation parameter and the third data relationship;
[0020] The location coordinates of the first user equipment are determined according to the interval distance.
[0021] Optionally, the third data relationship includes:
[0022] ;
[0023] in, ;
[0024] Wherein, d represents the spacing distance; Represents 10 to the Mth power;
[0025] V represents the second signal parameter; represents the absolute value of V;
[0026] A represents the preset signal parameter; N represents the preset attenuation parameter.
[0027] According to another aspect of the present application, a positioning device is provided, the device comprising:
[0028] A parameter acquisition module, used to acquire first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first location; wherein each group of Bluetooth signals is respectively sent by a corresponding Bluetooth beacon device;
[0029] A filtering module, used to determine a signal error parameter, and filter the first signal parameter of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter;
[0030] The signal error parameter is determined according to a device error parameter of the Bluetooth beacon device and an environment error parameter of the first location;
[0031] A positioning module is used to perform positioning processing on the first user equipment according to the second signal parameter.
[0032] Optionally, the filtering module is specifically used for:
[0033] Performing filtering processing on the first signal parameter according to the signal error parameter and the first data relationship;
[0034] Wherein, the first data relationship includes:
[0035] ;
[0036] Wherein, V represents the second signal parameter; n represents the number of filtering processes, V(n-1) represents the result of the n-1th filtering process; RSSI represents the first signal parameter; and K(n) represents the signal error parameter.
[0037] Optionally, the filtering module is specifically used for:
[0038] Determining the signal error parameter according to the device error parameter, the environment error parameter and a second data relationship;
[0039] The second data relationship includes:
[0040] ; wherein K(n) represents the signal error parameter of the nth filtering process; K(n-1) represents the signal error parameter of the n-1th filtering process; Q represents the device error parameter; and R represents the environment error parameter.
[0041] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0042] one or more processors;
[0043] Memory;
[0044] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to: execute the positioning method according to any one of the first aspects of the present application.
[0045] For example, in a third aspect of the present application, a computing device is provided, including: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0046] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the positioning method shown in the first aspect of the present application.
[0047] According to another aspect of the present application, a computer-readable storage medium is provided, and when the computer program is executed by a processor, the positioning method described in any one of the first aspects of the present application is implemented.
[0048] For example, in the fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the positioning method shown in the first aspect of the present application is implemented.
[0049] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations of the first aspect above.
[0050] The beneficial effects of the technical solution provided by this application are:
[0051] The embodiment of the present application obtains first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first position; determines a signal error parameter, and filters the first signal parameters of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter; and positions the first user device according to the second signal parameter; wherein the signal error parameter is determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first position; thus, filtering the first signal parameter according to the signal error parameter can filter out interference of the device error and the environmental error on the Bluetooth signal, and obtain a second signal parameter with higher accuracy; and positioning the first user device according to the second signal parameter can improve positioning accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in describing the embodiments of the present application.
[0053] Figure 1 A schematic diagram of a system architecture of a positioning method provided in an embodiment of the present application;
[0054] Figure 2 A flowchart of a positioning method provided in an embodiment of the present application;
[0055] Figure 3 A flowchart of a positioning method provided in an embodiment of the present application;
[0056] Figure 4 A schematic diagram of the structure of a positioning device provided in an embodiment of the present application;
[0057] Figure 5 A schematic diagram of the structure of a positioning electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0059] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" may be implemented as "A", or as "B", or as "A and B".
[0060] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0061] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0062] First combine Figure 1 , which is a system architecture diagram of the positioning method provided in the embodiment of the present application. The system may include a server 101 and a terminal cluster, wherein the server 101 may be considered as a background server providing positioning processing.
[0063] The terminal cluster may include: terminal 102 , terminal 103 , terminal 104 , . . . , wherein there may be a communication connection between the terminals, for example, there is a communication connection between terminal 102 and terminal 103 , and there is a communication connection between terminal 103 and terminal 104 .
[0064] At the same time, server 101 can provide positioning services for the terminal cluster through the communication connection function. Any terminal in the terminal cluster can have a communication connection with server 101, for example, there is a communication connection between terminal 102 and server 101, and there is a communication connection between terminal 103 and server 101. The above-mentioned communication connection does not limit the connection method, and can be directly or indirectly connected through wired communication, directly or indirectly connected through wireless communication, or through other methods.
[0065] The network for the communication connection may be a wide area network or a local area network, or a combination of the two. This application does not limit this.
[0066] The positioning method of the embodiment of the present application can be executed on the server side or on the terminal side, and the execution subject is not limited in the embodiment of the present application. In the positioning process, the first signal parameters of at least two groups of Bluetooth signals detected by the first user equipment at the first position are obtained; the signal error parameters are determined, and the first signal parameters of each group of the Bluetooth signals are filtered according to the signal error parameters to obtain the second signal parameters; and the first user equipment is positioned according to the second signal parameters.
[0067] Therefore, the method provided in the embodiment of the present application can be executed by a computer device, including but not limited to a terminal (including the above-mentioned user terminal) or a server (including the above-mentioned server 101). The above-mentioned server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The above-mentioned terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application is not limited here.
[0068] Of course, the method provided in the embodiment of the present application is not limited to Figure 1 The application scenarios shown can also be used in other possible application scenarios, and the embodiments of the present application are not limited thereto. Figure 1 The functions that can be implemented by each device in the application scenario shown will be described in the subsequent method embodiments, and will not be described in detail here.
[0069] The embodiment of the present application provides a possible implementation method, which can be executed by any electronic device; optionally, any electronic device can be a server device with positioning capability, or a device or chip integrated in these devices. Figure 2 As shown, it is one of the flow charts of a positioning method provided in an embodiment of the present application, and the method includes the following steps:
[0070] Step S201: Acquire first signal parameters of at least two groups of Bluetooth signals detected by a first user equipment at a first location.
[0071] Wherein, each group of Bluetooth signals is respectively sent by a corresponding Bluetooth beacon device.
[0072] Optionally, the embodiments of the present application can be applied to the field of computer technology; for example, it can be specifically applied to an application scenario in which positioning processing is performed on a user device (hereinafter referred to as the first user device for the convenience of description) based on Bluetooth technology.
[0073] The first user equipment may be any user equipment; for example, the first user equipment may be a terminal device of a user.
[0074] The first signal parameter is a signal parameter of at least two groups of Bluetooth signals detected by the first user equipment at the first position. Optionally, the first signal parameter may be a signal strength of the Bluetooth signal, such as a received signal strength indicator (RSSI). The Bluetooth signal may be sent by a corresponding Bluetooth beacon device; it is understood that the Bluetooth beacon device may include multiple devices; and the Bluetooth beacon device may be preset at a predetermined position.
[0075] The first position may be any position in the preset space; for example, the first position may be any position in indoor spaces such as shopping malls and offices, or any position in outdoor spaces such as parks and squares.
[0076] As an example 1, in an actual scenario, the first user device can search for Bluetooth signals emitted by nearby Bluetooth beacon devices at a first location, sort the signal strengths of the detected Bluetooth signals, obtain the signal strength values of the top three groups of Bluetooth signals in the signal strength sorting, and send them to the server for positioning the first user device. It is understandable that the three groups of Bluetooth signals can be emitted by three Bluetooth beacon devices respectively, for example, the three Bluetooth beacon devices can be Bluetooth beacon device a, Bluetooth beacon device b, and Bluetooth beacon device c respectively.
[0077] It should be noted that in the above example 1, positioning processing is performed only by exemplifying the signal strength of three groups of Bluetooth signals, but this application is not limited to this.
[0078] Step S202: determining a signal error parameter, and filtering the first signal parameters of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter.
[0079] The signal error parameter is determined according to a device error parameter of the Bluetooth beacon device and an environment error parameter of the first location.
[0080] Specifically, the signal error parameter includes a parameter determined according to the signal error. In the embodiment of the present application, the signal error parameter can be determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first location. Among them, the device error parameter is the signal error caused by the Bluetooth beacon device itself; the environmental error parameter is the signal error caused by the environmental space where the first location is located. For example, in indoor spaces such as shopping malls, factors such as walls and pillars in the space cause a certain error in the detected signal strength.
[0081] Since the Bluetooth beacon device itself has certain errors and the Bluetooth signal is easily interfered by environmental noise, the signal accuracy of the detected Bluetooth signal is low. In the embodiment of the present application, the first signal parameter of each group of Bluetooth signals can be filtered according to the signal error parameter to improve the signal accuracy of the Bluetooth signal.
[0082] Optionally, in the embodiment of the present application, the first signal parameter may be filtered multiple times to obtain a second signal parameter with higher accuracy. It is understandable that the second signal parameter is a signal parameter with higher accuracy obtained after filtering.
[0083] Step S203: Perform positioning processing on the first user equipment according to the second signal parameter.
[0084] After filtering the first signal parameter to obtain the second signal parameter, positioning processing may be performed on the first user equipment according to the second signal parameter.
[0085] Specifically, in an embodiment of the present application, the interval distance between the first user equipment and the Bluetooth beacon device can be determined according to the second signal parameter; and then the location coordinates of the first user equipment can be determined according to the interval distance.
[0086] Optionally, still in combination with the above example 1, after obtaining three groups of Bluetooth signals, the three groups of Bluetooth signals can be filtered respectively to determine the second signal parameters corresponding to each group of Bluetooth signals. Then, the interval distance between the first user device and the corresponding Bluetooth beacon device is determined according to the second signal parameter. Since the three groups of Bluetooth signals are respectively sent by three Bluetooth beacon devices, the interval distances d1, d2, and d3 between the first user device and Bluetooth beacon device a, Bluetooth beacon device b, and Bluetooth beacon device c can be determined. Then, circles can be drawn with the coordinates of the Bluetooth beacon device as the center and the interval distance between the first user device and the Bluetooth beacon device as the radius; that is, circle 1 is drawn with the coordinates of Bluetooth beacon device a as the center and the interval distance d1 as the radius; circle 2 is drawn with the coordinates of Bluetooth beacon device b as the center and the interval distance d2 as the radius; circle 3 is drawn with the coordinates of Bluetooth beacon device c as the center and the interval distance d3 as the radius. According to the triangle M formed by the intersection points of circle1, circle2, and circle3, it is determined that the centroid coordinates of the triangle M are the location coordinates of the first user equipment.
[0087] The embodiment of the present application obtains first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first position; determines a signal error parameter, and filters the first signal parameters of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter; and positions the first user device according to the second signal parameter; wherein the signal error parameter is determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first position; thus, filtering the first signal parameter according to the signal error parameter can filter out interference of the device error and the environmental error on the Bluetooth signal, and obtain a second signal parameter with higher accuracy; and positioning the first user device according to the second signal parameter can improve positioning accuracy.
[0088] In another embodiment of the present application, filtering the first signal parameters of each group of Bluetooth signals according to the signal error parameters to obtain the second signal parameters includes:
[0089] Performing filtering processing on the first signal parameter according to the signal error parameter and the first data relationship;
[0090] Wherein, the first data relationship includes:
[0091] ;
[0092] Wherein, V represents the second signal parameter; n represents the number of filtering processes, V(n-1) represents the result of the n-1th filtering process; RSSI represents the first signal parameter; and K(n) represents the signal error parameter.
[0093] In the embodiment of the present application, the filtering process may include multiple times; for example, the first signal parameter of each group of Bluetooth signals may be filtered 3 times, 5 times, or 10 times. In addition, the filtering process result of each group of Bluetooth signals may be marked by the Bluetooth beacon device identification code, and the marked filtering process results are respectively stored in the corresponding cache.
[0094] Optionally, multiple filtering processes may be performed iteratively. For example, the nth filtering process may be performed based on the result V(n-1) of the n-1th filtering process.
[0095] Right now ;
[0096] Wherein, V represents the second signal parameter; n represents the number of filtering processes, V(n-1) represents the result of the n-1th filtering process; RSSI represents the first signal parameter; and K(n) represents the signal error parameter.
[0097] In the first filtering process, V(0) may be a preset signal parameter. For example, the preset signal parameter may be a predicted signal strength of the first user equipment at the first position.
[0098] In addition, the signal error parameter K(n) of the n-th filtering process may be determined according to the signal error parameter K(n-1) of the n-1-th filtering process.
[0099] For example, in another embodiment of the present application, the signal error parameter may be determined in the following manner:
[0100] Determining the signal error parameter according to the device error parameter, the environment error parameter and a second data relationship;
[0101] The second data relationship includes:
[0102] ; Wherein, K(n) represents the signal error parameter of the nth filtering process; K(n-1) represents the signal error parameter of the n-1th filtering process; Q represents the device error parameter; and R represents the environment error parameter.
[0103] In another embodiment of the present application, performing positioning processing on the first user equipment according to the second signal parameter includes:
[0104] Determine the interval distance between the first user equipment and the Bluetooth beacon device according to the second signal parameter, the preset signal parameter, the preset attenuation parameter and the third data relationship;
[0105] The location coordinates of the first user equipment are determined according to the interval distance.
[0106] In another embodiment of the present application, the third data relationship includes:
[0107] ;
[0108] in, ;
[0109] Wherein, d represents the spacing distance; Represents 10 to the Mth power;
[0110] V represents the second signal parameter; represents the absolute value of V;
[0111] A represents the preset signal parameter; N represents the preset attenuation parameter.
[0112] Optionally, the preset signal parameter may be a signal strength detected by the first user equipment when the Bluetooth beacon device is 1 meter away from the first user equipment, and the preset attenuation parameter may be an environmental attenuation factor.
[0113] For example, still in combination with the above example 1, after obtaining three groups of Bluetooth signals, the three groups of Bluetooth signals can be filtered respectively to determine the second signal parameters corresponding to each group of Bluetooth signals. Then, the interval distance between the first user device and the corresponding Bluetooth beacon device is determined according to the second signal parameter. Since the three groups of Bluetooth signals are respectively sent by three Bluetooth beacon devices, the interval distance d1, interval distance d2, and interval distance d3 between the first user device and Bluetooth beacon device a, Bluetooth beacon device b, and Bluetooth beacon device c can be determined respectively. Among them, the interval distance d1, interval distance d2, and interval distance d3 can be determined based on the third data relationship.
[0114] Then, circles can be drawn with the coordinates of the Bluetooth beacon device as the center and the interval distance between the first user device and the Bluetooth beacon device as the radius; that is, circle 1 is drawn with the coordinates of Bluetooth beacon device a as the center and the interval distance d1 as the radius; circle 2 is drawn with the coordinates of Bluetooth beacon device b as the center and the interval distance d2 as the radius; circle 3 is drawn with the coordinates of Bluetooth beacon device c as the center and the interval distance d3 as the radius. According to the triangle M formed by the intersection of circle 1, circle 2, and circle 3, the centroid coordinates of triangle M are determined to be the location coordinates of the first user device.
[0115] The embodiment of the present application obtains first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first position; determines a signal error parameter, and filters the first signal parameters of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter; and positions the first user device according to the second signal parameter; wherein the signal error parameter is determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first position; thus, filtering the first signal parameter according to the signal error parameter can filter out interference of the device error and the environmental error on the Bluetooth signal, and obtain a second signal parameter with higher accuracy; and positioning the first user device according to the second signal parameter can improve positioning accuracy.
[0116] Combine the following Figure 3 The overall process of the positioning method of this application is described as follows:
[0117] The mobile terminal (i.e., the first user device in the embodiment of the present application) searches for nearby Bluetooth beacons; until at least three groups of Bluetooth signals are found; three groups of Bluetooth signal data with the strongest signal strength (i.e., the first signal parameter in the embodiment of the present application) are obtained and sent to the positioning engine; the three groups of Bluetooth signal data are filtered n times respectively; the triangle centroid is calculated using the filtered Bluetooth signal data (i.e., the second signal parameter); and the positioning data is determined and fed back to the mobile terminal.
[0118] The embodiment of the present application obtains first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first position; determines a signal error parameter, and filters the first signal parameters of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter; and positions the first user device according to the second signal parameter; wherein the signal error parameter is determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first position; thus, filtering the first signal parameter according to the signal error parameter can filter out interference of the device error and the environmental error on the Bluetooth signal, and obtain a second signal parameter with higher accuracy; and positioning the first user device according to the second signal parameter can improve positioning accuracy.
[0119] The present application embodiment provides a positioning device, such as Figure 4 As shown, the positioning device 40 may include: a parameter acquisition module 401, a filtering module 402 and a positioning module 403, wherein:
[0120] The parameter acquisition module 401 is used to acquire first signal parameters of at least two groups of Bluetooth signals detected by the first user equipment at the first position; wherein each group of Bluetooth signals is respectively sent by a corresponding Bluetooth beacon device;
[0121] A filtering module 402 is used to determine a signal error parameter, and filter the first signal parameter of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter;
[0122] The signal error parameter is determined according to a device error parameter of the Bluetooth beacon device and an environment error parameter of the first location;
[0123] The positioning module 403 is used to perform positioning processing on the first user equipment according to the second signal parameter.
[0124] In another embodiment of the present application, the filtering module is specifically used for:
[0125] Performing filtering processing on the first signal parameter according to the signal error parameter and the first data relationship;
[0126] Wherein, the first data relationship includes:
[0127] ;
[0128] Wherein, V represents the second signal parameter; n represents the number of filtering processes, V(n-1) represents the result of the n-1th filtering process; RSSI represents the first signal parameter; and K(n) represents the signal error parameter.
[0129] In another embodiment of the present application, the filtering module is specifically used for:
[0130] Determining the signal error parameter according to the device error parameter, the environment error parameter and a second data relationship;
[0131] The second data relationship includes:
[0132] ; wherein K(n) represents the signal error parameter of the nth filtering process; K(n-1) represents the signal error parameter of the n-1th filtering process; Q represents the device error parameter; and R represents the environment error parameter.
[0133] In another embodiment of the present application, the positioning module is specifically used for:
[0134] Determine the interval distance between the first user equipment and the Bluetooth beacon device according to the second signal parameter, the preset signal parameter, the preset attenuation parameter and the third data relationship;
[0135] The location coordinates of the first user equipment are determined according to the interval distance.
[0136] In another embodiment of the present application, the third data relationship includes:
[0137] ;
[0138] in, ;
[0139] Wherein, d represents the spacing distance; Represents 10 to the Mth power;
[0140] V represents the second signal parameter; represents the absolute value of V;
[0141] A represents the preset signal parameter; N represents the preset attenuation parameter.
[0142] The device of the embodiments of the present application can execute the method provided by the embodiments of the present application, and the implementation principles are similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.
[0143] The embodiment of the present application obtains first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first position; determines a signal error parameter, and filters the first signal parameters of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter; and positions the first user device according to the second signal parameter; wherein the signal error parameter is determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first position; thus, filtering the first signal parameter according to the signal error parameter can filter out interference of the device error and the environmental error on the Bluetooth signal, and obtain a second signal parameter with higher accuracy; and positioning the first user device according to the second signal parameter can improve positioning accuracy.
[0144] An electronic device is provided in an embodiment of the present application, and the electronic device includes: a memory and a processor; at least one program, stored in the memory, for being executed by the processor, and compared with the prior art, the following can be achieved: the embodiment of the present application obtains first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first position; determines a signal error parameter, and filters the first signal parameters of each group of the Bluetooth signals according to the signal error parameter to obtain a second signal parameter; and locates the first user device according to the second signal parameter; wherein, since the signal error parameter is determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first position; in this way, filtering the first signal parameter according to the signal error parameter can filter out the interference of the device error and the environmental error on the Bluetooth signal, and obtain a second signal parameter with higher accuracy; and locating the first user device according to the second signal parameter can improve the positioning accuracy.
[0145] In an alternative embodiment, an electronic device is provided, such as Figure 5 As shown, Figure 5The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
[0146] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0147] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0148] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0149] The memory 4003 is used to store the application code (computer program) for executing the solution of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the application code stored in the memory 4003 to implement the contents shown in the above method embodiment.
[0150] The electronic devices include but are not limited to mobile phones, laptop computers, multimedia players, desktop computers, etc.
[0151] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.
[0152] The embodiment of the present application obtains first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first position; determines a signal error parameter, and filters the first signal parameters of each group of Bluetooth signals according to the signal error parameter to obtain a second signal parameter; and positions the first user device according to the second signal parameter; wherein the signal error parameter is determined according to the device error parameter of the Bluetooth beacon device and the environmental error parameter of the first position; thus, filtering the first signal parameter according to the signal error parameter can filter out interference of the device error and the environmental error on the Bluetooth signal, and obtain a second signal parameter with higher accuracy; and positioning the first user device according to the second signal parameter can improve positioning accuracy.
[0153] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application 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 numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.
[0154] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.
[0155] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.
Claims
1. A positioning method, It is characterized in that include: Acquire first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first location; wherein each group of Bluetooth signals is respectively sent by a corresponding Bluetooth beacon device; Determine a signal error parameter according to the device error parameter of the Bluetooth beacon device, the environment error parameter of the first location, and a second data relationship, wherein the second data relationship includes: ; Wherein, n represents the number of filtering processes, K(n) represents the signal error parameter of the nth filtering process; K(n-1) represents the signal error parameter of the n-1th filtering process; Q represents the device error parameter; R represents the environment error parameter; According to the signal error parameter and the first data relationship, filtering the first signal parameter to obtain a second signal parameter; Wherein, the first data relationship includes: ; Wherein, V represents the second signal parameter; V(n-1) represents the result of the n-1th filtering process; RSSI represents the first signal parameter; Perform positioning processing on the first user equipment according to the second signal parameter.
2. The positioning method according to claim 1, It is characterized in that The performing positioning processing on the first user equipment according to the second signal parameter includes: Determine the interval distance between the first user equipment and the Bluetooth beacon device according to the second signal parameter, the preset signal parameter, the preset attenuation parameter and the third data relationship; The location coordinates of the first user equipment are determined according to the interval distance.
3. The positioning method according to claim 2, It is characterized in that The third data relationship includes: ; in, ; Wherein, d represents the spacing distance; Represents 10 to the Mth power; V represents the second signal parameter; represents the absolute value of V; A represents the preset signal parameter; N represents the preset attenuation parameter.
4. A positioning device, It is characterized in that include: A parameter acquisition module, used to acquire first signal parameters of at least two groups of Bluetooth signals detected by a first user device at a first location; wherein each group of Bluetooth signals is respectively sent by a corresponding Bluetooth beacon device; A filtering module, configured to determine a signal error parameter according to a device error parameter of the Bluetooth beacon device, an environmental error parameter of the first location, and a second data relationship, wherein the second data relationship includes: ; Wherein, n represents the number of filtering processes, K(n) represents the signal error parameter of the nth filtering process; K(n-1) represents the signal error parameter of the n-1th filtering process; Q represents the device error parameter; R represents the environment error parameter; The filtering module is further used to filter the first signal parameter according to the signal error parameter and the first data relationship to obtain a second signal parameter; Wherein, the first data relationship includes: ; Wherein, V represents the second signal parameter; V(n-1) represents the result of the n-1th filtering process; RSSI represents the first signal parameter; A positioning module is used to perform positioning processing on the first user equipment according to the second signal parameter.
5. An electronic device, It is characterized in that The electronic device comprises: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to: execute the positioning method according to any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the positioning method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Bluetooth ranging parameter optimization method and system, storage medium and mobile terminal
CN107422298A
Indoor positioning method and device, computer equipment and readable storage medium
CN112135250A
Distance measurement method and device, electronic equipment and storage medium
CN113466841A
Method and System for Accurate Straight Line Distance Estimation Between Two Communication Devices
US20140134948A1
