TW201825870A - Method and device for acquiring traffic information and non-transitory computer-readable storage medium - Google Patents

Method and device for acquiring traffic information and non-transitory computer-readable storage medium Download PDF

Info

Publication number
TW201825870A
TW201825870A TW106137900A TW106137900A TW201825870A TW 201825870 A TW201825870 A TW 201825870A TW 106137900 A TW106137900 A TW 106137900A TW 106137900 A TW106137900 A TW 106137900A TW 201825870 A TW201825870 A TW 201825870A
Authority
TW
Taiwan
Prior art keywords
city
destination
information
plan information
transportation plan
Prior art date
Application number
TW106137900A
Other languages
Chinese (zh)
Inventor
王冬
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201825870A publication Critical patent/TW201825870A/en

Links

Classifications

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

Landscapes

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

Abstract

Provided in the embodiments of the present solution are a method and a device for acquiring traffic information, and a non-transitory computer-readable storage medium. In the embodiments of the present solution, the method comprises: receiving an origin, a destination, and a departure time provided by a user; according to the departure time, acquiring information concerning an intercity traffic solution between an origin city, at which the origin is located, and a destination city, at which the destination is located; according to the information concerning the intercity traffic solution, acquiring information concerning a traffic solution within the origin city and information concerning a traffic solution within the destination city; aggregating the information concerning the intercity traffic solution, the information concerning the traffic solution within the origin city and the information concerning the traffic solution within the destination city, to obtain information concerning a traffic solution between the origin and the destination. The embodiments of the present solution aim to solve the problem in prior art that it is impossible to provide a more efficient point-to-point traffic solution to users.

Description

交通資訊的獲取方法、裝置及非暫態電腦可讀儲存媒體Method and device for acquiring traffic information and non-transitory computer-readable storage medium

本發明係關於智能交通技術領域,尤其關於一種交通信息的獲取方法、裝置及暫態電腦可讀儲存媒體。The present invention relates to the technical field of intelligent transportation, and more particularly to a method and device for acquiring traffic information and a transient computer-readable storage medium.

對於城市之間的大交通問題,目前傳統的出發方式主要依賴航空、鐵路或者公路等。目前主要導航軟體給出的是如下幾種實現方式:   第一種:駕車方式下的路徑解決方案。   第二種:城市之間的大交通方案,例如,鐵路班次、航空班次、航運班次。   第一種方式中主要針對駕車用戶。對於更多的普通用戶,尤其是長途旅行用戶,更多的是選擇第二種方式。   但是,第二種方式下,用戶從當前所在城市內的始發地到達的另一城市內的目的地之間不只是大交通問題,還需要解決從當前所在城市內的始發地如何到達航站樓、火車站或者長途車站的交通問題,相應的,還需要解決從另一城市內的航站樓、火車站或者長途車站到達目的地之間的交通問題。目前,從一個城市的一個地點到另一個城市的一個地點的出發稱為點到點出發。   現有技術中,行程規劃類軟體,如旅遊類軟體、地圖類軟體、導航類軟體等,能夠實現城市到城市之間的交通方案推薦。例如,用戶使用移動終端上安裝的旅遊類軟體,能夠得到城市之間的交通方案推薦。然而,這些行程規劃類應用無法在獲取城市之間交通方案的同時一併獲取到從當前所在城市內的位置與達航站樓、火車站或者長途車站之間的交通方案,也無法獲取到從另一城市內的航站樓、火車站或者長途車站到達目的位置之間的交通方案,而且更加無法有效地將城市內交通方案和城市間交通方案的多個方案的整合,以向用戶提供更為高效的點到點出發的交通方案。For large-scale transportation problems between cities, the traditional starting method currently relies mainly on aviation, railways or highways. At present, the main navigation software provides the following implementation methods: The first type: the path solution in the driving mode. Second type: big transportation plan between cities, for example, railway, air, and shipping. The first method is mainly for driving users. For more ordinary users, especially long-distance travel users, the second option is more. However, in the second method, the user does not only have a big traffic problem between destinations in another city from the origin in the current city, but also how to reach the airline from the origin in the current city. Traffic problems at stations, train stations, or long-distance stations need to be addressed accordingly. Traffic problems between terminals, train stations, or long-distance stations in another city need to be resolved. Currently, a departure from one location in one city to a location in another city is called a point-to-point departure. In the prior art, itinerary planning software, such as tourism software, map software, navigation software, etc., can implement city-to-city transportation plan recommendations. For example, a user can use a travel software installed on a mobile terminal to get a recommendation for a transportation plan between cities. However, these itinerary planning applications cannot simultaneously obtain the transportation plan between the current location in the city and the terminal, train station or long-distance station while obtaining the transportation plan between cities. The transportation scheme between the terminal, train station or long-distance station in another city to the destination, and it is more difficult to effectively integrate the multiple schemes of the urban transport scheme and the inter-city transport scheme to provide users with more An efficient point-to-point transportation solution.

有鑒於此,本案實施例提供了一種交通信息的獲取方法、裝置及暫態電腦可讀儲存媒體,用以解決現有技術中無法向用戶提供更為高效的點到點出發的交通方案的問題。   一方面,本發明實施例提供了一種交通信息的獲取方法,包括:   接收用戶提供的始發地、目的地和出發時間;   根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息;   將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息,包括:   根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地;   根據所述始發地和所述始發城市內到達地,獲取所述始發城市內交通方案信息;以及,根據所述目的地和所述目的城市內出發地,獲取所述目的城市內交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地,包括:   獲取所述城市間交通方案信息中的起點,以作為所述始發城市內到達地;   獲取所述城市間交通方案信息中的終點,以作為所述目的城市內出發地。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息,包括:   獲取所述始發城市與所述目的城市之間的可用交通方案信息;   根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息,包括:   根據所述出發時間,獲取所述可用交通方案信息對應的剩餘資源;   選取剩餘資源滿足預定條件的可用交通方案信息,作為所述城市間交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述接收用戶提供的始發地、目的地和出發時間還包括:接收用戶提供的位於始發地和目的地之間的中轉地、所述中轉地的停留時長;   根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息,包括:根據所述始發地、所述中轉地和所述出發時間,獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及,根據中轉地的停留時長,獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息;   根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息,包括:根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息,獲取始發城市內交通方案信息、中轉城市內交通方案信息和目的城市內交通方案信息;   將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,包括:將始發城市內交通方案信息、中轉城市內交通方案信息、目的城市內交通方案信息、始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,還包括:   根據指定的排序方式,對所述始發地與所述目的地之間的交通方案信息進行排序,得到排序結果;   輸出部分或者全部的所述排序結果。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,當所述目的地為中轉地時,還包括:   獲取用戶提供的另一目的地和所述中轉地的出發時間;   根據所述中轉地的出發時間,獲得所述中轉地到所述另一目的地之間的交通方案信息;   將所述始發地與所述中轉地之間的交通方案信息、所述中轉地到所述另一目的地之間的交通方案信息進行結合,得到所述始發地到所述另一目的地之間的交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,還包括:   根據指定的排序方式,對所述始發地到所述另一目的地之間的交通方案信息進行排序,得到排序結果;   輸出部分或者全部的所述排序結果。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述指定的排序方式包括按照時間由短到長進行排序和/或按照價格由低到高進行排序。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,還包括:   根據獲得的交通方案信息,進行導航;和/或,   根據獲得的交通方案信息,產生電子地圖;和/或,   根據獲得的交通方案信息,進行行程規劃;和/或,   根據獲得的交通方案信息,顯示與各目的地相關的興趣點,以及顯示該興趣點的附加服務信息;和/或,   將獲得的交通方案信息進行共享。   另一方面,本發明實施例提供了一種交通信息的獲取裝置,包括:   接收單元,用於接收用戶提供的始發地、目的地和出發時間;   預計算單元,用於根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   實時計算單元,用於根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息;以及,將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述實時計算單元具體用於:   根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地;   根據所述始發地和所述始發城市內到達地,獲取所述始發城市內交通方案信息;以及,根據所述目的地和所述目的城市內出發地,獲取所述目的城市內交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述實時計算單元具體用於:   獲取所述城市間交通方案信息中的起點,以作為所述始發城市內到達地;   獲取所述城市間交通方案信息中的終點,以作為所述目的城市內出發地。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述預計算單元具體用於:   獲取所述始發城市與所述目的城市之間的可用交通方案信息;   根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述預計算單元具體用於:   根據所述出發時間,獲取所述可用交通方案信息對應的剩餘資源;   選取剩餘資源滿足預定條件的可用交通方案信息,作為所述城市間交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述接收單元,還用於:接收用戶提供的位於始發地和目的地之間的中轉地、所述中轉地的停留時長;   所述預計算單元,具體用於:根據所述始發地、所述中轉地和所述出發時間,獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及,根據中轉地的停留時長,獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息;   所述實時計算單元,具體用於:根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息,獲取始發城市內交通方案信息、中轉城市內交通方案信息和目的城市內交通方案信息;以及,將始發城市內交通方案信息、中轉城市內交通方案信息、目的城市內交通方案信息、始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述實時計算單元,還用於根據指定的排序方式,對所述始發地與所述目的地之間的交通方案信息進行排序,得到排序結果;   所述裝置還包括:第一輸出單元,用於輸出部分或者全部的所述排序結果。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,當所述目的地為中轉地時,   所述接收單元,還用於獲取用戶提供的另一目的地和所述中轉地的出發時間;   所述實時計算單元,還用於根據所述中轉地的出發時間,獲得所述中轉地到所述另一目的地之間的交通方案信息;以及,將所述始發地與所述中轉地之間的交通方案信息、所述中轉地到所述另一目的地之間的交通方案信息進行結合,得到所述始發地到所述另一目的地之間的交通方案信息。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述實時計算單元,還用於:根據指定的排序方式,對所述始發地到所述另一目的地之間的交通方案信息進行排序,得到排序結果;   還包括:第二輸出單元,用於輸出部分或者全部的所述排序結果。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,所述指定的排序方式包括按照時間由短到長進行排序和/或按照價格由低到高進行排序。   如上所述的方面和任一可能的實現方式,進一步提供一種實現方式,還包括:   信息應用單元,用於根據獲得的交通方案信息,進行導航;和/或,用於根據獲得的交通方案信息,產生電子地圖;和/或,用於根據獲得的交通方案信息,進行行程規劃;和/或,用於根據獲得的交通方案信息,顯示與各目的地相關的興趣點,以及顯示該興趣點的附加服務信息;和/或,用於將獲得的交通方案信息進行共享。   另一方面,本發明實施例提供了一種非暫態電腦可讀儲存媒體,非暫態電腦可讀儲存媒體儲存電腦指令,所述電腦指令用於使所述電腦執行以下流程:   接收用戶提供的始發地、目的地和出發時間;   根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息;   將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   上述技術方案中的一個技術方案具有如下有益效果:   本案實施例能夠在得到城市間交通方案之後,確定始發城市內交通方案信息和目的城市內交通方案信息,然後將始發城市內的交通方案、目的城市內的交通方案、城市間交通方案進行結合,得到始發地與目的地之間的交通方案,能夠在獲取城市之間交通方案的同時一併和獲取到當前所在城市內交通方案以及前往城市內交通方案,有效地將城市內交通方案和城市間交通方案的多個方案的整合,從而向用戶提供了更為高效的點到點出發的交通方案,解決了現有技術中無法向用戶提供更為高效的點到點出發的交通方案的問題。In view of this, embodiments of the present invention provide a method, a device, and a transient computer-readable storage medium for acquiring traffic information, which are used to solve the problem that the user cannot provide a more efficient point-to-point transportation solution in the prior art. In one aspect, an embodiment of the present invention provides a method for acquiring traffic information, including: receiving an origin, a destination, and a departure time provided by a user; ; obtaining an origin city and a destination where the origin is located according to the departure time Information on the inter-city transportation plan of the destination city; 获取 Acquire the information of the intra-city transportation plan and the information of the intra-city transportation plan according to the inter-city transportation plan information; The inter-city transportation plan information and the origin city The internal transportation plan information is combined with the transportation plan information in the destination city to obtain the transportation plan information between the origin and the destination. According to the aspect described above and any possible implementation manner, an implementation manner is further provided. According to the inter-city transportation scheme information, obtaining the information on the transportation scheme in the originating city and the information on the transportation scheme in the destination city includes: According to the city Inter-city transportation plan information, determining the place of arrival in the originating city and the place of departure in the destination city; 获取 obtaining the information of the traffic plan in the originating city according to the place of origin and the place of arrival in the originating city; And, according to the destination and the departure point in the destination city, the traffic plan information in the destination city is obtained. The aspect described above and any possible implementation manner further provide an implementation manner, and determining the arrival place in the originating city and the departure place in the destination city based on the inter-city transportation plan information, including: The starting point in the inter-city transportation plan information is used as the arrival place in the originating city; the end point in the inter-city transportation plan information is obtained as the starting point in the destination city. The aspect described above and any possible implementation manner further provide an implementation manner, and acquiring, according to the departure time, information about an intercity transportation plan of an originating city where the originating place is and a destination city where the destination is located, including: Obtaining available traffic plan information between the originating city and the destination city; 筛选 filtering the available traffic plan information according to the departure time to obtain the inter-city traffic plan information. The aspect described above and any possible implementation manner further provide an implementation manner, and filtering the available transportation plan information according to the departure time to obtain the inter-city transportation plan information includes: According to the departure Time to obtain the remaining resources corresponding to the available transportation plan information; selecting available transportation plan information with remaining resources meeting predetermined conditions as the inter-city transportation plan information. The aspect described above and any possible implementation manner further provide an implementation manner. The receiving user provides an origin, a destination, and a departure time, and further includes: between the origin and the destination provided by the receiving user. The transit point and the length of stay of the transit point; 获取 Acquiring the information about the inter-city transportation plan of the originating city where the departure place is located and the destination city where the destination is located according to the departure time, including: The departure place, the transit place, and the departure time, to obtain information on the inter-city transportation plan of the origin city where the departure place is and the transit city where the transfer place is, and, based on the length of stay in the transit place, Obtaining inter-city transportation plan information of the transit city where the transit point is located and the destination city where the destination is located; Acquiring the information of the intra-city transportation plan information and the destination city's transportation plan information according to the inter-city transportation plan information, including: According to the inter-city transportation plan information of the origin city where the origin city is located and the transit city where the transit location is, the transit city where the transit location is and The inter-city transportation plan information of the destination city where the destination is located, to obtain the information of the intra-city transportation plan, the inter-city transportation plan information, and the intra-city transportation plan information; the inter-city transportation plan information, the origination The combination of the intra-city transportation plan information and the destination intra-city transportation plan information includes: combining the intra-city transportation plan information, the transit urban transportation plan information, the destination urban transportation plan information, and the origin The inter-city transportation plan information of the transit city where the city and the transit place are located, and the inter-city transportation plan information of the transit city where the transit place is located and the destination city where the destination is located are combined to obtain the origin and the Traffic plan information between destinations. The aspect described above and any possible implementation manner further provide an implementation manner, further comprising: 排序 sorting the traffic plan information between the origin and the destination according to a specified sorting manner to obtain a sorting Results; (i) output part or all of the sorted results. The above aspect and any possible implementation manner further provide an implementation manner. When the destination is a transit point, the method further includes: obtaining another destination provided by the user and a departure time of the transit point. ; 获得 obtain traffic plan information between the transit place and the other destination according to the departure time of the transit place; compare the traffic plan information between the origin place and the transit place, The traffic plan information between the transit point and the other destination is combined to obtain the traffic plan information between the origin point and the other destination. The above aspect and any possible implementation manner further provide an implementation manner, further comprising: 排序 sorting the traffic plan information from the origin to the other destination according to a specified sorting manner, Get a sorting result; (i) output part or all of the sorting result. The aspect described above and any possible implementation manner, further providing an implementation manner, the specified sorting manner includes sorting from short to long in time and / or sorting from low to high in price. The above aspect and any possible implementation manner further provide an implementation manner, further comprising: navigation based on the obtained traffic plan information; and / or, 产生 generating an electronic map based on the obtained traffic plan information; and / or , 进行 make a trip plan based on the obtained traffic plan information; and / or, show the points of interest related to each destination and the additional service information of the points of interest based on the obtained traffic plan information; and / or, Share traffic plan information. On the other hand, an embodiment of the present invention provides a device for acquiring traffic information, including: a receiving unit for receiving a departure place, a destination, and a departure time provided by a user; a pre-calculation unit for receiving the departure time, Obtaining inter-city transportation plan information of the originating city where the originating place is located and the destination city where the destination is located; a real-time calculation unit for obtaining the transportation plan information within the originating city and the destination city based on the inter-city transportation plan information. Traffic plan information; and combining the inter-city traffic plan information, the originating city traffic plan information, and the destination city traffic plan information to obtain the information between the origin and the destination. Transportation plan information. The aspect described above and any possible implementation manner further provide an implementation manner, and the real-time calculation unit is specifically configured to: determine the arrival place and the destination in the originating city according to the inter-city transportation plan information Departure point in the city; 获取 Obtain the traffic plan information in the originating city based on the origin point and the arrival point in the originating city; and obtain the destination address based on the destination and the departure point in the destination city. Describes information about the transportation plan in the destination city. The aspect described above and any possible implementation manner further provide an implementation manner, and the real-time calculation unit is specifically configured to: acquire a starting point in the inter-city transportation plan information as the arrival place in the originating city Acquiring the destination in the inter-city transportation plan information as the starting point in the destination city. The aspect described above and any possible implementation manner further provide an implementation manner, the pre-calculation unit is specifically configured to: obtain information about an available transportation plan between the originating city and the destination city; according to the At the time of departure, the available transportation plan information is filtered to obtain the inter-city transportation plan information. The aspect described above and any possible implementation manner further provide an implementation manner, and the pre-calculation unit is specifically configured to: obtain the remaining resources corresponding to the available traffic plan information according to the departure time; select the remaining resources to satisfy Available traffic plan information of a predetermined condition is used as the inter-city traffic plan information. The above aspect and any possible implementation manner further provide an implementation manner, and the receiving unit is further configured to receive a transit location provided by a user between an origin and a destination, and the transit The length of stay at the destination; The pre-calculation unit is specifically configured to obtain, based on the origin, transit transit, and departure time, the origin city where the transit destination is located and the transit location where the transit destination is located Inter-city transportation plan information of the transit city, and, according to the length of stay of the transit place, obtaining inter-city transport plan information of the transit city where the transit place is located and the destination city where the destination is located; The real-time calculation unit, specifically Used for: According to the intercity transportation plan information of the originating city where the originating place is located and the transit city where the transit place is located, the intercity transportation plan information of the transit city where the transit place is located and the destination city where the destination is located, Obtain information on the transportation plan in the originating city, information on the transportation plan in the transit city, and information on the transportation plan in the destination city; and, Intra-city transportation plan information, destination intra-city transportation plan information, inter-city transportation plan information of the originating city and the transit city where the transit point is, the transit city where the transit point is, and the destination The inter-city transportation plan information of the destination city is combined to obtain the transportation plan information between the origin and the destination. The aspect described above and any possible implementation manner further provide an implementation manner, and the real-time calculation unit is further configured to, according to a specified ordering manner, perform a traffic scheme between the origin and the destination The information is sorted to obtain a sorted result. The device further includes: a first output unit configured to output a part or all of the sorted result. The aspect described above and any possible implementation manner further provide an implementation manner. When the destination is a transit point, the receiving unit is further configured to obtain another destination provided by the user and the middle address. The departure time of the transfer; the real-time calculation unit is further configured to obtain the transportation plan information between the transfer to the other destination based on the departure time of the transfer; and Combining the traffic plan information between the origin and the transit point, and the traffic plan information between the transit point and the other destination to obtain the origin to the other destination Information about transportation schemes. The aspect described above and any possible implementation manner further provide an implementation manner, and the real-time calculation unit is further configured to: from the origin to the other destination according to a specified ordering manner Sorting the traffic plan information to obtain a sorting result; further comprising: a second output unit for outputting some or all of the sorting results. The aspect described above and any possible implementation manner, further providing an implementation manner, the specified sorting manner includes sorting from short to long in time and / or sorting from low to high in price. The aspect described above and any possible implementation manner further provide an implementation manner, further comprising: an information application unit for performing navigation based on the obtained transportation plan information; and / or for using the obtained transportation plan information To generate an electronic map; and / or to plan a trip based on the obtained traffic plan information; and / or to display a point of interest related to each destination based on the obtained traffic plan information, and to display the point of interest Additional service information; and / or for sharing the obtained traffic plan information. In another aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium that stores computer instructions, and the computer instructions are used to cause the computer to perform the following processes: receiving a user-provided Origin, destination and departure time; Acquire the inter-city transportation plan information of the origin city where the origin is located and the destination city of the destination according to the departure time; 获取 Acquire the origin based on the inter-city transportation plan information Send the information of the intra-city transportation plan and the information of the intra-city transportation plan; 结合 combine the inter-city transportation plan information, the intra-city transportation plan information and the intra-city transportation plan information to obtain the origin Traffic plan information with the destination. One of the above technical solutions has the following beneficial effects: 实施 After obtaining the inter-city transportation plan, the embodiment in this case can determine the information of the transportation plan in the originating city and the information of the transportation plan in the destination city, and then the transportation plan in the originating city will be determined. The transportation plan in the destination city and the inter-city transportation plan are combined to obtain the transportation plan between the origin and the destination. The transportation plan between the cities can be obtained together with the current transportation plan in the city and Go to the intra-city transportation scheme, effectively integrate the multiple schemes of the intra-city and inter-city transportation schemes, so as to provide users with a more efficient point-to-point departure transportation scheme, and solve the problem that the existing technology cannot provide users The problem of providing more efficient point-to-point transportation options.

為了更好的理解本發明的技術方案,下面結合附圖對本發明實施例進行詳細描述。   應當明確,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其它實施例,都屬於本發明保護的範圍。   在本發明實施例中使用的術語是僅僅出於描述特定實施例的目的,而非旨在限制本發明。在本發明實施例和所附權利要求書中所使用的單數形式的“一種”、“所述”和“該”也旨在包括多數形式,除非上下文清楚地表示其他含義。   應當理解,本文中使用的術語“和/或”僅僅是一種描述關聯對象的關聯關係,表示可以存在三種關係,例如,A和/或B,可以表示:單獨存在A,同時存在A和B,單獨存在B這三種情況。另外,本文中字符“/”,一般表示前後關聯對象是一種“或”的關係。   取決於語境,如在此所使用的詞語“如果”可以被解釋成為“在……時”或“當……時”或“響應於確定”或“響應於檢測”。類似地,取決於語境,短語“如果確定”或“如果檢測(陳述的條件或事件)”可以被解釋成為“當確定時”或“響應於確定”或“當檢測(陳述的條件或事件)時”或“響應於檢測(陳述的條件或事件)”。   針對現有技術所存在的無法獲取從用戶當前所在城市內的始發地與達航站樓、火車站或者長途車站之間的交通方案,相應的,也無法獲取從另一城市內的航站樓、火車站或者長途車站到達目的地之間的交通方案,所導致的無法獲取點到點出發的交通方案的問題,本案實施例提供了相應的解決思路:伺服器在獲得始發城市與目的城市的城市間交通方案之後,根據城市間交通方案自動確定始發城市內到達地,以及自動確定目的城市內出發地,然後根據始發城市內的始發地和到達地,獲得始發城市內交通方案,以及,根據目的城市內出發地與目的地,獲得目的城市內交通方案,最後將上述獲得的始發城市內交通方案、始發城市與目的城市的城市間交通方案、目的城市內交通方案進行結合,得到始發地與目的地之間的交通方案。   需要說明的是,本案實施例可以應用於包括移動終端和伺服器的系統。移動終端可以如手機、平板電腦、台式機等。伺服器可整合在網路側。   本發明實施例提供的交通信息的獲取方法可以執行在伺服器中,其流程如圖1所示,包括:   101、接收用戶提供的始發地、目的地和出發時間。   102、根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息。   103、根據城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息。   104、將城市間交通方案信息、始發城市內交通方案信息和目的城市內交通方案信息進行結合,得到始發地與目的地之間的交通方案信息。   針對步驟101的實現,本案實施例在此提供了兩種可行的實施方式,包括:   第一種:移動終端中安裝的客戶端可以向用戶顯示輸入介面,透過該輸入介面接收用戶輸入的始發地、目的地和出發時間,然後移動終端將用戶輸入的始發地、目的地和出發時間發送給伺服器,如此,伺服器可以獲得用戶提供的始發地、目的地和出發時間。   第二種:移動終端中安裝的客戶端可以根據用戶指令,觸發移動終端的定位模塊進行定位,獲得用戶當前所在地理位置,將用戶當前所在地理位置作為始發地,或者,客戶端根據該地理位置向用戶提供若干候選始發地,將用戶選擇的候選始發地作為始發地。   客戶端還可以向用戶提供若干候選目的地,將用戶選擇的候選目的地作為目的地;或者,客戶端也可以接收用戶在輸入框中輸入的目的地。   另外,客戶端可以向用戶顯示日曆,然後接收用戶在日曆中選擇的日期作為出發時間。   移動終端將用戶提供的始發地、目的地和出發時間發送給伺服器,如此,伺服器可以獲得用戶提供的始發地、目的地和出發時間。   可以理解的是,上述始發地是用戶的真實始發地,目的地是用戶的真實目的地,出發時間可以是某一天,或者也可以精確到某一天的具體時刻,本案實施例對此不進行特別限定。   針對步驟102的實現,本案實施例在此提供了一種可行的實施方式,如圖2所示,包括:   201、獲取所述始發城市與所述目的城市之間的可用交通方案信息。   202、根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息。   請參考圖3,其為本案實施例所提供的始發地、目的地、始發城市和目的城市的示例圖,如圖3所示,本案實施例中,伺服器在從移動終端接收到始發地和目的地之後,可以先識別出始發地所屬的始發城市,以及識別出目的地所屬的目的城市。其中,圖3中所示的實綫表示真實的交通方案,虛綫表示最終要獲得的交通方案,最終要獲得始發地與目的地之間的交通方案信息,但是該從始發地前往目的地真實的交通方案包括:先執行始發地與始發城市內到達地之間的始發城市內交通方案信息,然後執行始發城市與目的城市的城市間交通方案信息,最後執行目的城市內出發地與目的地之間的目的城市內交通方案信息。   例如,用戶由“中坤大厦”前往“迪士尼”,因此需要獲得“中坤大厦”與“迪士尼”之間的交通方案信息,實際情況是先由“中坤大厦”前往“北京南站”(始發城市內交通方案信息),再由“北京南站”前往“上海虹橋”(城市間交通方案信息),最後由“上海虹橋”前往“迪士尼”(目的城市內交通方案信息)。   舉例說明,請參考圖4,其為本案實施例所提供的實現交通信息的獲取方法的架構示意圖,如圖4所示,伺服器包括輸入介面、預計算引擎、交通搜索引擎、實時計算引擎和輸出介面。其中,輸入介面和輸出介面都用於伺服器與移動終端之間進行通信,輸入介面用於接收移動終端輸出的信息,輸出介面用於向移動終端輸出信息。預計算引擎中預先設置興趣點(Point of Interest,POI)資料庫、城市資料庫、飛機的航班庫、長途車的車次庫、火車的車次庫和歷史資料庫。交通搜索引擎包括大交通搜索引擎和小交通搜索引擎。   在一個具體的實現方案中,如圖4所示,伺服器中的輸入介面可以用於接收移動終端發送的始發地和目的地,然後輸出給預計算引擎。預計算引擎可以根據始發地的經緯度信息,在興趣點資料庫中進行近似匹配,從而可以識別出與始發地最接近的興趣點,然後根據該興趣點在城市資料庫中進行查詢,以獲得該興趣點所屬的城市,即獲得始發地所屬的城市,稱為始發城市。同理,可以根據目的地的經緯度信息,在興趣點資料庫中進行近似匹配,從而可以識別出與目的地最接近的興趣點,然後根據該興趣點在城市資料庫中進行查詢,以獲得該興趣點所屬的城市,即獲得目的地所屬的城市,稱為目的城市。   或者,在另一個具體的實現方案中,如圖4所示,預計算引擎也可以根據始發地的經緯度信息在城市資料庫中進行匹配,從而可以識別出始發地所屬的城市。同理,預計算引擎也可以根據目的地的經緯度信息在城市資料庫中進行匹配,從而可以識別出目的地所屬的城市。   可以理解的是,興趣點資料庫中用於保存一定地理範圍內的興趣點,每個興趣點包括一些描述信息,如該興趣點的經緯度信息、類別和名稱等。因此,透過給定的經緯度信息能夠從興趣點資料庫中找到最接近的興趣點。另外,城市資料庫中用於保存各城市的具體地理信息,如各城市中的興趣點和各城市的經緯度範圍等,因此透過城市資料庫可以識別出給定興趣點所屬的城市,也可以透過城市資料庫識別出給定經緯度所屬的城市。本領域技術人員可以理解的是,本案實施例中涉及的城市可以屬於同一個地區,或者也可以屬於不同地區,本案實施例對此不進行特別限定。   本案實施例中,如圖4所示,預計算引擎確定出始發地所屬的始發城市以及目的地所屬的目的城市之後,根據始發城市和目的城市在歷史資料庫中進行查詢,判斷是否之前已經計算過始發城市與目的城市之間的可用交通方案信息;如果已經計算過,可以從歷史資料庫中直接獲取之前計算的結果,即始發城市與目的城市之間的可用交通方案信息;反之,如果沒有計算過,則預計算引擎進行始發城市與目的城市之間的可用交通方案信息的計算,然後將計算結果保存至歷史資料庫中,實現對歷史資料庫的更新。   在一個具體的實現方案中,如圖4所示,預計算引擎中可以預先設置圖模型,該圖模型是可以預先產生並配置在預計算引擎中的。預計算引擎中可以使用該圖模型,計算始發城市與目的城市之間的可用交通方案信息。   需要說明的是,請參考圖5a,其為本案實施例所提供的針對城市間交通的圖模型的示例圖,如圖5a所示,圖模型包括節點和連接線,其中一個節點表示一個城市,如圖5a中的城市A~城市F。節點之間的連線表示城市之間是否有交通來連接,即是否直接可達,如果兩個節點之間有連接線,表示兩個節點之間交通來連接,直接可達,如果沒有,表示兩個節點之間沒有交通連接,不能直接可達,是間接可達。其中,連接線的箭頭方向用來指示直接可達的方向。另外,每個節點可以標注節點相應的屬性信息,如名稱、級別和標籤等。每兩個節點之間的連接線也可以標注連接線相應的屬性信息,如交通類型、距離和時長等。   此外,圖模型還包括上述節點的子節點(圖中未示出),子節點表示城市中的一個交通類型的興趣點,如機場、火車站和長途車站等。子節點之間的連線(圖中未示出)表示興趣點之間是否有交通來連接,即是否直接可達,如果子節點之間有連接線,表示兩個子節點之間有交通連接,直接可達,如果沒有,表示兩個子節點之間沒有交通連接,不能直接可達,是間接可達。。其中,連接線的箭頭方向用來指示直接可達的方向。另外,每個子節點也可以標注節點相應的屬性信息,如名稱、級別和標籤等。每兩個子節點之間的連接線也可以標注連接線相應的屬性信息,如交通工具類型、距離和時長等。   請參考圖5b,其為本案實施例所提供的北京—上海—杭州的圖模型的示例圖,如圖5b所示,城市“北京”中包括交通類型的興趣點“北京北站”、“北京西站”、“北京南站”和“首都機場”,“北京北站”與“北京西站”之間具有連接線,表示兩者之間可直達;“北京北站”與“北京南站”之間具有連接線,表示兩者之間可直達;“北京西站”與“北京南站”之間具有連接線,表示兩者之間可直達;“北京北站”與“首都機場”之間具有連接線,表示兩者之間可直達;“北京西站”與“首都機場”之間具有連接線,表示兩者之間可直達;“北京南站”與“首都機場”之間具有連接線,表示兩者之間可直達。圖5b所示的上海和杭州中的興趣點及其連接線的解釋與上述北京中的興趣點及其連接線的解釋原理相同,這裏不再贅述。   本案實施例中,預計算引擎將始發城市、目的城市和篩選條件輸入上述圖模型,該圖模型可以基於最短路徑算法(如迪杰斯特拉Dijkstra算法或者最短路徑Shortest算法等)計算始發城市與目的城市之間的候選交通方案信息,候選交通方案信息中可以包括需要中轉的交通方案信息,還可以包括不需要中轉的交通方案信息,即可直達的交通方案信息。然後圖模型利用輸入的篩選條件對候選交通方案信息進行篩選,最後輸出篩選後得到的始發城市與目的城市之間的可達交通方案信息。或者,預計算引擎也可以只將始發城市、目的城市輸入上述圖模型,該圖模型計算始發城市與目的城市之間的候選交通方案信息,並輸出候選交通方案信息,預計算引擎利用篩選條件對圖模型輸出的候選交通方案信息進行篩選,最後得到始發城市與目的城市之間的可用交通方案信息。   在一個具體的實現方案中,如果存在直接可達的交通方案信息,候選交通方案信息可以包括以下信息中一個或多個:始發地、始發城市、目的地、目的城市、交通類型、班次和時長。如果存在間接可達的交通方案信息,候選交通方案信息或者可達交通方案信息中還可以包括中轉點數量和詳細信息,該詳細信息可以包括每段交通方案中的始發地、始發城市、目的地和目的城市、交通類型、班次和時長等。   在一個具體的實現方案中,可用交通方案信息中可以包括以下信息中一個或者多個:該交通方案信息的始發地、始發城市、目的地、目的城市、交通類型、班次和時長。如果存在間接可達的交通方案信息,可用交通方案信息中還可以包括中轉點數量和詳細信息,該詳細信息可以包括每段交通方案中的始發地、始發城市、目的地、目的城市、交通類型、班次和時長。   在一個具體的實現方案中,篩選條件可以包括但不限於以下條件中至少一個:候選交通方案信息的方向、時間和中轉點數量。例如,篩選條件中要求候選交通方案信息中方向需要與始發城市前往目的城市的方向一致,對於不一致的候選交通方案信息需要篩除。或者,又例如,篩選條件中要求候選交通方案信息中始發城市到達目的城市之間的時間不能超過指定的時間臨限值,如果超過,則該候選交通方案信息需要篩除。或者,又例如,篩選條件中要求候選交通方案信息的中轉點數量不能超過指定的數量臨限值,如果超過,則該候選交通方案信息需要篩除。   下面給出一種可行的產生圖模型的實現方案:首先,透過飛機的航班資料庫查詢每個航班涉及的兩個城市、相關機場和航班詳細信息,以及,透過火車的車次資料庫查詢出每個車次涉及的兩個城市、火車站和車次詳細信息,以及,透過長途車的車次資料庫查詢出每個車次涉及的城市、長途車站和車次詳細信息。然後,將查詢出的城市作為父節點標在圖上,該城市內的機場、火車站和長途車站作為該父節點的子節點也標在圖上,最後根據航班涉及的城市、火車的車次涉及的城市以及長途車車次涉及的城市,在圖中標注城市之間的連接線,還可以標出連接線對應的交通類型。如此就可以產生一個城市間的交通可達圖,本案實施例稱為圖模型。   預計算引擎在得到始發城市與目的城市之間的可用交通方案信息之後,還需要進一步根據所述出發時間,對可用交通方案信息進行篩選,得到始發城市與目的城市的城市間交通方案信息。在一種可行的實現方案中,預計算引擎可以根據所述出發時間,獲取可用交通方案信息對應的剩餘資源,然後選取剩餘資源滿足預定條件的可用交通方案信息,作為始發城市與目的城市的城市間交通方案信息。   在一種具體的實現方案中,預計算引擎將出發時間和可用交通方案信息發送給交通搜索引擎中的大交通搜索引擎,大交通搜索引擎根據出發時間和可用交通方案信息,分別進行飛機票搜索、火車票搜索和長途車票搜索,獲得飛機票的剩餘資源、火車票的剩餘資源和長途車票的剩餘資源,這些剩餘資源就是可用交通方案信息對應的剩餘資源,將獲得的剩餘資源返回給預計算引擎。可以理解的是,這裏的剩餘資源具體指的是剩餘票數。其中,大交通搜索引擎可以調用飛機票資料庫的介面,進行飛機票搜索,以及可以調用火車票資料庫的介面,進行火車票搜索,以及調用長途車資料庫的介面,進行長途車票的搜索,以獲得相應的搜索結果。   進一步的,預計算引擎從大交通搜索引擎接收到可用交通方案信息對應的剩餘資源之後,選取剩餘資源滿足預定條件的可用交通方案信息,作為始發城市與目的城市的城市間交通方案信息。   在一個可行的實現方案中,預定條件可以是剩餘資源大於指定數目,該指定數目可以根據用戶輸入的出發人數確定,如指定數目可以大於或者等於出發人數。例如,可用交通方案信息1的剩餘資源是5,表示剩餘5張票,可用交通方案信息2的剩餘資源是1,表示剩餘1張票,可用交通方案信息3的剩餘資源是10,表示剩餘10張票。用戶給定的出發人數是3,因此,預計算引擎根據數目3確定指定數目是3,然後在可用交通方案信息1~3中篩除可用交通方案信息2,保留可用交通方案信息1和3,因為可用交通方案信息2的剩餘資源是1,不滿足剩餘資源大於3的預定條件。   針對步驟103的實現,本案實施例在此提供了一種可行的實施方式,包括:   可以理解的是,如圖3所示,用戶需要從始發城市前往目的城市,用戶的真實交通路線是,先從始發城市中的始發地前往始發城市中乘坐交通工具的興趣點(本案實施例稱為始發城市內到達地),然後從該興趣點乘坐交通工具前往目的城市,最終到達目的城市中該交通工具停靠的興趣點(本案實施例稱為目的城市內出發地),然後用戶還需要從目的城市中的該興趣點前往目的城市中的目的地,因此,獲得的始發城市與目標城市的城市間交通方案信息的實質是始發城市內一個或多個出發地與目的城市內一個或多個到達地之間的交通方案信息的集合,因此,實時計算引擎可以根據城市間交通方案信息確定始發城市內到達地和目的城市內出發地。   如圖4所示,預計算引擎將獲得的始發城市與目標城市的城市間交通方案信息輸出給實時計算引擎,該城市間交通方案信息的數量可以是一個或者多個。對於每個城市間交通方案信息,實時計算引擎可以獲取該城市間交通方案信息中的起點,將其作為始發城市內到達地,並獲取該城市間交通方案信息中的終點,將其作為目的城市內出發地。   例如,始發城市是北京,目的城市是上海,北京到上海的城市間交通方案信息可以包括:交通方案信息1:北京南站→上海虹橋;交通方案信息2:首都機場→浦東機場。可以看出,北京到上海的交通方案信息是城市間的大交通方案,其實質是起點“北京南站”到終點“上海虹橋”的交通方案信息,以及起點“首都機場”到終點“浦東機場”的交通方案信息。如果採用交通方案信息1,用戶需要在始發城市“北京”內從始發地先到達“北京南站”,然後乘坐高鐵前往上海,在“上海虹橋”下車,然後在目的城市“上海”內從“上海虹橋”前往目的地。同理,如果採用交通方案信息2,用戶需要在始發城市“北京”內從始發地先到達“首都機場”,然後乘坐飛機前往“浦東機場”,然後在目的城市“上海”內從“浦東機場”前往目的地。   可以理解的是,本案實施例中,在獲得始發城市與目的城市的城市間交通方案信息之後,可以自動識別出其中始發城市內到達地和目的城市內出發地,進而利用自動識別的始發城市內到達地和目的城市內出發地完成後續交通方案信息的計算,與現有技術中,用戶想要獲取城市內交通方案信息時,手動輸入目的地和/或始發地的實現方式相比,本案實施例避免了用戶手動輸入始發城市內到達地和目的城市內出發地,能夠減少用戶操作,提高信息獲取效率,提升用戶體驗。   進一步的,實時計算引擎在獲得始發城市內到達地和目的城市內出發地之後,根據始發地和始發城市內到達地,確定始發城市內交通方案信息,並根據目的城市內出發地和目的地,確定目的城市內交通方案信息。   在一個具體的實現方案中,如圖4所示,實時計算引擎可以將始發城市內的始發地和始發城市內到達地發送給交通搜索引擎中的小交通搜索引擎,小交通搜索引擎根據始發城市內的始發地和始發城市內到達地,進行實時搜索,得到始發城市內交通方案信息,並將該始發城市內交通方案信息返回給實時計算引擎。可以理解的是,始發城市內交通方案信息的數量可以是一個或者多個。每個始發城市內交通方案信息中可以包括但不限於以下信息:交通類型、始發城市內交通方案信息的預估時長、路線和價格。   同理,如圖4所示,實時計算引擎可以將目的城市內出發地和目的地發送給交通搜索引擎中的小交通搜索引擎,小交通搜索引擎根據目的城市內出發地和目的地,進行實時搜索,得到目的城市內交通方案信息,並將該目的城市內交通方案信息返回給實時計算引擎。可以理解的是,目的城市內交通方案信息的數量可以是一個或者多個。其中,每個目的城市內交通方案信息中可以包括但不限於以下信息:交通類型、目的城市內交通方案信息的預估時長、路線和價格。   上述始發城市或者目的城市內的交通類型可以包括地鐵、公車或者出租車(包括專車、快車或者普通出租車)等,本領域技術人員可以理解,本案實施例對此不進行特別限定。   針對步驟104的實現,本案實施例在此提供了一種可行的實施方式,包括:   實時計算引擎可以將得到的城市間交通方案信息、始發城市內交通方案信息和目的城市內交通方案信息進行結合,得到始發地與目的地之間的交通方案信息。   在一種可行的實現方案中,實時計算引擎可以將每個城市間交通方案信息中的起點分別與各始發城市內交通方案信息中的始發城市內到達地進行匹配,如果相匹配,則該城市間交通方案信息可以與該始發城市內交通方案信息進行結合。   同理,在一種可行的實現方案中,可以將每個城市間交通方案信息的終點分別與各目的城市內交通方案信息中的目的城市內出發地進行匹配,如果相匹配,則該城市間交通方案信息可以與目的城市內交通方案信息進行結合。   可見,城市間交通方案信息可以與始發城市內交通方案信息結合,也可以同時與目的城市內交通方案信息結合,城市間交通方案信息經過兩次結合後得到的交通方案信息是始發地與目的地之間的交通方案信息。   在上述步驟105之後,本案實施例在此基礎上還提供了可選步驟,該可選步驟包括:輸出部分或者全部的始發地與目的地之間的交通方案信息。   在一個具體的實現方案中,如圖4所示,伺服器的實時計算引擎在獲得始發地與目的地之間的交通方案信息之後,可以將部分或者全部的該交通方案信息透過伺服器的輸出介面輸出給移動終端,以便於移動終端可以將接收到的交通方案信息進一步提供給用戶。   在一個具體的實現方案中,實時計算引擎可以按照指定的排序方式將獲得的始發地與目的地之間的交通方案信息進行排序,然後將排序結果中排名靠前的若干交通方案信息透過輸出介面輸出,以實現輸出部分的始發地與目的地之間的交通方案信息。   在另一個具體的實現方案中,由於路線選擇、交通方式選擇的不同,可能得到多個結合後的始發地與目的地之間的交通方案信息。實時計算引擎可以按照指定的排序/篩選方式將獲得的始發地與目的地之間的交通方案信息進行篩選和/或排序,然後將排序結果透過輸出介面輸出,以實現輸出全部的始發地與目的地之間的交通方案信息。其中,指定的排序方式可以是用戶預先設置好的排序方式,或者,也可以是用戶臨時選擇的一種排序方式,或者,還可以是默認的排序方式。篩選方式可以是用戶或系統設置的性能臨限值或臨限值範圍,用於排除不符合預期性能的方案信息。   例如,篩選方式可以是價格在制定區間內,耗時不長於製定時長。   又例如,排序方式可以是按照價格由低到高進行排序,這樣,價格最低的交通方案信息可以作為最優的交通方案信息而被推薦給用戶。或者,又例如,排序方式也可以是按照時間由短到長進行排序,這樣,時間消耗最少的交通方案信息作為最優的交通方案信息而被推薦給用戶。本領域技術人員可以理解,這兩種排序方式僅為舉例說明,並不用於限制本案提到的排序方式。   舉例而言,從北京的望京地區至上海的徐家匯地區可以有飛機、高鐵兩種主要的城市間交通方式。而從望京地區至機場或高鐵車站有機場快速鐵路、機場公車、出租車、等(北京)城市內交通方式,而從上海的虹橋機場或虹橋火車站至徐家匯地區也有地鐵、機場公車、出租車、等(上海)城市內交通方式。基於用戶輸入的出發時間,可以得到多種結合後的交通方案信息。隨後可以按照多種篩選/排序方式進行篩選和/或排序。參考信息標準可以包括但不限於:所用總時長、所用總費用、指定到達時間、費用超過500元單程、等。   舉例而言,上述排序和/或篩選後的輸出結果可是(並非窮舉且非限制性):   所用總時長(從短至長):   1:始發地-步行-北京望京地區機場快速鐵路-首都機場北京至上海航班-上海虹橋地鐵二號線-徐家匯地區公車-目的地   2:始發地-出租車-首都機場北京至上海航班-上海虹橋出租車-目的地   3:始發地-地鐵-北京火車南站北京至上海高鐵-上海虹橋地鐵二號線-徐家匯地區公車-目的地   4:始發地-出租車-北京火車南站北京至上海高鐵-上海虹橋地鐵二號線-徐家匯地區公車-目的地   由此,基於多種篩選/排序方式對結合後的交通方案信息進行篩選和/或排序並輸出,可以一站式為用戶提供優化的完整性多層次點到點交通方案規劃,免除了用戶在多種應用或查詢工具間的切換和人工統計,極大提高了用戶的使用便利性。   在上述步驟104之後,本案實施例在此基礎上還提供了可選步驟,該可選步驟應用於當目的地為中轉地的情況,如圖6所示,包括:   105、獲取用戶提供的另一目的地和所述中轉地的出發時間。   106、根據中轉地的出發時間,獲得中轉地到另一目的地之間的交通方案信息。   107、將始發地與中轉地之間的交通方案信息、中轉地到另一目的地之間的交通方案信息進行結合,得到始發地到另一目的地之間的交通方案信息。   在一種可行的實現方案中,移動終端可以獲取另一目的地和中轉地的出發時間,然後將另一目的地和中轉地的出發時間發送給伺服器的輸入介面,如此,伺服器可以獲取到另一目的地和中轉地的出發時間。   移動終端獲取另一目的地和中轉地的出發時間實現方案可以包括但不限於:移動終端中安裝的客戶端可以向用戶顯示輸入介面,透過該輸入介面接收用戶輸入的另一目的地和中轉地的出發時間。   請參考圖7,其為本案實施例所提供的始發地、中轉地、另一目的地、始發城市、中轉城市和另一目的城市的示例圖,如圖7所示,上述中轉地是用戶前往另一目的地時的真實始發地,此時,另一目的地是用戶的下一個目的地。另外,中轉地的出發時間可以是某一天,或者也可以精確到某一天的具體時刻,本案實施例對此不進行特別限定。伺服器需要先獲得中轉城市與另一目的地所在城市(稱為另一目的城市)的城市間交通方案信息(圖7中虛線所示),然後根據該城市間交通方案信息,確定中轉城市中前往另一目的城市時,該中轉城市內到達地以及另一目的城市內出發地,然後獲得中轉地與中轉城市內到達地之間的城市內交通方案信息(圖7中實線所示),以及獲得另一目的城市中到達地與另一目的地之間的城市內交通方案信息(圖7中實線所示),最後進行兩個城市內交通方案信息與一個城市間交通方案信息的結合,得到中轉地與另一目的地之間的交通方案信息。   需要說明的是,本案實施例中,伺服器根據出發時間,獲得中轉地到另一目的地之間的交通方案信息的實現方案,與上述獲得始發地與目的地之間的交通方案信息的實現原理相同,因此這裏不再贅述。   在一種可行的實現方案中,伺服器可以將始發地與中轉地之間的交通方案信息,與中轉地到另一目的地之間的交通方案信息進行結合,以獲得始發地到另一目的地之間的交通方案信息。該結合方式與上述將始發地與始發城市內目的地之間的城市內交通方案信息與始發城市與目的城市的城市間交通方案信息進行結合,或者將始發城市與目的城市的城市間交通方案與目的城市內始發地與目的地之間的交通方案信息進行結合的原理相同,本領域技術人員可以理解,這裏不再贅述。   進一步的,如圖4所示,伺服器在獲得始發地到另一目的地之間的交通方案信息之後,可以透過自身的輸出介面向移動終端輸出部分或者全部的始發地到另一目的地之間的交通方案信息,以便於移動終端進一步向用戶提供該交通方案信息。   在一個具體的實現方案中,可以按照排序方式將獲得的始發地到另一目的地之間的交通方案信息進行排序,然後將排序結果中排名靠前的若干交通方案信息透過輸出介面輸出,以實現輸出部分的始發地到另一目的地之間的交通方案信息。   在另一個具體的實現方案中,實時計算引擎可以按照排序方式將獲得的始發地到另一目的地之間的交通方案信息進行排序,然後將排序結果透過輸出介面輸出,以實現輸出全部的始發地到另一目的地之間的交通方案信息。   例如,排序方式可以是按照價格由低到高進行排序,或者,也可以是按照時間由短到長進行排序,這兩種排序方式僅為舉例說明,並不用於限制本案提到的排序方式。   可以理解的是,本案實施例中,上述另一目的地可以是除始發城市、目的城市以外的其他城市中的目的地,或者,另一目的地也可以與始發地相同(即用戶從始發地前往目的地,然後又由目的地回到始發地),或者,另一目的地還可以與始發地屬同一城市(用戶從始發地前往目的地,然後又由目的地回到始發地所屬城市)。   例如,用戶由始發地“中坤大厦”前往目的地“迪士尼”,然後由該目的地“迪士尼”前往另一目的地“西湖”。或者,又例如,用戶由始發地“中坤大厦”前往目的地“迪士尼”,然後由目的地“迪士尼”前往另一目的地“中坤大厦”。或者,又例如,用戶由始發地“中坤大厦”前往目的地“迪士尼”,然後由目的地“迪士尼”前往另一目的地,如“中坤大厦”所在城市“北京”的“華清嘉園”小區。   本案實施例還在包括另一種可行的實現方案,如圖8所示,包括:   801、還接收用戶提供的位於始發地和目的地之間的中轉地、所述中轉地的停留時長。   802、根據所述始發地、所述中轉地和所述出發時間,獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及,根據中轉地的停留時長,獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息。   803、根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息,獲取始發城市內交通方案信息、中轉城市內交通方案信息和目的城市內交通方案信息。   804、將始發城市內交通方案信息、中轉城市內交通方案信息、目的城市內交通方案信息、始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   上述步驟801至步驟804可以分別為步驟101至步驟104的另一種實現方式。   在一種可行的實現方案中,移動終端還可以獲取中轉地和中轉地的出發時間,然後將中轉地和中轉地的出發時間發送給伺服器的輸入介面,如此,伺服器可以獲取到中轉地和中轉地的出發時間。   移動終端獲取中轉地和中轉地的出發時間實現方案可以包括但不限於:移動終端中安裝的客戶端可以向用戶顯示輸入介面,透過該輸入介面接收用戶輸入的中轉地和中轉地的出發時間。   請參考圖9,其為本案實施例所提供的始發地、中轉地、目的地、始發城市、中轉城市和目的城市的示例圖,如圖9所示,中轉地的出發時間可以是某一天,或者也可以精確到某一天的具體時刻,本案實施例對此不進行特別限定。   需要說明的是,中轉城市內交通方案信息可以包括兩段交通方案信息,其中一段是根據始發城市與中轉城市的城市間交通方案信息,獲得的中轉城市內出發地與中轉地之間的城市內交通方案信息,另一段是根據中轉城市與目的城市的城市間交通方案信息,獲得的中轉城市內中轉地與中轉城市內到達地之間的城市內交通方案信息。   以始發城市“北京”、始發地“西直門”、中轉城市“天津”、中轉地“天津之眼”、目的城市“上海”以及目的地“東方明珠”為例進行說明,如果用戶從始發地“西直門”前往“北京南站”,在“北京南站”乘坐高鐵前往天津,則中轉城市“天津”內出發地為“天津火車站”,因此需要獲得中轉城市“天津”內的一段交通方案信息,即“天津火車站”與“天津之眼”之間的天津市內交通方案信息。然後,用戶在遊覽完“天津之眼”之後,需要立即乘飛機前往上海,因此,需要獲得中轉城市“天津”內另一段交通方案信息,即“天津之眼”與“天津濱海國際機場”之間的天津市內交通方案信息,因此,當存在中轉地時,中轉城市中的城市內交通方案信息將涉及兩段行程。   在一種可行的實現方案中,伺服器需要先獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息(均如圖9中虛線所示)。然後,根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,確定始發地與始發城市內到達地之間的城市內交通方案信息,以及,確定中轉城市內出發地與中轉地之間的中轉城市內交通方案信息。   同理,獲取中轉城市中前往目的城市時,該中轉城市內到達地以及目的城市內出發地,然後獲得中轉地與中轉城市內到達地之間的城市內交通方案信息(圖9中實線所示),以及可以獲得目的城市中出發地與目的地之間的城市內交通方案信息(圖9中實線所示)。   最後進行三個城市內交通方案信息與兩個城市間交通方案信息的結合,得到當存在中轉地時始發地與目的地之間的交通方案信息。   需要說明的是,本案實施例中,伺服器根據出發時間,獲得始發地到中轉地之間的交通方案信息的實現方案,以及,中轉地到目的地之間的交通方案信息的實現方案,都與上述當不存在中轉地時,獲得始發地與目的地之間的交通方案信息的實現原理相同,本領域技術人員可以理解,這裏不再贅述。   在一種可行的實現方案中,伺服器可以將三個城市內交通方案信息與兩個城市間交通方案信息進行結合,以獲得始發地到目的地之間的交通方案信息時,所使用的結合方式與上述將始發地與始發城市內目的地之間的城市內交通方案信息與始發城市與目的城市的城市間交通方案信息進行結合,或者將始發城市與目的城市的城市間交通方案與目的城市內始發地與目的地之間的交通方案信息進行結合的原理相同,本領域技術人員可以理解,這裏不再贅述。   進一步的,如圖4所示,伺服器在獲得始發地到目的地之間的交通方案信息之後,可以透過自身的輸出介面向移動終端輸出部分或者全部的始發地到目的地之間的交通方案信息,以便於移動終端進一步向用戶提供該交通方案信息。   在一個具體的實現方案中,可以按照排序方式將獲得的始發地到目的地之間的交通方案信息進行排序,然後將排序結果中排名靠前的若干交通方案信息透過輸出介面輸出,以實現輸出部分的始發地到目的地之間的交通方案信息。   在另一個具體的實現方案中,實時計算引擎可以按照排序方式將獲得的始發地到目的地之間的交通方案信息進行排序,然後將排序結果透過輸出介面輸出,以實現輸出全部的始發地到目的地之間的交通方案信息。   例如,排序方式可以是按照價格由低到高進行排序,或者,也可以是按照時間由短到長進行排序,這兩種排序方式僅為舉例說明,並不用於限制本案提到的排序方式。   針對步驟104、步驟107或者步驟804中獲得的交通方案信息,本案實施例在此提供這些交通方案信息的應用方式,本案實施例提供以下幾種應用方式,包括:   第一種:根據獲得的交通方案信息,進行導航。   第二種:根據獲得的交通方案信息,產生電子地圖。   第三種:根據獲得的交通方案信息,進行行程規劃。   第四種:根據獲得的交通方案信息,顯示與各目的地相關的興趣點,以及顯示該興趣點的附加服務信息。   第五種:將獲得的交通方案信息進行共享。   需要說明的是,上述五種應用方式中,可以單獨應用於其中一種,或者也可以組合應用其中的兩種以上,本領域技術人員可以理解,本案實施例對此不進行特別限定。   舉例說明,在用戶從提供的交通方案信息中選擇一個交通方案信息後,可以根據該選出的交通方案信息進行導航,其中,導航包括:實際導航或模擬導航,進一步的,實際導航包括:為用戶提供實際導航服務,模擬導航包括:為用戶提供模擬行駛服務,以便於讓用戶可以直觀獲取在該交通方案信息的具體情況。   在用戶選出一個交通方案信息後,還可以根據該交通方案信息,產生電子地地圖,其中,該電子地圖中包括對該交通方案信息的標注,透過該標注可以讓用戶直觀獲取交通方案信息的相關情況,如:交通方案信息的總里程、各個路段的行駛距離、各城市或者各地點的天氣等。   在用戶選出一個交通方案信息後,還可以根據該交通方案信息,顯示該交通方案信息中各城市內的道路信息,其中,該道路信息包括:要經過的道路類型(如:高架橋、高速、公路、小區內的道路等)、要經過的道路的寬度信息和要經過的道路的環境信息等,用戶可以根據顯示的道路信息確定是否參照交通方案信息。   在用戶選出一個交通方案信息後,還可以根據該交通方案信息,顯示與各目的地相關的興趣點,以及該興趣點的附加服務信息,以便於用戶根據自身需求選擇興趣點,其中,與目的地相關的興趣點包括:在目的地指定範圍內的興趣點和兩個目的地之間道路上的興趣點,興趣點的類型具體可以包括:餐館、停車場、商場、便利店、遊樂場和酒店等,並且提供的該興趣點的附加服務信息,如該興趣點的消費信息(平均消費信息、單位時間的消費信息)、該興趣點是否有優惠活動、該興趣點的地址信息等。   在用戶選出一個交通方案信息後,還可以將交通方案信息進行共享,以便於其他用戶獲取該交通方案信息,增加了用戶之間的互動方式。   本案實施例還提供了總體交互流程的一種具體實現方式,請參考圖10,其為本案實施例所提供的交通信息的獲取方法中總體交互流程的示意圖,如圖10所示,該方法可以包括:   1001、用戶在移動終端上輸入始發地、中轉地、目的地、始發地的出發時間和中轉地的停留時長。   1002、移動終端將用戶輸入的始發地、中轉地、目的地、始發地的出發時間和中轉地的停留時長發送給伺服器。   1003、伺服器識別出與所述始發地相匹配的興趣點(本實施稱為始發興趣點,相當於上述實施例中的始發地)、與中轉地相匹配的興趣點(本實施例稱為中轉興趣點,相當於上述實施中的中轉地)、與目的地相匹配的興趣點(本實施例稱為目的興趣點,相當於上述實施例中的目的地)。   1004、伺服器根據識別出的各興趣點,分別識別出始發地所屬的始發城市、中轉地所屬的中轉城市和目的地所屬的目的城市。   1005、伺服器根據出發時間、中轉地的停留時間、始發興趣點、中轉興趣點、目的興趣點、始發城市、中轉城市和目的城市,產生兩個五元素組,包括:   五元素組1:出發時間—始發興趣點—始發城市—中轉城市—中轉興趣點   五元素組2:中轉興趣點的出發時間—中轉興趣點—中轉城市—目的城市—目的興趣點   1006、伺服器根據五元素組1中的元素計算始發興趣點與中轉興趣點之間的交通方案信息。   1006a、伺服器根據出發時間,計算始發城市與中轉城市的城市間交通方案信息1。   1006b、伺服器根據城市間交通方案信息1,確定始發城市中到達地以及中轉城市中出發地。   1006c、伺服器計算始發興趣點與始發城市中到達地之間的城市內交通方案信息2,以及,計算中轉城市中出發地與中轉興趣點之間的城市內交通方案信息3。   1006d、伺服器將城市間交通方案信息1、城市內交通方案信息2和城市內交通方案信息3進行結合,得到始發興趣點與中轉興趣點之間的交通方案信息A。   1007、伺服器根據五元素組2中的元素計算中轉興趣點與目的興趣點之間的交通方案信息。   1007a、伺服器根據中轉興趣點的到達時間和停留時長計算中轉興趣點的出發時間,並根據該中轉興趣點的出發時間,計算中轉城市與目的城市的城市間交通方案信息4。   1007b、伺服器根據城市間交通方案信息4,確定中轉城市中到達地以及目的城市中出發地。   1007c、伺服器計算中轉興趣點與中轉城市中到達地之間的城市內交通方案信息5,以及計算目的城市中出發地與目的興趣點之間的城市內交通方案信息6。   1007d、伺服器將城市間交通方案信息4、城市內交通方案信息5和城市內交通方案信息6進行結合,得到中轉興趣點與目的興趣點之間的交通方案信息B。   1008、伺服器將始發興趣點與中轉興趣點之間的交通方案信息A,與中轉興趣點與目的興趣點之間的交通方案信息B進行結合,得到始發興趣點與目的興趣點之間的交通方案信息C。   1009、伺服器將始發興趣點與目的興趣點之間的交通方案信息C按照指定的排序方式進行排序,獲得排序結果。   1010、伺服器根據排序結果,輸出部分或者全部的始發興趣點與目的興趣點之間的交通方案信息給移動終端。   1011、移動終端向用戶顯示從伺服器接收到的始發興趣點與目的興趣點之間的交通方案信息。   基於前述總體流程,本案實施例還提供了針對總體流程的一種具體實現方式,本實施例中,以始發地是“中坤大厦”(北京)、目的地是迪士尼(上海)、出發日期是11月11日為例,對獲得“中坤大厦”與“迪士尼”之間的交通方案信息的實現方案進行舉例說明。請參考圖11,其為本案實施例所提供的交通信息的獲取方法中總體交互流程的另一示意圖,如圖11所示,該方法可以包括:   1101、移動終端接收用戶輸入的當前位置“中坤大厦”、目的地“迪士尼”(上海)、出發日期“11月11日”。   1102、移動終端將接收的當前“中坤大厦”、目的地“迪士尼”、出發日期“11月11日”發送給伺服器。   1103、伺服器根據始發地“中坤大厦”識別出所屬的始發城市為“北京”,以及根據目的地“迪士尼”識別出所屬的目的城市為上海。   1104、伺服器產生五元素組:11月11日—中坤大厦—北京—上海—迪士尼。   1105、伺服器先根據五元素組,利用圖5b所示的圖模型,獲得北京與上海之間的候選交通方案信息。   具體的,如圖5b所示,伺服器將“北京”和“上海”輸入圖模型,圖模型計算時發現可以乘坐高鐵或者飛機由北京前往上海,獲得以下候選交通方案信息:   候選交通方案信息1:北京南站(北京)→上海虹橋(上海)高鐵G5 時長4小時55分   候選交通方案信息2::北京南站(北京)→上海虹橋(上海)高鐵G11 時長5小時10分   候選交通方案信息3:北京南站(北京)→上海虹橋(上海)動車D313 時長10小時7分   候選交通方案信息4:北京南站(北京)→上海虹橋(上海)特快T109 時長15小時10分   候選交通方案信息5:首都機場(北京)→浦東機場(上海)飛機CA1501 時長2小時10分   候選交通方案信息6:首都機場(北京)→浦東機場(上海)飛機MU8571 時長2小時10分   1106、伺服器可以進一步基於時長對上述候選交通方案信息進行篩選,本實施例中,時長臨限值時10小時,因此篩除候選交通方案信息3和4,將候選交通方案信息1、2、5和6作為可用交通方案信息,即可用交通方案1、2、3和4。   可用交通方案信息1:北京南站(北京)→上海虹橋(上海)高鐵G5 時長4小時55分   可用交通方案信息2:北京南站(北京)→上海虹橋(上海)高鐵G11 時長5小時10分   可用交通方案信息3:首都機場(北京)→浦東機場(上海)飛機CA1501 時長2小時10分   可用交通方案信息4:首都機場(北京)→浦東機場(上海)飛機MU8571 時長2小時10分   1107、伺服器根據出發時間和可用交通方案信息1、2、3和4,分別進行票數搜索,獲得11月11日中各班次的剩餘票數。然後,伺服器根據指定數目(如用戶人數2人)、各班次的剩餘票數、可用交通方案信息1、2、3和4,發現其中可用交通方案信息2和4的剩餘票數是2,因此被篩除,獲得如下北京→上海的城市間交通方案信息:   城市間交通方案信息1:北京南站(北京)→上海虹橋(上海)高鐵G5,時長4小時55分鐘 553元   城市間交通方案信息2:首都機場(北京)→浦東機場(上海)國航CA1501航班時長2小時10分鐘 760元   1108、伺服器根據城市間交通方案信息1識別出始發城市內到達地為北京南站,以及,根據城市間交通方案信息2識別出目的城市內出發地為浦東機場。   1109、伺服器獲取始發城市內中坤大厦到北京南站之間的城市內交通方案信息。   如:中坤大厦→首都機場 出租車 時長60分鐘 140元   中坤大厦→北京南站 地鐵4號線 時長20分鐘 3元   1110、伺服器獲取目的城市內浦東機場到迪士尼之間的城市內交通方案信息。   如:浦東機場→迪士尼 出租車 時長2小時50分鐘 71元   上海虹橋→迪士尼 地鐵2號線→2號線→16號線→11號線 時長1小時30分鐘 10元   1111、伺服器根據城市間交通方案信息1、城市間交通方案信息2、中坤大厦到北京南站之間的城市內交通方案信息、浦東機場到迪士尼之間的城市內交通方案信息,獲得中坤大厦與迪士尼之間的交通方案信息,如: 交通方案信息1:   中坤大厦→首都機場 出租車 時長60分鐘 140元   首都機場(北京)→浦東機場(上海) 國航CA1501航班 時長2小時10分鐘 760元   浦東機場→迪士尼 出租車 時長2小時50分鐘 71元 交通方案信息2:   中坤大厦→北京南站 出租車 時長35分鐘 40元   北京南站(北京)→上海虹橋(上海)高鐵G5,時長4小時55分鐘 553元   上海虹橋→迪士尼 地鐵2號線→2號線→16號線→11號線 時長1小時30分鐘 10元   1112、伺服器將上述交通方案信息1~2按照價格由低到高進行排序,然後將部分或者全部的排序結果輸出給移動終端。   本發明實施例進一步給出實現上述方法實施例中各步驟及方法的裝置實施例。   本案實施例還提供一種交通信息的獲取裝置,設置於上述伺服器中,請參考圖12,其為本案實施例所提供的交通信息的獲取裝置的功能方塊圖,如圖12所示,包括:   接收單元201,用於接收用戶提供的始發地、目的地和出發時間;   預計算單元202,用於根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   實時計算單元203,用於根據所述城市間交通方案信息,獲取所述始發城市內交通方案信息和所述目的城市內交通方案信息;以及,將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   在一種可行的實現方案中,所述實時計算單元203具體用於:   根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地;   根據所述始發地和所述始發城市內到達地,獲取所述始發城市內交通方案信息;以及,根據所述目的地和所述目的城市內出發地,獲取所述目的城市內交通方案信息。   在一種可行的實現方案中,所述實時計算單元203具體用於:   獲取所述城市間交通方案信息中的起點,以作為所述始發城市內到達地;   獲取所述城市間交通方案信息中的終點,以作為所述目的城市內出發地。   在一種可行的實現方案中,所述預計算單元202,具體用於:   獲取所述始發城市與所述目的城市之間的可用交通方案信息;   根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息。   在一種可行的實現方案中,所述預計算單元202,具體用於:   根據所述出發時間,獲取所述可用交通方案信息對應的剩餘資源;   選取剩餘資源滿足預定條件的可用交通方案信息,作為所述城市間交通方案信息。   在一種可行的實現方案中,所述接收單元201,還用於:接收用戶提供的位於始發地和目的地之間的中轉地、所述中轉地的停留時長;   所述預計算單元202,具體用於:根據所述始發地、所述中轉地和所述出發時間,獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及,根據中轉地的停留時長,獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息;   所述實時計算單元203,具體用於:根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息,獲取始發城市內交通方案信息、中轉城市內交通方案信息和目的城市內交通方案信息;以及,將始發城市內交通方案信息、中轉城市內交通方案信息、目的城市內交通方案信息、始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   在一種可行的實現方案中,所述實時計算單元203,還用於根據指定的排序方式,對所述始發地與所述目的地之間的交通方案信息進行排序,得到排序結果;   所述裝置還包括:第一輸出單元204,用於輸出部分或者全部的所述排序結果。   在一種可行的實現方案中,當所述目的地為中轉地時,   所述接收單元201,還用於獲取用戶提供的另一目的地和所述中轉地的出發時間;   所述實時計算單元203,還用於根據所述中轉地的出發時間,獲得所述中轉地到所述另一目的地之間的交通方案信息;以及,將所述始發地與所述中轉地之間的交通方案信息、所述中轉地到所述另一目的地之間的交通方案信息進行結合,得到所述始發地到所述另一目的地之間的交通方案信息。   在一種可行的實現方案中,所述實時計算單元203,還用於:根據指定的排序方式,對所述始發地到所述另一目的地之間的交通方案信息進行排序,得到排序結果;   還包括:第二輸出單元205,用於輸出部分或者全部的所述排序結果。   在一種可行的實現方案中,所述指定的排序方式包括按照時間由短到長進行排序和/或按照價格由低到高進行排序。   在一種可行的實現方案中,還包括:   信息應用單元206,用於根據獲得的交通方案信息,進行導航;和/或,用於根據獲得的交通方案信息,產生電子地圖;和/或,用於根據獲得的交通方案信息,進行行程規劃;和/或,用於根據獲得的交通方案信息,顯示與各目的地相關的興趣點,以及顯示該興趣點的附加服務信息;和/或,用於將獲得的交通方案信息進行共享。   本案實施例還提供一種非暫態電腦可讀儲存媒體,該非暫態電腦可讀儲存媒體儲存電腦指令,所述電腦指令用於使所述電腦執行以下流程:   接收用戶提供的始發地、目的地和出發時間;   根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   根據所述城市間交通方案信息,獲取所述始發城市內交通方案信息和所述目的城市內交通方案信息;   將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   本案實施例還提供一種伺服器,請參考圖13,其為伺服器100的簡化方塊圖。該伺服器100可以包括與一個或多個資料儲存工具連接的處理器101,該資料儲存工具可以包括儲存媒體102和記憶體單元103。伺服器100還可以包括輸入介面104、輸出介面105,用於與另一裝置或系統進行通信。被處理器101的CPU執行的程式代碼可儲存在儲存媒體102或記憶體單元103中。   伺服器100中的處理器101調用儲存在儲存媒體102或記憶體單元103的程式代碼,以執行下面各步驟:   透過輸入介面104接收用戶提供的始發地、目的地和出發時間;根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;根據所述城市間交通方案信息,獲取所述始發城市內交通方案信息和所述目的城市內交通方案信息;將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   在一種可行的實現方案中,處理器101根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地;根據所述始發地和所述始發城市內到達地,獲取所述始發城市內交通方案信息;以及,根據所述目的地和所述目的城市內出發地,獲取所述目的城市內交通方案信息。   在一種可行的實現方案中,處理器101獲取所述城市間交通方案信息中的起點,以作為所述始發城市內到達地;獲取所述城市間交通方案信息中的終點,以作為所述目的城市內出發地。   在一種可行的實現方案中,處理器101獲取所述始發城市與所述目的城市之間的可用交通方案信息;根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息。   在一種可行的實現方案中,處理器101根據所述出發時間,獲取所述可用交通方案信息對應的剩餘資源;選取剩餘資源滿足預定條件的可用交通方案信息,作為所述城市間交通方案信息。   在一種可行的實現方案中,處理器101透過輸入介面104接收用戶提供的位於始發地和目的地之間的中轉地、所述中轉地的停留時長;根據所述始發地、所述中轉地和所述出發時間,獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及,根據中轉地的停留時長,獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息;以及,根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息,獲取始發城市內交通方案信息、中轉城市內交通方案信息和目的城市內交通方案信息;以及,將始發城市內交通方案信息、中轉城市內交通方案信息、目的城市內交通方案信息、始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。   在一種可行的實現方案中,處理器101根據指定的排序方式,對所述始發地與所述目的地之間的交通方案信息進行排序,得到排序結果;並透過輸出介面105輸出部分或者全部的所述排序結果。   在一種可行的實現方案中,當所述目的地為中轉地時,處理器101還可以獲取用戶提供的另一目的地和所述中轉地的出發時間;根據所述中轉地的出發時間,獲得所述中轉地到所述另一目的地之間的交通方案信息;將所述始發地與所述中轉地之間的交通方案信息、所述中轉地到所述另一目的地之間的交通方案信息進行結合,得到所述始發地到所述另一目的地之間的交通方案信息。   在一種可行的實現方案中,處理器101根據指定的排序方式,對所述始發地到所述另一目的地之間的交通方案信息進行排序,得到排序結果;並透過輸出介面105輸出部分或者全部的所述排序結果。   在一種可行的實現方案中,所述指定的排序方式包括按照時間由短到長進行排序和/或按照價格由低到高進行排序。   在一種可行的實現方案中,處理器101還可以根據獲得的交通方案信息,進行導航;和/或,根據獲得的交通方案信息,產生電子地圖;和/或,根據獲得的交通方案信息,進行行程規劃;和/或,根據獲得的交通方案信息,顯示與各目的地相關的興趣點,以及顯示該興趣點的附加服務信息;和/或,將獲得的交通方案信息進行共享。   所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的系統,裝置和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。   以上所述僅為本發明的較佳實施例而已,並不用以限制本發明,凡在本發明的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本發明保護的範圍之內。In order to better understand the technical solution of the present invention, The embodiments of the present invention will be described in detail below with reference to the drawings.  Should be clear, The described embodiments are only a part of the embodiments of the present invention, Not all embodiments. Based on the embodiments in the present invention, All other embodiments obtained by those skilled in the art without creative labor, All belong to the scope of protection of the present invention.  的 The terms used in the embodiments of the present invention are merely for the purpose of describing specific embodiments, It is not intended to limit the invention. The singular "a", "an", and "the" are used in the embodiments of the present invention and the appended claims. "The" and "the" are also intended to include the majority, Unless the context clearly indicates otherwise.  I should understand that The term "and / or" used herein is merely an association relationship describing an associated object, Indicates that three relationships can exist, E.g, A and / or B, Can mean: A alone exists, A and B coexist, There are three cases of B alone. In addition, The character "/" in this article, Generally indicates that the related objects are an "or" relationship.  Depends on the context, The word "if" as used herein can be interpreted as "at" or "when" or "in response to determination" or "in response to detection". Similarly, Depending on the context, The phrase "if determined" or "if detected (statement or event stated)" can be interpreted as "when determined" or "responding to determination" or "when detected (statement or event stated)" or "responding to Detection (statement or event stated). "  For the existing technology, it is impossible to obtain the Train station or long-distance station transportation plan, corresponding, It ’s also not possible to get from a terminal in another city, Train or long distance station to reach the destination, The problem of not being able to get a point-to-point transportation plan, The examples in this case provide corresponding solutions: After the server obtains the inter-city transportation plan for the origin and destination cities, Automatically determine the arrival place in the originating city according to the inter-city transportation plan, And automatically determine the origin in the destination city, Then based on the origin and arrival in the city of origin, Get a transportation plan in the originating city, as well as, Based on the origin and destination in the destination city, Get a destination city transportation plan, Finally, the above obtained intra-city transportation plan, Inter-city transportation plan for origin and destination cities, Combine the intra-city transportation plan, Get a transportation plan between the origin and destination.   It should be noted, The embodiment of the present case can be applied to a system including a mobile terminal and a server. Mobile terminals can be like mobile phones, tablet, Desktop, etc. The server can be integrated on the network side.  方法 The method for acquiring traffic information provided in the embodiment of the present invention may be executed in a server, The process is shown in Figure 1. include:  101, Receiving origin provided by the user, Destination and departure time.  102, According to the departure time, Obtain information on the inter-city transportation plan for the origin city where the origin is located and the destination city where the destination is located.  103, According to the information of the inter-city transportation plan, Obtain information on the transportation plan in the originating city and the transportation plan in the destination city.  104, Inter-city transportation plan information, Combining the information on the transportation plan in the originating city with the information on the transportation plan in the destination city, Get traffic plan information between origin and destination.  For the implementation of step 101, The embodiment of the present case provides two feasible implementation modes here, include:   The first: The client installed in the mobile terminal can display the input interface to the user, Origin of user input received through the input interface, Destination and departure time, Then the mobile terminal sends the origin, The destination and departure time are sent to the server, in this way, The server can obtain the origin, Destination and departure time.  The second kind: The client installed in the mobile terminal can be based on user instructions, Trigger the positioning module of the mobile terminal for positioning, Get the user ’s current geographic location, Use the user ’s current geographic location as the origin, or, The client provides the user with several candidate origins based on the geographic location, The candidate origin selected by the user is taken as the origin.  The client can also provide users with several candidate destinations, Use the candidate destination selected by the user as the destination; or, The client can also receive the destination entered by the user in the input box.  Also, The client can display the calendar to the user, The date selected by the user in the calendar is then received as the departure time.  The mobile terminal sends the origin, The destination and departure time are sent to the server, in this way, The server can obtain the origin, Destination and departure time.  Understandably, The above origin is the real origin of the user, The destination is the user ’s real destination, The departure time can be a certain day, Or it can be accurate to the specific moment of a day, The embodiment in this case does not specifically limit this.  For the realization of step 102, The example in this case provides a feasible implementation manner here, as shown in picture 2, include:  201, Acquire information of available transportation schemes between the originating city and the destination city.  202, According to the departure time, Filtering the available transportation scheme information, Information about the inter-city transportation plan is obtained.  Please refer to Figure 3, It is the origin, destination, Example map of origin and destination cities, As shown in Figure 3, In the embodiment of this case, After the server receives the origin and destination from the mobile terminal, You can identify the city of origin to which it originates, And identify the destination city to which the destination belongs. among them, The solid line shown in Figure 3 represents the actual traffic scheme, The dashed line indicates the final transportation plan, Finally, to get information about the transportation plan between the origin and destination, But the real transport options from origin to destination include: First execute the information on the transportation plan in the originating city between the origin and the arrival in the originating city, Then execute the inter-city transportation plan information of the origin city and the destination city, Finally, the information on the transportation plan in the destination city between the origin and destination in the destination city is executed.   E.g, The user goes from "Zhongkun Building" to "Disney", Therefore, it is necessary to obtain the transportation plan information between "Zhongkun Building" and "Disney". The actual situation is to go from "Zhongkun Building" to "Beijing South Railway Station" (departure information on the transportation plan in the city) From "Beijing South Railway Station" to "Shanghai Hongqiao" (intercity transportation plan information), Finally, go from "Shanghai Hongqiao" to "Disney" (information about the transportation plan in the destination city).   for example, Please refer to Figure 4, It is a schematic architecture diagram of a method for acquiring traffic information provided by an embodiment of the present invention. As shown in Figure 4, The server includes an input interface, Pre-computing engine, Traffic search engine, Real-time calculation engine and output interface. among them, Both the input interface and the output interface are used for communication between the server and the mobile terminal. The input interface is used to receive information output by the mobile terminal, The output interface is used to output information to the mobile terminal. Point of Interest is preset in the pre-calculation engine. POI) database, City database, Flight library, Long-distance train depots, Train depots and historical databases. Traffic search engines include large traffic search engines and small traffic search engines.  In a specific implementation, As shown in Figure 4, The input interface in the server can be used to receive the origin and destination sent by the mobile terminal. Then output to the pre-calculation engine. The pre-calculation engine can use the latitude and longitude information of the origin, Approximate matching in the POI database, So you can identify points of interest that are closest to the place of origin, Then query the city database based on the point of interest. To get the city of interest, To get the city of origin, Called the city of origin. Similarly, Based on the latitude and longitude information of the destination, Approximate matching in the POI database, So you can identify points of interest that are closest to your destination, Then query the city database based on the point of interest. To get the city of interest, To get the city to which the destination belongs, Called the destination city.  Or, In another specific implementation, As shown in Figure 4, The pre-calculation engine can also match in the city database based on the latitude and longitude information of the origin, The city of origin can be identified. Similarly, The pre-calculation engine can also match in the city database based on the latitude and longitude information of the destination. Thereby, the city to which the destination belongs can be identified.  Understandably, The point of interest database is used to store points of interest within a certain geographic area. Each point of interest includes some descriptive information, Such as the latitude and longitude information of the point of interest, Category and name, etc. therefore, With the given latitude and longitude information, the closest point of interest can be found from the point of interest database. In addition, The city database is used to store specific geographic information of each city. Such as points of interest in each city and the latitude and longitude range of each city, etc. Therefore, the city database can identify the city to which a given point of interest belongs, The city database can also be identified through the city database. Those skilled in the art can understand that, The cities involved in the embodiment of this case may belong to the same area. Or they can belong to different regions, The embodiment in this case does not specifically limit this.  实施 In the example of this case, As shown in Figure 4, After the pre-calculation engine determines the originating city to which the originating place belongs and the destination city to which the destination belongs, Search in the historical database based on the origin and destination cities. Determine whether the available transportation plan information between the originating city and the destination city has been calculated before; If it has been calculated, The results of previous calculations can be obtained directly from the historical database, Information on available transport options between the originating city and the destination city; on the contrary, If not calculated, The pre-calculation engine calculates the available transportation plan information between the originating city and the destination city, Then save the calculation results to the historical database. Update the historical database.  In a specific implementation, As shown in Figure 4, The graph model can be set in the pre-calculation engine, The graph model can be generated in advance and configured in a pre-calculation engine. This graph model can be used in the pre-calculation engine, Calculate information on available transport options between the originating city and the destination city.   It should be noted, Please refer to Figure 5a, This is an example diagram of a graph model for inter-city traffic provided by the embodiment of the present case. As shown in Figure 5a, The graph model includes nodes and connecting lines, One of the nodes represents a city, As shown in Figure 5a, City A ~ F. The connection between the nodes indicates whether there is traffic to connect between the cities, Whether it is directly reachable, If there is a connection line between two nodes, Means traffic between two nodes to connect, Directly reachable, if there is not, Means there is no traffic connection between the two nodes, Not directly reachable, Is indirectly reachable. among them, The direction of the arrow of the connecting line is used to indicate the direction directly accessible. In addition, Each node can be labeled with the corresponding attribute information of the node, Such as name, Levels and labels, etc. The connection line between each two nodes can also be marked with the corresponding attribute information of the connection line. Such as traffic type, Distance and duration.  Additionally, The graph model also includes children of the above nodes (not shown in the figure), Child nodes represent a point of interest for a type of transportation in a city, Such as airports, Train and long distance stations. The connection between the child nodes (not shown in the figure) indicates whether there is traffic to connect the points of interest. Whether it is directly reachable, If there are connecting lines between child nodes, Means there is a traffic connection between the two child nodes, Directly reachable, if there is not, Means there is no traffic connection between the two child nodes, Not directly reachable, Is indirectly reachable. . among them, The direction of the arrow of the connecting line is used to indicate the direction directly accessible. In addition, Each child node can also be labeled with the corresponding attribute information of the node, Such as name, Levels and labels, etc. The connection line between each two child nodes can also be marked with the corresponding attribute information of the connection line. Such as vehicle type, Distance and duration.  Please refer to Figure 5b, This is an example diagram of the Beijing-Shanghai-Hangzhou graph model provided by the embodiment of the present case. As shown in Figure 5b, City "Beijing" includes points of interest "Beijing North Railway Station", "Beijing West Railway Station", "Beijing South Railway Station" and "Capital Airport", There is a link between "Beijing North Railway Station" and "Beijing West Railway Station" Indicates that the two are directly accessible; There is a link between "Beijing North Station" and "Beijing South Station" Indicates that the two are directly accessible; There is a link between "Beijing West Railway Station" and "Beijing South Railway Station" Indicates that the two are directly accessible; There is a connection line between "Beijing North Station" and "Capital Airport", Indicates that the two are directly accessible; There is a link between "Beijing West Railway Station" and "Capital Airport", Indicates that the two are directly accessible; There is a link between "Beijing South Railway Station" and "Capital Airport", Indicates that the two are directly accessible. The explanation of the points of interest and their connecting lines in Shanghai and Hangzhou shown in Figure 5b is the same as the explanation of the points of interest and their connecting lines in Beijing, I won't repeat them here.  实施 In the example of this case, Pre-computing engines will start in cities, The destination city and the filtering conditions are input into the above graph model, The graph model can calculate candidate traffic plan information between the originating city and the destination city based on the shortest path algorithm (such as Dijkstra algorithm or Shortest path Shortest algorithm, etc.) Candidate transportation plan information can include transportation plan information that requires transit, It can also include information on transportation plans that do not require transit, Get direct traffic plan information. Then the graph model uses the input filtering conditions to filter the candidate transportation plan information. Finally, the accessible transportation plan information between the originating city and the destination city obtained after the screening is output. or, The pre-computing engine can also include only the originating city, The destination city inputs the above graph model, This graph model calculates candidate transportation plan information between the originating city and the destination city, And output candidate transportation plan information, The pre-calculation engine uses the filtering conditions to filter the candidate traffic plan information output by the graph model. Finally, information on the available transportation schemes between the originating city and the destination city is obtained.  In a specific implementation, If there is information on directly accessible transportation options, The candidate transportation plan information may include one or more of the following information: origin, City of origin, destination, Destination city, Traffic type, Frequency and duration. If there is indirect reachable transportation plan information, Candidate transportation plan information or reachable transportation plan information can also include the number and details of transit points, The details can include the origin in each segment of the transportation plan, City of origin, Destination and destination cities, Traffic type, Frequency and duration.  In a specific implementation, The available transportation plan information may include one or more of the following information: The origin of the transportation plan information, City of origin, destination, Destination city, Traffic type, Frequency and duration. If there is indirect reachable transportation plan information, The available transportation plan information can also include the number and details of transit points, The details can include the origin in each segment of the transportation plan, City of origin, destination, Destination city, Traffic type, Frequency and duration.  In a specific implementation, The filtering conditions may include, but are not limited to, at least one of the following conditions: The direction of candidate transportation plan information, Time and number of transit points. E.g, The screening conditions require that the directions in the candidate transportation plan information be consistent with the directions from the originating city to the destination city. Inconsistent candidate traffic plan information needs to be screened. or, For another example, The filtering conditions require that the time between the originating city and the destination city in the candidate transportation plan information cannot exceed the specified time threshold. If it exceeds, The candidate traffic plan information needs to be screened. or, For another example, The screening conditions require that the number of transit points for candidate transportation plan information cannot exceed the specified threshold. If it exceeds, The candidate traffic plan information needs to be screened.  A feasible implementation scheme for generating graph models is given below: First of all, Use the aircraft's flight database to query the two cities involved in each flight, Relevant airport and flight details, as well as, Use the train trip database to find out the two cities involved in each trip, Train station and train details, as well as, Find out the cities involved in each trip, Long distance station and train details. then, Mark the queried city as the parent node on the graph. Airports within the city, Railway stations and long-distance stations are also marked as children of the parent node on the graph. Finally, based on the cities involved in the flight, Cities involved in train trips and cities involved in long-haul trips, Mark the connecting lines between cities in the diagram, You can also mark the type of traffic corresponding to the connection line. In this way, a traffic reach map between cities can be generated, The embodiment in this case is called a graph model.  After the pre-calculation engine obtains the information about the available transportation plan between the originating city and the destination city, Further needs to be based on said departure time, Filter available transport plan information, Obtain information on the inter-city transportation plan for the origin and destination cities. In a feasible implementation, The pre-calculation engine may Obtain the remaining resources corresponding to the available transportation plan information, Then select the available transportation plan information that the remaining resources meet the predetermined conditions, Information on intercity transportation plans as originating and destination cities.  In a specific implementation, The pre-calculation engine sends the departure time and available traffic plan information to the big traffic search engine in the traffic search engine, Big traffic search engine based on departure time and available traffic plan information, Air ticket search, Train ticket search and long-distance ticket search, Get the remaining resources of the plane ticket, Remaining resources of train tickets and long-distance tickets, These remaining resources are the remaining resources corresponding to the available transportation plan information. Return the obtained remaining resources to the pre-calculation engine. Understandably, The remaining resources here specifically refer to the remaining votes. among them, The big traffic search engine can call the interface of the flight ticket database, Search for air tickets, And an interface to call the train ticket database, Search for train tickets, And the interface to the coach database, Search for long-distance tickets, To get the corresponding search results.   further, After the pre-calculation engine receives the remaining resources corresponding to the available traffic scheme information from the big traffic search engine, Select available transportation plan information with remaining resources meeting predetermined conditions, Information on intercity transportation plans as originating and destination cities.  In a feasible implementation, The predetermined condition may be that the remaining resources are greater than a specified number, The specified number can be determined based on the number of departures entered by the user, For example, the specified number can be greater than or equal to the number of departures. E.g, The remaining resource of the available traffic plan information 1 is 5, Means 5 tickets left, The remaining resource of the available traffic plan information 2 is 1, Means 1 ticket left, The remaining resource of the available traffic plan information 3 is 10, Indicates 10 tickets remaining. The number of departures given by the user is 3, therefore, The pre-calculation engine determines that the specified number is 3 according to the number 3, Then, the available transportation scheme information 2 is screened out from the available transportation scheme information 1-3. Keep available traffic plan information 1 and 3, Because the remaining resource of available traffic plan information 2 is 1, The predetermined condition that the remaining resources are greater than 3 is not satisfied.  For the implementation of step 103, The example in this case provides a feasible implementation manner here, include:  Understandably, As shown in Figure 3, The user needs to go from the originating city to the destination city, The user ’s actual traffic directions are, First, from the place of origin in the city of origin to the point of interest for transportation in the city of origin (the embodiment in this case is called the place of arrival in the city of origin), Then take the transportation from the point of interest to the destination city. Finally arrive at the point of interest where the vehicle stops in the destination city (the embodiment in this case is called the departure place in the destination city), Then the user needs to go from the point of interest in the destination city to the destination in the destination city, therefore, The essence of the obtained inter-city transportation plan information of the originating city and the target city is a collection of transportation plan information between one or more departure places in the originating city and one or more arrival places in the destination city. therefore, The real-time calculation engine can determine the arrival place in the originating city and the departure place in the destination city according to the information of the inter-city transportation plan.   As shown in Figure 4, The pre-calculation engine outputs the obtained information on the inter-city transportation plan of the origin city and the target city to the real-time calculation engine. The amount of information about the inter-city transportation plan may be one or more. For each intercity transportation plan information, The real-time calculation engine can obtain the starting point in the inter-city transportation plan information. Using it as a place of arrival in the city of origin, And get the destination in the intercity transportation plan information, Use it as a departure point within the destination city.   E.g, The city of origin is Beijing, The destination city is Shanghai. Information on the inter-city transportation plan from Beijing to Shanghai can include: Transportation plan information 1: Beijing South Railway Station → Shanghai Hongqiao; Transportation plan information 2: Capital Airport → Pudong Airport. As can be seen, The information on the transportation plan from Beijing to Shanghai is an inter-city transportation plan. Its essence is information on the traffic plan from the starting point "Beijing South Railway Station" to the ending point "Shanghai Hongqiao". And transportation plan information for the starting point “Capital Airport” and the ending point “Pudong Airport”. If traffic plan information1 is used, The user needs to reach the "Beijing South Railway Station" from the place of departure in the city of origin "Beijing", Then take the high-speed rail to Shanghai Get off at "Shanghai Hongqiao", Then go from "Shanghai Hongqiao" to your destination in the destination city "Shanghai". Similarly, If traffic plan information 2 is used, The user needs to reach the "Capital Airport" from the place of departure in the city of origin "Beijing", Then take a plane to "Pudong Airport", Then from the Pudong Airport in the destination city "Shanghai" to your destination.  Understandably, In the embodiment of this case, After obtaining information on the inter-city transportation plan for the origin and destination cities, It can automatically recognize the arrival place in the originating city and the departure place in the destination city, Then use the automatically identified arrival place in the origin city and the destination place in the destination city to complete the calculation of subsequent traffic plan information, Compared with the prior art, When a user wants to get information about a city's transportation plan, Compared to the implementation of manually entering a destination and / or origin, The embodiment of this case prevents the user from manually entering the arrival place in the originating city and the departure place in the destination city. Can reduce user operations, Improve the efficiency of information acquisition, Improve user experience.   further, After the real-time calculation engine obtains the arrival place in the origin city and the departure place in the destination city, Based on the place of origin and the place of arrival within the city of origin, Determine information on transportation options in the originating city, And based on the origin and destination within the destination city, Identify information on transportation options in the destination city.  In a specific implementation, As shown in Figure 4, The real-time calculation engine can send the origin and destination in the origin city to the small traffic search engine in the traffic search engine. The small traffic search engine is based on the origin in the origin city and the arrival in the origin city. Search in real time, Get information on transportation options in the originating city, The information of the transportation plan in the originating city is returned to the real-time calculation engine. Understandably, The number of traffic plan information in the originating city may be one or more. The transportation plan information in each originating city may include, but is not limited to, the following information: Traffic type, Estimated duration of transportation plan information in the originating city, Route and price.  Similarly, As shown in Figure 4, The real-time calculation engine can send the origin and destination in the destination city to the small traffic search engine in the traffic search engine. Small traffic search engine based on the origin and destination within the destination city, Search in real time, Get information about the transportation plan in the destination city, The information of the traffic plan in the destination city is returned to the real-time calculation engine. Understandably, The number of traffic plan information in the destination city may be one or more. among them, The transportation plan information in each destination city can include but is not limited to the following information: Traffic type, Estimated duration of traffic plan information in the destination city, Route and price.  类型 The types of transportation in the above originating cities or destination cities can include subways, Bus or taxi (including special cars, Express or regular taxi), etc. Those skilled in the art can understand that The embodiment in this case does not specifically limit this.  For the implementation of step 104, The example in this case provides a feasible implementation manner here, include:  The real-time calculation engine can convert the obtained inter-city transportation plan information, Combining the information on the transportation plan in the originating city with the information on the transportation plan in the destination city, Get traffic plan information between origin and destination.  In a feasible implementation, The real-time calculation engine can match the starting point in each inter-city transportation plan information with the arrival place in the originating city in the transportation plan information in each originating city, If they match, The inter-city transportation plan information can be combined with the intra-city transportation plan information.  Similarly, In a feasible implementation, The destination of each inter-city transportation plan information can be matched with the destination in the destination city in the destination city's transportation plan information. If they match, Then the inter-city transportation plan information can be combined with the destination city's transportation plan information.  I can see that The inter-city transportation plan information can be combined with the information on the intra-city transportation plan. It can also be combined with information about the transportation plan in the destination city. The inter-city transportation plan information is obtained by combining the transportation plan information twice.  After step 105 above, The embodiment in this case also provides optional steps on this basis. This optional step includes: Output part or all of the traffic plan information between the origin and destination.  In a specific implementation, As shown in Figure 4, After the server's real-time calculation engine obtains the traffic plan information between the origin and destination, Some or all of the traffic plan information can be output to the mobile terminal through the output interface of the server, So that the mobile terminal can further provide the received traffic plan information to the user.  In a specific implementation, The real-time calculation engine can sort the obtained traffic plan information between the origin and destination according to the specified sorting method. Then output some of the top transportation plan information in the ranking result through the output interface. In order to output the transportation plan information between the origin and destination.  In another specific implementation, Due to route selection, Different transportation options, It is possible to obtain multiple combined traffic plan information between the origin and destination. The real-time calculation engine can filter and / or sort the obtained traffic plan information between the origin and destination according to the specified sort / filter method The sorting result is output through the output interface. In order to output all the traffic plan information between the origin and destination. among them, The specified sorting method can be a sorting method preset by the user, or, It can also be a sorting method temporarily selected by the user. or, It can also be the default sorting method. The filtering method can be a performance threshold or a threshold range set by the user or the system. Information to exclude scenarios that do not meet expected performance.   E.g, The screening method can be that the price is within the specified range, Does not take longer than the development time.  Another example, Sorting can be sorted by price from low to high, such, The lowest-priced transportation plan information can be recommended to the user as the optimal transportation plan information. or, For another example, The sorting method can also be sorted according to time from short to long. such, The traffic plan information with the least time consumption is recommended to the user as the optimal traffic plan information. Those skilled in the art can understand that These two sorting methods are just examples. It is not intended to limit the ordering methods mentioned in this case.  For example, From Wangjing area in Beijing to Xujiahui area in Shanghai, there are planes, There are two main modes of intercity transportation for high-speed rail. There is an airport express railway from Wangjing area to the airport or high-speed rail station, Airport bus, taxi, Etc. (Beijing) urban transportation, There are also subways from Shanghai's Hongqiao Airport or Hongqiao Railway Station to the Xujiahui area, Airport bus, taxi, And other modes of transportation in Shanghai. Based on the user-entered departure time, A variety of combined traffic plan information can be obtained. It can then be filtered and / or sorted in a number of ways. Reference information standards may include, but are not limited to: Total time spent, Total cost used, Specify arrival time, The cost is more than 500 yuan one way, Wait.  For example, The above sorted and / or filtered output is (but not exhaustive and non-limiting):  总 Total time used (from short to long):   1: Origin-Walking-Beijing Wangjing Regional Airport Express Railway-Capital Airport Beijing to Shanghai Flights-Shanghai Hongqiao Metro Line 2-Xujiahui Regional Bus-Destination 2: Origin-Taxi-Capital Airport Beijing-Shanghai Flight-Shanghai Hongqiao Taxi-Destination 3: Origin-Subway-Beijing South Railway Station Beijing-Shanghai High Speed Rail-Shanghai Hongqiao Metro Line 2-Xujiahui Regional Bus-Destination 4: Origin-Taxi-Beijing South Railway Station Beijing-Shanghai High Speed Rail-Shanghai Hongqiao Metro Line 2-Xujiahui Regional Bus-Destination From here, Filter and / or sort the combined traffic plan information based on multiple filtering / sorting methods and output, Multi-level point-to-point transportation plan planning that can provide users with optimized integrity in one stop, Eliminates the need for users to switch between multiple applications or query tools and manual statistics, Greatly improved the convenience of users.  After step 104 above, The embodiment in this case also provides optional steps on this basis. This optional step applies when the destination is a transit point, As shown in Figure 6, include:  105, Obtain the departure time of another destination provided by the user and the transit place.  106, Based on the departure time of the transit point, Get traffic plan information between transit points to another destination.  107, Information on the transportation plan between the origin and transit locations, Combining transportation plan information between transit points to another destination, Get traffic plan information from origin to another destination.  In a feasible implementation, The mobile terminal can obtain the departure time of another destination and transit point, Then send the departure time of the other destination and the transit place to the input interface of the server, in this way, The server can get the departure time to another destination and transit place.  实现 The implementation scheme for the mobile terminal to obtain the departure time of another destination and transit point may include but is not limited to: The client installed in the mobile terminal can display the input interface to the user, The user inputs the departure time of another destination and the transit place input through the input interface.  Please refer to Figure 7, It is the origin, Transit Another destination, City of origin, Example map of transit cities and another destination city, As shown in Figure 7, The transit point is the real place of departure when the user travels to another destination. at this time, The other destination is the user's next destination. In addition, The departure time of the transfer place can be a certain day, Or it can be accurate to the specific moment of a day, The embodiment in this case does not specifically limit this. The server needs to obtain the inter-city transportation plan information of the transit city and the city of the other destination (called another destination city) (shown as a dotted line in Figure 7). Then based on the information about the intercity transportation plan, When determining a transit city to another destination, The destination in the transit city and the departure in the destination city, Then obtain the intra-city transportation plan information between the transit point and the arrival point in the transit city (shown by the solid line in Figure 7). And to obtain information on the intra-city transportation plan between the destination in another destination city and another destination (shown in solid line in Figure 7) Finally, the combination of the two city traffic plan information and one intercity traffic plan information is performed. Get traffic plan information between transit points and another destination.   It should be noted, In the embodiment of this case, Based on the departure time, the server Implementation plan to obtain transportation plan information between transit points to another destination, The implementation principle is the same as that of obtaining the transportation plan information between the origin and the destination. Therefore, I will not repeat them here.  In a feasible implementation, The server can transfer traffic plan information between the origin and transit locations, Combined with transportation plan information between the transit point and another destination, To get traffic plan information from origin to another destination. This combination is combined with the above-mentioned intra-city transportation scheme information between the origin and destination within the originating city and the inter-city transportation scheme information between the originating city and the destination city, Or the principle of combining the inter-city transportation plan between the originating city and the destination city and the transportation plan information between the origin and destination in the destination city is the same, Those skilled in the art can understand that I won't repeat them here.   further, As shown in Figure 4, After the server obtains the traffic plan information from the origin to another destination, You can output some or all of the traffic plan information from the origin to another destination through your own output interface. In order to facilitate the mobile terminal to further provide the user with the traffic plan information.  In a specific implementation, You can sort the traffic plan information from the origin to another destination according to the sorting method, Then output some of the top transportation plan information in the ranking result through the output interface. In order to output the traffic plan information from the origin to another destination.  In another specific implementation, The real-time calculation engine can sort the traffic plan information from the origin to another destination according to the sorting method. The sorting result is output through the output interface. In order to output all the traffic plan information from the origin to another destination.   E.g, Sorting can be sorted by price from low to high, or, You can also sort by time from short to long. These two sorting methods are just examples. It is not intended to limit the ordering methods mentioned in this case.  Understandably, In the embodiment of this case, The other destination mentioned above can be in addition to the city of origin, Destinations in cities other than the destination city, or, Another destination can be the same as the origin (i.e. the user travels from the origin to the destination, And then back from the destination to the place of origin), or, Another destination can be in the same city as the origin (the user travels from the origin to the destination, Then return from the destination to the city of origin).   E.g, The user goes from the origin "Zhongkun Building" to the destination "Disney", From this destination "Disney" to another destination "West Lake". or, For another example, The user goes from the origin "Zhongkun Building" to the destination "Disney", From destination "Disney" to another destination "Zhongkun Building". or, For another example, The user goes from the origin "Zhongkun Building" to the destination "Disney", From destination "Disney" to another destination, Such as the "Huaqing Jiayuan" community in "Beijing" where "Zhongkun Building" is located.  实施 The embodiment of this case also includes another feasible implementation solution, As shown in Figure 8, include:  801, It also accepts transit points between origin and destination provided by the user, The length of stay of the transit place.  802, According to the place of origin, The transit point and the departure time, Obtain information on the inter-city transportation plan of the origin city where the origin is located and the transit city where the transit location is, as well as, According to the length of stay at the transit point, Obtain information about the inter-city transportation plan of the transit city where the transit place is located and the destination city where the destination is located.  803, According to the inter-city transportation plan information of the origin city and the transit city where the transit location is located, Information on the inter-city transportation plan of the transit city where the transit place is located and the destination city where the destination is located, Get information on transportation options in originating cities, Transit city traffic plan information and destination city traffic plan information.  804, Information on transportation options in cities will be sent, Transit city transportation plan information, Destination city transportation plan information, Inter-city transportation plan information for the origin city where the origin is located and the transit city where the destination is located, Combine the information of the inter-city transportation plan of the transit city where the transit place is located with the destination city where the destination is located, Get the traffic plan information between the origin and the destination.  The above steps 801 to 804 may be another implementation manner of steps 101 to 104, respectively.  In a feasible implementation, The mobile terminal can also obtain the transit point and the departure time of the transit point. Then send the transit place and the departure time of the transit place to the input interface of the server, in this way, The server can obtain the transit time and the departure time of the transit point.  实现 The implementation plan for the mobile terminal to obtain the transit place and the departure time may include but is not limited to: The client installed in the mobile terminal can display the input interface to the user, Receive the transit place and the departure time of the transit place input by the user through the input interface.  Please refer to Figure 9, It is the origin, Transit destination, City of origin, Example map of transit cities and destination cities, As shown in Figure 9, The departure time of the transfer place can be a certain day, Or it can be accurate to the specific moment of a day, The embodiment in this case does not specifically limit this.   It should be noted, Transit city transportation plan information can include two sections of transportation plan information. One section is based on the information of the inter-city transportation plan between the originating city and the transit city. Information about the intra-city transportation plan between the departure point in the transit city and the transit point, The other paragraph is based on the inter-city transportation plan information of the transit city and the destination city. Information on the intra-city transportation plan between the transit point in the transit city and the arrival point in the transit city.  Starting city "Beijing", Origin of "Xizhimen", Transit city "Tianjin", Transit point "Eye of Tianjin", The destination city "Shanghai" and the destination "Oriental Pearl" are used as examples. If the user goes from "Xizhimen" to "Beijing South Railway Station", Take the high-speed rail to Tianjin at Beijing South Railway Station. The departure place in the transit city "Tianjin" is "Tianjin Railway Station", Therefore, it is necessary to obtain a section of transportation plan information in the transit city "Tianjin". That is, information on the transportation plan in Tianjin between "Tianjin Railway Station" and "Tianjin Eye". then, After the user has visited the Eye of Tianjin, Need to fly to Shanghai immediately, therefore, Need to get information on another transportation plan in the transit city "Tianjin", That is, information on the transportation plan in Tianjin between "Eye of Tianjin" and "Tianjin Binhai International Airport" therefore, When there is a transit point, Intra-city transportation plan information in transit cities will involve two trips.  In a feasible implementation, The server needs to obtain information about the inter-city transportation plan of the originating city where the originating place is located and the transit city where the transit place is located. And obtain the inter-city transportation plan information of the transit city where the transit place is located and the destination city where the destination is located (both are shown in dotted lines in FIG. 9). then, According to the information of the inter-city transportation plan of the originating city where the originating place is located and the transit city where the transit place is located, Determine the information on the intra-city transportation plan between the origin and the arrival in the origin city, as well as, Determine the transit city transportation plan information between the transit city departure point and the transit city.  Similarly, When getting to a destination city in a transit city, The place of arrival in the transit city and the place of departure in the destination city, Then obtain information on the intra-city transportation plan between the transit point and the arrival point in the transit city (shown in solid line in Figure 9). In addition, information on the intra-city transportation plan between the departure point and the destination in the destination city can be obtained (shown by the solid line in Figure 9).  Finally, the combination of the traffic plan information in the three cities and the traffic plan information between the two cities, Get traffic plan information between origin and destination when there is a transit point.   It should be noted, In the embodiment of this case, Based on the departure time, the server Implementation plan to obtain transportation plan information from origin to transit, as well as, Implementation plan of transportation plan information between transit point and destination, Are the same as above when there is no transit place, The principle of obtaining transportation plan information between origin and destination is the same, Those skilled in the art can understand that I won't repeat them here.  In a feasible implementation, The server can combine traffic plan information in three cities with traffic plan information between two cities, When obtaining transportation plan information from origin to destination, The combination used is combined with the above-mentioned intra-city transportation plan information between the origin and destination within the originating city and the inter-city transportation plan information between the originating city and the destination city, Or the principle of combining the inter-city transportation plan between the originating city and the destination city and the transportation plan information between the origin and destination in the destination city is the same, Those skilled in the art can understand that I won't repeat them here.   further, As shown in Figure 4, After the server obtains the traffic plan information from the origin to the destination, You can output some or all of the traffic plan information from the origin to the destination through your own output interface. In order to facilitate the mobile terminal to further provide the user with the traffic plan information.  In a specific implementation, You can sort the obtained transportation plan information from the origin to the destination in a sorting manner, Then output some of the top transportation plan information in the ranking result through the output interface. In order to output the traffic plan information from the origin to the destination.  In another specific implementation, The real-time calculation engine can sort the obtained traffic plan information from the origin to the destination in a sorting manner, The sorting result is output through the output interface. In order to output all the traffic plan information from the origin to the destination.   E.g, Sorting can be sorted by price from low to high, or, You can also sort by time from short to long. These two sorting methods are just examples. It is not intended to limit the ordering methods mentioned in this case.  For step 104, The traffic plan information obtained in step 107 or step 804, The embodiment of this case provides the application mode of the traffic plan information here. The embodiment of this case provides the following application modes, include:   The first: Based on the transportation plan information obtained, Navigate.  The second kind: Based on the transportation plan information obtained, Generate an electronic map.  The third kind: Based on the transportation plan information obtained, Plan your trip.  Fourth: Based on the transportation plan information obtained, Show points of interest related to each destination, Along with additional service information for that point of interest.  Fifth: Share the obtained traffic plan information.   It should be noted, Among the above five application methods, Can be applied individually to one of them, Or you can combine two or more of them, Those skilled in the art can understand that The embodiment in this case does not specifically limit this.   for example, After the user selects a transportation plan information from the provided transportation plan information, Navigation can be based on the selected transportation plan information, among them, Navigation includes: Actual or simulated navigation, further, The actual navigation includes: Provide users with actual navigation services, The simulated navigation includes: Provide users with driving simulation services, In order to allow the user to intuitively obtain the specific situation of the traffic plan information.  用户 After the user selects a transportation plan information, According to the transportation plan information, Generate electronic ground maps, among them, The electronic map includes labels for the transportation plan information. Through this annotation, users can intuitively obtain relevant information about traffic plan information. Such as: Total mileage of transportation plan information, Driving distance of each section, Weather in cities or places.  用户 After the user selects a transportation plan information, According to the transportation plan information, Display road information in each city in the traffic plan information, among them, The road information includes: The type of road to be passed (eg: viaduct, high speed, highway, Small roads, etc.), Information on the width of roads to pass, environmental information on roads to pass, etc. The user can determine whether to refer to the traffic plan information based on the displayed road information.  用户 After the user selects a transportation plan information, According to the transportation plan information, Show points of interest related to each destination, And additional service information for that point of interest, So that users can choose points of interest based on their needs, among them, Destination-related points of interest include: Points of interest within a specified range of a destination and points of interest on the road between two destinations, The types of points of interest can include: restaurant, parking lot, the mall, Convenience store, Playgrounds, hotels, etc. And additional service information for that point of interest, Such as consumption information for that point of interest (average consumption information, Consumption information per unit of time), Is there any preferential activity at this point of interest, Address information of the point of interest, etc.  用户 After the user selects a transportation plan information, You can also share transportation plan information, So that other users can get the traffic plan information, Increased interaction between users.  实施 The embodiment of this case also provides a specific implementation of the overall interaction process. Please refer to Figure 10, It is a schematic diagram of an overall interaction process in a method for acquiring traffic information provided by an embodiment of the present invention. As shown in Figure 10, The method may include:  1001 The user enters the origin, Transit destination, Departure time at departure point and length of stay at transit point.  1002, The mobile terminal sends the origin of the user input, Transit destination, The departure time of the departure place and the stop time of the transit place are sent to the server.  1003, The server identifies a point of interest that matches the origin (this implementation is called an origin point of interest, (Equivalent to the place of origin in the above embodiment), Points of interest matching transit locations (this embodiment is referred to as transit points of interest, Equivalent to the transit point in the above implementation), Points of interest that match the destination (this embodiment is called a destination point of interest, (Equivalent to the destination in the above embodiment).  1004, Based on the points of interest identified by the server, Identify the city of origin, The transit city to which the transit place belongs and the destination city to which the destination belongs.  1005, The server uses the departure time, Transit time, Originating point of interest, Transit points of interest, Purpose point of interest, City of origin, Transit cities and destination cities, Produces two five-element groups, include:  Five element group 1: Departure time—departure point of interest—departure city—transit city—transit point of interest Five element group 2: Departure time of transit point of interest-transit point of interest-transit city-destination city-destination point of interest 1006, The server calculates the traffic plan information between the originating interest point and the transit interest point according to the elements in the five-element group 1.  1006a, Based on the departure time, the server Calculate information on the inter-city transportation plan for the origin and transit cities1.  1006b, The server is based on the inter-city transportation plan information1, Determine the place of arrival in the originating city and the place of departure in the transit city.  1006c, The server calculates intra-urban traffic plan information between the originating point of interest and the arrival place in the originating city, as well as, Calculate the intra-city transportation plan information between the departure point in the transit city and the transit point of interest3.  1006d, The server transfers the information of the inter-city transportation plan1. Combining intra-city transportation plan information 2 with intra-city transportation plan information 3, Get the traffic plan information A between the originating interest point and the transit interest point.  1007, The server calculates the traffic plan information between the transit interest point and the destination interest point according to the elements in the five-element group 2.  1007a, The server calculates the departure time of the transit point of interest based on the arrival time and length of stay of the transit point of interest. Based on the departure time of the transit point of interest, Calculate inter-city transportation plan information for transit cities and destination cities 4.  1007b, The server is based on the inter-city transportation plan information4, Determine the arrival point in the transit city and the departure point in the destination city.  1007c, The server calculates intra-city transportation plan information between the transit point of interest and the destination in the transit city5, And calculate intra-city transportation plan information between the destination and the point of interest in the destination city6.  1007d, The server sends information about the inter-city transportation plan. Combining intra-city transportation plan information 5 with intra-city transportation plan information 6, The traffic plan information B between the transit interest point and the destination interest point is obtained.  1008, The server will send the traffic plan information A between the origin point of interest and the transit point of interest, Combined with the transportation plan information B between the transit point of interest and the destination point of interest, The traffic plan information C between the originating interest point and the destination interest point is obtained.  1009, The server sorts the traffic plan information C between the originating interest point and the destination interest point according to the specified sorting method. Get sorted results.  1010, The server sorts the results, Output part or all of the traffic plan information between the originating interest point and the destination interest point to the mobile terminal.  10111 The mobile terminal displays to the user the traffic plan information between the originating interest point and the destination interest point received from the server.  Based on the foregoing overall process, The embodiment of this case also provides a specific implementation method for the overall process. In this embodiment, The place of origin is "Zhongkun Building" (Beijing), The destination is Disney (Shanghai), The departure date is November 11, for example. The implementation plan for obtaining the traffic plan information between "Zhongkun Building" and "Disney" is exemplified. Please refer to Figure 11, This is another schematic diagram of the overall interaction process in the method for acquiring traffic information provided by the embodiment of the present invention. As shown in Figure 11, The method may include:  1101 The mobile terminal receives the current location "Zhongkun Building" input by the user, Destination "Disney" (Shanghai), The departure date is "November 11".  1102 The mobile terminal will receive the current "Zhongkun Building", Destination "Disney", The departure date "November 11" is sent to the server.  1103, The server identified the city of origin as "Beijing" according to the origin of "Zhongkun Building", And according to the destination "Disney", it is identified that the destination city is Shanghai.  1104, The server generates a five-element set: November 11—Zhongkun Building—Beijing—Shanghai—Disney.  1105, The server starts with a five-element set, Using the graph model shown in Figure 5b, Get information on candidate transportation options between Beijing and Shanghai.   specific, As shown in Figure 5b, The server inputs "Beijing" and "Shanghai" into the graph model, When calculating the map model, I found that I can take a high-speed rail or an airplane from Beijing to Shanghai. Get the following candidate transportation plan information:  Candidate transportation plan information 1: Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) High Speed Rail G5 Duration 4 hours 55 minutes Candidate Transportation Scheme Information 2: : Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) High Speed Rail G11 Duration 5 hours 10 minutes Candidate Transportation Scheme Information 3: Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) Train D313 Duration 10 hours 7 minutes Candidate traffic plan information 4: Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) Express T109 Duration 15 hours 10 minutes Candidate traffic plan information 5: Capital Airport (Beijing) → Pudong Airport (Shanghai) Aircraft CA1501 Duration 2 hours 10 minutes Transportation candidate information 6: Capital Airport (Beijing) → Pudong Airport (Shanghai) Airplane MU8571 Duration 2 hours 10 minutes 1106, The server may further filter the above candidate traffic plan information based on the duration, In this embodiment, 10 hours at the threshold Therefore, the candidate transportation scheme information 3 and 4 are filtered out, Put candidate traffic plan information1. 2, 5 and 6 as available transport plan information, Ready-to-use transportation plan 1, 2, 3 and 4.  Available transportation plan information 1: Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) High Speed Rail G5 Duration 4 hours 55 minutes Available transportation scheme information 2: Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) High Speed Rail G11 Duration 5 hours 10 minutes Available transportation scheme information 3: Capital Airport (Beijing) → Pudong Airport (Shanghai) Aircraft CA1501 Duration 2 hours 10 minutes Available transportation plan information 4: Capital Airport (Beijing) → Pudong Airport (Shanghai) Aircraft MU8571 Duration 2 hours 10 minutes 1107, Server based on departure time and available transportation plan information1. 2, 3 and 4, Search for votes separately, Get the remaining votes for each shift on November 11. then, The server is based on the specified number (for example, 2 users), Remaining votes for each shift, Available transportation plan information1. 2, 3 and 4, It is found that the remaining votes of available traffic scheme information 2 and 4 are 2, Was screened out, Get the following information on the intercity transportation plan from Beijing to Shanghai:  信息 Intra-city transportation plan information 1: Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) High Speed Rail G5, Duration 4 hours 55 minutes 553 yuan Inter-city transportation plan information 2: Capital Airport (Beijing) → Pudong Airport (Shanghai) Air China CA1501 flight 2 hours 10 minutes 760 yuan 1108, The server recognizes that Beijing South Railway Station is the arrival place in the originating city according to the inter-city transportation plan information1. as well as, According to the inter-city transportation plan information 2, the departure point in the destination city is identified as Pudong Airport.  1109, The server obtains information on the urban traffic plan between Zhongkun Building in the originating city and Beijing South Railway Station.   Such as: Zhongkun Building → Capital Airport Taxi Duration 60 minutes 140 yuan Zhongkun Building → Beijing South Railway Station Metro Line 4 Duration 20 minutes 3 yuan 1110, The server obtains information on the intra-city transportation plan between Pudong Airport in the destination city and Disney.   Such as: Pudong Airport → Disney Taxi Duration 2 hours 50 minutes 71 RMB Shanghai Hongqiao → Disney Metro Line 2 → Line 2 → Line 16 → Line 11 Duration 1 hour 30 minutes 10 RMB 1111 The server is based on the inter-city transportation plan information1. Inter-city transportation plan information 2. Intra-city transportation plan information between Zhongkun Building and Beijing South Railway Station, Intra-city transportation plan information from Pudong Airport to Disney, Get traffic plan information between Zhongkun Building and Disney, Such as:    Transportation plan information 1:  Zhongkun Building → Capital Airport Taxi: 60 minutes 140 yuan Capital Airport (Beijing) → Pudong Airport (Shanghai) Air China CA1501 flight 2 hours 10 minutes 760 yuan Pudong Airport → Disney taxi 2 hours 50 minutes 71 yuan Transportation plan information 2:  Zhongkun Building → Beijing South Railway Station Taxi 35 minutes 40 yuan Beijing South Railway Station (Beijing) → Shanghai Hongqiao (Shanghai) High Speed Rail G5, Duration 4 hours 55 minutes 553 yuan Shanghai Hongqiao → Disney Metro Line 2 → Line 2 → Line 16 → Line 11 Duration 1 hour 30 minutes 10 yuan 1112 The server sorts the above traffic plan information 1-2 according to the price from low to high. Then output part or all of the ranking results to the mobile terminal.  实施 The embodiment of the present invention further provides an embodiment of a device for implementing each step and method in the foregoing method embodiment.  实施 The embodiment of this case also provides a device for acquiring traffic information, Set up in the above server, Please refer to Figure 12, It is a functional block diagram of a device for acquiring traffic information provided by an embodiment of the present invention. As shown in Figure 12, include:  Receiving unit 201, For receiving origins provided by users, Destination and departure time;  Pre-calculation unit 202, Used for said departure time, Obtain information about the inter-city transportation plan of the originating city where the originating place is located and the destination city where the destination is located;  Real-time calculation unit 203, Used for information about the inter-city transportation plan, Acquiring the information on the transportation plan in the originating city and the information on the transportation plan in the destination city; as well as, The intercity transportation plan information, Combining the information on the transportation plan in the originating city with the information on the transportation plan in the destination city, Get the traffic plan information between the origin and the destination.  In a feasible implementation, The real-time calculation unit 203 is specifically configured to:  According to the information about the inter-city transportation plan, Determining the place of arrival in the originating city and the place of departure in the destination city;  According to the place of origin and the place of arrival within the city of origin, Obtaining information about the transportation plan in the originating city; as well as, Based on the destination and the point of departure within the destination city, Acquire information about the transportation plan in the destination city.  In a feasible implementation, The real-time calculation unit 203 is specifically configured to:  Acquiring the starting point in the inter-city transportation plan information, As the place of arrival in the city of origin;  Acquiring a destination in the inter-city transportation plan information, As the starting point within the stated destination city.  In a feasible implementation, The pre-calculation unit 202, Specifically used for:  Obtaining information about the available transportation schemes between the originating city and the destination city;  According to the departure time, Filtering the available transportation scheme information, Information about the inter-city transportation plan is obtained.  In a feasible implementation, The pre-calculation unit 202, Specifically used for:  According to the departure time, Acquiring the remaining resources corresponding to the available traffic plan information;  Select available traffic plan information with remaining resources meeting predetermined conditions, As the inter-city transportation plan information.  In a feasible implementation, The receiving unit 201, Also used for: Receive transit points provided by the user between the origin and destination, The length of stay of the transit place;  The pre-calculation unit 202, Specifically used for: According to the place of origin, The transit point and the departure time, Obtain information on the inter-city transportation plan of the origin city where the origin is located and the transit city where the transit location is, as well as, According to the length of stay at the transit point, Obtain information about the inter-city transportation plan of the transit city where the transit place is located and the destination city where the destination is located  The real-time calculation unit 203, Specifically used for: According to the inter-city transportation plan information of the origin city and the transit city where the transit location is located, Information on the inter-city transportation plan of the transit city where the transit place is located and the destination city where the destination is located, Get information on transportation options in originating cities, Transit city traffic plan information and destination city traffic plan information; as well as, Information on transportation options in cities will be sent, Transit city transportation plan information, Destination city transportation plan information, Inter-city transportation plan information for the origin city where the origin is located and the transit city where the destination is located, Combine the information of the inter-city transportation plan of the transit city where the transit place is located with the destination city where the destination is located, Get the traffic plan information between the origin and the destination.  In a feasible implementation, The real-time calculation unit 203, Also used to specify the sorting method, Sort the traffic plan information between the origin and the destination, Get sorted results;  The device further includes: First output unit 204, Used to output part or all of the sorted results.  In a feasible implementation, When the destination is a transit point,  Mentioned receiving unit 201, It is also used to obtain the departure time of another destination provided by the user and the transit point;  The real-time calculation unit 203, It is also used for the departure time of the transit place, Obtaining traffic plan information between the transit point and the other destination; as well as, Information about the traffic plan between the origin and the transit, Combining the traffic plan information between the transit point and the other destination, Get the traffic plan information from the origin to the other destination.  In a feasible implementation, The real-time calculation unit 203, Also used for: According to the specified sorting method, Sort the traffic plan information from the origin to the other destination, Get sorted results;   Also includes: Second output unit 205, Used to output part or all of the sorted results.  In a feasible implementation, The specified sorting method includes sorting according to time from short to long and / or sorting from low to high by price.  In a feasible implementation, Also includes:  Information application unit 206, Based on the obtained traffic plan information, Navigation and / or, Based on the obtained traffic plan information, Generate electronic maps; and / or, Based on the obtained traffic plan information, Carry out itinerary planning; and / or, Based on the obtained traffic plan information, Show points of interest related to each destination, And display additional service information for that point of interest; and / or, Used to share the obtained traffic plan information.  实施 The embodiment of this case also provides a non-transitory computer-readable storage medium, The non-transitory computer-readable storage medium stores computer instructions, The computer instructions are used to make the computer execute the following processes:  Receive the origin, Destination and departure time;  According to the departure time, Obtain information about the inter-city transportation plan of the originating city where the originating place is located and the destination city where the destination is located;  According to the information about the inter-city transportation plan, Acquiring the information on the transportation plan in the originating city and the information on the transportation plan in the destination city;  Transfer the intercity transportation plan information, Combining the information on the transportation plan in the originating city with the information on the transportation plan in the destination city, Get the traffic plan information between the origin and the destination.  实施 The embodiment of this case also provides a server, Please refer to Figure 13, It is a simplified block diagram of the server 100. The server 100 may include a processor 101 connected to one or more data storage tools. The data storage tool may include a storage medium 102 and a memory unit 103. The server 100 may further include an input interface 104, Output interface 105, Used to communicate with another device or system. The program code executed by the CPU of the processor 101 may be stored in the storage medium 102 or the memory unit 103.  的 The processor 101 in the server 100 calls the program code stored in the storage medium 102 or the memory unit 103, To perform the following steps:  接收 Receive the origin, Destination and departure time; According to the departure time, Obtain information about the inter-city transportation plan of the originating city where the originating place is located and the destination city where the destination is located; According to the inter-city transportation plan information, Acquiring the information on the transportation plan in the originating city and the information on the transportation plan in the destination city; The intercity transportation plan information, Combining the information on the transportation plan in the originating city with the information on the transportation plan in the destination city, Get the traffic plan information between the origin and the destination.  In a feasible implementation, The processor 101 is based on the inter-city transportation plan information, Determining the place of arrival in the originating city and the place of departure in the destination city; According to the place of origin and the place of arrival within the city of origin, Obtaining information about the transportation plan in the originating city; as well as, Based on the destination and the point of departure within the destination city, Acquire information about the transportation plan in the destination city.  In a feasible implementation, The processor 101 acquires a starting point in the inter-city transportation plan information, As the place of arrival in the city of origin; Acquiring an end point in the inter-city transportation plan information, As the starting point within the stated destination city.  In a feasible implementation, The processor 101 obtains information about an available transportation plan between the originating city and the destination city; According to the departure time, Filtering the available transportation scheme information, Information about the inter-city transportation plan is obtained.  In a feasible implementation, The processor 101 is based on the departure time, Acquiring the remaining resources corresponding to the available traffic plan information; Select available transportation plan information with remaining resources meeting predetermined conditions, As the inter-city transportation plan information.  In a feasible implementation, The processor 101 receives, through the input interface 104, a transit place provided by the user between the origin and the destination, The length of stay of the transit place; According to the place of origin, The transit point and the departure time, Obtain information on the inter-city transportation plan of the origin city where the origin is located and the transit city where the transit location is, as well as, According to the length of stay at the transit point, Obtain information about the inter-city transportation plan of the transit city where the transit place is located and the destination city where the destination is located as well as, According to the inter-city transportation plan information of the origin city and the transit city where the transit location is located, Information on the inter-city transportation plan of the transit city where the transit place is located and the destination city where the destination is located, Get information on transportation options in originating cities, Transit city traffic plan information and destination city traffic plan information; as well as, Information on transportation options in cities will be sent, Transit city transportation plan information, Destination city transportation plan information, Inter-city transportation plan information for the origin city where the origin is located and the transit city where the destination is located, Combine the information of the inter-city transportation plan of the transit city where the transit place is located with the destination city where the destination is located, Get the traffic plan information between the origin and the destination.  In a feasible implementation, The processor 101 according to the specified sorting method, Sort the traffic plan information between the origin and the destination, Get sorted results; A part or all of the ranking results are output through the output interface 105.  In a feasible implementation, When the destination is a transit point, The processor 101 may also obtain another departure point provided by the user and the departure time of the transit point; According to the departure time of the transit point, Obtaining traffic plan information between the transit point and the other destination; Information about the traffic plan between the origin and the transit, Combining the traffic plan information between the transit point and the other destination, Get the traffic plan information from the origin to the other destination.  In a feasible implementation, The processor 101 according to the specified sorting method, Sort the traffic plan information from the origin to the other destination, Get sorted results; A part or all of the ranking results are output through the output interface 105.  In a feasible implementation, The specified sorting method includes sorting according to time from short to long and / or sorting from low to high by price.  In a feasible implementation, The processor 101 may also according to the obtained traffic plan information, Navigation and / or, Based on the transportation plan information obtained, Generate electronic maps; and / or, Based on the transportation plan information obtained, Carry out itinerary planning; and / or, Based on the transportation plan information obtained, Show points of interest related to each destination, And display additional service information for that point of interest; and / or, Share the obtained traffic plan information.  的 Those skilled in the art can clearly understand that For convenience and brevity, The system described above, The specific working process of the device and unit, Reference may be made to the corresponding process in the foregoing method embodiments. I will not repeat them here.  The above is only a preferred embodiment of the present invention, It is not intended to limit the present invention, Within the spirit and principles of the present invention, Any modifications made, Equivalent replacement, Improvements, etc. All should be included in the scope of protection of the present invention.

201‧‧‧接收單元201‧‧‧Receiving unit

202‧‧‧預計算單元202‧‧‧pre-calculation unit

203‧‧‧實時計算單元203‧‧‧Real-time computing unit

204‧‧‧第一發送單元204‧‧‧First sending unit

205‧‧‧第二發送單元205‧‧‧Second sending unit

206‧‧‧信息應用單元206‧‧‧Information Application Unit

100‧‧‧伺服器100‧‧‧Server

101‧‧‧處理器101‧‧‧ processor

102‧‧‧儲存媒體102‧‧‧Storage media

103‧‧‧記憶體單元103‧‧‧Memory Unit

104‧‧‧輸入介面104‧‧‧Input interface

105‧‧‧輸出介面105‧‧‧ output interface

為了更清楚地說明本發明實施例的技術方案,下面將對實施例中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些附圖獲得其它的附圖。   圖1是本案實施例所提供的交通信息的獲取方法的一種流程示意圖;   圖2是本案實施例所提供的步驟102的實現方法的流程示意圖;   圖3是本案實施例所提供的始發地、目的地、始發城市和目的城市的示例圖;   圖4是本案實施例所提供的實現交通信息的獲取方法的架構示意圖;   圖5a是本案實施例所提供的針對城市間交通的圖模型的示例圖;   圖5b是本案實施例所提供的北京—上海—杭州的圖模型的示例圖;   圖6是本案實施例所提供的交通信息的獲取方法的另一流程示意圖;   圖7是本案實施例所提供的始發地、中轉地、另一目的地、始發城市、中轉城市和另一目的城市的示例圖;   圖8是本案實施例所提供的交通信息的獲取方法的另一流程示意圖;   圖9是本案實施例所提供的始發地、中轉地、目的地、始發城市、中轉城市和目的城市的示例圖;   圖10是本案實施例所提供的交通信息的獲取方法中總體交互流程的示意圖;   圖11是本案實施例所提供的交通信息的獲取方法中總體交互流程的另一示意圖;   圖12是本案實施例所提供的交通信息的獲取裝置的功能方塊圖;   圖13是伺服器的簡化方塊圖。In order to explain the technical solutions of the embodiments of the present invention more clearly, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings according to these drawings without paying creative labor. FIG. 1 is a schematic flowchart of a method for acquiring traffic information provided by an embodiment of the present case; FIG. 2 is a schematic flowchart of a method for implementing step 102 provided by an embodiment of the present case; FIG. 3 is an origin, Example diagrams of destinations, origin cities, and destination cities; FIG. 4 is a schematic structural diagram of a method for obtaining traffic information provided by an embodiment of the present case; FIG. 5a is an example of a graph model for inter-city traffic provided by the embodiment of the present case ; FIG. 5b is an exemplary diagram of a graph model of Beijing-Shanghai-Hangzhou provided by the embodiment of the present case; FIG. 6 is another schematic flowchart of the method for acquiring traffic information provided by the embodiment of the present case; FIG. 7 is an embodiment of the present case. Provided examples of origin, transit, another destination, origin city, transit city, and another destination city; FIG. 8 is another schematic flowchart of the method for acquiring traffic information provided by the embodiment of the present case ; Figure 9 is the origin, transit, destination, origin city, transit provided by the embodiment of this case An example diagram of a city and a destination city; FIG. 10 is a schematic diagram of an overall interactive process in a method for acquiring traffic information provided by an embodiment of the present case; FIG. 11 is another diagram of an overall interactive process in a method of acquiring traffic information provided by an embodiment of the present case. Schematic diagram; FIG. 12 is a functional block diagram of a traffic information acquisition device provided by an embodiment of the present case; FIG. 13 is a simplified block diagram of a server.

Claims (23)

一種交通信息的獲取方法,包括:   接收用戶提供的始發地、目的地和出發時間;   根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息;   將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。A method for acquiring traffic information, including: receiving a place of origin, a destination, and a departure time provided by a user; obtaining an inter-city transportation plan of an originating city and a destination city of the destination according to the departure time Information; 获取 according to the inter-city transportation plan information, obtain the information on the intra-city transportation plan and the destination city's transportation plan information; the inter-city transportation plan information, the origin-city transportation plan information and the destination city The internal traffic plan information is combined to obtain the traffic plan information between the origin and the destination. 根據申請專利範圍第1項所述的方法,其中,根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息,包括:   根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地;   根據所述始發地和所述始發城市內到達地,獲取所述始發城市內交通方案信息;以及,根據所述目的地和所述目的城市內出發地,獲取所述目的城市內交通方案信息。The method according to item 1 of the scope of patent application, wherein obtaining the information on the transportation plan in the originating city and the information on the transportation plan in the destination based on the information on the inter-city transportation plan includes: Determining the arrival place in the originating city and the departure place in the destination city; 获取 obtaining the transportation plan information in the originating city according to the originating place and the arrival point in the originating city; and, according to the The destination and the departure point in the destination city, to obtain information about the transportation plan in the destination city. 根據申請專利範圍第2項所述的方法,其中,根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地,包括:   獲取所述城市間交通方案信息中的起點,以作為所述始發城市內到達地;   獲取所述城市間交通方案信息中的終點,以作為所述目的城市內出發地。The method according to item 2 of the scope of patent application, wherein determining the arrival place in the originating city and the departure place in the destination city based on the intercity transportation plan information includes: 包括 obtaining the intercity transportation plan The starting point in the information is used as the arrival place in the originating city; obtaining the end point in the inter-city transportation plan information as the starting place in the destination city. 根據申請專利範圍第1項所述的方法,其中,根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息,包括:   獲取所述始發城市與所述目的城市之間的可用交通方案信息;   根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息。The method according to item 1 of the scope of patent application, wherein, according to the departure time, obtaining the inter-city transportation plan information of the originating city where the originating place is located and the destination city where the destination is located includes: Available transportation plan information between the city and the destination city; 筛选 filtering the available transportation plan information according to the departure time to obtain the inter-city transportation plan information. 根據申請專利範圍第4項所述的方法,其中,根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息,包括:   根據所述出發時間,獲取所述可用交通方案信息對應的剩餘資源;   選取剩餘資源滿足預定條件的可用交通方案信息,作為所述城市間交通方案信息。The method according to item 4 of the scope of patent application, wherein the available transportation plan information is filtered according to the departure time to obtain the inter-city transportation plan information, including: 获取 obtaining the according to the departure time The remaining resources corresponding to the available transportation plan information; selecting available transportation plan information with remaining resources meeting predetermined conditions as the inter-city transportation plan information. 根據申請專利範圍第1至5項中任一項所述的方法,其中,   所述接收用戶提供的始發地、目的地和出發時間還包括:接收用戶提供的位於始發地和目的地之間的中轉地、所述中轉地的停留時長;   根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息,包括:根據所述始發地、所述中轉地和所述出發時間,獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及,根據中轉地的停留時長,獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息;   根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息,包括:根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息,獲取始發城市內交通方案信息、中轉城市內交通方案信息和目的城市內交通方案信息;   將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,包括:將始發城市內交通方案信息、中轉城市內交通方案信息、目的城市內交通方案信息、始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。The method according to any one of claims 1 to 5, wherein: (i) the origin, destination, and departure time provided by the receiving user further include: Between the transit points and the length of stay of the transit points; 获取 Acquiring the information about the intercity transportation plan of the origin city where the origin is located and the destination city where the destination is located according to the departure time, including: Origin, transit, and departure time, obtain information on the inter-city transportation plan for the origin city where the origin is and the transit city where the transit is, and, based on the length of stay in the transit To obtain the inter-city transportation plan information of the transit city where the transit place is located and the destination city where the destination is located; Acquire the information of the intra-city transportation plan information and the destination urban transportation plan information according to the inter-city transportation plan information, including : According to the inter-city transportation plan information of the origin city and the transit city where the transit location is, the transit city and the destination where the transit location is Inter-city transportation plan information of the destination city, to obtain the information of the intra-city transportation plan, the inter-city transportation plan information, and the intra-city transportation plan information; the inter-city transportation plan information and the intra-city transportation plan information The combination of the information and the transportation plan information in the destination city includes: combining the transportation plan information in the originating city, the transportation plan information in the transit city, the transportation plan information in the destination city, the originating city and the transit location The inter-city transportation plan information of the transit city where the destination is located, and the inter-city transportation plan information of the transit city where the destination is located and the destination city where the destination is located are combined to obtain between the origin and the destination. Traffic plan information. 根據申請專利範圍第1或6項所述的方法,其中,還包括:   根據指定的排序方式,對所述始發地與所述目的地之間的交通方案信息進行排序,得到排序結果;   輸出部分或者全部的所述排序結果。The method according to item 1 or 6 of the scope of patent application, further comprising: 排序 sorting the traffic plan information between the origin and the destination according to a specified sorting method to obtain a sorting result; outputting Part or all of the ranking results. 根據申請專利範圍第1至5項中任一項所述的方法,其中,當所述目的地為中轉地時,還包括:   獲取用戶提供的另一目的地和所述中轉地的出發時間;   根據所述中轉地的出發時間,獲得所述中轉地到所述另一目的地之間的交通方案信息;   將所述始發地與所述中轉地之間的交通方案信息、所述中轉地到所述另一目的地之間的交通方案信息進行結合,得到所述始發地到所述另一目的地之間的交通方案信息。The method according to any one of claims 1 to 5, wherein when the destination is a transit point, it further comprises: obtaining another destination provided by the user and the departure of the transit point Time; according to the departure time of the transit point to obtain traffic plan information between the transit point and the other destination; traffic plan information between the origin and the transit point And combining the traffic plan information between the transit point and the other destination to obtain the traffic plan information between the origin and the other destination. 根據申請專利範圍第8項所述的方法,其中,還包括:   根據指定的排序方式,對所述始發地到所述另一目的地之間的交通方案信息進行排序,得到排序結果;   輸出部分或者全部的所述排序結果。The method according to item 8 of the scope of patent application, further comprising: 排序 sorting the traffic plan information from the origin to the other destination according to a specified sorting method to obtain a sorting result; outputting Part or all of the ranking results. 根據申請專利範圍第7或9項所述的方法,其中,所述指定的排序方式包括按照時間由短到長進行排序和/或按照價格由低到高進行排序。The method according to item 7 or 9 of the scope of patent application, wherein the specified sorting method includes sorting from short to long according to time and / or sorting from low to high according to price. 根據申請專利範圍第1、6、和8項中任一項所述的方法,其中,還包括:   根據獲得的交通方案信息,進行導航;和/或,   根據獲得的交通方案信息,產生電子地圖;和/或,   根據獲得的交通方案信息,進行行程規劃;和/或,   根據獲得的交通方案信息,顯示與各目的地相關的興趣點,以及顯示該興趣點的附加服務信息;和/或,   將獲得的交通方案信息進行共享。The method according to any one of claims 1, 6, and 8 of the patent application scope, further comprising: navigation based on the obtained traffic plan information; and / or, 产生 generating an electronic map based on the obtained traffic plan information ; And / or, 行程 make a trip plan based on the obtained traffic plan information; and / or, show the points of interest related to each destination and the additional service information of the points of interest based on the obtained traffic plan information; and / or Share the traffic plan information obtained. 一種交通信息的獲取裝置,包括:   接收單元,用於接收用戶提供的始發地、目的地和出發時間;   預計算單元,用於根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   實時計算單元,用於根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息;以及,將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。A device for acquiring traffic information includes: a receiving unit for receiving a place of origin, a destination, and a departure time provided by a user; a pre-calculating unit for obtaining a place of origin and a city of origin based on the departure time Information about the inter-city transportation plan of the destination city where the destination is located; a real-time calculation unit for obtaining the information of the intra-city transportation plan information and the destination-city transportation plan according to the inter-city transportation plan information; and The inter-city transportation plan information, the intra-city transportation plan information, and the destination city transportation plan information are combined to obtain the traffic plan information between the origin and the destination. 根據申請專利範圍第12項所述的裝置,其中,所述實時計算單元具體用於:   根據所述城市間交通方案信息,確定所述始發城市內到達地和所述目的城市內出發地;   根據所述始發地和所述始發城市內到達地,獲取所述始發城市內交通方案信息;以及,根據所述目的地和所述目的城市內出發地,獲取所述目的城市內交通方案信息。The device according to item 12 of the scope of the patent application, wherein the real-time calculation unit is specifically configured to: determine the arrival place in the originating city and the departure place in the destination city based on the inter-city transportation plan information; Obtaining the traffic plan information in the originating city according to the origin and the arrival place in the originating city; and acquiring the traffic in the destination city according to the destination and the departure point in the destination city Program information. 根據申請專利範圍第13項所述的裝置,其中,所述實時計算單元具體用於:   獲取所述城市間交通方案信息中的起點,以作為所述始發城市內到達地;   獲取所述城市間交通方案信息中的終點,以作為所述目的城市內出發地。The device according to item 13 of the scope of patent application, wherein the real-time calculation unit is specifically configured to: obtain a starting point in the inter-city transportation plan information as the arrival place in the originating city; obtain the city The destination in the intermodal transportation plan information is used as the departure point within the destination city. 根據申請專利範圍第12項所述的裝置,其中,所述預計算單元具體用於:   獲取所述始發城市與所述目的城市之間的可用交通方案信息;   根據所述出發時間,對所述可用交通方案信息進行篩選,得到所述城市間交通方案信息。The device according to item 12 of the scope of patent application, wherein the pre-calculation unit is specifically configured to: obtain information on an available transportation plan between the originating city and the destination city; according to the departure time, The above description can be used to filter the traffic plan information to obtain the inter-city traffic plan information. 根據申請專利範圍第15項所述的裝置,其中,所述預計算單元具體用於:   根據所述出發時間,獲取所述可用交通方案信息對應的剩餘資源;   選取剩餘資源滿足預定條件的可用交通方案信息,作為所述城市間交通方案信息。The device according to item 15 of the scope of the patent application, wherein the pre-calculation unit is specifically configured to: 获取 obtain the remaining resources corresponding to the available traffic scheme information according to the departure time; select available traffic where the remaining resources meet predetermined conditions The plan information is used as the inter-city transportation plan information. 根據申請專利範圍第12至16項中任一項所述的裝置,其中,   所述接收單元,還用於:接收用戶提供的位於始發地和目的地之間的中轉地、所述中轉地的停留時長;   所述預計算單元,具體用於:根據所述始發地、所述中轉地和所述出發時間,獲取始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息,以及,根據中轉地的停留時長,獲取中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息;   所述實時計算單元,具體用於:根據始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息,獲取始發城市內交通方案信息、中轉城市內交通方案信息和目的城市內交通方案信息;以及,將始發城市內交通方案信息、中轉城市內交通方案信息、目的城市內交通方案信息、始發地所在的始發城市與中轉地所在的中轉城市的城市間交通方案信息、中轉地所在的中轉城市與目的地所在的目的城市的城市間交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。The device according to any one of claims 12 to 16, in which the receiving unit is further configured to receive a transit point provided by a user between an origin and a destination, and Length of stay in transit; The pre-calculation unit is specifically configured to obtain, based on the origin, transit transit, and departure time, the origin city and transit transit location. Inter-city transportation plan information of the transit city, and, according to the length of stay of the transit place, obtaining inter-city transportation plan information of the transit city where the transit place is located and the destination city where the destination is located; said real-time calculation unit, Specific use: according to the inter-city transportation plan information of the origin city where the origin is located and the transit city where the transit location is located, the inter-city transportation plan information of the transit city where the transit location is and the destination city where the destination is located To obtain information on the transportation plan in the originating city, information on the transportation plan in the transit city, and information on the transportation plan in the destination city; and, Communication plan information, intra-city transportation plan information, inter-city transportation plan information of the origin city and the transit city where the transit location is, the transit city where the transit location is, and the destination city where the destination is located Combine the inter-city transportation plan information to obtain the transportation plan information between the origin and the destination. 根據申請專利範圍第12或17項所述的裝置,其中,   所述實時計算單元,還用於根據指定的排序方式,對所述始發地與所述目的地之間的交通方案信息進行排序,得到排序結果;   所述裝置還包括:第一輸出單元,用於輸出部分或者全部的所述排序結果。The device according to item 12 or 17 of the scope of patent application, wherein the real-time calculation unit is further configured to sort the traffic plan information between the origin and the destination according to a specified sorting method. To obtain a ranking result; (1) The device further includes: a first output unit, configured to output a part or all of the ranking result. 根據申請專利範圍第12至16項中任一項所述的裝置,其中,當所述目的地為中轉地時,   所述接收單元,還用於獲取用戶提供的另一目的地和所述中轉地的出發時間;   所述實時計算單元,還用於根據所述中轉地的出發時間,獲得所述中轉地到所述另一目的地之間的交通方案信息;以及,將所述始發地與所述中轉地之間的交通方案信息、所述中轉地到所述另一目的地之間的交通方案信息進行結合,得到所述始發地到所述另一目的地之間的交通方案信息。The device according to any one of claims 12 to 16, wherein when the destination is a transit point, the receiving unit is further configured to obtain another destination provided by the user and the destination. Departure time at the transit point; The real-time calculation unit is further configured to obtain traffic plan information between the transit point and the other destination based on the departure time at the transit point; and Combining the transportation plan information between the origin and the transit point, and the transportation plan information between the transit point and the other destination to obtain the origin to the other destination Information on transportation schemes between places. 根據申請專利範圍第19項所述的裝置,其中,   所述實時計算單元,還用於:根據指定的排序方式,對所述始發地到所述另一目的地之間的交通方案信息進行排序,得到排序結果;   還包括:第二輸出單元,用於輸出部分或者全部的所述排序結果。The device according to item 19 of the scope of patent application, wherein the real-time calculation unit is further configured to: according to a specified sorting method, perform traffic plan information from the origin to the other destination Sorting to obtain a sorting result; further comprising: a second output unit configured to output part or all of the sorting result. 根據申請專利範圍第18或20項所述的裝置,其中,所述指定的排序方式包括按照時間由短到長進行排序和/或按照價格由低到高進行排序。The device according to item 18 or 20 of the scope of patent application, wherein the specified sorting method includes sorting according to time from short to long and / or sorting from low to high by price. 根據申請專利範圍第12、17、和19項中任一項所述的裝置,其中,還包括:   信息應用單元,用於根據獲得的交通方案信息,進行導航;和/或,用於根據獲得的交通方案信息,產生電子地圖;和/或,用於根據獲得的交通方案信息,進行行程規劃;和/或,用於根據獲得的交通方案信息,顯示與各目的地相關的興趣點,以及顯示該興趣點的附加服務信息;和/或,用於將獲得的交通方案信息進行共享。The device according to any one of claims 12, 17, and 19 of the scope of patent application, further comprising: an information application unit for performing navigation based on the obtained traffic plan information; and / or To generate an electronic map of the transportation plan information of the vehicle; and / or to plan the trip based on the obtained transportation plan information; and / or to display the points of interest related to each destination based on the obtained transportation plan information; and Displaying additional service information of the point of interest; and / or for sharing the obtained traffic plan information. 一種非暫態電腦可讀儲存媒體,所述非暫態電腦可讀儲存媒體儲存電腦指令,所述電腦指令用於使所述電腦執行以下流程:   接收用戶提供的始發地、目的地和出發時間;   根據所述出發時間,獲取始發地所在的始發城市與目的地所在的目的城市的城市間交通方案信息;   根據所述城市間交通方案信息,獲取始發城市內交通方案信息和目的城市內交通方案信息;   將所述城市間交通方案信息、所述始發城市內交通方案信息和所述目的城市內交通方案信息進行結合,得到所述始發地與所述目的地之間的交通方案信息。A non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to perform the following processes: receiving a place of origin, destination, and departure provided by a user Time; 获取 according to the departure time, obtain the inter-city transportation plan information of the originating city where the origin is located and the destination city where the destination is located; 获取 obtain the information about the intra-city transportation plan information and purpose according to the inter-city transportation plan information Intra-city transportation plan information; combining the inter-city transportation plan information, the originating city transportation plan information, and the destination city transportation plan information to obtain the information between the origin and the destination. Transportation plan information.
TW106137900A 2017-01-12 2017-11-02 Method and device for acquiring traffic information and non-transitory computer-readable storage medium TW201825870A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201710023102.9 2017-01-12
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
TW201825870A true TW201825870A (en) 2018-07-16

Family

ID=62840257

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106137900A TW201825870A (en) 2017-01-12 2017-11-02 Method and device for acquiring traffic information and non-transitory computer-readable storage medium

Country Status (3)

Country Link
CN (1) CN108304951A (en)
TW (1) TW201825870A (en)
WO (1) WO2018130084A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7201394B2 (en) * 2018-10-30 2023-01-10 トヨタ自動車株式会社 Information providing device, information providing system, information providing method, information providing program
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
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
CN111915404A (en) * 2020-08-04 2020-11-10 携程旅游网络技术(上海)有限公司 Method, system, equipment and storage medium for displaying multiple groups of traffic schemes
CN112288185B (en) * 2020-11-13 2023-07-25 腾讯科技(深圳)有限公司 Traffic route display method, device, equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1871499B (en) * 2003-09-30 2011-08-17 株式会社建伍 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
CN107024217B (en) * 2016-02-01 2019-06-11 北京迈维出行科技有限公司 The method, apparatus and system of the route planning of Intercity Transportation

Also Published As

Publication number Publication date
CN108304951A (en) 2018-07-20
WO2018130084A1 (en) 2018-07-19

Similar Documents

Publication Publication Date Title
TW201825870A (en) Method and device for acquiring traffic information and non-transitory computer-readable storage medium
Kong et al. Mobility dataset generation for vehicular social networks based on floating car data
TWI735292B (en) A method for providing a route for a journey from a source location to a target location
CN105844362B (en) Urban traffic comprehensive trip decision-making device
CN102538806B (en) A kind of paths planning method and relevant device
CN111310077B (en) Passenger intelligent journey recommendation system and method
US20150012210A1 (en) System and method for journey planning, finding k shortest paths through a time/space network
US20140012611A1 (en) Method and system for generating viable pattern-transfers for an itinerary -planning system
US20080172172A1 (en) Route planning process
CN109446381A (en) A kind of public transport road network integrated approach based on temporal diagram
CN106595682A (en) Differential updating method and system of map data, and server
JP6190627B2 (en) Information processing system, information processing server, information processing method, and information processing program
CN110309962A (en) Railway stroke route method and device for planning based on time extended model
US9983016B2 (en) Predicting short term travel behavior with unknown destination
WO2016123867A1 (en) Method and device for position search cognition
Vamshi et al. Dynamic route planning framework for minimal air pollution exposure in urban road transportation systems
US11060879B2 (en) Method, system, and computer program product for generating synthetic demand data of vehicle rides
Pal et al. GIS based transit information system for metropolitan cities in India
Ismail et al. Integration of geospatial multi-mode transportation Systems in Kuala Lumpur
CN103839424B (en) A kind of taxi empty navigational system and method based on recruiting car expectation value
JP2018181359A (en) Information processing system, information processing server, information processing method, and information processing program
JP2017203778A (en) Information processing system, information processing server, information processing method, and information processing program
JP2014134472A (en) Information processing system, information processing server, information processing method, and information processing program
Kuby et al. An efficient online mapping tool for finding the shortest feasible path for alternative-fuel vehicles
US20110301833A1 (en) Route guidance system, route search server, and route guidance method