CN105390015B - The method and apparatus of real-time public transport tracking - Google Patents

The method and apparatus of real-time public transport tracking Download PDF

Info

Publication number
CN105390015B
CN105390015B CN201510874234.3A CN201510874234A CN105390015B CN 105390015 B CN105390015 B CN 105390015B CN 201510874234 A CN201510874234 A CN 201510874234A CN 105390015 B CN105390015 B CN 105390015B
Authority
CN
China
Prior art keywords
setting
mobile terminal
bus
position coordinates
terminus
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
CN201510874234.3A
Other languages
Chinese (zh)
Other versions
CN105390015A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510874234.3A priority Critical patent/CN105390015B/en
Publication of CN105390015A publication Critical patent/CN105390015A/en
Application granted granted Critical
Publication of CN105390015B publication Critical patent/CN105390015B/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/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a kind of method and apparatus of real-time public transport tracking.This method includes:The setting mobile terminal that positioning in real time is associated with setting bus, wherein, it is described to set the mobile terminal that mobile terminal is carried as the drivers and conductors on the setting bus gone out by data mining;According to the real time position of the setting mobile terminal, the real time position of the setting bus is determined.The present invention by positioning the setting mobile terminal that the drivers and conductors on setting bus carry in real time, and according to the real time position of the setting mobile terminal, determine the real time position of the setting bus, it is not necessary to deployment-specific equipment again, reduce cost, and application easy to spread.

Description

The method and apparatus of real-time public transport tracking
Technical field
The present embodiments relate to the communication technology, more particularly to a kind of method and apparatus of real-time public transport tracking.
Background technology
Service end to bus by positioning, it will be appreciated that the operation conditions of bus, or determining bus Position information is sent to user so that user can recognize the particular location of bus, is reached so as to estimate bus The approximate time of website where user, can avoid the anxiety psychology during cars such as user.
In the prior art, positioning is carried out dependent on special equipment (such as WiFi disposed on bus to bus (Wireless-Fidelity, Wireless Fidelity) equipment), circulate a notice of the real time position of bus to service end by the special equipment, Have a drawback in that cost is higher, and more difficult popularization.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus of real-time public transport tracking, to reduce cost, it is easy to Promote.
In a first aspect, the embodiments of the invention provide a kind of method of real-time public transport tracking, methods described includes:
The setting mobile terminal that positioning in real time is associated with setting bus, wherein, the mobile terminal that sets is by number The mobile terminal carried according to the drivers and conductors on the setting bus excavated;
According to the real time position of the setting mobile terminal, the real time position of the setting bus is determined.
Second aspect, the embodiment of the present invention additionally provides a kind of device of real-time public transport tracking, and described device includes:
Mobile terminal location module, for positioning the setting mobile terminal associated with setting bus in real time, wherein, it is described Set the mobile terminal that mobile terminal is carried as the drivers and conductors on the setting bus gone out by data mining;
Position of bus determining module, for the real time position according to the setting mobile terminal, determines that the setting is public Hand over the real time position of car.
The technical scheme of the embodiment of the present invention, the setting carried by positioning the drivers and conductors on setting bus in real time is moved Dynamic terminal, and according to the real time position of the setting mobile terminal, determine the real time position of the setting bus, it is not necessary to again Deployment-specific equipment, reduces cost, and because the mobile terminals such as mobile phone compare popularization, therefore application easy to spread.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for real-time public transport tracking that the embodiment of the present invention one is provided;
Fig. 2 is a kind of flow chart of the method for real-time public transport tracking that the embodiment of the present invention two is provided;
Fig. 3 is a kind of flow chart of the method for real-time public transport tracking that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structural representation of the device for real-time public transport tracking that the embodiment of the present invention four is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the method for real-time public transport tracking that the embodiment of the present invention one is provided, and the present embodiment can be fitted For situation about being positioned to setting bus, this method can be performed by server, specifically included as follows:
S110, the setting mobile terminal that positioning in real time is associated with setting bus, wherein, the mobile terminal that sets is logical The mobile terminal that the drivers and conductors crossed on the setting bus that data mining goes out carry.
By setting the positioning function in mobile terminal (such as mobile phone), setting mobile terminal is positioned.For example, can be with Using set mobile terminal IP address, obtain base station IDs interface, connection WiFi MAC (Medium/Media Access Control, media access control) address and GPS etc., to realize the positioning to setting mobile terminal, it can also be moved using setting The application program (such as Baidu map) installed in dynamic terminal realizes the positioning to setting mobile terminal.
Wherein, data mining generally refers to be hidden in the process of wherein information by algorithm search from substantial amounts of data. Data mining is generally relevant with computer science, and is by statistics, Data Environments, information retrieval, machine learning, expert All multi-methods such as (by the past rule of thumb) and pattern-recognition are united to realize above-mentioned target.
S120, according to the real time position of the setting mobile terminal, determines the real time position of the setting bus.
Because the setting mobile terminal is that (driver sells by drivers and conductors on the setting bus gone out by data mining Ticket person) carry mobile terminal, as long as so setting bus on drivers and conductors carry it is described setting mobile terminal when, institute The real time position for stating setting mobile terminal is exactly the real time position of the setting bus.
The technical scheme of the present embodiment, the setting carried by positioning the drivers and conductors on setting bus in real time is moved eventually End, and according to the real time position of the setting mobile terminal, determine the real time position of the setting bus, it is not necessary to dispose again Special equipment, reduces cost, and because the mobile terminals such as mobile phone compare popularization, therefore application easy to spread.
Embodiment two
Fig. 2 is a kind of flow chart of the method for real-time public transport tracking that the embodiment of the present invention two is provided, and the present embodiment is to reality Example one is applied to be optimized, on the basis of embodiment one, add determine setting mobile terminal content, specifically include as Under:
S210, obtains the inception point of the setting bus and the position coordinates of terminus.
On map, each position is indicated with corresponding position coordinates.The position coordinates of each position on map It can be indicated with longitude and latitude, can also there is other unified method for expressing certainly.
Each setting bus (every public transport line in other words) has corresponding inception point and terminus, the setting bus Position coordinates on map of inception point and terminus be certain, therefore, it can obtain rising for the setting bus first Point station and the position coordinates of terminus, it is then determined that substantial amounts of anchor point falls in the inception point of the setting bus and terminus The mobile terminal of position coordinates, the setting mobile terminal that drivers and conductors carry is obtained by data mining.
S220, it is determined that the anchor point of mobile terminal alternately falls in the inception point and the position of terminus in setting time The number of times of coordinate.
The anchor point of mobile terminal alternately falls in the inception point and the number of times of the position coordinates of terminus, i.e. mobile terminal First anchor point fall to fall in terminus (or inception point), so in inception point (or terminus), next anchor point It is considered once, counts in the number of times being alternately present setting time (such as one day) interior anchor point.
Wherein it is determined that the anchor point of mobile terminal alternately falls in the inception point and the position of terminus in setting time The number of times of coordinate is preferably included:
It is determined that in setting time the mobile terminal anchor point the inception point and terminus position coordinates Residence time section;
When the time span of residence time section exceedes setting time threshold value, determine the anchor point in the starting point Whether the residence time section of the position coordinates stood and the position coordinates in terminus is alternatively distributed;
When the residence time section of position coordinates of the anchor point in the inception point and the position coordinates in terminus is When being alternately distributed, according to the anchor point in the residence time section of the inception point and the position coordinates of terminus, it is determined that described Anchor point falls the number of times of the position coordinates in the inception point and terminus.
Wherein, the time span of the residence time section can be 5 minutes.By the anchor point of mobile terminal at described The time span of the residence time section of the position coordinates of point station and terminus exceedes setting time threshold value, just can confirm that it is mobile eventually The anchor point at end falls in the inception point or terminus, and the anchor point is in the position coordinates of the inception point and in terminal The residence time section for the position coordinates stood is just to determine that the anchor point falls in the inception point and terminus when being alternately distributed The number of times of position coordinates, determines whether the mobile terminal is the drivers and conductors set on bus further according to the number of times The setting mobile terminal of carrying.The setting mobile terminal so excavated is more accurate.Wherein, the setting time is preferably one My god.
S230, when the number of times is more than given threshold, it is the department on the setting bus to determine the mobile terminal Sell personnel the setting mobile terminal of carrying.
When the anchor point of the mobile terminal in setting time alternately falls the position coordinates in the inception point and terminus When number of times is more than given threshold, illustrate that the mobile terminal can regularly there are a large amount of anchor points to fall in inception point in setting time On the position coordinates of terminus, hence, it can be determined that the mobile terminal is taken for the drivers and conductors on the setting bus The setting mobile terminal of band.
S240, the setting mobile terminal that positioning in real time is associated with setting bus, wherein, the mobile terminal that sets is logical The mobile terminal that the drivers and conductors crossed on the setting bus that data mining goes out carry.
S250, according to the real time position of the setting mobile terminal, determines the real time position of the setting bus.
The technical scheme of the present embodiment, the position coordinates of the inception point and terminus that set bus by obtaining, it is determined that The anchor point of mobile terminal alternately falls in the inception point and the number of times of the position coordinates of terminus in setting time, when described When number of times is more than given threshold, the setting movement that the mobile terminal carries for the drivers and conductors on the setting bus is determined Terminal, and by being positioned in real time to the mobile terminal, obtains the real time position of the setting bus, it is not necessary to portion again Special equipment is affixed one's name to, cost, and application easy to spread is reduced, compared with embodiment one, present embodiments provided uncertain Setting mobile terminal determines the side of the setting mobile terminal when being and setting the mobile terminal of drivers and conductors' carrying on bus Method.
It is determined that the mobile terminal for it is described setting bus on drivers and conductors carry setting mobile terminal after, Also include:
By the mobile device international identity code of the setting mobile terminal, the setting mobile terminal is recognized.
Wherein, the mobile terminal that sets is mobile phone, mobile device international identity code (International Mobile Equipment Identity, IMEI) be mobile phone unique identification number, IMEI will not be repeated in global range.Pass through setting The IMEI of mobile terminal recognizes setting mobile terminal, can avoid the mobile terminal of follow-up Wrong localization.
Embodiment three
Fig. 3 is a kind of flow chart of the method for real-time public transport tracking that the embodiment of the present invention three is provided, and the present embodiment is to reality Apply example one to be optimized, on the basis of embodiment one, add and report the real time position for setting bus to user's end The content at end, is specifically included as follows:
S310, the setting mobile terminal that positioning in real time is associated with setting bus, wherein, the mobile terminal that sets is logical The mobile terminal that the drivers and conductors crossed on the setting bus that data mining goes out carry.
S320, according to the real time position of the setting mobile terminal, determines the real time position of the setting bus.
S330, the real time position of the setting bus is reported to user terminal.
When leaving inception point by obtaining setting bus to the positioning for setting mobile terminal, illustrate the setting bus It has been sent that, mobile terminal is set by real-time tracking, so that the real time position of setting bus is obtained, by the setting bus Real time position report to user terminal so that user is recognized that the real time position of the setting bus.
The technical scheme of the present embodiment, the setting carried by positioning the drivers and conductors on setting bus in real time is moved eventually End, and according to the real time position of the setting mobile terminal, determine the real time position of the setting bus, it is not necessary to dispose again Special equipment, reduces cost, and application easy to spread, compared with embodiment one, the present embodiment will be by that will set bus Real time position report to user terminal so that user can recognize the real time position of the setting bus at any time, so as to keep away Exempt from the anxiety psychology during cars such as user.
Example IV
Fig. 4 is a kind of structural representation of the device for real-time public transport tracking that the embodiment of the present invention four is provided, such as Fig. 4 institutes Show, the device of the real-time public transport tracking described in the present embodiment includes:Mobile terminal location module 410 and position of bus determine mould Block 420.
Wherein, mobile terminal location module 410 is used to position the setting mobile terminal associated with setting bus in real time, its In, it is described to set the mobile terminal that mobile terminal is carried as the drivers and conductors on the setting bus gone out by data mining;
Position of bus determining module 420 is used for the real time position according to the setting mobile terminal, determines the setting The real time position of bus.
It is preferred that, in addition to:
Position coordinates acquisition module, for obtaining the inception point of the setting bus and the position coordinates of terminus;
Alternate frequency determining module, for determining that the anchor point of the mobile terminal in setting time alternately falls in the starting point The number of times stood with the position coordinates of terminus;
Mobile terminal determining module is set, for when the number of times is more than given threshold, determining that the mobile terminal is The setting mobile terminal that drivers and conductors on the setting bus carry.
It is preferred that, alternate frequency determining module includes:
Residence time section determining unit, for determining the anchor point of the mobile terminal in setting time in the starting point The residence time section stood with the position coordinates of terminus;
Be alternately distributed determining unit, for when the residence time section time span exceed setting time threshold value when, really Whether the residence time section of fixed position coordinates of the anchor point in the inception point and the position coordinates in terminus is alternating Distribution;
Alternate frequency determining unit, for when position coordinates of the anchor point in the inception point and the position in terminus To put the residence time section of coordinate be when being alternately distributed, according to the anchor point the inception point and terminus position coordinates Residence time section, determines that the anchor point falls the number of times of the position coordinates in the inception point and terminus.
Wherein, the setting time is preferably one day.
It is preferred that, in addition to:
Mobile terminal identification module is set, for it is determined that the mobile terminal sells people for the department on the setting bus After the setting mobile terminal that member carries, by the mobile device international identity code of the setting mobile terminal, set described in identification Determine mobile terminal.
It is preferred that, in addition to:
Position broadcasting module, for it is determined that it is described setting bus real time position after, by the setting bus Real time position report to user terminal.
The said goods can perform the method that any embodiment of the present invention is provided, and possess the corresponding functional module of execution method And beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (6)

1. a kind of method of real-time public transport tracking, it is characterised in that methods described includes:
Obtain the inception point of setting bus and the position coordinates of terminus;
It is determined that the anchor point of mobile terminal alternately falls time in the position coordinates of the inception point and terminus in setting time Number;
When the number of times is more than given threshold, determine that the mobile terminal carries for the drivers and conductors on the setting bus Setting mobile terminal;
The setting mobile terminal that positioning in real time is associated with setting bus, wherein, the mobile terminal that sets is digs by data The mobile terminal that the drivers and conductors on setting bus excavated carry;
According to the real time position of the setting mobile terminal, the real time position of the setting bus is determined;
Wherein it is determined that the anchor point of mobile terminal alternately falls the position coordinates in the inception point and terminus in setting time Number of times include:
It is determined that in setting time the mobile terminal anchor point the inception point and the position coordinates of terminus stop Period;
When the time span of residence time section exceedes setting time threshold value, determine the anchor point in the inception point Position coordinates and terminus position coordinates residence time section whether be alternatively distributed;
When the residence time section of position coordinates of the anchor point in the inception point and the position coordinates in terminus is alternating During distribution, according to the anchor point in the residence time section of the inception point and the position coordinates of terminus, the positioning is determined Point falls in the inception point and the number of times of the position coordinates of terminus.
2. according to the method described in claim 1, it is characterised in that it is determined that the mobile terminal is on the setting bus Drivers and conductors carry setting mobile terminal after, in addition to:
By the mobile device international identity code of the setting mobile terminal, the setting mobile terminal is recognized.
3. according to the method described in claim 1, it is characterised in that it is determined that after the real time position of the setting bus, Also include:
The real time position of the setting bus is reported to user terminal.
4. a kind of device of real-time public transport tracking, it is characterised in that described device includes:
Position coordinates acquisition module, for obtaining the inception point of setting bus and the position coordinates of terminus;
Alternate frequency determining module, for determine the anchor point of the mobile terminal in setting time alternately fall in the inception point and The number of times of the position coordinates of terminus;
Mobile terminal determining module is set, for when the number of times is more than given threshold, it to be described to determine the mobile terminal Set the setting mobile terminal that the drivers and conductors on bus carry;
Mobile terminal location module, for positioning the setting mobile terminal associated with setting bus in real time, wherein, the setting Mobile terminal is the mobile terminal that the drivers and conductors on the setting bus gone out by data mining carry;
Position of bus determining module, for the real time position according to the setting mobile terminal, determines the setting bus Real time position;
Wherein, alternate frequency determining module includes:
Residence time section determining unit, for determine the anchor point of the mobile terminal in setting time in the inception point and The residence time section of the position coordinates of terminus;
Determining unit is alternately distributed, for when the time span of residence time section exceedes setting time threshold value, determining institute Whether the residence time section for stating position coordinates of the anchor point in the inception point and the position coordinates in terminus is alternately distributed 's;
Alternate frequency determining unit, for when position coordinates of the anchor point in the inception point and the position seat in terminus Target residence time section is when being alternately distributed, according to the anchor point the inception point and the position coordinates of terminus stop Period, determine that the anchor point falls the number of times of the position coordinates in the inception point and terminus.
5. device according to claim 4, it is characterised in that also include:
Mobile terminal identification module is set, for it is determined that the mobile terminal is taken for the drivers and conductors on the setting bus After the setting mobile terminal of band, by the mobile device international identity code of the setting mobile terminal, recognize that the setting is moved Dynamic terminal.
6. device according to claim 4, it is characterised in that also include:
Position broadcasting module, for it is determined that it is described setting bus real time position after, by it is described setting bus reality When position report to user terminal.
CN201510874234.3A 2015-12-02 2015-12-02 The method and apparatus of real-time public transport tracking Active CN105390015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510874234.3A CN105390015B (en) 2015-12-02 2015-12-02 The method and apparatus of real-time public transport tracking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510874234.3A CN105390015B (en) 2015-12-02 2015-12-02 The method and apparatus of real-time public transport tracking

Publications (2)

Publication Number Publication Date
CN105390015A CN105390015A (en) 2016-03-09
CN105390015B true CN105390015B (en) 2017-09-29

Family

ID=55422253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510874234.3A Active CN105390015B (en) 2015-12-02 2015-12-02 The method and apparatus of real-time public transport tracking

Country Status (1)

Country Link
CN (1) CN105390015B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976637A (en) * 2016-06-30 2016-09-28 百度在线网络技术(北京)有限公司 Bus determining method and device
CN106595679B (en) * 2016-11-17 2019-05-10 长安大学 A kind of bus localization method based on user's location data
CN110517500B (en) * 2018-05-21 2021-04-13 上海大唐移动通信设备有限公司 Man-vehicle association processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4393222B2 (en) * 2004-02-25 2010-01-06 株式会社日立製作所 Traffic information display device
CN103632565A (en) * 2012-08-28 2014-03-12 上海千大信息科技有限公司 Public traffic system
CN103593974B (en) * 2013-11-06 2015-11-11 福建工程学院 A kind of public transport passenger capacity collection method based on locating information
CN103826203B (en) * 2014-03-10 2017-10-27 北京百度网讯科技有限公司 Public transport operation Forecasting Methodology and device
CN105046944A (en) * 2015-06-26 2015-11-11 浙江工业大学 Bus passenger flow data acquisition method based on mobile phone MAC address scanning

Also Published As

Publication number Publication date
CN105390015A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN107491825B (en) Taxi booking processing method and system
DE602004027273D1 (en) SYSTEM AND METHOD FOR INTEGRATING A WIRE LOADING
CN104093167A (en) Advertising information pushing method, base station and operator server
CN110324781B (en) Indoor positioning method and device, electronic equipment and computer readable storage medium
CN105390015B (en) The method and apparatus of real-time public transport tracking
JP2015114755A (en) Advertisement distribution server, advertisement display terminal, advertisement distribution method, and program for advertisement distribution server
CN102521969B (en) Positioning method of traffic event information and apparatus thereof
JP2009063336A (en) Equipment, method and program for acquiring positional information
CN111132027B (en) Scene recognition network graph drawing method, scene recognition method and device
CN110689804A (en) Method and apparatus for outputting information
CN110967006A (en) Navigation positioning method and device based on tunnel map, storage medium and terminal equipment
CN107705576A (en) Vehicle fake-license detection method, server and storage medium
CN111985965A (en) Vehicle-mounted advertisement pushing method and device, cloud server and vehicle-mounted terminal
US20170299688A1 (en) Beacon transmitting device and beacon transmitting method
CN102291419B (en) The supplying method of navigation information system and navigation information
CN110620988A (en) Information reporting method, device and equipment
CN104937914A (en) Information processing device, information processing method, and program
US11070962B2 (en) Information processing device, information processing system, method of processing information, and non-transitory computer- readable recording medium storing program
CN104636966A (en) Method and equipment for sending order
KR20120097789A (en) Apparatus guiding position of car and method using the same
AU2016296473B2 (en) Detecting the context of a user using a mobile device based on wireless signal characteristics
CN103344247B (en) The air navigation aid of multi-client and device
JP2011196936A (en) Navigation terminal, advertisement distributing system, and navigation terminal control method and program
CN111612545B (en) Advertisement putting method and device and computer equipment
CN111107155B (en) Information pushing method and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant