CN104299425B - A kind of position bus method and apparatus of travel direction on bus special lane - Google Patents

A kind of position bus method and apparatus of travel direction on bus special lane Download PDF

Info

Publication number
CN104299425B
CN104299425B CN201410568729.9A CN201410568729A CN104299425B CN 104299425 B CN104299425 B CN 104299425B CN 201410568729 A CN201410568729 A CN 201410568729A CN 104299425 B CN104299425 B CN 104299425B
Authority
CN
China
Prior art keywords
public transportation
information
transportation lane
bus
latitude
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410568729.9A
Other languages
Chinese (zh)
Other versions
CN104299425A (en
Inventor
糜长军
张戎
程清远
曾一军
刘犇
高峰
郑凯
张大鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU SUKE CHANGLIAN TECHNOLOGY Co Ltd
Original Assignee
JIANGSU SUKE CHANGLIAN TECHNOLOGY 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 JIANGSU SUKE CHANGLIAN TECHNOLOGY Co Ltd filed Critical JIANGSU SUKE CHANGLIAN TECHNOLOGY Co Ltd
Priority to CN201410568729.9A priority Critical patent/CN104299425B/en
Publication of CN104299425A publication Critical patent/CN104299425A/en
Application granted granted Critical
Publication of CN104299425B publication Critical patent/CN104299425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/056Detecting movement of traffic to be counted or controlled with provision for distinguishing direction of travel

Abstract

The present invention provides a kind of and positions bus method of travel direction on public transportation lane, comprising the following steps: obtain the GPS information of public transportation lane and be divided into n section straightway, the parameter information of two end points corresponding public transportation lane that take each straightway stores formation one data base together;Obtain the real-time positioning information of bus;According to real-time latitude and longitude information, take out one by one with the special lane information in aforementioned data storehouse and compare, it is judged that whether bus is in public transportation lane: if it is, take out the course information of residing public transportation lane;Otherwise, this step is repeated;Judge bus traffic direction in public transportation lane: if the difference of the two is setting in threshold range, then judges that bus running direction is consistent with the direction of public transportation lane, export result of determination;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane.The invention still further relates to and a kind of position bus device of travel direction on public transportation lane.

Description

A kind of position bus method and apparatus of travel direction on bus special lane
Technical field
The present invention relates to urban traffic control technical field, position bus method and apparatus of travel direction on public transportation lane in particular to a kind of.
Background technology
At present, China large-and-medium size cities all suffer from the pressure of urban traffic blocking, it is endowed the bus average speed travelling special lane also only between 10-15 kilometer/hour, public vehicles illegally take bus zone for a long time, causing " public transportation lane is not special " phenomenon, this is the major obstacle of restriction bus rider speed and transport power.Monitoring public transportation lane, punishes illegal road occupation behavior, imperative to improve Public Resource utilization rate.
Based on this, prior art occurs in that a kind of new monitoring system, for instance the MTCP-2000B system of Jiangsu Union of Science and Technology Co., Ltd.'s research and development, utilize this system can effectively monitor public transportation lane, it is possible to illegal vehicle is effectively collected evidence.
But in monitoring evidence obtaining process, whether driver is opened on public transportation lane by car, whether the direction that bus travels is consistent with the direction of public transportation lane, and whether public transportation lane ground has yellow line, directly affects the effective percentage of evidence obtaining.Law enfrocement official can only be relied at present to audit forensic information again, and the misinformation of invalid forensic information also result in the waste of post and telecommunication tariff.
Summary of the invention
Present invention aim at providing a kind of and position bus method of travel direction on public transportation lane, the method is utilized to can determine whether bus travel direction on public transportation lane, the false grasp shooting and the leakage that improve unidirectional special lane are captured, and Neng Jiang road and walking direction are placed on front-end processing, the method reducing the location public transportation lane of background work load.
Another object of the present invention is to, it is provided that a kind of position bus device of travel direction on public transportation lane.
The above-mentioned purpose of the present invention is realized by the technical characteristic of independent claims, and dependent claims develops the technical characteristic of independent claims in the way of selecting else or be favourable.
For reaching above-mentioned purpose, the technical solution adopted in the present invention is as follows:
A kind of position bus method of travel direction on public transportation lane, comprise the following steps:
Step 1, obtain the GPS information of public transportation lane and be divided into n section straightway, the parameter information of two end points corresponding public transportation lane that take each straightway stores formation one data base together, and aforementioned parameters information includes special lane direction, course, title;
Step 2, obtain bus real-time positioning information, including latitude and longitude information, speed, course information;
Step 3, the latitude and longitude information obtained according to step 2, take out one by one with the special lane information in abovementioned steps 1 the data obtained storehouse and compare, judge whether bus is in public transportation lane: if it is, take out the course information of residing public transportation lane and enter next step;Otherwise, this step is repeated;
Step 4, it is in the result of public transportation lane in response to bus, check that the course information taken out and the real-time course information of acquisition in abovementioned steps 2 are to judge bus traffic direction in public transportation lane: if difference therebetween is in setting threshold range, then judge that bus running direction is consistent with the direction of public transportation lane, exports result of determination;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane, return step 3.
In further embodiment, in abovementioned steps 1, the parameter information for public transportation lane adopts following data form to store:
Xn={ (xn1,yn1),(xn2,yn2),θn,Directionn,Namen}
Wherein, xn1Represent the longitude of the head-end of the n-th straightway, yn1Represent the latitude value of the head-end of the n-th straightway, xn2Represent the longitude of the distal point of the n-th straightway, yn2Represent the latitude value of the distal point of the n-th straightway, θnRepresent the course information that the public transportation lane represented by n-th section of straightway is corresponding, DirectionnRepresent the direction of the n-th straightway, NamenRepresent the title of the n-th straightway.
In further embodiment, in abovementioned steps 2, by reading the real-time positioning information of the location data acquisition bus of vehicle GPS satellite positioning device or big-dipper satellite positioner, this location information table is shown as:
Y={ (x1, y1), θ 1}
Wherein, x1 represents the real-time longitude information got, and y1 represents the real-time latitude information got, and θ 1 represents the real-time course information got.
In further embodiment, aforesaid step 3 judging, whether bus is in the realization of public transportation lane and comprises the following steps:
1) data base obtained from step 1 takes out the data of the first and last end points of preservation one by one, and the expression of straightway is equivalent to:
Y=kx+b
Where it is assumed that xn1<xn2, xn1<x<xn2, k is the slope of straight line, and x represents longitude, and y represents latitude;
2) check whether the first and last end points preserved in the data obtained storehouse in step 1 meets | xn2-xn1| < T also judges the existence of aforementioned slope k accordingly, in response to | xn2-xn1| < T then thinks that k is absent from and by the first and last end points currently taken out and xn1、yn1、xn2、yn2Four values are+T ,+T ,-T ,-T respectively and are processed, otherwise it is assumed that k exists and keeps the first and last end points of current taking-up, aforementioned T is the longitude threshold value set;The latitude and longitude information of the real-time latitude and longitude information (x1, y1) then step 2 obtained and first and last end points compares: if | xn2-xn1| < T, then the longitude and latitude data after use process, otherwise use longitude and latitude data before treatment: if meet x simultaneouslyn1<x1<xn2And yn1<y1<yn2, then continue next step: otherwise, take out next distal point preserved in step 1 the data obtained storehouse, repeat this step;
3) according to abovementioned steps 2) result of determination, utilization process after longitude and latitude data or longitude and latitude data before treatment solve slope k::
k = y n 2 - y n 1 x n 2 - x n 1
4) intercept b is solved according to slope k:
b = y n 1 - kx n 1 = y n 1 - y n 2 - y n 1 x n 2 - x n 1 * x n 1
5) longitude and latitude obtained in step 2 is substituted into the line segment of matching:
Matching line segment: y = y n 2 - y n 1 x n 2 - x n 1 x + ( y n 1 - y n 2 - y n 1 x n 2 - x n 1 x n 1 )
Then real-time longitude information x1 step 2 obtained substitutes into matching line segment and draws the latitude information y of matching0:
y 0 = y n 2 - y n 1 x n 2 - x n 1 x 1 + ( y n 1 - y n 2 - y n 1 x n 2 - x n 1 x n 1 )
Obtain latitude difference DELTA accordingly:
Δ=| y0-y1|
Finally judge < whether S sets up Δ, and S is the latitude threshold value set: if set up, then it is assumed that bus is in public transportation lane, and takes out the course information θ of corresponding public transportation lane from step 1 the data obtained storehousen;Otherwise return step 2, continuing to compare with next distal point data in step 1 the data obtained storehouse, completing until finding out all first and last end-point data all comparisons in the matching line segment or step 1 the data obtained that satisfy condition.
Course information θ in further embodiment, in abovementioned steps 4, according to the public transportation lane that step 3 is taken outnCarry out following judgement:
If the course information θ of the public transportation lane taken outnMeet and make | θ 1-θn| or (360-| θ 1-θn|) less than one set course threshold value, then judge bus running direction consistent with the direction of public transportation lane;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane, return step 3.
Improvement according to the present invention, it is also proposed that a kind of position bus device of travel direction on public transportation lane, including:
For obtain the GPS information of public transportation lane and be divided into n section straightway, the parameter information of two end points corresponding public transportation lane that take each straightway stores the first module forming a data base together, aforementioned parameters information includes special lane direction, course, title;
For obtaining the second module of the real-time positioning information of bus, aforementioned real-time positioning information includes latitude and longitude information, speed, course information;
For according to the latitude and longitude information obtained, take out one by one with the special lane information in aforementioned data storehouse and compare, judge whether bus is in public transportation lane, and be in the three module of the course information of the residing public transportation lane of judged result taking-up of public transportation lane based on bus;
For being in the result of public transportation lane in response to bus, check that the real-time course information of course information and the aforementioned acquisition taken out is to judge bus traffic direction in public transportation lane: if difference therebetween is in setting threshold range, then judge that bus running direction is consistent with the direction of public transportation lane, exports result of determination;Otherwise, it is determined that the direction of bus running direction and public transportation lane is inconsistent, and controls described three module and proceed multilevel iudge and take out the 4th module of sail information.
From the above technical solution of the present invention shows that, location bus method and apparatus of travel direction on public transportation lane proposed by the invention, its algorithm is simply clear, utilize the solution of the present invention, the judgement of special lane can be placed on front end, real-time is stronger, the pressure on backstage can be alleviated, by judging bus travel direction on public transportation lane, the false grasp shooting phenomenon that individual event special lane is reverse can be reduced, significantly enough improve on bus monitoring device on unidirectional bus special lane to public vehicles false grasp shooting phenomenon.
Accompanying drawing explanation
Fig. 1 is location bus flowchart of the method for travel direction on public transportation lane of an embodiment of the present invention.
Detailed description of the invention
In order to know more about the technology contents of the present invention, especially exemplified by specific embodiment and to coordinate institute accompanying drawings to illustrate as follows.
As it is shown in figure 1, the preferred embodiment according to the present invention, a kind of position bus method of travel direction on public transportation lane, comprise the following steps:
Step 1, obtain the GPS information of public transportation lane and be divided into n section straightway, the parameter information of two end points corresponding public transportation lane that take each straightway stores formation one data base together, and aforementioned parameters information includes special lane direction, course, title;
Step 2, obtain bus real-time positioning information, including latitude and longitude information, speed, course information;
Step 3, the latitude and longitude information obtained according to step 2, take out one by one with the special lane information in abovementioned steps 1 the data obtained storehouse and compare, judge whether bus is in public transportation lane: if it is, take out the course information of residing public transportation lane and enter next step;Otherwise, this step is repeated;
Step 4, it is in the result of public transportation lane in response to bus, check that the course information taken out and the real-time course information of acquisition in abovementioned steps 2 are to judge bus traffic direction in public transportation lane: if difference therebetween is in setting threshold range, then judge that bus running direction is consistent with the direction of public transportation lane, exports result of determination;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane, return step 3.
Previously-described implementation of the present invention, it is adaptable to whether bus runs on bus zone and consistent with the navigation of dedicated bus lanes travel.In microcosmic bus traveling is the circuit being made up of some straight lines, is the line segment of several walkings straight lines composition in approximately the same plane.Therefore, it is corresponding to corresponding dedicated bus lanes by these line segments are found out, and collectively form data base with the direction in track, course, title, and then may utilize the real-time positioning information of the bus of follow-up acquisition, the new algorithm that the present embodiment proposes is adopted to compare judgement, obtain the running status of bus, namely whether run on bus zone and consistent with the navigation of dedicated bus lanes.
In abovementioned steps 1, the parameter information for public transportation lane adopts following data form to store:
Xn={ (xn1,yn1),(xn2,yn2),θn,Directionn,Namen}
Wherein, xn1Represent the longitude of the head-end of the n-th straightway, yn1Represent the latitude value of the head-end of the n-th straightway, xn2Represent the longitude of the distal point of the n-th straightway, yn2Represent the latitude value of the distal point of the n-th straightway, θnRepresent the course information that the public transportation lane represented by n-th section of straightway is corresponding, DirectionnRepresent the direction of the n-th straightway, NamenRepresent the title of the n-th straightway.
Such as, for the straightway that a certain section of public transportation lane being positioned at Tian Yin main road in a certain city is corresponding, it can be expressed as follows:
Xn=(3155.57630,11855.17121), (2232.56350,11355.38114), 98, West → East, TianyinAvenue) }
In the present embodiment, in abovementioned steps 2, by reading the real-time positioning information of the location data acquisition bus of vehicle GPS satellite positioning device or big-dipper satellite positioner, this location information table is shown as:
Y={ (x1, y1), θ 1}
Wherein, x1 represents the real-time longitude information got, and y1 represents the real-time latitude information got, and θ 1 represents the real-time course information got.
Alternatively, aforesaid step 3 judging, whether bus is in the realization of public transportation lane and comprises the following steps:
1) data base obtained from step 1 takes out the data of the first and last end points of preservation one by one, and the expression of straightway is equivalent to:
Y=kx+b
Where it is assumed that xn1<xn2, xn1<x<xn2, k is the slope of straight line, and x represents longitude, and y represents latitude;
2) check whether the first and last end points preserved in the data obtained storehouse in step 1 meets | xn2-xn1| < T also judges the existence of aforementioned slope k accordingly, in response to | xn2-xn1| < T then thinks that k is absent from and by the first and last end points currently taken out and xn1、yn1、xn2、yn2Four values are+T ,+T ,-T ,-T respectively and are processed, otherwise it is assumed that k exists and keeps the first and last end points of current taking-up, aforementioned T is the longitude threshold value set;The latitude and longitude information of the real-time latitude and longitude information (x1, y1) then step 2 obtained and first and last end points compares: if | xn2-xn1| < T, then the longitude and latitude data after use process, otherwise use longitude and latitude data before treatment: if meet x simultaneouslyn1<x1<xn2And yn1<y1<yn2, then continue next step: otherwise, take out next distal point preserved in step 1 the data obtained storehouse, repeat this step;
3) according to abovementioned steps 2) result of determination, utilization process after longitude and latitude data or longitude and latitude data before treatment solve slope k::
k = y n 2 - y n 1 x n 2 - x n 1
4) intercept b is solved according to slope k:
b = y n 1 - kx n 1 = y n 1 - y n 2 - y n 1 x n 2 - x n 1 * x n 1
5) longitude and latitude obtained in step 2 is substituted into the line segment of matching:
Matching line segment: y = y n 2 - y n 1 x n 2 - x n 1 x + ( y n 1 - y n 2 - y n 1 x n 2 - x n 1 x n 1 )
Then real-time longitude information x1 step 2 obtained substitutes into matching line segment and draws the latitude information y of matching0:
y 0 = y n 2 - y n 1 x n 2 - x n 1 x 1 + ( y n 1 - y n 2 - y n 1 x n 2 - x n 1 x n 1 )
Obtain latitude difference DELTA accordingly:
Δ=| y0-y1|
Finally judge < whether S sets up Δ, and S is the latitude threshold value set: if set up, then it is assumed that bus is in public transportation lane, and takes out the course information θ of corresponding public transportation lane from step 1 the data obtained storehousen;Otherwise return step 2, continuing to compare with next distal point data in step 1 the data obtained storehouse, completing until finding out all first and last end-point data all comparisons in the matching line segment or step 1 the data obtained that satisfy condition.
As it is shown in figure 1, the course information θ in abovementioned steps 4, according to the public transportation lane that step 3 is taken outnCarry out following judgement:
If the course information θ of the public transportation lane taken outnMeet and make | θ 1-θn| or (360-| θ 1-θn|) less than one set course threshold value, then judge bus running direction consistent with the direction of public transportation lane;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane, return step 3.
Below for one equipped with the bus of vehicle GPS satellite positioning device, travel near certain research park Tian Yin main road, city, simulation special lane, and gather gps signal as sample, its speed is at 12-38km/h, the latitude and longitude information of this section of road being joined in data base, and adopt the method for embodiment illustrated in fig. 1 to judge, result is as shown in table 1 below.
Having only selected that representative data in following table, in the judgement field that wherein whether direction is consistent, TRUE represents consistent.The course threshold value that this example takes is 40.
Improvement according to the present invention, it is also proposed that a kind of position bus device of travel direction on public transportation lane, including:
For obtain the GPS information of public transportation lane and be divided into n section straightway, the parameter information of two end points corresponding public transportation lane that take each straightway stores the first module forming a data base together, aforementioned parameters information includes special lane direction, course, title;
For obtaining the second module of the real-time positioning information of bus, aforementioned real-time positioning information includes latitude and longitude information, speed, course information;
For according to the latitude and longitude information obtained, take out one by one with the special lane information in aforementioned data storehouse and compare, judge whether bus is in public transportation lane, and be in the three module of the course information of the residing public transportation lane of judged result taking-up of public transportation lane based on bus;
For being in the result of public transportation lane in response to bus, check that the real-time course information of course information and the aforementioned acquisition taken out is to judge bus traffic direction in public transportation lane: if difference therebetween is in setting threshold range, then judge that bus running direction is consistent with the direction of public transportation lane, exports result of determination;Otherwise, it is determined that the direction of bus running direction and public transportation lane is inconsistent, and controls described three module and proceed multilevel iudge and take out the 4th module of sail information.
In the present embodiment, aforementioned first module, the second module, three module, the 4th module, its function, effect, effect and detailed description of the invention have carried out corresponding description and explanation in aforesaid one or more embodiments, do not repeat them here.
Although the present invention is disclosed above with preferred embodiment, so it is not limited to the present invention.Persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the present invention, when being used for a variety of modifications and variations.Therefore, protection scope of the present invention is when being as the criterion depending on those as defined in claim.

Claims (4)

1. one kind positions bus method of travel direction on public transportation lane, it is characterised in that comprise the following steps:
Step 1, obtain the GPS information of public transportation lane and be divided into n section straightway, the parameter information of two end points corresponding public transportation lane that take each straightway stores formation one data base together, and aforementioned parameters information includes special lane direction, course, title;
Step 2, obtain bus real-time positioning information, including latitude and longitude information, speed, course information;
Step 3, the latitude and longitude information obtained according to step 2, take out one by one with the special lane information in abovementioned steps 1 the data obtained storehouse and compare, judge whether bus is in public transportation lane: if it is, take out the course information of residing public transportation lane and enter next step;Otherwise, this step is repeated;
Step 4, it is in the result of public transportation lane in response to bus, check that the course information taken out and the real-time course information of acquisition in abovementioned steps 2 are to judge bus traffic direction in public transportation lane: if difference therebetween is in setting threshold range, then judge that bus running direction is consistent with the direction of public transportation lane, exports result of determination;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane, return step 3;
Wherein:
In abovementioned steps 1, the parameter information for public transportation lane adopts following data form to store:
Xn={ (xn1,yn1),(xn2,yn2),θn,Directionn,Namen}
Wherein, xn1Represent the longitude of the head-end of the n-th straightway, yn1Represent the latitude value of the head-end of the n-th straightway, xn2Represent the longitude of the distal point of the n-th straightway, yn2Represent the latitude value of the distal point of the n-th straightway, θnRepresent the course information that the public transportation lane represented by n-th section of straightway is corresponding, DirectionnRepresent the direction of the n-th straightway, NamenRepresent the title of the n-th straightway;
In abovementioned steps 2, by reading the real-time positioning information of the location data acquisition bus of vehicle GPS satellite positioning device or big-dipper satellite positioner, this location information table is shown as:
Y={ (x1, y1), θ 1}
Wherein, x1 represents the real-time longitude information got, and y1 represents the real-time latitude information got, and θ 1 represents the real-time course information got;
Aforesaid step 3 judging, whether bus is in the realization of public transportation lane and comprises the following steps:
1) data base obtained from step 1 takes out the data of the first and last end points of preservation one by one, and the expression of straightway is equivalent to:
Y=kx+b
Where it is assumed that xn1<xn2, xn1<x<xn2, k is the slope of straight line, and x represents longitude, and y represents latitude;
2) check whether the first and last end points preserved in the data obtained storehouse in step 1 meets | xn2-xn1| < T also judges the existence of aforementioned slope k accordingly, in response to | xn2-xn1| < T then thinks that k is absent from and by the first and last end points currently taken out and xn1、yn1、xn2、yn2Four values are+T ,+T ,-T ,-T respectively and are processed, otherwise it is assumed that k exists and keeps the first and last end points of current taking-up, aforementioned T is the longitude threshold value set;The latitude and longitude information of the real-time latitude and longitude information (x1, y1) then step 2 obtained and first and last end points compares: if | xn2-xn1| < T, then the longitude and latitude data after use process, otherwise use longitude and latitude data before treatment: if meet x simultaneouslyn1<x1<xn2And yn1<y1<yn2, then continue next step: otherwise, take out next distal point preserved in step 1 the data obtained storehouse, repeat this step;
3) according to abovementioned steps 2) result of determination, utilization process after longitude and latitude data or longitude and latitude data before treatment solve slope k:
4) intercept b is solved according to slope k:
5) longitude and latitude obtained in step 2 is substituted into the line segment of matching:
Matching line segment:
Then real-time longitude information x1 step 2 obtained substitutes into matching line segment and draws the latitude information y of matching0:
Obtain latitude difference DELTA accordingly:
Δ=| y0-y1|
Finally judge < whether S sets up Δ, and S is the latitude threshold value set: if set up, then it is assumed that bus is in public transportation lane, and takes out the course information θ of corresponding public transportation lane from step 1 the data obtained storehousen;Otherwise return step 2, continuing to compare with next distal point data in step 1 the data obtained storehouse, completing until finding out all first and last end-point data all comparisons in the matching line segment or step 1 the data obtained that satisfy condition.
2. location according to claim 1 bus method of travel direction on public transportation lane, it is characterised in that the course information θ in abovementioned steps 4, according to the public transportation lane that step 3 is taken outnCarry out following judgement:
If the course information θ of the public transportation lane taken outnMeet and make | θ 1-θn| or (360-| θ 1-θn|) less than one set course threshold value, then judge bus running direction consistent with the direction of public transportation lane;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane, return step 3.
3. one kind positions bus device of travel direction on public transportation lane, it is characterised in that including:
For obtain the GPS information of public transportation lane and be divided into n section straightway, the parameter information of two end points corresponding public transportation lane that take each straightway stores the first module forming a data base together, aforementioned parameters information includes special lane direction, course, title;
For obtaining the second module of the real-time positioning information of bus, aforementioned real-time positioning information includes latitude and longitude information, speed, course information;
For according to the latitude and longitude information obtained, take out one by one with the special lane information in aforementioned data storehouse and compare, judge whether bus is in public transportation lane, and be in the three module of the course information of the residing public transportation lane of judged result taking-up of public transportation lane based on bus;
For being in the result of public transportation lane in response to bus, check that the real-time course information of course information and the aforementioned acquisition taken out is to judge bus traffic direction in public transportation lane: if difference therebetween is in setting threshold range, then judge that bus running direction is consistent with the direction of public transportation lane, exports result of determination;Otherwise, it is determined that the direction of bus running direction and public transportation lane is inconsistent, and controls described three module and proceed multilevel iudge and take out the 4th module of sail information;
Wherein:
Described first module is configured to according to following form, the parameter information of public transportation lane be stored:
Xn={ (xn1,yn1),(xn2,yn2),θn,Directionn,Namen}
Wherein, xn1Represent the longitude of the head-end of the n-th straightway, yn1Represent the latitude value of the head-end of the n-th straightway, xn2Represent the longitude of the distal point of the n-th straightway, yn2Represent the latitude value of the distal point of the n-th straightway, θnRepresent the course information that the public transportation lane represented by n-th section of straightway is corresponding, DirectionnRepresent the direction of the n-th straightway, NamenRepresent the title of the n-th straightway;
Described second module is set to read the real-time positioning information of the location data acquisition bus of vehicle GPS satellite positioning device or big-dipper satellite positioner, and this location information table is shown as:
Y={ (x1, y1), θ 1}
Wherein, x1 represents the real-time longitude information got, and y1 represents the real-time latitude information got, and θ 1 represents the real-time course information got;
Described three module is configured to judge whether bus is in public transportation lane in the following manner:
1) from described data base, take out the data of the first and last end points of preservation one by one, and the expression of straightway be equivalent to:
Y=kx+b
Where it is assumed that xn1<xn2, xn1<x<xn2, k is the slope of straight line, and x represents longitude, and y represents latitude;
2) check whether the first and last end points preserved in data base meets | xn2-xn1| < T also judges the existence of aforementioned slope k accordingly, in response to | xn2-xn1| < T then thinks that k is absent from and by the first and last end points currently taken out and xn1、yn1、xn2、yn2Four values are+T ,+T ,-T ,-T respectively and are processed, otherwise it is assumed that k exists and keeps the first and last end points of current taking-up, aforementioned T is the longitude threshold value set;Then the latitude and longitude information of the real-time latitude and longitude information (x1, y1) obtained Yu first and last end points is compared: if | xn2-xn1| < T, then the longitude and latitude data after use process, otherwise use longitude and latitude data before treatment: if meet x simultaneouslyn1<x1<xn2And yn1<y1<yn2, then continue next step: otherwise, take out to obtain next distal point of preserving in data base, repeat this step;
3) according to aforementioned 2) result of determination, utilization process after longitude and latitude data or longitude and latitude data before treatment solve slope k:
4) intercept b is solved according to slope k:
5) longitude and latitude obtained is substituted into the line segment of matching:
Matching line segment:
Then the real-time longitude information x1 obtained is substituted into matching line segment and draw the latitude information y of matching0:
Obtain latitude difference DELTA accordingly:
Δ=| y0-y1|
Finally judge < whether S sets up Δ, and S is the latitude threshold value set: if set up, then it is assumed that bus is in public transportation lane, and takes out the course information θ of corresponding public transportation lane from data basen;Otherwise, continuing to compare with next distal point data in data base, completing until finding out all first and last end-point data all comparisons in the matching line segment or data that satisfy condition.
4. location according to claim 3 bus device of travel direction on public transportation lane, it is characterised in that aforementioned 4th module is configured to the course information θ according to the public transportation lane taken outnCarry out following judgement:
If the course information θ of the public transportation lane taken outnMeet and make | θ 1-θn| or (360-| θ 1-θn|) less than one set course threshold value, then judge bus running direction consistent with the direction of public transportation lane;Otherwise, it is determined that bus running direction is inconsistent with the direction of public transportation lane, returns and re-start course information judgement.
CN201410568729.9A 2014-10-22 2014-10-22 A kind of position bus method and apparatus of travel direction on bus special lane Active CN104299425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410568729.9A CN104299425B (en) 2014-10-22 2014-10-22 A kind of position bus method and apparatus of travel direction on bus special lane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410568729.9A CN104299425B (en) 2014-10-22 2014-10-22 A kind of position bus method and apparatus of travel direction on bus special lane

Publications (2)

Publication Number Publication Date
CN104299425A CN104299425A (en) 2015-01-21
CN104299425B true CN104299425B (en) 2016-07-06

Family

ID=52319136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410568729.9A Active CN104299425B (en) 2014-10-22 2014-10-22 A kind of position bus method and apparatus of travel direction on bus special lane

Country Status (1)

Country Link
CN (1) CN104299425B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108022432B (en) * 2016-10-31 2020-09-04 杭州海康威视系统技术有限公司 Method and device for determining driving direction of vehicle on running line
JP2020507171A (en) * 2016-12-26 2020-03-05 グプタ, サランシュGupta, Saransh Equipment for setting up an emergency vehicle lane
CN108332979B (en) * 2018-02-08 2020-07-07 青岛平行智能产业管理有限公司 Vehicle line pressing detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110166A (en) * 2007-08-15 2008-01-23 民航数据通信有限责任公司 ADS-B flight path and plan related processing system
CN101916115A (en) * 2010-07-27 2010-12-15 东北大学 Micro coaxial dual-rotor helicopter control device and method
CN102622884A (en) * 2012-03-22 2012-08-01 杭州电子科技大学 Vehicle illegal turning behavior detection method based on tracking
CN103871243A (en) * 2014-04-16 2014-06-18 武汉欧普威科技有限公司 Wireless vehicle management system and method based on active safety platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100397480B1 (en) * 2000-09-27 2003-09-13 (주)모인밸리 Location information service system and method for blind
JP2005091211A (en) * 2003-09-18 2005-04-07 Pioneer Electronic Corp Information processing device, system, method and program thereof, and recording medium with the program stored therein
KR100727031B1 (en) * 2006-10-27 2007-06-12 주식회사 엘리소프트 An exclusive bus lane control- system using a system for recognizing number of vehicles

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110166A (en) * 2007-08-15 2008-01-23 民航数据通信有限责任公司 ADS-B flight path and plan related processing system
CN101916115A (en) * 2010-07-27 2010-12-15 东北大学 Micro coaxial dual-rotor helicopter control device and method
CN102622884A (en) * 2012-03-22 2012-08-01 杭州电子科技大学 Vehicle illegal turning behavior detection method based on tracking
CN103871243A (en) * 2014-04-16 2014-06-18 武汉欧普威科技有限公司 Wireless vehicle management system and method based on active safety platform

Also Published As

Publication number Publication date
CN104299425A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN104408917B (en) Based on smart mobile phone acceleration transducer real-time traffic method of estimation
CN105374212B (en) The vehicle on highway lane recognition method and system sensed based on intelligent terminal
CN105023428B (en) Traffic information appraisal procedure and device
CN105448108B (en) A kind of hypervelocity method of discrimination based on Hidden Markov road network
CN110191832A (en) Controller of vehicle, control method for vehicle and vehicle control program
CN104608766A (en) Automatic parking method and system used for intelligent vehicle through parking memory stick
CN110276973B (en) Automatic intersection traffic rule identification method
CN103164962A (en) Mountain road sharp turn section real-time vehicle speed early warning method
CN103050013B (en) Based on vehicle classification speed limit method for supervising and the device thereof of car networking technology
CN104157160B (en) Vehicle travel control method, device and vehicle
CN104359493B (en) High-precision direction correction method under vehicle-mounted condition of smart phone
CN107328423B (en) Curve identification method and system based on map data
CN104299425B (en) A kind of position bus method and apparatus of travel direction on bus special lane
CN103903465A (en) Method and system for releasing reason for road congestion in real time
CN106529443A (en) Method for improving detection of lane based on Hough transform
CN103577809A (en) Ground traffic sign real-time detection method based on intelligent driving
CN103218240B (en) A kind of unmade road recognition methods based on Floating Car track
CN105427620B (en) A kind of illegal operation vehicle identification method based on taxi service data
WO2018045974A1 (en) Method, apparatus, and system for determining traffic light timing
CN210119237U (en) Positioning and navigation system for roadside automatic driving vehicle
Barth et al. The potential role of vehicle automation in reducing traffic-related energy and emissions
CN103699899B (en) Method for detecting lane lines based on equidistant curve model
CN111209779A (en) Method, device and system for detecting drivable area and controlling intelligent driving
Merriaux et al. Wheel odometry-based car localization and tracking on vectorial map
CN109493602A (en) A kind of evaluation method, the device and system of Urban arterial road coordinate control benefit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant