Positioning method and device and storage medium
By using the location and field strength information of multiple cells to adjust the initial position, the problem of reduced GPS positioning accuracy of smartphones when blocked by buildings is solved and higher positioning accuracy is achieved.
Patent Information
- Application Number
- CN202311175713.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-12
- Publication Date
- 2024-10-22
AI Technical Summary
When smartphones are blocked by buildings such as high-rise buildings, overpasses, tunnels, etc., the GPS positioning accuracy is reduced, affecting the accuracy of positioning.
By determining the location and field strength information of multiple cells obtained by the target device, the initial position is calculated, and these distances are used to adjust the initial position to improve positioning accuracy.
Even when blocked by buildings, the positioning position of the target device can be accurately determined, improving the accuracy of positioning.
Smart Images

Figure CN118828346A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless technology, and in particular to a positioning method and device, and a storage medium. Background Art
[0002] With the popularity of smart phones, mobile phone users generate a huge amount of mobile phone location data in their daily lives. This location data is of great significance and can be used for a variety of analytical applications such as navigation, taxi-hailing, food delivery, urban planning, user behavior, intelligent traffic analysis, and geographic fencing.
[0003] In the related art, the location information of mobile phone users is obtained through the Global Positioning System (GPS). However, there are restrictions when the application (Application, APP) on the smartphone obtains the GPS location. For example, the obstruction of buildings such as high-rise buildings, overpasses, tunnels, etc. will affect the accuracy of GPS, that is, reduce the accuracy of positioning. Summary of the invention
[0004] In order to solve the above technical problems, the embodiments of the present application hope to provide a positioning method and device, and a storage medium, which can improve the accuracy of positioning.
[0005] The technical solution of this application is implemented as follows:
[0006] The present invention provides a positioning method, which includes:
[0007] Determine a plurality of cells with valid signals acquired by the target device, a plurality of cell locations of the plurality of cells, and a plurality of field strength information of the plurality of cells acquired by the target device;
[0008] Determining an initial position of the target device according to the multiple field strength information and the multiple cell positions;
[0009] determining a plurality of distances between the initial position and the plurality of cell positions;
[0010] The initial position is adjusted using the multiple distances to obtain the positioning position of the target device.
[0011] The present application provides a positioning device, the device comprising:
[0012] a determination unit, configured to determine a plurality of cells with valid signals acquired by a target device, a plurality of cell locations of the plurality of cells, and a plurality of field strength information of the plurality of cells acquired by the target device; determine an initial position of the target device according to the plurality of field strength information and the plurality of cell locations; and determine a plurality of distances between the initial position and the plurality of cell locations;
[0013] An adjustment unit is used to adjust the initial position using the multiple distances to obtain the positioning position of the target device.
[0014] The present application provides a positioning device, the device comprising:
[0015] A memory, a processor and a communication bus, wherein the memory communicates with the processor via the communication bus, and the memory stores a positioning program executable by the processor. When the positioning program is executed, the positioning method described above is executed by the processor.
[0016] An embodiment of the present application provides a storage medium on which a computer program is stored, which is applied to a positioning device, and is characterized in that when the computer program is executed by a processor, the above-mentioned positioning method is implemented.
[0017] The embodiment of the present application provides a positioning method and device, and a storage medium. The positioning method includes: determining multiple cells with valid signals acquired by the target device, multiple cell locations of multiple cells, and multiple field strength information of multiple cells acquired by the target device; determining the initial position of the target device according to the multiple field strength information and multiple cell locations; determining multiple distances between the initial position and the multiple cell locations; adjusting the initial position using the multiple distances to obtain the positioning position of the target device. By adopting the above method implementation scheme, the positioning device determines the cell locations of multiple cells where the target device can obtain valid signals and multiple field strength information corresponding to the multiple cells, so that the initial position of the target device can be directly determined according to the multiple field strength information and the multiple cell locations, and the initial position is adjusted using the multiple distances between the initial position and the multiple cell locations, thereby obtaining the positioning position of the target device. Even in the case of building obstruction, the positioning position of the target device can be accurately determined according to the configured multiple cell locations and multiple field strength information, that is, the accuracy of positioning is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flow chart of a positioning method provided in an embodiment of the present application;
[0019] Figure 2 An exemplary force analysis schematic diagram provided for an embodiment of the present application;
[0020] Figure 3 A flowchart of an exemplary positioning method provided in an embodiment of the present application;
[0021] Figure 4 A schematic diagram of the structure of a positioning device provided in an embodiment of the present application Figure 1 ;
[0022] Figure 5 A schematic diagram of the structure of a positioning device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
[0024] The present application embodiment provides a positioning method, which is applied to a positioning device. Figure 1 A flow chart of a positioning method provided in an embodiment of the present application is as follows: Figure 1 As shown, the positioning method may include:
[0025] S101. Determine multiple cells with valid signals acquired by a target device, multiple cell locations of the multiple cells, and multiple field strength information of the multiple cells acquired by the target device.
[0026] A positioning method provided in an embodiment of the present application is applicable to a scenario in which the positioning position of a target device is determined.
[0027] In the embodiments of the present application, the positioning device can be implemented in various forms. For example, the positioning device described in the present application may include devices such as mobile phones, cameras, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, and devices such as digital TVs, desktop computers, and servers.
[0028] In the embodiment of the present application, the target device may be a mobile phone, a user's computer, or other devices. The specific target device may be determined based on actual conditions, and the embodiment of the present application does not limit this.
[0029] In the embodiment of the present application, the number of target devices may be one or more. The specific number of target devices may be determined based on actual conditions, and the embodiment of the present application does not limit this.
[0030] In the embodiment of the present application, if the number of target devices is one, the positioning position of the target device can be directly determined according to the positioning method in the embodiment of the present application. If the number of target devices is multiple, the positioning method in the embodiment of the present application can be executed on the multiple target devices respectively, so as to determine the multiple positioning positions corresponding to the multiple target devices.
[0031] It should be noted that the positioning location is the actual location information of the target device.
[0032] In an embodiment of the present application, the positioning device can, upon receiving a positioning instruction, determine multiple cells with valid signals acquired by the target device, multiple cell locations of multiple cells, and multiple field strength information of multiple cells acquired by the target device, thereby determining the positioning position of the target device based on the multiple field strength information and the multiple cell locations; it can also be periodic, and when a periodic positioning time arrives, it determines multiple cells with valid signals acquired by the target device, multiple cell locations of multiple cells, and multiple field strength information of multiple cells acquired by the target device, thereby determining the positioning position of the target device based on the multiple field strength information and the multiple cell locations; the specific determination can be made based on actual conditions, and the embodiment of the present application is not limited to this.
[0033] In the embodiment of the present application, the number of multiple cells can be determined according to actual conditions, and the embodiment of the present application does not limit this.
[0034] It should be noted that the multiple cells can be a main cell (i.e., main service cell) and multiple slave cells (i.e., slave service cells); or multiple slave cells; the specific multiple cells can be determined based on actual conditions, and the embodiments of the present application do not limit this.
[0035] Exemplarily, the multiple cells may be one primary cell and two secondary cells.
[0036] In the embodiment of the present application, a cell where the target device can receive a signal is a valid signal cell; or a cell where the signal strength received by the target device is greater than or equal to a preset strength threshold is a valid signal cell.
[0037] In the embodiment of the present application, multiple cells correspond one-to-one to multiple field strength information, that is, one cell corresponds to one field strength information.
[0038] In the embodiment of the present application, the information reported by the target device to the server or the base station includes multiple field strength information corresponding to multiple cells. The positioning device can determine the multiple field strength information corresponding to the multiple cells from the target device, or can determine the multiple field strength information corresponding to the multiple cells from the base station or server interacting with the target device; the positioning device can also determine the multiple field strength information in other ways; the specific way in which the positioning device obtains the multiple field strength information can be determined according to the actual situation, and the embodiment of the present application does not limit this.
[0039] It should be noted that the positioning device can obtain multiple cells and multiple field strength information corresponding to the multiple cells from the MR / MDT data.
[0040] In an embodiment of the present application, the positioning device can determine multiple cells from the target device, and can also determine multiple cells in other ways. The specific way in which the positioning device determines multiple cells can be determined according to actual conditions, and the embodiment of the present application does not limit this.
[0041] In the embodiment of the present application, multiple cells correspond to multiple cell locations one by one, that is, one cell corresponds to one cell location.
[0042] In the embodiment of the present application, the process of determining multiple cell locations of multiple cells by the positioning device includes: determining the locations of base stations in the multiple cells to obtain the multiple cell locations.
[0043] In an embodiment of the present application, the positioning device can interact with base stations in multiple cells to determine the locations of the base stations, thereby obtaining multiple cell locations; multiple cell locations can also be obtained by other means; the specific way in which the positioning device determines the locations of multiple cells can be determined based on actual conditions, and the embodiment of the present application does not limit this.
[0044] S102: Determine an initial position of a target device according to multiple field strength information and multiple cell locations.
[0045] In an embodiment of the present application, after the positioning device determines that the target device has acquired multiple cells with valid signals, multiple cell locations of the multiple cells, and multiple field strength information of the multiple cells acquired by the target device, it determines the initial position of the target device based on the multiple field strength information and the multiple cell locations.
[0046] In an embodiment of the present application, the process of a positioning device determining the initial position of a target device based on multiple field strength information and multiple cell locations includes: determining the initial longitude information of the target device based on multiple longitude information and multiple field strength information; determining the initial latitude information of the target device based on multiple latitude information and multiple field strength information; and determining the initial longitude information and the initial latitude information as the initial position.
[0047] It should be noted that the multiple cell locations are the longitude and latitude information of base stations in the multiple cells, that is, the multiple cell locations include multiple longitude information and multiple latitude information of the multiple cells.
[0048] In the embodiment of the present application, if the number of the multiple cells is 3, there are correspondingly 3 longitude information and 3 field strength information. The method of determining the initial longitude information of the target device according to the multiple longitude information and the multiple field strength information is shown in formula (1):
[0049]
[0050] Among them, x is the initial longitude information; x1 is the longitude information of the first cell; x2 is the longitude information of the second cell; x3 is the longitude information of the third cell; rsrp1 is the field strength information of the first cell; rsrp2 is the field strength information of the second cell; rsrp3 is the field strength information of the third cell.
[0051] In the embodiment of the present application, if the number of the multiple cells is 3, then there are correspondingly 3 longitude information and 3 field strength information. The method of determining the initial latitude information of the target device according to the multiple latitude information and the multiple field strength information is shown in formula (2):
[0052]
[0053] Among them, y is the initial latitude information; y1 is the latitude information of the first cell; y2 is the latitude information of the second cell; y3 is the latitude information of the third cell; rsrp1 is the field strength information of the first cell; rsrp2 is the field strength information of the second cell; rsrp3 is the field strength information of the third cell.
[0054] In the embodiment of the present application, the initial position includes initial longitude information and initial latitude information.
[0055] S103: Determine multiple distances between the initial position and multiple cell positions.
[0056] In the embodiment of the present application, after the positioning device determines the initial position of the target device according to the multiple field strength information and the multiple cell positions, it determines multiple distances between the initial position and the multiple cell positions.
[0057] In an embodiment of the present application, the positioning device determines multiple distances between an initial position and multiple cell positions, including: using a distance determination method of a propagation model to determine multiple first distances between the initial position and multiple position information; using a distance determination method between two points to determine multiple second distances between the initial position and multiple position information; and using multiple first distances and multiple second distances as multiple distances.
[0058] In an embodiment of the present application, a method for determining multiple first distances between an initial position and multiple position information using a distance determination method of a propagation model may include determining a first first distance between the initial position and a first position information among multiple position information using a distance determination method of a propagation model; determining a second first distance between the initial position and a second position information among multiple position information using a distance determination method of a propagation model; ..., determining a last first distance between the initial position and a last position information among multiple position information using a distance determination method of a propagation model; and taking the first first distance, the second first distance, ..., the last first distance as multiple first distances.
[0059] It should be noted that the second first distance between the initial position and the second position information among the multiple position information can be determined using formulas (3)-(4).
[0060] log(d)=L(Ploss)-K1-K3*log(heff)-K4Diffraction-K6log(hms)-K7(clutter) / [K2+K5log(heff)] (3)
[0062] It should be noted that L(Ploss) is the path loss (dBm) (the path loss can be calculated using the field strength rsrp, as shown in formula (4)); K1 is the offset constant; K2 is the distance-related log(d) correction factor; K3 is the correction factor for log(heff); K4 is the correction factor for diffraction calculation; K5 is the correction factor for log(heff)log(d); K6 is the correction factor for the effective height of the mobile station; K7 is the average weighted loss of the terrain; d is the distance between the base station and the mobile station, in meters; hms is the height of the mobile station above the ground, in meters; heff is the effective height of the base station antenna, in meters; Diffraction is the diffraction loss calculated by the equivalent knife-edge diffraction method; and Clutter is the average weighting. Among them, K1 to K7 are all constants.
[0063] In the embodiment of the present application, the calculation formula between the reference signal received power RSRP (Reference Signal Receiving Power) and the path loss is shown in formula (4):
[0064] RSRP(dBm)=RTX(dBm)-L(Ploss)(dB) (4)
[0065] It should be noted that PTX is the transmission power of the base station antenna; depending on the uplink and downlink, it is the terminal uplink reference signal transmission power and the cell downlink reference signal transmission power respectively.
[0066] In an embodiment of the present application, a method for determining the distance between two points to determine multiple second distances between an initial position and multiple position information can be as follows: determining the Euclidean distance between the initial position and the first position information in the multiple position information to obtain the first second distance; determining the Euclidean distance between the initial position and the second position information in the multiple position information to obtain the second second distance;… determining the Euclidean distance between the initial position and the last position information in the multiple position information to obtain the last second distance; and using the first second distance, the second second distance,…, the last second distance as multiple second distances.
[0067] It should be noted that the Euclidean distance between the initial position and the first position information among the multiple position information can be determined using formula (5) to obtain the first second distance.
[0068]
[0069] Where D is the first second distance; X is the initial longitude information in the initial position; Y is the initial latitude information in the initial position; x ue is the longitude information in the first location information; y ue It is the latitude information in the first location information.
[0070] In the embodiment of the present application, the multiple distances include multiple first distances and multiple second distances.
[0071] S104: Use multiple distances to adjust the initial position to obtain the positioning position of the target device.
[0072] In the embodiment of the present application, after the positioning device determines multiple distances between the initial position and multiple cell positions, the initial position is adjusted using the multiple distances to obtain the positioning position of the target device.
[0073] In an embodiment of the present application, a positioning device uses multiple distances to adjust an initial position to obtain a positioning position of a target device, including: determining a resultant force between the target device and multiple cells based on multiple first distances and multiple second distances; when the resultant force is greater than a preset resultant force threshold, adjusting the initial position based on the resultant force to obtain an adjusted initial position; updating the resultant force based on the adjusted initial position to obtain an updated resultant force; and when the updated resultant force is less than or equal to the preset resultant force threshold, determining the adjusted initial position as the positioning position of the target device.
[0074] It should be noted that the multiple distances include multiple first distances and multiple second distances.
[0075] In the embodiment of the present application, the preset combined force threshold may be a threshold configured in the positioning device, or a threshold transmitted to the positioning device by other devices, or a threshold obtained by the positioning device in other ways. The specific way in which the positioning device obtains the preset combined force threshold may be determined based on actual conditions, and the embodiment of the present application does not limit this.
[0076] In the embodiment of the present application, the method of updating the resultant force according to the adjusted initial position to obtain the updated resultant force is the same as the method of determining the resultant force according to the initial position. That is, multiple adjusted distances between the adjusted initial position and multiple cell positions are determined (the multiple adjusted distances include multiple adjusted first distances and multiple adjusted second distances); based on the multiple adjusted first distances and the multiple adjusted second distances, the updated resultant force between the target device and the multiple cells is determined.
[0077] It should be noted that the method of determining the multiple adjusted distances between the adjusted initial position and the multiple cell positions is the same as the method of determining the multiple distances between the initial position and the multiple cell positions.
[0078] In an embodiment of the present application, the process of updating the resultant force according to the adjusted initial position to obtain the updated resultant force can be done once or multiple times until the updated resultant force is less than or equal to the preset resultant force threshold. At this time, the adjusted position of the updated resultant force is determined as the positioning position of the target device.
[0079] In an embodiment of the present application, after the positioning device determines the combined force between the target device and multiple cells based on multiple first distances and multiple second distances, if the combined force is less than or equal to a preset combined force threshold, the initial position is used as the positioning position.
[0080] In an embodiment of the present application, the positioning device determines the process of the resultant force between the target device and multiple cells based on multiple first distances and multiple second distances, including: determining multiple distance change information between the multiple first distances and the multiple second distances; using the corresponding relationship between the distance and the force and the multiple distance change information to determine multiple forces pointing from the initial position to the multiple cell positions; and merging the multiple forces to obtain the resultant force.
[0081] In an embodiment of the present application, Hooke's law can be used to determine the resultant force between the target device and multiple cells based on multiple first distances and multiple second distances; the resultant force between the target device and multiple cells can also be determined by other methods based on multiple first distances and multiple second distances; the specific method can be determined based on actual conditions, and the embodiment of the present application is not limited to this.
[0082] In the embodiment of the present application, the number of the plurality of first distances is the same as the number of the plurality of second distances. The number of the plurality of first distances is the same as the number of the plurality of distance change information.
[0083] In an embodiment of the present application, the process of determining multiple distance change information between multiple first distances and multiple second distances includes determining the difference between a first first distance among the multiple first distances and a first second distance among the multiple second distances to obtain first distance change information; determining the difference between a second first distance among the multiple first distances and a second second distance among the multiple second distances to obtain second distance change information;…; determining the difference between a last first distance among the multiple first distances and a last second distance among the multiple second distances to obtain last distance change information; and using the first distance change information, the second distance change information,…, and the last distance change information as multiple distance change information.
[0084] It should be noted that the corresponding relationship between distance and force can be the relationship between force and distance in Hooke's law.
[0085] In an embodiment of the present application, the process of determining multiple forces directed from an initial position to multiple cell positions by utilizing the correspondence between distance and force and multiple distance change information can be as follows: determining a first force directed from an initial position to a first cell position among multiple cell positions by utilizing the correspondence between distance and force and the first distance change information among multiple distance change information; determining a second force directed from an initial position to a second cell position among multiple cell positions by utilizing the correspondence between distance and force and the second distance change information among multiple distance change information;…; determining a last force directed from an initial position to a last cell position among multiple cell positions by utilizing the correspondence between distance and force and the last distance change information among multiple distance change information; and taking the first force, the second force,…, the last force as multiple forces.
[0086] In the embodiment of the present application, the corresponding relationship between the distance and the force and the first distance change information in the multiple distance change information are used to determine the process of the first force from the initial position to the first cell position in the multiple cell positions, as shown in formula (6):
[0087] F=-k*(Dd) (6)
[0088] It should be noted that F is the first force, -k is the coefficient, and Dd is the first distance change information.
[0089] In the embodiment of the present application, the process of combining multiple forces to obtain the resultant force can be: decomposing each of the multiple forces into decomposed forces in the horizontal and vertical directions to obtain each group of decomposed forces corresponding to each force; combining the decomposed forces in the horizontal direction to obtain a horizontal resultant force horizontally to the right or horizontally to the left; combining the decomposed forces in the vertical direction to obtain a vertical resultant force vertically upward or vertically downward; combining the horizontal resultant force and the vertical resultant force to obtain the resultant force.
[0090] For example, Figure 2 As shown in the figure, the target device is a mobile phone with 3 cells, corresponding to 3 forces, namely F1, F2 and F3. The three forces F1, F2 and F3 are decomposed into horizontal and vertical decomposition forces, and then the horizontal decomposition forces are combined, and the vertical decomposition forces are combined to obtain the horizontal resultant force to the left and the vertical resultant force to the downward.
[0091] It should be noted that F1 = -k*(D1-d1) is the force between the mobile phone and the base station 1 in the first cell; -k is the coefficient of Hooke's law; D1 is the distance between the initial position of the mobile phone and the base station 1 determined by the distance determination method of the propagation model; d1 is the distance between the initial position of the mobile phone and the base station 1 determined by the distance determination method between two points. F2 = -k*(D2-d2) is the force between the mobile phone and the base station 2 in the second cell; D2 is the distance between the initial position of the mobile phone and the base station 2 determined by the distance determination method of the propagation model; d2 is the distance between the initial position of the mobile phone and the base station 2 determined by the distance determination method between two points. F3 = -k*(D3-d3) is the force between the mobile phone and the base station 3 in the third cell; D3 is the distance between the initial position of the mobile phone and the base station 3 determined by the distance determination method of the propagation model; d3 is the distance between the initial position of the mobile phone and the base station 3 determined by the distance determination method between two points.
[0092] In the embodiment of the present application, when the positioning device determines the horizontal resultant force and the vertical resultant force, it can also directly determine the horizontal resultant force and the vertical resultant force as the resultant force.
[0093] In an embodiment of the present application, the positioning device adjusts the initial position according to the resultant force to obtain the adjusted initial position, which includes: determining the adjustment distance corresponding to the resultant force according to the correspondence between the preset resultant force and the preset adjustment distance; adjusting the initial position by the adjustment distance along the direction of the resultant force to obtain the adjusted initial position.
[0094] In an embodiment of the present application, the correspondence between the preset resultant force and the preset adjustment distance may be a correspondence configured in the positioning device, or a correspondence transmitted from other devices to the positioning device, or a correspondence obtained by the positioning device in other ways; the specific way in which the positioning device obtains the correspondence between the preset resultant force and the preset adjustment distance may be determined based on actual conditions, and the embodiment of the present application does not limit this.
[0095] In the embodiment of the present application, when the horizontal resultant force and the vertical resultant force are determined, the horizontal adjustment distance corresponding to the horizontal resultant force in the horizontal direction can be directly determined according to the correspondence between the preset horizontal resultant force and the preset adjustment distance; the vertical adjustment distance corresponding to the vertical resultant force in the vertical direction can be determined according to the correspondence between the preset vertical resultant force and the preset adjustment distance; the initial position is moved along the direction of the horizontal resultant force by the horizontal adjustment distance; and then the vertical adjustment distance is moved along the direction of the vertical resultant force to obtain the adjusted initial position.
[0096] In an embodiment of the present application, an exemplary execution process of a positioning method is shown in steps 1 to 6:
[0097] Step 1: Select the initial latitude and longitude (initial position) of the user's mobile phone (target device) according to formulas (1)-(2);
[0098]
[0099]
[0100] Step 2: Calculate the distances (multiple first distances) d1, d2, d3 from the user's mobile phone to the primary neighboring cell (multiple cells) using the field strength according to the propagation model;
[0101] Step 3: According to the latitude and longitude of the user's mobile phone, calculate the distance (multiple second distances) D1, D2, D3 from the user's mobile phone to the main area and the neighboring area; the distance formula is shown in formula (5):
[0102]
[0103] Step 4: Calculate the forces (multiple forces) F1, F2, F3 from the user's mobile phone to the main neighboring area;
[0104] Step 5: Calculate the forces in both the horizontal and vertical directions, calculate the resultant force (determine the resultant force) F, and update the longitude and latitude of the user's mobile phone according to the direction of the resultant force.
[0105] Step 6: Repeat steps 3 to 5 until the resultant force F is less than the threshold value (preset resultant force threshold) θ, and output the latitude and longitude of the user's mobile phone.
[0106] In the embodiment of the present application, an exemplary positioning method is as follows: Figure 3 As shown:
[0107] S1. Determine multiple cells with valid signals acquired by a target device, multiple cell locations of the multiple cells, and multiple field strength information of the multiple cells acquired by the target device.
[0108] S2. Determine the initial longitude information of the target device according to the multiple longitude information and the multiple field strength information; wherein the multiple cell locations include the multiple longitude information and the multiple latitude information of the multiple cells.
[0109] S3. Determine the initial latitude information of the target device according to the multiple latitude information and the multiple field strength information.
[0110] S4. Determine the initial longitude information and the initial latitude information as the initial position.
[0111] S5. Determine multiple first distances between the initial position and multiple pieces of position information using a distance determination method of a propagation model.
[0112] S6. Determine multiple second distances between the initial position and multiple pieces of position information using a distance determination method between two points.
[0113] S7. Determine a plurality of distance change information between the plurality of first distances and the plurality of second distances.
[0114] S8. Determine multiple forces directed from the initial position to multiple cell positions by using the corresponding relationship between the distance and the force and multiple distance change information.
[0115] S9. Combine multiple forces to obtain a resultant force.
[0116] S10. When the resultant force is greater than a preset resultant force threshold, determine an adjustment distance corresponding to the resultant force according to a corresponding relationship between the preset resultant force and the preset adjustment distance.
[0117] It should be noted that, when the resultant force is less than or equal to the preset resultant force threshold, the initial position is used as the positioning position.
[0118] S11, adjusting the initial position by an adjustment distance along the direction of the resultant force to obtain an adjusted initial position.
[0119] S12. Update the resultant force according to the adjusted initial position to obtain an updated resultant force.
[0120] S13: When the updated resultant force is less than or equal to a preset resultant force threshold, determine the adjusted initial position as the positioning position of the target device.
[0121] It can be understood that the positioning device determines the cell positions of multiple cells in which the target device can obtain effective signals and the multiple field strength information corresponding to the multiple cells, so that the initial position of the target device can be determined directly according to the multiple field strength information and the multiple cell positions, and the initial position is adjusted by using the multiple distances between the initial position and the multiple cell positions, so as to obtain the positioning position of the target device. Even in the presence of building obstructions, the positioning position of the target device can be accurately determined according to the configured multiple cell positions and multiple field strength information, thereby improving the accuracy of positioning.
[0122] Based on the same inventive concept as the above positioning method, the embodiment of the present application provides a positioning device 1 corresponding to a positioning method; Figure 4 A schematic diagram of the structure of a positioning device provided in an embodiment of the present application Figure 1 , the positioning device 1 may include:
[0123] The determination unit 11 is used to determine a plurality of cells with valid signals acquired by the target device, a plurality of cell locations of the plurality of cells, and a plurality of field strength information of the plurality of cells acquired by the target device; determine an initial position of the target device according to the plurality of field strength information and the plurality of cell locations; and determine a plurality of distances between the initial position and the plurality of cell locations;
[0124] The adjusting unit 12 is configured to adjust the initial position using the multiple distances to obtain a positioning position of the target device.
[0125] In some embodiments of the present application, the multiple cell locations include multiple longitude information and multiple latitude information of multiple cells;
[0126] The determination unit 11 is used to determine the initial longitude information of the target device according to the multiple longitude information and the multiple field strength information; determine the initial latitude information of the target device according to the multiple latitude information and the multiple field strength information; and determine the initial longitude information and the initial latitude information as the initial position.
[0127] In some embodiments of the present application, the determination unit 11 is used to determine multiple first distances between the initial position and the multiple position information using a distance determination method of a propagation model; determine multiple second distances between the initial position and the multiple position information using a distance determination method between two points; and use the multiple first distances and the multiple second distances as the multiple distances.
[0128] In some embodiments of the present application, the apparatus further comprises an updating unit;
[0129] The determining unit 11 is configured to determine a resultant force between the target device and the multiple cells according to a plurality of first distances and a plurality of second distances; the plurality of distances include the plurality of first distances and the plurality of second distances; and when the updated resultant force is less than or equal to a preset resultant force threshold, determine the adjusted initial position as the positioning position of the target device;
[0130] The adjusting unit 12 is configured to adjust the initial position according to the resultant force to obtain an adjusted initial position when the resultant force is greater than a preset resultant force threshold;
[0131] The updating unit is used to update the resultant force according to the adjusted initial position to obtain an updated resultant force.
[0132] In some embodiments of the present application, the determining unit 11 is configured to use the initial position as the positioning position when the resultant force is less than or equal to the preset resultant force threshold.
[0133] In some embodiments of the present application, the device further comprises a merging unit;
[0134] The determining unit 11 is used to determine a plurality of distance change information between the plurality of first distances and the plurality of second distances; and determine a plurality of forces directed from the initial position to the plurality of cell positions by using the correspondence between the distance and the force and the plurality of distance change information;
[0135] The merging unit is used to merge the multiple forces to obtain the resultant force.
[0136] In some embodiments of the present application, the determining unit 11 is used to determine the adjustment distance corresponding to the resultant force according to the corresponding relationship between the preset resultant force and the preset adjustment distance;
[0137] The adjusting unit 12 is used to adjust the initial position by the adjustment distance along the direction of the resultant force to obtain the adjusted initial position.
[0138] In some embodiments of the present application, the determining unit 11 is used to determine the locations of base stations in the multiple cells to obtain the multiple cell locations.
[0139] It should be noted that, in actual applications, the above-mentioned determination unit 11 and adjustment unit 12 can be implemented by a processor 13 on the positioning device 1, specifically a CPU (Central Processing Unit), an MPU (Microprocessor Unit), a DSP (Digital Signal Processing) or a field programmable gate array (FPGA); the above-mentioned data storage can be implemented by a memory 14 on the positioning device 1.
[0140] The present application also provides a positioning device 1, such as Figure 5 As shown, the positioning device 1 includes: a processor 13, a memory 14 and a communication bus 15. The memory 14 communicates with the processor 13 via the communication bus 15. The memory 14 stores a program executable by the processor 13. When the program is executed, the positioning method described above is executed by the processor 13.
[0141] In practical applications, the memory 14 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 13.
[0142] An embodiment of the present application provides a computer-readable storage medium having a computer program thereon, and when the program is executed by the processor 13, the positioning method as described above is implemented.
[0143] It can be understood that the positioning device determines the cell positions of multiple cells in which the target device can obtain effective signals and the multiple field strength information corresponding to the multiple cells, so that the initial position of the target device can be determined directly according to the multiple field strength information and the multiple cell positions, and the initial position is adjusted by using the multiple distances between the initial position and the multiple cell positions, so as to obtain the positioning position of the target device. Even in the presence of building obstructions, the positioning position of the target device can be accurately determined according to the configured multiple cell positions and multiple field strength information, thereby improving the accuracy of positioning.
[0144] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0145] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0146] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0148] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A positioning method, characterized in that: The method comprises: Determine a plurality of cells with valid signals acquired by the target device, a plurality of cell locations of the plurality of cells, and a plurality of field strength information of the plurality of cells acquired by the target device; Determining an initial position of the target device according to the multiple field strength information and the multiple cell positions; determining a plurality of distances between the initial position and the plurality of cell positions; The initial position is adjusted using the multiple distances to obtain the positioning position of the target device.
2. The method according to claim 1, characterized in that The multiple cell locations include multiple longitude information and multiple latitude information of the multiple cells; and determining the initial location of the target device according to the multiple field strength information and the multiple cell locations includes: Determining initial longitude information of the target device according to the multiple longitude information and the multiple field strength information; Determining initial latitude information of the target device according to the multiple latitude information and the multiple field strength information; The initial longitude information and the initial latitude information are determined as the initial position.
3. The method according to claim 1, characterized in that: The determining a plurality of distances between the initial position and the plurality of cell positions comprises: Determine a plurality of first distances between the initial position and the plurality of position information by using a distance determination method of a propagation model; Determine a plurality of second distances between the initial position and the plurality of position information by using a distance determination method between two points; The plurality of first distances and the plurality of second distances are referred to as the plurality of distances.
4. The method according to claim 1, characterized in that: The step of adjusting the initial position by using the multiple distances to obtain the positioning position of the target device includes: Determine a combined force between the target device and the multiple cells according to a plurality of first distances and a plurality of second distances; the plurality of distances includes the plurality of first distances and the plurality of second distances; When the resultant force is greater than a preset resultant force threshold, adjusting the initial position according to the resultant force to obtain an adjusted initial position; updating the resultant force according to the adjusted initial position to obtain an updated resultant force; When the updated resultant force is less than or equal to the preset resultant force threshold, the adjusted initial position is determined as the positioning position of the target device.
5. The method according to claim 4, characterized in that After determining the combined force between the target device and the multiple cells according to the multiple first distances and the multiple second distances, the method further includes: When the resultant force is less than or equal to the preset resultant force threshold, the initial position is used as the positioning position.
6. The method according to claim 4, characterized in that The determining, according to the plurality of first distances and the plurality of second distances, a combined force between the target device and the plurality of cells comprises: determining a plurality of distance change information between the plurality of first distances and the plurality of second distances; Determine a plurality of forces directed from the initial position to the plurality of cell positions by using a correspondence relationship between distance and force and the plurality of distance change information; The multiple forces are combined to obtain the resultant force.
7. The method according to claim 4, characterized in that The step of adjusting the initial position according to the combined force to obtain an adjusted initial position includes: Determining the adjustment distance corresponding to the resultant force according to the corresponding relationship between the preset resultant force and the preset adjustment distance; The initial position is adjusted by the adjustment distance along the direction of the resultant force to obtain the adjusted initial position.
8. The method according to claim 1, characterized in that: The determining of multiple cell locations of the multiple cells comprises: The locations of base stations in the multiple cells are determined to obtain the multiple cell locations.
9. A positioning device, characterized in that: The device comprises: a determination unit, configured to determine a plurality of cells with valid signals acquired by a target device, a plurality of cell locations of the plurality of cells, and a plurality of field strength information of the plurality of cells acquired by the target device; determine an initial position of the target device according to the plurality of field strength information and the plurality of cell locations; and determine a plurality of distances between the initial position and the plurality of cell locations; An adjustment unit is used to adjust the initial position using the multiple distances to obtain the positioning position of the target device.
10. A positioning device, characterized in that: The device comprises: A memory, a processor and a communication bus, wherein the memory communicates with the processor via the communication bus, the memory stores a positioning program executable by the processor, and when the positioning program is executed, the method according to any one of claims 1 to 8 is executed by the processor.
11. A storage medium having a computer program stored thereon, applied to a positioning device, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
