CN113870559B - Traffic flow calculation method based on big data Internet of vehicles - Google Patents

Traffic flow calculation method based on big data Internet of vehicles Download PDF

Info

Publication number
CN113870559B
CN113870559B CN202111137546.8A CN202111137546A CN113870559B CN 113870559 B CN113870559 B CN 113870559B CN 202111137546 A CN202111137546 A CN 202111137546A CN 113870559 B CN113870559 B CN 113870559B
Authority
CN
China
Prior art keywords
road
bus
traffic
vehicle
data
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.)
Active
Application number
CN202111137546.8A
Other languages
Chinese (zh)
Other versions
CN113870559A (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.)
Beijing Bitnei Corp ltd
Beijing Institute of Technology BIT
Original Assignee
Beijing Bitnei Corp ltd
Beijing Institute of Technology BIT
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 Bitnei Corp ltd, Beijing Institute of Technology BIT filed Critical Beijing Bitnei Corp ltd
Priority to CN202111137546.8A priority Critical patent/CN113870559B/en
Publication of CN113870559A publication Critical patent/CN113870559A/en
Application granted granted Critical
Publication of CN113870559B publication Critical patent/CN113870559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • G08G1/0116Measuring and analyzing of parameters relative to traffic conditions based on the source of data from roadside infrastructure, e.g. beacons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a traffic flow calculation method based on a big data internet of vehicles, which is characterized in that a traffic route map of a specific area is constructed based on urban new energy automobile running data and road bus station information data collected by an internet of vehicles platform, and complete routes of different grades including trunk roads, branch roads and the like can be truly reflected by a convenient means; the road flow feedback system based on big data is constructed after calculation processing by combining new energy real vehicle running data collected by the Internet of vehicles platform, compared with the existing vehicle flow velocity calculation method, the road flow feedback system based on big data has more full data, and the result has higher accuracy. Compared with the existing trunk road construction methods, the method reduces the manpower and economic expenses and has higher cost performance.

Description

一种基于大数据车联网的交通流量计算方法A traffic flow calculation method based on big data Internet of Vehicles

技术领域technical field

本发明属于城市道路交通流量监控技术领域,具体涉及一种基于大数据车联网的交通流量计算方法。The invention belongs to the technical field of urban road traffic flow monitoring, and in particular relates to a traffic flow calculation method based on big data Internet of Vehicles.

背景技术Background technique

现阶段,随着我国车辆总体保有量的急剧上升,使得交通拥堵在城市道路中发生地更加频繁,对日常出行和城市管理均会造成严重的影响。在部分重点路段实施交通流量监控,对于交管部门进行管理以及指导未来城市路网规划都具有十分重要的意义。现有的交通流量监控手段主要依赖于视频采集设备,通过拍摄一段时间内经过相应路段的车辆并进行识别与计数来实现。受限于这种手段较高的数据处理成本以及视频采集设备铺设成本等需求,还无法对整个城市路网实现全天候的流量统计。即使是对一些重要路段,也大多是基于较短时间段的计量来估计长时间范围的车流量。At this stage, with the sharp increase in the overall vehicle ownership in my country, traffic congestion occurs more frequently on urban roads, which will have a serious impact on daily travel and urban management. The implementation of traffic flow monitoring in some key road sections is of great significance for the management of traffic management departments and for guiding future urban road network planning. Existing traffic flow monitoring methods mainly rely on video acquisition equipment, which is achieved by photographing vehicles passing through corresponding road sections for a period of time and identifying and counting them. Due to the high data processing cost and the laying cost of video capture equipment, it is still impossible to achieve all-weather traffic statistics for the entire urban road network. Even for some important road sections, the long-term traffic flow is mostly estimated based on the measurement of a short period of time.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明旨在基于新能源车辆的实车大数据与车联网的优势,通过较小的数据处理及基础设施建设成本来实现对城市路网全局、全天候的交通流量计量。本发明提供了一种基于大数据车联网的交通流量计算方法,具体包括以下步骤:In view of this, the present invention aims to realize the global and all-weather traffic flow measurement of the urban road network through relatively small data processing and infrastructure construction costs based on the advantages of real vehicle big data and vehicle networking of new energy vehicles. The invention provides a traffic flow calculation method based on the big data Internet of Vehicles, which specifically includes the following steps:

步骤一、利用网络公开信息提取道路中设置的全部公交站点信息,其中包括:站点名称、所属线路名称、站点经纬度坐标、经停车辆等的公交站点数据,对公交站点数据依次执行坐标排序、去重与存储处理;Step 1: Use the public information on the network to extract all the bus station information set in the road, including: the station name, the line name, the station latitude and longitude coordinates, the bus station data of the stopped vehicles, etc. heavy and storage handling;

步骤二、获取道路上行驶的新能源公交车实车数据,针对处理后各公交站点所辐射的圆形区域范围,计算进入此区域内的新能源公交车分别至区域内两不同站点名称的公交站点的行驶向量,根据两行驶向量的叉积确定所述两站点是否属于在相同主干道上的相似站点,并将相似站点做合并处理;Step 2: Obtain the real vehicle data of the new energy buses running on the road, and calculate the new energy buses entering this area to the buses with two different station names in the area according to the circular area radiated by each bus station after processing. The travel vector of the station, determine whether the two stations belong to similar stations on the same main road according to the cross product of the two travel vectors, and merge the similar stations;

步骤三;遍历各线路的新能源公交车途径的站点,得到每条线路的交通线路拓扑表,并基于所述拓扑表拟合实际道路得到数字化的交通线路图;Step 3: traversing the stations of the new energy bus routes of each line, obtaining the traffic line topology table of each line, and fitting the actual road based on the topology table to obtain a digital traffic line map;

步骤四、计算实车行驶向量来判断其所在的实际道路;根据经过某道路区间车辆的速度计算车辆流速;Step 4: Calculate the actual vehicle travel vector to determine the actual road where it is located; calculate the vehicle flow rate according to the speed of the vehicle passing through a certain road section;

步骤五、根据不同路段的车辆流速确定对应的交通拥堵等级,并在所述数字化的交通路线图提供相应信息显示。Step 5: Determine the corresponding traffic congestion level according to the vehicle speed of different road sections, and provide corresponding information display on the digital traffic route map.

进一步地,所述步骤一中利用网络公开信息提取公交站点数据具体包括:Further, in the step 1, the use of network public information to extract bus station data specifically includes:

使用爬虫技术对地图网站数据进行爬取得到所述的站点名称、线路名称、站点经纬度坐标、经停车辆等数据并保存为字符串,以所属线路名称作为主键存储建立公交车行驶数据信息表;Use crawler technology to crawl the map website data to obtain the site name, line name, site latitude and longitude coordinates, stopped vehicles and other data and save it as a string, and use the line name as the primary key to store and establish a bus driving data information table;

所述排序、去重与存储处理具体包括:The sorting, deduplication and storage processing specifically include:

针对各公交线路按照经纬度坐标排序得到线路包含的全部站点名称,并以[线路名称,站点名称]的键值格式、字符串数据类型存储建立表单;排序中如果顺序相邻的站点距离大于预定值则确定为属于不同线路;Sort each bus line according to the latitude and longitude coordinates to get all the station names included in the line, and store and create a form in the key value format and string data type of [line name, station name]; if the distance between adjacent stations in the sequence is greater than the predetermined value during sorting are determined to belong to different lines;

基于经纬度坐标、经停车辆数据对所述表单进行去重。The form is deduplicated based on the latitude and longitude coordinates and the data of parked vehicles.

进一步地,步骤二具体包括:Further, step 2 specifically includes:

基于先后采集的车辆经纬度坐标做差计算各新能源公交车的行驶向量;如果在所述圆形区域内的前往两不同站点名称的公交站点的车辆行驶车辆叉积为0,则确定两公交站点为同一主干道上的相似站点,将确定的相似站点合并。Calculate the travel vector of each new energy bus based on the difference of the latitude and longitude coordinates of the vehicles collected successively; if the cross product of the vehicles traveling to the bus stops with two different station names in the circular area is 0, then the two bus stops are determined. For similar stations on the same main road, the identified similar stations are merged.

进一步地,步骤三具体包括:Further, step 3 specifically includes:

对各线路的新能源公交车途经的站点遍历后,在[线路名称,站点名称]表单中加入相邻站点字段构成每条线路的交通线路拓扑表;基于所述拓扑表以及新能源公交车的实车坐标采集点连线拟合构建所述数字化的交通线路图。After traversing the stations passed by the new energy buses of each line, add the adjacent station field in the [Line Name, Station Name] form to form the traffic line topology table of each line; based on the topology table and the new energy bus The digitized traffic route map is constructed by fitting the real vehicle coordinate collection points.

进一步地,步骤四具体包括:Further, step 4 specifically includes:

通过对包括新源公交车以及其他私人和商业运营车辆的经纬度坐标确定所在道路;按照车辆经度变化量大于0或小于0,得出车辆行驶方向;基于不同车辆行驶向量叉积确定同向行驶的车流;计算道路区间上同向行驶车流的平均速度并作为某时刻的车辆流速。Determine the road where the road is located by including the latitude and longitude coordinates of Xinyuan buses and other private and commercial vehicles; according to the change in the longitude of the vehicle is greater than 0 or less than 0, the driving direction of the vehicle is obtained; based on the cross product of the driving vectors of different vehicles Traffic flow: Calculate the average speed of the same-direction traffic flow on the road section and use it as the vehicle speed at a certain time.

进一步地,步骤四还包括基于长期的车辆流速确定某区间对应的道路等级,并用于完善所述数字化的交通线路图以及后续确定对应的交通拥堵等级。Further, step 4 further includes determining the road level corresponding to a certain interval based on the long-term vehicle flow rate, and using it to improve the digital traffic route map and subsequently determine the corresponding traffic congestion level.

进一步地,步骤五具体包括:Further, step 5 specifically includes:

针对不同路段对应的道路等级:快速路、主干路、次干路和支路分别设定不同拥堵程度所对应的车辆流速阈值范围;For road grades corresponding to different road sections: expressways, arterial roads, secondary arterial roads and branch roads, respectively set the range of vehicle velocity thresholds corresponding to different congestion levels;

基于以下公式计算交通拥堵指数:The traffic congestion index is calculated based on the following formula:

Figure BDA0003282653420000021
Figure BDA0003282653420000021

将拥堵指数划分为5个级别,数值越大表示拥堵越严重;利用拥堵指数将交通道路分段并保存相应的位置、车辆流速信息;在车载终端根据拥堵指数从高到低在数字化的交通路线图上显示深红色、红色、橙色、绿色以及深绿色,以提供分段拥堵程度的显示。The congestion index is divided into 5 levels, the larger the value, the more serious the congestion; the congestion index is used to segment the traffic road and save the corresponding location and vehicle speed information; in the vehicle terminal according to the congestion index from high to low in the digital traffic route Dark red, red, orange, green, and dark green are displayed on the graph to provide an indication of segmented congestion.

上述本发明所提供的方法,基于车联网平台收集的城市新能源汽车运行行驶数据以及道路公交车站信息数据构建特定区域的交通路线图,能够通过较为便捷的手段真实反应包括干路、支路等不同等级的完整路线;结合车联网平台收集的新能源实车行驶数据,计算处理后构建了基于大数据的道路流量反馈体系,对比于现有的车辆流速计算方法,具有更全量的数据,结果将具有更高的准确性。对比现有的一些主干路构建方法,降低了人力以及经济开销,具有更高的性价比。The above method provided by the present invention builds a traffic route map of a specific area based on the urban new energy vehicle running data collected by the Internet of Vehicles platform and the road bus station information data, and can truly reflect the main roads and branch roads through relatively convenient means. and other complete routes of different levels; combined with the driving data of new energy vehicles collected by the Internet of Vehicles platform, after calculation and processing, a road flow feedback system based on big data is constructed. The result will have higher accuracy. Compared with some existing trunk road construction methods, it reduces manpower and economic costs, and has higher cost performance.

具体实施方式Detailed ways

下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明所提供的一种基于大数据车联网的交通流量计算方法,主要提供了包括交通道路交通拟合、车辆行驶数据与交通道路拟合、道路交通流速计算以及交通流速指数化分级的四大功能模块。第一大模块交通道路拟合模块由以下功能实现:公交车站基础信息抓取功能、误差修复,公交车站信息数据处理、站点间道路构建模块、以及新能源车辆行驶线路填补道路功能;第二大模块为车辆行驶数据与交通道路拟合模块由4部分功能构成:车辆行驶数据实时抓取功能、所在路线判定功能、车辆流速计算功能;第三大模块道路交通流速计算模块由两部分功能构成:区域流速车辆选取功能,以及流速计算功能;最后一部分模块:交通流速指数化分级模块由:交通流速数据指数转化功能、指数分级功能、以及可视化展示功能3功能构成。The present invention provides a traffic flow calculation method based on the big data Internet of Vehicles, which mainly provides four major methods including traffic road traffic fitting, vehicle driving data and traffic road fitting, road traffic speed calculation and traffic speed indexing classification. functional module. The first major module, the traffic road fitting module, is realized by the following functions: basic bus station information capture function, error repair, bus station information data processing, inter-station road construction module, and new energy vehicle driving routes to fill the road function; The second module is vehicle driving data and traffic road fitting module, which consists of 4 functions: real-time capture of vehicle driving data, route determination function, and vehicle velocity calculation function; the third module, road traffic velocity calculation module, consists of two functions Composition: regional velocity vehicle selection function, and velocity calculation function; the last part of the module: traffic velocity indexing and grading module is composed of three functions: traffic velocity data index conversion function, index grading function, and visual display function.

所述方法具体包括以下步骤:The method specifically includes the following steps:

步骤一、利用网络公开信息提取道路中设置的全部公交站点信息,其中包括:站点名称、所属线路名称、站点经纬度坐标、经停车辆等的公交站点数据,对公交站点数据依次执行坐标排序、去重与存储处理;Step 1: Use the public information on the network to extract all the bus station information set in the road, including: the station name, the line name, the station latitude and longitude coordinates, the bus station data of the stopped vehicles, etc. heavy and storage handling;

步骤二、获取道路上行驶的新能源公交车实车数据,针对处理后各公交站点所辐射的圆形区域范围,计算进入此区域内的新能源公交车分别至区域内两不同站点名称的公交站点的行驶向量,根据两行驶向量的叉积确定所述两站点是否属于在相同主干道上的相似站点,并将相似站点做合并处理;Step 2: Obtain the real vehicle data of the new energy buses running on the road, and calculate the new energy buses entering this area to the buses with two different station names in the area according to the circular area radiated by each bus station after processing. The travel vector of the station, determine whether the two stations belong to similar stations on the same main road according to the cross product of the two travel vectors, and merge the similar stations;

步骤三;遍历各线路的新能源公交车途径的站点,得到每条线路的交通线路拓扑表,并基于所述拓扑表拟合实际道路得到数字化的交通线路图;Step 3: traversing the stations of the new energy bus routes of each line, obtaining the traffic line topology table of each line, and fitting the actual road based on the topology table to obtain a digital traffic line map;

步骤四、计算实车行驶向量来判断其所在的实际道路;根据经过某道路区间车辆的速度计算车辆流速;Step 4: Calculate the actual vehicle travel vector to determine the actual road where it is located; calculate the vehicle flow rate according to the speed of the vehicle passing through a certain road section;

步骤五、根据不同路段的车辆流速确定对应的交通拥堵等级,并在所述数字化的交通路线图提供相应信息显示。Step 5: Determine the corresponding traffic congestion level according to the vehicle speed of different road sections, and provide corresponding information display on the digital traffic route map.

由于在众多公共服务网站均提供了详细的城市公交线路与站点信息,通过大数据手段比较容易获取且不需要重新搭建复杂的数据收集处理与数字地图综合的平台,因此在本发明的一个优选实施方式中,在所述步骤一中利用网络公开信息提取公交站点数据具体包括:Since detailed information on urban bus routes and stations is provided on many public service websites, it is relatively easy to obtain through big data means and does not need to rebuild a complex platform for data collection and processing and digital map integration. Therefore, in a preferred implementation of the present invention In the method, in the step 1, using the network public information to extract the bus stop data specifically includes:

使用爬虫技术对地图网站数据进行爬取,得到所述的站点名称、线路名称、站点经纬度坐标、经停车辆等数据并保存为字符串,以所属线路名称作为主键存储建立公交车行驶数据信息表;其中,经纬度坐标可基于高德地图抓取经纬度字段保留小数点后6位有效数字,也可对爬取下来字段进行数据处理,选出相同名称的公交站点,通过以下方式求出相同名称的公交站点的经纬度均值,定义为公交站点几何中心点:Use crawler technology to crawl the map website data, obtain the site name, line name, site latitude and longitude coordinates, stopped vehicles and other data and save it as a string, use the line name as the primary key to store and establish a bus driving data information table ; Among them, the latitude and longitude coordinates can be based on the latitude and longitude fields of the AutoNavi map to retain 6 significant digits after the decimal point, and the data can also be processed on the crawled fields, and the bus stops with the same name can be selected, and the bus with the same name can be obtained by the following methods. The mean latitude and longitude of the station, defined as the geometric center point of the bus station:

Figure BDA0003282653420000041
Figure BDA0003282653420000041

其中,lng为车站经度坐标,lat为车站纬度坐标,Psame为相同名称公交站点ID的经纬度矩阵,

Figure BDA0003282653420000042
为相同名称公交站点ID的几何中心点。Among them, lng is the longitude coordinate of the station, lat is the latitude coordinate of the station, and P same is the longitude and latitude matrix of the bus stop ID of the same name,
Figure BDA0003282653420000042
is the geometric center point of the bus stop ID with the same name.

数据处理为对不同线路公交车进行编号:以省市信息编号为车辆信息前6位(编码标准按各省市身份证编码规则),后四位则由公交车实际线路编号以及占位符号0构成,对公交车线路信息进行转换。以字符串类型保存公交站名称,经度,纬度,驶过公交线路名称ID,并以公交线路名称ID作为表主键,存储为公交车行驶数据信息表。The data processing is to number the buses of different routes: the first 6 digits of the vehicle information are taken as the information number of the province and city (the coding standard is in accordance with the ID coding rules of each province and city), and the last 4 digits are composed of the actual route number of the bus and the placeholder symbol 0. , to convert the bus route information. The bus station name, longitude, latitude, and passing bus line name ID are saved in string type, and the bus line name ID is used as the primary key of the table to store as a bus travel data information table.

所述排序、去重与存储处理具体包括:The sorting, deduplication and storage processing specifically include:

针对各公交线路按照经纬度坐标排序得到线路包含的全部站点名称,并以[线路名称,站点名称]的键值格式、字符串数据类型存储建立表单;排序中如果顺序相邻的站点距离大于预定值比如3000米时,则确定这两个站点属于不同线路;Sort each bus line according to the latitude and longitude coordinates to get all the station names included in the line, and store and create a form in the key value format and string data type of [line name, station name]; if the distance between adjacent stations in the sequence is greater than the predetermined value during sorting For example, when the distance is 3000 meters, it is determined that the two sites belong to different lines;

基于经纬度坐标、经停车辆数据对所述表单进行去重。The form is deduplicated based on the latitude and longitude coordinates and the data of parked vehicles.

在本发明的一个优选实施方式中,在步骤二可先将车辆经纬度坐标数据从WGS-84格式转换到GCJ-02格式。对相似公交站点进行合并可以帮助系统降低计算量。公交站点根据GB/T 51328-2018规定,根据公交站链接设施衔接面积不得超过100平方米/车-120平方米/车,以公交站点几何中心点为圆心,基于以下公式确定区域半径:In a preferred embodiment of the present invention, in step 2, the vehicle latitude and longitude coordinate data can be converted from WGS-84 format to GCJ-02 format first. Merging similar bus stops can help the system reduce the amount of computation. According to the regulations of GB/T 51328-2018, bus stops shall not exceed 100 square meters/vehicle to 120 square meters/vehicle according to the connection area of link facilities of bus stations. The geometric center point of the bus station is the center of the circle, and the area radius is determined based on the following formula:

Figure BDA0003282653420000043
Figure BDA0003282653420000043

其中,

Figure BDA0003282653420000044
为圆形区域半径。S为公交车站区域面积,根据GB/T 51328-2018设S=120㎡,可得半径r为6.18米圆形区域,计算公交车行驶向量:in,
Figure BDA0003282653420000044
is the radius of the circular area. S is the area of the bus station area. According to GB/T 51328-2018, set S=120㎡, the radius r can be obtained as a circular area of 6.18 meters, and the bus travel vector can be calculated:

V=P1-P0 V=P 1 -P 0

其中,V为车辆行驶向量,也即[经度变化量,纬度变化量],P0为计算时车辆上一临近采集点车辆位置经纬度矩阵,即[经度,纬度],P1则为计算时采集车辆行驶位置经纬度矩阵[经度,纬度]。Among them, V is the vehicle driving vector, that is, [longitude change, latitude change], P 0 is the longitude and latitude matrix of the vehicle location near the collection point on the vehicle during calculation, that is, [longitude, latitude], P 1 is the collection during calculation. A matrix of longitude and latitude [longitude, latitude] of the vehicle's driving position.

选取相同车辆的相邻行驶时间数据,用时间值较大的经纬度信息减去时间较小的经纬度信息得出车辆行驶向量;如果在所述圆形区域内的前往两不同站点名称的公交站点的车辆行驶车辆叉积为0,则确定两公交站点为同一主干道上的相似站点,将确定的相似站点合并。Select the adjacent travel time data of the same vehicle, and subtract the latitude and longitude information with a larger time value from the latitude and longitude information with a smaller time value to obtain the vehicle travel vector; If the cross product of vehicles traveling is 0, then the two bus stops are determined to be similar stops on the same main road, and the determined similar stops are merged.

在本发明的一个优选实施方式中,步骤三具体包括:In a preferred embodiment of the present invention, step 3 specifically includes:

对各线路的新能源公交车途经的站点遍历后,在[线路名称,站点名称]表单中加入相邻站点字段构成每条线路的交通线路拓扑表,由此即将各条公交线路上新能源公交车所经过的道路节点收集完整,由于在城市交通规划中公交线路大多与主干道相符,因此也可以利用该拓扑表较为真实地反映城市主干道情况;在此基础上,基于所述拓扑表以及新能源公交车的实车坐标采集点连线拟合构建所述数字化的交通线路图,而且不需要重新开发城市电子地图平台或对现有平台及终端进行改造。After traversing the stations passed by the new energy buses of each line, add the adjacent station fields in the [Line Name, Station Name] form to form the traffic line topology table of each line, so that the new energy buses on each bus line will be listed. The road nodes passed by the vehicle are collected completely. Since most of the bus lines in the urban traffic planning are consistent with the main roads, the topology table can also be used to reflect the situation of the main roads in the city. On this basis, based on the topology table and The digital traffic route map is constructed by fitting the real vehicle coordinate collection points of the new energy bus, and there is no need to re-develop the urban electronic map platform or to transform the existing platform and terminals.

利用公交系统数据确定好交通线路拓扑结构及数字化地图后,即可对包括新能源公交车、私家车以及其他众多商业运营车辆的车流进行所在道路的匹配。因此在本发明的一个优选实施方式中,步骤四具体包括:After determining the traffic line topology and digital map using the bus system data, the traffic flow including new energy buses, private cars and many other commercial vehicles can be matched to the road where they are located. Therefore, in a preferred embodiment of the present invention, step 4 specifically includes:

通过对包括新源公交车以及其他私人和商业运营车辆的经纬度坐标确定所在道路;按照车辆经度变化量大于0或小于0,得出车辆行驶方向;基于不同车辆行驶向量叉积确定同向行驶的车流;计算道路区间上同向行驶车流的平均速度并作为某时刻的车辆流速。Determine the road where the road is located by including the latitude and longitude coordinates of Xinyuan buses and other private and commercial vehicles; according to the change in the longitude of the vehicle is greater than 0 or less than 0, the driving direction of the vehicle is obtained; based on the cross product of the driving vectors of different vehicles Traffic flow: Calculate the average speed of the same-direction traffic flow on the road section and use it as the vehicle speed at a certain time.

对于一些规模较大公交网络较发达的区域,仅根据公交系统信息尚不足以区分道路等级,但可通过长期的车辆流速确定某区间对应的道路等级,并用于完善所述数字化的交通线路图以及后续确定对应的交通拥堵等级。根据《CJJ37-90城市道路设计规范》,主干路被定义为“应为连接城市分区的干路,以交通功能为主。自行车交通流量大时,宜采用非机动车分隔行驶,如三幅路或者四幅路;主干路两侧不应设置吸引大流量车流、人流的公共建筑物的进出口。宽度大于15米,红线宽度大于3米。车辆时速60-80KM/H。”根据以上内容,并结合大数据车联网平台车辆行驶数据中的字段名构建主干路识别系统。为计算主干道车辆流速,需要对行驶在主干道车辆进行识别。一些现有调研结果显示,可基于车辆行驶速度作为判断识别主干路的重要标准,为了进行主干路判断需要定义车辆行驶速度判断标准和分析影响车辆速度判断的原因。车辆速度大于实际道路要求为超速行驶,在日均行驶数据少数存在,而因为高峰时段车辆速度低于规定速度在机动车保有量大的城市十分常见,所以如果数据表中存在25%的车辆如果存在连续5个时间采集点平均速度大于60千米每小时且小于80千米每小时则可以判定这段时间车辆行驶在主干道中。将车辆所在道路的交通流速结果储存如车辆行驶数据表中的交通道路流速字段,结果保留整数部分,以int类型保存。For some areas with relatively large-scale public transport networks, it is not enough to distinguish road grades only based on public transport system information, but the road grades corresponding to a certain interval can be determined by long-term vehicle speed, and used to improve the digital traffic route map and The corresponding traffic congestion level is subsequently determined. According to "CJJ37-90 Urban Road Design Specifications", the main road is defined as "should be the main road connecting the urban sub-districts, mainly for traffic functions. When the traffic flow of bicycles is large, it is advisable to use non-motor vehicles to drive separately, such as Sanwei Road. Or four roads; the entrances and exits of public buildings that attract large traffic and people flow should not be set on both sides of the main road. The width is greater than 15 meters, and the width of the red line is greater than 3 meters. The vehicle speed is 60-80KM/H.” According to the above content, and Combined with the field names in the vehicle driving data of the big data Internet of Vehicles platform, a trunk road identification system is constructed. In order to calculate the vehicle velocity on the main road, it is necessary to identify the vehicles driving on the main road. Some existing research results show that the vehicle speed can be used as an important criterion for judging and identifying the main road. In order to judge the main road, it is necessary to define the vehicle speed judgment standard and analyze the reasons that affect the vehicle speed judgment. The vehicle speed is higher than the actual road requirement, which is speeding, and there are few daily average driving data, and because the vehicle speed is lower than the specified speed during peak hours, it is very common in cities with a large number of motor vehicles, so if there are 25% of the vehicles in the data table, if If there are 5 consecutive time collection points, the average speed is greater than 60 kilometers per hour and less than 80 kilometers per hour, and it can be determined that the vehicle is driving on the main road during this period. Store the result of the traffic velocity of the road where the vehicle is located, such as the traffic road velocity field in the vehicle driving data table, and keep the integer part of the result and save it in int type.

为了根据实际城市道路进行更加细分的流量监控,在本发明的一个优选实施方式中,步骤五具体包括:In order to perform more subdivided flow monitoring according to actual urban roads, in a preferred embodiment of the present invention, step 5 specifically includes:

针对不同路段对应的道路等级:快速路、主干路、次干路和支路分别设定不同拥堵程度所对应的车辆流速阈值范围:For the road grades corresponding to different road sections: expressways, arterial roads, secondary arterial roads and branch roads, respectively set the range of vehicle velocity thresholds corresponding to different congestion levels:

表1Table 1

Figure BDA0003282653420000061
Figure BDA0003282653420000061

国内外交通拥挤指标计算研究方法、主要依据路段速度数据、道路交通密度、交通量、以及道路出行时间等研究对象确定。北上广深目前虽然对交通流量拥堵程度分类定义各不相同,计算方法亦不相同,但都是基于比例进行指数反映拥堵情况,并执行如15分钟为周期的定期更新。因此,在本发明的一个优选实施方式中,基于以下公式计算交通拥堵指数:The calculation and research methods of traffic congestion indicators at home and abroad are mainly determined based on research objects such as road speed data, road traffic density, traffic volume, and road travel time. Although Beijing, Shanghai, Guangzhou and Shenzhen currently have different classification definitions and calculation methods for the degree of traffic congestion, they are all based on the proportion to reflect the congestion situation, and perform regular updates such as 15 minutes. Therefore, in a preferred embodiment of the present invention, the traffic congestion index is calculated based on the following formula:

Figure BDA0003282653420000062
Figure BDA0003282653420000062

将拥堵指数划分为(1,2,3,4,5)5个级别,数值越大表示拥堵越严重;利用拥堵指数将交通道路分段并保存相应的位置、车辆流速信息;在车载终端根据拥堵指数从高到低在数字化的交通路线图上显示深红色、红色、橙色、绿色以及深绿色,以提供分段拥堵程度的显示。The congestion index is divided into five levels (1, 2, 3, 4, 5). The larger the value, the more serious the congestion; the congestion index is used to segment the traffic road and save the corresponding location and vehicle speed information; The congestion index is displayed in dark red, red, orange, green, and dark green on a digitized traffic route map from high to low to provide a segmented display of congestion levels.

数字化的交通路线图可基于测绘、悬赏征集、地方政府规划结合卫星航拍数据搭建城市道路图,并基于:聚类、栅格化、增量融合、节点链接、计算机图论等方法来得出车辆行驶所在道路的判断过程。基于这些方法结合公交车辆行驶以及站点数据得到的道路交通图,相比于传统方法,可节省人力物力,并可根据接入车联网中新能源汽车的行驶数据进行快速更新。The digital traffic route map can be based on surveying and mapping, reward collection, local government planning and satellite aerial data to build urban road maps, and based on: clustering, rasterization, incremental fusion, node linking, computer graph theory and other methods to obtain vehicle driving The process of judging the road. Based on these methods, the road traffic map obtained by combining bus driving and station data can save manpower and material resources compared with traditional methods, and can be quickly updated according to the driving data of new energy vehicles connected to the Internet of Vehicles.

应理解,本发明实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the embodiments of the present invention does not imply the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention .

尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, and substitutions can be made in these embodiments without departing from the principle and spirit of the invention and modifications, the scope of the present invention is defined by the appended claims and their equivalents.

Claims (4)

1. A traffic flow calculation method based on big data Internet of vehicles is characterized in that: the method specifically comprises the following steps:
step one, extracting all bus stop information set in a road by using network public information, wherein the method comprises the following steps: the method comprises the following steps of storing data of a stop name, a name of a line to which the stop belongs, longitude and latitude coordinates of the stop, and bus stop data of a stopped bus as character strings, and establishing a bus driving data information table by using the name of the line to which the stop belongs as a main key; all stop names contained in the lines are obtained according to the longitude and latitude coordinate sorting of all bus lines, and a table is stored and established according to a key value format of the [ line name, stop name ] and a character string data type; if the distance between the sites adjacent in sequence is greater than a preset value in the sequencing, determining that the sites belong to different lines; removing the weight of the form based on the longitude and latitude coordinates and the data of the vehicles stopped;
step two, acquiring real bus data of the new energy bus running on the road, calculating running vectors of the new energy bus entering the area to bus stops with two different stop names in the area respectively according to the difference of longitude and latitude coordinates of the vehicle collected successively in a circular area range radiated by each bus stop after processing, determining whether the two stops belong to similar stops on the same main road according to the cross product of the two running vectors, and if the cross product of the vehicle running to the bus stops with the two different stop names in the circular area is 0, determining that the two bus stops are the similar stops on the same main road, and merging the similar stops;
step three; traversing the passing stops of the new energy buses of all lines to obtain a traffic line topological table of each line, and fitting an actual road based on the topological table to obtain a digital traffic line graph of a specific area, wherein the digital traffic line graph truly reflects complete lines of different grades, such as trunk lines, branch lines and the like;
step four, calculating the actual vehicle running vector by the longitude and latitude coordinates of the new energy bus and other private and commercial operation vehicles to judge the actual road where the new energy bus is located; obtaining the driving direction of the vehicle according to the fact that the longitude variation of the vehicle is larger than 0 or smaller than 0, and determining the traffic flow in the same direction based on the cross product of the driving vectors of different vehicles; calculating the vehicle flow speed according to the speed of the vehicle passing through a certain road section;
and step five, determining corresponding traffic jam levels according to the vehicle flow rates of different road sections, and providing corresponding information for display on the digital traffic route map.
2. The method of claim 1, wherein: the third step specifically comprises:
after traversing the passing stops of the new energy buses of each line, adding adjacent stop fields into a [ line name, stop name ] form to form a traffic line topological table of each line; and constructing the digitized traffic route map based on the topological table and the real vehicle coordinate acquisition point connecting line fitting of the new energy bus.
3. The method of claim 2, wherein: and step four, determining a road grade corresponding to a certain interval based on the long-term vehicle flow speed, and perfecting the digitized traffic route map and subsequently determining a corresponding traffic jam grade.
4. The method of claim 3, wherein: the fifth step specifically comprises:
aiming at the road grades corresponding to different road sections: setting vehicle flow speed threshold ranges corresponding to different congestion degrees for the expressway, the main road, the secondary main road and the branch road respectively;
calculating a traffic congestion index based on the following formula:
Figure FDA0003693492570000021
dividing the congestion index into 5 levels, wherein the higher the numerical value is, the more serious the congestion is; segmenting the traffic road by using the congestion index and storing corresponding position and vehicle flow speed information; and displaying dark red, orange, green and dark green on the digitalized traffic route map according to the congestion indexes from high to low at the vehicle-mounted terminal so as to provide a display of the segmented congestion degree.
CN202111137546.8A 2021-09-27 2021-09-27 Traffic flow calculation method based on big data Internet of vehicles Active CN113870559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111137546.8A CN113870559B (en) 2021-09-27 2021-09-27 Traffic flow calculation method based on big data Internet of vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111137546.8A CN113870559B (en) 2021-09-27 2021-09-27 Traffic flow calculation method based on big data Internet of vehicles

Publications (2)

Publication Number Publication Date
CN113870559A CN113870559A (en) 2021-12-31
CN113870559B true CN113870559B (en) 2022-08-16

Family

ID=78991382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111137546.8A Active CN113870559B (en) 2021-09-27 2021-09-27 Traffic flow calculation method based on big data Internet of vehicles

Country Status (1)

Country Link
CN (1) CN113870559B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116340305B (en) * 2023-04-24 2023-10-20 上海叁零肆零科技有限公司 Method and system for repairing uniqueness of meter line table in topology of gas pipe network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177561A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Method and system for generating bus real-time traffic status
CN106781472A (en) * 2016-12-16 2017-05-31 北京世纪高通科技有限公司 A kind of road conditions detection method and device based on public transport car data
CN106781506A (en) * 2017-02-21 2017-05-31 济南全通信息科技有限公司 The real time execution level evaluation method of urban public traffic network on a large scale based on bus GPS data
CN112699284A (en) * 2021-01-11 2021-04-23 四川大学 Bus stop optimization visualization method based on multi-source data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009503638A (en) * 2005-07-22 2009-01-29 テラーゴ インコーポレイテッド Method, apparatus and system for modeling a road network graph
CN106372619B (en) * 2016-09-20 2019-08-09 北京工业大学 A Method for Robust Vehicle Detection and Accumulated Arrival Curve Estimation in Lanes
CN108806249B (en) * 2018-06-07 2021-06-11 上海市城市建设设计研究总院(集团)有限公司 Passenger trip optimization method based on bus APP software
GB2585243A (en) * 2019-07-05 2021-01-06 Valerann Ltd Traffic event and road condition identification and classification
CN112183469B (en) * 2020-10-27 2023-07-28 华侨大学 Method for identifying congestion degree of public transportation and self-adaptive adjustment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177561A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Method and system for generating bus real-time traffic status
CN106781472A (en) * 2016-12-16 2017-05-31 北京世纪高通科技有限公司 A kind of road conditions detection method and device based on public transport car data
CN106781506A (en) * 2017-02-21 2017-05-31 济南全通信息科技有限公司 The real time execution level evaluation method of urban public traffic network on a large scale based on bus GPS data
CN112699284A (en) * 2021-01-11 2021-04-23 四川大学 Bus stop optimization visualization method based on multi-source data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于爬虫及GIS 技术的路况数据获取及分析;阳利锋;《数字化与信息化》;20210430(第4期);第117-119页 *

Also Published As

Publication number Publication date
CN113870559A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
CN106197458B (en) A kind of mobile phone user's trip mode recognition methods based on mobile phone signaling data and navigation route data
CN102136194B (en) Road traffic condition detection device based on panorama computer vision
CN104050817B (en) Speed limiting information base generation and speed limiting information detection method and system
CN110363985B (en) Traffic data analysis method, device, storage medium and equipment
CN107240264B (en) A kind of non-effective driving trace recognition methods of vehicle and urban road facility planing method
CN108550261A (en) Urban transportation OD computational methods based on RFID electronic license plates
CN102663887A (en) Road traffic information cloud computing and cloud service implementation system and method based on Internet of Things technology
CN114363316B (en) Cross-regional road infrastructure intelligent networking monitoring and supervision system
CN112036757B (en) Mobile phone signaling and floating car data-based parking transfer parking lot site selection method
CN101976505A (en) Traffic evaluation method and system
CN1937001A (en) Method for obtaining everage speed of city road section traffic flow
CN103593973A (en) Urban road traffic situation assessment system
CN102663890B (en) Method for determining left-turning forbiddance traffic limitation intersection by using floating car data
CN111340415A (en) Vehicle spontaneous formation mode mining method based on freight track data
WO2020192123A1 (en) Method for improving accuracy of positioning traffic accident site
CN113837446B (en) Airport land side area traffic situation prediction method based on multi-source heterogeneous data
CN109147323A (en) A kind of vehicle GPS data processing method for highway passenger and freight transportation indicator-specific statistics
CN103942952B (en) A kind of road network functional hierarchy state grade appraisal procedure
CN104933884A (en) Handset positioning information-based real-time road traffic condition navigation system
CN110245774A (en) A method of regular service route optimization is carried out according to employee's home address
CN108877244A (en) A kind of public transit vehicle intersection operation bottleneck method of discrimination based on dynamic data
CN104599499B (en) A kind of method and device of distributed statistics traffic location
CN113096389B (en) A national highway network topology construction method based on multi-source data
CN108876075A (en) Urban Rail Transit Stations area preferably walkability evaluation method
CN108108859A (en) A kind of traffic administration duties optimization method based on big data analysis

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