CN104700611A - Bus operation information acquiring method - Google Patents

Bus operation information acquiring method Download PDF

Info

Publication number
CN104700611A
CN104700611A CN201310667403.7A CN201310667403A CN104700611A CN 104700611 A CN104700611 A CN 104700611A CN 201310667403 A CN201310667403 A CN 201310667403A CN 104700611 A CN104700611 A CN 104700611A
Authority
CN
China
Prior art keywords
bus
terminus
position information
starting station
gps position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310667403.7A
Other languages
Chinese (zh)
Inventor
邝井国
陈柏
于立志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201310667403.7A priority Critical patent/CN104700611A/en
Publication of CN104700611A publication Critical patent/CN104700611A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a bus operation information acquiring method. According to the method, a location of a bus is regularly recorded through the GPS (global positioning system) function of the bus, information of the bus such as time of staying at a starting stop, time of staying at a terminal stop, moment of leaving the starting stop, moment of arriving at the terminal stop, moment of leaving the terminal stop, moment of arriving at the starting stop and total times of bus operation is determined, and true objective travelling record containing the information is acquired. The bus operation information acquiring method has the advantages that untrue data probably occurring in manual recordings are avoided, manual work is saved, no excessive additional devices are required, the acquiring function can be implemented just through a GPS (global positioning system) installed in the bus, and the abnormal record in which the bus returns in half way after leaving one stop can be acquired through GPS positional information.

Description

A kind of bus operation information getting method
Technical field
The present invention relates to intelligent bus dispatching field, particularly a kind of bus operation information getting method.
Background technology
Bus operation information is the situation information that bus is runed in one day on the line, and it is single that bus operation information is recorded in public transport road, and wherein the record of every bar bus operation information includes the information such as tours start here, frequency, arrival station and due in.The record of bus operation information is public transport management, the important references information of scheduling and foundation, and for public transit system, be absolutely necessary information data.
Traditional public transport management adopts mode made of paper, and it is single that bus operation information is recorded in public transport road made of paper by public bus network yardman.In tours start here and terminus, the dispatching a car and arriving of per tour bus, yardman all needs the information recording a time and tours start here, terminus at public transport Lu Danzhong.This kind of mode needs artificial participation, and error probability is high, and single for public transport road made of paper, is difficult to long-term preservation, is more difficult to concentrate carry out large batch of Information Statistics.Therefore, the recording mode of modern bus operation information is arisen at the historic moment.
Modern bus operation information principal mode is that the public transport road of electronization is single, and namely electronic bus road is single.The unirecord of electronic bus road, can for inquire about at any time and print in computing machine, and be conducive to the storage of bus operation information, propagation and inquiry, is more conducive to carrying out large batch of Information Statistics so that the management of bus operation and scheduling.
The obtain manner of existing bus operation information mainly contains following two kinds.
The first:
On bus, the station entrance that goes out of the starting station and terminus installs RFID(Radio FrequencyIdentification, radio-frequency (RF) identification respectively) device.When bus is dispatched a car at the starting station at every turn and set off, the RFID device be installed on bus is all once responded to the RFID device of exit, to record the departures time of this bus; When bus is reached terminal at every turn and entered the station, the RFID device be installed on bus is all once responded to the RFID device of ENTRANCE, to record entering the station the time of this bus.Mainly there is following shortcoming in this kind of method:
1) in order to record bus operation information, needing the support of extra hardware device (as RFID device), adding equipment investment cost;
2) the abnormal road that after this kind of method None-identified bus departures, turn back in midway is single.
The second:
During each bus out of the station, all send command adapted thereto by the mobile unit on bus to public traffic management centring system.Namely, when bus sets off, send departures instruction by the mobile unit on bus to public traffic management centring system, public traffic management centring system records the departures time of this bus after receiving this departures instruction; When bus enters the station, send to public traffic management centring system instruction of entering the station by the mobile unit on bus, public traffic management centring system records entering the station the time of this bus after receiving this instruction of entering the station.The shortcoming that this kind of method mainly exists is, need driver or participate in the steward of car, manually press and set out and arrive button, driver or steward can not be each set out and arrive and all remember to press corresponding button, and then inconvenience is there is in management and operation, be difficult to real record.
Summary of the invention
In view of this, the invention provides a kind of bus operation information getting method, plow inferior information to obtain the bus departure of objective and due in and the operation between the starting station and terminus.
The technical scheme of the application is achieved in that
A kind of bus operation information getting method, comprising:
The GPS position information of the record starting station and terminus;
The GPS position information of periodic logging bus and corresponding time point thereof, and the GPS position information of described bus is arranged according to time sequencing;
The GPS position information of the GPS position information of the bus carrying out arranging according to time sequencing and the described starting station and terminus is compared, with determine the residence time of described bus at the starting station, the residence time in terminus, leave the described starting station moment, arrive described terminus moment, leave the moment of described terminus and arrive the moment at the described starting station, and total time time that determines that described bus runs between the described starting station and terminus.
Further, the GPS position information of the GPS position information of the bus carrying out arranging according to time sequencing and the described starting station and terminus is compared, comprising:
With the GPS location at the described starting station for the center of circle, the region of radius in the first distance range is designated as region, the starting station;
With the GPS location of described terminus for the center of circle, the region of radius in the first distance range is designated as region, terminus;
If the GPS location of described bus is positioned at region, the described starting station, then obtain the result that described bus is positioned at the starting station;
If the GPS location of described bus is positioned at region, described terminus, then obtain the result that described bus is positioned at terminus;
If the GPS location of described bus is not positioned at region, the described starting station and region, terminus, then obtain the result that described bus is positioned at running section region.
Further, described first distance is 100 ~ 300 meters.
Further, described determine the residence time of described bus at the starting station, the residence time in terminus, leave the described starting station moment, arrive described terminus moment, leave the moment of described terminus and arrive the moment at the described starting station, comprising:
To carry out according to time sequencing in the GPS position information of described bus, in the queue arranged, when bus rests on the described starting station, obtaining bus described in continuous print and being positioned at the comparative result at the starting station;
Bus described in described continuous print is arranged in the time point corresponding to GPS position information of first described bus of the comparative result at the starting station, is defined as the moment that described bus arrives the described starting station;
Bus described in described continuous print is arranged in the comparative result at the starting station last described in the time point corresponding to GPS position information of bus, be defined as the moment that described bus leaves the described starting station;
By the time period between the moment to the moment leaving the described starting station at the described starting station of the arrival of bus in the comparative result at the starting station described in described continuous print, be defined as the residence time of described bus at the starting station;
To carry out according to time sequencing in the GPS position information of described bus in the queue arranged, when bus rests on described terminus, obtain bus described in continuous print that bus described in continuous print is positioned at terminus and be positioned at the comparative result of terminus;
Bus described in described continuous print is arranged in the time point corresponding to GPS position information of first described bus of the comparative result of terminus, is defined as the moment that described bus arrives described terminus;
Bus described in described continuous print is arranged in the comparative result of terminus last described in the time point corresponding to GPS position information of bus, be defined as the moment that described bus leaves described terminus;
By the time period between the moment to the moment leaving described terminus of the described terminus of the arrival of bus in the comparative result of terminus described in described continuous print, be defined as the residence time of described bus in terminus.
Further, described total time time of determining that described bus runs between the described starting station and terminus, comprising:
By the conversion times of bus between the comparative result of terminus described in the comparative result of bus described in described continuous print at the starting station and continuous print, total time time that is defined as that described bus is runed between the described starting station and terminus.
Further, the GPS position information of described bus and corresponding time point thereof are stored in database.
Further, judge whether described bus is positioned at region, the described starting station, adopts with the following method:
According to the latitude and longitude information in the GPS position information at the latitude and longitude information in the GPS position information of described bus and the described starting station, determine the distance between described bus and the described starting station by following formula:
ΔGA=R·arccos[sinx·sinX A+cosx·cosX A·cos(y-Y A)]
Wherein, x is the latitude in the GPS position information of described bus, and y is the longitude in the GPS position information of described bus, X afor the latitude in the GPS position information at the described starting station, Y afor the longitude in the GPS position information at the described starting station, R is earth radius, and Δ GA is the distance between described bus and the described starting station;
If Δ GA is less than or equal to described first distance, then the GPS location of bus is positioned at region, the described starting station;
If Δ GA is greater than described first distance, then the GPS location of bus is not positioned at region, the starting station;
Judge whether described bus is positioned at region, described terminus, adopts with the following method:
According to the latitude and longitude information in the GPS position information of the latitude and longitude information in the GPS position information of described bus and described terminus, determine the distance between described bus and described terminus by following formula:
ΔGB=R·arccos[sinx·sinX B+cosx·cosX B·cos(y-Y B)]
Wherein, x is the latitude in the GPS position information of described bus, and y is the longitude in the GPS position information of described bus, X bfor the latitude in the GPS position information of described terminus, Y bfor the longitude in the GPS position information of described terminus, Δ GB is the distance between described bus and described terminus;
If Δ GB is less than or equal to described first distance, then the GPS location of bus is positioned at region, described terminus;
If Δ GB is greater than described first distance, then the GPS location of bus is not positioned at region, terminus.
Further, the GPS position information of described bus carries out the queue arranged according to time sequencing, for being stored in the memory queue in internal memory.
Further, GPS position information and the corresponding time point thereof of described periodic logging bus are: the GPS position information recording once described bus every 1 ~ 10 second, the time point simultaneously during this GPS position information of keeping records.
As can be seen from such scheme, bus operation information getting method of the present invention, utilize the GPS positioning function of bus, periodic logging bus position, and then determine the residence time of described bus at the starting station, in the residence time of terminus, leave the moment at the described starting station, arrive the moment of described terminus, leave the moment of described terminus and arrive the moment at the described starting station, and total time inferior information of bus operation, and then the public transport road comprising these information obtaining objective is single, avoid on the one hand and manually participate in recording the untrue data that the hand-kept of the such as yardman (or by driver or steward's triggering command) may occur, and save labor workload, on the other hand also without the need to additionally increasing more than equipment, only adopt the existing gps system be installed in bus just can realize function of the present invention, also the abnormal road that after can obtaining bus departures by GPS position information, turn back in midway is simultaneously single.
Accompanying drawing explanation
Fig. 1 is bus operation information getting method embodiment process flow diagram of the present invention;
Fig. 2 is the schematic diagram in a-quadrant, the starting station and B region, terminus in the embodiment of the present invention;
Fig. 3 is the sequence diagram that at starting station A and terminus B stop of bus in the statistics date in the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment referring to accompanying drawing, the present invention is described in further detail.
As shown in Figure 1, bus operation information getting method of the present invention, comprising:
The GPS(Global Positioning System of the record starting station and terminus, GPS) positional information;
The GPS position information of periodic logging bus and corresponding time point thereof, and the GPS position information of described bus is arranged according to time sequencing;
The GPS position information of the GPS position information of the bus carrying out arranging according to time sequencing and the described starting station and terminus is compared, with determine the residence time of described bus at the starting station, the residence time in terminus, leave the described starting station moment, arrive described terminus moment, leave the moment of described terminus and arrive the moment at the described starting station, and total time time that determines that described bus runs between the described starting station and terminus.
In the present invention, the GPS position information of the GPS position information of the bus carrying out arranging according to time sequencing and the described starting station and terminus is compared, comprise: with the GPS location at the described starting station for the center of circle, the region of radius in the first distance range is designated as region, the starting station; With the GPS location of described terminus for the center of circle, the region of radius in the first distance range is designated as region, terminus; If the GPS location of described bus is positioned at region, the described starting station, then obtain the result that described bus is positioned at the starting station; If the GPS location of described bus is positioned at region, described terminus, then obtain the result that described bus is positioned at terminus; If the GPS location of described bus is not positioned at region, the described starting station and region, terminus, then obtain the result that described bus is positioned at running section region.Wherein, consider the size of the starting station and terminus and consider the problems such as the deviation that GPS locates, the first distance can be set to the scope of 100 ~ 300 meters, and such as the first distance can be set to 200 meters.
Judge whether described bus is positioned at region, the described starting station, adopts with the following method:
In the present invention, according to the latitude and longitude information in the GPS position information at the latitude and longitude information in the GPS position information of described bus and the described starting station, determine the distance between described bus and the described starting station by following formula:
ΔGA=R·arccos[sinx·sinX A+cosx·cosX A·cos(y-Y A)] (1)
In formula (1), x is the latitude in the GPS position information of described bus, and y is the longitude in the GPS position information of described bus, X afor the latitude in the GPS position information at the described starting station, Y afor the longitude in the GPS position information at the described starting station, R is earth radius, and Δ GA is the distance between described bus and the described starting station;
If Δ GA is less than or equal to described first distance, then the GPS location of bus is positioned at region, the described starting station;
If Δ GA is greater than described first distance, then the GPS location of bus is not positioned at region, the starting station;
Judge whether described bus is positioned at region, described terminus, adopts with the following method:
According to the latitude and longitude information in the GPS position information of the latitude and longitude information in the GPS position information of described bus and described terminus, determine the distance between described bus and described terminus by following formula:
ΔGB=R·arccos[sinx·sinX B+cosx·cosX B·cos(y-Y B)] (2)
In formula (2), x is the latitude in the GPS position information of described bus, and y is the longitude in the GPS position information of described bus, X bfor the latitude in the GPS position information of described terminus, Y bfor the longitude in the GPS position information of described terminus, R is earth radius, and Δ GB is the distance between described bus and described terminus;
If Δ GB is less than or equal to described first distance, then the GPS location of bus is positioned at region, described terminus;
If Δ GB is greater than described first distance, then the GPS location of bus is not positioned at region, terminus.
In the present invention, determine the residence time of described bus at the starting station, the residence time in terminus, leave the described starting station moment, arrive described terminus moment, leave the moment of described terminus and arrive the moment at the described starting station, comprise: to carry out in the queue arranged according to time sequencing in the GPS position information of described bus, when bus rests on the described starting station, obtain bus described in continuous print and be positioned at the comparative result at the starting station; Bus described in described continuous print is arranged in the time point corresponding to GPS position information of first described bus of the comparative result at the starting station, is defined as the moment that described bus arrives the described starting station; Bus described in described continuous print is arranged in the comparative result at the starting station last described in the time point corresponding to GPS position information of bus, be defined as the moment that described bus leaves the described starting station; By the time point corresponding to the GPS position information of first described bus of bus described in described continuous print in the comparative result at the starting station to bus described in last GPS position information corresponding to time point between time period, be defined as the residence time of described bus at the starting station; To carry out according to time sequencing in the GPS position information of described bus in the queue arranged, when bus rests on described terminus, obtain bus described in continuous print that bus described in continuous print is positioned at terminus and be positioned at the comparative result of terminus; Bus described in described continuous print is arranged in the time point corresponding to GPS position information of first described bus of the comparative result of terminus, is defined as the moment that described bus arrives described terminus; Bus described in described continuous print is arranged in the comparative result of terminus last described in the time point corresponding to GPS position information of bus, be defined as the moment that described bus leaves described terminus; By the time point corresponding to the GPS position information of first described bus of bus described in described continuous print in the comparative result of terminus to bus described in last GPS position information corresponding to time point between time period, be defined as the residence time of described bus in terminus.
In the present invention, by the conversion times of bus between the comparative result of terminus described in the comparative result of bus described in described continuous print at the starting station and continuous print, total time time that is defined as that described bus is runed between the described starting station and terminus.
Below in conjunction with a specific embodiment, method of the present invention is described in detail.
Step 1, the record starting station and the GPS position information of terminus.
In this step 1, as shown in Figure 2, some A represents the GPS location of starting station A, some B represents the GPS location of starting station B, and the GPS location of the GPS location of starting station A and starting station B is carried out record.
The GPS position information of step 2, periodic logging bus and corresponding time point thereof, and the GPS position information of described bus is arranged according to time sequencing.This step 2 specifically comprises the following steps 201 and step 202.
The GPS position information of step 201, periodic logging bus and corresponding time point thereof.
In this step 201, as specific embodiment, every the GPS position information of 1 ~ 10 second record bus, the time point simultaneously during this GPS position information of keeping records.Particularly, can every the GPS position information of 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, 6 seconds, 7 seconds, 8 seconds, 9 seconds or 10 seconds records bus, the GPS position information of conventional employing 6 seconds or 10 seconds records bus.
To adopt the GPS position information every 6 seconds records bus.Such as, record the GPS position information of a bus at 5:00:00, preserve the time point of 5:00:00 simultaneously; Be once the GPS position information recording a bus at 5:00:06 subsequently, preserve the time point of 5:00:06 simultaneously; As 5:00:12, the GPS position information of a record bus, preserves the time point of 5:00:12 simultaneously; Record goes down always by that analogy.The GPS position information of these buses and corresponding time point thereof are stored in database.
Step 202, the GPS position information of described bus to be arranged according to time sequencing.
When user needs the traffic-operating period statistics of carrying out bus, confirm the electronic road form that will generate by vehicle number and statistics date.Vehicle number and statistics day after date is confirmed user, just according to vehicle number and statistics date, all GPS position information records in the statistics date of the bus corresponding to vehicle number are read from database, and composition carries out according to time sequencing the queue that arranges, in internal memory, this queue is stored as queue T.
If total N number of GPS position information in queue T, N>1.Because queue T carries out according to time sequencing the queue that arranges, so wherein the 1st GPS position information is the 1st GPS position information that statistics date records the earliest, the 1st GPS position information is designated as G 1, wherein N number of GPS position information is last GPS position information that statistics date records the latest, and this N number of GPS position information is designated as G n, by any one GPS position information in this queue T, namely the n-th GPS position information (1≤n≤N), is designated as G n.
Step 3, the GPS position information of the GPS position information of the bus carrying out arranging according to time sequencing and the described starting station and terminus to be compared.
In this step 3, shown in Figure 2, be 200 meters for the first distance, with the GPS location of starting station A for the center of circle, the region of radius within the scope of 200 meters is designated as a-quadrant, the starting station, namely in Fig. 2 around the broken circle region of starting station A; With the GPS location of terminus B for the center of circle, the region of radius within the scope of 200 meters is designated as B region, terminus, namely in Fig. 2 around the broken circle region of starting station B.Bus is travelled to and fro between starting station A and terminus B in operation process, as shown in arrow line segment in Fig. 2.
From n=1, increase progressively 1 successively to n=N, n, to travel through the GPS position information of all buses in queue T, with comparing of the GPS position information of the GPS position information of carrying out bus and the described starting station and terminus, specifically comprise following 301 to step 306:
Step 301, n is initialized as 1, enters step 302 afterwards.
Step 302, from queue T, obtain the n-th GPS position information of bus, enter step 303 afterwards.
Step 303:
According to formula (1), namely according to formula:
ΔG nA=R·arccos[sinx n·sinX A+cosx n·cosX A·cos(y n-Y A)]
Obtain the distance between the n-th GPS location of bus and described starting station A, wherein, x nfor the latitude in the n-th GPS location of described bus, y nfor the longitude in the n-th GPS location of described bus, Δ G na is bus n-th GPS location in queue T and the distance between the A of the starting station;
According to formula (2), namely according to formula:
ΔG nB=R·arccos[sinx n·sinX B+cosx n·cosX B·cos(y n-Y B)]
Obtain the distance between the n-th GPS location of bus and described terminus B, wherein, Δ G nb is bus n-th GPS location in queue T and the distance between the B of terminus;
Enter step 304 afterwards.
Step 304, judge Δ G nwhether A is less than or equal to 200 meters:
If Δ G na is less than or equal to 200 meters, then illustrate that bus n-th GPS location is in the A of the starting station, now, by " G n" add in memory queue Q, represent that bus n-th GPS location is in the A of the starting station with character " a " (also can adopt other forms), character " a " is added in queue W, enters step 306 afterwards;
If Δ G na is greater than 200 meters, then illustrate that bus n-th GPS location is in the place beyond the A of the starting station, enter step 305 afterwards.
Step 305, judge Δ G nwhether B is less than or equal to 200 meters:
If Δ G nb is less than or equal to 200 meters, then illustrate that bus n-th GPS location is in the B of terminus, now, by " G n" add in memory queue Q, represent that bus n-th GPS location is in the B of terminus with character " b " (also can adopt other forms), character " b " is added in queue W, enters step 306 afterwards.
Step 306, n=n+1, and judge whether n is less than or equal to N:
If n≤N, then the GPS position information not traveled through buses all in queue T is described, enters step 302;
If n>N, then the GPS position information having traveled through buses all in queue T is described, end step 301 is to the flow process of step 306.
Above-mentioned steps 301 is in the flow process of step 306, if Δ G na is greater than 200 meters and Δ G nb is greater than 200 meters, then illustrate that bus n-th GPS location is in the place beyond starting station A and terminus B, bus now is just thought the operating line between starting station A and terminus B is runed.In the present embodiment, the GPS position information being in the bus of operation state does not carry out record in above-mentioned flow process, certainly, as required, also can carry out record.
After above-mentioned steps 301 to the flow process of step 306, comparative result similar to Figure 3 can be obtained.Fig. 3 is the sequence diagram that at starting station A and terminus B stop of bus in the statistics date in the embodiment of the present invention, it should be noted that, content shown in Fig. 3, the statistics not among actual a day, as illustrative purposes only.
Step 4, determine the residence time of described bus at starting station A, the residence time at terminus B, leave described starting station A moment, arrive described terminus B moment, leave the moment of described terminus B and arrive the moment of described starting station A.
Because bus had certain residence time among one day in website (starting station A, terminus B), so, within this period of residence time, whenever arriving the moment of GPS position information of record bus, just the GPS position information of a bus is recorded, so can obtain multiple GPS position information be in website, and the residence time is longer, and the GPS position information be in website is more.
As shown in Figure 3, according in the queue T of time order and function order sequence and the queue W corresponding with it, continuous multiple expression of occurring within a period of time result at starting station A or starting station B can just be obtained.Such as, " the G in queue T 1" arrive " G 6", corresponding to a series of " a " in queue W, this just illustrates at record " G 1" moment of bus GPS positional information start to record " G 6" bus GPS positional information moment during this period of time in, bus is positioned at the region of starting station A, namely during this period of time in bus be positioned at starting station A; " G in queue T 11" arrive " G 15", corresponding to a series of " b " in queue W, this just illustrates at record " G 11" moment of bus GPS positional information start to record " G 15" bus GPS positional information moment during this period of time in, bus is positioned at the region of terminus B, namely during this period of time in bus be positioned at terminus B.
Further, also the time that described bus leaves described starting station A, arrives described terminus B, leaves described terminus B, arrives described starting station A can be obtained, that is: the collection moment (such as " G of the bus GPS positional information corresponding to first " a " in a series of " a " by a series of " a " and a series of " b " 1", " G 19" the collection moment) arrive the moment of described starting station A for described bus; Collection moment (such as " the G of last in a series of " a " the bus GPS positional information corresponding to " a " 6" the collection moment) leave the moment of described starting station A for described bus; Collection moment (such as " the G of the bus GPS positional information corresponding to first " b " in a series of " b " 11" the collection moment) arrive the moment of described terminus B for described bus; Collection moment (such as " the G of last in a series of " b " the bus GPS positional information corresponding to " b " 15" the collection moment) leave the moment of described terminus B for described bus.
As can be seen from above-mentioned explanation, in this step 4:
Determine described bus the residence time of starting station A method for: by the time period corresponding to multiple results being positioned at a-quadrant, the starting station of occurring continuously, be defined as the residence time of described bus at starting station A;
Determine described bus the residence time of terminus B method for: by the time period corresponding to multiple results being positioned at B region, terminus of occurring continuously, be defined as the residence time of described bus at terminus B;
The method that described bus arrives the moment of described starting station A for: by the collection moment of the bus GPS positional information corresponding to multiple first result being arranged in the result of a-quadrant, the starting station of occurring continuously, be defined as the moment that described bus arrives described starting station A;
The method that described bus leaves the moment of described starting station A for: by the collection moment of the bus GPS positional information corresponding to multiple last result being arranged in the result of a-quadrant, the starting station of occurring continuously, be defined as the moment that described bus leaves described starting station A;
The method that described bus arrives the moment of described terminus B for: by the collection moment of the bus GPS positional information corresponding to multiple first result being arranged in the result in B region, terminus of occurring continuously, be defined as the moment that described bus arrives described terminus B;
The method that described bus leaves the moment of described terminus B for: by the collection moment of the bus GPS positional information corresponding to multiple last result being arranged in the result in B region, terminus of occurring continuously, be defined as the moment that described bus leaves described terminus B.
Step 5, determine that described bus runs between the described starting station and terminus total time time.
The normal operation process of bus constantly travels to and fro between the process of starting station A and terminus B.Shown in Fig. 3, the GPS position information not being recorded in a-quadrant, the starting station and B region, terminus between a series of " a " and a series of " b ", is operation bus GPS positional information on the line.So, just can obtain in queue W, when being become a series of " b " from a series of " a ", when becoming again a series of " a " afterwards, then indicate bus from starting station A, and reach terminus B, return again starting station A afterwards, this is the operation that bus completes a time time.So the conversion of a → b → a each time in the queue W shown in Fig. 3, is the operation of bus one time, counts the number of transitions of a → b all in queue W → a, just can obtain total time time that described bus is runed between the described starting station and terminus.
As can be seen from above-mentioned explanation, in this step 5, determine that the method for total time time that described bus is runed between the described starting station and terminus is:
According to time sequencing, the change of the once following order occurred is defined as the operation of bus one time:
The result stopped at starting station A changes to the result stopped at terminus B and rechanges result into stopping at starting station A;
According to time sequencing, by the result that the operation being defined as bus one time is each time added, total time time that is defined as that described bus is runed between the described starting station and terminus.
About the situation of abnormal road list, such as, after bus leaves starting station A, midway returns the situation of starting station A, will in queue W in figure 3, the situation of a succession of " a " is there is again after obtaining a succession of " a ", but think that abnormal road is single by following situation: the result stopped at starting station A changes to the result stopped at starting station A, is namely the result stopped at starting station A before changing afterwards.
Above-mentioned bus operation information getting method provided by the invention, utilize the GPS positioning function of bus, periodic logging bus position, and then determine the residence time of described bus at the starting station, in the residence time of terminus, leave the moment at the described starting station, arrive the moment of described terminus, leave the moment of described terminus and arrive the moment at the described starting station, and total time inferior information of bus operation, and then the public transport road comprising these information obtaining objective is single, avoid on the one hand and manually participate in recording the untrue data that the hand-kept of the such as yardman (or by driver or steward's triggering command) may occur, and save labor workload, on the other hand also without the need to additionally increasing more than equipment, only adopt the existing gps system be installed in bus just can realize function of the present invention, just the result of adding up can be obtained by the corresponding calculating of computing machine, also the abnormal road that after can obtaining bus departures by GPS position information, turn back in midway is simultaneously single.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (9)

1. a bus operation information getting method, comprising:
The GPS position information of the record starting station and terminus;
The GPS position information of periodic logging bus and corresponding time point thereof, and the GPS position information of described bus is arranged according to time sequencing;
The GPS position information of the GPS position information of the bus carrying out arranging according to time sequencing and the described starting station and terminus is compared, with determine the residence time of described bus at the starting station, the residence time in terminus, leave the described starting station moment, arrive described terminus moment, leave the moment of described terminus and arrive the moment at the described starting station, and total time time that determines that described bus runs between the described starting station and terminus.
2. bus operation information getting method according to claim 1, is characterized in that, the GPS position information of the GPS position information of the bus carrying out arranging according to time sequencing and the described starting station and terminus is compared, comprising:
With the GPS location at the described starting station for the center of circle, the region of radius in the first distance range is designated as region, the starting station;
With the GPS location of described terminus for the center of circle, the region of radius in the first distance range is designated as region, terminus;
If the GPS location of described bus is positioned at region, the described starting station, then obtain the result that described bus is positioned at the starting station;
If the GPS location of described bus is positioned at region, described terminus, then obtain the result that described bus is positioned at terminus;
If the GPS location of described bus is not positioned at region, the described starting station and region, terminus, then obtain the result that described bus is positioned at running section region.
3. bus operation information getting method according to claim 2, is characterized in that: described first distance is 100 ~ 300 meters.
4. bus operation information getting method according to claim 2, it is characterized in that, described determine the residence time of described bus at the starting station, the residence time in terminus, leave the described starting station moment, arrive described terminus moment, leave the moment of described terminus and arrive the moment at the described starting station, comprising:
To carry out according to time sequencing in the GPS position information of described bus, in the queue arranged, when bus rests on the described starting station, obtaining bus described in continuous print and being positioned at the comparative result at the starting station;
Bus described in described continuous print is arranged in the time point corresponding to GPS position information of first described bus of the comparative result at the starting station, is defined as the moment that described bus arrives the described starting station;
Bus described in described continuous print is arranged in the comparative result at the starting station last described in the time point corresponding to GPS position information of bus, be defined as the moment that described bus leaves the described starting station;
By the time point corresponding to the GPS position information of first described bus of bus described in described continuous print in the comparative result at the starting station to bus described in last GPS position information corresponding to time point between time period, be defined as the residence time of described bus at the starting station;
To carry out according to time sequencing in the GPS position information of described bus, in the queue arranged, when bus rests on described terminus, obtaining bus described in continuous print and being positioned at the comparative result of terminus;
Bus described in described continuous print is arranged in the time point corresponding to GPS position information of first described bus of the comparative result of terminus, is defined as the moment that described bus arrives described terminus;
Bus described in described continuous print is arranged in the comparative result of terminus last described in the time point corresponding to GPS position information of bus, be defined as the moment that described bus leaves described terminus;
By the time point corresponding to the GPS position information of first described bus of bus described in described continuous print in the comparative result of terminus to bus described in last GPS position information corresponding to time point between time period, be defined as the residence time of described bus in terminus.
5. bus operation information getting method according to claim 4, is characterized in that, described total time time of determining that described bus runs between the described starting station and terminus, comprising:
By the conversion times of bus between the comparative result of terminus described in the comparative result of bus described in described continuous print at the starting station and continuous print, total time time that is defined as that described bus is runed between the described starting station and terminus.
6. bus operation information getting method according to claim 1, is characterized in that:
GPS position information and the corresponding time point thereof of described bus are stored in database.
7. bus operation information getting method according to claim 2, is characterized in that:
Judge whether described bus is positioned at region, the described starting station, adopts with the following method:
According to the latitude and longitude information in the GPS position information at the latitude and longitude information in the GPS position information of described bus and the described starting station, determine the distance between described bus and the described starting station by following formula:
ΔGA=R·arccos[sinx·sinX A+cosx·cosX A·cos(y-Y A)]
Wherein, x is the latitude in the GPS position information of described bus, and y is the longitude in the GPS position information of described bus, X afor the latitude in the GPS position information at the described starting station, Y afor the longitude in the GPS position information at the described starting station, R is earth radius, and Δ GA is the distance between described bus and the described starting station;
If Δ GA is less than or equal to described first distance, then the GPS location of bus is positioned at region, the described starting station;
If Δ GA is greater than described first distance, then the GPS location of bus is not positioned at region, the starting station;
Judge whether described bus is positioned at region, described terminus, adopts with the following method:
According to the latitude and longitude information in the GPS position information of the latitude and longitude information in the GPS position information of described bus and described terminus, determine the distance between described bus and described terminus by following formula:
ΔGB=R·arccos[sinx·sinX B+cosx·cosX B·cos(y-Y B)]
Wherein, x is the latitude in the GPS position information of described bus, and y is the longitude in the GPS position information of described bus, X bfor the latitude in the GPS position information of described terminus, Y bfor the longitude in the GPS position information of described terminus, Δ GB is the distance between described bus and described terminus;
If Δ GB is less than or equal to described first distance, then the GPS location of bus is positioned at region, described terminus;
If Δ GB is greater than described first distance, then the GPS location of bus is not positioned at region, terminus.
8. bus operation information getting method according to claim 5, is characterized in that:
The GPS position information of described bus carries out the queue arranged according to time sequencing, for being stored in the memory queue in internal memory.
9. bus operation information getting method according to claim 1, it is characterized in that, GPS position information and the corresponding time point thereof of described periodic logging bus are: the GPS position information recording once described bus every 1 ~ 10 second, the time point simultaneously during this GPS position information of keeping records.
CN201310667403.7A 2013-12-10 2013-12-10 Bus operation information acquiring method Pending CN104700611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310667403.7A CN104700611A (en) 2013-12-10 2013-12-10 Bus operation information acquiring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310667403.7A CN104700611A (en) 2013-12-10 2013-12-10 Bus operation information acquiring method

Publications (1)

Publication Number Publication Date
CN104700611A true CN104700611A (en) 2015-06-10

Family

ID=53347684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310667403.7A Pending CN104700611A (en) 2013-12-10 2013-12-10 Bus operation information acquiring method

Country Status (1)

Country Link
CN (1) CN104700611A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600511A (en) * 2016-12-30 2017-04-26 重庆多道电子技术有限公司 System for automatically counting transits of freight vehicles in mining area
CN106651270A (en) * 2016-12-30 2017-05-10 重庆多道电子技术有限公司 Automatic counting of transport frequency of freight vehicle in mine area based on position data
CN106651269A (en) * 2016-12-30 2017-05-10 重庆多道电子技术有限公司 System for automatically counting freight vehicle transportation times in mining area based on positional data
CN106682858A (en) * 2016-12-30 2017-05-17 重庆多道电子技术有限公司 Position-data-based automatic counting method for transportation number of freight vehicle in mining area
CN106709846A (en) * 2016-12-30 2017-05-24 重庆多道电子技术有限公司 Method for automatically counting transportation times of freight vehicle in mining area
CN107195192A (en) * 2017-06-21 2017-09-22 南京邮电大学 A kind of recognition methods of vehicle-mounted orientation running status
CN107239926A (en) * 2017-06-23 2017-10-10 重庆多道电子技术有限公司 It is a kind of based on method of the position data to the automatic counting of goods stock
CN107272025A (en) * 2017-06-05 2017-10-20 浙江百世技术有限公司 A kind of driving trace detection method of regular bus/bus
CN107818426A (en) * 2017-11-23 2018-03-20 南京行者易智能交通科技有限公司 A kind of method and apparatus for counting bus operation order of classes or grades at school
CN108765922A (en) * 2018-04-18 2018-11-06 上海城市交通设计院有限公司 A kind of segmentation method of public transit vehicle driving trace
CN109448431A (en) * 2018-12-05 2019-03-08 山东科技大学 It waits method for determining position, device and intelligent terminal
CN111415512A (en) * 2020-03-10 2020-07-14 南京智鹤电子科技有限公司 Vehicle lap number monitoring method and device and electronic equipment
CN111653116A (en) * 2020-05-28 2020-09-11 北京瑞华赢科技发展有限公司 Automatic generating system for electronic waybill of bus
CN112233450A (en) * 2020-10-13 2021-01-15 安徽富煌科技股份有限公司 Bus dispatching mode based on unplanned mode

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005083864A (en) * 2003-09-08 2005-03-31 Denso Corp Navigation system
KR200441846Y1 (en) * 2007-11-09 2008-09-10 차보영 The intelligent Bus Information Terminal
CN101452646A (en) * 2008-12-30 2009-06-10 青岛海信网络科技股份有限公司 Bus number generating method
CN102103801A (en) * 2009-12-17 2011-06-22 深圳富泰宏精密工业有限公司 Public transportation information query system
CN102592470A (en) * 2012-03-09 2012-07-18 电信科学技术研究院 Traffic information publishing method, device and system
KR20120131666A (en) * 2011-05-26 2012-12-05 한성대학교 산학협력단 Bus information system and processing method thereof
CN103400507A (en) * 2013-07-08 2013-11-20 青岛海信网络科技股份有限公司 Bus operation method and bus operation system supporting line section dynamic regulation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005083864A (en) * 2003-09-08 2005-03-31 Denso Corp Navigation system
KR200441846Y1 (en) * 2007-11-09 2008-09-10 차보영 The intelligent Bus Information Terminal
CN101452646A (en) * 2008-12-30 2009-06-10 青岛海信网络科技股份有限公司 Bus number generating method
CN102103801A (en) * 2009-12-17 2011-06-22 深圳富泰宏精密工业有限公司 Public transportation information query system
KR20120131666A (en) * 2011-05-26 2012-12-05 한성대학교 산학협력단 Bus information system and processing method thereof
CN102592470A (en) * 2012-03-09 2012-07-18 电信科学技术研究院 Traffic information publishing method, device and system
CN103400507A (en) * 2013-07-08 2013-11-20 青岛海信网络科技股份有限公司 Bus operation method and bus operation system supporting line section dynamic regulation

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651270A (en) * 2016-12-30 2017-05-10 重庆多道电子技术有限公司 Automatic counting of transport frequency of freight vehicle in mine area based on position data
CN106651269A (en) * 2016-12-30 2017-05-10 重庆多道电子技术有限公司 System for automatically counting freight vehicle transportation times in mining area based on positional data
CN106682858A (en) * 2016-12-30 2017-05-17 重庆多道电子技术有限公司 Position-data-based automatic counting method for transportation number of freight vehicle in mining area
CN106709846A (en) * 2016-12-30 2017-05-24 重庆多道电子技术有限公司 Method for automatically counting transportation times of freight vehicle in mining area
CN106600511A (en) * 2016-12-30 2017-04-26 重庆多道电子技术有限公司 System for automatically counting transits of freight vehicles in mining area
CN107272025A (en) * 2017-06-05 2017-10-20 浙江百世技术有限公司 A kind of driving trace detection method of regular bus/bus
CN107195192B (en) * 2017-06-21 2019-10-01 南京邮电大学 A kind of recognition methods of vehicle-mounted orientation operating status
CN107195192A (en) * 2017-06-21 2017-09-22 南京邮电大学 A kind of recognition methods of vehicle-mounted orientation running status
CN107239926A (en) * 2017-06-23 2017-10-10 重庆多道电子技术有限公司 It is a kind of based on method of the position data to the automatic counting of goods stock
CN107818426A (en) * 2017-11-23 2018-03-20 南京行者易智能交通科技有限公司 A kind of method and apparatus for counting bus operation order of classes or grades at school
CN107818426B (en) * 2017-11-23 2020-02-04 南京行者易智能交通科技有限公司 Method and device for counting bus operation shifts
CN108765922A (en) * 2018-04-18 2018-11-06 上海城市交通设计院有限公司 A kind of segmentation method of public transit vehicle driving trace
CN108765922B (en) * 2018-04-18 2021-03-26 上海城市交通设计院有限公司 Bus running track segmentation method
CN109448431A (en) * 2018-12-05 2019-03-08 山东科技大学 It waits method for determining position, device and intelligent terminal
CN109448431B (en) * 2018-12-05 2021-07-30 山东科技大学 Method and device for determining waiting position and intelligent terminal
CN111415512A (en) * 2020-03-10 2020-07-14 南京智鹤电子科技有限公司 Vehicle lap number monitoring method and device and electronic equipment
CN111415512B (en) * 2020-03-10 2021-07-23 南京智鹤电子科技有限公司 Vehicle lap number monitoring method and device and electronic equipment
CN111653116A (en) * 2020-05-28 2020-09-11 北京瑞华赢科技发展有限公司 Automatic generating system for electronic waybill of bus
CN112233450A (en) * 2020-10-13 2021-01-15 安徽富煌科技股份有限公司 Bus dispatching mode based on unplanned mode

Similar Documents

Publication Publication Date Title
CN104700611A (en) Bus operation information acquiring method
CN103106702B (en) Based on the bus trip service system of cloud computing
CN102184641B (en) Running information based road condition management method and system
WO2015096400A1 (en) Bus planning method using mobile communication data mining
CN102717817B (en) System and method for publishing information at high speed railway platform
CN104240529B (en) Method and system for predicting arrival time of buses
CN102887159A (en) Method and device for railway vehicle tracking and planned reporting
CN107517065B (en) A kind of people-the Che based on intelligent transportation-road information interaction system and method
CN104442927A (en) RFID-based rail transit train positioning method
CN104952240A (en) Method, device and system for obtaining bus position information and bus arrival time
CN103253189A (en) Vehicle maintenance reminding method based on Cloud service and vehicle-mounted terminal device thereof
CN108090722A (en) A kind of logistics network station recognition equipment and recognition methods based on GPS
CN113888857A (en) Public transportation management system, device and method based on Internet of vehicles
CN102717818B (en) System and method for prompting transferring information in car when high-speed railway train arrives at station
CN103294673A (en) Method for collecting and issuing real-time operation data of public transport means
CN107564332A (en) Stop position prompt method, system, computer-readable recording medium
CN202600979U (en) Public transport station reporting system based on internet of things
CN202648721U (en) Vehicle fuel consumption monitoring system
CN103778799B (en) Based on the public transportation automatic station-reporting method of peer-to-peer network Distributed Calculation
CN111222898B (en) Method for counting network taxi and computer readable storage medium
CN103926557A (en) Intelligent positioning and navigation system
CN103366597B (en) The method adopting ZIGBEE to carry out bus and electronic stop sign information to exchange
CN106781516B (en) A kind of HOV Lane regulation system based on Beidou and image recognition technology
CN109727332B (en) Method and system for calculating sanitation operation times of sanitation vehicle
JP5134670B2 (en) Train position information collection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150610

RJ01 Rejection of invention patent application after publication