WO2024152673A1 - Mobile terminal positioning method and apparatus, and device and storage medium - Google Patents

Mobile terminal positioning method and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2024152673A1
WO2024152673A1 PCT/CN2023/129378 CN2023129378W WO2024152673A1 WO 2024152673 A1 WO2024152673 A1 WO 2024152673A1 CN 2023129378 W CN2023129378 W CN 2023129378W WO 2024152673 A1 WO2024152673 A1 WO 2024152673A1
Authority
WO
WIPO (PCT)
Prior art keywords
satellite
grid unit
sight
grid
mobile terminal
Prior art date
Application number
PCT/CN2023/129378
Other languages
French (fr)
Chinese (zh)
Inventor
周启帆
卞光宇
童梦想
袁义龙
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2024152673A1 publication Critical patent/WO2024152673A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/40Correcting position, velocity or attitude
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/33Multimode operation in different systems which transmit time stamped messages, e.g. GPS/GLONASS
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement

Definitions

  • the present application relates to the field of positioning technology, and in particular to a positioning method, device, equipment and storage medium for a mobile terminal.
  • the Global Navigation Satellite System is an airborne radio navigation and positioning system that can provide users with all-weather 3D coordinates, speed and time information anywhere on the Earth's surface or in near-Earth space.
  • the GNSS can be used to locate vehicles, mobile phones and other mobile devices, and can also locate children or the elderly so that their exact location can be determined in time when they are lost.
  • Related technologies include methods for using virtual elevation models to assist satellite navigation positioning in urban environments.
  • Using the elevation information in the 3D (3D) model of the city according to the different characteristics of elevation changes in the urban environment, corresponding virtual elevation observations are constructed, and the constructed virtual elevation observations are integrated with the original observations from the satellite navigation receiver, and finally the final solution of the user's position is obtained through the weighted least squares algorithm.
  • the above method only uses the elevation information of the city 3D model, which easily leads to poor positioning accuracy.
  • Embodiments of the present application provide a method, apparatus, device, and storage medium for positioning a mobile terminal.
  • a positioning method for a mobile terminal which is executed by a computer device, and the method includes:
  • the positioning result of the mobile terminal is determined according to the comprehensive scores respectively corresponding to the M grid units.
  • a positioning device for a mobile terminal comprising:
  • a data acquisition module used to acquire a preliminary positioning position of the mobile terminal, determine building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position;
  • a measurement information determination module configured to determine, for an i-th grid cell among M grid cells located around the preliminary positioning position, measurement line of sight information corresponding to the i-th grid cell according to the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M;
  • a comprehensive score determination module configured to determine a comprehensive score corresponding to the ith grid unit according to the measured line-of-sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit;
  • the positioning result determination module is used to determine the positioning result of the mobile terminal according to the comprehensive scores corresponding to the M grid units respectively.
  • a computer device which includes a processor and a memory, wherein the memory stores computer-readable instructions, and the computer-readable instructions are loaded and executed by the processor to implement the above-mentioned positioning method of the mobile terminal.
  • a computer-readable storage medium in which computer-readable storage medium is stored computer-readable instructions, and the computer-readable instructions are loaded and executed by a processor to implement the above-mentioned positioning method of the mobile terminal.
  • a computer program product comprising computer-readable instructions, the computer-readable instructions being loaded and executed by a processor to implement the above-mentioned positioning method for a mobile terminal.
  • FIG1 is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application.
  • FIG2 is a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application.
  • FIG3 is a schematic diagram of the altitude angle of a satellite and the maximum altitude angle of a building provided by an embodiment of the present application;
  • FIG4 is a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application.
  • FIG5 is a schematic diagram of M grid units provided by an embodiment of the present application.
  • FIG6 is a grid diagram of a sight distance matching score based on building data and a carrier-to-noise ratio provided by one embodiment of the present application;
  • FIG7 is a schematic diagram of a grid based on pseudorange residual scores provided by an embodiment of the present application.
  • FIG8 is a grid diagram of a comprehensive score based on the line-of-sight matching degree and the pseudorange residual score provided by an embodiment of the present application;
  • FIG9 is a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application.
  • FIG10 is a schematic diagram showing a comparison between the actual position of a mobile terminal provided by an embodiment of the present application and the positioning position of the mobile terminal obtained using different positioning solution methods;
  • FIG11 is a schematic diagram of the positioning error and positioning effect of the technical solution of the present application provided by an embodiment of the present application.
  • FIG12 is a schematic diagram of a specific performance of the technical solution of the present application in a product application provided by an embodiment of the present application;
  • FIG13 is a block diagram of a positioning method for a mobile terminal provided in one embodiment of the present application.
  • FIG. 14 is a schematic diagram of the structure of a computer device provided in one embodiment of the present application.
  • CORS Continuous Operating Reference Stations
  • the CORS system consists of five parts: base station network, data processing center, data transmission system, positioning and navigation data broadcasting system, and user application system.
  • Each base station and the monitoring and analysis center are connected to form a dedicated network through a data transmission system.
  • It is to establish a number of continuously operating permanent reference stations within a certain area, and through network interconnection, it constitutes a new generation of networked GNSS integrated service system, which can not only provide accurate and continuous spatial benchmarks to surveying and mapping users at all levels, but also provide various data services to navigation, time, disaster prevention and other departments.
  • Line of sight The propagation conditions of wireless communication systems are usually divided into two environments: line of sight (LOS) and non-line of sight (NLOS).
  • LOS line of sight
  • NLOS non-line of sight
  • wireless signals propagate in a straight line between the transmitter and the receiver without obstruction.
  • non-line of sight conditions that is, when there are obstacles, wireless signals can only reach the receiver through reflection, scattering and diffraction.
  • the wireless signals are received through multiple channels, and the multipath effect will bring a series of problems such as delay asynchronization, signal attenuation, polarization change, link instability, etc.
  • Artificial Intelligence is the use of digital computers or machines controlled by digital computers. Theory, methods, technology and application system to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
  • artificial intelligence is a comprehensive technology of computer science, which attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence.
  • Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that machines have the functions of perception, reasoning and decision-making.
  • artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
  • the technical solution of this application mainly relates to the positioning solution technology in artificial intelligence technology, mainly to the positioning technology of mobile terminals.
  • FIG. 1 shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application.
  • the solution implementation environment can be implemented as a positioning system for a mobile terminal.
  • the solution implementation environment may include: a mobile terminal 101, a CORS system 102, and a server 103.
  • the mobile terminal 101 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, a PC (Personal Computer), a vehicle-mounted terminal, etc.
  • a client of a positioning solution program is installed in the mobile terminal 101, and the positioning solution program can be used to obtain the position of the mobile terminal 101.
  • the mobile terminal 101 can receive satellite signals sent by different satellites, and then the global satellite navigation system can calculate the initial positioning position of the mobile terminal 101 according to the time information and distance information of the carrier signal received by the mobile terminal 101, and the positioning solution program in the mobile terminal 101 can obtain the initial positioning position of the mobile terminal 101 based on the global satellite navigation system.
  • the CORS system 102 is used to obtain building data around the preliminary positioning position of the mobile terminal 101, which may include, for example, the location and spatial information of the building, and to obtain ephemeris data, which may be used to calculate the coordinate positions of all satellites in the ECEF (Earth-Centered, Earth-Fixed) coordinate system. Based on the preliminary positioning position of the mobile terminal 101, the building data around the preliminary positioning position of the mobile terminal 101, and the coordinate positions of all satellites, the line-of-sight or non-line-of-sight situation of each satellite for the mobile terminal 101 can be calculated.
  • ECEF Earth-Centered, Earth-Fixed
  • the server 103 is used to provide background services for the client of the positioning solution program installed and running in the mobile terminal 101.
  • the server 103 can be the background server of the above positioning solution program.
  • the server 103 can be a single server, or a server cluster composed of multiple servers, or a cloud computing service center.
  • the server 103 provides background services for the clients of the positioning solution program in multiple mobile terminals 101 at the same time.
  • the mobile terminal 101 and the server 103 can communicate with each other via the network.
  • a client of a positioning solution program is installed in the mobile terminal 101, and the server 103 can generate a number of grid units 104 according to the preliminary positioning position of the mobile terminal 101, and based on the line-of-sight or non-line-of-sight situation of each satellite for the mobile terminal 101, obtain the probability that the mobile terminal 101 is located in each grid unit, and then determine the final positioning position of the mobile terminal 101.
  • FIG. 2 shows a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application.
  • the execution subject of each step of the method may be a computer device.
  • the method may include at least one of the following steps 210 to 240:
  • the building data includes the location and spatial information of the building, and the satellite location data includes the location coordinates of n satellites around the initial positioning location, where n is a positive integer.
  • the initial positioning position of a mobile terminal is the position obtained by positioning the mobile terminal.
  • the initial positioning position is an approximate position that needs to be further corrected.
  • the initial positioning position can be obtained through the global satellite navigation system. In cities, canyons, or scenarios where there are many buildings around the mobile terminal, the satellite signals received by the mobile terminal are easily affected by the surrounding buildings or three-dimensional terrain, resulting in large errors when the global satellite navigation system locates the position of the mobile terminal. For example, the mobile terminal is mistakenly located on the opposite street or adjacent block from the actual location.
  • the position obtained by the global satellite navigation system can be used as the preliminary positioning position, and the building data and satellite position data around the preliminary positioning position can be fully utilized to solve the position of the mobile terminal, thereby improving the positioning accuracy of the mobile terminal when the satellite signal is severely affected by urban buildings.
  • the building data includes the location and spatial information of at least one building around the preliminary positioning location, wherein the location of the building includes the orientation information and distance information between the building and the mobile terminal, and the spatial information of the building includes the three-dimensional information of the building, such as the horizontal width information, vertical width information and height information of the building.
  • the satellite position data includes the position coordinates of n satellites around the preliminary positioning position, where the n satellites include visible satellites whose satellite signals are transmitted to the mobile terminal without obstruction, and invisible satellites whose satellite signals are transmitted to the mobile terminal through obstacles. Satellites include but are not limited to BDS (BeiDou Navigation Satellite System), GPS (Global Positioning System), GALILEO (Galileo satellite navigation system), GLONASS (Global Navigation Satellite System), etc.
  • BDS BeiDou Navigation Satellite System
  • GPS Global Positioning System
  • GALILEO Globalileo satellite navigation system
  • GLONASS Global Navigation Satellite System
  • Step 220 for the i-th grid cell among the M grid cells located around the preliminary positioning position, determine the measurement line of sight information corresponding to the i-th grid cell according to the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M.
  • the measured line-of-sight information corresponding to the i-th grid unit includes the measured line-of-sight results of each satellite.
  • the measured line-of-sight result is the result of determining whether there is line-of-sight communication between the satellite and the mobile terminal when the mobile terminal is located in the i-th grid unit based on the obstruction of the building.
  • the i-th grid unit can receive the satellite signal sent by the satellite without obstruction.
  • Measuring line-of-sight information is to use the relative position relationship between the location of the grid unit and the buildings around the grid unit and the relative position relationship between the location of the grid unit and the satellite position to determine the line-of-sight or non-line-of-sight situation of each satellite for the mobile terminal located in different grid units. Based on the line-of-sight measurement results of each satellite, it can be determined whether each of the n satellites and the mobile terminal located in different grid units have line-of-sight communication.
  • the measured line-of-sight information may be presented in the form of a vector as a measured line-of-sight vector, and the measured line-of-sight vector includes the measured line-of-sight results of each satellite for different grid cells.
  • the grid cell where the mobile terminal is located can receive the satellite signal sent by a certain satellite without obstruction, then the communication between the satellite and the mobile terminal located in the grid cell is line-of-sight (LOS), and the satellite can be determined as a visible satellite for the grid cell. If the grid cell where the mobile terminal is located can only receive the satellite signal sent by a certain satellite passing through an obstacle, then the communication between the satellite and the mobile terminal located in the grid cell is non-line-of-sight (NLOS), and the satellite can be determined as an invisible satellite for the grid cell.
  • LOS line-of-sight
  • NLOS non-line-of-sight
  • i is an integer less than or equal to M, and the number of values of i is M.
  • i can be a positive integer from 1 to M, or an integer from 0 to M-1, which is not limited in the present application.
  • determining the measured line-of-sight information corresponding to the i-th grid unit includes: for each of the n satellites, when the altitude angle of the satellite is less than the maximum altitude angle of the building, determining the predicted line-of-sight result of the satellite to be a third value, the third value being used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with the mobile terminal; when the altitude angle of the satellite is greater than or equal to the maximum altitude angle of the building, determining the predicted line-of-sight result of the satellite to be a fourth value, the fourth value being used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal.
  • the satellite elevation angle refers to the angle from the plane toward the satellite.
  • the altitude angle of the jth satellite among n satellites is the altitude angle with the largest angle between the surrounding buildings and the mobile terminal when the mobile terminal is located in the i-th grid unit, that is, When the satellite signal received from the jth satellite passes through an obstacle, it can be determined that the jth satellite is an invisible satellite blocked for the mobile terminal located in the ith grid unit, and the measured line of sight result of the jth satellite for the mobile terminal located in the ith grid unit is the third value.
  • the satellite elevation angle is greater than or equal to the maximum elevation angle of the building, as shown in sub-graph a of FIG3, that is, when When , the satellite signal sent by the j-th satellite received by the mobile terminal located in the i-th grid unit does not pass through any obstacles, so it can be determined that the j-th satellite is an unobstructed visible satellite for the mobile terminal located in the i-th grid unit, and the measured line of sight result of the j-th satellite for the mobile terminal located in the i-th grid unit is the fourth value.
  • the third value and the fourth value are any numerical values between 0 and 1, and the values may include 0 and 1, and the third value is less than the fourth value, and the sum of the third value and the fourth value is 1. This application does not limit the specific numerical values of the third value and the fourth value.
  • the measured line-of-sight results of n satellites based on building data can be expressed as:
  • i is an integer less than or equal to M
  • j is an integer less than or equal to n
  • the third value is 0.2
  • the fourth value is 0.8
  • j can be a positive integer from 1 to n, or an integer from 0 to n-1, which is not limited in the present application.
  • a corresponding measurement vector can be generated. For example, for n satellites and M grid cells, a measurement vector of n ⁇ M specifications can be generated, and one element in the measurement vector corresponds to the measurement result of a satellite for a mobile terminal located in one grid cell.
  • the measured line-of-sight information corresponding to each grid unit can be determined.
  • Combining the building data is to obtain the line-of-sight or non-line-of-sight result corresponding to each grid unit from another perspective, so that the obtained line-of-sight or non-line-of-sight result can be combined with the actual environment and be more diverse.
  • Step 230 determining a comprehensive score corresponding to the ith grid cell based on the measured line-of-sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the satellite signal measurement information corresponding to the ith grid cell includes the signal quality measurement values of each satellite at the position of the ith grid cell; and the comprehensive score corresponding to the ith grid cell is used to indicate the probability that the mobile terminal is located in the ith grid cell.
  • the satellite signal measurement information corresponding to the i-th grid unit includes the signal quality measurement values of each satellite at the position of the i-th grid unit, and the comprehensive score corresponding to the i-th grid unit is used to indicate the probability that the mobile terminal is located in the i-th grid unit.
  • the signal quality measurement value may be a carrier-to-noise ratio (C/N0), in dB/Hz.
  • the carrier-to-noise ratio is used to represent the ratio of satellite signal power to noise power density, and is a standard measurement scale for the relationship between carrier and carrier noise.
  • a high carrier-to-noise ratio indicates that better network acceptance rate and signal transmission quality can be provided, that is, the larger the value of the carrier-to-noise ratio, the better the signal transmission quality of the corresponding j-th satellite to the i-th grid unit.
  • the probability that the real position of the mobile terminal is located in the ith grid unit can be determined.
  • Step 240 Determine the positioning result of the mobile terminal according to the comprehensive scores corresponding to the M grid cells.
  • the positioning result of the mobile terminal can be determined according to the positions of several grid units with higher comprehensive scores among the M grid units.
  • the technical solution provided in the embodiment of the present application determines the line-of-sight or non-line-of-sight state of each satellite for the mobile terminal at different positions by using the three-dimensional building information around the initial positioning position of the mobile terminal. It can be judged that when the mobile terminal is located at different positions in the urban environment, being blocked by the surrounding buildings will affect its reception of satellite signals, thereby
  • the positioning solution program of the mobile terminal can correct the positioning result according to the interference information of the mobile terminal being blocked by the building, reduce the positioning error caused by the mobile terminal being blocked by the building, and improve the precision and accuracy of positioning.
  • FIG. 4 shows a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application.
  • the execution subject of each step of the method may be a computer device.
  • the method may include at least one of the following steps 410 to 450:
  • Step 410 obtaining a preliminary positioning position of the mobile terminal, determining building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position.
  • Step 420 with the preliminary positioning position as the center, M grid cells are generated, wherein the M grid cells are arranged in a rows and b columns, and a and b are positive integers.
  • the measurement line of sight information corresponding to the i-th grid cell is determined according to the building data and the satellite position data.
  • a schematic diagram of generating M grid units with the preliminary positioning position as the center can refer to Figure 5, wherein the M grid units are arranged in 5 rows and 5 columns.
  • a and b may be equal or unequal. If a and b are equal, a ⁇ b square grid units may be generated; if a and b are unequal, a ⁇ b rectangular grid units may be generated.
  • M a ⁇ b. This application does not limit the values of a and b. For example, a 80 ⁇ 80 square grid unit may also be generated.
  • M grid cells may not be generated with the preliminary positioning position as the center, wherein the M grid cells are arranged in a rows and b columns, and a and b are positive integers.
  • the preliminary positioning position of the mobile terminal may be the center position of any one of the M grid cells, or any position contained in any one of the grid cells, for example, the edge position of any one of the grid cells.
  • the position of the grid cell may be the center position of any one of the other M-1 grid cells except the grid cell at the preliminary positioning position, or any position contained in any one of the other M-1 grid cells, for example, the edge position of other grid cells may be used as the position of the grid cell.
  • This application does not limit the side length setting of each grid unit.
  • the side length of each grid unit can be set to any length such as 5 meters, 10 meters, etc.
  • the smaller the side length setting value of the grid unit the higher the accuracy of the final positioning solution result, which can be set independently according to actual application requirements.
  • the corresponding comprehensive scores are determined; for the grid cells located inside the building among the M grid cells, the corresponding comprehensive scores are not determined.
  • the grid cell located inside the building does not have the problem of whether it is blocked by surrounding buildings to receive satellite signals. Therefore, the grid cell located inside the building does not participate in the positioning solution process of the mobile terminal. The possibility that the actual location of the mobile terminal is located in the grid cell located outside the building among the M grid cells can be judged.
  • i is an integer less than M, and the number of values of i is less than M.
  • Step 430 determining a line of sight matching score corresponding to the ith grid cell based on the measured line of sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the line of sight matching score corresponding to the ith grid cell is used to indicate the similarity between the measured line of sight information corresponding to the ith grid cell and the predicted line of sight information corresponding to the ith grid cell.
  • the satellite signal measurement information corresponding to the ith grid unit includes the signal quality measurement values of each satellite at the position of the ith grid unit.
  • the line of sight matching score corresponding to the ith grid unit can be determined based on the measured line of sight information corresponding to the ith grid unit and the carrier-to-noise ratio of the jth satellite corresponding to the ith grid unit.
  • the predicted line-of-sight information is based on the transmission quality of the satellite signals sent by each satellite and the transmission quality of all satellite signals.
  • the relationship between the quantities is calculated to predict the line-of-sight or non-line-of-sight situation of each satellite for mobile terminals located in different grid cells. Therefore, combined with the building data around the grid cell and the quality of satellite signal transmission received by the grid cell, according to the similarity between the measured line-of-sight information corresponding to the i-th grid cell and the predicted line-of-sight information corresponding to the i-th grid cell, the situation of the i-th grid cell being blocked by the building can be comprehensively obtained.
  • the predicted sight distance information can be presented in the form of a vector as a predicted sight distance vector, which includes the predicted sight distance results of each satellite for different grid cells.
  • the SSIM (Structural Similarity) indicator can be used as an indicator to evaluate the matching similarity between the measured sight distance information and the predicted sight distance information in each grid cell, that is, the sight distance matching score corresponding to each grid cell.
  • Step 430 includes at least one of the following sub-steps:
  • Step 431 based on the satellite signal measurement information corresponding to the ith grid cell, determine the predicted line-of-sight information corresponding to the ith grid cell; wherein the predicted line-of-sight information corresponding to the ith grid cell includes the predicted line-of-sight results of each satellite, and the predicted line-of-sight result refers to the result of whether there is line-of-sight communication between the satellite and the mobile terminal, assuming that the mobile terminal is located in the ith grid cell, and predicted based on the signal quality measurement value of the satellite.
  • the predicted line-of-sight result corresponding to the ith grid unit can be determined according to the carrier-to-noise ratio of the jth satellite corresponding to the ith grid unit. According to the predicted line-of-sight results of each satellite, it can be determined whether there is line-of-sight communication between each of the n satellites and the mobile terminal located in different grid units.
  • determining the predicted line-of-sight information corresponding to the i-th grid unit includes: for each of the n satellites, when the signal quality measurement value of the satellite is less than a minimum threshold value, determining the predicted line-of-sight result of the satellite to be a first value, the first value being used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with a mobile terminal; when the signal quality measurement value of the satellite is greater than a maximum threshold value, determining the predicted line-of-sight result of the satellite to be a second value, the second value being used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal; when the signal quality measurement value of the satellite is greater than the minimum threshold value and less than the maximum threshold value, determining the value of the predicted line-of-sight result of the satellite based on the signal quality measurement value of the satellite based on a linear regression fitting algorithm.
  • a 0 , a 1 , and a 2 are model parameters of linear regression fitting, and different satellites can fit different model parameters; min and max are thresholds of the carrier-to-noise ratio C/N0 in the above prediction model, min represents the minimum value of the carrier-to-noise ratio measurement values of all satellites for mobile terminals at different locations, and max represents the maximum value of the carrier-to-noise ratio measurement values of all satellites for mobile terminals at different locations; the first value is 0.2, and the second value is 0.8.
  • a corresponding predicted sight distance vector can be generated. For example, for n satellites and M grid cells, a predicted sight distance vector of n ⁇ M specifications can be generated, and one element in the predicted sight distance vector corresponds to the predicted sight distance result of a satellite for a mobile terminal located in one grid cell.
  • the server By generating the measured sight distance vector and the predicted sight distance vector of the same specification, it is helpful for the server to calculate the similarity between the measured sight distance information and the predicted sight distance information.
  • the j-th satellite is a visible satellite for line-of-sight communication for the mobile terminal located in the ith grid unit, and the predicted line-of-sight result of the j-th satellite for the mobile terminal located in the ith grid unit is a second value (such as 0.8).
  • the predicted line-of-sight result of the j-th satellite for the mobile terminal located in the ith grid unit can be obtained based on a linear regression fitting algorithm (such as a 0 ⁇ C/N0 2 +a 1 ⁇ C/N0+a 2 ).
  • first value and the second value are any values between 0 and 1, and the values may include 0 and 1, and the first value is less than the second value, and the sum of the values of the first value and the second value is 1.
  • the present application does not limit the specific values of the first value and the second value.
  • the first value may be the same as the third value
  • the second value may be the same as the fourth value, or the first value may be different from the third value
  • the second value may be different from the fourth value.
  • the line-of-sight or non-line-of-sight result corresponding to each grid unit based on the carrier-to-noise ratio can be predicted, so that the obtained line-of-sight or non-line-of-sight results can be more diverse.
  • the SSIM (structural similarity) value corresponding to the ith grid unit may be determined according to the measured sight distance information corresponding to the ith grid unit and the predicted sight distance information corresponding to the ith grid unit.
  • determining the sight distance matching score corresponding to the i-th grid unit includes:
  • a first mean value ⁇ X based on the measured line-of-sight results can be calculated, for example, the first mean value ⁇ X can be obtained based on the measured line-of-sight vector;
  • a second mean value ⁇ Y based on the predicted line-of-sight results can be calculated, for example, the first mean value ⁇ Y can be obtained based on the predicted line-of-sight vector.
  • X corresponds to the measured line-of-sight result
  • Y corresponds to the measured line-of-sight result.
  • a first standard deviation ⁇ X based on the measured line-of-sight results can be calculated, for example, the first standard deviation ⁇ X can be obtained based on the measured line-of-sight vector;
  • a second standard deviation ⁇ Y based on the predicted line-of-sight results can be calculated, for example, the second standard deviation ⁇ Y can be obtained based on the measured line-of-sight vector.
  • the first similarity parameter L(X, Y) is calculated and can be expressed as:
  • C1 is a custom parameter, which is introduced mainly to avoid the situation where the denominator is zero.
  • C1 can take the value of 0.01.
  • the second similarity parameter C(X, Y) is calculated and can be expressed as:
  • a third similarity parameter is calculated based on the first standard deviation, the second standard deviation, and the covariance of the first mean and the second mean.
  • the covariance ⁇ XY of the first mean ⁇ X and the second mean ⁇ Y is calculated and can be expressed as:
  • E(X- ⁇ X ) represents the mathematical expectation of the first mean ⁇ X
  • E(Y- ⁇ Y ) represents the mathematical expectation of the second mean ⁇ Y .
  • the third similarity parameter S(X,Y) is calculated and can be expressed as:
  • C 3 is a custom parameter, which is introduced mainly to avoid the situation where the denominator is zero.
  • C 3 can take the value of 0.03.
  • the value of C 3 can be the same as C 1 or C 2 , or different from C 1 or C 2 .
  • the similarity between the measured viewing distance information corresponding to the ith grid unit and the predicted viewing distance information corresponding to the ith grid unit is calculated.
  • a corresponding sight distance matching vector may be generated.
  • a sight distance matching vector of M ⁇ 1 specification may be generated.
  • An element in the sight distance matching vector corresponds to a sight distance matching score corresponding to a grid unit.
  • the line-of-sight matching score corresponding to each grid cell is obtained, so that the obtained line-of-sight matching score can more accurately represent the probability that the mobile terminal is located in the grid cell, thereby improving the accuracy of the positioning result.
  • FIG6 shows a grid diagram of the sight distance matching score based on building data and carrier-to-noise ratio.
  • the several light-colored areas 601 shown in FIG6 are areas with a high probability of the real position of the mobile terminal. The darker the color corresponding to the grid unit, the lower the similarity between the measured sight distance information and the predicted sight distance information in the grid unit, and the lower the probability that the real position of the mobile terminal is located in the grid unit.
  • Step 440 determining the pseudorange residual score corresponding to the ith grid cell based on the measured line-of-sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the pseudorange residual score corresponding to the ith grid cell is used to indicate the comprehensive pseudorange residual of the pseudorange residual of the visible satellite and the pseudorange residual of the invisible satellite.
  • the reference satellite among the n satellites can be determined. Then, according to the position of the satellite, the position of each grid unit, and the initial positioning position of the mobile terminal, the pseudorange residual of each satellite can be determined, and then the pseudorange residual score corresponding to each grid unit can be obtained.
  • the pseudorange residual score can be used to indicate the probability that the mobile terminal is located in each grid unit.
  • Step 440 includes at least one of the following sub-steps:
  • Step 441 determining a reference satellite from n satellites based on the signal quality measurement values and elevation angles of each satellite at the position of the i-th grid unit, where the reference satellite refers to a visible satellite with the lowest probability of being blocked for the mobile terminal among the n satellites.
  • the obstruction probability of each satellite among the n satellites for the mobile terminal located in different grid cells is determined according to the altitude angle and the carrier-to-noise ratio of each satellite, and the satellite with the lowest obstruction probability is selected as the reference satellite from the n obstruction probabilities.
  • determining a reference satellite from n satellites includes: for each visible satellite among the n satellites, determining a measurement index of the obstruction of each visible satellite for the mobile terminal based on the signal quality measurement value and altitude angle of each visible satellite at the position of the i-th grid unit; and determining the visible satellite corresponding to the measurement index with the largest value among the measurement indexes as the reference satellite.
  • the product of the carrier-to-noise ratio and the elevation angle of each visible satellite can be used as an indicator to measure the shielding condition of each visible satellite for the mobile terminal located in the i-th grid unit.
  • ⁇ i represents the altitude angle of the jth visible satellite for the ith grid unit
  • C/N0 i represents the measured value of the carrier-to-noise ratio of the jth visible satellite for the ith grid unit.
  • the comprehensive measurement index of each visible satellite for the M grid units can be determined.
  • the measurement index of each visible satellite for each grid unit can be added to obtain the comprehensive measurement index of each visible satellite for the M grid units.
  • the visible satellite corresponding to the comprehensive measurement index with the largest value can be selected from at least one comprehensive measurement index as a reference satellite.
  • the steps of calculating the measurement index of the invisible satellite are reduced, and unnecessary calculation processes are avoided, thereby reducing the operating pressure of the server computing the measurement index and improving the computing efficiency of the server.
  • Step 442 determine the receiver clock error of the ith grid unit based on the distance between the ith grid unit and the reference satellite, and the distance between the preliminary positioning position and the reference satellite.
  • the distance between the i-th grid unit and the reference satellite, and the distance difference between the preliminary positioning position and the reference satellite can be expressed as
  • the receiver clock error refers to the signal propagation time measurement error caused by the instability of the satellite navigation receiver clock. Since the reference satellite is the satellite with the lowest probability of being blocked for M grid cells, the pseudorange residual of the reference satellite can be approximated to the receiver clock error when each grid cell receives the satellite signal, which can be used to correct the pseudoranges of the remaining satellites.
  • Step 443 determining the pseudorange residual score corresponding to the ith grid unit based on the receiver clock error of the ith grid unit and the pseudoranges of each satellite, where the pseudorange of the satellite includes the distance between the grid unit and the satellite and the distance between the initial positioning position and the satellite.
  • the pseudorange of the jth satellite includes the distance between the ith grid unit and the jth satellite, and the distance between the initial positioning position of the mobile terminal and the jth satellite.
  • determining the pseudorange residual score corresponding to the i-th grid unit includes:
  • the distance difference refers to the distance difference between the ith grid unit and the satellite and the distance difference between the initial positioning position and the satellite.
  • v i
  • v i
  • the standard deviation ⁇ i of the pseudorange of the j-th satellite for the i-th grid unit is calculated and can be expressed as:
  • a and b are empirical parameters, and this application does not limit the values of a and b.
  • a can be 1, and b can be 281.
  • the pseudorange residual term of the visible satellite and the pseudorange residual term of the invisible satellite are determined.
  • the pseudorange residual term of the visible satellite corresponding to the ith grid cell can be calculated:
  • s corresponds to the visible satellite
  • t corresponds to the invisible satellite.
  • the pseudorange residual term of the visible satellite represents the pseudorange residual index of the visible satellite
  • the pseudorange residual term of the invisible satellite represents the pseudorange residual index of the invisible satellite.
  • the satellite pseudorange residual term corresponding to the i-th grid unit is calculated, which can be expressed as:
  • the pseudorange residual score res_score corresponding to the ith grid cell is calculated and can be expressed as:
  • a corresponding pseudorange residual vector may be generated.
  • a pseudorange residual vector of M ⁇ 1 specification may be generated, and one element in the pseudorange residual vector corresponds to a pseudorange residual score corresponding to one grid unit.
  • the server By generating the sight range matching vector and pseudorange residual vector of the same specification, it is helpful for the server to calculate the comprehensive score corresponding to each grid unit based on the sight range matching vector and the pseudorange residual vector.
  • each grid cell the reception of satellite signals from visible satellites can be free from interference from surrounding buildings.
  • the satellite signals sent by invisible satellites will have large measurement errors due to the influence of reflection or refraction from buildings. Therefore, the line-of-sight or non-line-of-sight conditions close to the true point grid unit are more in line with the actual measurement characteristics. Therefore, when the reference satellite is effectively selected and the influence of the receiver clock error is reduced, the smaller the pseudo-range residual terms of the visible satellite and the invisible satellite calculated by the above formula are, the higher the pseudo-range residual score value corresponding to the grid unit is.
  • the accuracy of calculating the pseudorange residual terms of visible and invisible satellites is improved, thereby improving the accuracy of calculating the pseudorange residual score corresponding to each grid unit, which is beneficial to improving the accuracy of the positioning result.
  • FIG7 shows a schematic diagram of a grid based on a pseudorange residual score.
  • the light-colored area 701 shown in FIG7 is the area with the largest probability value of the real position of the mobile terminal. The darker the color corresponding to the grid unit, the lower the pseudorange residual score value corresponding to the grid unit, and the smaller the probability that the real position of the mobile terminal is located in the grid unit.
  • Step 450 Determine a comprehensive score corresponding to the ith grid cell according to the sight range matching score corresponding to the ith grid cell and the pseudorange residual score corresponding to the ith grid cell.
  • a comprehensive score corresponding to each grid cell can be obtained.
  • the comprehensive score can be used to comprehensively represent the probability that the mobile terminal is located in each grid cell.
  • the product of the SSIM line-of-sight matching degree and the pseudorange residual score can be calculated in each grid and the square root can be taken as the comprehensive score corresponding to the i-th grid unit.
  • the comprehensive score corresponding to the i-th grid unit can be expressed as:
  • FIG8 shows a grid diagram of a comprehensive score based on the line-of-sight matching degree and the pseudo-range residual score.
  • the light-colored area 801 shown in FIG8 is the area with the largest probability value of the real position of the mobile terminal. The darker the color corresponding to the grid unit, the lower the comprehensive score value corresponding to the grid unit, and the smaller the probability that the real position of the mobile terminal is located in the grid unit.
  • the technical solution provided in the above embodiment combines the line-of-sight matching score corresponding to each grid cell and the pseudorange residual score corresponding to each grid cell to obtain a comprehensive score that can comprehensively characterize the probability that the mobile terminal is located in each grid cell.
  • the calculation source of the comprehensive score is more comprehensive, which improves the accuracy of judging the probability that the mobile terminal is located in each grid cell, thereby improving the accuracy of the positioning result.
  • FIG. 9 shows a flow chart of a positioning method for a mobile terminal provided by an embodiment of the present application.
  • the execution subject of each step of the method may be a computer device.
  • the method may include at least one of the following steps 910 to 960:
  • Step 910 Acquire the preliminary positioning position of the mobile terminal, determine the building data of at least one building around the preliminary positioning position, and the satellite position data of the satellites around the preliminary positioning position.
  • Step 920 for the i-th grid cell among the M grid cells located around the preliminary positioning position, determine the measurement line of sight information corresponding to the i-th grid cell according to the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M.
  • Step 930 determining a comprehensive score corresponding to the ith grid unit according to the measured line-of-sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit.
  • steps 910 to 930 please refer to the above embodiment, which will not be described again here.
  • Step 940 According to the comprehensive scores corresponding to the M grid units, a grid unit corresponding to the comprehensive score that meets the first condition is selected.
  • the first condition may be a threshold condition.
  • the comprehensive score that satisfies the first condition may be a comprehensive score that satisfies the M comprehensive scores and is greater than the first threshold.
  • the first threshold may be 0.150, 0.160, 0.175, etc., and the grid cell corresponding to the comprehensive score whose value is greater than the first threshold among the M comprehensive scores may be selected.
  • the comprehensive score that meets the first condition may also be a comprehensive score that meets the second threshold among the M comprehensive scores.
  • the second threshold may be 5%. Then the grid unit corresponding to the comprehensive score that ranks in the top 5% among the M comprehensive scores may be selected.
  • Step 950 divide the selected grid unit into at least one connected area, each connected area containing at least one selected grid unit.
  • a connected region refers to a grid region composed of adjacent selected grid cells.
  • a two-pass filter can be used to divide the selected grid cells into at least one connected region, each of which contains at least one selected grid cell.
  • Step 960 Determine the positioning result of the mobile terminal according to the positions and comprehensive scores of the grid cells included in each connected area, and the number of grid cells included in each connected area.
  • the position of the grid unit may be the center position of each grid unit, or may be any position contained in each grid unit, such as the edge position of the grid unit.
  • Step 960 includes at least one of the following sub-steps:
  • Step 961 for each connected region, determine the weights of the grid cells included in the connected region according to the comprehensive scores of the grid cells included in the connected region and the maximum and minimum values of the comprehensive scores that meet the first condition.
  • the maximum value of the comprehensive scores satisfying the first condition is recorded as max grid_score
  • the minimum value of the comprehensive scores satisfying the first condition is recorded as min grid_score .
  • the weight w i of the i-th grid unit contained in each connected region can be expressed as:
  • grid_score i represents the comprehensive score corresponding to the i-th grid unit
  • num represents the number of selected grid units, that is, the number of grid units corresponding to the comprehensive scores that meet the first condition.
  • Step 962 determining a probability value of the connected area according to the weights of the grid cells contained in the connected area and the number of grid cells contained in the connected area, wherein the probability value of the connected area is used to indicate the probability that the mobile terminal is located in the connected area.
  • the probability value prob k that the mobile terminal is located in the kth connected region is calculated and can be expressed as:
  • grid_num k represents the number of grid cells contained in the kth connected region, and the maximum value of k is the number of selected grid cells.
  • Step 963 In the connected area with the largest probability value, based on the proximity algorithm, the positioning result of the mobile terminal is determined according to the positions of each grid unit in the connected area with the largest probability value and the number of grid units contained in the connected area with the largest probability value.
  • a connected area with the largest prob k value is selected from the probability values of the k connected areas. For example, based on a K-Nearest Neighbor (KNN) algorithm, the positioning result of the mobile terminal is calculated according to the positions of each grid unit in the connected area with the largest probability value and the number of grid units included in the connected area with the largest probability value, which can be expressed as:
  • w i represents the weight of the i-th grid unit contained in the connected area with the largest probability value
  • (lon i , lat i ) is the position coordinate value of the i-th grid unit in the connected area with the largest probability value
  • grid_num represents the number of grid units contained in the connected area with the largest probability value
  • (lon final , lat final ) is the final positioning position coordinate value of the mobile terminal.
  • the technical solution provided by the above embodiment determines the final positioning result by dividing the grid cells with higher scores into connected areas again after determining the comprehensive score corresponding to the mobile terminal, and calculating the probability value of the mobile terminal being located in each connected area. This avoids the situation where the mobile terminal is not located in the grid cell with the highest comprehensive score, reduces the error generated in the calculation process of the comprehensive score, and improves the accuracy of the positioning result of the mobile terminal.
  • FIG10 shows a schematic diagram comparing the actual position of a mobile terminal and the positioning position of the mobile terminal obtained using different positioning solution methods.
  • the dark large dot represents the actual position of the mobile terminal
  • the dark small dot represents the positioning position obtained using GNSS
  • the polygons in the figure represent the surrounding buildings
  • the numbers on the polygons represent the heights of the various buildings. It can be seen that the positioning position obtained using GNSS is blocked by the surrounding buildings, resulting in the positioning solution result deviating to the opposite block of the actual position of the mobile terminal, and there is a large position difference between the actual position of the mobile terminal.
  • the light small dot represents the positioning position obtained using the technical solution of the present application. It can be seen that compared with the positioning position obtained using GNSS, the accuracy of the positioning position obtained using the technical solution of the present application has been significantly improved, and there are many light small dots that overlap with the positions of the dark large dots.
  • the positioning position obtained using the technical solution of the present application does not deviate much from the actual position of the mobile terminal, and they are all located on the same road in the same block, which effectively corrects the positioning error of the global navigation positioning system and improves the positioning accuracy.
  • Sub-figure a of Figure 11 shows a schematic diagram comparing the positioning error of the technical solution of the present application and the GNSS positioning error.
  • the dark rectangular columns in the figure represent the positioning error of the technical solution of the present application
  • the light rectangular columns represent the positioning error of the GNSS positioning results. From the comparison results of sub-figure a of Figure 11, it can be seen that, except for the positioning results for Shanghai, the dark rectangular columns for the other three cities, Shenzhen, Hangzhou and the background are all lower than the light rectangular columns. Therefore, in general, the positioning error of the technical solution of the present application is smaller than the positioning error of the GNSS positioning results, and the positioning effect of the technical solution of the present application is better.
  • Sub-figure b of Figure 11 shows a schematic diagram of the positioning effect of the technical solution of the present application.
  • GNSS is excellent, which means that the positioning effect of GNSS is better than that of the technical solution of the present application, and GNSS is excellent, accounting for 12.62%; Poor, which means that the positioning effect of the technical solution of the present application deviates from the true positioning effect than the positioning effect of GNSS, and Poor, accounting for 6.38%;
  • Substantial optimization of the present application means that the positioning effect of the technical solution of the present application is greatly improved compared with the positioning effect of GNSS, and the substantial optimization of the present application accounts for 15.74%.
  • the positioning effect belongs to the substantial optimization of the present application;
  • Slightly optimized of the present application means that the positioning effect of the technical solution of the present application is slightly improved compared with the positioning effect of GNSS, and the slight optimization of the present application accounts for 17.02%.
  • the positioning effect belongs to the slight optimization of the present application; Similar means that the positioning effect of the technical solution of the present application is similar to the positioning effect of GNSS, and there is no significant improvement in the positioning effect of one party.
  • FIG12 is a schematic diagram showing the specific performance of the technical solution of the present application in product applications.
  • the mark 1201 of the mobile terminal in FIG12 indicates the actual position of the mobile terminal
  • the positioning mark 1202 indicates the positioning solution result of the mobile terminal based on GNSS
  • the positioning mark 1203 indicates the positioning solution result obtained by the mobile terminal based on the technical solution of the present application. It can be clearly seen from FIG12 that the positioning position obtained using the technical solution of the present application is closer to the actual position of the mobile terminal than the positioning position obtained using GNSS, and the positioning precision and accuracy have been significantly improved.
  • Figure 13 shows a block diagram of a positioning device for a mobile terminal provided by an embodiment of the present application.
  • the device has the function of implementing the positioning method of the above-mentioned mobile terminal, and the function can be implemented by hardware, or by hardware executing corresponding software.
  • the device can be the mobile terminal introduced above, and can also be set in a mobile terminal.
  • the device 1300 may include: a data acquisition module 1310, a measurement information determination module 1320, a comprehensive score determination module 1330 and a positioning result determination module 1340.
  • the data acquisition module 1310 is used to acquire the preliminary positioning position of the mobile terminal, determine the building data of at least one building around the preliminary positioning position, and the satellite position data of the satellites around the preliminary positioning position.
  • the measurement information determination module 1320 is used to determine the measurement line of sight information corresponding to the i-th grid cell among the M grid cells located around the preliminary positioning position based on the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M.
  • the comprehensive score determination module 1330 is used to determine the comprehensive score corresponding to the ith grid cell based on the measured line-of-sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the satellite signal measurement information corresponding to the ith grid cell includes the signal quality measurement values of each satellite at the position of the ith grid cell; the comprehensive score corresponding to the ith grid cell is used to indicate the probability that the mobile terminal is located in the ith grid cell.
  • the positioning result determination module 1340 is used to determine the positioning result of the mobile terminal according to the comprehensive scores corresponding to the M grid units.
  • the building data includes the location and spatial information of the building
  • the satellite location data includes the location coordinates of n satellites around the preliminary positioning location, where n is a positive integer.
  • the measured line-of-sight information corresponding to the i-th grid unit includes the measured line-of-sight results of each satellite.
  • the measured line-of-sight results are the results of determining whether there is line-of-sight communication between the satellite and the mobile terminal when the mobile terminal is located in the i-th grid unit based on the obstruction of the building.
  • the i-th grid unit can receive the satellite signal sent by the satellite without obstruction.
  • the satellite signal measurement information corresponding to the i-th grid unit includes the signal quality measurement values of each satellite at the position of the i-th grid unit, and the comprehensive score corresponding to the i-th grid unit is used to indicate the probability that the mobile terminal is located in the i-th grid unit.
  • the comprehensive score determination module 1330 includes:
  • a line of sight score determination unit is used to determine a line of sight matching score corresponding to the ith grid unit based on the measured line of sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit; wherein the line of sight matching score corresponding to the ith grid unit is used to indicate the similarity between the measured line of sight information corresponding to the ith grid unit and the predicted line of sight information corresponding to the ith grid unit.
  • the pseudorange score determination unit is used to determine the pseudorange residual score corresponding to the ith grid cell according to the measured line of sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the pseudorange residual score corresponding to the ith grid cell is used to indicate the comprehensive pseudorange residual of the pseudorange residual of the visible satellite and the pseudorange residual of the invisible satellite.
  • a comprehensive score determination unit is used to determine the score of the line of sight matching corresponding to the i-th grid unit and the i-th grid unit.
  • the corresponding pseudorange residual score determines the comprehensive score corresponding to the i-th grid unit.
  • the sight distance score determination unit comprises:
  • the predicted line-of-sight determination subunit is used to determine the predicted line-of-sight information corresponding to the ith grid unit based on the satellite signal measurement information corresponding to the ith grid unit; wherein the predicted line-of-sight information corresponding to the ith grid unit includes the predicted line-of-sight results of each satellite, and the predicted line-of-sight result refers to the result of whether there is line-of-sight communication between the satellite and the mobile terminal, assuming that the mobile terminal is located in the ith grid unit and obtained by predicting the signal quality measurement value of the satellite.
  • the sight distance score determination subunit is used to determine the sight distance matching score corresponding to the ith grid unit according to the similarity between the measured sight distance information corresponding to the ith grid unit and the predicted sight distance information corresponding to the ith grid unit.
  • the predicted sight distance determination subunit is configured to:
  • the signal quality measurement value of the satellite is less than a minimum threshold value, determining that the predicted line-of-sight result of the satellite is a first value, where the first value is used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with the mobile terminal;
  • the second value is used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal;
  • the value of the predicted line of sight result of the satellite is determined according to the signal quality measurement value of the satellite based on a linear regression fitting algorithm.
  • the sight distance score determination subunit is configured to:
  • the similarity between the measured viewing distance information corresponding to the ith grid unit and the predicted viewing distance information corresponding to the ith grid unit is calculated based on the first similarity parameter, the second similarity parameter and the third similarity parameter.
  • the pseudorange score determination unit comprises:
  • the reference satellite determination subunit is used to determine a reference satellite from n satellites based on the signal quality measurement values and altitude angles of each satellite at the position of the i-th grid unit.
  • the reference satellite refers to a visible satellite with the lowest probability of being blocked for the mobile terminal among the n satellites.
  • the receiver clock error determination subunit is used to determine the receiver clock error of the ith grid unit according to the distance between the ith grid unit and the reference satellite, and the distance between the preliminary positioning position and the reference satellite.
  • the pseudorange score determination subunit is used to determine the pseudorange residual score corresponding to the ith grid unit based on the receiver clock error of the ith grid unit and the pseudorange of each satellite.
  • the pseudorange of the satellite refers to the distance between the grid unit and the satellite and the distance between the initial positioning position and the satellite.
  • the pseudorange score determination subunit is configured to:
  • the pseudorange residual corresponding to the ith grid unit is determined; wherein the distance difference refers to the distance difference between the ith grid unit and the satellite and the distance difference between the initial positioning position and the satellite;
  • the pseudorange residual term of the visible satellite and the pseudorange residual term of the invisible satellite are determined;
  • the pseudorange residual term of the satellite is obtained based on the pseudorange residual term of the visible satellite and the pseudorange residual term of the invisible satellite. Determine the pseudorange residual score corresponding to the i-th grid cell.
  • the reference satellite determination subunit is configured to:
  • a measurement index of the obstruction of each visible satellite to the mobile terminal is determined according to the signal quality measurement value and the altitude angle of each visible satellite at the position of the i-th grid unit;
  • the visible satellite corresponding to the metric with the largest value among the metric indicators is determined as the reference satellite.
  • the measurement information determination module 1320 is further configured to:
  • the predicted line-of-sight result of the satellite is a third value, where the third value is used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with the mobile terminal;
  • the predicted line of sight result of the satellite is determined to be a fourth value, and the fourth value is used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal.
  • the positioning result determination module 1340 is further configured to:
  • a grid unit corresponding to the comprehensive score that meets the first condition is selected;
  • the positioning result of the mobile terminal is determined according to the positions and comprehensive scores of the grid cells included in each connected area, and the number of grid cells included in each connected area.
  • the positioning result determination module 1340 is further configured to:
  • For each connected area determine the weights of the grid cells included in the connected area according to the comprehensive scores of the grid cells included in the connected area and the maximum and minimum values of the comprehensive scores that meet the first condition;
  • the positioning result of the mobile terminal is determined based on the proximity algorithm according to the positions of each grid unit in the connected area with the largest probability value and the number of grid units included in the connected area with the largest probability value.
  • the apparatus 1300 further includes:
  • the grid unit generation module is used to generate M grid units with the initial positioning position as the center, wherein the M grid units are arranged in a rows and b columns, and a and b are positive integers.
  • the corresponding comprehensive scores are determined; for the grid cells located inside the building among the M grid cells, the corresponding comprehensive scores are not determined.
  • the positioning solution program of the mobile terminal can correct the positioning result according to the interference information of the mobile terminal being blocked by buildings, reduce the positioning error caused by the mobile terminal being blocked by buildings, and improve the precision and accuracy of positioning.
  • the device provided in the above embodiment when implementing its functions, is only illustrated by the division of the above functional modules.
  • the above functions can be assigned to different functional modules as needed, that is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
  • FIG 14 shows a block diagram of a computer device 1400 provided in one embodiment of the present application.
  • the computer device 1400 can be any electronic device with data calculation, processing and storage functions.
  • the computer device 1400 can be used to implement the positioning method of the mobile terminal provided in the above embodiment.
  • the computer device 1400 includes a processor 1401 and a memory 1402 .
  • the processor 1401 may include one or more processing cores, such as a 4-core processor, a 9-core processor, etc.
  • the processor 1401 can be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array).
  • the processor 1401 may also include a main processor and a coprocessor.
  • the main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state.
  • the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen.
  • the processor 1401 may also include an AI processor for processing computing operations related to machine learning.
  • the memory 1402 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1402 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1402 is used to store computer-readable instructions, which are configured to be executed by one or more processors to implement the above-mentioned positioning method of the mobile terminal.
  • FIG. 14 does not limit the computer device 1400 , and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.
  • a computer-readable storage medium in which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor of a computer device, the positioning method of the mobile terminal is implemented.
  • the computer-readable storage medium can be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.
  • a computer program product includes computer-readable instructions, the computer-readable instructions are stored in a computer-readable storage medium.
  • a processor of a computer device reads the computer-readable instructions from the computer-readable storage medium, and the processor executes the computer-readable instructions, so that the computer device executes the above-mentioned positioning method of a mobile terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

A mobile terminal (101) positioning method, which is executed by a computer device (1400). The mobile terminal (101) positioning method comprises: acquiring a preliminarily positioned location of a mobile terminal (101), and determining building data of at least one building around the preliminarily positioned location, and satellite location data of a satellite around the preliminarily positioned location (210); for an i-th grid unit (104) among M grid units (104) located around the preliminarily positioned location, and according to the building data and the satellite location data, determining measured line-of-sight information corresponding to the i-th grid unit (104), M being an integer greater than 1, and i being an integer smaller than or equal to M (220); according to the measured line-of-sight information corresponding to the i-th grid unit (104) and satellite signal measurement information corresponding to the i-th grid unit (104), determining a comprehensive score corresponding to the i-th grid unit (104) (230); and according to comprehensive scores respectively corresponding to the M grid units (104), determining a positioning result (240) of the mobile terminal (101).

Description

移动终端的定位方法、装置、设备及存储介质Mobile terminal positioning method, device, equipment and storage medium
相关申请Related Applications
本申请要求2023年1月18日申请的,申请号为2023101191645,名称为“移动终端的定位方法、装置、设备及存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims priority to Chinese patent application number 2023101191645, filed on January 18, 2023, entitled “POSITIONING METHOD, APPARATUS, DEVICE AND STORAGE MEDIUM FOR MOBILE TERMINAL”, the entire text of which is hereby incorporated by reference.
技术领域Technical Field
本申请涉及定位技术领域,特别涉及一种移动终端的定位方法、装置、设备及存储介质。The present application relates to the field of positioning technology, and in particular to a positioning method, device, equipment and storage medium for a mobile terminal.
背景技术Background technique
全球卫星导航系统(Global Navigation Satellite System,GNSS)是能在地球表面或近地空间的任何地点为用户提供全天候的3维坐标和速度以及时间信息的空基无线电导航定位系统。通过全球导航卫星系统可定位车辆、手机等移动设备,还可以定位儿童或老年人,以便他们走失时及时确定其准确方位。The Global Navigation Satellite System (GNSS) is an airborne radio navigation and positioning system that can provide users with all-weather 3D coordinates, speed and time information anywhere on the Earth's surface or in near-Earth space. The GNSS can be used to locate vehicles, mobile phones and other mobile devices, and can also locate children or the elderly so that their exact location can be determined in time when they are lost.
相关技术中,包括利用虚拟高程模型辅助城市环境下卫星导航定位的方法。利用城市3D(3Dimensions,三维)模型中的高程信息,根据城市环境下高程变化的不同特点,构建相应的虚拟高程观测量,并将所构建的虚拟高程观测量与来自卫星导航接收机的原始观测量相融合,最终通过加权最小二乘算法得到用户位置的最终解。Related technologies include methods for using virtual elevation models to assist satellite navigation positioning in urban environments. Using the elevation information in the 3D (3D) model of the city, according to the different characteristics of elevation changes in the urban environment, corresponding virtual elevation observations are constructed, and the constructed virtual elevation observations are integrated with the original observations from the satellite navigation receiver, and finally the final solution of the user's position is obtained through the weighted least squares algorithm.
然而,上述方法仅使用了城市3D模型的高程信息,容易导致定位精度较差。However, the above method only uses the elevation information of the city 3D model, which easily leads to poor positioning accuracy.
发明内容Summary of the invention
本申请实施例提供了一种移动终端的定位方法、装置、设备及存储介质。Embodiments of the present application provide a method, apparatus, device, and storage medium for positioning a mobile terminal.
根据本申请实施例的一个方面,提供了一种移动终端的定位方法,由计算机设备执行,所述方法包括:According to one aspect of an embodiment of the present application, a positioning method for a mobile terminal is provided, which is executed by a computer device, and the method includes:
获取移动终端的初步定位位置,确定所述初步定位位置周围至少一个建筑物的建筑物数据,以及所述初步定位位置周围卫星的卫星位置数据;Acquire a preliminary positioning position of the mobile terminal, determine building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position;
对于位于所述初步定位位置周围的M个网格单元中的第i个网格单元,根据所述建筑物数据和所述卫星位置数据,确定所述第i个网格单元对应的量测视距信息,M为大于1的整数,i为小于或等于M的整数;For an i-th grid cell among M grid cells located around the preliminary positioning position, determining, according to the building data and the satellite position data, the measured line-of-sight information corresponding to the i-th grid cell, where M is an integer greater than 1, and i is an integer less than or equal to M;
根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的综合得分;及Determine a comprehensive score corresponding to the i-th grid unit according to the measured line-of-sight information corresponding to the i-th grid unit and the satellite signal measurement information corresponding to the i-th grid unit; and
根据所述M个网格单元分别对应的综合得分,确定所述移动终端的定位结果。The positioning result of the mobile terminal is determined according to the comprehensive scores respectively corresponding to the M grid units.
根据本申请实施例的一个方面,提供了一种移动终端的定位装置,所述装置包括:According to one aspect of an embodiment of the present application, a positioning device for a mobile terminal is provided, the device comprising:
数据获取模块,用于获取移动终端的初步定位位置,确定所述初步定位位置周围至少一个建筑物的建筑物数据,以及所述初步定位位置周围卫星的卫星位置数据;A data acquisition module, used to acquire a preliminary positioning position of the mobile terminal, determine building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position;
量测信息确定模块,用于对于位于所述初步定位位置周围的M个网格单元中的第i个网格单元,根据所述建筑物数据和所述卫星位置数据,确定所述第i个网格单元对应的量测视距信息,M为大于1的整数,i为小于或等于M的整数;a measurement information determination module, configured to determine, for an i-th grid cell among M grid cells located around the preliminary positioning position, measurement line of sight information corresponding to the i-th grid cell according to the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M;
综合得分确定模块,用于根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的综合得分;及a comprehensive score determination module, configured to determine a comprehensive score corresponding to the ith grid unit according to the measured line-of-sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit; and
定位结果确定模块,用于根据所述M个网格单元分别对应的综合得分,确定所述移动终端的定位结果。The positioning result determination module is used to determine the positioning result of the mobile terminal according to the comprehensive scores corresponding to the M grid units respectively.
根据本申请实施例的一个方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有计算机可读指令,所述计算机可读指令由所述处理器加载并执行以实现上述移动终端的定位方法。According to one aspect of an embodiment of the present application, a computer device is provided, which includes a processor and a memory, wherein the memory stores computer-readable instructions, and the computer-readable instructions are loaded and executed by the processor to implement the above-mentioned positioning method of the mobile terminal.
根据本申请实施例的一个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可读指令,所述计算机可读指令由处理器加载并执行以实现上述移动终端的定位方法。 According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which computer-readable storage medium is stored computer-readable instructions, and the computer-readable instructions are loaded and executed by a processor to implement the above-mentioned positioning method of the mobile terminal.
根据本申请实施例的一个方面,提供了一种计算机程序产品,所述计算机程序产品包括计算机可读指令,所述计算机可读指令由处理器加载并执行以实现上述移动终端的定位方法。According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product comprising computer-readable instructions, the computer-readable instructions being loaded and executed by a processor to implement the above-mentioned positioning method for a mobile terminal.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features, objects, and advantages of the present application will become apparent from the description, drawings, and claims.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或传统技术中的技术方案,下面将对实施例或传统技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据公开的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on the disclosed drawings without paying any creative work.
图1是本申请一个实施例提供的方案实施环境的示意图;FIG1 is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;
图2是本申请一个实施例提供的移动终端的定位方法的流程图;FIG2 is a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application;
图3是本申请一个实施例提供的卫星的高度角与建筑物的最大高度角的示意图;FIG3 is a schematic diagram of the altitude angle of a satellite and the maximum altitude angle of a building provided by an embodiment of the present application;
图4是本申请一个实施例提供的移动终端的定位方法的流程图;FIG4 is a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application;
图5是本申请一个实施例提供的M个网格单元的示意图;FIG5 is a schematic diagram of M grid units provided by an embodiment of the present application;
图6是本申请一个实施例提供的基于建筑物数据和载噪比的视距匹配得分的网格示意图;FIG6 is a grid diagram of a sight distance matching score based on building data and a carrier-to-noise ratio provided by one embodiment of the present application;
图7是本申请一个实施例提供的基于伪距残差得分的网格示意图;FIG7 is a schematic diagram of a grid based on pseudorange residual scores provided by an embodiment of the present application;
图8是本申请一个实施例提供的基于视距匹配度与伪距残差得分的综合得分的网格示意图;FIG8 is a grid diagram of a comprehensive score based on the line-of-sight matching degree and the pseudorange residual score provided by an embodiment of the present application;
图9是本申请一个实施例提供的移动终端的定位方法的流程图;FIG9 is a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application;
图10是本申请一个实施例提供的移动终端的实际位置和使用不同定位解算方法得到的移动终端的定位位置的对比示意图;FIG10 is a schematic diagram showing a comparison between the actual position of a mobile terminal provided by an embodiment of the present application and the positioning position of the mobile terminal obtained using different positioning solution methods;
图11是本申请一个实施例提供的本申请技术方案的定位误差和定位效果的示意图;FIG11 is a schematic diagram of the positioning error and positioning effect of the technical solution of the present application provided by an embodiment of the present application;
图12是本申请一个实施例提供的本申请技术方案在产品应用上的具体表现的示意图;FIG12 is a schematic diagram of a specific performance of the technical solution of the present application in a product application provided by an embodiment of the present application;
图13是本申请一个实施例提供的移动终端的定位方法的框图;FIG13 is a block diagram of a positioning method for a mobile terminal provided in one embodiment of the present application;
图14是本申请一个实施例提供的计算机设备的结构示意图。FIG. 14 is a schematic diagram of the structure of a computer device provided in one embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。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. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
在介绍本申请实施例之前,为了便于理解本方案,对本方案中出现的名词作以下解释:Before introducing the embodiments of the present application, in order to facilitate understanding of the present solution, the terms appearing in the present solution are explained as follows:
1.CORS(Continuously Operating Reference Stations,卫星连续运行参考站)系统:是全球卫星导航技术、计算机网络技术、数字通讯技术等高新科技多方位、深度结晶的产物。CORS系统由基准站网、数据处理中心、数据传输系统、定位导航数据播发系统、用户应用系统五个部分组成,各基准站与监测分析中心间通过数据传输系统连接成一体,形成专用网络。它是在某一区域范围内建立若干个连续运行的永久性参考站,通过网络互联,构成新一代的网络化的GNSS综合服务系统,不仅可以向各级测绘用户提供精度、连续的空间基准,并可向导航、时间、灾害防治等部门提供各种数据服务。1.CORS (Continuously Operating Reference Stations) system: It is the product of the multi-faceted and in-depth crystallization of global satellite navigation technology, computer network technology, digital communication technology and other high-tech technologies. The CORS system consists of five parts: base station network, data processing center, data transmission system, positioning and navigation data broadcasting system, and user application system. Each base station and the monitoring and analysis center are connected to form a dedicated network through a data transmission system. It is to establish a number of continuously operating permanent reference stations within a certain area, and through network interconnection, it constitutes a new generation of networked GNSS integrated service system, which can not only provide accurate and continuous spatial benchmarks to surveying and mapping users at all levels, but also provide various data services to navigation, time, disaster prevention and other departments.
2.视距(line of sight,LOS):通常将无线通信系统的传播条件分成视距(LOS)和非视距(Not line of sight,NLOS)两种环境。在视距条件下,无线信号无遮挡地在发信端与接收端之间直线传播。而在非视距条件下,即有障碍物的情况下,无线信号只能通过反射,散射和衍射方式到达接收端,此时的无线信号通过多种途径被接收,而多路径效应会带来时延不同步、信号衰减、极化改变、链路不稳定等一系列问题。2. Line of sight (LOS): The propagation conditions of wireless communication systems are usually divided into two environments: line of sight (LOS) and non-line of sight (NLOS). Under line of sight conditions, wireless signals propagate in a straight line between the transmitter and the receiver without obstruction. Under non-line of sight conditions, that is, when there are obstacles, wireless signals can only reach the receiver through reflection, scattering and diffraction. At this time, the wireless signals are received through multiple channels, and the multipath effect will bring a series of problems such as delay asynchronization, signal attenuation, polarization change, link instability, etc.
人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器 模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。换句话说,人工智能是计算机科学的一个综合技术,它企图了解智能的实质,并生产出一种新的能以人类智能相似的方式做出反应的智能机器。人工智能也就是研究各种智能机器的设计原理与实现方法,使机器具有感知、推理与决策的功能。Artificial Intelligence (AI) is the use of digital computers or machines controlled by digital computers. Theory, methods, technology and application system to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology of computer science, which attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that machines have the functions of perception, reasoning and decision-making.
人工智能技术是一门综合学科,涉及领域广泛,既有硬件层面的技术也有软件层面的技术。人工智能基础技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机视觉技术、语音处理技术、自然语言处理技术以及机器学习/深度学习等几大方向。Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning/deep learning.
随着人工智能技术研究和进步,人工智能技术在多个领域展开研究和应用,例如常见的智能家居、智能穿戴设备、虚拟助理、智能音箱、智能营销、无人驾驶、自动驾驶、无人机、机器人、智能医疗、智能客服等,相信随着技术的发展,人工智能技术将在更多的领域得到应用,并发挥越来越重要的价值。With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
本申请技术方案主要涉及人工智能技术中的定位解算技术,主要涉及移动终端的定位技术。The technical solution of this application mainly relates to the positioning solution technology in artificial intelligence technology, mainly to the positioning technology of mobile terminals.
请参考图1,其示出了本申请一个实施例提供的方案实施环境的示意图。该方案实施环境可以实现成为移动终端的定位系统。该方案实施环境可以包括:移动终端101、CORS系统102和服务器103。Please refer to Figure 1, which shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application. The solution implementation environment can be implemented as a positioning system for a mobile terminal. The solution implementation environment may include: a mobile terminal 101, a CORS system 102, and a server 103.
移动终端101可以是诸如手机、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备、PC(Personal Computer,个人计算机)、车载终端等电子设备。移动终端101中安装有定位解算程序的客户端,定位解算程序可以用于获取移动终端101的位置。移动终端101可以接收不同卫星发出的卫星信号,进而全球卫星导航系统可以根据移动终端101接收载波信号的时间信息和距离信息测算出移动终端101的初步定位位置,而移动终端101中的定位解算程序可以基于全球卫星导航系统获得移动终端101的初步定位位置。The mobile terminal 101 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, a PC (Personal Computer), a vehicle-mounted terminal, etc. A client of a positioning solution program is installed in the mobile terminal 101, and the positioning solution program can be used to obtain the position of the mobile terminal 101. The mobile terminal 101 can receive satellite signals sent by different satellites, and then the global satellite navigation system can calculate the initial positioning position of the mobile terminal 101 according to the time information and distance information of the carrier signal received by the mobile terminal 101, and the positioning solution program in the mobile terminal 101 can obtain the initial positioning position of the mobile terminal 101 based on the global satellite navigation system.
CORS系统102用于获取移动终端101的初步定位位置周围的建筑物数据,例如可以包括建筑物的位置和空间信息,以及用于获取星历数据,星历数据可以用于计算所有卫星在ECEF(Earth-Centered,Earth-Fixed,地心地固)坐标系中的坐标位置。基于移动终端101的初步定位位置、移动终端101的初步定位位置周围的建筑物数据和所有卫星的坐标位置,可以计算出每个卫星对于移动终端101的视距或非视距情况。The CORS system 102 is used to obtain building data around the preliminary positioning position of the mobile terminal 101, which may include, for example, the location and spatial information of the building, and to obtain ephemeris data, which may be used to calculate the coordinate positions of all satellites in the ECEF (Earth-Centered, Earth-Fixed) coordinate system. Based on the preliminary positioning position of the mobile terminal 101, the building data around the preliminary positioning position of the mobile terminal 101, and the coordinate positions of all satellites, the line-of-sight or non-line-of-sight situation of each satellite for the mobile terminal 101 can be calculated.
服务器103用于为移动终端101中安装运行的定位解算程序的客户端提供后台服务。例如,服务器103可以是上述定位解算程序的后台服务器。服务器103可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。可选地,服务器103同时为多个移动终端101中的定位解算程序的客户端提供后台服务。The server 103 is used to provide background services for the client of the positioning solution program installed and running in the mobile terminal 101. For example, the server 103 can be the background server of the above positioning solution program. The server 103 can be a single server, or a server cluster composed of multiple servers, or a cloud computing service center. Optionally, the server 103 provides background services for the clients of the positioning solution program in multiple mobile terminals 101 at the same time.
移动终端101和服务器103之间可通过网络进行互相通信。The mobile terminal 101 and the server 103 can communicate with each other via the network.
在本申请实施例中,移动终端101中安装有定位解算程序的客户端,服务器103可以根据移动终端101的初步定位位置生成若干个网格单元104,并基于每个卫星对于移动终端101的视距或非视距情况,得到移动终端101位于各个网格单元的概率,进而可以确定移动终端101的最终定位位置。In an embodiment of the present application, a client of a positioning solution program is installed in the mobile terminal 101, and the server 103 can generate a number of grid units 104 according to the preliminary positioning position of the mobile terminal 101, and based on the line-of-sight or non-line-of-sight situation of each satellite for the mobile terminal 101, obtain the probability that the mobile terminal 101 is located in each grid unit, and then determine the final positioning position of the mobile terminal 101.
请参考图2,其示出了本申请一个实施例提供的移动终端的定位方法的流程图。该方法各步骤的执行主体可以是计算机设备。该方法可以包括如下步骤210~240中的至少一个步骤:Please refer to FIG. 2, which shows a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application. The execution subject of each step of the method may be a computer device. The method may include at least one of the following steps 210 to 240:
步骤210,获取移动终端的初步定位位置,确定初步定位位置周围至少一个建筑物的建筑物数据,以及初步定位位置周围卫星的卫星位置数据。Step 210, obtaining a preliminary positioning position of the mobile terminal, determining building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position.
其中,建筑物数据包括建筑物的位置和空间信息,卫星位置数据包括初步定位位置周围n个卫星的位置坐标,n为正整数。The building data includes the location and spatial information of the building, and the satellite location data includes the location coordinates of n satellites around the initial positioning location, where n is a positive integer.
移动终端的初步定位位置,是对移动终端进行定位得到的位置。初步定位位置是概略位置,是待进一步修正的位置。该初步定位位置可以通过全球卫星导航系统获得。但是在 城市、峡谷或者移动终端周围建筑物较多的场景下,移动终端接收卫星信号容易受到周围建筑物或者三维地貌的影响,导致全球卫星导航系统定位移动终端的位置时容易出现较大误差,例如出现将移动终端的位置错误定位至真实所在地对面街道或相邻街区的情况。因此,可以将全球卫星导航系统获得的位置作为初步定位位置,并充分利用初步定位位置周围的建筑物数据和卫星位置数据,解算移动终端的位置,提高移动终端在卫星信号受城市建筑物影响严重情况下的定位准确性。The initial positioning position of a mobile terminal is the position obtained by positioning the mobile terminal. The initial positioning position is an approximate position that needs to be further corrected. The initial positioning position can be obtained through the global satellite navigation system. In cities, canyons, or scenarios where there are many buildings around the mobile terminal, the satellite signals received by the mobile terminal are easily affected by the surrounding buildings or three-dimensional terrain, resulting in large errors when the global satellite navigation system locates the position of the mobile terminal. For example, the mobile terminal is mistakenly located on the opposite street or adjacent block from the actual location. Therefore, the position obtained by the global satellite navigation system can be used as the preliminary positioning position, and the building data and satellite position data around the preliminary positioning position can be fully utilized to solve the position of the mobile terminal, thereby improving the positioning accuracy of the mobile terminal when the satellite signal is severely affected by urban buildings.
建筑物数据包括初步定位位置周围的至少一个建筑物的位置和空间信息,其中,建筑物的位置包括建筑物与移动终端的方位信息和距离信息,建筑物的空间信息包括建筑物的立体三维信息,例如建筑物的横向宽度信息、纵向宽度信息和高度信息等。The building data includes the location and spatial information of at least one building around the preliminary positioning location, wherein the location of the building includes the orientation information and distance information between the building and the mobile terminal, and the spatial information of the building includes the three-dimensional information of the building, such as the horizontal width information, vertical width information and height information of the building.
卫星位置数据包括初步定位位置周围的n个卫星的位置坐标,其中,n个卫星包括卫星信号无遮挡地传送至移动终端的可见卫星,和卫星信号经过障碍物传送至移动终端的不可见卫星。卫星包括但不限于BDS(BeiDou Navigation Satellite System,北斗卫星导航系统)、GPS(Global Positioning System,全球定位系统)、GALILEO(Galileo satellite navigationsystem,伽利略卫星导航系统)、GLONASS(Global Navigation Satellite System,格洛纳斯全球导航卫星系统)等。The satellite position data includes the position coordinates of n satellites around the preliminary positioning position, where the n satellites include visible satellites whose satellite signals are transmitted to the mobile terminal without obstruction, and invisible satellites whose satellite signals are transmitted to the mobile terminal through obstacles. Satellites include but are not limited to BDS (BeiDou Navigation Satellite System), GPS (Global Positioning System), GALILEO (Galileo satellite navigation system), GLONASS (Global Navigation Satellite System), etc.
步骤220,对于位于初步定位位置周围的M个网格单元中的第i个网格单元,根据建筑物数据和卫星位置数据,确定第i个网格单元对应的量测视距信息,M为大于1的整数,i为小于或等于M的整数。Step 220, for the i-th grid cell among the M grid cells located around the preliminary positioning position, determine the measurement line of sight information corresponding to the i-th grid cell according to the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M.
其中,第i个网格单元对应的量测视距信息,包括各个卫星的量测视距结果,量测视距结果是当移动终端位于第i个网格单元时,根据建筑物的遮挡情况确定的卫星与移动终端之间是否为视距通信的结果,当卫星与位于第i个网格单元的移动终端之间为视距通信时,第i个网格单元可无遮挡地接收卫星发出的卫星信号。Among them, the measured line-of-sight information corresponding to the i-th grid unit includes the measured line-of-sight results of each satellite. The measured line-of-sight result is the result of determining whether there is line-of-sight communication between the satellite and the mobile terminal when the mobile terminal is located in the i-th grid unit based on the obstruction of the building. When there is line-of-sight communication between the satellite and the mobile terminal located in the i-th grid unit, the i-th grid unit can receive the satellite signal sent by the satellite without obstruction.
量测视距信息是利用网格单元所在位置和网格单元周围的建筑物之间的相对位置关系与网格单元所在位置和卫星位置之间的相对位置关系,判断每个卫星对于位于不同网格单元的移动终端的视距或非视距情况。根据各个卫星的量测视距结果,可以确定n个卫星中的每一个卫星与位于不同网格单元的移动终端之间是否为视距通信。Measuring line-of-sight information is to use the relative position relationship between the location of the grid unit and the buildings around the grid unit and the relative position relationship between the location of the grid unit and the satellite position to determine the line-of-sight or non-line-of-sight situation of each satellite for the mobile terminal located in different grid units. Based on the line-of-sight measurement results of each satellite, it can be determined whether each of the n satellites and the mobile terminal located in different grid units have line-of-sight communication.
需要说明的是,量测视距信息可以以向量的形式呈现为量测视距向量,量测视距向量中包括各个卫星对于不同网格单元的量测视距结果。It should be noted that the measured line-of-sight information may be presented in the form of a vector as a measured line-of-sight vector, and the measured line-of-sight vector includes the measured line-of-sight results of each satellite for different grid cells.
若移动终端位于的网格单元可以无遮挡地接收某个卫星发出的卫星信号,则该卫星与位于该网格单元内的移动终端之间为视距通信(LOS),该卫星可以判定为对于该网格单元的可见卫星。若移动终端位于的网格单元只可接收经过障碍物的某个卫星发出的卫星信号,则该卫星与位于该网格单元内的移动终端之间为非视距通信(NLOS),该卫星可以判定为对于该网格单元的不可见卫星。If the grid cell where the mobile terminal is located can receive the satellite signal sent by a certain satellite without obstruction, then the communication between the satellite and the mobile terminal located in the grid cell is line-of-sight (LOS), and the satellite can be determined as a visible satellite for the grid cell. If the grid cell where the mobile terminal is located can only receive the satellite signal sent by a certain satellite passing through an obstacle, then the communication between the satellite and the mobile terminal located in the grid cell is non-line-of-sight (NLOS), and the satellite can be determined as an invisible satellite for the grid cell.
i为小于或等于M的整数,i的取值数量为M。可选地,i可以为1至M的正整数,也可以为0至M-1的整数,本申请对此不作限定。i is an integer less than or equal to M, and the number of values of i is M. Optionally, i can be a positive integer from 1 to M, or an integer from 0 to M-1, which is not limited in the present application.
在一些实施例中,确定第i个网格单元对应的量测视距信息包括:对于n个卫星中的每一个卫星,在卫星的高度角小于建筑物的最大高度角的情况下,确定卫星的预测视距结果为第三值,第三值用于指示卫星是与移动终端之间为非视距通信的不可见卫星;在卫星的高度角大于或等于建筑物的最大高度角的情况下,确定卫星的预测视距结果为第四值,第四值用于指示卫星是与移动终端之间为视距通信的可见卫星。In some embodiments, determining the measured line-of-sight information corresponding to the i-th grid unit includes: for each of the n satellites, when the altitude angle of the satellite is less than the maximum altitude angle of the building, determining the predicted line-of-sight result of the satellite to be a third value, the third value being used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with the mobile terminal; when the altitude angle of the satellite is greater than or equal to the maximum altitude angle of the building, determining the predicted line-of-sight result of the satellite to be a fourth value, the fourth value being used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal.
卫星的高度角是指从平面开始朝向卫星方向的夹角。对于n个卫星中的每一个卫星,在卫星的高度角小于建筑物的最大高度角的情况下,如图3子图b所示,为n个卫星中的第j个卫星的高度角,为移动终端位于第i个网格单元时周围的建筑物与移动终端的夹角中夹角值最大的高度角,即当时,位于第i个网格单元的移动终端接 收的第j个卫星发出的卫星信号经过障碍物,可以判定该第j个卫星对于位于第i个网格单元的移动终端是被遮挡的不可见卫星,该第j个卫星对于位于第i个网格单元的移动终端的量测视距结果为第三值。The satellite elevation angle refers to the angle from the plane toward the satellite. For each of the n satellites, when the satellite elevation angle is less than the maximum elevation angle of the building, as shown in sub-figure b of Figure 3, is the altitude angle of the jth satellite among n satellites, is the altitude angle with the largest angle between the surrounding buildings and the mobile terminal when the mobile terminal is located in the i-th grid unit, that is, When When the satellite signal received from the jth satellite passes through an obstacle, it can be determined that the jth satellite is an invisible satellite blocked for the mobile terminal located in the ith grid unit, and the measured line of sight result of the jth satellite for the mobile terminal located in the ith grid unit is the third value.
在卫星的高度角大于或等于建筑物的最大高度角的情况下,如图3子图a所示,即当时,位于第i个网格单元的移动终端接收的第j个卫星发出的卫星信号不经过任何障碍物,可以判定该第j个卫星对于位于第i个网格单元的移动终端是无遮挡的可见卫星,该第j个卫星对于位于第i个网格单元的移动终端的量测视距结果为第四值。When the satellite elevation angle is greater than or equal to the maximum elevation angle of the building, as shown in sub-graph a of FIG3, that is, when When , the satellite signal sent by the j-th satellite received by the mobile terminal located in the i-th grid unit does not pass through any obstacles, so it can be determined that the j-th satellite is an unobstructed visible satellite for the mobile terminal located in the i-th grid unit, and the measured line of sight result of the j-th satellite for the mobile terminal located in the i-th grid unit is the fourth value.
需要注意的是,第三值和第四值为0到1的任意数值,取值可以包括0和1,且第三值小于第四值,第三值和第四值的取值之和为1,本申请对于第三值和第四值的具体数值不作限定。It should be noted that the third value and the fourth value are any numerical values between 0 and 1, and the values may include 0 and 1, and the third value is less than the fourth value, and the sum of the third value and the fourth value is 1. This application does not limit the specific numerical values of the third value and the fourth value.
示例性地,n个卫星基于建筑物数据的量测视距结果,可以表示为:
For example, the measured line-of-sight results of n satellites based on building data can be expressed as:
其中,i为小于或等于M的整数,j为小于或等于n的整数,第三值取值0.2,第四值取值0.8。可选地,j可以为1至n的正整数,也可以为0至n-1的整数,本申请对此不作限定。Wherein, i is an integer less than or equal to M, j is an integer less than or equal to n, the third value is 0.2, and the fourth value is 0.8. Optionally, j can be a positive integer from 1 to n, or an integer from 0 to n-1, which is not limited in the present application.
根据上述n个卫星基于建筑物数据的量测视距结果,可以生成相应的量测视距向量。例如,对于n个卫星和M个网格单元,则可以生成n×M规格的量测视距向量,量测视距向量中的一个元素对应于,一个卫星对于位于一个网格单元的移动终端的量测视距结果。According to the measurement results of the n satellites based on the building data, a corresponding measurement vector can be generated. For example, for n satellites and M grid cells, a measurement vector of n×M specifications can be generated, and one element in the measurement vector corresponds to the measurement result of a satellite for a mobile terminal located in one grid cell.
通过上述各个卫星的高度角和移动终端周围的建筑物的最大高度角之间的关系,可以确定每个网格单元对应的量测视距信息,而结合建筑物数据是从另一个角度获得每个网格单元对应的视距或非视距结果,使获得的视距或非视距结果可以结合实际环境,更具多样性。Through the relationship between the altitude angles of the above-mentioned satellites and the maximum altitude angles of the buildings around the mobile terminal, the measured line-of-sight information corresponding to each grid unit can be determined. Combining the building data is to obtain the line-of-sight or non-line-of-sight result corresponding to each grid unit from another perspective, so that the obtained line-of-sight or non-line-of-sight result can be combined with the actual environment and be more diverse.
步骤230,根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的综合得分;其中,第i个网格单元对应的卫星信号测量信息包括在第i个网格单元的位置处,各个卫星的信号质量测量值;第i个网格单元对应的综合分值用于指示移动终端位于第i个网格单元的概率。Step 230, determining a comprehensive score corresponding to the ith grid cell based on the measured line-of-sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the satellite signal measurement information corresponding to the ith grid cell includes the signal quality measurement values of each satellite at the position of the ith grid cell; and the comprehensive score corresponding to the ith grid cell is used to indicate the probability that the mobile terminal is located in the ith grid cell.
其中,第i个网格单元对应的卫星信号测量信息包括在第i个网格单元的位置处,各个卫星的信号质量测量值,第i个网格单元对应的综合分值用于指示移动终端位于第i个网格单元的概率。Among them, the satellite signal measurement information corresponding to the i-th grid unit includes the signal quality measurement values of each satellite at the position of the i-th grid unit, and the comprehensive score corresponding to the i-th grid unit is used to indicate the probability that the mobile terminal is located in the i-th grid unit.
示例性地,信号质量测量值可以是载噪比(C/N0),单位dB/Hz。载噪比用于表示卫星信号功率与噪声功率密度之比,是载波与载波噪音关系的标准测量尺度。高载噪比表示可提供更好的网络接受率和信号传输质量,即载噪比的值越大,对应的第j个卫星对于第i个网格单元的信号传输质量越好。Exemplarily, the signal quality measurement value may be a carrier-to-noise ratio (C/N0), in dB/Hz. The carrier-to-noise ratio is used to represent the ratio of satellite signal power to noise power density, and is a standard measurement scale for the relationship between carrier and carrier noise. A high carrier-to-noise ratio indicates that better network acceptance rate and signal transmission quality can be provided, that is, the larger the value of the carrier-to-noise ratio, the better the signal transmission quality of the corresponding j-th satellite to the i-th grid unit.
根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的各个卫星的信号质量测量值,可以确定移动终端的真实位置位于第i个网格单元的概率。According to the measured line-of-sight information corresponding to the ith grid unit and the signal quality measurement values of each satellite corresponding to the ith grid unit, the probability that the real position of the mobile terminal is located in the ith grid unit can be determined.
步骤240,根据M个网格单元分别对应的综合得分,确定移动终端的定位结果。Step 240: Determine the positioning result of the mobile terminal according to the comprehensive scores corresponding to the M grid cells.
第i个网格单元对应的综合得分值越高,移动终端的真实位置位于该网格单元的概率越高;第i个网格单元对应的综合得分值越低,移动终端的真实位置位于该网格单元的概率越低。因此,可以根据M个网格单元中综合得分值较高的若干个网格单元的位置,确定移动终端的定位结果。The higher the comprehensive score value corresponding to the i-th grid unit, the higher the probability that the real position of the mobile terminal is located in the grid unit; the lower the comprehensive score value corresponding to the i-th grid unit, the lower the probability that the real position of the mobile terminal is located in the grid unit. Therefore, the positioning result of the mobile terminal can be determined according to the positions of several grid units with higher comprehensive scores among the M grid units.
本申请实施例提供的技术方案,通过利用移动终端的初步定位位置周围的三维建筑物信息,确定各个卫星对于不同位置的移动终端的视距或非视距状态,可以判断出移动终端在城市环境中位于不同位置时,被周围建筑物遮挡会对其接收卫星信号产生影响,从而移 动终端的定位解算程序可以根据移动终端被建筑物遮挡的干扰信息,修正定位结果,减小移动终端被建筑物遮挡而产生的定位误差,提高定位的精度和准确性。The technical solution provided in the embodiment of the present application determines the line-of-sight or non-line-of-sight state of each satellite for the mobile terminal at different positions by using the three-dimensional building information around the initial positioning position of the mobile terminal. It can be judged that when the mobile terminal is located at different positions in the urban environment, being blocked by the surrounding buildings will affect its reception of satellite signals, thereby The positioning solution program of the mobile terminal can correct the positioning result according to the interference information of the mobile terminal being blocked by the building, reduce the positioning error caused by the mobile terminal being blocked by the building, and improve the precision and accuracy of positioning.
请参考图4,其示出了本申请一个实施例提供的移动终端的定位方法的流程图。该方法各步骤的执行主体可以是计算机设备。该方法可以包括如下步骤410~450中的至少一个步骤:Please refer to FIG. 4, which shows a flow chart of a method for positioning a mobile terminal provided by an embodiment of the present application. The execution subject of each step of the method may be a computer device. The method may include at least one of the following steps 410 to 450:
步骤410,获取移动终端的初步定位位置,确定初步定位位置周围至少一个建筑物的建筑物数据,以及初步定位位置周围卫星的卫星位置数据。Step 410, obtaining a preliminary positioning position of the mobile terminal, determining building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position.
步骤420,以初步定位位置为中心,生成M个网格单元,其中,M个网格单元呈a行和b列排列,a、b为正整数。对于位于初步定位位置周围的M个网格单元中的第i个网格单元,根据建筑物数据和卫星位置数据,确定第i个网格单元对应的量测视距信息。Step 420, with the preliminary positioning position as the center, M grid cells are generated, wherein the M grid cells are arranged in a rows and b columns, and a and b are positive integers. For the i-th grid cell among the M grid cells located around the preliminary positioning position, the measurement line of sight information corresponding to the i-th grid cell is determined according to the building data and the satellite position data.
示例性地,以初步定位位置为中心,生成M个网格单元的示意图可以参考图5,其中,M个网格单元呈5行和5列排列。可选地,a和b可以是相等的,也可以是不相等的。若a和b相等,则可以生成a×b的正方形网格单元;若a和b不相等,则可以生成a×b的矩形网格单元。其中,M=a·b。对于a和b的取值,本申请不作限定,例如,还可以生成80×80的正方形网格单元。Exemplarily, a schematic diagram of generating M grid units with the preliminary positioning position as the center can refer to Figure 5, wherein the M grid units are arranged in 5 rows and 5 columns. Optionally, a and b may be equal or unequal. If a and b are equal, a×b square grid units may be generated; if a and b are unequal, a×b rectangular grid units may be generated. Wherein, M=a·b. This application does not limit the values of a and b. For example, a 80×80 square grid unit may also be generated.
可选地,可以不以初步定位位置为中心生成M个网格单元,其中,M个网格单元呈a行和b列排列,a、b为正整数。移动终端的初步定位位置可以是M个网格单元中的任意一个网格单元的中心位置,也可以是任意一个网格单元中包含的任意位置,例如可以是任意一个网格单元的边线位置。同样,网格单元的位置可以是除初步定位位置的网格单元外其他M-1个网格单元中的任意一个网格单元的中心位置,也可以是其他M-1个网格单元中的任意一个网格单元中包含的任意位置,例如可以将其他网格单元的边线位置作为该网格单元的位置。Optionally, M grid cells may not be generated with the preliminary positioning position as the center, wherein the M grid cells are arranged in a rows and b columns, and a and b are positive integers. The preliminary positioning position of the mobile terminal may be the center position of any one of the M grid cells, or any position contained in any one of the grid cells, for example, the edge position of any one of the grid cells. Similarly, the position of the grid cell may be the center position of any one of the other M-1 grid cells except the grid cell at the preliminary positioning position, or any position contained in any one of the other M-1 grid cells, for example, the edge position of other grid cells may be used as the position of the grid cell.
对于每个网格单元的边长设置,本申请不作限定,例如,可以将每个网格单元的边长设置为5米、10米等任意长度。网格单元的边长设置值越小,最后的定位解算结果的精确度越高,可以根据实际应用需求自主设置。This application does not limit the side length setting of each grid unit. For example, the side length of each grid unit can be set to any length such as 5 meters, 10 meters, etc. The smaller the side length setting value of the grid unit, the higher the accuracy of the final positioning solution result, which can be set independently according to actual application requirements.
通过以初步定位位置为中心生成M个网格单元,可以较准确地概括移动终端的真实位置的可能性,进而可以提高定位结果的准确度。By generating M grid cells with the preliminary positioning position as the center, the possibility of the real position of the mobile terminal can be summarized more accurately, thereby improving the accuracy of the positioning result.
在一些实施例中,对于M个网格单元中位于建筑物外部的网格单元,确定对应的综合得分;对于M个网格单元中位于建筑物内部的网格单元,不确定对应的综合得分。In some embodiments, for the grid cells located outside the building among the M grid cells, the corresponding comprehensive scores are determined; for the grid cells located inside the building among the M grid cells, the corresponding comprehensive scores are not determined.
若生成的M个网格单元中存在位于建筑物内部的网格单元,则该位于建筑物内部的网格单元不存在是否被周围建筑物遮挡的卫星信号接收问题,因此位于建筑物内部的网格单元不参与移动终端的定位解算过程,可以对M个网格单元中位于建筑物外部的网格单元进行移动终端的真实位置位于网格单元的可能性的判断。If there is a grid cell located inside a building among the M generated grid cells, the grid cell located inside the building does not have the problem of whether it is blocked by surrounding buildings to receive satellite signals. Therefore, the grid cell located inside the building does not participate in the positioning solution process of the mobile terminal. The possibility that the actual location of the mobile terminal is located in the grid cell located outside the building among the M grid cells can be judged.
若生成的M个网格单元中存在位于建筑物内部的网格单元,则i为小于M的整数,i的取值数量小于M。If there is a grid cell located inside a building among the generated M grid cells, i is an integer less than M, and the number of values of i is less than M.
通过排除对位于建筑物内部的网格单元的定位解算过程,仅对位于建筑物外部的网格单元计算各自对应的综合得分,可以减少不必要的计算过程,从而减小服务器解算移动终端的真实位置的运行压力,提高服务器确定移动终端的定位结果的效率。By excluding the positioning and solving process for the grid cells located inside the building and only calculating the corresponding comprehensive scores for the grid cells located outside the building, unnecessary calculation processes can be reduced, thereby reducing the operating pressure of the server in solving the true position of the mobile terminal and improving the efficiency of the server in determining the positioning results of the mobile terminal.
步骤430,根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的视距匹配得分;其中,第i个网格单元对应的视距匹配得分,用于指示第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度。Step 430, determining a line of sight matching score corresponding to the ith grid cell based on the measured line of sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the line of sight matching score corresponding to the ith grid cell is used to indicate the similarity between the measured line of sight information corresponding to the ith grid cell and the predicted line of sight information corresponding to the ith grid cell.
第i个网格单元对应的卫星信号测量信息包括在第i个网格单元的位置处,各个卫星的信号质量测量值。例如,可以根据第i个网格单元对应的量测视距信息和第i个网格单元对应的第j个卫星的载噪比,确定第i个网格单元对应的视距匹配得分。The satellite signal measurement information corresponding to the ith grid unit includes the signal quality measurement values of each satellite at the position of the ith grid unit. For example, the line of sight matching score corresponding to the ith grid unit can be determined based on the measured line of sight information corresponding to the ith grid unit and the carrier-to-noise ratio of the jth satellite corresponding to the ith grid unit.
预测视距信息是根据各个卫星发出的卫星信号的传输质量与所有卫星信号的传输质 量之间的大小关系,预测计算每个卫星对于位于不同网格单元的移动终端的视距或非视距情况。因此,结合网格单元周围的建筑物数据和网格单元接收到的卫星信号传输质量,根据第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度,可以综合得出第i个网格单元被建筑物遮挡的情况。The predicted line-of-sight information is based on the transmission quality of the satellite signals sent by each satellite and the transmission quality of all satellite signals. The relationship between the quantities is calculated to predict the line-of-sight or non-line-of-sight situation of each satellite for mobile terminals located in different grid cells. Therefore, combined with the building data around the grid cell and the quality of satellite signal transmission received by the grid cell, according to the similarity between the measured line-of-sight information corresponding to the i-th grid cell and the predicted line-of-sight information corresponding to the i-th grid cell, the situation of the i-th grid cell being blocked by the building can be comprehensively obtained.
需要注意的是,预测视距信息可以以向量的形式呈现为预测视距向量,预测视距向量中包括各个卫星对于不同网格单元的预测视距结果。示例性地,可以使用SSIM(StructuralSimilarity,结构相似性)指标作为评价每个网格单元中量测视距信息和预测视距信息之间的匹配相似度,即每个网格单元对应的视距匹配得分。It should be noted that the predicted sight distance information can be presented in the form of a vector as a predicted sight distance vector, which includes the predicted sight distance results of each satellite for different grid cells. For example, the SSIM (Structural Similarity) indicator can be used as an indicator to evaluate the matching similarity between the measured sight distance information and the predicted sight distance information in each grid cell, that is, the sight distance matching score corresponding to each grid cell.
第i个网格单元对应的视距匹配得分越大,表示第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度越高,移动终端位于第i个网格单元的可能性的误差越小,真实位置位于第i个网格单元的概率越高。反之,第i个网格单元对应的视距匹配得分越小,表示第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度越低,移动终端位于第i个网格单元的可能性的误差越大,真实位置位于第i个网格单元的概率越低。The larger the sight distance matching score corresponding to the ith grid unit, the higher the similarity between the measured sight distance information corresponding to the ith grid unit and the predicted sight distance information corresponding to the ith grid unit, the smaller the error of the possibility that the mobile terminal is located in the ith grid unit, and the higher the probability that the real position is located in the ith grid unit. Conversely, the smaller the sight distance matching score corresponding to the ith grid unit, the lower the similarity between the measured sight distance information corresponding to the ith grid unit and the predicted sight distance information corresponding to the ith grid unit, the larger the error of the possibility that the mobile terminal is located in the ith grid unit, and the lower the probability that the real position is located in the ith grid unit.
步骤430包括以下子步骤中的至少一个步骤:Step 430 includes at least one of the following sub-steps:
步骤431,根据第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的预测视距信息;其中,第i个网格单元对应的预测视距信息包括各个卫星的预测视距结果,预测视距结果是指假设移动终端位于第i个网格单元,根据卫星的信号质量测量值预测得到的卫星与移动终端之间是否为视距通信的结果。Step 431, based on the satellite signal measurement information corresponding to the ith grid cell, determine the predicted line-of-sight information corresponding to the ith grid cell; wherein the predicted line-of-sight information corresponding to the ith grid cell includes the predicted line-of-sight results of each satellite, and the predicted line-of-sight result refers to the result of whether there is line-of-sight communication between the satellite and the mobile terminal, assuming that the mobile terminal is located in the ith grid cell, and predicted based on the signal quality measurement value of the satellite.
示例性地,可以根据第i个网格单元对应的第j个卫星的载噪比,确定第i个网格单元对应的预测视距结果。根据各个卫星的预测视距结果,可以确定n个卫星中的每一个卫星与位于不同网格单元的移动终端之间是否为视距通信。Exemplarily, the predicted line-of-sight result corresponding to the ith grid unit can be determined according to the carrier-to-noise ratio of the jth satellite corresponding to the ith grid unit. According to the predicted line-of-sight results of each satellite, it can be determined whether there is line-of-sight communication between each of the n satellites and the mobile terminal located in different grid units.
在一些实施例中,确定第i个网格单元对应的预测视距信息包括:对于n个卫星中的每一个卫星,在卫星的信号质量测量值小于最小门限值的情况下,确定卫星的预测视距结果为第一值,第一值用于指示卫星是与移动终端之间为非视距通信的不可见卫星;在卫星的信号质量测量值大于最大门限值的情况下,确定卫星的预测视距结果为第二值,第二值用于指示卫星是与移动终端之间为视距通信的可见卫星;在卫星的信号质量测量值大于最小门限值且小于最大门限值的情况下,基于线性回归拟合算法根据卫星的信号质量测量值,确定卫星的预测视距结果的值。In some embodiments, determining the predicted line-of-sight information corresponding to the i-th grid unit includes: for each of the n satellites, when the signal quality measurement value of the satellite is less than a minimum threshold value, determining the predicted line-of-sight result of the satellite to be a first value, the first value being used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with a mobile terminal; when the signal quality measurement value of the satellite is greater than a maximum threshold value, determining the predicted line-of-sight result of the satellite to be a second value, the second value being used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal; when the signal quality measurement value of the satellite is greater than the minimum threshold value and less than the maximum threshold value, determining the value of the predicted line-of-sight result of the satellite based on the signal quality measurement value of the satellite based on a linear regression fitting algorithm.
示例性地,n个卫星基于载噪比的预测视距结果,可以表示为:
For example, the predicted line-of-sight results of n satellites based on the carrier-to-noise ratio can be expressed as:
其中,a0、a1、a2为线性回归拟合的模型参数,不同卫星可以拟合出不同的模型参数;min、max为上述预测模型中载噪比C/N0的阈值,min表示所有卫星对于不同位置的移动终端的载噪比的测量值中的最小值,max表示所有卫星对于不同位置的移动终端的载噪比的测量值中的最大值;第一值取值0.2,第二值取值0.8。Among them, a 0 , a 1 , and a 2 are model parameters of linear regression fitting, and different satellites can fit different model parameters; min and max are thresholds of the carrier-to-noise ratio C/N0 in the above prediction model, min represents the minimum value of the carrier-to-noise ratio measurement values of all satellites for mobile terminals at different locations, and max represents the maximum value of the carrier-to-noise ratio measurement values of all satellites for mobile terminals at different locations; the first value is 0.2, and the second value is 0.8.
根据上述n个卫星基于载噪比的预测视距结果,可以生成相应的预测视距向量。例如,对于n个卫星和M个网格单元,则可以生成n×M规格的预测视距向量,预测视距向量中的一个元素对应于,一个卫星对于位于一个网格单元的移动终端的预测视距结果。According to the predicted sight distance results of the n satellites based on the carrier-to-noise ratio, a corresponding predicted sight distance vector can be generated. For example, for n satellites and M grid cells, a predicted sight distance vector of n×M specifications can be generated, and one element in the predicted sight distance vector corresponds to the predicted sight distance result of a satellite for a mobile terminal located in one grid cell.
通过生成相同规格的量测视距向量和预测视距向量,有利于服务器计算量测视距信息和预测视距信息之间的相似度。By generating the measured sight distance vector and the predicted sight distance vector of the same specification, it is helpful for the server to calculate the similarity between the measured sight distance information and the predicted sight distance information.
对于n个卫星中的每一个卫星,当第j个卫星对于第i个网格单元的载噪比的测量值小于最小门限值(min)时,可以判定第j个卫星对于位于第i个网格单元的移动终端是非 视距通信的不可见卫星,该第j个卫星对于位于第i个网格单元的移动终端的预测视距结果为第一值(如0.2)。当第j个卫星对于第i个网格单元的载噪比的测量值大于最小门限值(max)时,可以判定第j个卫星对于位于第i个网格单元的移动终端是视距通信的可见卫星,该第j个卫星对于位于第i个网格单元的移动终端的预测视距结果为第二值(如0.8)。当第j个卫星对于第i个网格单元的载噪比的测量值大于最小门限值(如0.2)且小于最大门限值(如0.8)时,可以基于线性回归拟合算法(如a0·C/N02+a1·C/N0+a2),得到第j个卫星对于位于第i个网格单元的移动终端的预测视距结果。For each of the n satellites, when the measured value of the carrier-to-noise ratio of the jth satellite for the i-th grid unit is less than the minimum threshold value (min), it can be determined that the jth satellite is non-reliable for the mobile terminal located in the i-th grid unit. For an invisible satellite for line-of-sight communication, the predicted line-of-sight result of the j-th satellite for the mobile terminal located in the ith grid unit is a first value (such as 0.2). When the measured value of the carrier-to-noise ratio of the j-th satellite for the ith grid unit is greater than the minimum threshold value (max), it can be determined that the j-th satellite is a visible satellite for line-of-sight communication for the mobile terminal located in the ith grid unit, and the predicted line-of-sight result of the j-th satellite for the mobile terminal located in the ith grid unit is a second value (such as 0.8). When the measured value of the carrier-to-noise ratio of the j-th satellite for the ith grid unit is greater than the minimum threshold value (such as 0.2) and less than the maximum threshold value (such as 0.8), the predicted line-of-sight result of the j-th satellite for the mobile terminal located in the ith grid unit can be obtained based on a linear regression fitting algorithm (such as a 0 ·C/N0 2 +a 1 ·C/N0+a 2 ).
需要注意的是,第一值和第二值为0到1的任意数值,取值可以包括0和1,且第一值小于第二值,第一值和第二值的取值之和为1,本申请对于第一值和第二值的具体数值不作限。可选地,第一值可以与第三值相同,第二值可以与第四值相同,也可以第一值与第三值不同,第二值与第四值不同。It should be noted that the first value and the second value are any values between 0 and 1, and the values may include 0 and 1, and the first value is less than the second value, and the sum of the values of the first value and the second value is 1. The present application does not limit the specific values of the first value and the second value. Optionally, the first value may be the same as the third value, the second value may be the same as the fourth value, or the first value may be different from the third value, and the second value may be different from the fourth value.
通过各个卫星对于不同位置的移动终端的卫星信号传输质量,可以预测得到基于载噪比的每个网格单元对应的视距或非视距结果,可以使获得的视距或非视距结果更具多样性。Through the satellite signal transmission quality of each satellite to the mobile terminal at different positions, the line-of-sight or non-line-of-sight result corresponding to each grid unit based on the carrier-to-noise ratio can be predicted, so that the obtained line-of-sight or non-line-of-sight results can be more diverse.
步骤432,根据第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度,确定第i个网格单元对应的视距匹配得分。Step 432 : Determine a sight distance matching score corresponding to the ith grid unit according to the similarity between the measured sight distance information corresponding to the ith grid unit and the predicted sight distance information corresponding to the ith grid unit.
示例性地,可以根据第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息,确定第i个网格单元对应的SSIM(结构相似性)值。Exemplarily, the SSIM (structural similarity) value corresponding to the ith grid unit may be determined according to the measured sight distance information corresponding to the ith grid unit and the predicted sight distance information corresponding to the ith grid unit.
在一些实施例中,确定第i个网格单元对应的视距匹配得分包括:In some embodiments, determining the sight distance matching score corresponding to the i-th grid unit includes:
1.计算第i个网格单元对应的量测视距信息中包括的各个卫星的量测视距结果的均值,得到第一均值;以及,计算第i个网格单元对应的预测视距信息中包括的各个卫星的预测视距结果的均值,得到第二均值。1. Calculate the mean of the measured line-of-sight results of each satellite included in the measured line-of-sight information corresponding to the i-th grid unit to obtain a first mean; and calculate the mean of the predicted line-of-sight results of each satellite included in the predicted line-of-sight information corresponding to the i-th grid unit to obtain a second mean.
示例性地,根据各个卫星对于移动终端位于不同网格单元的量测视距结果(LOS|Building),可以计算得到基于量测视距结果的第一均值μX,例如,可以基于量测视距向量得到第一均值μX;根据各个卫星对于移动终端位于不同网格单元的预测视距结果(LOS|C/N0),可以计算得到基于预测视距结果的第二均值μY,例如,可以基于预测视距向量得到第一均值μY。其中,X对应于量测视距结果,Y对应于量测视距结果。Exemplarily, according to the measured line-of-sight results (LOS|Building) of each satellite for the mobile terminal located in different grid cells, a first mean value μ X based on the measured line-of-sight results can be calculated, for example, the first mean value μ X can be obtained based on the measured line-of-sight vector; according to the predicted line-of-sight results (LOS|C/N0) of each satellite for the mobile terminal located in different grid cells, a second mean value μ Y based on the predicted line-of-sight results can be calculated, for example, the first mean value μ Y can be obtained based on the predicted line-of-sight vector. Wherein, X corresponds to the measured line-of-sight result, and Y corresponds to the measured line-of-sight result.
2.计算第i个网格单元对应的量测视距信息中包括的各个卫星的量测视距结果的标准差,得到第一标准差;以及,计算第i个网格单元对应的预测视距信息中包括的各个卫星的预测视距结果的标准差,得到第二标准差。2. Calculate the standard deviation of the measured line-of-sight results of each satellite included in the measured line-of-sight information corresponding to the i-th grid unit to obtain a first standard deviation; and calculate the standard deviation of the predicted line-of-sight results of each satellite included in the predicted line-of-sight information corresponding to the i-th grid unit to obtain a second standard deviation.
示例性地,根据各个卫星对于移动终端位于不同网格单元的量测视距结果(LOS|Building),可以计算得到基于量测视距结果的第一标准差σX,例如,可以基于量测视距向量得到第一标准差σX;根据各个卫星对于移动终端位于不同网格单元的预测视距结果(LOS|C/N0),可以计算得到基于预测视距结果的第二标准差σY,例如,可以基于量测视距向量得到第二标准差σYExemplarily, according to the measured line-of-sight results (LOS|Building) of each satellite for the mobile terminal located in different grid cells, a first standard deviation σ X based on the measured line-of-sight results can be calculated, for example, the first standard deviation σ X can be obtained based on the measured line-of-sight vector; according to the predicted line-of-sight results (LOS|C/N0) of each satellite for the mobile terminal located in different grid cells, a second standard deviation σ Y based on the predicted line-of-sight results can be calculated, for example, the second standard deviation σ Y can be obtained based on the measured line-of-sight vector.
3.根据第一均值和第二均值,计算得到第一相似度参数。3. Calculate a first similarity parameter based on the first mean and the second mean.
示例性地,根据第一均值μX和第二均值μY,计算得到第一相似度参数L(X,Y),可以表示为:
Exemplarily, according to the first mean μ X and the second mean μ Y , the first similarity parameter L(X, Y) is calculated and can be expressed as:
其中,C1为自定义参数,引入该参数主要用于避免出现分母为零的情况,C1可以取值0.01。Among them, C1 is a custom parameter, which is introduced mainly to avoid the situation where the denominator is zero. C1 can take the value of 0.01.
4.根据第一标准差和第二标准差,计算得到第二相似度参数。4. Calculate a second similarity parameter based on the first standard deviation and the second standard deviation.
示例性地,根据第一标准差σX和第二标准差σY,计算得到第二相似度参数C(X,Y),可以表示为:
Exemplarily, according to the first standard deviation σ X and the second standard deviation σ Y , the second similarity parameter C(X, Y) is calculated and can be expressed as:
其中,C2为自定义参数,引入该参数主要用于避免出现分母为零的情况,C2可以取值0.02,可选地,C2的取值可以与C1相同,也可以与C1不同。Among them, C 2 is a custom parameter, which is introduced mainly to avoid the situation where the denominator is zero. C 2 can take the value of 0.02. Optionally, the value of C 2 can be the same as C 1 or different from C 1 .
5.根据第一标准差、第二标准差,以及第一均值和第二均值的协方差,计算得到第三相似度参数。5. A third similarity parameter is calculated based on the first standard deviation, the second standard deviation, and the covariance of the first mean and the second mean.
示例性地,根据第一均值μX和第二均值μY,以及第一标准差σX和第二标准差σY,计算得到第一均值μX和第二均值μY的协方差σXY,可以表示为:
Exemplarily, according to the first mean μ X and the second mean μ Y , and the first standard deviation σ X and the second standard deviation σ Y , the covariance σ XY of the first mean μ X and the second mean μ Y is calculated and can be expressed as:
其中,E(X-μX)表示第一均值μX的数学期望,E(Y-μY)表示第二均值μY的数学期望。Wherein, E(X-μ X ) represents the mathematical expectation of the first mean μ X , and E(Y-μ Y ) represents the mathematical expectation of the second mean μ Y .
根据第一标准差σX、第二标准差σY、第一均值μX和第二均值μY的协方差σXY,计算得到第三相似度参数S(X,Y),可以表示为:
According to the first standard deviation σ X , the second standard deviation σ Y , the covariance σ XY of the first mean μ X and the second mean μ Y , the third similarity parameter S(X,Y) is calculated and can be expressed as:
其中,C3为自定义参数,引入该参数主要用于避免出现分母为零的情况,C3可以取值0.03,可选地,C3的取值可以与C1或C2相同,也可以与C1或C2不同。Among them, C 3 is a custom parameter, which is introduced mainly to avoid the situation where the denominator is zero. C 3 can take the value of 0.03. Optionally, the value of C 3 can be the same as C 1 or C 2 , or different from C 1 or C 2 .
6.根据第一相似度参数、第二相似度参数和第三相似度参数,计算得到第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度。6. Based on the first similarity parameter, the second similarity parameter and the third similarity parameter, the similarity between the measured viewing distance information corresponding to the ith grid unit and the predicted viewing distance information corresponding to the ith grid unit is calculated.
示例性地,根据第一相似度参数L(X,Y)、第二相似度参数C(X,Y)和第三相似度参数S(X,Y),计算得到第i个网格单元对应的SSIM值,可以表示为:
SSIM=L(X,Y)·C(X,Y)·S(X,Y)
Exemplarily, according to the first similarity parameter L(X,Y), the second similarity parameter C(X,Y) and the third similarity parameter S(X,Y), the SSIM value corresponding to the i-th grid unit is calculated and can be expressed as:
SSIM = L(X,Y)·C(X,Y)·S(X,Y)
根据上述M个网格单元对应的SSIM值,可以生成相应的视距匹配向量,例如可以生成M×1规格的视距匹配向量,视距匹配向量中的一个元素对应于,一个网格单元对应的视距匹配得分。According to the SSIM values corresponding to the above M grid units, a corresponding sight distance matching vector may be generated. For example, a sight distance matching vector of M×1 specification may be generated. An element in the sight distance matching vector corresponds to a sight distance matching score corresponding to a grid unit.
SSIM值越大,表示该网格单元中量测视距信息和预测视距信息之间的相似度越高,移动终端位于该网格单元的概率越大;SSIM值越小,表示该网格单元中量测视距信息和预测视距信息之间的相似度越低,移动终端位于该网格单元的概率越小。The larger the SSIM value, the higher the similarity between the measured line-of-sight information and the predicted line-of-sight information in the grid cell, and the greater the probability that the mobile terminal is located in the grid cell; the smaller the SSIM value, the lower the similarity between the measured line-of-sight information and the predicted line-of-sight information in the grid cell, and the smaller the probability that the mobile terminal is located in the grid cell.
通过结合网格单元周围的建筑物数据和网格单元接收到的卫星信号传输质量,得到每个网格单元对应的视距匹配得分,使得到的视距匹配得分更能准确表征移动终端位于该网格单元的概率,从而提高定位结果的准确性。By combining the building data around the grid cell and the satellite signal transmission quality received by the grid cell, the line-of-sight matching score corresponding to each grid cell is obtained, so that the obtained line-of-sight matching score can more accurately represent the probability that the mobile terminal is located in the grid cell, thereby improving the accuracy of the positioning result.
图6示出了基于建筑物数据和载噪比的视距匹配得分的网格示意图,图6中的网格单元对应的颜色越浅,表示该网格单元中量测视距信息和预测视距信息之间的相似度越高,移动终端的真实位置位于该网格单元的概率越大,如图6所示的若干个浅色区域601,是移动终端的真实位置的可能性较大的区域。网格单元对应的颜色越深,表示该网格单元中量测视距信息和预测视距信息之间的相似度越低,移动终端的真实位置位于该网格单元的概率越小。FIG6 shows a grid diagram of the sight distance matching score based on building data and carrier-to-noise ratio. The lighter the color corresponding to the grid unit in FIG6, the higher the similarity between the measured sight distance information and the predicted sight distance information in the grid unit, and the greater the probability that the real position of the mobile terminal is located in the grid unit. The several light-colored areas 601 shown in FIG6 are areas with a high probability of the real position of the mobile terminal. The darker the color corresponding to the grid unit, the lower the similarity between the measured sight distance information and the predicted sight distance information in the grid unit, and the lower the probability that the real position of the mobile terminal is located in the grid unit.
步骤440,根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的伪距残差得分;其中,第i个网格单元对应的伪距残差得分,用于指示可见卫星的伪距残差和不可见卫星的伪距残差的综合伪距残差。Step 440, determining the pseudorange residual score corresponding to the ith grid cell based on the measured line-of-sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the pseudorange residual score corresponding to the ith grid cell is used to indicate the comprehensive pseudorange residual of the pseudorange residual of the visible satellite and the pseudorange residual of the invisible satellite.
根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的各个卫星的信号质量测量值,可以确定n个卫星中的参考卫星。再根据卫星的位置、各个网格单元的位置、移动终端的初步定位位置,可以确定每个卫星的伪距残差,进而可以得到每个网格单元对应的伪距残差得分。According to the measured line of sight information corresponding to the ith grid unit and the signal quality measurement values of each satellite corresponding to the ith grid unit, the reference satellite among the n satellites can be determined. Then, according to the position of the satellite, the position of each grid unit, and the initial positioning position of the mobile terminal, the pseudorange residual of each satellite can be determined, and then the pseudorange residual score corresponding to each grid unit can be obtained.
伪距残差得分可以用于表示移动终端位于各个网格单元的概率,第i个网格单元对应的伪距残差得分值越大,表示移动终端的真实位置位于第i个网格单元的概率越高。反之,第i个网格单元对应的伪距残差得分值越小,表示移动终端的真实位置位于第i个网格单元的概率越低。 The pseudorange residual score can be used to indicate the probability that the mobile terminal is located in each grid unit. The larger the pseudorange residual score value corresponding to the ith grid unit, the higher the probability that the real position of the mobile terminal is located in the ith grid unit. Conversely, the smaller the pseudorange residual score value corresponding to the ith grid unit, the lower the probability that the real position of the mobile terminal is located in the ith grid unit.
步骤440包括以下子步骤中的至少一个步骤:Step 440 includes at least one of the following sub-steps:
步骤441,根据在第i个网格单元的位置处,各个卫星的信号质量测量值和高度角,从n个卫星中确定参考卫星,参考卫星是指n个卫星中对于移动终端的被遮挡概率最低的可见卫星。Step 441, determining a reference satellite from n satellites based on the signal quality measurement values and elevation angles of each satellite at the position of the i-th grid unit, where the reference satellite refers to a visible satellite with the lowest probability of being blocked for the mobile terminal among the n satellites.
在M个网格单元中,根据每个卫星的高度角和载噪比,确定对于n个卫星中的每个卫星对于移动终端位于不同网格单元的被遮挡概率,从n个被遮挡概率中选择被遮挡概率最低的卫星作为参考卫星。In the M grid cells, the obstruction probability of each satellite among the n satellites for the mobile terminal located in different grid cells is determined according to the altitude angle and the carrier-to-noise ratio of each satellite, and the satellite with the lowest obstruction probability is selected as the reference satellite from the n obstruction probabilities.
在一些实施例中,从n个卫星中确定参考卫星包括:对于n个卫星中的各个可见卫星,根据在第i个网格单元的位置处,各个可见卫星的信号质量测量值和高度角,确定各个可见卫星对于移动终端的被遮挡情况的衡量指标;将衡量指标中数值最大的衡量指标对应的可见卫星,确定为参考卫星。In some embodiments, determining a reference satellite from n satellites includes: for each visible satellite among the n satellites, determining a measurement index of the obstruction of each visible satellite for the mobile terminal based on the signal quality measurement value and altitude angle of each visible satellite at the position of the i-th grid unit; and determining the visible satellite corresponding to the measurement index with the largest value among the measurement indexes as the reference satellite.
示例性地,可以将各个可见卫星的载噪比和高度角之积作为衡量各个可见卫星对于移动终端位于第i个网格单元的被遮挡情况的指标,衡量指标可以表示为:
scorei=θi·C/N0i
For example, the product of the carrier-to-noise ratio and the elevation angle of each visible satellite can be used as an indicator to measure the shielding condition of each visible satellite for the mobile terminal located in the i-th grid unit. The measurement indicator can be expressed as:
score ii ·C/N0 i
其中,θi表示第j个可见卫星对于第i个网格单元的高度角,C/N0i表示第j个可见卫星对于第i个网格单元的载噪比的测量值。卫星的高度角θi越大、载噪比C/N0i越大,则衡量指标scorei的值越大,则表示第j个可见卫星对于第i个网格单元的被遮挡概率越低。Among them, θ i represents the altitude angle of the jth visible satellite for the ith grid unit, and C/N0 i represents the measured value of the carrier-to-noise ratio of the jth visible satellite for the ith grid unit. The larger the satellite altitude angle θ i and the larger the carrier-to-noise ratio C/N0 i , the larger the value of the measurement index score i , which means that the probability of the jth visible satellite being blocked for the i-th grid unit is lower.
根据上述第j个可见卫星对于第i个网格单元的衡量指标,可以确定每个可见卫星对于M个网格单元的综合衡量指标,例如,可以将每个可见卫星对于每个网格单元的衡量指标相加,得到每个可见卫星对于M个网格单元的综合衡量指标。进而,可以从至少一个综合衡量指标中选择数值最大的综合衡量指标对应的可见卫星,作为参考卫星。According to the measurement index of the jth visible satellite for the ith grid unit, the comprehensive measurement index of each visible satellite for the M grid units can be determined. For example, the measurement index of each visible satellite for each grid unit can be added to obtain the comprehensive measurement index of each visible satellite for the M grid units. Furthermore, the visible satellite corresponding to the comprehensive measurement index with the largest value can be selected from at least one comprehensive measurement index as a reference satellite.
通过上述从n个卫星中的可见卫星中确定参考卫星,减少了计算不可见卫星的衡量指标的步骤,避免了不必要的计算过程,从而减小服务器运算衡量指标的运行压力,提高服务器的运算效率。By determining the reference satellite from the visible satellites among the n satellites, the steps of calculating the measurement index of the invisible satellite are reduced, and unnecessary calculation processes are avoided, thereby reducing the operating pressure of the server computing the measurement index and improving the computing efficiency of the server.
步骤442,根据第i个网格单元与参考卫星之间的距离,以及初步定位位置与参考卫星之间的距离,确定第i个网格单元的接收机钟差,。Step 442, determine the receiver clock error of the ith grid unit based on the distance between the ith grid unit and the reference satellite, and the distance between the preliminary positioning position and the reference satellite.
示例性地,第i个网格单元与参考卫星之间的距离,和初步定位位置与参考卫星之间的距离差值,可以表示为||rref-rcell_ref||。其中,rref表示移动终端的初步定位位置与参考卫星之间的距离,rcell_ref表示第i个网格单元与参考卫星之间的距离。Exemplarily, the distance between the i-th grid unit and the reference satellite, and the distance difference between the preliminary positioning position and the reference satellite, can be expressed as ||r ref -r cell_ref ||, where r ref represents the distance between the preliminary positioning position of the mobile terminal and the reference satellite, and r cell_ref represents the distance between the i-th grid unit and the reference satellite.
接收机钟差(user clock error),是指卫星导航接收机时钟不稳定所引起的信号传播时间测量误差。由于参考卫星是对于M个网格单元被遮挡概率最低的卫星,因此可以将参考卫星的伪距残差近似于各个网格单元接收卫星信号时的接收机钟差,从而可以用于修正其余卫星的伪距。The receiver clock error (user clock error) refers to the signal propagation time measurement error caused by the instability of the satellite navigation receiver clock. Since the reference satellite is the satellite with the lowest probability of being blocked for M grid cells, the pseudorange residual of the reference satellite can be approximated to the receiver clock error when each grid cell receives the satellite signal, which can be used to correct the pseudoranges of the remaining satellites.
步骤443,根据第i个网格单元的接收机钟差和各个卫星的伪距,确定第i个网格单元对应的伪距残差得分,卫星的伪距包括网格单元与卫星之间的距离和初步定位位置与卫星之间的距离。Step 443, determining the pseudorange residual score corresponding to the ith grid unit based on the receiver clock error of the ith grid unit and the pseudoranges of each satellite, where the pseudorange of the satellite includes the distance between the grid unit and the satellite and the distance between the initial positioning position and the satellite.
第j个卫星的伪距包括第i个网格单元与第j个卫星之间的距离,和移动终端的初步定位位置和第j个卫星之间的距离。The pseudorange of the jth satellite includes the distance between the ith grid unit and the jth satellite, and the distance between the initial positioning position of the mobile terminal and the jth satellite.
通过使用接收机钟差修正各个卫星的伪距,可以得到准确度更高的各个卫星的伪距残差,从而可以得到准确度更高的每个网格单元对应的伪距残差得分。By using the receiver clock error to correct the pseudorange of each satellite, a more accurate pseudorange residual of each satellite can be obtained, thereby obtaining a more accurate pseudorange residual score corresponding to each grid unit.
在一些实施例中,确定第i个网格单元对应的伪距残差得分包括:In some embodiments, determining the pseudorange residual score corresponding to the i-th grid unit includes:
1.根据第i个网格单元的接收机钟差和距离差值,确定第i个网格单元对应的伪距残差;其中,距离差值是指第i个网格单元与卫星之间的距离和初步定位位置和卫星之间的距离差值。 1. Determine the pseudorange residual corresponding to the ith grid unit based on the receiver clock error and distance difference of the ith grid unit; the distance difference refers to the distance difference between the ith grid unit and the satellite and the distance difference between the initial positioning position and the satellite.
示例性地,根据接收机钟差||rref-rcell_ref||和第i个网格单元的距离差值,计算得到第i个网格单元对应的伪距残差vi,可以表示为:
vi=||ri-rcell_i||-||rref-rcell_ref||
Exemplarily, according to the receiver clock error ||r ref -r cell_ref || and the distance difference of the ith grid cell, the pseudorange residual v i corresponding to the ith grid cell is calculated and can be expressed as:
v i =||r i -r cell_i ||-||r ref -r cell_ref ||
其中,||ri-rcell_i||表示第i个网格单元的距离差值,ri表示移动终端的初步定位位置和第j个卫星之间的距离,rcell_i表示第i个网格单元与第j个卫星之间的距离。Wherein, || ri - rcell_i || represents the distance difference of the i-th grid cell, ri represents the distance between the initial positioning position of the mobile terminal and the j-th satellite, and rcell_i represents the distance between the i-th grid cell and the j-th satellite.
2.根据各个卫星的高度角和信号质量测量值,确定各个卫星的伪距标准差。2. Determine the standard deviation of the pseudorange of each satellite based on the altitude angle and signal quality measurement values of each satellite.
示例性地,根据第j个卫星对于第i个网格单元的高度角θi,和第j个卫星对于第i个网格单元C/N0i,计算得到第j个卫星对于第i个网格单元的伪距标准差σi,可以表示为:
Exemplarily, according to the altitude angle θ i of the j-th satellite for the i-th grid unit and C/N0 i of the j-th satellite for the i-th grid unit, the standard deviation σ i of the pseudorange of the j-th satellite for the i-th grid unit is calculated and can be expressed as:
其中,a、b为经验参数,本申请对于a和b的取值不作限定,例如,a可以取值为1,b可以取值为281。Among them, a and b are empirical parameters, and this application does not limit the values of a and b. For example, a can be 1, and b can be 281.
3.根据第i个网格单元对应的伪距残差和各个卫星的伪距标准差,确定可见卫星的伪距残差项和不可见卫星的伪距残差项。3. According to the pseudorange residual corresponding to the i-th grid cell and the pseudorange standard deviation of each satellite, the pseudorange residual term of the visible satellite and the pseudorange residual term of the invisible satellite are determined.
示例性地,根据第i个网格单元对应的伪距残差vi和第j个卫星对于第i个网格单元的伪距标准差σi,可以计算得到第i个网格单元对应的可见卫星的伪距残差项和第i个网格单元对应的不可见卫星的伪距残差项 For example, according to the pseudorange residual v i corresponding to the ith grid cell and the pseudorange standard deviation σ i of the jth satellite for the ith grid cell, the pseudorange residual term of the visible satellite corresponding to the ith grid cell can be calculated: The pseudorange residual term of the invisible satellite corresponding to the i-th grid cell
其中,s对应于可见卫星,t对应于不可见卫星。可见卫星的伪距残差项表示可见卫星的伪距残差指标,不可见卫星的伪距残差项表示不可见卫星的伪距残差指标。Wherein, s corresponds to the visible satellite, and t corresponds to the invisible satellite. The pseudorange residual term of the visible satellite represents the pseudorange residual index of the visible satellite, and the pseudorange residual term of the invisible satellite represents the pseudorange residual index of the invisible satellite.
4.根据可见卫星的伪距残差项和不可见卫星的伪距残差项得到的卫星的伪距残差项,确定第i个网格单元对应的伪距残差得分。4. Determine the pseudorange residual score corresponding to the i-th grid cell based on the pseudorange residual term of the satellite obtained from the pseudorange residual term of the visible satellite and the pseudorange residual term of the invisible satellite.
示例性地,根据上述第i个网格单元对应的可见卫星的伪距残差项,和第i个网格单元对应的不可见卫星的伪距残差项,计算得到第i个网格单元对应的卫星伪距残差项,可以表示为:
Exemplarily, according to the pseudorange residual term of the visible satellite corresponding to the i-th grid unit and the pseudorange residual term of the invisible satellite corresponding to the i-th grid unit, the satellite pseudorange residual term corresponding to the i-th grid unit is calculated, which can be expressed as:
根据第i个网格单元对应的卫星伪距残差项residual,计算得到第i个网格单元对应的伪距残差得分res_score,可以表示为:
According to the satellite pseudorange residual term residual corresponding to the ith grid cell, the pseudorange residual score res_score corresponding to the ith grid cell is calculated and can be expressed as:
根据上述M个网格单元对应的伪距残差得分,可以生成相应的伪距残差向量,例如可以生成M×1规格的伪距残差向量,伪距残差向量中的一个元素对应于,一个网格单元对应的伪距残差得分。According to the pseudorange residual scores corresponding to the above M grid units, a corresponding pseudorange residual vector may be generated. For example, a pseudorange residual vector of M×1 specification may be generated, and one element in the pseudorange residual vector corresponds to a pseudorange residual score corresponding to one grid unit.
通过生成相同规格的视距匹配向量和伪距残差向量,有利于服务器基于视距匹配向量和伪距残差向量计算每个网格单元对应的综合得分。By generating the sight range matching vector and pseudorange residual vector of the same specification, it is helpful for the server to calculate the comprehensive score corresponding to each grid unit based on the sight range matching vector and the pseudorange residual vector.
在每个网格单元中,接收可见卫星发出的卫星信号可以不受周围建筑物的干扰,而接 收不可见卫星发出的卫星信号由于受建筑物反射或折射的影响,会存在较大测量误差。因此,靠近真实点网格单元的视距或非视距情况更加符合实际的测量特性,故在有效选择参考卫星,减小了接收机钟差影响的情况下,上式计算的可见卫星和不可见卫星的伪距残差项越小,该网格单元对应的伪距残差得分值越高。而在远离真实值的网格单元中,由于视距或非视距的判定情况与实际不符的可能性更高,出现将可见卫星错误判定为不可见卫星,或者将不可见卫星错误判定为可见卫星的可能性更高,从而会造成可见卫星和不可见卫星的伪距残差项较大的情况,于是,该网格单元对应的伪距残差得分相应地越低。In each grid cell, the reception of satellite signals from visible satellites can be free from interference from surrounding buildings. The satellite signals sent by invisible satellites will have large measurement errors due to the influence of reflection or refraction from buildings. Therefore, the line-of-sight or non-line-of-sight conditions close to the true point grid unit are more in line with the actual measurement characteristics. Therefore, when the reference satellite is effectively selected and the influence of the receiver clock error is reduced, the smaller the pseudo-range residual terms of the visible satellite and the invisible satellite calculated by the above formula are, the higher the pseudo-range residual score value corresponding to the grid unit is. In the grid unit far away from the true value, since the judgment of line-of-sight or non-line-of-sight is more likely to be inconsistent with the actual situation, there is a higher possibility that the visible satellite is mistakenly judged as an invisible satellite, or the invisible satellite is mistakenly judged as a visible satellite, which will cause the pseudo-range residual terms of the visible satellite and the invisible satellite to be larger, so the pseudo-range residual score corresponding to the grid unit is correspondingly lower.
通过上述计算接收机钟差修正各个卫星的伪距残差,提高了计算可见卫星和不可见卫星的伪距残差项的精度,从而提高了计算每个网格单元对应的伪距残差得分的精度,有利于提高定位结果的准确性。By calculating the receiver clock error and correcting the pseudorange residuals of each satellite, the accuracy of calculating the pseudorange residual terms of visible and invisible satellites is improved, thereby improving the accuracy of calculating the pseudorange residual score corresponding to each grid unit, which is beneficial to improving the accuracy of the positioning result.
图7示出了基于伪距残差得分的网格示意图,图7中的网格单元对应的颜色越浅,表示该网格单元对应的伪距残差得分值越高,移动终端的真实位置位于该网格单元的概率越大,如图7所示的浅色区域701,是移动终端的真实位置的概率值最大的区域。网格单元对应的颜色越深,表示该网格单元对应的伪距残差得分值越低,移动终端的真实位置位于该网格单元的概率越小。FIG7 shows a schematic diagram of a grid based on a pseudorange residual score. The lighter the color corresponding to the grid unit in FIG7, the higher the pseudorange residual score value corresponding to the grid unit, and the greater the probability that the real position of the mobile terminal is located in the grid unit. The light-colored area 701 shown in FIG7 is the area with the largest probability value of the real position of the mobile terminal. The darker the color corresponding to the grid unit, the lower the pseudorange residual score value corresponding to the grid unit, and the smaller the probability that the real position of the mobile terminal is located in the grid unit.
步骤450,根据第i个网格单元对应的视距匹配得分和第i个网格单元对应的伪距残差得分,确定第i个网格单元对应的综合得分。Step 450 : Determine a comprehensive score corresponding to the ith grid cell according to the sight range matching score corresponding to the ith grid cell and the pseudorange residual score corresponding to the ith grid cell.
结合每个网格单元对应的视距匹配得分和每个网格单元对应的伪距残差得分,可以得到每个网格单元对应的综合得分。综合得分可以用于综合表征移动终端位于各个网格单元的概率。By combining the line-of-sight matching score corresponding to each grid cell and the pseudo-range residual score corresponding to each grid cell, a comprehensive score corresponding to each grid cell can be obtained. The comprehensive score can be used to comprehensively represent the probability that the mobile terminal is located in each grid cell.
示例性地,可以在每个网格中计算SSIM视距匹配度与伪距残差得分的乘积并开根号,作为第i个网格单元对应的综合得分。第i个网格单元对应的综合得分可以表示为:
For example, the product of the SSIM line-of-sight matching degree and the pseudorange residual score can be calculated in each grid and the square root can be taken as the comprehensive score corresponding to the i-th grid unit. The comprehensive score corresponding to the i-th grid unit can be expressed as:
第i个网格单元对应的综合得分值越高,表示移动终端的真实位置位于第i个网格单元的概率越高,第i个网格单元对应的综合得分值越低,表示移动终端的真实位置位于第i个网格单元的概率越低。The higher the comprehensive score value corresponding to the i-th grid unit, the higher the probability that the real location of the mobile terminal is located in the i-th grid unit, and the lower the comprehensive score value corresponding to the i-th grid unit, the lower the probability that the real location of the mobile terminal is located in the i-th grid unit.
图8示出了基于视距匹配度与伪距残差得分的综合得分的网格示意图,图8中的网格单元对应的颜色越浅,表示该网格单元对应的综合得分值越高,移动终端的真实位置位于该网格单元的概率越大,如图8所示的浅色区域801,是移动终端的真实位置的概率值最大的区域。网格单元对应的颜色越深,表示该网格单元对应的综合得分值越低,移动终端的真实位置位于该网格单元的概率越小。FIG8 shows a grid diagram of a comprehensive score based on the line-of-sight matching degree and the pseudo-range residual score. The lighter the color corresponding to the grid unit in FIG8, the higher the comprehensive score value corresponding to the grid unit, and the greater the probability that the real position of the mobile terminal is located in the grid unit. The light-colored area 801 shown in FIG8 is the area with the largest probability value of the real position of the mobile terminal. The darker the color corresponding to the grid unit, the lower the comprehensive score value corresponding to the grid unit, and the smaller the probability that the real position of the mobile terminal is located in the grid unit.
上述实施例提供的技术方案,通过结合每个网格单元对应的视距匹配得分和每个网格单元对应的伪距残差得分,得到可以综合表征移动终端位于各个网格单元的概率的综合得分,综合得分的计算来源更加全面,提高了判断移动终端位于各个网格单元的概率的准确性,从而提高定位结果的准确性。The technical solution provided in the above embodiment combines the line-of-sight matching score corresponding to each grid cell and the pseudorange residual score corresponding to each grid cell to obtain a comprehensive score that can comprehensively characterize the probability that the mobile terminal is located in each grid cell. The calculation source of the comprehensive score is more comprehensive, which improves the accuracy of judging the probability that the mobile terminal is located in each grid cell, thereby improving the accuracy of the positioning result.
请参考图9,其示出了本申请一个实施例提供的移动终端的定位方法的流程图。该方法各步骤的执行主体可以是计算机设备。该方法可以包括如下步骤910~960中的至少一个步骤:Please refer to Figure 9, which shows a flow chart of a positioning method for a mobile terminal provided by an embodiment of the present application. The execution subject of each step of the method may be a computer device. The method may include at least one of the following steps 910 to 960:
步骤910,获取移动终端的初步定位位置,确定初步定位位置周围至少一个建筑物的建筑物数据,以及初步定位位置周围卫星的卫星位置数据。Step 910: Acquire the preliminary positioning position of the mobile terminal, determine the building data of at least one building around the preliminary positioning position, and the satellite position data of the satellites around the preliminary positioning position.
步骤920,对于位于初步定位位置周围的M个网格单元中的第i个网格单元,根据建筑物数据和卫星位置数据,确定第i个网格单元对应的量测视距信息,M为大于1的整数,i为小于或等于M的整数。Step 920, for the i-th grid cell among the M grid cells located around the preliminary positioning position, determine the measurement line of sight information corresponding to the i-th grid cell according to the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M.
步骤930,根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的综合得分。 Step 930, determining a comprehensive score corresponding to the ith grid unit according to the measured line-of-sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit.
关于步骤910~930的介绍说明,可以参考上文实施例,此处不再进行赘述。For the description of steps 910 to 930 , please refer to the above embodiment, which will not be described again here.
步骤940,根据M个网格单元分别对应的综合得分,选取满足第一条件的综合得分对应的网格单元。Step 940: According to the comprehensive scores corresponding to the M grid units, a grid unit corresponding to the comprehensive score that meets the first condition is selected.
示例性地,第一条件可以是阈值条件。例如,满足第一条件的综合得分可以是满足M个综合得分中大于第一阈值的综合得分,如图8所示的综合得分的网格示意图,第一阈值可以是0.150、0.160、0.175等,则可以选取M个综合得分中数值大于第一阈值的综合得分对应的网格单元。Exemplarily, the first condition may be a threshold condition. For example, the comprehensive score that satisfies the first condition may be a comprehensive score that satisfies the M comprehensive scores and is greater than the first threshold. In the grid diagram of the comprehensive score shown in FIG8 , the first threshold may be 0.150, 0.160, 0.175, etc., and the grid cell corresponding to the comprehensive score whose value is greater than the first threshold among the M comprehensive scores may be selected.
满足第一条件的综合得分也可以是满足M个综合得分中排列前第二阈值的综合得分,第二阈值可以是5%,则可以选取M个综合得分中排列前5%的综合得分对应的网格单元。The comprehensive score that meets the first condition may also be a comprehensive score that meets the second threshold among the M comprehensive scores. The second threshold may be 5%. Then the grid unit corresponding to the comprehensive score that ranks in the top 5% among the M comprehensive scores may be selected.
步骤950,将被选取的网格单元划分为至少一个连通区域,每个连通区域中包含至少一个被选取的网格单元。Step 950: divide the selected grid unit into at least one connected area, each connected area containing at least one selected grid unit.
连通区域是指由位置相邻的被选取的网格单元组成的网格区域。示例性地,可以使用两遍扫描法(Two-Pass Filter)将被选取的网格单元划分为至少一个连通区域,每个连通区域中包含至少一个被选取的网格单元。A connected region refers to a grid region composed of adjacent selected grid cells. For example, a two-pass filter can be used to divide the selected grid cells into at least one connected region, each of which contains at least one selected grid cell.
步骤960,根据各个连通区域中包含的网格单元的位置和综合得分,以及各个连通区域中包含的网格单元的数量,确定移动终端的定位结果。Step 960: Determine the positioning result of the mobile terminal according to the positions and comprehensive scores of the grid cells included in each connected area, and the number of grid cells included in each connected area.
此处网格单元的位置可以是每个网格单元的中心位置,也可以是每个网格单元中包含的任意一个位置,如网格单元的边线位置等。Here, the position of the grid unit may be the center position of each grid unit, or may be any position contained in each grid unit, such as the edge position of the grid unit.
步骤960包括以下子步骤中的至少一个步骤:Step 960 includes at least one of the following sub-steps:
步骤961,对于每一个连通区域,根据连通区域中包含的各个网格单元的综合得分,和满足第一条件的综合得分中的最大值和最小值,确定连通区域中包含的各个网格单元的权重。Step 961: for each connected region, determine the weights of the grid cells included in the connected region according to the comprehensive scores of the grid cells included in the connected region and the maximum and minimum values of the comprehensive scores that meet the first condition.
将满足第一条件的综合得分中的最大值记录为maxgrid_score,满足第一条件的综合得分中的最小值记录为mingrid_score。示例性地,各个连通区域中包含的第i个网格单元的权重wi,可以表示为:
The maximum value of the comprehensive scores satisfying the first condition is recorded as max grid_score , and the minimum value of the comprehensive scores satisfying the first condition is recorded as min grid_score . Exemplarily, the weight w i of the i-th grid unit contained in each connected region can be expressed as:
其中,grid_scorei表示第i个网格单元对应的综合得分,num表示被选取的网格单元的数量,即满足第一条件的综合得分对应的网格单元的数量。Among them, grid_score i represents the comprehensive score corresponding to the i-th grid unit, and num represents the number of selected grid units, that is, the number of grid units corresponding to the comprehensive scores that meet the first condition.
步骤962,根据连通区域中包含的各个网格单元的权重和连通区域中包含的网格单元的数量,确定连通区域的概率值,连通区域的概率值用于指示移动终端位于连通区域的概率。Step 962, determining a probability value of the connected area according to the weights of the grid cells contained in the connected area and the number of grid cells contained in the connected area, wherein the probability value of the connected area is used to indicate the probability that the mobile terminal is located in the connected area.
示例性地,根据第k个连通区域中包含的第i个网格单元的权重wki,和第k个连通区域中包含的网格单元的数量,计算得到移动终端位于第k个连通区域的概率值probk,可以表示为:
Exemplarily, according to the weight w ki of the ith grid unit included in the kth connected region and the number of grid units included in the kth connected region, the probability value prob k that the mobile terminal is located in the kth connected region is calculated and can be expressed as:
其中,grid_numk表示第k个连通区域中包含的网格单元的数量,k的最大值为被选取的网格单元的数量。Among them, grid_num k represents the number of grid cells contained in the kth connected region, and the maximum value of k is the number of selected grid cells.
步骤963,在概率值最大的连通区域中,基于邻近算法根据概率值最大的连通区域中的各个网格单元的位置和概率值最大的连通区域中包含的网格单元的数量,确定移动终端的定位结果。 Step 963: In the connected area with the largest probability value, based on the proximity algorithm, the positioning result of the mobile terminal is determined according to the positions of each grid unit in the connected area with the largest probability value and the number of grid units contained in the connected area with the largest probability value.
在k个连通区域的概率值中选取probk值最大的连通区域,示例性地,可以基于邻近算法(K-Nearest Neighbor,KNN),根据概率值最大的连通区域中的各个网格单元的位置,和概率值最大的连通区域中包含的网格单元的数量,计算得到移动终端的定位结果,可以表示为:

A connected area with the largest prob k value is selected from the probability values of the k connected areas. For example, based on a K-Nearest Neighbor (KNN) algorithm, the positioning result of the mobile terminal is calculated according to the positions of each grid unit in the connected area with the largest probability value and the number of grid units included in the connected area with the largest probability value, which can be expressed as:

其中,wi表示概率值最大的连通区域中包含的第i个网格单元的权重,(loni,lati)为概率值最大的连通区域中第i个网格单元的位置坐标值,grid_num表示概率值最大的连通区域中包含的网格单元的数量,(lonfinal,latfinal)为移动终端最终的定位位置坐标值。Among them, w i represents the weight of the i-th grid unit contained in the connected area with the largest probability value, (lon i , lat i ) is the position coordinate value of the i-th grid unit in the connected area with the largest probability value, grid_num represents the number of grid units contained in the connected area with the largest probability value, and (lon final , lat final ) is the final positioning position coordinate value of the mobile terminal.
上述实施例提供的技术方案,通过在确定移动终端对应的综合得分后,再次对得分较高的网格单元划分连通区域,并计算移动终端位于各个连通区域的概率值,从而确定最终的定位结果。避免移动终端的位置并不是位于综合得分最高的网格单元,减小综合得分的计算过程中产生的误差,提高移动终端的定位结果的准确性。The technical solution provided by the above embodiment determines the final positioning result by dividing the grid cells with higher scores into connected areas again after determining the comprehensive score corresponding to the mobile terminal, and calculating the probability value of the mobile terminal being located in each connected area. This avoids the situation where the mobile terminal is not located in the grid cell with the highest comprehensive score, reduces the error generated in the calculation process of the comprehensive score, and improves the accuracy of the positioning result of the mobile terminal.
图10示出了移动终端的实际位置和使用不同定位解算方法得到的移动终端的定位位置的对比示意图,如图10子图a所示,深色大圆点表示移动终端的实际位置,深色小圆点表示使用GNSS得到的定位位置,图中的多边形表示周围的建筑物,多边形上的数字表示各个建筑物的高度。可以看出使用GNSS得到的定位位置由于周围建筑物的遮挡,导致定位解算结果偏离到移动终端的实际位置的对面街区,与移动终端的实际位置之间存在较大的位置差异。如图10子图b所示,浅色小圆点表示使用本申请的技术方案得到的定位位置,可以看出,相较于使用GNSS得到的定位位置,使用本申请的技术方案得到的定位位置的准确度有了明显的提高,存在较多浅色小圆点的位置与深色大圆点的位置重合。使用本申请的技术方案得到的定位位置与移动终端的实际位置偏离不大,都是位于同一个街区的同一条道路上,有效地修正了全球导航定位系统的定位误差,提高了定位精度。FIG10 shows a schematic diagram comparing the actual position of a mobile terminal and the positioning position of the mobile terminal obtained using different positioning solution methods. As shown in FIG10 sub-figure a, the dark large dot represents the actual position of the mobile terminal, the dark small dot represents the positioning position obtained using GNSS, the polygons in the figure represent the surrounding buildings, and the numbers on the polygons represent the heights of the various buildings. It can be seen that the positioning position obtained using GNSS is blocked by the surrounding buildings, resulting in the positioning solution result deviating to the opposite block of the actual position of the mobile terminal, and there is a large position difference between the actual position of the mobile terminal. As shown in FIG10 sub-figure b, the light small dot represents the positioning position obtained using the technical solution of the present application. It can be seen that compared with the positioning position obtained using GNSS, the accuracy of the positioning position obtained using the technical solution of the present application has been significantly improved, and there are many light small dots that overlap with the positions of the dark large dots. The positioning position obtained using the technical solution of the present application does not deviate much from the actual position of the mobile terminal, and they are all located on the same road in the same block, which effectively corrects the positioning error of the global navigation positioning system and improves the positioning accuracy.
为了验证本申请的技术方案的实际效果,采集了北京、上海、深圳、杭州等四个城市不同地点,有较多建筑物遮挡场景下的共计700余份GNSS原始测量数据和移动终端的实际位置,计算各份数据的定位误差和定位效果的情况,具体如图11所示:In order to verify the actual effect of the technical solution of this application, more than 700 GNSS original measurement data and actual positions of mobile terminals were collected from different locations in four cities, including Beijing, Shanghai, Shenzhen, and Hangzhou, with many buildings blocking the scene, and the positioning error and positioning effect of each data were calculated, as shown in Figure 11:
图11子图a示出了本申请技术方案的定位误差和GNSS定位误差的对比示意图,图中的深色矩形柱表示本申请技术方案的定位误差,浅色矩形柱表示GNSS定位结果的定位误差,由图11子图a对比结果可知,除了针对上海的定位结果外,其余三个城市,深圳、杭州和背景的深色矩形柱均低于浅色矩形柱,因此,总体来说本申请技术方案的定位误差小于GNSS定位结果的定位误差,本申请技术方案的定位效果更优。Sub-figure a of Figure 11 shows a schematic diagram comparing the positioning error of the technical solution of the present application and the GNSS positioning error. The dark rectangular columns in the figure represent the positioning error of the technical solution of the present application, and the light rectangular columns represent the positioning error of the GNSS positioning results. From the comparison results of sub-figure a of Figure 11, it can be seen that, except for the positioning results for Shanghai, the dark rectangular columns for the other three cities, Shenzhen, Hangzhou and the background are all lower than the light rectangular columns. Therefore, in general, the positioning error of the technical solution of the present application is smaller than the positioning error of the GNSS positioning results, and the positioning effect of the technical solution of the present application is better.
图11子图b示出了本申请技术方案的定位效果的示意图。其中,GNSS优表示GNSS的定位效果比本申请技术方案的定位效果好,GNSS优占12.62%;恶劣表示本申请技术方案的定位效果比GNSS的定位效果偏离真实定位,恶劣占6.38%;本申请大幅优化表示本申请技术方案的定位效果相比GNSS的定位效果大幅提升,本申请大幅优化占15.74%,例如,若GNSS的定位结果与实际结果差100米,本申请技术方案与实际结果差10米,则该定位效果属于本申请大幅优化;本申请小幅优化表示本申请技术方案的定位效果相比GNSS的定位效果小幅提升,本申请小幅优化占17.02%,例如,若GNSS的定位结果与实际结果差20米,本申请技术方案与实际结果差10米,则该定位效果属于本申请小幅优化;相近表示本申请技术方案的定位效果与GNSS的定位效果相似,不存在一方的定位效果明显提升。 Sub-figure b of Figure 11 shows a schematic diagram of the positioning effect of the technical solution of the present application. Among them, GNSS is excellent, which means that the positioning effect of GNSS is better than that of the technical solution of the present application, and GNSS is excellent, accounting for 12.62%; Poor, which means that the positioning effect of the technical solution of the present application deviates from the true positioning effect than the positioning effect of GNSS, and Poor, accounting for 6.38%; Substantial optimization of the present application means that the positioning effect of the technical solution of the present application is greatly improved compared with the positioning effect of GNSS, and the substantial optimization of the present application accounts for 15.74%. For example, if the positioning result of GNSS differs from the actual result by 100 meters, and the technical solution of the present application differs from the actual result by 10 meters, then the positioning effect belongs to the substantial optimization of the present application; Slightly optimized of the present application means that the positioning effect of the technical solution of the present application is slightly improved compared with the positioning effect of GNSS, and the slight optimization of the present application accounts for 17.02%. For example, if the positioning result of GNSS differs from the actual result by 20 meters, and the technical solution of the present application differs from the actual result by 10 meters, then the positioning effect belongs to the slight optimization of the present application; Similar means that the positioning effect of the technical solution of the present application is similar to the positioning effect of GNSS, and there is no significant improvement in the positioning effect of one party.
由图11子图b中的结果可知,本申请技术方案的定位结果优于GNSS的定位结果(即包含本申请小幅优化和本申请大幅优化的部分)的占比为32.78%,而本申请技术方案的定位结果劣于GNSS的定位结果(包括GNSS优和恶劣的部分)的占比为19%。可以看出本申请的技术方案在城市多建筑物遮挡场景下的定位效果优于GNSS的定位效果。From the results in sub-figure b of Figure 11, it can be seen that the positioning results of the technical solution of the present application are better than the positioning results of GNSS (i.e., including the parts slightly optimized and greatly optimized by the present application) at a ratio of 32.78%, while the positioning results of the technical solution of the present application are worse than the positioning results of GNSS (including the parts with good and bad GNSS) at a ratio of 19%. It can be seen that the positioning effect of the technical solution of the present application is better than that of GNSS in the urban multi-building occlusion scene.
图12示出了本申请的技术方案在产品应用上的具体表现的示意图,。图12中的移动终端的标记1201表示移动终端的实际位置,定位标记1202表示移动终端基于GNSS的定位解算结果,定位标记1203表示移动终端基于本申请的技术方案得到的定位解算结果。从图12中可以明显看出,使用本申请的技术方案得到的定位位置相较于使用GNSS得到的定位位置,距离移动终端的真实位置更近,定位的精度和准确度有了明显的提升。FIG12 is a schematic diagram showing the specific performance of the technical solution of the present application in product applications. The mark 1201 of the mobile terminal in FIG12 indicates the actual position of the mobile terminal, the positioning mark 1202 indicates the positioning solution result of the mobile terminal based on GNSS, and the positioning mark 1203 indicates the positioning solution result obtained by the mobile terminal based on the technical solution of the present application. It can be clearly seen from FIG12 that the positioning position obtained using the technical solution of the present application is closer to the actual position of the mobile terminal than the positioning position obtained using GNSS, and the positioning precision and accuracy have been significantly improved.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图13,其示出了本申请一个实施例提供的移动终端的定位装置的框图。该装置具有实现上述移动终端的定位方法的功能,功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以是上文介绍的移动终端,也可以设置在移动终端中。如图13所示,该装置1300可以包括:数据获取模块1310、量测信息确定模块1320、综合得分确定模块1330和定位结果确定模块1340。Please refer to Figure 13, which shows a block diagram of a positioning device for a mobile terminal provided by an embodiment of the present application. The device has the function of implementing the positioning method of the above-mentioned mobile terminal, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the mobile terminal introduced above, and can also be set in a mobile terminal. As shown in Figure 13, the device 1300 may include: a data acquisition module 1310, a measurement information determination module 1320, a comprehensive score determination module 1330 and a positioning result determination module 1340.
数据获取模块1310,用于获取移动终端的初步定位位置,确定初步定位位置周围至少一个建筑物的建筑物数据,以及初步定位位置周围卫星的卫星位置数据。The data acquisition module 1310 is used to acquire the preliminary positioning position of the mobile terminal, determine the building data of at least one building around the preliminary positioning position, and the satellite position data of the satellites around the preliminary positioning position.
量测信息确定模块1320,用于对于位于初步定位位置周围的M个网格单元中的第i个网格单元,根据建筑物数据和卫星位置数据,确定第i个网格单元对应的量测视距信息,M为大于1的整数,i为小于或等于M的整数。The measurement information determination module 1320 is used to determine the measurement line of sight information corresponding to the i-th grid cell among the M grid cells located around the preliminary positioning position based on the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M.
综合得分确定模块1330,用于根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的综合得分;其中,第i个网格单元对应的卫星信号测量信息包括在第i个网格单元的位置处,各个卫星的信号质量测量值;第i个网格单元对应的综合分值用于指示移动终端位于第i个网格单元的概率。The comprehensive score determination module 1330 is used to determine the comprehensive score corresponding to the ith grid cell based on the measured line-of-sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the satellite signal measurement information corresponding to the ith grid cell includes the signal quality measurement values of each satellite at the position of the ith grid cell; the comprehensive score corresponding to the ith grid cell is used to indicate the probability that the mobile terminal is located in the ith grid cell.
定位结果确定模块1340,用于根据M个网格单元分别对应的综合得分,确定移动终端的定位结果。The positioning result determination module 1340 is used to determine the positioning result of the mobile terminal according to the comprehensive scores corresponding to the M grid units.
在一些实施例中,建筑物数据包括建筑物的位置和空间信息,卫星位置数据包括初步定位位置周围n个卫星的位置坐标,n为正整数。In some embodiments, the building data includes the location and spatial information of the building, and the satellite location data includes the location coordinates of n satellites around the preliminary positioning location, where n is a positive integer.
在一些实施例中,第i个网格单元对应的量测视距信息,包括各个卫星的量测视距结果,量测视距结果是当移动终端位于第i个网格单元时,根据建筑物的遮挡情况确定的卫星与移动终端之间是否为视距通信的结果,当卫星与位于第i个网格单元的移动终端之间为视距通信时,第i个网格单元可无遮挡地接收卫星发出的卫星信号。In some embodiments, the measured line-of-sight information corresponding to the i-th grid unit includes the measured line-of-sight results of each satellite. The measured line-of-sight results are the results of determining whether there is line-of-sight communication between the satellite and the mobile terminal when the mobile terminal is located in the i-th grid unit based on the obstruction of the building. When there is line-of-sight communication between the satellite and the mobile terminal located in the i-th grid unit, the i-th grid unit can receive the satellite signal sent by the satellite without obstruction.
在一些实施例中,第i个网格单元对应的卫星信号测量信息包括在第i个网格单元的位置处,各个卫星的信号质量测量值,第i个网格单元对应的综合分值用于指示移动终端位于第i个网格单元的概率。In some embodiments, the satellite signal measurement information corresponding to the i-th grid unit includes the signal quality measurement values of each satellite at the position of the i-th grid unit, and the comprehensive score corresponding to the i-th grid unit is used to indicate the probability that the mobile terminal is located in the i-th grid unit.
在一些实施例中,综合得分确定模块1330,包括:In some embodiments, the comprehensive score determination module 1330 includes:
视距得分确定单元,用于根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的视距匹配得分;其中,第i个网格单元对应的视距匹配得分,用于指示第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度。A line of sight score determination unit is used to determine a line of sight matching score corresponding to the ith grid unit based on the measured line of sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit; wherein the line of sight matching score corresponding to the ith grid unit is used to indicate the similarity between the measured line of sight information corresponding to the ith grid unit and the predicted line of sight information corresponding to the ith grid unit.
伪距得分确定单元,用于根据第i个网格单元对应的量测视距信息以及第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的伪距残差得分;其中,第i个网格单元对应的伪距残差得分,用于指示可见卫星的伪距残差和不可见卫星的伪距残差的综合伪距残差。The pseudorange score determination unit is used to determine the pseudorange residual score corresponding to the ith grid cell according to the measured line of sight information corresponding to the ith grid cell and the satellite signal measurement information corresponding to the ith grid cell; wherein the pseudorange residual score corresponding to the ith grid cell is used to indicate the comprehensive pseudorange residual of the pseudorange residual of the visible satellite and the pseudorange residual of the invisible satellite.
综合得分确定单元,用于根据第i个网格单元对应的视距匹配得分和第i个网格单元 对应的伪距残差得分,确定第i个网格单元对应的综合得分。A comprehensive score determination unit is used to determine the score of the line of sight matching corresponding to the i-th grid unit and the i-th grid unit. The corresponding pseudorange residual score determines the comprehensive score corresponding to the i-th grid unit.
在一些实施例中,视距得分确定单元,包括:In some embodiments, the sight distance score determination unit comprises:
预测视距确定子单元,用于根据第i个网格单元对应的卫星信号测量信息,确定第i个网格单元对应的预测视距信息;其中,第i个网格单元对应的预测视距信息包括各个卫星的预测视距结果,预测视距结果是指假设移动终端位于第i个网格单元,根据卫星的信号质量测量值预测得到的卫星与移动终端之间是否为视距通信的结果。The predicted line-of-sight determination subunit is used to determine the predicted line-of-sight information corresponding to the ith grid unit based on the satellite signal measurement information corresponding to the ith grid unit; wherein the predicted line-of-sight information corresponding to the ith grid unit includes the predicted line-of-sight results of each satellite, and the predicted line-of-sight result refers to the result of whether there is line-of-sight communication between the satellite and the mobile terminal, assuming that the mobile terminal is located in the ith grid unit and obtained by predicting the signal quality measurement value of the satellite.
视距得分确定子单元,用于根据第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度,确定第i个网格单元对应的视距匹配得分。The sight distance score determination subunit is used to determine the sight distance matching score corresponding to the ith grid unit according to the similarity between the measured sight distance information corresponding to the ith grid unit and the predicted sight distance information corresponding to the ith grid unit.
在一些实施例中,预测视距确定子单元,用于:In some embodiments, the predicted sight distance determination subunit is configured to:
对于n个卫星中的每一个卫星,在卫星的信号质量测量值小于最小门限值的情况下,确定卫星的预测视距结果为第一值,第一值用于指示卫星是与移动终端之间为非视距通信的不可见卫星;For each of the n satellites, when the signal quality measurement value of the satellite is less than a minimum threshold value, determining that the predicted line-of-sight result of the satellite is a first value, where the first value is used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with the mobile terminal;
在卫星的信号质量测量值大于最大门限值的情况下,确定卫星的预测视距结果为第二值,第二值用于指示卫星是与移动终端之间为视距通信的可见卫星;When the signal quality measurement value of the satellite is greater than the maximum threshold value, determining that the predicted line-of-sight result of the satellite is a second value, the second value is used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal;
在卫星的信号质量测量值大于最小门限值且小于最大门限值的情况下,基于线性回归拟合算法根据卫星的信号质量测量值,确定卫星的预测视距结果的值。When the signal quality measurement value of the satellite is greater than the minimum threshold value and less than the maximum threshold value, the value of the predicted line of sight result of the satellite is determined according to the signal quality measurement value of the satellite based on a linear regression fitting algorithm.
在一些实施例中,视距得分确定子单元,用于:In some embodiments, the sight distance score determination subunit is configured to:
计算第i个网格单元对应的量测视距信息中包括的各个卫星的量测视距结果的均值,得到第一均值;以及,计算第i个网格单元对应的预测视距信息中包括的各个卫星的预测视距结果的均值,得到第二均值;Calculate the mean of the measured sight distance results of each satellite included in the measured sight distance information corresponding to the i-th grid unit to obtain a first mean value; and calculate the mean of the predicted sight distance results of each satellite included in the predicted sight distance information corresponding to the i-th grid unit to obtain a second mean value;
计算第i个网格单元对应的量测视距信息中包括的各个卫星的量测视距结果的标准差,得到第一标准差;以及,计算第i个网格单元对应的预测视距信息中包括的各个卫星的预测视距结果的标准差,得到第二标准差;Calculating the standard deviation of the measured sight distance results of each satellite included in the measured sight distance information corresponding to the i-th grid unit to obtain a first standard deviation; and calculating the standard deviation of the predicted sight distance results of each satellite included in the predicted sight distance information corresponding to the i-th grid unit to obtain a second standard deviation;
根据第一均值和第二均值,计算得到第一相似度参数;Calculate a first similarity parameter according to the first mean and the second mean;
根据第一标准差和第二标准差,计算得到第二相似度参数;Calculating a second similarity parameter according to the first standard deviation and the second standard deviation;
根据第一标准差、第二标准差,以及第一均值和第二均值的协方差,计算得到第三相似度参数;Calculate a third similarity parameter according to the first standard deviation, the second standard deviation, and the covariance of the first mean and the second mean;
根据第一相似度参数、第二相似度参数和第三相似度参数,计算得到第i个网格单元对应的量测视距信息和第i个网格单元对应的预测视距信息之间的相似度。The similarity between the measured viewing distance information corresponding to the ith grid unit and the predicted viewing distance information corresponding to the ith grid unit is calculated based on the first similarity parameter, the second similarity parameter and the third similarity parameter.
在一些实施例中,伪距得分确定单元,包括:In some embodiments, the pseudorange score determination unit comprises:
参考卫星确定子单元,用于根据在第i个网格单元的位置处,各个卫星的信号质量测量值和高度角,从n个卫星中确定参考卫星,参考卫星是指n个卫星中对于移动终端的被遮挡概率最低的可见卫星。The reference satellite determination subunit is used to determine a reference satellite from n satellites based on the signal quality measurement values and altitude angles of each satellite at the position of the i-th grid unit. The reference satellite refers to a visible satellite with the lowest probability of being blocked for the mobile terminal among the n satellites.
接收机钟差确定子单元,用于根据第i个网格单元与参考卫星之间的距离,以及初步定位位置与参考卫星之间的距离,确定第i个网格单元的接收机钟差。The receiver clock error determination subunit is used to determine the receiver clock error of the ith grid unit according to the distance between the ith grid unit and the reference satellite, and the distance between the preliminary positioning position and the reference satellite.
伪距得分确定子单元,用于根据第i个网格单元的接收机钟差和各个卫星的伪距,确定第i个网格单元对应的伪距残差得分,卫星的伪距是指网格单元与卫星之间的距离和初步定位位置与卫星之间的距离。The pseudorange score determination subunit is used to determine the pseudorange residual score corresponding to the ith grid unit based on the receiver clock error of the ith grid unit and the pseudorange of each satellite. The pseudorange of the satellite refers to the distance between the grid unit and the satellite and the distance between the initial positioning position and the satellite.
在一些实施例中,伪距得分确定子单元,用于:In some embodiments, the pseudorange score determination subunit is configured to:
根据第i个网格单元的接收机钟差和距离差值,确定第i个网格单元对应的伪距残差;其中,距离差值是指第i个网格单元与卫星之间的距离和初步定位位置和卫星之间的距离差值;According to the receiver clock error and distance difference of the ith grid unit, the pseudorange residual corresponding to the ith grid unit is determined; wherein the distance difference refers to the distance difference between the ith grid unit and the satellite and the distance difference between the initial positioning position and the satellite;
根据各个卫星的高度角和信号质量测量值,确定各个卫星的伪距标准差;Determine the standard deviation of the pseudorange of each satellite based on the altitude angle and signal quality measurement value of each satellite;
根据第i个网格单元对应的伪距残差和各个卫星的伪距标准差,确定可见卫星的伪距残差项和不可见卫星的伪距残差项;According to the pseudorange residual corresponding to the i-th grid cell and the pseudorange standard deviation of each satellite, the pseudorange residual term of the visible satellite and the pseudorange residual term of the invisible satellite are determined;
根据可见卫星的伪距残差项和不可见卫星的伪距残差项得到的卫星的伪距残差项,确 定第i个网格单元对应的伪距残差得分。The pseudorange residual term of the satellite is obtained based on the pseudorange residual term of the visible satellite and the pseudorange residual term of the invisible satellite. Determine the pseudorange residual score corresponding to the i-th grid cell.
在一些实施例中,参考卫星确定子单元,用于:In some embodiments, the reference satellite determination subunit is configured to:
对于n个卫星中的各个可见卫星,根据在第i个网格单元的位置处,各个可见卫星的信号质量测量值和高度角,确定各个可见卫星对于移动终端的被遮挡情况的衡量指标;For each visible satellite among the n satellites, a measurement index of the obstruction of each visible satellite to the mobile terminal is determined according to the signal quality measurement value and the altitude angle of each visible satellite at the position of the i-th grid unit;
将衡量指标中数值最大的衡量指标对应的可见卫星,确定为参考卫星。The visible satellite corresponding to the metric with the largest value among the metric indicators is determined as the reference satellite.
在一些实施例中,量测信息确定模块1320,还用于:In some embodiments, the measurement information determination module 1320 is further configured to:
对于n个卫星中的每一个卫星,在卫星的高度角小于建筑物的最大高度角的情况下,确定卫星的预测视距结果为第三值,第三值用于指示卫星是与移动终端之间为非视距通信的不可见卫星;For each of the n satellites, when the elevation angle of the satellite is less than the maximum elevation angle of the building, determining that the predicted line-of-sight result of the satellite is a third value, where the third value is used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with the mobile terminal;
在卫星的高度角大于或等于建筑物的最大高度角的情况下,确定卫星的预测视距结果为第四值,第四值用于指示卫星是与移动终端之间为视距通信的可见卫星。When the elevation angle of the satellite is greater than or equal to the maximum elevation angle of the building, the predicted line of sight result of the satellite is determined to be a fourth value, and the fourth value is used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal.
在一些实施例中,定位结果确定模块1340,还用于:In some embodiments, the positioning result determination module 1340 is further configured to:
根据M个网格单元分别对应的综合得分,选取满足第一条件的综合得分对应的网格单元;According to the comprehensive scores corresponding to the M grid units, a grid unit corresponding to the comprehensive score that meets the first condition is selected;
将被选取的网格单元划分为至少一个连通区域,每个连通区域中包含至少一个被选取的网格单元;Dividing the selected grid unit into at least one connected region, each connected region containing at least one selected grid unit;
根据各个连通区域中包含的网格单元的位置和综合得分,以及各个连通区域中包含的网格单元的数量,确定移动终端的定位结果。The positioning result of the mobile terminal is determined according to the positions and comprehensive scores of the grid cells included in each connected area, and the number of grid cells included in each connected area.
在一些实施例中,定位结果确定模块1340,还用于:In some embodiments, the positioning result determination module 1340 is further configured to:
对于每一个连通区域,根据连通区域中包含的各个网格单元的综合得分,和满足第一条件的综合得分中的最大值和最小值,确定连通区域中包含的各个网格单元的权重;For each connected area, determine the weights of the grid cells included in the connected area according to the comprehensive scores of the grid cells included in the connected area and the maximum and minimum values of the comprehensive scores that meet the first condition;
根据连通区域中包含的各个网格单元的权重和连通区域中包含的网格单元的数量,确定连通区域的概率值,连通区域的概率值用于指示移动终端位于连通区域的概率;Determine a probability value of the connected area according to the weights of the grid cells included in the connected area and the number of grid cells included in the connected area, where the probability value of the connected area is used to indicate the probability that the mobile terminal is located in the connected area;
在概率值最大的连通区域中,基于邻近算法根据概率值最大的连通区域中的各个网格单元的位置和概率值最大的连通区域中包含的网格单元的数量,确定移动终端的定位结果。In the connected area with the largest probability value, the positioning result of the mobile terminal is determined based on the proximity algorithm according to the positions of each grid unit in the connected area with the largest probability value and the number of grid units included in the connected area with the largest probability value.
在一些实施例中,装置1300,还包括:In some embodiments, the apparatus 1300 further includes:
网格单元生成模块,用于以初步定位位置为中心,生成M个网格单元,其中,M个网格单元呈a行和b列排列,a、b为正整数。The grid unit generation module is used to generate M grid units with the initial positioning position as the center, wherein the M grid units are arranged in a rows and b columns, and a and b are positive integers.
在一些实施例中,对于M个网格单元中位于建筑物外部的网格单元,确定对应的综合得分;对于M个网格单元中位于建筑物内部的网格单元,不确定对应的综合得分。In some embodiments, for the grid cells located outside the building among the M grid cells, the corresponding comprehensive scores are determined; for the grid cells located inside the building among the M grid cells, the corresponding comprehensive scores are not determined.
本申请实施例提供的技术方案可以带来如下有益效果:The technical solution provided in the embodiments of the present application can bring the following beneficial effects:
通过利用移动终端的初步定位位置周围的三维建筑物信息,确定各个卫星对于不同位置的移动终端的视距或非视距状态,可以判断出移动终端在城市环境中位于不同位置时,被周围建筑物遮挡会对其接收卫星信号产生影响,从而移动终端的定位解算程序可以根据移动终端被建筑物遮挡的干扰信息,修正定位结果,减小移动终端被建筑物遮挡而产生的定位误差,提高定位的精度和准确性。By utilizing the three-dimensional building information around the initial positioning position of the mobile terminal to determine the line-of-sight or non-line-of-sight state of each satellite for the mobile terminal at different positions, it can be determined that when the mobile terminal is located at different positions in an urban environment, being blocked by surrounding buildings will affect its reception of satellite signals. Therefore, the positioning solution program of the mobile terminal can correct the positioning result according to the interference information of the mobile terminal being blocked by buildings, reduce the positioning error caused by the mobile terminal being blocked by buildings, and improve the precision and accuracy of positioning.
需要说明的是,上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
请参考图14,其示出了本申请一个实施例提供的计算机设备1400的结构框图。该计算机设备1400可以是任何具备数据计算、处理和存储功能的电子设备。该计算机设备1400可用于实现上述实施例中提供的移动终端的定位方法。Please refer to Figure 14, which shows a block diagram of a computer device 1400 provided in one embodiment of the present application. The computer device 1400 can be any electronic device with data calculation, processing and storage functions. The computer device 1400 can be used to implement the positioning method of the mobile terminal provided in the above embodiment.
通常,计算机设备1400包括有:处理器1401和存储器1402。Typically, the computer device 1400 includes a processor 1401 and a memory 1402 .
处理器1401可以包括一个或多个处理核心,比如4核心处理器、9核心处理器等。处 理器1401可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(FieldProgrammable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1401也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1401可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1401还可以包括AI处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 1401 may include one or more processing cores, such as a 4-core processor, a 9-core processor, etc. The processor 1401 can be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1401 may also include an AI processor for processing computing operations related to machine learning.
存储器1402可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1402还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1402中的非暂态的计算机可读存储介质用于存储计算机可读指令,计算机可读指令经配置以由一个或者一个以上处理器执行,以实现上述移动终端的定位方法。The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1402 is used to store computer-readable instructions, which are configured to be executed by one or more processors to implement the above-mentioned positioning method of the mobile terminal.
本领域技术人员可以理解,图14中示出的结构并不构成对计算机设备1400的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art will appreciate that the structure shown in FIG. 14 does not limit the computer device 1400 , and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.
在示意性实施例中,还提供了一种计算机可读存储介质,所述存储介质中存储有计算机可读指令,所述计算机可读指令在被计算机设备的处理器执行时实现上述移动终端的定位方法。可选地,上述计算机可读存储介质可以是ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、CD-ROM(Compact Disc Read-OnlyMemory,只读光盘)、磁带、软盘和光数据存储设备等。In an illustrative embodiment, a computer-readable storage medium is also provided, in which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor of a computer device, the positioning method of the mobile terminal is implemented. Optionally, the computer-readable storage medium can be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.
在示例性实施例中,还提供了一种计算机程序产品,该计算机程序产品包括计算机可读指令,该计算机可读指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机可读指令,处理器执行该计算机可读指令,使得该计算机设备执行上述移动终端的定位方法。In an exemplary embodiment, a computer program product is also provided, the computer program product includes computer-readable instructions, the computer-readable instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer-readable instructions from the computer-readable storage medium, and the processor executes the computer-readable instructions, so that the computer device executes the above-mentioned positioning method of a mobile terminal.
需要说明的是,本申请所涉及的信息和数据(包括但不限于移动终端的初步定位位置等),均为经用户授权或者经过各方充分授权的情况下获得的,且相关信息和数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It should be noted that the information and data involved in this application (including but not limited to the preliminary positioning location of the mobile terminal, etc.) are obtained with the authorization of the user or with the full authorization of all parties, and the collection, use and processing of relevant information and data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。另外,本文中描述的步骤编号,仅示例性示出了步骤间的一种可能的执行先后顺序,在一些其它实施例中,上述步骤也可以不按照编号顺序来执行,如两个不同编号的步骤同时执行,或者两个不同编号的步骤按照与图示相反的顺序执行,本申请实施例对此不作限定。It should be understood that the "multiple" mentioned in this article refers to two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the objects associated with each other are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。 The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims (20)

  1. 一种移动终端的定位方法,由计算机设备执行,所述方法包括:A method for positioning a mobile terminal is performed by a computer device, the method comprising:
    获取移动终端的初步定位位置,确定所述初步定位位置周围至少一个建筑物的建筑物数据,以及所述初步定位位置周围卫星的卫星位置数据;Acquire a preliminary positioning position of the mobile terminal, determine building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position;
    对于位于所述初步定位位置周围的M个网格单元中的第i个网格单元,根据所述建筑物数据和所述卫星位置数据,确定所述第i个网格单元对应的量测视距信息,M为大于1的整数,i为小于或等于M的整数;For an i-th grid cell among M grid cells located around the preliminary positioning position, determining, according to the building data and the satellite position data, the measured line-of-sight information corresponding to the i-th grid cell, where M is an integer greater than 1, and i is an integer less than or equal to M;
    根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的综合得分;及Determine a comprehensive score corresponding to the i-th grid unit according to the measured line-of-sight information corresponding to the i-th grid unit and the satellite signal measurement information corresponding to the i-th grid unit; and
    根据所述M个网格单元分别对应的综合得分,确定所述移动终端的定位结果。The positioning result of the mobile terminal is determined according to the comprehensive scores respectively corresponding to the M grid units.
  2. 根据权利要求1所述的方法,所述建筑物数据包括所述建筑物的位置和空间信息,所述卫星位置数据包括所述初步定位位置周围n个卫星的位置坐标,n为正整数。According to the method of claim 1, the building data includes the location and spatial information of the building, and the satellite position data includes the position coordinates of n satellites around the preliminary positioning position, where n is a positive integer.
  3. 根据权利要求1或2所述的方法,所述第i个网格单元对应的量测视距信息,包括各个所述卫星的量测视距结果,所述量测视距结果是当所述移动终端位于所述第i个网格单元时,根据所述建筑物的遮挡情况确定的所述卫星与所述移动终端之间是否为视距通信的结果,当所述卫星与位于所述第i个网格单元的所述移动终端之间为视距通信时,所述第i个网格单元可无遮挡地接收所述卫星发出的卫星信号。According to the method according to claim 1 or 2, the measured line-of-sight information corresponding to the i-th grid unit includes the measured line-of-sight results of each of the satellites, and the measured line-of-sight results are the results of determining whether there is line-of-sight communication between the satellite and the mobile terminal when the mobile terminal is located in the i-th grid unit according to the obstruction of the building. When there is line-of-sight communication between the satellite and the mobile terminal located in the i-th grid unit, the i-th grid unit can receive the satellite signal sent by the satellite without obstruction.
  4. 根据权利要求1至3任一项所述的方法,所述第i个网格单元对应的卫星信号测量信息包括在所述第i个网格单元的位置处,各个所述卫星的信号质量测量值,所述第i个网格单元对应的综合分值用于指示所述移动终端位于所述第i个网格单元的概率。According to the method described in any one of claims 1 to 3, the satellite signal measurement information corresponding to the i-th grid unit includes the signal quality measurement values of each of the satellites at the position of the i-th grid unit, and the comprehensive score corresponding to the i-th grid unit is used to indicate the probability that the mobile terminal is located in the i-th grid unit.
  5. 根据权利要求1至4任一项所述的方法,所述根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的综合得分,包括:According to the method according to any one of claims 1 to 4, determining the comprehensive score corresponding to the i-th grid unit according to the measured line of sight information corresponding to the i-th grid unit and the satellite signal measurement information corresponding to the i-th grid unit comprises:
    根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的视距匹配得分,其中,所述第i个网格单元对应的视距匹配得分,用于指示所述第i个网格单元对应的量测视距信息和所述第i个网格单元对应的预测视距信息之间的相似度;Determine a line of sight matching score corresponding to the ith grid unit according to the measured line of sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit, wherein the line of sight matching score corresponding to the ith grid unit is used to indicate the similarity between the measured line of sight information corresponding to the ith grid unit and the predicted line of sight information corresponding to the ith grid unit;
    根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的伪距残差得分,其中,所述第i个网格单元对应的伪距残差得分,用于指示可见卫星的伪距残差和不可见卫星的伪距残差的综合伪距残差;Determine, according to the measured line-of-sight information corresponding to the i-th grid unit and the satellite signal measurement information corresponding to the i-th grid unit, a pseudorange residual score corresponding to the i-th grid unit, wherein the pseudorange residual score corresponding to the i-th grid unit is used to indicate a comprehensive pseudorange residual of a pseudorange residual of a visible satellite and a pseudorange residual of an invisible satellite;
    根据所述第i个网格单元对应的视距匹配得分和所述第i个网格单元对应的伪距残差得分,确定所述第i个网格单元对应的综合得分。A comprehensive score corresponding to the i-th grid unit is determined according to the line-of-sight matching score corresponding to the i-th grid unit and the pseudorange residual score corresponding to the i-th grid unit.
  6. 根据权利要求5所述的方法,所述根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的视距匹配得分,包括:According to the method of claim 5, determining the line-of-sight matching score corresponding to the i-th grid unit according to the measured line-of-sight information corresponding to the i-th grid unit and the satellite signal measurement information corresponding to the i-th grid unit comprises:
    根据所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的预测视距信息,其中,所述第i个网格单元对应的预测视距信息包括各个所述卫星的预测视距结果,所述预测视距结果是指假设所述移动终端位于所述第i个网格单元,根据所述卫星的信号质量测量值预测得到的所述卫星与所述移动终端之间是否为视距通信的结果;Determine, according to the satellite signal measurement information corresponding to the i-th grid unit, the predicted line-of-sight information corresponding to the i-th grid unit, wherein the predicted line-of-sight information corresponding to the i-th grid unit includes the predicted line-of-sight results of each of the satellites, and the predicted line-of-sight result refers to a result of whether line-of-sight communication is achieved between the satellite and the mobile terminal, assuming that the mobile terminal is located in the i-th grid unit and is predicted according to the signal quality measurement value of the satellite;
    根据所述第i个网格单元对应的量测视距信息和所述第i个网格单元对应的预测视距信息之间的相似度,确定所述第i个网格单元对应的视距匹配得分。A sight distance matching score corresponding to the i-th grid unit is determined according to a similarity between the measured sight distance information corresponding to the i-th grid unit and the predicted sight distance information corresponding to the i-th grid unit.
  7. 根据权利要求6所述的方法,所述根据所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的预测视距信息,包括:According to the method of claim 6, determining the predicted line of sight information corresponding to the i-th grid unit according to the satellite signal measurement information corresponding to the i-th grid unit comprises:
    对于所述n个卫星中的每一个卫星,在所述卫星的信号质量测量值小于最小门限值的情况下,确定所述卫星的预测视距结果为第一值,所述第一值用于指示所述卫星是与所述 移动终端之间为非视距通信的不可见卫星;For each of the n satellites, when the signal quality measurement value of the satellite is less than a minimum threshold value, determining that the predicted line of sight result of the satellite is a first value, wherein the first value is used to indicate whether the satellite is Invisible satellites for non-line-of-sight communications between mobile terminals;
    在所述卫星的信号质量测量值大于最大门限值的情况下,确定所述卫星的预测视距结果为第二值,所述第二值用于指示所述卫星是与所述移动终端之间为视距通信的可见卫星;When the signal quality measurement value of the satellite is greater than a maximum threshold value, determining that the predicted line-of-sight result of the satellite is a second value, where the second value is used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal;
    在所述卫星的信号质量测量值大于所述最小门限值且小于所述最大门限值的情况下,基于线性回归拟合算法根据所述卫星的信号质量测量值,确定所述卫星的预测视距结果的值。When the signal quality measurement value of the satellite is greater than the minimum threshold value and less than the maximum threshold value, a value of a predicted line-of-sight result of the satellite is determined based on a linear regression fitting algorithm according to the signal quality measurement value of the satellite.
  8. 根据权利要求6所述的方法,所述根据所述第i个网格单元对应的量测视距信息和所述第i个网格单元对应的预测视距信息之间的相似度,包括:According to the method of claim 6, the similarity between the measured sight distance information corresponding to the i-th grid unit and the predicted sight distance information corresponding to the i-th grid unit comprises:
    计算所述第i个网格单元对应的量测视距信息中包括的各个所述卫星的量测视距结果的均值,得到第一均值,以及,计算所述第i个网格单元对应的预测视距信息中包括的各个所述卫星的预测视距结果的均值,得到第二均值;Calculating the mean of the measured sight distance results of each of the satellites included in the measured sight distance information corresponding to the i-th grid unit to obtain a first mean value, and calculating the mean of the predicted sight distance results of each of the satellites included in the predicted sight distance information corresponding to the i-th grid unit to obtain a second mean value;
    计算所述第i个网格单元对应的量测视距信息中包括的各个所述卫星的量测视距结果的标准差,得到第一标准差,以及,计算所述第i个网格单元对应的预测视距信息中包括的各个所述卫星的预测视距结果的标准差,得到第二标准差;Calculating the standard deviation of the measured sight-range results of each of the satellites included in the measured sight-range information corresponding to the i-th grid unit to obtain a first standard deviation, and calculating the standard deviation of the predicted sight-range results of each of the satellites included in the predicted sight-range information corresponding to the i-th grid unit to obtain a second standard deviation;
    根据所述第一均值和所述第二均值,计算得到第一相似度参数;Calculating a first similarity parameter according to the first mean and the second mean;
    根据所述第一标准差和所述第二标准差,计算得到第二相似度参数;Calculating a second similarity parameter according to the first standard deviation and the second standard deviation;
    根据所述第一标准差、所述第二标准差,以及所述第一均值和所述第二均值的协方差,计算得到第三相似度参数;Calculate a third similarity parameter according to the first standard deviation, the second standard deviation, and the covariance of the first mean and the second mean;
    根据所述第一相似度参数、所述第二相似度参数和所述第三相似度参数,计算得到所述第i个网格单元对应的量测视距信息和所述第i个网格单元对应的预测视距信息之间的相似度。The similarity between the measured viewing distance information corresponding to the i-th grid unit and the predicted viewing distance information corresponding to the i-th grid unit is calculated according to the first similarity parameter, the second similarity parameter and the third similarity parameter.
  9. 根据权利要求5至8任一项所述的方法,所述根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的伪距残差得分,包括:According to the method according to any one of claims 5 to 8, determining the pseudorange residual score corresponding to the i-th grid unit according to the measured line of sight information corresponding to the i-th grid unit and the satellite signal measurement information corresponding to the i-th grid unit, comprises:
    根据在所述第i个网格单元的位置处,各个所述卫星的信号质量测量值和高度角,从所述n个卫星中确定参考卫星,所述参考卫星是指所述n个卫星中对于所述移动终端的被遮挡概率最低的可见卫星;Determine a reference satellite from the n satellites according to the signal quality measurement values and altitude angles of each of the satellites at the position of the i-th grid unit, wherein the reference satellite refers to a visible satellite with the lowest probability of being blocked for the mobile terminal among the n satellites;
    根据所述第i个网格单元与所述参考卫星之间的距离,以及所述初步定位位置与所述参考卫星之间的距离,确定所述第i个网格单元的接收机钟差;Determine the receiver clock error of the i-th grid unit according to the distance between the i-th grid unit and the reference satellite, and the distance between the preliminary positioning position and the reference satellite;
    根据所述第i个网格单元的接收机钟差和各个所述卫星的伪距,确定所述第i个网格单元对应的伪距残差得分,所述卫星的伪距包括所述网格单元与所述卫星之间的距离和所述初步定位位置与所述卫星之间的距离。The pseudorange residual score corresponding to the i-th grid unit is determined based on the receiver clock error of the i-th grid unit and the pseudorange of each of the satellites, wherein the pseudorange of the satellite includes the distance between the grid unit and the satellite and the distance between the preliminary positioning position and the satellite.
  10. 根据权利要求9所述的方法,所述根据所述第i个网格单元的接收机钟差和各个所述卫星的伪距,确定所述第i个网格单元对应的伪距残差得分,包括:According to the method of claim 9, determining the pseudorange residual score corresponding to the i-th grid unit according to the receiver clock error of the i-th grid unit and the pseudorange of each of the satellites, comprises:
    根据所述第i个网格单元的接收机钟差和距离差值,确定所述第i个网格单元对应的伪距残差;其中,所述距离差值是指第i个网格单元与所述卫星之间的距离,和所述初步定位位置与所述卫星之间的距离的差值;Determine the pseudorange residual corresponding to the i-th grid unit according to the receiver clock error and the distance difference of the i-th grid unit; wherein the distance difference refers to the difference between the distance between the i-th grid unit and the satellite and the distance between the preliminary positioning position and the satellite;
    根据各个所述卫星的高度角和信号质量测量值,确定各个所述卫星的伪距标准差;Determining a pseudorange standard deviation of each of the satellites based on the altitude angle and signal quality measurement value of each of the satellites;
    根据所述第i个网格单元对应的伪距残差和各个所述卫星的伪距标准差,确定可见卫星的伪距残差项和不可见卫星的伪距残差项;Determining a pseudorange residual term of a visible satellite and a pseudorange residual term of an invisible satellite according to the pseudorange residual corresponding to the i-th grid unit and a pseudorange standard deviation of each of the satellites;
    根据所述可见卫星的伪距残差项和所述不可见卫星的伪距残差项得到的所述卫星的伪距残差项,确定所述第i个网格单元对应的伪距残差得分。The pseudorange residual score corresponding to the i-th grid unit is determined according to the pseudorange residual item of the satellite obtained by the pseudorange residual item of the visible satellite and the pseudorange residual item of the invisible satellite.
  11. 根据权利要求9或10所述的方法,所述根据在所述第i个网格单元的位置处,各个所述卫星的信号质量测量值和高度角,从所述n个卫星中确定参考卫星,包括:According to the method of claim 9 or 10, determining a reference satellite from the n satellites based on the signal quality measurement values and elevation angles of each of the satellites at the position of the i-th grid unit comprises:
    对于所述n个卫星中的各个可见卫星,根据在所述第i个网格单元的位置处,各个所述可见卫星的信号质量测量值和高度角,确定各个所述可见卫星对于所述移动终端的被遮 挡情况的衡量指标;For each visible satellite among the n satellites, the obstruction of each visible satellite for the mobile terminal is determined according to the signal quality measurement value and the altitude angle of each visible satellite at the position of the i-th grid unit. Measuring indicators of the blocking situation;
    将所述衡量指标中数值最大的衡量指标对应的可见卫星,确定为所述参考卫星。The visible satellite corresponding to the metric with the largest value among the metric indicators is determined as the reference satellite.
  12. 根据权利要求1至11任一项所述的方法,所述根据所述建筑物数据和所述卫星位置数据,确定所述第i个网格单元对应的量测视距信息,包括:According to the method according to any one of claims 1 to 11, determining the measured line of sight information corresponding to the i-th grid unit according to the building data and the satellite position data comprises:
    对于所述n个卫星中的每一个卫星,在所述卫星的高度角小于所述建筑物的最大高度角的情况下,确定所述卫星的预测视距结果为第三值,所述第三值用于指示所述卫星是与所述移动终端之间为非视距通信的不可见卫星;For each of the n satellites, when the altitude angle of the satellite is less than the maximum altitude angle of the building, determining that the predicted line of sight result of the satellite is a third value, wherein the third value is used to indicate that the satellite is an invisible satellite for non-line-of-sight communication with the mobile terminal;
    在所述卫星的高度角大于或等于所述建筑物的最大高度角的情况下,确定所述卫星的预测视距结果为第四值,所述第四值用于指示所述卫星是与所述移动终端之间为视距通信的可见卫星。When the altitude angle of the satellite is greater than or equal to the maximum altitude angle of the building, the predicted line of sight result of the satellite is determined to be a fourth value, and the fourth value is used to indicate that the satellite is a visible satellite for line-of-sight communication with the mobile terminal.
  13. 根据权利要求1至12任一项所述的方法,所述根据所述M个网格单元分别对应的综合得分,确定所述移动终端的定位结果,包括:According to the method according to any one of claims 1 to 12, determining the positioning result of the mobile terminal according to the comprehensive scores respectively corresponding to the M grid units comprises:
    根据所述M个网格单元分别对应的综合得分,选取满足第一条件的综合得分对应的网格单元;According to the comprehensive scores respectively corresponding to the M grid units, a grid unit corresponding to the comprehensive score that meets the first condition is selected;
    将被选取的所述网格单元划分为至少一个连通区域,每个所述连通区域中包含至少一个被选取的所述网格单元;Dividing the selected grid unit into at least one connected area, each of the connected areas contains at least one selected grid unit;
    根据各个所述连通区域中包含的网格单元的位置和综合得分,以及各个所述连通区域中包含的网格单元的数量,确定所述移动终端的定位结果。The positioning result of the mobile terminal is determined according to the positions and comprehensive scores of the grid units included in each of the connected areas, and the number of the grid units included in each of the connected areas.
  14. 根据权利要求13所述的方法,所述根据各个所述连通区域中包含的网格单元的位置和综合得分,以及各个所述连通区域中包含的网格单元的数量,确定所述移动终端的定位结果,包括:According to the method of claim 13, determining the positioning result of the mobile terminal according to the positions and comprehensive scores of the grid cells contained in each of the connected areas, and the number of grid cells contained in each of the connected areas, comprises:
    对于每一个连通区域,根据所述连通区域中包含的各个网格单元的综合得分,和满足所述第一条件的综合得分中的最大值和最小值,确定所述连通区域中包含的各个网格单元的权重;For each connected area, determine the weights of the grid cells included in the connected area according to the comprehensive scores of the grid cells included in the connected area and the maximum and minimum values of the comprehensive scores that meet the first condition;
    根据所述连通区域中包含的各个网格单元的权重和所述连通区域中包含的网格单元的数量,确定所述连通区域的概率值,所述连通区域的概率值用于指示所述移动终端位于所述连通区域的概率;Determine a probability value of the connected area according to the weights of the grid cells included in the connected area and the number of grid cells included in the connected area, wherein the probability value of the connected area is used to indicate the probability that the mobile terminal is located in the connected area;
    在所述概率值最大的连通区域中,基于邻近算法根据所述概率值最大的连通区域中的各个网格单元的位置和所述概率值最大的连通区域中包含的网格单元的数量,确定所述移动终端的定位结果。In the connected area with the maximum probability value, the positioning result of the mobile terminal is determined based on a proximity algorithm according to the positions of each grid unit in the connected area with the maximum probability value and the number of grid units included in the connected area with the maximum probability value.
  15. 根据权利要求1至14任一项所述的方法,所述方法还包括:The method according to any one of claims 1 to 14, further comprising:
    以所述初步定位位置为中心,生成所述M个网格单元,其中,所述M个网格单元呈a行和b列排列,a、b为正整数。The M grid units are generated with the preliminary positioning position as the center, wherein the M grid units are arranged in a rows and b columns, and a and b are positive integers.
  16. 根据权利要求1至15任一项所述的方法,对于所述M个网格单元中位于建筑物外部的网格单元,确定对应的综合得分,对于所述M个网格单元中位于建筑物内部的网格单元,不确定对应的综合得分。According to the method described in any one of claims 1 to 15, for the grid cells located outside the building among the M grid cells, the corresponding comprehensive scores are determined, and for the grid cells located inside the building among the M grid cells, the corresponding comprehensive scores are not determined.
  17. 一种移动终端的定位装置,所述装置包括:A positioning device for a mobile terminal, the device comprising:
    数据获取模块,用于获取移动终端的初步定位位置,确定所述初步定位位置周围至少一个建筑物的建筑物数据,以及所述初步定位位置周围卫星的卫星位置数据;A data acquisition module, used to acquire a preliminary positioning position of the mobile terminal, determine building data of at least one building around the preliminary positioning position, and satellite position data of satellites around the preliminary positioning position;
    量测信息确定模块,用于对于位于所述初步定位位置周围的M个网格单元中的第i个网格单元,根据所述建筑物数据和所述卫星位置数据,确定所述第i个网格单元对应的量测视距信息,M为大于1的整数,i为小于或等于M的整数;a measurement information determination module, configured to determine, for an i-th grid cell among M grid cells located around the preliminary positioning position, measurement line of sight information corresponding to the i-th grid cell according to the building data and the satellite position data, where M is an integer greater than 1 and i is an integer less than or equal to M;
    综合得分确定模块,用于根据所述第i个网格单元对应的量测视距信息以及所述第i个网格单元对应的卫星信号测量信息,确定所述第i个网格单元对应的综合得分;及a comprehensive score determination module, configured to determine a comprehensive score corresponding to the ith grid unit according to the measured line-of-sight information corresponding to the ith grid unit and the satellite signal measurement information corresponding to the ith grid unit; and
    定位结果确定模块,用于根据所述M个网格单元分别对应的综合得分,确定所述移动终端的定位结果。 The positioning result determination module is used to determine the positioning result of the mobile terminal according to the comprehensive scores corresponding to the M grid units respectively.
  18. 一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有计算机可读指令,所述计算机可读指令由所述处理器加载并执行以实现如权利要求1至16任一项所述的移动终端的定位方法。A computer device comprises a processor and a memory, wherein the memory stores computer-readable instructions, and the computer-readable instructions are loaded and executed by the processor to implement the positioning method of a mobile terminal as described in any one of claims 1 to 16.
  19. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可读指令,所述计算机可读指令由处理器加载并执行以实现如权利要求1至16任一项所述的移动终端的定位方法。A computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, wherein the computer-readable instructions are loaded and executed by a processor to implement the positioning method for a mobile terminal as described in any one of claims 1 to 16.
  20. 一种计算机程序产品,所述计算机程序产品包括计算机可读指令,所述计算机可读指令由处理器加载并执行以实现如权利要求1至16任一项所述的移动终端的定位方法。 A computer program product, comprising computer-readable instructions, wherein the computer-readable instructions are loaded and executed by a processor to implement the positioning method for a mobile terminal as claimed in any one of claims 1 to 16.
PCT/CN2023/129378 2023-01-18 2023-11-02 Mobile terminal positioning method and apparatus, and device and storage medium WO2024152673A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310119164.5 2023-01-18
CN202310119164.5A CN116953747A (en) 2023-01-18 2023-01-18 Positioning method, device, equipment and storage medium of mobile terminal

Publications (1)

Publication Number Publication Date
WO2024152673A1 true WO2024152673A1 (en) 2024-07-25

Family

ID=88446695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/129378 WO2024152673A1 (en) 2023-01-18 2023-11-02 Mobile terminal positioning method and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN116953747A (en)
WO (1) WO2024152673A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116953747A (en) * 2023-01-18 2023-10-27 腾讯科技(深圳)有限公司 Positioning method, device, equipment and storage medium of mobile terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111624630A (en) * 2019-02-28 2020-09-04 腾讯大地通途(北京)科技有限公司 GNSS-based satellite selection method and device, terminal and storage medium
CN112444834A (en) * 2019-08-29 2021-03-05 华为技术有限公司 Positioning method and electronic equipment
CN113376674A (en) * 2021-08-11 2021-09-10 腾讯科技(深圳)有限公司 Terminal positioning method, device, equipment and storage medium
CN113933869A (en) * 2020-07-14 2022-01-14 华为技术有限公司 Positioning method and related equipment
US20220034990A1 (en) * 2019-08-14 2022-02-03 Korea Railroad Research Institute Positioning method and apparatus for terminal, using various data combinations
CN114646986A (en) * 2022-03-15 2022-06-21 阿里巴巴(中国)有限公司 Positioning method, model training method, device and storage medium
CN116953747A (en) * 2023-01-18 2023-10-27 腾讯科技(深圳)有限公司 Positioning method, device, equipment and storage medium of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111624630A (en) * 2019-02-28 2020-09-04 腾讯大地通途(北京)科技有限公司 GNSS-based satellite selection method and device, terminal and storage medium
US20220034990A1 (en) * 2019-08-14 2022-02-03 Korea Railroad Research Institute Positioning method and apparatus for terminal, using various data combinations
CN112444834A (en) * 2019-08-29 2021-03-05 华为技术有限公司 Positioning method and electronic equipment
CN113933869A (en) * 2020-07-14 2022-01-14 华为技术有限公司 Positioning method and related equipment
CN113376674A (en) * 2021-08-11 2021-09-10 腾讯科技(深圳)有限公司 Terminal positioning method, device, equipment and storage medium
CN114646986A (en) * 2022-03-15 2022-06-21 阿里巴巴(中国)有限公司 Positioning method, model training method, device and storage medium
CN116953747A (en) * 2023-01-18 2023-10-27 腾讯科技(深圳)有限公司 Positioning method, device, equipment and storage medium of mobile terminal

Also Published As

Publication number Publication date
CN116953747A (en) 2023-10-27

Similar Documents

Publication Publication Date Title
US11960012B2 (en) Positioning method and electronic device
US8638256B2 (en) Accuracy and performance of a hybrid positioning system
WO2020103558A1 (en) Positioning method and electronic device
US20150338522A1 (en) Positioning Using Non-Line-Of-Sight Signals
US20150341886A1 (en) Correcting Interference of Non-Line-Of-Sight Signals
WO2023019613A1 (en) Large-scale gnss network parallel resolution method and system based on dynamic partioning
US10656259B2 (en) Method for determining trajectories of moving physical objects in a space on the basis of sensor data of a plurality of sensors
US9395443B2 (en) Adaptive method for estimating the electron content of the ionosphere
RU2630783C2 (en) Method and system for determining the ionosphere travel time estimation error
WO2024152673A1 (en) Mobile terminal positioning method and apparatus, and device and storage medium
CN112902989B (en) Data error calibration method and device, electronic equipment and storage medium
CN113031037B (en) Device positioning method and device, electronic device and computer readable medium
US10324160B2 (en) Geolocation of beyond LOS HF emitters
CN114646992A (en) Positioning method, positioning device, computer equipment, storage medium and computer program product
CN115685260A (en) Identification deception jamming identification method, device, platform and medium for GLS reference station
WO2023236643A1 (en) Positioning method and apparatus, device and storage medium
CN116125507B (en) Positioning method, device, equipment and storage medium of mobile terminal
Xu et al. A Framework for Graphical GNSS Multipath and NLOS Mitigation
CN113917509B (en) Double-difference ambiguity fixing method, device and readable storage medium
CN116955885A (en) Ionosphere model construction method, ionosphere model construction device, ionosphere model construction equipment and computer storage medium
CN117008166A (en) Positioning quality evaluation method, apparatus, device, storage medium, and program product
CN113325450A (en) Positioning method, positioning device, electronic equipment and storage medium
CN117592381B (en) Atmospheric waveguide parameter inversion model training method, device, equipment and medium
CN117724124B (en) Processing method and device of positioning signal, computer readable medium and electronic equipment
CN116263334A (en) Positioning method, positioning device, computer apparatus, storage medium, and program product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23917141

Country of ref document: EP

Kind code of ref document: A1