CN106781472A - A kind of road conditions detection method and device based on public transport car data - Google Patents

A kind of road conditions detection method and device based on public transport car data Download PDF

Info

Publication number
CN106781472A
CN106781472A CN201611169627.5A CN201611169627A CN106781472A CN 106781472 A CN106781472 A CN 106781472A CN 201611169627 A CN201611169627 A CN 201611169627A CN 106781472 A CN106781472 A CN 106781472A
Authority
CN
China
Prior art keywords
section
bus
speed
traffic information
time period
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.)
Pending
Application number
CN201611169627.5A
Other languages
Chinese (zh)
Inventor
韩朋
张志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cennavi Technologies Co Ltd
Original Assignee
Beijing Cennavi Technologies 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 Beijing Cennavi Technologies Co Ltd filed Critical Beijing Cennavi Technologies Co Ltd
Priority to CN201611169627.5A priority Critical patent/CN106781472A/en
Publication of CN106781472A publication Critical patent/CN106781472A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • G08G1/0112Measuring and analyzing of parameters relative to traffic conditions based on the source of data from the vehicle, e.g. floating car data [FCD]
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0133Traffic data processing for classifying traffic situation

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the present invention provides a kind of road conditions detection method and device based on public transport car data, is related to technical field of transportation, it is intended to quickly determine the traffic information in current slot, including:Receive the gps data of bus in a time period;According to the gps data of bus in the time period, the grid that the bus routes of bus, the travel direction of bus and bus are passed through in electronic map is determined;From the corresponding relation of grid section, N number of section of the corresponding bus routes of inquiry grid in travel direction, N is more than or equal to 1;Gps data according to bus asks for average speed of the bus within the time period, used as the speed on N number of section that bus passes through;The average speed of all buses on each section is carried out into the speed after being merged, using the speed after fusion as the travel speed on each section;Traffic information on each section is generated according to the travel speed on each section.

Description

A kind of road conditions detection method and device based on public transport car data
Technical field
The present invention relates to technical field of transportation, more particularly to a kind of road conditions detection method and dress based on public transport car data Put.
Background technology
As expanding economy and the progress of society, city size expand day by day, the trip requirements of town dweller also enter one Step increases so that each metropolitan traffic jam issue of puzzlement becomes more acute.Traffic congestion not only makes road passage capability Reduce, road speed declines, traffic delay increase, can also cause huge economic loss.Therefore, how to obtain accurately and in time Real-time road is taken and issued, all seems extremely important for traffic administration person and traveler.
Traditional mode is that the traffic information in traffic route is determined using the method for manually reporting, and detailed process is: The traffic information of road where fixed place arranges specialized work personnel to carry out real-time report, this mode is relatively costly, efficiency It is low, and influenceed larger by the subjective factor of people, so that the data for reporting are less reliable.
In order to avoid the above-mentioned subjective factor by people is influenceed larger, it with ground induction coil data is according to right to be in the prior art What the road conditions in traffic route were detected, the specific detection process is as follows:A groove for circle is first produced on the ground, General 1 meter of diameter, or the suitable rectangle groove of area, imbed two to three circle wires in the trench, and this just constitutes one and buries In the inductance coil of earth's surface.This coil is a part for oscillating circuit, and oscillating circuit is constituted by it and electric capacity.Oscillator signal leads to Cross conversion be sent to singlechip group into frequency measurement circuit, just can measure the frequency of this oscillator.When there is big metal object When passing through such as automobile, change (frequency of oscillation liter when having metal object of frequency of oscillation is caused because space medium changes It is high), single-chip microcomputer just can measure the frequency values of change, namely can perceive automobile and pass through.Simultaneously this signal beginning and Time interval between end can be used to measure the translational speed of automobile again, by the car speed and vehicle flowrate that detect To carry out the determination of road conditions.
However, above-mentioned method not only high cost, and have significant limitation, such as in a road for congestion On, vehicle is all being parked in as you were, the sensing that such case is produced with the movement of slow speed or vehicle in a period of time Electromotive force is very weak or without induced electromotive force is produced, and the system of will result in is mistakenly considered on this road almost to pass through without vehicle, So as to cause the traffic information of the present road for detecting less accurate.
In order to solve above-mentioned technical problem, the processing method based on floating car data, the party are proposed in the prior art Method including the step of be:Gps data is periodically returned by vehicle-mounted GPS positioning device, processing system is by each GPS point Carry out matching supposition with electronic map, according to Distance Time calculate average speed, then by many cars same section speed Merged, drawn the speed after fusion, the different congestion interval set finally according to each category of roads is judged, it is determined that The jam situation of current road segment.
But, inventor is had found, judgement traffic information is carried out due to being the data based on Floating Car in above-mentioned method, Hence in so that the information of all roads must be included in electronic map in above-mentioned method, so that each GPS point with should All roads in electronic map are matched one by one respectively, and the time for being spent is more long, so as to cause the road conditions determined to be believed The speed of breath is slower.
The content of the invention
Embodiments of the invention provide a kind of road conditions detection method and device based on public transport car data, it is intended to quickly really Make the traffic information in current slot.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of first aspect, there is provided road conditions detection method based on public transport car data, including:
The gps data of bus in a time period is received, the gps data of the bus includes:The mark of bus with And the positional information that the bus cycle uploads within the time period;
According to the gps data of bus in the time period, the bus routes of the bus, the bus are determined The grid that travel direction and the bus are passed through in electronic map, the electronic map is divided into array arrangement Multiple rectangles grid;
From grid and section corresponding relation, the corresponding bus routes of the inquiry grid are in the travel direction N number of section, N be more than or equal to 1;
Gps data according to the bus asks for average speed of the bus within the time period, used as institute State the speed on described N number of section of bus process;
The average speed of all buses on each section is carried out into the speed after being merged, by the fusion Speed afterwards is used as the travel speed on described each section;
Traffic information on each section according to the travel speed generation on described each section.
A kind of second aspect, there is provided road conditions detection means based on public transport car data, including:
Receiver module, the gps data for receiving bus in a time period, the gps data of the bus includes:It is public The mark of friendship car and the positional information that the bus cycle uploads within the time period;
First determining module, for the gps data according to bus in the time period, determines the public transport of the bus The grid that route, the travel direction of the bus and the bus are passed through in electronic map, the electronic map It is divided into the grid of multiple rectangles of array arrangement;
Enquiry module, exists for from grid and section corresponding relation, inquiring about the corresponding bus routes of the grid N number of section in the travel direction, N is more than or equal to 1;
Computing module is flat within the time period for asking for the bus according to the gps data of the bus Equal speed, as the speed on described N number of section that the bus passes through;
Fusion Module, for the average speed of all buses on each section to be carried out into the speed after being merged Degree, using the speed after the fusion as the travel speed on described each section;
Generation module, for according to the road conditions letter on described each section of travel speed generation on described each section Breath.
Road conditions detection method and device based on public transport car data provided in an embodiment of the present invention, compared to prior art, This programme determines the travel direction of the bus routes of bus, bus by the gps data according to bus in the time period And the grid that bus is passed through in electronic map, then from the corresponding relation in grid Yu section, inquiry grid correspondence N number of section of the bus routes in travel direction, the net of multiple rectangles of array arrangement is divided into due to the electronic map Lattice, match the section that bus is passed through by searching grid that bus passed through, and without by the grid and all roads Road is matched so that matching the spent time is shorter, and matching efficiency is higher, and the road conditions in the section are determined so as to improve The speed of information;Caused additionally, use the gps data of bus in this programme, the characteristics of fixed due to bus routes The section for matching is more accurate, so cause the traffic information in section for calculating be it is accurate, further, this certain all the way Travel speed in section is obtained by the average speed of all buses on the section is merged so that on the section Travel speed it is more accurate, so as to the traffic information determined according to the travel speed on the section is also more accurate.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be in embodiment or description of the prior art The required accompanying drawing for using is briefly described, it should be apparent that, drawings in the following description are only some realities of the invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of method flow diagram of road conditions detection method based on public transport car data provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of travel direction for determining current bus provided in an embodiment of the present invention;
Fig. 3 is a kind of running route figure of bus provided in an embodiment of the present invention;
Fig. 4 is a kind of processing framework figure provided in an embodiment of the present invention;
Fig. 5 is provided in an embodiment of the present invention based on the flow chart that supposition process is matched in Fig. 4;
Fig. 6 is a kind of structural representation of road conditions detection means based on public transport car data provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another road conditions detection means based on public transport car data provided in an embodiment of the present invention Figure.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of road conditions detection method based on public transport car data, as shown in figure 1, the method bag Include:
101st, the gps data of bus in a time period is received.
The gps data of the bus in the embodiment of the present invention includes:The mark of bus and the public transport within a time period The positional information that the car cycle uploads.
Wherein, the above-mentioned time period is the time cycle of road conditions detection, for example, the present embodiment can connect according to every 10 minutes The gps data for receiving detects a traffic information.Accordingly, above-mentioned positional information be with 10min be interval, the public transport of acquisition The position of car.
Exemplary, the gps data of the bus of above-mentioned use is caused based on public affairs the characteristics of fixed due to bus routes The section for handing over the gps data of car to be matched is fixed, is not in inaccurate allotted section.Specifically, table 1 below is given The different characteristics of public transport car data and floating car data is gone out.
Table 1
By above-mentioned table 1 it is known that compared to the data using Floating Car, the GPS numbers of bus are used in this programme According to so that determined road section information is more accurate.
102nd, according to the gps data of bus in the time period, bus routes, the traveling side of bus of bus are determined To and the grid that is passed through in electronic map of bus.
Wherein, above-mentioned electronic map is divided into the grid of multiple rectangles of array arrangement.
Exemplary, the flow chart of the determination bus travel direction being referred to shown in Fig. 2 is above-mentioned according in the time period The gps data of bus determine that the travel direction of bus is specifically included:
102a, the positional information for obtaining the previous point of current point and current point where bus in current slot.
102b, the line angle that point-to-point transmission is determined according to the positional information of current point and the previous point of current point, and root According to the travel direction of point-to-point transmission line angle-determining bus.
Flow chart as shown in Figure 2 can be obtained, when the number of the buffer of vehicle in the current slot is more than 2, The travel direction of the bus can be gone out according to 2 points of line angle-determining.
Further, when public transport place current point and current point previous point it is distant when (more than setting During threshold value), may be such that the travel direction of the bus that cannot be determined or determine is inaccurate using above-mentioned line angle. At this moment need to choose at least two buffers that bus is passed through again, that is, cause that 2 points of distance and line angle are satisfied by During predetermined threshold value, the travel direction of bus is determined.
103rd, from grid and section corresponding relation, the corresponding bus routes of inquiry grid are on travel direction ShangNGe roads Section, N is more than or equal to 1.
Exemplary, above-mentioned grid and section is illustrated so that the meshes number in electronic map is 9 as an example here Corresponding relation.When the meshes number of above-mentioned electronic map is 9, the grid can be with table 2 below with the corresponding relation in section Form is stored, and is not defined here, is only illustrated with example, and the corresponding relation for grid and section can be with It is other forms.
Table 2
It should be noted that be a thousands of or up to ten thousand order of magnitude in the application in practice of above-mentioned table 2, here only To be illustrated as a example by 9, and and it is non-limiting, specific meshes number needs to be determined according to actual situation.
It should be noted that the linkID in the above-mentioned table 2 of correspondence is right for bus routes are divided into multiple link in advance The link labels answered, and the link corresponding to the grid for being passed through by different bus routes and the circuit here is different, Therefore unified representation is carried out with linkID here, in practice for grid 1, corresponding link can be multiple or one It is individual, specifically determined by the route of bus.
Exemplary, the running route figure of the bus shown in reference picture 3 can be learnt:Occurs No. 1 in the road now Car and No. 2 cars, the grid that No. 1 car is passed through include:Grid 7, grid 4, grid 5 and grid 2, and what No. 2 cars were passed through Grid includes:Grid 7, grid 8, grid 5 and grid 2.Gps data according to two buses may determine that the car is upper Line direction (starting point-terminal), then obtains according to being searched in above-mentioned table 2, and the section that No. 1 car is passed through is (referred to as:Link), with And the section corresponding to No. 2 cars, so as to match No. 1 and No. 2 buses corresponding N number of link on the electronic map.
104th, the gps data according to bus asks for average speed of the bus within the time period, passes through as bus N number of section on speed.
Exemplary, N number of section that the above-mentioned average speed using bus within the time period is passed through as the bus Speed, for example:By three sections, speed is this to bus on each section in three sections in 10min Average speed of the bus in 10min.
Exemplary, it is specific that the above-mentioned gps data according to bus asks for average speed of the bus within the time period Including herein below:
104a1, the distance according to the gps data of bus calculating bus on corresponding section in the time period.
104a2, the distance according to bus on corresponding section in the time period calculate the average speed of bus.
Exemplary, bus correspondence within the time period is asked for according to the gps data of bus in above-mentioned step 104a1 Section on distance specifically include herein below:
Find the position on the section on section where bus current point corresponding to intersection point point, and bus current point Next point or the corresponding section of intersection point point on section where previous point on position;Then it is current according to the bus The point distance of intersection point point to the intersection point point on section of next point or previous point of current point on section.
105th, the average speed of all buses on each section is carried out into the speed after being merged, will be merged Speed afterwards is used as the travel speed on each section.
Exemplary, the process of the travel speed on above-mentioned determination section is illustrated by taking three buses as an example here, Specifically, with reference to following table 3.
Table 3
Vehicle number LinkID Average speed
1 Linka V1
2 Linka、Linkb、Linkc V2
3 Linkb、Linkc V3
By above-mentioned table 3 it is known that No. 1 car is by link a, the speed of the corresponding link a is the average of No. 1 car Speed V1, by Linka, Linkb, Linkc, the speed of corresponding Linka, Linkb, the Linkc is No. 2 cars to No. 2 cars Average speed V2, No. 3 cars are No. 3 average speeds of car by Linkb, Linkc, the speed of corresponding Linkb and Linkc V3。
Exemplary, the travel speed on tri- sections of Linka, Linkb, the Linkc is respectively through three sections On all buses average speed, specifically include herein below:
With reference to above-mentioned table 3, the travel speed on Linka is that No. 1 bus and No. 2 bus difference is corresponding average Speed V1 and V2 carry out merging what is obtained, and the travel speed on Linkb is that No. 2 buses and No. 3 bus difference are corresponding Average speed V2 and V3 carry out merging what is obtained, and the travel speed on Linkc is by No. 2 buses and No. 3 bus difference Corresponding average speed V2 and V3 carries out merging what is obtained, and fusion speed here can take two average speeds of speed. After by the average speed fusion of above-mentioned all buses by a certain link, the travel speed on each link is obtained, specifically The following table 4 of reference.
Table 4
LinkID Travel speed on LinkID
Linka Va=(V1+V2)/2
Linkb Vb=(V2+V3)/2
Linkc Vc=(V2+V3)/2
In by above-mentioned table 4, it is known that the travel speed on Linka is Va=(V1+V2)/2;Traveling on Linkb Speed is Vb=(V2+V3)/2;Travel speed on Linkc is Vc=(V2+V3)/2.
106th, the traffic information on each section is generated according to the travel speed on each section.
Exemplary, above-mentioned step 106 specifically includes herein below:
106b1, the category of roads for obtaining section.
106b2, according to the travel speed and the category of roads in each section on each section, from road status information table The traffic information that the category of roads of travel speed and section in middle lookup and section matches.
Wherein, above-mentioned road status information table is the mapping between category of roads and speed interval scope and traffic information Relation table.
Preferably, a kind of road status information table is this gived, the content in table 5 below is specifically referred to.
Table 5
Category of roads It is unimpeded Slowly Congestion
0 [60,+∞) [40,60) (0,40)
1 [40,+∞) [20,40) (0,20)
2 [25,+∞) [15,25) (0,15)
3 [25,+∞) [15,25) (0,15)
4 [25,+∞) [15,25) (0,15)
5 [20,+∞) [10,20) (0,10)
It should be noted that the content in above-mentioned table 5 is only to be illustrated with example, it is not defined.Specifically , 0 corresponds to expressway in the category of roads in above-mentioned table 5, and 1 corresponds to city expressway, and 2 correspond to national highway, and 3 correspond to Provincial highway, 4 correspond to county road and 5 correspond to backroad.
Exemplary, all of section in some city or region is determined based on above-mentioned step 101- steps 106 Traffic information, so as to obtain the traffic information in the city or region, and then user determines walking along the street according to the traffic information Line carries out other arrangements.
Road conditions detection method based on public transport car data provided in an embodiment of the present invention, compared to prior art, this programme The bus routes of bus, the travel direction of bus and public affairs are determined by the gps data according to bus in the time period The grid for handing over car to be passed through in electronic map, then from the corresponding relation in grid Yu section, the corresponding public transport of inquiry grid N number of section of the route in travel direction, the grid of multiple rectangles of array arrangement is divided into due to the electronic map, is passed through The grid that is passed through of bus is searched to match the section that bus is passed through, and without the grid and all roads are carried out Match somebody with somebody so that matching the spent time is shorter, and matching efficiency is higher, so as to improve the speed of the traffic information for determining the road Degree;Additionally, use the gps data of bus in this programme, so that matching the characteristics of fixed due to bus routes Section is more accurate, so cause the traffic information in section for calculating be it is accurate, further, the row on a certain section It is obtained by the average speed of all buses on the section is merged to sail speed so that the traveling speed on the section Degree is more accurate, so as to the traffic information determined according to the travel speed on the section is also more accurate.
Optionally, in order that the speed on the section that must be determined is more accurate, need exist for the speed on the road Compensate, specifically, the speed in step 104 according at least one bus on each section generates the road conditions on section Before information, the method also includes herein below:
A1, pre-set velocity interval is determined according to the travel speed on each section.
A2, according to the travel speed on each section of pre-set velocity interval amendment.
Exemplary, above-mentioned pre-set velocity interval is stored in advance in computer or terminal device, and is somebody's turn to do Pre-set velocity interval is an interval range value determined by after substantial amounts of experiment, so as to according to the pre-set velocity interval It is modified the travel speed on corresponding section.For example, with reference to following table 6, according to the pre-set velocity interval in table 6, from And correct the travel speed on the section.
Table 6
Pre-set velocity interval Revised travel speed
S < 10km/h It is not modified (or S*1)
10km/h≤S < 20km/h S*1.5
20km/h≤S≤30km/h S*1.25
S > 30km/h S*1.1
Exemplary, can be learnt by above-mentioned table 6:When the travel speed on the section determined is S=12km/h, Revised travel speed is S=S*1.5;And when the travel speed on the section determined is S=25km/h, it is revised Travel speed is S=S*1.25.
Optionally, because bus has the characteristics of arriving at a station parking, hence in so that needing to carry out section where the website Special treatment can ensure the website where section traffic information it is more accurate, the method also includes:
B1, whether judge in section comprising bus station or dedicated bus lanes.
When it is determined that section includes bus station or dedicated bus lanes, the method also includes:
B2, according to the latter of the traffic information on section, the traffic information on the previous section in section and section Traffic information on section updates the traffic information on section.
It is exemplary, when it is determined that section include bus station or dedicated bus lanes when, update the road on the section Condition information is referred to the content in table 7 below.
Table 7
It should be noted that in above-mentioned table 71 represents the section the coast is clear, 2 represent the section road slowly, and 3 represent The section congestion in road.
From the content in upper table 7, when the road conditions comprising bus station or the section of dedicated bus lanes are 1 or 2 or 3 When, and the road conditions in the previous section in the section are 1, when the latter road conditions in section in the section are 1, then this are included into public transport The road condition updating in the section of website or dedicated bus lanes is 1;And the road conditions for working as the previous section in above-mentioned section are 1, and The road conditions in the previous section in above-mentioned section are 2, then the road conditions that should include the section of bus station or dedicated bus lanes are protected Hold constant;When the road conditions in the previous section in above-mentioned section are 2, when the latter road conditions in section in the section are 3, and if should When the road conditions in the section comprising bus station or dedicated bus lanes are 1, then 2 are updated to;And if bus station or public affairs should be included When the road conditions for handing over the section of dedicated Lanes are 2 or 3, then keep constant.
Exemplary, the bus data processing architecture figure with reference to shown in Fig. 4, specifically including herein below:
I. data access Spout:It is responsible for receiving bus GPS data from kafka.
Ii. Bolt is parsed:It is responsible for being parsed bus GPS data, forms the unified specification data STL of Internal Transfer Data, then carry out packet transmitting according to vehicles identifications, and transmitting speculates in Bolt to matching.
Iii. matching speculates Bolt:The flow chart that reference picture 5 is given, as shown in Figure 5, calculates current bus first The traveling of point identifies Current vehicle is which road toward which side by data in itself on which direction of the up-downgoing of public bus network To the vehicle of traveling, it is easy to follow-up matching to speculate.Or recognized by program, when which direction the vehicle is not defined as During vehicle, (being calculated on toward both direction) is speculated by many Point matchings, judge the vehicle which direction the vehicle is, after Continuous calculating speculates that mode is carried out according to public transport matches criteria.It is determined that carry out accurate matching afterwards speculating, bus is corresponding every Individual buffer both participates in matching, and matching for Key, carries out searching candidate Link with [route number _ upper and lower line identifier _ grid number], from And determine the link of matching.Speculate that pretreatment path for Key, carries out lookup route, Ran Hougen with [route number _ upper and lower line identifier] Speculated according to matching link, calculated the instantaneous velocity on average speed, and every link, be then organized into internal unity lattice Formula Jlink is sent to fusion Bolt.
The correlation in the embodiment based on the corresponding road conditions detection means methods based on public transport car data of Fig. 1 is retouched below State and a kind of road conditions detection means based on public transport car data provided in an embodiment of the present invention is introduced.In following examples with The explanation of above-described embodiment related technical term, concept etc. is referred to the above embodiments, repeats no more here.
The embodiment of the present invention provides a kind of road conditions detection means based on public transport car data, as shown in fig. 6, the device 2 is wrapped Include:Receiver module 21, the first determining module 22, enquiry module 23, computing module 24, Fusion Module 25 and generation module 26, Wherein:
Receiver module 21, the gps data for receiving bus in a time period, the gps data of bus includes:Public transport The mark of car and the positional information that the bus cycle uploads within the time period.
First determining module 22, for the gps data according to bus in the time period, determine bus bus routes, The grid that the travel direction and bus of bus are passed through in electronic map, electronic map is divided into array arrangement Multiple rectangles grid.
Enquiry module 23, for from grid and section corresponding relation, the corresponding bus routes of inquiry grid to be in traveling side Upward N number of section, N is more than or equal to 1.
Computing module 24, for asking for average speed of the bus within the time period according to the gps data of bus, as The speed on N number of section that bus passes through.
Fusion Module 25, after by the average speed of all buses on each section merged Speed, using the speed after fusion as the travel speed on each section.
Generation module 26, for generating the traffic information on each section according to the travel speed on each section.
Exemplary, above-mentioned generation module 26 is generating the road on each section according to the travel speed on each section During condition information, specifically for:
Obtain the category of roads in each section.
According to travel speed and the category of roads in each section on each section, searched from road status information table The traffic information matched with the travel speed and the category of roads in section on section;Road status information table is category of roads With the mapping table between speed interval scope and traffic information.
Exemplary, above-mentioned computing module 24 is asking for bus within the time period according to the gps data of bus During average speed, specifically for:
Gps data according to bus calculates distance of the bus on corresponding section in the time period.
The average speed of bus is calculated according to distance of the bus on corresponding section in the time period.
Optionally, as shown in fig. 6, the device 2 also includes:Second determining module 27 and correcting module 28, wherein:
Second determining module 27, for determining pre-set velocity interval according to the speed on section;
Correcting module 28, for according to the speed on pre-set velocity interval amendment section.
Optionally, as shown in fig. 7, the device 2 also includes:Judge module 29, wherein:
Judge module 29, for whether judging in section comprising bus station or dedicated bus lanes.
When judge module 29 is determined section includes bus station or dedicated bus lanes when, as shown in fig. 7, the device 2 also include:Update module 30, wherein:
Update module 30, for according to the traffic information on section, the traffic information on the previous section in section and Traffic information on the latter section in section updates the traffic information on section.
Road conditions detection means based on public transport car data provided in an embodiment of the present invention, compared to prior art, this programme The bus routes of bus, the travel direction of bus and public affairs are determined by the gps data according to bus in the time period The grid for handing over car to be passed through in electronic map, then from the corresponding relation in grid Yu section, the corresponding public transport of inquiry grid N number of section of the route in travel direction, the grid of multiple rectangles of array arrangement is divided into due to the electronic map, is passed through The grid that is passed through of bus is searched to match the section that bus is passed through, and without the grid and all roads are carried out Match somebody with somebody so that matching the spent time is shorter, and matching efficiency is higher, so as to improve the speed of the traffic information for determining the section Degree;Additionally, use the gps data of bus in this programme, so that matching the characteristics of fixed due to bus routes Section is more accurate, so cause the traffic information in section for calculating be it is accurate, further, the row on a certain section It is obtained by the average speed of all buses on the section is merged to sail speed so that the traveling speed on the section Degree is more accurate, so as to the traffic information determined according to the travel speed on the section is also more accurate.
In several embodiments provided herein, it should be understood that disclosed device, can be by other sides Formula is realized.For example, the embodiment of the road conditions detection means based on public transport car data described above is only schematical, example Such as, the division of the module, only a kind of division of logic function, can have other dividing mode, for example when actually realizing Multiple module or components can be combined or be desirably integrated into another system, or some features can be ignored, or not performed.Separately A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, base station Or INDIRECT COUPLING or the communication connection of module, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that the independent physics of modules includes, it is also possible to which two or more modules are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the portion of each embodiment methods described of the invention Step by step.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc. are various can store The medium of program code.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used Modified with to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of road conditions detection method based on public transport car data, it is characterised in that including:
The gps data of bus in a time period is received, the gps data of the bus includes:The mark of bus and The positional information that the bus cycle uploads in the time period;
According to the gps data of bus in the time period, bus routes, the traveling of the bus of the bus are determined The grid that direction and the bus are passed through in electronic map, the electronic map is divided into many of array arrangement The grid of individual rectangle;
From grid and section corresponding relation, N of the corresponding bus routes of the grid in the travel direction is inquired about Individual section, N is more than or equal to 1;
Gps data according to the bus asks for average speed of the bus within the time period, used as the public affairs Hand over the speed on described N number of section of car process;
The average speed of all buses on described each section is carried out into the speed after being merged, by the fusion Speed afterwards is used as the travel speed on described each section;
Traffic information on each section according to the travel speed generation on described each section.
2. method according to claim 1, it is characterised in that the travel speed generation on each section described in the basis Traffic information on described each section is specifically included:
Obtain the category of roads in each section;
According to travel speed and the category of roads in each section on described each section, from road status information table Search the traffic information matched with the travel speed and the category of roads in the section on section;The road status information Table is the mapping table between category of roads and speed interval scope and traffic information.
3. method according to claim 1 and 2, it is characterised in that the travel speed on each section described in the basis Before traffic information on described each section of generation, also include:
Pre-set velocity interval is determined according to the travel speed on described each section;
Travel speed on each section according to the pre-set velocity interval amendment.
4. method according to claim 3, it is characterised in that methods described also includes:
Whether judge in the section comprising bus station or dedicated bus lanes;
When it is determined that the section includes bus station or dedicated bus lanes, methods described also includes:
Behind the traffic information on the section, the traffic information on the previous section in the section and the section Traffic information on one section updates the traffic information on the section.
5. the method according to claim any one of 1-4, it is characterised in that the gps data according to the bus Average speed of the bus within the time period is asked for specifically include:
Gps data according to the bus calculates distance of the bus on corresponding section in the time period;
The average speed of the bus is calculated according to distance of the bus on corresponding section in the time period.
6. a kind of road conditions detection means based on public transport car data, it is characterised in that including:
Receiver module, the gps data for receiving bus in a time period, the gps data of the bus includes:Bus Mark and bus cycle uploads within the time period positional information;
First determining module, for the gps data according to bus in the time period, determines the public transport road of the bus The grid that line, the travel direction of the bus and the bus are passed through in electronic map, the electronic map quilt It is divided into the grid of multiple rectangles of array arrangement;
Enquiry module, for from grid and section corresponding relation, inquiring about the corresponding bus routes of the grid described N number of section in travel direction, N is more than or equal to 1;
Computing module, for asking for average speed of the bus within the time period according to the gps data of the bus Degree, as the speed on described N number of section that the bus passes through;
Fusion Module, for the average speed of all buses on each section to be carried out into the speed after being merged, Using the speed after the fusion as the travel speed on described each section;
Generation module, for according to the traffic information on described each section of travel speed generation on described each section.
7. device according to claim 6, it is characterised in that the generation module is according to the row on described each section When sailing the traffic information on described each section of speed generation, specifically for:
Obtain the category of roads in each section;
According to travel speed and the category of roads in each section on described each section, from road status information table Search the traffic information matched with the travel speed and the category of roads in the section on the section;The road condition Information table is the mapping table between category of roads and speed interval scope and traffic information.
8. the device according to claim 6 or 7, it is characterised in that described device also includes:
Second determining module, for determining pre-set velocity interval according to the travel speed on described each section;
Correcting module, for the travel speed on each section according to the pre-set velocity interval amendment.
9. device according to claim 8, it is characterised in that described device also includes:
Judge module, for whether judging in the section comprising bus station or dedicated bus lanes;
When the judge module is determined the section includes bus station or dedicated bus lanes when, described device is also wrapped Include:
Update module, for according to the traffic information on the section, the traffic information on the previous section in the section with And the traffic information on the latter section in the section updates the traffic information on the section.
10. the device according to claim any one of 6-9, it is characterised in that the computing module is according to the public transport When the gps data of car asks for average speed of the bus within the time period, specifically for:
Gps data according to the bus calculates distance of the bus on corresponding section in the time period;
The average speed of the bus is calculated according to distance of the bus on corresponding section in the time period.
CN201611169627.5A 2016-12-16 2016-12-16 A kind of road conditions detection method and device based on public transport car data Pending CN106781472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611169627.5A CN106781472A (en) 2016-12-16 2016-12-16 A kind of road conditions detection method and device based on public transport car data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611169627.5A CN106781472A (en) 2016-12-16 2016-12-16 A kind of road conditions detection method and device based on public transport car data

Publications (1)

Publication Number Publication Date
CN106781472A true CN106781472A (en) 2017-05-31

Family

ID=58892287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611169627.5A Pending CN106781472A (en) 2016-12-16 2016-12-16 A kind of road conditions detection method and device based on public transport car data

Country Status (1)

Country Link
CN (1) CN106781472A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196280A (en) * 2017-11-15 2018-06-22 北京通途永久科技有限公司 One kind infers public bus network method by GPS
CN110085048A (en) * 2019-06-04 2019-08-02 湖南智慧畅行交通科技有限公司 A kind of bus based on GPS data arrives point calculating method leaving from station in real time
CN110969886A (en) * 2018-09-28 2020-04-07 北京高德云图科技有限公司 Bus flow determination method and device and electronic equipment
CN113870559A (en) * 2021-09-27 2021-12-31 北京理工新源信息科技有限公司 Traffic flow calculation method based on big data Internet of vehicles

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976296A (en) * 2006-12-25 2007-06-06 北京世纪高通科技有限公司 Method and system for real-time dynamic traffic information collecting, handling, and issuing
CN1975800A (en) * 2006-12-25 2007-06-06 北京世纪高通科技有限公司 Traffic information fusion processing method and system
CN101604478A (en) * 2009-06-18 2009-12-16 北京九州联宇信息技术有限公司 A kind of disposal route of dynamic information and system
JP2010044543A (en) * 2008-08-12 2010-02-25 Kddi Corp Probe data collection system, probe data collection method, program, and program recording medium
CN103177561A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Method and system for generating bus real-time traffic status
CN104318767A (en) * 2014-10-22 2015-01-28 北京建筑大学 Road condition information generating method based on bus global position system (GPS) tracking data
CN104821081A (en) * 2015-04-22 2015-08-05 西安翔迅科技有限责任公司 Road condition detection system based on vehicle GPS data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976296A (en) * 2006-12-25 2007-06-06 北京世纪高通科技有限公司 Method and system for real-time dynamic traffic information collecting, handling, and issuing
CN1975800A (en) * 2006-12-25 2007-06-06 北京世纪高通科技有限公司 Traffic information fusion processing method and system
JP2010044543A (en) * 2008-08-12 2010-02-25 Kddi Corp Probe data collection system, probe data collection method, program, and program recording medium
CN101604478A (en) * 2009-06-18 2009-12-16 北京九州联宇信息技术有限公司 A kind of disposal route of dynamic information and system
CN103177561A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Method and system for generating bus real-time traffic status
CN104318767A (en) * 2014-10-22 2015-01-28 北京建筑大学 Road condition information generating method based on bus global position system (GPS) tracking data
CN104821081A (en) * 2015-04-22 2015-08-05 西安翔迅科技有限责任公司 Road condition detection system based on vehicle GPS data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196280A (en) * 2017-11-15 2018-06-22 北京通途永久科技有限公司 One kind infers public bus network method by GPS
CN108196280B (en) * 2017-11-15 2022-01-14 北京通途永久科技有限公司 Method for deducing bus route through GPS
CN110969886A (en) * 2018-09-28 2020-04-07 北京高德云图科技有限公司 Bus flow determination method and device and electronic equipment
CN110085048A (en) * 2019-06-04 2019-08-02 湖南智慧畅行交通科技有限公司 A kind of bus based on GPS data arrives point calculating method leaving from station in real time
CN113870559A (en) * 2021-09-27 2021-12-31 北京理工新源信息科技有限公司 Traffic flow calculation method based on big data Internet of vehicles
CN113870559B (en) * 2021-09-27 2022-08-16 北京理工新源信息科技有限公司 Traffic flow calculation method based on big data Internet of vehicles

Similar Documents

Publication Publication Date Title
CN109000668B (en) Real-time intelligent navigation method based on Internet of vehicles
CN104751631B (en) The method that Trip chain mode of transportation is judged based on GPS location and fuzzy theory
CN101361106B (en) Traffic information providing system using digital map for collecting traffic information and method thereof
CN103177561B (en) Method for generating bus real-time traffic status
CN104050817B (en) Speed limiting information base generation and speed limiting information detection method and system
CN100357987C (en) Method for obtaining average speed of city rode traffic low region
CN106781472A (en) A kind of road conditions detection method and device based on public transport car data
CN105674995A (en) Method for acquiring commuting route based on user's travel locus, and apparatus thereof
CN107369318A (en) A kind of speed predicting method and device
CN101957208B (en) Method for discovering new road based on probe vehicle technology
CN101256083A (en) Method for selecting urban traffic network path based on dynamic information
CN106767873A (en) A kind of map-matching method based on space-time
CN106297280A (en) A kind of information processing method and device
CN102200446B (en) Continuous path detection device and method based on traffic data
CN104318781B (en) Based on the travel speed acquisition methods of RFID technique
CN103310651A (en) Bus arrival prediction method based on real-time traffic status information
CN108225356B (en) Freight navigation method and device based on historical track of truck
CN102592495A (en) Road estimation device and method for estimating road
CN107273771B (en) Vehicle driving direction identification method and system, identification station, memory and background server
CN105489008A (en) City road congestion calculation method based on probe vehicle satellite positioning data and system
CN105096590B (en) Traffic information creating method and traffic information generating device
CN109859495A (en) A method of overall travel speed is obtained based on RFID data
CN104517040A (en) Method for calculating in-carriage congestion degree of public traffic vehicle based on IC card data
CN104217593A (en) Real-time road condition information acquisition method orienting to cellphone traveling speed
JP4584344B1 (en) Traveling link determination device and link travel time calculation 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication