CN114819090A - A Beidou positioning data deviation correction method and deviation correction system - Google Patents
A Beidou positioning data deviation correction method and deviation correction system Download PDFInfo
- Publication number
- CN114819090A CN114819090A CN202210490586.9A CN202210490586A CN114819090A CN 114819090 A CN114819090 A CN 114819090A CN 202210490586 A CN202210490586 A CN 202210490586A CN 114819090 A CN114819090 A CN 114819090A
- Authority
- CN
- China
- Prior art keywords
- positioning data
- beidou positioning
- road network
- data
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining 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/42—Determining position
- G01S19/421—Determining position by combining or switching between position solutions or signals derived from different satellite radio beacon positioning systems; by combining or switching between position solutions or signals derived from different modes of operation in a single system
- G01S19/426—Determining position by combining or switching between position solutions or signals derived from different satellite radio beacon positioning systems; by combining or switching between position solutions or signals derived from different modes of operation in a single system by combining or switching between position solutions or signals derived from different modes of operation in a single system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Biophysics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Evolutionary Biology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Navigation (AREA)
Abstract
Description
技术领域technical field
本发明涉及定位数据纠偏领域,更具体地,涉及一种北斗定位数据纠偏方法及纠偏系统。The invention relates to the field of positioning data deviation correction, and more particularly, to a Beidou positioning data deviation correction method and a deviation correction system.
背景技术Background technique
在车辆行驶过程中,行驶路线通常会出现偏差,因此,需要纠正,即对车辆的定位数据进行纠偏。During the driving of the vehicle, the driving route usually deviates. Therefore, correction is required, that is, the positioning data of the vehicle is corrected.
目前常见的纠偏方式为,比如申请号为CN201810675702.8,名称为一种基于网格化的北斗gps车辆轨迹管理系统及其方法的专利,通过每个经过平均量化划分和网格预处理后的网格信息,并以网格中心坐标为索引,生成路段中间数据的哈希表,通过相关的流程处理最终实现轨迹数据的纠偏。The current common deviation correction method is, for example, the application number is CN201810675702.8, the name is a grid-based Beidou GPS vehicle trajectory management system and its method patent, through the average quantization division and grid preprocessing of each Grid information, and use the grid center coordinates as an index to generate a hash table of the intermediate data of the road section, and finally realize the correction of the trajectory data through the relevant process processing.
采用该种方式进行纠偏的缺点主要有:The main disadvantages of using this method for deviation correction are:
1、样本数据精度低。直接采用高德地图上某区域路网数据,本身存储数据精度低的问题。为了达到匹配速度采用网格hash进而进行全量匹配。1. The accuracy of the sample data is low. Directly using the road network data of a certain area on the AutoNavi map has the problem of low storage data accuracy. In order to achieve the matching speed, the grid hash is used for full matching.
2、匹配速度慢。虽然整体采用稀释后形成网格hash,但整体采用全量匹配模式,每个点需要依次比较,查询效率O(n)。2. The matching speed is slow. Although the grid hash is formed by dilution as a whole, the full matching mode is adopted as a whole, and each point needs to be compared in turn, and the query efficiency is O(n).
发明内容SUMMARY OF THE INVENTION
本发明针对现有技术中存在的技术问题,提供一种北斗定位数据纠偏方法及纠偏系统。Aiming at the technical problems existing in the prior art, the present invention provides a Beidou positioning data deviation correction method and a deviation correction system.
根据本发明的第一方面,提供了一种北斗定位数据纠偏方法,包括:According to the first aspect of the present invention, there is provided a Beidou positioning data deviation correction method, including:
基于高精度路网线路,构建神经树结构,所述神经树结构为多层级树结构,所述神经树结构中存储高精度路网线路;Building a neural tree structure based on high-precision road network lines, the neural tree structure is a multi-level tree structure, and high-precision road network lines are stored in the neural tree structure;
在所述神经树结构中查找当前北斗定位数据的最优匹配路网线路;Find the optimal matching road network line of the current Beidou positioning data in the neural tree structure;
若所述当前北斗定位数据需要纠偏,根据所述最优匹配线路、当前北斗定位数据以及前一个北斗定位数据,通过平面坐标方式计算纠偏后的定位数据。If the current Beidou positioning data needs to be corrected, according to the optimal matching line, the current Beidou positioning data and the previous Beidou positioning data, the corrected positioning data is calculated by plane coordinates.
在上述技术方案的基础上,本发明还可以作出如下改进。On the basis of the above technical solutions, the present invention can also make the following improvements.
可选的,所述基于高精度路网线路数据,构建神经树结构,包括:Optionally, the construction of a neural tree structure based on high-precision road network line data includes:
根据高精度路网线路中每一个数据点的经纬度按照升序模式或降序模式构建神经树结构。According to the longitude and latitude of each data point in the high-precision road network, the neural tree structure is constructed in ascending or descending order.
可选的,所述根据高精度路网线路中每一个数据点的经纬度按照升序模式或降序模式构建神经树结构,包括:Optionally, according to the longitude and latitude of each data point in the high-precision road network line, the neural tree structure is constructed in an ascending order mode or a descending order mode, including:
对于高精度路网线路中的任一个数据点,设所述任一个数据点的经度为x,纬度为y,其中,x,y包括多位,x=[x1x2x3...xn],y=[y1y2y3...ym];For any data point in the high-precision road network line, let the longitude of the any data point be x and the latitude to be y, where x, y include multiple bits, x=[x1x2x3...xn], y= [y1y2y3...ym];
基于所述任一个数据点的经度x,构建第一神经树结构,所述第一神经树结构的根节点为x1,前面一位作为父节点,后面一位作为子节点;Based on the longitude x of any one of the data points, construct a first neural tree structure, the root node of the first neural tree structure is x1, the first one is used as a parent node, and the last one is used as a child node;
以及,as well as,
基于所述任一个数据点的纬度y,构建第二神经树结构,所述第二神经树结构的根节点为y1,前面一位作为父节点,后面一位作为子节点。Based on the latitude y of any one of the data points, a second neural tree structure is constructed. The root node of the second neural tree structure is y1, the first one is a parent node, and the last one is a child node.
可选的,所述在所述神经树结构中查找当前北斗定位数据的最优匹配路网线路数据,包括:Optionally, the searching for the optimal matching road network line data of the current Beidou positioning data in the neural tree structure includes:
按照广度优先或者深度优先搜索算法,基于当前北斗定位数据,在所述神经树结构中搜索匹配的路网线路;According to the breadth-first or depth-first search algorithm, based on the current Beidou positioning data, search for a matching road network line in the neural tree structure;
如果搜索到一条匹配的路网线路,则将所述路线线路作为当前北斗定位数据的最优匹配路网线路;If a matching road network line is found, the route line is used as the optimal matching road network line of the current Beidou positioning data;
如果搜索到多条匹配的路网线路,则计算所述当前北斗定位数据与每一条匹配的路网线路之间距离,将距离最小的路网线路作为当前北斗定位数据的最优路网线路。If multiple matching road network lines are found, the distance between the current Beidou positioning data and each matching road network line is calculated, and the road network line with the smallest distance is taken as the optimal road network line of the current Beidou positioning data.
可选的,所述按照广度优先或者深度优先搜索算法,基于当前北斗定位数据,在所述神经树结构中搜索匹配的路网线路,包括:Optionally, according to the breadth-first or depth-first search algorithm, based on the current Beidou positioning data, the neural tree structure is searched for matching road network lines, including:
获取当前北斗定位数据的经度和纬度;Get the longitude and latitude of the current Beidou positioning data;
基于当前北斗定位数据的经度,在所述第一神经树结构中搜索匹配的经度数据;Search for matching longitude data in the first neural tree structure based on the longitude of the current Beidou positioning data;
基于当前北斗定位数据的纬度,在所述第二神经树结构中搜索匹配的纬度数据;Based on the latitude of the current Beidou positioning data, searching for matching latitude data in the second neural tree structure;
根据搜索匹配的精度数据和纬度数据,得到当前北斗定位数据搜索匹配的路网线路。According to the precision data and latitude data of the search match, get the current Beidou positioning data to search and match the road network line.
可选的,将距离最小的路网线路作为当前北斗定位数据的最优路网线路,还包括:Optionally, take the road network line with the smallest distance as the optimal road network line of the current Beidou positioning data, and also include:
如果距离最小的路网线路有多条,则将前一个北斗定位数据的最优匹配路网线路作为当前当前北斗定位数据的最优路网线路。If there are multiple road network lines with the smallest distance, the optimal matching road network line of the previous Beidou positioning data is used as the optimal road network line of the current Beidou positioning data.
可选的,通过如下方式判断所述当前北斗定位数据是否需要纠偏:Optionally, determine whether the current Beidou positioning data needs to be corrected in the following manner:
若当前北斗定位数据与其最优匹配路网线路的距离大于设定距离阈值,则当前北斗定位数据需要纠偏;否则,当前北斗定位数据不需要纠偏。If the distance between the current Beidou positioning data and its optimal matching road network line is greater than the set distance threshold, the current Beidou positioning data needs to be corrected; otherwise, the current Beidou positioning data does not need to be corrected.
可选的,所述根据所述最优匹配线路、当前北斗定位数据以及前一个北斗定位数据,通过平面坐标方式计算纠偏后的定位数据,包括:Optionally, according to the optimal matching line, the current Beidou positioning data and the previous Beidou positioning data, calculating the corrected positioning data by plane coordinates, including:
根据前一个北斗定位数据到当前北斗定位数据的平均行驶速度、行驶时间以及当前北斗定位数据的方位角,通过平面坐标方式计算当前北斗定位数据纠偏后的定位数据,所述纠偏后的定位数据位于所述最优匹配路网线路上。According to the average driving speed and travel time of the previous Beidou positioning data to the current Beidou positioning data, and the azimuth angle of the current Beidou positioning data, the positioning data after the deviation correction of the current Beidou positioning data is calculated by plane coordinates, and the corrected positioning data is located in The optimal matching road network line.
可选的,所述根据前一个北斗定位数据到当前北斗定位数据的平均行驶速度、行驶时间以及当前北斗定位数据的方位角,通过平面坐标方式计算当前北斗定位数据纠偏后的定位数据,包括:Optionally, according to the average driving speed and travel time of the previous Beidou positioning data to the current Beidou positioning data and the azimuth angle of the current Beidou positioning data, the positioning data after the deviation correction of the current Beidou positioning data is calculated by plane coordinates, including:
其中,Gi(lat,lon)表示当前北斗定位数据G1′(lat,lon)纠偏后的定位数据,Pj(lat,lon)表示当前北斗定位数据Gi′(lat,lon)所属的路网线路,表示前一个北斗定位数据Gi-1′(lat,lon)到当前北斗定位数据Gi′(lat,lon)的平均行驶速度,Δti表示前一个北斗定位数据Gi-1′(lat,lon)到当前北斗定位数据Gi′(lat,lon)的行驶时间,Ai表示当前北斗定位数据Gi′(lat,lon)的方位角。Among them, G i (lat, lon) represents the positioning data after the current Beidou positioning data G 1 '(lat, lon) is corrected, and P j (lat, lon) represents the current Beidou positioning data G i '(lat, lon) belongs to road network, Represents the average travel speed from the previous Beidou positioning data G i-1 '(lat, lon) to the current Beidou positioning data G i '(lat, lon), Δt i represents the previous Beidou positioning data G i-1 '(lat, lon) to the travel time of the current Beidou positioning data G i '(lat, lon), A i represents the azimuth angle of the current Beidou positioning data G i '(lat, lon).
根据本发明的第二方面,提供一种北斗定位数据纠偏系统,包括:According to a second aspect of the present invention, a Beidou positioning data deviation correction system is provided, including:
构建模块,用于基于高精度路网线路,构建神经树结构,所述神经树结构为多层级树结构,所述神经树结构中存储高精度路网线路;a building module for constructing a neural tree structure based on high-precision road network lines, the neural tree structure is a multi-level tree structure, and high-precision road network lines are stored in the neural tree structure;
查找模块,用于在所述神经树结构中查找当前北斗定位数据的最优匹配路网线路;A search module, used to search the optimal matching road network line of the current Beidou positioning data in the neural tree structure;
纠偏模块,用于若所述当前北斗定位数据需要纠偏,根据所述最优匹配线路、当前北斗定位数据以及前一个北斗定位数据,通过平面坐标方式计算纠偏后的定位数据。The deviation correction module is used to calculate the corrected positioning data by plane coordinates according to the optimal matching line, the current Beidou positioning data and the previous Beidou positioning data if the current Beidou positioning data needs to be corrected.
根据本发明的第三方面,提供了一种电子设备,包括存储器、处理器,所述处理器用于执行存储器中存储的计算机管理类程序时实现北斗定位数据纠偏方法的步骤。According to a third aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein the processor is used to implement the steps of the Beidou positioning data deviation correction method when executing a computer management program stored in the memory.
根据本发明的第四方面,提供了一种计算机可读存储介质,其上存储有计算机管理类程序,所述计算机管理类程序被处理器执行时实现北斗定位数据纠偏方法的步骤。According to a fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer management program is stored, and when the computer management program is executed by a processor, the steps of the Beidou positioning data deviation correction method are implemented.
本发明提供的一种北斗定位数据纠偏方法及纠偏系统,利用神经网络结构存储高精度路网数据,提高了数据查询效率,以及采用多线程并行查找和纠偏计算,能够解决实时定位纠偏的问题。The invention provides a Beidou positioning data deviation correction method and a deviation correction system, which utilizes a neural network structure to store high-precision road network data, improves data query efficiency, and adopts multi-thread parallel search and deviation correction calculation, which can solve the problem of real-time positioning and deviation correction.
附图说明Description of drawings
图1为本发明提供的一种北斗定位数据纠偏方法流程图;Fig. 1 is a kind of Beidou positioning data deviation correction method flow chart provided by the present invention;
图2为高精度地图的路网线路数据示意图;Figure 2 is a schematic diagram of the road network line data of the high-precision map;
图3为神经树结构示意图;3 is a schematic diagram of a neural tree structure;
图4为神经树搜索示意图;Fig. 4 is a schematic diagram of neural tree search;
图5为对当前北斗定位数据的纠偏示意图;Fig. 5 is a schematic diagram of correction of current Beidou positioning data;
图6为本发明提供的一种北斗定位数据纠偏系统的结构示意图;6 is a schematic structural diagram of a Beidou positioning data deviation correction system provided by the present invention;
图7为本发明提供的一种可能的电子设备的硬件结构示意图;7 is a schematic diagram of the hardware structure of a possible electronic device provided by the present invention;
图8为本发明提供的一种可能的计算机可读存储介质的硬件结构示意图。FIG. 8 is a schematic diagram of the hardware structure of a possible computer-readable storage medium provided by the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. The following examples are intended to illustrate the present invention, but not to limit the scope of the present invention.
实施例一Example 1
一种北斗定位数据纠偏方法,参见图1,该纠偏方法主要包括以下步骤:A method for correction of Beidou positioning data is shown in Figure 1. The method for correction mainly includes the following steps:
S1,基于高精度路网线路,构建神经树结构,神经树结构为多层级树结构,神经树结构中存储高精度路网线路。S1, based on high-precision road network lines, construct a neural tree structure, the neural tree structure is a multi-level tree structure, and high-precision road network lines are stored in the neural tree structure.
可以理解的是,本发明实施例对北斗定位数据进行纠偏依据的数据为高精度路网数据,其中,数据来源为采用高精度设备采集的高精度路网数据。通过工具对高精度路网数据进行清洗和处理形成专业统一的GIS数据,通过数据导入形成路网点形成路网线Lj,j∈N,N为路网线路条数,形成的高精度地图路网线路数据示意图可参见图2所示。It can be understood that the data based on which the Beidou positioning data is corrected in the embodiment of the present invention is high-precision road network data, wherein the data source is high-precision road network data collected by high-precision equipment. The high-precision road network data is cleaned and processed by tools to form professional and unified GIS data, and road network points are formed by data import to form road network lines L j , j∈N, N is the number of road network lines, and the formed high-precision map road network The schematic diagram of the line data can be seen in Figure 2.
基于获取的高精度路网数据,将其存储于神经树结构模型中,作为实施例,基于高精度路网线路数据,构建神经树结构,包括:根据高精度路网线路中每一个数据点的经纬度按照升序模式或降序模式构建神经树结构。Based on the acquired high-precision road network data, it is stored in the neural tree structure model. As an embodiment, based on the high-precision road network line data, constructing a neural tree structure includes: according to the data of each data point in the high-precision road network line The latitude and longitude construct the neural tree structure in ascending or descending order.
其中,根据高精度路网线路中每一个数据点的经纬度按照升序模式或降序模式构建神经树结构,包括:对于高精度路网线路中的任一个数据点,设所述任一个数据点的经度为x,纬度为y,其中,x,y包括多位,x=[x1x2x3...xn],y=[y1y2y3...ym];基于任一个数据点的经度x,构建第一神经树结构,所述第一神经树结构的根节点为x1,前面一位作为父节点,后面一位作为子节点;以及,基于任一个数据点的纬度y,构建第二神经树结构,所述第二神经树结构的根节点为y1,前面一位作为父节点,后面一位作为子节点。Wherein, constructing a neural tree structure according to the longitude and latitude of each data point in the high-precision road network line in ascending or descending order mode includes: for any data point in the high-precision road network line, set the longitude of any data point is x, and the latitude is y, where x and y include multiple bits, x=[x1x2x3...xn], y=[y1y2y3...ym]; based on the longitude x of any data point, construct the first neural tree structure, the root node of the first neural tree structure is x1, the first one is used as a parent node, and the last one is used as a child node; and, based on the latitude y of any data point, a second neural tree structure is constructed, and the first The root node of the two-neural tree structure is y1, the first one is the parent node, and the last one is the child node.
可以理解的是,对于高精度路网数据点,其坐标包括经度坐标和纬度坐标,对于每一个数据点,其经度可表示为x,纬度表示为y,其中,x,y包括多位,x=[x1x2x3...xn],y=[y1y2y3...ym],其数据坐标形式可参见表1。It can be understood that for high-precision road network data points, its coordinates include longitude coordinates and latitude coordinates. For each data point, its longitude can be expressed as x, and its latitude can be expressed as y, where x, y include multiple digits, x =[x1x2x3...xn], y=[y1y2y3...ym], please refer to Table 1 for the data coordinate form.
表1高精度路网数据Table 1 High-precision road network data
对于所有的高精度路网数据点,根据经度构建一个神经树结构(称为第一神经树结构),根据纬度构建一个神经树结构(称为第二神经树结构)。具体构建方法可参见图3的神经树结构,比如,某一个高精度数据点的经度形式为112.491322144001860,其112作为神经树的根节点,其它的位,则是前一位为父节点,后一位为子节点,最后构建第一神经树结构,对于同一层级的节点,根据不同数据点的经度按照升序从左到右或者降序从左到右存储于神经树的节点中,对于高精度路网数据的纬度,利用同样的方法构建第二神经树结构。For all high-precision road network data points, a neural tree structure (called the first neural tree structure) is constructed according to the longitude, and a neural tree structure (called the second neural tree structure) is constructed according to the latitude. The specific construction method can refer to the neural tree structure in Figure 3. For example, the longitude form of a certain high-precision data point is 112.491322144001860, and its 112 is the root node of the neural tree. Bits are child nodes, and finally the first neural tree structure is constructed. For nodes at the same level, the longitudes of different data points are stored in the nodes of the neural tree in ascending order from left to right or descending from left to right. For high-precision road networks The latitude of the data, using the same method to build a second neural tree structure.
S2,在所述神经树结构中查找当前北斗定位数据的最优匹配路网线路。S2: Find the optimal matching road network line of the current Beidou positioning data in the neural tree structure.
可以理解的是,对于车辆行驶的实时北斗定位数据,首先需要到神经树结构中查找该北斗定位数据属于哪一条路网线路,也就是当前北斗定位数据的最优匹配路网线路。It can be understood that, for the real-time Beidou positioning data of the vehicle, it is first necessary to find which road network line the Beidou positioning data belongs to in the neural tree structure, that is, the optimal matching road network line of the current Beidou positioning data.
在具体进行查找时,在神经树结构中查找当前北斗定位数据的最优匹配路网线路数据,包括:按照广度优先或者深度优先搜索算法,基于当前北斗定位数据,在所述神经树结构中搜索匹配的路网线路;如果搜索到一条匹配的路网线路,则将所述路线线路作为当前北斗定位数据的最优匹配路网线路;如果搜索到多条匹配的路网线路,则计算所述当前北斗定位数据与每一条匹配的路网线路之间距离,将距离最小的路网线路作为当前北斗定位数据的最优路网线路。When searching specifically, searching for the best matching road network line data of the current Beidou positioning data in the neural tree structure, including: searching in the neural tree structure based on the current Beidou positioning data according to the breadth-first or depth-first search algorithm The matching road network line; if a matching road network line is found, the route line is used as the optimal matching road network line of the current Beidou positioning data; if multiple matching road network lines are found, the The distance between the current Beidou positioning data and each matching road network line, the road network line with the smallest distance is taken as the optimal road network line of the current Beidou positioning data.
可理解的,基于当前北斗定位数据在神经树结构中查找匹配的路网数据时,可按照一定的搜索算法进行查找,比如,可按照广度优先搜索算法或者深度优先搜索算法进行查找。Understandably, when searching for matching road network data in the neural tree structure based on the current Beidou positioning data, the search can be performed according to a certain search algorithm, for example, the search can be performed according to a breadth-first search algorithm or a depth-first search algorithm.
具体的,按照广度优先或者深度优先搜索算法,基于当前北斗定位数据,在神经树结构中搜索匹配的路网线路,包括:获取当前北斗定位数据的经度和纬度;基于当前北斗定位数据的经度,在所述第一神经树结构中搜索匹配的经度数据;基于当前北斗定位数据的纬度,在所述第二神经树结构中搜索匹配的纬度数据;根据搜索匹配的精度数据和纬度数据,得到当前北斗定位数据搜索匹配的路网线路。Specifically, according to the breadth-first or depth-first search algorithm, based on the current Beidou positioning data, search for matching road network lines in the neural tree structure, including: obtaining the longitude and latitude of the current Beidou positioning data; based on the longitude of the current Beidou positioning data, Searching for matching longitude data in the first neural tree structure; searching for matching latitude data in the second neural tree structure based on the latitude of the current Beidou positioning data; obtaining the current matching accuracy data and latitude data according to the search Beidou positioning data searches for matching road network lines.
可理解的,获取车辆行驶的当前北斗定位数据,包括其经度数据和纬度数据,基于经度数据在第一神经树结构中查找,查找到匹配的经度数据;以及基于纬度数据在第二神经树结构中查找匹配的纬度数据。根据查找到的匹配的经度数据和匹配的纬度数据,获取当前北斗定位数据匹配的路网线路数据。可参见图4,为数据查找过程,其中,当同时需要对多个车辆的当前北斗定位数据查找时,可采用多线程多进程并行查找的方式进行查找,提高数据查找的效率。Understandably, obtain the current Beidou positioning data of the vehicle, including its longitude data and latitude data, search in the first neural tree structure based on the longitude data, and find the matching longitude data; and based on the latitude data in the second neural tree structure. Find matching latitude data in . According to the found matching longitude data and matching latitude data, obtain the road network line data matching the current Beidou positioning data. Referring to FIG. 4 , it is a data search process, in which, when the current Beidou positioning data of multiple vehicles needs to be searched at the same time, a multi-thread and multi-process parallel search method can be used to search to improve the efficiency of data search.
其中,如果当前北斗定位数据在神经树结构中只能查找到一条匹配的路网线路,则该路网线路为当前北斗定位数据的最优匹配路网线路。Among them, if the current Beidou positioning data can only find one matching road network line in the neural tree structure, the road network line is the optimal matching road network line of the current Beidou positioning data.
如果当前北斗定位数据在神经树结构中查找到多条匹配的路网线路,则计算当前北斗定位数据与每一条匹配的路网线路的距离,可以理解为,计算当前北斗定位数据到每一条匹配的路网线路的垂直距离,找出距离最短的路网线路,将距离最短的路网线路最为当前北斗定位数据的最优匹配路网线路。If the current Beidou positioning data finds multiple matching road network lines in the neural tree structure, then calculate the distance between the current Beidou positioning data and each matching road network line, which can be understood as calculating the current Beidou positioning data to each match. The vertical distance of the road network line is determined, and the road network line with the shortest distance is found, and the road network line with the shortest distance is the optimal matching road network line for the current Beidou positioning data.
需要说明的是,如果距离最短的路网线路有多条,也就是,当前北斗定位数据到多条路网线路的距离相等且为最短,那么,此时,可参考前一个北斗定位数据,将前一个北斗定位数据的最优匹配路网线路作为当前北斗定位数据的最优匹配路网线路。It should be noted that if there are multiple road network lines with the shortest distance, that is, the distances from the current Beidou positioning data to multiple road network lines are equal and the shortest, then, at this time, you can refer to the previous Beidou positioning data, The optimal matching road network line of the previous Beidou positioning data is used as the optimal matching road network line of the current Beidou positioning data.
S3,若所述当前北斗定位数据需要纠偏,根据所述最优匹配线路、当前北斗定位数据以及前一个北斗定位数据,通过平面坐标方式计算纠偏后的定位数据。S3, if the current Beidou positioning data needs to be corrected, according to the optimal matching line, the current Beidou positioning data and the previous Beidou positioning data, calculate the corrected positioning data by means of plane coordinates.
可理解的,当在神经树结构中查找到当前北斗定位数据的最优匹配路网线路后,判断当前北斗定位数据是否需要纠偏,作为实施例,通过如下方式判断所述当前北斗定位数据是否需要纠偏:若当前北斗定位数据与其最优匹配路网线路的距离大于设定距离阈值,比如当前北斗定位数据与其最优匹配路网线路的垂直距离大于20m,则当前北斗定位数据需要纠偏;小于20m,则在误差范围内,当前北斗定位数据不需要纠偏。It is understandable that when the optimal matching road network line of the current Beidou positioning data is found in the neural tree structure, it is judged whether the current Beidou positioning data needs to be corrected. Correction: If the distance between the current Beidou positioning data and its optimal matching road network line is greater than the set distance threshold, for example, the vertical distance between the current Beidou positioning data and its optimal matching road network line is greater than 20m, the current Beidou positioning data needs to be corrected; less than 20m , then within the error range, the current Beidou positioning data does not need to be corrected.
如果当前北斗定位数据需要纠偏时,根据所述最优匹配线路、当前北斗定位数据以及前一个北斗定位数据,通过平面坐标方式计算纠偏后的定位数据,包括:根据前一个北斗定位数据到当前北斗定位数据的平均行驶速度、行驶时间以及当前北斗定位数据的方位角,通过平面坐标方式计算当前北斗定位数据纠偏后的定位数据,所述纠偏后的定位数据位于所述最优匹配路网线路上。If the current Beidou positioning data needs to be corrected, according to the optimal matching line, the current Beidou positioning data and the previous Beidou positioning data, calculate the corrected positioning data by plane coordinates, including: according to the previous Beidou positioning data to the current Beidou The average travel speed, travel time of the positioning data, and the azimuth of the current Beidou positioning data, and the corrected positioning data of the current Beidou positioning data is calculated by plane coordinates, and the corrected positioning data is located on the optimal matching road network line .
可以理解的是,可参见图5,对于当前北斗定位数据Gi’,若当前北斗定位数据需要纠偏时,则根据前一个北斗定位数据Gi-1’和当前北斗定位数据Gi’的车辆平均行驶速度,前一个北斗定位数据Gi-1’和当前北斗定位数据Gi’的车辆行驶时间Δti,以及当前北斗定位数据Gi’的方位角,计算当前北斗定位数据Gi’纠偏后的定位数据Gi,也就是将当前北斗定位数据Gi’纠正到Gi,完成当前北斗定位数据的纠偏处理。It can be understood that, referring to Fig. 5, for the current Beidou positioning data G i ', if the current Beidou positioning data needs to be corrected, then according to the previous Beidou positioning data G i-1 ' and the current Beidou positioning data G i ' Vehicles Average driving speed, vehicle travel time Δt i of the previous Beidou positioning data G i-1 ' and current Beidou positioning data G i ', and the azimuth angle of the current Beidou positioning data G i ', calculate the current Beidou positioning data G i ' for deviation correction After the positioning data G i , that is, correct the current Beidou positioning data G i ' to G i , and complete the deviation correction processing of the current Beidou positioning data.
具体可通过上一个单位时间的平均速度和方位角通过平面坐标的方式来计算得到纠偏后的定位数据Gi,可用下式表示:Specifically, the corrected positioning data G i can be obtained by calculating the average speed and azimuth angle of the last unit time by means of plane coordinates, which can be expressed by the following formula:
其中,Gi(lat,lon)表示当前北斗定位数据Gi′(lat,lon)纠偏后的定位数据,Pj(lat,lon)表示当前北斗定位数据Gi′(lat,lon)所属的路网线路,表示前一个北斗定位数据Gi-1′(lat,lon)到当前北斗定位数据Gi′(lat,lon)的平均行驶速度,Δti表示前一个北斗定位数据Gi-1′(lat,lon)到当前北斗定位数据Gi′(lat,lon)的行驶时间,Ai表示当前北斗定位数据Gi′(lat,lon)的方位角。Among them, G i (lat, lon) represents the positioning data of the current Beidou positioning data G i '(lat, lon) after the deviation correction, P j (lat, lon) represents the current Beidou positioning data G i '(lat, lon) belongs to road network, Represents the average travel speed from the previous Beidou positioning data G i-1 '(lat, lon) to the current Beidou positioning data G i '(lat, lon), Δt i represents the previous Beidou positioning data G i-1 '(lat, lon) to the travel time of the current Beidou positioning data G i '(lat, lon), A i represents the azimuth angle of the current Beidou positioning data G i '(lat, lon).
实施例二
一种北斗定位数据纠偏系统,参见图6,该纠偏系统包括构建模块61、查找模块62和纠偏模块63,其中:A Beidou positioning data deviation correction system, see FIG. 6, the deviation correction system includes a building module 61, a search module 62 and a deviation correction module 63, wherein:
构建模块61,用于基于高精度路网线路,构建神经树结构,所述神经树结构为多层级树结构,所述神经树结构中存储高精度路网线路;The building module 61 is used to construct a neural tree structure based on high-precision road network lines, the neural tree structure is a multi-level tree structure, and high-precision road network lines are stored in the neural tree structure;
查找模块62,用于在所述神经树结构中查找当前北斗定位数据的最优匹配路网线路;A search module 62 is used to search the optimal matching road network line of the current Beidou positioning data in the neural tree structure;
纠偏模块63,用于若所述当前北斗定位数据需要纠偏,根据所述最优匹配线路、当前北斗定位数据以及前一个北斗定位数据,通过平面坐标方式计算纠偏后的定位数据。The deviation correction module 63 is configured to calculate the corrected positioning data by plane coordinates according to the optimal matching line, the current Beidou positioning data and the previous Beidou positioning data if the current Beidou positioning data needs to be corrected.
可以理解的是,本发明提供的一种北斗定位数据纠偏系统与前述各实施例提供的北斗定位数据纠偏方法相对应,北斗定位数据纠偏系统的相关技术特征可参考北斗定位数据纠偏方法的相关技术特征,在此不再赘述。It can be understood that a Beidou positioning data deviation correction system provided by the present invention corresponds to the Beidou positioning data deviation correction method provided by the foregoing embodiments, and the relevant technical features of the Beidou positioning data deviation correction system can refer to the related technology of the Beidou positioning data deviation correction method. features, which are not repeated here.
实施例三
请参阅图7,图7为本发明实施例提供的电子设备的实施例示意图。如图7所示,本发明实施例提了一种电子设备700,包括存储器710、处理器720及存储在存储器710上并可在处理器720上运行的计算机程序711,处理器720执行计算机程序711时实现实施例一的北斗定位数据纠偏方法的步骤。Please refer to FIG. 7 , which is a schematic diagram of an embodiment of an electronic device provided by an embodiment of the present invention. As shown in FIG. 7 , an embodiment of the present invention provides an
实施例四Embodiment 4
请参阅图8,图8为本发明提供的一种计算机可读存储介质的实施例示意图。如图8所示,本实施例提供了一种计算机可读存储介质800,其上存储有计算机程序811,该计算机程序811被处理器执行时实现实施例一的北斗定位数据纠偏方法的步骤。Please refer to FIG. 8 , which is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. As shown in FIG. 8 , this embodiment provides a computer-
本发明实施例提供的一种北斗定位数据纠偏方法及纠偏系统,具有以下优点:The Beidou positioning data deviation correction method and deviation correction system provided by the embodiments of the present invention have the following advantages:
(1)利用神经网络结构存储高精度路网数据,提高了数据查询效率,以及采用多线程并行查找和纠偏计算,能够解决实时定位纠偏的问题;(1) The neural network structure is used to store high-precision road network data, which improves the data query efficiency, and the multi-thread parallel search and deviation correction calculation can solve the problem of real-time positioning and deviation correction;
(2)在数据查找过程中,当查找到多条匹配的路网线路时,通过一定的方式得到最优匹配路网线路,提高了纠偏数据基础的精确性;(2) In the process of data search, when multiple matching road network lines are found, the optimal matching road network lines are obtained in a certain way, which improves the accuracy of the deviation correction data basis;
(3)数据纠偏是基于高精度设备采集的高精度路网数据为基础进行的,由于高精度路网数据的精度高,因此,本发明的数据纠偏精度有明显提升,并且纠偏后针对转弯跳点有很好的改善。(3) The data deviation correction is based on the high-precision road network data collected by the high-precision equipment. Due to the high precision of the high-precision road network data, the data deviation correction accuracy of the present invention is significantly improved, and after the deviation correction, it is aimed at turning and jumping. Points are a good improvement.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其它实施例的相关描述。It should be noted that, in the foregoing embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式计算机或者其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded computer or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包括这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210490586.9A CN114819090B (en) | 2022-05-07 | 2022-05-07 | Beidou positioning data correction method and correction system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210490586.9A CN114819090B (en) | 2022-05-07 | 2022-05-07 | Beidou positioning data correction method and correction system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114819090A true CN114819090A (en) | 2022-07-29 |
| CN114819090B CN114819090B (en) | 2024-12-24 |
Family
ID=82510484
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210490586.9A Active CN114819090B (en) | 2022-05-07 | 2022-05-07 | Beidou positioning data correction method and correction system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114819090B (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140032100A1 (en) * | 2012-07-24 | 2014-01-30 | Plk Technologies Co., Ltd. | Gps correction system and method using image recognition information |
| CN104575075A (en) * | 2015-01-14 | 2015-04-29 | 合肥革绿信息科技有限公司 | City road network vehicle coordinate correcting method and device based on plough satellite |
| CN104567906A (en) * | 2015-01-14 | 2015-04-29 | 合肥革绿信息科技有限公司 | Beidou-based urban road network vehicle path planning method and device |
| WO2015131464A1 (en) * | 2014-03-07 | 2015-09-11 | 中兴通讯股份有限公司 | Method and device for correcting error of vehicle positioning |
| CN107228677A (en) * | 2016-03-23 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Driftage recognition methods and device |
| CN110210303A (en) * | 2019-04-29 | 2019-09-06 | 山东大学 | A kind of accurate lane of Beidou vision fusion recognizes and localization method and its realization device |
| CN111044056A (en) * | 2018-10-15 | 2020-04-21 | 华为技术有限公司 | Location method, chip subsystem and electronic device based on road matching |
-
2022
- 2022-05-07 CN CN202210490586.9A patent/CN114819090B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140032100A1 (en) * | 2012-07-24 | 2014-01-30 | Plk Technologies Co., Ltd. | Gps correction system and method using image recognition information |
| WO2015131464A1 (en) * | 2014-03-07 | 2015-09-11 | 中兴通讯股份有限公司 | Method and device for correcting error of vehicle positioning |
| CN104575075A (en) * | 2015-01-14 | 2015-04-29 | 合肥革绿信息科技有限公司 | City road network vehicle coordinate correcting method and device based on plough satellite |
| CN104567906A (en) * | 2015-01-14 | 2015-04-29 | 合肥革绿信息科技有限公司 | Beidou-based urban road network vehicle path planning method and device |
| CN107228677A (en) * | 2016-03-23 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Driftage recognition methods and device |
| CN111044056A (en) * | 2018-10-15 | 2020-04-21 | 华为技术有限公司 | Location method, chip subsystem and electronic device based on road matching |
| CN110210303A (en) * | 2019-04-29 | 2019-09-06 | 山东大学 | A kind of accurate lane of Beidou vision fusion recognizes and localization method and its realization device |
Non-Patent Citations (1)
| Title |
|---|
| 邵天浩;张宏军;程恺;唐新德;莫斐;张可;: "基于哈希和路网边权的地图匹配算法及其应用", 计算机技术与发展, no. 08, 10 August 2020 (2020-08-10), pages 146 - 152 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114819090B (en) | 2024-12-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111292356B (en) | Method and device for matching motion trajectory and road | |
| CN110059264B (en) | Site retrieval method, equipment and computer storage medium based on knowledge graph | |
| US20230063099A1 (en) | Method and apparatus for correcting positioning information, and storage medium | |
| CN113961004A (en) | Pirate area ship route planning method and system, electronic equipment and storage medium | |
| CN108536704B (en) | Track query method, system and device | |
| CN114676939B (en) | Multi-vehicle-type parameter self-adaptive reference line smoothing method and system | |
| WO2017162084A1 (en) | Method and device for analyzing data similarity | |
| CN112633389B (en) | A hurricane trajectory trend calculation method based on MDL and velocity direction | |
| CN108519094A (en) | Local paths planning method and cloud processing end | |
| CN117870646A (en) | A laser SLAM mapping method suitable for underground mine environments | |
| CN113645280B (en) | Vehicle position data uploading method and device, electronic equipment and storage medium | |
| CN113704565B (en) | Learning type space-time index method, device and medium based on global interval error | |
| CN111858785B (en) | Map discrete element matching method, device, system and storage medium | |
| CN103778191A (en) | Vector contour line data partitioning method with space proximity relation considered | |
| CN114491056B (en) | Method and system for improving POI search in digital policing scenarios | |
| CN114353810B (en) | HMM efficient map matching method based on R tree and track segmentation | |
| CN114819090A (en) | A Beidou positioning data deviation correction method and deviation correction system | |
| CN114328785B (en) | Method and device for extracting road information | |
| CN115984338A (en) | A Global Registration Method Based on Spherical Harmonic Transformation and Iterative Optimization | |
| CN117668004A (en) | Method for acquiring shortest path between nodes | |
| CN114636427A (en) | Map path matching method and device, electronic equipment and storage medium | |
| CN118310556B (en) | A method for determining a vehicle trajectory, a computer device, and a program product | |
| CN110287244B (en) | Traffic light positioning method based on multiple clustering | |
| CN114646313A (en) | User track positioning method, electronic equipment and computer storage medium | |
| CN115292962B (en) | Path similarity matching method and device based on track rarefaction and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |