[go: up one dir, main page]

CN102426778A - Road traffic condition representation system and representation method based on vehicle position - Google Patents

Road traffic condition representation system and representation method based on vehicle position Download PDF

Info

Publication number
CN102426778A
CN102426778A CN2011103452897A CN201110345289A CN102426778A CN 102426778 A CN102426778 A CN 102426778A CN 2011103452897 A CN2011103452897 A CN 2011103452897A CN 201110345289 A CN201110345289 A CN 201110345289A CN 102426778 A CN102426778 A CN 102426778A
Authority
CN
China
Prior art keywords
information
module
vehicle
user terminal
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103452897A
Other languages
Chinese (zh)
Other versions
CN102426778B (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.)
Hangzhou Viewin Electronic Co ltd
Original Assignee
Hangzhou Viewin Electronic Co ltd
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 Hangzhou Viewin Electronic Co ltd filed Critical Hangzhou Viewin Electronic Co ltd
Priority to CN201110345289.7A priority Critical patent/CN102426778B/en
Publication of CN102426778A publication Critical patent/CN102426778A/en
Application granted granted Critical
Publication of CN102426778B publication Critical patent/CN102426778B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

一种基于车辆位置的道路交通状况表示系统及表示方法,所述的表示系统主要由用户终端、传输网络和服务器三部分组成,其中:所述的用户终端是导航终端、手机、电脑的任意一种终端,主要负责车辆运行位置信息的采集和道路交通状况的点图表示;在用户终端中包括:用户数据内存、信息接收模块、信息发送模块、导航管理系统模块、电子地图管理模块、GPS模块、运行位置采集模块和点图数据绘制模块;所述的传输网络是WiMax、WiFi、GPRS无线传输网络中的任一种;所述的交通信息服务中心的服务器中一般包括:点图数据库、信息接收模块、信息发送模块和点图数据管理模块。

Figure 201110345289

A road traffic status representation system and representation method based on vehicle position, the representation system mainly consists of three parts: user terminal, transmission network and server, wherein: the user terminal is any one of navigation terminal, mobile phone and computer, and is mainly responsible for the collection of vehicle operation position information and the point diagram representation of road traffic status; the user terminal includes: user data memory, information receiving module, information sending module, navigation management system module, electronic map management module, GPS module, operation position collection module and point diagram data drawing module; the transmission network is any one of WiMax, WiFi and GPRS wireless transmission networks; the server of the traffic information service center generally includes: point diagram database, information receiving module, information sending module and point diagram data management module.

Figure 201110345289

Description

一种基于车辆位置的道路交通状况表示系统及表示方法A road traffic condition representation system and representation method based on vehicle position

技术领域 technical field

    本发明涉及的是一种基于车辆位置的道路交通状况表示方法及表示系统,属于道路交通信息的收集及表示系统及表示方法。 The present invention relates to a road traffic status representation method and representation system based on vehicle position, which belongs to the collection and representation system and representation method of road traffic information.

背景技术 Background technique

    随着城市化发展的不断深入,越来越多的人从农村走向城市,而城市的道路随着城市人口的增加也显得越来越拥挤,如北京市由首都变成了“首堵”,不得不实行家用汽车的“限行”;最近杭州市也不得不采取了早晚高峰时间的车辆“限行”。因此,人们开车总希望能在不堵的城市道路上,而一旦在城市道路上堵车,人的心情便会搞坏,不仅如伺,还会影响一天的工作、学习和生活。随着行车导航仪的使用,给车辆驾驶员驾车提供了很多方便,尤其是外地的驾驶员到达一个新的城市,利用行车导航仪,便能轻松地找寻到目的地,但是现有的导航仪也仅仅是一种导航作用而已,对于路堵却是毫无办法,一旦发生路堵,驾驶员也只能耐心地等待道路的通行,因此,现在的驾驶员急需一种能够象导航仪那样能对城市道路的拥堵情况进行信息收集并发布的道路交通状况表示仪器。 With the continuous development of urbanization, more and more people are moving from the countryside to the city, and the roads in the city are becoming more and more congested with the increase of the urban population. For example, Beijing has changed from the capital to the "first traffic", We have to implement the "restriction" of family cars; recently, Hangzhou City has also had to adopt the "restriction" of vehicles during morning and evening peak hours. Therefore, people always hope to be able to drive on urban roads that are not blocked, and once they are stuck in traffic on urban roads, people's mood will be spoiled, not only bad, but also affect a day's work, study and life. Along with the use of driving navigator, a lot of convenience is provided for vehicle drivers, especially when drivers from other places arrive in a new city, they can easily find the destination by using driving navigator, but the existing navigator It is only a kind of navigation function, but there is no way for road jams. Once road jams occur, the driver can only wait patiently for the passage of the road. A road traffic condition indicator that collects and distributes information on urban road congestion.

发明内容 Contents of the invention

    本发明的目的在于克服现有技术存在的不足,而提供一种基于车辆位置的道路交通状况表示系统及表示方法,它是利用道路交通状况的点图信息,用户可以根据交通流量、交通流速度和交通流密度以及之间的关联关系,进行交通是否拥堵的人工或自动判断。 The purpose of the present invention is to overcome the deficiencies in the prior art, and provide a road traffic condition representation system and representation method based on the vehicle position, which utilizes the point map information of the road traffic condition, and the user can And the traffic flow density and the relationship between them, to judge whether the traffic is congested manually or automatically.

   本发明的目的是通过如下技术方案来完成的,本发明所述的基于车辆位置的道路交通状况表示系统,它主要由用户终端、传输网络和服务器三部分组成,其中: The object of the present invention is accomplished through the following technical solutions. The vehicle location-based road traffic condition representation system of the present invention mainly consists of three parts: user terminal, transmission network and server, wherein:

所述的用户终端是导航终端、手机、电脑的任意一种终端,主要负责车辆运行位置信息的采集和道路交通状况的点图表示;在用户终端中包括:用户数据内存、信息接收模块、信息发送模块、导航管理系统模块、电子地图管理模块、GPS模块、运行位置采集模块和点图数据绘制模块; The user terminal is any terminal of a navigation terminal, a mobile phone, or a computer, and is mainly responsible for the collection of vehicle running position information and the point map representation of road traffic conditions; the user terminal includes: user data memory, information receiving module, information Sending module, navigation management system module, electronic map management module, GPS module, running position collection module and point map data drawing module;

所述的传输网络是WiMax、WiFi、GPRS无线传输网络中的任一种; Described transmission network is any in WiMax, WiFi, GPRS wireless transmission network;

所述的交通信息服务中心的服务器中一般包括:点图数据库、信息接收模块、信息发送模块和点图数据管理模块。 The server of the traffic information service center generally includes: a point map database, an information receiving module, an information sending module and a point map data management module.

    本发明所述的用户终端中,所述用户数据内存用于存储用户终端的地图数据、导航路径信息、点图数据,并提供软件运行所必需的内存资源空间; In the user terminal of the present invention, the user data memory is used to store map data, navigation path information, and point map data of the user terminal, and provide memory resource space necessary for software operation;

所述信息接收模块负责侦听端口,并从服务器接收点图数据的数据包; The information receiving module is responsible for listening to the port, and receives the data packet of the point map data from the server;

所述信息发送模块可以为用户连接分配端口资源,检测端口上SOCKET连接状态,关闭死连接,并向服务器发送用户终端采集的运行位置信息的数据包; The information sending module can allocate port resources for the user connection, detect the SOCKET connection status on the port, close the dead connection, and send the data packet of the running position information collected by the user terminal to the server;

所述GPS模块的主要功能是读取GPS数据,并对数据进行有效性分析,然后提取出车辆的经纬度、速度信息,卫星信息等,并提供了得到最后GPS位置信息的接口; The main function of the GPS module is to read the GPS data, and analyze the validity of the data, then extract the latitude and longitude, speed information, satellite information, etc. of the vehicle, and provide an interface for obtaining the final GPS position information;

所述运行位置信息采集模块负责信息采集策略的管理和维护,并按照设定的交通状况采集时间间隔从GPS模块获取运行位置信息; The running position information collection module is responsible for the management and maintenance of the information collection strategy, and obtains the running position information from the GPS module according to the set traffic condition collection time interval;

电子地图管理模块是GIS引擎的基础,主要负责地图数据的管理,进行地图绘制和显示,提供地图绘制和显示时的点线面信息,分别对应了地图数据中的设施(包括酒店、商场等公共元素),道路(城市的所有路),以及区域(包括山体、湖面等);此外,提供导航时的道路通行信息,包括道路路段信息、转向信息以及交叉路口信息; The electronic map management module is the basis of the GIS engine. It is mainly responsible for the management of map data, map drawing and display, and provides point, line and surface information during map drawing and display, corresponding to the facilities in the map data (including hotels, shopping malls, etc.) elements), roads (all roads in the city), and areas (including mountains, lakes, etc.); in addition, provide road traffic information during navigation, including road segment information, steering information, and intersection information;

导航管理系统模块能根据电子地图数据,以及用户设定起始点、终点、途经点等信息进行导航路径的规划,并负责导航过程中的路径动态变更、地图缩放等操作,还负责协调电子地图管理模块与点图数据绘制模块的交互。 The navigation management system module can plan the navigation route according to the electronic map data, as well as information such as the starting point, end point, and passing point set by the user, and is responsible for the dynamic change of the route during the navigation process, map zooming and other operations, and is also responsible for coordinating the management of the electronic map Module interaction with the dot plot data plotting module.

本发明所述的交通信息服务中心,其中的点图数据库用于存储各车辆的用户终端上传的运行位置信息,以及汇总后成点图数据; In the traffic information service center of the present invention, the point map database is used to store the running position information uploaded by the user terminal of each vehicle, and aggregate them into point map data;

所述信息接收模块负责侦听端口,并从用户终端接收运行位置信息的数据包; The information receiving module is responsible for listening to the port, and receiving the data packet of the running location information from the user terminal;

所述信息发送模块为用户连接分配端口资源,检测端口上SOCKET连接状态,关闭死连接,并向用户终端发送点图数据的数据包; The information sending module allocates port resources for the user connection, detects the SOCKET connection state on the port, closes the dead connection, and sends a data packet of point map data to the user terminal;

所述点图数据管理模块完成了对各车辆的用户终端上传的运行位置信息的数据包的解析和汇总,并形成点图数据信息的数据包。 The point map data management module completes the analysis and summary of the data packets of the running position information uploaded by the user terminals of each vehicle, and forms the data packets of point map data information.

    所述的基于车辆位置的道路交通状况表示方法,它包括如下步骤: The described method for expressing road traffic conditions based on the vehicle position comprises the following steps:

步骤1,利用在道路上行驶车辆上设置的用户终端,通过其中的运行位置信息采集模块以及通过GPS模块实时获取车辆在道路上的全球卫星导航系统的运行位置信息,车辆在道路上的运行位置信息包括车辆所在的经度信息和纬度信息,以及速度信息; Step 1, using the user terminal set on the vehicle running on the road, through the running position information collection module and the GPS module to obtain the running position information of the global satellite navigation system of the vehicle on the road in real time, the running position of the vehicle on the road The information includes longitude information and latitude information where the vehicle is located, as well as speed information;

步骤2,各车辆的用户终端的信息发送模块以设定的交通状况更新时间间隔将所采集到的实时运行位置信息进行封装形成运行位置信息的数据包,并将数据包通过传输网络传输到交通信息服务中心的服务器; Step 2, the information sending module of the user terminal of each vehicle encapsulates the collected real-time operating position information at the set traffic condition update time interval to form a data packet of operating position information, and transmits the data packet to the traffic through the transmission network. The server of the information service center;

步骤3,交通信息服务中心的服务器的信息接收模块将接收到的各车辆在道路上的实时运行位置信息的数据包发送到交通信息服务中心的服务器的点图数据管理模块;由交通信息服务中心的服务器的点图数据管理模块按照数据包的报文定义进行解析得到车辆的运行位置信息,然后进行汇总形成实时的道路交通状况点图数据,并通过交通信息服务中心的服务器的信息发送模块将实时的道路交通状况点图数据的数据包通过网络传输到用户终端; Step 3, the information receiving module of the server of the traffic information service center sends the data packets of the real-time running position information of each vehicle received on the road to the point map data management module of the server of the traffic information service center; The point map data management module of the server analyzes according to the message definition of the data packet to obtain the running position information of the vehicle, and then summarizes it to form real-time road traffic condition point map data, and transmits the information through the information sending module of the server of the traffic information service center The data packet of the real-time road traffic condition point map data is transmitted to the user terminal through the network;

步骤4,用户终端的信息接收模块将接收到的道路交通状况点图数据发送到点图数据绘制模块;点图数据绘制模块根据导航管理系统模块的当前路径规划信息,以及电子地图管理模块的周边道路的地图数据,提取需要绘制的点图数据信息,并用点图方式表示在用户终端的电子地图上;用点图方式表示道路交通状况时,用至少一个点表示一辆车的位置,或用与车辆相似的符号表示一个车辆的位置,描述在用户终端的电子地图上。 Step 4, the information receiving module of the user terminal sends the received road traffic status point map data to the point map data drawing module; the point map data drawing module is based on the current route planning information of the navigation management system module, and the surrounding areas of the electronic map management module Road map data, extract the point map data information that needs to be drawn, and express it on the electronic map of the user terminal in the form of a point map; when using a point map to represent road traffic conditions, use at least one point to represent the position of a vehicle, or use A symbol similar to a vehicle indicates the location of a vehicle, which is described on the electronic map of the user terminal.

本发明所述运行位置信息的获取过程是: The acquisition process of the running position information of the present invention is:

首先,运行位置信息采集模块调用GPS模块,并进行GPS模块的初始化;初始化时,GPS模块生成一个CAppSystem_GPS的实例对象,通过调用成员函数Init()来初始化读取GPS串口,并启动新的进程循环读取并解析GPS数据信息; First, the running location information acquisition module calls the GPS module and initializes the GPS module; when initializing, the GPS module generates an instance object of CAppSystem_GPS, initializes and reads the GPS serial port by calling the member function Init(), and starts a new process loop Read and analyze GPS data information;

然后,从文件读取或者串口读取GPS信息,并进行解析,存储在静态结构变量里,并向已注册的窗口发送包含有当前GPS信息的有效性和接收到的卫星数的窗口信息,循环如上操作直到有错误发生(不包括超时的原因)或者其他原因退出循环。 Then, read the GPS information from the file or the serial port, analyze it, store it in the static structure variable, and send the window information including the validity of the current GPS information and the number of satellites received to the registered window, and loop Operate as above until there is an error (not including the reason for timeout) or other reasons to exit the loop.

本发明所述的交通状况更新时间间隔默认为每5秒钟更新一次,也可以按照用户终端的运行位置信息采集模块设定的时间间隔进行更新。 The traffic condition update time interval of the present invention is updated every 5 seconds by default, and may also be updated according to the time interval set by the running location information collection module of the user terminal.

本发明所述的用户终端的信息发送模块通过无线传输网络发送运行位置信息的过程如下:用户终端的信息发送模块进行端口分配,按照运行位置信息数据包的报文格式进行数据封装,并启动用户终端的信息发送进程,进行数据包发送。在发送数据包,默认的发送工作线程数目为2,并进行超时检测,一般以时长超过100秒为发送超时。 The process of the information sending module of the user terminal according to the present invention to send the operating position information through the wireless transmission network is as follows: the information sending module of the user terminal performs port allocation, performs data encapsulation according to the message format of the operating position information data packet, and starts the user The information sending process of the terminal performs data packet sending. When sending data packets, the default number of sending worker threads is 2, and timeout detection is performed. Generally, the timeout is longer than 100 seconds.

本发明所述的交通信息服务中心的服务器的点图数据管理模块按照设定点图数据的更新时间间隔参数汇总各车辆在道路上的对应时间段内的各车辆的运行位置信息,形成实时的道路交通状况点图数据的数据包; The point map data management module of the server of the traffic information service center according to the present invention summarizes the running position information of each vehicle in the corresponding time period of each vehicle on the road according to the update time interval parameter of the set point map data to form a real-time Data package of road traffic condition point map data;

点图数据管理模块每接收到一个车辆的运行位置数据包,更新实时道路交通状况点图数据;道路交通状况点图按网格划分为子网格点图;向用户终端发送的点图数据是按照网格进行分块。当运行车辆的位置发生变化时,需要更新点图,根据用户编号查询到用户点图中点的指针地址,直接对云图点做更新操作。 The point map data management module updates the real-time road traffic condition point map data every time it receives a vehicle's running position data packet; the road traffic condition point map is divided into sub-grid point maps according to the grid; the point map data sent to the user terminal is Divide into blocks according to the grid. When the position of the running vehicle changes, the point map needs to be updated, and the pointer address of the point in the user point map is queried according to the user number, and the cloud map point is directly updated.

步骤4的具体方法是:首先,交通信息服务中心的服务器的信息发送模块将实时的道路交通状况点图数据通过网络传输到用户终端的信息接收模块;其次,用户终端的信息接收模块根据接收到实时的道路交通状况点图数据中的各车辆当前运行位置的全球卫星导航系统的经度和纬度信息定位到道路地图上对应的位置;最后,用户终端用至少一个点或车辆相似的其他符号在上述电子地图对应的位置上标记为运行车辆点,表示在该位置上有车辆在行驶。 The concrete method of step 4 is: at first, the information sending module of the server of the traffic information service center transmits the real-time road traffic condition point map data to the information receiving module of the user terminal through the network; secondly, the information receiving module of the user terminal according to received The longitude and latitude information of the global satellite navigation system of the current operating position of each vehicle in the real-time road traffic situation point map data is positioned to the corresponding position on the road map; finally, the user terminal uses at least one point or other symbols similar to the vehicle on the above-mentioned The position corresponding to the electronic map is marked as a running vehicle point, indicating that there is a vehicle running at this position.

    本发明是利用道路交通状况的点图信息,用户可以根据交通流量、交通流速度和交通流密度以及之间的关联关系,进行交通是否拥堵的人工或自动判断;它具有系统组成方便可靠,实用性强,能快速地获取和反应道路交通状态,较好地分配交通道路资源,节约社会成本,降低社会消耗,满足人们对城市化进程发展的需要等特点。 The present invention uses the point map information of road traffic conditions, and the user can manually or automatically judge whether the traffic is congested according to the traffic flow, traffic flow speed, traffic flow density and the correlation between them; it has the advantages of convenient and reliable system composition, practical It can quickly acquire and respond to road traffic conditions, better allocate traffic and road resources, save social costs, reduce social consumption, and meet people's needs for the development of urbanization.

附图说明 Description of drawings

图1是本发明所述的系统结构示意图。 Fig. 1 is a schematic diagram of the system structure of the present invention.

图2是本发明的车辆运行位置信息获取过程示意框图。 Fig. 2 is a schematic block diagram of the vehicle running position information acquisition process of the present invention.

图3是本发明所述点图数据管理模块的运行线程示意框图。 Fig. 3 is a schematic block diagram of the running threads of the point map data management module of the present invention.

具体实施方式 Detailed ways

    下面将结合附图及实施例对本发明作详细的介绍:图1所示,本发明所述的基于车辆位置的道路交通状况表示系统,它主要由用户终端1、传输网络2和服务器3三部分组成,其中:所述的用户终端1是导航终端、手机、电脑的任意一种终端,主要负责车辆运行位置信息的采集和道路交通状况的点图表示;在用户终端中包括:用户数据内存8、信息接收模块4、信息发送模块7、导航管理系统模块5、电子地图管理模块6、GPS模块9、运行位置采集模块10和点图数据绘制模块11; The present invention will be described in detail below in conjunction with accompanying drawing and embodiment: As shown in Fig. 1, the road traffic condition representation system based on vehicle position of the present invention, it mainly consists of user terminal 1, transmission network 2 and server 3 three parts composition, wherein: the user terminal 1 is any terminal of a navigation terminal, a mobile phone, or a computer, and is mainly responsible for the collection of vehicle running position information and the point map representation of road traffic conditions; the user terminal includes: user data memory 8 , information receiving module 4, information sending module 7, navigation management system module 5, electronic map management module 6, GPS module 9, running position acquisition module 10 and point map data drawing module 11;

所述的传输网络2是WiMax、WiFi、GPRS无线传输网络中的任一种; Described transmission network 2 is any in WiMax, WiFi, GPRS wireless transmission network;

所述的交通信息服务中心的服务器3中一般包括:点图数据库12、信息接收模块13、信息发送模块15和点图数据管理模块14。 The server 3 of the traffic information service center generally includes: a point map database 12 , an information receiving module 13 , an information sending module 15 and a point map data management module 14 .

    本发明所述的用户终端中,所述用户数据内存8用于存储用户终端1的地图数据、导航路径信息、点图数据,并提供软件运行所必需的内存资源空间; In the user terminal of the present invention, the user data memory 8 is used to store map data, navigation path information, and point map data of the user terminal 1, and provide memory resource space necessary for software operation;

所述信息接收模块4负责侦听端口,并从服务器3接收点图数据的数据包; The information receiving module 4 is responsible for listening to the port, and receives the packet of the point map data from the server 3;

所述信息发送模块7可以为用户连接分配端口资源,检测端口上SOCKET连接状态,关闭死连接,并向服务器3发送用户终端采集的运行位置信息的数据包; The information sending module 7 can allocate port resources for the user connection, detect the SOCKET connection state on the port, close the dead connection, and send the data packet of the running position information collected by the user terminal to the server 3;

所述GPS模块9的主要功能是读取GPS数据,并对数据进行有效性分析,然后提取出车辆的经纬度、速度信息,卫星信息等,并提供了得到最后GPS位置信息的接口; The main function of the GPS module 9 is to read the GPS data, and analyze the validity of the data, then extract the latitude and longitude, speed information, satellite information, etc. of the vehicle, and provide an interface for obtaining the final GPS position information;

所述运行位置信息采集模块10负责信息采集策略的管理和维护,并按照设定的交通状况采集时间间隔从GPS模块9获取运行位置信息; The running position information collection module 10 is responsible for the management and maintenance of the information collection strategy, and obtains the running position information from the GPS module 9 according to the traffic condition collection time interval set;

电子地图管理模块6是GIS引擎的基础,主要负责地图数据的管理,进行地图绘制和显示,提供地图绘制和显示时的点线面信息,分别对应了地图数据中的设施(包括酒店、商场等公共元素),道路(城市的所有路),以及区域(包括山体、湖面等);此外,提供导航时的道路通行信息,包括道路路段信息、转向信息以及交叉路口信息; The electronic map management module 6 is the basis of the GIS engine. It is mainly responsible for the management of map data, map drawing and display, and provides point, line and plane information during map drawing and display, respectively corresponding to the facilities in the map data (including hotels, shopping malls, etc.) public elements), roads (all roads in the city), and areas (including mountains, lakes, etc.); in addition, provide road traffic information during navigation, including road section information, steering information, and intersection information;

导航管理系统模块5能根据电子地图数据,以及用户设定起始点、终点、途经点等信息进行导航路径的规划,并负责导航过程中的路径动态变更、地图缩放等操作,还负责协调电子地图管理模块6与点图数据绘制模块11的交互。 The navigation management system module 5 can plan the navigation route according to the electronic map data and information such as the starting point, the end point, and the passing point set by the user, and is responsible for the dynamic change of the route during the navigation process, map zooming and other operations, and is also responsible for coordinating the electronic map The interaction between the management module 6 and the point map data drawing module 11 .

本发明所述的交通信息服务中心的服务器3,其中的点图数据库12用于存储各车辆的用户终端上传的运行位置信息,以及汇总后成点图数据; In the server 3 of the traffic information service center of the present invention, the point map database 12 is used to store the running position information uploaded by the user terminals of each vehicle, and form point map data after summarizing;

所述信息接收模块13负责侦听端口,并从用户终端接收运行位置信息的数据包; The information receiving module 13 is responsible for listening to the port, and receiving the data packet of the running location information from the user terminal;

所述信息发送模块15为用户连接分配端口资源,检测端口上SOCKET连接状态,关闭死连接,并通过无线传输网络2向用户终端1发送点图数据的数据包; The information sending module 15 allocates port resources for the user connection, detects the SOCKET connection state on the port, closes the dead connection, and sends the data packet of the point map data to the user terminal 1 through the wireless transmission network 2;

所述点图数据管理模块14完成了对各车辆的用户终端1上传的运行位置信息的数据包的解析和汇总,并形成点图数据信息的数据包。 The point map data management module 14 completes the analysis and summary of the data packets of the running position information uploaded by the user terminal 1 of each vehicle, and forms a data packet of point map data information.

    所述的基于车辆位置的道路交通状况表示方法,它包括如下步骤: The described method for expressing road traffic conditions based on the vehicle position comprises the following steps:

步骤1,利用在道路上行驶车辆上设置的用户终端1,通过其中的运行位置信息采集模块10以及通过GPS模块9实时获取车辆在道路上的全球卫星导航系统的运行位置信息,车辆在道路上的运行位置信息包括车辆所在的经度信息和纬度信息,以及速度信息; Step 1, utilize the user terminal 1 that is set on the vehicle running on the road, obtain the running position information of the global satellite navigation system of the vehicle on the road in real time through the running position information collection module 10 therein and the GPS module 9, the vehicle is on the road The operating location information of the vehicle includes the longitude information and latitude information of the vehicle, as well as the speed information;

步骤2,各车辆的用户终端1的信息发送模块7以设定的交通状况更新时间间隔将所采集到的实时运行位置信息进行封装形成运行位置信息的数据包,并将数据包通过传输网络2传输到交通信息服务中心的服务器3; Step 2, the information sending module 7 of the user terminal 1 of each vehicle encapsulates the collected real-time running position information at the set traffic condition update time interval to form a data packet of the running position information, and passes the data packet through the transmission network 2 transmitted to the server 3 of the traffic information service center;

步骤3,交通信息服务中心的服务器3的信息接收模块13将接收到的各车辆在道路上的实时运行位置信息的数据包发送到交通信息服务中心的服务器3的点图数据管理模块14;由交通信息服务中心的服务器3的点图数据管理模块14按照数据包的报文定义进行解析得到车辆的运行位置信息,然后进行汇总形成实时的道路交通状况点图数据,并通过交通信息服务中心的服务器3的信息发送模块15将实时的道路交通状况点图数据的数据包通过传输网络2传输到用户终端; Step 3, the information receiving module 13 of the server 3 of the traffic information service center sends the data packets of the real-time running position information of each vehicle received on the road to the point map data management module 14 of the server 3 of the traffic information service center; The point map data management module 14 of the server 3 of the traffic information service center analyzes according to the message definition of the data packet to obtain the running position information of the vehicle, then summarizes and forms real-time road traffic condition point map data, and passes through the traffic information service center. The information transmission module 15 of server 3 transmits the data packet of the real-time road traffic situation point map data to the user terminal through the transmission network 2;

步骤4,用户终端1的信息接收模块4将接收到的道路交通状况点图数据发送到点图数据绘制模块11;点图数据绘制模块11根据导航管理系统模块5的当前路径规划信息,以及电子地图管理模块6的周边道路的地图数据,提取需要绘制的点图数据信息,并用点图方式表示在用户终端的电子地图上;用点图方式表示道路交通状况时,用至少一个点表示一辆车的位置,或用与车辆相似的符号表示一个车辆的位置,描述在用户终端的电子地图上。 Step 4, the information receiving module 4 of the user terminal 1 sends the received road traffic condition point map data to the point map data drawing module 11; the point map data drawing module 11 is based on the current path planning information of the navigation management system module 5, and electronic The map data of the surrounding roads of the map management module 6 extracts the point map data information that needs to be drawn, and expresses it on the electronic map of the user terminal with the point map mode; The position of the vehicle, or the position of a vehicle represented by a symbol similar to the vehicle, is described on the electronic map of the user terminal.

如图2所示,本发明所述运行位置信息的获取过程是:首先,运行位置信息采集模块10调用GPS模块,并进行GPS模块9的初始化;初始化时,GPS模块9生成一个CAppSystem_GPS的实例对象,通过调用成员函数Init()来初始化读取GPS串口,并启动新的进程循环准备读取GPS数据信息; As shown in Figure 2, the acquisition process of the running location information of the present invention is: first, the running location information acquisition module 10 calls the GPS module, and carries out the initialization of the GPS module 9; during initialization, the GPS module 9 generates an instance object of CAppSystem_GPS , initialize and read the GPS serial port by calling the member function Init(), and start a new process loop to prepare to read GPS data information;

然后,从文件读取或者串口读取GPS信息,并进行解析,存储在静态结构变量里,并向已注册的窗口发送包含有当前GPS信息的有效性和接收到的卫星数的窗口信息,循环如上操作直到有错误发生(不包括超时的原因)或者其他原因退出循环。 Then, read the GPS information from the file or the serial port, analyze it, store it in the static structure variable, and send the window information including the validity of the current GPS information and the number of satellites received to the registered window, and loop Operate as above until there is an error (not including the reason for timeout) or other reasons to exit the loop.

本发明所述的交通状况更新时间间隔默认为每5秒钟更新一次,也可以按照用户终端1的运行位置信息采集模块10设定的时间间隔进行更新。 The traffic condition update time interval of the present invention is updated every 5 seconds by default, and may also be updated according to the time interval set by the running position information collection module 10 of the user terminal 1 .

本发明所述的用户终端1的信息发送模块7通过传输网络2发送运行位置信息的过程如下:用户终端的信息发送模块7进行端口分配,按照运行位置信息数据包的报文格式进行数据封装,并启动用户终端1的信息发送进程,进行数据包发送。在发送数据包,默认的发送工作线程数目为2,并进行超时检测,一般以时长超过100秒为发送超时。 The process of the information sending module 7 of the user terminal 1 according to the present invention sending the operating position information through the transmission network 2 is as follows: the information sending module 7 of the user terminal performs port allocation, and performs data encapsulation according to the message format of the operating position information data packet, And start the information sending process of the user terminal 1 to send data packets. When sending data packets, the default number of sending worker threads is 2, and timeout detection is performed. Generally, the timeout is longer than 100 seconds.

本发明所述的交通信息服务中心的服务器3的点图数据管理模块14按照设定点图数据的更新时间间隔参数汇总各车辆在道路上的对应时间段内的各车辆的运行位置信息,形成实时的道路交通状况点图数据的数据包; The point map data management module 14 of the server 3 of the traffic information service center according to the present invention summarizes the running position information of each vehicle in the corresponding time period of each vehicle on the road according to the update time interval parameter of the set point map data, and forms Real-time road traffic status point map data packets;

点图数据管理模块14每接收到一个车辆的运行位置数据包,更新实时道路交通状况点图数据;道路交通状况点图按网格划分为子网格点图;向用户终端1发送的点图数据是按照网格进行分块。当运行车辆的位置发生变化时,需要更新点图,根据用户编号查询到用户点图中点的指针地址,对云图点做更新操作。 Point map data management module 14 whenever receives the running position data packet of a vehicle, updates real-time road traffic condition point map data; Road traffic state point map is divided into sub-grid point map by grid; The data is partitioned according to the grid. When the position of the running vehicle changes, the point map needs to be updated, and the pointer address of the point in the user point map is queried according to the user number, and the cloud map point is updated.

点图数据管理模块14的运行线程如图3所示,包括:运行位置接收线程23、点图更新线程24、点图发送线程25和主线程28,以及点图地址查询表26和点图数据表27。 The running thread of point map data management module 14 is as shown in Figure 3, comprises: running position receiving thread 23, point map updating thread 24, point map sending thread 25 and main thread 28, and point map address look-up table 26 and point map data Table 27.

主线程28负责运行位置接收线程23、点图更新线程24、点图发送线程25,以及点图地址查询表26和点图数据表27的调度与管理。运行位置接收线程23从交通信息服务中心的服务器3的信息接收模块13的收双向队列21中获取点图数据信息,根据用户编号在点图地址查询表26中查询到用户点图中点的指针地址,并对点图数据表27做更新操作。点图发送线程25负责将最新点图数据的发送给交通信息服务中心的服务器3的信息发送模块15的发双向队列22,由服务器3的信息发送模块15发送到用户终端1。 The main thread 28 is responsible for the scheduling and management of the running position receiving thread 23, the point map update thread 24, the point map sending thread 25, and the point map address lookup table 26 and the point map data table 27. The running position receiving thread 23 obtains the point map data information from the receiving bidirectional queue 21 of the information receiving module 13 of the server 3 of the traffic information service center, and inquires the pointer of the point map point of the user in the point map address lookup table 26 according to the user number address, and update the point map data table 27. The point map sending thread 25 is responsible for sending the latest point map data to the sending bidirectional queue 22 of the information sending module 15 of the server 3 of the traffic information service center, and the information sending module 15 of the server 3 sends it to the user terminal 1.

步骤4的具体方法是:首先,交通信息服务中心的服务器3的信息发送模块15将实时的道路交通状况点图数据通过传输网络2传输到用户终端的信息接收模块4;其次,用户终端1的信息接收模块4根据接收到实时的道路交通状况点图数据中的各车辆当前运行位置的全球卫星导航系统的经度和纬度信息定位到道路地图上对应的位置;最后,用户终端1用至少一个点或车辆相似的其他符号在上述电子地图对应的位置上标记为运行车辆点,表示在该位置上有车辆在行驶。 The specific method of step 4 is: first, the information sending module 15 of the server 3 of the traffic information service center transmits the real-time road traffic situation point map data to the information receiving module 4 of the user terminal through the transmission network 2; secondly, the information receiving module 4 of the user terminal 1 The information receiving module 4 locates to the corresponding position on the road map according to the longitude and latitude information of the global satellite navigation system of the current running position of each vehicle in the real-time road traffic situation point map data received; finally, the user terminal 1 uses at least one point or other symbols similar to the vehicle are marked as running vehicle points on the corresponding position of the above electronic map, indicating that there is a vehicle running at this position.

点图方式的交通状况表示示意图如图3所示。从用户终端的电子地图中所标注的运行车辆点的位置和密度信息,可以直观的体现实时的交通路况信息。在地图中表示运行车辆时,可以使用圆点、矩形、小汽车图标等一种或多种符号来表示。 Figure 3 shows the schematic representation of traffic conditions in point-map mode. From the position and density information of the running vehicle points marked in the electronic map of the user terminal, the real-time traffic road condition information can be intuitively reflected. When representing running vehicles on the map, one or more symbols such as dots, rectangles, and car icons can be used to represent them.

一般情况下,地图数据以每个城市为单位,分城市数据描述文件和城市具体数据文件。 In general, map data is divided into city data description files and city specific data files based on each city.

l        其中城市数据描述文件:命名方式为(10位数字)加“.cmf”后缀的方式,在描述文件中记录城市的基本信息。每一个城市拥有一个ID,如杭州为1022,则其城市数据描述文件名为:4000001022.Cmf l Among them, the city data description file: the naming method is (10 digits) plus the suffix ".cmf", and the basic information of the city is recorded in the description file. Each city has an ID, such as Hangzhou is 1022, and its city data description file name is: 4000001022.Cmf

l        而城市具体数据文件又分为7个相应的文件:命名方式为(10位数字,对应相应的城市)+(20位数字,对应相应的数据)+“.cmf”。这7个具体数据文件分别存放了不同的数据信息(包括:点,线,面,道路,路段,路口以及转向信息) l The city-specific data files are divided into 7 corresponding files: the naming method is (10 digits, corresponding to the corresponding city) + (20 digits, corresponding to the corresponding data) + ".cmf". These 7 specific data files store different data information (including: points, lines, planes, roads, road sections, intersections and steering information)

如杭州的城市具体数据信息如下所示: For example, the specific data information of Hangzhou city is as follows:

文件名file name 名称name 说明illustrate 400000102200411000000000000000400000102200411000000000000000 RoadElementRoadElement 路段road section 400000102202000300000000000000400000102202000300000000000000 RawAreaRawArea 区域area 400000102201417000000000000000400000102201417000000000000000 AggregaredRoadAggregated Road 道路the way 400000102202000100000000000000400000102202000100000000000000 RawPointRawPoint point 400000102202000200000000000000400000102202000200000000000000 RAWLINE不用RAWLINENo 线Wire 400000102200411051010000000000400000102200411051010000000000 ManoeuvreManoeuvre 转向信息steering information 400000102200412000000000000000400000102200412000000000000000 JunctionJunction 路口intersection

    在进行点图绘制时,用户终端1的信息接收模块4根据接收到实时的道路交通状况点图数据中的各车辆当前运行位置的全球卫星导航系统的经度和纬度信息定位到地图数据中点位置进行匹配,并在电子地图管理模块6基础上,添加点图信息。电子地图管理模块6封装了显示绘制所需的重要数据,如DC、位图句柄、当前放大尺寸、绘制图元的交通流量点等,采用分层的方法来组织数据,将具有相同意义,属性的事物组织到一层上,使每层关注不同的焦点,同时也有利于绘制引擎更有条理的显示。电子地图绘制中的地理信息根据属性的不同提取出不同的层次,分为土地利用情况(绿地、沙漠),海拔高度,街道,交通流量点等。 When carrying out point map drawing, the information receiving module 4 of user terminal 1 locates to the map data center point position according to the longitude and latitude information of the global satellite navigation system that receives the current running position of each vehicle in the real-time road traffic condition point map data Matching is performed, and on the basis of the electronic map management module 6, point map information is added. The electronic map management module 6 encapsulates the important data needed for display and drawing, such as DC, bitmap handle, current enlarged size, traffic flow point of the drawing graphic element, etc., adopting a layered method to organize data will have the same meaning, attribute Organize things into one layer, so that each layer focuses on a different focus, and it is also conducive to a more organized display by the rendering engine. Geographical information in electronic map drawing is extracted into different levels according to different attributes, which are divided into land use (green space, desert), altitude, streets, traffic flow points, etc.

在地图分层过程中,可以定义多个层次,并为每一层定义相关的绘图属性,如本层填充区域的颜色、道路颜色、文字字体、可见性阈值等。每层每项属性需要根据实际需要酌情选择,以使得在狭小的嵌入式屏幕上绘制出来的地图不至于显得杂乱无章,缺乏主次之分。 In the map layering process, multiple layers can be defined, and related drawing attributes can be defined for each layer, such as the color of the filled area of this layer, road color, text font, visibility threshold, etc. Each attribute of each layer needs to be selected according to actual needs, so that the map drawn on the small embedded screen will not appear disorganized and lack the distinction between primary and secondary.

    用户通过导航终端、手机、电脑等任意一种用户终端1查看点图方式展示的交通状况,从而了解道路的车辆数量、车辆疏密程度,以及车辆的行驶速度情况,并通过自主判断的方法判断道路的交通状况,以获得对交通状况的判断。 The user checks the traffic conditions displayed in the form of a dot map through any user terminal 1 such as a navigation terminal, a mobile phone, and a computer, so as to know the number of vehicles on the road, the density of the vehicles, and the driving speed of the vehicles, and judge the situation through independent judgment. Traffic conditions on the road to obtain a judgment on the traffic conditions.

在判断道路的交通状况时,用户可以根据出行区域、出行时段,以及日常的交通状况,按照自身的主观意愿判断道路交通的拥堵状况;也可以是由用户终端模拟人的意愿得到的道路交通状况判断结果,或由一定的道路拥堵识别算法等得到的道路交通状况的判断结果。 When judging the road traffic conditions, the user can judge the road traffic congestion situation according to his own subjective wishes according to the travel area, travel time, and daily traffic conditions; Judgment results, or the judgment results of road traffic conditions obtained by a certain road congestion recognition algorithm.

一般可以通过交通流量、交通流速度和交通流密度进行交通流进行定量描述。交通流量,又称交通量,表示交通流在单位时间内通过道路指定断面的车辆数量,单位是辆/小时或辆/日;交通流速度,简称流速,表示交通流流动的快慢,单位是米/秒或公里/小时;交通流密度,表示交通流的疏密程度,即道路单位长度上含有车辆的数量,单位是辆/公里。交通流的3个参数之间的关系是:交通流量为交通流速度和交通流密度的乘积。  Generally, traffic flow can be quantitatively described through traffic flow, traffic flow speed and traffic flow density. Traffic flow, also known as traffic volume, indicates the number of vehicles that pass through a designated section of the road within a unit of time, and the unit is vehicle/hour or vehicle/day; traffic flow velocity, referred to as flow velocity, indicates the speed of traffic flow, and the unit is meter per second or km/h; traffic flow density, indicating the density of traffic flow, that is, the number of vehicles contained in the unit length of the road, and the unit is vehicle/km. The relationship between the three parameters of traffic flow is: traffic flow is the product of traffic flow speed and traffic flow density. the

利用道路交通状况的点图信息,用户可以根据交通流量、交通流速度和交通流密度以及之间的关联关系,进行交通是否拥堵的人工或自动的判断。 Using the point map information of road traffic conditions, the user can manually or automatically judge whether the traffic is congested according to the traffic flow, traffic flow speed, traffic flow density and the relationship between them.

Claims (9)

1.一种基于车辆位置的道路交通状况表示系统,它主要由用户终端、传输网络和服务器三部分组成,其特征在于其中: 1. A road traffic condition representation system based on vehicle position, it is mainly made up of user terminal, transmission network and server three parts, is characterized in that wherein: 所述的用户终端是导航终端、手机、电脑的任意一种终端,主要负责车辆运行位置信息的采集和道路交通状况的点图表示;在用户终端中包括:用户数据内存、信息接收模块、信息发送模块、导航管理系统模块、电子地图管理模块、GPS模块、运行位置采集模块和点图数据绘制模块; The user terminal is any terminal of a navigation terminal, a mobile phone, or a computer, and is mainly responsible for the collection of vehicle running position information and the point map representation of road traffic conditions; the user terminal includes: user data memory, information receiving module, information Sending module, navigation management system module, electronic map management module, GPS module, running position collection module and point map data drawing module; 所述的传输网络是WiMax、WiFi、GPRS无线传输网络中的任一种; Described transmission network is any in WiMax, WiFi, GPRS wireless transmission network; 所述的交通信息服务中心的服务器中一般包括:点图数据库、信息接收模块、信息发送模块和点图数据管理模块。 The server of the traffic information service center generally includes: a point map database, an information receiving module, an information sending module and a point map data management module. 2.根据权利要求1所述的基于车辆位置的道路交通状况表示系统,其特征在于所述的用户终端中,所述用户数据内存用于存储用户终端的地图数据、导航路径信息、点图数据,并提供软件运行所必需的内存资源空间; 2. The road traffic condition representation system based on vehicle position according to claim 1, characterized in that in the user terminal, the user data memory is used to store map data, navigation route information, and point map data of the user terminal , and provide the necessary memory resource space for software operation; 所述信息接收模块负责侦听端口,并从服务器接收点图数据的数据包; The information receiving module is responsible for listening to the port, and receives the data packet of the point map data from the server; 所述信息发送模块可以为用户连接分配端口资源,检测端口上SOCKET连接状态,关闭死连接,并向服务器发送用户终端采集的运行位置信息的数据包; The information sending module can allocate port resources for the user connection, detect the SOCKET connection status on the port, close the dead connection, and send the data packet of the running position information collected by the user terminal to the server; 所述GPS模块的主要功能是读取GPS数据,并对数据进行有效性分析,然后提取出车辆的经纬度、速度信息,卫星信息等,并提供了得到最后GPS位置信息的接口; The main function of the GPS module is to read the GPS data, and analyze the validity of the data, then extract the latitude and longitude, speed information, satellite information, etc. of the vehicle, and provide an interface for obtaining the final GPS position information; 所述运行位置信息采集模块负责信息采集策略的管理和维护,并按照设定的交通状况采集时间间隔从GPS模块获取运行位置信息; The running position information collection module is responsible for the management and maintenance of the information collection strategy, and obtains the running position information from the GPS module according to the set traffic condition collection time interval; 电子地图管理模块是GIS引擎的基础,主要负责地图数据的管理,进行地图绘制和显示,提供地图绘制和显示时的点线面信息,分别对应了地图数据中的设施(包括酒店、商场等公共元素),道路(城市的所有路),以及区域(包括山体、湖面等);此外,提供导航时的道路通行信息,包括道路路段信息、转向信息以及交叉路口信息; The electronic map management module is the basis of the GIS engine. It is mainly responsible for the management of map data, map drawing and display, and provides point, line and surface information during map drawing and display, corresponding to the facilities in the map data (including hotels, shopping malls, etc.) elements), roads (all roads in the city), and areas (including mountains, lakes, etc.); in addition, provide road traffic information during navigation, including road segment information, steering information, and intersection information; 导航管理系统模块能根据电子地图数据,以及用户设定起始点、终点、途经点等信息进行导航路径的规划,并负责导航过程中的路径动态变更、地图缩放等操作,还负责协调电子地图管理模块与点图数据绘制模块的交互。 The navigation management system module can plan the navigation route according to the electronic map data, as well as information such as the starting point, end point, and passing point set by the user, and is responsible for the dynamic change of the route during the navigation process, map zooming and other operations, and is also responsible for coordinating the management of the electronic map Module interaction with the dot plot data plotting module. 3.根据权利要求1所述的基于车辆位置的道路交通状况表示系统,其特征在于本发明所述的交通信息服务中心,其中的点图数据库用于存储各车辆的用户终端上传的运行位置信息,以及汇总后成点图数据; 3. The road traffic condition representation system based on vehicle position according to claim 1, characterized in that the traffic information service center of the present invention, wherein the point map database is used to store the running position information uploaded by the user terminal of each vehicle , and aggregated into point map data; 所述信息接收模块负责侦听端口,并从用户终端接收运行位置信息的数据包; The information receiving module is responsible for listening to the port, and receiving the data packet of the running location information from the user terminal; 所述信息发送模块为用户连接分配端口资源,检测端口上SOCKET连接状态,关闭死连接,并向用户终端发送点图数据的数据包; The information sending module allocates port resources for the user connection, detects the SOCKET connection state on the port, closes the dead connection, and sends a data packet of point map data to the user terminal; 所述点图数据管理模块完成了对各车辆的用户终端上传的运行位置信息的数据包的解析和汇总,并形成点图数据信息的数据包。 The point map data management module completes the analysis and summary of the data packets of the running position information uploaded by the user terminals of each vehicle, and forms the data packets of point map data information. 4.一种利用如权利要求1或2或3所述的基于车辆位置的道路交通状况表示系统的表示方法,其特征在于它包括如下步骤: 4. A representation method utilizing the road traffic condition representation system based on vehicle position as claimed in claim 1 or 2 or 3, is characterized in that it comprises the steps: 步骤1,利用在道路上行驶车辆上设置的用户终端,通过其中的运行位置信息采集模块以及通过GPS模块实时获取车辆在道路上的全球卫星导航系统的运行位置信息,车辆在道路上的运行位置信息包括车辆所在的经度信息和纬度信息,以及速度信息; Step 1, using the user terminal set on the vehicle running on the road, through the running position information collection module and the GPS module to obtain the running position information of the global satellite navigation system of the vehicle on the road in real time, the running position of the vehicle on the road The information includes longitude information and latitude information where the vehicle is located, as well as speed information; 步骤2,各车辆的用户终端的信息发送模块以设定的交通状况更新时间间隔将所采集到的实时运行位置信息进行封装形成运行位置信息的数据包,并将数据包通过传输网络传输到交通信息服务中心的服务器; Step 2, the information sending module of the user terminal of each vehicle encapsulates the collected real-time operating position information at the set traffic condition update time interval to form a data packet of operating position information, and transmits the data packet to the traffic through the transmission network. The server of the information service center; 步骤3,交通信息服务中心的服务器的信息接收模块将接收到的各车辆在道路上的实时运行位置信息的数据包发送到交通信息服务中心的服务器的点图数据管理模块;由交通信息服务中心的服务器的点图数据管理模块按照数据包的报文定义进行解析得到车辆的运行位置信息,然后进行汇总形成实时的道路交通状况点图数据,并通过交通信息服务中心的服务器的信息发送模块将实时的道路交通状况点图数据的数据包通过网络传输到用户终端; Step 3, the information receiving module of the server of the traffic information service center sends the data packets of the real-time running position information of each vehicle received on the road to the point map data management module of the server of the traffic information service center; The point map data management module of the server analyzes according to the message definition of the data packet to obtain the running position information of the vehicle, and then summarizes it to form real-time road traffic condition point map data, and transmits the information through the information sending module of the server of the traffic information service center The data packet of the real-time road traffic condition point map data is transmitted to the user terminal through the network; 步骤4,用户终端的信息接收模块将接收到的道路交通状况点图数据发送到点图数据绘制模块;点图数据绘制模块根据导航管理系统模块的当前路径规划信息,以及电子地图管理模块的周边道路的地图数据,提取需要绘制的点图数据信息,并用点图方式表示在用户终端的电子地图上;用点图方式表示道路交通状况时,用至少一个点表示一辆车的位置,或用与车辆相似的符号表示一个车辆的位置,描述在用户终端的电子地图上。 Step 4, the information receiving module of the user terminal sends the received road traffic status point map data to the point map data drawing module; the point map data drawing module is based on the current route planning information of the navigation management system module, and the surrounding areas of the electronic map management module Road map data, extract the point map data information that needs to be drawn, and express it on the electronic map of the user terminal in the form of a point map; when using a point map to represent road traffic conditions, use at least one point to represent the position of a vehicle, or use A symbol similar to a vehicle indicates the location of a vehicle, which is described on the electronic map of the user terminal. 5.根据权利要求4所述的基于车辆位置的道路交通状况表示方法,其特征在于所述运行位置信息的获取过程是: 5. The road traffic condition representation method based on vehicle position according to claim 4, characterized in that the acquisition process of the running position information is: 首先,运行位置信息采集模块调用GPS模块,并进行GPS模块的初始化;初始化时,GPS模块生成一个CAppSystem_GPS的实例对象,通过调用成员函数Init()来初始化读取GPS串口,并启动新的进程循环读取并解析GPS数据信息; First, the running location information acquisition module calls the GPS module and initializes the GPS module; when initializing, the GPS module generates an instance object of CAppSystem_GPS, initializes and reads the GPS serial port by calling the member function Init(), and starts a new process loop Read and analyze GPS data information; 然后,从文件读取或者串口读取GPS信息,并进行解析,存储在静态结构变量里,并向已注册的窗口发送包含有当前GPS信息的有效性和接收到的卫星数的窗口信息,循环如上操作直到有错误发生(不包括超时的原因)或者其他原因退出循环。 Then, read the GPS information from the file or the serial port, analyze it, store it in the static structure variable, and send the window information including the validity of the current GPS information and the number of satellites received to the registered window, and loop Operate as above until there is an error (not including the reason for timeout) or other reasons to exit the loop. 6.根据权利要求4所述的基于车辆位置的道路交通状况表示方法,其特征在于所述的交通状况更新时间间隔默认为每5秒钟更新一次,也可以按照用户终端的运行位置信息采集模块设定的时间间隔进行更新。 6. The road traffic condition representation method based on vehicle position according to claim 4, characterized in that the update time interval of the traffic condition is updated every 5 seconds by default, and can also be updated according to the operating position information collection module of the user terminal Updates are performed at set intervals. 7.根据权利要求4所述的基于车辆位置的道路交通状况表示方法,其特征在于所述的用户终端的信息发送模块通过无线传输网络发送运行位置信息的过程如下:用户终端的信息发送模块进行端口分配,按照运行位置信息数据包的报文格式进行数据封装,并启动用户终端的信息发送进程,进行数据包发送;在发送数据包,默认的发送工作线程数目为2,并进行超时检测,一般以时长超过100秒为发送超时。 7. The road traffic condition representation method based on vehicle position according to claim 4, characterized in that the information sending module of the user terminal sends the process of running position information through the wireless transmission network as follows: the information sending module of the user terminal carries out Port allocation, data encapsulation according to the message format of the running location information packet, and start the information sending process of the user terminal to send the data packet; when sending the data packet, the default number of sending worker threads is 2, and timeout detection is performed, Generally, the sending timeout is when the time exceeds 100 seconds. 8.根据权利要求4所述的基于车辆位置的道路交通状况表示方法,其特征在于所述的交通信息服务中心的服务器的点图数据管理模块按照设定点图数据的更新时间间隔参数汇总各车辆在道路上的对应时间段内的各车辆的运行位置信息,形成实时的道路交通状况点图数据的数据包; 8. The road traffic condition representation method based on vehicle position according to claim 4, characterized in that the point map data management module of the server of the traffic information service center summarizes each The running position information of each vehicle in the corresponding time period of the vehicle on the road forms a data packet of real-time road traffic condition point map data; 点图数据管理模块每接收到一个车辆的运行位置数据包,更新实时道路交通状况点图数据;道路交通状况点图按网格划分为子网格点图;向用户终端发送的点图数据是按照网格进行分块;当运行车辆的位置发生变化时,需要更新点图,根据用户编号查询到用户点图中点的指针地址,直接对云图点做更新操作。 The point map data management module updates the real-time road traffic condition point map data every time it receives a vehicle's running position data packet; the road traffic condition point map is divided into sub-grid point maps according to the grid; the point map data sent to the user terminal is Divide into blocks according to the grid; when the position of the running vehicle changes, the point map needs to be updated, and the pointer address of the point in the user point map is queried according to the user number, and the cloud map point is directly updated. 9.根据权利要求4所述的基于车辆位置的道路交通状况表示系统,其特征在于步骤4的具体方法是:首先,交通信息服务中心的服务器的信息发送模块将实时的道路交通状况点图数据通过网络传输到用户终端的信息接收模块;其次,用户终端的信息接收模块根据接收到实时的道路交通状况点图数据中的各车辆当前运行位置的全球卫星导航系统的经度和纬度信息定位到道路地图上对应的位置;最后,用户终端用至少一个点或车辆相似的其他符号在上述电子地图对应的位置上标记为运行车辆点,表示在该位置上有车辆在行驶。 9. The road traffic condition representation system based on vehicle position according to claim 4, characterized in that the concrete method of step 4 is: first, the information sending module of the server of the traffic information service center sends the real-time road traffic condition point map data The information receiving module transmitted to the user terminal through the network; secondly, the information receiving module of the user terminal locates the road according to the longitude and latitude information of the global satellite navigation system of the current operating position of each vehicle in the real-time road traffic condition point map data received The corresponding position on the map; finally, the user terminal uses at least one point or other symbols similar to the vehicle to mark the position corresponding to the above-mentioned electronic map as a running vehicle point, indicating that there is a vehicle running at this position.
CN201110345289.7A 2011-11-04 2011-11-04 Road traffic condition representing system and method based on vehicle positions Expired - Fee Related CN102426778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110345289.7A CN102426778B (en) 2011-11-04 2011-11-04 Road traffic condition representing system and method based on vehicle positions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110345289.7A CN102426778B (en) 2011-11-04 2011-11-04 Road traffic condition representing system and method based on vehicle positions

Publications (2)

Publication Number Publication Date
CN102426778A true CN102426778A (en) 2012-04-25
CN102426778B CN102426778B (en) 2014-03-19

Family

ID=45960755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110345289.7A Expired - Fee Related CN102426778B (en) 2011-11-04 2011-11-04 Road traffic condition representing system and method based on vehicle positions

Country Status (1)

Country Link
CN (1) CN102426778B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984658A (en) * 2012-11-16 2013-03-20 深圳市锐明视讯技术有限公司 Method and device for acquiring vehicle site information
CN103400506A (en) * 2013-07-30 2013-11-20 吴云肖 LED light address emitter, vehicle networking system and electronic map drawing method
CN103680209A (en) * 2013-12-21 2014-03-26 曹乃承 Traffic information system and road condition collecting and issuing, rear-end-collision-prevention and accident judging method
CN103869768A (en) * 2012-12-11 2014-06-18 波音公司 Monitoring systems of a vehicle by generating and transmitting customized information messages to wireless networked computers
CN103886738A (en) * 2012-12-19 2014-06-25 黑龙江诠维地理信息有限公司 Mobile interment-based road traffic real-time road condition information analyzing and determination method
CN103914457A (en) * 2012-12-31 2014-07-09 北京中交兴路信息科技有限公司 Data display method and data display system
CN104080041A (en) * 2013-03-27 2014-10-01 百度在线网络技术(北京)有限公司 Method for detecting area crowdedness degree and locating server
CN104680820A (en) * 2015-02-12 2015-06-03 浙江大学 Traffic flow car networking system and traffic flow control method based on gradient field
CN105160717A (en) * 2015-08-21 2015-12-16 深圳市金溢科技股份有限公司 Traffic cloud service method, system, subsystem, vehicle-mounted unit and network terminal
CN105931457A (en) * 2015-02-26 2016-09-07 福特全球技术公司 Methods and systems to determine and communicate driver performance
CN106233353A (en) * 2014-05-29 2016-12-14 英派尔科技开发有限公司 Remotely drive auxiliary
CN107239465A (en) * 2016-03-29 2017-10-10 茹景阳 A kind of apparatus and method of dynamic electronic map collection
CN107851396A (en) * 2015-07-31 2018-03-27 罗伯特·博世有限公司 The distribution of transport information
CN108171968A (en) * 2017-11-29 2018-06-15 江苏速度信息科技股份有限公司 The road condition analyzing system and method for position data based on mobile terminal device signaling
CN108280996A (en) * 2018-01-09 2018-07-13 佛山科学技术学院 A kind of road traffic evaluation system based on mobile end data acquisition
CN108428356A (en) * 2018-03-21 2018-08-21 东南大学 A kind of displaying of road conditions figure and auxiliary driving application process based on fluid density field
CN110114808A (en) * 2016-12-27 2019-08-09 歌乐株式会社 Vehicular communication unit and communication means
WO2021036464A1 (en) * 2019-08-30 2021-03-04 腾讯科技(深圳)有限公司 Map data query method and apparatus, computer device, and storage medium
CN113129405A (en) * 2019-12-31 2021-07-16 中国移动通信集团贵州有限公司 Map construction method, map construction device, map construction equipment and storage medium
CN116238834A (en) * 2022-12-08 2023-06-09 湖北凯乐仕通达科技有限公司 Method and device for planning working path of stereoscopic warehouse system and computer equipment
US12276509B2 (en) 2019-08-30 2025-04-15 Tencent Technology (Shenzhen) Company Limited Map data query method and apparatus, computer device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415155A (en) * 2008-10-30 2009-04-22 深圳市时代经纬科技有限公司 1mobile instant communication method and system based on position service
CN201312333Y (en) * 2008-09-09 2009-09-16 比亚迪股份有限公司 Vehicle information service system
CN101592491A (en) * 2009-07-20 2009-12-02 查闻 3G car computer real-time navigation system
JP2010140135A (en) * 2008-12-10 2010-06-24 Panasonic Corp Traffic information providing system, traffic information generation server device, in-vehicle navigation device
CN101777253A (en) * 2009-12-24 2010-07-14 戴磊 Real-time road condition acquiring, analyzing and back-feeding and intelligent transportation integrated service system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201312333Y (en) * 2008-09-09 2009-09-16 比亚迪股份有限公司 Vehicle information service system
CN101415155A (en) * 2008-10-30 2009-04-22 深圳市时代经纬科技有限公司 1mobile instant communication method and system based on position service
JP2010140135A (en) * 2008-12-10 2010-06-24 Panasonic Corp Traffic information providing system, traffic information generation server device, in-vehicle navigation device
CN101592491A (en) * 2009-07-20 2009-12-02 查闻 3G car computer real-time navigation system
CN101777253A (en) * 2009-12-24 2010-07-14 戴磊 Real-time road condition acquiring, analyzing and back-feeding and intelligent transportation integrated service system

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984658A (en) * 2012-11-16 2013-03-20 深圳市锐明视讯技术有限公司 Method and device for acquiring vehicle site information
CN103869768A (en) * 2012-12-11 2014-06-18 波音公司 Monitoring systems of a vehicle by generating and transmitting customized information messages to wireless networked computers
CN103869768B (en) * 2012-12-11 2018-02-06 波音公司 For system, method and the medium of the system for monitoring the vehicles
US9794346B2 (en) 2012-12-11 2017-10-17 The Boeing Company Monitoring systems of a vehicle by generating and transmitting customized information messages to wireless networked computers
CN103886738A (en) * 2012-12-19 2014-06-25 黑龙江诠维地理信息有限公司 Mobile interment-based road traffic real-time road condition information analyzing and determination method
CN103914457B (en) * 2012-12-31 2017-06-20 北京中交兴路信息科技有限公司 A kind of method for exhibiting data and data display systems
CN103914457A (en) * 2012-12-31 2014-07-09 北京中交兴路信息科技有限公司 Data display method and data display system
CN104080041A (en) * 2013-03-27 2014-10-01 百度在线网络技术(北京)有限公司 Method for detecting area crowdedness degree and locating server
CN103400506A (en) * 2013-07-30 2013-11-20 吴云肖 LED light address emitter, vehicle networking system and electronic map drawing method
CN103400506B (en) * 2013-07-30 2016-02-10 吴云肖 LED light address transmitter and car networked system and drawing electronic map method
CN103680209A (en) * 2013-12-21 2014-03-26 曹乃承 Traffic information system and road condition collecting and issuing, rear-end-collision-prevention and accident judging method
CN106233353A (en) * 2014-05-29 2016-12-14 英派尔科技开发有限公司 Remotely drive auxiliary
CN104680820A (en) * 2015-02-12 2015-06-03 浙江大学 Traffic flow car networking system and traffic flow control method based on gradient field
CN105931457A (en) * 2015-02-26 2016-09-07 福特全球技术公司 Methods and systems to determine and communicate driver performance
CN107851396A (en) * 2015-07-31 2018-03-27 罗伯特·博世有限公司 The distribution of transport information
CN105160717A (en) * 2015-08-21 2015-12-16 深圳市金溢科技股份有限公司 Traffic cloud service method, system, subsystem, vehicle-mounted unit and network terminal
CN105160717B (en) * 2015-08-21 2018-05-22 深圳市金溢科技股份有限公司 Traffic cloud service method, system, subsystem, board units and the network terminal
CN107239465A (en) * 2016-03-29 2017-10-10 茹景阳 A kind of apparatus and method of dynamic electronic map collection
CN110114808A (en) * 2016-12-27 2019-08-09 歌乐株式会社 Vehicular communication unit and communication means
CN110114808B (en) * 2016-12-27 2021-11-23 歌乐株式会社 Vehicle-mounted communication device and communication method
CN108171968A (en) * 2017-11-29 2018-06-15 江苏速度信息科技股份有限公司 The road condition analyzing system and method for position data based on mobile terminal device signaling
CN108280996A (en) * 2018-01-09 2018-07-13 佛山科学技术学院 A kind of road traffic evaluation system based on mobile end data acquisition
CN108428356A (en) * 2018-03-21 2018-08-21 东南大学 A kind of displaying of road conditions figure and auxiliary driving application process based on fluid density field
WO2021036464A1 (en) * 2019-08-30 2021-03-04 腾讯科技(深圳)有限公司 Map data query method and apparatus, computer device, and storage medium
US12276509B2 (en) 2019-08-30 2025-04-15 Tencent Technology (Shenzhen) Company Limited Map data query method and apparatus, computer device, and storage medium
CN113129405A (en) * 2019-12-31 2021-07-16 中国移动通信集团贵州有限公司 Map construction method, map construction device, map construction equipment and storage medium
CN116238834A (en) * 2022-12-08 2023-06-09 湖北凯乐仕通达科技有限公司 Method and device for planning working path of stereoscopic warehouse system and computer equipment
CN116238834B (en) * 2022-12-08 2024-01-02 湖北凯乐仕通达科技有限公司 Method and device for planning working path of stereoscopic warehouse system and computer equipment

Also Published As

Publication number Publication date
CN102426778B (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN102426778B (en) Road traffic condition representing system and method based on vehicle positions
US11450202B2 (en) Method and system for determining a geographical area occupied by an intersection
CN107305131B (en) Node-centric navigation optimization
US10629069B2 (en) Method and apparatus for providing a localized link-centric metric for directional traffic propagation
US11335191B2 (en) Intelligent telematics system for defining road networks
CN102903240B (en) A kind of real-time road sensory perceptual system based on vehicle-mounted Big Dipper locating terminal
US9518837B2 (en) Monitoring and visualizing traffic surprises
US10755558B2 (en) Method, apparatus, and system for detecting venue trips and related road traffic
US10255807B1 (en) Method and apparatus for providing a map data update based on region-specific data turbulence
US11335189B2 (en) Method for defining road networks
CN103295397B (en) Method and system for self-service road condition information display for users
CN103606292A (en) Intelligent navigator and realization method for path navigation thereof
CN103136950A (en) Method of providing comprehensive road condition information
US20200320867A1 (en) Traffic analytics system for defining road networks
CN103033192A (en) Navigation system, and navigation method and device based on real-time traffic information
US20210333114A1 (en) System and method for dynamic routing
WO2011140859A1 (en) Method and system for providing graphical real-time traffic information
CN110741227B (en) Landmark assisted navigation
CN106023620A (en) Big-data-based traffic light prompting system
CN103727944A (en) Method for dynamically displaying travel progress by using legend
CN104599499A (en) Distributed statistic method and device for traffic position
EP2267680B1 (en) Method and system for transmitting dynamic road traffic data to a user terminal
CN110753827A (en) Route on digital map with interactive turn graphics
US12112621B2 (en) Method and apparatus for traffic report certainty estimation
US20240203246A1 (en) Methods and systems for predicting traffic information for at least one map tile area

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140319