CN103117002A - Automatic station identification method - Google Patents
Automatic station identification method Download PDFInfo
- Publication number
- CN103117002A CN103117002A CN2013100171439A CN201310017143A CN103117002A CN 103117002 A CN103117002 A CN 103117002A CN 2013100171439 A CN2013100171439 A CN 2013100171439A CN 201310017143 A CN201310017143 A CN 201310017143A CN 103117002 A CN103117002 A CN 103117002A
- Authority
- CN
- China
- Prior art keywords
- distance
- station
- website
- current
- coordinate
- 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
Links
Images
Abstract
The invention relates to an automatic station identification method. The method includes: obtaining a current vehicle coordinate P1 through global position system (GPS) positioning; according to a wide-band satellite (WGS) 84 coordinate system, calculating distance of the coordinate system and all the stations of vehicle driven routes, comparing the obtained distance with the preset pit stop threshold value, obtaining a corresponding station when the distance is smaller than the pit stop threshold value, and the corresponding station is a current station S1; a computational formula computes distance D of the current vehicle coordinate P1 and a station adjacent to the current station S1, at the same time computes distance D0 of a vehicle coordinate P0 obtained by the current vehicle coordinate P1 in the prior time and the station adjacent to the current station S1; comparing the D1 with the D0, and using a corresponding station as a next station S2 when the D1 is smaller than the D0. The automatic station identification method uses GPS to position, uses WGS84 to compute distance of two stations, decides vehicle driven direction and a current station through comparison of the distance, and achieves automatic station identification.
Description
Technical field
The present invention relates to the public transport electronic technology field, particularly a kind of automatic identification website method.
Background technology
automatic broadcasting is mainly used in mass transportation facilities, automatic broadcasting when mainly making operating mass transportation facilities enter the station, and existing mass transportation facilities mostly adopts manually-operated: prior each website voice broadcast information of typing, when mass transportation facilities is about to sail website into, the driver presses button corresponding to website, vehicle-mounted broadcasting calls each website voice broadcast information of prior typing and carries out sound broadcast, this form of calling out the stops mainly depends on driver's manually-operated, not only increased driver's workload, affect traffic safety, and manually-operated wrong report easily occurs and the error such as misrepresents deliberately, cause unnecessary trouble to the passenger, therefore need to adopt automatic station name announcing system accurately and conveniently.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of automatic identification website method, utilizes GPS accurately to locate, and adopts the WGS84 coordinate system to calculate 2 distances, determines vehicle heading and current website by the size that compares distance.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of automatic identification website method comprises the following steps:
Locate by GPS and obtain current vehicle coordinate P1(WGS84 coordinate system);
Calculate the distance of current vehicle coordinate P1 and all websites of route or travel by vehicle according to the WGS84 coordinate system, and the distance that will obtain compares with the predefined threshold value of calling out the stops of entering the station, obtain the corresponding website of distance when calling out the stops threshold value less than entering the station, i.e. current website S1;
Computing formula is calculated the distance B 1 of the current vehicle coordinate P1 website adjacent with current website S1, calculates simultaneously the vehicle coordinate P0 that once obtains before current vehicle coordinate P1 and the distance B 0 of current website S1 adjacent sites;
The size of distance B 1 and distance B 0 relatively, corresponding website is as next website S2 during less than distance B 0 with distance B 1, and obtaining vehicle heading is that current website S1 is to next website S2.
WGS84 coordinate system (World Geodetic System-1984Coordinate System) is a kind of geocentric coordinate system that adopts in the world;
According to two point coordinate (Lng1, Lat1) of WGS84 coordinate system, (Lng2, Lat2) apart from computing formula be: (D is earth mean radius)
D×cos
-1(sin?Lat1×sin?Lat2+cos?Lat1×cos?Lat2×cos(Lng1-Lng2))×π÷180
On the basis of technique scheme, the present invention can also do following improvement:
Further, described current website S1 is one or more.
The invention has the beneficial effects as follows: the present invention utilizes GPS accurately to locate, and adopts the WGS84 coordinate system to calculate 2 distances, determines vehicle heading and current website by the size that compares distance, thereby realizes identification website automatically.
Description of drawings
Fig. 1 is that the present invention identifies the website method flow diagram automatically.
Embodiment
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example only is used for explaining the present invention, is not be used to limiting scope of the present invention.
As shown in Figure 1, locate by GPS obtain current vehicle coordinate P1(WGS84 coordinate system);
Calculate the distance of current vehicle coordinate P1 and all websites of route or travel by vehicle according to the WGS84 coordinate system, and the distance that will obtain compares with the predefined threshold value of calling out the stops of entering the station, obtain the corresponding website of distance when calling out the stops threshold value less than entering the station, i.e. current website S1;
Computing formula is calculated the distance B 1 of the current vehicle coordinate P1 website adjacent with current website S1, calculates simultaneously the vehicle coordinate P0 that once obtains before current vehicle coordinate P1 and the distance B 0 of current website S1 adjacent sites;
The size of distance B 1 and distance B 0 relatively, corresponding website is as next website S2 during less than distance B 0 with distance B 1, and obtaining vehicle heading is that current website S1 is to next website S2.
WGS84 coordinate system (World Geodetic System-1984Coordinate System) is a kind of geocentric coordinate system that adopts in the world;
According to two point coordinate (Lng1, Lat1) of WGS84 coordinate system, (Lng2, Lat2) apart from computing formula be: (D is earth mean radius)
D×cos
-1(sin?Lat1×sin?Lat2+cos?Lat1×cos?Lat2×cos(Lng1-Lng2))×π÷180
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (2)
1. automatically identify the website method for one kind, it is characterized in that, comprise the following steps:
Locate by GPS and obtain current vehicle coordinate P1;
Calculate the distance of current vehicle coordinate P1 and all websites of route or travel by vehicle according to the WGS84 coordinate system, and the distance that will obtain compares with the predefined threshold value of calling out the stops of entering the station, obtain the corresponding website of distance when calling out the stops threshold value less than entering the station, i.e. current website S1;
Computing formula is calculated the distance B 1 of the current vehicle coordinate P1 website adjacent with current website S1, calculates simultaneously the vehicle coordinate P0 that once obtains before current vehicle coordinate P1 and the distance B 0 of current website S1 adjacent sites;
The size of distance B 1 and distance B 0 relatively, with distance B 1 during less than distance B 0 corresponding website as next website S2.
2. a kind of automatic identification website method according to claim 1, is characterized in that, described current website S1 is one or more.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100171439A CN103117002A (en) | 2013-01-17 | 2013-01-17 | Automatic station identification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100171439A CN103117002A (en) | 2013-01-17 | 2013-01-17 | Automatic station identification method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103117002A true CN103117002A (en) | 2013-05-22 |
Family
ID=48415364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100171439A Pending CN103117002A (en) | 2013-01-17 | 2013-01-17 | Automatic station identification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103117002A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2636343Y (en) * | 2003-05-06 | 2004-08-25 | 宋立昌 | Global positioning automatic station reporting device |
CN2904159Y (en) * | 2006-04-03 | 2007-05-23 | 沈阳市恒远电子有限公司 | GPS automatic station reporting wireless staff instrument |
JP2007518979A (en) * | 2003-12-30 | 2007-07-12 | トゥルーポジション・インコーポレーテッド | TDOA / GPS hybrid wireless position detection system |
CN101270997A (en) * | 2007-03-21 | 2008-09-24 | 北京交通发展研究中心 | Floating car dynamic real-time traffic information processing method based on GPS data |
US20100241623A1 (en) * | 2009-03-23 | 2010-09-23 | Acker Robert L | User generated notes integrated with location-based application |
-
2013
- 2013-01-17 CN CN2013100171439A patent/CN103117002A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2636343Y (en) * | 2003-05-06 | 2004-08-25 | 宋立昌 | Global positioning automatic station reporting device |
JP2007518979A (en) * | 2003-12-30 | 2007-07-12 | トゥルーポジション・インコーポレーテッド | TDOA / GPS hybrid wireless position detection system |
CN2904159Y (en) * | 2006-04-03 | 2007-05-23 | 沈阳市恒远电子有限公司 | GPS automatic station reporting wireless staff instrument |
CN101270997A (en) * | 2007-03-21 | 2008-09-24 | 北京交通发展研究中心 | Floating car dynamic real-time traffic information processing method based on GPS data |
US20100241623A1 (en) * | 2009-03-23 | 2010-09-23 | Acker Robert L | User generated notes integrated with location-based application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11037382B2 (en) | System and method for evaluating operation of environmental sensing systems of vehicles | |
CN102187246A (en) | Improvement and validation of position determination | |
CN105469617A (en) | Driving safety assisting method and driving safety assisting device | |
CN106157611A (en) | A kind of parking detecting system and parking detection method thereof | |
CN107657824A (en) | The method, apparatus and terminal of vehicle location | |
CN105336162A (en) | Early warning method and early warning system for vehicle abnormal aggregation | |
CN105702072A (en) | IoT-based traffic and transportation system | |
CN104008655A (en) | Tramcar highway crossing signal priority control method based on concentrated differential GPS positioning | |
CN105096625A (en) | Method of acquiring real-time road condition information, system and server | |
WO2020075839A1 (en) | Traffic communication system, roadside device, and method | |
CN105006164B (en) | Break in traffic rules and regulations panel based on big-dipper satellite positioning and directing constant speed | |
KR102247207B1 (en) | Apparatus and method for preventing car accident by detecting a pedestrian walking on a crosswalk | |
CN106415692B (en) | Vehicle communication based on dedicated channel | |
CN107221183B (en) | real-time station reporting method and device for public transport means | |
US11205347B2 (en) | Method and electronic device for ascertaining an ego position | |
DE102014106048B4 (en) | Method for determining the position of a road user, infrastructure, vehicle and computer program | |
CN205230373U (en) | Black spot forecast warning system | |
CN110830526A (en) | Internet of vehicles communication method, equipment, vehicle-mounted terminal and Internet of vehicles communication system | |
CN103544846B (en) | A kind of public transportation automatic station-reporting method | |
CN103106781A (en) | Hot spot region alarm method and service platform based on global position system (GPS) information | |
CN106954184A (en) | Method, cloud server and the mobile unit of vehicle-to-vehicle distance measurement | |
CN103117002A (en) | Automatic station identification method | |
US10906534B2 (en) | Automatic stop device and automatic stop method | |
CN102288188B (en) | Route planning method and device for real-time traffic | |
CN107274696B (en) | Traffic incident processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130522 |