CN108304951A - Acquisition methods, device and the non-transient computer readable storage medium of traffic information - Google Patents
Acquisition methods, device and the non-transient computer readable storage medium of traffic information Download PDFInfo
- Publication number
- CN108304951A CN108304951A CN201710023102.9A CN201710023102A CN108304951A CN 108304951 A CN108304951 A CN 108304951A CN 201710023102 A CN201710023102 A CN 201710023102A CN 108304951 A CN108304951 A CN 108304951A
- Authority
- CN
- China
- Prior art keywords
- city
- information
- traffic plan
- plan information
- origin
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000001052 transient effect Effects 0.000 title claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 153
- 238000012546 transfer Methods 0.000 claims description 178
- 238000004364 calculation method Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 15
- 238000012216 screening Methods 0.000 description 14
- 230000003993 interaction Effects 0.000 description 6
- 238000006116 polymerization reaction Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 239000007787 solid Substances 0.000 description 4
- 239000000686 essence Substances 0.000 description 3
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 230000010006 flight Effects 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 229910052742 iron Inorganic materials 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Tourism & Hospitality (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Navigation (AREA)
- Traffic Control Systems (AREA)
Abstract
This programme embodiment provides a kind of acquisition methods of traffic information, device and non-transient computer readable storage medium.In this programme embodiment, origin, destination and departure time that user provides are received;According to the departure time, the interurban communication scheme information for originating city and the purpose city where destination where origin is obtained;According to the interurban communication scheme information, traffic plan information in traffic plan information and the purpose city is originated in city described in acquisition;By the interurban communication scheme information, it is described originate in city that traffic plan information polymerize in traffic plan information and the purpose city, obtain the traffic plan information between the origin and the destination.This programme embodiment is solving the problems, such as can not to provide a user the traffic plan of highly efficient point-to-point trip in the prior art.
Description
【Technical field】
The present invention relates to a kind of technical field of intelligent traffic more particularly to acquisition methods of traffic information, device and transient state
Computer readable storage medium.
【Background technology】
For the big traffic problem between city, trip mode traditional at present relies primarily on aviation, railway or highway
Deng.What prime navaid software provided at present is following several realization methods:
The first:Path solution under mode of driving.
Second:Big traffic scheme between city, for example, railway shift, aviation shift, shipping shift.
Mainly for the user that drives in first way.For more ordinary users, especially long-distance travel user, more
More is the selection second way.
But under the second way, user from be currently located city incity origin reach another city incity purpose
Big traffic problem is more than between ground, it is also necessary to solve from being currently located how city incity origin reaches terminal, train
The traffic problems correspondingly, also need at either long-distance station of standing are solved from another city incity terminal, railway station or long-distance
Station arrive between traffic problems.Currently, from the one place in a city to the one place in another city
Trip be known as point-to-point trip.
In the prior art, stroke planning class software, such as GT grand touring software, map class software, navigation type software, Neng Goushi
Recommend to the traffic plan between city in existing city.For example, user can be obtained using the GT grand touring software installed on mobile terminal
Recommend to the traffic plan between city.However, these stroke planning class applications can not between obtaining city traffic plan
It is got together simultaneously from being currently located city incity position and up to the traffic side between terminal, railway station or long-distance station
Case can not also get the traffic reached from another city incity terminal, railway station or long-distance station between destination locations
Scheme, and more can not effectively by the integration of traffic plan in city and multiple schemes of interurban communication scheme, with to
User provides the traffic plan of highly efficient point-to-point trip.
【Invention content】
In view of this, this programme embodiment provide a kind of acquisition methods of traffic information, device and transient computer can
Storage medium is read, the traffic plan to solve can not to provide a user highly efficient point-to-point trip in the prior art is asked
Topic.
On the one hand, an embodiment of the present invention provides a kind of acquisition methods of traffic information, including:
Receive origin, destination and departure time that user provides;
According to the departure time, the city for originating city and the purpose city where destination where origin is obtained
Between traffic plan information;
According to the interurban communication scheme information, acquisition originates traffic plan information and purpose city urban transit system in city
Scheme information;
The interurban communication scheme information, described originate in city are handed in traffic plan information and the purpose city
Logical scheme information is polymerize, and the traffic plan information between the origin and the destination is obtained.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, according to the city
Traffic plan information between city, acquisition originate in city traffic plan information in traffic plan information and purpose city, including:
According to the interurban communication scheme information, determine described in originate reach in the city in go out in the purpose city
Hair ground;
Ground is reached in city according to the origin and described originate, and traffic plan information in city is originated described in acquisition;
And according to departure place in the destination and the purpose city, obtain traffic plan information in the purpose city.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, according to the city
Traffic plan information between city, determine described in originate in the city in reach with the purpose city in departure place, including:
The starting point in the interurban communication scheme information is obtained, to reach in ground as described originate in city;
The terminal in the interurban communication scheme information is obtained, using as departure place in the purpose city.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, according to it is described go out
The time is sent out, the interurban communication scheme information for originating city and the purpose city where destination where origin, packet are obtained
It includes:
The available traffic plan information between city and the purpose city is originated described in acquisition;
According to the departure time, it can be screened with traffic plan information to described, obtain the interurban communication side
Case information.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, according to it is described go out
The time is sent out, can be screened with traffic plan information to described, obtain the interurban communication scheme information, including:
According to the departure time, the corresponding surplus resources of traffic plan information can be used described in acquisition;
The available traffic plan information that surplus resources meet predetermined condition is chosen, is believed as the interurban communication scheme
Breath.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the reception are used
Family provide origin, destination and departure time further include:Receive user provide between origin and destination
Transfer, the stay time on transfer ground;
According to the departure time, the city for originating city and the purpose city where destination where origin is obtained
Between traffic plan information, including:According to the origin, the transfer and the departure time, obtain origin where
The interurban communication scheme information of the connecting cities where city and transfer ground is originated, and, according to the stay time on transfer ground,
The interurban communication scheme information in the purpose city where connecting cities and destination where acquisition transfer ground;
According to the interurban communication scheme information, acquisition originates traffic plan information and purpose city urban transit system in city
Scheme information, including:According to the interurban communication scheme for originating city and the connecting cities where transfer ground where origin
The interurban communication scheme information in the purpose city where connecting cities and destination where information, transfer ground, acquisition originate
Traffic plan information in city, traffic plan information in traffic plan information and purpose city in connecting cities;
The interurban communication scheme information, described originate in city are handed in traffic plan information and the purpose city
Logical scheme information is polymerize, including:Traffic plan information in city, traffic plan information, purpose in connecting cities will be originated
The interurban communication scheme for originating city and the connecting cities where transfer ground in city where traffic plan information, origin
Connecting cities where information, transfer ground are polymerize with the interurban communication scheme information in the purpose city where destination,
Obtain the traffic plan information between the origin and the destination.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method further includes:
According to specified sortord, the traffic plan information between the origin and the destination is arranged
Sequence obtains ranking results;
The ranking results of output par, c or whole.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, when the purpose
Ground for transfer when, further include:
With obtaining the another object that user the provides departure time with the transfer ground;
According to the departure time on the transfer ground, the traffic plan between the another object ground is arrived with obtaining the transfer
Information;
By between the origin and the transfer ground traffic plan information, the transfer to the another object
Between traffic plan information polymerize, obtain the origin to the traffic plan information between the another object ground.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method further includes:
According to specified sortord, the origin is carried out to the traffic plan information between the another object ground
Sequence, obtains ranking results;
The ranking results of output par, c or whole.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described specified
Sortord includes being ranked up according to the time and/or being ranked up from low to high according to price from short to long.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method further includes:
According to the traffic plan information of acquisition, navigate;And/or
According to the traffic plan information of acquisition, electronic map is generated;And/or
According to the traffic plan information of acquisition, stroke planning is carried out;And/or
According to the traffic plan information of acquisition, display and the relevant point of interest in each destination, and show the point of interest
Additional service information;And/or
The traffic plan information of acquisition is shared.
On the other hand, an embodiment of the present invention provides a kind of acquisition device of traffic information, including:
Receiving unit, origin, destination and departure time for receiving user's offer;
Pre-calculation unit, for according to the departure time, obtain where origin originate city with where destination
Purpose city interurban communication scheme information;
Real-time computing unit, for according to the interurban communication scheme information, acquisition to originate traffic plan in city and believes
Traffic plan information in breath and purpose city;And by the interurban communication scheme information, described originate city urban transit system side
Traffic plan information is polymerize in case information and the purpose city, obtains the friendship between the origin and the destination
Logical scheme information.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the real-time meter
Unit is calculated to be specifically used for:
According to the interurban communication scheme information, determine described in originate reach in the city in go out in the purpose city
Hair ground;
Ground is reached in city according to the origin and described originate, and traffic plan information in city is originated described in acquisition;
And according to departure place in the destination and the purpose city, obtain traffic plan information in the purpose city.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the real-time meter
Unit is calculated to be specifically used for:
The starting point in the interurban communication scheme information is obtained, to reach in ground as described originate in city;
The terminal in the interurban communication scheme information is obtained, using as departure place in the purpose city.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the precomputation
Unit is specifically used for:
The available traffic plan information between city and the purpose city is originated described in acquisition;
According to the departure time, it can be screened with traffic plan information to described, obtain the interurban communication side
Case information.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the precomputation
Unit is specifically used for:
According to the departure time, the corresponding surplus resources of traffic plan information can be used described in acquisition;
The available traffic plan information that surplus resources meet predetermined condition is chosen, is believed as the interurban communication scheme
Breath.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the reception are single
Member is additionally operable to:With receiving the transfer between origin and destination that user provides, the stay time on transfer ground;
The pre-calculation unit, is specifically used for:According to the origin, the transfer and the departure time, obtain
The interurban communication scheme information for originating city and the connecting cities where transfer ground where origin, and, according to transfer
The stay time on ground, the interurban communication scheme letter in the purpose city where connecting cities and destination where acquisition transfer ground
Breath;
The real-time computing unit, is specifically used for:City and the transfer where transfer ground are originated according to where origin
The intercity friendship in the purpose city where connecting cities and destination where the interurban communication scheme information in city, transfer ground
Logical scheme information, obtains and originates traffic plan information in city, traffic plan information and purpose city urban transit system in connecting cities
Scheme information;And traffic plan information in city, traffic plan information, purpose city urban transit system in connecting cities will be originated
The interurban communication scheme information for originating city and the connecting cities where transfer ground where scheme information, origin, transfer
Connecting cities where ground are polymerize with the interurban communication scheme information in the purpose city where destination, obtain the beginning
Traffic plan information between hair ground and the destination.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the real-time meter
Calculate unit, be additionally operable to according to specified sortord, the traffic plan information between the origin and the destination into
Row sequence, obtains ranking results;
Described device further includes:First output unit, the ranking results for output par, c or whole.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, when the purpose
Ground for transfer when,
The receiving unit is additionally operable to the departure time with obtaining the another object of user's offer with the transfer ground;
The real-time computing unit is additionally operable to the departure time according to the transfer ground, arrives with obtaining the transfer described
Traffic plan information between another object ground;And by between the origin and the transfer ground traffic plan information,
It is polymerize to the traffic plan information between the another object ground to the transfer, obtains the origin to described another
Traffic plan information between destination.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the real-time meter
Unit is calculated, is additionally operable to:According to specified sortord, the origin is believed to the traffic plan between the another object ground
Breath is ranked up, and obtains ranking results;
Further include:Second output unit, the ranking results for output par, c or whole.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described specified
Sortord includes being ranked up according to the time and/or being ranked up from low to high according to price from short to long.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method further includes:
Information application unit navigates for the traffic plan information according to acquisition;And/or for according to acquisition
Traffic plan information generates electronic map;And/or for the traffic plan information according to acquisition, carry out stroke planning;With/
Or, for the traffic plan information according to acquisition, display and the relevant point of interest in each destination, and show the attached of the point of interest
Add information on services;And/or for the traffic plan information of acquisition to be shared.
On the other hand, an embodiment of the present invention provides a kind of non-transient computer readable storage medium, non-transient computers
Readable storage medium storing program for executing stores computer instruction, and the computer instruction is for making the computer execute following below scheme:
Receive origin, destination and departure time that user provides;
According to the departure time, the city for originating city and the purpose city where destination where origin is obtained
Between traffic plan information;
According to the interurban communication scheme information, acquisition originates traffic plan information and purpose city urban transit system in city
Scheme information;
The interurban communication scheme information, described originate in city are handed in traffic plan information and the purpose city
Logical scheme information is polymerize, and the traffic plan information between the origin and the destination is obtained.
A technical solution in above-mentioned technical proposal has the advantages that:
This programme embodiment can after obtaining interurban communication scheme, determine originate in city traffic plan information and
Then traffic plan information in purpose city will originate city incity traffic plan, purpose city incity traffic plan, intercity
Traffic plan is polymerize, and the traffic plan between origin and destination is obtained, can between obtaining city traffic plan
While together and get and be currently located in city traffic plan in traffic plan and to, effectively will be in city
The integration of multiple schemes of traffic plan and interurban communication scheme, to provide a user highly efficient point-to-point trip
Traffic plan, solve asking for the traffic plan that can not provide a user highly efficient point-to-point trip in the prior art
Topic.
【Description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field
For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of the acquisition methods for the traffic information that this programme embodiment is provided;
Fig. 2 is the flow diagram of the implementation method for the step 102 that this programme embodiment is provided;
Fig. 3 be this programme embodiment provided origin, destination, the exemplary plot for originating city and purpose city;
Fig. 4 is the configuration diagram of the acquisition methods for the realization traffic information that this programme embodiment is provided;
Fig. 5 a are the exemplary plots for the graph model for interurban communication that this programme embodiment is provided;
Fig. 5 b are the exemplary plots of the graph model in Beijing-Shanghai-Hangzhou that this programme embodiment is provided;
Fig. 6 is another flow diagram of the acquisition methods for the traffic information that this programme embodiment is provided;
Fig. 7 be this programme embodiment provided origin, transfer, another object, originate city, connecting cities and
The exemplary plot in another object city;
Fig. 8 is another flow diagram of the acquisition methods for the traffic information that this programme embodiment is provided;
Fig. 9 be this programme embodiment provided origin, transfer, destination, originate city, connecting cities and purpose
The exemplary plot in city;
Figure 10 be the traffic information that this programme embodiment is provided acquisition methods in overall interaction flow schematic diagram;
Figure 11 be the traffic information that this programme embodiment is provided acquisition methods in overall interaction flow another signal
Figure;
Figure 12 is the functional block diagram of the acquisition device for the traffic information that this programme embodiment is provided;
Figure 13 is the simplified block diagram of server.
【Specific implementation mode】
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention below in conjunction with the accompanying drawings
It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, is not intended to be limiting
The present invention.In the embodiment of the present invention and "an" of singulative used in the attached claims, " described " and "the"
It is also intended to including most forms, unless context clearly shows that other meanings.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate:Individualism A, exists simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
City incity origin is currently located from user and reach terminal, fire for can not obtain present in the prior art
Traffic plan between station or long-distance station, correspondingly, can not also obtain from another city incity terminal, railway station or
The long-distance station of person arrive between traffic plan, the caused traffic plan that can not obtain point-to-point trip asks
Topic, this programme embodiment provide corresponding resolving ideas:Server originates the intercity friendship in city and purpose city obtaining
After logical scheme, is automatically determined and originated with being reached in city according to interurban communication scheme, and automatically determined in purpose city
Departure place, then according to originating city incity origin and reaching ground, acquisition originates traffic plan in city, and, according to mesh
City in departure place and destination, obtain traffic plan in purpose city, above-mentioned acquisition finally originated into city urban transit system
Scheme originates city and is polymerize with traffic plan in the interurban communication scheme in purpose city, purpose city, obtains origin
Traffic plan between destination.
It should be noted that this programme embodiment can be applied to include mobile terminal and server system.It is mobile whole
End can such as mobile phone, tablet computer, desktop computer.Server can be integrated in network side.
The acquisition methods of traffic information provided in an embodiment of the present invention can execute in the server, flow such as Fig. 1 institutes
Show, including:
101, origin, destination and departure time that user provides are received.
102, according to the departure time, the purpose city originated where city and destination where origin is obtained
Interurban communication scheme information.
103, according to interurban communication scheme information, acquisition originates traffic plan information and purpose city urban transit system in city
Scheme information.
104, by interurban communication scheme information, originate in city that traffic plan is believed in traffic plan information and purpose city
Breath is polymerize, and the traffic plan information between origin and destination is obtained.
For the realization of step 101, this programme embodiment there is provided herein two kinds of feasible embodiments, including:
The first:The client installed in mobile terminal can show input interface to user, be connect by the input interface
Origin, destination and departure time input by user are received, then mobile terminal by origin input by user, destination and goes out
The hair time is sent to server, in this way, server can obtain origin, destination and the departure time of user's offer.
Second:The client installed in mobile terminal can trigger the locating module of mobile terminal according to user instruction
It is positioned, obtains user and be currently located geographical location, user is currently located geographical location as origin, alternatively, client
End provides a user several candidate origins according to the geographical location, and the candidate origin that user is selected is as origin.
Client can also provide a user several candidate destinations, as a purpose by the candidate destination of user's selection
Ground;Alternatively, client can also receive the destination that user inputs in input frame.
In addition, client can show calendar to user, date for being selected in calendar of user is then received as setting out
Time.
The origin, destination and departure time that user provides are sent to server by mobile terminal, in this way, server can
To obtain origin, destination and the departure time of user's offer.
It is understood that above-mentioned origin is the true origin of user, destination is the true destination of user, is gone out
It can be some day to send out the time, or can also be accurate to the specific moment of some day, and this programme embodiment is to this without spy
It does not limit.
For the realization of step 102, this programme embodiment there is provided herein a kind of feasible embodiment, as shown in Fig. 2,
Including:
201, the available traffic plan information between city and the purpose city is originated described in obtaining.
202, according to the departure time, it can be screened with traffic plan information to described, obtain the intercity friendship
Logical scheme information.
Referring to FIG. 3, its provided by this programme embodiment origin, destination, originate city and purpose city
Exemplary plot, as shown in figure 3, in this programme embodiment, server, can after receiving origin and destination from mobile terminal
First to identify the city that originates belonging to origin, and identify the purpose city belonging to destination.Wherein, shown in Fig. 3
Solid line indicate that true traffic plan, dotted line indicate the traffic plan finally to be obtained, finally to obtain origin and purpose
Traffic plan information between ground, but from origin the true traffic plan in destination should be gone to include:First carry out origin
Traffic plan information in city is originated between reaching ground in city with originating, then executes the city for originating city and purpose city
Traffic plan information between city finally executes traffic plan letter in the purpose city in purpose city between departure place and destination
Breath.
For example, user is gone to " Disney " by " mansions Zhong Kun ", it is therefore desirable to obtain " mansions Zhong Kun " and " Disney " it
Between traffic plan information, actual conditions are first to go to " Beijing South Station " (to originate in city traffic plan to believe by " mansions Zhong Kun "
Breath), then " Hongqiao in Shanghai " (interurban communication scheme information) is gone to by " Beijing South Station ", " enlightening is finally gone to by " Hongqiao in Shanghai "
Scholar Buddhist nun " (traffic plan information in purpose city).
For example, referring to FIG. 4, the frame of its acquisition methods for realizing traffic information provided by this programme embodiment
Structure schematic diagram, as shown in figure 4, server include input interface, precomputation engine, traffic search engine, real-time computing engines and
Output interface.Wherein, input interface and output interface are all used to be communicated between server and mobile terminal, and input interface is used
In the information for receiving mobile terminal output, output interface is used for mobile terminal output information.It is pre-set in precomputation engine
Point of interest (Point of Interest, POI) database, Urban Data library, the flight library of aircraft, the train number library of long-distance vehicle, fire
The train number library of vehicle and history information library.Traffic search engine includes big traffic search engine and small traffic search engine.
In a concrete implementation scheme, as shown in figure 4, the input interface in server can be used for receiving movement eventually
The origin and destination sent is held, precomputation engine is then output to.Precomputation engine can be according to the longitude and latitude of origin
Information carries out approximate match in interest point data base, so as to identify and the immediate point of interest in origin, then root
It is inquired in Urban Data library according to the point of interest, to obtain the city belonging to the point of interest, that is, is obtained belonging to origin
City is known as originating city.Similarly, approximate can be carried out in interest point data base according to the latitude and longitude information of destination
Match, so as to identify with the immediate point of interest in destination, then looked into Urban Data library according to the point of interest
It askes, to obtain the city belonging to the point of interest, that is, obtains the city belonging to destination, referred to as purpose city.
Alternatively, in another concrete implementation scheme, as shown in figure 4, precomputation engine can also be according to origin
Latitude and longitude information is matched in Urban Data library, so as to identify the city belonging to origin.Similarly, it is contemplated that draw
Holding up can also be matched according to the latitude and longitude information of destination in Urban Data library, so as to identify belonging to destination
City.
It is understood that for preserving the point of interest in certain geographic range, each point of interest in interest point data base
Including some description informations, such as the latitude and longitude information of the point of interest, classification and title.Therefore, believed by given longitude and latitude
Breath can find immediate point of interest from interest point data base.In addition, the tool in Urban Data library for preserving each city
The longitude and latitude range of point of interest and each city in body geography information, such as each city, therefore can be known by Urban Data library
Do not go out the city belonging to given point of interest, the city belonging to given longitude and latitude can also be identified by Urban Data library.Ability
Field technique personnel, or can also it is understood that the city involved in this programme embodiment may belong to the same area
Belong to different regions, this programme embodiment is to this without being particularly limited to.
In this programme embodiment, as shown in figure 4, precomputation engine is determined to originate city and purpose belonging to origin
After purpose city belonging to ground, is inquired in history information library according to city and purpose city is originated, judge whether it
It is preceding to be computed the available traffic plan information originated between city and purpose city;It, can be from going through if be computed
Directly acquire calculating before in history information bank as a result, originating the available traffic plan information between city and purpose city;
, whereas if not calculating, then precomputation engine originate the available traffic plan information between city and purpose city
Calculating, then result of calculation is preserved into history information library, realizes update to history information library.
In a concrete implementation scheme, as shown in figure 4, graph model can be pre-set in precomputation engine, the figure
Model can be generated in advance and configure in precomputation engine.The graph model can be used in precomputation engine, calculated and begun
Send out the available traffic plan information between city and purpose city.
It should be noted that Fig. 5 a are please referred to, the artwork for interurban communication provided by this programme embodiment
The exemplary plot of type, as shown in Figure 5 a, graph model include node and connecting line, and one of node indicates a city, such as Fig. 5 a
In city A~city F.Whether the line between node indicates whether have traffic to connect between city, i.e., directly reachable, such as
There is connecting line between two nodes of fruit, indicates between two nodes traffic to connect, it is directly reachable, if not provided, indicating two
There is no traffic connection between node, cannot be directly reachable, it is indirectly reachable.Wherein, the arrow direction of connecting line is used to refer to directly
Connect reachable direction.In addition, each node can mark the corresponding attribute information of node, such as title, rank and label.Every two
Connecting line between a node can also mark the corresponding attribute information of connecting line, such as traffic pattern, distance and duration.
In addition, graph model further includes the child node (not shown) of above-mentioned node, child node indicates one in city
The point of interest of traffic pattern, such as airport, railway station and long-distance station.Line (not shown) between child node indicates emerging
Whether there is traffic to connect between interest point, i.e., it is whether directly reachable, if there is connecting line between child node, indicate two child nodes
Between have traffic connection, directly it is reachable, if not provided, indicate two child nodes between there is no traffic connection, cannot directly it is reachable,
It is indirectly reachable..Wherein, the arrow direction of connecting line is used to refer to directly reachable direction.In addition, each child node can also
Mark the corresponding attribute information of node, such as title, rank and label.Connecting line between each two child node can also mark
The corresponding attribute information of connecting line, such as type of vehicle, distance and duration.
Fig. 5 b are please referred to, the exemplary plot of the graph model in Beijing-Shanghai-Hangzhou provided by this programme embodiment,
As shown in Figure 5 b, city " Beijing " include the point of interest " Beijing northern station " of traffic pattern, " Beijing West Railway Station ", " Beijing South Station " and
There is connecting line, expression can go directly between the two between " Beijing West Railway Station " for " Capital Airport ", " Beijing northern station ";" Beijing northern station "
There is connecting line, expression can go directly between the two between " Beijing South Station ";Have between " Beijing West Railway Station " and " Beijing South Station "
Connecting line, expression can go directly between the two;" Beijing northern station " there is connecting line, expression between the two may be used between " Capital Airport "
It is through;There is connecting line, expression can go directly between the two between " Beijing West Railway Station " and " Capital Airport ";" Beijing South Station " and " head
There is connecting line, expression can go directly between the two between all airports ".Point of interest in Shanghai and Hangzhou shown in Fig. 5 b and its company
The explanation of wiring is identical as the explanation principle of point of interest and its connecting line in above-mentioned Beijing, and which is not described herein again.
In this programme embodiment, it is contemplated that city, purpose city and the above-mentioned graph model of screening conditions input will be originated by calculating engine,
The graph model can be based on shortest path first (such as Di Jiesitela dijkstra's algorithms or shortest path Shortest algorithms
Deng) the candidate traffic plan information originated between city and purpose city is calculated, may include needing in candidate traffic plan information
The traffic plan information of transfer is wanted, can also include the traffic plan information for not needing transfer, you can through traffic plan letter
Breath.Then graph model screens candidate traffic plan information using the screening conditions of input, is obtained after finally output screening
The reachable traffic plan information originated between city and purpose city.Alternatively, precomputation engine can also only will originate city,
Purpose city inputs above-mentioned graph model, which calculates the candidate traffic plan information originated between city and purpose city,
And export candidate traffic plan information, it is contemplated that calculate candidate traffic plan information that engine exports graph model using screening conditions into
Row screening, finally obtains the available traffic plan information originated between city and purpose city.
In a concrete implementation scheme, if there is directly reachable traffic plan information, candidate traffic plan letter
Breath may include one or more in following information:Origin originates city, destination, purpose city, traffic pattern, shift
And duration.If there is indirectly reachable traffic plan information, candidate traffic plan information or up in traffic plan information
Can also include intermediate transit point quantity and details, which may include origin in every section of traffic plan, originate
City, destination and purpose city, traffic pattern, shift and duration etc..
It, can be with may include one or more in following information in traffic plan information in a concrete implementation scheme
It is a:The origin of the traffic plan information originates city, destination, purpose city, traffic pattern, shift and duration.If deposited
In indirectly reachable traffic plan information, it can also includes intermediate transit point quantity and details that can use in traffic plan information, be somebody's turn to do
Details may include origin in every section of traffic plan, originate city, destination, purpose city, traffic pattern, shift
And duration.
In a concrete implementation scheme, screening conditions can include but is not limited at least one in the following conditions:It waits
Select direction, time and the intermediate transit point quantity of traffic plan information.For example, requiring side in candidate traffic plan information in screening conditions
To needing and originate city and go to the direction in purpose city consistent, inconsistent candidate traffic plan information is needed to screen out.
Alternatively, in another example, it requires to originate city in screening conditions in candidate traffic plan information and reaches time between purpose city not
Specified time threshold is can exceed that, if it does, then candidate's traffic plan information needs screen out.Alternatively, in another example, screen item
Require the intermediate transit point quantity of candidate traffic plan information no more than specified amount threshold in part, if it does, the then candidate
Traffic plan information needs screen out.
A kind of feasible implementation for generating graph model is given below:First, each by the flight library inquiry of aircraft
Two cities, related airport and the flight details that flight is related to, and, each train number is gone out by the train number library inquiry of train
Two cities, railway station and the train number details being related to, and, each train number is gone out by the train number library inquiry of long-distance vehicle and is related to
City, long-distance station and train number details.Then, on the diagram using the city inquired as father node mark, in the city
Airport, railway station and long-distance station also marked on the diagram as the child node of the father node, the city that is finally related to according to flight,
The city that the city and long-distance vehicle train number that the train number of train is related to are related to marks the connecting line between city in figure, may be used also
To mark the corresponding traffic pattern of connecting line.An intercity traffic reachability graph, this programme embodiment can so be generated
Referred to as graph model.
Precomputation engine is after obtaining originating the available traffic plan information between city and purpose city, it is also necessary into
One step screens available traffic plan information, obtains the city for originating city and purpose city according to the departure time
Between traffic plan information.In a kind of feasible implementation, it is contemplated that calculating engine can obtain available according to the departure time
Then the corresponding surplus resources of traffic plan information are chosen the available traffic plan information that surplus resources meet predetermined condition, are made
To originate the interurban communication scheme information in city and purpose city.
In a kind of concrete implementation scheme, it is contemplated that calculate engine and departure time and available traffic plan information are sent to friendship
Big traffic search engine in logical search engine, big traffic search engine divide according to departure time and available traffic plan information
Not carry out plane ticket search, train ticket search and the search of long-distance ticket, obtain the remaining money of the surplus resources of plane ticket, train ticket
The surplus resources in source and long-distance ticket, these surplus resources are exactly the corresponding surplus resources of available traffic plan information, will be obtained
Surplus resources return to precomputation engine.It is understood that surplus resources here refer specifically to remaining poll.Its
In, big traffic search engine can call the interface of plane ticket database, carry out plane ticket search, and can call train ticket
The interface of database carries out train ticket search, and calls the interface in long-distance car data library, carries out the search of long-distance ticket, with
Obtain corresponding search result.
Further, it is contemplated that calculate engine and receive the corresponding remaining money of available traffic plan information from big traffic search engine
After source, the available traffic plan information that surplus resources meet predetermined condition is chosen, as the city for originating city and purpose city
Traffic plan information between city.
In a feasible implementation, predetermined condition can be surplus resources be more than specify number, this is specified number
It can be determined according to trip number input by user, trip number can be more than or equal to by such as specifying number.It is handed over for example, can use
The surplus resources of logical scheme information 1 are 5, indicate remaining 5 tickets, can be 1 with the surplus resources of traffic plan information 2, indicate surplus
Remaining 1 ticket, can be 10 with the surplus resources of traffic plan information 3, indicates remaining 10 tickets.The trip number that user gives is 3,
Thus, it is expected that it is 3 to calculate engine and specified number according to the determination of number 3, then screened out in available traffic plan information 1~3 available
Traffic plan information 2, reservation can use traffic plan information 1 and 3, because the surplus resources of available traffic plan information 2 are 1, no
Meet the predetermined condition that surplus resources are more than 3.
For the realization of step 103, this programme embodiment there is provided herein a kind of feasible embodiment, including:
It is understood that as shown in figure 3, user needs to go to purpose city, the true traffic of user from originating city
Route is that point of interest (this programme embodiment for originating and riding public transportation means in city is first gone to from the origin originated in city
It is known as originating and reaches ground in city), it then rides public transportation means from the point of interest and goes to purpose city, eventually arrive at purpose city
In the vehicle stopping point of interest (this programme embodiment is known as departure place in purpose city), then user also needs to from mesh
City in the point of interest go to the destination in purpose city, therefore, the city for originating city and target cities of acquisition
Between the essence of traffic plan information be to originate in city one or more departure places to reach in ground with one or more in purpose city
Between traffic plan information set, therefore, real-time computing engines can according to interurban communication scheme information determine originate
Departure place in ground and purpose city is reached in city.
As shown in figure 4, precomputation engine is defeated by the interurban communication scheme information for originating city and target cities of acquisition
Go out to real-time computing engines, the quantity of the interurban communication scheme information can be one or more.For each intercity
Traffic plan information, real-time computing engines can obtain the starting point in the interurban communication scheme information, as originating city
City reaches ground, and obtains the terminal in the interurban communication scheme information, as departure place in purpose city.
For example, it is Beijing to originate city, purpose city is Shanghai, and the interurban communication scheme information in Beijing to Shanghai can be with
Including:Traffic plan information 1:Beijing South Station → Hongqiao in Shanghai;Traffic plan information 2:The Capital Airport → pudong airport.It can see
Go out, the traffic plan information in Beijing to Shanghai is intercity big traffic scheme, and its essence is starting points " Beijing South Station " to arrive terminal
The traffic plan information and starting point " Capital Airport " of " Hongqiao in Shanghai " arrive the traffic plan information of terminal " pudong airport ".Such as
Fruit uses traffic plan information 1, and user needs first to reach " Beijing South Station " from origin originating in city " Beijing ", then multiplies
Sitting height iron goes to Shanghai, gets off in " Hongqiao in Shanghai ", then goes to destination from " Hongqiao in Shanghai " in purpose city " Shanghai ".
Similarly, if using traffic plan information 2, user needs first to reach " capital machine from origin originating in city " Beijing "
", then airplane goes to " pudong airport ", then goes to destination from " pudong airport " in purpose city " Shanghai ".
It is understood that in this programme embodiment, the interurban communication scheme for originating city and purpose city is being obtained
After information, can automatically identify wherein originate reached in city and purpose city in departure place, and then known using automatic
It is other to originate follow-up traffic plan information is completed with departure place in purpose city calculating with being reached in city, with the prior art
In, when user wants to obtain traffic plan information in city, the realization method for being manually entered destination and/or origin is compared,
This programme embodiment avoid user be manually entered originate in city reach and purpose city in departure place, user can be reduced
Operation improves information acquisition efficiency, promotes user experience.
Further, real-time computing engines acquisition originate reached in city and purpose city in after departure place, root
It according to origin and originates with being reached in city, determination originates traffic plan information in city, and according to departure place in purpose city
And destination, determine traffic plan information in purpose city.
In a concrete implementation scheme, as shown in figure 4, computing engines can will originate city incity origin in real time
It is sent to small traffic search engine in traffic search engine with originating with being reached in city, small traffic search engine is according to originating
It city incity origin and originates and reaches ground in the city in, searched in real time, obtain originating traffic plan information in city, and general
This originates traffic plan information in city and returns to real-time computing engines.Believe it is understood that originating traffic plan in city
The quantity of breath can be one or more.Each originate can include but is not limited to following letter in traffic plan information in city
Breath:Traffic pattern, originate traffic plan information in city estimate duration, route and price.
Similarly, as shown in figure 4, departure place in purpose city and destination can be sent to traffic and searched by real-time computing engines
The small traffic search engine in holding up is indexed, small traffic search engine carries out real-time according to departure place and destination in purpose city
Search obtains traffic plan information in purpose city, and traffic plan information in the purpose city is returned to calculate in real time and is drawn
It holds up.It is understood that the quantity of traffic plan information can be one or more in purpose city.Wherein, each purpose
Following information is can include but is not limited in city in traffic plan information:Traffic plan information in traffic pattern, purpose city
Estimate duration, route and price.
It is above-mentioned to originate city either purpose city incity traffic pattern may include subway, bus or taxi (packet
Include special train, express or common taxi) etc., it will be understood by those skilled in the art that this programme embodiment to this without spy
It does not limit.
For the realization of step 104, this programme embodiment there is provided herein a kind of feasible embodiment, including:
Real-time computing engines can by obtained interurban communication scheme information, originate traffic plan information and mesh in city
City in traffic plan information polymerize, obtain the traffic plan information between origin and destination.
In a kind of feasible implementation, real-time computing engines can be by rising in each interurban communication scheme information
Point respectively with respectively originate in city originating in traffic plan information and matched with being reached in city, should if matched
Interurban communication scheme information can originate traffic plan information in city with this and carry out polymerizeing
Similarly, in a kind of feasible implementation, can by the terminal of each interurban communication scheme information respectively with
Departure place is matched in purpose city in each purpose city in traffic plan information, if matched, the intercity friendship
Logical scheme information can be polymerize with traffic plan information in purpose city.
As it can be seen that interurban communication scheme information can with originate traffic plan information fusion in city, can also simultaneously with
Traffic plan information fusion in purpose city, the traffic plan information that interurban communication scheme information obtains after polymerizeing twice
It is the traffic plan information between origin and destination.
After above-mentioned steps 105, this programme embodiment additionally provides optional step on this basis, the optional step packet
It includes:Traffic plan information between the origin and destination of output par, c or whole.
In a concrete implementation scheme, as shown in figure 4, the real-time computing engines of server are obtaining origin and mesh
Ground between traffic plan information after, can be by output that partly or completely the traffic plan information passes through server
Interface is exported to mobile terminal, in order to which the traffic plan information received can be further provided to user by mobile terminal.
In a concrete implementation scheme, real-time computing engines can according to specified sortord originating acquisition
Traffic plan information between ground and destination is ranked up, and then believes several traffic plans in the top in ranking results
Breath is exported by output interface, to realize the traffic plan information between the origin of output par, c and destination.
In another concrete implementation scheme, due to route selection, the difference of travel mode choice, it is likely to be obtained multiple
The traffic plan information between origin and destination after polymerization.Real-time computing engines can be according to specified sequence/screening
Traffic plan information between the origin and destination of acquisition is screened and/or is sorted by mode, then by ranking results
It is exported by output interface, to realize the traffic plan information between output whole origin and destination.Wherein, specified
Sortord can be the sortord that user pre-sets, alternatively, can also be a kind of sequence side that user selects temporarily
Formula, alternatively, can also be the sortord of acquiescence.Screening mode can be the performance threshold or threshold value model of user or system setting
It encloses, the scheme information for excluding not meet estimated performance.
It is being formulated in section for example, screening mode can be price, is taking to be no longer than and formulate duration.
In another example sortord can be ranked up from low to high according to price, in this way, cheapest traffic plan
Information can be recommended to user as optimal traffic plan information.Alternatively, in another example, sortord can also be according to
Time is ranked up from short to long, in this way, the minimum traffic plan information of time loss as optimal traffic plan information and
It is recommended to user.It will be understood by those skilled in the art that both sortords are by way of example only, it is not limited to this
The sortord that scheme is mentioned.
For example, the Xujiahui area from Pekinese Wangjing area to Shanghai can have aircraft, two kinds of high ferro main
Interurban communication mode.And from Wangjing area to airport or high ferro station organic field speed rail, airport public transport, taxi, etc.
Mode of transportation in (Beijing) city, and also have subway, airport from the Hongqiao Airport in Shanghai or Hongqiao railway station to Xujiahui area
Public transport, taxi, etc. mode of transportation in (Shanghai) city.Based on the departure time input by user, after a variety of polymerizations can be obtained
Traffic plan information.Then it can be screened and/or be sorted according to a variety of screening/sortords.Reference information standard can
To include but not limited to:Total duration used, total cost used, specified arrival time, expense be more than 500 yuan of one way, etc..
For example, above-mentioned sequence and/or screening after output result can be (not exhaustive and non-limiting):
Total duration (from short to long) used:
1:Marine rainbow goes up in origin-walking-Beijing Wangjing area airport speed rail-supreme Hainan Airlines class-in Capital Airport Beijing
No. two lines of bridge subway-Xujiahui area bus-destination
2:The supreme Hainan Airlines class in origin-taxi-Capital Airport Beijing-Hongqiao in Shanghai's taxi-destination
3:Origin-subway-South Railway Station Beijing, Beijing to Shanghai high ferro-line-Xujiahui of Hongqiao in Shanghai's subway two
Area's bus-destination
4:Origin-taxi-South Railway Station Beijing, Beijing to Shanghai high ferro-line-Xujiahui of Hongqiao in Shanghai's subway two
Regional bus-destination
Based on a variety of screening/sortords the traffic plan information after polymerization is screened and/or sorted as a result, and is defeated
Go out, one-stop can provide the multi-level point-to-point traffic plan planning of integrality of optimization to the user, eliminate user a variety of
Using or query facility between switching and artificial statistics, greatly improve the ease of use of user.
After above-mentioned steps 104, this programme embodiment additionally provides optional step on this basis, which answers
The case where for working as destination for transfer, as shown in fig. 6, including:
105, obtain user provide another object and transfer ground departure time.
106, according to the departure time on transfer ground, with obtaining transfer to the traffic plan information between another object ground.
107, by between origin and transfer ground traffic plan information, transfer to the traffic side between another object ground
Case information is polymerize, and obtains origin to the traffic plan information between another object ground.
In a kind of feasible implementation, mobile terminal with can obtaining another object and the departure time on transfer ground,
Then the input interface of server by another object is sent to the departure time on transfer ground, in this way, server can obtain
To another object and the departure time on transfer ground.
Acquisition for mobile terminal another object and the departure time implementation on transfer ground can include but is not limited to:It is mobile
The client installed in terminal can show input interface to user, and another object input by user is received by the input interface
The departure time on ground and transfer ground.
Referring to FIG. 7, its provided by this programme embodiment origin, transfer, another object, originate city,
The exemplary plot of connecting cities and another object city, as shown in fig. 7, above-mentioned transfer be user with going to another object when it is true
Real origin, at this point, another object be user next destination.In addition, the departure time on transfer ground can be a certain
It, or it can also be accurate to the specific moment of some day, this programme embodiment is to this without being particularly limited to.Server needs
First obtain interurban communication scheme information (Fig. 7 of connecting cities and city where another object ground (being known as another object city)
Shown in middle dotted line), then according to the interurban communication scheme information, determine when going to another object city in connecting cities, it should
In connecting cities reach ground and another object city in departure place, then obtain transfer and connecting cities in arrival ground between
City in traffic plan information (shown in solid in Fig. 7), and obtain and reach ground in another object city with another object
Between city in traffic plan information (shown in solid in Fig. 7), finally carry out two cities in traffic plan information with one
The polymerization of interurban communication scheme information, with obtaining transfer the traffic plan information between another object ground.
It should be noted that in this programme embodiment, server is according to the departure time, with obtaining transfer with arriving another object
Between traffic plan information implementation, the realization of the traffic plan information between above-mentioned acquisition origin and destination
Principle is identical, therefore which is not described herein again.
In a kind of feasible implementation, server can by the traffic plan information between origin and transfer ground,
With transfer it is polymerize to the traffic plan information between another object ground, to obtain origin between another object ground
Traffic plan information.It the polymerization methods and above-mentioned by origin and originate traffic plan in city in city between destination and believes
It ceases and originates city and polymerize with the interurban communication scheme information in purpose city, or city and purpose city will be originated
Interurban communication scheme is identical as the principle that the traffic plan information in purpose city between origin and destination is polymerize,
It will be understood by those skilled in the art which is not described herein again.
Further, as shown in figure 4, server obtain origin to the traffic plan information between another object ground it
It afterwards, can be by the output interface of itself to the origin of mobile terminal output par, c or whole between another object ground
Traffic plan information, in order to which mobile terminal further provides a user the traffic plan information.
In a concrete implementation scheme, can according to sortord by the origin of acquisition between another object ground
Traffic plan information be ranked up, several traffic plan information in the top in ranking results are then passed through into output interface
Output, to realize the origin of output par, c to the traffic plan information between another object ground.
In another concrete implementation scheme, real-time computing engines can arrive the origin of acquisition according to sortord
Traffic plan information between another object ground is ranked up, and then exports ranking results by output interface, defeated to realize
Go out whole origins to the traffic plan information between another object ground.
For example, sortord can be ranked up from low to high according to price, alternatively, can also be according to the time by short
It is ranked up to length, both sortords by way of example only, are not limited to the sortord that this programme is mentioned.
It is understood that in this programme embodiment, can be above-mentioned another object except originate city, purpose city with
Destination in other outer cities, alternatively, another object can also identical as origin (i.e. user goes to mesh from origin
Ground, origin then returned to by destination again), alternatively, another object can also belong to same city (user with origin
Destination is gone to from origin, the affiliated city in origin is then returned to by destination again).
For example, user goes to destination " Disney " by origin " mansions Zhong Kun ", then by the destination " Disney "
With going to another object " West Lake ".Alternatively, in another example, user goes to destination " Disney " by origin " mansions Zhong Kun ", so
Afterwards with going to another object " mansions Zhong Kun " by destination " Disney ".Alternatively, in another example, user is by origin " mansions Zhong Kun "
Destination " Disney " is gone to, then with going to another object by destination " Disney ", city " north such as where " mansions Zhong Kun "
" gardens the Hua Qingjia " cell in capital ".
This programme embodiment is also including another feasible implementation, as shown in figure 8, including:
801, with also receiving the transfer between origin and destination that user provides, when the stop on transfer ground
It is long.
802, according to the origin, the transfer and the departure time, obtain origin where originate city
With the interurban communication scheme information of the connecting cities where transfer ground, and, according to the stay time on transfer ground, obtain transfer
The interurban communication scheme information in the purpose city where connecting cities and destination where ground.
803, believed according to the interurban communication scheme for originating city and the connecting cities where transfer ground where origin
The interurban communication scheme information in the purpose city where connecting cities and destination where breath, transfer ground, acquisition originate city
Traffic plan information in traffic plan information and purpose city in urban transit system scheme information, connecting cities.
804, traffic plan information in city, traffic plan information, purpose city urban transit system side in connecting cities will be originated
The interurban communication scheme information for originating the connecting cities where city and transfer ground, transfer where case information, origin
The connecting cities at place are polymerize with the interurban communication scheme information in the purpose city where destination, obtain described originate
Traffic plan information between ground and the destination.
Above-mentioned steps 801 to step 804 can be respectively another realization method of the step 101 to step 104.
In a kind of feasible implementation, mobile terminal with can also obtaining transfer and the departure time on transfer ground, so
The input interface of server by transfer is sent to the departure time on transfer ground afterwards, in this way, server can get transfer
The departure time on ground and transfer ground.
Acquisition for mobile terminal transfer and the departure time implementation on transfer ground can include but is not limited to:Mobile terminal
The client of middle installation can show input interface to user, with receiving transfer input by user and transfer by the input interface
The departure time on ground.
Referring to FIG. 9, its provided by this programme embodiment origin, transfer, destination, originate city, transfer
The exemplary plot in city and purpose city, as shown in figure 9, the departure time on transfer ground can be some day, or can also be accurate
To the specific moment of some day, this programme embodiment is to this without being particularly limited to.
It should be noted that traffic plan information may include two sections of traffic plan information in connecting cities, wherein one section
Be according to originating the interurban communication scheme informations of city and connecting cities, in the connecting cities of acquisition departure place with transfer it
Between city in traffic plan information, another section is obtained according to the interurban communication scheme information of connecting cities and purpose city
Connecting cities in transfer and connecting cities in arrival ground between city in traffic plan information.
To originate city " Beijing ", origin " Xizhimen ", connecting cities " Tianjin ", transfer ground " eye of Tianjin ", purpose
It is illustrated for city " Shanghai " and destination " Oriental Pearl ", if user goes to " Beijing from origin " Xizhimen "
Southern station " takes high ferro in " Beijing South Station " and goes to Tianjin, then connecting cities " Tianjin " interior departure place is " Tianjin railway station ", because
This needs to obtain one section of traffic plan information in connecting cities " Tianjin ", i.e., between " Tianjin railway station " and " eye of Tianjin "
Traffic plan information in Tianjin.Then, user needs to go to Shanghai by air, by plane immediately after having gone sight-seeing " eye of Tianjin ",
Therefore, it is necessary to obtain another section of traffic plan information in connecting cities " Tianjin ", i.e. " eye of Tianjin " and " Tianjin Binhai world machine
" between Tianjin in traffic plan information, therefore, when there are transfer, traffic plan in the city in connecting cities
Information will be related to two sections of strokes.
In a kind of feasible implementation, server needs first to obtain with the originating city and transfer institute where origin
Connecting cities interurban communication scheme information, and obtain the mesh where the connecting cities and destination where transfer ground
City interurban communication scheme information (as shown in phantom in Figure 9).Then, according to where origin originate city with
The interurban communication scheme information of connecting cities where transfer ground determines origin and originates the city reached in city between ground
Urban transit system scheme information, and, determine that traffic plan is believed in the connecting cities in connecting cities between departure place and transfer ground
Breath.
Similarly, it when going to purpose city in acquisition connecting cities, reaches to go out in ground and purpose city in the connecting cities
Hair ground with then obtaining transfer and in connecting cities reaches traffic plan information (shown in solid in Fig. 9) in the city between ground,
And traffic plan information (shown in solid in Fig. 9) in city in purpose city between departure place and destination can be obtained.
Polymerizeing for traffic plan information and two interurban communication scheme informations in three cities is finally carried out, obtains to deposit
Traffic plan information when in transfer between origin and destination.
It should be noted that in this programme embodiment, server obtains origin between transfer ground according to the departure time
Traffic plan information implementation, and, transfer to the traffic plan information between destination implementation, all with
It is above-mentioned when there is no transfer, the realization principle of traffic plan information obtained between origin and destination is identical, ability
Field technique personnel are appreciated which is not described herein again.
In a kind of feasible implementation, server can be intercity by traffic plan information in three cities and two
Traffic plan information is polymerize, when obtaining origin to traffic plan information between destination, used polymerization side
It formula and above-mentioned by origin and originate traffic plan information in city in city between destination and originates city and purpose city
The interurban communication scheme information in city is polymerize, or the interurban communication scheme and purpose that will originate city and purpose city
The principle that traffic plan information in city between origin and destination is polymerize is identical, and those skilled in the art can manage
Solution, which is not described herein again.
Further, as shown in figure 4, server is after obtaining origin to the traffic plan information between destination,
Can by the output interface of itself to mobile terminal output par, c or whole origin to the traffic side between destination
Case information, in order to which mobile terminal further provides a user the traffic plan information.
It, can be according to sortord by the origin of acquisition to the friendship between destination in a concrete implementation scheme
Logical scheme information is ranked up, then that several traffic plan information in the top in ranking results are defeated by output interface
Go out, to realize the origin of output par, c to the traffic plan information between destination.
In another concrete implementation scheme, real-time computing engines can arrive the origin of acquisition according to sortord
Traffic plan information between destination is ranked up, and then exports ranking results by output interface, to realize that output is complete
The origin in portion is to the traffic plan information between destination.
For example, sortord can be ranked up from low to high according to price, alternatively, can also be according to the time by short
It is ranked up to length, both sortords by way of example only, are not limited to the sortord that this programme is mentioned.
For the traffic plan information obtained in step 104, step 107 or step 804, this programme embodiment carries herein
For the application mode of these traffic plan information, this programme embodiment provides following several application modes, including:
The first:According to the traffic plan information of acquisition, navigate.
Second:According to the traffic plan information of acquisition, electronic map is generated.
The third:According to the traffic plan information of acquisition, stroke planning is carried out.
4th kind:According to the traffic plan information of acquisition, display and the relevant point of interest in each destination, and show that this is emerging
The additional service information of interest point.
5th kind:The traffic plan information of acquisition is shared.
It should be noted that in above-mentioned five kinds of application modes, it can be applied individually to any one of which, or can also combine
Using therein two or more, it will be understood by those skilled in the art that this programme embodiment to this without being particularly limited to.
For example, in user after selecting a traffic plan information in the traffic plan information of offer, it can basis
The traffic plan information selected is navigated, wherein navigation includes:Practical navigation or analogue navigation are further actually led
Boat includes:Provide practical navigation Service to the user, analogue navigation includes:Simulated driving service is provided to the user, in order to allow use
Family can intuitively obtain the concrete condition in the traffic plan information.
After user selects a traffic plan information, electronically map can also be generated according to the traffic plan information,
Wherein, which includes the mark to the traffic plan information, user can be allowed intuitively to obtain traffic by the mark
The correlation circumstance of scheme information, such as:The total kilometrage of traffic plan information, the operating range in each section, each city or various regions
The weather etc. of point.
After user selects a traffic plan information, the traffic plan can also be shown according to the traffic plan information
Each city incity road information in information, wherein the road information includes:The road type to be passed through is (such as:Overpass, high speed,
Road etc. in highway, cell), the environmental information etc. of the width information and the road to be passed through of road to be passed through, Yong Huke
To be determined whether with reference to traffic plan information according to the road information of display.
After user selects a traffic plan information, it can also be shown and each destination according to the traffic plan information
The additional service information of relevant point of interest and the point of interest, in order to which user selects point of interest according to self-demand,
In, include with the relevant point of interest in destination:Between point of interest and two destinations in the specified range of destination on road
Point of interest, the type of point of interest can specifically include:Restaurant, parking lot, market, convenience store, recreation ground and hotel etc., and
The additional service information of the point of interest provided, such as consumption information (average consumption information, the consumption of unit interval of the point of interest
Information), the point of interest whether have it is preferential activity, the point of interest address information etc..
After user selects a traffic plan information, traffic plan information can also be shared, in order to other
User obtains the traffic plan information, increases the interaction mode between user.
This programme embodiment additionally provides a kind of specific implementation of overall interaction flow, referring to FIG. 10, it is this
The schematic diagram of overall interaction flow in the acquisition methods for the traffic information that Solution Embodiments are provided, as shown in Figure 10, this method
May include:
1001, user input on mobile terminals origin, transfer, destination, the departure time of origin and transfer
The stay time on ground.
1002, mobile terminal by origin input by user, transfer, destination, the departure time of origin and transfer
The stay time on ground is sent to server.
1003, server identifies that (this implementation is known as originating point of interest, quite for the point of interest that matches with the origin
Origin in above-described embodiment), with transfer (the present embodiment is known as transfer point of interest, is equivalent to for the point of interest that matches
Transfer in above-mentioned implementation), (the present embodiment is known as purpose point of interest, is equivalent to above-mentioned for the point of interest that matches with destination
Destination in embodiment).
1004, server is according to each point of interest identified, identifies originate city, transfer belonging to origin respectively
Purpose city belonging to affiliated connecting cities and destination.
1005, server according to the departure time, transfer ground residence time, to originate point of interest, transfer point of interest, purpose emerging
Interesting point originates city, connecting cities and purpose city, generates two five-tuples, including:
Five-tuple 1:Departure time-originates point of interest-and originates city-connecting cities-transfer point of interest
Five-tuple 2:Departure time-transfer point of interest-connecting cities-purpose city-purpose of transfer point of interest is emerging
Interesting point
1006, server calculates the traffic side originated between point of interest and transfer point of interest according to the element in five-tuple 1
Case information.
1006a, server calculate the interurban communication scheme information 1 for originating city and connecting cities according to the departure time.
1006b, server determine according to interurban communication scheme information 1 and originate arrival ground and connecting cities in city
Middle departure place.
1006c, server calculating originate point of interest and originate traffic plan information in the city reached in city between ground
2, and, calculate traffic plan information 3 in the city in connecting cities between departure place and transfer point of interest.
1006d, server are by traffic plan in traffic plan information 2 in interurban communication scheme information 1, city and city
Information 3 is polymerize, and obtains originating the traffic plan information A between point of interest and transfer point of interest.
1007, server calculates the traffic side between transfer point of interest and purpose point of interest according to the element in five-tuple 2
Case information.
1007a, server calculate when setting out of transfer point of interest according to the arrival time of transfer point of interest and stay time
Between, and according to the departure time of the transfer point of interest, calculate the interurban communication scheme information 4 of connecting cities and purpose city.
1007b, server determine according to interurban communication scheme information 4 and reach ground and purpose city in connecting cities
Middle departure place.
1007c, server calculate traffic plan information in the city reached in transfer point of interest and connecting cities between ground
5, and calculate traffic plan information 6 in the city in purpose city between departure place and purpose point of interest.
1007d, server are by traffic plan in traffic plan information 5 in interurban communication scheme information 4, city and city
Information 6 is polymerize, and the traffic plan information B between transfer point of interest and purpose point of interest is obtained.
1008, server will originate the traffic plan information A between point of interest and transfer point of interest, with transfer point of interest with
Traffic plan information B between purpose point of interest is polymerize, and obtains originating the traffic side between point of interest and purpose point of interest
Case information C.
1009, server will originate the traffic plan information C between point of interest and purpose point of interest according to specified sequence
Mode is ranked up, and obtains ranking results.
1010, server is according to ranking results, and output par, c or whole originate between point of interest and purpose point of interest
Traffic plan information to mobile terminal.
1011, mobile terminal shows that is received from server originates the friendship between point of interest and purpose point of interest to user
Logical scheme information.
Based on aforementioned overall procedure, this programme embodiment additionally provides a kind of specific implementation for overall procedure,
With origin be " mansions Zhong Kun " (Beijing), destination be Disney (Shanghai), departure date it is November 11 in the present embodiment
For, the implementation of traffic plan information of the acquisition " mansions Zhong Kun " between " Disney " is illustrated.It please join
Figure 11 is examined, another schematic diagram of overall interaction flow in the acquisition methods of the traffic information provided by this programme embodiment,
As shown in figure 11, this method may include:
1101, mobile terminal receives current location " mansions Zhong Kun " input by user, destination " Disney " (Shanghai), goes out
Send out the date " November 11 ".
1102, mobile terminal is by current " mansions Zhong Kun " of reception, destination " Disney ", departure date " November 11 "
It is sent to server.
1103, server identifies that the affiliated city that originates is " Beijing " according to origin " mansions Zhong Kun ", and according to
Identify that affiliated purpose city is Shanghai in destination " Disney ".
1104, server generates five-tuple:The mansions 11 days-Zhong Kun in November-Beijing-Shanghai-Disney.
1105, server first obtains the candidate between Beijing and Shanghai according to five-tuple using graph model shown in Fig. 5 b
Traffic plan information.
Specifically, as shown in Figure 5 b, " Beijing " and " Shanghai " is inputted graph model by server, and being found when graph model calculates can
Shanghai is gone to by Beijing to take high ferro or aircraft, obtains following candidate traffic plan information:
Candidate traffic plan information 1:Beijing South Station (Beijing) → 55 points of Hongqiao in Shanghai (Shanghai) high ferro G5 durations 4 hours
Candidate traffic plan information 2::Beijing South Station (Beijing) → 10 points of Hongqiao in Shanghai (Shanghai) high ferro G11 durations 5 hours
Candidate traffic plan information 3:Beijing South Station (Beijing) → 7 points of Hongqiao in Shanghai (Shanghai) motor-car D313 durations 10 hours
Candidate traffic plan information 4:The special fast T109 durations in Beijing South Station (Beijing) → Hongqiao in Shanghai (Shanghai) 15 hours 10
Point
Candidate traffic plan information 5:The Capital Airport (Beijing) → pudong airport (Shanghai) aircraft CA1501 durations 2 hours 10
Point
Candidate traffic plan information 6:The Capital Airport (Beijing) → pudong airport (Shanghai) aircraft M U8571 durations 2 hours
10 points
1106, server can be based further on duration and be screened to above-mentioned candidate traffic plan information, the present embodiment
In, 10 hours when duration threshold value, therefore candidate traffic plan information 3 and 4 is screened out, candidate traffic plan information 1,2,5 and 6 is made
For traffic plan information can be used, you can use traffic plan 1,2,3 and 4.
Traffic plan information 1 can be used:Beijing South Station (Beijing) → 55 points of Hongqiao in Shanghai (Shanghai) high ferro G5 durations 4 hours
Traffic plan information 2 can be used:Beijing South Station (Beijing) → 10 points of Hongqiao in Shanghai (Shanghai) high ferro G11 durations 5 hours
Traffic plan information 3 can be used:The Capital Airport (Beijing) → pudong airport (Shanghai) aircraft CA1501 durations 2 hours 10
Point
Traffic plan information 4 can be used:The Capital Airport (Beijing) → pudong airport (Shanghai) aircraft M U8571 durations 2 hours
10 points
1107, server carries out poll search, obtains respectively according to departure time and available traffic plan information 1,2,3 and 4
Obtain the remaining poll of each shift in November 11.Then, server is according to specifying number (such as 2 people of user number), each shift
Remaining poll can use traffic plan information 1,2,3 and 4, and discovery can be wherein 2 with the remaining poll of traffic plan information 2 and 4,
Therefore it is screened out, obtains the interurban communication scheme information in following Beijing → Shanghai:
Interurban communication scheme information 1:Beijing South Station (Beijing) → Hongqiao in Shanghai (Shanghai) high ferro G5, duration 4 hours 55
553 yuan of minute
Interurban communication scheme information 2:The Capital Airport (Beijing) → pudong airport (Shanghai) Air China CA1501 flights duration 2
760 yuan of 10 minutes hours
1108, server identifies that it is Beijing South Station to originate with being reached in city according to interurban communication scheme information 1, with
And identify that departure place is pudong airport in purpose city according to interurban communication scheme information 2.
1109, server acquisition originates traffic plan information in the mansions Nei Zhongkun to the city between Beijing South Station of city.
Such as:The mansions Zhong Kun → 140 yuan of Capital Airport taxi duration 60 minutes
The mansions Zhong Kun → 3 yuan of the line duration of Beijing South Station subway 4 20 minutes
1110, server obtains in purpose city traffic plan information in pudong airport to the city between Disney.
Such as:71 yuan of pudong airport → Disney taxi duration 50 minutes 2 hours
Hongqiao in Shanghai → Disney Line 2 Metro → No. 2 line → No. 16 line → No. 11 line duration 30 minutes 1 hour 10
Member
1111, server is according to interurban communication scheme information 1, interurban communication scheme information 2, the mansions Zhong Kun to Beijing
Traffic plan information in city between southern station, traffic plan information in pudong airport to the city between Disney, in acquisition
Traffic plan information between female mansion and Disney, such as:
Traffic plan information 1:
The mansions Zhong Kun → 140 yuan of Capital Airport taxi duration 60 minutes
The Capital Airport (Beijing) → 760 yuan of pudong airport (Shanghai) Air China CA1501 flights duration 10 minutes 2 hours
71 yuan of pudong airport → Disney taxi duration 50 minutes 2 hours
Traffic plan information 2:
The mansions Zhong Kun → 40 yuan of Beijing South Station taxi duration 35 minutes
Beijing South Station (Beijing) → Hongqiao in Shanghai (Shanghai) high ferro G5,553 yuan of duration 55 minutes 4 hours
Hongqiao in Shanghai → Disney Line 2 Metro → No. 2 line → No. 16 line → No. 11 line duration 30 minutes 1 hour 10
Member
1112, above-mentioned traffic plan information 1~2 is ranked up by server from low to high according to price, then by part
Or whole ranking results are exported to mobile terminal.
The embodiment of the present invention, which further provides, realizes the device embodiment of each step and method in above method embodiment.
This programme embodiment also provides a kind of acquisition device of traffic information, is set in above-mentioned server, please refers to figure
12, the functional block diagram of the acquisition device of the traffic information provided by this programme embodiment, as shown in figure 12, including:
Receiving unit 201, origin, destination and departure time for receiving user's offer;
Pre-calculation unit 202 originates city and destination institute where origin for according to the departure time, obtaining
Purpose city interurban communication scheme information;
Real-time computing unit 203, for according to the interurban communication scheme information, city urban transit system to be originated described in acquisition
Traffic plan information in scheme information and the purpose city;And by the interurban communication scheme information, described originate city
Traffic plan information is polymerize in urban transit system scheme information and the purpose city, obtains the origin and the purpose
Traffic plan information between ground.
In a kind of feasible implementation, the real-time computing unit 203 is specifically used for:
According to the interurban communication scheme information, determine described in originate reach in the city in go out in the purpose city
Hair ground;
Ground is reached in city according to the origin and described originate, and traffic plan information in city is originated described in acquisition;
And according to departure place in the destination and the purpose city, obtain traffic plan information in the purpose city.
In a kind of feasible implementation, the real-time computing unit 203 is specifically used for:
The starting point in the interurban communication scheme information is obtained, to reach in ground as described originate in city;
The terminal in the interurban communication scheme information is obtained, using as departure place in the purpose city.
In a kind of feasible implementation, the pre-calculation unit 202 is specifically used for:
The available traffic plan information between city and the purpose city is originated described in acquisition;
According to the departure time, it can be screened with traffic plan information to described, obtain the interurban communication side
Case information.
In a kind of feasible implementation, the pre-calculation unit 202 is specifically used for:
According to the departure time, the corresponding surplus resources of traffic plan information can be used described in acquisition;
The available traffic plan information that surplus resources meet predetermined condition is chosen, is believed as the interurban communication scheme
Breath.
In a kind of feasible implementation, the receiving unit 201 is additionally operable to:Being located at for reception user's offer originates
Transfer between ground and destination, the stay time on transfer ground;
The pre-calculation unit 202, is specifically used for:According to the origin, the transfer and the departure time, obtain
The interurban communication scheme information for originating city and the connecting cities where transfer ground where origin is taken, and, in
Turn the stay time on ground, the interurban communication scheme in the purpose city where connecting cities and destination where acquisition transfer ground
Information;
The real-time computing unit 203, is specifically used for:According in originating where city and transfer ground where origin
Turn the intercity of the purpose city where the connecting cities and destination where the interurban communication scheme information in city, transfer ground
Traffic plan information, acquisition originate traffic plan information in city, are handed in traffic plan information and purpose city in connecting cities
Logical scheme information;And it will originate that traffic plan information in city, traffic plan information, purpose are handed in city in connecting cities
The interurban communication scheme information for originating city and the connecting cities where transfer ground where logical scheme information, origin, in
Connecting cities where turning ground are polymerize with the interurban communication scheme information in the purpose city where destination, are obtained described
Traffic plan information between origin and the destination.
In a kind of feasible implementation, the real-time computing unit 203 is additionally operable to according to specified sortord,
Traffic plan information between the origin and the destination is ranked up, and obtains ranking results;
Described device further includes:First output unit 204, the ranking results for output par, c or whole.
In a kind of feasible implementation, when the destination for transfer when,
The receiving unit 201 is additionally operable to the departure time with obtaining the another object of user's offer with the transfer ground;
The real-time computing unit 203 is additionally operable to the departure time according to the transfer ground, with obtaining the transfer to institute
State the traffic plan information between another object ground;And the traffic plan between the origin and the transfer ground is believed
Breath is polymerize to the traffic plan information between the another object ground to the transfer, obtains the origin described in
Traffic plan information between another object ground.
In a kind of feasible implementation, the real-time computing unit 203 is additionally operable to:According to specified sortord,
The origin is ranked up to the traffic plan information between the another object ground, obtains ranking results;
Further include:Second output unit 205, the ranking results for output par, c or whole.
In a kind of feasible implementation, the specified sortord includes being ranked up from short to long according to the time
And/or it is ranked up from low to high according to price.
In a kind of feasible implementation, further include:
Information application unit 206 navigates for the traffic plan information according to acquisition;And/or it is obtained for basis
The traffic plan information obtained generates electronic map;And/or for the traffic plan information according to acquisition, carry out stroke planning;
And/or for the traffic plan information according to acquisition, display and the relevant point of interest in each destination, and show the point of interest
Additional service information;And/or for the traffic plan information of acquisition to be shared.
This programme embodiment also provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage
Medium storing computer instructs, and the computer instruction is for making the computer execute following below scheme:
Receive origin, destination and departure time that user provides;
According to the departure time, the city for originating city and the purpose city where destination where origin is obtained
Between traffic plan information;
According to the interurban communication scheme information, traffic plan information and the purpose city in city are originated described in acquisition
Urban transit system scheme information;
The interurban communication scheme information, described originate in city are handed in traffic plan information and the purpose city
Logical scheme information is polymerize, and the traffic plan information between the origin and the destination is obtained.
This programme embodiment also provides a kind of server, please refers to Fig.1 3, is the simplified block diagram of server 100.The clothes
Business device 100 may include the processor 101 being connect with one or more data storage facilities, which may include
Storage medium 102 and internal storage location 103.Server 100 can also include input interface 104, output interface 105, for it is another
One device or system are communicated.Storage medium 102 or memory are storable in by the CPU of processor 101 program codes executed
In unit 103.
Processor 101 in server 100 calls the program code for being stored in storage medium 102 or internal storage location 103, with
Execute following each step:
Origin, destination and the departure time that user provides are received by input interface 104;When according to described setting out
Between, obtain the interurban communication scheme information for originating city and the purpose city where destination where origin;According to institute
Interurban communication scheme information is stated, traffic plan letter in traffic plan information and the purpose city is originated in city described in acquisition
Breath;By the interurban communication scheme information, described originate traffic plan information and purpose city urban transit system side in city
Case information is polymerize, and the traffic plan information between the origin and the destination is obtained.
In a kind of feasible implementation, processor 101 determines the beginning according to the interurban communication scheme information
It sends out and reaches departure place in ground and the purpose city in city;Ground is reached in city according to the origin and described originate, and is obtained
Traffic plan information in city is originated described in taking;And according to departure place in the destination and the purpose city, obtain institute
State traffic plan information in purpose city.
In a kind of feasible implementation, processor 101 obtains the starting point in the interurban communication scheme information, with
Reach in ground as described originate in city;The terminal in the interurban communication scheme information is obtained, using as the purpose city
City departure place.
In a kind of feasible implementation, processor 101 obtains described originate between city and the purpose city
Traffic plan information can be used;According to the departure time, it can be screened with traffic plan information to described, obtain the city
Between traffic plan information.
In a kind of feasible implementation, processor 101 can use traffic plan according to the departure time described in acquisition
The corresponding surplus resources of information;The available traffic plan information that surplus resources meet predetermined condition is chosen, as described intercity
Traffic plan information.
In a kind of feasible implementation, processor 101 is originated by being located at for the reception user's offer of input interface 104
Transfer between ground and destination, the stay time on transfer ground;According to the origin, the transfer and it is described go out
The time is sent out, the interurban communication scheme information for originating city and the connecting cities where transfer ground where origin is obtained, with
And the stay time according to transfer ground, the city in the purpose city where connecting cities and destination where acquisition transfer ground
Between traffic plan information;And according to the intercity friendship for originating city and the connecting cities where transfer ground where origin
The interurban communication scheme information in the purpose city where connecting cities and destination where logical scheme information, transfer ground, is obtained
It takes and originates traffic plan information in city, traffic plan information in traffic plan information and purpose city in connecting cities;And
Traffic plan information in city, traffic plan information in connecting cities, traffic plan information, origin in purpose city will be originated
The interurban communication scheme information for originating city and the connecting cities where transfer ground at place, the connecting cities where transfer ground
It is polymerize with the interurban communication scheme information in the purpose city where destination, obtains the origin and the destination
Between traffic plan information.
In a kind of feasible implementation, processor 101 according to specified sortord, to the origin with it is described
Traffic plan information between destination is ranked up, and obtains ranking results;And by 105 output par, c of output interface or entirely
The ranking results in portion.
In a kind of feasible implementation, when the destination for transfer when, processor 101 can also obtain user
The another object of offer and the transfer ground departure time;According to the departure time on the transfer ground, the transfer is obtained
Ground is to the traffic plan information between the another object ground;By the traffic plan letter between the origin and the transfer ground
Breath is polymerize to the traffic plan information between the another object ground to the transfer, obtains the origin described in
Traffic plan information between another object ground.
In a kind of feasible implementation, processor 101 is according to specified sortord, to the origin described in
Traffic plan information between another object ground is ranked up, and obtains ranking results;And by 105 output par, c of output interface or
The ranking results of person's whole.
In a kind of feasible implementation, the specified sortord includes being ranked up from short to long according to the time
And/or it is ranked up from low to high according to price.
In a kind of feasible implementation, processor 101 can also be led according to the traffic plan information of acquisition
Boat;And/or the traffic plan information according to acquisition, generate electronic map;And/or the traffic plan information according to acquisition, into
Row stroke planning;And/or the traffic plan information according to acquisition, display and the relevant point of interest in each destination, and display should
The additional service information of point of interest;And/or the traffic plan information of acquisition is shared.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.
Claims (23)
1. a kind of acquisition methods of traffic information, which is characterized in that including:
Receive origin, destination and departure time that user provides;
According to the departure time, the intercity friendship for originating city and the purpose city where destination where origin is obtained
Logical scheme information;
According to the interurban communication scheme information, acquisition originates in city traffic plan in traffic plan information and purpose city
Information;
By the interurban communication scheme information, described originate traffic plan information and purpose city urban transit system side in city
Case information is polymerize, and the traffic plan information between the origin and the destination is obtained.
2. according to the method described in claim 1, it is characterized in that, according to the interurban communication scheme information, acquisition originates
Traffic plan information in traffic plan information and purpose city in city, including:
According to the interurban communication scheme information, determine described in originate reach in the city in set out in the purpose city
Ground;
Ground is reached in city according to the origin and described originate, and traffic plan information in city is originated described in acquisition;And
According to departure place in the destination and the purpose city, traffic plan information in the purpose city is obtained.
3. according to the method described in claim 2, it is characterized in that, according to the interurban communication scheme information, described in determination
Originate in city reach and the purpose city in departure place, including:
The starting point in the interurban communication scheme information is obtained, to reach in ground as described originate in city;
The terminal in the interurban communication scheme information is obtained, using as departure place in the purpose city.
4. according to the method described in claim 1, it is characterized in that, according to the departure time, the beginning where origin is obtained
The interurban communication scheme information in city and the purpose city where destination is sent out, including:
The available traffic plan information between city and the purpose city is originated described in acquisition;
It according to the departure time, can be screened with traffic plan information to described, obtain the interurban communication scheme letter
Breath.
5. according to the method described in claim 4, it is characterized in that, according to the departure time, traffic plan is used to described
Information is screened, and the interurban communication scheme information is obtained, including:
According to the departure time, the corresponding surplus resources of traffic plan information can be used described in acquisition;
The available traffic plan information that surplus resources meet predetermined condition is chosen, as the interurban communication scheme information.
6. the method according to any one of claims 1 to 5, it is characterized in that,
It is described receive user provide origin, destination and departure time further include:Receive user's offer is located at origin
Transfer between destination, the stay time on transfer ground;
According to the departure time, the intercity friendship for originating city and the purpose city where destination where origin is obtained
Logical scheme information, including:According to the origin, the transfer and the departure time, obtain origin where originate
The interurban communication scheme information in city and the connecting cities where transfer ground, and, according to the stay time on transfer ground, obtain
The interurban communication scheme information in the purpose city where connecting cities and destination where transfer ground;
According to the interurban communication scheme information, acquisition originates in city traffic plan in traffic plan information and purpose city
Information, including:According to where origin the interurban communication scheme information for originating the connecting cities where city and transfer ground,
The interurban communication scheme information in the purpose city where connecting cities and destination where transfer ground, acquisition originate in city
Traffic plan information in traffic plan information and purpose city in traffic plan information, connecting cities;
By the interurban communication scheme information, described originate traffic plan information and purpose city urban transit system side in city
Case information is polymerize, including:Traffic plan information in city, traffic plan information, purpose city in connecting cities will be originated
The interurban communication scheme for originating city and the connecting cities where transfer ground where interior traffic plan information, origin is believed
Connecting cities where breath, transfer ground are polymerize with the interurban communication scheme information in the purpose city where destination, are obtained
To the traffic plan information between the origin and the destination.
7. method according to claim 1 or 6, which is characterized in that further include:
According to specified sortord, the traffic plan information between the origin and the destination is ranked up, and is obtained
To ranking results;
The ranking results of output par, c or whole.
8. the method according to any one of claims 1 to 5, it is characterized in that, when the destination for transfer when, also
Including:
With obtaining the another object that user the provides departure time with the transfer ground;
According to the departure time on the transfer ground, the traffic plan letter between the another object ground is arrived with obtaining the transfer
Breath;
By between the origin and the transfer ground traffic plan information, the transfer between the another object ground
Traffic plan information polymerize, obtain the origin to the traffic plan information between the another object ground.
9. method as claimed in claim 8, which is characterized in that further include:
According to specified sortord, the origin is arranged to the traffic plan information between the another object ground
Sequence obtains ranking results;
The ranking results of output par, c or whole.
10. the method according to claim 7 or 9, which is characterized in that the specified sortord include according to the time by
Length is short to be ranked up and/or be ranked up from low to high according to price.
11. according to the method described in claim 1,6 or 8, which is characterized in that further include:
According to the traffic plan information of acquisition, navigate;And/or
According to the traffic plan information of acquisition, electronic map is generated;And/or
According to the traffic plan information of acquisition, stroke planning is carried out;And/or
According to the traffic plan information of acquisition, display and the relevant point of interest in each destination, and show the additional of the point of interest
Information on services;And/or
The traffic plan information of acquisition is shared.
12. a kind of acquisition device of traffic information, which is characterized in that including:
Receiving unit, origin, destination and departure time for receiving user's offer;
Pre-calculation unit, for according to the departure time, obtaining the mesh originated where city and destination where origin
City interurban communication scheme information;
Real-time computing unit, for according to the interurban communication scheme information, acquisition originate in city traffic plan information and
Traffic plan information in purpose city;And the interurban communication scheme information, the traffic plan that originates in city are believed
Traffic plan information is polymerize in breath and the purpose city, obtains the traffic side between the origin and the destination
Case information.
13. device according to claim 12, which is characterized in that the real-time computing unit is specifically used for:
According to the interurban communication scheme information, determine described in originate reach in the city in set out in the purpose city
Ground;
Ground is reached in city according to the origin and described originate, and traffic plan information in city is originated described in acquisition;And
According to departure place in the destination and the purpose city, traffic plan information in the purpose city is obtained.
14. device according to claim 13, which is characterized in that the real-time computing unit is specifically used for:
The starting point in the interurban communication scheme information is obtained, to reach in ground as described originate in city;
The terminal in the interurban communication scheme information is obtained, using as departure place in the purpose city.
15. device according to claim 12, which is characterized in that the pre-calculation unit is specifically used for:
The available traffic plan information between city and the purpose city is originated described in acquisition;
It according to the departure time, can be screened with traffic plan information to described, obtain the interurban communication scheme letter
Breath.
16. device according to claim 15, which is characterized in that the pre-calculation unit is specifically used for:
According to the departure time, the corresponding surplus resources of traffic plan information can be used described in acquisition;
The available traffic plan information that surplus resources meet predetermined condition is chosen, as the interurban communication scheme information.
17. the device according to any one of claim 12 to 16, which is characterized in that
The receiving unit, is additionally operable to:With receiving the transfer between origin and destination that user provides, the transfer
The stay time on ground;
The pre-calculation unit, is specifically used for:According to the origin, the transfer and the departure time, acquisition originate
The interurban communication scheme information for originating city and the connecting cities where transfer ground where ground, and, according to transfer ground
Stay time, the interurban communication scheme information in the purpose city where connecting cities and destination where acquisition transfer ground;
The real-time computing unit, is specifically used for:City and the connecting cities where transfer ground are originated according to where origin
Interurban communication scheme information, purpose city where connecting cities and destination where transfer ground interurban communication side
Case information, acquisition originates traffic plan information in city, traffic plan in traffic plan information and purpose city in connecting cities
Information;And traffic plan information in city, traffic plan information in connecting cities, traffic plan in purpose city will be originated
The interurban communication scheme information for originating the connecting cities where city and transfer ground, transfer where information, origin ground institute
Connecting cities polymerize with the interurban communication scheme information in the purpose city where destination, obtain the origin
Traffic plan information between the destination.
18. the device according to claim 12 or 17, which is characterized in that
The real-time computing unit is additionally operable to according to specified sortord, between the origin and the destination
Traffic plan information is ranked up, and obtains ranking results;
Described device further includes:First output unit, the ranking results for output par, c or whole.
19. the device according to any one of claim 12 to 16, which is characterized in that when the destination for transfer
When,
The receiving unit is additionally operable to the departure time with obtaining the another object of user's offer with the transfer ground;
The real-time computing unit is additionally operable to the departure time according to the transfer ground, arrives with obtaining the transfer described another
Traffic plan information between destination;And by the traffic plan information, described between the origin and the transfer ground
It is polymerize to the traffic plan information between the another object ground to transfer, obtains the origin to the another object
Traffic plan information between ground.
20. device according to claim 19, which is characterized in that
The real-time computing unit, is additionally operable to:According to specified sortord, to the origin to the another object it
Between traffic plan information be ranked up, obtain ranking results;
Further include:Second output unit, the ranking results for output par, c or whole.
21. the device according to claim 18 or 20, which is characterized in that the specified sortord includes according to the time
It is ranked up and/or is ranked up from low to high according to price from short to long.
22. according to the device described in claim 12,17 or 19, which is characterized in that further include:
Information application unit navigates for the traffic plan information according to acquisition;And/or for the traffic according to acquisition
Scheme information generates electronic map;And/or for the traffic plan information according to acquisition, carry out stroke planning;And/or it uses
In the traffic plan information according to acquisition, display and the relevant point of interest in each destination, and show the additional clothes of the point of interest
Business information;And/or for the traffic plan information of acquisition to be shared.
23. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, the computer instruction is for making the computer execute following below scheme:
Receive origin, destination and departure time that user provides;
According to the departure time, the intercity friendship for originating city and the purpose city where destination where origin is obtained
Logical scheme information;
According to the interurban communication scheme information, acquisition originates in city traffic plan in traffic plan information and purpose city
Information;
By the interurban communication scheme information, described originate traffic plan information and purpose city urban transit system side in city
Case information is polymerize, and the traffic plan information between the origin and the destination is obtained.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710023102.9A CN108304951A (en) | 2017-01-12 | 2017-01-12 | Acquisition methods, device and the non-transient computer readable storage medium of traffic information |
TW106137900A TW201825870A (en) | 2017-01-12 | 2017-11-02 | Method and device for acquiring traffic information and non-transitory computer-readable storage medium |
PCT/CN2017/119673 WO2018130084A1 (en) | 2017-01-12 | 2017-12-29 | Method and device for acquiring traffic information and non-transitory computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710023102.9A CN108304951A (en) | 2017-01-12 | 2017-01-12 | Acquisition methods, device and the non-transient computer readable storage medium of traffic information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108304951A true CN108304951A (en) | 2018-07-20 |
Family
ID=62840257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710023102.9A Pending CN108304951A (en) | 2017-01-12 | 2017-01-12 | Acquisition methods, device and the non-transient computer readable storage medium of traffic information |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN108304951A (en) |
TW (1) | TW201825870A (en) |
WO (1) | WO2018130084A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109949093A (en) * | 2019-03-20 | 2019-06-28 | 携程旅游网络技术(上海)有限公司 | Favor information method for pushing, system, electronic equipment and storage medium |
CN111121801A (en) * | 2018-10-30 | 2020-05-08 | 丰田自动车株式会社 | Information providing device, information providing system, information providing method, and recording medium |
CN111915404A (en) * | 2020-08-04 | 2020-11-10 | 携程旅游网络技术(上海)有限公司 | Method, system, equipment and storage medium for displaying multiple groups of traffic schemes |
CN111985987A (en) * | 2019-05-22 | 2020-11-24 | 上海博泰悦臻网络技术服务有限公司 | Multi-trip travel service implementation method, terminal and system |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110956315A (en) * | 2019-11-20 | 2020-04-03 | 深圳市活力天汇科技股份有限公司 | Method for determining air-rail transport transfer scheme |
CN111415034A (en) * | 2020-03-11 | 2020-07-14 | 北京光速斑马数据科技有限公司 | Intelligent route arranging and planning method, system, terminal and storage medium |
CN112288185B (en) * | 2020-11-13 | 2023-07-25 | 腾讯科技(深圳)有限公司 | Traffic route display method, device, equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1588373A (en) * | 2004-10-22 | 2005-03-02 | 侯清富 | General method and its program for automatic search public traffic path |
CN1871499A (en) * | 2003-09-30 | 2006-11-29 | 株式会社建伍 | Guide route search device and guide route search method |
WO2013127417A1 (en) * | 2012-03-01 | 2013-09-06 | Audi Ag | Method for planning an intermodal journey |
CN103678489A (en) * | 2013-11-12 | 2014-03-26 | 中国联合网络通信有限公司广东省分公司 | Smart city travel information recommending method and device |
CN105115513A (en) * | 2015-09-08 | 2015-12-02 | 深圳中创未来科技有限公司 | Method, device, server and client for obtaining trip plan |
CN107024217A (en) * | 2016-02-01 | 2017-08-08 | 北京迈维出行科技有限公司 | The method of the route planning of Intercity Transportation, apparatus and system |
-
2017
- 2017-01-12 CN CN201710023102.9A patent/CN108304951A/en active Pending
- 2017-11-02 TW TW106137900A patent/TW201825870A/en unknown
- 2017-12-29 WO PCT/CN2017/119673 patent/WO2018130084A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871499A (en) * | 2003-09-30 | 2006-11-29 | 株式会社建伍 | Guide route search device and guide route search method |
CN1588373A (en) * | 2004-10-22 | 2005-03-02 | 侯清富 | General method and its program for automatic search public traffic path |
WO2013127417A1 (en) * | 2012-03-01 | 2013-09-06 | Audi Ag | Method for planning an intermodal journey |
CN103678489A (en) * | 2013-11-12 | 2014-03-26 | 中国联合网络通信有限公司广东省分公司 | Smart city travel information recommending method and device |
CN105115513A (en) * | 2015-09-08 | 2015-12-02 | 深圳中创未来科技有限公司 | Method, device, server and client for obtaining trip plan |
CN107024217A (en) * | 2016-02-01 | 2017-08-08 | 北京迈维出行科技有限公司 | The method of the route planning of Intercity Transportation, apparatus and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111121801A (en) * | 2018-10-30 | 2020-05-08 | 丰田自动车株式会社 | Information providing device, information providing system, information providing method, and recording medium |
CN109949093A (en) * | 2019-03-20 | 2019-06-28 | 携程旅游网络技术(上海)有限公司 | Favor information method for pushing, system, electronic equipment and storage medium |
CN109949093B (en) * | 2019-03-20 | 2021-08-24 | 携程旅游网络技术(上海)有限公司 | Preferential information pushing method and system, electronic equipment and storage medium |
CN111985987A (en) * | 2019-05-22 | 2020-11-24 | 上海博泰悦臻网络技术服务有限公司 | Multi-trip travel service implementation method, terminal and system |
CN111915404A (en) * | 2020-08-04 | 2020-11-10 | 携程旅游网络技术(上海)有限公司 | Method, system, equipment and storage medium for displaying multiple groups of traffic schemes |
Also Published As
Publication number | Publication date |
---|---|
TW201825870A (en) | 2018-07-16 |
WO2018130084A1 (en) | 2018-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108304951A (en) | Acquisition methods, device and the non-transient computer readable storage medium of traffic information | |
US9255809B2 (en) | System and method for integrated trip planning based on fixed and flexible itinerary components | |
Balac et al. | The prospects of on-demand urban air mobility in Zurich, Switzerland | |
US9488487B2 (en) | Route detection in a trip-oriented message data communications system | |
CN104200696B (en) | The method for pushing and device of a kind of transport information | |
US20150012210A1 (en) | System and method for journey planning, finding k shortest paths through a time/space network | |
CN103678489A (en) | Smart city travel information recommending method and device | |
CN111310077B (en) | Passenger intelligent journey recommendation system and method | |
Tian et al. | Noah: a dynamic ridesharing system | |
CN109598372A (en) | Travel plan planing method and shared traffic system based on the shared traffic of green | |
CN105468580A (en) | Attention point information based method and apparatus for providing service | |
WO2001059633A1 (en) | Integrated journey planner | |
US20140358603A1 (en) | Iterative public transit scoring | |
Antsfeld et al. | Finding multi-criteria optimal paths in multi-modal public transportation networks using the transit algorithm | |
US20120259669A1 (en) | System and method of generating interactive digital mapping integration of travel plans | |
CN101587650A (en) | GPS bus transfering navigation method and system thereof | |
CN109829120A (en) | A kind of Tourism Information Applying System | |
CN104636457B (en) | A kind of method and device of location finding cognition | |
CN110779536A (en) | Information processing method, information display method, device, terminal and server | |
CN107609080A (en) | A kind of map datum acquisition methods and system, electronic equipment and storage medium | |
CN113704379B (en) | Travel route generation method, system and storage medium based on full route | |
US20130085665A1 (en) | Controlling system and method for appointment | |
Zar et al. | Finding shortest path and transit nodes in public transportation system | |
CN103839424B (en) | A kind of taxi empty navigational system and method based on recruiting car expectation value | |
CN109726868A (en) | Paths planning method, device and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180720 |