CN103177562B - A kind of method and device obtaining information of traffic condition prediction - Google Patents
A kind of method and device obtaining information of traffic condition prediction Download PDFInfo
- Publication number
- CN103177562B CN103177562B CN201110442337.4A CN201110442337A CN103177562B CN 103177562 B CN103177562 B CN 103177562B CN 201110442337 A CN201110442337 A CN 201110442337A CN 103177562 B CN103177562 B CN 103177562B
- Authority
- CN
- China
- Prior art keywords
- road
- terminal
- predicted
- information
- time
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000033001 locomotion Effects 0.000 claims description 8
- 238000013461 design Methods 0.000 claims description 7
- 238000012806 monitoring device Methods 0.000 abstract description 6
- 238000013500 data storage Methods 0.000 description 23
- 238000007405 data analysis Methods 0.000 description 21
- 238000004458 analytical method Methods 0.000 description 9
- 230000003068 static effect Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 206010048669 Terminal state Diseases 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000001151 other effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000029305 taxis Effects 0.000 description 1
Landscapes
- Traffic Control Systems (AREA)
Abstract
本发明提供一种获取交通状态预测所需信息的方法及装置,以解决现有技术中存在的,需要专用的监测装置完成交通状态信息的采集的问题,该方法包括:服务器获取待预测区域各小区的小区识别码CELLID,以及各小区的位置信息,根据获取的CELLID小区识别码,从移动网络中存有位置信息的网元中获取各小区下终端的标识信息,并得到具有读取的标识信息的各终端分别在各网元最后登记时间,根据各小区的位置信息、和各终端分别在各网元最后登记时间,得到交通状态预测所需的信息,由于从无线网络中存有位置信息的网元中读取相关数据,得到交通状态预测所需的信息,进而不需专用的监测装置完成交通状态信息的采集。
The present invention provides a method and device for obtaining information required for traffic state prediction to solve the problem existing in the prior art that a dedicated monitoring device is required to complete the collection of traffic state information. The method includes: the server obtains each The cell identification code CELLID of the cell, and the location information of each cell, according to the obtained cell ID cell identification code, obtain the identification information of the terminal under each cell from the network element storing the location information in the mobile network, and obtain the identification information with the read According to the last registration time of each terminal in each network element of the information, the information required for traffic state prediction can be obtained according to the location information of each cell and the last registration time of each terminal in each network element. Since the location information stored in the wireless network The relevant data is read from the network elements of the network, and the information required for traffic state prediction is obtained, so that the collection of traffic state information does not need a dedicated monitoring device.
Description
技术领域 technical field
本发明涉及移动通信领域,特别涉及一种获取交通状态预测所需信息的方法及装置。The invention relates to the field of mobile communication, in particular to a method and device for acquiring information required for traffic state prediction.
背景技术 Background technique
现有的道路交通预测网络建立主要通过指定路口调查问卷方式,通过人工方式采集人口区域性流动的静态预测数据,通过在特定路口布置地理式感应检测、视频检测等设备对指定路口获取当前交通的实时数据。再通过两种数据,采用数理统计的方法,对交通流、交通速度、旅行时间等进行预测。地理感应式技术、视频检测技术等针对路段的技术,均只能对区域性及特定装有以上检测装置的路段进行检测,并且造价高昂,难以普及全部公路路段。可见在进行交通状态预测时,往往需要建立多个监测,并基于监测点完成例如车辆速度、车辆数量等交通状态信息的采集。The existing road traffic forecasting network is mainly established through questionnaires at designated intersections, manually collecting static prediction data on regional population flows, and obtaining current traffic information at designated intersections by arranging geographic sensing detection, video detection and other equipment at specific intersections. Real-time data. Then, through the two kinds of data, the traffic flow, traffic speed, travel time, etc. are predicted by the method of mathematical statistics. Geo-sensing technology, video detection technology and other technologies for road sections can only detect regional and specific road sections equipped with the above detection devices, and the cost is high, so it is difficult to popularize all road sections. It can be seen that when predicting the traffic state, it is often necessary to establish multiple monitoring points, and complete the collection of traffic state information such as vehicle speed and number of vehicles based on the monitoring points.
由此可见现有技术中存在如下的问题:需要专用的监测装置完成交通状态信息的采集。It can be seen that the following problems exist in the prior art: a dedicated monitoring device is required to complete the collection of traffic state information.
发明内容 Contents of the invention
本发明的目的是针对现有技术中存在的,需要专用的监测装置完成交通状态信息的采集的问题,提供一种获取交通状态预测所需信息的方法及装置,该方法包括:The purpose of the present invention is aimed at existing in the prior art, needs the problem that special-purpose monitoring device completes the collection of traffic state information, provides a kind of method and device for obtaining the required information of traffic state prediction, and this method comprises:
服务器获取待预测区域各小区的小区识别码,以及各小区的位置信息;The server acquires the cell identification codes of each cell in the area to be predicted, and the location information of each cell;
服务器根据获取的小区识别码,从移动网络中存有位置信息的网元中获取各小区下终端的标识信息,并得到具有读取的标识信息的各终端分别在各网元最后登记时间;According to the obtained cell identification code, the server obtains the identification information of the terminals in each cell from the network elements storing the location information in the mobile network, and obtains the last registration time of each terminal with the read identification information in each network element respectively;
服务器根据各小区的位置信息、和各终端分别在各网元最后登记时间,得到交通状态预测所需的信息。The server obtains information required for traffic state prediction according to the location information of each cell and the last registration time of each terminal in each network element.
进一步,交通状态预测所需的信息包括:终端在预定时间段的移动速度。Further, the information required for traffic state prediction includes: the moving speed of the terminal within a predetermined period of time.
进一步,交通状态预测所需的信息还包括:终端在预定时间段的移动路径。Further, the information required for traffic state prediction also includes: the moving path of the terminal within a predetermined time period.
进一步,交通状态预测所需的信息包括:服务器根据终端在预定时间段的移动速度,以及终端在预定时间段的移动路径,确定的终端在预定时间段所属交通工具类型。Further, the information required for traffic state prediction includes: the server determines the type of vehicle that the terminal belongs to during the predetermined time period according to the moving speed of the terminal during the predetermined time period and the moving path of the terminal during the predetermined time period.
进一步,还包括:Further, it also includes:
服务器在进行交通状态预测之前,根据预定天数内的预定时间段终端的数量、终端移动速度、终端移动路径以及终端所属交通工具类型,确定并存储在预定时间段,终端所属交通工具、该交通工具的行驶路径、道路占用率对应关系,其中道路占用率对应关系为道路占用率和用于表示交通状态预测结果的参数的对应关系;Before predicting the traffic status, the server determines and stores the vehicle to which the terminal belongs, the vehicle to which The corresponding relationship between the driving path and the road occupancy rate, wherein the corresponding relationship between the road occupancy rate is the corresponding relationship between the road occupancy rate and the parameters used to represent the traffic state prediction results;
服务器获取进行交通状态预测当天预定时间段的,待预测区域道路上的实时道路交通状态信息;The server obtains the real-time road traffic status information on the roads in the area to be predicted during the scheduled time period of the traffic status prediction day;
服务器根据存储的终端所属交通工具以及交通工具的行驶路径,得到待预测区域道路上将要进入和驶出交通工具的数量;According to the stored vehicle to which the terminal belongs and the driving path of the vehicle, the server obtains the number of vehicles that will enter and exit the road in the area to be predicted;
服务器根据实时道路交通状态信息、进入和驶出交通工具的数量,预测道路占用率,并根据预测的道路占用率,以及存储的道路占用率对应关系,进行交通状态预测,得到预测结果。The server predicts the road occupancy rate according to the real-time road traffic state information and the number of vehicles entering and leaving, and predicts the traffic state according to the predicted road occupancy rate and the corresponding relationship of the stored road occupancy rate, and obtains the prediction result.
进一步,表示交通状态预测结果的参数为交通工具的道路通行时间;Further, the parameter representing the traffic state prediction result is the road transit time of the vehicle;
服务器获取进行交通状态预测当天预定时间段的,待预测区域道路上的实时道路交通状态信息具体为:The server obtains the real-time road traffic state information on the roads in the area to be predicted for the predetermined time period of the day when the traffic state prediction is performed:
服务器根据进行交通状态预测当天预定时间段的,待预测区域道路上的终端总数,各终端的移动速度、移动路径以及所属交通工具类型,得到预测当天的预定时间段的,待预测区域道路上的实时交通工具数量N;According to the total number of terminals on the roads in the area to be predicted during the scheduled time period of the day when the traffic status is predicted, the moving speed, moving path and vehicle type of each terminal, the server obtains the number of terminals on the roads in the area to be predicted during the scheduled time period of the forecasted day. The number of real-time vehicles N;
服务器根据,实时道路交通状态信息、进入和驶出交通工具的数量,预测道路占用率,并根据预测的道路占用率,以及存储的道路占用率对应关系,进行交通状态预测,得到预测结果具体为:The server predicts the road occupancy rate based on the real-time road traffic status information, the number of vehicles entering and leaving, and predicts the traffic state according to the predicted road occupancy rate and the corresponding relationship between the stored road occupancy rate, and the prediction result is specifically: :
服务器计算预测的道路占用率Pi,其中Pi=Ni/C,Ni=N+In+Out,C为设计交通量,In为待预测区域道路上将要进入交通工具的数量,Out为待预测区域道路上将要驶出交通工具的数量;The server calculates the predicted road occupancy rate Pi, where Pi=Ni/C, Ni=N+In+Out, C is the design traffic volume, In is the number of vehicles that will enter the road in the area to be predicted, and Out is the road in the area to be predicted the number of vehicles to be driven out;
服务器根据预测的道路占用率Pi,以及道路占用率和道路通行时间的对应关系,进行交通状态预测,得到预测的道路通行时间。The server predicts the traffic state according to the predicted road occupancy rate Pi and the corresponding relationship between the road occupancy rate and the road passing time, and obtains the predicted road passing time.
进一步,还包括:Further, it also includes:
服务器根据终端上报的包括目的地址的导航请求,从移动网络中存有位置信息的网元中读取终端所属小区的位置信息;According to the navigation request including the destination address reported by the terminal, the server reads the location information of the cell to which the terminal belongs from the network element storing the location information in the mobile network;
服务器根据终端所属小区的位置信息和目的地址,以及预测的道路通行时间,为终端选择导航路径。The server selects a navigation route for the terminal according to the location information of the cell to which the terminal belongs, the destination address, and the predicted road passing time.
进一步,服务器根据终端所属小区的位置信息和目的地址,以及预测的道路通行时间,为终端选择导航路径具体为:Further, the server selects a navigation path for the terminal according to the location information and destination address of the cell to which the terminal belongs, and the predicted road passing time, specifically:
服务器根据终端所属小区的位置信息和目的地址,以及预测的道路通行时间,确定时间变化的最短路径,并将时间变化的最短路径作为为终端选择的导航路径。The server determines the time-varying shortest path according to the location information and destination address of the cell to which the terminal belongs, and the predicted road passing time, and takes the time-varying shortest path as the navigation path selected for the terminal.
本发明实施例还提供一种获取交通状态预测所需信息的装置,包括:The embodiment of the present invention also provides a device for obtaining information required for traffic state prediction, including:
位置获取模块:用于获取待预测区域各小区的小区识别码,以及各小区的位置信息;Position acquisition module: used to acquire the cell identification codes of each cell in the area to be predicted, and the location information of each cell;
时间获取模块:用于根据获取的小区识别码,从移动网络中存有位置信息的网元中获取各小区下终端的标识信息,并得到具有读取的标识信息的各终端分别在各网元最后登记时间;Time acquisition module: used to obtain the identification information of the terminals in each cell from the network elements that store location information in the mobile network according to the acquired cell identification code, and obtain the identification information of each terminal with the read identification information in each network element Last registration time;
信息获取模块:用于根据各小区的位置信息、和各终端分别在各网元最后登记时间,得到交通状态预测所需的信息。Information acquisition module: used to obtain the information required for traffic state prediction according to the location information of each cell and the last registration time of each terminal in each network element.
进一步,还包括:Further, it also includes:
存储模块:用于在进行交通状态预测之前,根据预定天数内的预定时间段终端的数量、终端移动速度、终端移动路径以及终端所属交通工具类型,确定并存储在预定时间段,终端所属交通工具、该交通工具的行驶路径、道路占用率对应关系,其中道路占用率对应关系为道路占用率和用于表示交通状态预测结果的参数的对应关系,其中交通状态预测所需的信息包括:终端在预定时间段的移动速度、终端在预定时间段的移动路径和根据终端在预定时间段的移动速度,以及终端在预定时间段的移动路径,确定的终端在预定时间段所属交通工具类型。Storage module: used to determine and store in the predetermined time period, the vehicle to which the terminal belongs according to the number of terminals, terminal moving speed, terminal moving path and the type of vehicle to which the terminal belongs within a predetermined number of days before predicting the traffic state. , the corresponding relationship between the driving path of the vehicle and the road occupancy rate, wherein the corresponding relationship between the road occupancy rate is the corresponding relationship between the road occupancy rate and the parameters used to represent the traffic state prediction results, and the information required for the traffic state prediction includes: The moving speed of the predetermined time period, the moving path of the terminal in the predetermined time period, and the vehicle type determined according to the moving speed of the terminal in the predetermined time period and the moving path of the terminal in the predetermined time period.
实时获取模块:用于获取进行交通状态预测当天预定时间段的,待预测区域道路上的实时道路交通状态信息;Real-time acquisition module: used to obtain real-time road traffic status information on the roads in the area to be predicted during the scheduled time period of the traffic status prediction day;
数量确定模块:用于根据存储的终端所属交通工具以及交通工具的行驶路径,得到待预测区域道路上将要进入和驶出交通工具的数量;Quantity determination module: used to obtain the number of vehicles that will enter and leave the road in the area to be predicted according to the stored vehicle to which the terminal belongs and the driving path of the vehicle;
结果预测模块:用于根据实时道路交通状态信息、进入和驶出交通工具的数量,预测道路占用率,并根据预测的道路占用率,以及存储的道路占用率对应关系,进行交通状态预测,得到预测结果。Result prediction module: it is used to predict the road occupancy rate according to the real-time road traffic state information, the number of vehicles entering and leaving, and predict the traffic state according to the predicted road occupancy rate and the corresponding relationship of the stored road occupancy rate, and obtain forecast result.
进一步,表示交通状态预测结果的参数为交通工具的道路通行时间;Further, the parameter representing the traffic state prediction result is the road transit time of the vehicle;
实时获取模块:还用于根据进行交通状态预测当天预定时间段的,待预测区域道路上的终端总数,各终端的移动速度、移动路径以及所属交通工具类型,得到预测当天的预定时间段的,待预测区域道路上的实时交通工具数量N;Real-time acquisition module: it is also used to predict the scheduled time period of the day according to the traffic status prediction, the total number of terminals on the road in the area to be predicted, the moving speed, moving path and vehicle type of each terminal, and obtain the scheduled time period of the forecasted day, The number of real-time vehicles N on the road in the area to be predicted;
结果预测模块:还用于计算预测的道路占用率Pi,其中Pi=Ni/C,C为设计交通量,Ni=N+In+Out,In为待预测区域道路上将要进入交通工具的数量,Out为待预测区域道路上将要驶出交通工具的数量;Result prediction module: it is also used to calculate the predicted road occupancy rate Pi, wherein Pi=Ni/C, C is the design traffic volume, Ni=N+In+Out, In is the quantity that will enter the vehicle on the road to be predicted area, Out is the number of vehicles that will drive out on the road in the area to be predicted;
服务器根据预测的道路占用率Pi,以及道路占用率和道路通行时间的对应关系,进行交通状态预测,得到预测的道路通行时间。The server predicts the traffic state according to the predicted road occupancy rate Pi and the corresponding relationship between the road occupancy rate and the road passing time, and obtains the predicted road passing time.
进一步,还包括:Further, it also includes:
读取模块:用于根据终端上报的包括目的地址的导航请求,从移动网络中存有位置信息的网元中读取终端所属小区的位置信息;Reading module: used to read the location information of the cell to which the terminal belongs from the network element storing the location information in the mobile network according to the navigation request including the destination address reported by the terminal;
选择模块:用于根据终端所属小区的位置信息和目的地址,以及预测的道路通行时间,为终端选择导航路径。Selection module: used to select a navigation route for the terminal according to the location information and destination address of the cell to which the terminal belongs, as well as the predicted road passing time.
进一步,选择模块:还用于根据终端所属小区的位置信息和目的地址,以及预测的道路通行时间,确定时间变化的最短路径,并将时间变化的最短路径作为为终端选择的导航路径。Further, the selection module: it is also used to determine the shortest path with time variation according to the location information and destination address of the cell to which the terminal belongs, and the predicted road transit time, and use the shortest path with time variation as the navigation path selected for the terminal.
由于从移动网络中存有位置信息的网元中读取相关数据,得到交通状态预测所需的信息,进而不需专用的监测装置完成交通状态信息的采集。Since the relevant data is read from the network element storing the location information in the mobile network, the information required for the traffic state prediction is obtained, and the collection of the traffic state information does not need a dedicated monitoring device.
附图说明 Description of drawings
图1表示本发明提供的具体实施时采用的系统架构图;Fig. 1 represents the system architecture diagram that adopts when the concrete implementation that the present invention provides;
图2表示本发明提供的方法流程图;Fig. 2 represents the method flowchart provided by the present invention;
图3表示本发明提供的交通预测网络节点示意图;Fig. 3 represents the traffic prediction network node schematic diagram provided by the present invention;
图4表示本发明提供的最短路径计算所需交通预测网络节点示意图;Fig. 4 represents the schematic diagram of the required traffic prediction network nodes for the shortest path calculation provided by the present invention;
图5表示本发明提供的装置结构图。Fig. 5 shows the structural diagram of the device provided by the present invention.
具体实施方式 Detailed ways
下面结合说明书附图对本发明优选实施例进行说明,本发明实施例提供一种获取交通状态预测所需信息的方法及装置,以解决现有技术中存在的,需要专用的监测装置完成交通状态信息的采集的问题。The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. The embodiments of the present invention provide a method and device for obtaining information required for traffic state prediction to solve the problem in the prior art that a dedicated monitoring device is required to complete the traffic state information. collection problem.
本实施例中,服务器获取待预测区域各小区的小区识别码,以及各小区的位置信息,服务器根据获取的小区识别码,从移动网络中存有位置信息的网元如移动网络的拜访位置寄存器VLR中读取,各小区下终端的标识信息,和终端分别在各网元最后登记时间,服务器根据各小区的位置信息、读取的终端的标识信息和终端在各网元最后登记时间,得到交通状态预测所需的信息。移动网络中存有位置信息的网元还可以是,MSC(移动交换中心)、软交换控制器、SGSN、MME、HSS等。In this embodiment, the server obtains the cell identification codes of each cell in the area to be predicted, and the location information of each cell, and the server obtains the location information from the network element in the mobile network such as the visitor location register of the mobile network according to the obtained cell identification code. Read in the VLR, the identification information of the terminal in each cell, and the last registration time of the terminal in each network element respectively, and the server obtains Information required for traffic state prediction. The network element storing the location information in the mobile network may also be MSC (Mobile Switching Center), Softswitch Controller, SGSN, MME, HSS, etc.
本实施例在具体实施时,基于智能交通预测网的导航系统安装在服务器中,可实现交通状态预测所需信息的获取及导航服务,其采用的系统架构中包括的功能模块如下:地图数据库101,VLR读取模块102,VLR数据分析模块103,历史数据存储模块104,交通状态预测模块105,个人导航模块106。In the actual implementation of this embodiment, the navigation system based on the intelligent traffic prediction network is installed in the server, which can realize the acquisition of the information required for traffic state prediction and navigation services, and the functional modules included in the system architecture that it adopts are as follows: map database 101 , VLR reading module 102, VLR data analysis module 103, historical data storage module 104, traffic state prediction module 105, personal navigation module 106.
地图数据库101,与交通状态预测模块105,VLR读取模块102进行信息交互,包含道路信息和分布在道路周围的小区信息。主要包道路的地图信息,以及每条道路包含小区的小区标识CELLID对应的地理位置信息,所属每条公路信息(包括公路的车道数N,是否单行道等);向交通状态预测模块提供相应的静态地图信息数据;向VLR读取模块提供需要读取的CELLID信息。The map database 101 performs information interaction with the traffic state prediction module 105 and the VLR reading module 102, and includes road information and cell information distributed around the road. The map information of the main package road, and each road contains the geographic location information corresponding to the cell ID CELLID of the community, and the information of each road to which it belongs (including the lane number N of the road, whether it is a one-way street, etc.); provide the corresponding traffic state prediction module Static map information data; provide the CELLID information to be read to the VLR reading module.
VLR读取模块102,与地图数据库101,VLR数据分析模块103及VLR进行信息交互,是一个从VLR中读取实时位置信息的模块实体。主要负责:从地图数据库获取需要读取的小区CELLID信息;根据读取到的CELLID信息,从VLR中获取从属每个CELLID的MS相关信息,如IMSI,最后登记时间等数据;将以上信息综合,向VLR数据分析模块提供相应数据。The VLR reading module 102 performs information interaction with the map database 101, the VLR data analysis module 103 and the VLR, and is a module entity for reading real-time location information from the VLR. Mainly responsible for: obtaining cell ID information to be read from the map database; obtaining relevant MS information of each cell ID from the VLR according to the read cell ID information, such as IMSI, last registration time and other data; integrating the above information, Provide corresponding data to the VLR data analysis module.
VLR数据分析模块103,与VLR读取模块102,历史数据存储模块104,交通状态预测模块105进行信息交互。主要负责两大功能:对实时数据的分析处理,对终端的运行状态分析,并将终端当前的状态提交给交通状态预测模块;将一段时间内的实时数据分析,分析判断每个终端的历史路径,将路径信息向历史数据存储模块保存。The VLR data analysis module 103 performs information interaction with the VLR reading module 102 , the historical data storage module 104 and the traffic state prediction module 105 . It is mainly responsible for two functions: analysis and processing of real-time data, analysis of terminal operating status, and submitting the current status of the terminal to the traffic status prediction module; analyzing real-time data within a period of time, analyzing and judging the historical path of each terminal , saving the path information to the historical data storage module.
历史数据存储模块104,可以是一个实时更新的数据存储模块。与VLR数据分析模块、交通状态预测模块进行信息交互。接收来自VLR数据分析模块中的消息,分析并保存有每个终端在公共交通中主要所属类型(公交,私家车),每个终端在不同时段的常用路径息。同时向交通状态预测模块提供终端的历史信息。The historical data storage module 104 may be a real-time updated data storage module. Information interaction with VLR data analysis module and traffic state prediction module. Receive the message from the VLR data analysis module, analyze and save the main type (bus, private car) of each terminal in public transportation, and the common route information of each terminal at different time periods. At the same time, it provides the historical information of the terminal to the traffic state prediction module.
交通状态预测模块105,与地图数据库101,VLR数据分析模块103,历史数据存储模块104,个人导航模块106进行信息交互,是根据来自地图数据库的地图信息,历史数据存储模块的历史路径信息以及来自VLR数据分析模块中当前路况的实时信息对交通状态进行预测。主要负责:从地图数据库中小区的小区标识CELLID对应的地理位置信息,车道数等静态数据;通过来自于VLR数据分析模块的实时数据,分析得到当前公路中行驶的车辆数,车辆行驶方向,车辆平均行驶速度,道路占有率等数据;从历史数据存储模块中获取当前公路中行驶车辆的路径,对当前道路驶出车辆进行预测。综合三者信息,可以对每一条道路在下一个时间段内的交通状态进行预测。The traffic state prediction module 105 carries out information interaction with the map database 101, the VLR data analysis module 103, the historical data storage module 104, and the personal navigation module 106, based on the map information from the map database, the historical path information from the historical data storage module and the The real-time information of the current road condition in the VLR data analysis module predicts the traffic state. Mainly responsible: From the static data such as geographic location information corresponding to the cell ID CELLID in the map database, the number of lanes, etc.; through the real-time data from the VLR data analysis module, analyze and obtain the number of vehicles driving on the current road, the direction of the vehicle, and the number of vehicles. Average driving speed, road occupancy rate and other data; obtain the path of the vehicle driving on the current road from the historical data storage module, and predict the vehicle leaving the current road. Combining the information of the three, the traffic status of each road in the next time period can be predicted.
个人导航模块106,与交通状态预测模块105及VLR分析模块103进行信息交互。个人导航模块针对特定用户,根据VLR分析模块中用户的位置信息,及用户设置的目的地信息,通过交通预测模块预测的交通状态,为用户选择合理的路径。The personal navigation module 106 performs information interaction with the traffic state prediction module 105 and the VLR analysis module 103 . For a specific user, the personal navigation module selects a reasonable route for the user according to the user's location information in the VLR analysis module, the destination information set by the user, and the traffic status predicted by the traffic prediction module.
当然上述功能模块的划分,只是便于本实施例方案的实施,本实施例不对此进行限定。Of course, the division of the above functional modules is just to facilitate the implementation of the solution of this embodiment, and this embodiment does not limit it.
基于上述的系统架构,本发明实施例提供的方法流程图如下图2所示,包括如下步骤:Based on the above-mentioned system architecture, the flow chart of the method provided by the embodiment of the present invention is shown in Figure 2 below, including the following steps:
步骤201.初始化:系统接入移动网络并将地图静态数据由地图数据库导入交通状态预测模块,地图静态数据包括:地图中基站小区的位置信息,小区范围信息,道路车道数等静态数据。Step 201. Initialization: the system connects to the mobile network and imports the static map data from the map database into the traffic state prediction module. The static map data includes: the location information of the base station cell in the map, the cell range information, the number of road lanes and other static data.
通过本步骤服务器就可以获取到待预测区域各小区的位置信息。Through this step, the server can obtain the location information of each cell in the area to be predicted.
步骤202.位置信息数据的获取:VLR读取模块从地图数据库中读取CELLID,根据读取到的CELLID信息,从VLR中获取从属每个CELLID的移动终端MS相关信息,如IMSI,最后登记时间等数据。Step 202. Acquisition of location information data: the VLR reading module reads the CELLID from the map database, and according to the read CELLID information, obtains relevant information of the mobile terminal MS subordinate to each CELLID from the VLR, such as IMSI, and the last registration time and other data.
由于是对道路状态进行检测,因此,只需要关注在公路附近即待预测区域的移动终端的位置信息,根据地图数据库中,分布在道路附近的小区的CELLID是公路信息所需要的,因此,进仅读取公路附近的用户信息,包括,IMSI,最后登录时间等。此处可以获得每个小区中登记的终端,在小区最后登记的时间。Since the state of the road is detected, it is only necessary to pay attention to the location information of the mobile terminal near the road, that is, the area to be predicted. According to the map database, the cell IDs of the cells distributed near the road are needed for the road information. Therefore, further Only read user information near roads, including, IMSI, last login time, etc. Here, the terminals registered in each cell can be obtained, and the last registration time of the cell is obtained.
通过本步骤服务器就可以获取待预测区域各小区的小区识别码CELLID,并且,根据获取的CELLID,从VLR中读取各小区下终端的标识信息如IMSI,和各个终端分别在各网元最后登记时间。Through this step, the server can obtain the cell identification code CELLID of each cell in the area to be predicted, and, according to the obtained CELLID, read the identification information of the terminal under each cell from the VLR, such as IMSI, and register each terminal at the end of each network element respectively time.
步骤203.VLR数据分析:VLR数据分析模块从VLR读取模块中读取数据,根据来自于VLR读取模块的数据作以下操作:终端移动速度计算,终端移动路径计算,终端所属交通工具类型判断。Step 203. VLR data analysis: the VLR data analysis module reads data from the VLR reading module, and performs the following operations according to the data from the VLR reading module: terminal moving speed calculation, terminal moving path calculation, and terminal vehicle type judgment .
移动终端在以下几种情况会作位置更新:正常位置更新(即越位置区的位置更新)、周期性位置更新和IMSI附着分离(对应用户开机)、发起业务。根据移动终端位置更新时对VLR数据的修改可以对其中的数据分析。The mobile terminal will perform location update in the following situations: normal location update (that is, location update beyond the location area), periodic location update and IMSI attachment and detachment (corresponding to user power-on), and service initiation. According to the modification of the VLR data when the mobile terminal position is updated, the data therein can be analyzed.
下面对VLR数据分析模块所作的操作进行详细说明。The operation of the VLR data analysis module will be described in detail below.
终端移动速度计算:根据VLR中的终端IMSI对应的小区CELLID,及最后登录时间,可以得到此终端上一时刻所在的位置;两次位置更新对应小区信息在地图上对应的距离,除以两次位置更新的时间间隔则是终端的移动速度。Terminal moving speed calculation: according to the cell ID corresponding to the terminal IMSI in the VLR, and the last login time, you can get the location of the terminal at the last moment; the distance corresponding to the cell information on the map corresponding to the two location updates is divided by two times The time interval for updating the location is the moving speed of the terminal.
移动路径计算:根据对终端位置更新的小区信息,记录终端在不同时刻的路径。上一次位置更新所在的位置到下一场位置更新的位置则为终端的移动方向。Movement path calculation: According to the updated cell information of the terminal location, record the path of the terminal at different times. The location from the last location update to the next location update is the moving direction of the terminal.
终端所属交通工具类型分析:公路中主要的交通工具类型主要有:公交车,出租车,私家车,行人。在对交通状况预测时,必须区分终端在不同时刻使用的交通工具。Analysis of the types of vehicles that the terminal belongs to: the main types of vehicles on the highway are: buses, taxis, private cars, and pedestrians. When predicting traffic conditions, it is necessary to distinguish the means of transport used by the terminal at different times.
对行人的判断:根据计算所得终端的移动速度,在某个时间段内,长时间保持低速运动,行动路径不规律的终端,被判定为在这个时间段为普通步行方式,具体是低速运动还是高速运动,可以通过和设定的阈值比较来判断,如阈值设定为10公里/小时。Judgment on pedestrians: According to the calculated moving speed of the terminal, within a certain period of time, a terminal that maintains low-speed movement for a long time and has an irregular action path is judged to be a normal walking mode during this period of time. Specifically, it is low-speed movement or High-speed movement can be judged by comparing with a set threshold, for example, the threshold is set to 10 km/h.
对公交车的判断:根据计算所得终端的移动速度及移动路径,根据公交车行驶的特殊性,可以判断,那些一天之内大部分时间都在指定路径移动的终端所在的交通工具是公交车司机所持有的终端。同时,大部分时间静止,在特定时间内,与公交车司机终端行驶路径及终端状态想匹配的终端,被判定,在这个时间段内,所使用的交通工具是公交车。Judgment on the bus: According to the calculated moving speed and moving path of the terminal, according to the particularity of the bus driving, it can be judged that the means of transportation of the terminals that move on the designated path most of the day are bus drivers terminal held. At the same time, most of the time is still, and within a certain period of time, the terminal that matches the driving path and terminal state of the bus driver's terminal is judged. During this time period, the vehicle used is a bus.
对出租车的判断:根据计算所得终端的移动速度及移动路径,由于出租车的行为是长时间在道路上高速运动,并且行动路径不确定,则可以判断此终端所在的交通工具是出租车。在特定时间内,与出租车的移动速度及移动路径一致的终端,被判定在这个时间段内,终端所属的交通工具是出租车。Judgment on the taxi: According to the calculated moving speed and moving path of the terminal, since the behavior of the taxi is to move at high speed on the road for a long time, and the moving path is uncertain, it can be judged that the vehicle where the terminal is located is a taxi. Within a specific time period, the terminal whose moving speed and moving path are consistent with the taxi is determined to be a taxi to which the terminal belongs within this time period.
对私家车的判断,根据计算所得终端的移动速度及移动路径,在一天之内,并非长时间在道路上高速运动,同时运动的起点和终点路径相似的终端,可以判断成终端所属的交通工具为私家车。For the judgment of private cars, according to the calculated moving speed and moving path of the terminal, the terminal that does not move at high speed on the road for a long time within a day, and the starting point and end point of the movement are similar, can be judged as the vehicle to which the terminal belongs for a private car.
通过上述的终端所属交通工具类型分析方法的实例说明可知,服务器根据终端在预定时间段的移动速度,以及终端在预定时间段的移动路径,就可以确定终端在预定时间段所属交通工具类型是公交车,出租车或私家车。Through the example description of the analysis method for the type of vehicle to which the terminal belongs, it can be seen that the server can determine that the type of vehicle that the terminal belongs to in the predetermined time period is bus car, taxi or private car.
步骤204.历史数据获取:根据来自VLR数据分析模块的路径信息,通过一个较长时间的处理,可以得到终端最常经过的路径作为某时间段的历史路径。当达到时间阈值时,告知公路状态预测模块开始工作,并将历史数据发送给公路状态预测模块。Step 204. Acquisition of historical data: According to the path information from the VLR data analysis module, through a long period of processing, the most frequently passed path of the terminal can be obtained as the historical path of a certain period of time. When the time threshold is reached, the road state prediction module is informed to start working, and the historical data is sent to the road state prediction module.
根据VLR数据分析模块的信息,对不同时间段,终端的数量、每个终端的移动速度,移动路径,所属交通工具类型进行综合,将一个较长的时间范围内如一个月的时间,每个终端在不同时间段所属的交通工具及该交通工具行驶路径进行保存。将此信息作为此终端在不同时间段内发生交通参与的最大可能行为估计。例如共100个终端,其中的30个的终端的移动速度,移动路径相同,所属交通工具类型为公交车,确定这30个终端所属的交通工具为同一辆公交车,类似的可以判断其它70个终端所属的交通工具分别是什么。According to the information of the VLR data analysis module, the number of terminals, the moving speed of each terminal, the moving path, and the type of vehicle in different time periods are synthesized. In a longer time range such as one month, each The vehicle to which the terminal belongs in different time periods and the driving route of the vehicle are saved. Use this information as an estimate of the maximum possible behavior of this terminal's traffic engagement over different time periods. For example, there are a total of 100 terminals, 30 of which have the same moving speed and the same moving path, and the type of vehicle they belong to is a bus. It is determined that the vehicles to which these 30 terminals belong are the same bus, and the other 70 terminals can be judged similarly. What are the means of transport to which the terminal belongs?
这样服务器可以在进行交通状态预测之前一定天数如一个月内的预定时间段如上午8点到9点,根据终端的数量、移动速度、在预定时间段的移动路径以及在预定时间段所属交通工具类型,确定并存储在预定时间段,终端所属交通工具、该交通工具的行驶路径。In this way, the server can predict the traffic status according to the number of terminals, the moving speed, the moving path during the predetermined time period, and the vehicle to which it belongs during the predetermined time period for a certain number of days, such as a predetermined time period within a month, such as 8:00 am to 9:00 am. Type, determine and store within a predetermined period of time, the vehicle to which the terminal belongs, and the driving route of the vehicle.
根据VLR数据分析模块的信息,将道路占用率与不同时刻道路占用率内车辆平均行驶速度一一映射,得到道路在不同占用率时对应的平均行驶速度,作为在不同时刻道路上平均行驶速度的估计值。并将不同道路占用率情况下,道路长度除以平均行驶速度得到的平均通行时间保存,作为在当前道路占用率对应的通行时间。终端的数量、每个终端的移动速度,移动路径,所属交通工具类型可以得到道路上的车辆数,例如共100个终端,并确定这30个终端所属的交通工具为同一辆公交车,其它70个终端所属的交通工具分别为70辆私家车,则实时的交通流量即道路上的车辆数N为71,道路占用率P=N/C,C为设计交通量,是一个道路因子,受道路宽度,红绿灯等影响。车辆平均行驶速度可以根据各终端的移动速度和各终端所属的交通工具的情况得到。最终得到道路占用率与不同时刻道路占用率内车辆平均行驶速度的映射。According to the information of the VLR data analysis module, the road occupancy rate and the average driving speed of vehicles in the road occupancy rate at different times are mapped one by one, and the corresponding average driving speed of the road at different occupancy rates is obtained as the average driving speed on the road at different times estimated value. In the case of different road occupancy rates, the average passing time obtained by dividing the road length by the average driving speed is stored as the corresponding passing time at the current road occupancy rate. The number of terminals, the moving speed of each terminal, the moving path, and the type of vehicle to which it belongs can obtain the number of vehicles on the road, for example, a total of 100 terminals, and determine that the vehicles to which these 30 terminals belong are the same bus, and the other 70 The vehicles belonging to each terminal are 70 private cars respectively, then the real-time traffic flow, that is, the number of vehicles on the road N is 71, the road occupancy rate P=N/C, and C is the design traffic volume, which is a road factor and is influenced by the road Width, traffic lights and other effects. The average driving speed of the vehicle can be obtained according to the moving speed of each terminal and the condition of the vehicle to which each terminal belongs. Finally, the mapping between the road occupancy rate and the average driving speed of vehicles in the road occupancy rate at different times is obtained.
这样服务器在进行交通状态预测之前预定天数内的预定时间段,根据终端的数量、移动速度、在预定时间段的移动路径以及在预定时间段所属交通工具类型,确定并存储在预定时间段道路占用率对应关系,道路占用率对应关系为道路占用率和用于表示交通状态预测结果的参数(如交通工具的平均行驶速度和道路通行时间)的对应关系。将道路占用率对应关系作为对交通预测的历史数据保存。In this way, the server determines and stores the road occupancy in the predetermined time period according to the number of terminals, moving speed, moving path in the predetermined time period, and the type of vehicle in the predetermined time period during the predetermined time period within the predetermined number of days before the traffic state prediction. The road occupancy rate correspondence relationship is the correspondence relationship between the road occupancy rate and the parameters used to represent the traffic state prediction results (such as the average driving speed of the vehicle and the road transit time). Save the corresponding relationship of road occupancy rate as historical data for traffic forecasting.
当历史数据存储模块完成了对来自VLR数据分析模块的分析及存储,则历史数据存储模块的数据可用。When the historical data storage module completes the analysis and storage from the VLR data analysis module, the data of the historical data storage module is available.
历史数据存储模块向交通状态预测模块发送就绪指令,告知交通状态预测模块开始工作,并开始向交通状态预测模块发送已存储的历史数据。The historical data storage module sends a ready command to the traffic state prediction module, notifies the traffic state prediction module to start working, and starts to send the stored historical data to the traffic state prediction module.
步骤205.公路状态预测:交通状态预测模块接收到历史数据存储模块就绪的消息时,启动交通状态预测。Step 205. Highway state prediction: when the traffic state prediction module receives the message that the historical data storage module is ready, it starts the traffic state prediction.
交通预测启动:交通状态预测模块接收历史数据存储模块就绪信息,读取地图数据库,VLR数据分析模块分析得到的实时交通信息及历史数据存储模块的历史信息。Traffic prediction start: the traffic state prediction module receives the ready information of the historical data storage module, reads the map database, and the real-time traffic information obtained by the analysis of the VLR data analysis module and the historical information of the historical data storage module.
道路交通状态读取:从地图数据库模块读取道路的静态信息:道路车道数,地理位置等;从VLR数据分析模块读取每一条道路上终端的实时道路交通状态信息,如道路上车辆数N,道路上车辆类型,道路占有率,当前道路平均时速等。这样服务器可以获取进行交通状态预测当天预定时间段的,待预测区域道路上的实时道路交通状态信息Road traffic status reading: read the static information of the road from the map database module: the number of road lanes, geographical location, etc.; read the real-time road traffic status information of terminals on each road from the VLR data analysis module, such as the number of vehicles on the road N , the type of vehicles on the road, the road occupancy rate, the current average speed of the road, etc. In this way, the server can obtain the real-time road traffic status information on the roads in the area to be predicted for the predetermined time period of the traffic status prediction day
从历史数据存储模块得到不同终端在此时刻所属交通工具及其历史路径。分别计算此条道路下一时刻,进入的车辆数,驶出的车辆数。例如,根据历史路径可知,将有20辆车(90个终端分别属于这20辆车)的历史路径是由1号路到2号路,有10辆车(30个终端分别属于这10辆车)的历史路径是由2号路到3号路,则对于2号路下一时刻,进入的车辆数为20,驶出的车辆数。道路中总共的车辆数为10。根据从VLR数据分析模块读取的实时道路交通状态信息以及进入的车辆数和驶出的车辆数,预测道路占有率,并根据预测的公路占有率向历史数据存储模块读取下一时刻本公路的车辆平均行驶速度及通行时间等。表1为根据VLR数据分析模块得到的实时数据以及历史数据存储模块的历史数据预测本条公路下一时刻交通状态的方法。From the historical data storage module, the vehicles to which different terminals belong at this moment and their historical paths are obtained. Calculate the number of vehicles entering and exiting the road at the next moment respectively. For example, according to the historical path, there will be 20 vehicles (90 terminals belonging to these 20 vehicles) whose historical path is from Road No. 1 to Road No. 2, and there will be 10 vehicles (30 terminals belonging to these 10 vehicles respectively). )'s historical path is from No. 2 Road to No. 3 Road, then for No. 2 Road at the next moment, the number of vehicles entering is 20, and the number of vehicles leaving. The total number of vehicles on the road is 10. According to the real-time road traffic status information read from the VLR data analysis module and the number of vehicles entering and exiting, the road occupancy rate is predicted, and the road occupancy rate is read from the historical data storage module at the next time according to the predicted road occupancy rate. average vehicle speed and travel time. Table 1 shows the method of predicting the traffic status of this road at the next moment according to the real-time data obtained by the VLR data analysis module and the historical data of the historical data storage module.
表1Table 1
具体方法如下:The specific method is as follows:
从VLR数据分析模块中读取实时交通流量N,公路中车辆平均速度V。计算通行道路占有率P=N/C(C为设计交通量),计算通行公路所需时间T=L/V。Read the real-time traffic flow N and the average speed V of vehicles on the road from the VLR data analysis module. Calculate the traffic road occupancy rate P=N/C (C is the design traffic volume), and calculate the time required for the traffic road T=L/V.
从历史数据存储模块中读取终端的历史路径,根据终端的历史路径判断终端的行驶方向,并计算待预测区域道路上即将驶入公路交通流量In,及待预测区域道路上即将驶出公路的交通流量Out。Read the historical path of the terminal from the historical data storage module, judge the driving direction of the terminal according to the historical path of the terminal, and calculate the traffic flow In that is about to enter the road on the road in the area to be predicted, and the traffic flow In that is about to leave the road on the road in the area to be predicted Traffic flow out.
计算下一时刻本公路的交通流量Ni,预测的道路占有率Pi:Ni=N+In-Out,Pi=Ni/C.根据预测的道路占有率Pi,向历史数据存储模块查询公路车辆平均行驶速度Vi,历史数据存储模块中存有相互对应的道路占用率和车辆平均行驶速度。计算通行公路所需时间Ti,Ti=L/Vi。即服务器进行交通状态预测,得到预测的道路通行时间Ti。或向历史数据存储模块查询通行公路所需时间Ti,历史数据存储模块中存有相互对应的道路占用率和交通工具的道路通行时间,得到预测的道路通行时间Ti。Calculate the traffic flow Ni of this road at the next moment, the predicted road occupancy Pi: Ni=N+In-Out, Pi=Ni/C. According to the predicted road occupancy Pi, query the historical data storage module for the average driving of road vehicles Velocity Vi, the corresponding road occupancy rate and vehicle average driving speed are stored in the historical data storage module. Calculate the time Ti required to pass through the highway, Ti=L/Vi. That is, the server predicts the traffic state and obtains the predicted road transit time Ti. Or query the historical data storage module for the time Ti needed to pass through the highway. The historical data storage module stores the corresponding road occupancy rate and the road passage time of the vehicles to obtain the predicted road passage time Ti.
继续从历史数据存储模块中读取终端的历史路径,根据终端的历史路径判断终端的行驶方向,并计算即将驶入公路交通流量Ini及即将驶出公路的交通流量Outi。Continue to read the historical path of the terminal from the historical data storage module, judge the driving direction of the terminal according to the historical path of the terminal, and calculate the traffic flow Ini about to enter the highway and the traffic flow Outi about to leave the highway.
重复上面的操作,不断对下一时刻的公路行驶速度Vi及通行公路所需时间Ti进行预测如表2。Repeat the above operations, and continuously predict the road speed Vi and the time Ti required to pass the road at the next moment, as shown in Table 2.
表2Table 2
上述操作中一系列的公路行驶速度Vi及通行公路所需时间Ti即为对当前公路状态的预测结果。A series of road speeds Vi and time Ti required to pass the road in the above operations are the prediction results of the current road state.
将每条公路的状态预测结果综合,得出整个道路交通状态随时间变化成的交通预测网。The state prediction results of each road are synthesized to obtain a traffic prediction network of the entire road traffic state changing with time.
智能交通预测网随时间变化,以道路通行时间作为权值的示意图如图3所示,n=1、2、3…i。The schematic diagram of the intelligent traffic prediction network changing with time, with the road transit time as the weight is shown in Figure 3, n=1, 2, 3...i.
步骤206.个人导航:个人导航模块针对特定用户,根据VLR分析模块中用户的位置信息,及用户设置的目的地信息,通过交通预测模块预测的交通状态,为用户选择合理的路径。Step 206. Personal navigation: For a specific user, the personal navigation module selects a reasonable route for the user according to the user's location information in the VLR analysis module, the destination information set by the user, and the traffic status predicted by the traffic prediction module.
这样服务器可以根据终端所属小区的位置信息(作为终端的当前位置)和目的地址,以及预测的道路通行时间,为终端选择导航路径。In this way, the server can select a navigation route for the terminal according to the location information of the cell to which the terminal belongs (as the terminal's current location), the destination address, and the predicted road passing time.
具体实施时个人导航模块,首先向用户询问是否选择目的地,如果用户不选择目的地则默认从历史数据模块读取用户在此时间段常选的目的地。During specific implementation, the personal navigation module first asks the user whether to select a destination, and if the user does not select a destination, the destinations frequently selected by the user during this time period are read by default from the historical data module.
接下来,针对用户可能到目的地前需要去其他地点的办事行为,询问用户是否选择必经地点。如果用户选择必经地点,则读取用户提出的必经地点,否则置空,直接为用户目的地选择最短路径。Next, in response to the fact that the user may need to go to other places before arriving at the destination, the user is asked whether to choose a necessary place. If the user selects a necessary place, read the necessary place proposed by the user, otherwise leave it blank, and directly select the shortest path for the user's destination.
个人导航模块读取公路状态预测图,按照如下方式,计算当前时刻交通路口到地图任一交通路口的权值随时间变化的最短路径:The personal navigation module reads the road state prediction map, and calculates the shortest path from the traffic intersection to any traffic intersection on the map over time as follows:
如图4所示,以图4中点3为例,计算点3到其他各点权值可变最短路径算法如下:As shown in Figure 4, taking point 3 in Figure 4 as an example, the algorithm for calculating the shortest path with variable weight from point 3 to other points is as follows:
选与起始点(点3)直接相连,权值最小的点,以点5为例,则,在t时刻,点3到点5的最短距离d3-5为T5t。Choose the point that is directly connected to the starting point (point 3) and has the smallest weight, taking point 5 as an example, then, at time t, the shortest distance d3-5 from point 3 to point 5 is T5t.
选取上步骤中,权值最小的点(点5),计算起始点通过此点(点5)到达其他点的路径。D3-5-4=T5t+T6(t+T5t)和D3-5-6=T5t+T8(t+T5t)。比较从起始点到4的时间D3-4与经过点5的时间D3-5-4取min(D3-4,D3-5-4)更新为D3-4。Select the point (point 5) with the smallest weight in the previous step, and calculate the path from the starting point to other points through this point (point 5). D 3-5-4 =T5 t +T6 (t+T5t) and D 3-5-6 =T5 t +T8 (t+T5t) . Comparing the time D 3-4 from the starting point to 4 and the time D 3-5-4 passing through point 5, take min(D 3-4 , D 3-5-4 ) and update it to D 3-4 .
重复上述步骤计算出起始点到其他个点的最短路径。Repeat the above steps to calculate the shortest path from the starting point to other points.
由此,可以在任一时刻预测从公路的任一点到其他地点的时间最短距离。Thus, the shortest distance in time from any point on the road to other points can be predicted at any time.
根据用户的位置信息,经过地信息,目的地信息,以及预测的道路通行时间,选择一条时间最短的路径。According to the user's location information, passing location information, destination information, and predicted road passing time, a path with the shortest time is selected.
如果没有经过地信息,则直接根据用户位置,及目的地位置,基于预测信息,找出一条时间最短路径,并将此路径经过各公路的路径及时间,及预测所需总时间告知用户。将此路径与用户历史路径对比,将历史路径作虚线标出,同时计算历史路径所需要的时间。将两者提供给用户选择。通常,如果两者时间差别不超过5%,则推荐用户使用历史路径。If there is no passing location information, a path with the shortest time is found directly based on the user's location and destination location based on the prediction information, and the path and time of the path passing through each road, and the total time required for prediction are notified to the user. Compare this path with the user's historical path, mark the historical path as a dotted line, and calculate the time required for the historical path. Both are presented to the user for selection. Generally, if the time difference between the two is not more than 5%, users are recommended to use the historical path.
如果有经过地信息,则,首先计算用户出发地点到各必经地点的最短路径。再按照最短路径的时间长短为不同必经地点设置优先级。时间越短的必经点的优先级越高。If there is passing information, first calculate the shortest path from the user's starting point to each necessary location. Then, according to the time length of the shortest path, priorities are set for different must-pass locations. The shorter the time, the higher the priority of the must-pass points.
以用户出发点为起点,选择到优先级最高的必经点的最短路径,再选择由最高优先级必经点到次高优先级必经点最短路径,直到路径选择到用户选择的目的地。Starting from the user's starting point, select the shortest path to the point with the highest priority, and then select the shortest path from the point with the highest priority to the point with the second highest priority, until the path is selected to reach the destination selected by the user.
由于用户车速并不一定是按照平均速度行驶或者道路中因突发事件产生的交通变化,用户到达不同路口的时间可能与预测时间不同,因此,必须动态更新用户位置及对交通网络的预测。Since the user's vehicle speed does not necessarily follow the average speed or traffic changes due to emergencies on the road, the time at which the user arrives at different intersections may be different from the predicted time. Therefore, the user's location and the forecast of the traffic network must be dynamically updated.
根据实时交通状况更新交通预测图及用户最短路径。提示用户更新路径。并将当前路径与已选择路径对比,供用户选择。Update the traffic forecast map and the shortest path for users according to real-time traffic conditions. Prompt the user to update the path. And compare the current path with the selected path for the user to choose.
本发明实施例还提供一种获取交通状态预测所需信息的装置,包括:The embodiment of the present invention also provides a device for obtaining information required for traffic state prediction, including:
位置获取模块301:用于获取待预测区域各小区的小区识别码,以及各小区的位置信息;Position acquisition module 301: used to acquire the cell identification codes of each cell in the area to be predicted, and the location information of each cell;
时间获取模块302:用于根据获取的小区识别码,从移动网络中存有位置信息的网元中获取各小区下终端的标识信息,并得到具有读取的标识信息的各终端分别在各网元最后登记时间;Time acquiring module 302: used to acquire the identification information of terminals in each cell from the network elements storing location information in the mobile network according to the acquired cell identification code, and obtain the identification information of each terminal with the read identification information in each network respectively. The time of last registration;
信息获取模块303:用于根据各小区的位置信息、和各终端分别在各网元最后登记时间,得到交通状态预测所需的信息。Information obtaining module 303: used for obtaining information required for traffic state prediction according to the location information of each cell and the last registration time of each terminal in each network element.
进一步,还包括:Further, it also includes:
存储模块304:用于在进行交通状态预测之前,根据预定天数内的预定时间段终端的数量、终端移动速度、终端移动路径以及终端所属交通工具类型,确定并存储在预定时间段,终端所属交通工具、该交通工具的行驶路径、道路占用率对应关系,其中道路占用率对应关系为道路占用率和用于表示交通状态预测结果的参数的对应关系,其中交通状态预测所需的信息包括:终端在预定时间段的移动速度、终端在预定时间段的移动路径和根据终端在预定时间段的移动速度,以及终端在预定时间段的移动路径,确定的终端在预定时间段所属交通工具类型。Storage module 304: used to determine and store the traffic status of the terminal in the predetermined time period according to the number of terminals in the predetermined time period, terminal moving speed, terminal moving path and the type of vehicle the terminal belongs to within a predetermined number of days before predicting the traffic state. Tool, the driving path of the vehicle, and the corresponding relationship of road occupancy rate, wherein the corresponding relationship between road occupancy rate and the parameters used to represent the traffic state prediction results, wherein the information required for traffic state prediction includes: terminal The moving speed of the terminal in the predetermined time period, the moving path of the terminal in the predetermined time period, and the vehicle type determined according to the moving speed of the terminal in the predetermined time period and the moving path of the terminal in the predetermined time period.
实时获取模块305:用于获取进行交通状态预测当天预定时间段的,待预测区域道路上的实时道路交通状态信息;Real-time acquisition module 305: used to acquire real-time road traffic status information on the roads in the area to be predicted during the predetermined time period of the day when the traffic status prediction is performed;
数量确定模块306:用于根据存储的终端所属交通工具以及交通工具的行驶路径,得到待预测区域道路上将要进入和驶出交通工具的数量;Quantity determination module 306: used to obtain the number of vehicles that will enter and exit the road in the area to be predicted according to the stored vehicle to which the terminal belongs and the driving route of the vehicle;
结果预测模块307:用于根据实时道路交通状态信息、进入和驶出交通工具的数量,预测道路占用率,并根据预测的道路占用率,以及存储的道路占用率对应关系,进行交通状态预测,得到预测结果。Result prediction module 307: used to predict the road occupancy rate according to the real-time road traffic state information, the number of vehicles entering and leaving, and predict the traffic state according to the predicted road occupancy rate and the stored road occupancy rate correspondence, Get the prediction result.
进一步,表示交通状态预测结果的参数为交通工具的道路通行时间;Further, the parameter representing the traffic state prediction result is the road transit time of the vehicle;
实时获取模块305:还用于根据进行交通状态预测当天预定时间段的,待预测区域道路上的终端总数,各终端的移动速度、移动路径以及所属交通工具类型,得到预测当天的预定时间段的,待预测区域道路上的实时交通工具数量N;Real-time acquisition module 305: it is also used to obtain the scheduled time period of the forecasted day according to the total number of terminals on the roads in the area to be predicted, the moving speed, moving path and vehicle type of each terminal according to the scheduled time period of the day when the traffic status is predicted. , the number N of real-time vehicles on the road in the area to be predicted;
结果预测模块307:还用于计算预测的道路占用率Pi,其中Pi=Ni/C,C为设计交通量,Ni=N+In+Out,In为待预测区域道路上将要进入交通工具的数量,Out为待预测区域道路上将要驶出交通工具的数量;Result prediction module 307: it is also used to calculate the predicted road occupancy rate Pi, wherein Pi=Ni/C, C is the design traffic volume, Ni=N+In+Out, and In is the number of vehicles that will enter the road in the area to be predicted , Out is the number of vehicles that will drive out on the road in the area to be predicted;
服务器根据预测的道路占用率Pi,以及道路占用率和道路通行时间的对应关系,进行交通状态预测,得到预测的道路通行时间。The server predicts the traffic state according to the predicted road occupancy rate Pi and the corresponding relationship between the road occupancy rate and the road passing time, and obtains the predicted road passing time.
进一步,还包括:Further, it also includes:
读取模块308:用于根据终端上报的包括目的地址的导航请求,从移动网络中存有位置信息的网元中读取终端所属小区的位置信息;The reading module 308: used to read the location information of the cell to which the terminal belongs from the network element storing the location information in the mobile network according to the navigation request including the destination address reported by the terminal;
选择模块309:用于根据终端所属小区的位置信息和目的地址,以及预测的道路通行时间,为终端选择导航路径。Selection module 309: for selecting a navigation route for the terminal according to the location information of the cell to which the terminal belongs, the destination address, and the predicted road passing time.
进一步,选择模块310:还用于根据终端所属小区的位置信息和目的地址,以及预测的道路通行时间,确定时间变化的最短路径,并将时间变化的最短路径作为为终端选择的导航路径。Further, the selection module 310: is also used to determine the shortest path with time variation according to the location information and destination address of the cell to which the terminal belongs, and the predicted road transit time, and use the shortest path with time variation as the navigation path selected for the terminal.
最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行限制,尽管参照较佳实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这些修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that: it still Modifications or equivalent replacements can be made to the technical solutions of the present invention, and these modifications or equivalent replacements cannot make the modified technical solutions deviate from the spirit and scope of the technical solutions of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110442337.4A CN103177562B (en) | 2011-12-26 | 2011-12-26 | A kind of method and device obtaining information of traffic condition prediction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110442337.4A CN103177562B (en) | 2011-12-26 | 2011-12-26 | A kind of method and device obtaining information of traffic condition prediction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103177562A CN103177562A (en) | 2013-06-26 |
CN103177562B true CN103177562B (en) | 2015-07-29 |
Family
ID=48637383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110442337.4A Expired - Fee Related CN103177562B (en) | 2011-12-26 | 2011-12-26 | A kind of method and device obtaining information of traffic condition prediction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103177562B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104748753B (en) * | 2013-12-31 | 2018-08-21 | 中国移动通信集团公司 | A kind of online air navigation aid and online navigation system |
JP5662614B1 (en) * | 2014-06-19 | 2015-02-04 | 鎌田 浩 | Customer flow line creation system |
CN105101087A (en) * | 2015-07-29 | 2015-11-25 | 郭今戈 | Method and system for pedestrian flow estimation and trend prediction based on location area and real-time communication |
CN106710208A (en) * | 2015-11-16 | 2017-05-24 | 中兴通讯股份有限公司 | Traffic state acquisition method and device |
CN106912013A (en) * | 2015-12-23 | 2017-06-30 | 中国移动通信集团辽宁有限公司 | A kind of acquisition methods of vehicle position information, apparatus and system |
CN106408124B (en) * | 2016-09-22 | 2020-01-10 | 西安科技大学 | Moving path hybrid prediction method oriented to data sparse environment |
CN107704955A (en) * | 2017-09-26 | 2018-02-16 | 重庆市智权之路科技有限公司 | High in the clouds travel track data judge the method for work in security situation path |
CN107609710A (en) * | 2017-09-26 | 2018-01-19 | 重庆市智权之路科技有限公司 | The preferred planing method of intelligent medical equipment running route is carried out based on big data platform action trail |
CN109993944B (en) * | 2018-01-02 | 2021-05-28 | 中国移动通信有限公司研究院 | A kind of danger early warning method, mobile terminal and server |
CN109637126A (en) * | 2018-12-06 | 2019-04-16 | 重庆邮电大学 | A kind of traffic object identifying system and its method based on V2X terminal |
CN111125552B (en) * | 2019-11-11 | 2024-02-13 | 北京金山安全软件有限公司 | Method and device for drawing moving track, electronic equipment and storage medium |
CN113267197A (en) * | 2021-05-19 | 2021-08-17 | 重庆蓝岸通讯技术有限公司 | Navigation system and algorithm for solving road congestion through big data and statistics |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1841439A (en) * | 2005-03-31 | 2006-10-04 | 株式会社日立制作所 | Data processing system, device and method for detecting traffic information |
CN102081851A (en) * | 2009-11-30 | 2011-06-01 | 国际商业机器公司 | Method and device for determining passing speed of road based on mobile communication network |
CN102157070A (en) * | 2011-03-31 | 2011-08-17 | 天津大学 | Road traffic flow prediction method based on cell phone data |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3435623B2 (en) * | 1996-05-15 | 2003-08-11 | 株式会社日立製作所 | Traffic flow monitoring device |
US20030100990A1 (en) * | 2001-11-28 | 2003-05-29 | Clapper Edward O. | Using cellular network to estimate traffic flow |
-
2011
- 2011-12-26 CN CN201110442337.4A patent/CN103177562B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1841439A (en) * | 2005-03-31 | 2006-10-04 | 株式会社日立制作所 | Data processing system, device and method for detecting traffic information |
CN102081851A (en) * | 2009-11-30 | 2011-06-01 | 国际商业机器公司 | Method and device for determining passing speed of road based on mobile communication network |
CN102157070A (en) * | 2011-03-31 | 2011-08-17 | 天津大学 | Road traffic flow prediction method based on cell phone data |
Also Published As
Publication number | Publication date |
---|---|
CN103177562A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103177562B (en) | A kind of method and device obtaining information of traffic condition prediction | |
CN109000668B (en) | Real-time intelligent navigation method based on Internet of vehicles | |
CN102384752B (en) | Route-determination method | |
CN108648496B (en) | System and method for city intellectualization | |
CN101546481B (en) | Navigation and display method based on real time traffic information | |
CN101451853B (en) | Navigation method for navigation based on real time traffic information by navigation apparatus | |
US20130162449A1 (en) | Traffic Routing Using Intelligent Traffic Signals, GPS and Mobile Data Devices | |
EP3104362A1 (en) | Method for updating digital maps | |
CN107490384B (en) | An optimal static route selection method based on urban road network | |
US8909464B2 (en) | Driving evaluation system and vehicle-mounted device | |
US10255807B1 (en) | Method and apparatus for providing a map data update based on region-specific data turbulence | |
TW201341759A (en) | Integration of contextual and historical data into route determination | |
CN106382939A (en) | System and method for predicating driving time on navigation path based on historical data | |
WO2011163006A1 (en) | Traffic routing display system | |
CN103824467A (en) | Reservation type traffic navigation service method and apparatus for private vehicle | |
CN111882867A (en) | City wisdom traffic early warning system based on thing networking | |
CN102426778A (en) | Road traffic condition representation system and representation method based on vehicle position | |
CN107368931A (en) | Logistics distribution path dynamic programming method and system based on big data analytical technology | |
US20130191190A1 (en) | Method and system for motivating and optimizing usage of high occupancy vehicle/high occupancy toll lane by displaying time based cost metrics | |
CN108806250A (en) | A kind of area traffic jamming evaluation method based on speed sampling data | |
CN118736837B (en) | Urban traffic congestion management decision support system based on dynamic space-time diagram neural network | |
CN102663895A (en) | Container truck jamming prompting system and realizing method thereof for container terminals | |
CN110633558A (en) | A Modeling System of Urban Traffic System | |
CN103268699A (en) | Taxi taking system with mobile phone | |
Alam et al. | Integration of smart parking in distributed ITS architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150729 |
|
CF01 | Termination of patent right due to non-payment of annual fee |