JP2019046352A - Station service equipment, station service system, and fare adjustment processing method - Google Patents

Station service equipment, station service system, and fare adjustment processing method Download PDF

Info

Publication number
JP2019046352A
JP2019046352A JP2017171081A JP2017171081A JP2019046352A JP 2019046352 A JP2019046352 A JP 2019046352A JP 2017171081 A JP2017171081 A JP 2017171081A JP 2017171081 A JP2017171081 A JP 2017171081A JP 2019046352 A JP2019046352 A JP 2019046352A
Authority
JP
Japan
Prior art keywords
fare
settlement
request
amount
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.)
Pending
Application number
JP2017171081A
Other languages
Japanese (ja)
Inventor
信弘 酒井
Nobuhiro Sakai
信弘 酒井
宙之 栗山
Okinori Kuriyama
宙之 栗山
亮 砂金
Akira Sagane
亮 砂金
泰優 山口
Yasumasa Yamaguchi
泰優 山口
修二 十亀
Shuji Toki
修二 十亀
将人 山崎
Masato Yamazaki
将人 山崎
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.)
Omron Corp
West Japan Railway Co
West Japan Railway Techsia Co Ltd
Original Assignee
Omron Corp
West Japan Railway Co
Omron Tateisi Electronics Co
West Japan Railway Techsia Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, West Japan Railway Co, Omron Tateisi Electronics Co, West Japan Railway Techsia Co Ltd filed Critical Omron Corp
Priority to JP2017171081A priority Critical patent/JP2019046352A/en
Publication of JP2019046352A publication Critical patent/JP2019046352A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To provide techniques to prevent deterioration in the processing efficiency of station service processing involving calculation of a fare and deterioration in user services.SOLUTION: A communication unit 27 performs data communication with a plurality of fare adjustment determination servers connected via a network. A request functional unit 21a transmits a request for calculation of a fare to the fare adjustment determination servers. An execution instruction functional unit 21b instructs the calculation of the fare to a fare adjustment determination server whose response to the request is received earliest by the communication unit 27. A fare adjustment processing functional unit 21c executes fare adjustment using the fare calculated by the fare adjustment determination server to which the execution instruction functional unit 21b instructed the calculation of the fare.SELECTED DRAWING: Figure 3

Description

この発明は、列車の利用者に対して運賃を精算する技術に関する。   The present invention relates to a technology for settling fares for train users.

従来、駅構内に入場する利用者や、駅構内から出場する利用者に対する改札処理を、改札口に設置した自動改札機で行っている。自動改札機は、駅構内から出場する利用者の乗車券がプリペイド式の乗車券である場合、その利用者に対して乗車駅から降車駅までの運賃を精算する。   Conventionally, an automatic ticket gate installed at a ticket gate has been used to process ticket gates for users entering the station yard and users participating from the station yard. The automatic ticket gate pays the fare from the boarding station to the getting-off station for the user if the ticket of the user participating from the station yard is a prepaid ticket.

また、多くの駅は、複数の自動改札機を改札口に設置し、改札口が混雑するのを抑制している。改札システムの構築にかかるコストを安価にするため、乗車駅から降車駅までの運賃を算出する構成を自動改札機ではなく、サーバに設けることが提案されている(例えば、特許文献1参照)。この改札システムは、複数台の自動改札機をサーバに接続している。サーバは、接続されているいずれかの自動改札機から要求を受信すると、この要求に含まれている乗車券情報(自動改札機が乗車券から読み取った情報)を用いて乗車駅から降車駅までの運賃の金額の算出等にかかる処理を行う。そして、サーバは、要求を送信してきた自動改札機に対して処理結果を送信する。   In addition, many stations install a plurality of automatic ticket gates at the ticket gates to prevent the ticket gates from being crowded. In order to reduce the cost of constructing the ticket gate system, it has been proposed that a configuration for calculating the fare from the boarding station to the getting-off station is provided to the server instead of the automatic ticket gate (see, for example, Patent Document 1). This ticket gate system connects a plurality of automatic ticket gates to a server. When the server receives a request from any of the connected automatic ticket gates, it uses the ticket information included in the request (information read from the ticket by the automatic ticket gate) from the boarding station to the getting-off station Perform processing related to calculation of the amount of fares, etc. Then, the server sends the processing result to the automatic ticket gate that has sent the request.

特開2015− 18501号公報JP, 2015-18501, A

しかしながら、特許文献1は、サーバが接続されている複数台の自動改札機に代わって運賃の金額の算出等にかかる処理を実行する構成である。サーバの処理負荷は、自動改札機からの運賃の金額の算出等にかかる処理の要求が集中すると大きくなる。サーバは、処理負荷が大きくなるにつれて、自動改札機から要求された運賃の金額の算出等にかかる処理を実行し、その処理結果を自動改札機に送信するまでに要する時間が長くなる。したがって、サーバの処理負荷の増大は、自動改札機が改札処理に要する時間を長くし、自動改札機における改札処理の処理効率を低下させる。   However, patent document 1 is a structure which performs the process concerning calculation of the amount of money of a fare, etc. on behalf of the several automatic ticket gate to which the server is connected. The processing load on the server is increased when processing requests for calculating the fare amount from the automatic ticket gate are concentrated. As the processing load increases, the server executes processing for calculating the amount of fare requested from the automatic ticket gate and the like, and the time required to transmit the processing result to the automatic ticket gate becomes longer. Therefore, the increase in the processing load of the server increases the time required for the automatic ticket gate to process the ticket gate, and reduces the processing efficiency of the ticket gate processing in the automatic ticket gate.

また、サーバがなんらかの異常で停止すると、このサーバが運賃の金額の算出等にかかる処理を実行していた複数の自動改札機を停止させることになる。その結果、改札口が利用者で混雑し、利用者に対するサービスを低下させる。   In addition, when the server is stopped due to some kind of abnormality, this server will stop a plurality of automatic ticket gates that have been executing processing for calculating the fare amount and the like. As a result, the ticket gate is crowded with users, and the service to the users is degraded.

この発明の目的は、運賃の金額の算出をともなう駅務処理の処理効率の低下、および利用者に対するサービスの低下を防止する技術を提供することにある。   An object of the present invention is to provide a technology for preventing the reduction in the processing efficiency of station processing, which involves the calculation of the fare amount, and the reduction in service to users.

この発明の駅務機器は、上記目的を達するために、以下のように構成している。   In order to achieve the above object, the station service device of the present invention is configured as follows.

この発明にかかる駅務機器は、運賃の金額の算出をともなう駅務処理を行う、自動改札機、精算機、係員端末等である。   The station handling equipment according to the present invention is an automatic ticket gate, a settlement machine, a clerk terminal or the like which performs station handling processing with calculation of the fare amount.

駅務機器は、ネットワークを介して接続された複数の上位サーバとデータ通信を通信部で行う。依頼要求部が、運賃の金額の算出にかかる依頼要求を複数の上位サーバに送信する。この依頼要求は、上位サーバに対して運賃の金額の算出を依頼する要求であるが、上位サーバは、この要求を受信したことによって、運賃の金額を算出する処理を実行するわけではない。   The station management device performs data communication with a plurality of upper servers connected via a network in a communication unit. The request request unit transmits a request request for calculating the fare amount to a plurality of upper servers. The request request is a request for requesting the higher-level server to calculate the fare amount, but the upper-level server does not necessarily execute the processing for calculating the fare amount by receiving this request.

実行指示部が、依頼要求に対する応答を通信部で最も早く受信した上位サーバに対して、運賃の金額の算出を指示する。上位サーバは、この指示を受信したことによって、運賃の金額を算出する処理を実行する。そして、精算処理部は、実行指示部が運賃の金額の算出を指示した上位サーバにおいて算出された運賃の金額を用いて運賃の精算を実行する。   The execution instructing unit instructs the upper-level server, which has received the response to the request request at the earliest in the communication unit, calculation of the fare amount. The upper server executes the process of calculating the fare amount by receiving the instruction. Then, the settlement processing unit executes the settlement of the fare using the amount of the fare calculated in the upper server to which the execution instructing unit instructs the calculation of the amount of the fare.

この構成によれば、依頼要求に対して最も早く応答した上位サーバ(依頼要求を送信した複数の上位サーバの中で、その時点における処理負荷が他の上位サーバよりも小さい上位サーバである可能性が高い)に、運賃の金額を算出する処理を実行させることができる。これにより、運賃の金額の算出をともなう駅務処理(例えば、自動改札機における、駅構内から出場する利用者に対する改札処理)の処理効率の低下を抑制できる。   According to this configuration, among the higher-level servers (the plurality of higher-level servers that have sent the request request, it is possible that the upper-level server that has the processing load at that time is smaller than other upper-level servers) Higher) can execute processing for calculating the fare amount. As a result, it is possible to suppress a decrease in the processing efficiency of the station service processing (for example, the ticket processing for users who participate from the station yard in an automatic ticket gate) with calculation of the fare amount.

また、駅務機器は、依頼要求を複数の上位サーバに送信する構成であるので、依頼要求を送信するいずれかの上位サーバがなんらかの異常で停止しても、駅務機器の全体が停止することなく、駅務処理を継続することができる。   In addition, since the station service transmits the request request to a plurality of upper servers, the whole station service stops even if any upper server transmitting the request request stops due to any abnormality. Without, you can continue station work processing.

また、駅務機器は、精算実行部において、実行指示部が運賃の金額の算出を指示した上位サーバにおいて、運賃の精算が適正に行えないと判定されたとき、運賃の精算を中止する、構成にするのが好ましい。上位サーバは、例えば運賃の金額の算出を第1のロジックで処理するとともに、この第1のロジックとは異なる第2のロジックで処理し、これらの処理結果が一致していなければ、利用者に対して運賃の精算が適正に行えないと判定すればよい。このように構成することで、運賃を誤収受する事態が発生するのを低減できる。   In addition, the station handling equipment stops the settlement of the fare when it is determined that the settlement of the fare can not be properly performed in the higher-level server whose execution instructing unit instructs the calculation of the amount of the fare in the settlement execution unit. It is preferable to The upper server processes, for example, the calculation of the fare amount in the first logic and the second logic different from the first logic, and if the processing results do not match, the user is notified It may be determined that the fares can not be properly settled. By configuring in this way, it is possible to reduce the occurrence of a situation in which a fare is incorrectly collected.

また、依頼要求部は、依頼要求を、ネットワークを介してデータ通信可能に接続されている全ての上位サーバに送信するのではなく、予め設定した複数の上位サーバに送信する、構成にするのが好ましい。このように構成すれば、駅務機器と上位サーバとをデータ通信可能に接続するネットワークにおけるトラフィックの無駄な増加を抑えることができる。   In addition, the request request unit is configured to transmit the request request to a plurality of upper level servers set in advance, instead of transmitting the request to all the upper level servers connected communicably in data communication via the network. preferable. According to this configuration, it is possible to suppress a wasteful increase in traffic in the network in which the station service device and the upper server are communicably connected.

この発明によれば、運賃の金額の算出をともなう駅務処理の処理効率の低下を防止できる。また、利用者に対するサービスの低下を防止することができる。   According to the present invention, it is possible to prevent a reduction in the processing efficiency of the station service processing accompanied by the calculation of the fare amount. In addition, it is possible to prevent the deterioration of the service to the user.

この例にかかる駅務システムを示す概略図である。It is the schematic which shows the station service system concerning this example. 精算判定サーバの主要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part of a payment | settlement determination server. 自動改札機の主要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part of an automatic ticket gate. 精算判定サーバの動作を示すフローチャートである。It is a flow chart which shows operation of a settlement account determination server. 駅構内から出場する利用者に対する自動改札機の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the automatic ticket gate with respect to the user who participates from the station yard. 別の例にかかる精算判定サーバの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the settlement-of-accounts determination server concerning another example. 別の例にかかる駅構内から出場する利用者に対する自動改札機の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the automatic ticket gate with respect to the user who participates from the station yard concerning another example.

以下、この発明の実施形態である駅務システムについて説明する。   Hereinafter, the station service system which is an embodiment of this invention is demonstrated.

図1は、この例にかかる駅務システムを示す概略図である。この駅務システムは、統括サーバ4と、複数の精算判定サーバ1と、複数の駅務機器とを備えている。ここで言う駅務機器は、駅務で使用される自動改札機2、精算機3、券売機(不図示)、係員端末(不図示)等の各種機器の総称である。この駅務システムでは、駅務機器が端末であり、精算判定サーバ1がエッジサーバとして機能し、統括サーバ4がセンタサーバとして機能する。統括サーバ4は、鉄道会社のセンタに設置される。精算判定サーバ1は、駅等に設置される。統括サーバ4には、複数の精算判定サーバ1(1A、1B、1C)がネットワークを介してデータ通信可能に接続される。また、精算判定サーバ1には、比較的近い位置にある駅務機器(例えば、同じ駅や、隣接する駅等に設置されている駅務機器)がネットワークを介してデータ通信可能に接続されている。精算判定サーバ1は、ネットワークを介して複数の駅務機器とデータ通信可能であり、また各駅務機器もネットワークを介して複数の精算判定サーバ1とデータ通信可能である。   FIG. 1 is a schematic view showing a station service system according to this example. The station service system includes a general control server 4, a plurality of settlement determination servers 1, and a plurality of station services. The station service device referred to here is a generic name of various devices such as the automatic ticket gate 2, the settlement machine 3, the ticket vending machine (not shown), the clerk terminal (not shown) used in the station service. In this station service system, the station service is a terminal, the settlement determination server 1 functions as an edge server, and the central server 4 functions as a center server. The central server 4 is installed at the center of the railway company. The settlement determination server 1 is installed at a station or the like. A plurality of settlement determination servers 1 (1A, 1B, 1C) are connected to the central server 4 so as to be capable of data communication via a network. In addition, station work equipment (for example, station work equipment installed at the same station or an adjacent station, etc.) located at a relatively close position is connected to the settlement determination server 1 so as to enable data communication via a network. There is. The settlement determination server 1 can perform data communication with a plurality of station services via a network, and each station management device can also perform data communication with a plurality of settlement determination servers 1 via the network.

図1では、3つの精算判定サーバ1(1A、1B、1C)を図示したが、精算判定サーバ1の台数は3つに限らない。以下の説明では、特に区別しない場合、精算判定サーバ1と表記し、区別する場合に精算判定サーバ1A、1B、1Cと表記する。   Although FIG. 1 illustrates three settlement determination servers 1 (1A, 1B, and 1C), the number of settlement determination servers 1 is not limited to three. In the following description, when not distinguished from one another, it is referred to as the settlement determination server 1, and when distinguished, it is referred to as the settlement determination servers 1A, 1B, and 1C.

なお、この駅務システムは、運賃の算出をともなう駅務処理を行う駅務機器(例えば自動改札機2、精算機3)を精算判定サーバ1にデータ通信可能に接続し、運賃の算出をともなう駅務処理を行わない駅務機器(例えば、券売機)を精算判定サーバ1にデータ通信可能に接続しない構成にしてもよい。このように構成すれば、精算判定サーバ1は、運賃の算出をともなう駅務処理を行わない駅務機器とデータ通信を行わないので、精算判定サーバ1のデータ通信にかかる処理負荷を低減できる。   In this station management system, station equipment (for example, automatic ticket gate 2 and settlement machine 3) performing station management processing with fare calculation is connected to the settlement determination server 1 so as to be capable of data communication, and calculation of fare is involved. You may make it the structure which does not connect the station service apparatus (for example, ticket vending machine) which does not perform station service processing to data settlement determination server 1 so that data communication is possible. According to this configuration, the settlement determination server 1 does not perform data communication with the station equipment that does not perform the station work process involving the calculation of the fare, so the processing load on the data communication of the settlement determination server 1 can be reduced.

また、この駅務システムは、運賃の算出をともなう駅務処理を行う駅務機器であっても、駅務機器の性質上、迅速な処理が要求される自動改札機2を精算判定サーバ1にデータ通信可能に接続し、迅速な処理が要求されない精算機3については精算判定サーバ1にデータ通信可能に接続しない構成にしてもよい。このように構成すれば、精算判定サーバ1のデータ通信にかかる処理負荷を一層低減できる。精算判定サーバ1にデータ通信可能に接続しない駅務機器は、ネットワークを介して統括サーバ4に直接接続してもよいし、精算判定サーバ1以外のエッジサーバ(不図示)であって、ネットワークを介して統括サーバ4に接続したエッジサーバに接続してもよい。すなわち、精算判定サーバ1にデータ通信可能に接続しない駅務機器については、実行した駅務処理のログデータを統括サーバ4にアップロードできる構成であれば、どのような構成であってもよい。精算判定サーバ1にデータ通信可能に接続しない駅務機器については、必要に応じて運賃を算出する構成を自機に備えてもよいし、統括サーバ4に備えてもよい。   In addition, even if this station management system performs station management processing involving calculation of fares, the automatic ticket gate 2 for which quick processing is required due to the nature of the station management equipment can be used as the settlement determination server 1 With regard to the checkout machine 3 connected so as to be capable of data communication and not requiring quick processing, the configuration may be such that the data communication determination server 1 is not connected to be able to perform data communication. With this configuration, the processing load on the data communication of the settlement determination server 1 can be further reduced. The station equipment that is not connected to the settlement determination server 1 so as to be capable of data communication may be directly connected to the central server 4 via the network, or an edge server other than the settlement determination server 1 (not shown). It may be connected to the edge server connected to the central server 4 via That is, as to the station service device that is not connected to the settlement determination server 1 so as to be capable of data communication, any configuration may be used as long as log data of the executed station service process can be uploaded to the central server 4. For station services that are not connected to the settlement determination server 1 so as to be capable of data communication, the configuration may be provided to the own machine to calculate fares as necessary, or may be provided to the central server 4.

統括サーバ4は、各駅務機器において処理された駅務処理の処理結果(ログ)を集計し、管理する。統括サーバ4は、精算判定サーバ1にデータ通信可能に接続されている駅務機器において処理された駅務処理の処理結果を精算判定サーバ1から取得する。また、統括サーバ4は、精算判定サーバ1に接続されていない駅務機器において処理された駅務処理の処理結果を、その駅務機器から直接、またはその駅務機器が接続されているエッジサーバ(精算判定サーバ1以外のエッジサーバ)から取得する。   The central server 4 tabulates and manages the processing results (logs) of the station service process processed in each station service device. The central server 4 acquires from the settlement determination server 1 the processing result of the station management processing performed in the station equipment connected to the settlement determination server 1 so as to be capable of data communication. In addition, the central server 4 is an edge server to which the processing result of the station service processing processed in the station service not connected to the settlement determination server 1 is directly connected from the station service or to which the station service is connected. (An edge server other than the settlement determination server 1).

精算判定サーバ1は、駅務機器から送信されてきた、運賃の金額の算出にかかる依頼要求を受信すると、この依頼要求に対する応答を駅務機器に返信する。この依頼要求は、精算判定サーバ1に対して運賃の金額の算出を依頼する要求であるが、精算判定サーバ1は、この依頼要求を受信したことによって、運賃の金額を算出する処理を実行するわけではない。精算判定サーバ1は、駅務機器から送信されてきた、運賃の金額の算出を指示する実行指示を受信すると、列車の利用にかかる運賃(乗車駅から降車駅までの運賃)の金額を算出する。   When the settlement determination server 1 receives a request request for calculation of the fare amount sent from the station service device, the settlement determination server 1 sends a response to the request request back to the station service device. Although this request request is a request to request the settlement determination server 1 to calculate the fare amount, the settlement determination server 1 executes the processing of calculating the fare amount by receiving the request request. Do not mean. When the settlement determination server 1 receives the execution instruction to instruct calculation of the amount of fare sent from the station service equipment, it calculates the amount of fare for the use of the train (fare from the boarding station to the getting off station) .

また、精算判定サーバ1は、運賃の精算が適正に行えるかどうかを判定する。精算判定サーバ1は、運賃の精算が適正に行えると判定した場合、運賃の精算が適正に行えること、および算出した運賃の金額を駅務機器に返信する。また、精算判定サーバ1は、運賃の精算が適正に行えないと判定した場合、運賃の精算が適正に行えない旨を駅務機器に返信する。精算判定サーバ1は、運賃の精算が適正に行えない場合、算出した運賃の金額を駅務機器に通知してもよいし、通知しなくてもよい。精算判定サーバ1と駅務機器とをデータ通信可能に接続するネットワークのトラフィックの増大を抑える観点から、運賃の精算が適正に行えない場合、精算判定サーバ1は算出した運賃の金額を駅務機器に通知しない構成にするのが好ましい。   Further, the settlement determination server 1 determines whether the fares can be properly settled. If it is determined that the settlement of the fare can be properly performed, the settlement determination server 1 returns that the settlement of the fare can be properly performed and the calculated amount of the fare to the station service device. Further, when it is determined that the settlement of the fare can not be properly performed, the settlement determination server 1 sends back to the station service that the settlement of the fare can not be appropriately performed. If the settlement of the fare can not be properly performed, the settlement determination server 1 may or may not notify the station equipment of the calculated amount of the fare. From the viewpoint of suppressing an increase in traffic of the network connecting the settlement determination server 1 and the station equipment so as to enable data communication, if the settlement of the fare can not be properly performed, the settlement determination server 1 calculates the amount of the calculated fare It is preferable not to notify to.

また、精算判定サーバ1は、データ通信可能に接続されている駅務機器で処理された駅務処理のログを蓄積的に記憶するとともに、適当なタイミングで記憶している駅務処理のログを統括サーバ4にアップロードする。   Further, the settlement determination server 1 cumulatively stores the log of the station service process processed by the station service device connected so as to be capable of data communication, and stores the log of the station service process stored at an appropriate timing. Upload to the central server 4.

自動改札機2は、駅の改札口に設置され、改札通路における利用者の通行を制限する。また、精算機3は、駅の改札口の駅構内側に設置され、利用者が所持するキップ等の乗車券を受け付け、利用者に対して運賃の精算を行う。   The automatic ticket gate 2 is installed at the ticket gate of the station and restricts the passage of users in the ticket gate. Further, the settlement machine 3 is installed inside the station yard of the ticket gate of the station, receives a ticket such as a ticket possessed by the user, and settles the fare for the user.

なお、券売機は、利用者に対するキップ等の乗車券の発券を行う。係員端末は、駅係員による入力操作に応じた駅務処理を行う。駅係員は、係員端末において、利用者の要求に応じた駅務処理の実行にかかる入力操作を行う。自動改札機2、精算機3、および係員端末が、運賃の算出をともなう駅務処理を行う。券売機は、運賃の算出をともなう駅務処理を行わない。すなわち、自動改札機2、精算機3、および係員端末が、この発明で言う駅務機器に属し、券売機がこの発明で言う駅務機器に属さない。   In addition, the ticket vending machine issues a ticket such as a ticket to the user. The clerk terminal performs station work processing according to the input operation by the station clerk. The station clerk performs an input operation to execute station service processing in response to the request of the user at the clerk terminal. The automatic ticket gate 2, the settlement machine 3, and the attendant terminal perform station work processing with fare calculation. Ticket vending machines do not carry out station work processing that involves the calculation of fares. That is, the automatic ticket gate 2, the settlement machine 3, and the attendant terminal belong to the station service device in the present invention, and the ticket vending machine does not belong to the station service device in the present invention.

図2は、精算判定サーバの主要部の構成を示すブロック図である。精算判定サーバ1は、制御ユニット10と、通信ユニット12と、ログデータ記憶DB13とを備えている。   FIG. 2 is a block diagram showing the configuration of the main part of the settlement determination server. The settlement determination server 1 includes a control unit 10, a communication unit 12, and a log data storage DB 13.

制御ユニット10は、精算判定サーバ1本体の動作を制御する。また、制御ユニット10は、乗車駅から降車駅までの運賃を算出する運賃算出部11を有している。運賃算出部11は、第1の運賃算出機能11aと、第2の運賃算出機能11bと、判定機能11cとを有している。   The control unit 10 controls the operation of the settlement determination server 1 main body. The control unit 10 also has a fare calculation unit 11 that calculates the fare from the boarding station to the getting-off station. The fare calculation unit 11 has a first fare calculation function 11 a, a second fare calculation function 11 b, and a determination function 11 c.

第1の運賃算出機能11aは、乗車駅から降車駅までの運賃の金額を第1のロジックでプログラムされた第1のプログラムで算出する。第2の運賃算出機能11bは、乗車駅から降車駅までの運賃の金額を第1のロジックとは異なる第2のロジックでプログラミングされた第2のプログラムで算出する。判定機能11cは、第1の運賃算出機能11aが算出した乗車駅から降車駅までの運賃の金額と、第2の運賃算出機能11bが算出した乗車駅から降車駅までの運賃の金額とを比較し、運賃の精算が適正に行えるかどうかを判定する。   The first fare calculation function 11a calculates the amount of fare from the boarding station to the getting-off station by the first program programmed by the first logic. The second fare calculation function 11b calculates the amount of fare from the boarding station to the getting-off station by a second program programmed with a second logic different from the first logic. The judgment function 11c compares the amount of fare from the boarding station to the getting-off station calculated by the first fare calculating function 11a with the amount of fare from the boarding station to the getting-off station calculated by the second fare calculating function 11b. And determine whether fares can be properly settled.

通信ユニット12は、ネットワークを介してデータ通信可能に接続されている駅務機器や統括サーバ4との間におけるデータ通信を制御する。   The communication unit 12 controls data communication with a station service device or the central server 4 connected so as to be capable of data communication via a network.

ログデータ記憶DB13は、データ通信可能に接続されている駅務機器で行われた駅務処理のログを記憶する。精算判定サーバ1は、適当なタイミングで、ログデータ記憶DB13に記憶している駅務処理のログデータを統括サーバ4にアップロードする。この適当なタイミングは、例えば1日の列車の運行が完了してから、翌日の列車の運行が開始されるまでの期間(列車の運行時を避けたタイミング)に設定し、精算判定サーバ1の処理負荷を分散するのが好ましい。   The log data storage DB 13 stores a log of station service processing performed by a station service device connected so as to be capable of data communication. The settlement determination server 1 uploads the log data of the station service process stored in the log data storage DB 13 to the central server 4 at an appropriate timing. The appropriate timing is set, for example, in a period from when the operation of the train on one day is completed to the time the operation of the train on the next day is started (a timing when the operation of the train is avoided). It is preferable to distribute the processing load.

図3は、自動改札機の主要部の構成を示すブロック図である。自動改札機2は、制御部21と、ICカード読取部22と、磁気券読取部23と、利用者検知部24と、表示部25と、扉開閉部26と、通信部27と、を備えている。   FIG. 3 is a block diagram showing the configuration of the main part of the automatic ticket gate. The automatic ticket gate 2 includes a control unit 21, an IC card reading unit 22, a magnetic ticket reading unit 23, a user detection unit 24, a display unit 25, a door opening and closing unit 26, and a communication unit 27. ing.

制御部21は、自動改札機2本体各部の動作を制御する。   The control unit 21 controls the operation of each unit of the automatic ticket gate 2 main body.

ICカード読取部22は、無線通信機能を有する非接触式ICカードが記憶する乗車券情報の読み取りや、この非接触式ICカードに対する乗車券情報の書き込みを行う。ICカード読取部22は、無線通信エリアがアンテナから数cmの範囲であり、利用者が無線通信エリア内に翳した非接触式ICカードとの無線通信により、乗車券情報の読み取りや、乗車券情報の書き込みを行う。自動改札機2は、無線通信エリアが改札通路の入口付近になるようにアンテナを設けている。乗車券として使用できる非接触式ICカードには、プリペイドカードや、定期券等がある。乗車券として使用できる非接触式ICカードについては、公知であるので、ここでは詳細な説明を省略する。   The IC card reading unit 22 reads ticket information stored in a noncontact IC card having a wireless communication function, and writes ticket information on the noncontact IC card. The IC card reading unit 22 has a wireless communication area in a range of several centimeters from the antenna, and reads ticket information or a ticket by wireless communication with a contactless IC card that the user has crawled into the wireless communication area. Write information. The automatic ticket gate 2 is provided with an antenna such that the wireless communication area is near the entrance of the ticket gate. The contactless IC card that can be used as a ticket includes a prepaid card, a commuter pass, and the like. The non-contact type IC card that can be used as a ticket is well known, and thus the detailed description is omitted here.

磁気券読取部23は、磁気券投入口に投入されたキップ等の磁気券が記憶する乗車券情報の読み取りや、この磁気券に対する乗車券情報の書き込みを行う。自動改札機2は、磁気券投入口を改札通路の入口付近に設けている。   The magnetic ticket reading unit 23 reads ticket information stored in a magnetic ticket such as a ticket inserted into the magnetic ticket insertion slot, and writes ticket information for the magnetic ticket. The automatic ticket gate 2 is provided with a magnetic ticket insertion port near the entrance of the ticket gate passage.

利用者検知部24は、改札通路における利用者の通行方向に沿って並べた複数のセンサにより、改札通路を通行している利用者の位置を検知する。   The user detection unit 24 detects the position of the user who is passing through the ticket gate passage by using a plurality of sensors arranged along the passage direction of the user in the ticket gate passage.

表示部25は、改札通路に進入した利用者に対するメッセージを出力する。   The display unit 25 outputs a message for the user who has entered the ticket gate passage.

扉開閉部26は、利用者に対して改札通路の通行を許可しない場合、当該利用者の出口側に位置する扉を閉する。扉開閉部26は、利用者に対して改札通路の通行を許可する場合、当該利用者の出口側に位置する扉を開する。   The door opening / closing unit 26 closes the door located on the exit side of the user when the user is not permitted to pass through the ticket gate passage. When allowing the user to pass through the ticket gate passage, the door opening / closing unit 26 opens the door located on the exit side of the user.

通信部27は、ネットワークを介してデータ通信可能に接続されている精算判定サーバ1との間におけるデータ通信を制御する。上述したように、各自動改札機2は、複数の精算判定サーバ1とデータ通信可能に接続されている。   The communication unit 27 controls data communication with the settlement determination server 1 connected so as to be capable of data communication via the network. As described above, each automatic ticket gate 2 is connected to the plurality of settlement determination servers 1 so as to be capable of data communication.

また、図3に示すように、制御部21は、依頼要求機能部21aと、実行指示機能部21bと、精算処理機能部21cとを有している。この制御部21が、この発明にかかる精算処理方法を実行する。   Further, as shown in FIG. 3, the control unit 21 has a request request function unit 21a, an execution instruction function unit 21b, and a settlement process function unit 21c. The control unit 21 executes the settlement processing method according to the present invention.

依頼要求機能部21aは、通信部27から、運賃の金額の算出にかかる依頼要求を複数の精算判定サーバ1に送信する処理を制御する。この依頼要求は、ネットワークを介してデータ通信可能に接続されている全ての精算判定サーバ1に送信してもよいが、ここでは、予め設定されている精算判定サーバ1にのみ送信する。例えば、依頼要求機能部21aは、依頼要求を精算判定サーバ1A、および精算判定サーバ1Bに送信する設定がなされている場合、依頼要求を精算判定サーバ1A、および精算判定サーバ1Bに送信し、精算判定サーバ1Cに送信しない。   The request request function unit 21 a controls processing of transmitting a request request for calculating the amount of the fare from the communication unit 27 to the plurality of settlement determination servers 1. Although this request request may be transmitted to all the settlement determination servers 1 connected so as to be capable of data communication via the network, here, it is transmitted only to the settlement determination server 1 set in advance. For example, when the request request function unit 21a is set to transmit the request request to the settlement determination server 1A and the settlement determination server 1B, the request request function unit 21a transmits the request request to the settlement determination server 1A and the settlement determination server 1B. It does not transmit to the determination server 1C.

実行指示機能部21bは、運賃の金額の算出にかかる処理を実行させる精算判定サーバ1を決定する。また、実行指示機能部21bは、通信部27から、運賃の金額の算出を指示する実行指示を精算判定サーバ1に送信する処理を制御する。   The execution instructing function unit 21 b determines the settlement determination server 1 that executes the process related to the calculation of the fare amount. Further, the execution instructing function unit 21 b controls a process of transmitting, from the communication unit 27, an execution instruction instructing calculation of the fare amount to the settlement determination server 1.

精算処理機能部21cは、精算判定サーバ1において算出された運賃の金額を用いて、運賃を精算する処理を制御する。   The settlement processing function unit 21 c controls the processing of adjusting the fare using the amount of the fare calculated in the settlement determination server 1.

なお、この例にかかる自動改札機2は、乗車駅から降車駅までの運賃の金額を算出する構成を備えていなくてもよい。すなわち、この例にかかる自動改札機2は、乗車駅から降車駅までの運賃の金額を算出する構成を備えないことで、コストダウンを図ることができる。乗車駅から降車駅までの運賃の金額を用いて駅務処理を行う自動改札機2以外の駅務機器(精算機3や係員端末等)も、同様に、乗車駅から降車駅までの運賃の金額を算出する構成を備えないことで、コストダウンを図ることができる。   The automatic ticket gate 2 according to this example may not have a configuration for calculating the amount of fare from the boarding station to the getting-off station. That is, the automatic ticket gate 2 according to this example can achieve cost reduction by not having a configuration for calculating the amount of fare from the boarding station to the getting-off station. Similarly for station work equipment (settlement machine 3 and attendant terminal etc.) other than the automatic ticket gate 2 that performs station processing using the amount of fare from boarding station to boarding station, the fares from boarding station to boarding station are also Cost reduction can be achieved by not having a configuration for calculating the amount of money.

また、この駅務システムは、乗車駅から降車駅までの運賃の金額を用いて駅務処理を行う複数の駅務機器を精算判定サーバ1に接続するので、乗車駅から降車駅までの運賃の金額を算出する構成の総数を実質的に減少させることができる。   In addition, since this station management system connects a plurality of station management devices that perform station processing using the amount of fare from the boarding station to the getting-off station to the settlement determination server 1, the fare system from the boarding station to the getting-off station The total number of components for calculating the amount can be substantially reduced.

次に、この駅務システムの精算判定サーバ1、および自動改札機2の動作について説明する。この例では、この発明にかかる駅務機器が自動改札機2である。ここでは、プリペイド式の乗車券を使用して駅構内から出場する利用者に対する自動改札機2の改札処理を例にする。プリペイド式の乗車券は、非接触式ICカードであってもよいし、磁気券であってもよい。図4は、精算判定サーバの動作を示すフローチャートである。図5は、駅構内から出場する利用者に対する自動改札機の動作を示すフローチャートである。   Next, the operations of the checkout determination server 1 and the automatic ticket gate 2 of this station management system will be described. In this example, the station service according to the present invention is the automatic ticket gate 2. Here, the ticket processing of the automatic ticket gate 2 for a user who participates from the station yard using a prepaid ticket will be taken as an example. The prepaid ticket may be a noncontact IC card or a magnetic ticket. FIG. 4 is a flowchart showing the operation of the settlement determination server. FIG. 5 is a flow chart showing the operation of the automatic ticket gate for the user participating from the station yard.

自動改札機2は、利用者が所持している乗車券(ここでは、プリペイド式の乗車券)を受け付けると、その乗車券に記録されている乗車券情報を読み取る(s21、s22)。自動改札機2は、利用者がICカード読取部22の無線通信エリア内に翳した非接触式ICカードや、利用者が磁気券投入口に投入した磁気券をs21で乗車券として受け付ける。また、自動改札機2は、受け付けた乗車券の乗車券情報として、乗車券の識別番号、前回の利用種別(入場、または出場)、前回の利用駅、価値残高等を乗車券情報としてs22で読み取る。ICカード読取部22、または磁気券読取部23が、s22における乗車券情報の読み取りを行う。   When the automatic ticket gate 2 receives a ticket owned by the user (here, a prepaid ticket), it reads the ticket information recorded in the ticket (s21, s22). The automatic ticket gate 2 receives as a ticket at s21 a noncontact IC card which the user has crawled into the wireless communication area of the IC card reading unit 22 or a magnetic ticket which the user has inserted into the magnetic ticket insertion slot. In addition, the automatic ticket gate 2 uses the ticket identification number, the previous usage type (admission or participation), the last used station, the value balance, and the like as ticket information in s22 as ticket information for the accepted ticket. read. The IC card reading unit 22 or the magnetic ticket reading unit 23 reads the ticket information at s22.

自動改札機2は、制御部21において、s22で乗車券情報として読み取った前回の利用種別が入場であるか、出場であるかを判定する(s23)。制御部21は、前回の利用種別が出場であれば(入場でなければ)、サイクルエラーが生じていると判定し、今回乗車券情報を読み取った乗車券を所持している利用者に対して改札通路の通行を許可しないと判定し(s24)、s21に戻る。自動改札機2は、扉開閉部26が改札通路の通行を許可しないと判定した利用者に対し、改札通路出口側に位置する扉を閉するとともに、警告音による報知等を行う。   The automatic ticket gate 2 determines in the control unit 21 whether the previous type of usage read as ticket information in s22 is admission or participation (s23). The control unit 21 determines that a cycle error has occurred if the previous type of use is participation (if it is not entrance), and for the user who holds the ticket from which the ticket information has been read this time It is determined that the passage of the ticket gate passage is not permitted (s24), and the process returns to s21. The automatic ticket gate 2 closes the door located on the exit side of the ticket gate passage and gives a notification by means of a warning sound to the user who determined that the door opening / closing unit 26 does not permit passage of the ticket gate passage.

自動改札機2は、s23で前回の利用種別が入場であると判定すると、予め設定されている複数の精算判定サーバ1に対して、運賃の金額の算出にかかる依頼要求を送信する(s25)。例えば、自動改札機2は、運賃の算出にかかる依頼要求を送信する精算判定サーバ1として、精算判定サーバ1A、および精算判定サーバ1Bが設定されている場合、依頼要求機能部21aが精算判定サーバ1A、および精算判定サーバ1Bのそれぞれに対する依頼要求電文を作成する。また、依頼要求機能部21aは、通信部27を制御して作成した依頼要求電文を精算判定サーバ1A、および精算判定サーバ1Bのそれぞれに送信する。この場合、依頼要求機能部21aは、精算判定サーバ1Cに対する依頼要求電文の作成、および送信を行わない。依頼要求機能部21aは、予め設定されている複数の精算判定サーバ1に対する依頼要求電文の作成や、送信にかかる処理をマルチスレッドで行う。   If the automatic ticket gate 2 determines in s23 that the previous type of use is entrance, it sends a request request for calculation of the fare amount to the plurality of settlement determination servers 1 set in advance (s25) . For example, when the settlement determination server 1A and the settlement determination server 1B are set as the settlement determination server 1 to which the automatic ticket gate 2 transmits a request for calculating the fare, the request request function unit 21a is a settlement determination server A request request message for each of 1A and the settlement determination server 1B is created. Further, the request request function unit 21a transmits a request request message generated by controlling the communication unit 27 to each of the settlement determination server 1A and the settlement determination server 1B. In this case, the request request function unit 21a does not create and send a request request message to the settlement determination server 1C. The request request function unit 21a performs processing related to creation of a request request message to a plurality of settlement determination servers 1 set in advance and transmission according to multithread.

精算判定サーバ1は、駅務機器(ここでは、自動改札機2)から送信されてきた、運賃の金額の算出にかかる依頼要求、または運賃の金額の算出指示を通信ユニット12で受信するのを待っている(s1、s2)。精算判定サーバ1は、運賃の金額の算出にかかる依頼要求をいずれかの駅務機器から受信すると、この依頼要求を送信してきた駅務機器に対して応答し(s3)、s1に戻る。   The settlement determination server 1 may use the communication unit 12 to receive a request request for calculation of the fare amount or a calculation instruction of the fare amount transmitted from the station service equipment (here, the automatic ticket gate 2). I am waiting (s1, s2). When the settlement determination server 1 receives a request for calculating the amount of fare from any of the station equipments, the settlement determination server 1 responds to the station equipment that has transmitted the request request (s3), and returns to s1.

自動改札機2は、s25で、運賃の算出にかかる依頼要求を複数の精算判定サーバ1に送信すると、今回依頼要求を送信したいずれかの精算判定サーバ1からの応答(運賃の算出にかかる依頼要求に対する応答)を待っている(s26)。自動改札機2は、通信部27において、運賃の算出にかかる依頼要求に対する応答を、いずれかの精算判定サーバ1から受信すると、実行指示機能部21bが、応答を受信した精算判定サーバ1を、運賃の金額の算出を指示する精算判定サーバ1に決定する(s27)。すなわち、実行指示機能部21bは、s25で運賃の金額の算出にかかる依頼要求を送信した複数の精算判定サーバ1の中で、この依頼要求に対する応答を最も早く受信した精算判定サーバ1を、運賃の金額の算出を指示する精算判定サーバ1に決定する。   When the automatic ticket gate 2 transmits a request for calculating the fare to the plurality of settlement determination servers 1 in s25, a response from one of the settlement determination servers 1 that has transmitted the request request this time (a request for calculation of the fare) Waiting for a response to the request (s26). When the automatic ticket gate 2 receives a response to the request for calculating the fare in the communication unit 27 from any one of the settlement determination servers 1, the execution instructing function unit 21b receives the response from the settlement determination server 1, It is determined that the settlement determination server 1 instructs calculation of the fare amount (s27). That is, the execution instructing function unit 21b selects the payment determination server 1 that has received the response to the request request earliest among the plurality of payment determination servers 1 that transmitted the request for calculating the fare amount in s25. It is determined that the settlement determination server 1 instructs calculation of the amount of money.

なお、自動改札機2は、s26で、いずれかの精算判定サーバ1から応答を受信すると、他の精算判定サーバ1からの応答を無視する。   When the automatic ticket gate 2 receives a response from any of the settlement determination servers 1 at s26, it ignores the responses from the other settlement determination servers 1.

実行指示機能部21bは、通信部27を制御して、運賃の金額の算出指示を、s27で決定した精算判定サーバ1に送信する(s28)。この運賃の金額の算出指示には、少なくともs22で乗車券情報として読み取った前回の利用駅(すなわち、今回の乗車駅)が含まれている。   The execution instruction function unit 21b controls the communication unit 27 to transmit a calculation instruction of the fare amount to the settlement determination server 1 determined in s27 (s28). The instruction to calculate the amount of the fare includes at least the last available station (that is, the current boarding station) read as ticket information in s22.

精算判定サーバ1は、ネットワークを介してデータ通信可能に接続されているいずれかの駅務機器(ここでは、自動改札機2)から運賃の金額の算出指示を通信ユニット12で受信すると(s2)、第1の運賃算出処理、および第2の運賃算出処理を行う(s4、s5)。精算判定サーバ1は、第1の運賃算出処理を第1の運賃算出機能11aで行い、第2の運賃算出処理を第2の運賃算出機能11bで行う。上述したように、第1の運賃算出機能11aは、乗車駅から降車駅までの運賃の金額を第1のプログラムで算出する。また、第2の運賃算出機能11bは、乗車駅から降車駅までの運賃の金額を第2のプログラムで算出する。s4、およびs5で用いる降車駅は、今回通信ユニット12で受信した運賃の金額の算出指示を送信してきた自動改札機2の設置駅である。自動改札機2は、s28で送信した運賃の金額の算出指示に、自機が設置されている駅(設置駅)を示す情報を含ませる構成であってもよいし、精算判定サーバ1が今回受信した運賃の金額の算出指示を送信してきた自動改札機2の識別番号等から、この自動改札機2の設置駅を判断する構成であってもよい。   The settlement determination server 1 receives, at the communication unit 12, an instruction to calculate the amount of the fare from any of the station equipment (here, the automatic ticket gate 2) connected so as to be able to perform data communication via the network (s2) , The first fare calculation process, and the second fare calculation process (s4, s5). The settlement determination server 1 performs the first fare calculation process with the first fare calculation function 11 a and performs the second fare calculation process with the second fare calculation function 11 b. As described above, the first fare calculation function 11a calculates the amount of fare from the boarding station to the getting-off station according to the first program. The second fare calculation function 11b calculates the amount of fare from the boarding station to the getting-off station by the second program. The getting-off station used in s4 and s5 is the installation station of the automatic ticket gate 2 which has sent the calculation instruction of the amount of the fare received by the communication unit 12 this time. The automatic ticket gate 2 may be configured to include information indicating the station (installed station) where the aircraft is installed in the calculation instruction of the amount of the fare transmitted in s28, and the settlement determination server 1 may The station where the automatic ticket gate 2 is installed may be determined from the identification number or the like of the automatic ticket gate 2 that has sent the received calculation instruction of the fare amount.

精算判定サーバ1は、自動改札機2における改札処理の速度低下を抑えるため、s4、s5にかかる処理を同時並行で行うのが好ましい。   It is preferable that the settlement determination server 1 perform the processes s4 and s5 simultaneously in parallel in order to suppress the speed reduction of the ticket processing in the automatic ticket gate 2.

第1の運賃算出機能11aは、第1のプログラムにおいて今回の運賃の金額を算出するプロセスにバグがあると適正な金額を算出できない。同様に、第2の運賃算出機能11bは、第2のプログラムにおいて今回の運賃の金額を算出するプロセスにバグがあると適正な金額を算出できない。したがって、第1の運賃算出機能11aが算出した運賃の金額と、第2の運賃算出機能が算出した運賃の金額とが一致しない場合、第1のプログラム、または第2のプログラムの少なくとも一方は、今回の運賃の金額を算出するプロセスにバグがある。   If there is a bug in the process of calculating the current fare amount in the first program, the first fare calculation function 11a can not calculate a proper amount. Similarly, if there is a bug in the process of calculating the current fare amount in the second program, the second fare calculation function 11b can not calculate the appropriate amount. Therefore, when the amount of the fare calculated by the first fare calculation function 11a does not match the amount of the fare calculated by the second fare calculation function, at least one of the first program and the second program is There is a bug in the process of calculating the fare amount this time.

なお、今回の運賃の金額を算出するプロセスにバグがあるプログラムが、第1のプログラム、および第2のプログラムの両方である場合、第1の運賃算出機能11aが算出した運賃の金額と、第2の運賃算出機能11bが算出した運賃の金額とが一致する可能性は極めて小さい。言い換えれば、今回の運賃の金額を算出するプロセスにバグがあるプログラムが、第1のプログラム、および第2のプログラムの両方であると、殆どの場合、第1の運賃算出機能11aが算出した運賃の金額と、第2の運賃算出機能11bが算出した運賃の金額とは一致しない。   If the program that has a bug in the process of calculating the fare amount for this time is both the first program and the second program, the fare amount calculated by the first fare calculation function 11a, and The possibility that the amount of the fare calculated by the fare calculation function 11b of 2 is the same is extremely small. In other words, it is almost the case that the program having a bug in the process of calculating the current fare amount is both the first program and the second program, in most cases, the fare calculated by the first fare calculation function 11a. And the amount of fare calculated by the second fare calculation function 11b do not match.

精算判定サーバ1は、判定機能11cにおいて、第1の運賃算出処理で算出した運賃の金額と、第2の運賃算出処理で算出した運賃の金額とが一致しているかどうかを判定する(s6)。判定機能11cは、第1の運賃算出処理で算出した運賃の金額と、第2の運賃算出処理で算出した運賃の金額とが一致していなければ、運賃の精算が適正に行えないと判定し(s9)、通信ユニット12において運賃の金額の算出指示を送信してきた自動改札機2に対して運賃の精算禁止を送信する(s10)。   The settlement determination server 1 determines whether the price of the fare calculated in the first fare calculation processing matches the amount of the fare calculated in the second fare calculation processing in the determination function 11c (s6) . If the price of the fare calculated in the first fare calculation process and the price of the fare calculated in the second fare calculation process do not match, the determination function 11 c determines that the fare can not be properly settled. (S9) The fare settlement prohibition is transmitted to the automatic ticket gate 2 which has sent the calculation instruction of the fare amount in the communication unit 12 (s10).

また、判定機能11cは、第1の運賃算出処理で算出した運賃の金額と、第2の運賃算出処理で算出した運賃の金額とが一致していると、運賃の精算が適正に行えると判定し(s7)、通信ユニット12において運賃の精算要求を送信してきた自動改札機2に対して運賃の精算許可を送信する(s8)。この精算許可には、第1の運賃算出処理で算出した運賃の金額(第2の運賃算出処理で算出した運賃の金額であってもよい。)が含まれている。精算判定サーバ1は、s8で自動改札機2に精算許可を送信すると、この自動改札機2から駅務処理のログ(今回運賃を算出した利用者に対する改札処理のログ)を受信するのを待つ(s11)。   In addition, when the price of the fare calculated in the first fare calculation process matches the price of the fare calculated in the second fare calculation process, the determination function 11c determines that the fare can be properly settled. (S7), the fare settlement permission is transmitted to the automatic ticket gate 2 which has sent the fare settlement request in the communication unit 12 (s8). The settlement permission includes the amount of the fare calculated in the first fare calculation process (may be the amount of the fare calculated in the second fare calculation process). After sending the settlement permission to the automatic ticket gate 2 at s8, the settlement determination server 1 waits for reception of the station service processing log (the ticket processing log for the user whose fare has been calculated this time) from the automatic ticket gate 2 (S11).

図5に戻って、自動改札機2は、通信部27において、s28で運賃の金額の算出指示を精算判定サーバ1に送信すると、この精算判定サーバ1から精算許可、または精算禁止の判定結果を通信部27で受信するのを待っている(s29)。自動改札機2は、精算判定サーバ1からの判定結果を通信部27で受信すると、精算処理機能部21cが精算許可であるか、精算禁止であるかを判定する(s30)。自動改札機2は、精算処理機能部21cがs30で精算禁止であると判定すると、s24で今回乗車券情報を読み取った乗車券を所持している利用者に対して改札通路の通行を許可しないと判定し、s21に戻る。   Referring back to FIG. 5, when the automatic ticket gate 2 transmits an instruction to calculate the amount of the fare to the settlement determination server 1 in the communication unit 27 in s28, the settlement determination server 1 determines the settlement permission result or the settlement prohibition determination result. Waiting for reception by the communication unit 27 (s29). When the automatic ticket gate 2 receives the determination result from the settlement determination server 1 at the communication unit 27, it determines whether the settlement processing function unit 21c permits settlement or prohibits settlement (s30). When the automatic ticket gate 2 determines that the settlement is prohibited in s30, the automatic ticket gate 2 does not permit the user who holds the ticket whose ticket information is read this time in s24 to pass through the ticket passage. It determines with it and returns to s21.

また、自動改札機2は、精算処理機能部21cがs27で精算許可であると判定すると、精算可能であるかどうかを判定する(s31)。s31では、精算処理機能部21cが、s22で乗車券から読み取った乗車券情報に含まれている価値残高が、今回精算判定サーバ1から受信した判定結果に含まれている運賃の金額以上であるかどうかを判定する。自動改札機2は、s22で乗車券から読み取った乗車券情報に含まれている価値残高が、今回精算判定サーバ1から受信した判定結果に含まれている運賃の金額以上であれば精算可能と判定する。一方、自動改札機2は、s22で乗車券から読み取った乗車券情報に含まれている価値残高が、今回精算判定サーバ1から受信した判定結果に含まれている運賃の金額未満であれば精算不可能と判定する。   Further, when the settlement processing function unit 21c determines that the settlement is permitted in s27, the automatic ticket gate 2 determines whether the settlement is possible (s31). At s31, the value balance included in the ticket information read from the ticket at s22 by the settlement processing function unit 21c is equal to or greater than the amount of the fare included in the determination result received from the settlement determination server 1 this time. Determine if it is. If the value balance included in the ticket information read from the ticket in s22 is equal to or more than the amount of the fare included in the determination result received from the settlement determination server 1 this time, the automatic ticket gate 2 judge. On the other hand, if the value balance included in the ticket information read from the ticket in s22 is less than the amount of the fare included in the determination result received from the settlement determination server 1 this time, the automatic ticket gate 2 Judge as impossible.

自動改札機2は、s28で精算不可能であると判定すると、s24で今回乗車券情報を読み取った乗車券を所持している利用者に対して改札通路の通行を許可しないと判定し、s21に戻る。   If the automatic ticket gate 2 determines that settlement is impossible in s28, it determines that the user holding the ticket whose ticket information has been read this time in s24 is not permitted to pass through the ticket passage, s21. Return to

精算処理機能部21cは、精算可能であると判定すると、s21で受け付けた乗車券に対して精算処理を行う(s32)。s32では、乗車券に対して、出場時刻(現在時刻)、出場駅(自機が設置されている駅)、今回の列車の利用にかかる運賃の金額(s29で受信した判定結果に含まれている運賃の金額)、価値残高(s2で読み取った価値残高から、今回算出された運賃の金額を差し引いた価値)等を対応付けた出場データを乗車券情報として書き込む。また、自動改札機2は、今回乗車券情報を読み取った乗車券を所持している利用者に対して改札通路の通行を許可すると判定する(s33)。自動改札機2は、改札通路の通行を許可すると判定した利用者に対して、この利用者にとっての改札通路出口側に位置する扉を開する。さらに、自動改札機2は、今回の駅務処理のログ(今回改札通路の通行を許可した利用者に対する改札処理のログ)を精算判定サーバ1に送信し(s34)、s21に戻る。   If the settlement processing function unit 21c determines that the settlement can be made, the settlement processing function unit 21c performs a settlement process on the ticket received in s21 (s32). In s32, for ticket, participation time (current time), participation station (station where own aircraft is installed), amount of fare for use of this train (included in judgment result received in s29) The participation data in which the value of the fare which is present, the value balance (the value obtained by subtracting the amount of the fare calculated this time from the value balance read in s2) and the like are associated is written as ticket information. Further, the automatic ticket gate 2 determines that the user holding the ticket whose ticket information has been read this time is permitted to pass through the ticket passage (s33). The automatic ticket gate 2 opens a door located on the exit side of the ticket passage for the user who has determined that the passage of the ticket passage is permitted. Furthermore, the automatic ticket gate 2 transmits the log of the station service process this time (the log of the ticket examination process for the user who permitted the passage of the ticket passage this time) to the settlement determination server 1 (s34), and returns to s21.

精算判定サーバ1は、精算許可を送信した自動改札機2から駅務処理のログ(今回運賃を算出した利用者に対する改札処理のログ)を通信ユニット12で受信すると、受信した駅務処理のログをログデータ記憶DB13に記憶し(s12)、s1に戻る。   The settlement determination server 1 receives the log of the station service process (the log of the ticket processing for the user who calculated the current fare) from the automatic ticket gate 2 that has transmitted the settlement permission at the communication unit 12, the received station service log Are stored in the log data storage DB 13 (s12), and the process returns to s1.

このように、この例では、自動改札機2は、運賃の金額の算出にかかる依頼要求を送信した複数の精算判定サーバ1の中で、この依頼要求に対して最も早く応答した精算判定サーバ1に、運賃の金額の算出を指示する。依頼要求に対して最も早く応答した精算判定サーバ1は、依頼要求を送信した複数の精算判定サーバ1の中で、その時点における処理負荷が他の精算判定サーバ1よりも小さい精算判定サーバ1である可能性が高い。したがって、自動改札機2における改札処理の処理効率の低下を防止できる。   Thus, in this example, among the plurality of settlement determination servers 1 that have sent the request for calculation of the fare amount, the automatic ticket gate 2 is the settlement determination server 1 that has responded most quickly to this request. Instruct them to calculate the fare amount. Among the plurality of settlement determination servers 1 that have sent the request request, the settlement determination server 1 that has responded most quickly to the request request is a settlement determination server 1 whose processing load at that time is smaller than that of other settlement settlement servers 1. There is a high possibility. Therefore, the fall of the processing efficiency of the ticket gate process in the automatic ticket gate 2 can be prevented.

また、自動改札機2は、運賃の金額の算出にかかる依頼要求を複数の精算判定サーバ1に送信するので、いずれかの精算判定サーバ1がなんらかの異常で停止しても、停止することなく、改札処理(駅務処理)を継続することができる。したがって、利用者に対するサービスの低下が抑えられる。   In addition, since the automatic ticket gate 2 transmits a request for calculating the amount of the fare to the plurality of settlement determination servers 1, even if any one of the settlement determination servers 1 stops due to any abnormality, it does not stop. Ticket ticket processing (station work processing) can be continued. Therefore, the deterioration of the service to the user can be suppressed.

なお、自動改札機2は、運賃の金額の算出にかかる依頼要求を送信する複数の精算判定サーバ1のいずれかが何らかの異常で停止したとき、その時点で停止していない別の精算判定サーバ1(通常時、運賃の金額の算出にかかる依頼要求を送信しない精算判定サーバ1)を、運賃の金額の算出にかかる依頼要求を送信する精算判定サーバ1に加える構成にしてもよい。例えば、自動改札機2は、運賃の金額の算出にかかる依頼要求を精算判定サーバ1A、および精算判定サーバ1Bに送信する設定である場合、精算判定サーバ1Bがなんらかの異常で停止したとき、運賃の金額の算出にかかる依頼要求を精算判定サーバ1A、および精算判定サーバ1Cに送信するように設定を変化させる構成であってもよい。   It should be noted that, when any of the plurality of settlement determination servers 1 transmitting the request request for calculation of the fare amount is stopped due to some kind of abnormality, the automatic ticket gate 2 is another settlement determination server 1 not stopped at that time. (Normally, the settlement determination server 1 which does not transmit the request request concerning calculation of the fare amount) may be added to the settlement determination server 1 transmitting the request request concerning calculation of the fare amount. For example, when the automatic ticket gate 2 is set to transmit a request request for calculation of the fare amount to the settlement determination server 1A and the settlement determination server 1B, when the settlement determination server 1B is stopped due to some abnormality, The setting may be changed to transmit a request for calculating the amount of money to the settlement determination server 1A and the settlement determination server 1C.

また、精算判定サーバ1は、乗車駅から降車駅までの運賃の金額を、第1の運賃算出機能11a、および第2の運賃算出機能11bのそれぞれで算出し、算出した2つの運賃が一致していなければ、運賃の精算が適正に行えないと判定し、運賃の精算を禁止する。したがって、運賃の誤収受を防止し、利用者の信頼低下や、損害リスクを抑制することができる。   Further, the settlement determination server 1 calculates the amount of fare from the boarding station to the getting-off station by each of the first fare calculation function 11a and the second fare calculation function 11b, and the calculated two fares coincide with each other. If not, it is determined that the fare adjustment can not be performed properly, and the fare adjustment is prohibited. Therefore, it is possible to prevent false receipt of fares, and to reduce the user's confidence and risk of damage.

また、精算判定サーバ1は、図4に示した処理を、多数並行して実行できるスペックであるので、利用者の改札処理に要する時間の増加も抑えられる。   Further, since the settlement determination server 1 is a spec that can execute the process shown in FIG. 4 in large numbers in parallel, an increase in time required for the ticket processing by the user can also be suppressed.

また、自動改札機2は、s23でサイクルエラーが発生していると判定すると、精算判定サーバ1に対して運賃の精算要求を送信しないので、精算判定サーバ1と自動改札機2とのデータ通信のトラフィックを抑えることができる。   Further, if the automatic ticket gate 2 determines that a cycle error has occurred in s23, it does not transmit a fare settlement request to the settlement determination server 1, so data communication between the settlement determination server 1 and the automatic ticket gate 2 Traffic can be reduced.

また、上記の例では、精算判定サーバ1は、自動改札機2からの運賃の精算要求に対して、異なるロジックでプログラミングされた2つのプログラム(第1のプログラム、および第2のプログラム)で運賃の金額を算出するとしたが、それぞれが異なるロジックでプログラミングされた3つ以上のプログラムで運賃の金額を算出する構成にしてもよい。この場合、各プログラムで算出した運賃の金額が全て一致した場合に運賃の精算が適正に行えると判定し、それ以外の場合に(算出した運賃の金額が一致しないプログラムがあった場合に、)、運賃の精算が適正に行えないと判定すればよい。   Further, in the above example, the settlement determination server 1 responds to the settlement request of the fare from the automatic ticket gate 2 by the two programs (the first program and the second program) programmed with different logic. Although the amount of money is calculated, the amount of money for the fare may be calculated by three or more programs programmed with different logics. In this case, it is determined that the fares can be properly settled if all the fare amounts calculated in each program match, otherwise (if there is a program in which the calculated fare amounts do not match) , It may be determined that the fare adjustment can not be properly performed.

また、精算判定サーバ1は、自動改札機2からの運賃の精算要求に対して、単一のプログラムで運賃の金額を算出する構成であってもよい(図2に示す、第2の運賃算出機能を備えていない構成であってもよい。)。この場合、図4に示すs5、s6、s9、およびs10にかかる処理については、不要にすればよい。   Further, the settlement determination server 1 may be configured to calculate the amount of the fare with a single program in response to the settlement request of the fare from the automatic ticket gate 2 (second fare calculation shown in FIG. 2) It may be a configuration without a function). In this case, the processes s5, s6, s9, and s10 shown in FIG. 4 may be omitted.

また、精算判定サーバ1は、自動改札機2以外の駅務機器(例えば、精算機3や係員端末等)から運賃の金額の算出依頼や、運賃の金額の算出指示を受信した場合も、図4に示した処理を実行する。精算機3は、精算判定サーバ1において運賃の精算が適正に行えないと判定された場合、精算券の発券を中止する。また、精算機3は、精算判定サーバ1において運賃の精算が適正に行えると判定された場合、運賃の精算を行うとともに、精算券を発券する処理を行う。   In addition, even when the settlement determination server 1 receives a request for calculation of the fare amount or a calculation instruction for the fare amount from a station machine other than the automatic ticket gate 2 (for example, the settlement machine 3 or a clerk terminal), Execute the process shown in 4. When it is determined that the settlement of the fare can not be properly performed in the settlement determination server 1, the settlement machine 3 cancels the issue of the settlement ticket. Further, when it is determined that the settlement of the fare can be properly performed in the settlement determination server 1, the settlement machine 3 performs the settlement of the fare and the processing of issuing a settlement ticket.

なお、精算機3や、係員端末等の駅務機器において、利用者が鉄道を利用した区間(乗車駅、降車駅)を検出する処理は公知であるので、ここでは詳細な説明を省略する。   In addition, since station processing equipments, such as a checkout machine 3 and a valet terminal, the process (a boarding station, the getting-off station) which a user utilized the railway is known, it abbreviate | omits detailed description here.

また、上記の例では、依頼要求機能部21aは、複数の精算判定サーバ1に対する依頼要求電文の作成や、送信にかかる処理をマルチスレッドで行うとしたが、シングルスレッドで行う構成であってもよい。複数の精算判定サーバ1に対する依頼要求電文の作成や、送信にかかる処理をシングルスレッドで行う場合、依頼要求電文を先に送信する精算判定サーバ1からの応答が早くなる可能性が高い。   In the above example, although the request request function unit 21a performs the process of creating request request messages for the plurality of settlement determination servers 1 and the process related to transmission by multithreading, the configuration may be performed by a single thread. Good. In the case where processing for sending and generating request request messages for a plurality of settlement determination servers 1 is performed in a single thread, there is a high possibility that the response from the settlement determination server 1 that transmits the request request telegrams earlier.

このため、複数の精算判定サーバ1に対する運賃の金額の算出にかかる依頼要求電文の作成や、送信にかかる処理をシングルスレッドで行う場合には、運賃の金額の算出指示が特定の精算判定サーバ1に集中するのを防止する構成を追加的に設けるのが好ましい。   For this reason, when the request request message relating to the calculation of the fare amount to the plurality of settlement determination servers 1 and the processing relating to the transmission are performed in a single thread, the calculation instruction of the fare amount is the specific settlement determination server 1 It is preferable to additionally provide a configuration that prevents concentration.

例えば、自動改札機2は、運賃の金額の算出にかかる依頼要求を精算判定サーバ1A、および精算判定サーバ1Bに送信する設定である場合、図5に示す処理の実行毎に、運賃の金額の算出にかかる依頼要求電文の作成や、送信にかかる処理を行う精算判定サーバ1の順番を、精算判定サーバ1A、精算判定サーバ1Bの順番と、精算判定サーバ1B、精算判定サーバ1Aの順番と、の間で交互に変化させる(サイクルで変化させる)構成にすればよい。また、自動改札機2は、運賃の金額の算出にかかる依頼要求電文の作成や、送信にかかる処理を行う精算判定サーバ1の順番を、ランダムに切り替える構成にしてもよい。   For example, when the automatic ticket gate 2 is set to transmit a request request for calculation of the fare amount to the settlement determination server 1A and the settlement determination server 1B, for each execution of the processing shown in FIG. The order of the settlement determination server 1 performing the process of preparation and transmission of the request request message relating to the calculation, the order of the settlement judgment server 1A and the settlement judgment server 1B, the order of the settlement judgment server 1B and the settlement judgment server 1A, It may be configured to be alternately changed (changed in cycles). In addition, the automatic ticket gate 2 may be configured to randomly switch the order of the preparation of the request request message for calculation of the fare amount and the settlement determination server 1 performing the process for transmission.

また、上記の例では、自動改札機2は、利用者の出場処理にかかるログデータを精算判定サーバ1に送信し、精算判定サーバ1がログデータ記憶DB13に記憶する構成であるので、自動改札機2側で利用者の出場処理にかかるログデータを記憶しなくてもよい。これにより、自動改札機2は、駅務処理にかかるログデータを記憶する記憶容量を抑制できる。また、自動改札機2以外の駅務機器(精算機3等)も、精算判定サーバ1に対して、上述した自動改札機2と同様の処理を行うことで、運賃の精算にかかる駅務処理のログデータを記憶しなくてもよい。   Further, in the above example, the automatic ticket gate 2 transmits the log data concerning the user's participation process to the settlement determination server 1, and the settlement determination server 1 stores the log data in the log data storage DB 13; It is not necessary to store log data for the user's entry process on the machine 2 side. Thereby, automatic ticket gate 2 can control storage capacity which memorizes log data concerning station work processing. In addition, the station service equipment (settlement machine 3 etc.) other than the automatic ticket gate 2 also performs the same process as the automatic ticket gate 2 described above on the settlement determination server 1 to process the station affairs concerning the settlement of the fare. It is not necessary to store log data of

また、自動改札機2は、出場処理だけでなく、入場処理にかかるログデータを精算判定サーバ1に送信し、精算判定サーバ1がログデータ記憶DB13に記憶する構成にしてもよい。このように構成すれば、自動改札機2は、駅務処理にかかるログデータを記憶するための記憶部を不要にできる。また、自動改札機2以外の駅務機器も、駅務処理を行う毎に、その駅務処理にかかるログデータを、ネットワークを介して接続されている精算判定サーバ1や、統括サーバ4に送信する構成にしてもよい。   Further, the automatic ticket gate 2 may be configured to transmit not only the participation process but also the log data for the entrance process to the settlement determination server 1, and the settlement determination server 1 may store the log data in the log data storage DB13. If comprised in this way, the automatic ticket gate 2 can make unnecessary the memory | storage part for memorize | storing the log data concerning station work processing. In addition, every time the station service processing is performed, station equipment other than the automatic ticket gate 2 also transmits log data for the station service processing to the settlement determination server 1 and the central server 4 connected via the network. It may be configured to

なお、精算判定サーバ1は、ログデータ記憶DB13に記憶している駅務処理にかかるログデータを、適当なタイミングで統括サーバ4にアップロードする。したがって、統括サーバ4は、各駅務機器で処理された駅務処理を一括して管理することができる。   The settlement determination server 1 uploads the log data concerning the station work processing stored in the log data storage DB 13 to the central server 4 at an appropriate timing. Therefore, the central control server 4 can collectively manage the station service process processed by each station service device.

また、上記の例では、精算判定サーバ1が運賃の精算が適正に行えるかどうかを判定し、自動改札機2が改札通路における利用者の通行を許可するかどうかを判定するとしたが、以下に示すようにしてもよい。   In the above example, it is determined that the settlement determination server 1 determines whether the fares can be properly settled, and whether the automatic ticket gate 2 permits the passage of the user in the ticket gate passage is determined as follows. It may be shown.

この例は、精算判定サーバ1が運賃の精算が適正に行えるかどうか、および改札通路における利用者の通行を許可するかどうかを判定し、自動改札機2が精算判定サーバ1の判定結果に基づき、改札通路における利用者の通行を制限する構成である。具体的には、精算判定サーバ1は図6に示す処理を実行し、自動改札機2は図7に示す処理を実行する。この例にかかる、精算判定サーバ1、および自動改札機2の動作について説明する。   In this example, it is determined whether the settlement determination server 1 can properly settle the fare and whether or not the passage of the user in the ticket gate is permitted, and the automatic ticket gate 2 is based on the determination result of the settlement determination server 1 , Is configured to restrict the passage of the user in the ticket gate passage. Specifically, the settlement determination server 1 executes the process shown in FIG. 6, and the automatic ticket gate 2 executes the process shown in FIG. The operations of the settlement determination server 1 and the automatic ticket gate 2 according to this example will be described.

自動改札機2は、利用者が所持している乗車券(ここでは、プリペイド式の乗車券)を受け付けると、その乗車券に記録されている乗車券情報を読み取る(s61、s62)。このs61、およびs62にかかる処理は、上述した例のs21、およびs22と同じである。自動改札機2は、s22で乗車券情報として読み取った前回の利用種別が入場であるか、出場であるかを判定する(s63)。このs63にかかる処理は、上述した例のs23と同じである。自動改札機2は、前回の利用種別が出場であれば、サイクルエラーが生じていると判定し、今回乗車券情報を読み取った乗車券を所持している利用者に対して改札通路の通行を許可しないと判定し(s64)、s61に戻る。このs64にかかる処理は、上述した例のs24と同じである。   When the automatic ticket gate 2 receives a ticket owned by the user (here, a prepaid ticket), it reads ticket information recorded in the ticket (s61, s62). The processing according to s61 and s62 is the same as s21 and s22 in the above-described example. The automatic ticket gate 2 determines whether the previous type of usage read as ticket information in s22 is admission or participation (s63). The process according to s63 is the same as s23 in the above-described example. If the last type of use is participation, the automatic ticket gate 2 determines that a cycle error has occurred, and passes the ticket passage for the user who holds the ticket whose ticket information has been read this time. It determines with not permitting (s64) and returns to s61. The process according to s64 is the same as s24 in the above-described example.

自動改札機2は、s23で前回の利用種別が入場であると判定すると、予め設定されている複数の精算判定サーバ1に対して、運賃の金額の算出にかかる依頼要求を送信する(s65)。このs65にかかる処理は、上述した例のs25と同じである。   When the automatic ticket gate 2 determines in s23 that the previous type of use is entrance, it transmits a request request for calculation of the fare amount to the plurality of settlement determination servers 1 set in advance (s65) . The process according to s65 is the same as s25 in the above-described example.

精算判定サーバ1は、駅務機器(ここでは、自動改札機2)から送信されてきた、運賃の金額の算出にかかる依頼要求、または運賃の金額の算出指示を通信ユニット12で受信するのを待っている(s41、s42)。精算判定サーバ1は、運賃の金額の算出にかかる依頼要求をいずれかの駅務機器から受信すると、この依頼要求を送信してきた駅務機器に対して応答し(s43)、s41に戻る。このs41〜s43にかかる処理は、上述した例のs1〜s3と同じである。   The settlement determination server 1 may use the communication unit 12 to receive a request request for calculation of the fare amount or a calculation instruction of the fare amount transmitted from the station service equipment (here, the automatic ticket gate 2). I am waiting (s41, s42). When the settlement determination server 1 receives a request request for calculation of the fare amount from any of the station services, it responds to the station service that has sent the request request (s43), and returns to s41. The processing according to s41 to s43 is the same as s1 to s3 in the above-described example.

自動改札機2は、s65で、運賃の算出にかかる依頼要求を複数の精算判定サーバ1に送信すると、この依頼要求を送信したいずれかの精算判定サーバ1からの応答を待っている(s66)。通信部27が、いずれかの精算判定サーバ1から運賃の算出にかかる依頼要求に対する応答を受信すると、実行指示機能部21bが、今回通信部27で応答を受信した精算判定サーバ1を運賃の金額の算出を指示する精算判定サーバ1に決定する(s67)。このs66、s67にかかる処理は、上述した例のs26、s27と同じである。   When the automatic ticket gate 2 transmits a request for calculating the fare to the plurality of settlement determination servers 1 in s65, the automatic ticket gate 2 waits for a response from any of the settlement determination servers 1 that has transmitted the request request (s66) . When the communication unit 27 receives a response to the request for calculating the fare from any of the settlement determination servers 1, the execution instructing function unit 21b receives the settlement determination server 1 that has received the response from the communication unit 27 this time. It is determined to be the settlement determination server 1 instructing calculation of (s67). The processing of s66 and s67 is the same as s26 and s27 in the above-described example.

実行指示機能部21bは、通信部27を制御して、運賃の金額の算出指示を、s67で決定した精算判定サーバ1に送信する(s68)。この運賃の金額の算出指示には、s62で受け付けた乗車券から読み取った、乗車券の識別番号、前回の利用種別(入場、または出場)、前回の利用駅、価値残高等を含む乗車券情報が含まれている。   The execution instruction function unit 21b controls the communication unit 27 to transmit a calculation instruction of the fare amount to the settlement determination server 1 determined in s67 (s68). The instructions for calculating the fare amount include ticket identification information read from the ticket received in s62, ticket type including the last usage type (admission or participation), last used station, value balance, etc. It is included.

精算判定サーバ1は、ネットワークを介してデータ通信可能に接続されているいずれかの駅務機器(ここでは、自動改札機2)から運賃の金額の算出指示を通信ユニット12で受信すると(s42)、第1の運賃算出処理、および第2の運賃算出処理を行う(s44、s45)。このs42、s44、およびs45にかかる処理は、上述した例のs2、s4、およびs5にかかる処理と同じである。   When the settlement unit 12 receives an instruction to calculate the fare amount from one of the station equipment (here, the automatic ticket gate 2) connected via the network so as to be able to perform data communication (s42) , And the first fare calculation process and the second fare calculation process are performed (s44, s45). The processing of s42, s44 and s45 is the same as the processing of s2, s4 and s5 in the above-mentioned example.

精算判定サーバ1は、判定機能11cにおいて、第1の運賃算出処理で算出した運賃の金額と、第2の運賃算出処理で算出した運賃の金額とが一致しているかどうかを判定する(s46)。このs46にかかる処理は、上述した例のs6と同じである。判定機能11cは、第1の運賃算出処理で算出した運賃の金額と、第2の運賃算出処理で算出した運賃の金額とが一致していなければ、運賃の精算が適正に行えないと判定し(s52)、通信ユニット12において運賃の精算要求を送信してきた自動改札機2に、改札通路における利用者の通行禁止を送信する(s53)。このs52にかかる処理は、上述した例のs9にかかる処理と同じである。   The settlement determination server 1 determines whether the price of the fare calculated in the first fare calculation processing matches the amount of the fare calculated in the second fare calculation processing in the determination function 11c (s46) . The process according to s46 is the same as s6 in the above-described example. If the price of the fare calculated in the first fare calculation process and the price of the fare calculated in the second fare calculation process do not match, the determination function 11 c determines that the fare can not be properly settled. (S52), to the automatic ticket gate 2 which has sent the settlement request of the fare in the communication unit 12, transmits a prohibition of passage of the user in the ticket passage (s53). The process according to s52 is the same as the process according to s9 in the example described above.

また、判定機能11cは、第1の運賃算出処理で算出した運賃の金額と、第2の運賃算出処理で算出した運賃の金額とが一致していると、運賃の精算が適正に行えると判定し(s47)、精算可能であるかどうかを判定する(s48)。このs47にかかる処理は、上述した例のs7と同じである。また、s48では、判定機能11cは、s42で自動改札機2から受信した運賃の金額の算出指示に含まれている乗車券情報の1つである価値残高が、第1の運賃算出処理で算出した運賃の金額(第2の運賃算出処理で算出した運賃の金額であってもよい。)以上であるかどうかを判定する。判定機能11cは、s48で乗車券の価値残高が、s42で自動改札機2から受信した運賃の金額の算出指示に含まれている乗車券情報の1つである価値残高が、第1の運賃算出処理で算出した運賃の金額以上であれば精算可能と判定し、反対にs42で自動改札機2から受信した運賃の金額の算出指示に含まれている乗車券情報の1つである価値残高が、第1の運賃算出処理で算出した運賃の金額未満であれば精算不可能と判定する。精算判定サーバ1は、s48で精算不可と判定すると、s53で通信ユニット12において運賃の金額の算出指示を送信してきた自動改札機2に対して改札通路における利用者の通行禁止を送信する。   In addition, when the price of the fare calculated in the first fare calculation process matches the price of the fare calculated in the second fare calculation process, the determination function 11c determines that the fare can be properly settled. Then (s47), it is determined whether it is possible to settle (s48). The process according to s47 is the same as s7 in the above-described example. In s48, the determination function 11c calculates, in the first fare calculation process, the value balance which is one of the ticket information included in the calculation instruction of the fare amount received from the automatic ticket gate 2 in s42. It is determined whether it is equal to or higher than the amount of the fare (may be the amount of the fare calculated in the second fare calculation process). The determination function 11c determines that the value balance which is one of the ticket information included in the calculation instruction of the amount of the fare received from the automatic ticket gate 2 at s42 is the first fare If it is more than the amount of the fare calculated in the calculation process, it is determined that settlement is possible, and conversely, the value balance which is one of the ticket information included in the calculation instruction of the amount of the fare received from the automatic ticket gate 2 in s42. If it is less than the amount of the fare calculated in the first fare calculation process, it is determined that the settlement is impossible. If it is determined in s48 that the settlement is not possible, the settlement determination server 1 transmits the passage prohibition of the user in the ticket gate passage to the automatic ticket gate 2 which has transmitted the calculation instruction of the fare amount in the communication unit 12 in s53.

また、判定機能11cは、s42で自動改札機2から受信した運賃の金額の算出指示に含まれている乗車券情報の1つである価値残高が、第1の運賃算出処理で算出した運賃の金額以上であれば、精算データを生成する(s49)。s49では、出場時刻(現在時刻)、出場駅(s42で受信した運賃の金額の算出指示を送信してきた自動改札機2が設置されている駅)、今回の列車の利用にかかる運賃の金額(第1の運賃算出処理で算出した運賃の金額)、価値残高(s42で自動改札機2から受信した運賃の精算要求に含まれている乗車券情報の1つである価値残高から、今回の列車の利用にかかる運賃の金額を差し引いた価値)等を対応付けた精算データを生成する。   In addition, the determination function 11c determines that the value balance which is one of the ticket information included in the calculation instruction of the amount of the fare received from the automatic ticket gate 2 in s42 is the fare calculated in the first fare calculation processing. If the amount is equal to or more than the amount, the settlement data is generated (s49). In s49, the participation time (the current time), the participating station (the station where the automatic ticket gate 2 that sent the calculation of the amount of the fare received in s42 is installed), the amount of the fare for using this train From the value balance which is one of the ticket information included in the fare adjustment request received from the automatic ticket gate 2 in s42, the value balance of the fare calculated in the first fare calculation process, the current train The settlement data is generated by correlating the value of the fare amount required for the use of the

精算判定サーバ1は、通信ユニット12において運賃の金額の算出指示を送信してきた自動改札機2に対して改札通路における利用者の通行許可を送信する(s50)。s50で送信する通行許可には、s49で生成した精算データが含まれている。精算判定サーバ1は、s49で生成した精算データを、今回の駅務処理にかかるログデータとしてログデータ記憶DB13に記憶し(s51)、s41に戻る。   The settlement determination server 1 transmits the passage permission of the user in the ticket gate passage to the automatic ticket gate 2 that has sent the calculation instruction of the fare amount in the communication unit 12 (s50). The traffic permission transmitted in s50 includes the settlement data generated in s49. The settlement determination server 1 stores the settlement data generated in s49 in the log data storage DB 13 as log data for the present station work process (s51), and returns to s41.

s50とs51の処理は、その順番が逆であってもよいが、自動改札機2おける利用者の改札処理に要する処理時間の増加を抑えるため、上述したようにs50、s51の順番で行うのがよい。   The processes of s50 and s51 may be performed in the order of s50 and s51 as described above in order to suppress an increase in the processing time required for the ticket examination process of the user in the automatic ticket gate 2, although the order may be reversed. Is good.

図7に戻って、自動改札機2は、通信部27において、s68で運賃の金額の算出指示を精算判定サーバ1に送信すると、精算判定サーバ1からの改札通路における利用者の通行許可、または通行禁止の判定結果を通信部27で受信するのを待っている(s69)。自動改札機2は、精算判定サーバ1から判定結果を受信すると、この判定結果が通行許可であるか、通行禁止であるかを判定する(s70)。自動改札機2は、s70で通行禁止であると判定すると、s64で今回乗車券情報を読み取った乗車券を所持している利用者に対して改札通路の通行を許可しないと判定し、s61に戻る。   Referring back to FIG. 7, when the automatic ticket gate 2 transmits an instruction to calculate the amount of the fare to the settlement determination server 1 in the communication unit 27 in s 68, the passage permission of the user in the ticket gate passage from the settlement determination server 1 or It is waiting for the communication unit 27 to receive the judgment result of the no-passage (s69). When the automatic ticket gate 2 receives the determination result from the settlement determination server 1, the automatic ticket gate 2 determines whether the determination result indicates the passage permission or the passage prohibition (s70). If the automatic ticket gate 2 determines that the passage is prohibited in s70, the automatic ticket gate 2 determines that the user holding the ticket whose ticket information has been read this time in s64 is not permitted to pass through the ticket passage. Return.

また、自動改札機2は、s70で通行許可であると判定すると、s66で受信した判定結果に含まれている精算データを出場データとして乗車券に書き込む精算処理を行う(s71)。そして、自動改札機2は、今回乗車券情報を読み取った乗車券を所持している利用者に対して改札通路の通行を許可すると判定し(s72)、s61に戻る。このs71、およびs72にかかる処理は、上述した例のs32、およびs33にかかる処理と同じである。   In addition, when the automatic ticket gate 2 determines that the passage is permitted in s70, the automatic ticket gate 2 performs the settlement process of writing the settlement data included in the determination result received in s66 as the participation data in the ticket (s71). Then, the automatic ticket gate 2 determines that the user holding the ticket whose ticket information has been read this time is permitted to pass through the ticket passage (s72), and returns to s61. The processing of s71 and s72 is the same as the processing of s32 and s33 in the above-described example.

この図6、および図7に示す処理であっても、上記の例と同様の効果を奏する。また、この例では、自動改札機2は、精算判定サーバ1に対して、改札通路の通行を許可した利用者に対する改札処理(出場処理)のログを送信しないので、自動改札機2と精算判定サーバ1との間における通信のトラフィックを一層抑えられる。   Even in the processes shown in FIGS. 6 and 7, the same effects as the above-described example can be obtained. Further, in this example, the automatic ticket gate 2 does not transmit the log of the ticket processing (participation processing) to the user who permitted the passage of the ticket gate passage to the settlement account determination server 1, so the automatic ticket gate 2 and the settlement determination The traffic of communication with the server 1 can be further suppressed.

1(1A、1B、1C)…精算判定サーバ
2…自動改札機
3…精算機
4…統括サーバ
10…制御ユニット
11…運賃算出部
11a…第1の運賃算出機能
11b…第2の運賃算出機能
11c…判定機能
12…通信ユニット
13…ログデータ記憶DB
21…制御部
21a…依頼要求機能部
21b…実行指示機能部
21c…精算処理機能部
22…ICカード読取部
23…磁気券読取部
24…利用者検知部
25…表示部
26…扉開閉部
27…通信部
1 (1A, 1B, 1C) ... Settlement server 2 ... Automatic ticket gate 3 ... Settlement machine 4 ... Central server 10 ... Control unit 11 ... Freight calculation part 11a ... 1st freight calculation function 11b ... 2nd freight calculation function 11c ... determination function 12 ... communication unit 13 ... log data storage DB
21 control unit 21a request request function unit 21b execution instruction function unit 21c settlement processing function unit 22 IC card reading unit 23 magnetic ticket reading unit 24 user detection unit 25 display unit 26 door opening and closing unit 27 ... Communication unit

Claims (7)

ネットワークを介して接続された複数の上位サーバとデータ通信を行う通信部と、
運賃の金額の算出にかかる依頼要求を複数の前記上位サーバに送信する依頼要求部と、
前記依頼要求に対する応答が、前記通信部で最も早く受信された前記上位サーバに対して、運賃の金額の算出を指示する実行指示部と、
前記実行指示部が運賃の金額の算出を指示した前記上位サーバにおいて算出された運賃の金額を用いて運賃の精算を実行する精算処理部と、を備えた駅務機器。
A communication unit that performs data communication with a plurality of upper servers connected via a network;
A request request unit for transmitting a request for calculating the fare amount to a plurality of the upper servers;
An execution instructing unit that instructs the upper server, the response to the request request of which is the earliest received by the communication unit, to calculate the fare amount;
A station management apparatus, comprising: a settlement processing unit that executes settlement of fares using the amount of fare calculated at the upper-level server at which the execution instruction unit instructs calculation of the amount of fares.
前記精算処理部は、前記実行指示部が運賃の金額の算出を指示した前記上位サーバにおいて、運賃の精算が適正に行えないと判定されたとき、運賃の精算を中止する、請求項1に記載の駅務機器。   2. The settlement processing unit according to claim 1, wherein the settlement processing unit stops the settlement of the fare when it is determined that the settlement of the fare can not be properly performed in the upper-level server to which the execution instructing unit instructs calculation of the amount of the fare. Station work equipment. 前記依頼要求部は、前記依頼要求を予め設定されている複数の前記上位サーバに送信する、請求項1、または2に記載の駅務機器。   The station work apparatus according to claim 1, wherein the request request unit transmits the request request to the plurality of upper servers set in advance. 改札通路における利用者の通行を制限する通行制御部を備えた請求項1〜3のいずれかに記載の駅務機器。   The station work apparatus according to any one of claims 1 to 3, further comprising a passage control unit for restricting passage of the user in the ticket gate passage. 請求項1〜4のいずれかに記載の駅務機器と、
ネットワークを介してデータ通信可能に接続された複数の上位サーバと、を有し、
前記上位サーバは、運賃の金額を算出する運賃算出部を備えている、駅務システム。
The station service device according to any one of claims 1 to 4,
A plurality of upper servers communicably connected via a network;
The above-mentioned upper rank server is provided with a fare calculation unit for calculating the amount of fare, in the station service system.
前記上位サーバの前記運賃算出部は、運賃の金額の算出を第1のロジックで処理するとともに、前記第1のロジックとは異なる第2のロジックで処理し、これらの処理結果が一致していなければ、利用者に対して運賃の精算が適正に行えないと判定する、請求項5に記載の駅務システム。   The above-mentioned fare calculation unit of the above-mentioned upper-level server processes the calculation of the amount of fare according to the first logic and processes it with the second logic different from the first logic, and these processing results must match The station service system according to claim 5, wherein it is determined that the fare can not be properly settled for the user. 通信部でネットワークを介して接続された複数の上位サーバとデータ通信を行う駅務機器の制御部に実行させる精算処理方法であって、
運賃の金額の算出にかかる依頼要求を複数の前記上位サーバに送信し、
前記依頼要求に対する応答が、前記通信部で最も早く受信された前記上位サーバに対して、運賃の金額の算出を指示し、
前記実行指示部が運賃の金額の算出を指示した前記上位サーバにおいて算出された運賃の金額を用いて運賃の精算を実行する、精算処理方法。
A settlement processing method to be executed by a control unit of a station management device that performs data communication with a plurality of upper servers connected via a network by a communication unit,
Send a request for calculation of the fare amount to a plurality of the above-mentioned upper servers,
The response to the request request instructs the upper-level server received earlier by the communication unit to calculate the fare amount.
A settlement processing method, wherein settlement of a fare is performed using the amount of fare calculated at the upper-level server, the execution instructing unit instructing calculation of the amount of fare.
JP2017171081A 2017-09-06 2017-09-06 Station service equipment, station service system, and fare adjustment processing method Pending JP2019046352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017171081A JP2019046352A (en) 2017-09-06 2017-09-06 Station service equipment, station service system, and fare adjustment processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017171081A JP2019046352A (en) 2017-09-06 2017-09-06 Station service equipment, station service system, and fare adjustment processing method

Publications (1)

Publication Number Publication Date
JP2019046352A true JP2019046352A (en) 2019-03-22

Family

ID=65814459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017171081A Pending JP2019046352A (en) 2017-09-06 2017-09-06 Station service equipment, station service system, and fare adjustment processing method

Country Status (1)

Country Link
JP (1) JP2019046352A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021033950A (en) * 2019-08-29 2021-03-01 オムロン株式会社 Communication system, server device, communication control method, and program
JP7409170B2 (en) 2020-03-11 2024-01-09 オムロン株式会社 Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1069467A (en) * 1996-08-27 1998-03-10 Toshiba Corp Data access system for server in distributed computer system
JP2003196689A (en) * 2001-12-26 2003-07-11 Takamisawa Cybernetics Co Ltd Wicket system, and wicket machine
JP2007114848A (en) * 2005-10-18 2007-05-10 Nippon Signal Co Ltd:The Railway station apparatus and its control system
JP2017010204A (en) * 2015-06-19 2017-01-12 株式会社東芝 Automatic ticket gate system, processing distribution apparatus, and processing distribution program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1069467A (en) * 1996-08-27 1998-03-10 Toshiba Corp Data access system for server in distributed computer system
JP2003196689A (en) * 2001-12-26 2003-07-11 Takamisawa Cybernetics Co Ltd Wicket system, and wicket machine
JP2007114848A (en) * 2005-10-18 2007-05-10 Nippon Signal Co Ltd:The Railway station apparatus and its control system
JP2017010204A (en) * 2015-06-19 2017-01-12 株式会社東芝 Automatic ticket gate system, processing distribution apparatus, and processing distribution program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021033950A (en) * 2019-08-29 2021-03-01 オムロン株式会社 Communication system, server device, communication control method, and program
JP7287190B2 (en) 2019-08-29 2023-06-06 オムロン株式会社 Communication system, server device, communication control method, and program
JP7409170B2 (en) 2020-03-11 2024-01-09 オムロン株式会社 Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program

Similar Documents

Publication Publication Date Title
US10176443B2 (en) Method and system for dispatching of vehicles in a public transportation network
JP2017522652A (en) Matrix system
US11900734B2 (en) Queuing system
KR102113164B1 (en) Method and apparatus for sharing resource according to agreement between trains
CN106464724B (en) Transport system user inspection
WO2013064463A1 (en) Apparatus and method for managing access to a resource
JP2019046352A (en) Station service equipment, station service system, and fare adjustment processing method
WO2016072247A1 (en) Transportation card processing system and transportation card processing method
US10977457B2 (en) Information processing system and method, and information processing device and method
US20150269572A1 (en) Automatic data transfer
US20200302158A1 (en) Passenger management device, passenger information processing device, passenger management method, and program
JP2019046354A (en) Settlement determination server, station service system, and settlement determination method
JP2012221089A (en) Automatic ticket gate system
JP2019046353A (en) Station service equipment, station service system, and fare adjustment processing method
CN114373230A (en) Self-service ticket checking and checking method for station
JP7287190B2 (en) Communication system, server device, communication control method, and program
US10338577B2 (en) Sensor-based automated transit maintenance system
WO2017159598A1 (en) Ticket-gate management device and automatic ticket-gate system
JP6546843B2 (en) Gate system, information processor
JP7475958B2 (en) Server device, management system and program
JP7297533B2 (en) Station service equipment and control method for station service equipment
US11689962B2 (en) Reducing network resource congestion from distributed sourced items
US12028746B2 (en) Reducing network resource congestion from distributed sourced items
JP5806579B2 (en) Smartphone and automatic ticket gate using the same, or automatic ticket gate system using these
JP2023132779A (en) Ticket machine and ticket gate system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171017

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200302

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210224

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210817