CN106568456B - Non-stop charging method based on GPS/Beidou positioning and cloud computing platform - Google Patents

Non-stop charging method based on GPS/Beidou positioning and cloud computing platform Download PDF

Info

Publication number
CN106568456B
CN106568456B CN201611021343.1A CN201611021343A CN106568456B CN 106568456 B CN106568456 B CN 106568456B CN 201611021343 A CN201611021343 A CN 201611021343A CN 106568456 B CN106568456 B CN 106568456B
Authority
CN
China
Prior art keywords
vehicle
gps
road
track
point
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.)
Expired - Fee Related
Application number
CN201611021343.1A
Other languages
Chinese (zh)
Other versions
CN106568456A (en
Inventor
何坚
周浩
刘金伟
余立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Karamay Zijian Technology Co ltd
Original Assignee
Beijing University of Technology
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 Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN201611021343.1A priority Critical patent/CN106568456B/en
Publication of CN106568456A publication Critical patent/CN106568456A/en
Application granted granted Critical
Publication of CN106568456B publication Critical patent/CN106568456B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3453Special cost functions, i.e. other than distance or default speed limit of road segments
    • G01C21/3492Special cost functions, i.e. other than distance or default speed limit of road segments employing speed data or traffic data, e.g. real-time or historical

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

基于GPS/北斗定位和云计算平台的不停车收费方法属于电子信息领域,本发明以GPS轨迹点为圆心圈选属于此圆的路段集,作为被选路径。本发明加入方向约束条件共同约束,并且提出如何判断方向。行车方向判断提出了一种基于线路拐点的上下行判断算法,用以判断方向。最终匹配路径的选择基于欧几里德距离的系数轨迹相似性算法。本发明可实现在行车轨迹、备选路径和最终匹配路径的优化下道路车辆监管的自动化、简单化。

The non-stop charging method based on GPS/Beidou positioning and cloud computing platform belongs to the field of electronic information. The present invention uses the GPS track point as the center circle to select the road section set belonging to the circle as the selected path. The present invention adds common constraints of direction constraint conditions, and proposes how to judge the direction. Judgment of driving direction An up and down judgment algorithm based on the inflection point of the line is proposed to judge the direction. The selection of the final matching path is based on the coefficient trajectory similarity algorithm of Euclidean distance. The invention can realize the automation and simplification of road vehicle supervision under the optimization of driving track, alternative route and final matching route.

Description

基于GPS/北斗定位和云计算平台的不停车收费方法Non-stop charging method based on GPS/Beidou positioning and cloud computing platform

技术领域technical field

本发明属于电子信息领域,是一种基于GPS/北斗定位和云计算平台、应用于公路、隧道和大型桥梁的自动电子收费方法。The invention belongs to the field of electronic information, and is an automatic electronic charging method based on GPS/Beidou positioning and a cloud computing platform and applied to highways, tunnels and large bridges.

背景技术Background technique

ETC(Electronic Toll Collection,电子收费系统)技术如图1所示依赖于互联网实时将车辆信息以影像或移动钥匙的方式通过工作站上传至应用数据库。传统ETC技术存在识别速度慢、安装成本高和运营维护困难等问题,并且有些收费站位置偏远,ETC硬件设备难以安装和维护。近年来出现的基于GPS、北斗定位系统的新一代电子收费系统正在逐步发展,它通过卫星定位记录车辆行驶的路线和距离,自动计算和扣除道路通行费用,有效解决了上述传统ETC技术存在的弊端。同时,移动互联网通信、车联网和GIS等技术的发展,也为基于GPS/北斗和云计算平台的不停车收费系统提供了相应的技术铺垫。ETC (Electronic Toll Collection, electronic toll collection system) technology, as shown in Figure 1, relies on the Internet to upload vehicle information to the application database through the workstation in the form of images or mobile keys in real time. Traditional ETC technology has problems such as slow recognition speed, high installation cost, and difficult operation and maintenance, and some toll stations are located in remote locations, making it difficult to install and maintain ETC hardware equipment. In recent years, a new generation of electronic toll collection system based on GPS and Beidou positioning system is gradually developing. It records the route and distance of vehicles through satellite positioning, automatically calculates and deducts road tolls, and effectively solves the above-mentioned drawbacks of traditional ETC technology. . At the same time, the development of technologies such as mobile Internet communication, Internet of Vehicles and GIS has also provided a corresponding technical foundation for the non-stop toll collection system based on GPS/Beidou and cloud computing platforms.

发明内容Contents of the invention

本发明针对传统ETC存在的缺点,设计了基于GPS/北斗和云计算平台的不停车收费系统。系统由车载定位终端、基于GIS和云平台不停车收费软件组成。其中车载定位终端通过GPS卫星/北斗定位将实时采集的车辆GPS数据通过3G/4G无线网络返回给云服务器系统。不停车收付软件包括系统涉及的路径判断策略、车载定位业务和费用清算业务进行了描述,本发明所涉及主要工作如下:Aiming at the shortcomings of the traditional ETC, the present invention designs a non-stop charging system based on GPS/Beidou and a cloud computing platform. The system consists of a vehicle-mounted positioning terminal, GIS-based and cloud-based non-stop charging software. Among them, the vehicle positioning terminal returns the vehicle GPS data collected in real time to the cloud server system through the 3G/4G wireless network through GPS satellite/Beidou positioning. The non-stop payment software includes the path judgment strategy involved in the system, the vehicle positioning service and the fee settlement service, and the main work involved in the present invention is as follows:

(1)如图2所示,设计了集成移动互联网、GPS/北斗定位、GIS和云平台的ETC系统架构。(1) As shown in Figure 2, an ETC system architecture integrating mobile Internet, GPS/Beidou positioning, GIS and cloud platform is designed.

(2)为了使具有一定误差的车辆GPS数据能在GIS中较准确地校正到正确的行驶道路中,设计并应用基于GPS/北斗轨迹的路径匹配算法。(2) In order to make the vehicle GPS data with certain errors corrected to the correct driving road in GIS, a path matching algorithm based on GPS/Beidou trajectory is designed and applied.

(3)设计了基于GIS的车载定位业务流程。(3) The GIS-based vehicle positioning business process is designed.

(4)设计了云端基于GIS不停车收费系统费用清算流程。(4) The fee settlement process of the cloud-based GIS non-parking toll system is designed.

基于GPS/北斗和云计算平台的不停车收费系统的核心算法如下:The core algorithm of the non-stop charging system based on GPS/Beidou and cloud computing platform is as follows:

典型的GPS/北斗运动车数据是一系列包含车辆经纬度信息的有序GPS轨迹点,主要用于实时地确定车辆当前位置。单独依靠GPS/北斗卫星定位,其精度易收到外界环境影响而产生误差。在图3所示的交叉口路段中,A、B、C、D分别为路段节点,它们连接而成的实线线段代表道路轨迹;GPS1~GPS4依次为车辆GPS采集点,它们连接而成的虚线线段为车辆行驶轨迹。假设GPS轨迹点GPS1~GPS3均能唯一地匹配到路段AB上,但经过B点时由于岔路口的出现而导致备选匹配路段增加,并且GPS4到路段BC和路段BD的距离几乎相等,这时一般的匹配算法难以正确判断车辆的后续行驶路段,此问题称为Y-junction问题。Typical GPS/Beidou sports car data is a series of ordered GPS track points containing vehicle latitude and longitude information, which is mainly used to determine the current position of the vehicle in real time. Relying solely on GPS/Beidou satellite positioning, its accuracy is easily affected by the external environment and produces errors. In the intersection road section shown in Figure 3, A, B, C, and D are road section nodes respectively, and the solid line segments connected by them represent the road trajectory; GPS 1 ~ GPS 4 are vehicle GPS collection points in turn, and they are connected and The resulting dotted line segment is the vehicle trajectory. Assume that GPS track points GPS 1 to GPS 3 can be uniquely matched to road segment AB, but when passing through point B, the number of alternative matching road segments increases due to the appearance of a fork in the road, and the distance from GPS 4 to road segment BC and road segment BD is almost equal , at this time, it is difficult for the general matching algorithm to correctly judge the subsequent driving section of the vehicle. This problem is called the Y-junction problem.

如果在本系统中出现以上道路判断错误,会严重影响收费系统的正常运行。所以本发明在前人研究成果基础上,改进并结合了基于交通限制条件的备选路径集算法和基于编辑代价的折线相似度算法,实现了一种基于GPS轨迹的路径匹配算法,通过将采集的GPS轨迹点与其周围的道路轨迹进行筛选和匹配,最终准确判断出车辆实际行驶道路,以确保系统的正常运行。If the above road judgment errors occur in this system, it will seriously affect the normal operation of the toll collection system. Therefore, on the basis of predecessors' research results, the present invention improves and combines the alternative route set algorithm based on traffic restrictions and the polyline similarity algorithm based on editing costs, and realizes a route matching algorithm based on GPS trajectory. The GPS track points of the vehicle are screened and matched with the surrounding road tracks, and finally the actual driving road of the vehicle can be accurately judged to ensure the normal operation of the system.

本发明算法以车辆GPS采样点集和路径轨迹点集作为基本数据,经过三个步骤实现真实车辆行驶道路的准确判断,具体步骤如下所示:The algorithm of the present invention uses the vehicle GPS sampling point set and the path track point set as basic data, and realizes the accurate judgment of the real vehicle driving road through three steps, and the specific steps are as follows:

(1)搜索备选路径集(1) Search the set of alternative paths

根据连续的车辆GPS采集点描绘出车辆行驶轨迹,以GPSi为圆心,搜索其预设半径内的所有可能的行驶道路,组成备选路径集RCiAccording to the continuous vehicle GPS collection points, the vehicle driving trajectory is drawn, and with GPS i as the center, all possible driving roads within its preset radius are searched to form an alternative route set RC i ;

(2)筛选备选路径集(2) Filter the set of alternative paths

以实际行车限制与路网几何连通性为基础,计算RCi与各阶段总体路径Pi的后续可行路段集PNi的交集Rinsect(i)。并由Rinsect(i)更新并重组备选总体路径集Pi+1Based on the actual traffic restrictions and the geometric connectivity of the road network, the intersection R insect (i) of RC i and the subsequent feasible road section set PN i of the overall path P i at each stage is calculated. And R insect (i) updates and reorganizes the set of candidate overall paths P i+1 .

(3)选取最终匹配路径(3) Select the final matching path

依次遍历所有轨迹点,利用相对编辑代价的思想分别计算P中路径与GPS轨迹路径的相似度r,r值最大者则视为与实际道路轨迹最为接近,并将其作为最终匹配路径。Traverse all the track points in turn, and use the idea of relative editing cost to calculate the similarity r between the path in P and the GPS track path. The one with the largest r value is regarded as the closest to the actual road track, and it is taken as the final matching path.

虽然行车轨迹与其行驶道路轨迹的几何形状非常接近,但由于采点方法不同,导致二者具有明显特征区别。Although the geometric shapes of the driving trajectory and the road trajectory are very close, they have obvious characteristic differences due to the different point collection methods.

首先,二者采点密集程度不同。线路轨迹是由人工采点绘制而成,所采集道路节点均匀分布在轨迹之中;行车轨迹是由车载定位终端实时采集而得,如果车辆行驶缓慢或静止,那么此段时间内的GPS轨迹点会出现聚集甚至重合的情况。First of all, the density of sampling points is different between the two. The route trajectory is drawn by manually collecting points, and the collected road nodes are evenly distributed in the trajectory; the driving trajectory is collected in real time by the vehicle positioning terminal. If the vehicle is moving slowly or stationary, then the GPS trajectory points during this period Agglomeration or even overlap will occur.

其次,二者采样点意义不同。线路轨迹的采样点均为道路关键节点,多为改变轨迹方向的关键节点,虽然稀少,但可简单明了地绘制出整条线路轨迹;而车辆轨迹呈密集状,一段趋于直线的行驶轨迹中往往包含多个GPS采集点,其中大多数采样点并未改变行驶轨迹方向,此类点对于后文路径集的选取和道路轨迹相似度对比并无作用。Second, the sampling points of the two have different meanings. The sampling points of the line trajectory are all key nodes of the road, most of which are key nodes that change the direction of the trajectory. Although they are rare, the entire line trajectory can be drawn simply and clearly; while the vehicle trajectory is dense, and a section of the trajectory tends to be straight. It often contains multiple GPS collection points, and most of the sampling points do not change the direction of the driving trajectory. Such points have no effect on the selection of the following path set and the comparison of road trajectory similarity.

所以,本算法需要对车辆GPS行驶轨迹进行精简处理,去除无效采样点,仅保留能明显改变轨迹方向且均匀分布的采样点,如图4所示。Therefore, this algorithm needs to simplify the GPS driving trajectory of the vehicle, remove invalid sampling points, and only retain sampling points that can significantly change the direction of the trajectory and are evenly distributed, as shown in Figure 4.

假设界定最小转向角λ为30°,最小采样距离间隔η的权值为3,当某个节点的前后路段转角大于λ且距其前后节点距离间隔大于η时,则将其称为关键点。对于图中轨迹TR=p1p2p3p4p5p6p7p8,只有p3、p4和p5的转角大于λ,且距其前后采样点距离的权值大于η,则将p3、p4和p5加入关键节点集。此外,由于p1和p7分别为轨迹起始点和结束点,所以也需要将其加入关键节点集。最后,将节点集按节点序号排序,得到图中由关键节点连接而成的精简车辆行驶轨迹TRkey=p1p3p4p5p7Assuming that the minimum steering angle λ is defined as 30°, and the weight of the minimum sampling distance interval η is 3, when a node has a turning angle greater than λ and a distance interval greater than η from its front and rear nodes, it is called a key point. For the trajectory TR=p 1 p 2 p 3 p 4 p 5 p 6 p 7 p 8 in the figure, only the rotation angles of p 3 , p 4 and p 5 are greater than λ, and the weight of the distance from the sampling points before and after it is greater than η, Then add p 3 , p 4 and p 5 into the key node set. In addition, since p 1 and p 7 are the start point and end point of the trajectory respectively, they also need to be added to the key node set. Finally, the node set is sorted according to the node serial number, and the simplified vehicle trajectory TR key = p 1 p 3 p 4 p 5 p 7 formed by the connection of key nodes in the figure is obtained.

λ和η的取值原则应与道路拐点采点实际情况一致,这样才能最大限度地使行车轨迹与线路轨迹近似。而轨迹点p的运动方向变化值θ的计算方法如公式(1-1)所示:The value principles of λ and η should be consistent with the actual situation of road inflection points, so that the driving trajectory can be approximated to the line trajectory to the greatest extent. The calculation method of the movement direction change value θ of the trajectory point p is shown in the formula (1-1):

其中为pi-1与pi点之间的向量,且其中pi,x、pi,y与pi-1,x、pi-1,y分别是轨迹点pi和pi-1的坐标。in is the vector between p i-1 and p i points, and Among them, p i, x , p i, y and p i-1, x , p i-1, y are the coordinates of trajectory points p i and p i-1 respectively.

备选路径集的确定Determination of the set of alternative paths

在车辆GPS定位出现误差的情况下,GIS描绘的行车轨迹可能会出现偏移,如图5所示。图中实线段为路段轨迹,虚线段为各车辆GPS轨迹点依次连接而成的行驶轨迹。In the case of errors in vehicle GPS positioning, the driving trajectory depicted by GIS may be offset, as shown in Figure 5. The solid line segment in the figure is the track of the road segment, and the dashed line segment is the driving track formed by connecting the GPS track points of each vehicle in sequence.

每个轨迹点在一定范围半径内都会涵盖不同的路段,例如GPS1点在search_scop半径范围内所涵盖的路段为a、d、f,而GPS2点所涵盖的路段为a、b、c。则可以说,在系统扫描GPS1点时,路段a、d、f即为GPS1点的备选路径集。同理,路段a、b、c为GPS2的备选路径集,路段b、e、g为GPS3点的备选路径集。对于每个GPS轨迹点pi,将其在定位误差区内所有几何连通的路段集记为R(pi)。Each track point will cover different road sections within a certain radius. For example, the road sections covered by GPS point 1 within the radius of search_scop are a, d, and f, while the road sections covered by GPS point 2 are a, b, and c. Then it can be said that when the system scans GPS 1 point, road sections a, d, f are the alternative route sets of GPS 1 point. Similarly, the road sections a, b, and c are the alternative route sets of GPS 2 , and the road sections b, e, and g are the alternative route sets of GPS 3 points. For each GPS track point pi, the set of all geometrically connected road segments in the positioning error area is recorded as R(p i ).

其中,半径Search_scop的值根据各路段路况情况而变,但是应遵循以下原则:一是搜索半径Search_scop应大于GPS设备定位精度的最大误差值,以免实际行驶道路被划分至搜索半径之外;二是搜索半径应覆盖当前GPS点临近车道,以免搜索半径过小导致基础数据过少。Among them, the value of the radius Search_scop changes according to the road conditions of each road section, but the following principles should be followed: first, the search radius Search_scop should be greater than the maximum error value of the positioning accuracy of the GPS device, so as to prevent the actual driving road from being divided outside the search radius; The search radius should cover the lanes adjacent to the current GPS point, so as not to cause too little basic data due to too small a search radius.

备选路径集的筛选Filtering of the set of alternative paths

在现实的高速公路道路网中,除了道路的几何连通性还包括行车方向限制、超速限制、车型限制等行车限制条件。In the actual highway road network, in addition to the geometric connectivity of the road, there are also driving restrictions such as driving direction restrictions, overspeed restrictions, and vehicle type restrictions.

当GPS轨迹点pi的备选路径集R(pi)确定之后,就需要根据以上这些行车限制条件从车辆周围所有几何连通的路径中,筛选出当前阶段可能的备选路径。并依次遍历每个GPS定位轨迹点pi,分别对上次的筛选结果进行筛选与更新,最终得到所有备选路径集。When the set of alternative routes R( pi ) of GPS track point p i is determined, it is necessary to screen out possible alternative routes at the current stage from all geometrically connected paths around the vehicle according to the above driving constraints. And traverse each GPS positioning track point p i in turn, respectively filter and update the last screening results, and finally get all the candidate path sets.

例如在图4所示的路况中,对于处在GPS1点的车辆,其备选路径集为R(pi),且此时数据库中记录的针对此路网的几何连通路径包括a、d和f,而根据各路段的行驶方向限制,车辆的实际行驶方向只与a路段的方向限制相符,即该路径的后续路径集只有a,并将R(pi)经过行车限制筛选后得到的后续路径集记为NR(pi)。For example, in the road conditions shown in Figure 4, for a vehicle at GPS point 1 , its candidate route set is R( pi ), and the geometric connected paths recorded in the database for this road network include a, d and f, and according to the driving direction restrictions of each road section, the actual driving direction of the vehicle is only consistent with the direction restriction of road section a, that is, the subsequent path set of this path is only a, and R(p i ) is obtained after filtering the driving restrictions The set of subsequent paths is denoted as NR(p i ).

用Ti(topo)表示R(pi)路段的拓扑约束条件(拓扑约束条件即规范的定义节点与道路路径),用Ti(dirc)表示R(pi)路段的方向约束条件,则R(pi)的直接后续可行路段集NR(pi)的计算方法如式(1-2)所示:Use T i (topo) to represent the topological constraints of the R(p i ) section (the topological constraints are defined nodes and road paths), and use T i (dirc) to represent the directional constraints of the R(p i ) section, then The calculation method of the immediate subsequent feasible road segment set NR(p i ) of R(p i ) is shown in formula (1-2):

NR(pi)={Rj∈R(pi)|Ti(topo)∩Ti(dirc)} (1-2)NR(p i )={R j ∈R(p i )|T i (topo)∩T i (dirc)} (1-2)

若i=0,则当前点为初始轨迹点,设R(p0)的元素个数为k,初始化k条几何连通路径集、总体备选路径集R(pathi);若i≠0,则当前点为中间轨迹点,计算R(pi)与上一阶段R(pi-1)的直接后续可行路段集R(pi-1)的交集Rinsect(i);若Rinsect(i)为空,当前路径R(i)为无效路径,将其从当前阶段几何连通路径集中删除;若Rinsect(i)有且仅有一条路段,则更新当前阶段后续路径集R(pi)和R(pathi);若Rinsect(i)包含m条路段,则将R(pathi)复制分裂成m条总体备选路径,Rinsect(j)(j∈[1,m])作为Rinsect(j)的最后一条路段,同时更新其直接后续可行路径集。If i=0, then the current point is the initial trajectory point, set the number of elements of R(p 0 ) as k, and initialize k geometrically connected path sets and the overall candidate path set R(path i ); if i≠0, Then the current point is the middle track point, calculate the intersection R insect (i) of R(p i ) and the direct follow-up feasible road segment set R(p i-1 ) of the previous stage R(p i-1 ); if R insect ( i) is empty, the current path R(i) is an invalid path, delete it from the set of geometrically connected paths in the current stage; if R insect (i) has one and only one road segment, then update the follow-up path set R(p i ) in the current stage ) and R(path i ); if R insect (i) contains m road sections, copy and split R(path i ) into m total alternative paths, R insect (j)(j∈[1,m]) As the last road segment of R insect (j), update its immediate follow-up feasible path set at the same time.

最后,当所有GPS轨迹点判断完成后,即可得到最终整体备选路径集R(path)。Finally, after all the GPS track points are judged, the final overall candidate path set R(path) can be obtained.

行车方向判断Driving direction judgment

值得一提的是,在所有行车限制中,几何连通性、速度限制、车辆限制等限制条件可根据数据库中存储的节点属性判断,而行车方向限制条件的判断相比而言较为复杂。It is worth mentioning that among all driving restrictions, geometric connectivity, speed restrictions, vehicle restrictions and other restrictions can be judged according to the node attributes stored in the database, while the judgment of driving direction restrictions is more complicated.

本发明提出一种基于线路拐点的上下行判断算法。数据库中存储了描述道路形状的路段节点,将其中能决定道路行驶方向的点成为道路拐点。利用道路拐点可以较准确地判断车辆在两拐点间的行驶方向,而道路拐点的行驶方向又是确定的,从而可以判断车辆相对于整条路段的行驶方向。The invention proposes an uplink and downlink judging algorithm based on the line inflection point. The road section nodes that describe the shape of the road are stored in the database, and the points that can determine the direction of the road are regarded as road inflection points. The driving direction of the vehicle between two turning points can be determined more accurately by using the road turning point, and the driving direction of the road turning point is determined, so that the driving direction of the vehicle relative to the entire road section can be judged.

因为算法取点都为线路拐点,即两拐点之间线段为直线线段,所以可视为算法使用场景均为直线情况。列出如图6所示所有可能的四种线路模型,分别代表车辆于t1、t2时刻在两拐点线路上的四种车辆与拐点的相对位置情况。其中,S1、S2为线路拐点,P1、P2为车辆在t1和t2时间内的前后GPS轨迹点,并且以箭头方向为上行方向。Because the points taken by the algorithm are all inflection points of the line, that is, the line segment between two inflection points is a straight line segment, so it can be considered that the scenarios where the algorithm is used are all straight lines. List all four possible line models as shown in Fig. 6, which respectively represent the relative positions of the four vehicles and the inflection point on the two inflection point lines at time t 1 and t 2 . Among them, S 1 and S 2 are the inflection points of the route, P 1 and P 2 are the front and rear GPS track points of the vehicle within the time t 1 and t 2 , and the direction of the arrow is the upward direction.

从图中可看出,情况一为车辆前后位置均在S1点之前;情况二,车辆前后位置位于两拐点之间;情况三,车辆前后位置均在S2点之后;情况四,车辆前后位置虽然在两点之间,方向与情况二相反。It can be seen from the figure that in case one, the front and rear positions of the vehicle are both before point S 1 ; in case two, the front and rear positions of the vehicle are located between two inflection points; in case three, the front and rear positions of the vehicle are both after point S 2 ; Although the position is between two points, the direction is opposite to that of Case 2.

在确定车辆属于上述四种情况之后,可以根据车辆前后位置分别距离两拐点的距离变化来判断行驶方向。以情况一为例,如图7所示,当P车从t1时刻行驶到t2时刻,对于S1站点的距离变化量为:△L=p1s1-p2s1,P车对于S2站点距离变化量为:△L’=p1s2-p2s2After it is determined that the vehicle belongs to the above four situations, the driving direction can be judged according to the distance changes between the front and rear positions of the vehicle and the two inflection points respectively. Taking case 1 as an example, as shown in Figure 7, when car P travels from time t 1 to time t 2 , the change in distance to station S 1 is: △L=p 1 s 1 -p 2 s 1 , car P For S 2 station distance variation is: △L'=p 1 s 2 -p 2 s 2 .

若△L<0且△L’>0,则可以判断出P车是在远离S1站而靠近S2站,行驶方向为S1至S2;反之则是靠近S1站而远离S2站,行驶方向为S2至S1。由此,便可知车辆相对于此段路段的行驶方向,若行车方向与数据库中路段的方向相符,则说明该车符合路段行车方向限制条件,并将此路段加入后续行车路径集NR(pi)中;反之则说明行车方向违反路段方向限制条件,此路段应从备选路径集R(pi)中删除。If △L<0 and △L'>0, it can be judged that car P is away from station S 1 and approaching station S 2 , and the traveling direction is from S 1 to S 2 ; otherwise, it is approaching station S 1 and away from station S 2 station, the direction of travel is S 2 to S 1 . From this, we can know the driving direction of the vehicle relative to this section of road. If the driving direction is consistent with the direction of the road section in the database, it means that the vehicle meets the driving direction restriction of the road section, and this road section will be added to the subsequent driving route set NR(p i ); otherwise, it means that the driving direction violates the road section direction restriction, and this road section should be deleted from the alternative route set R(p i ).

最终匹配路径的选择Selection of the final matching path

当遍历完所有GPS轨迹点之后得到最终备选路径集NR(pn),NR(pi)可能包含一条或多条路径,而且它们均与行车轨迹的交通限制条件相符,但其中只有一条路径为车辆实际行驶路径。此时需要根据行车路线轨迹与各条备选路径轨迹进行对比,从而得到相似度最高路径作为最终匹配路径。After traversing all GPS track points, get the final candidate route set NR(p n ), NR(p i ) may contain one or more routes, and they all conform to the traffic restriction conditions of the driving track, but there is only one route is the actual driving path of the vehicle. At this time, it is necessary to compare the trajectory of the driving route with each alternative path trajectory, so as to obtain the path with the highest similarity as the final matching path.

对于轨迹相似性对比的方法,现有一种基于曲线相似度的路径相似度判断方法,但此方法要求坐标系统一,而且曲线之间的距离变化会影响最终相似度值ScoreSim的大小。但实际道路多为短直线段所连接而成的稀疏轨迹,而非曲率均匀变化的曲线,所以文献所采用的方法并不适用于本课题所研究的实际路况中的路径轨迹比对。For the method of trajectory similarity comparison, there is a path similarity judgment method based on curve similarity, but this method requires a coordinate system, and the distance between curves will affect the size of the final similarity value ScoreSim. However, the actual roads are mostly sparse trajectories connected by short straight line segments, rather than curves with uniform curvature changes, so the method used in the literature is not suitable for path trajectory comparison in the actual road conditions studied in this project.

另一种现有算法考虑到了行车轨迹的稀疏特征,提出了一种基于欧几里德距离的稀疏轨迹相似性计算,将编辑距离(由一种轨迹变为另一种轨迹所需最少编辑次数)思想应用到轨迹相似性计算之中,即计算从轨迹P编辑到轨迹Q所花费的编辑代价,代价值越小,则两条稀疏轨迹的相似度越高。但此方法仅考虑了两轨迹之间的绝对欧氏距离,未将两轨迹对应点的坐标系相统一,而忽略了两轨迹对应点之间的相对编辑代价。比如两轨迹之间若存在另一干扰轨迹,其编辑代价将永远小于期望轨迹的代价,从而造成判断错误。Another existing algorithm takes into account the sparse features of driving trajectories, and proposes a sparse trajectory similarity calculation based on Euclidean distance. The edit distance (the minimum number of edits required to change from one trajectory to another ) idea is applied to the trajectory similarity calculation, that is, to calculate the editing cost spent from editing trajectory P to trajectory Q. The smaller the cost value, the higher the similarity between two sparse trajectories. However, this method only considers the absolute Euclidean distance between the two trajectories, does not unify the coordinate systems of the corresponding points of the two trajectories, and ignores the relative editing cost between the corresponding points of the two trajectories. For example, if there is another interfering trajectory between two trajectories, its editing cost will always be less than the cost of the desired trajectory, resulting in a judgment error.

所以本算法对现有算法进行改良,提出了统一坐标系的相对欧氏距离计算方法,通过计算轨迹Q前后轨迹点的坐标偏移量,将轨迹P进行相应的轨迹位移,以实现轨迹线段的坐标统一,这样计算出的欧氏距离就是相对的,避免了现有计算方法中的误差。Therefore, this algorithm improves the existing algorithm and proposes a relative Euclidean distance calculation method in a unified coordinate system. By calculating the coordinate offset of the track points before and after the track Q, the track P is correspondingly displaced to realize the distance of the track line segment. The coordinates are unified, so the calculated Euclidean distance is relative, and the error in the existing calculation method is avoided.

而欧氏距离的计算方法是将移动对象的轨迹用相同维度的坐标向量表示,再计算每一个时刻上对应两个轨迹点之间的欧氏距离,然后对这些距离进行综合,即可得到轨迹间欧氏距离。例如,在二维空间中,R、S两条轨迹之间的欧氏距离计算方法见式(1-3):The calculation method of the Euclidean distance is to represent the trajectory of the moving object with a coordinate vector of the same dimension, and then calculate the Euclidean distance between the corresponding two trajectory points at each moment, and then synthesize these distances to obtain the trajectory Euclidean distance between. For example, in two-dimensional space, the Euclidean distance calculation method between the two trajectories R and S is shown in formula (1-3):

式中,k为轨迹R、S的采样点数,E(R,S)为它们之间的欧氏距离;ri、si分别代表第i个点轨迹点,ri,x、ri,y与si,x、si,y分别代表各自的x、y坐标,distance表示轨迹点ri和si的欧氏距离。In the formula, k is the number of sampling points of trajectory R and S, E(R,S ) is the Euclidean distance between them; i, x , s i, y represent their respective x and y coordinates, and distance represents the Euclidean distance between track points r i and s i .

对于轨迹精简处理的车辆轨迹,首先将其各关键点坐标序列化,构成序列P;将行驶线路的轨迹坐标序列化,构成序列Q。设m、n分别为P、Q的长度,pi为P的第i个元素,qi为序列Q的第i个元素,qi’为序列Q中转换到P坐标系下的第i个元素。在计算序列P转换为序列Q的相对欧氏距离过程中,均以序列Q为基准,使P向Q操作变换。P、Q轨迹示意图如图8所示。For the vehicle trajectory of the trajectory streamlining process, firstly, the coordinates of each key point are serialized to form a sequence P; the trajectory coordinates of the driving route are serialized to form a sequence Q. Let m and n be the lengths of P and Q respectively, p i is the i-th element of P, q i is the i-th element of the sequence Q, and q i ' is the i-th element in the sequence Q converted to the P coordinate system element. In the process of calculating the relative Euclidean distance from sequence P to sequence Q, the sequence Q is used as the reference to transform P to Q. The schematic diagram of P and Q trajectory is shown in Fig. 8 .

详细计算步骤如下:The detailed calculation steps are as follows:

(1)计算转换偏移量(1) Calculate the conversion offset

欲要计算B到E的相对编辑代价,就需要将E点代入到轨迹P的坐标系内。首先需要分别计算起始点D到E的X、Y坐标偏移量,其中O为原点坐标系,如式(1-4)、(1-5)所示:To calculate the relative editing cost from B to E, point E needs to be substituted into the coordinate system of trajectory P. First, it is necessary to calculate the X and Y coordinate offsets from the starting point D to E respectively, where O is the origin coordinate system, as shown in formulas (1-4) and (1-5):

(2)坐标替换(2) Coordinate replacement

将A根据第一步计算的偏移量移至E’,作为轨迹Q在轨迹P坐标系下的位置,E’坐标计算方法见式(1-6)、(1-7):Move A to E' according to the offset calculated in the first step, as the position of trajectory Q in the coordinate system of trajectory P. The calculation method of E' coordinates is shown in formula (1-6), (1-7):

substitute(pi,x,qi,x)=pi-1,x+der(qi,x) (1-6)substitute(p i,x ,q i,x )=p i-1,x +der(q i,x ) (1-6)

substitute(pi,y,qi,y)=pi-1,y+der(qi,y) (1-7)substitute(p i,y ,q i,y )=p i-1,y +der(q i,y ) (1-7)

(3)计算欧氏距离(3) Calculate the Euclidean distance

此时轨迹Q中的E点已转化为轨迹P的坐标系,B到E’的几何距离即可看做将B编辑至E’的相对编辑代价,见式(1-8):At this point, point E in trajectory Q has been transformed into the coordinate system of trajectory P, and the geometric distance from B to E' can be regarded as the relative editing cost of editing B to E', see formula (1-8):

其中,|pi-qi'|为两坐标点之间的欧氏距离(在二维和三维空间中的欧氏距离就是两点之间的实际距离)。而两条轨迹之间的编辑代价则为各点编辑代价之和,见式(1-9):Among them, |p i -q i '| is the Euclidean distance between two coordinate points (the Euclidean distance in two-dimensional and three-dimensional space is the actual distance between two points). The editing cost between two trajectories is the sum of the editing costs of each point, see formula (1-9):

当两条稀疏轨迹之间的编辑代价越大,则代表需要更多的编辑操作才能实现两条轨迹间的转换,也就说明两条轨迹间的相似度越小;反之则说明两条轨迹间的相似度越大。依次将车辆行驶轨迹A,和最终备选路径集NR(pn)中路径B所对应的轨迹点坐标代入公式(1-9)并获得各路径轨迹的相似度值Similartiy(A,B)i,最后选择其中值最大者作为最终匹配路径。When the editing cost between two sparse trajectories is greater, it means that more editing operations are needed to realize the conversion between the two trajectories, which means that the similarity between the two trajectories is smaller; The greater the similarity. Substituting the vehicle trajectory A and the trajectory point coordinates corresponding to the path B in the final candidate path set NR(p n ) into the formula (1-9) in turn to obtain the similarity value of each path trajectory Similarity(A,B) i , and finally select the one with the largest value as the final matching path.

(4)设计了基于GIS的车载定位业务流程:(4) GIS-based vehicle positioning business process is designed:

如图9所示面向车载定位终端的GPS数据采集和存储过程主要由车载定位终端伺服模块完成,它作为GPS数据传输的中转站,将GPS数据分别转发给GPS数据模块和GIS伺服模块。首先云服务器系统会根据用户需求通过伺服模块向车载定位终端发送控制消息。当车载定位终端收到控制消息后进行相应控制操作。其次,将实时采集的车辆GPS数据通过3G/4G无线网络返回给云服务器系统。在此传送过程中,服务器一直处于监听状态,等待车载定位终端的数据消息。当接收到数据消息后,云服务器会同时将GPS消息发送给GPS数据模块和GIS伺服模块。面向GIS的匹配过程将实时GPS数据序列化,并提供给GIS加载和仿真。GIS伺服模块等待车载定位终端伺服模块传输的经过解析的GPS数据。服务器根据车辆坐标在路网数据库中查找车辆周围路网数据,将其连同车辆行驶轨迹GPS数据序列化,随后载入GIS中,并且经过上文介绍的基于GPS轨迹的路径匹配算法的筛选和编辑代价计算,得到路径匹配结果。最后GIS伺服模块还需要将匹配结果递交至清算模块,供其进行最后的计费结算工作。As shown in Figure 9, the GPS data acquisition and storage process for the vehicle positioning terminal is mainly completed by the vehicle positioning terminal servo module, which acts as a transfer station for GPS data transmission and forwards the GPS data to the GPS data module and the GIS servo module respectively. First, the cloud server system will send control messages to the vehicle positioning terminal through the servo module according to user needs. When the vehicle positioning terminal receives the control message, it performs corresponding control operations. Secondly, the vehicle GPS data collected in real time is returned to the cloud server system through the 3G/4G wireless network. During this transmission process, the server has been in a listening state, waiting for the data message from the vehicle positioning terminal. After receiving the data message, the cloud server will simultaneously send the GPS message to the GPS data module and the GIS servo module. The GIS-oriented matching process serializes real-time GPS data and provides it for GIS loading and simulation. The GIS servo module waits for the parsed GPS data transmitted by the vehicle positioning terminal servo module. The server searches the road network data around the vehicle in the road network database according to the vehicle coordinates, serializes it together with the GPS data of the vehicle trajectory, and then loads it into the GIS, and passes through the screening and editing of the path matching algorithm based on the GPS trajectory introduced above. Calculate the cost and get the path matching result. Finally, the GIS server module also needs to submit the matching result to the settlement module for its final billing and settlement work.

(5)清算模块流程:(5) Liquidation module process:

如图10所示首先由清算模块读取匹配结果,并根据路段ID查询路网数据表中的“是否收费”属性,若为收费道路,说明车辆还未驶离收费路段,继续接收后续匹配结果。如果为非收费路段,清算模块需要根据车辆ID查询车辆缴扣记录表,这时车辆可能处于两种情况之中:若最后一次记录中没有记载车辆驶入记录,则代表车辆还未进入该收费道路,此时应将车辆ID、路段ID和驶入时间记录;若最后一次记录中已记载该车驶入记录,则代表车辆已经经过收费道路并且驶离,这时清算模块应将车辆驶离时间信息记录在案,并根据车辆类型和相对应的路段收费标准对驾驶员个人账户进行相应的计费缴扣工作。以此来实现系统对于行驶车辆的结算业务。As shown in Figure 10, firstly, the clearing module reads the matching result, and queries the "whether toll" attribute in the road network data table according to the road section ID. If it is a toll road, it means that the vehicle has not left the toll road section, and continues to receive subsequent matching results . If it is a non-toll road section, the clearing module needs to query the vehicle withholding record table according to the vehicle ID. At this time, the vehicle may be in one of two situations: if the last record does not record the vehicle entry record, it means that the vehicle has not yet entered the toll collection Road, at this time, the vehicle ID, road section ID and driving time should be recorded; if the vehicle driving record has been recorded in the last record, it means that the vehicle has passed the toll road and left, and the clearing module should drive the vehicle away The time information is recorded, and the driver's personal account is charged and deducted according to the vehicle type and the corresponding road section toll standard. In this way, the settlement business of the system for driving vehicles is realized.

发明效果Invention effect

通过移动互联网通讯技术支撑基于GPS/北斗与云计算平台的搭建,本系统可实现在行车轨迹、备选路径和最终匹配路径的优化下道路车辆监管的自动化、简单化。本发明所研究的基于GPS/北斗和云计算平台的不停车收费系统为公共交通的信息化管理提供了一套完整的解决方案,提高了道路监管工作的智能化水平和工作效率,本系统的设计方法和实现过程中所采用的技术也为智能交通系统的发展提供了某种新的思路。Through the construction of GPS/Beidou and cloud computing platform supported by mobile Internet communication technology, this system can realize the automation and simplification of road vehicle supervision under the optimization of driving trajectory, alternative path and final matching path. The non-stop charging system based on GPS/Beidou and cloud computing platform researched by the present invention provides a complete set of solutions for the information management of public transportation, which improves the intelligence level and work efficiency of road supervision work. The design method and the technology used in the implementation process also provide some new ideas for the development of intelligent transportation systems.

1.被选路径集的确定:现有技术:直接用GPS定位然后GIS描绘行车轨迹1. Determination of the selected path set: prior art: directly use GPS positioning and then GIS to describe the driving track

改进算法:以GPS轨迹点为圆心圈选属于此圆的路段集,作为被选路径。Improved algorithm: take the GPS track point as the center circle and select the road segment set belonging to this circle as the selected path.

2.被选路径集的筛选:现有技术:仅根据拓扑约束条件缩小被选路径集。2. Screening of the selected path set: in the prior art, the selected path set is narrowed only according to the topological constraints.

改进算法:加入方向约束条件共同约束,并且提出如何判断方向。Improved Algorithm: Add direction constraints and common constraints, and propose how to judge the direction.

3.行车方向判断:提出了一种基于线路拐点的上下行判断算法,用以判断方向。3. Judgment of driving direction: An uplink and downlink judgment algorithm based on the inflection point of the line is proposed to judge the direction.

4.最终匹配路径的选择:现有技术:(1)基于曲线相似度的路径相似度判断方法。4. Selection of the final matching path: prior art: (1) method for judging path similarity based on curve similarity.

(2)基于欧几里德距离的系数轨迹相似性算法。(2) Coefficient trajectory similarity algorithm based on Euclidean distance.

改进算法:基于现有两项技术结合后改良:统一坐标系的相对欧氏距离算法。Improved algorithm: Improvement based on the combination of two existing technologies: the relative Euclidean distance algorithm of the unified coordinate system.

附图说明Description of drawings

图1传统ETC技术框架图。Figure 1 Traditional ETC technical framework diagram.

图2本发明的系统架构图。Fig. 2 is a system architecture diagram of the present invention.

图3本发明Y-junction交叉口示意图。Fig. 3 is a schematic diagram of the Y-junction intersection of the present invention.

图4本发明轨迹精简示意图。Fig. 4 is a simplified schematic diagram of the trajectory of the present invention.

图5本发明路径匹配示意图。Fig. 5 is a schematic diagram of path matching in the present invention.

图6本发明几种相对位置情况。Fig. 6 shows several relative positions of the present invention.

图7本发明直线道路行驶方向判断示意图。Fig. 7 is a schematic diagram of judging the driving direction of a straight road according to the present invention.

图8本发明P、Q轨迹示意图。Fig. 8 is a schematic diagram of P and Q trajectories of the present invention.

图9本发明基于GIS的车载定位业务流程图。Fig. 9 is a flow chart of the vehicle positioning service based on GIS in the present invention.

图10本发明清算业务流程图。Fig. 10 is a flow chart of the liquidation business of the present invention.

具体实施方式Detailed ways

1.基于GPS/北斗定位和云计算平台的不停车收费方法,其特征在于:1. The non-stop charging method based on GPS/Beidou positioning and cloud computing platform is characterized in that:

系统包括集成移动互联网、GPS/北斗定位、GIS和云平台的ETC;The system includes ETC integrating mobile Internet, GPS/Beidou positioning, GIS and cloud platform;

具体步骤如下所示:The specific steps are as follows:

(4)搜索备选路径集(4) Search the set of alternative paths

根据连续的车辆GPS采集点描绘出车辆行驶轨迹,以GPSi为圆心,搜索其预设半径内的所有可能的行驶道路,组成备选路径集RCiAccording to the continuous vehicle GPS collection points, the vehicle driving trajectory is drawn, and with GPS i as the center, all possible driving roads within its preset radius are searched to form an alternative route set RC i ;

(5)筛选备选路径集(5) Filter the set of alternative paths

以实际行车限制与路网几何连通性为基础,计算RCi与各阶段总体路径Pi的后续可行路段集PNi的交集Rinsect(i);并由Rinsect(i)更新并重组备选总体路径集Pi+1Based on the actual traffic restrictions and the geometric connectivity of the road network, calculate the intersection R insect (i) of RC i and the subsequent feasible road segment set PN i of the overall path P i at each stage; and update and reorganize the alternatives by R insect (i) Overall path set P i+1 ;

(6)选取最终匹配路径(6) Select the final matching path

依次遍历所有轨迹点,利用相对编辑代价的思想分别计算P中路径与GPS轨迹路径的相似度r,r值最大者则视为与实际道路轨迹最为接近,并将其作为最终匹配路径;具体如下:Traverse all the track points in turn, and use the idea of relative editing cost to calculate the similarity r between the path in P and the GPS track path, and the one with the largest r value is regarded as the closest to the actual road track, and it is taken as the final matching path; the details are as follows :

通过计算轨迹Q前后轨迹点的坐标偏移量,将轨迹P进行相应的轨迹位移,以实现轨迹线段的坐标统一;而欧氏距离的计算方法是将移动对象的轨迹用相同维度的坐标向量表示,再计算每一个时刻上对应两个轨迹点之间的欧氏距离,然后对每一个时刻上对应两个轨迹点之间的欧氏距离进行综合,得到轨迹间欧氏距离;By calculating the coordinate offset of the trajectory points before and after the trajectory Q, the trajectory P is correspondingly displaced to realize the unification of the coordinates of the trajectory line segment; and the calculation method of the Euclidean distance is to represent the trajectory of the moving object with a coordinate vector of the same dimension , and then calculate the Euclidean distance between the corresponding two trajectory points at each moment, and then synthesize the Euclidean distance between the corresponding two trajectory points at each moment to obtain the Euclidean distance between the trajectories;

对于轨迹精简处理的车辆轨迹,首先将其各关键点坐标序列化,构成序列P;将行驶线路的轨迹坐标序列化,构成序列Q;pi为P的第i个元素,qi为序列Q的第i个元素,qi’为序列Q中转换到P坐标系下的第i个元素;在计算序列P转换为序列Q的相对欧氏距离过程中,均以序列Q为基准,使P向Q操作变换;For the vehicle trajectory of the trajectory streamlining process, firstly, the coordinates of each key point are serialized to form a sequence P; the trajectory coordinates of the driving route are serialized to form a sequence Q; p i is the i-th element of P, and q i is the sequence Q q i ' is the i-th element converted from the sequence Q to the P coordinate system; in the process of calculating the relative Euclidean distance from the sequence P to the sequence Q, the sequence Q is used as the benchmark, so that P Transform to Q operation;

详细计算步骤如下:The detailed calculation steps are as follows:

(4)计算转换偏移量(4) Calculate the conversion offset

欲要计算B到E的相对编辑代价,就需要将E点代入到轨迹P的坐标系内;首先需要分别计算起始点D到E的X、Y坐标偏移量,其中O为原点坐标系,如式(1-4)、(1-5)所示:To calculate the relative editing cost from B to E, point E needs to be substituted into the coordinate system of trajectory P; firstly, the X and Y coordinate offsets of the starting point D to E need to be calculated respectively, where O is the origin coordinate system, As shown in formulas (1-4) and (1-5):

(5)坐标替换(5) Coordinate replacement

将A根据第一步计算的偏移量移至E’,作为轨迹Q在轨迹P坐标系下的位置,E’坐标计算方法见式(1-6)、(1-7):Move A to E' according to the offset calculated in the first step, as the position of trajectory Q in the coordinate system of trajectory P. The calculation method of E' coordinates is shown in formula (1-6), (1-7):

substitute(pi,x,qi,x)=pi-1,x+der(qi,x) (1-6)substitute(p i,x ,q i,x )=p i-1,x +der(q i,x ) (1-6)

substitute(pi,y,qi,y)=pi-1,y+der(qi,y) (1-7)substitute(p i,y ,q i,y )=p i-1,y +der(q i,y ) (1-7)

(6)计算欧氏距离(6) Calculate the Euclidean distance

此时轨迹Q中的E点已转化为轨迹P的坐标系,B到E’的几何距离看做将B编辑至E’的相对编辑代价,见式(1-8):At this point, point E in track Q has been transformed into the coordinate system of track P, and the geometric distance from B to E' is regarded as the relative editing cost of editing B to E', see formula (1-8):

其中,|pi-qi'|为两坐标点之间的欧氏距离;而两条轨迹之间的编辑代价则为各点编辑代价之和,见式(1-9):Among them, |p i -q i '| is the Euclidean distance between two coordinate points; and the editing cost between two trajectories is the sum of the editing costs of each point, see formula (1-9):

将车辆行驶轨迹A,和最终备选路径集NR(pn)中路径B所对应的轨迹点坐标代入公式(1-9)并获得各路径轨迹的相似度值Similartiy(A,B)i,最后选择其中值最大者作为最终匹配路径。Substitute the vehicle trajectory A and the trajectory point coordinates corresponding to route B in the final candidate route set NR(p n ) into formula (1-9) and obtain the similarity value Similariartiy(A,B) i of each route trajectory, Finally, the one with the largest value is selected as the final matching path.

假设界定最小转向角λ为30°,当某个节点的前后路段转角大于λ,将p3、p4和p5加入关键节点集;轨迹起始点和结束点也需要将其加入关键节点集;最后,将节点集按节点序号排序,得到由关键节点连接而成的精简车辆行驶轨迹。Assuming that the minimum steering angle λ is defined as 30°, when the turning angle of a certain node is greater than λ, p 3 , p 4 and p 5 are added to the key node set; the starting point and end point of the trajectory also need to be added to the key node set; Finally, the node set is sorted according to the node serial number, and the simplified vehicle trajectory connected by the key nodes is obtained.

对于每个GPS轨迹点pi,将其在定位误差区内所有几何连通的路段集记为R(pi);For each GPS track point p i , record all geometrically connected road segments in the positioning error area as R(p i );

备选路径的搜索半径Search_scop的值应遵循以下原则:一是搜索半径Search_scop应大于GPS设备定位精度的最大误差值;二是搜索半径应覆盖当前GPS点临近车道;The value of the search radius Search_scop of the alternative path should follow the following principles: first, the search radius Search_scop should be greater than the maximum error value of the positioning accuracy of the GPS device; second, the search radius should cover the lane adjacent to the current GPS point;

当GPS轨迹点pi的备选路径集R(pi)确定之后,就需要根据行车限制条件从车辆周围所有几何连通的路径中,筛选出当前阶段的备选路径;并依次遍历每个GPS定位轨迹点pi,分别对上次的筛选结果进行筛选与更新,最终得到所有备选路径集。When the candidate path set R( pi ) of the GPS track point p i is determined, it is necessary to filter out the candidate paths of the current stage from all the geometrically connected paths around the vehicle according to the driving constraints; and traverse each GPS in turn Locate the track point p i , respectively filter and update the last screening results, and finally get all the candidate path sets.

数据库中存储了描述道路形状的路段节点,将其中能决定道路行驶方向的点成为道路拐点;利用道路拐点地判断车辆在两拐点间的行驶方向,从而判断车辆相对于整条路段的行驶方向。The road section nodes that describe the shape of the road are stored in the database, and the point that can determine the direction of the road is called the road inflection point; the road inflection point is used to judge the driving direction of the vehicle between the two inflection points, so as to determine the driving direction of the vehicle relative to the entire road section.

本发明采用如下实施方案:The present invention adopts following implementation scheme:

如图2系统架构图所示,系统的实现过程主要包含采集、传输、匹配和结算四个阶段,分别对应于车载定位终端的GPS/北斗数据采集、数据传输与解析、路径匹配以及驾驶员账户的收费结算。As shown in the system architecture diagram in Figure 2, the implementation process of the system mainly includes four stages: acquisition, transmission, matching, and settlement, which correspond to GPS/Beidou data acquisition, data transmission and analysis, path matching, and driver account of the vehicle positioning terminal respectively. settlement of charges.

(1)采集:部署于实际行驶车辆上的车载定位终端,是系统的数据采集平台,主要负责采集车辆实时GPS/北斗数据。(1) Acquisition: The vehicle positioning terminal deployed on the actual driving vehicle is the data acquisition platform of the system, and is mainly responsible for collecting real-time GPS/Beidou data of the vehicle.

(2)传输:数据的传输主要依靠车载定位终端的3G/4G模块完成,该模块将采集的数据与车辆识别信息封装成具有一定格式的消息,并将其通过3G/4G网络传输至云平台服务器系统。(2) Transmission: The transmission of data is mainly completed by the 3G/4G module of the vehicle positioning terminal. This module encapsulates the collected data and vehicle identification information into a message with a certain format, and transmits it to the cloud platform through the 3G/4G network server system.

(3)匹配:当服务器系统接收到车载定位终端采集的车辆GPS数据后,需要将其与预先加载于GIS中的路网数据进行匹配,通过路径匹配算法校正车辆轨迹,从而找到车辆实际行驶路径。(3) Matching: When the server system receives the vehicle GPS data collected by the vehicle positioning terminal, it needs to match it with the road network data pre-loaded in the GIS, and correct the vehicle trajectory through the path matching algorithm, so as to find the actual driving path of the vehicle .

(4)结算:根据GIS的匹配结果,服务器系统开始调用结算模块,结合车辆信息和路段收费标准对车辆驾驶员个人账户进行相应计费结算工作。(4) Settlement: According to the matching result of GIS, the server system starts to call the settlement module, and combines the vehicle information and road section toll standards to perform corresponding billing and settlement work on the personal account of the vehicle driver.

Claims (4)

1. the non-stop charging method based on GPS/ Beidou positioning and cloud computing platform, it is characterised in that:
System includes the ETC of integrated mobile Internet, the positioning of GPS/ Beidou, GIS and cloud platform;Shown in specific step is as follows:
(1) alternative path collection is searched for
Vehicle driving trace is depicted according to continuous vehicle GPS collection point, with GPSiFor the center of circle, search in its pre-set radius All possible travel forms alternative path collection RCi
(2) alternative path collection is screened
Based on practical drive a vehicle limitation and road network geometry connectivity, RC is calculatediWith each stage overall path PiLater road Section collection PNiIntersection Rinsect(i);And by Rinsect(i) it updates and recombinates alternative overall path collection Pi+1
(3) final coupling path is chosen
All tracing points are successively traversed, the phase in path and GPS track path in P is calculated separately using the thought of opposite editor's cost Like degree r, r value the maximum be then considered as it is closest with real road track, and as final coupling path;It is specific as follows:
By calculating the coordinate shift amount of the front and back track Q tracing point, track P is subjected to corresponding trajectory displacement, to realize track The coordinate unification of line segment;And the calculation method of Euclidean distance is by the coordinate vector table of the track identical dimensional of mobile object The Euclidean distance between corresponding two tracing points is engraved when showing, then calculating each, it is then two corresponding to being engraved when each Euclidean distance between tracing point is integrated, and Euclidean distance between track is obtained;
The track of vehicle of processing is simplified for track, first by its each key point coordinate sequence, constitutes sequence P;By driving line The trajectory coordinates on road serialize, and constitute sequence Q;piFor i-th of element of P, qiFor i-th of element of sequence Q, qi' it is sequence Q In be transformed into i-th of element under P coordinate system;During sequence of calculation P is converted to the opposite Euclidean distance of sequence Q, with On the basis of sequence Q, make P to Q operational transformation;
Steps are as follows for calculating in detail:
(1) transition deviation amount is calculated
Want opposite editor's cost of calculating B to E, it is necessary to which E point is updated in the coordinate system of track P;Firstly the need of respectively The X, Y coordinates offset of starting point D to E is calculated, wherein O is origin system, as shown in formula (1-4), (1-5):
(2) coordinate is replaced
A is moved into E ' according to the offset that the first step calculates, as position of the track Q under the P coordinate system of track, E ' coordinate is calculated Method is shown in formula (1-6), (1-7):
substitute(pi,x,qi,x)=pi-1,x+der(qi,x) (1-6)
substitute(pi,y,qi,y)=pi-1,y+der(qi,y)
(1-7)
(3) Euclidean distance is calculated
The E point in the Q of track has been converted into the coordinate system of track P at this time, and the geometric distance of B to E ', which is regarded as, edits B to the phase of E ' To editor's cost, formula (1-8) is seen:
Wherein, | pi-qi' | the Euclidean distance between two coordinate points;And editor's cost between two tracks is then each point editor The sum of cost is shown in formula (1-9):
By vehicle driving trace A, and final alternative path collection NR (pn) in tracing point coordinate corresponding to the B of path substitute into formula (1- 9) and the similarity value Similartiy (A, B) of each path locus is obtainedi, finally select its intermediate value the maximum as final matching Path;
(4) the vehicle positioning operation flow based on GIS is devised:
GPS data acquisition and storage process on-vehicle positioning terminal servo module towards on-vehicle positioning terminal is completed, it is as GPS GPS data, is transmitted to GPS data module and GIS servo module by the terminal of data transmission respectively;Cloud server system first Control message can be sent to on-vehicle positioning terminal by servo module according to user demand;Disappear when on-vehicle positioning terminal receives control Corresponding control operation is carried out after breath;Secondly, the vehicle GPS data acquired in real time are returned to cloud clothes by 3G/4G wireless network Business device system;In this transmit process, server is constantly in listening state, waits the data-message of on-vehicle positioning terminal;When After receiving data-message, GPS message can be sent to GPS data module and GIS servo module simultaneously by Cloud Server;Towards The matching process of GIS serializes real-time GPS data, and is supplied to GIS load and emulation;It is vehicle-mounted fixed that GIS servo module waits The GPS data by parsing of position terminal servo module transmission;Server searches vehicle according to vehicle coordinate in Traffic network database It is serialized together with vehicle driving trace GPS data, is then subsequently loaded into GIS, and by being based on by surrounding road net data The screening of the Path Matching Algorithm of GPS track and editor's cost calculate, and obtain route matching result;Last GIS servo module is also It needs for matching result to be forwarded to clearance module, last charge accounting work is carried out for it;
(5) block process is cleared:
Matching result is read by clearance module first, and " whether charging " attribute in road net data table is inquired according to road section ID, If toll road, illustrate that vehicle does not sail out of charging section also, continues to subsequent match result;If it is non-charging section, Clearance module needs to pay button record sheet according to vehicle ID enquiring vehicle, and at this moment vehicle is likely to be among two kinds of situations: if last Record is driven into without recording vehicle in primary record, then represents vehicle and does not enter the toll road also, it at this time should be by vehicle ID, road Section ID is recorded with the time is driven into;If having recorded the vehicle in last time record drives into record, represents vehicle and have already passed through charge It road and sails out of, vehicle time of departure information should be placed on record by this moment clearing module, and according to type of vehicle and corresponding Section charging standard corresponding charging carried out to driver personal account pay button work;Realize the system for Travel vehicle with this Account settlement business.
2. method according to claim 1, it is characterised in that:
Assuming that defining minimum steering angle λ is 30 °, when the front and back section corner of some node is greater than λ, by p3、p4And p5It is added crucial Node collection;Track initial point and end point are also required to be added into key node collection;Finally, node collection is arranged by node ID Sequence, obtain being formed by connecting by key node simplifies vehicle driving trace.
3. method according to claim 1, it is characterised in that:
For each GPS track point pi, the section collection of its all geometry connection in position error area is denoted as R (pi);
The value of the search radius Search_scop of alternative path should follow following principle: first is that search radius Search_scop is answered Greater than the worst error value of GPS device positioning accuracy;Second is that search radius, which should cover current GPS point, closes on lane;
As GPS track point piAlternative path collection R (pi) after determination, it is necessary to according to driving restrictive condition from vehicle periphery institute In the path for thering is geometry to be connected to, the alternative path of current generation is filtered out;And successively traverse each GPS positioning tracing point pi, point The other the selection result to last time is screened and is updated, and all alternative path collection are finally obtained.
4. method according to claim 1, it is characterised in that:
The point that can wherein determine road driving direction is become road by the section node that description road shape is stored in database Inflection point;Driving direction of the vehicle between two inflection points is judged using road inflection point, to judge vehicle relative to whole section Driving direction.
CN201611021343.1A 2016-11-21 2016-11-21 Non-stop charging method based on GPS/Beidou positioning and cloud computing platform Expired - Fee Related CN106568456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611021343.1A CN106568456B (en) 2016-11-21 2016-11-21 Non-stop charging method based on GPS/Beidou positioning and cloud computing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611021343.1A CN106568456B (en) 2016-11-21 2016-11-21 Non-stop charging method based on GPS/Beidou positioning and cloud computing platform

Publications (2)

Publication Number Publication Date
CN106568456A CN106568456A (en) 2017-04-19
CN106568456B true CN106568456B (en) 2019-09-03

Family

ID=58542343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611021343.1A Expired - Fee Related CN106568456B (en) 2016-11-21 2016-11-21 Non-stop charging method based on GPS/Beidou positioning and cloud computing platform

Country Status (1)

Country Link
CN (1) CN106568456B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107255826A (en) * 2017-04-26 2017-10-17 国家电网公司 Based on the logistics van amendment GPS location analysis method under big data
CN109102129A (en) * 2018-09-10 2018-12-28 电子科技大学 A kind of similarity of paths calculation method based on improvement circle-based algorithm
CN109697221B (en) * 2018-11-22 2021-07-09 东软集团股份有限公司 Track law mining method and device, storage medium and electronic equipment
CN109827581B (en) * 2019-03-28 2020-03-13 北京三快在线科技有限公司 Map matching method and device
CN110147973A (en) * 2019-05-22 2019-08-20 上海云粟数据技术服务有限公司 Freight charges accounting method and device based on internet of things equipment
CN111192039B (en) * 2019-12-27 2021-08-03 北京中交创新投资发展有限公司 High-precision map service system for Beidou highway free flow charging
CN111324601A (en) * 2020-02-09 2020-06-23 北京工业大学 Method for acquiring and generating road data on mountain of electronic geographic information system
CN113720341B (en) * 2021-07-29 2024-09-13 深圳市跨越新科技有限公司 Vehicle travel route generation method, system, computer device, and storage medium
CN113837442B (en) * 2021-08-26 2024-11-15 深圳市跨越新科技有限公司 Correction trajectory oscillation route generation method, system, terminal device and storage medium
CN114529348B (en) * 2022-02-22 2024-07-09 携程旅游网络技术(上海)有限公司 Vehicle driving path charging method, system, equipment and storage medium
CN117496745B (en) * 2023-10-09 2024-06-14 上海软杰智能设备有限公司 Parking space guidance data analysis system and method based on artificial intelligence

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1199136C (en) * 2000-02-28 2005-04-27 株式会社日立制作所 Fare collection system and communication method therefor
CN101794464A (en) * 2009-12-31 2010-08-04 北京握奇数据系统有限公司 Electronic toll collection system and determining method of path
CN105913661A (en) * 2016-06-15 2016-08-31 北京航空航天大学 Highway road section traffic state discrimination method based on charging data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1199136C (en) * 2000-02-28 2005-04-27 株式会社日立制作所 Fare collection system and communication method therefor
CN101794464A (en) * 2009-12-31 2010-08-04 北京握奇数据系统有限公司 Electronic toll collection system and determining method of path
CN105913661A (en) * 2016-06-15 2016-08-31 北京航空航天大学 Highway road section traffic state discrimination method based on charging data

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
Exploiting spatial architectures for edit distance algorithms;Jesmin Jahan Tithi等;《IEEE2014》;20141231;23-34
卫星定位不停车收费中基于决策圈的路径识别方法;王东柱等;《公路交通科技》;20110531;第28卷(第5期);102-107
基于归一化编辑距离和谱聚类的轨迹模式学习方法;袁和金等;《计算机辅助设计与图形学学报》;20080630;第20卷(第6期);753-758
相对欧氏距离坐标转换误差评价方法的无效性证明;谭启蒙等;《机械设计与制造》;20140731(第7期);145-148
高速公路联网收费中的路网模型及数据处理;宋靖雁等;《公路交通科技》;20011031;第18卷(第5期);51-54,63

Also Published As

Publication number Publication date
CN106568456A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN106568456B (en) Non-stop charging method based on GPS/Beidou positioning and cloud computing platform
Wu et al. Deep learning for unmanned aerial vehicle-based object detection and tracking: A survey
CN101694749B (en) Method and device for speculating routes
US20190279247A1 (en) Crowd-sourced mapping
CN102968900B (en) Method for processing RFID (Radio Frequency Identification) traffic data
CN112344947B (en) Map matching method, map matching device, electronic equipment and computer readable storage medium
CN108280463B (en) Optimization method and device for double-layer path of vehicle-mounted unmanned aerial vehicle
CN111739323B (en) Method and device for acquiring intersection information
CN104484999A (en) Method and device for determining dynamic traffic information on basis of user tracks
CN111881939B (en) A method for the layout of shared bicycle parking areas based on clustering algorithm
CN110750607B (en) Road network matching method based on GNSS vehicle track data
CN109827582A (en) A kind of method and system of quick determining road network disease relative position
TW202146852A (en) Route deviation quantification and vehicular route learning based thereon
CN115714957B (en) Subway travel identification method, device, equipment and medium based on mobile phone signaling
CN107403550A (en) Transit network collecting method, device and terminal device
CN111190891A (en) Multi-semantic track data segmented storage method
CN105427592B (en) Map of navigation electronic based on Floating Car turns to cost computational methods
CN109523781A (en) A kind of crossing prediction technique based on satellite positioning
CN105096590A (en) Traffic information generation method and device
CN102082996A (en) Self-locating mobile terminal and method thereof
CN113506459B (en) Crowdsourcing map acquisition method for underground parking lot
CN109800903A (en) A kind of profit route planning method based on taxi track data
CN110879862B (en) Vehicle Information Query System Based on Internet of Things
CN111444286B (en) Long-distance traffic node relevance mining method based on trajectory data
CN105717517B (en) A kind of vehicle-mounted big dipper multi-mode GNSS high accuracy roads basis collecting method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210323

Address after: No.2-2, No.1 complex building, Nanyuan, Karamay, Xinjiang 834000

Patentee after: Karamay Zijian Technology Co.,Ltd.

Address before: 100124 No. 100 Chaoyang District Ping Tian Park, Beijing

Patentee before: Beijing University of Technology

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190903