CN111415510B - Traffic data obtaining method and device - Google Patents
Traffic data obtaining method and device Download PDFInfo
- Publication number
- CN111415510B CN111415510B CN201910010385.2A CN201910010385A CN111415510B CN 111415510 B CN111415510 B CN 111415510B CN 201910010385 A CN201910010385 A CN 201910010385A CN 111415510 B CN111415510 B CN 111415510B
- Authority
- CN
- China
- Prior art keywords
- traffic
- data
- obtaining
- information
- road
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
Landscapes
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
- Traffic Control Systems (AREA)
Abstract
The application provides a method and a device for obtaining traffic data. Wherein the method comprises the following steps: acquiring original traffic network data; acquiring road data of a traffic network and road link data of a map according to the original traffic network data; constructing a corresponding relation between the road section data and the road link data; acquiring traffic data mounted on a road chain corresponding to the road chain data; and acquiring the traffic data mounted on the road section corresponding to the road section data according to the traffic data mounted on the road chain corresponding to the road chain data and the corresponding relation between the road section data and the road chain data. By adopting the method provided by the application, the problem that the traffic information of a map provider cannot be processed in a unified manner in the prior art is solved.
Description
Technical Field
The application relates to the field of traffic network information processing, in particular to a method and a device for acquiring traffic data.
Background
Nowadays, the application of big data is more and more extensive, and is also more and more accepted and accepted by the public. The analysis of big data to help people to judge, analyze and predict is an important operation means of more and more companies with more complete informatization. For industries with low informatization degree, the information is also required to be changed actively, and the people hope to enter the internet + era as soon as possible.
The transportation industry, as one of the traditional industries, has more but incomplete data collected by equipment. However, when making decision, it is often difficult to utilize the data, so people want to create an intelligent city brain.
Therefore, the method maps unit road network information such as standard definition and high definition map road network information, traffic police, road and government offices and the like into a set of unified road network structure data organized according to road sections, and processes other traffic related dynamic and static data on the basis of the road sections, thereby being a feasible solution for solving the problem.
The solution is mainly to make a new road network basic framework for better serving upper-layer decision making, situation analysis and the like of traffic data, and the new road network basic framework is relatively stable traffic basic data content, carries various traffic information and completes multi-party data fusion.
How to fuse the traffic information of the map provider into the solution to obtain the valuable information such as speed, flow, track and the like is a technical problem to be solved urgently.
Disclosure of Invention
The application provides a method for acquiring traffic data, which aims to solve the problem that in the prior art, the traffic information of a map provider cannot be processed in a unified manner.
The application provides a traffic data obtaining method, which comprises the following steps:
acquiring original traffic network data;
acquiring road data of a traffic network and road link data of a map according to the original traffic network data;
acquiring traffic data mounted on a road chain corresponding to the road chain data;
and acquiring the traffic data mounted on the road section corresponding to the road section data according to the traffic data mounted on the road chain corresponding to the road chain data and the corresponding relation between the road section data and the road chain data.
Optionally, the method for obtaining traffic data further includes:
and constructing a corresponding relation between the road section data and the road link data.
Optionally, the method for obtaining traffic data further includes:
and generating map information for providing position service according to the traffic data mounted on the road section corresponding to the road section data.
Optionally, the method for obtaining traffic data further includes:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the method for obtaining traffic data further includes:
Obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
Optionally, the method for obtaining traffic data further includes:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
Optionally, the obtaining of the road data of the traffic network and the road link data of the map according to the original traffic network data includes:
determining road segment objects in the traffic road network according to at least one of road identification information, map information and direction information included in the original traffic road network data;
and extracting the road section information aiming at the road section object in the original traffic network data.
Optionally, the traffic data on the road link includes at least one of the following information:
Traffic speed information;
traffic flow information;
and (4) traffic track information.
Optionally, the obtaining, according to the traffic data mounted on the road link corresponding to the road link data and the correspondence between the road segment data and the road link data, the traffic data mounted on the road segment corresponding to the road segment data includes:
determining a road link corresponding to the road link data contained in the road section corresponding to the road section data according to the corresponding relation between the road section data and the road link data;
and performing data conversion on the traffic data on the road chain corresponding to the road link data contained in the road section corresponding to the road section data to obtain the traffic data mounted on the road section corresponding to the road section data.
Optionally, the method for obtaining traffic data further includes:
obtaining a mapping relation between a first intersection of a traffic network and a second intersection of a map provider according to an intersection identifier of the traffic network, an intersection identifier of a map and a region code corresponding to the traffic network;
obtaining traffic data mounted to a first intersection of the traffic network according to the traffic data mounted to a second intersection of the map provider and a mapping relation between the first intersection of the traffic network and the second intersection of the map provider;
And generating map information for providing position service according to the traffic data mounted to the first intersection of the traffic network.
Optionally, the method for obtaining traffic data further includes:
obtaining traffic flow information of a specified intersection in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the method for obtaining traffic data further includes:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
Optionally, the method for obtaining traffic data further includes:
obtaining at least one of traffic accident information and traffic jam information of a specified intersection in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
Optionally, the method for obtaining traffic data further includes:
Obtaining a mapping relation between a first road section of a traffic network and a second road section of a client system according to a first road section identifier of the traffic network, a second road section identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first road section of the traffic network according to the client traffic data mounted to a second road section of the client system and a mapping relation between the first road section of the traffic network and the second road section of the client system;
and generating map information for providing position service according to the traffic data mounted to the first road section of the traffic network.
Optionally, the method for obtaining traffic data further includes:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
The method for obtaining the traffic data further comprises the following steps:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the designated traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
The method for obtaining the traffic data further comprises the following steps:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
Optionally, the method for obtaining traffic data further includes:
obtaining a mapping relation between a first traffic facility of a traffic network and a second traffic facility of a client system according to a first traffic facility identifier of the traffic network, a second traffic facility identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic facility of the traffic network according to the customer traffic data mounted to a second traffic facility of the customer system and a mapping relation between the first traffic facility of the traffic network and the second traffic facility of the customer system;
and generating map information for providing position service according to the traffic data mounted to the first traffic facility of the traffic network.
Optionally, the method for obtaining traffic data further includes:
Acquiring traffic flow information corresponding to specified traffic facilities in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the method for obtaining traffic data further includes:
obtaining a mapping relation between a first traffic device of a traffic network and a second traffic device of a client system according to a first traffic device identifier of the traffic network, a second traffic device identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic device of the traffic network according to the customer traffic data mounted to a second traffic device of the customer system and a mapping relation between the first traffic device of the traffic network and the second traffic device of the customer system;
and generating map information for providing position service according to the traffic data mounted to the first traffic equipment of the traffic network.
Optionally, the method for obtaining traffic data further includes:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information. Optionally, the method for obtaining traffic data further includes:
Obtaining a mapping relation between a third traffic device of a traffic network and an intersection of a client system according to the third traffic device identification of the traffic network, the intersection identification of the client system, the nearest upstream intersection identification of the intersection of the client system and the nearest downstream intersection identification of the intersection of the client system;
obtaining traffic data mounted to a third traffic device of the traffic network according to the client traffic data mounted to the intersection of the client system and the mapping relation between the first traffic device of the traffic network and the intersection of the client system;
and generating map information for providing position service according to the traffic data of the third traffic equipment mounted to the traffic network.
Optionally, the method for obtaining traffic data further includes:
acquiring traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information. Optionally, the method for obtaining traffic data further includes:
obtaining a mapping relation between a fourth traffic device of a traffic network and an information point of a client system according to a fourth traffic device identifier of the traffic network, an information point identifier of the client system, a city code of the client system and a data version of the client system;
Obtaining traffic data of a fourth traffic device mounted to the traffic network according to the client traffic data of the information points mounted to the client system and the mapping relation between the fourth traffic device of the traffic network and the information points of the client system;
and generating map information for providing position service according to the traffic data of the fourth traffic equipment mounted to the traffic network.
Optionally, the method for obtaining traffic data further includes:
acquiring traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
The application provides an obtaining device of traffic data, includes:
the original data acquisition unit is used for acquiring original traffic network data;
a road link data obtaining unit, configured to obtain road data of a traffic network and road link data of a map according to the original traffic network data;
the first traffic data obtaining unit is used for obtaining internet traffic data mounted on a road chain corresponding to the road chain data;
and the second traffic data obtaining unit is used for obtaining the traffic data mounted on the road section corresponding to the road section data according to the traffic data mounted on the road chain corresponding to the road chain data and the corresponding relation between the road section data and the road chain data.
Optionally, the apparatus for obtaining traffic data further includes a construction unit, where the construction unit is configured to:
and constructing a corresponding relation between the road section data and the road link data.
Optionally, the second traffic data obtaining unit is specifically configured to:
and generating map information for providing position service according to the traffic data mounted on the road section corresponding to the road section data.
Optionally, the second traffic data obtaining unit is further configured to:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the second traffic data obtaining unit is further configured to:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
Optionally, the second traffic data obtaining unit is further configured to:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
And generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
Optionally, the link data obtaining unit is specifically configured to:
determining road segment objects in the traffic road network according to at least one of road identification information, map information and direction information included in the original traffic road network data;
extracting road segment information for the road segment object in the original traffic network data.
Optionally, the traffic data on the road link includes at least one of the following information:
traffic speed information;
traffic flow information;
and (4) traffic track information.
Optionally, the traffic data obtaining unit is specifically configured to:
determining a road link corresponding to the road link data contained in the road section corresponding to the road section data according to the corresponding relation between the road section data and the road link data;
and performing data conversion on the traffic data on the road chain corresponding to the road link data contained in the road section corresponding to the road section data to obtain the traffic data mounted on the road section corresponding to the road section data.
Optionally, the obtaining apparatus of traffic data further includes a first intersection traffic data obtaining unit, where the first intersection traffic data obtaining unit is configured to:
Obtaining a mapping relation between a first intersection of a traffic network and a second intersection of a map provider according to an intersection identification of the traffic network, an intersection identification of a map and a region code corresponding to the traffic network;
acquiring traffic data mounted to a first intersection of the traffic network according to the traffic data mounted to a second intersection of the map provider and a mapping relation between the first intersection of the traffic network and the second intersection of the map provider;
and generating map information for providing position service according to the traffic data mounted to the first intersection of the traffic network.
Optionally, the first intersection traffic data obtaining unit is further configured to:
obtaining traffic flow information of a specified intersection in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the first intersection traffic data obtaining unit is further configured to:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
Optionally, the first intersection traffic data obtaining unit is further configured to:
obtaining at least one of traffic accident information and traffic jam information of a specified intersection in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
Optionally, the obtaining apparatus of traffic data further includes a first road segment traffic data obtaining unit, where the first road segment traffic data obtaining unit is configured to:
obtaining a mapping relation between a first road section of a traffic network and a second road section of a client system according to a first road section identifier of the traffic network, a second road section identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first road section of the traffic network according to the client traffic data mounted to a second road section of the client system and a mapping relation between the first road section of the traffic network and the second road section of the client system;
and generating map information for providing position service according to the traffic data mounted to the first road section of the traffic network.
Optionally, the first road segment traffic data obtaining unit is further configured to:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the first road segment traffic data obtaining unit is further configured to:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the designated traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
Optionally, the first road segment traffic data obtaining unit is further configured to:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
Optionally, the obtaining apparatus of traffic data further includes a first transportation facility traffic data obtaining unit, where the first transportation facility traffic data obtaining unit is configured to:
Obtaining a mapping relation between a first traffic facility of a traffic network and a second traffic facility of a client system according to the first traffic facility identifier of the traffic network, the second traffic facility identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic facility of the traffic network according to the client traffic data mounted to a second traffic facility of the client system and a mapping relation between the first traffic facility of the traffic network and the second traffic facility of the client system;
and generating map information for providing position service according to the traffic data of the first traffic facility mounted to the traffic network.
Optionally, the first transportation facility traffic data obtaining unit is further configured to:
obtaining traffic flow information corresponding to the designated traffic facilities in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the obtaining apparatus of traffic data further includes a first transportation equipment traffic data obtaining unit, where the first transportation equipment traffic data obtaining unit is configured to:
Obtaining a mapping relation between a first traffic device of a traffic network and a second traffic device of a client system according to a first traffic device identifier of the traffic network, a second traffic device identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic device of the traffic network according to the client traffic data mounted to a second traffic device of the client system and a mapping relation between the first traffic device of the traffic network and the second traffic device of the client system;
and generating map information for providing position service according to the traffic data of the first traffic equipment mounted to the traffic network.
Optionally, the first transportation device traffic data obtaining unit is further configured to:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the obtaining apparatus of traffic data further includes a third transportation device traffic data obtaining unit, where the third transportation device traffic data obtaining unit is configured to:
Obtaining a mapping relation between a third traffic device of a traffic network and an intersection of a client system according to a third traffic device identifier of the traffic network, an intersection identifier of the client system, a nearest upstream intersection identifier of the intersection of the client system and a nearest downstream intersection identifier of the intersection of the client system;
obtaining traffic data mounted to a third traffic device of the traffic network according to the client traffic data mounted to the intersection of the client system and the mapping relation between the first traffic device of the traffic network and the intersection of the client system;
and generating map information for providing position service according to the traffic data mounted to the third traffic equipment of the traffic network.
Optionally, the third transportation device traffic data obtaining unit is further configured to:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
Optionally, the obtaining apparatus of traffic data further includes a fourth traffic equipment traffic data obtaining unit, where the fourth traffic equipment traffic data obtaining unit is configured to:
Obtaining a mapping relation between a fourth traffic device of a traffic network and an information point of a client system according to a fourth traffic device identifier of the traffic network, an information point identifier of the client system, a city code of the client system and a data version of the client system;
obtaining traffic data of a fourth traffic device mounted to the traffic network according to the client traffic data of the information points mounted to the client system and the mapping relation between the fourth traffic device of the traffic network and the information points of the client system;
and generating map information for providing position service according to the traffic data of the fourth traffic equipment mounted to the traffic network.
Optionally, the fourth transportation device traffic data obtaining unit is further configured to:
acquiring traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
The application provides an electronic device, the electronic device includes:
a processor;
a memory for storing a program which, when read and executed by the processor, performs the method of obtaining traffic data.
The present application provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the method of obtaining traffic data.
By adopting the method provided by the application, firstly, original traffic network data is obtained, road section data of a traffic network and road link data of a map are obtained according to the original traffic network data, traffic data mounted on a road link corresponding to the road link data are obtained, and traffic data mounted on a road section corresponding to the road section data are obtained according to the traffic data mounted on the road link corresponding to the road link data and the corresponding relation between the road section data and the road link data, so that the problem that the traffic information of a map provider cannot be uniformly processed in the prior art is solved.
Drawings
Fig. 1 is a flowchart of a first embodiment of a method for obtaining traffic data provided in the present application.
Fig. 2 is a schematic diagram of an application example related to the first embodiment of the present application.
Fig. 3 is a traffic object mapping relationship architecture diagram according to a first embodiment of the present application.
Fig. 4 is a flowchart of a second embodiment of a traffic data obtaining apparatus provided in the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The first embodiment of the present application provides a method for obtaining traffic data. Please refer to fig. 1, which is a flowchart illustrating a first embodiment of the present application. The first embodiment of the present application will be described in detail below with reference to fig. 1. The method comprises the following steps:
step S101: and acquiring original traffic network data.
This step is used to obtain the original traffic network data.
The original traffic network data adopts a national standard network triple (road id, map breadth and direction). In the prior art, internet map providers (such as providers of various navigation maps APP) use such raw traffic network data.
Step S102: and acquiring road section data of a traffic network and road link data of a map according to the original traffic network data.
The step is used for obtaining road section data of a traffic network and road link data of an internet map according to the original traffic network data.
In this embodiment, a solution is provided for solving a problem that the traffic industry, as one of the traditional industries, has a lot of data collected by incomplete equipment, but the data are often difficult to be utilized when making a decision, in which unit road network information such as standard definition and high definition map road network information, traffic police, road and government offices and the like are mapped into a set of unified road network structure data organized according to road segments, and other traffic-related dynamic and static data are processed on the basis of the road segments. The road section (RID) refers to a basic road section in the brain of a city, and the road section is determined according to important intersections of important roads. In the traffic field, important roads and intersections are rarely changed, the change frequency is far lower than that of branch roads, and the branch roads are not important concerns for analyzing traffic laws.
In this embodiment, the traffic network adopts the above solution. The Link refers to a basic road segment which is used for issuing traffic information by adopting axf + in an internet map. The internet map can be various maps APP commonly used in the prior art.
In this embodiment, quarterly edition national standard triple data is taken, and a city brain basic road network database of a certain city is formed through manual or tool processing according to data manufacturing and coding specifications, wherein the city brain basic road network database includes manufacturing of an RID road section, and a relation table of an RID and a triple is generated.
The acquiring of the road data of the traffic network and the road link data of the internet map according to the original traffic network data comprises the following steps:
determining road segment objects in the traffic road network according to at least one of road identification information, map information and direction information included in the original traffic road network data;
and extracting road section information aiming at the road section object from the national standard road network information.
The original traffic network data adopts a national standard network triple (road id, map width and direction), and road section information in the traffic network is determined according to road identification information, map width information and direction information included in the original traffic network data.
The method for obtaining the traffic data further comprises the step of constructing the corresponding relation between the road section data and the road link data.
This step is used to construct a correspondence between the link data and the road link data.
For example, table 1 below gives the matching relationship between the link and the road link.
TABLE 1 matching Table of road segments (RID) and Link links (Link)
Step S103: and acquiring traffic data mounted on a road chain corresponding to the road chain data.
The step is used for obtaining the internet traffic data mounted on the road chain corresponding to the road chain data.
The traffic data on the road link comprises at least one of the following information:
traffic speed information;
traffic flow information;
and (4) traffic track information.
Step S104: and acquiring the traffic data mounted on the road section corresponding to the road section data according to the traffic data mounted on the road chain corresponding to the road chain data and the corresponding relation between the road section data and the road chain data.
The step is used for obtaining the traffic data mounted on the road section corresponding to the road section data according to the internet traffic data mounted on the road chain corresponding to the road chain data and the corresponding relation between the road section data and the road chain data.
The method for obtaining the traffic data further comprises the following steps:
and generating map information for providing position service according to the traffic data mounted on the road section corresponding to the road section data.
The location service comprises navigation, traffic route guidance, alarm prompt of a traffic accident place, map information display and the like.
The method for obtaining the traffic data further comprises the following steps:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
The traffic guidance is to guide the running of vehicles according to traffic road conditions so as to avoid congestion, thereby improving the traffic efficiency of cities.
The method for obtaining the traffic data further comprises the following steps:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
The traffic object refers to various traffic entities, such as road sections, intersections, junctions, traffic facilities, traffic equipment and the like.
The method for obtaining the traffic data further comprises the following steps:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
The traffic accident occurrence place or the traffic jam place is provided with the warning prompt for the traffic vehicles, so that the vehicles can avoid the accident occurrence place, and the urban traffic efficiency is improved.
The obtaining the traffic data mounted on the road section corresponding to the road section data according to the internet traffic data mounted on the road chain corresponding to the road chain data and the corresponding relationship between the road section data and the road chain data includes:
determining a road link corresponding to the road link data contained in the road section corresponding to the road section data according to the corresponding relation between the road section data and the road link data;
performing data conversion on internet data on a road link corresponding to the road link data contained in a road section corresponding to the road section data to obtain traffic data mounted on the road section corresponding to the road section data;
and generating map information for providing position service according to the traffic data mounted on the road section corresponding to the road section data.
For example, according to the correspondence between the Link data and the road Link data, it is determined that the Link RID1 corresponding to the Link data contains the Link links 1 and Link2 corresponding to the Link data;
the Link1 and Link2 represent traffic information using internet data, and can convert the traffic information represented by the internet data into traffic information on links of a traffic network.
Through these steps, conventional internet map providers, such as link traffic information expressed using internet data in various navigation APPs, are converted into link traffic information related in the solution.
The method for obtaining the traffic data further comprises the following steps:
obtaining a mapping relation between a first intersection of a traffic network and a second intersection of an internet map provider according to an intersection identification of the traffic network, an intersection identification of an internet map and a region code corresponding to the traffic network;
obtaining traffic data mounted to a first intersection of the traffic network according to the internet traffic data mounted to a second intersection of the internet map provider and a mapping relation between the first intersection of the traffic network and the second intersection of the internet map provider;
and generating map information for providing position service according to the traffic data mounted to the first intersection of the traffic network.
The method for obtaining the traffic data further comprises the following steps:
obtaining traffic flow information of a specified intersection in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
The method for obtaining the traffic data further comprises the following steps:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
The method for obtaining the traffic data further comprises the following steps:
obtaining at least one of traffic accident information and traffic jam information of a specified intersection in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
For example, table 2 below gives a mapping relationship between intersections and intersections of internet map providers.
English name of field | Field(s) | Type (B) | Field description |
inter_id | Intersection id | string | |
amap_inter_id | Internet map provider intersection id | string | |
data_version | Data version | string | The last day of each quarter |
adcode | City code | string |
TABLE 2 mapping relationship between intersections and intersections of Internet map providers
The method for obtaining the traffic data further comprises the following steps:
obtaining a mapping relation between a first road section of a traffic network and a second road section of a client system according to a first road section identifier of the traffic network, a second road section identifier of the client system, a data source of the client system and data generation time of the client system;
Obtaining traffic data of a first road section mounted to the traffic network according to the client traffic data of a second road section mounted to the client system and the mapping relation between the first road section of the traffic network and the second road section of the client system;
and generating map information for providing position service according to the traffic data mounted to the first road section of the traffic network.
The method for obtaining the traffic data further comprises the following steps:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
The method for obtaining the traffic data further comprises the following steps:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
The method for obtaining the traffic data further comprises the following steps:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
And generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
See table 3, which shows the mapping of RID and client system segments.
TABLE 3 mapping of RIDs and client system road segments
The method for obtaining the traffic data further comprises the following steps:
obtaining a mapping relation between a first traffic facility of a traffic network and a second traffic facility of a client system according to a first traffic facility identifier of the traffic network, a second traffic facility identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic facility of the traffic network according to the customer traffic data mounted to a second traffic facility of the customer system and a mapping relation between the first traffic facility of the traffic network and the second traffic facility of the customer system;
and generating map information for providing position service according to the traffic data mounted to the first traffic facility of the traffic network.
The method for obtaining the traffic data further comprises the following steps:
obtaining traffic flow information corresponding to the designated traffic facilities in the map information;
And generating a travel route for traffic guidance according to the traffic flow information.
Through these steps, the transportation facility information expressed in the client system using the client data is converted into the transportation facility information related in the solution.
In the real traffic management, the equipment plays an important role, the traffic equipment is the main acquisition means of traffic information, and the traffic facilities are the main means for formulating traffic rules.
The traffic equipment comprises various traffic police equipment such as signal lamps, signal machines, bayonets, electric police, microwaves, coils, cameras and induction screens.
The traffic facilities refer to various traffic police facilities such as marks, marked lines, zebra crossings, signs, posts, bus stations, parking lots and the like in roads.
For example, table 4 below gives a mapping relationship between traffic facilities of a traffic network and customer traffic facilities.
TABLE 4 traffic facility and customer traffic facility mapping relationship
The method for obtaining the traffic data further comprises the following steps:
obtaining a mapping relation between a first traffic device of a traffic network and a second traffic device of a client system according to a first traffic device identifier of the traffic network, a second traffic device identifier of the client system, a data source of the client system and data generation time of the client system;
Obtaining traffic data mounted to a first traffic device of the traffic network according to the customer traffic data mounted to a second traffic device of the customer system and a mapping relation between the first traffic device of the traffic network and the second traffic device of the customer system;
and generating map information for providing position service according to the traffic data mounted to the first traffic equipment of the traffic network.
The method for obtaining the traffic data further comprises the following steps: obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
For example, table 5 below gives a mapping of traffic devices of a traffic network and customer traffic devices.
TABLE 5 traffic device and customer traffic device mapping relationships
The method for obtaining the traffic data further comprises the following steps:
obtaining a mapping relation between a third traffic device of a traffic network and an intersection of a client system according to a third traffic device identifier of the traffic network, an intersection identifier of the client system, a nearest upstream intersection identifier of the intersection of the client system and a nearest downstream intersection identifier of the intersection of the client system;
Obtaining traffic data mounted to a third traffic device of the traffic network according to the client traffic data mounted to the intersection of the client system and the mapping relation between the first traffic device of the traffic network and the intersection of the client system;
and generating map information for providing position service according to the traffic data mounted to the third traffic equipment of the traffic network.
The method for obtaining the traffic data further comprises the following steps:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
For example, table 6 below gives a mapping of traffic devices and customer intersections of a traffic network.
TABLE 6 device and intersection mapping relationships
The method for obtaining the traffic data further comprises the following steps:
obtaining a mapping relation between a fourth traffic device of a traffic network and an information point of a client system according to a fourth traffic device identifier of the traffic network, an information point identifier of the client system, a city code of the client system and a data version of the client system;
obtaining traffic data mounted to a fourth traffic device of the traffic network according to the client traffic data mounted to the information points of the client system and the mapping relation between the fourth traffic device of the traffic network and the information points of the client system;
And generating map information for providing position service according to the traffic data of the fourth traffic equipment mounted to the traffic network.
The location service comprises navigation, traffic route guidance, alarm prompt of a traffic accident place, map information display and the like.
The method for obtaining the traffic data further comprises the following steps:
acquiring traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
The information point is an analysis object for mounting traffic information.
For example, table 7 below shows a mapping relationship between traffic devices and customer information points of a traffic network.
English name of field | Name of field | Type (B) | Description of the invention |
devc_id | Device id | string | |
ioi_id | Information point id | string | |
adcode | City code | string | City code |
data_version | Data version | string | Versions of data, e.g. 20170131 |
TABLE 7 device and information point mapping relationships
Similarly, the traffic device and lane mapping relationship is shown in table 8 below.
The lanes are divided in road sections according to lane indicators to separate traffic flows of co-current traffic. The space position of the lane is represented by the central line of the lane, and the lane is interrupted at the position where the number of lanes changes and the virtual-solid line of the lane boundary changes.
TABLE 8 traffic device and lane mapping relationship
Fig. 2 is a flowchart of an application example of a traffic data obtaining method according to the present embodiment.
The application example is particularly used for uniformly expressing road data by using road sections and intersections in a traffic data fusion engine. The link can be mapped from the road section, and then data such as real-time road conditions, historical flow, vehicle speed, track and the like can be obtained. Since links in the internet map change frequently, the mapping relationship from the road section to the internet map link needs to be updated regularly.
The key points of the flow chart are explained as follows:
(1) and updating the relation table of the RID and the triples according to the quarters, and generating the RID data of the new version and the data of the RID and the triples according to the relation data of the original triples and the RID when the new triples come.
(2) The link is a road network structure produced according to the triplets, and the relationship between the link and the triplets and the relationship between the RID and the link are obtained.
(3) The traffic information of the internet map provider is published on the link, so that we can obtain the traffic information of the RID.
FIG. 3 is an architecture diagram generally depicting the solution traffic object mapping relationship, including a matching relationship with source data, such as the relationship of traffic police equipment to the solution equipment; the relationship between traffic police facilities and facilities in a unified road network; the relationship between the Internet basic road network and the solution; and the mapping relationship between the solution objects.
In the above embodiment, a method for obtaining traffic data is provided, and correspondingly, an apparatus for obtaining traffic data is also provided. Please refer to fig. 4, which is a flowchart of an embodiment of a traffic data obtaining apparatus according to the present application. Since this embodiment, i.e., the second embodiment, is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The device embodiments described below are merely illustrative.
An obtaining apparatus of traffic data of the present embodiment includes:
an original data acquisition unit 401, configured to acquire original traffic network data;
a road link data obtaining unit 402, configured to obtain road data of a traffic network and road link data of a map according to the original traffic network data;
a first traffic data obtaining unit 403, configured to obtain traffic data mounted on a road link corresponding to the road link data;
a second traffic data obtaining unit 404, configured to obtain, according to the traffic data mounted on the road link corresponding to the road link data and the corresponding relationship between the road segment data and the road link data, the traffic data mounted on the road segment corresponding to the road segment data.
In this embodiment, the apparatus for obtaining traffic data further includes a construction unit, where the construction unit is configured to:
and constructing a corresponding relation between the road section data and the road link data.
In this embodiment, the second traffic data obtaining unit is specifically configured to:
and generating map information for providing position service according to the traffic data mounted on the road section corresponding to the road section data.
In this embodiment, the second traffic data obtaining unit is further configured to:
acquiring traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
In this embodiment, the second traffic data obtaining unit is further configured to:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
In this embodiment, the second traffic data obtaining unit is further configured to:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
And generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
In this embodiment, the link data obtaining unit is specifically configured to:
determining a road segment object in the traffic road network according to at least one of road identification information, map information and direction information included in the original traffic road network data;
and extracting the road section information aiming at the road section object in the original traffic network data.
In this embodiment, the traffic data on the road link includes at least one of the following information:
traffic speed information;
traffic flow information;
and (4) traffic track information.
In this embodiment, the traffic data obtaining unit is specifically configured to:
determining a road link corresponding to the road link data contained in the road section corresponding to the road section data according to the corresponding relation between the road section data and the road link data;
and matching the traffic data on the road chain corresponding to the road link data contained in the road section corresponding to the road section data to obtain the traffic data mounted on the road section corresponding to the road section data.
In this embodiment, the apparatus for obtaining traffic data further includes a first intersection traffic data obtaining unit, where the first intersection traffic data obtaining unit is configured to:
Obtaining a mapping relation between a first intersection of a traffic network and a second intersection of a map provider according to an intersection identification of the traffic network, an intersection identification of a map and a region code corresponding to the traffic network;
obtaining traffic data mounted to a first intersection of the traffic network according to the traffic data mounted to a second intersection of the map provider and a mapping relation between the first intersection of the traffic network and the second intersection of the map provider;
and generating map information for providing position service according to the traffic data mounted to the first intersection of the traffic network.
In this embodiment, the first intersection traffic data obtaining unit is further configured to:
obtaining traffic flow information of a specified intersection in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
In this embodiment, the first intersection traffic data obtaining unit is further configured to:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
In this embodiment, the first intersection traffic data obtaining unit is further configured to:
obtaining at least one of traffic accident information and traffic jam information of a specified intersection in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information. In this embodiment, the apparatus for obtaining traffic data further includes a first road segment traffic data obtaining unit, where the first road segment traffic data obtaining unit is configured to:
obtaining a mapping relation between a first road section of a traffic network and a second road section of a client system according to a first road section identifier of the traffic network, a second road section identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first road section of the traffic network according to the client traffic data mounted to a second road section of the client system and a mapping relation between the first road section of the traffic network and the second road section of the client system;
and generating map information for providing position service according to the traffic data mounted to the first road section of the traffic network.
In this embodiment, the first road segment traffic data obtaining unit is further configured to:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
In this embodiment, the first road segment traffic data obtaining unit is further configured to:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
In this embodiment, the first road segment traffic data obtaining unit is further configured to:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information. In this embodiment, the apparatus for obtaining traffic data further includes a first transportation facility traffic data obtaining unit, where the first transportation facility traffic data obtaining unit is configured to:
Obtaining a mapping relation between a first traffic facility of a traffic network and a second traffic facility of a client system according to a first traffic facility identifier of the traffic network, a second traffic facility identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic facility of the traffic network according to the customer traffic data mounted to a second traffic facility of the customer system and a mapping relation between the first traffic facility of the traffic network and the second traffic facility of the customer system;
and generating map information for providing position service according to the traffic data mounted to the first traffic facility of the traffic network.
In this embodiment, the first transportation facility traffic data obtaining unit is further configured to:
obtaining traffic flow information corresponding to the designated traffic facilities in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
In this embodiment, the apparatus for obtaining traffic data further includes a first transportation equipment traffic data obtaining unit, where the first transportation equipment traffic data obtaining unit is configured to:
Obtaining a mapping relation between a first traffic device of a traffic network and a second traffic device of a client system according to a first traffic device identifier of the traffic network, a second traffic device identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic device of the traffic network according to the customer traffic data mounted to a second traffic device of the customer system and a mapping relation between the first traffic device of the traffic network and the second traffic device of the customer system;
and generating map information for providing position service according to the traffic data mounted to the first traffic equipment of the traffic network.
In this embodiment, the first transportation device traffic data obtaining unit is further configured to:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
In this embodiment, the apparatus for obtaining traffic data further includes a third transportation equipment traffic data obtaining unit, where the third transportation equipment traffic data obtaining unit is configured to:
Obtaining a mapping relation between a third traffic device of a traffic network and an intersection of a client system according to the third traffic device identification of the traffic network, the intersection identification of the client system, the nearest upstream intersection identification of the intersection of the client system and the nearest downstream intersection identification of the intersection of the client system;
obtaining traffic data mounted to a third traffic device of the traffic network according to the client traffic data mounted to the intersection of the client system and the mapping relation between the first traffic device of the traffic network and the intersection of the client system;
and generating map information for providing position service according to the traffic data mounted to the third traffic equipment of the traffic network.
In this embodiment, the third transportation device traffic data obtaining unit is further configured to:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
In this embodiment, the apparatus for obtaining traffic data further includes a fourth traffic device traffic data obtaining unit, where the fourth traffic device traffic data obtaining unit is configured to:
Obtaining a mapping relation between a fourth traffic device of a traffic network and an information point of a client system according to a fourth traffic device identifier of the traffic network, an information point identifier of the client system, a city code of the client system and a data version of the client system;
obtaining traffic data of a fourth traffic device mounted to the traffic network according to the client traffic data of the information points mounted to the client system and the mapping relation between the fourth traffic device of the traffic network and the information points of the client system;
and generating map information for providing position service according to the traffic data of the fourth traffic equipment mounted to the traffic network.
In this embodiment, the fourth transportation device traffic data obtaining unit is further configured to:
acquiring traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
A third embodiment of the present application provides an electronic apparatus, including:
a processor;
a memory for storing a program which, when read and executed by the processor, performs the method provided in the first embodiment of the present application.
A fourth embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method provided in the first embodiment of the present application.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Claims (27)
1. A method of obtaining traffic data, comprising:
acquiring original traffic network data;
acquiring road data of a traffic network and road link data of a map according to the original traffic network data;
acquiring traffic data mounted on a road chain corresponding to the road chain data;
acquiring traffic data mounted on a road section corresponding to the road section data according to the traffic data mounted on the road chain corresponding to the road chain data and the corresponding relation between the road section data and the road chain data; further comprising:
obtaining a mapping relation between a first road section of a traffic network and a second road section of a client system according to a first road section identifier of the traffic network, a second road section identifier of the client system, a data source of the client system and data generation time of the client system;
Obtaining traffic data of a first road section mounted to the traffic network according to the client traffic data of a second road section mounted to the client system and the mapping relation between the first road section of the traffic network and the second road section of the client system;
and generating map information for providing position service according to the traffic data mounted to the first road section of the traffic network.
2. The method for obtaining traffic data according to claim 1, further comprising:
and constructing a corresponding relation between the road section data and the road link data.
3. The method for obtaining traffic data according to claim 1, further comprising:
and generating map information for providing position service according to the traffic data mounted on the road section corresponding to the road section data.
4. The method of obtaining traffic data according to claim 3, further comprising:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
5. The method of obtaining traffic data according to claim 3, further comprising:
Obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
6. The method of obtaining traffic data according to claim 3, further comprising:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
7. The method for obtaining traffic data according to claim 1, wherein obtaining road segment data of a traffic network and road link data of a map according to the original traffic network data comprises:
determining road segment objects in the traffic road network according to at least one of road identification information, map information and direction information included in the original traffic road network data;
and extracting the road section information aiming at the road section object in the original traffic network data.
8. The method for obtaining traffic data according to claim 1, wherein the traffic data on the road link includes at least one of the following information:
traffic speed information;
traffic flow information;
and (4) traffic track information.
9. The method for obtaining traffic data according to claim 1, wherein the obtaining traffic data mounted on a link corresponding to the link data according to the traffic data mounted on a link corresponding to the link data and a correspondence between the link data and the link data comprises:
determining a road link corresponding to the road link data contained in the road section corresponding to the road section data according to the corresponding relation between the road section data and the road link data;
and performing data conversion on the traffic data on the road chain corresponding to the road link data contained in the road section corresponding to the road section data to obtain the traffic data mounted on the road section corresponding to the road section data.
10. The method for obtaining traffic data according to claim 1, further comprising:
obtaining a mapping relation between a first intersection of a traffic network and a second intersection of a map provider according to an intersection identifier of the traffic network, an intersection identifier of a map and a region code corresponding to the traffic network;
Obtaining traffic data mounted to a first intersection of the traffic network according to the traffic data mounted to a second intersection of the map provider and a mapping relation between the first intersection of the traffic network and the second intersection of the map provider;
and generating map information for providing position service according to the traffic data mounted to the first intersection of the traffic network.
11. The method of obtaining traffic data according to claim 10, further comprising:
obtaining traffic flow information of a specified intersection in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
12. The method of obtaining traffic data according to claim 10, further comprising:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
13. The method of obtaining traffic data according to claim 10, further comprising:
Obtaining at least one of traffic accident information and traffic jam information of a specified intersection in the map information;
and generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
14. The method for obtaining traffic data according to claim 1, further comprising:
obtaining traffic flow information of a specified road section in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
15. The method for obtaining traffic data according to claim 1, further comprising:
obtaining a query request aiming at the current geographic position information of a specified traffic object;
acquiring identification information of the specified traffic object according to the query request;
and obtaining the current geographical position information of the specified traffic object from the map information according to the identification information of the specified traffic object.
16. The method for obtaining traffic data according to claim 1, further comprising:
obtaining at least one of traffic accident information and traffic jam information of a specified road section in the map information;
And generating warning information for prompting traffic road conditions according to at least one of the traffic accident information and the traffic jam information.
17. The method for obtaining traffic data according to claim 1, further comprising:
obtaining a mapping relation between a first traffic facility of a traffic network and a second traffic facility of a client system according to the first traffic facility identifier of the traffic network, the second traffic facility identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic facility of the traffic network according to the client traffic data mounted to a second traffic facility of the client system and a mapping relation between the first traffic facility of the traffic network and the second traffic facility of the client system;
and generating map information for providing position service according to the traffic data of the first traffic facility mounted to the traffic network.
18. The method of obtaining traffic data according to claim 17, further comprising:
obtaining traffic flow information corresponding to the designated traffic facilities in the map information;
And generating a travel route for traffic guidance according to the traffic flow information.
19. The method for obtaining traffic data according to claim 1, further comprising:
obtaining a mapping relation between a first traffic device of a traffic network and a second traffic device of a client system according to a first traffic device identifier of the traffic network, a second traffic device identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first traffic device of the traffic network according to the customer traffic data mounted to a second traffic device of the customer system and a mapping relation between the first traffic device of the traffic network and the second traffic device of the customer system;
and generating map information for providing position service according to the traffic data mounted to the first traffic equipment of the traffic network.
20. The method for obtaining traffic data according to claim 19, further comprising:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
21. The method for obtaining traffic data according to claim 1, further comprising:
obtaining a mapping relation between a third traffic device of a traffic network and an intersection of a client system according to a third traffic device identifier of the traffic network, an intersection identifier of the client system, a nearest upstream intersection identifier of the intersection of the client system and a nearest downstream intersection identifier of the intersection of the client system;
obtaining traffic data mounted to a third traffic device of the traffic network according to the client traffic data mounted to the intersection of the client system and the mapping relation between the first traffic device of the traffic network and the intersection of the client system;
and generating map information for providing position service according to the traffic data mounted to the third traffic equipment of the traffic network.
22. The method of obtaining traffic data according to claim 21, further comprising:
obtaining traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
23. The method for obtaining traffic data according to claim 1, further comprising:
Obtaining a mapping relation between a fourth traffic device of a traffic network and an information point of a client system according to a fourth traffic device identifier of the traffic network, an information point identifier of the client system, a city code of the client system and a data version of the client system;
obtaining traffic data mounted to a fourth traffic device of the traffic network according to the client traffic data mounted to the information points of the client system and the mapping relation between the fourth traffic device of the traffic network and the information points of the client system;
and generating map information for providing position service according to the traffic data of the fourth traffic equipment mounted to the traffic network.
24. The method of obtaining traffic data according to claim 23, further comprising:
acquiring traffic flow information corresponding to specified traffic equipment in the map information;
and generating a travel route for traffic guidance according to the traffic flow information.
25. An apparatus for obtaining traffic data, comprising:
the original data acquisition unit is used for acquiring original traffic network data;
a road link data obtaining unit, configured to obtain road data of a traffic network and road link data of a map according to the original traffic network data;
The first traffic data acquisition unit is used for acquiring traffic data mounted on a road chain corresponding to the road chain data;
a second traffic data obtaining unit, configured to obtain traffic data mounted to a road segment corresponding to the road segment data according to the traffic data mounted to a road link corresponding to the road link data and a correspondence between the road segment data and the road link data;
the traffic data acquisition unit is used for acquiring the traffic data of the first road segment:
obtaining a mapping relation between a first road section of a traffic network and a second road section of a client system according to a first road section identifier of the traffic network, a second road section identifier of the client system, a data source of the client system and data generation time of the client system;
obtaining traffic data mounted to a first road section of the traffic network according to the client traffic data mounted to a second road section of the client system and a mapping relation between the first road section of the traffic network and the second road section of the client system;
and generating map information for providing position service according to the traffic data mounted to the first road section of the traffic network.
26. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing a program that, when read and executed by the processor, performs the method of any of claims 1-24.
27. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 24.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910010385.2A CN111415510B (en) | 2019-01-04 | 2019-01-04 | Traffic data obtaining method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910010385.2A CN111415510B (en) | 2019-01-04 | 2019-01-04 | Traffic data obtaining method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111415510A CN111415510A (en) | 2020-07-14 |
CN111415510B true CN111415510B (en) | 2022-06-28 |
Family
ID=71494150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910010385.2A Active CN111415510B (en) | 2019-01-04 | 2019-01-04 | Traffic data obtaining method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111415510B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113532449B (en) * | 2021-06-21 | 2023-11-21 | 阿波罗智联(北京)科技有限公司 | Intelligent traffic network acquisition method and device, electronic equipment and storage medium |
CN114708726B (en) * | 2022-03-18 | 2023-12-01 | 北京百度网讯科技有限公司 | Traffic restriction processing method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493991A (en) * | 2009-02-20 | 2009-07-29 | 北京交通大学 | Method and device for obtaining traffic status based on sensor network |
JP2011034313A (en) * | 2009-07-31 | 2011-02-17 | Sumitomo Electric Ind Ltd | System and device for relaying information |
CN104778839A (en) * | 2015-04-28 | 2015-07-15 | 浙江大学 | Urban road downstream directional traffic state judgment method based on video detector |
CN109118769A (en) * | 2018-09-11 | 2019-01-01 | 东南大学 | A kind of section free stream velocity method for digging based on Traffic monitoring data |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005134429A (en) * | 2003-10-28 | 2005-05-26 | Pioneer Electronic Corp | Device, system, method, and program for notifying traffic condition, and recording medium with the program recorded thereon |
JP4788598B2 (en) * | 2006-12-28 | 2011-10-05 | 株式会社デンソー | Congestion degree judgment device, traffic information notification device, and program |
CN101398979A (en) * | 2008-10-28 | 2009-04-01 | 北京世纪高通科技有限公司 | Road information management method and device |
CN102110128A (en) * | 2009-12-28 | 2011-06-29 | 日电(中国)有限公司 | Traffic information conversion method and device based on traffic information element knowledge base |
JP5066206B2 (en) * | 2010-03-11 | 2012-11-07 | 日立オートモティブシステムズ株式会社 | Link string conversion method, road information providing apparatus, and road information providing system |
CN102243806A (en) * | 2010-05-12 | 2011-11-16 | 上海宝康电子控制工程有限公司 | Traffic guidance information releasing system based on deformation GIS (Geographic Information System) map and method employing same |
CN108347488A (en) * | 2018-02-13 | 2018-07-31 | 山东顺国电子科技有限公司 | Vehicles management method, device based on Beidou electronic map and server |
-
2019
- 2019-01-04 CN CN201910010385.2A patent/CN111415510B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493991A (en) * | 2009-02-20 | 2009-07-29 | 北京交通大学 | Method and device for obtaining traffic status based on sensor network |
JP2011034313A (en) * | 2009-07-31 | 2011-02-17 | Sumitomo Electric Ind Ltd | System and device for relaying information |
CN104778839A (en) * | 2015-04-28 | 2015-07-15 | 浙江大学 | Urban road downstream directional traffic state judgment method based on video detector |
CN109118769A (en) * | 2018-09-11 | 2019-01-01 | 东南大学 | A kind of section free stream velocity method for digging based on Traffic monitoring data |
Non-Patent Citations (2)
Title |
---|
城市道路网络交通状态时空演化量化分析;李晓丹等;《系统工程》;20081215(第12期);全文 * |
基于自匹配数据融合模型的城市交通路况诱导系统;农昭光等;《信息技术》;20181120(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111415510A (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kujala et al. | A collection of public transport network data sets for 25 cities | |
US20190301963A1 (en) | Processing data for predicting pipe failure | |
Bellini et al. | Km4City ontology building vs data harvesting and cleaning for smart-city services | |
CN111415510B (en) | Traffic data obtaining method and device | |
US20220157167A1 (en) | System for offsite navigation | |
CN113360543B (en) | Method, device, equipment and storage medium for identifying repeated routes of public transportation | |
CN111190982A (en) | Shared bicycle management method and system based on big data | |
CN115292507A (en) | Traffic travel analysis method, device, equipment and medium based on knowledge graph | |
CN111383450B (en) | Traffic network description method and device | |
US20230137263A1 (en) | Method and apparatus for generating structured trajectories from geospatial observations | |
Li et al. | An automatic extraction method of coach operation information from historical trajectory data | |
CN103617252A (en) | Retrieving and displaying method based on road names | |
Arco et al. | An operational framework to integrate traffic message channel (TMC) in emergency mapping services (EMS) | |
CN107247716B (en) | Method and device for increasing electronic eye information, navigation chip and server | |
Ruiz-Alarcon-Quintero | Harmonization of transport data sources according to INSPIRE data specification on transport networks | |
Mazhindu et al. | Design and Implementation of a Web-GIS for the management of road infrastructure in Zimbabwe | |
Kwoczek et al. | An architecture to process massive vehicular traffic data | |
Wang et al. | Grid mapping for road network abstraction and traffic congestion identification based on probe vehicle data | |
CN111337043B (en) | Path planning method and device, storage medium and electronic equipment | |
CN114550452A (en) | Road network structure problem position identification method and device and electronic equipment | |
CN113342782A (en) | Data monitoring method, device and medium based on expressway | |
Sakr et al. | User‐centered road network traffic analysis with MobilityDB | |
Gracious et al. | Characterizing Bus Travel Time using Advanced Data Visualization Techniques | |
Ježek et al. | Visual Analytics of Traffic-Related Open Data and VGI | |
CN111435450A (en) | Road data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |