Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5000541B2 - Route search apparatus and method using priority section - Google Patents
[go: Go Back, main page]

JP5000541B2 - Route search apparatus and method using priority section - Google Patents

Route search apparatus and method using priority section Download PDF

Info

Publication number
JP5000541B2
JP5000541B2 JP2008025574A JP2008025574A JP5000541B2 JP 5000541 B2 JP5000541 B2 JP 5000541B2 JP 2008025574 A JP2008025574 A JP 2008025574A JP 2008025574 A JP2008025574 A JP 2008025574A JP 5000541 B2 JP5000541 B2 JP 5000541B2
Authority
JP
Japan
Prior art keywords
route
priority section
search
point
station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008025574A
Other languages
Japanese (ja)
Other versions
JP2009184474A (en
Inventor
健司 本田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nomura Research Institute Ltd
Original Assignee
Nomura Research Institute Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nomura Research Institute Ltd filed Critical Nomura Research Institute Ltd
Priority to JP2008025574A priority Critical patent/JP5000541B2/en
Publication of JP2009184474A publication Critical patent/JP2009184474A/en
Application granted granted Critical
Publication of JP5000541B2 publication Critical patent/JP5000541B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、交通機関の乗り換えルート検索に関し、特に定期券区間などの所定の優先区間の一部または全部を通る優先区間利用ルートを生成する技術に関する。   The present invention relates to a transfer route search for transportation, and more particularly to a technique for generating a priority section use route that passes through a part or all of a predetermined priority section such as a commuter pass section.

出発地及び目的地を指定して、鉄道などの交通機関の乗り換えルートの検索を行って、ルート情報を提供する乗り換え案内サービスが行われている。これに伴って、交通機関のルート検索に関する様々な技術が提案されている。   There is a transfer guidance service that provides route information by specifying a departure point and a destination, searching for a transfer route for transportation such as a railway. Along with this, various techniques related to route search for transportation have been proposed.

例えば、特許文献1には、定期券区間などの特定区間を優先的にルート内に含めるようにして、ルート検索を行う技術が記載されている。この特許文献1の技術では、優先区間に対して、Martins et al.のアルゴリズムにおけるコストが小さくなるような重み付けを行い、その優先区間が優先的に検索されるようにしている。また、最短経路問題を解くためのアルゴルズムとしては、ダイクストラ法が知られている。
特開2004−139584号公報
For example, Patent Document 1 describes a technique for performing a route search by preferentially including a specific section such as a commuter pass section in the route. In the technique of Patent Document 1, weighting is performed on the priority section so as to reduce the cost in the algorithm of Martins et al., And the priority section is preferentially searched. The Dijkstra method is known as an algorithm for solving the shortest path problem.
Japanese Patent Laid-Open No. 2004-139484

ここで、特許文献1の技術では、ルート検索を行う検索エンジンそのものを改良する必要がある。一方、近年は、ルート検索を行う検索エンジンは種々のものが提供されているので、この検索エンジンをそのまま利用できれば便利である。   Here, in the technique of Patent Document 1, it is necessary to improve the search engine itself that performs route search. On the other hand, in recent years, various search engines for performing route search have been provided. It is convenient if this search engine can be used as it is.

また、ダイクストラ法やMartins et al.のアルゴリズムでは、乗り換えを行う場合の初乗り運賃を反映させることができない。   In addition, the Dijkstra method and Martins et al.'S algorithm cannot reflect the initial fare for a transfer.

そこで、本発明の目的は、既存の検索エンジンをそのまま活用しつつ、定期券区間などの優先区間を通るルートを生成することである。   Accordingly, an object of the present invention is to generate a route that passes through a priority section such as a commuter pass section while using an existing search engine as it is.

本発明の一つの実施態様に従う優先区間を利用したルート検索装置は、指定された出発地から目的地までの交通機関を利用したルートの検索を行い、前記出発地から前記目的地までの利用路線の識別情報を含む検索ルートのデータを出力する検索エンジンと、前記交通機関の路線別の乗降ポイントに関するデータを記憶した乗降ポイントデータベースと、予め定められた優先区間の2つの端点の識別情報及び前記優先区間の利用路線の識別情報を含む優先区間データを記憶する記憶部と、前記乗降ポイントデータベースを参照し、前記検索エンジンが出力した検索ルートデータ及び前記記憶部に記憶された前記優先区間データに基づいて、前記検索ルートの利用路線と前記優先区間の利用路線との乗り換えが可能な一以上のクロスポイントを抽出する抽出手段と、前記記憶部に記憶された前記優先区間データにより特定される優先区間の一部または全部を含み、前記抽出手段により抽出された一以上のクロスポイントのうちの少なくとも一つを通る、前記出発地から前記目的地までの交通機関を利用した優先区間利用ルートを生成する生成手段と、前記生成手段により生成された優先区間利用ルートを出力する手段と、を備える。   A route search apparatus using a priority section according to an embodiment of the present invention searches for a route using a transportation facility from a specified departure place to a destination, and uses a route from the departure place to the destination. A search engine that outputs search route data including the identification information, a boarding point database storing data on boarding points for each route of the transportation, identification information of two end points of a predetermined priority section, and A storage unit that stores priority section data including identification information of a use route of a priority section, and the search route data output by the search engine with reference to the getting-on / off point database and the priority section data stored in the storage unit Based on one or more crosspoints that can be changed between the route used for the search route and the route used for the priority section. Including at least one of one or more cross points extracted by the extraction means, including a part or all of the priority sections specified by the priority section data stored in the storage unit, A generating means for generating a priority section use route using the transportation from the starting point to the destination, and a means for outputting the priority section use route generated by the generating means.

好適な実施形態では、前記抽出手段は、前記乗降ポイントデータベースから、前記検索ルートの利用路線の乗降ポイント、及び前記優先区間の利用路線の乗降ポイントを抽出し、前記検索ルートの利用路線の乗降ポイントのいずれかと前記優先区間の利用路線の乗降ポイントいずれかが同一であれば、その同一乗降ポイントを前記クロスポイントとして抽出するようにしてもよい。   In a preferred embodiment, the extraction means extracts a boarding point of the use route of the search route and a boarding point of the use route of the priority section from the boarding point database, and a boarding point of the use route of the search route. If any of the above-mentioned and any of the boarding / alighting points of the use route of the priority area are the same, you may make it extract the same boarding / alighting point as the said cross point.

好適な実施形態では、前記優先区間利用ルート生成手段は、前記抽出手段により抽出されたクロスポイントが複数あるときは、前記出発地及び前記目的地からそれぞれ最も近い第1及び第2のクロスポイントを選択し、前記選択された第1のクロスポイントと第2のクロスポイント間の優先区間内を通る前記優先区間利用ルートを生成してもよい。   In a preferred embodiment, when there are a plurality of cross points extracted by the extraction unit, the priority section use route generation unit calculates the first and second cross points closest to the departure point and the destination, respectively. The priority section use route that passes through the priority section between the selected first cross point and the second cross point may be generated.

好適な実施形態では、前記出力手段は、前記出発地から第1のクロスポイントまでの運賃と第2のクロスポイントから前記目的地までの運賃との合計が、前記検索ルートで前記出発地から前記目的地まで移動する際の運賃よりも安いときに、前記優先区間利用ルートを出力してもよい。   In a preferred embodiment, the output means calculates the sum of the fare from the starting point to the first cross point and the fare from the second cross point to the destination from the starting point in the search route. The priority section use route may be output when it is cheaper than the fare for moving to the destination.

好適な実施形態では、前記優先区間利用ルート生成手段は、前記出発地または前記目的地の少なくともいずれか一方が、前記優先区間の利用路線とは異なる路線にあるときは、その異なる路線にある前記出発地または前記目的地から最も近いクロスポイントと、前記優先区間の一部または全部を通る優先区間利用ルートを生成してもよい。   In a preferred embodiment, the priority section use route generation means, when at least one of the starting point and the destination is on a route different from the use route of the priority section, is on the different route. A priority section use route that passes through a cross point closest to the starting point or the destination and part or all of the priority section may be generated.

好適な実施形態では、前記交通機関は鉄道であり、前記乗降ポイントは前記鉄道の駅であり、前記優先区間は定期券利用区間であってもよい。   In a preferred embodiment, the transportation facility may be a railway, the getting-on / off point may be a station of the railway, and the priority section may be a commuter pass utilization section.

以下、本発明の一実施形態に係る定期券を利用したルート検索システムについて、図面を参照して説明する。   Hereinafter, a route search system using a commuter pass according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施形態に係る定期券を利用したルート検索システムの構成図である。   FIG. 1 is a configuration diagram of a route search system using a commuter pass according to the present embodiment.

本システムは、ルート検索装置であるサーバ1と、複数のユーザ端末装置3,3とがネットワーク5を介して接続されている。そして、サーバ1は、各ユーザ端末装置3からの出発地及び目的地を指定した乗り換えルート検索要求を受けて、乗り換えルート情報を提供する。   In this system, a server 1 as a route search device and a plurality of user terminal devices 3 and 3 are connected via a network 5. And the server 1 receives the transfer route search request | requirement which designated the departure place and the destination from each user terminal device 3, and provides transfer route information.

ユーザ端末装置3,3は、通信機能を有する端末装置であればよく、例えば、携帯電話機、携帯情報端末、あるいは汎用的なパーソナルコンピュータなどでもよい。ユーザ端末装置3,3は、液晶パネルなどの表示装置、及びプッシュボタンあるいはポインティングデバイスなどの入力装置を有する。ユーザ端末装置3,3が携帯電話機などの場合は、無線基地局7との間で無線通信を行う。   The user terminal devices 3 and 3 may be terminal devices having a communication function, and may be, for example, a mobile phone, a portable information terminal, a general-purpose personal computer, or the like. The user terminal devices 3 and 3 include a display device such as a liquid crystal panel and an input device such as a push button or a pointing device. When the user terminal devices 3 and 3 are mobile phones or the like, wireless communication is performed with the wireless base station 7.

以下に説明するユーザ端末装置3,3内の個々の構成要素または機能は、例えば、サーバ1から取得したHTML(HyperText Markup Language)文書などのスクリプトや、コンピュータプログラムを実行することにより実現される。   Individual components or functions in the user terminal devices 3 and 3 to be described below are realized by executing a script such as an HTML (HyperText Markup Language) document acquired from the server 1 or a computer program, for example.

例えば、図2は、各ユーザ端末装置3における受付画面の一例を示す。図2Aは、ユーザ端末装置3の表示装置31にメニュー画面100が表示されている。このメニュー画面において、「4.乗り換え案内」または「5.乗り換え案内(定期券利用)」が選択されると、図2Bに示す乗り換えルート検索の受付画面200へ遷移する。受付画面200は、出発駅及び到着駅の入力領域211,213と、日時を指定する場合の入力領域215と、利用設定の入力領域217とを有する。ユーザは、受付画面200に対して、入力装置33を操作して乗り換えルート検索の条件を入力する。そして、メニュー画面100と受付画面200で入力された条件を含む乗り換えルート検索要求が、サーバ1へ送られる。つまり、メニュー画面100において、「4.乗り換え案内」が選択されたときは通常の検索要求が、「5.乗り換え案内(定期券利用)」が選択されたときは定期券利用ルートの検索要求が、それぞれサーバ1へ送信される。   For example, FIG. 2 shows an example of a reception screen in each user terminal device 3. In FIG. 2A, the menu screen 100 is displayed on the display device 31 of the user terminal device 3. When “4. Transfer guide” or “5. Transfer guide (use commuter pass)” is selected on this menu screen, the screen transits to a transfer route search acceptance screen 200 shown in FIG. 2B. The reception screen 200 includes input areas 211 and 213 for departure stations and arrival stations, an input area 215 for specifying date and time, and an input area 217 for use settings. The user operates the input device 33 on the reception screen 200 to input a transfer route search condition. Then, a transfer route search request including the conditions input on the menu screen 100 and the reception screen 200 is sent to the server 1. That is, on the menu screen 100, when “4. Transfer guidance” is selected, a normal search request is made, and when “5. Transfer guidance (use of commuter pass)” is selected, a commuter pass use route search request is made. , Respectively.

また、後述する定期券区間データは、各ユーザが自らのユーザ端末装置3を利用して登録してもよい。   Further, commuter pass section data to be described later may be registered by each user using his / her user terminal device 3.

サーバ1は、例えば汎用的なコンピュータシステムにより構成され、以下に説明するサーバ1内の個々の構成要素または機能は、例えば、コンピュータプログラムを実行することにより実現される。   The server 1 is configured by, for example, a general-purpose computer system, and individual components or functions in the server 1 described below are realized by, for example, executing a computer program.

サーバ1は、乗り換えルート検索要求処理部11と、乗り換え検索エンジン12と、駅データベース13と、定期券利用ルート生成部15と、定期券区間記憶部17とを有する。   The server 1 includes a transfer route search request processing unit 11, a transfer search engine 12, a station database 13, a commuter pass use route generation unit 15, and a commuter pass section storage unit 17.

乗り換えルート検索要求処理部11は、ユーザ端末装置3からの乗り換えルート検索要求を受ける。この乗り換えルート検索要求では、出発駅及び到着駅は、それぞれ駅コードによって特定されている。そして、受け付けた検索要求が通常の乗り換えルート検索要求のときは、乗り換え検索エンジン12へ検索要求を送る。一方、受け付けた検索要求が定期券利用ルートの検索要求であるときは、定期券利用ルート生成部15へ検索要求を送る。そして、乗り換えルート検索要求処理部11は、乗り換え検索エンジン12または定期券利用ルート生成部15が生成したルートを示すデータをユーザ端末装置3へ送信する。乗り換えルート検索要求処理部11は、受け付けた検索要求が、料金が安い乗り換えルートを優先させる検索要求であるときには、乗り換え検索エンジン12及び定期券利用ルート生成部15の双方へ検索要求を送り、料金が安いルート順にユーザ端末装置3へ結果を返すようにしてもよい。   The transfer route search request processing unit 11 receives a transfer route search request from the user terminal device 3. In this transfer route search request, the departure station and the arrival station are each identified by a station code. When the received search request is a normal transfer route search request, the search request is sent to the transfer search engine 12. On the other hand, when the received search request is a search request for a commuter pass use route, the search request is sent to the commuter pass use route generation unit 15. Then, the transfer route search request processing unit 11 transmits data indicating the route generated by the transfer search engine 12 or the commuter pass use route generation unit 15 to the user terminal device 3. The transfer route search request processing unit 11 sends a search request to both the transfer search engine 12 and the commuter pass use route generation unit 15 when the received search request is a search request for giving priority to a transfer route with a low charge. The results may be returned to the user terminal device 3 in order of the cheapest route.

乗り換え検索エンジン12は、内部に所定の路線データベースを有し、その路線データベースに基づいて乗り換えルートの検索を行う。乗り換え検索エンジン12は、乗り換えルート検索要求を受けると、例えば、その検索要求において駅コードで特定された出発地から目的地までの、鉄道など交通機関を用いたルート検索を行って得られたルートを示すデータを出力する。乗り換え検索エンジン12は、検索結果の複数のルートを、所定の優先順位で出力することができる。例えば、乗り換え検索エンジン12は、最も早く目的地へ到着するルートを優先させる時刻優先モードや、最も安く目的地へ到着するルートを優先させるコスト優先モードなどの指定を受けると、その指定されたモードに従う検索を行って、そのモードに従う優先順位で一以上のルートを出力する。乗り換え検索エンジン12は、検索結果のルートを出力する際、そのルートを示すデータと併せて列車の時刻や運賃のデータも出力する。   The transfer search engine 12 has a predetermined route database therein, and searches for a transfer route based on the route database. When the transfer search engine 12 receives a transfer route search request, for example, a route obtained by performing a route search using a transportation facility such as a railroad from the departure point specified by the station code to the destination in the search request. The data indicating is output. The transfer search engine 12 can output a plurality of search result routes in a predetermined priority order. For example, when the transfer search engine 12 receives a specification such as a time priority mode that prioritizes a route that arrives at the earliest destination or a cost priority mode that prioritizes a route that arrives at the cheapest destination, the designated mode Search according to, and output one or more routes with priority according to that mode. When the search engine 12 outputs a search result route, the transfer search engine 12 also outputs train time and fare data together with data indicating the route.

なお、本実施形態に係る乗り換え検索エンジン12は、例えば、Martins et al. のアルゴリズムを用いた検索エンジンなどのように、広く一般に用いられている乗り換え検索エンジンを使用するができるので、その内部処理については詳細な説明を省略する。   The transfer search engine 12 according to the present embodiment can use a transfer search engine which is widely used, such as a search engine using the algorithm of Martins et al. The detailed description is omitted.

本実施形態では、交通機関として特に鉄道を用いた乗り換えルート検索を例にとって説明するが、本発明は、バス、航空機などの他の交通機関の乗り換えルート検索にも適用することができる。さらに、本発明は、これらの交通機関のうちの2以上を組み合わせたルート検索に適用することもできる。   In the present embodiment, a transfer route search using a railway as an example of a transportation facility will be described as an example. However, the present invention can also be applied to a transfer route search of other transportation facilities such as a bus and an aircraft. Furthermore, the present invention can also be applied to route search combining two or more of these transportation facilities.

駅データベース13には、乗降ポイントである鉄道の駅に関するデータが登録されている。   In the station database 13, data relating to a railway station as a boarding / exiting point is registered.

図3は、駅データベース13のデータ構造の一例を示す。すなわち、駅データベース13は、データ項目として駅名131,駅コード133,路線コード135,路線内通番137及び位置情報として緯度及び経度139を有する。駅コード133は、それぞれの駅の識別情報である。二つ以上の路線が交差し、各路線間の乗り換えが可能な駅(以下、クロスポイント駅)については、駅コード133に同一のコードが割り当てられている。路線コード135は、各駅が属している路線の識別情報であり、各路線にユニークに割り当てられた識別情報である。路線内通番137は、同一路線内で各駅に割り当てられた通番である。例えば、路線L1と路線L2のクロスポイント駅STについては、路線L1のレコード及び路線L2のレコードが存在する。このとき、この2つのレコードの駅コード133は、何れもクロスポイント駅STを示すもので同一である。このため、駅データベース13内のレコードは、路線コード135及び路線内通番137の組み合わせで、一意に識別される。   FIG. 3 shows an example of the data structure of the station database 13. That is, the station database 13 includes a station name 131, a station code 133, a route code 135, a route serial number 137 as data items, and a latitude and longitude 139 as position information. The station code 133 is identification information of each station. For a station where two or more lines cross each other and can be transferred between the lines (hereinafter referred to as a cross point station), the same code is assigned to the station code 133. The route code 135 is identification information of a route to which each station belongs, and is identification information uniquely assigned to each route. The intra-route serial number 137 is a serial number assigned to each station on the same route. For example, for the cross point station ST of the route L1 and the route L2, there are a record of the route L1 and a record of the route L2. At this time, the station codes 133 of the two records both indicate the cross point station ST and are the same. For this reason, the records in the station database 13 are uniquely identified by the combination of the route code 135 and the route serial number 137.

定期券区間記憶部17は、ユーザ別の定期券区間を示すデータを記憶する。定期券区間データは、例えば、定期券区間の2つの端点の識別情報及び定期券区間の利用路線の識別情報を含む。定期券区間データは、各ユーザによって予め登録される。例えば、サーバ1が定期券区間データの入力画面をユーザ端末装置3に対して提供し、その画面に対してユーザが入力したデータに基づいて定期券区間記憶部17が設定される。   The commuter pass section storage unit 17 stores data indicating a commuter pass section for each user. The commuter pass section data includes, for example, identification information of two end points of the commuter pass section and identification information of the route used in the commuter pass section. The commuter pass section data is registered in advance by each user. For example, the server 1 provides an input screen for commuter pass section data to the user terminal device 3, and the commuter pass section storage unit 17 is set based on data input by the user on the screen.

図4は、定期券区間記憶部17に格納される定期券区間データ20のデータ構造の一例を示す。すなわち、定期券区間データ20は、データ項目として、ユーザID21と、定期券区間の2つの端点である終端駅22,23と、定期区間内の経由駅25,25,・・・とを有する。終端駅22,23は、さらに、駅コード221,231と、路線コード222,232と、路線内通番223,233とを有する。経由駅25,25,・・・も同様に、駅コード251,251,・・・と、路線コード252,252,・・・と、路線内通番253,253,・・・とを有する。経由駅25,25,・・・は、必要に応じて設定される。少なくとも乗り換えを行う駅は、経由駅25,25,・・・に設定される。   FIG. 4 shows an example of the data structure of the commuter pass section data 20 stored in the commuter pass section storage unit 17. That is, the commuter pass section data 20 includes, as data items, a user ID 21, terminal stations 22 and 23 that are two end points of the commuter pass section, and transit stations 25, 25,. The terminal stations 22 and 23 further have station codes 221 and 231, route codes 222 and 232, and route serial numbers 223 and 233. .. Also have station codes 251, 251,..., Route codes 252, 252,... And route serial numbers 253, 253,. The transit stations 25, 25,... Are set as necessary. At least the station to which the transfer is performed is set as a transit station 25, 25,.

定期券区間データ20は、上記の例の他、例えば、定期券区間内の全駅の駅コード、路線コード及び路線内通番を有していてもよい。   In addition to the above example, the commuter pass section data 20 may include, for example, station codes, route codes, and in-route numbers of all stations in the commuter pass section.

定期券利用ルート生成部15は、駅コードで特定された出発地から駅コードで特定された目的地までのルートとして、定期券区間の一部または全部を含む定期券利用ルートを生成する。例えば、定期券利用ルート生成部15は、乗り換え検索エンジン12に対して、出発地及び目的地を指定して乗り換えルート検索を要求する。そして、定期券利用ルート生成部15は、乗り換え検索エンジン12によって生成されたルート(以下、通常検索ルート)を修正して、定期券区間を含むルートを生成する。通常検索ルートの修正は、例えば、通常検索ルートで利用する路線と、定期券区間の利用路線とのクロスポイント駅を一つ以上抽出し、定期券区間の一部または全部を含み、かつ、抽出されたクロスポイント駅で乗り換えを行うルートを生成する。以下、具体例を用いて説明する。   The commuter pass usage route generation unit 15 generates a commuter pass usage route including a part or all of the commuter pass section as a route from the departure point specified by the station code to the destination specified by the station code. For example, the commuter pass use route generation unit 15 requests the transfer search engine 12 to search for a transfer route by designating a departure place and a destination. The commuter pass use route generation unit 15 corrects the route generated by the transfer search engine 12 (hereinafter referred to as a normal search route) to generate a route including the commuter pass section. The normal search route is modified by, for example, extracting one or more crosspoint stations between the route used in the normal search route and the route used in the commuter pass section, and including and extracting a part or all of the commuter pass section. Generate a route to transfer at the designated crosspoint station. Hereinafter, a specific example will be described.

図5に示す路線図において、出発駅Sから到着駅Dまでの定期券利用ルートの検索を行う場合を考える。ここで、対象となるユーザの定期券区間データ20が定期券区間記憶部17に記憶されている。その定期券区間70は、終端駅がP及びPであり、路線Aと路線Bをクロスポイント駅STで乗り換える、図中に破線で示されている区間である。 In the route map shown in FIG. 5, let us consider a case where a commuter pass use route from a departure station S to an arrival station D is searched. Here, the commuter pass section data 20 of the target user is stored in the commuter pass section storage unit 17. The commuter pass section 70 is a section indicated by a broken line in the drawing in which the terminal stations are P 1 and P 2 and the line A and the line B are transferred at the cross point station ST 5 .

<ステップ1>
定期券利用ルート生成部15は、まず、定期券区間の路線コード222,232,252をキーとして、定期券区間として利用している路線内の全駅(図5の例では路線A及び路線Bの全駅)の駅コード、路線コード及び路線内通番を、駅データベース13から抽出する。つまり、定期券利用ルート生成部15は、定期券区間70の全駅及び定期券区間外であるが、定期券区間70に含まれる路線71(図5の例では、路線A及び路線B)の他の駅についても駅コード、路線コード及び路線内通番を抽出する。その結果、図6に示すように、路線A及び路線Bの全駅の駅コード、路線コード及び路線内通番が抽出される。
<Step 1>
The commuter pass use route generation unit 15 first uses all the route codes 222, 232, and 252 of the commuter pass section as a key, and all stations in the route used as the commuter pass section (in the example of FIG. 5, route A and route B). Station code, route code, and serial number in the route are extracted from the station database 13. In other words, the commuter pass use route generation unit 15 is outside all stations and commuter pass sections of the commuter pass section 70, but the routes 71 (route A and route B in the example of FIG. 5) included in the commuter pass section 70. For other stations, the station code, route code, and serial number within the route are extracted. As a result, as shown in FIG. 6, the station codes, route codes, and intra-route serial numbers of all stations on route A and route B are extracted.

なお、同図の例では、路線Aの路線コードが“TA”、路線Bの路線コードが“TB”であり、それぞれTA、TBの“x”が路線内通番である。また、路線C及び路線Dについても、同様に路線コードはそれぞれ“TC”及び“TD”である。 In the example shown in the figure, the route code of the route A is “TA”, the route code of the route B is “TB”, and “x” of TA x and TB x is the in-route number. Similarly, for the routes C and D, the route codes are “TC” and “TD”, respectively.

また、図6では、クロスポイント駅STに対して、路線A及び路線Bのそれぞれの路線コード及び路線内通番としてTAとTBが割り当てられていることがわかる。また、クロスポイント駅ST、ST及びSTの駅コードが、それぞれM,M及びMである。 Moreover, in FIG. 6, it can be seen that TA n and TB 0 are assigned to the cross point station ST 5 as the route code and route number of route A and route B, respectively. The station codes of the cross point stations ST 1 , ST 2 and ST 3 are M 1 , M 2 and M 3 , respectively.

<ステップ2>
再び図5を参照すると、定期券利用ルート生成部15は、出発駅S及び到着駅Dが特定された定期券利用ルートの検索要求を受け付けると、乗り換え検索エンジン12に対して乗り換えルート検索要求を行う。そして、乗り換え検索エンジン12によって、同図に一点鎖線で示す、出発駅S→クロスポイント駅ST→到着駅Dの通常検索ルート80が抽出される。定期券利用ルート生成部15は、出発駅S→クロスポイント駅ST→到着駅Dの通常検索ルート80について、路線コード及び路線内通番で特定される通常検索ルートデータを乗り換え検索エンジン12から取得する。
<Step 2>
Referring to FIG. 5 again, when the commuter pass usage route generation unit 15 receives a search request for a commuter pass usage route in which the departure station S and the arrival station D are specified, the commuter pass usage route generation unit 15 sends a transfer route search request to the transfer search engine 12. Do. Then, the transfer search engine 12 extracts the normal search route 80 of the departure station S → the cross point station ST 4 → the arrival station D, which is indicated by a one-dot chain line in FIG. The commuter pass use route generation unit 15 acquires from the transfer search engine 12 the normal search route data specified by the route code and the route serial number for the normal search route 80 of the departure station S → cross point station ST 4 → arrival station D. To do.

ここで、定期券利用ルート生成部15は、通常検索ルート80についても同様に、通常検索ルートデータに含まれる路線コードをキーとして、通常検索ルート80で利用する路線内の全駅(図5の例では路線C及び路線Dの全駅)の駅コード、路線コード及び路線内通番を、駅データベース13から抽出する。つまり、定期券利用ルート生成部15は、出発駅Sから到着駅Dまでの通常検索ルート80内の全駅と、出発駅Sから到着駅Dまでの通常検索ルート外であるが、通常検索ルート80で利用する路線81(図5の例では、路線C及び路線D)の他の駅についても駅コード、路線コード及び路線内通番を抽出する。その結果、図7に示すように、路線C及び路線Dの全駅の駅コード、路線コード及び路線内通番が抽出される。   Here, the commuter pass use route generation unit 15 similarly applies to all the stations in the route used in the normal search route 80 (FIG. 5) using the route code included in the normal search route data as a key. In the example, the station code, the route code, and the serial number in the route are extracted from the station database 13 for all the stations on route C and route D. That is, the commuter pass use route generation unit 15 is outside the normal search route from the departure station S to the arrival station D and all the stations in the normal search route 80 from the departure station S to the arrival station D, but the normal search route. The station code, the route code, and the serial number in the route are also extracted for other stations of the route 81 (route C and route D in the example of FIG. 5) used at 80. As a result, as shown in FIG. 7, the station codes, route codes, and in-route numbers of all the stations on route C and route D are extracted.

図7では、クロスポイント駅STに対して、路線C及び路線Dのそれぞれの路線コード及び路線内通番としてTCとTDが割り当てられていることがわかる。 In Figure 7, it can be seen that with respect to the cross point station ST 4, TC n and TD 0 is assigned as the respective line code and routes the serial number of the line C and line D.

<ステップ3>
次に、定期券利用ルート生成部15は、定期券区間利用路線71と通常検索ルート利用路線81とのクロスポイント駅を抽出する。クロスポイント駅抽出のためのマッチング処理は、例えば、図8に示すように、定期券区間利用路線71と通常検索ルート利用路線81とで、同一の駅コードを有する駅があるか否かを判定する。
(1)定期券利用ルート生成部15は、定期券区間70内の各駅に対して、通常検索ルート利用路線81の全駅を対比して、同一駅が存在するか否かのマッチングを行ってもよい。つまり、図8の例では、TA,TA,TB〜TBまでのそれぞれの駅と、通常検索ルート利用路線81の全駅との比較を行い、駅コードが同一の駅を抽出する。
(2)定期券利用ルート生成部15は、通常検索ルート80内の各駅に対して、定期券区間利用路線71の全駅を対比して、同一駅が存在するか否かのマッチングを行ってもよい。つまり、図8の例では、TC,TC,TD〜TDまでのそれぞれの駅と、定期券区間利用路線71の全駅との比較を行い、駅コードが同一の駅を抽出する。
(3)定期券区間利用路線71の全駅と通常検索ルート利用路線81の全駅とを対比して、同一駅が存在するか否かのマッチングを行って、同一駅を抽出してもよい。
(4)定期券区間70内の各駅と、通常検索ルート80内の駅とを対比して、同一駅が存在するか否かのマッチングを行って、同一駅を抽出してもよい。
<Step 3>
Next, the commuter pass use route generation unit 15 extracts a cross point station between the commuter pass section use route 71 and the normal search route use route 81. For example, as shown in FIG. 8, the matching process for extracting the crosspoint station determines whether there is a station having the same station code on the commuter pass section use route 71 and the normal search route use route 81. To do.
(1) The commuter pass use route generation unit 15 compares each station in the commuter pass section 70 with all the stations on the normal search route use route 81 and matches whether or not the same station exists. Also good. That is, in the example of FIG. 8, each station from TA 0 , TA 1 , TB 0 to TB n is compared with all the stations on the normal search route use route 81 to extract a station having the same station code. .
(2) The commuter pass use route generation unit 15 compares each station in the normal search route 80 with all stations on the commuter pass section use route 71 and matches whether or not the same station exists. Also good. That is, in the example of FIG. 8, each station from TC 0 , TC n , TD 0 to TD n is compared with all stations on the commuter pass section use route 71, and a station having the same station code is extracted. .
(3) The same station may be extracted by comparing all the stations on the commuter pass section use route 71 with all the stations on the normal search route use route 81 and matching whether or not the same station exists. .
(4) The same station may be extracted by comparing each station in the commuter pass section 70 with a station in the normal search route 80 and matching whether or not the same station exists.

なお、互いに同一駅でなくても乗り換え可能である駅もある。これについては、駅データベース13に、乗り換え可能駅コードの項目を追加し、これを用いて乗り換え可能駅を抽出してもよい。   There are also stations that can be changed even if they are not the same station. About this, the station database 13 may be added with an item of a transferable station code, and a transferable station may be extracted using this.

定期券利用ルート生成部15は、例えば、上記(1)および(2)を行ってマッチしたクロスポイント駅をすべて抽出する。あるいは、定期券利用ルート生成部15は、上記(1)〜(4)のいずれか一つだけを行ってもよい。クロスポイント駅が一つも抽出されなかったときは、定期券利用ルート生成部15は、定期券利用ルート検索を終了してもよい。   The commuter pass route generation unit 15 performs, for example, the above (1) and (2) and extracts all matched crosspoint stations. Alternatively, the commuter pass route generation unit 15 may perform only one of the above (1) to (4). When no cross point station is extracted, the commuter pass usage route generation unit 15 may end the commuter pass usage route search.

図8の例では、定期券利用ルート生成部15が上記(1)と(2)を行うことによって駅コードがM,M及びMの3つのクロスポイント駅が抽出される。 In the example of FIG. 8, the commuter pass use route generation unit 15 performs the above (1) and (2), thereby extracting three crosspoint stations whose station codes are M 1 , M 2, and M 3 .

<ステップ4>
定期券利用ルート生成部15は、ステップ3で抽出されたクロスポイント駅のなから、いずれか一つ以上を選択する。例えば、抽出されたクロスポイント駅が複数あるとき、定期券利用ルート生成部15は、出発駅S及び到着駅Dのそれぞれに対して一つずつ、クロスポイント駅を抽出してもよい。出発駅S及び到着駅Dについてそれぞれクロスポイント駅を抽出するのは、例えば、出発駅S及び到着駅Dのいずれもが、定期券区間の利用路線とは異なる路線の駅であるようなときに好適である。
<Step 4>
The commuter pass use route generation unit 15 selects one or more of the cross point stations extracted in step 3. For example, when there are a plurality of extracted cross point stations, the commuter pass route generation unit 15 may extract one cross point station for each of the departure station S and the arrival station D. The reason why the cross point station is extracted for each of the departure station S and the arrival station D is, for example, when both the departure station S and the arrival station D are stations on a route different from the use route of the commuter pass section. Is preferred.

例えば、定期券利用ルート生成部15は、駅データベース13を参照して、出発駅S、到着駅D及び一以上のクロスポイント駅の緯度及び経度139を特定し、出発駅S及び到着駅Dのそれぞれから直線距離で最も近いクロスポイント駅ST及びSTをそれぞれ抽出する。これにより、出発駅S→クロスポイント駅ST→(定期券区間)→クロスポイント駅ST→到着駅Dという、出発駅S及び到着駅Dに対してそれぞれ抽出されたクロスポイント駅を通り、且つ定期券区間を通る定期券利用ルートが生成される。 For example, the commuter pass use route generation unit 15 refers to the station database 13 to identify the latitude and longitude 139 of the departure station S, the arrival station D, and one or more crosspoint stations, and the departure station S and the arrival station D. The cross point stations ST S and ST D that are the closest in straight line distance are extracted from each. As a result, the departure station S → cross point station ST S → (commuter pass section) → cross point station ST D → arrival station D, passing through the cross point stations extracted for the departure station S and arrival station D, respectively. In addition, a commuter pass usage route that passes through the commuter pass section is generated.

図5の例では、出発駅Sに対してはクロスポイント駅ST、到着駅Dに対してはクロスポイント駅STがそれぞれ抽出される。その結果、定期券利用ルート生成部15が生成する定期券利用ルート90は、出発駅S→クロスポイント駅ST→(定期券区間)→クロスポイント駅ST→到着駅Dとなる。 In the example of FIG. 5, the cross point station ST 1 is extracted for the departure station S, and the cross point station ST 3 is extracted for the arrival station D. As a result, the commuter pass usage route 90 generated by the commuter pass usage route generating unit 15 is as follows: departure station S → cross point station ST 1 → (commuter pass section) → cross point station ST 3 → arriving station D.

なお、クロスポイント駅の選択は、駅間の直線距離の代わりに、駅数や列車の走行距離(線路の長さ)を用いるなど、他の方法で行ってもよい。   The cross point station may be selected by other methods such as using the number of stations or the travel distance of the train (the length of the track) instead of the straight line distance between the stations.

また、出発駅S及び到着駅Dのうち、いずれか一方が定期券区間の利用路線の駅であり、他方が定期券区間の利用路線とは異なる路線の駅であるときを考える。例えば、出発駅Sが定期券区間の利用路線の駅であり、到着駅Dが定期券区間の利用路線とは異なる路線の駅であるとすると、定期券区間の利用路線とは異なる路線の駅(到着駅D)に対してだけクロスポイント駅を選択し、定期券区間の利用路線の駅(出発駅S)に対しては、クロスポイント駅を選択しなくてもよい。これにより、そのクロスポイント駅と定期券区間の一部または全部を通る、出発駅Sから到着駅Dまでの定期券利用ルートが生成される。なお、定期券区間の利用路線内に出発駅Sまたは到着駅Dがある場合には、その駅が定期券区間内である場合と、定期券区間外であるが定期券区間と同一路線である場合とがある。   Further, it is assumed that one of the departure station S and the arrival station D is a station on the route used for the commuter pass section and the other is a station on a route different from the route used for the commuter pass section. For example, assuming that the departure station S is a station on the commuter pass section and the arrival station D is a station on a different route from the commuter pass section, the station is on a different route from the commuter pass section. A crosspoint station is selected only for (arrival station D), and a crosspoint station does not have to be selected for a station (departure station S) on a route used in a commuter pass section. Thereby, a commuter pass use route from the departure station S to the arrival station D passing through the crosspoint station and part or all of the commuter pass section is generated. In addition, when there is a departure station S or arrival station D in the use route of the commuter pass section, when the station is in the commuter pass section, it is outside the commuter pass section but is the same route as the commuter pass section. There are cases.

<ステップ5>
定期券利用ルート生成部15は、ステップS4で生成した定期券利用ルートを利用した場合の到着時刻及び運賃を算出する。定期券区間については運賃は不要であるから、定期券利用ルート生成部15は、この区間を除いた区間の運賃を算出する。到着時刻及び運賃の算出は、例えば、(1)出発駅S→クロスポイント駅ST、(2)クロスポイント駅ST→(定期券区間)→クロスポイント駅ST、及び(3)クロスポイント駅ST→到着駅Dに分割して行う。この場合、(2)の区間の運賃は不要である。以下、図5の例を用いて説明する。
<Step 5>
The commuter pass use route generation unit 15 calculates an arrival time and a fare when using the commuter pass use route generated in step S4. Since no fare is required for the commuter pass section, the commuter pass use route generation unit 15 calculates the fare for the section excluding this section. For example, (1) departure station S → cross point station ST S , (2) cross point station ST S → (commuter pass section) → cross point station ST D , and (3) cross point The station ST D is divided into the arrival station D. In this case, the fare for the section (2) is unnecessary. Hereinafter, a description will be given using the example of FIG.

まず、出発駅Sの出発時刻が指定されている場合、定期券利用ルート生成部15は、その出発時刻を指定して、乗り換え検索エンジン12に対して出発駅Sからクロスポイント駅STまでのルート検索要求を行い、クロスポイント駅STの到着時刻及び運賃を取得する。次に、定期券利用ルート生成部15は、クロスポイント駅STの到着時刻に所定の乗り換え時間を加えた時刻を出発時刻に指定して、乗り換え検索エンジン12に対してクロスポイント駅STからクロスポイント駅STまでのルート検索要求を行い、クロスポイント駅STの到着時刻及び運賃を取得する。さらに、定期券利用ルート生成部15は、クロスポイント駅STの到着時刻に所定の乗り換え時間を加えた時刻を出発時刻に指定して、乗り換え検索エンジン12に対してクロスポイント駅STから到着駅Dまでのルート検索要求を行い、到着駅Dの到着時刻及び運賃を取得する。 First of all, if the departure time of the departure station S is specified, commuter pass use the route generation unit 15, and specify the departure time, from the departure station S to the cross-point station ST 1 to the transfer search engine 12 It performs a route search request, to obtain the arrival time and the fare of the cross-point station ST 1. Then, commutation ticket available route generation section 15 designates the time obtained by adding a predetermined transfer time to the arrival time of the crosspoint station ST 1 to departure time, the crosspoint Station ST 1 with respect to transfer the search engine 12 It performs a route search request to the cross-point station ST 3, to get the arrival time and the fare of the cross-point station ST 3. Moreover, commutation ticket available route generation section 15 designates the time obtained by adding a predetermined transfer time to the arrival time of the crosspoint station ST 3 to departure time, arrival from the cross point station ST 3 against transfer the search engine 12 A route search request to the station D is made, and the arrival time and fare of the arrival station D are acquired.

一方、到着駅Dの到着時刻が指定されている場合、定期券利用ルート生成部15は、その到着時刻を指定して、乗り換え検索エンジン12に対してクロスポイント駅STから到着駅Dまでのルート検索要求を行い、クロスポイント駅STの出発時刻及び運賃を取得する。次に、定期券利用ルート生成部15は、クロスポイント駅STの出発時刻から所定の乗り換え時間を引いた時刻を到着時刻に指定して、乗り換え検索エンジン12に対してクロスポイント駅STからクロスポイント駅STまでのルート検索要求を行い、クロスポイント駅STの出発時刻及び運賃を取得する。さらに、定期券利用ルート生成部15は、クロスポイント駅STの出発時刻から所定の乗り換え時間を引いた時刻を到着時刻に指定して、乗り換え検索エンジン12に対して出発駅Sからクロスポイント駅STまでのルート検索要求を行い、出発駅Sの出発時刻及び運賃を取得する。 On the other hand, if the arrival time of the arrival station D is specified, commuter pass use the route generation unit 15, to specify its arrival time, from the cross-point station ST 3 to the transfer search engine 12 to the arrival station D It performs a route search request, to obtain the departure time and fare of a cross-point station ST 3. Next, the commuter pass use route generation unit 15 designates the arrival time as a time obtained by subtracting a predetermined transfer time from the departure time of the cross point station ST 3 , and sends the transfer search engine 12 from the cross point station ST 1. It performs a route search request to the cross-point station ST 3, to get the departure time and fare of the cross-point station ST 1. In addition, commuter pass use the route generation unit 15, by specifying the time obtained by subtracting a predetermined transfer time from the starting time of a cross-point station ST 1 to the arrival time, the cross-point station from the departure station S to the transfer search engine 12 It performs a route search request to the ST 1, to get the departure time and fare of the departure station S.

ここで、このユーザは定期券を有しているので、定期券利用区間であるST→STの運賃は不要である。従って、この定期券利用ルート90で運賃が必要になるのは、出発駅S→クロスポイント駅ST及びクロスポイント駅ST→到着駅Dの区間であり、その区間の運賃の合計がこの定期券利用ルートで必要になる運賃となる。そして、定期券利用ルート生成部15は、この定期券利用ルートの運賃と通常検索ルートの運賃とを比較して、定期券利用ルートの運賃の方が安い場合に、定期券利用ルート90を示すデータを検索結果として出力するようにしてもよい。また、定期券利用ルート生成部15は、運賃にかかわらず、定期券利用ルート90を示すデータを検索結果として出力するようにしてもよい。 Here, since this user has a commuter pass, the fare of ST 1 → ST 3 which is a commuter pass use section is unnecessary. Accordingly, the fare required for this commuter pass use route 90 is the section of the departure station S → cross point station ST 1 and the cross point station ST 3 → arrival station D, and the total fare for that section is the regular period. This is the fare required for the ticket usage route. The commuter pass usage route generation unit 15 compares the fare of the commuter pass usage route with the fare of the normal search route, and indicates the commuter pass usage route 90 when the fare of the commuter pass usage route is cheaper. Data may be output as a search result. Further, the commuter pass use route generation unit 15 may output data indicating the commuter pass use route 90 as a search result regardless of the fare.

また、出発駅S及び到着駅Dのうち、いずれか一方が定期券区間の利用路線とは異なる路線の駅で、他方が定期券区間の利用路線の駅であるときは、上記と同様に、路線ごとに到着時刻または出発時刻を乗り換え検索エンジン12から取得する。この場合の運賃計算も、定期券区間を除く区間について算出する。例えば、出発駅Sまたは到着駅Dのいずれか一方(例えば出発駅S)が定期券区間内にあれば、クロスポイント駅と定期券区間の利用路線とは異なる路線の駅(例えば到着駅D)との運賃を算出する。あるいは、出発駅Sまたは到着駅Dのいずれか一方(例えば出発駅S)が定期券区間の利用路線の駅であるが、定期券区間内ではないときは、その駅から定期券区間の端点までの運賃と、クロスポイント駅と定期券区間の利用路線とは異なる路線の駅(例えば到着駅D)との運賃を合計する。   In addition, when one of the departure station S and the arrival station D is a station on a route different from the use route of the commuter pass section and the other is a station on the use route of the commuter pass section, as described above, The arrival time or the departure time is acquired from the transfer search engine 12 for each route. The fare calculation in this case is also calculated for the section excluding the commuter pass section. For example, if either the departure station S or the arrival station D (for example, the departure station S) is in the commuter pass section, a station (for example, the arrival station D) on a different route from the crosspoint station and the use route of the commuter pass section. And the fare is calculated. Alternatively, when either the departure station S or the arrival station D (for example, the departure station S) is a station on the route of the commuter pass section, but not within the commuter pass section, from that station to the end point of the commuter pass section And the fare of a station (for example, arrival station D) on a different route from the crosspoint station and the route used for the commuter pass section.

次に、図9は、上記のような構成を備える定期券を利用したルート検索システムにおける処理手順を示すフローチャートである。以下、このフローチャートに従って説明する。   Next, FIG. 9 is a flowchart showing a processing procedure in a route search system using a commuter pass having the above configuration. Hereinafter, description will be given according to this flowchart.

まず、ユーザがユーザ端末装置3に対して、自らの定期券区間のデータを入力する(S10)。そして、ユーザ端末装置3が定期券区間データをサーバ1へ送信すると、定期券区間記憶部17に登録される(S20)。定期券区間データを既に登録済みのユーザについては、これらの処理を省略することができる。   First, the user inputs data of his / her commuter pass section to the user terminal device 3 (S10). When the user terminal device 3 transmits the commuter pass section data to the server 1, it is registered in the commuter pass section storage unit 17 (S20). These processes can be omitted for users who have already registered commuter pass section data.

次に、ユーザは、ユーザ端末3の表示装置31に、図2に示すメニュー画面100及び受付画面200を表示させて、それぞれに検索条件を入力する(S12)。そして、ここで入力された検索条件を含む乗り換えルート検索要求がサーバ1へ送信される(S14)。ここで、メニュー画面100において、「5.乗り換え案内(定期券利用)」が選択されたときには、検索要求に定期券利用ルートの検索要求であることを示すデータが含まれる。   Next, the user displays the menu screen 100 and the reception screen 200 shown in FIG. 2 on the display device 31 of the user terminal 3, and inputs search conditions for each (S12). Then, a transfer route search request including the search condition input here is transmitted to the server 1 (S14). Here, when “5. Transfer guidance (commuter pass use)” is selected on the menu screen 100, the search request includes data indicating that it is a search request for a commuter pass use route.

サーバ1は、この乗り換えルート検索要求を受け付けると、乗り換えルート検索要求処理部11が、受け付けた検索要求が定期券利用ルートの検索要求であることを示すデータを含む定期券利用ルート検索要求であるか否かを判定する(S22)。その結果、定期券利用ルート検索要求であるときには(S22:Yes)、定期券利用ルート生成部15が、定期券利用ルートを生成する(S24)。この処理の詳細については、図10を用いて説明する。一方、受け付けた検索要求が定期券利用ルート検索要求でないときは(S22:No)、乗り換え検索エンジン12に対して、通常の検索要求をする(S26)。   When the server 1 receives this transfer route search request, the transfer route search request processing unit 11 is a commuter pass use route search request including data indicating that the received search request is a search request for a commuter pass use route. It is determined whether or not (S22). As a result, when it is a commuter pass use route search request (S22: Yes), the commuter pass use route generation unit 15 generates a commuter pass use route (S24). Details of this processing will be described with reference to FIG. On the other hand, when the received search request is not a commuter pass use route search request (S22: No), a normal search request is made to the transfer search engine 12 (S26).

乗り換えルート検索要求処理部11は、乗り換え検索エンジン12または定期券利用ルート生成部15が出力する検索結果のルートデータを、検索要求の送信元のユーザ端末装置3へ送信する(S28)。   The transfer route search request processing unit 11 transmits the search result route data output from the transfer search engine 12 or the commuter pass use route generation unit 15 to the user terminal device 3 that has transmitted the search request (S28).

ユーザ端末装置3は、この検索結果のルートデータを受け付けて、表示装置31に表示する(S16)。これにより、ユーザに対して、乗り換え案内情報を提供することができる。   The user terminal device 3 receives the route data of the search result and displays it on the display device 31 (S16). Thereby, transfer guidance information can be provided to the user.

図10は、ステップS24の定期券利用ルート生成処理の詳細な手順を示すフローチャートである。以下、このフローチャートに従って説明する。   FIG. 10 is a flowchart showing a detailed procedure of the commuter pass use route generation process in step S24. Hereinafter, description will be given according to this flowchart.

定期券利用ルート生成部15は、上述の<ステップ1>の処理を行う。すなわち、定期券利用ルート生成部15は、駅データベース13を参照して、定期券区間利用路線の全駅を抽出する(S30)。   The commuter pass route generation unit 15 performs the process of <Step 1> described above. That is, the commuter pass usage route generation unit 15 refers to the station database 13 and extracts all stations on the commuter pass section use route (S30).

次に、定期券利用ルート生成部15は、上述の<ステップ2>の処理を行う。すなわち、12が通常検索を実行する(S32)。そして、定期券利用ルート生成部15が、駅データベース13を参照して、通常検索ルートで利用する路線の全駅を抽出する(S34)。   Next, the commuter pass route generation unit 15 performs the process of <Step 2> described above. That is, 12 performs a normal search (S32). Then, the commuter pass use route generation unit 15 refers to the station database 13 and extracts all stations on the route used for the normal search route (S34).

次に、定期券利用ルート生成部15は、上述の<ステップ3>の処理を行う。すなわち、定期券利用ルート生成部15は、定期券区間の利用路線と、通常検索ルートの利用路線のクロスポイント駅を抽出する(S36)。   Next, the commuter pass route generation unit 15 performs the above-described process of <Step 3>. In other words, the commuter pass usage route generation unit 15 extracts the crossing point station between the usage route of the commuter pass section and the usage route of the normal search route (S36).

次に、定期券利用ルート生成部15は、上述の<ステップ4>の処理を行ってクロスポイント駅を選択し(S38)、定期券利用ルートを生成する(S40)。さらに、定期券利用ルート生成部15は、ここで生成した定期券利用ルートの運賃と、通常検索ルートの運賃とに基づいて、出力するルートを決定する(S42)。例えば、定期券利用ルートの運賃が通常検索ルートの運賃よりも安いときには、通常検索ルート及び定期券利用ルートを出力ルートとする。定期券利用ルートの運賃が通常検索ルートの運賃と同額または高いときは、出力ルートには、通常検索ルートを含めるとともに、定期券利用ルートを含めてもよいし、含めなくてもよい。出力ルートの対象となる通常検索ルート及び定期券利用ルートは、それぞれ複数であってもよい。   Next, the commuter pass use route generation unit 15 performs the above-described process of <Step 4> to select a crosspoint station (S38), and generates a commuter pass use route (S40). Further, the commuter pass usage route generation unit 15 determines a route to be output based on the fare of the commuter pass usage route generated here and the fare of the normal search route (S42). For example, when the fare of the commuter pass use route is lower than the fare of the normal search route, the normal search route and the commuter pass use route are set as output routes. When the fare of the commuter pass use route is equal to or higher than the fare of the normal search route, the output route may include the normal search route and may or may not include the commuter pass use route. There may be a plurality of normal search routes and commuter pass usage routes that are targets of the output route.

これにより、定期券利用ルートの情報をユーザに提供することができる。特に、本実施形態では、乗り換え検索エンジンとして汎用的な検索エンジンを用いて、定期券利用ルートを生成することができる。   Thereby, the information on the commuter pass use route can be provided to the user. In particular, in this embodiment, it is possible to generate a commuter pass route using a general-purpose search engine as a transfer search engine.

上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。   The above-described embodiments of the present invention are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to those embodiments. Those skilled in the art can implement the present invention in various other modes without departing from the gist of the present invention.

例えば、上述した実施形態では、サーバ1がルート検索を実行して、検索結果をユーザ端末装置3へ返しているが、ユーザ端末装置3がルート検索に関する処理の一部または全部を行ってもよい。   For example, in the above-described embodiment, the server 1 executes a route search and returns the search result to the user terminal device 3, but the user terminal device 3 may perform part or all of the processing related to the route search. .

本発明の一実施形態に係る定期券を利用したルート検索システムの構成図である。It is a lineblock diagram of a route search system using a commuter pass concerning one embodiment of the present invention. 各ユーザ端末装置3における受付画面の一例を示す。An example of the reception screen in each user terminal device 3 is shown. 駅データベース13のデータ構造の一例を示す。An example of the data structure of the station database 13 is shown. 定期券区間記憶部17に格納される定期券区間データ20のデータ構造の一例を示す。An example of the data structure of the commuter pass section data 20 stored in the commuter pass section storage unit 17 is shown. 定期券利用ルート検索を説明するための路線図である。It is a route map for demonstrating a commuter pass utilization route search. 定期券区間として利用している路線内の全駅を抽出した結果を示す図である。It is a figure which shows the result of having extracted all the stations in the route currently used as a commuter pass area. 通常検索ルートで利用している路線内の全駅を抽出した結果を示す図である。It is a figure which shows the result of having extracted all the stations in the route used with the normal search route. クロスポイント駅抽出のためのマッチング処理の説明図である。It is explanatory drawing of the matching process for crosspoint station extraction. 定期券を利用したルート検索システムにおける処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the route search system using a commuter pass. 定期券利用ルート生成処理の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of a commuter pass utilization route production | generation process.

符号の説明Explanation of symbols

1…サーバ、3,3…ユーザ端末装置、11…ルート検索要求処理部、12…乗り換え検索エンジン、13…駅データベース、15…定期券利用ルート生成部、17…定期券区間記憶部、20…定期券区間データ、22,23…終端駅、25,25,・・・…経由駅、70…定期券区間、80…通常検索ルート、90…定期券利用ルート、131…駅名、133…駅コード、135…路線コード、137…路線内通番、139…緯度・経度 DESCRIPTION OF SYMBOLS 1 ... Server, 3, 3 ... User terminal device, 11 ... Route search request process part, 12 ... Transfer search engine, 13 ... Station database, 15 ... Passenger ticket use route generation part, 17 ... Passenger ticket section storage part, 20 ... Commuter pass section data, 22, 23 ... terminal station, 25, 25, ... via station, 70 ... commuter pass section, 80 ... regular search route, 90 ... commuter pass use route, 131 ... station name, 133 ... station code 135 ... route code, 137 ... serial number in route, 139 ... latitude / longitude

Claims (6)

指定された出発地から目的地までの交通機関を利用したルートの検索を行い、前記出発地から前記目的地までの利用路線の識別情報を含む検索ルートのデータを出力する検索エンジンと、
前記交通機関の路線別の乗降ポイントに関するデータを記憶した乗降ポイントデータベースと、
予め定められた優先区間の2つの端点の識別情報及び前記優先区間の利用路線の識別情報を含む優先区間データを記憶する記憶部と、
前記乗降ポイントデータベースを参照し、前記検索エンジンが出力した検索ルートデータ及び前記記憶部に記憶された前記優先区間データに基づいて、前記検索ルートの利用路線と前記優先区間の利用路線との乗り換えが可能な一以上のクロスポイントを抽出する抽出手段と、
前記記憶部に記憶された前記優先区間データにより特定される優先区間の一部または全部を含み、前記抽出手段により抽出された一以上のクロスポイントのうちの少なくとも一つを通る、前記出発地から前記目的地までの交通機関を利用した優先区間利用ルートを生成する生成手段と、
前記生成手段により生成された優先区間利用ルートを出力する手段と、を備え、
前記抽出手段は、前記乗降ポイントデータベースから、前記検索ルートの利用路線の全ての乗降ポイント、及び前記優先区間の利用路線の全ての乗降ポイントを抽出し、前記検索ルートの利用路線の乗降ポイントのいずれかと前記優先区間の利用路線の乗降ポイントのいずれかが同一であれば、その同一乗降ポイントを前記クロスポイントとして抽出し、
前記優先区間利用ルート生成手段は、前記抽出手段により抽出されたクロスポイントが複数あるときは、前記出発地及び前記目的地の経度及び緯度と、前記クロスポイントの経度及び緯度とを特定し、前記出発地及び前記目的地からそれぞれ最も近い第1及び第2のクロスポイントを選択し、前記選択された第1のクロスポイントと第2のクロスポイント間の優先区間内を通る前記優先区間利用ルートを生成する
優先区間を利用したルート検索装置。
A search engine that performs a route search using a transportation from a specified departure point to a destination, and outputs search route data including identification information of a route used from the departure point to the destination;
A boarding / exiting point database storing data on boarding / exiting points for each route of the transportation,
A storage unit for storing priority section data including identification information of two end points of a predetermined priority section and identification information of a use route of the priority section;
Based on the search route data output by the search engine and the priority section data stored in the storage unit with reference to the boarding / alighting point database, the use route of the search route and the use route of the priority section are changed. Extraction means for extracting one or more possible crosspoints;
Including part or all of the priority section specified by the priority section data stored in the storage unit, and passing through at least one of the one or more cross points extracted by the extraction means Generating means for generating a priority section use route using the transportation to the destination;
Means for outputting the priority section use route generated by the generating means,
The extraction means extracts all the getting on / off points on the used route of the search route and all the getting on / off points on the used route of the priority section from the getting-on / off point database. If any of the boarding points on the route used in the priority section is the same, the same boarding point is extracted as the cross point,
When there are a plurality of cross points extracted by the extraction unit, the priority section use route generation unit specifies the longitude and latitude of the departure point and the destination, and the longitude and latitude of the cross point, The first and second cross points closest to the starting point and the destination are selected, and the priority section use route passing through the priority section between the selected first and second cross points is selected. A route search device that uses the priority section to be generated.
前記出力手段は、前記出発地から第1のクロスポイントまでの運賃と第2のクロスポイントから前記目的地までの運賃との合計が、前記検索ルートで前記出発地から前記目的地まで移動する際の運賃よりも安いときに、前記優先区間利用ルートを出力することを特徴とする請求項記載の優先区間を利用したルート検索装置。 When the total of the fare from the starting point to the first cross point and the fare from the second cross point to the destination moves from the starting point to the destination by the search route, the output means of the time cheaper than fares, the route search device using the priority section of claim 1, wherein the outputting the priority interval available routes. 前記優先区間利用ルート生成手段は、
前記出発地または前記目的地の少なくともいずれか一方が、前記優先区間の利用路線とは異なる路線にあるときは、その異なる路線にある前記出発地または前記目的地から最も近いクロスポイントと、前記優先区間の一部または全部を通る優先区間利用ルートを生成することを特徴とする請求項1記載の優先区間を利用したルート検索装置。
The priority section use route generation means includes
When at least one of the starting point and the destination is on a route different from the route of use of the priority section, the cross point closest to the starting point or the destination on the different route, and the priority 2. The route search apparatus using a priority section according to claim 1, wherein a priority section use route passing through a part or all of the section is generated.
前記交通機関は鉄道であり、
前記乗降ポイントは前記鉄道の駅であり、
前記優先区間は定期券利用区間であることを特徴とする請求項1〜のいずれかに記載の優先区間を利用したルート検索装置。
The transportation is a railway,
The getting-on / off point is the railway station,
The route search device using a priority section according to any one of claims 1 to 3 , wherein the priority section is a commuter pass use section.
指定された出発地から目的地までの交通機関を利用したルートの検索を行い、前記出発地から前記目的地までの利用路線の識別情報を含む検索ルートのデータを出力する検索エンジンと、前記交通機関の路線別の乗降ポイントに関するデータを記憶した乗降ポイントデータベースとを備えたルート検索装置において、
予め定められた優先区間の2つの端点の識別情報及び前記優先区間の利用路線の識別情報を含む優先区間データを記憶部に記憶し、
前記乗降ポイントデータベースから、前記検索エンジンが出力した検索ルートの利用路線の全ての乗降ポイント、及び前記記憶部に記憶された前記優先区間の利用路線の全ての乗降ポイントを抽出し、前記検索ルートの利用路線の乗降ポイントのいずれかと前記優先区間の利用路線の乗降ポイントのいずれかが同一であれば、その同一乗降ポイントを、前記検索ルートの利用路線と前記優先区間の利用路線との乗り換えが可能な一以上のクロスポイントとして抽出し、
前記記憶部に記憶された前記優先区間データにより特定される優先区間の一部または全部を含み、前記抽出された一以上のクロスポイントのうちの少なくとも一つを通る、前記出発地から前記目的地までの交通機関を利用した優先区間利用ルートを生成し、
前記抽出されたクロスポイントが複数あるときは、前記出発地及び前記目的地の経度及び緯度と、前記クロスポイントの経度及び緯度とを特定し、前記出発地及び前記目的地からそれぞれ最も近い第1及び第2のクロスポイントを選択し、前記選択された第1のクロスポイントと第2のクロスポイント間の優先区間内を通る前記優先区間利用ルートを生成し、
前記生成された優先区間利用ルートを出力する、優先区間利用ルートの検索方法。
A search engine for searching for a route using a transportation from a specified departure point to a destination and outputting search route data including identification information of a route used from the departure point to the destination; and the traffic In a route search device comprising a boarding point database storing data on boarding points for each route of an engine,
Storing priority section data including identification information of two end points of a predetermined priority section and identification information of a use route of the priority section in a storage unit;
From the boarding / alighting point database, all the boarding / alighting points of the use route of the search route output by the search engine and all the boarding / alighting points of the use route of the priority section stored in the storage unit are extracted, and the search route If any of the boarding points on the route used is the same as any of the boarding points on the route used in the priority section, it is possible to transfer the same boarding point between the route used in the search route and the route used in the priority section. Extract as one or more cross points,
The destination from the starting point includes at least one of the extracted one or more cross points, including a part or all of the priority interval specified by the priority interval data stored in the storage unit. Generate a priority section use route using the transportation to
When there are a plurality of the extracted cross points, the longitude and latitude of the starting point and the destination and the longitude and latitude of the cross point are specified, and the first and the nearest points from the starting point and the destination are respectively identified. And a second crosspoint, and generating the priority section use route passing through the priority section between the selected first crosspoint and the second crosspoint,
A method for searching for a priority section use route, wherein the generated priority section use route is output.
指定された出発地から目的地までの交通機関を利用したルートの検索を行い、前記出発地から前記目的地までの利用路線の識別情報を含む検索ルートのデータを出力する検索エンジンと、前記交通機関の路線別の乗降ポイントに関するデータを記憶した乗降ポイントデータベースとを備えたコンピュータを、ルート検索装置として動作させるためのコンピュータプログラムであって、
前記コンピュータが前記コンピュータプログラムを実行すると、
予め定められた優先区間の2つの端点の識別情報及び前記優先区間の利用路線の識別情報を含む優先区間データを記憶部に記憶し、
前記乗降ポイントデータベースから、前記検索エンジンが出力した検索ルートの利用路線の全ての乗降ポイント、及び前記記憶部に記憶された前記優先区間の利用路線の全ての乗降ポイントを抽出し、前記検索ルートの利用路線の乗降ポイントのいずれかと前記優先区間の利用路線の乗降ポイントのいずれかが同一であれば、その同一乗降ポイントを、前記検索ルートの利用路線と前記優先区間の利用路線との乗り換えが可能な一以上のクロスポイントとして抽出し、
前記記憶部に記憶された前記優先区間データにより特定される優先区間の一部または全部を含み、前記抽出手段により抽出された一以上のクロスポイントのうちの少なくとも一つを通る、前記出発地から前記目的地までの交通機関を利用した優先区間利用ルートを生成し、
前記抽出されたクロスポイントが複数あるときは、前記出発地及び前記目的地の経度及び緯度と、前記クロスポイントの経度及び緯度とを特定し、前記出発地及び前記目的地からそれぞれ最も近い第1及び第2のクロスポイントを選択し、前記選択された第1のクロスポイントと第2のクロスポイント間の優先区間内を通る前記優先区間利用ルートを生成し、
前記生成された優先区間利用ルートを出力する、ことを特徴とするコンピュータプログラム。
A search engine for searching for a route using a transportation from a specified departure point to a destination and outputting search route data including identification information of a route used from the departure point to the destination; and the traffic A computer program for operating a computer comprising a boarding / alighting point database storing data on boarding / alighting points for each route of an engine as a route search device,
When the computer executes the computer program,
Storing priority section data including identification information of two end points of a predetermined priority section and identification information of a use route of the priority section in a storage unit;
From the boarding point database, the search engine extracts all passenger point of use routes all passenger points, and said priority processing interval stored in the storage unit utilization route search routes output, the search root If any of the boarding points on the route used is the same as any of the boarding points on the route used in the priority section, it is possible to transfer the same boarding point between the route used in the search route and the route used in the priority section. Extract as one or more cross points,
Including part or all of the priority section specified by the priority section data stored in the storage unit, and passing through at least one of the one or more cross points extracted by the extraction means Generate a priority section use route using transportation to the destination,
When there are a plurality of the extracted cross points, the longitude and latitude of the starting point and the destination and the longitude and latitude of the cross point are specified, and the first and the nearest points from the starting point and the destination are respectively identified. And a second crosspoint, and generating the priority section use route passing through the priority section between the selected first crosspoint and the second crosspoint,
A computer program for outputting the generated priority section use route.
JP2008025574A 2008-02-05 2008-02-05 Route search apparatus and method using priority section Expired - Fee Related JP5000541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008025574A JP5000541B2 (en) 2008-02-05 2008-02-05 Route search apparatus and method using priority section

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008025574A JP5000541B2 (en) 2008-02-05 2008-02-05 Route search apparatus and method using priority section

Publications (2)

Publication Number Publication Date
JP2009184474A JP2009184474A (en) 2009-08-20
JP5000541B2 true JP5000541B2 (en) 2012-08-15

Family

ID=41068190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008025574A Expired - Fee Related JP5000541B2 (en) 2008-02-05 2008-02-05 Route search apparatus and method using priority section

Country Status (1)

Country Link
JP (1) JP5000541B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012220312A (en) * 2011-04-07 2012-11-12 Navitime Japan Co Ltd Navigation device, navigation system, navigation server, navigation method and program
JP5902434B2 (en) * 2011-10-14 2016-04-13 株式会社 ヴァル研究所 Route search method for transportation, route search server, and computer program
JP6121585B2 (en) * 2016-03-10 2017-04-26 株式会社 ヴァル研究所 Route search method for transportation, route search server, and computer program
JP7486191B2 (en) * 2021-02-04 2024-05-17 株式会社MaaS Tech Japan PROGRAM AND INFORMATION PROCESSING APPARATUS

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006119690A (en) * 2004-10-19 2006-05-11 Navitime Japan Co Ltd Mobile navigation system, mobile navigation device, and server
JP2007249448A (en) * 2006-03-15 2007-09-27 Jr East Mechatronics Co Ltd Lowest fare route display system

Also Published As

Publication number Publication date
JP2009184474A (en) 2009-08-20

Similar Documents

Publication Publication Date Title
US8335648B2 (en) Route searching system, route searching server and route searching method
US8467957B2 (en) Method and apparatus for generating routes using real-time public transportation information
JP5581272B2 (en) User movement process prediction device and operation information notification device using the same
JP2014126500A (en) Travel time information providing apparatus and travel time information providing method
CN104517246B (en) Travel route planning and guiding system
JP2009174887A (en) Route guiding system, route guiding method and computer program
US20190325480A1 (en) Information providing device, information providing system, and information providing method
JP5000541B2 (en) Route search apparatus and method using priority section
JP3996552B2 (en) Navigation system
JP2010091367A (en) Route information distribution system, route information guide server and terminal apparatus and route information distribution method
JP4357586B1 (en) Train route search device, platform image providing method, and computer program
JP2013108804A (en) Guide apparatus and method
JP2002148067A (en) System and method for navigation
JP2008286596A (en) Navigation system, route search server, route search method, and terminal device
JP2022038302A (en) Route guidance method, route guidance system, server, and program
JP2008242582A (en) Expense application terminal, expense application system, expense application method and expense application program
JP4448501B2 (en) Route search system, route search server, terminal device, and route search method
US7970383B2 (en) Information providing system and information providing method
KR100717843B1 (en) Personal Navigation System Using Public Transportation Information and Its Method
KR100627755B1 (en) Optimal transfer information provision system and method of public transportation
JP2010101668A (en) Navigation system, route search server, and candidate route display method
JP4496324B2 (en) Navigation system, navigation device
JP3735301B2 (en) Guidance system
JP2003090733A (en) Route search server, route search method, route guidance terminal, and route guidance system
JP4561140B2 (en) Navigation system and navigation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120327

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120416

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120515

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120516

R150 Certificate of patent or registration of utility model

Ref document number: 5000541

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees