CN107909180B - Processing method, equipment and readable medium for public transport travel - Google Patents

Processing method, equipment and readable medium for public transport travel Download PDF

Info

Publication number
CN107909180B
CN107909180B CN201710916081.3A CN201710916081A CN107909180B CN 107909180 B CN107909180 B CN 107909180B CN 201710916081 A CN201710916081 A CN 201710916081A CN 107909180 B CN107909180 B CN 107909180B
Authority
CN
China
Prior art keywords
station
riding
time
public transportation
effective
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
CN201710916081.3A
Other languages
Chinese (zh)
Other versions
CN107909180A (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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201710916081.3A priority Critical patent/CN107909180B/en
Publication of CN107909180A publication Critical patent/CN107909180A/en
Application granted granted Critical
Publication of CN107909180B publication Critical patent/CN107909180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Navigation (AREA)

Abstract

The invention provides a processing method, equipment and a readable medium for public transport travel. The method comprises the following steps: obtaining effective riding tracks of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in a target area; digging a departure station and a destination station of a user going out through public transport, a first time of entering the departure station and a second time of leaving the destination station, wherein the departure station and the destination station correspond to each effective riding track; and acquiring the travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station. According to the technical scheme, the accuracy of the obtained public transportation from the departure station to the destination station in the travel process can be effectively improved, and therefore guidance can be more accurately provided for a user requesting navigation in the travel of the public transportation.

Description

Processing method, equipment and readable medium for public transport travel
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of computer application, in particular to a processing method, equipment and a readable medium for public transportation travel.
[ background of the invention ]
With the popularization and use of the shared bicycle in medium and large-sized cities, people can use the shared bicycle in a public transportation mode except for the conventional subway and bus. With the popularization of the shared bicycle, more and more public transport travel users can also choose to ride the shared bicycle as a connection route connecting a departure place (or a destination) and a transportation junction such as a subway station (or a bus station).
In the prior art, when a user uses an Application (App) such as an electronic map to perform travel planning, a server of a related Application may calculate travel time for the user, so as to provide reference for the user to perform travel arrangement. For example, if a user selects to take public transportation such as a bus and/or a subway, since the user taking the bus or the subway cannot be located, the server of the related application cannot acquire the travel information of the user taking the subway or the bus, and therefore the travel time of the user taking the bus and/or the subway cannot be accurately acquired. And the travel time of the user taking the public transport can be roughly calculated only according to the running distance and the running speed of the public transport or the subway.
However, in the prior art, when a user takes public transportation, transfer is usually needed, and a certain walking distance exists between transfers, and the time spent for the user to take public transportation cannot be estimated when the user takes public transportation, so that the accuracy of the time spent for public transportation travel estimated in the prior art is low.
[ summary of the invention ]
The invention provides a processing method, equipment and a readable medium for public transportation travel time, which are used for improving the accuracy of the acquired public transportation travel time.
The invention provides a processing method for public transport travel, which comprises the following steps:
obtaining effective riding tracks of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in a target area;
digging a starting station and a destination station of the user going out through public transport, a first time of entering the starting station and a second time of leaving the destination station, wherein the starting station and the destination station correspond to the effective riding tracks;
and acquiring the travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station.
Further optionally, in the method, obtaining an effective riding track of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in the target area specifically includes:
collecting original riding tracks of the shared bicycle of all users in a preset time period in the target area;
and mining the effective riding track of the shared bicycle of the user who travels with the shared bicycle through public transportation from the original riding tracks of all the users.
Further optionally, in the method, mining, from the original riding tracks of all the users, an effective riding track of a shared bicycle of the user who travels by a public transportation in conjunction with the shared bicycle specifically includes:
obtaining riding track pairs of all the users from the original riding tracks of all the users, wherein each riding track pair comprises two sections of original riding tracks of which the time interval of the corresponding user riding for two times continuously does not exceed a preset time length;
judging whether a bus station or a subway station exists in a preset area range of a terminal point of the previous riding and a starting point of the next riding in each riding track pair; wherein the end point of the previous ride is different from the starting point of the subsequent ride;
and if so, taking the corresponding riding track pair as the effective riding track of the shared bicycle of the user who jointly travels through public transportation and the shared bicycle.
Further optionally, in the method, mining a departure station and a destination station of the user traveling through public transportation, a first time when the user enters the departure station and a second time when the user leaves the destination station, which correspond to the effective riding tracks, specifically includes:
taking a bus station or a subway station in the preset area range around the terminal point of the previous riding corresponding to each effective riding track as a corresponding starting station of the public transportation trip;
taking a bus station or a subway station in the preset area range around the starting point of the next riding corresponding to each effective riding track as a corresponding destination station of the public transportation trip;
collecting the end time of the previous riding in each effective riding track;
predicting a first moment of entering the departure station according to the end moment of the previous riding;
collecting the starting moment of the next riding in each effective riding track;
and predicting a second time when the bicycle leaves the destination station according to the starting time of the next riding.
Further optionally, in the method, when the travel time of public transportation from the departure station to the destination station in the target area is acquired according to the first time and the second time in each effective riding track with the same departure station and the same destination station, the method specifically includes:
calculating a time difference between the corresponding second moment and the first moment in each effective riding track with the same departure station and the same destination station, and taking the time difference as the travel time of public transportation corresponding to the corresponding effective riding track;
and calculating the travel time of the public transportation from the departure station to the destination station in the target area according to the travel time of the public transportation corresponding to each effective riding track with the same departure station and the same destination station.
Further optionally, in the method as described above, after calculating a time difference between the corresponding second time and the first time in each effective riding track of the same departure station and the same destination station, as a time of travel of public transportation corresponding to the corresponding effective riding track, and according to a time of travel of public transportation corresponding to each effective riding track of the same departure station and the same destination station, before calculating a time of travel of public transportation from the departure station to the destination station in the target area, the method further includes:
when the public transportation corresponding to each effective riding track with the same departure station and the same destination station is used for traveling, classifying the public transportation according to the principle that the time difference is not greater than a preset time threshold;
and judging and determining that the travel time of public transportation corresponding to each effective riding track with the same departure station and the same destination station is classified into one category.
Further optionally, in the method, if travel times of public transportation corresponding to the effective riding tracks of the same departure station and the same destination station are classified into two types, the method further includes:
judging whether the current departure station and the current destination station are bus stations or subway stations;
if the train station is a bus station, updating the corresponding departure station of the type with short travel time of the public transport into a subway station in the preset area range around the terminal point of the previous riding, and updating the destination station into a subway station in the preset area range around the riding point of the next riding;
and if the travel time length is a subway station, updating the departure station corresponding to one type of the travel time length of the public transport into a bus station in the preset area range around the terminal point of the previous riding, and updating the destination station into a bus station in the preset area range around the riding point of the next riding.
The invention provides a processing device for public transport travel, which comprises:
the track acquisition module is used for acquiring effective riding tracks of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in a target area;
the mining module is used for mining a departure station and a destination station of the user going out through public transportation, a first time of entering the departure station and a second time of leaving the destination station, which correspond to the effective riding tracks;
and the travel time acquisition module is used for acquiring the travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station.
Further optionally, in the apparatus described above, the trajectory obtaining module specifically includes:
the track acquisition unit is used for acquiring the original riding tracks of the shared bicycle of all the users in the target area within a preset time period;
and the track mining unit is used for mining the effective riding track of the shared bicycle of the user, which jointly travels with the shared bicycle through public transportation, from the original riding tracks of all the users.
Further optionally, in the apparatus as described above, the trajectory excavation unit is specifically configured to:
obtaining riding track pairs of all the users from the original riding tracks of all the users, wherein each riding track pair comprises two sections of original riding tracks of which the time interval of the corresponding user riding for two times continuously does not exceed a preset time length;
judging whether a bus station or a subway station exists in a preset area range of a terminal point of the previous riding and a starting point of the next riding in each riding track pair; wherein the end point of the previous ride is different from the starting point of the subsequent ride;
and if so, taking the corresponding riding track pair as the effective riding track of the shared bicycle of the user who jointly travels through public transportation and the shared bicycle.
Further optionally, in the apparatus described above, the excavation module is specifically configured to:
taking a bus station or a subway station in the preset area range around the terminal point of the previous riding corresponding to each effective riding track as a corresponding starting station of the public transportation trip;
taking a bus station or a subway station in the preset area range around the starting point of the next riding corresponding to each effective riding track as a corresponding destination station of the public transportation trip;
collecting the end time of the previous riding in each effective riding track;
predicting a first moment of entering the departure station according to the end moment of the previous riding;
collecting the starting moment of the next riding in each effective riding track;
and predicting a second time when the bicycle leaves the destination station according to the starting time of the next riding.
Further optionally, in the apparatus described above, the travel time obtaining module is specifically configured to:
calculating a time difference between the corresponding second moment and the first moment in each effective riding track with the same departure station and the same destination station, and taking the time difference as the travel time of public transportation corresponding to the corresponding effective riding track;
and calculating the travel time of the public transportation from the departure station to the destination station in the target area according to the travel time of the public transportation corresponding to each effective riding track with the same departure station and the same destination station.
Further optionally, in the apparatus described above, the travel time obtaining module is specifically further configured to:
when the public transportation corresponding to each effective riding track with the same departure station and the same destination station is used for traveling, classifying the public transportation according to the principle that the time difference is not greater than a preset time threshold;
and judging and determining that the travel time of public transportation corresponding to each effective riding track with the same departure station and the same destination station is classified into one category.
Further optionally, in the apparatus described above, the travel time obtaining module is specifically further configured to:
if the travel time of public transportation corresponding to each effective riding track of the same departure station and the same destination station is classified into two types, judging whether the current departure station and the current destination station are bus stations or subway stations;
if the train station is a bus station, updating the corresponding departure station of the type with short travel time of the public transport into a subway station in the preset area range around the terminal point of the previous riding, and updating the destination station into a subway station in the preset area range around the riding point of the next riding;
and if the travel time length is a subway station, updating the departure station corresponding to one type of the travel time length of the public transport into a bus station in the preset area range around the terminal point of the previous riding, and updating the destination station into a bus station in the preset area range around the riding point of the next riding.
The present invention also provides a computer apparatus, the apparatus comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of processing for public transportation travel as described above.
The present invention also provides a computer-readable medium on which a computer program is stored, which program, when executed by a processor, implements the method of processing when traveling in public transportation as described above.
According to the processing method, the processing device and the readable medium for public transportation travel, the effective riding track of the shared bicycle of a plurality of users who travel through the public transportation and the shared bicycle in the target area in a combined manner is obtained; digging a departure station and a destination station of a user going out through public transport, a first time of entering the departure station and a second time of leaving the destination station, wherein the departure station and the destination station correspond to each effective riding track; and acquiring the travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station. According to the technical scheme, the calculation of the travel time of the public transportation from the departure station to the destination station is realized based on the effective riding track of the shared bicycle of the user who travels by combining the public transportation and the shared bicycle, and the data of the effective riding track is very accurate, so that the travel time of the public transportation from the departure station to the destination station can be accurately obtained. Based on the above, by adopting the technical scheme of the invention, the accuracy of the obtained public transportation from the departure station to the destination station in the travel process can be effectively improved, so that guidance can be more accurately provided for the user requesting navigation in the travel of the public transportation.
[ description of the drawings ]
Fig. 1 is a flowchart of a processing method for public transportation travel according to an embodiment of the present invention.
Fig. 2 is a configuration diagram of a first embodiment of a processing device for public transportation travel according to the present invention.
Fig. 3 is a structural diagram of a second embodiment of the processing device for public transportation travel according to the present invention.
FIG. 4 is a block diagram of an embodiment of a computer device of the present invention.
Fig. 5 is an exemplary diagram of a computer device provided by the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of a processing method for public transportation travel according to an embodiment of the present invention. As shown in fig. 1, the processing method for public transportation travel in this embodiment may specifically include the following steps:
100. obtaining effective riding tracks of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in a target area;
the execution main body of the processing method for public transportation travel time in the embodiment is the processing device for public transportation travel time, and is used for acquiring the public transportation travel time accurately, so that accurate travel time prompt is provided for a user when the user carries out a public transportation navigation request according to the acquired public transportation travel time.
With the popularization of the shared bicycle, more and more users ride the shared bicycle to serve as a connection route for connecting a departure place (or a destination) and a transportation junction such as a subway station (or a bus station). In this embodiment, the riding tracks of the shared bicycle of each user are analyzed to obtain the effective riding tracks of the shared bicycle of the users who jointly travel through the public transportation and the shared bicycle, so that the travel time of the public transportation at the departure station and the destination station is estimated according to the effective riding tracks.
For example, in this embodiment, the step 100 may specifically include the following steps:
(a1) acquiring original riding tracks of a shared bicycle of all users within a preset time period in a target area;
(b1) and mining the effective riding track of the shared bicycle of the user who jointly travels with the shared bicycle through public transportation from the original riding tracks of all the users.
Since different areas, such as different cities, may include the same bus station or subway station, in order to effectively analyze the travel of public transportation, in this embodiment, one target area is taken as a research object, for example, one target area may be one city. The preset time period of the present embodiment may be one month, two months, three months or half a year of the original riding data. In a city, a part of users go to and from work and need to complete a part of travel by riding the shared bicycle, and the part of users are users who travel by combining public transportation with the shared bicycle. For example, when the user is at work, the user firstly takes a public vehicle to work by riding the sharing bicycle to a nearby bus station or subway station, then gets off the bus at the bus station or subway station nearby the company, and then selects the sharing bicycle to ride to the company. Therefore, even if the data of the public transportation cannot be collected, the travel time from the departure station to the destination station through the public transportation can be mined according to the shared bicycle track of the user. The present embodiment is implemented based on the above principle. Firstly, on the premise of not knowing which part of the original riding tracks of the users are effective and which part of the original riding tracks of the users are invalid, the original riding tracks of the shared bicycle of all the users in a preset time period in a target area can be collected firstly; and then mining the collected original riding data to obtain the effective riding track of the shared bicycle of the user who jointly travels with the shared bicycle through public transportation.
For example, the step (b1) may specifically include the following steps:
(a2) obtaining riding track pairs of all users from original riding tracks of all the users, wherein each riding track pair comprises two sections of original riding tracks, and the time interval between two successive riding of the corresponding user does not exceed the preset time length;
specifically, the riding tracks of the users who travel by the public transportation and the shared bicycle in a combined mode have a characteristic that the time interval between two consecutive riding is approximately equal to the time of use on the public transportation. Normally, the length of the bag is not too long when the bag is used on public transportation during work. For example, not more than an hour, or one and a half hours or two hours, the specific time interval length may be set according to the size of the target area, such as a city, and traffic conditions.
In this embodiment, the acquired original riding tracks are acquired according to the users, and the original riding track of each user may include original riding tracks of a plurality of time periods. Some riding tracks have no relation with riding tracks in the up-down time period, for example, a user selects a riding paragraph for one hour on the weekend, then other riding tracks do not exist in the day, and the original riding tracks do not contribute to public transportation time and can be filtered. Or the user selects to ride the sharing bicycle in the process of visiting the park on the weekend and then rides back, and according to the original riding tracks, the user can be deduced that the user does not ride public transport, and other similar original data which do not contribute to public transport can be filtered. For example, in this embodiment, the riding track pairs of each user may be preferentially obtained from the original riding tracks of all users, and each user may include one riding track pair or may include countless pairs, for example, a user who gets on or off duty daily through public transportation plus riding, and there are at least two riding track pairs each day. Each riding track pair comprises two original riding tracks, wherein the corresponding two original riding tracks have the time interval that the two consecutive riding of the user does not exceed the preset time length.
(b2) Judging whether a bus station or a subway station exists in a preset area range of a terminal point of the previous riding and a starting point of the next riding in each riding track pair; wherein the terminal point of the previous riding is different from the starting point of the next riding; if yes, executing step (c 2); otherwise, the riding track pair is directly discarded and is not used as effective data for subsequently acquiring the travel time of public transportation from the departure station to the destination station.
(c2) And taking the corresponding riding track pair as an effective riding track of the shared bicycle of the user who jointly travels through public transportation and the shared bicycle.
Then, whether each obtained riding track pair is an effective riding track is further analyzed, for example, it can be determined that a bus station or a subway station exists in a preset area range of a terminal point of the previous riding and a starting point of the next riding in each riding track pair. Because the shared bicycle occupies a small space in the driving process, the shared bicycle can reach any place where the shared bicycle can pass. Therefore, the user can try to travel to a position close enough to the destination in the process of riding the shared bicycle. For example, when a user wants to go to a bus station or a subway station, the user selects a preset area around the bus station or the subway station, such as 100 meters, to stop the bus, and then directly walks to the bus station or the subway station. In this embodiment, by using the characteristic of the shared bicycle ridden by the user, it can be determined that each riding track pair has a bus station or a subway station within a preset area range of the end point of the previous riding and the start point of the next riding, and if the riding track pair exists, the riding track pair represents an effective riding track of the shared bicycle that can be taken as the user who travels with the shared bicycle through public transportation in a combined manner. That is, the effective riding tracks of the present embodiment all appear in pairs.
101. Digging a departure station and a destination station of a user going out through public transport, a first time of entering the departure station and a second time of leaving the destination station, wherein the departure station and the destination station correspond to each effective riding track;
according to the steps, after the effective riding tracks of the shared bicycle of the user jointly traveling through the public transport and the shared bicycle are obtained, the starting station of the public transport traveling can be obtained according to the distribution condition of the bus station or the subway station near the end point of the previous section of riding track recorded in the electronic map, and the end station of the public transport traveling can be obtained according to the distribution condition of the bus station or the subway station near the starting point of the next section of riding track. Meanwhile, the starting time and the ending time of the section of riding are recorded in each section of riding track. And acquiring a first time of entering a departure station of public transportation travel and a second time of leaving a destination station of public transportation travel according to the starting time or the ending time of the riding track in each effective riding track.
For example, the step 101 may specifically include the following steps:
(a3) taking a bus station or a subway station in a preset area range around the corresponding terminal point of the previous riding in each effective riding track as a corresponding starting station of public transport trip;
(b3) taking a bus station or a subway station in a preset area range around a starting point of the corresponding next riding in each effective riding track as a corresponding destination station for public transportation trip;
from the above embodiments, it can be known that each effective riding track includes a riding track pair, and the riding track pair includes two consecutive riding tracks of one user, which may be referred to as a previous riding track and a next riding track. In this embodiment, a bus station or a subway station in a preset area range around the last riding terminal, for example, in a range of 100 meters or 50 meters, may be used as the starting station for the current public transportation trip. Similarly, the bus station or the subway station in the preset area range around the starting point of the next riding can be taken as the destination station for the public transportation trip. In this embodiment, if the starting station of the public transportation trip selects the bus station in the preset area range around the terminal point of the previous trip, the corresponding destination station of the public transportation trip also selects the bus station in the preset area range around the starting point of the next trip. Similarly, if the starting station of the public transportation trip selects the subway station in the preset area range around the terminal point of the previous trip, the corresponding destination station of the public transportation trip also selects the subway station in the preset area range around the starting point of the next trip.
(c3) Collecting the end time of the previous riding in each effective riding track;
(d3) predicting a first moment of entering a departure station according to the finish moment of the previous riding;
(e3) collecting the starting moment of the next riding in each effective riding track;
(f3) and predicting a second time of leaving the destination station according to the starting time of the next riding.
In this embodiment, when the user rides the shared bicycle to go to the bus station or the subway station, the user may select a position very close to the bus station or the subway station to stop the bicycle, in this case, the end time of the riding track may be considered to be the first time of entering the departure station of the public transportation trip, or the user may be considered to enter the departure station of the public transportation trip after about a preset minute after the end time, such as 3 minutes, 5 minutes, 8 minutes or other minutes, and at this time, the first time of entering the departure station may be considered to be the end time of the previous riding and then be delayed by a preset number of minutes.
Similarly, a user may preferably select a location near a bus station or a subway station to find a shared bicycle and quickly ride on to work when going out of the bus station or the subway station to the company. In this case, the start time of the riding track may be considered as the second time when the user leaves the destination station of the public transportation trip. Similarly, the user may also be considered to have left the destination station of the mass transit trip and walked to the shared-bicycle location approximately a preset minute before the start time, such as 3 minutes, 5 minutes, or 8 minutes or other minutes. The second time of leaving the destination station can be regarded as the starting time of the next ride and is further advanced by a preset number of minutes.
102. And acquiring the travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station.
Specifically, after the departure station and the destination station of the user who travels through public transportation and the first time when the user enters the departure station and the second time when the user leaves the destination station are mined, the collected original riding track is of a certain preset time period, such as two months. At this time, if the user is on duty on a working day, a group of effective riding tracks of the user every day can be mined, and public traffic outgoing lines corresponding to the riding tracks of every day all have the same departure station and the same destination station. Then, the first time and the second time of each effective riding track with the same departure station and the same destination station can be utilized to obtain the travel time of public transportation from the departure station to the destination station in the target area.
For example, the step 102 may specifically include the following steps:
(a4) calculating the time difference between the corresponding second moment and the first moment in each effective riding track with the same departure station and the same destination station, and taking the time difference as the travel time of public transportation corresponding to the corresponding effective riding track;
(b4) and calculating the travel time of the public transportation from the starting station to the destination station in the target area according to the travel time of the public transportation corresponding to each effective riding track with the same starting station and the same destination station.
Specifically, for each effective riding track with the same departure station and the same destination station, the time difference between the second time and the first time corresponding to each corresponding effective riding track is calculated, and the time difference is used as the travel time of the public transport corresponding to the effective riding track. However, the time for traveling by public transportation may be inaccurate, and in this embodiment, the time for traveling by public transportation from the departure station to the destination station in the target area may be comprehensively calculated according to the time for traveling by public transportation corresponding to each effective riding track having the same departure station and the same destination station. For example, in the most direct mode, the travel times of public transportation corresponding to all the effective riding tracks having the same departure station and the same destination station may be averaged to be taken as the travel time of public transportation from the departure station to the destination station in the target area. Or other mathematical methods may also be used, when the travel time of the public transportation from the departure station to the destination station in the target area is calculated according to the travel time of the public transportation corresponding to each effective riding track having the same departure station and the same destination station, which is not described in detail herein for example.
Further optionally, after the step (a4) and before the step (b4), the following steps may be further included:
(a5) when the public transportation corresponding to each effective riding track with the same departure station and the same destination station is used for traveling, classifying the public transportation according to the principle that the time difference is not greater than a preset time threshold;
(b5) judging whether the public transportation corresponding to each effective riding track with the same departure station and the same destination station is classified into one type or two types when going out; if the destination station is the same as the departure station, the determined departure station and the determined destination station are correct, and the time for the public transportation from the departure station to the destination station in the target area can be directly obtained according to the step 102; otherwise, if the two types are adopted, the starting station and the destination station of one type are selected improperly, for example, the starting station and the destination station are set as bus stations by mistake when the train is taken for traveling; or the departure station and the destination station are set as subway stations by mistake at the moment when the bus is taken originally. At this point, step (c5) may be further performed;
(c5) judging whether the current departure station and the current destination station are bus stations or subway stations; if the bus stop is the bus stop, executing the step (d 5); otherwise, if the station is a subway station, executing the step (f 5);
(d5) updating a corresponding departure station with short travel time of public transportation into a subway station in a preset area range around the terminal point of the previous riding, and updating a destination station into a subway station in a preset area range around the riding point of the next riding;
(f5) and updating the corresponding departure station of the short travel time class of the public transport into a bus station in a preset area range around the terminal point of the previous riding, and updating the destination station into a bus station in a preset area range around the riding point of the next riding.
In practical applications, the time difference of public transportation travel during the process of getting on and off duty each day is not too much, for example, the user takes from the subway station a to the subway station B each day, and the time difference of travel generally does not exceed a preset time threshold, such as 10 minutes, or 8 minutes, or other minutes. Or the user rides from bus station C to bus station D each day, the time difference for traveling generally does not exceed a preset time threshold, such as 20 minutes, or 15 minutes, or other minutes. If there are bus stations and subway stations near the end point of the previous riding and there are bus stations and subway stations near the start point of the next riding in the effective riding track of the user, and the foregoing determining the departure station and the destination station of the public transportation trip can be performed by preferably selecting the subway stations or the bus stations. However, in the actual situation process, the difference between the subway trip and the bus trip is large, for example, the difference is at least half an hour, especially, the difference is large when the distance is long, and the difference is much larger than the preset time threshold, so that the time of different transportation means can be distinguished. In this embodiment, the departure station and the destination station of the public transportation trip determined in the foregoing may be also checked and corrected in steps (a5) - (f 5).
Specifically, when the public transportation corresponding to each effective riding track having the same departure station and the same destination station is used for traveling, the classification may be performed according to a principle that the time difference is not greater than the preset time threshold. That is, the distance between the departure station and the destination station is classified by the trip through the bus and the trip through the subway, respectively. If the time difference between the public transportation travel time corresponding to all the effective riding tracks with the same departure station and the same destination station is not larger than the preset time threshold, only one type can be obtained at the moment, and the departure station and the destination station of the public transportation travel determined before can be considered to be correct. If the two types of the start station and the destination station can be classified according to the mode, at this time, it can be stated that the selection of the start station and the destination station of one type is improper, for example, the start station and the destination station are set as bus stations by mistake when the train is originally taken for traveling; or the departure station and the destination station are set as subway stations by mistake at the moment when the bus is taken originally.
At this time, whether the current departure station and the current destination station are bus stations or subway stations can be determined; if the train is a bus station, updating a corresponding departure station with short travel time of public transport into a subway station in a preset area range around the terminal point of the previous riding, and updating a destination station into a subway station in a preset area range around the riding point of the next riding; if the bus station is a subway station, the corresponding departure station of the travel duration of the public transport can be updated to the bus station in the preset area range around the terminal point of the previous riding, and the destination station is updated to the bus station in the preset area range around the riding point of the next riding.
By means of the method, the time for traveling of public transportation from the departure station to the destination station can be obtained very accurately, and therefore when a subsequent user requests public transportation navigation, more accurate time data for traveling of public transportation can be provided for the user, and traveling planning of the user is facilitated.
According to the processing method for public transport travel, the effective riding track of the shared bicycle of a plurality of users who travel through public transport and the shared bicycle in the target area is obtained; digging a departure station and a destination station of a user going out through public transport, a first time of entering the departure station and a second time of leaving the destination station, wherein the departure station and the destination station correspond to each effective riding track; and acquiring the travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station. According to the technical scheme, the calculation of the public transportation from the departure station to the destination station for the trip is realized based on the effective riding track of the shared bicycle of the user who jointly trips through the public transportation and the shared bicycle, and the data of the effective riding track is very accurate, so that the trip time of the public transportation from the departure station to the destination station can be accurately acquired. Based on the above, by adopting the technical scheme of the embodiment, the accuracy of the obtained public transportation from the departure station to the destination station in the trip process can be effectively improved, so that guidance can be more accurately provided for the user requesting navigation in the trip of the public transportation.
Fig. 2 is a configuration diagram of a first embodiment of a processing device for public transportation travel according to the present invention. As shown in fig. 2, the processing device for public transportation travel time of the present embodiment may specifically include:
the track acquiring module 10 acquires effective riding tracks of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in a target area;
the mining module 11 mines a departure station and a destination station of a user going out through public transportation, a first time of entering the departure station and a second time of leaving the destination station, which correspond to each effective riding track acquired by the track acquisition module 10;
the travel time acquisition module 12 is configured to acquire travel time of public transportation from the departure station to the destination station in the target area according to a first time and a second time in each effective riding track excavated by the excavation module 11 and having the same departure station and the same destination station.
The implementation principle and technical effect of the processing apparatus for public transportation travel time using the modules to achieve the public transportation travel time obtaining are the same as those of the related method embodiment, and details of the related method embodiment may be referred to and are not repeated herein.
Fig. 3 is a structural diagram of a second embodiment of the processing device for public transportation travel according to the present invention. As shown in fig. 3, the processing device for public transportation travel according to the embodiment of the present invention is further described in more detail based on the technical solution of the embodiment shown in fig. 2.
As shown in fig. 3, in the processing device for public transportation travel of the present embodiment, the trajectory obtaining module 10 specifically includes:
the track acquisition unit 101 is used for acquiring the original riding tracks of the shared bicycle of all users in a preset time period in the target area;
the trajectory mining unit 102 is configured to mine an effective riding trajectory of a shared bicycle of a user who travels in a public transportation and the shared bicycle in a united manner from the original riding trajectories of all the users collected by the trajectory collection unit 101.
Further optionally, in the processing apparatus for public transportation travel in this embodiment, the trajectory mining unit 101 is specifically configured to:
obtaining riding track pairs of all users from original riding tracks of all the users, wherein each riding track pair comprises two sections of original riding tracks, and the time interval between two successive riding of the corresponding user does not exceed the preset time length;
judging whether a bus station or a subway station exists in a preset area range of a terminal point of the previous riding and a starting point of the next riding in each riding track pair; wherein the terminal point of the previous riding is different from the starting point of the next riding;
and if so, taking the corresponding riding track pair as an effective riding track of the shared bicycle of the user who jointly travels through public transportation and the shared bicycle.
Further optionally, in the processing apparatus for public transportation travel in this embodiment, the mining module 11 is specifically configured to:
taking a bus station or a subway station in a preset area range around a terminal point of the previous riding corresponding to each effective riding track excavated by the track excavating unit 102 as a starting station of the corresponding public transportation trip;
taking a bus station or a subway station in a preset area range around a starting point of the next riding corresponding to each effective riding track excavated by the track excavating unit 102 as a corresponding destination station of public transport trip;
acquiring the end time of the previous riding in each effective riding track excavated by the track excavating unit 102;
predicting a first moment of entering a departure station according to the finish moment of the previous riding;
collecting the starting moment of the next riding in each effective riding track excavated by the track excavating unit 102;
and predicting a second time of leaving the destination station according to the starting time of the next riding.
Further optionally, in the processing device for public transportation travel time in this embodiment, the travel time obtaining module 12 is specifically configured to:
calculating the time difference between the corresponding second moment and the first moment in each effective riding track which is excavated by the excavating module 11 and has the same departure station and the same destination station, and taking the time difference as the travel time of public transportation corresponding to the corresponding effective riding track;
and calculating the travel time of the public transportation from the starting station to the destination station in the target area according to the travel time of the public transportation corresponding to each effective riding track with the same starting station and the same destination station.
Further optionally, in the processing device for public transportation travel time in this embodiment, the travel time obtaining module 12 is further specifically configured to:
when the public transportation corresponding to each effective riding track with the same departure station and the same destination station is used for traveling, classifying the public transportation according to the principle that the time difference is not greater than a preset time threshold;
and judging and determining the travel time of public transportation corresponding to each effective riding track with the same departure station and the same destination station to be classified into one category.
Further optionally, in the processing device for public transportation travel time in this embodiment, the travel time obtaining module 12 is further specifically configured to:
if the travel time of public transportation corresponding to each effective riding track with the same departure station and the same destination station is classified into two types, judging whether the current departure station and the current destination station are bus stations or subway stations;
if the train is a bus station, updating a corresponding departure station with short travel time of public transport into a subway station in a preset area range around the terminal point of the previous riding, and updating a destination station into a subway station in a preset area range around the riding point of the next riding;
if the bus station is a subway station, the corresponding departure station of the travel duration of the public transport is updated to the bus station in the preset area range around the terminal point of the previous riding, and the destination station is updated to the bus station in the preset area range around the riding point of the next riding.
The implementation principle and technical effect of the processing device for public transportation travel time by using the modules to achieve public transportation travel time acquisition are the same as those of the related method embodiment, and reference may be made to the description of the related method embodiment in detail, and details are not repeated here.
FIG. 4 is a block diagram of an embodiment of a computer device of the present invention. As shown in fig. 4, the computer device of the present embodiment includes: one or more processors 30, and a memory 40, the memory 40 for storing one or more programs, the one or more programs stored in the memory 40 when executed by the one or more processors 30, cause the one or more processors 30 to implement the mass transit time processing method of the embodiment shown in fig. 1 above. The embodiment shown in fig. 4 is exemplified by including a plurality of processors 30.
For example, fig. 5 is an exemplary diagram of a computer device provided by the present invention. FIG. 5 illustrates a block diagram of an exemplary computer device 12a suitable for use in implementing embodiments of the present invention. The computer device 12a shown in fig. 5 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in FIG. 5, computer device 12a is in the form of a general purpose computing device. The components of computer device 12a may include, but are not limited to: one or more processors 16a, a system memory 28a, and a bus 18a that connects the various system components (including the system memory 28a and the processors 16 a).
Bus 18a represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12a typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12a and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28a may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30a and/or cache memory 32 a. Computer device 12a may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34a may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18a by one or more data media interfaces. System memory 28a may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of the various embodiments of the invention described above in fig. 1-3.
A program/utility 40a having a set (at least one) of program modules 42a may be stored, for example, in system memory 28a, such program modules 42a including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 42a generally perform the functions and/or methodologies described above in connection with the various embodiments of fig. 1-3 of the present invention.
Computer device 12a may also communicate with one or more external devices 14a (e.g., keyboard, pointing device, display 24a, etc.), with one or more devices that enable a user to interact with computer device 12a, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12a to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22 a. Also, computer device 12a may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) through network adapter 20 a. As shown, network adapter 20a communicates with the other modules of computer device 12a via bus 18 a. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12a, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16a executes various functional applications and data processing by executing programs stored in the system memory 28a, for example, implementing the public transportation travel time processing method shown in the above-described embodiment.
The present invention also provides a computer-readable medium on which a computer program is stored, which when executed by a processor, implements the processing method for time of public transportation travel as shown in the above-described embodiments.
The computer-readable media of this embodiment may include RAM30a, and/or cache memory 32a, and/or storage system 34a in system memory 28a in the embodiment illustrated in fig. 5 described above.
With the development of technology, the propagation path of computer programs is no longer limited to tangible media, and the computer programs can be directly downloaded from a network or acquired by other methods. Accordingly, the computer-readable medium in the present embodiment may include not only tangible media but also intangible media.
The computer-readable medium of the present embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A method for processing time of public transport travel, the method comprising:
obtaining effective riding tracks of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in a target area;
digging a starting station and a destination station of the user going out through public transport, a first time of entering the starting station and a second time of leaving the destination station, wherein the starting station and the destination station correspond to the effective riding tracks;
acquiring the travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station; wherein,
digging a departure station and a destination station of the user going out through public transportation, a first time of entering the departure station and a second time of leaving the destination station, which correspond to the effective riding tracks, and specifically including:
taking a bus station or a subway station in a preset area range around the corresponding terminal point of the previous riding in each effective riding track as a corresponding starting station of the public transportation trip;
taking a bus station or a subway station in a preset area range around a starting point of the next riding corresponding to each effective riding track as a corresponding destination station of the public transportation trip;
collecting the end time of the previous riding in each effective riding track;
predicting a first moment of entering the departure station according to the end moment of the previous riding;
collecting the starting moment of the next riding in each effective riding track;
and predicting a second time when the bicycle leaves the destination station according to the starting time of the next riding.
2. The method according to claim 1, wherein obtaining the effective riding track of the shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in the target area specifically comprises:
collecting original riding tracks of the shared bicycle of all users in a preset time period in the target area;
and mining the effective riding track of the shared bicycle of the user who travels with the shared bicycle through public transportation from the original riding tracks of all the users.
3. The method according to claim 2, wherein mining an effective riding track of a shared bicycle of the user who travels in conjunction with the shared bicycle through public transportation from the original riding tracks of all the users specifically comprises:
obtaining riding track pairs of all the users from the original riding tracks of all the users, wherein each riding track pair comprises two sections of original riding tracks of which the time interval of the corresponding user riding for two times continuously does not exceed a preset time length;
judging whether a bus station or a subway station exists in a preset area range of a terminal point of the previous riding and a starting point of the next riding in each riding track pair; wherein the end point of the previous ride is different from the starting point of the subsequent ride;
and if so, taking the corresponding riding track pair as the effective riding track of the shared bicycle of the user who jointly travels through public transportation and the shared bicycle.
4. The method according to claim 3, wherein the obtaining of travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track with the same departure station and the same destination station specifically comprises:
calculating a time difference between the corresponding second moment and the first moment in each effective riding track with the same departure station and the same destination station, and taking the time difference as the travel time of public transportation corresponding to the corresponding effective riding track;
and calculating the travel time of the public transportation from the departure station to the destination station in the target area according to the travel time of the public transportation corresponding to each effective riding track with the same departure station and the same destination station.
5. The method according to claim 4, wherein a time difference between the corresponding second time and the first time in each effective riding track having the same departure station and the same destination station is calculated as a time of travel of public transportation corresponding to the corresponding effective riding track, and before a time of travel of public transportation from the departure station to the destination station in the target area is calculated according to a time of travel of public transportation corresponding to each effective riding track having the same departure station and the same destination station, the method further comprising:
when the public transportation corresponding to each effective riding track with the same departure station and the same destination station is used for traveling, classifying the public transportation according to the principle that the time difference is not greater than a preset time threshold;
and judging and determining whether the travel time of public transportation corresponding to each effective riding track with the same departure station and the same destination station is classified into one type or two types.
6. The method according to claim 5, wherein if the travel time of public transportation corresponding to each effective riding track with the same departure station and the same destination station falls into two categories, the method further comprises:
judging whether the current departure station and the current destination station are bus stations or subway stations;
if the train station is a bus station, updating the corresponding departure station of the type with short travel time of the public transport into a subway station in the preset area range around the terminal point of the previous riding, and updating the destination station into a subway station in the preset area range around the riding point of the next riding;
and if the travel time length is a subway station, updating the departure station corresponding to one type of the travel time length of the public transport into a bus station in the preset area range around the terminal point of the previous riding, and updating the destination station into a bus station in the preset area range around the riding point of the next riding.
7. A processing apparatus for use in public transportation travel, the apparatus comprising:
the track acquisition module is used for acquiring effective riding tracks of a shared bicycle of a plurality of users who jointly travel with the shared bicycle through public transportation in a target area;
the mining module is used for mining a departure station and a destination station of the user going out through public transportation, a first time of entering the departure station and a second time of leaving the destination station, which correspond to the effective riding tracks;
a travel time acquisition module, configured to acquire travel time of public transportation from the departure station to the destination station in the target area according to the first time and the second time in each effective riding track of the departure station and the destination station that are the same; wherein,
the excavation module is specifically configured to:
taking a bus station or a subway station in a preset area range around the terminal point of the previous riding corresponding to each effective riding track as a corresponding starting station of the public transportation trip;
taking a bus station or a subway station in a preset area range around the starting point of the next riding corresponding to each effective riding track as a corresponding destination station of the public transportation trip;
collecting the end time of the previous riding in each effective riding track;
predicting a first moment of entering the departure station according to the end moment of the previous riding;
collecting the starting moment of the next riding in each effective riding track;
and predicting a second time when the bicycle leaves the destination station according to the starting time of the next riding.
8. The apparatus according to claim 7, wherein the trajectory acquisition module specifically includes:
the track acquisition unit is used for acquiring the original riding tracks of the shared bicycle of all the users in the target area within a preset time period;
and the track mining unit is used for mining the effective riding track of the shared bicycle of the user, which jointly travels with the shared bicycle through public transportation, from the original riding tracks of all the users.
9. The apparatus according to claim 8, wherein the trajectory mining unit is specifically configured to:
obtaining riding track pairs of all the users from the original riding tracks of all the users, wherein each riding track pair comprises two sections of original riding tracks of which the time interval of the corresponding user riding for two times continuously does not exceed a preset time length;
judging whether a bus station or a subway station exists in a preset area range of a terminal point of the previous riding and a starting point of the next riding in each riding track pair; wherein the end point of the previous ride is different from the starting point of the subsequent ride;
and if so, taking the corresponding riding track pair as the effective riding track of the shared bicycle of the user who jointly travels through public transportation and the shared bicycle.
10. The device according to claim 9, wherein the travel time acquisition module is specifically configured to:
calculating a time difference between the corresponding second moment and the first moment in each effective riding track with the same departure station and the same destination station, and taking the time difference as the travel time of public transportation corresponding to the corresponding effective riding track;
and calculating the travel time of the public transportation from the departure station to the destination station in the target area according to the travel time of the public transportation corresponding to each effective riding track with the same departure station and the same destination station.
11. The device according to claim 10, wherein the travel time acquisition module is further configured to:
when the public transportation corresponding to each effective riding track with the same departure station and the same destination station is used for traveling, classifying the public transportation according to the principle that the time difference is not greater than a preset time threshold;
and judging and determining whether the travel time of public transportation corresponding to each effective riding track with the same departure station and the same destination station is classified into one type or two types.
12. The device according to claim 11, wherein the travel time obtaining module is further configured to:
if the travel time of public transportation corresponding to each effective riding track of the same departure station and the same destination station is classified into two types, judging whether the current departure station and the current destination station are bus stations or subway stations;
if the train station is a bus station, updating the corresponding departure station of the type with short travel time of the public transport into a subway station in the preset area range around the terminal point of the previous riding, and updating the destination station into a subway station in the preset area range around the riding point of the next riding;
and if the travel time length is a subway station, updating the departure station corresponding to one type of the travel time length of the public transport into a bus station in the preset area range around the terminal point of the previous riding, and updating the destination station into a bus station in the preset area range around the riding point of the next riding.
13. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
14. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201710916081.3A 2017-09-30 2017-09-30 Processing method, equipment and readable medium for public transport travel Active CN107909180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710916081.3A CN107909180B (en) 2017-09-30 2017-09-30 Processing method, equipment and readable medium for public transport travel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710916081.3A CN107909180B (en) 2017-09-30 2017-09-30 Processing method, equipment and readable medium for public transport travel

Publications (2)

Publication Number Publication Date
CN107909180A CN107909180A (en) 2018-04-13
CN107909180B true CN107909180B (en) 2022-03-25

Family

ID=61840257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710916081.3A Active CN107909180B (en) 2017-09-30 2017-09-30 Processing method, equipment and readable medium for public transport travel

Country Status (1)

Country Link
CN (1) CN107909180B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544920B (en) * 2018-11-22 2021-10-22 广东岭南通股份有限公司 Bus trip cost obtaining and analyzing method and system based on transaction data
CN110163660B (en) * 2019-04-19 2021-05-14 深圳大学 Method and system for measuring and calculating release scale of shared bicycle
CN110472999B (en) * 2019-07-17 2024-01-23 深圳市综合交通运行指挥中心 Passenger flow mode analysis method and device based on subway and shared bicycle data
CN112665596A (en) * 2020-12-29 2021-04-16 哈尔滨理工大学 Crowd movement track algorithm based on bicycle position data
CN116756200B (en) * 2023-05-29 2024-05-07 人工智能与数字经济广东省实验室(深圳) Identification method and related device for shared bicycle connection rail transportation means

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104864879A (en) * 2014-02-25 2015-08-26 高德软件有限公司 Navigation path planning method and device
CN105513351A (en) * 2015-12-17 2016-04-20 北京亚信蓝涛科技有限公司 Traffic travel characteristic data extraction method based on big data
CN105868860A (en) * 2016-04-07 2016-08-17 浙江万马新能源有限公司 Clustering-based area trip will intensity analysis method, apparatus and addressing method
CN106441325A (en) * 2016-02-04 2017-02-22 顾红波 System and method for joint transport navigation
CN106934107A (en) * 2017-02-20 2017-07-07 北京百度网讯科技有限公司 Traffic trip scenario building method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201239805A (en) * 2011-03-30 2012-10-01 Nat Univ Tsing Hua A system and method for dynamic carpool service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104864879A (en) * 2014-02-25 2015-08-26 高德软件有限公司 Navigation path planning method and device
CN105513351A (en) * 2015-12-17 2016-04-20 北京亚信蓝涛科技有限公司 Traffic travel characteristic data extraction method based on big data
CN106441325A (en) * 2016-02-04 2017-02-22 顾红波 System and method for joint transport navigation
CN105868860A (en) * 2016-04-07 2016-08-17 浙江万马新能源有限公司 Clustering-based area trip will intensity analysis method, apparatus and addressing method
CN106934107A (en) * 2017-02-20 2017-07-07 北京百度网讯科技有限公司 Traffic trip scenario building method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107909180A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN107909180B (en) Processing method, equipment and readable medium for public transport travel
CN109215372B (en) Road network information updating method, device and equipment
EP3715788A1 (en) Method, device, server and medium for determining quality of trajectory-matching data
US10077986B2 (en) Storing trajectory
CN113335276A (en) Obstacle trajectory prediction method, obstacle trajectory prediction device, electronic device, and storage medium
CN107883974B (en) Navigation path planning method, navigation server and computer readable medium
CN110689804B (en) Method and apparatus for outputting information
CN110542425B (en) Navigation path selection method, navigation device, computer equipment and readable medium
CN110411440B (en) Road acquisition method, device, server and storage medium
US11823574B2 (en) Method and apparatus for prediction road condition, device and computer storage medium
CN107908644A (en) The recommendation method, apparatus and computer-readable medium of trip mode
CN109253733B (en) Real-time navigation method, device, equipment and medium
CN110553658B (en) Navigation path recommendation method, navigation server, computer device and readable medium
US10260900B2 (en) Method, apparatus and computer program product for route generation
US20150185020A1 (en) Compatibility based resource matching
CN111160480B (en) Underground parking garage entrance and exit excavation method and device and electronic equipment
CN111380546A (en) Vehicle positioning method and device based on parallel road, electronic equipment and medium
US10346236B2 (en) Identifying origin and destination pairs
CN110567468A (en) Road track acquisition method, equipment and storage medium
CN109446437B (en) Information mining method, device, server and storage medium
CN104121917A (en) Method and device for automatically discovering new bridge
CN114578401B (en) Method and device for generating lane track points, electronic equipment and storage medium
CN114529348B (en) Vehicle driving path charging method, system, equipment and storage medium
CN112991798B (en) Road segment running time determining method and device based on traffic speed data
CN107270919B (en) Bus route grading method and device and bus route navigation method and device

Legal Events

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