CN109859514A - Bus based on bus stop station fence drives into or out of judgment method - Google Patents
Bus based on bus stop station fence drives into or out of judgment method Download PDFInfo
- Publication number
- CN109859514A CN109859514A CN201811617347.5A CN201811617347A CN109859514A CN 109859514 A CN109859514 A CN 109859514A CN 201811617347 A CN201811617347 A CN 201811617347A CN 109859514 A CN109859514 A CN 109859514A
- Authority
- CN
- China
- Prior art keywords
- bus
- fence
- point
- current location
- rectangle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The present invention provides a kind of buses based on bus stop station fence to drive into or out of judgment method, comprising: the precision of side head and the tail two o'clock where acquisition bus stop station is the coordinate of Centimeter Level and the width that road is arranged;Gaussian transformation is carried out by the Coordinate Transformation Based on Longitude-Latitude of fence and position of bus point to plane rectangular coordinates, and calculates four apex coordinates of rectangle fence, is driven into while with being driven out to perpendicular to road direction by driving into intersection and be driven out to intersection to be divided into;Judge whether bus current location point and location point upper one second are contained in fence rectangle and then judge that bus drives into, is driven out to or stops bus station.
Description
Technical field
The present invention relates to a kind of public transport control technology, especially a kind of public affairs based on bus stop station fence
Vehicle is handed over to drive into or out of judgment method.
Background technique
The operational efficiency of bus is related to the public transport overall operation efficiency in entire city, is quick shunting people
Group facilitates citizens' activities, mitigates road pressure, alleviates the optimal path of urban traffic congestion.Current common bus signals are excellent
First triggering judgment method is to judge whether bus has driven into bus signals using facilities such as radio frequency identification (RFID) or earth magnetism
Preferential trigger region, has such as driven into the region, then sends that bus signals are preferential, controls the transformation of corresponding traffic lights, makes public affairs
Vehicle is handed over preferentially to pass through.This method is due to needing additional installation special equipment, including the equipment on public transport vehicle-mounted equipment and road,
Considerably increase investment.
Current bus is equipped with GNSS terminal, per second can obtain the accurate location information of bus, precision reaches lane
Grade (decimeter grade), positioning track is stable, data integrity is good, can be by vehicle location in specific lane.Bus electronic station
Board etc., which needs to drive into or out of bus stop to bus, to be monitored, and current domestic main method is counted after mainly acquiring a point
Calculate whether bus drives into, but this method is not accurate enough.
Summary of the invention
The purpose of the present invention is to provide a kind of buses based on bus stop station fence to drive into or out of judgement
Method, comprising the following steps:
Step 1, the precision of side head and the tail two o'clock is the coordinate of Centimeter Level and road is arranged where acquisition bus stop station
Width;
Step 2, Gaussian transformation is carried out by the Coordinate Transformation Based on Longitude-Latitude of fence and position of bus point to flat square
Coordinate, and calculate four apex coordinates of rectangle fence is divided into perpendicular to road direction by driving into intersection and be driven out to intersection
When driving into while and being driven out to;
Step 3, judge whether bus current location point is contained in fence rectangle;
Step 4, when bus current location, point is contained in the location point of fence rectangle and upper one second and is not included in electricity
When sub- fence rectangle, then judges that bus whether there is and drive into behavior;When the location point of bus current location point and upper one second
When being both contained in fence rectangle, and the driving status of bus upper one second is to drive into or passing through bus stop, then public transport
Vehicle is passing through bus stop;When bus current location, point is not included in the location point of fence and upper one second and is contained in electronics
When fence rectangle, then judge that bus is driven out to fence.
Compared with prior art, the present invention having the advantage that the quantity of (1) collection point is few, bus stop is greatly reduced
The workload of coordinate points acquisition and the storage pressure of database;(2) clearly drive into while, be driven out to while and driving direction, in existing public affairs
Hand over vehicle bus stop fence on the basis of give can accurate judgement bus the method for driving into or out of behavior.
The invention will be further described with reference to the accompanying drawings of the specification.
Detailed description of the invention
Fig. 1 is bus stop fence schematic diagram.
Fig. 2 is the flow chart whether bus drives into, is driven out to or judged by bus stop fence.
Specific embodiment
Bus stop fence is as shown in Figure 1, its middle conductorPlace is while to drive into, line segmentPlace side is to sail
Side out, vectorSame driveway travel directions, line segmentAlong bus stop side.Rectangle ABCD corresponds to bus stop fence, electronics
Four apex coordinate precision of fence is Centimeter Level, and the real-time anchor point precision of bus is lane grade, according to bus and bus stop electricity
The relationship of sub- fence, judge bus drives into or out of behavior.
Wherein, the Coordinate Transformation Based on Longitude-Latitude of fence and position of bus point to flat square is sat using Gaussian transformation
Mark.
The present embodiment drives into/is driven out to this to the setting of bus stop station fence disclosed by the invention and bus and stops
The judgment method to pull in is further described in detail.Method disclosed by the invention includes the following steps:
(1) coordinate of side head and the tail two o'clock A point and B point where acquiring bus stop station and the width d that road is set, road
Width, which may be configured as fixed value, may be alternatively provided as actual measured value;
(2) Gaussian transformation is carried out to sit the Coordinate Transformation Based on Longitude-Latitude of fence and position of bus point to flat square
Mark, and calculates four apex coordinates of rectangle fence, sails perpendicular to road direction by driving into intersection and be driven out to intersection and be divided into
When entering while and being driven out to, step (2) specifically comprises the following steps:
(2.1) gauss projection transformation is carried out by fence A (x1,y1)、B(x2,y2) and bus real time position point P (x,
Y) Coordinate Transformation Based on Longitude-Latitude is to plane rectangular coordinates;
(2.2) angle is calculated
(2.3) coordinate (x of C and D two o'clock is calculated according to following three kinds of situations3,y3) and (x4,y4)
Situation 1:x1=x2
Situation 2:y1=y2
Situation 3:x1≠x2And y1≠y2
(3) judge whether bus current location point is contained in fence rectangle, step (3) specifically includes following step
It is rapid:
(3.1) whether bus current location point is contained in the minimum circumscribed rectangle of fence;If it is not, then bus
Current location point terminates judgement outside fence;If it is, going to step (3.2) further judges bus present bit
It whether sets a little in the inside of fence;
(3.2) judge whether fence rectangle has a line to be parallel to x-axis;If it is, obtaining bus present bit
It sets in fence;If it is not, then going to step (3.3);
(3.3) it calculates fence and drives into the slope of two straight line of place while with being driven out to and the intersection point with y-axis;
(3.4) linear equation for being parallel to and driving into or out of side and passing through bus current location point is calculated, to obtain
The intersection point of the straight line and y-axis, and judge the intersection point whether be located at drive into or out of straight line where side and y-axis intersection point centre (including
It is overlapped);If it is, going to step (3.5);If it is not, then bus current location point is outside fence;
(3.5) slope of straight line where fence is parallel to two sides of road direction and the intersection point with y-axis are calculated;
(3.6) linear equation for being parallel to road direction and passing through bus current location point is calculated, to be somebody's turn to do
The intersection point of straight line and y-axis, and judge whether the intersection point is located parallel in two sides place straight lines of road direction and y-axis intersection point
Between (including be overlapped);If it is, whether bus current location point is in the inside of fence;If it is not, then bus is worked as
Front position point is outside fence.
(4) when bus current location, point is contained in fence rectangle and the location point of upper one second is not included in electronics and encloses
When column rectangle, then judges that bus whether there is and drive into behavior;When bus current location point and the location point of upper one second wrap
When contained in fence rectangle, and the driving status of bus upper one second is to drive into or passing through bus stop, then bus is being just
Passing through bus stop;When bus current location, point is not included in the location point of fence and upper one second and is contained in fence
When rectangle, then judge that bus is driven out to fence.Step (4) specifically comprises the following steps:
(4.1) bus current location point P, location point P upper one second are obtained0It is closed with the envelope of they and fence rectangle
System, if P and P0It is respectively positioned in fence, and one second location status is to drive into or then judged by bus stop on bus
Currently passing through fence;If P0In fence, and P then judges that bus is driven out to electricity outside fence
Sub- fence;If P is located in fence and P0Outside fence, then (4.2) are gone to step;
(4.2) judge line segment PP0Whether with drive into side and intersect, judge that bus drives into bus stop if intersection.
In the present invention, drive into, according to bus is current by stopping with the state progress bus disengaging for being driven out to bus stop
The judgement pulled in.In bus travel route, multiple bus stop fences can be set as needed, disclosed using the present invention
What method judged each bus stop fence drives into or out of behavior to apply to the automatic broadcasting and electronic stop plate of bus
Etc. in functions.
Claims (4)
1. a kind of bus based on bus stop station fence drives into or out of judgment method, which is characterized in that including with
Lower step:
Step 1, the precision of side head and the tail two o'clock where acquisition bus stop station is the coordinate of Centimeter Level and the width that road is arranged;
Step 2, Gaussian transformation is carried out by the Coordinate Transformation Based on Longitude-Latitude of fence and position of bus point to plane rectangular coordinates,
And four apex coordinates of rectangle fence are calculated, side is driven by driving into intersection and be driven out to intersection and be divided into perpendicular to road direction
Be driven out to side;
Step 3, judge whether bus current location point is contained in fence rectangle;
Step 4, when bus current location, point is contained in fence rectangle and the location point of upper one second is not included in electronics and encloses
When column rectangle, then judges that bus whether there is and drive into behavior;When bus current location point and the location point of upper one second wrap
When contained in fence rectangle, and the driving status of bus upper one second is to drive into or passing through bus stop, then bus is being just
Passing through bus stop;When bus current location, point is not included in the location point of fence and upper one second and is contained in fence
When rectangle, then judge that bus is driven out to fence.
2. the method according to claim 1, wherein step 3 specifically comprises the following steps:
Step 3.1, whether bus current location point is contained in the minimum circumscribed rectangle of fence;If it is not, then bus
Current location point terminates judgement outside fence;If it is, turning step 3.2 further judges bus current location point
Whether in the inside of fence;
Step 3.2, judge whether fence rectangle has a line to be parallel to x-axis;If it is, obtaining bus current location
In fence;If it is not, then going to step 3.3;
Step 3.3, it calculates fence and drives into the slope of two straight line of place while with being driven out to and the intersection point with y-axis;
Step 3.4, the linear equation for being parallel to and driving into or out of side and passing through bus current location point is calculated, to be somebody's turn to do
The intersection point of straight line and y-axis, and judge whether the intersection point is located at and drive into or out of the centre of straight line where side and y-axis intersection point and (including weigh
It closes);If it is, going to step 3.5;If it is not, then bus current location point is outside fence;
Step 3.4, the slope of straight line where fence is parallel to two sides of road direction and the intersection point with y-axis are calculated;
Step 3.6, the linear equation for being parallel to road direction and passing through bus current location point is calculated, so that it is straight to obtain this
The intersection point of line and y-axis, and judge whether the intersection point is located parallel to the centre of two sides of road direction place straight line and y-axis intersection point
(including coincidence);If it is, whether bus current location point is in the inside of fence;If it is not, then bus is current
Location point is outside fence.
3. the method according to claim 1, wherein step 4 specifically comprises the following steps:
Step 4.1, bus current location point P, location point P upper one second are taken0With the envelope relationship of they and fence rectangle,
If P and P0It is respectively positioned in fence, and one second location status is to drive into or then judge to work as by bus stop on bus
It is preceding to pass through fence;If P0In fence, and P then judges that bus is driven out to electronics outside fence
Fence;If P is located in fence and P0Outside fence, then 4.2 are gone to step
Step 4.2, judge line segmentWhether with drive into side and intersect, judge that bus drives into bus stop if intersection.
4. according to claim 1 the setting of bus stop station fence and bus described in any one of -3 drive into/
Be driven out to the judgment method of the bus stop, which is characterized in that according to bus it is current drive into, by with the state that is driven out to bus stop
Carry out the modification of the automatic broadcasting or electronic stop plate of bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811617347.5A CN109859514B (en) | 2018-12-28 | 2018-12-28 | Bus entrance and exit judgment method based on bus stop electronic fence |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811617347.5A CN109859514B (en) | 2018-12-28 | 2018-12-28 | Bus entrance and exit judgment method based on bus stop electronic fence |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109859514A true CN109859514A (en) | 2019-06-07 |
CN109859514B CN109859514B (en) | 2021-09-03 |
Family
ID=66892822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811617347.5A Active CN109859514B (en) | 2018-12-28 | 2018-12-28 | Bus entrance and exit judgment method based on bus stop electronic fence |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109859514B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111063215A (en) * | 2019-12-26 | 2020-04-24 | 珠海格力电器股份有限公司 | Parking space safety supervision method and device, storage medium and electronic equipment |
CN111833476A (en) * | 2020-08-09 | 2020-10-27 | 苏州征之魂专利技术服务有限公司 | Bus driver performance attendance checking method based on mobile terminal fixed line operation |
CN111967823A (en) * | 2020-08-14 | 2020-11-20 | 北京骑胜科技有限公司 | Article management method and device |
CN113313620A (en) * | 2021-06-10 | 2021-08-27 | 平安国际智慧城市科技股份有限公司 | Method, device and equipment for detecting vehicle and storage medium |
CN113393695A (en) * | 2021-06-15 | 2021-09-14 | 杭州数知梦科技有限公司 | Method for acquiring running state of bus class in real time |
WO2023015962A1 (en) * | 2021-08-11 | 2023-02-16 | 荣耀终端有限公司 | Virtual card switching method and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060238340A1 (en) * | 2003-07-25 | 2006-10-26 | John Harvey | System for providing a virtual vehicle boundary |
CN107025793A (en) * | 2017-06-05 | 2017-08-08 | 东南大学 | Bus signals based on virtual electronic fence preferentially trigger determination methods |
CN108734951A (en) * | 2018-03-13 | 2018-11-02 | 杭州骑迹科技有限公司 | A kind of fence setting method and computing device |
-
2018
- 2018-12-28 CN CN201811617347.5A patent/CN109859514B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060238340A1 (en) * | 2003-07-25 | 2006-10-26 | John Harvey | System for providing a virtual vehicle boundary |
CN107025793A (en) * | 2017-06-05 | 2017-08-08 | 东南大学 | Bus signals based on virtual electronic fence preferentially trigger determination methods |
CN108734951A (en) * | 2018-03-13 | 2018-11-02 | 杭州骑迹科技有限公司 | A kind of fence setting method and computing device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111063215A (en) * | 2019-12-26 | 2020-04-24 | 珠海格力电器股份有限公司 | Parking space safety supervision method and device, storage medium and electronic equipment |
CN111063215B (en) * | 2019-12-26 | 2020-11-27 | 珠海格力电器股份有限公司 | Parking space safety supervision method and device, storage medium and electronic equipment |
CN111833476A (en) * | 2020-08-09 | 2020-10-27 | 苏州征之魂专利技术服务有限公司 | Bus driver performance attendance checking method based on mobile terminal fixed line operation |
CN111967823A (en) * | 2020-08-14 | 2020-11-20 | 北京骑胜科技有限公司 | Article management method and device |
CN111967823B (en) * | 2020-08-14 | 2024-04-19 | 北京骑胜科技有限公司 | Article management method and device |
CN113313620A (en) * | 2021-06-10 | 2021-08-27 | 平安国际智慧城市科技股份有限公司 | Method, device and equipment for detecting vehicle and storage medium |
CN113393695A (en) * | 2021-06-15 | 2021-09-14 | 杭州数知梦科技有限公司 | Method for acquiring running state of bus class in real time |
CN113393695B (en) * | 2021-06-15 | 2023-06-16 | 杭州数知梦科技有限公司 | Method for collecting bus shift running state in real time |
WO2023015962A1 (en) * | 2021-08-11 | 2023-02-16 | 荣耀终端有限公司 | Virtual card switching method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109859514B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109859514A (en) | Bus based on bus stop station fence drives into or out of judgment method | |
CN205003902U (en) | Motor vehicle driver skill training electron train system | |
CN106340194B (en) | Emergency vehicles signal priority control method | |
WO2018171464A1 (en) | Method, apparatus and system for planning vehicle speed according to navigation path | |
CN102074114B (en) | Device and method for controlling speed of BRT (bus rapid transit) | |
CN107025793B (en) | Bus signals based on virtual electronic fence preferentially trigger judgment method | |
CN108257410A (en) | The accurate air navigation aid in parking stall that a kind of on-site supervision cooperates with navigation system | |
CN106971593A (en) | Lane recognition method and device | |
CN102737499B (en) | Expressway vehicle management and guidance command system and method based on mobile communication | |
CN106205158B (en) | Dynamic setting method, device and the car-mounted device of the preferential public transportation lane of interval | |
CN101270997A (en) | Floating car dynamic real-time traffic information processing method based on GPS data | |
CN110155079A (en) | DAS (Driver Assistant System) and method based on block chain technology | |
CN103625507B (en) | High Speed Railway Trains is followed the trail of close to method for early warning and system thereof | |
CN110473425A (en) | Method, parking charging method and the relevant device of parking management | |
CN110033630A (en) | Suggestion device, roadside unit and prompt system for road construction | |
CN105006148B (en) | A kind of crossing turns to vehicle number estimation method and system | |
CN109949582A (en) | A kind of vehicle illegal traveling monitoring system based on wireless location | |
CN109849816A (en) | A kind of autonomous driving vehicle driving ability evaluating method, apparatus and system | |
CN108510745A (en) | Air-ground cooperation-based police aircraft detection method and device | |
CN202827642U (en) | High-speed railway train tracking and approaching pre-warning system | |
CN106128127A (en) | Plane cognition technology is utilized to reduce the method and system of signal lamp control crossroad waiting time | |
CN107293134A (en) | Bus signals priority acccess control strategy based on virtual electronic fence | |
CN102693640B (en) | Control method for providing priority signal for set vehicle | |
CN104992570A (en) | An automobile traffic restriction warning method | |
CN104200648A (en) | Road section average travelling time calculation method based on electronic license plate |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |