JPH09161105A - Route retrieving system - Google Patents

Route retrieving system

Info

Publication number
JPH09161105A
JPH09161105A JP7319112A JP31911295A JPH09161105A JP H09161105 A JPH09161105 A JP H09161105A JP 7319112 A JP7319112 A JP 7319112A JP 31911295 A JP31911295 A JP 31911295A JP H09161105 A JPH09161105 A JP H09161105A
Authority
JP
Japan
Prior art keywords
station
search
route
intersection
stations
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7319112A
Other languages
Japanese (ja)
Inventor
Shigeru Kondo
成 近藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7319112A priority Critical patent/JPH09161105A/en
Publication of JPH09161105A publication Critical patent/JPH09161105A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce time for retrieving a route by setting junction stations being transfer stations to be retrieving data at the time of retrieving the route, setting station between a junction station and another junction station to be one group and retrieving the route by means of retrieving data. SOLUTION: A memory 121 sets a junction station, which is a transfer station and is provided with more than three branches, to be the junction station retrieving data at the time of retrieving the route, sets the stations between a junction station and another junction station to be data of one group and holds them. A by-way, starting and terminal station setting part (a starting and terminal station receiving means) 104 receives the designation of a starting station and a terminal station included in a list consisting of plural stations and branches connecting these stations. A route retrieving part 103 retrieves a route from a starting station to a terminal station by means of retrieving data. A route and starting/terminal station setting part (a route receiving means) 104 receives the designation of the retrieved route. A condition setting operation part 102 receives the designation of an effective limit. Then a commutation ticket issuing part 124 issues the commutation ticket of received starting/terminal stations, route and effective limit.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、鉄道などの交通
機関のある駅から別の駅までの経路を検索する経路検索
システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a route search system for searching a route from a station having a transportation system such as a railway to another station.

【0002】[0002]

【従来の技術】例えば、交通機関で利用される定期券を
発行する場合には、発行される定期券の利用区間を設定
する必要がある。利用区間の設定の際には、経由駅など
も設定される。この経由駅を設定するには、ある駅から
別の駅までの経路を検索する必要があった。このような
経路検索は、駅を一つずつたどることにより行われてい
る。
2. Description of the Related Art For example, when issuing a commuter pass used in transportation, it is necessary to set a use section of the issued commuter pass. When setting the use section, transit stations are also set. To set up this transit station, it was necessary to search for a route from one station to another. Such route search is performed by tracing stations one by one.

【0003】[0003]

【発明が解決しようとする課題】しかし、二つの経路し
か持たない駅、つまりその駅を通過した後の経由が一意
に決まる場合でも一つずつ駅をたどることにより経路検
索が行われるため、経路検索に時間がかかるなどの問題
がある。ここで、図6の東京−品川間を例に取り具体的
に説明する。東京−品川間においては、「東京→山手東
京→山手有楽町→山手新橋→山手浜松町→山手田町→山
手品川→品川」と7回リスト(ポインタ)をたどること
になる。この発明の目的は、迅速な経路検索が可能な経
路検索システムを提供することにある。
However, even if a station that has only two routes, that is, a transit route after passing through the station is uniquely determined, the route is searched by tracing each station one by one. There is a problem that it takes time to search. Here, a specific description will be given by taking the Tokyo-Shinagawa area of FIG. 6 as an example. Between Tokyo and Shinagawa, the list (pointer) is traced seven times, such as “Tokyo → Yamate Tokyo → Yamate Yurakucho → Yamate Shimbashi → Yamate Hamamatsucho → Yamatedacho → Yamate Shinagawa → Shinagawa”. An object of the present invention is to provide a route search system capable of quick route search.

【0004】[0004]

【課題を解決するための手段】この発明の経路検索方法
は、複数の駅とこれら駅を含む路線で構成される路線網
において、3つ以上の枝を有する乗り換え可能駅を交差
駅としてこの交差駅を経路検索時の検索データとし;前
記交差駅と交差駅とで挟まれた駅を一つのグループと
し;前記路線網に含まれる発駅および着駅の入力を受け
付け;前記発駅が交差駅に該当するときにはこの発駅を
検索開始駅とし;前記発駅が交差駅に該当しないときに
はこの発駅を含むグループを求め、このグループの両端
の交差駅を検索開始駅とし;前記着駅が交差駅に該当す
るときにはこの着駅を検索対象駅とし;前記着駅が交差
駅に該当しないときにはこの着駅を含むグループを求
め、このグループの両端の交差駅を検索対象駅とし;前
記検索開始駅に隣り合う交差駅としての隣接交差駅を獲
得し;前記獲得された隣接交差駅に隣り合う交差駅の獲
得を繰り返し前記検索対象駅までの経路を検索する。
According to the route search method of the present invention, in a route network composed of a plurality of stations and routes including these stations, a crossover station having three or more branches is used as a crossover station to perform this crossover. Stations are used as search data at the time of route search; stations sandwiched between the intersecting stations and the intersecting stations are grouped; input of departure station and arrival station included in the route network is accepted; When the departure station is not a crossing station, the group including this departure station is obtained, and the crossing stations at both ends of this group are set as the search starting station; When the destination station is a station, this destination station is the search target station; when the destination station is not a crossing station, a group including this destination station is obtained, and the crossing stations at both ends of this group are the search target stations; Next to It won adjacent intersection station as cross station; repeatedly acquiring cross station adjacent to said acquired neighboring cross station to search for a route to the searched station.

【0005】この発明の定期券発行装置は、複数の駅と
これら駅を含む路線で構成される路線網において、3つ
以上の枝を有する乗り換え可能な駅を交差駅として経路
検索時の検索データとし、この交差駅と交差駅とで挟ま
れた駅を一つのグループデータとして保持する保持手段
と;前記路線網に含まれる発駅および着駅の指定を受け
付ける発着駅受付手段と;前記発駅から前記着駅までの
経路を前記検索データにより検索する検索手段と;前記
検索された経路の指定を受け付ける経路受付手段と;有
効期限の指定を受け付ける有効期限受付手段と;前記受
け付けられた発駅、着駅、経路、および有効期限の定期
券を発行する定期券発行手段とを備えている。
The commuter pass issuing device according to the present invention is a search data at the time of route search with a transferable station having three or more branches as an intersecting station in a route network composed of a plurality of stations and lines including these stations. And holding means for holding the station sandwiched between the intersection stations as one group data; departure station and arrival station acceptance means for accepting designation of departure station and arrival station included in the route network; Search means for searching a route from the destination station to the destination station based on the search data; route acceptance means for accepting designation of the retrieved route; expiry date acceptance means for accepting designation of expiry date; the accepted departure station , Arriving station, route, and commuter pass issuing means for issuing commuter pass with expiration date.

【0006】この発明の経路検索方法は、複数の点とこ
れら点を接続する枝で構成されるリストにおいて、3つ
以上の枝を有する点を経路検索時の検索データとし;始
点および終点の入力を受け付け;前記始点から前記終点
までの経路を前記検索データにより検索する。
In the route search method of the present invention, in a list composed of a plurality of points and branches connecting these points, points having three or more branches are used as search data at the time of route search; input of start point and end point Is accepted; a route from the start point to the end point is searched by the search data.

【0007】この発明の経路検索方法は、複数の点とこ
れら点を接続する枝で構成されるリストにおいて、3つ
以上の枝を有する点を交差点としてこの交差点を経路検
索時の検索データとし;前記交差点と交差点とで挟まれ
た点を一つのグループとし;前記リストに含まれる始点
および終点の入力を受け付け;前記始点が交差点に該当
するときにはこの始点を検索開始点とし;前記始点が交
差点に該当しないときにはこの始点のグループを求め、
このグループの両端の交差点を検索開始点とし;前記終
点が交差点に該当するときにはこの終点を検索対象点と
し;前記終点が交差点に該当しないときにはこの終点の
グループを求め、このグループの両端の交差点を検索対
象点とし;前記検索開始点から前記検索対象点までの経
路を前記検索データにより検索する。
In the route search method of the present invention, in a list composed of a plurality of points and branches connecting these points, a point having three or more branches is an intersection, and this intersection is used as search data for route search; A point sandwiched between the intersection and the intersection is regarded as one group; an input of a start point and an end point included in the list is accepted; when the start point corresponds to an intersection, the start point is set as a search start point; If this is not the case, find this starting point group,
The intersections at both ends of this group are set as search start points; when the end point corresponds to an intersection, this end point is set as a search target point; when the end point does not correspond to an intersection, this end point group is obtained, and the intersections at both ends of this group are set. As a search target point; a route from the search start point to the search target point is searched by the search data.

【0008】この発明の経路検索方法は、複数の点とこ
れら点を接続する枝で構成されるリストにおいて、3つ
以上の枝を有する点を交差点としてこの交差点を経路検
索時の検索データとし;前記交差点と交差点とで挟まれ
た点を一つのグループとし;前記リストに含まれる始点
および終点の入力を受け付け;前記始点が交差点に該当
するときにはこの始点を検索開始点とし;前記始点が交
差点に該当しないときにはこの始点のグループを求め、
このグループの両端の交差点を検索開始点とし;前記終
点が交差点に該当するときにはこの終点を検索対象点と
し;前記終点が交差点に該当しないときにはこの終点の
グループを求め、このグループの両端の交差点を検索対
象点とし;前記検索開始点に隣り合う交差点としての隣
接交差点を獲得し;前記獲得された隣接交差点に隣り合
う交差点の獲得を繰り返し前記検索対象点までの経路を
検索する。
In the route search method of the present invention, in a list composed of a plurality of points and branches connecting these points, a point having three or more branches is an intersection, and this intersection is used as search data for route search; A point sandwiched between the intersection and the intersection is regarded as one group; an input of a start point and an end point included in the list is accepted; when the start point corresponds to an intersection, the start point is set as a search start point; If this is not the case, find this starting point group,
The intersections at both ends of this group are set as search start points; when the end point corresponds to an intersection, this end point is set as a search target point; when the end point does not correspond to an intersection, this end point group is obtained, and the intersections at both ends of this group are set. As a search target point; acquire an adjacent intersection as an intersection adjacent to the search start point; repeatedly acquire an intersection adjacent to the acquired adjacent intersection to search for a route to the search target point.

【0009】この発明の経路検索方法は、複数の駅とこ
れら駅を接続する枝で構成されるリストにおいて、3つ
以上の枝を有する乗り換え可能駅を交差駅としてこの交
差駅を経路検索時の検索データとし;前記交差駅と交差
駅とで挟まれた駅を一つのグループとし;前記リストに
含まれる発駅および着駅の入力を受け付け;前記発駅が
交差駅に該当するときにはこの発駅を検索開始駅とし;
前記発駅が交差駅に該当しないときにはこの発駅のグル
ープを求め、このグループの両端の交差駅を検索開始駅
とし;前記着駅が交差駅に該当するときにはこの着駅を
検索対象駅とし;前記着駅が交差駅に該当しないときに
はこの着駅のグループを求め、このグループの両端の交
差駅を検索対象駅とし;前記検索開始駅に隣り合う交差
駅としての隣接交差駅を獲得し;前記獲得された隣接交
差駅に隣り合う交差駅の獲得を繰り返し前記検索対象駅
までの経路を検索する。
According to the route search method of the present invention, in a list composed of a plurality of stations and branches connecting these stations, a transferable station having three or more branches is defined as an intersection station, and this intersection station is searched at the time of route search. As search data; the stations sandwiched between the intersections and the intersections are grouped as one; input of the departure station and the arrival station included in the list is accepted; when the departure station corresponds to the intersection, this departure station Is the search start station;
When the departure station does not correspond to an intersection station, a group of this departure station is obtained, and the intersection stations at both ends of this group are set as search start stations; when the arrival station corresponds to the intersection station, this arrival station is set as a search target station; When the destination station does not correspond to an intersection station, a group of the destination station is obtained, and the intersection stations at both ends of the group are set as search target stations; the adjacent intersection station as an intersection station adjacent to the search start station is acquired; The acquisition of the adjacent crossing station adjacent to the acquired adjacent crossing station is repeated to search the route to the search target station.

【0010】この発明の経路検索装置は、複数の点とこ
れら点を接続する枝で構成されるリストにおいて、3つ
以上の枝を有する点を経路検索時の検索データとして保
持する保持手段と;前記リストに含まれる始点および終
点の入力を受け付ける入力受付手段と;前記始点から前
記終点までの経路を前記検索データにより検索する検索
手段とを備えている。
The route searching device of the present invention includes a holding unit that holds a point having three or more branches as search data at the time of route searching in a list composed of a plurality of points and a branch connecting the points. Input means for accepting inputs of a start point and an end point included in the list; and a search means for searching a route from the start point to the end point with the search data.

【0011】この発明の定期券発行装置は、複数の駅と
これら駅を接続する枝で構成されるリストにおいて、3
つ以上の枝を有する乗り換え可能な駅を交差駅として経
路検索時の検索データとし、この交差駅と交差駅とで挟
まれた駅を一つのグループデータとして保持する保持手
段と;前記リストに含まれる発駅および着駅の指定を受
け付ける発着駅受付手段と;前記発駅から前記着駅まで
の経路を前記検索データにより検索する検索手段と;前
記検索された経路の指定を受け付ける経路受付手段と;
有効期限の指定を受け付ける有効期限受付手段と;前記
受け付けられた発駅、着駅、経路、および有効期限の定
期券を発行する定期券発行手段とを備えている。
The commuter pass issuing device according to the present invention has three stations in a list composed of a plurality of stations and branches connecting these stations.
Holding means for holding a station having two or more branches as a crossover station as search data for route search, and a station sandwiched between the crossover stations as one group data; included in the list Departure / arrival station accepting means for accepting designation of departure station and arrival station; retrieving means for retrieving a route from the departure station to the arrival station with the retrieval data; route acceptance means for accepting designation of the retrieved route ;
An expiration date acceptance means for accepting designation of an expiration date; and a commuter ticket issuing means for issuing the accepted departure station, arrival station, route, and commuter ticket for the expiration date.

【0012】上記手段を講じた結果、次のような作用が
生じる。3つ以上の枝を有する駅、即ち乗り換え可能な
駅である交差駅を経路検索時の検索データとし、この交
差駅と交差駅とで挟まれた駅を一つのグループとして扱
い、前記検索データにより経路検索が実行されるので検
索回数が少なく検索時間が短縮される。
As a result of taking the above-mentioned means, the following actions occur. A station having three or more branches, that is, a crossover station that is a transferable station is used as search data for route search, and stations sandwiched between this crossover station and the crossover station are treated as one group. Since the route search is executed, the number of searches is small and the search time is shortened.

【0013】[0013]

【発明の実施の形態】以下、この発明の実施の形態につ
いて図面を参照して説明する。図1は、この発明の一実
施の形態に係る経路検索システムを利用した定期券発行
装置の内部構成を示す概略図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic diagram showing an internal configuration of a commuter pass issuing device using a route search system according to an embodiment of the present invention.

【0014】すなわち、定期券発行装置の全体を制御す
るCPU120には、制御プログラムや文字パターン等
が記憶されているとともに種々のデータが記憶されるメ
モリ121と、定期券購入申込用紙に記載される氏名を
読み取る氏名読取部122と、氏名読取部122で読み
取られた氏名を転写する氏名転写部123と、定期券の
発行処理を行う定期券発行部124と、定期券売上デ―
タ等をジャ―ナル(図示しない)に印刷するジャ―ナル
プリンタ125と、定期券発行に関する種々の情報たと
えば売上デ―タあるいは運賃デ―タ等が記憶されている
磁気ディスク(図示しない)を扱う磁気ディスク装置1
26と、図示しない通信回線を介してホストコンピュー
タ130等の外部装置と接続される通信制御部127
と、発行される定期券の条件、例えば有効期限などが設
定される条件設定操作部102と、後述する経路検索処
理が実行される経路検索部103と、乗車可能区間とし
ての発駅と着駅の設定および経由駅が設定される経由駅
設定部104と、表示部105などが接続されている。
That is, the CPU 120 for controlling the entire commuter pass issuing device stores a control program, character patterns, etc., and a memory 121 for storing various data, and a commuter pass purchase application form. A name reading unit 122 for reading a name, a name transfer unit 123 for transferring the name read by the name reading unit 122, a commuter ticket issuing unit 124 for issuing a commuter ticket, and a commuter ticket sales data.
A journal printer 125 that prints data on a journal (not shown), and a magnetic disk (not shown) that stores various information related to commuter pass issuance, such as sales data or fare data. Magnetic disk unit 1
26, and a communication control unit 127 connected to an external device such as the host computer 130 via a communication line (not shown).
And a condition setting operation unit 102 for setting conditions of the issued commuter pass, for example, an expiration date, a route search unit 103 for executing a route search process described later, a departure station and an arrival station as boardable sections. And the transit station setting unit 104 for setting the transit station and transit station are connected to the display unit 105 and the like.

【0015】定期券発行部124は、定期券申込用紙の
購入情報に対応した印刷データや旧券に対応した印刷デ
ータを印刷したり磁気情報を記録し、新規な定期券を発
行するものである。
The commuter pass issuing unit 124 prints print data corresponding to the purchase information of the commuter pass application form or print data corresponding to the old ticket or records magnetic information to issue a new commuter pass. .

【0016】以下、この発明のポイントである経路検索
について説明する。図2は、3つ以上の枝(路線)を持
つ駅、即ち乗り換え可能な交差駅のみを経路検索時の検
索データとする場合の概念を示すとともに、経路検索時
に使用される路線網を示す図である。
The route search which is the point of the present invention will be described below. FIG. 2 is a diagram showing a concept in which only a station having three or more branches (routes), that is, a crossover station that can be transferred is used as search data at the time of route search, and a route network used at the time of route search. Is.

【0017】つまり、A駅〜F駅のように3つ以上の枝
を持つ交差駅のみを経路検索時の検索データとし、これ
ら以外の駅はaグループ〜cグループのようにグループ
化する。即ち、2駅に隣接する駅の通過経路は1通りし
かないことに着眼し、隣接する駅をグループ化し、この
グループ化されたデータを検索データの下位データとす
る。なお、このような検索データおよびグループ化され
たデータはメモリ121に格納される。
That is, only the intersection stations having three or more branches, such as A station to F station, are used as the search data at the time of route search, and stations other than these are grouped into groups a to c. That is, focusing on the fact that there is only one passage route between the stations adjacent to the two stations, the adjacent stations are grouped, and the grouped data is used as the lower data of the search data. Note that such search data and grouped data are stored in the memory 121.

【0018】図3は、検索データによる検索を説明する
図である。つまり、東京−品川間においては、「東京→
山手東京→山手品川→品川」とたどることになる。よっ
て、東京−品川間では4つの点(図3に示すブロッ
ク)、3つのリスト(ポインタ)となる。なお、山手東
京→山手品川間のデータはグループ化されている。
FIG. 3 is a diagram for explaining a search using search data. In other words, between Tokyo and Shinagawa, "Tokyo →
Yamate Tokyo → Yamate Shinagawa → Shinagawa ”will be traced. Therefore, there are four points (blocks shown in FIG. 3) and three lists (pointers) between Tokyo and Shinagawa. The data from Yamate Tokyo to Yamate Shinagawa are grouped.

【0019】図4は、検索開始駅および検索対象駅の設
定を説明するフローチャートであり、図5は、経路検索
処理を説明するフローチャートである。以下、これらフ
ローチャートを図2に示すような複数の駅とこれら駅を
含む路線で構成される路線網(リスト)の例と合わせて
説明する。なお、以下説明する処理はCPU120およ
び経路検索部103により行われる。
FIG. 4 is a flow chart for explaining the setting of the search start station and the search target station, and FIG. 5 is a flow chart for explaining the route search processing. Hereinafter, these flowcharts will be described together with an example of a route network (list) configured by a plurality of stations and routes including these stations as shown in FIG. The processing described below is performed by the CPU 120 and the route search unit 103.

【0020】例えば、図2のA駅−F駅間の経路検索の
場合について説明する。まず、発駅としてA駅が、着駅
としてF駅が経由発着駅設定部104から入力される。
発駅A駅は3つ以上の枝を持つ駅、即ち、交差駅である
(ST12、YES)。よって、発駅A駅が検索開始駅
とされる(ST14)。
For example, a case of route search between station A and station F in FIG. 2 will be described. First, A station is input as the departure station and F station is input as the arrival station from the via departure / arrival station setting unit 104.
The departure station A station is a station having three or more branches, that is, a crossing station (ST12, YES). Therefore, the departure station A station is set as the search start station (ST14).

【0021】仮に、発駅が交差駅でない場合(ST1
2、NO)、例えば発駅がa2駅の場合には、この発駅
a2駅のグループが求められる(ST16)。この場合
発駅a2駅のグループはaである。そして、このグルー
プaに対する両端の駅、つまりA駅およびF駅が検索開
始駅とされる(ST18)。
If the departure station is not an intersection station (ST1
2, NO), for example, when the departure station is the a2 station, the group of the departure station a2 stations is obtained (ST16). In this case, the group of the departure station a2 station is a. Then, stations at both ends of the group a, that is, stations A and F are set as search start stations (ST18).

【0022】着駅F駅は3つ以上の枝を持つ駅、即ち、
交差駅である(ST20、YES)。よって、着駅A駅
が検索対象駅とされる(ST22)。仮に、着駅が交差
駅でない場合(ST20、NO)、例えば着駅がc2駅
の場合には、この着駅c2駅のグループが求められる
(ST24)。この場合発駅c2駅のグループはcであ
る。そして、このグループcに対する両端の駅、つまり
D駅およびF駅が検索開始駅とされる(ST26)。
Arrival station F station is a station having three or more branches, that is,
It is an intersection station (ST20, YES). Therefore, the arrival station A station is set as the search target station (ST22). If the arrival station is not an intersection station (ST20, NO), for example, if the arrival station is c2 station, a group of this arrival station c2 station is obtained (ST24). In this case, the group of the departure station c2 station is c. Then, stations at both ends of the group c, that is, D station and F station are set as search start stations (ST26).

【0023】また、発駅A駅と着駅F駅は同一グループ
でないため(この場合発駅A駅および着駅F駅はともに
グループに属していない)(ST28、NO)、経由候
補の検索処理が開始される(ST32)。
Further, since the departure station A station and the arrival station F station are not in the same group (in this case, both the departure station A station and the arrival station F station do not belong to the group) (ST28, NO), the route candidate search process Is started (ST32).

【0024】仮に、発駅と着駅のグループが同一グルー
プの場合(ST28、YES)、例えば発駅がa1駅で
着駅がa4駅のような場合には、同一グループ、即ち、
aグループ内の経由(a1→a2→a3→a4)が経由
候補の一つとして登録され(ST30)、経由候補の検
索処理が開始される(ST32)。
If the departure station and the arrival station are the same group (ST28, YES), for example, if the departure station is a1 station and the arrival station is a4 station, the same group, that is,
The route (a1 → a2 → a3 → a4) in the a group is registered as one of the route candidates (ST30), and the route candidate search process is started (ST32).

【0025】続いて、図5のフローチャートにより経由
検索処理について説明する。まず、検索開始駅から隣り
合う交差駅(隣接交差駅)を得る(ST40)。検索開
始駅が発駅A駅の場合には、B駅、C駅、およびF駅が
隣接交差駅となる。このとき隣接交差駅全てに対する処
理は終了していない(ST42、NO)。即ち、隣接交
差駅B駅、C駅、およびF駅に対する処理が終了してい
ない。
Next, the via search process will be described with reference to the flowchart of FIG. First, an adjacent crossing station (adjacent crossing station) is obtained from the search start station (ST40). When the search start station is the departure station A station, B station, C station, and F station are adjacent intersection stations. At this time, the processing for all the adjacent intersection stations is not completed (ST42, NO). That is, the processing for the adjacent intersection stations B station, C station, and F station is not completed.

【0026】最初に、隣接交差駅Fについて処理を行う
とする。隣接交差駅Fは検索対象駅であるため(ST4
4、YES)、発駅Aから隣接交差駅Fまでの通過経
路、駅A→駅Fが経由候補として登録される(ST4
6)。
First, it is assumed that processing is performed on the adjacent intersection station F. Adjacent intersection station F is a search target station (ST4
4, YES), the transit route from the departure station A to the adjacent intersection station F, station A → station F is registered as a transit candidate (ST4).
6).

【0027】そして、次の隣接交差駅として隣接交差駅
Bが得られる(ST54)。このとき隣接交差駅全てに
対する処理は終了していない(ST42、NO)。即
ち、隣接交差駅BおよびC駅に対する処理が終了してい
ない。隣接交差駅Bは検索対象駅ではなく(ST44、
NO)、通過経路となっていないので(ST48)、隣
接交差駅Bが通過経路に登録される(ST50)。さら
に、この隣接交差駅Bを基準とした経由検索処理(再帰
的処理)が行われる(ST52)。このようにして通過
経路が次々に登録され、最終的には検索対象駅が見つけ
られる(ST44)。結論を言うと駅A→駅B→駅C→
駅D→駅Fが経由候補として登録されることになる。
Then, the adjacent intersection station B is obtained as the next adjacent intersection station (ST54). At this time, the processing for all the adjacent intersection stations is not completed (ST42, NO). That is, the processing for the adjacent intersection stations B and C has not been completed. Adjacent intersection station B is not the search target station (ST44,
NO), since it is not a transit route (ST48), the adjacent intersection station B is registered in the transit route (ST50). Further, a route search process (recursive process) based on the adjacent intersection station B is performed (ST52). In this way, the transit routes are registered one after another, and the station to be searched is finally found (ST44). In conclusion, station A → station B → station C →
Station D → Station F will be registered as a transit candidate.

【0028】そして、次の隣接交差駅として隣接交差駅
Cが得られ(ST54)、以下同様にして隣接交差駅C
を経由する経路が検索される。結論を言うと駅A→駅C
→駅D→駅Fが経由候補として登録される。
Then, the adjacent crossing station C is obtained as the next adjacent crossing station (ST54), and so on.
The route via is searched. In conclusion, station A → station C
→ Station D → Station F is registered as a transit candidate.

【0029】以上まとめると、3つの経由候補、即ち、
駅A→駅F、駅A→駅B→駅C→駅D→駅F、駅A→駅
C→駅D→駅Fが登録されたことになる。このように、
3つの枝を持つ駅、即ち交差駅のみを経路検索時の検索
データとし、交差駅と交差駅とで挟まれる駅をグループ
化しこのグループ化されたデータを検索データの下位の
データとする。これにより、交差駅のデータをたどるだ
けで経路検索ができ処理時間の短縮が図れる。
In summary, the three route candidates, namely,
Station A → Station F, Station A → Station B → Station C → Station D → Station F, Station A → Station C → Station D → Station F are registered. in this way,
Only stations having three branches, that is, only crossing stations are used as search data for route search, and stations sandwiched between crossing stations are grouped together and the grouped data is used as lower data of the search data. As a result, the route can be searched simply by tracing the data of the crossing station, and the processing time can be shortened.

【0030】[0030]

【発明の効果】3つ以上の枝を有する駅、即ち乗り換え
可能な駅である交差駅を経路検索時の検索データとし、
この交差駅と交差駅とで挟まれた駅を一つのグループと
して扱い、前記検索データにより経路検索が実行される
ので検索回数(検索候補)が少なく検索時間が短縮でき
る経路検索システムを提供できる。
EFFECTS OF THE INVENTION A station having three or more branches, that is, a crossing station which is a transferable station is used as search data for route search,
It is possible to provide a route search system in which the number of searches (search candidates) is small and the search time can be shortened because the intersections and the stations sandwiched between the intersections are treated as one group and a route search is executed based on the search data.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の一実施の形態に係る経路検索システ
ムを利用した定期券発行装置の内部構成を示す概略図。
FIG. 1 is a schematic diagram showing an internal configuration of a commuter pass issuing device using a route search system according to an embodiment of the present invention.

【図2】3つ以上の枝を持つ駅、即ち乗り換え可能な交
差駅のみを経路検索時の検索データとする場合の概念を
示す図。
FIG. 2 is a diagram showing a concept in the case where only a station having three or more branches, that is, a crossover station where transfer is possible is used as search data for route search.

【図3】この発明の経路検索の一例を説明する図。FIG. 3 is a diagram illustrating an example of route search according to the present invention.

【図4】検索開始駅および検索対象駅の設定を説明する
フローチャート。
FIG. 4 is a flowchart illustrating setting of a search start station and a search target station.

【図5】経路検索処理を説明するフローチャート。FIG. 5 is a flowchart illustrating a route search process.

【図6】従来の経路検索の一例を説明する図。FIG. 6 is a diagram illustrating an example of a conventional route search.

【符号の説明】[Explanation of symbols]

102…条件設定操作部(有効期限受付手段) 103…経路検索部(検索手段) 104…経由発着駅設定部(発着駅受付手段、経路受付
手段) 105…表示部 120…CPU 121…メモリ(保持手段) 124…定期券発行部(定期券発行手段)
102 ... Condition setting operation section (expiration date acceptance means) 103 ... Route search section (search means) 104 ... Via departure / arrival station setting section (departure / arrival station acceptance means, route acceptance means) 105 ... Display section 120 ... CPU 121 ... Memory (retention) Means) 124 ... Commuter ticket issuing unit (commuter ticket issuing means)

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】複数の駅とこれら駅を含む路線で構成され
る路線網において、3つ以上の枝を有する乗り換え可能
駅を交差駅としてこの交差駅を経路検索時の検索データ
とし;前記交差駅と交差駅とで挟まれた駅を一つのグル
ープとし;前記路線網に含まれる発駅および着駅の入力
を受け付け;前記発駅が交差駅に該当するときにはこの
発駅を検索開始駅とし;前記発駅が交差駅に該当しない
ときにはこの発駅を含むグループを求め、このグループ
の両端の交差駅を検索開始駅とし;前記着駅が交差駅に
該当するときにはこの着駅を検索対象駅とし;前記着駅
が交差駅に該当しないときにはこの着駅を含むグループ
を求め、このグループの両端の交差駅を検索対象駅と
し;前記検索開始駅に隣り合う交差駅としての隣接交差
駅を獲得し;前記獲得された隣接交差駅に隣り合う交差
駅の獲得を繰り返し前記検索対象駅までの経路を検索す
る;ことを特徴とする経路検索方法。
1. In a route network composed of a plurality of stations and routes including these stations, a transferable station having three or more branches is defined as an intersecting station, and this intersecting station is used as search data for route search; A station sandwiched between a station and a crossing station is regarded as one group; an input of a departure station and a destination station included in the route network is accepted; when the departure station corresponds to a crossing station, this departure station is set as a search start station. If the departure station does not correspond to an intersection station, a group including this departure station is obtained, and the intersection stations at both ends of this group are set as search start stations; if the arrival station corresponds to the intersection station, this arrival station is the search target station. If the destination station does not correspond to an intersection station, a group including the destination station is obtained, and the intersection stations at both ends of the group are set as search target stations; the adjacent intersection station as an intersection station adjacent to the search start station is acquired. Shi; the catch And repeating the acquisition of cross station adjacent to the adjacent cross station to search for a route to the searched station; path search method characterized by.
【請求項2】複数の駅とこれら駅を含む路線で構成され
る路線網において、3つ以上の枝を有する乗り換え可能
な駅を交差駅として経路検索時の検索データとし、この
交差駅と交差駅とで挟まれた駅を一つのグループデータ
として保持する保持手段と;前記路線網に含まれる発駅
および着駅の指定を受け付ける発着駅受付手段と;前記
発駅から前記着駅までの経路を前記検索データにより検
索する検索手段と;前記検索された経路の指定を受け付
ける経路受付手段と;有効期限の指定を受け付ける有効
期限受付手段と;前記受け付けられた発駅、着駅、経
路、および有効期限の定期券を発行する定期券発行手段
と;を備えたことを特徴とする定期券発行装置。
2. In a route network composed of a plurality of stations and lines including these stations, a transferable station having three or more branches is set as an intersection station and used as search data for route search. Holding means for holding a station sandwiched between stations as one group data; departure and arrival station acceptance means for accepting designation of departure station and arrival station included in the route network; route from the departure station to the arrival station Search means for searching for the searched route; route acceptance means for accepting the designation of the searched route; expiration date acceptance means for accepting the designation of the expiration date; the accepted departure station, arrival station, route, and A commuter ticket issuing device, comprising: a commuter ticket issuing means for issuing a commuter ticket having an expiration date;
【請求項3】複数の点とこれら点を接続する枝で構成さ
れるリストにおいて、3つ以上の枝を有する点を経路検
索時の検索データとし;始点および終点の入力を受け付
け;前記始点から前記終点までの経路を前記検索データ
により検索する;ことを特徴とする経路検索方法。
3. In a list composed of a plurality of points and branches connecting these points, points having three or more branches are used as search data for route search; input of start point and end point is accepted; Searching the route to the end point with the search data;
【請求項4】複数の点とこれら点を接続する枝で構成さ
れるリストにおいて、3つ以上の枝を有する点を交差点
としてこの交差点を経路検索時の検索データとし;前記
交差点と交差点とで挟まれた点を一つのグループとし;
前記リストに含まれる始点および終点の入力を受け付
け;前記始点が交差点に該当するときにはこの始点を検
索開始点とし;前記始点が交差点に該当しないときには
この始点のグループを求め、このグループの両端の交差
点を検索開始点とし;前記終点が交差点に該当するとき
にはこの終点を検索対象点とし;前記終点が交差点に該
当しないときにはこの終点のグループを求め、このグル
ープの両端の交差点を検索対象点とし;前記検索開始点
から前記検索対象点までの経路を前記検索データにより
検索する;ことを特徴とする経路検索方法。
4. In a list composed of a plurality of points and a branch connecting these points, a point having three or more branches is an intersection, and this intersection is used as search data for route search; Place the sandwiched points as a group;
Input of start points and end points included in the list is accepted; when the start point corresponds to an intersection, this start point is used as a search start point; when the start point does not correspond to an intersection, a group of this start point is obtained, and intersections at both ends of this group are obtained. As a search start point; when the end point corresponds to an intersection, the end point is used as a search target point; when the end point does not correspond to an intersection, a group of the end points is obtained, and intersections at both ends of the group are used as search target points; A route search method for searching a route from a search start point to the search target point by the search data.
【請求項5】複数の点とこれら点を接続する枝で構成さ
れるリストにおいて、3つ以上の枝を有する点を交差点
としてこの交差点を経路検索時の検索データとし;前記
交差点と交差点とで挟まれた点を一つのグループとし;
前記リストに含まれる始点および終点の入力を受け付
け;前記始点が交差点に該当するときにはこの始点を検
索開始点とし;前記始点が交差点に該当しないときには
この始点のグループを求め、このグループの両端の交差
点を検索開始点とし;前記終点が交差点に該当するとき
にはこの終点を検索対象点とし;前記終点が交差点に該
当しないときにはこの終点のグループを求め、このグル
ープの両端の交差点を検索対象点とし;前記検索開始点
に隣り合う交差点としての隣接交差点を獲得し;前記獲
得された隣接交差点に隣り合う交差点の獲得を繰り返し
前記検索対象点までの経路を検索する;ことを特徴とす
る経路検索方法。
5. In a list composed of a plurality of points and branches connecting these points, a point having three or more branches is an intersection, and this intersection is used as search data for route search; Place the sandwiched points as a group;
Input of start points and end points included in the list is accepted; when the start point corresponds to an intersection, this start point is used as a search start point; when the start point does not correspond to an intersection, a group of this start point is obtained, and intersections at both ends of this group are obtained. As a search start point; when the end point corresponds to an intersection, the end point is used as a search target point; when the end point does not correspond to an intersection, a group of the end points is obtained, and intersections at both ends of the group are used as search target points; A route search method, comprising: acquiring an adjacent intersection as an intersection adjacent to a search start point; repeating acquisition of an intersection adjacent to the acquired adjacent intersection to search a route to the search target point.
【請求項6】複数の駅とこれら駅を接続する枝で構成さ
れるリストにおいて、3つ以上の枝を有する乗り換え可
能駅を交差駅としてこの交差駅を経路検索時の検索デー
タとし;前記交差駅と交差駅とで挟まれた駅を一つのグ
ループとし;前記リストに含まれる発駅および着駅の入
力を受け付け;前記発駅が交差駅に該当するときにはこ
の発駅を検索開始駅とし;前記発駅が交差駅に該当しな
いときにはこの発駅のグループを求め、このグループの
両端の交差駅を検索開始駅とし;前記着駅が交差駅に該
当するときにはこの着駅を検索対象駅とし;前記着駅が
交差駅に該当しないときにはこの着駅のグループを求
め、このグループの両端の交差駅を検索対象駅とし;前
記検索開始駅に隣り合う交差駅としての隣接交差駅を獲
得し;前記獲得された隣接交差駅に隣り合う交差駅の獲
得を繰り返し前記検索対象駅までの経路を検索する;こ
とを特徴とする経路検索方法。
6. In a list composed of a plurality of stations and branches connecting these stations, a transferable station having three or more branches is defined as a crossover station, and this crossover station is used as search data for route search; A station sandwiched between a station and a crossing station is regarded as one group; an input of a departure station and an arrival station included in the list is accepted; when the departure station corresponds to an intersection station, this departure station is set as a search start station; When the departure station does not correspond to an intersection station, a group of this departure station is obtained, and the intersection stations at both ends of this group are set as search start stations; when the arrival station corresponds to the intersection station, this arrival station is set as a search target station; When the destination station does not correspond to an intersection station, a group of the destination station is obtained, and the intersection stations at both ends of the group are set as search target stations; the adjacent intersection station as an intersection station adjacent to the search start station is acquired; Won Repeating the acquisition of cross station adjacent to the adjacent cross station to search for a route to the searched station; path search method characterized by.
【請求項7】複数の点とこれら点を接続する枝で構成さ
れるリストにおいて、3つ以上の枝を有する点を経路検
索時の検索データとして保持する保持手段と;前記リス
トに含まれる始点および終点の入力を受け付ける入力受
付手段と;前記始点から前記終点までの経路を前記検索
データにより検索する検索手段と;を備えたことを特徴
とする経路検索装置。
7. A holding means for holding a point having three or more branches as search data at the time of route search in a list composed of a plurality of points and a branch connecting these points; a starting point included in the list. And an input receiving unit that receives an input of an end point; and a searching unit that searches a route from the start point to the end point with the search data;
【請求項8】複数の駅とこれら駅を接続する枝で構成さ
れるリストにおいて、3つ以上の枝を有する乗り換え可
能な駅を交差駅として経路検索時の検索データとし、こ
の交差駅と交差駅とで挟まれた駅を一つのグループデー
タとして保持する保持手段と;前記リストに含まれる発
駅および着駅の指定を受け付ける発着駅受付手段と;前
記発駅から前記着駅までの経路を前記検索データにより
検索する検索手段と;前記検索された経路の指定を受け
付ける経路受付手段と;有効期限の指定を受け付ける有
効期限受付手段と;前記受け付けられた発駅、着駅、経
路、および有効期限の定期券を発行する定期券発行手段
と;を備えたことを特徴とする定期券発行装置。
8. In a list composed of a plurality of stations and branches connecting these stations, a transferable station having three or more branches is taken as search data at the time of route search as a crossing station, and crossing this crossing station. Holding means for holding a station sandwiched between stations as one group data; departure and arrival station acceptance means for accepting designation of departure station and arrival station included in the list; and a route from the departure station to the arrival station Search means for searching by the search data; route acceptance means for accepting designation of the retrieved route; expiry date acceptance means for accepting designation of expiry date; the accepted departure station, arrival station, route, and validity A commuter ticket issuing device, comprising: commuter ticket issuing means for issuing a commuter ticket for a deadline.
JP7319112A 1995-12-07 1995-12-07 Route retrieving system Pending JPH09161105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7319112A JPH09161105A (en) 1995-12-07 1995-12-07 Route retrieving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7319112A JPH09161105A (en) 1995-12-07 1995-12-07 Route retrieving system

Publications (1)

Publication Number Publication Date
JPH09161105A true JPH09161105A (en) 1997-06-20

Family

ID=18106604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7319112A Pending JPH09161105A (en) 1995-12-07 1995-12-07 Route retrieving system

Country Status (1)

Country Link
JP (1) JPH09161105A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301362A (en) * 2004-04-06 2005-10-27 Toshiba Corp Boarding route search system
CN107025308A (en) * 2017-05-11 2017-08-08 职宏坤 A kind of railroad train moment network inquiry method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301362A (en) * 2004-04-06 2005-10-27 Toshiba Corp Boarding route search system
JP4690661B2 (en) * 2004-04-06 2011-06-01 株式会社東芝 Boarding route search system
CN107025308A (en) * 2017-05-11 2017-08-08 职宏坤 A kind of railroad train moment network inquiry method

Similar Documents

Publication Publication Date Title
US5797113A (en) Method and system for determining transportation route
US6088700A (en) Automated forms completion for global information network applications
US5682549A (en) Image data management system for accessing image data from communication network by reading file name information stored in an IC card
JPH05346932A (en) Automatic ticket issuing terminal device and ticket issue information inputting method
JPH09161105A (en) Route retrieving system
JP4671892B2 (en) Map data processing terminal and map data management method
JP3984675B2 (en) Family register information processing method and family register information system
JP2001227960A (en) Time required for movement acquiring system, local map information server, time required for movement acquiring server, these control methods and information recording medium
JP2000020590A (en) Retrieval display system for schedule
JPH1078981A (en) Traffic guide device and instruction storage medium
JPH0719270B2 (en) Passenger information management system
JPH09146932A (en) Document management system
JP2806340B2 (en) Form management device
JPH05257925A (en) Reader level adaptive type electronic newspaper editing system
JPH05346762A (en) Timetable editing and output device and route information input method
JP3294306B2 (en) Route information input device
JPH05225197A (en) Information display device and processing system therefor
JP3303810B2 (en) System configuration specification transfer device
Trivedi An intermodal multi-purpose transportation system using computer graphics
JPH0830559A (en) Method for managing master data
JPH11344927A (en) Train schedule system and recording medium stored with program realizing this system
JPH0973456A (en) System connection state retrieving method
JPH05242106A (en) Method for determining transportation/distribution route
JP4155033B2 (en) Card issue data generation system and parameter registration state management device
JPH04171570A (en) Retrieving system for minimum route of traffic facilities