JP2021174055A - Station service device, center server apparatus, and program - Google Patents

Station service device, center server apparatus, and program Download PDF

Info

Publication number
JP2021174055A
JP2021174055A JP2020074756A JP2020074756A JP2021174055A JP 2021174055 A JP2021174055 A JP 2021174055A JP 2020074756 A JP2020074756 A JP 2020074756A JP 2020074756 A JP2020074756 A JP 2020074756A JP 2021174055 A JP2021174055 A JP 2021174055A
Authority
JP
Japan
Prior art keywords
ticket gate
center server
server device
life
unit
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.)
Granted
Application number
JP2020074756A
Other languages
Japanese (ja)
Other versions
JP7419150B2 (en
Inventor
和久 山崎
Kazuhisa 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.)
Toshiba Corp
Toshiba Infrastructure Systems and Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Infrastructure Systems and Solutions 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, Toshiba Infrastructure Systems and Solutions Corp filed Critical Toshiba Corp
Priority to JP2020074756A priority Critical patent/JP7419150B2/en
Publication of JP2021174055A publication Critical patent/JP2021174055A/en
Application granted granted Critical
Publication of JP7419150B2 publication Critical patent/JP7419150B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 a station service device, a center server apparatus, and a program that enable earlier detection of failures, while suppressing an amount of communication by monitoring life-and-death at an appropriate frequency.SOLUTION: A station service device of an embodiment includes a center unit, a life-and-death monitor unit, and a connection control unit. The center unit detects an object. The life-and-death monitor unit transmits a life-and-death monitor message to the center server apparatus when detecting the object by the center unit and after a predetermined interval time elapses since the last communication with the center server apparatus is success. The connection control unit controls to switch a connection destination of the communication to a center server apparatus of a standby system when not receiving a response corresponding to the life-and-death message in a predetermined time.SELECTED DRAWING: Figure 1

Description

本発明の実施形態は、駅務機器、センターサーバー装置、およびプログラムに関する。 Embodiments of the present invention relate to station affairs equipment, center server equipment, and programs.

クラウド型駅務システム(典型的には、クラウド型改札システム)は、従来改札機等で実施していた処理の少なくとも一部を、センターサーバー装置側で実行するシステムである。センターサーバー装置側で実行される処理は、例えば、乗車券類の判定処理(例えば、IC型乗車券の場合には、IC型乗車券が持つ情報を用いた処理)である。また、センターサーバー装置側で実行される他の処理は、例えば、明細データ(IC型乗車券が持つ金額情報から運賃等の額を差し引いて決済するためのデータ)の生成の処理である。 A cloud-type station affairs system (typically, a cloud-type ticket gate system) is a system in which at least a part of the processing conventionally performed by a ticket gate or the like is executed on the center server device side. The process executed on the center server device side is, for example, a determination process of tickets (for example, in the case of an IC type ticket, a process using information possessed by the IC type ticket). Another process executed on the center server device side is, for example, a process of generating detailed data (data for deducting an amount such as a fare from the amount information of the IC type ticket).

改札機内あるいは駅内で処理が完結するシステムとは異なり、クラウド型駅務システムでは、センターサーバー装置と改札機が通信接続できていないと、何も処理ができなくなってしまう。クラウド型駅務システムの可用性を維持するためには、改札機とセンターサーバー装置との間で死活監視を行う必要がある。 Unlike a system in which processing is completed inside a ticket gate or in a station, in a cloud-type station affairs system, if the center server device and the ticket gate are not connected by communication, nothing can be processed. In order to maintain the availability of the cloud-type station service system, it is necessary to monitor life and death between the ticket gate and the center server device.

一方で、クラウド型駅務システムでは、接続する駅務機器の数が多い場合に、死活監視に要する通信パケット通信量も比例して多くなってしまう可能性があった。また、センターサーバー装置の処理負荷が大きくなってしまう場合もある。また、通信ネットワークの容量等に依っては、通信遅延などの問題が生じる可能性もあった。 On the other hand, in the cloud-type station affairs system, when the number of connected station affairs devices is large, the communication packet communication amount required for alive monitoring may increase proportionally. In addition, the processing load of the center server device may increase. Further, depending on the capacity of the communication network and the like, there is a possibility that problems such as communication delay may occur.

パケット通信量を減らすために、例えば、死活監視のメッセージをやりとりする周期を長くすると、センターサーバー装置の故障や通信異常などの検知が遅れてしまう。一方で、故障や通信異常などの検知を早めるために死活監視のメッセージの頻度を高くすると、通信負荷が高くなってしまうジレンマがある。 If, for example, the cycle for exchanging alive monitoring messages is lengthened in order to reduce the amount of packet communication, the detection of a failure of the center server device or a communication abnormality will be delayed. On the other hand, there is a dilemma that if the frequency of alive monitoring messages is increased in order to accelerate the detection of failures and communication abnormalities, the communication load will increase.

特開2018−032162号公報Japanese Unexamined Patent Publication No. 2018-032162

本発明が解決しようとする課題は、適切な頻度で死活監視を行うことにより通信量を抑制しながら障害等の早期検知を可能とする駅務機器、センターサーバー装置、およびプログラムを提供することである。 The problem to be solved by the present invention is to provide station affairs equipment, a center server device, and a program capable of early detection of a failure or the like while suppressing the amount of communication by performing life-and-death monitoring at an appropriate frequency. be.

実施形態の駅務機器は、センサー部と、死活監視部と、接続制御部とを持つ。センサー部は、物体を検知する。死活監視部は、前記センサー部が物体を検知したときであって、且つセンターサーバー装置との間の通信が最後に成功してから所定のインターバル時間が経過した後であるときに、死活監視メッセージを前記センターサーバー装置に送信する。接続制御部は、前記死活監視メッセージに対応する応答が所定時間内に受信されない場合に、通信の接続先を待機系のセンターサーバー装置に切り替えるよう制御する。 The station service device of the embodiment has a sensor unit, a life-and-death monitoring unit, and a connection control unit. The sensor unit detects an object. The life-and-death monitoring unit is a life-and-death monitoring message when the sensor unit detects an object and after a predetermined interval time has elapsed since the last successful communication with the center server device. Is transmitted to the center server device. The connection control unit controls to switch the communication connection destination to the standby center server device when the response corresponding to the alive monitoring message is not received within a predetermined time.

第1の実施形態の改札機の概略機能構成を示すブロック図。The block diagram which shows the schematic functional structure of the ticket gate of 1st Embodiment. 第1の実施形態の駅務システム全体の構成例を示すブロック図。The block diagram which shows the configuration example of the whole station affairs system of 1st Embodiment. 第1の実施形態の改札機が設置された状態を上方から見た図(平面図)。A view (plan view) of a state in which the ticket gate of the first embodiment is installed, as viewed from above. 第1の実施形態の改札機の主機を側面(通路側)から見た図(側面図)。A view (side view) of the main engine of the ticket gate of the first embodiment as viewed from the side (passage side). 第1の実施形態の改札機の主機を斜め正面上方から見た図(斜視図)。The main engine of the ticket gate of 1st Embodiment is seen from the diagonally front upper side (perspective view). 第1の実施形態の改札機とセンターサーバー装置との間での通信シーケンスの例を示すシーケンス図。The sequence diagram which shows the example of the communication sequence between the ticket gate of 1st Embodiment and a center server apparatus. 第1の実施形態の改札機とセンターサーバー装置との間での通信シーケンスの別の例を示すシーケンス図。The sequence diagram which shows another example of the communication sequence between the ticket gate of 1st Embodiment and a center server apparatus. 第1の実施形態の改札機が持つ機能の処理手順を示すフローチャート。The flowchart which shows the processing procedure of the function which the ticket gate of 1st Embodiment has. 第1の実施形態の改札機が持つ死活監視処理機能の処理手順を示すフローチャート。The flowchart which shows the processing procedure of the life-and-death monitoring processing function which the ticket gate of 1st Embodiment has. 第1の実施形態の改札機が持つ改札処理機能の処理手順を示すフローチャート。The flowchart which shows the processing procedure of the ticket gate processing function which the ticket gate of 1st Embodiment has. 第1の実施形態の改札機の変形例の外観を示す概略図。The schematic diagram which shows the appearance of the modification of the ticket gate of 1st Embodiment. 第2の実施形態の駅務機器の概略機能構成を示すブロック図。The block diagram which shows the schematic functional composition of the station affairs equipment of 2nd Embodiment. 第2の実施形態の駅務システム全体の構成例を示すブロック図。The block diagram which shows the configuration example of the whole station affairs system of 2nd Embodiment.

以下、実施形態の駅務機器、センターサーバー装置、およびプログラムを、図面を参照して説明する。 Hereinafter, the station service equipment, the center server device, and the program of the embodiment will be described with reference to the drawings.

(第1の実施形態)
図1は、本実施形態の改札機1の概略機能構成を示す。図2は、本実施形態の駅務システム700の概略構成を示す。
(First Embodiment)
FIG. 1 shows a schematic functional configuration of the ticket gate 1 of the present embodiment. FIG. 2 shows a schematic configuration of the station affairs system 700 of the present embodiment.

本実施形態による駅務システム700は、改札機1およびセンターサーバー装置300を含む。改札機1は、クラウド型の駅務機器の一種である。駅務システム700における改札処理は、改札機1内(あるいは駅内のシステム)だけでは完結せず、センターサーバー装置300側の処理を伴う。具体的には、改札機1における改札処理のための判定等の主要部分は、センターサーバー装置300側で行われる。改札機1はいわゆるシンクライアント(thin client)である。改札機1は、乗車券類の情報(「改札情報」と呼ぶ)をセンターサーバー装置300側に送信し、センターサーバー装置300側で乗車券類に関する判定処理を含む業務処理を行う。この業務処理の結果の情報(「改札応答」と呼ぶ)を、センターサーバー装置300は、改札機1に返す。改札機1は、センターサーバー装置300から受信した改札応答に基づく処理を行う。改札機1が改札応答に基づいて行う処理の代表は、改札のゲート(扉部)の開閉制御等である。 The station affairs system 700 according to the present embodiment includes a ticket gate 1 and a center server device 300. The ticket gate 1 is a kind of cloud-type station affairs equipment. The ticket gate processing in the station affairs system 700 is not completed only in the ticket gate 1 (or the system in the station), and involves processing on the center server device 300 side. Specifically, the main part such as determination for ticket gate processing in the ticket gate 1 is performed on the center server device 300 side. The ticket gate 1 is a so-called thin client. The ticket gate 1 transmits information on tickets (referred to as "ticket gate information") to the center server device 300, and the center server device 300 performs business processing including determination processing on tickets. The center server device 300 returns the information as a result of this business process (referred to as "ticket gate response") to the ticket gate 1. The ticket gate 1 performs processing based on the ticket gate response received from the center server device 300. A typical process performed by the ticket gate 1 based on the ticket gate response is control of opening / closing the gate (door portion) of the ticket gate.

改札機1は、通常時において、センターサーバー装置300と間の通信接続が確立している前提で利用者の到来を待機する。改札機1は、センターサーバー装置300との接続が切れた場合、あるいはセンターサーバー装置が障害等の理由で稼働していない場合等には、別のセンターサーバー装置300への接続に切り替える機能を持つ。 The ticket gate 1 normally waits for the arrival of a user on the premise that a communication connection with the center server device 300 has been established. The ticket gate 1 has a function of switching to a connection to another center server device 300 when the connection with the center server device 300 is cut off or when the center server device is not operating due to a failure or the like. ..

利用者が改札機1に乗車券類をかざしてから、改札機1が改札処理を終えるまでの時間は数秒以内と非常に短い。よって、改札機1は、障害等の場合にはそれを早く検知し、センターサーバー装置300の切り替えを、迅速に行うことが望ましい。そのため、改札機1は、センターサーバー装置300との間で死活監視の処理を行う機能を持つ。死活監視の処理は、「ヘルスチェック」等とも呼ばれる。死活監視の処理は、改札機とセンターサーバー装置と通信ネットワークとが正常に稼働していて、所定の処理を所定の時間内に実行できる状況であることを確認するための処理である。死活監視の処理は、まず改札機1がセンターサーバー装置300に死活監視メッセージを送り、次に改札機1がセンターサーバー装置300からの死活応答メッセージを受信する、という手順で行われる。「死活監視メッセージ」や「死活応答メッセージ」は他の呼び方で呼ばれることもある。「死活監視メッセージ」は、一例として、「死活監視コマンド」とも呼ばれる。 The time from when the user holds the ticket over the ticket gate 1 until the ticket gate 1 completes the ticket gate processing is very short, within a few seconds. Therefore, it is desirable that the ticket gate 1 detects a failure as soon as possible and quickly switches the center server device 300. Therefore, the ticket gate 1 has a function of performing a life-and-death monitoring process with the center server device 300. The process of life and death monitoring is also called "health check" or the like. The alive monitoring process is a process for confirming that the ticket gate, the center server device, and the communication network are operating normally and that the predetermined process can be executed within a predetermined time. The life-and-death monitoring process is performed by first sending a life-and-death monitoring message to the center server device 300, and then the ticket gate 1 receiving a life-and-death response message from the center server device 300. "Life-and-death monitoring message" and "life-and-life response message" may be called by other names. The "life-and-death monitoring message" is also called a "life-and-life monitoring command" as an example.

センターサーバー装置300は、現用系の装置と、待機系の装置とを含む。待機系のセンターサーバー装置300は、現用系のセンターサーバー装置300が故障したり通信が切断されたりした場合に、改札機1が切り替えて接続する対象である。現用系のセンターサーバー装置300と待機系のセンターサーバー装置300は、必ずしも一対一に対応していなくてもよい。また、あるセンターサーバー装置300が、現用系の装置として稼働しながら、他のセンターサーバー装置300の待機系として機能してもよい。 The center server device 300 includes a working device and a standby device. The standby system center server device 300 is a target to be switched and connected by the ticket gate 1 when the active system center server device 300 breaks down or communication is disconnected. The active center server device 300 and the standby center server device 300 do not necessarily have a one-to-one correspondence. Further, a certain center server device 300 may function as a standby system of another center server device 300 while operating as a working device.

駅務システム700の課題の一つは、故障時等の改札処理の遅延を小さくするために、故障等を早く検知することである。駅務システム700の別の課題は、駅務システム700全体における通信量を抑制することである。通信量が増えてしまうと、通信ネットワークのコストが高くなってしまう。故障等の早期検知と、ネットワークにおける通信量の抑制とは、相互に背反する要求である。故障等を早期に検知するための方法の一つは死活監視を行う頻度を高めることであるが、死活監視の頻度を高めることは通信量の増加につながってしまう。本実施形態の駅務システム700は、このジレンマを解決しようとするものである。 One of the problems of the station affairs system 700 is to detect a failure or the like early in order to reduce the delay of the ticket gate processing in the event of a failure or the like. Another issue of the station affairs system 700 is to reduce the amount of communication in the entire station affairs system 700. If the amount of communication increases, the cost of the communication network will increase. Early detection of failures and the suppression of communication volume in networks are mutually contradictory requirements. One of the methods for detecting a failure or the like at an early stage is to increase the frequency of life-and-death monitoring, but increasing the frequency of life-and-death monitoring leads to an increase in communication volume. The station affairs system 700 of the present embodiment attempts to solve this dilemma.

駅務システム700の基本的な動作は次の通りである。
1)クラウド型の改札機1は、利用者(人)等の物体の接近あるいは存在を検知する。改札機1が利用者等を検知した場合に、改札機1は、死活監視メッセージをセンターサーバー装置300に通知する。
2)死活監視メッセージを通知した後、連続して利用者(人)の接近ないしは存在を検知した場合に、改札機1はさらなる死活監視メッセージを送出することは行わない。前記死活監視メッセージの送信後に所定時間が経過した後に、即ち、インターバルタイマー(後述する「タイマーT1」)の満了後に、別の利用者を検知した場合には、改札機1は、再び、死活監視メッセージをセンターサーバー装置300に通知する。
3)センターサーバー装置300から死活応答メッセージが返ってきた場合には、改札機1は、そのまま、利用者が乗車券類等をかざすのを待つ。
4)センターサーバー装置300から死活応答メッセージが返ってこなかった場合には、改札機1は、接続するセンターサーバー装置300を切り替える。即ち、改札機1は、待機系のセンターサーバー装置300との接続を開始する。
5)利用者が、ICカード型の乗車券類をかざしたり、光学的な2次元コードをかざしたり、磁気コード情報を持つ乗車券類を投入したりした場合、改札機1は、接続中のセンターサーバー装置300と通信を行い、改札処理(旅客処理)を行う。改札処理は、乗車券類に関する判定処理や、ゲート(扉部)の開閉制御の処理を含む。
The basic operation of the station affairs system 700 is as follows.
1) The cloud-type ticket gate 1 detects the approach or existence of an object such as a user (person). When the ticket gate 1 detects a user or the like, the ticket gate 1 notifies the center server device 300 of a life-and-death monitoring message.
2) After notifying the life-and-death monitoring message, the ticket gate 1 does not send a further life-and-death monitoring message when the approach or existence of the user (person) is continuously detected. If another user is detected after a predetermined time has elapsed after the transmission of the life-and-death monitoring message, that is, after the expiration of the interval timer (“timer T1” described later), the ticket gate 1 again monitors the life-and-life monitoring. Notify the center server device 300 of the message.
3) When the life-and-death response message is returned from the center server device 300, the ticket gate 1 waits for the user to hold the ticket or the like as it is.
4) If the life-and-death response message is not returned from the center server device 300, the ticket gate 1 switches the center server device 300 to be connected. That is, the ticket gate 1 starts the connection with the standby system center server device 300.
5) When the user holds an IC card type ticket, holds an optical two-dimensional code, or inserts a ticket with magnetic code information, the ticket gate 1 is connected. Communicates with the center server device 300 to perform ticket gate processing (passenger processing). The ticket gate process includes a determination process for tickets and a process for controlling the opening and closing of a gate (door).

本実施形態では、改札機1は、死活監視の処理を行うため、駅務システム700の構成要素の故障や不具合等を早く検出することができる。このため、改札機1は、接続先のセンターサーバー装置300への切り替えを早く行うことができる。これによって、故障等の原因による処理(改札処理等)の遅延量は、小さくなる。また、本実施形態では、改札機1が利用者等を検知した場合にのみ死活監視の処理を行うため、ネットワークの通信量を抑制することができる。また、改札機1が所定時間内に連続して利用者等を検知しても、繰り返して何度も死活監視の処理を行うことがない。このため、ネットワークの通信量を抑制することができる。また、ネットワークの通信量を抑制するだけでなく、センターサーバー装置の負荷も軽減する。 In the present embodiment, since the ticket gate 1 performs the life-and-death monitoring process, it is possible to quickly detect a failure or malfunction of a component of the station affairs system 700. Therefore, the ticket gate 1 can quickly switch to the connection destination center server device 300. As a result, the amount of delay in processing (ticket gate processing, etc.) due to a cause such as a failure is reduced. Further, in the present embodiment, since the life-and-death monitoring process is performed only when the ticket gate 1 detects a user or the like, the amount of communication on the network can be suppressed. Further, even if the ticket gate 1 continuously detects a user or the like within a predetermined time, the life-and-death monitoring process is not repeated many times. Therefore, the amount of communication on the network can be suppressed. In addition to suppressing the amount of network communication, the load on the center server device is also reduced.

図1は、本実施形態による改札機(駅務機器)の概略機能構成を示すブロック図である。改札機1は、鉄道等の交通機関において、乗車券類の情報を読み取ってその妥当性を判定する処理を行ったり、その判定結果に応じて入出場用のゲートを開閉する制御を行ったり、乗車券類の使用に伴う処理(運賃等の課金)を行ったりするための装置である。前述の通り、改札機1は、センターサーバー装置300と協同で動作する。 FIG. 1 is a block diagram showing a schematic functional configuration of a ticket gate (station affairs equipment) according to the present embodiment. The ticket gate 1 performs a process of reading information on tickets and determining its validity in transportation such as a railroad, and controls opening and closing of an entrance / exit gate according to the determination result. It is a device for processing (charging fare, etc.) associated with the use of tickets. As described above, the ticket gate 1 operates in cooperation with the center server device 300.

図示するように、改札機1は、制御部20と、センサー部61と、情報取得部62とを備える。また、制御部20は、死活監視部111と、改札処理部112(業務処理部)と、通信部113と、接続制御部114とを備える。これらの各部の機能の少なくとも一部は、例えば、汎用のコンピューターとプログラムとを用いて実現可能である。また、各部の機能の少なくとも一部を、専用の電子回路等によって実現するようにしてもよい。また、各部は、必要に応じて、データを記憶する機能(例えば、半導体メモリーや、磁気ディスク装置等)を内部に備えていてもよい。各部の機能は、次に説明する通りである。 As shown in the figure, the ticket gate 1 includes a control unit 20, a sensor unit 61, and an information acquisition unit 62. Further, the control unit 20 includes a life-and-death monitoring unit 111, a ticket gate processing unit 112 (business processing unit), a communication unit 113, and a connection control unit 114. At least some of the functions of each of these parts can be realized using, for example, a general-purpose computer and a program. Further, at least a part of the functions of each part may be realized by a dedicated electronic circuit or the like. Further, each unit may be internally provided with a function of storing data (for example, a semiconductor memory, a magnetic disk device, or the like), if necessary. The functions of each part are as described below.

制御部20は、改札機1の動作を制御する。制御部20が持つ死活監視部111、改札処理部112、通信部113、接続制御部114の各部の機能については後述する。 The control unit 20 controls the operation of the ticket gate 1. The functions of the life-and-death monitoring unit 111, the ticket gate processing unit 112, the communication unit 113, and the connection control unit 114 of the control unit 20 will be described later.

制御部20は、時間を計時するタイマーを持っている。制御部20は、複数の目的で使用するための複数のタイマーを持ってよい。制御部20が持つタイマーの一つは、タイマーT1である。このタイマーT1は、「死活監視インターバルタイマー」とも呼ばれる。つまり、このタイマーT1は、リセットされた後に、死活監視が必要となる所定のインターバル時間が経過したか否かを管理するために用いられるタイマーである。タイマーT1は、例えば、リセット信号により「00:00:00」(時刻ゼロ、0時0分0秒)に設定される。また、タイマーT1は、時間の経過とともに値を増やしていく(ただし、逆に、値を減らしていくものであってもよい)。改札機1内の各機能部は、所定の信号によりタイマーT1をリセットすることが可能である。具体的には、改札機1とセンターサーバー装置300との間での通信のやり取りが成功したときに、改札機1内の機能部は、タイマーT1をリセットする。その具体的一例は、センターサーバー装置300からの何らかの応答メッセージ(死活応答メッセージや、改札応答メッセージなど)を改札機1が受信したときに、改札機1内の機能部は、タイマーT1をリセットする。また、改札機1内の各機能部は、タイマーT1の値に関する情報を得ることができる。具体的には、各機能部は、タイマーT1のリセット後に、所定のインターバル時間が経過済み(タイマーの満了済)であるか否かの情報を得ることができる。上記のインターバル時間の長さは、予め設定され得るものである。インターバル時間は、例えば、数十秒以上且つ数分以下程度の適切な長さに設定される。 The control unit 20 has a timer that keeps time. The control unit 20 may have a plurality of timers for use for a plurality of purposes. One of the timers of the control unit 20 is the timer T1. This timer T1 is also called a "life-and-death monitoring interval timer". That is, the timer T1 is a timer used to manage whether or not a predetermined interval time that requires alive monitoring has elapsed after being reset. The timer T1 is set to "00:00:00" (time zero, 0:00:00) by, for example, a reset signal. Further, the value of the timer T1 is increased with the passage of time (however, conversely, the value may be decreased). Each functional unit in the ticket gate 1 can reset the timer T1 by a predetermined signal. Specifically, when the communication between the ticket gate 1 and the center server device 300 is successful, the functional unit in the ticket gate 1 resets the timer T1. As a specific example, when the ticket gate 1 receives some response message (life-and-death response message, ticket gate response message, etc.) from the center server device 300, the functional unit in the ticket gate 1 resets the timer T1. .. Further, each functional unit in the ticket gate 1 can obtain information on the value of the timer T1. Specifically, each functional unit can obtain information on whether or not a predetermined interval time has elapsed (timer has expired) after the timer T1 is reset. The length of the above interval time can be preset. The interval time is set to an appropriate length of, for example, several tens of seconds or more and several minutes or less.

センサー部61は、物体を検知するものである。具体的には、センサー部61は、光学的センサーを持つことにより、物体の改札機1への接近や、物体が改札機1の近傍の所定の箇所に存在することを検知する。ここで、センサー部61が検知する対象である物体とは、利用者(人)の身体や、それに付随する物である。センサー部61は、透過型光電センサーと反射型光電センサーとの少なくともいずれかを持つ。センサー部61が、透過型光電センサーと反射型光電センサーとの両方を持つように構成されてもよい。透過型光電センサーや反射型光電センサーが設けられる場所については、後で、図4,図5を参照しながら説明する。例えば、改札機の主機(10)と従機(30)とが略平行に設置される場合、透過型光電センサーや反射型光電センサーは、主機と従機との間の領域(利用者が通る通路である)に侵入する利用者を検知することができる。また、その場合、上記通路の通行方向は、改札機1の長手方向である。改札機1の正面、即ち、改札機1の長手方向の端部に設けられた反射型光電センサーは、略前記長手方向に改札機1に接近する物体(利用者等)を検知する。 The sensor unit 61 detects an object. Specifically, the sensor unit 61 detects that an object approaches the ticket gate 1 and that the object exists at a predetermined location in the vicinity of the ticket gate 1 by having an optical sensor. Here, the object to be detected by the sensor unit 61 is the body of the user (person) or an object associated therewith. The sensor unit 61 has at least one of a transmissive photoelectric sensor and a reflective photoelectric sensor. The sensor unit 61 may be configured to have both a transmissive photoelectric sensor and a reflective photoelectric sensor. The location where the transmissive photoelectric sensor and the reflective photoelectric sensor are provided will be described later with reference to FIGS. 4 and 5. For example, when the main engine (10) and the slave unit (30) of the ticket gate are installed substantially in parallel, the transmission type photoelectric sensor and the reflection type photoelectric sensor are in the area between the main engine and the slave unit (the user passes through). It is possible to detect a user who invades (which is a passage). In that case, the passage direction of the passage is the longitudinal direction of the ticket gate 1. The reflective photoelectric sensor provided in front of the ticket gate 1, that is, at the end of the ticket gate 1 in the longitudinal direction detects an object (user or the like) approaching the ticket gate 1 in the longitudinal direction.

なお、センサー部61は、後述する透過型光電センサーStと、反射型光電センサーSrと、反射型光電センサーSr2とを含む。透過型光電センサーStと、反射型光電センサーSrと、反射型光電センサーSr2とのそれぞれは、物体(利用者等)を検知すると、センサー信号を制御部20に渡す。 The sensor unit 61 includes a transmission type photoelectric sensor St, a reflection type photoelectric sensor Sr, and a reflection type photoelectric sensor Sr2, which will be described later. When each of the transmissive photoelectric sensor St, the reflective photoelectric sensor Sr, and the reflective photoelectric sensor Sr2 detects an object (user or the like), the sensor signal is passed to the control unit 20.

情報取得部62は、乗車券類等の媒体から情報を取得する機能を持つ。具体的には、情報取得部62は、乗車券類等の媒体に記録された情報を、磁気読み取り、電磁波による読み取り、あるいは光学的読み取りといった各種の読み取り手段の機能を適切に用いることによって、取得する。つまり、例えば、情報取得部62は、磁気乗車券等から磁気コーディングされた情報を読み取る。あるいは、情報取得部62は、ICカード型の乗車券等から電磁波によって情報を読み取る。あるいは、情報取得部62は、バーコードあるいは2次元コードが印刷された乗車券類から、光学読み取り手段を用いて、そのコード情報を読み取る。なお、2次元コードとは、例えば白と黒の2値から成る所定のパターンを2次元の紙面上等に配置したコード情報である。2次元コードの一例は、QRコード(登録商標)である。情報取得部62は、取得した情報を、改札処理部112に渡す。
なお、情報取得部62は、後述する読取部11および読取部31を含む。
The information acquisition unit 62 has a function of acquiring information from a medium such as a ticket. Specifically, the information acquisition unit 62 acquires information recorded on a medium such as a ticket by appropriately using the functions of various reading means such as magnetic reading, electromagnetic wave reading, or optical reading. do. That is, for example, the information acquisition unit 62 reads the magnetically coded information from the magnetic ticket or the like. Alternatively, the information acquisition unit 62 reads information from an IC card type ticket or the like by electromagnetic waves. Alternatively, the information acquisition unit 62 reads the code information from the tickets on which the barcode or the two-dimensional code is printed by using the optical reading means. The two-dimensional code is code information in which a predetermined pattern composed of, for example, two values of white and black is arranged on a two-dimensional paper surface or the like. An example of a two-dimensional code is a QR code (registered trademark). The information acquisition unit 62 passes the acquired information to the ticket gate processing unit 112.
The information acquisition unit 62 includes a reading unit 11 and a reading unit 31, which will be described later.

死活監視部111は、死活監視処理を行う。具体的には、死活監視部111は、死活監視メッセージをセンターサーバー装置300に対して送信し、その死活監視メッセージに対応する応答の有無を判定する。本実施形態の死活監視部111は、センサー部61が物体を検知したときであって、且つセンターサーバー装置300との間の通信が成功してから所定のインターバル時間が経過した後であるときに、死活監視メッセージをセンターサーバー装置300に送信する。所定のインターバル時間が経過した後であるか否かを知るために、死活監視部111は、前述のタイマーT1を参照する。 The life-and-death monitoring unit 111 performs the life-and-death monitoring process. Specifically, the alive monitoring unit 111 transmits a alive monitoring message to the center server device 300, and determines whether or not there is a response corresponding to the alive monitoring message. The life-and-death monitoring unit 111 of the present embodiment is when the sensor unit 61 detects an object and after a predetermined interval time has elapsed since the communication with the center server device 300 was successful. , Send a life-and-death monitoring message to the center server device 300. In order to know whether or not the predetermined interval time has elapsed, the life-and-death monitoring unit 111 refers to the timer T1 described above.

改札処理部112は、乗車券類の改札処理を行う。改札処理部112は、駅の業務の処理を行うための業務処理部の一種である。改札処理部112は、情報取得部62が取得した乗車券類の情報を、改札情報として、センターサーバー装置300に送信する。また、改札処理部112は、上記の改札情報に対応する応答情報(「改札応答」と呼ぶ場合がある)をセンターサーバー装置300から受信する。上記の改札情報は、乗車券類に関する可否情報を含む。改札処理部112は、この可否情報に基づいて、当該乗車券類を保持する利用者の改札機1の通過を許可したり、あるいは禁止したりする。具体的には、改札処理部112は、可否情報に応じた表示出力を行う。また、改札処理部112は、可否情報に応じて、改札機1のゲート(扉部)の開閉を制御する。 The ticket gate processing unit 112 performs ticket gate processing for tickets. The ticket gate processing unit 112 is a kind of business processing unit for processing the business of the station. The ticket gate processing unit 112 transmits the ticket information acquired by the information acquisition unit 62 to the center server device 300 as ticket gate information. Further, the ticket gate processing unit 112 receives the response information (sometimes referred to as “ticket gate response”) corresponding to the above ticket gate information from the center server device 300. The above ticket gate information includes availability information regarding tickets. Based on this availability information, the ticket gate processing unit 112 permits or prohibits the user holding the tickets from passing through the ticket gate 1. Specifically, the ticket gate processing unit 112 outputs a display according to the availability information. Further, the ticket gate processing unit 112 controls the opening and closing of the gate (door unit) of the ticket gate 1 according to the availability information.

改札処理部112は、送信した改札情報に対応する改札応答がない(受信されない)場合には、エラー処理を行う。このエラー処理は、画面へのメッセージの表示を含んでよい。また、このエラー処理の一環として、改札処理部112は、センターサーバー装置300の接続の切り替え(例えば、待機系に切り替え)を、接続制御部114に依頼してよい。 The ticket gate processing unit 112 performs error processing when there is no ticket gate response (not received) corresponding to the transmitted ticket gate information. This error handling may include displaying a message on the screen. Further, as a part of this error processing, the ticket gate processing unit 112 may request the connection control unit 114 to switch the connection of the center server device 300 (for example, switch to the standby system).

通信部113は、外部の装置との通信を行う。より具体的には、通信部113は、死活監視部111や改札処理部112(業務処理部)からの依頼に応じて、データを送信したり受信したりする。通信部113は、依頼されたデータの送受信処理が失敗した場合(受信待ちのタイムアウトの場合を含む)には、 The communication unit 113 communicates with an external device. More specifically, the communication unit 113 transmits and receives data in response to a request from the life-and-death monitoring unit 111 and the ticket gate processing unit 112 (business processing unit). When the communication unit 113 fails in the transmission / reception processing of the requested data (including the case of a timeout waiting for reception), the communication unit 113

接続制御部114は、改札機1と外部の装置との間の通信の接続を制御する。具体的には、接続制御部114は、改札機1と、センターサーバー装置300との間の通信の接続を制御する。接続制御部114は、複数のセンターサーバー装置300との間での接続の切り替えの制御も行う。 The connection control unit 114 controls the connection of communication between the ticket gate 1 and the external device. Specifically, the connection control unit 114 controls the connection of communication between the ticket gate 1 and the center server device 300. The connection control unit 114 also controls switching of connections between the plurality of center server devices 300.

現用系から待機系へのセンターサーバー装置300の切り替えの手順は、例えば、次の通りである。即ち、前述の死活監視部111がセンターサーバー装置に対して死活監視メッセージを送信する。死活監視部111は、死活監視メッセージへの応答として死活応答メッセージを待つ。例えば予め定められた所定時間内に死活監視部111が死活応答メッセージを受信しない場合、死活監視部111は、接続制御部114に、センターサーバー装置の切り替えを要求する。これに応じて、接続制御部114は、待機系のセンターサーバー装置300への切り替えを制御する。つまり、接続制御部114は、死活監視メッセージに対応する応答が所定時間内に受信されない場合に、通信の接続先を待機系のセンターサーバー装置に切り替えるよう制御するものである。 The procedure for switching the center server device 300 from the active system to the standby system is as follows, for example. That is, the above-mentioned life-and-death monitoring unit 111 transmits a life-and-death monitoring message to the center server device. The life-and-death monitoring unit 111 waits for the life-and-death response message as a response to the life-and-death monitoring message. For example, if the alive monitoring unit 111 does not receive the alive response message within a predetermined time, the alive monitoring unit 111 requests the connection control unit 114 to switch the center server device. In response to this, the connection control unit 114 controls switching to the standby system center server device 300. That is, the connection control unit 114 controls to switch the communication connection destination to the standby center server device when the response corresponding to the alive monitoring message is not received within a predetermined time.

また、あるセンターサーバー装置300との間の接続を確立できないときに、接続制御部114は、適宜、他のセンターサーバー装置300との間の接続を試みてもよい。また、あるセンターサーバー装置300との間の通信接続におけるエラー(接続済みであった通信の切断事象等)を検知した場合にも、接続制御部114は、適宜、他のセンターサーバー装置300との間の接続を試みてもよい。 Further, when the connection with a certain center server device 300 cannot be established, the connection control unit 114 may attempt to connect with another center server device 300 as appropriate. Further, even when an error in a communication connection with a certain center server device 300 (such as a disconnection event of a connected communication) is detected, the connection control unit 114 appropriately connects with another center server device 300. You may try to connect between them.

図2は、改札機やセンターサーバー装置等を含む駅務システム全体の構成例を示すブロック図である。図示するように、駅務システム700は、改札機1と、センターサーバー装置300と、ネットワーク91と、中継装置92とを含むように構成される。なお、駅務システム700が複数の改札機1を含んでもよい。また、駅務システム700が複数のセンターサーバー装置300を含んでもよい。改札機1は、ネットワーク91を介して、センターサーバー装置300との間で通信を行うことができる。複数の駅等に設置される複数の改札機1が、ネットワーク91を介してセンターサーバー装置300と接続されてもよい。ネットワーク91では、例えばインターネットプロトコル(IP)による通信が行われる。ただし、他の任意のプロトコルを用いて通信を行うようにしてもよい。 FIG. 2 is a block diagram showing a configuration example of the entire station affairs system including a ticket gate, a center server device, and the like. As shown in the figure, the station affairs system 700 is configured to include a ticket gate 1, a center server device 300, a network 91, and a relay device 92. The station affairs system 700 may include a plurality of ticket gates 1. Further, the station affairs system 700 may include a plurality of center server devices 300. The ticket gate 1 can communicate with the center server device 300 via the network 91. A plurality of ticket gates 1 installed at a plurality of stations or the like may be connected to the center server device 300 via the network 91. In the network 91, for example, communication by the Internet Protocol (IP) is performed. However, communication may be performed using any other protocol.

改札機1は、図1を参照しながら説明した機能を持つ。つまり、改札機1は、その正面部(長手方向の端部)あるいは側面部(通路側)に配置されているセンサー(光学センサー)で、利用者(人)等の接近や、改札機の通過を検知する。センサー部61が利用者(人)等を検知すると、改札機1は、死活監視の処理を行う。 The ticket gate 1 has the functions described with reference to FIG. That is, the ticket gate 1 is a sensor (optical sensor) arranged on the front portion (end in the longitudinal direction) or the side portion (passage side) of the ticket gate 1, and is used for approaching a user (person) or passing through the ticket gate. Is detected. When the sensor unit 61 detects a user (person) or the like, the ticket gate 1 performs a life-and-death monitoring process.

センターサーバー装置300は、改札機1(駅務機器)から情報を受け取るとともに、受け取った情報に応じた業務処理を行う。具体的には、センターサーバー装置300は、改札機1から乗車券類の情報を受け取り、判定処理(利用者が改札機1の通路を通過することの可否を判定)を行ったり、必要に応じて、決済データを生成したりする。センターサーバー装置300は、処理の結果(応答情報)を改札機1に返す。応答情報は、可否情報を含んでもよい。可否情報は、利用者が改札機1の通路を通過することを許可したり禁止したりすることを表す情報である。 The center server device 300 receives information from the ticket gate 1 (station affairs equipment) and performs business processing according to the received information. Specifically, the center server device 300 receives information on tickets from the ticket gate 1 and performs a determination process (determines whether or not the user can pass through the passage of the ticket gate 1), or if necessary. And generate payment data. The center server device 300 returns the processing result (response information) to the ticket gate 1. The response information may include availability information. The availability information is information indicating that the user is permitted or prohibited from passing through the passage of the ticket gate 1.

また、センターサーバー装置300は、死活監視処理を行う。具体的には、センターサーバー装置300は、改札機1(駅務機器)から送信される死活監視メッセージを受信する。また、センターサーバー装置300は、死活監視メッセージへの応答として、死活応答メッセージを送信する。センターサーバー装置300が不稼働状態(故障等)の場合には、このセンターサーバー装置300は、この死活応答メッセージの送信を行うことができない。また、通信ネットワークの障害等が起こっている場合にも、改札機1とセンターサーバー装置300との間で死活監視処理を行うことができない。 In addition, the center server device 300 performs a life-and-death monitoring process. Specifically, the center server device 300 receives the life-and-death monitoring message transmitted from the ticket gate 1 (station affairs equipment). Further, the center server device 300 transmits a life-and-death response message as a response to the life-and-death monitoring message. When the center server device 300 is in a non-operating state (malfunction, etc.), the center server device 300 cannot transmit this life-and-death response message. Further, even when a communication network failure or the like occurs, the life-and-death monitoring process cannot be performed between the ticket gate 1 and the center server device 300.

複数のセンターサーバー装置300は、冗長化されている。即ち、あるセンターサーバー装置300が故障等で稼働できない場合に、他のセンターサーバー装置300が代わりに処理を行うことができるように構成される。複数のセンターサーバー装置300は、例えば、同一のデータセンター内に設けられていてもよいし、遠隔地のデータセンターに分散して設けられていてもよい。センターサーバー装置300は、いわゆるクラウドサーバーを用いて実現されてもよい。
なお、1台のセンターサーバー装置300が、多数の改札機1からの処理要求に同時に対応することができる。
The plurality of center server devices 300 are made redundant. That is, when a certain center server device 300 cannot operate due to a failure or the like, another center server device 300 can perform processing instead. The plurality of center server devices 300 may be provided in the same data center, or may be distributed in remote data centers. The center server device 300 may be realized by using a so-called cloud server.
One center server device 300 can simultaneously respond to processing requests from a large number of ticket gates 1.

ネットワーク91は、データ通信を行うためのネットワークである。ネットワーク91は、例えば、専用通信回線を用いて実現される。ネットワーク91の少なくとも一部がインターネットであってもよい。 The network 91 is a network for performing data communication. The network 91 is realized by using, for example, a dedicated communication line. At least a part of the network 91 may be the Internet.

中継装置92は、ネットワーク91と、複数のセンターサーバー装置300との間の通信を中継する装置である。中継装置92は、センターサーバー装置300の負荷を分散させるためのロードバランサーの機能を備えていてもよい。 The relay device 92 is a device that relays communication between the network 91 and the plurality of center server devices 300. The relay device 92 may have a load balancer function for distributing the load of the center server device 300.

図3は、本実施形態の改札機が設置された状態を上方から見た図(平面図)である。改札機1は、例えば、鉄道の駅等に設置され、乗車券の改札処理を行う。また、改札機1は、改札処理に伴って、乗車券を保持する利用者の通過を許可または禁止するために、扉部(ゲート)の開閉を制御してよい。改札機1は、通路を挟んで対向配置される主機10と従機30とを備える。主機10は、例えば、読取部11と、上面表示部12と、正面表示部13と、扉部14および15と、制御部20とを備える。また、従機30は、読取部31と、上面表示部32と、正面表示部33と、扉部34および35とを備える。 FIG. 3 is a top view (plan view) of the state in which the ticket gate of the present embodiment is installed. The ticket gate 1 is installed at, for example, a railway station or the like, and performs ticket gate processing for tickets. Further, the ticket gate 1 may control the opening and closing of the door portion (gate) in order to allow or prohibit the passage of the user holding the ticket in accordance with the ticket gate processing. The ticket gate 1 includes a main engine 10 and a slave unit 30 which are arranged so as to face each other across a passage. The main engine 10 includes, for example, a reading unit 11, a top surface display unit 12, a front display unit 13, door units 14 and 15, and a control unit 20. Further, the slave unit 30 includes a reading unit 31, a top surface display unit 32, a front display unit 33, and door units 34 and 35.

主機10の読取部11は、図3のa方向に通過しようとする利用者がかざす乗車券類から情報を読み取る。読取部11は、磁気読み取り、電磁波による読み取り、あるいは光学的読み取りといった読み取り手段の少なくとも1つを用いて情報を読み取るものであってよい。読取部11が読み取った情報は、情報取得部62(図1)を経由して制御部20に渡される。 The reading unit 11 of the main engine 10 reads information from the tickets held by the user who intends to pass in the direction a of FIG. The reading unit 11 may read information using at least one of reading means such as magnetic reading, electromagnetic wave reading, or optical reading. The information read by the reading unit 11 is passed to the control unit 20 via the information acquisition unit 62 (FIG. 1).

上面表示部12は、液晶表示素子等を用いて実現される表示装置を含むものである。例えば、利用者がかざした情報を読取部11が読み取ったことに起因する処理の結果を、上面表示部12は表示する。 The top surface display unit 12 includes a display device realized by using a liquid crystal display element or the like. For example, the upper surface display unit 12 displays the result of processing caused by the reading unit 11 reading the information held by the user.

正面表示部13は、液晶表示素子等を用いて実現される表示装置を含むものである。正面表示部13は、例えば、図3のa方向に通過可能であるか否かを示すマークや図形、文字等を表示する。正面表示部13の表示内容または表示の有無は、制御部20によって決定される。 The front display unit 13 includes a display device realized by using a liquid crystal display element or the like. The front display unit 13 displays, for example, a mark, a graphic character, a character, or the like indicating whether or not the vehicle can pass in the a direction of FIG. The display content of the front display unit 13 or the presence or absence of the display is determined by the control unit 20.

一方、従機30の読取部31は、図3のb方向に通過しようとする利用者がかざす乗車券類から情報を読み取る。読取部31は、読取部11と同様の技術的手段を用いて乗車券類の情報を読み取る。読取部31が読み取った情報は、情報取得部62(図1)を経由して制御部20に渡される。 On the other hand, the reading unit 31 of the slave unit 30 reads information from the tickets held by the user who intends to pass in the direction b of FIG. The reading unit 31 reads information on tickets using the same technical means as the reading unit 11. The information read by the reading unit 31 is passed to the control unit 20 via the information acquisition unit 62 (FIG. 1).

上面表示部32は、液晶表示素子等を用いて実現される表示装置を含むものである。例えば、利用者がかざした情報を読取部31が読み取ったことに起因する処理の結果を、上面表示部12は表示する。 The top surface display unit 32 includes a display device realized by using a liquid crystal display element or the like. For example, the upper surface display unit 12 displays the result of processing caused by the reading unit 31 reading the information held by the user.

正面表示部33は、液晶表示素子等を用いて実現される表示装置を含むものである。正面表示部33は、例えば、図3のb方向に通過可能であるか否かを示すマークや図形、文字等を表示する。正面表示部33の表示内容または表示の有無は、制御部20によって決定される。 The front display unit 33 includes a display device realized by using a liquid crystal display element or the like. The front display unit 33 displays, for example, a mark, a graphic character, a character, or the like indicating whether or not the vehicle can pass in the direction b of FIG. The display content of the front display unit 33 or the presence or absence of the display is determined by the control unit 20.

制御部20は、改札機1が図3のa方向への利用者の通過を許可する動作モードに設定されている場合には、扉部15および35を開放状態に維持すると共に、扉部14および34を開放状態または閉止状態に制御することで、a方向の利用者の通過を許可または禁止する。また、制御部20は、改札機1が図3のb方向への利用者の通過を許可する動作モードに設定されている場合には、扉部14および34を開放状態に維持すると共に、扉部15および35を開放状態または閉止状態に制御することで、b方向の利用者の通過を許可または禁止する。 When the ticket gate 1 is set to the operation mode that allows the user to pass in the direction a in FIG. 3, the control unit 20 keeps the door units 15 and 35 in the open state and the door unit 14 By controlling the and 34 in the open state or the closed state, the passage of the user in the a direction is permitted or prohibited. Further, when the ticket gate 1 is set to the operation mode for allowing the user to pass in the direction b in FIG. 3, the control unit 20 keeps the door units 14 and 34 in the open state and the doors. By controlling the parts 15 and 35 to be in the open state or the closed state, the passage of the user in the b direction is permitted or prohibited.

また、改札機1の動作モードには、図3のa方向の通過とb方向の通過との双方を許可する動作モードが含まれてもよい。この場合、主機10の制御部20は、例えば、利用者が通過中でなければ正面表示部13と正面表示部33の双方に通過を許可することを示すマークや図形、文字等を表示させる制御を行う。また、制御部20は、例えば、利用者がいずれかの側から進入し、読取部11と読取部31とのいずれか一方に乗車券がかざされると、他方の読取部を無効化すると共に、利用者が進入してきていない側の表示部(正面表示部13または正面表示部33)に、通過を禁止することを示すマークや図形、文字等を表示させる制御を行う。 Further, the operation mode of the ticket gate 1 may include an operation mode that allows both passage in the a direction and passage in the b direction in FIG. In this case, the control unit 20 of the main engine 10 is controlled to display, for example, a mark, a graphic character, a character, or the like indicating that both the front display unit 13 and the front display unit 33 are allowed to pass if the user is not passing. I do. Further, for example, when a user enters from either side and a ticket is held over one of the reading unit 11 and the reading unit 31, the control unit 20 invalidates the other reading unit and also invalidates the other reading unit. Control is performed to display marks, figures, characters, etc. indicating that passage is prohibited on the display unit (front display unit 13 or front display unit 33) on the side where the user has not entered.

なお、図3における上下方向が、改札機1(主機10および従機30)の長手方向である。正面表示部13や33が設けられている面が、改札機1の「正面」である。より厳密に言うと、利用者がa方向に通過しようとするとき、正面表示部13が設けられている面が改札機1(主機10)の「正面」である。利用者がb方向に通過しようとするとき、正面表示部33が設けられている面が改札機1(従機30)の「正面」である。 The vertical direction in FIG. 3 is the longitudinal direction of the ticket gate 1 (main engine 10 and slave unit 30). The surface on which the front display units 13 and 33 are provided is the "front" of the ticket gate 1. Strictly speaking, when the user tries to pass in the a direction, the surface on which the front display unit 13 is provided is the "front" of the ticket gate 1 (main engine 10). When the user tries to pass in the b direction, the surface on which the front display unit 33 is provided is the "front" of the ticket gate 1 (secondary machine 30).

図4は、本実施形態の改札機1の主機10を側面(通路側)から見た図である。主機10は、読取部11と、扉部14および15とに加え、透過型光電センサーStと、反射型光電センサーSrとを更に備える。透過型光電センサーStは、例えば、主機10の筐体面のうち、通路側の筐体面に等間隔に複数個設けられる。 FIG. 4 is a view of the main engine 10 of the ticket gate 1 of the present embodiment as viewed from the side surface (passage side). The main engine 10 further includes a transmission type photoelectric sensor St and a reflection type photoelectric sensor Sr in addition to the reading unit 11 and the door portions 14 and 15. A plurality of transmissive photoelectric sensors St are provided, for example, on the housing surface on the passage side of the housing surface of the main engine 10 at equal intervals.

本実施形態では、投光器として機能する透過型光電センサーStと、受光器として機能する透過型光電センサーStとを1対として用いる。例えば、主機10に設けられる透過型光電センサーStが投光器である場合、従機30側に設けられる透過型光電センサーStは、受光器として機能する。 In the present embodiment, a transmissive photoelectric sensor St that functions as a floodlight and a transmissive photoelectric sensor St that functions as a receiver are used as a pair. For example, when the transmissive photoelectric sensor St provided in the main engine 10 is a floodlight, the transmissive photoelectric sensor St provided on the slave unit 30 side functions as a light receiver.

従機30側に設けられる透過型光電センサーStは、通路に光を遮断するようなものが存在しない場合、主機10側の透過型光電センサーStから発せられた投射光を受光する。一方、通路に利用者が存在する場合、透過型光電センサーStから発せられた投射光は、利用者によって遮断される。従って、従機30側の透過型光電センサーStは、透過型光電センサーStから発せられた投射光を受光しない。 The transmissive photoelectric sensor St provided on the slave unit 30 side receives the projected light emitted from the transmissive photoelectric sensor St on the main engine 10 side when there is no such thing as blocking light in the passage. On the other hand, when a user is present in the passage, the projected light emitted from the transmissive photoelectric sensor St is blocked by the user. Therefore, the transmissive photoelectric sensor St on the slave unit 30 side does not receive the projected light emitted from the transmissive photoelectric sensor St.

制御部20は、透過型光電センサーStから検出信号を取得して通路内に人がいるか否かを判定する。例えば、制御部20は、投射光を受光しない場合において生成された検出信号を透過型光電センサーStから取得した場合、通路に投射光を遮断する利用者が存在していないと判定する。また、制御部20は、投射光を受光した場合において生成された検出信号を透過型光電センサーStから取得した場合、通路に投射光を遮断する利用者が存在していると判定する。 The control unit 20 acquires a detection signal from the transmissive photoelectric sensor St and determines whether or not there is a person in the passage. For example, when the control unit 20 acquires the detection signal generated when the projected light is not received from the transmissive photoelectric sensor St, the control unit 20 determines that there is no user who blocks the projected light in the passage. Further, when the detection signal generated when the projected light is received is acquired from the transmissive photoelectric sensor St, the control unit 20 determines that there is a user who blocks the projected light in the passage.

反射型光電センサーSrは、透過型光電センサーStと同様に、例えば、主機10の筐体から上方に突出する仕切部の通路側の面に、等間隔に複数個設けられる。反射型光電センサーSrは、所定の方向に光を投射する。反射型光電センサーSrは、光を投射した後、投射した方向から反射された光を受光する。 Similar to the transmissive photoelectric sensor St, a plurality of reflective photoelectric sensors Sr are provided at equal intervals on, for example, a passage-side surface of a partition portion protruding upward from the housing of the main engine 10. The reflective photoelectric sensor Sr projects light in a predetermined direction. The reflective photoelectric sensor Sr projects light and then receives the light reflected from the projected direction.

反射型光電センサーSrは、受光した光の強度に基づいて、通路に光を反射する利用者の身体が存在しているか否かを示す検出信号を生成する。反射型光電センサーSrは、例えば、受光した光の強度が閾値以下の場合、通路に利用者が存在していない旨の検出信号を生成する。また、反射型光電センサーSr、受光した光の強度が閾値を超える場合、通路に利用者が存在している旨の検出信号を生成する。 The reflective photoelectric sensor Sr generates a detection signal indicating whether or not a user's body that reflects light is present in the passage based on the intensity of the received light. For example, when the intensity of the received light is equal to or less than the threshold value, the reflection type photoelectric sensor Sr generates a detection signal indicating that the user does not exist in the passage. Further, when the intensity of the received light exceeds the threshold value of the reflective photoelectric sensor Sr, a detection signal indicating that a user is present in the passage is generated.

なお、上述した反射型光電センサーSrは、主機10に設けられるものとして説明したがこれに限られず、従機30に設けられてもよいし、主機10および従機30の双方に設けられてもよい。 The above-mentioned reflection type photoelectric sensor Sr has been described as being provided in the main engine 10, but the present invention is not limited to this, and the reflection type photoelectric sensor Sr may be provided in the slave unit 30, or may be provided in both the main engine 10 and the slave unit 30. good.

図5は、実施形態の改札機1の主機10を斜め正面上方から見た斜視図である。ここで、正面とは、正面表示部13が設けられている側の面である。主機10は、読取部11と、正面表示部13とに加え、反射型光電センサーSr2をさらに備える。反射型光電センサーSr2は、例えば、主機10の正面下方に設けられる。即ち、反射型光電センサーSr2は、改札機1(主機10)の長手方向の端部に設けられる。このような配置により、反射型光電センサーSr2は、正面側から改札機1に接近する利用者(人)等を検知することができる。
なお、反射型光電センサーSr2は、必要に応じて反対側の従機30の正面下方にも設けられる。
FIG. 5 is a perspective view of the main engine 10 of the ticket gate 1 of the embodiment as viewed diagonally from above. Here, the front surface is a surface on the side where the front display unit 13 is provided. The main engine 10 further includes a reflective photoelectric sensor Sr2 in addition to the reading unit 11 and the front display unit 13. The reflective photoelectric sensor Sr2 is provided, for example, below the front surface of the main engine 10. That is, the reflective photoelectric sensor Sr2 is provided at the end of the ticket gate 1 (main engine 10) in the longitudinal direction. With such an arrangement, the reflective photoelectric sensor Sr2 can detect a user (person) or the like approaching the ticket gate 1 from the front side.
The reflective photoelectric sensor Sr2 is also provided below the front surface of the slave unit 30 on the opposite side, if necessary.

図6は、本実施形態の改札機とセンターサーバー装置との間での通信シーケンスの例を示すシーケンス図である。図示する例では、改札機1は、死活監視のやりとりを行った後、複数回、改札処理を実行する。その後、所定時間が経過した場合(タイマーT1満了)には、死活監視のやりとりを再度行う。以下、このシーケンス図に沿って説明する。 FIG. 6 is a sequence diagram showing an example of a communication sequence between the ticket gate and the center server device of the present embodiment. In the illustrated example, the ticket gate 1 executes the ticket gate processing a plurality of times after exchanging life-and-death monitoring. After that, when the predetermined time elapses (timer T1 expires), the life-and-death monitoring exchange is performed again. Hereinafter, a description will be given with reference to this sequence diagram.

図6のシーケンスが開始される前提として、タイマーT1は、満了している。
その状況において、改札機1のセンサー部61は、利用者の接近等の事象を検知する。この事象を検知したことをトリガーとして、改札機1は、次のステップS1の動作を実行する。
Assuming that the sequence of FIG. 6 is started, the timer T1 has expired.
In that situation, the sensor unit 61 of the ticket gate 1 detects an event such as an approach of a user. With the detection of this event as a trigger, the ticket gate 1 executes the operation of the next step S1.

ステップS1において、改札機1の死活監視部111は、死活監視メッセージをセンターサーバー装置300に送信する。死活監視メッセージの送信後に、改札機1の死活監視部111は、センターサーバー装置300からの死活応答メッセージの到着を待つ。センターサーバー装置300は、改札機1から送信された死活監視メッセージを受信する。
ステップS2において、センターサーバー装置300は、ステップS1で受信した死活監視メッセージへの応答として、送信元の改札機1に対して、死活応答メッセージを送信する。改札機1の死活監視部111は、この死活応答メッセージを受信する。死活応答メッセージを受信することにより、改札機1の死活監視部111は、ネットワーク91が正常であり、且つ、死活監視メッセージを送信した先のセンターサーバー装置300が正常に稼働していることを知る。
In step S1, the life-and-death monitoring unit 111 of the ticket gate 1 transmits a life-and-death monitoring message to the center server device 300. After transmitting the life-and-death monitoring message, the life-and-death monitoring unit 111 of the ticket gate 1 waits for the arrival of the life-and-death response message from the center server device 300. The center server device 300 receives the alive monitoring message transmitted from the ticket gate 1.
In step S2, the center server device 300 transmits a life-and-death response message to the ticket gate 1 of the transmission source as a response to the life-and-death monitoring message received in step S1. The life-and-death monitoring unit 111 of the ticket gate 1 receives this life-and-death response message. By receiving the life-and-death response message, the life-and-death monitoring unit 111 of the ticket gate 1 knows that the network 91 is normal and that the center server device 300 to which the life-and-death monitoring message is transmitted is operating normally. ..

次に、利用者が改札機1の読取部11または31に、乗車券類をかざす。これにより、改札機1の情報取得部62は、乗車券類の情報を取得する。情報取得部62は、取得した乗車券類の情報を改札処理部112に渡す。改札処理部112は、渡された乗車券類の情報を基に、所定の改札処理を行う。その一環として、改札処理部112は、センターサーバー装置300への問い合わせを行う。そのための通信シーケンスが、次の、ステップS3およびS4である。 Next, the user holds the ticket over the reading unit 11 or 31 of the ticket gate 1. As a result, the information acquisition unit 62 of the ticket gate 1 acquires information on tickets. The information acquisition unit 62 passes the acquired ticket information to the ticket gate processing unit 112. The ticket gate processing unit 112 performs a predetermined ticket gate processing based on the information of the passed tickets. As a part of this, the ticket gate processing unit 112 makes an inquiry to the center server device 300. The communication sequence for that is the following steps S3 and S4.

ステップS3において、改札機1の改札処理部112は、改札情報をセンターサーバー装置300に送信する。改札情報は、情報取得部62が取得した乗車券類の情報を含む。センターサーバー装置300は、この改札情報を受信する。
ステップS4において、センターサーバー装置300は、ステップS3で受信した改札情報に基づく判定処理等を行い、その結果の情報を含む改札応答を、改札情報の送信元である改札機1に送信する。改札機1の改札処理部112は、この改札応答を受信する。改札処理部112は、改札応答の情報に基づく処理を行う。本ステップで改札処理部112が実行する処理は、利用者の通過を許可または禁止するための制御(扉部の開閉制御)等を含む。
In step S3, the ticket gate processing unit 112 of the ticket gate 1 transmits the ticket gate information to the center server device 300. The ticket gate information includes information on tickets acquired by the information acquisition unit 62. The center server device 300 receives this ticket gate information.
In step S4, the center server device 300 performs a determination process or the like based on the ticket gate information received in step S3, and transmits a ticket gate response including the result information to the ticket gate 1 which is the source of the ticket gate information. The ticket gate processing unit 112 of the ticket gate 1 receives this ticket gate response. The ticket gate processing unit 112 performs processing based on the information of the ticket gate response. The process executed by the ticket gate processing unit 112 in this step includes control for permitting or prohibiting the passage of the user (door opening / closing control) and the like.

次に、別の利用者が改札機1の読取部11または31に、乗車券類をかざす。以下の、ステップS5およびS6の処理は、上記のステップS3およびS4の処理と同様のものである。
即ち、ステップS5において、改札機1の改札処理部112は、改札情報をセンターサーバー装置300に送信する。センターサーバー装置300は、その改札情報を受信する。
また、ステップS6において、センターサーバー装置300は、ステップS5で受信した改札情報に対応する改札応答を、改札機1に送信する。改札機1の改札処理部112は、その改札応答を受信する。
Next, another user holds the ticket over the reading unit 11 or 31 of the ticket gate 1. The following processes of steps S5 and S6 are the same as the processes of steps S3 and S4 described above.
That is, in step S5, the ticket gate processing unit 112 of the ticket gate 1 transmits the ticket gate information to the center server device 300. The center server device 300 receives the ticket gate information.
Further, in step S6, the center server device 300 transmits the ticket gate response corresponding to the ticket gate information received in step S5 to the ticket gate 1. The ticket gate processing unit 112 of the ticket gate 1 receives the ticket gate response.

次に、さらに別の利用者が改札機1の読取部11または31に、乗車券類をかざす。以下の、ステップS7およびS8の処理は、上記のステップS3およびS4の処理と同様のものである。
即ち、ステップS7において、改札機1の改札処理部112は、改札情報をセンターサーバー装置300に送信する。センターサーバー装置300は、その改札情報を受信する。
また、ステップS8において、センターサーバー装置300は、ステップS7で受信した改札情報に対応する改札応答を、改札機1に送信する。改札機1の改札処理部112は、その改札応答を受信する。
Next, another user holds the ticket over the reading unit 11 or 31 of the ticket gate 1. The following processes of steps S7 and S8 are the same as the processes of steps S3 and S4 described above.
That is, in step S7, the ticket gate processing unit 112 of the ticket gate 1 transmits the ticket gate information to the center server device 300. The center server device 300 receives the ticket gate information.
Further, in step S8, the center server device 300 transmits the ticket gate response corresponding to the ticket gate information received in step S7 to the ticket gate 1. The ticket gate processing unit 112 of the ticket gate 1 receives the ticket gate response.

ステップS3からステップS8までの処理をしている間には、複数の利用者が立て続けに改札機1の場所に到着し、改札機1を利用した。この間は、改札機1が死活監視の手順を実行することはなかった。その後、利用者の足が途絶えることにより、図示するように、タイマーT1が満了する。その満了後に、改札機1のセンサー部61は、利用者の接近等の事象を検知する。この事象を検知したことをトリガーとして、改札機1は、次のステップS9の動作を実行する。 During the processing from step S3 to step S8, a plurality of users arrived at the ticket gate 1 in quick succession and used the ticket gate 1. During this time, the ticket gate 1 did not execute the procedure for alive monitoring. After that, when the user's foot is cut off, the timer T1 expires as shown in the figure. After the expiration, the sensor unit 61 of the ticket gate 1 detects an event such as an approach of a user. With the detection of this event as a trigger, the ticket gate 1 executes the operation of the next step S9.

ステップS9において、改札機1の死活監視部111は、死活監視メッセージをセンターサーバー装置300に送信する。センターサーバー装置300は、改札機1から送信された死活監視メッセージを受信する。
ステップS10において、センターサーバー装置300は、ステップS9で受信した死活監視メッセージへの応答として、送信元の改札機1に対して、死活応答メッセージを送信する。改札機1の死活監視部111は、この死活応答メッセージを受信する。
In step S9, the life-and-death monitoring unit 111 of the ticket gate 1 transmits a life-and-death monitoring message to the center server device 300. The center server device 300 receives the alive monitoring message transmitted from the ticket gate 1.
In step S10, the center server device 300 transmits a life-and-death response message to the ticket gate 1 of the transmission source as a response to the life-and-death monitoring message received in step S9. The life-and-death monitoring unit 111 of the ticket gate 1 receives this life-and-death response message.

図6に示したように、本実施形態では、改札機1とセンターサーバー装置300との間の通信が成功してから所定のインターバル時間が経過した後(タイマーT1満了後)に、センサー部61が物体を検知したときには、改札機1の死活監視部111は、死活監視メッセージを、センターサーバー装置300に送信する。言い換えれば、センターサーバー装置300からの何らかの応答メッセージを受信しないままの状態で所定のインターバル時間が経過した(タイマーT1の満了)場合には、死活監視の処理をやり直す。このように、死活監視の処理を行う頻度を抑制することにより、通信量の増加を防ぐことが可能になる。 As shown in FIG. 6, in the present embodiment, after a predetermined interval time has elapsed from successful communication between the ticket gate 1 and the center server device 300 (after the timer T1 expires), the sensor unit 61 When the vehicle detects an object, the life-and-death monitoring unit 111 of the ticket gate 1 transmits a life-and-death monitoring message to the center server device 300. In other words, if a predetermined interval time elapses (timer T1 expires) without receiving any response message from the center server device 300, the life-and-death monitoring process is repeated. In this way, by suppressing the frequency of performing the life-and-death monitoring process, it is possible to prevent an increase in the amount of communication.

図7は、本実施形態の改札機とセンターサーバー装置との間での通信シーケンスの別の例を示すシーケンス図である。図示する例では、死活監視の手順を通して、改札機1は、センターサーバー装置300Aの障害を検知する。その後、改札機1は、接続先のサーバーをセンターサーバー装置300Bに切り替えてから、改札処理を実行する。以下、このシーケンス図に沿って説明する。 FIG. 7 is a sequence diagram showing another example of the communication sequence between the ticket gate and the center server device of the present embodiment. In the illustrated example, the ticket gate 1 detects a failure of the center server device 300A through the procedure of life and death monitoring. After that, the ticket gate 1 switches the connection destination server to the center server device 300B, and then executes the ticket gate process. Hereinafter, a description will be given with reference to this sequence diagram.

ステップS21において、改札機1の死活監視部111は、死活監視メッセージをセンターサーバー装置300Aに送信する。死活監視メッセージの送信後に、改札機1の死活監視部111は、センターサーバー装置300Aからの死活応答メッセージの到着を待つ。この図に示すシーケンスでは、何らかの障害等により、センターサーバー装置300Aからの死活応答メッセージは改札機1に返されない。改札機1の死活監視部111は、タイマーからの通知等により、応答のタイムアウトを検知する。 In step S21, the life-and-death monitoring unit 111 of the ticket gate 1 transmits a life-and-death monitoring message to the center server device 300A. After transmitting the life-and-death monitoring message, the life-and-death monitoring unit 111 of the ticket gate 1 waits for the arrival of the life-and-death response message from the center server device 300A. In the sequence shown in this figure, the life-and-death response message from the center server device 300A is not returned to the ticket gate 1 due to some kind of failure or the like. The life-and-death monitoring unit 111 of the ticket gate 1 detects a response timeout by a notification from a timer or the like.

ステップS22において、改札機1の接続制御部114は、切替先であるセンターサーバー装置300Bにサーバー切替要求を送信する。
ステップS23において、センターサーバー装置300Bは、ステップS22で受信したサーバー切替要求への応答として、サーバー切替完了応答を送信する。改札機1の接続制御部114は、このサーバー切替完了応答を受信する。これにより、改札機1とセンターサーバー装置300Bとの間の接続が確立される。
In step S22, the connection control unit 114 of the ticket gate 1 transmits a server switching request to the center server device 300B, which is the switching destination.
In step S23, the center server device 300B transmits a server switching completion response as a response to the server switching request received in step S22. The connection control unit 114 of the ticket gate 1 receives this server switching completion response. As a result, the connection between the ticket gate 1 and the center server device 300B is established.

次に、利用者が改札機1の読取部11または31に、乗車券類をかざす。これにより、改札機1の情報取得部62は、乗車券類の情報を取得する。情報取得部62は、取得した乗車券類の情報を改札処理部112に渡す。改札処理部112は、改札処理の一環として、センターサーバー装置300Bへの問い合わせを行う。そのための通信シーケンスが、次の、ステップS24およびS25である。 Next, the user holds the ticket over the reading unit 11 or 31 of the ticket gate 1. As a result, the information acquisition unit 62 of the ticket gate 1 acquires information on tickets. The information acquisition unit 62 passes the acquired ticket information to the ticket gate processing unit 112. The ticket gate processing unit 112 makes an inquiry to the center server device 300B as part of the ticket gate processing. The communication sequence for that is the following steps S24 and S25.

ステップS24において、改札機1の改札処理部112は、改札情報をセンターサーバー装置300に送信する。センターサーバー装置300は、この改札情報を受信する。
ステップS25において、センターサーバー装置300は、ステップS24で受信した改札情報に基づく処理等を行い、その結果の情報を含む改札応答を、改札情報の送信元である改札機1に送信する。改札機1の改札処理部112は、この改札応答を受信する。改札処理部112は、改札応答の情報に基づく処理を行う。
In step S24, the ticket gate processing unit 112 of the ticket gate 1 transmits the ticket gate information to the center server device 300. The center server device 300 receives this ticket gate information.
In step S25, the center server device 300 performs processing based on the ticket gate information received in step S24, and transmits a ticket gate response including the result information to the ticket gate 1 which is the transmission source of the ticket gate information. The ticket gate processing unit 112 of the ticket gate 1 receives this ticket gate response. The ticket gate processing unit 112 performs processing based on the information of the ticket gate response.

次に、別の利用者が改札機1の読取部11または31に、乗車券類をかざす。以下の、ステップS26およびS27の処理は、上記のステップS24およびS25の処理と同様のものである。
即ち、ステップS26において、改札機1の改札処理部112は、改札情報をセンターサーバー装置300Bに送信する。センターサーバー装置300Bは、その改札情報を受信する。
ステップS27において、センターサーバー装置300Bは、ステップS26で受信した改札情報に対応する改札応答を、改札機1に送信する。改札機1の改札処理部112は、その改札応答を受信する。
以下、同様に、改札機1とセンターサーバー装置300Bとの間でのやりとりを続けることが可能である。
Next, another user holds the ticket over the reading unit 11 or 31 of the ticket gate 1. The following processes of steps S26 and S27 are the same as the processes of steps S24 and S25 described above.
That is, in step S26, the ticket gate processing unit 112 of the ticket gate 1 transmits the ticket gate information to the center server device 300B. The center server device 300B receives the ticket gate information.
In step S27, the center server device 300B transmits the ticket gate response corresponding to the ticket gate information received in step S26 to the ticket gate 1. The ticket gate processing unit 112 of the ticket gate 1 receives the ticket gate response.
Hereinafter, similarly, it is possible to continue the exchange between the ticket gate 1 and the center server device 300B.

なお、改札機1がセンターサーバー装置の切り替えを行うための手順は、図7のステップS22およびS23に示した手順でなくてもよい。他の手順を用いてもよい。いずれの場合も、改札機1は、死活監視メッセージ等のやりとりによって、センターサーバー装置300Aからの応答がないと判定した場合に、接続先のサーバーを切り替え、センターサーバー装置300Bとのやりとりを開始する。 The procedure for the ticket gate 1 to switch the center server device does not have to be the procedure shown in steps S22 and S23 of FIG. 7. Other procedures may be used. In either case, the ticket gate 1 switches the connection destination server and starts the exchange with the center server device 300B when it is determined that there is no response from the center server device 300A by exchanging a life-and-death monitoring message or the like. ..

図7に示したように、本実施形態では、改札機1は、例えば死活監視メッセージに対するセンターサーバー装置300Aからの応答がない場合(タイムアウト等した場合)、別のサーバーであるセンターサーバー装置300Bへの接続に切り替える。改札機1は、センサー部61が利用者の接近等を検知した段階で死活監視メッセージをセンターサーバー装置300Aに送信する。つまり、利用者が乗車券類を読取部11または31にかざすよりも前のタイミングで、センターサーバー装置の死活監視を開始できる。これにより、例えばセンターサーバー装置300Aの障害等の場合に、より早く、接続先をセンターサーバー装置300Bに切り替えることが可能となる。つまり、利用者を待たせる時間をより短くすることができる。 As shown in FIG. 7, in the present embodiment, when there is no response from the center server device 300A to the alive monitoring message (when a timeout or the like occurs), the ticket gate 1 goes to another server, the center server device 300B. Switch to the connection. The ticket gate 1 transmits a life-and-death monitoring message to the center server device 300A when the sensor unit 61 detects the approach of the user or the like. That is, the life-and-death monitoring of the center server device can be started at a timing before the user holds the ticket over the reading unit 11 or 31. This makes it possible to switch the connection destination to the center server device 300B more quickly in the event of a failure of the center server device 300A, for example. That is, it is possible to shorten the time for the user to wait.

図8,図9,図10は、改札機1が持つ機能の処理手順を示すフローチャートである。改札機1は、この処理手順を実行することにより、図6および図7で説明したシーケンスを実現できる。なお、図9,図10のそれぞれに示す処理は、図8のフローチャートの処理の中から呼び出される処理である。以下、これらのフローチャートに沿って説明する。 8, 9, and 10 are flowcharts showing a processing procedure of the function of the ticket gate 1. By executing this processing procedure, the ticket gate 1 can realize the sequence described with reference to FIGS. 6 and 7. The processes shown in FIGS. 9 and 10 are processes called from the processes shown in the flowchart of FIG. Hereinafter, description will be given along with these flowcharts.

図8のステップS41において、改札機1の制御部20は、終了条件が満たされているか否かを判定する。一例として改札機1をシャットダウンするコマンドが投入された場合などが、終了条件を満たす状況である。終了条件を満たす場合(ステップS41:YES)には、本フローチャート全体の処理を終了する。終了条件を満たさない場合(ステップS41:NO)には、次のステップS42に進む。 In step S41 of FIG. 8, the control unit 20 of the ticket gate 1 determines whether or not the end condition is satisfied. As an example, when a command to shut down the ticket gate 1 is input, the end condition is satisfied. If the end condition is satisfied (step S41: YES), the processing of the entire flowchart is terminated. If the end condition is not satisfied (step S41: NO), the process proceeds to the next step S42.

次に、ステップS42において、改札機1の制御部20は、イベントの到着を待つ。イベントとは、例えば、センサー部61からのセンサー信号を検知することや、情報取得部62が乗車券類等の情報を取得することなどである。制御部20がイベントの到着を検知すると、次のステップS43に進む。 Next, in step S42, the control unit 20 of the ticket gate 1 waits for the arrival of the event. The event is, for example, detecting a sensor signal from the sensor unit 61, or the information acquisition unit 62 acquiring information such as a ticket. When the control unit 20 detects the arrival of the event, the process proceeds to the next step S43.

次に、ステップS43において、改札機1の制御部20は、到着したイベントの種類に基づく分岐を行う。具体的には、センサー部61からのセンサー信号を検知した場合には、ステップS44に進む。また、情報取得部62が情報を取得した場合には、ステップS46の処理に進む。 Next, in step S43, the control unit 20 of the ticket gate 1 performs branching based on the type of event that has arrived. Specifically, when the sensor signal from the sensor unit 61 is detected, the process proceeds to step S44. When the information acquisition unit 62 acquires the information, the process proceeds to step S46.

次に、ステップS44に進んだ場合、改札機1の死活監視部111は、タイマーT1が満了しているか否かを判定する。タイマーT1が満了している場合(ステップS44:YES)には、ステップS45の処理に進む。タイマーT1が満了していない場合(ステップS44:NO)には、ステップS41に戻る。
ステップS45に進んだ場合には、死活監視処理を行う。死活監視処理の手順の詳細は、図9に示される。ステップS45の処理が終了すると、ステップS41に戻る。
ステップS46に進んだ場合には、改札処理を行う。改札処理の手順の詳細は、図10に示される。ステップS46の処理が終了すると、ステップS41に戻る。
Next, when the process proceeds to step S44, the life-and-death monitoring unit 111 of the ticket gate 1 determines whether or not the timer T1 has expired. If the timer T1 has expired (step S44: YES), the process proceeds to step S45. If the timer T1 has not expired (step S44: NO), the process returns to step S41.
If the process proceeds to step S45, a life-and-death monitoring process is performed. Details of the alive monitoring process are shown in FIG. When the process of step S45 is completed, the process returns to step S41.
If the process proceeds to step S46, the ticket gate processing is performed. Details of the ticket gate processing procedure are shown in FIG. When the process of step S46 is completed, the process returns to step S41.

図9は、改札機1による死活監視処理の手順を示すフローチャートである。以下、このフローチャートに沿って説明する。 FIG. 9 is a flowchart showing the procedure of the alive monitoring process by the ticket gate 1. Hereinafter, the description will be given according to this flowchart.

ステップS61において、改札機の死活監視部111は、センターサーバー装置300に対して、死活監視メッセージを送信する。その後、死活監視部111は、送信先のセンターサーバー装置300からの死活応答メッセージを待つ。 In step S61, the life-and-death monitoring unit 111 of the ticket gate transmits a life-and-death monitoring message to the center server device 300. After that, the life-and-death monitoring unit 111 waits for a life-and-death response message from the destination center server device 300.

ステップS62において、改札機の死活監視部111は、センターサーバー装置300からの応答の有無を判定する。死活監視メッセージの送信後の所定時間内にセンターサーバー装置300から死活応答メッセージを受信した場合には、応答「有」である。応答「有」の場合(ステップS62:YES)には、ステップS63に進む。死活監視メッセージの送信後の所定時間内にセンターサーバー装置300から死活応答メッセージを受信しなかった場合(タイムアウトした場合)には、応答「無」である。応答「無」の場合(ステップS62:NO)には、ステップS65に進む。 In step S62, the life and death monitoring unit 111 of the ticket gate determines whether or not there is a response from the center server device 300. If the alive response message is received from the center server device 300 within a predetermined time after the alive monitoring message is transmitted, the response is "Yes". If the response is “Yes” (step S62: YES), the process proceeds to step S63. If the alive response message is not received from the center server device 300 (when timed out) within a predetermined time after the alive monitoring message is transmitted, the response is "none". If the response is “none” (step S62: NO), the process proceeds to step S65.

ステップS63に進んだ場合、同ステップにおいて、改札機1の死活監視部111は、タイマーT1をリセットする。これにより、タイマーT1は、時刻ゼロから計時を再開する。
次に、ステップS64において、改札機1の死活監視部111は、死活応答メッセージの処理を行う。
ステップS64の処理が終了すると、改札機1は、本フローチャート(図9)全体の処理を終了する。
When the process proceeds to step S63, the life-and-death monitoring unit 111 of the ticket gate 1 resets the timer T1 in the same step. As a result, the timer T1 restarts the time counting from zero time.
Next, in step S64, the life-and-death monitoring unit 111 of the ticket gate 1 processes the life-and-death response message.
When the process of step S64 is completed, the ticket gate 1 ends the process of the entire flowchart (FIG. 9).

一方、ステップS65に進んだ場合、同ステップにおいて、改札機1の接続制御部114は、接続先のセンターサーバー装置300を切り替える処理を行う。センターサーバー装置300を切り替える処理は、例えば、図7のステップS22およびS23に示した手順で実行される。これにより、改札機1の接続先は、死活監視メッセージ(ステップS61)に対する応答を返さなかったセンターサーバー装置300から、他のセンターサーバー装置300に切り替わる。つまり、新たな接続先であるセンターサーバー装置300は、応答を返さなかったセンターサーバー装置300と比較して、正常に稼働している可能性が高いことが期待される。
ステップS65の処理が終了すると、改札機1は、本フローチャート(図9)全体の処理を終了する。
On the other hand, when the process proceeds to step S65, in the same step, the connection control unit 114 of the ticket gate 1 performs a process of switching the center server device 300 of the connection destination. The process of switching the center server device 300 is executed, for example, in the procedure shown in steps S22 and S23 of FIG. As a result, the connection destination of the ticket gate 1 is switched from the center server device 300 that did not return a response to the alive monitoring message (step S61) to another center server device 300. That is, it is expected that the center server device 300, which is the new connection destination, is more likely to be operating normally than the center server device 300 that did not return a response.
When the process of step S65 is completed, the ticket gate 1 ends the process of the entire flowchart (FIG. 9).

図10は、改札機1による改札処理の手順を示すフローチャートである。以下、このフローチャートに沿って説明する。 FIG. 10 is a flowchart showing a procedure of ticket gate processing by the ticket gate 1. Hereinafter, the description will be given according to this flowchart.

ステップS81において、改札機1の改札処理部112は、センターサーバー装置300に対して、改札情報を送信する。改札情報は、改札機1が読み取った乗車券類の情報を含むものである。その後、改札処理部112は、送信先のセンターサーバー装置300からの改札応答を待つ。 In step S81, the ticket gate processing unit 112 of the ticket gate 1 transmits the ticket gate information to the center server device 300. The ticket gate information includes information on tickets read by the ticket gate 1. After that, the ticket gate processing unit 112 waits for a ticket gate response from the destination center server device 300.

ステップS82において、改札機の改札処理部112は、センターサーバー装置300からの応答の有無を判定する。改札情報の送信(ステップS81)後の所定時間内にセンターサーバー装置300から改札応答を受信した場合には、応答「有」である。応答「有」の場合(ステップS82:YES)には、ステップS83に進む。改札情報の送信後の所定時間内にセンターサーバー装置300から改札応答を受信しなかった場合(タイムアウトした場合)には、応答「無」である。応答「無」の場合(ステップS82:NO)には、ステップS85に進む。 In step S82, the ticket gate processing unit 112 of the ticket gate determines whether or not there is a response from the center server device 300. If the ticket gate response is received from the center server device 300 within a predetermined time after the ticket gate information is transmitted (step S81), the response is "Yes". If the response is “Yes” (step S82: YES), the process proceeds to step S83. If the ticket gate response is not received from the center server device 300 (when timed out) within a predetermined time after the ticket gate information is transmitted, the response is "none". If the response is “none” (step S82: NO), the process proceeds to step S85.

ステップS83に進んだ場合、同ステップにおいて、改札機1の改札処理部112は、タイマーT1をリセットする。これにより、タイマーT1は、時刻ゼロから計時を再開する。
次に、ステップS84において、改札機1の改札処理部112は、受信した改札応答の情報に基づく処理(例えば、利用客の改札機1の通路の通過の許可または禁止の制御等)を行う。
ステップS84の処理が終了すると、改札機1は、本フローチャート(図10)全体の処理を終了する。
When the process proceeds to step S83, the ticket gate processing unit 112 of the ticket gate 1 resets the timer T1 in the same step. As a result, the timer T1 restarts the time counting from zero time.
Next, in step S84, the ticket gate processing unit 112 of the ticket gate 1 performs processing based on the received ticket gate response information (for example, control of permission or prohibition of passage of the passenger through the passage of the ticket gate 1).
When the process of step S84 is completed, the ticket gate 1 ends the process of the entire flowchart (FIG. 10).

一方、ステップS85に進んだ場合、同ステップにおいて、改札機1の改札処理部112は、エラーメッセージを表示する。このエラーメッセージは、例えば、上面表示部12または32に表示される。
次に、ステップS86において、接続制御部114は、接続先のセンターサーバー装置300を切り替える処理を行う。この処理は、図9のステップS65の処理と同様である。これにより、改札機1の接続先は、改札情報(ステップS81)に対する応答を返さなかったセンターサーバー装置300から、他のセンターサーバー装置300に切り替わる。
ステップS86の処理が終了すると、改札機1は、本フローチャート(図10)全体の処理を終了する。
On the other hand, when the process proceeds to step S85, the ticket gate processing unit 112 of the ticket gate 1 displays an error message in the same step. This error message is displayed, for example, on the top display unit 12 or 32.
Next, in step S86, the connection control unit 114 performs a process of switching the connection destination center server device 300. This process is the same as the process of step S65 of FIG. As a result, the connection destination of the ticket gate 1 is switched from the center server device 300 that did not return a response to the ticket gate information (step S81) to another center server device 300.
When the process of step S86 is completed, the ticket gate 1 ends the process of the entire flowchart (FIG. 10).

以上、フローチャートにも示したように、改札機1が死活監視処理を行うのは、センサー部61が物体を検知し、且つ、前回のセンターサーバー装置300との通信のやり取りから所定の時間が経過済(タイマーT1満了済)の場合のみである。 As described above, as shown in the flowchart, the ticket gate 1 performs the life-and-death monitoring process when the sensor unit 61 detects the object and a predetermined time has elapsed since the previous communication exchange with the center server device 300. Only when completed (timer T1 has expired).

図11は、改札機1の変形例の外観を示す図である。同図に示す改札機1は、乗車券類の情報を読み取るための読取部や、情報を表示するための表示部を持つ。しかしながら、この改札機1は、扉部を持たない簡易型の改札機である。同図において、Sr2は、改札機1に設けられた反射型光電センサーである。反射型光電センサーSr2は、利用者(人)等の接近を検知する。 FIG. 11 is a diagram showing the appearance of a modified example of the ticket gate 1. The ticket gate 1 shown in the figure has a reading unit for reading information on tickets and a display unit for displaying information. However, the ticket gate 1 is a simple ticket gate that does not have a door. In the figure, Sr2 is a reflective photoelectric sensor provided in the ticket gate 1. The reflective photoelectric sensor Sr2 detects the approach of a user (person) or the like.

(第2の実施形態)
次に、第2の実施形態について説明する。なお、以下では、本実施形態に特有の事項を中心に説明する。第1の実施形態において既に説明した事項については、ここでは、説明を省略する場合がある。第2の実施形態では、駅務システムは、改札機1(乗車券類の改札を行う改札機)以外の駅務機器2を含むように構成される。なお、改札機以外の駅務機器2とは、例えば、運賃等の精算を行う精算機や、乗車券類の販売を行う自動販売機や、IC型乗車券のチャージ(ストアードフェアの加算)を行うチャージ機等である。
(Second Embodiment)
Next, the second embodiment will be described. In the following, the matters peculiar to the present embodiment will be mainly described. The matters already described in the first embodiment may be omitted here. In the second embodiment, the station affairs system is configured to include station affairs equipment 2 other than the ticket gate 1 (the ticket gate for ticket gates). The station equipment 2 other than the ticket gate is, for example, a payment machine that pays for fares, a vending machine that sells tickets, and a charge for IC-type tickets (addition of stored fairs). It is a charging machine to perform.

図12は、本実施形態の駅務機器2の概略機能構成を示す機能ブロック図である。図示するように、駅務機器2は、制御部20aと、センサー部61と、情報取得部62とを備える。また、制御部20aは、死活監視部111と、業務処理部117と、通信部113と、接続制御部114とを備える。これらの各部の機能の少なくとも一部は、例えば、汎用のコンピューターとプログラムとを用いて実現可能である。また、各部の機能の少なくとも一部を、専用の電子回路等によって実現するようにしてもよい。 FIG. 12 is a functional block diagram showing a schematic functional configuration of the station service equipment 2 of the present embodiment. As shown in the figure, the station affairs device 2 includes a control unit 20a, a sensor unit 61, and an information acquisition unit 62. Further, the control unit 20a includes a life-and-death monitoring unit 111, a business processing unit 117, a communication unit 113, and a connection control unit 114. At least some of the functions of each of these parts can be realized using, for example, a general-purpose computer and a program. Further, at least a part of the functions of each part may be realized by a dedicated electronic circuit or the like.

駅務機器2における、センサー部61と、情報取得部62と、死活監視部111と、通信部113と、接続制御部114とは、それぞれ、第1実施形態におけるそれらと同様の機能を持つものである。情報取得部62は、乗車券類や、IC型乗車券(カード)や、クレジットカード等の情報を、磁気読み取り手段、電磁波に読み取り手段、あるいは光学的読み取り手段等を用いて取得する。 In the station affairs equipment 2, the sensor unit 61, the information acquisition unit 62, the life-and-death monitoring unit 111, the communication unit 113, and the connection control unit 114 each have the same functions as those in the first embodiment. Is. The information acquisition unit 62 acquires information such as tickets, IC-type tickets (cards), and credit cards by using magnetic reading means, electromagnetic wave reading means, optical reading means, and the like.

業務処理部117は、駅務機器ごとの役割に応じた業務処理の機能を持つものである。
駅務機器2が例えば精算機である場合、業務処理部117は、精算対象である乗車券類の情報を、情報取得部62から受け取る。そして、業務処理部117は、その乗車券類に関する精算処理を行うとともに、例えば精算券を発行する。なお、精算処理とは、例えば、運賃等の不足額を利用者から徴収する処理である。
また、駅務機器2が乗車券類の自動販売機である場合、業務処理部117は、ストアードフェア機能を有するICカードや、決済用のクレジットカード等の情報を、情報取得部62から受け取る。そして、業務処理部117は、利用者によって指定された乗車券類を販売する処理を行う。
また、駅務機器2がIC型乗車券のチャージを行う機器である場合、業務処理部117は、IC型乗車券の情報を、情報取得部62から受け取る。そして、業務処理部117は、IC型乗車券にチャージする(ストアードフェアの加算を行う)処理を実行する。
つまり、業務処理部117は、情報取得部62が取得した乗車券類の情報を、センターサーバー装置300に送信するとともに、乗車券類の情報に対応する応答情報をセンターサーバー装置300から受信する。
The business processing unit 117 has a business processing function according to the role of each station affairs equipment.
When the station affairs equipment 2 is, for example, a settlement machine, the business processing unit 117 receives information on tickets to be settled from the information acquisition unit 62. Then, the business processing unit 117 performs settlement processing for the tickets and issues, for example, a settlement ticket. The settlement process is, for example, a process of collecting a shortage of a fare or the like from a user.
When the station affairs equipment 2 is a vending machine for tickets, the business processing unit 117 receives information such as an IC card having a stored fair function and a credit card for payment from the information acquisition unit 62. Then, the business processing unit 117 performs a process of selling the tickets designated by the user.
Further, when the station affairs device 2 is a device for charging the IC type ticket, the business processing unit 117 receives the information of the IC type ticket from the information acquisition unit 62. Then, the business processing unit 117 executes a process of charging the IC type ticket (adding the stored fair).
That is, the business processing unit 117 transmits the ticket information acquired by the information acquisition unit 62 to the center server device 300, and receives the response information corresponding to the ticket information from the center server device 300.

図13は、本実施形態の駅務システムの構成例を示すブロック図である。図示するように、駅務システム701は、改札機1と、駅務機器2と、センターサーバー装置300と、ネットワーク91と、中継装置92とを含むように構成される。なお、駅務システム700が複数の改札機1や複数の駅務機器2を含んでもよい。また、駅務システム700が複数のセンターサーバー装置300を含んでもよい。改札機1および駅務機器2は、それぞれ、ネットワーク91を介して、センターサーバー装置300との間で通信を行うことができる。 FIG. 13 is a block diagram showing a configuration example of the station affairs system of the present embodiment. As shown in the figure, the station affairs system 701 is configured to include a ticket gate 1, a station affairs device 2, a center server device 300, a network 91, and a relay device 92. The station affairs system 700 may include a plurality of ticket gates 1 and a plurality of station affairs devices 2. Further, the station affairs system 700 may include a plurality of center server devices 300. The ticket gate 1 and the station affairs equipment 2 can each communicate with the center server device 300 via the network 91.

本実施形態における駅務機器2は、死活監視処理に関しては、第1の実施形態の改札機1と同様の振る舞いをする。つまり、死活監視部111は、センサー部61が物体を検知したときであって、且つセンターサーバー装置300との間の通信が最後に成功してから所定のインターバル時間が経過した後であるときに、死活監視メッセージをセンターサーバー装置300に送信する。また、接続制御部114は、上記の死活監視メッセージに対応する応答が所定時間内に受信されない場合に、通信の接続先を待機系のセンターサーバー装置300に切り替えるよう制御する。また、情報取得部62は、乗車券類の情報を、磁気読み取り手段と光学的読み取り手段と電磁波による読み取り手段とのうちの少なくともいずれかの手段によって取得する。そして、業務処理部117は、情報取得部62が取得した乗車券類の情報を、センターサーバー装置300に送信するとともに、乗車券類の情報に対応する応答情報をセンターサーバー装置300から受信する。 The station service equipment 2 in the present embodiment behaves in the same manner as the ticket gate 1 in the first embodiment with respect to the life-and-death monitoring process. That is, when the life-and-death monitoring unit 111 detects an object by the sensor unit 61 and after a predetermined interval time has elapsed since the last successful communication with the center server device 300. , Send a life-and-death monitoring message to the center server device 300. Further, the connection control unit 114 controls to switch the communication connection destination to the standby center server device 300 when the response corresponding to the above-mentioned life-and-death monitoring message is not received within a predetermined time. In addition, the information acquisition unit 62 acquires information on tickets by at least one of a magnetic reading means, an optical reading means, and an electromagnetic wave reading means. Then, the business processing unit 117 transmits the ticket information acquired by the information acquisition unit 62 to the center server device 300, and receives the response information corresponding to the ticket information from the center server device 300.

以上説明した少なくともひとつの実施形態によれば、駅務機器(改札機1等)は、センサー部61が物体を検知したときであって、且つセンターサーバー装置300との間の通信が最後に成功してから所定のインターバル時間が経過した後であるときに、死活監視メッセージをセンターサーバー装置300に送信する死活監視部111を持つ。これにより、駅務機器(改札機1等)が死活監視メッセージを送信する頻度を、必要性の高い場合のみに抑えることができる。つまり、システム内の通信量を抑制することができる。また、駅務機器(改札機1等)は、死活監視メッセージに対応する応答が所定時間内に受信されない場合に、通信の接続先を待機系のセンターサーバー装置300に切り替えるよう制御する接続制御部114を持つ。これにより、情報取得部62が情報を取得してその処理を開始するのに先行して(数秒でも早く)、センターサーバー装置300の切り替えを完了することができる。つまり、利用者らを待たせる度合いが相対的に小さくなる。 According to at least one embodiment described above, the station affairs equipment (ticket gate 1 etc.) is when the sensor unit 61 detects an object, and the communication with the center server device 300 is finally successful. It has a life-and-death monitoring unit 111 that transmits a life-and-death monitoring message to the center server device 300 after a predetermined interval time has elapsed. As a result, the frequency with which the station affairs equipment (ticket gate 1 or the like) transmits a life-and-death monitoring message can be suppressed only when it is highly necessary. That is, the amount of communication in the system can be suppressed. Further, the station affairs equipment (ticket gate 1 etc.) is a connection control unit that controls the communication connection destination to be switched to the standby center server device 300 when the response corresponding to the alive monitoring message is not received within a predetermined time. Has 114. As a result, the switching of the center server device 300 can be completed prior to the information acquisition unit 62 acquiring the information and starting the processing (as soon as a few seconds). That is, the degree of waiting for the users is relatively small.

なお、上述した各実施形態における改札機1、駅務機器2、センターサーバー装置300の機能の少なくとも一部を、コンピューターで実現するようにしても良い。その場合、この機能を実現するためのプログラムをコンピューター読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピューターシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピューターシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピューター読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM、DVD−ROM、USBメモリー等の可搬媒体、コンピューターシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピューター読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバーやクライアントとなるコンピューターシステム内部の揮発性メモリーのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピューターシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。 It should be noted that at least a part of the functions of the ticket gate 1, the station affairs device 2, and the center server device 300 in each of the above-described embodiments may be realized by a computer. In that case, the program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read by the computer system and executed. The term "computer system" as used herein includes hardware such as an OS and peripheral devices. The "computer-readable recording medium" is a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, a DVD-ROM, or a USB memory, or a storage device such as a hard disk built in a computer system. Say that. Further, a "computer-readable recording medium" is a communication line for transmitting a program via a network such as the Internet or a communication line such as a telephone line, and dynamically holds the program for a short period of time. It may also include a program that holds a program for a certain period of time, such as a volatile memory inside a computer system that serves as a server or a client in that case. Further, the above-mentioned program may be a program for realizing a part of the above-mentioned functions, and may be a program for realizing the above-mentioned functions in combination with a program already recorded in the computer system.

なお、上の説明で用いた用語のうち、「IC」は、集積回路(integrated circuit)の意味である。また、「乗車券類」は、鉄道等の乗車券の他に、料金券や入場券などといった各種の券を含むものである。 Of the terms used in the above description, "IC" means an integrated circuit. In addition, "tickets" include various tickets such as fare tickets and admission tickets in addition to tickets for railways and the like.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, as well as in the scope of the invention described in the claims and the equivalent scope thereof.

1…改札機(駅務機器)、2…駅務機器、10…主機、11…読取部、12…上面表示部、13…正面表示部、14…扉部、15…扉部、20,20a…制御部、30…従機、31…読取部、32…上面表示部、33…正面表示部、34…扉部、35…扉部、61…センサー部、62…情報取得部、91…ネットワーク、92…中継装置、111…死活監視部、112…改札処理部(業務処理部)、113…通信部、114…接続制御部、117…業務処理部、300,300A,300B…センターサーバー装置、700,701…駅務システム、Sr,Sr2…反射型光電センサー、St…透過型光電センサー 1 ... Ticket gate (station affairs equipment), 2 ... Station affairs equipment, 10 ... Main engine, 11 ... Reader, 12 ... Top display, 13 ... Front display, 14 ... Door, 15 ... Door, 20, 20a ... control unit, 30 ... slave unit, 31 ... reading unit, 32 ... top display unit, 33 ... front display unit, 34 ... door unit, 35 ... door unit, 61 ... sensor unit, 62 ... information acquisition unit, 91 ... network , 92 ... Relay device, 111 ... Life and death monitoring unit, 112 ... Ticket gate processing unit (business processing unit), 113 ... Communication unit, 114 ... Connection control unit 117 ... Business processing unit, 300, 300A, 300B ... Center server device, 700,701 ... station affairs system, Sr, Sr2 ... reflective photoelectric sensor, St ... transmissive photoelectric sensor

Claims (6)

物体を検知するセンサー部と、
前記センサー部が物体を検知したときであって、且つセンターサーバー装置との間の通信が最後に成功してから所定のインターバル時間が経過した後であるときに、死活監視メッセージを前記センターサーバー装置に送信する死活監視部と、
前記死活監視メッセージに対応する応答が所定時間内に受信されない場合に、通信の接続先を待機系のセンターサーバー装置に切り替えるよう制御する接続制御部と、
を備える駅務機器。
A sensor that detects an object and
When the sensor unit detects an object and a predetermined interval time has elapsed since the last successful communication with the center server device, a life-and-death monitoring message is sent to the center server device. With the life and death monitoring department to send to
A connection control unit that controls to switch the communication connection destination to the standby center server device when the response corresponding to the life-and-death monitoring message is not received within a predetermined time.
Station affairs equipment equipped with.
乗車券類の情報を取得する情報取得部と、
前記情報取得部が取得した前記乗車券類の情報を、前記センターサーバー装置に送信するとともに、前記乗車券類の情報に対応する応答情報を前記センターサーバー装置から受信する業務処理部と、
を備える請求項1に記載の駅務機器。
The information acquisition department that acquires information on tickets, and
A business processing unit that transmits information on the tickets acquired by the information acquisition unit to the center server device and receives response information corresponding to the information on the tickets from the center server device.
The station affairs equipment according to claim 1.
前記業務処理部は、前記乗車券類の情報を前記センターサーバー装置に送信するとともに、前記改札情報に対応する業務処理の結果の情報を前記センターサーバー装置から受信し、
前記改札応答は、前記乗車券類に関する可否情報を含み、
前記業務処理部は、前記可否情報に基づいて改札機の扉部の開閉を制御する、
請求項2に記載の駅務機器。
The business processing unit transmits information on the tickets to the center server device, and receives information on the result of business processing corresponding to the ticket gate information from the center server device.
The ticket gate response includes availability information regarding the tickets.
The business processing unit controls the opening and closing of the door portion of the ticket gate based on the availability information.
The station affairs equipment according to claim 2.
前記センサー部は、前記駅務機器の長手方向の端部に設けた反射型光電センサーによって略前記長手方向に接近する前記物体を検知する、
請求項1から3までのいずれか一項に記載の駅務機器。
The sensor unit detects the object approaching substantially in the longitudinal direction by a reflective photoelectric sensor provided at the end in the longitudinal direction of the station equipment.
The station affairs equipment according to any one of claims 1 to 3.
請求項1から4までのいずれか一項に記載の駅務機器から送信される死活監視メッセージを受信するとともに、前記死活監視メッセージに対応する死活応答メッセージを前記駅務機器に対して送信する、
センターサーバー装置。
A life-and-death monitoring message transmitted from the station affairs device according to any one of claims 1 to 4 is received, and a life-and-death response message corresponding to the life-and-death monitoring message is transmitted to the station affairs device.
Center server device.
物体を検知するセンサー部、
を備えるコンピューターに、
前記センサー部が物体を検知したときであって、且つセンターサーバー装置との間の通信が最後に成功してから所定のインターバル時間が経過した後であるときに、死活監視メッセージを前記センターサーバー装置に送信する死活監視部と、
前記死活監視メッセージに対応する応答が所定時間内に受信されない場合に、通信の接続先を待機系のセンターサーバー装置に切り替えるよう制御する接続制御部と、
の機能を実行させるためのプログラム。
Sensor unit that detects objects,
To a computer equipped with
When the sensor unit detects an object and a predetermined interval time has elapsed since the last successful communication with the center server device, a life-and-death monitoring message is sent to the center server device. With the life and death monitoring department to send to
A connection control unit that controls to switch the communication connection destination to the standby center server device when the response corresponding to the life-and-death monitoring message is not received within a predetermined time.
A program for executing the functions of.
JP2020074756A 2020-04-20 2020-04-20 Station equipment, center server equipment, and programs Active JP7419150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020074756A JP7419150B2 (en) 2020-04-20 2020-04-20 Station equipment, center server equipment, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020074756A JP7419150B2 (en) 2020-04-20 2020-04-20 Station equipment, center server equipment, and programs

Publications (2)

Publication Number Publication Date
JP2021174055A true JP2021174055A (en) 2021-11-01
JP7419150B2 JP7419150B2 (en) 2024-01-22

Family

ID=78281795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020074756A Active JP7419150B2 (en) 2020-04-20 2020-04-20 Station equipment, center server equipment, and programs

Country Status (1)

Country Link
JP (1) JP7419150B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480713B2 (en) 2000-12-15 2009-01-20 International Business Machines Corporation Method and system for network management with redundant monitoring and categorization of endpoints
JP2009169554A (en) 2008-01-12 2009-07-30 Japan Port & Harbour Association Entry/exiting control system
JP6567369B2 (en) 2015-09-10 2019-08-28 株式会社東芝 Ticket gate monitoring system
US10613504B2 (en) 2016-07-05 2020-04-07 Feedback Solutions Inc. Methods and systems for determining occupancy of a zone in a building
JP6750979B2 (en) 2016-08-23 2020-09-02 株式会社東芝 Automatic ticket gate system, railway use management system, and program
JP6861533B2 (en) 2017-02-17 2021-04-21 三菱電機株式会社 Processing equipment, duplication system, processing method, and processing program

Also Published As

Publication number Publication date
JP7419150B2 (en) 2024-01-22

Similar Documents

Publication Publication Date Title
CN109360314A (en) Reserve access method, system, computer equipment and storage medium
US20080033880A1 (en) Techniques for authorization of usage of a payment device
CN106464724B (en) Transport system user inspection
US20100001063A1 (en) Transaction override using radio frequency identification
CN101256689A (en) Lottery ticket self-help betting system
US20090166419A1 (en) Systems, methods, and computer program products for mitigating signal noise at a wireless smart device reader
CA2596308A1 (en) Walkaway crediting
JP2021174055A (en) Station service device, center server apparatus, and program
US20150269572A1 (en) Automatic data transfer
JP6368261B2 (en) Authentication system and authentication method
JP2019046352A (en) Station service equipment, station service system, and fare adjustment processing method
RU2274894C2 (en) Method for registering user in confidential unit for remote servicing
JP6813638B2 (en) server
KR101901644B1 (en) Apparatus for managing universal subscriber identity module and monitoring program
US11341592B2 (en) Vehicle authentication method, recording medium storing program, terminal device, and vehicle authentication system
JP2006031288A (en) Medium processing apparatus and medium processing system
WO2017159598A1 (en) Ticket-gate management device and automatic ticket-gate system
KR101588194B1 (en) Management equipment of traffic gate
JP7409170B2 (en) Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program
KR20030007338A (en) System for controlling mobile device having credit card IC chip and method for credit card payment using the same
CN106600847A (en) Citizen card management platform and method thereof
KR101986562B1 (en) Traffic-card integration management system
JP2019046354A (en) Settlement determination server, station service system, and settlement determination method
JPH06266737A (en) Data communication system
JP2017162199A (en) Station duty system and ticket issuance system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231109

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240110

R150 Certificate of patent or registration of utility model

Ref document number: 7419150

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150