Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7409170B2 - Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program - Google Patents
[go: Go Back, main page]

JP7409170B2 - Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program - Google Patents

Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program Download PDF

Info

Publication number
JP7409170B2
JP7409170B2 JP2020041464A JP2020041464A JP7409170B2 JP 7409170 B2 JP7409170 B2 JP 7409170B2 JP 2020041464 A JP2020041464 A JP 2020041464A JP 2020041464 A JP2020041464 A JP 2020041464A JP 7409170 B2 JP7409170 B2 JP 7409170B2
Authority
JP
Japan
Prior art keywords
communication
ticket gate
unit
ticket
server
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.)
Active
Application number
JP2020041464A
Other languages
Japanese (ja)
Other versions
JP2021144372A (en
Inventor
拓朗 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2020041464A priority Critical patent/JP7409170B2/en
Publication of JP2021144372A publication Critical patent/JP2021144372A/en
Application granted granted Critical
Publication of JP7409170B2 publication Critical patent/JP7409170B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

この発明は、駅の改札口に設置されている自動改札機での改札処理にかかる技術に関する。 The present invention relates to technology related to ticket processing at automatic ticket gates installed at station ticket gates.

従来、電鉄会社は、駅の改札口に設置された自動改札機で、駅構内に入場する利用者や、駅構内から出場する利用者に対する改札処理を行っている。 Conventionally, electric railway companies use automatic ticket gates installed at the ticket gates of stations to process tickets for users entering and exiting the station premises.

また、最近では、ネットワークを介して複数の自動改札機をサーバに接続し、このサーバにおいて、接続されている複数の自動改札機を制御するシンクライアント方式の改札システムが検討されている(例えば、特許文献1参照)。このシンクライアント方式の改札システムは、サーバが、乗車券媒体であるICカードに対する乗車券情報の読み書き(Read/Write)等を自動改札機に指示する。また、このサーバが、運賃計算、改札通路の通行可否の判定等を行い、その結果を自動改札機に通知する。すなわち、自動改札機は、運賃計算、改札通路の通行可否の判定等を行わず、サーバからの指示にしたがって動作する。 Recently, thin client ticket gate systems are being considered, in which multiple automatic ticket gates are connected to a server via a network, and this server controls the connected multiple automatic ticket gates (for example, (See Patent Document 1). In this thin client type ticket gate system, a server instructs an automatic ticket gate to read/write ticket information on an IC card as a ticket medium. This server also calculates fares, determines whether or not the ticket gate passageway is passable, and notifies the automatic ticket gate of the results. In other words, the automatic ticket gate operates according to instructions from the server without calculating fares or determining whether or not the ticket gate is passable.

特開2019- 46352号公報Unexamined Japanese Patent Publication No. 2019-46352

しかしながら、特許文献1に記載されたシンクライアント方式の改札システムは、複数の駅に設置されている多くの自動改札機がサーバに接続されることから、例えばサーバが障害の発生によりダウンしたり、このサーバと自動改札機との通信に使用しているネットワークに障害が発生したりしたときに、自動改札機はサーバと通信が行えない状態になる。したがって、サーバが障害の発生によりダウンしたり、このサーバと自動改札機との通信に使用しているネットワークに障害が発生したりすると、複数の駅で自動改札機が停止する。この場合、利用者に対する改札処理が停止するので、利用者が駅構内に入場したり、駅構内から出場したりすることができない事態になり、利用者の利便性を低下させる。 However, in the thin-client ticket gate system described in Patent Document 1, many automatic ticket gates installed at multiple stations are connected to a server, so the server may go down due to a failure, for example. When a failure occurs in the network used for communication between the server and the automatic ticket gate, the automatic ticket gate becomes unable to communicate with the server. Therefore, if the server goes down due to a failure, or if a failure occurs in the network used for communication between the server and the automatic ticket gates, the automatic ticket gates will stop working at multiple stations. In this case, the ticket inspection process for the user is stopped, resulting in a situation where the user cannot enter or exit the station premises, reducing convenience for the user.

なお、上位サーバと自動改札機との通信が途切れた状態になっても、列車の運行が停止されるわけではない。 Note that even if communication between the host server and the automatic ticket gate is interrupted, train service will not be stopped.

この発明の目的は、上位サーバと自動改札機との間で通信が行えない通信不良状態になっても、利用者の利便性を低下させるのを防止できる技術を提供することにある。 An object of the present invention is to provide a technology that can prevent the user's convenience from being degraded even if a communication failure occurs between a host server and an automatic ticket gate.

この発明の自動改札機は、上記目的を達成するため以下に示すように構成している。 The automatic ticket gate of the present invention is configured as shown below in order to achieve the above object.

媒体処理部が、改札通路を通行する利用者が読取領域に翳した乗車券媒体の識別コードを読み取る。通信部が、媒体処理部が読み取った乗車券媒体の識別コードを上位サーバに送信し、当該上位サーバから改札通路における利用者の通行可否の判定結果を含む処理結果を受信する。通行制御部が、通信部で受信した処理結果に基づき、改札通路における利用者の通行を制限する。 The medium processing section reads the identification code of the ticket medium held over the reading area by the user passing through the ticket gate passage. The communication unit transmits the identification code of the ticket medium read by the medium processing unit to the higher-level server, and receives a processing result including a determination result of whether or not the user can pass through the ticket gate passage from the higher-level server. The traffic control unit restricts the passage of users through the ticket gate passage based on the processing result received by the communication unit.

また、通信状態検出部が、通信部で上位サーバと通信が行えない通信不良状態であるかどうかを検出する。例えば上位サーバが障害の発生によりダウンしているときや、上位サーバとの通信に使用しているネットワークに障害が発生しているとき等に、通信部で上位サーバと通信が行えない。 Further, the communication state detection unit detects whether the communication unit is in a poor communication state where it cannot communicate with the host server. For example, when the higher-level server is down due to a failure, or when a failure occurs in the network used to communicate with the higher-level server, the communication unit cannot communicate with the higher-level server.

通行制御部は、通信状態検出部が通信不良状態であることを検出しているとき、媒体処理部で読み取った乗車券媒体の識別コードを含む未処理通行情報を未処理通行情報記憶部に記憶させ、改札通路における利用者の通行を許可する。また、通信部は、通信状態検出部において通信不良状態の解消が検出されると、未処理通行情報記憶部に記憶している未処理通行情報を上位サーバに送信する。 The traffic control unit stores unprocessed traffic information including the identification code of the ticket medium read by the medium processing unit in the unprocessed traffic information storage unit when the communication state detection unit detects a poor communication state. and allow users to pass through the ticket gates. Furthermore, when the communication state detection section detects that the poor communication state has been resolved, the communication section transmits the unprocessed traffic information stored in the unprocessed traffic information storage section to the higher-level server.

この構成によれば、上位サーバが障害の発生によりダウンしたり、この上位サーバとの通信に使用しているネットワークに障害が発生したりして、上位サーバと通信できない通信不良状態になっても、利用者は乗車券媒体を読取領域に翳すことによって改札通路を通行できる。したがって、利用者の利便性を低下させることがない。また、通信不良状態が解消すると、通信不良状態であった期間に改札通路を通行させた利用者の情報(未処理通行情報)を上位サーバに送信するので、上位サーバで利用者の利用区間を適正に取得できる。 According to this configuration, even if the higher-level server goes down due to a failure or the network used to communicate with the higher-level server has a failure, resulting in a communication failure that prevents communication with the higher-level server, , the user can pass through the ticket gate by holding the ticket medium over the reading area. Therefore, the user's convenience is not reduced. In addition, when the poor communication condition is resolved, the information of the users who passed through the ticket gate passage during the period of poor communication condition (unprocessed traffic information) is sent to the higher-level server, so the higher-level server can check the section used by the user. Can be obtained appropriately.

また、媒体処理部は、例えば、通信状態検出部が通信不良状態でないことを検出しているとき、上位サーバからの読取指示にしたがって、読取領域内に位置する乗車券媒体に対して識別コードの読み取りを行い、通信状態検出部が通信不良状態であることを検出しているとき、予め定められたタイミングで繰り返し、読取領域内に位置する乗車券媒体に対して識別コードの読み取りを行う、構成にしてもよい。 In addition, for example, when the communication status detection unit detects that there is no poor communication, the media processing unit applies an identification code to the ticket media located within the reading area in accordance with a reading instruction from the host server. A configuration in which, when reading is performed and the communication state detection unit detects a poor communication state, the identification code is repeatedly read from the ticket medium located within the reading area at a predetermined timing. You can also do this.

また、この場合、通信状態検出部は、上位サーバからの読取指示が閾値時間を超えて途切れたとき、通信不良状態であると検出する、構成にしてもよい。 Further, in this case, the communication state detection unit may be configured to detect a poor communication state when the reading instruction from the host server is interrupted for a period exceeding a threshold time.

また、媒体処理部を、例えば、通信部で上位サーバから受信した処理結果に含まれている利用情報を乗車券媒体に書き込む、構成にしてもよい。 Further, the medium processing section may be configured to write usage information included in the processing result received from the host server by the communication section onto the ticket medium, for example.

この場合、処理結果に含まれている利用情報を暗号化し、媒体処理部が、暗号化されている利用情報を乗車券媒体に書き込む構成にしてもよい。 In this case, the usage information included in the processing result may be encrypted, and the medium processing section may write the encrypted usage information on the ticket medium.

また、上位サーバは、例えば、乗車券媒体の識別コードと、その乗車券媒体の利用履歴とを対応付けて記憶する利用履歴記憶部と、自動改札機から送信されてきた乗車券媒体の識別コードを受信すると、利用履歴記憶部に記憶している該当する乗車券媒体の利用履歴を参照して、改札通路における利用者の通行可否が判定された判定結果を含む処理結果を自動改札機に送信する通信部と、通信部が自動改札機に送信した処理結果に応じて、利用履歴記憶部に記憶している該当する乗車券媒体の利用履歴を更新する利用履歴更新部と、を備える構成にすればよい。 The host server also includes, for example, a usage history storage unit that stores the identification code of the ticket medium and the usage history of the ticket medium in association with each other, and the identification code of the ticket medium sent from the automatic ticket gate. When receiving the ticket, it refers to the usage history of the corresponding ticket medium stored in the usage history storage unit and sends the processing result including the determination result of whether or not the user can pass through the ticket gate passageway to the automatic ticket gate. and a usage history updating unit that updates the usage history of the corresponding ticket medium stored in the usage history storage unit according to the processing result transmitted by the communication unit to the automatic ticket gate. do it.

このように構成すれば、上位サーバで、利用者の利用履歴を管理することができる。 With this configuration, the user's usage history can be managed by the higher-level server.

また、利用履歴更新部は、通信部で未処理通行情報を受信すると、この未処理通行情報に応じて該当する乗車券媒体の利用履歴を更新する構成にするのが好ましい。 Further, it is preferable that the usage history updating unit is configured to update the usage history of the corresponding ticket medium in accordance with the unprocessed traffic information when the communication unit receives the unprocessed traffic information.

この発明によれば、上位サーバと自動改札機との間で通信が行えない通信不良状態になっても、利用者の利便性を低下させるのを防止できる。 According to this invention, even if there is a communication failure state in which communication cannot be performed between the host server and the automatic ticket gate, it is possible to prevent the user's convenience from being degraded.

この例にかかる改札システムの構成を示す概略図である。FIG. 1 is a schematic diagram showing the configuration of a ticket gate system according to this example. 判定用サーバの主要部の構成を示すブロック図である。It is a block diagram showing the composition of the main part of the server for judgment. 自動改札機の主要部の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the main parts of an automatic ticket gate. 自動改札機の動作を示すフローチャートである。It is a flowchart showing the operation of an automatic ticket gate. 自動改札機の通常時モードの動作を示すフローチャートである。2 is a flowchart showing the operation of the automatic ticket gate in normal mode. 自動改札機の障害発生時モードの動作を示すフローチャートである。3 is a flowchart showing the operation of the automatic ticket gate in a failure mode. 判定用サーバの動作を示すフローチャートである。It is a flowchart which shows the operation|movement of the server for determination.

以下、この発明の実施形態について説明する。 Embodiments of this invention will be described below.

<1.適用例>
図1は、この例にかかる改札システムの構成を示す概略図である。この例の改札システムは、シンクライアント方式の改札システムである。この例の改札システムは、判定用サーバ1と、複数の自動改札機5とを備えている。判定用サーバ1が、この発明で言う上位サーバに相当する。
<1. Application example>
FIG. 1 is a schematic diagram showing the configuration of a ticket gate system according to this example. The ticket gate system in this example is a thin client type ticket gate system. The ticket gate system of this example includes a determination server 1 and a plurality of automatic ticket gates 5. The determination server 1 corresponds to the upper level server in the present invention.

自動改札機5は、複数の駅の改札口に設置されている。図1では、A駅、およびB駅の2つを例示している。判定用サーバ1には、ネットワーク3を介して、各駅に設置されている複数の自動改札機5が接続されている。 Automatic ticket gates 5 are installed at ticket gates of multiple stations. In FIG. 1, two stations, A station and B station, are illustrated. A plurality of automatic ticket gates 5 installed at each station are connected to the determination server 1 via a network 3.

判定用サーバ1は、自動改札機5に対して、乗車券媒体であるICカードに記憶されている乗車券情報の読み取り、このICカードに対する乗車券情報の書き込みを指示する。ICカードには、そのICカードを識別する識別コードと、乗車券情報とが記録されている。ICカードに記録されている識別コードは暗号化されていないが、ICカードに記録されている乗車券情報は暗号化されている。 The determination server 1 instructs the automatic ticket gate 5 to read the ticket information stored in the IC card as the ticket medium and to write the ticket information to the IC card. An identification code for identifying the IC card and ticket information are recorded on the IC card. Although the identification code recorded on the IC card is not encrypted, the ticket information recorded on the IC card is encrypted.

自動改札機5は、暗号化されている乗車券情報を複合化するための複合鍵を記憶していない。したがって、自動改札機5は、ICカードから読み取った乗車券情報を復号化できない。ただし、自動改札機5は、ICカードの識別コードについては、暗号化されていないので取得できる。自動改札機5は、ICカードから読み取った識別コード、および乗車券情報(暗号化されている乗車券情報)を判定用サーバ1に送信する。 The automatic ticket gate 5 does not store a decoding key for decoding encrypted ticket information. Therefore, the automatic ticket gate 5 cannot decode the ticket information read from the IC card. However, the automatic ticket gate 5 can obtain the identification code of the IC card since it is not encrypted. The automatic ticket gate 5 transmits the identification code read from the IC card and ticket information (encrypted ticket information) to the determination server 1.

判定用サーバ1が、自動改札機5から受信した乗車券情報を複合化し、利用者に対する運賃計算等を行い、ICカードに書き込む乗車券情報を暗号化して、自動改札機5に通知する。自動改札機5は、判定用サーバ1から通知された乗車券情報(暗号化された乗車券情報)をICカードに書き込む。また、判定用サーバ1は、改札通路における利用者の通行可否を判定した判定結果も自動改札機5に通知している。自動改札機5は、判定用サーバ1から通知された通行可否の判定結果に応じて、改札通路における利用者の通行を制御する(この利用者にとっての改札通路の出口側に位置する扉の開閉を制御する。)。また、判定用サーバ1は、ICカード毎に、そのICカードの利用履歴を記憶する。 The determination server 1 decodes the ticket information received from the automatic ticket gate 5, performs fare calculations for the user, encrypts the ticket information to be written on the IC card, and notifies the automatic ticket gate 5 of the same. The automatic ticket gate 5 writes the ticket information (encrypted ticket information) notified from the determination server 1 into the IC card. The determination server 1 also notifies the automatic ticket gate 5 of the determination result of whether or not the user can pass through the ticket gate passage. The automatic ticket gate 5 controls the passage of users through the ticket gate passage according to the judgment result of passability notified from the judgment server 1 (opening/closing of the door located on the exit side of the ticket passage for this user). ). Further, the determination server 1 stores the usage history of each IC card.

この例の改札システムでは、自動改札機5は、判定用サーバ1が発生した障害によってダウンしたり、ネットワーク3に障害が発生したりして、判定用サーバ1と通信が行えない通信不良状態であることを検出すると、利用者が所有するICカードに対して識別コードの読み取りを行う。自動改札機5は、識別コードを読み取ったICカードを所有する利用者が改札通路を通行するのを許可するとともに、今回読み取ったICカードの識別コードを含む未処理通行情報を記憶する。 In the ticket gate system of this example, the automatic ticket gate 5 is in a communication failure state where it is unable to communicate with the determination server 1 because the determination server 1 is down due to a failure or a failure occurs in the network 3. If something is detected, the identification code is read from the user's IC card. The automatic ticket gate 5 allows the user who owns the IC card whose identification code has been read to pass through the ticket gate passage, and stores unprocessed passage information including the identification code of the IC card read this time.

したがって、この例の改札システムは、判定用サーバ1と自動改札機5との間で通信が行えない通信不良状態であるときも、利用者が駅構内に入場したり、駅構内から出場したりすることができ、利用者の利便性を低下させるのを防止できる。 Therefore, in the ticket gate system of this example, even when there is a communication failure in which communication is not possible between the judgment server 1 and the automatic ticket gate 5, the user cannot enter the station premises or leave the station premises. Therefore, it is possible to prevent the user's convenience from being degraded.

また、自動改札機5は、通信不良状態が解消すると、通信不良状態の間に読み取ったICカードの識別コードを含む未処理通行情報を、判定用サーバ1に送信する。判定用サーバ1は、未処理通行情報を処理することにより、通信不良状態であるときに自動改札機5の改札通路を通行した利用者が所有するICカードの識別コードを取得できる。すなわち、判定用サーバ1は、通信不良状態が生じても、利用者の利用区間を適正に取得できる。 Further, when the poor communication state is resolved, the automatic ticket gate 5 transmits unprocessed traffic information including the identification code of the IC card read during the poor communication state to the determination server 1. By processing the unprocessed traffic information, the determination server 1 can acquire the identification code of the IC card owned by the user who passed through the ticket gate passage of the automatic ticket gate 5 when there was a communication failure state. In other words, the determination server 1 can appropriately acquire the usage section of the user even if a communication failure occurs.

<2.構成例>
図2は、判定用サーバの主要部の構成を示すブロック図である。判定用サーバ1は、制御ユニット11と、利用履歴データベース12(利用履歴DB12)と、未処理通行情報記憶部13と、通信ユニット14と、を備えている。
<2. Configuration example>
FIG. 2 is a block diagram showing the configuration of the main parts of the determination server. The determination server 1 includes a control unit 11, a usage history database 12 (usage history DB 12), an unprocessed traffic information storage section 13, and a communication unit 14.

制御ユニット11は、判定用サーバ1本体各部の動作を制御する。また、制御ユニット11は、運賃算出部11a、未処理判定部11b、処理結果生成部11c、および利用履歴更新部11dを有している。制御ユニット11が有する運賃算出部11a、未処理判定部11b、処理結果生成部11c、および利用履歴更新部11dについては後述する。 The control unit 11 controls the operation of each part of the main body of the determination server 1. The control unit 11 also includes a fare calculation section 11a, an unprocessed determination section 11b, a processing result generation section 11c, and a usage history update section 11d. The fare calculation unit 11a, unprocessed determination unit 11b, processing result generation unit 11c, and usage history update unit 11d included in the control unit 11 will be described later.

利用履歴DB12は、ICカード毎に(ICカードの識別コード毎に)、そのICカードの利用履歴を登録したデータベースである。利用履歴は、ICカードの利用毎に、その利用内容を示す利用データを登録したものである。利用データには、例えば、利用日時、利用駅、入退場の種別、その時点における価値残高等が含まれている。未処理通行情報記憶部13は、自動改札機5から通知された未処理通行情報を記憶する。通信ユニット14は、自動改札機5との間における通信を制御する。 The usage history DB 12 is a database in which usage history of the IC card is registered for each IC card (for each IC card identification code). The usage history is a record of usage data indicating usage details for each use of the IC card. The usage data includes, for example, the date and time of usage, the station used, the type of entry/exit, and the value balance at that time. The unprocessed traffic information storage unit 13 stores the unprocessed traffic information notified from the automatic ticket gate 5. The communication unit 14 controls communication with the automatic ticket gate 5.

制御ユニット11が有する運賃算出部11a、未処理判定部11b、処理結果生成部11c、および利用履歴更新部11dについて説明する。 The fare calculation unit 11a, unprocessed determination unit 11b, processing result generation unit 11c, and usage history update unit 11d included in the control unit 11 will be described.

運賃算出部11aは、利用者の鉄道の利用区間に対する運賃の算出を行う。未処理判定部11bは、自動改札機5から乗車券情報が送信されてきたICカードの識別コードの未処理通行情報が未処理通行情報記憶部13に記憶されているかどうかを判定する。処理結果生成部11cは、自動改札機5から乗車券情報が送信されてきたICカードを所有する利用者に対する改札通路の通行可否を判定するとともに、このICカードに記録する乗車券情報を生成する。処理結果生成部11cは、通行可否の判定結果、およびICカードに記録する乗車券情報を含む処理結果を生成する。利用履歴更新部11dは、ICカードの利用に応じて、その利用にかかる利用データを利用履歴DB12に追加登録する。 The fare calculation unit 11a calculates the fare for the section of railway used by the user. The unprocessed determining unit 11b determines whether the unprocessed traffic information of the identification code of the IC card to which the ticket information has been transmitted from the automatic ticket gate 5 is stored in the unprocessed traffic information storage unit 13. The processing result generation unit 11c determines whether or not a user who owns an IC card whose ticket information has been transmitted from the automatic ticket gate 5 can pass through the ticket gate passage, and also generates ticket information to be recorded on this IC card. . The processing result generation unit 11c generates a processing result including a determination result as to whether the vehicle is allowed to pass and ticket information to be recorded on the IC card. The usage history updating unit 11d additionally registers usage data related to the usage in the usage history DB 12 in accordance with usage of the IC card.

判定用サーバ1の制御ユニット11は、ハードウェアCPU、メモリ、その他の電子回路によって構成されている。ハードウェアCPUが、予めインストールされている処理プログラムを実行したときに、運賃算出部11a、未処理判定部11b、処理結果生成部11c、および利用履歴更新部11dとして動作する。また、メモリは、処理プログラムを展開する領域や、この処理プログラムの実行時に生じたデータ等を一時記憶する領域を有している。制御ユニット11は、ハードウェアCPU、メモリ等を一体化したLSIであってもよい。 The control unit 11 of the determination server 1 is comprised of a hardware CPU, memory, and other electronic circuits. When the hardware CPU executes a processing program installed in advance, it operates as a fare calculation section 11a, an unprocessed determination section 11b, a processing result generation section 11c, and a usage history update section 11d. The memory also has an area for developing a processing program and an area for temporarily storing data generated during execution of this processing program. The control unit 11 may be an LSI integrated with a hardware CPU, memory, and the like.

図3は、自動改札機の主要部の構成を示すブロック図である。自動改札機5は、制御ユニット51と、ICカードR/W52と、利用者検知部53と、表示部54と、扉開閉部55と、未処理通行情報記憶部56と、通信部57とを備えている。 FIG. 3 is a block diagram showing the configuration of the main parts of the automatic ticket gate. The automatic ticket gate 5 includes a control unit 51, an IC card R/W 52, a user detection section 53, a display section 54, a door opening/closing section 55, an unprocessed traffic information storage section 56, and a communication section 57. We are prepared.

制御ユニット51は、自動改札機5本体各部の動作を制御する。自動改札機5の制御ユニット51は、通信状態検出部51a、および通行制御部51bを有している。 The control unit 51 controls the operation of each part of the automatic ticket gate 5 main body. The control unit 51 of the automatic ticket gate 5 includes a communication state detection section 51a and a traffic control section 51b.

通信状態検出部51aは、ネットワーク3を介して判定用サーバ1との間で通信が行えない通信不良状態であるかどうかを検出する。この例では、判定用サーバ1は、ネットワーク3を介して接続される各自動改札機5に対して、ICカードに記録されている乗車券情報の読み取りを指示する読取指示コマンドを一定時間間隔(例えば、数十msec間隔)で繰り返し送信している。通信状態検出部51aは、この読取指示コマンドが閾値時間(例えば、数秒)を超えて途切れたとき、通信不良状態であると検出する。また、通信状態検出部51aは、通信不良状態であることを検出しているときに、判定用サーバ1から読取指示コマンドを受信すると、通信不良状態が解消したことを検出する。 The communication state detection unit 51a detects whether or not there is a communication failure state in which communication cannot be performed with the determination server 1 via the network 3. In this example, the determination server 1 sends a read instruction command to each automatic ticket gate 5 connected via the network 3 at regular intervals ( For example, the data is repeatedly transmitted at intervals of several tens of milliseconds. The communication state detection unit 51a detects a poor communication state when the reading instruction command is interrupted for a period exceeding a threshold time (for example, several seconds). Furthermore, when the communication state detection unit 51a receives a read instruction command from the determination server 1 while detecting a poor communication state, it detects that the poor communication state has been resolved.

通行制御部51bは、後述する扉開閉部55を制御して、改札通路における利用者の通行を制限(許可、または禁止)する。 The traffic control unit 51b controls a door opening/closing unit 55, which will be described later, to restrict (permit or prohibit) the passage of users through the ticket gate passage.

自動改札機5の制御ユニット51は、ハードウェアCPU、メモリ、その他の電子回路によって構成されている。ハードウェアCPUが、この発明にかかる改札プログラムを実行したときに、通信状態検出部51a、および通行制御部51bとして動作する。また、メモリは、改札プログラムを展開する領域や、この改札プログラムの実行時に生じたデータ等を一時記憶する領域を有している。制御ユニット51は、ハードウェアCPU、メモリ等を一体化したLSIであってもよい。また、ハードウェアCPUが、この発明にかかる改札方法を実行するコンピュータである。 The control unit 51 of the automatic ticket gate 5 includes a hardware CPU, memory, and other electronic circuits. When the hardware CPU executes the ticket inspection program according to the present invention, it operates as the communication state detection section 51a and the traffic control section 51b. The memory also has an area for developing the ticket inspection program and an area for temporarily storing data generated when the ticket inspection program is executed. The control unit 51 may be an LSI integrated with a hardware CPU, memory, and the like. Further, the hardware CPU is a computer that executes the ticket inspection method according to the present invention.

ICカードR/W52は、乗車券媒体であるICカードに対する乗車券情報の読み取り、書き込みを行う。ICカードR/W52は、無線通信エリアがアンテナから数cmの範囲であり、利用者が無線通信エリア内に翳したICカードとの無線通信により、ICカードに対する乗車券情報の読み取り、書き込みを行う。自動改札機5は、無線通信エリアが改札通路の入口付近になるようにアンテナを設けている。乗車券として使用されるICカードについては、周知であるので、ここでは詳細な説明を省略する。 The IC card R/W 52 reads and writes ticket information to and from an IC card, which is a ticket medium. The IC card R/W 52 has a wireless communication area within several centimeters from the antenna, and the user reads and writes ticket information on the IC card through wireless communication with the IC card held within the wireless communication area. . The automatic ticket gate 5 is provided with an antenna so that the wireless communication area is near the entrance of the ticket gate passageway. Since IC cards used as tickets are well known, detailed explanation will be omitted here.

利用者検知部53は、改札通路における利用者の通行方向に沿って並べた複数のセンサにより、改札通路を通行している利用者の位置を検知する。表示部54は、改札通路に進入した利用者に対するメッセージを表示器に表示する。扉開閉部55は、通行制御部51bの指示にしたがって、改札通路を通行している利用者の出口側に位置する扉を開閉する。 The user detection unit 53 detects the position of a user passing through the ticket gate passageway using a plurality of sensors arranged along the direction in which the user passes through the ticket gate passageway. The display unit 54 displays a message for the user who has entered the ticket gate passage. The door opening/closing section 55 opens and closes the door located on the exit side of users passing through the ticket gate passageway according to instructions from the traffic control section 51b.

未処理通行情報記憶部56は、通信状態検出部51aが通信不良状態であると検出しているときに、ICカードR/W52で読み取ったICカードの識別コードを含む未処理通行情報を記憶する。通信部57は、判定用サーバ1との間における通信を制御する。 The unprocessed traffic information storage unit 56 stores unprocessed traffic information including the identification code of the IC card read by the IC card R/W 52 when the communication state detection unit 51a detects a communication failure state. . The communication unit 57 controls communication with the determination server 1.

<3.動作例>
以下、この発明の改札システムの動作について説明する。図4は、自動改札機の動作を示すフローチャートである。この例の自動改札機5は、判定用サーバ1と通信が行えているとき通常時モードで動作し、判定用サーバ1と通信が行えないとき、障害発生時モードで動作する。
<3. Operation example>
The operation of the ticket gate system of the present invention will be explained below. FIG. 4 is a flowchart showing the operation of the automatic ticket gate. The automatic ticket gate 5 in this example operates in the normal mode when it can communicate with the determination server 1, and operates in the failure mode when it cannot communicate with the determination server 1.

自動改札機5は、通常時モードで動作を開始する(s1)。自動改札機5は、通信状態検出部51aにおいて判定用サーバ1と通信が行えない通信不良状態であることが検出されるまで(s2)、通常時モードで動作する。自動改札機5は、通信状態検出部51aにおいて判定用サーバ1と通信が行えない通信不良状態であることが検出されると、通常時モードから障害発生時モードに移行する(s3)。自動改札機5は、通信状態検出部51aにおいて通信不良状態の解消が検出されるまで(s4)、障害発生時モードで動作する。障害発生時モードでは、自動改札機5は、ICカードR/W52で読み取ったICカードの識別コードを含む未処理通行情報を未処理通行情報記憶部56に記憶する。自動改札機5は、通信状態検出部51aにおいて通信不良状態の解消が検出されると、未処理通行情報記憶部56に記憶している未処理通行情報を判定用サーバ1に送信し(s5)、障害発生時モードから通常時モードに移行する(s1)。 The automatic ticket gate 5 starts operating in normal mode (s1). The automatic ticket gate 5 operates in the normal mode until the communication state detection unit 51a detects a communication failure state in which communication with the determination server 1 cannot be performed (s2). When the communication state detection unit 51a detects that the automatic ticket gate 5 is in a communication failure state in which communication with the determination server 1 cannot be performed, the automatic ticket gate 5 shifts from the normal mode to the failure mode (s3). The automatic ticket gate 5 operates in the fault occurrence mode until the communication state detection unit 51a detects that the poor communication state has been resolved (s4). In the failure mode, the automatic ticket gate 5 stores unprocessed traffic information including the identification code of the IC card read by the IC card R/W 52 in the unprocessed traffic information storage section 56. When the communication state detection unit 51a detects that the poor communication state has been resolved, the automatic ticket gate 5 transmits the unprocessed traffic information stored in the unprocessed traffic information storage unit 56 to the determination server 1 (s5). , the mode shifts from the failure mode to the normal mode (s1).

通信状態検出部51aは、この例では、判定用サーバ1からの読取指示コマンドが閾値時間(例えば、数秒)を超えて途切れたとき、通信不良状態であることを検出する。また、通信状態検出部51aは、通信不良状態であることを検出しているときに、判定用サーバ1から読取指示コマンドを受信すると、通信不良状態が解消したことを検出する。 In this example, the communication state detection unit 51a detects a poor communication state when the read instruction command from the determination server 1 is interrupted for more than a threshold time (for example, several seconds). Furthermore, when the communication state detection unit 51a receives a read instruction command from the determination server 1 while detecting a poor communication state, it detects that the poor communication state has been resolved.

図5は、自動改札機の通常時モードの動作を示すフローチャートである。上記したように、判定用サーバ1は、ネットワーク3を介して接続される各自動改札機5に対して、ICカードに記録されている乗車券情報の読み取りを指示する読取指示コマンドを一定時間間隔(例えば、数十msec間隔)で繰り返し送信している。 FIG. 5 is a flowchart showing the operation of the automatic ticket gate in normal mode. As described above, the determination server 1 sends a read instruction command to each automatic ticket gate 5 connected via the network 3 at regular intervals to instruct the automatic ticket gates 5 to read the ticket information recorded on the IC card. (for example, at intervals of several tens of milliseconds).

自動改札機5は、判定用サーバ1からの読取指示コマンドにしたがって、ICカードR/W52が無線通信エリア内に位置するICカード(利用者が無線通信エリア内に翳したICカード)に対して応答を要求するポーリングを繰り返し行う。自動改札機5は、ICカードR/W52において無線通信エリア内に翳されたICカードから乗車券情報を読み取ると、今回読み取った乗車券情報を含む判定用情報を判定用サーバ1に送信する(s11、s12)。s12では、今回読み取った乗車券情報に、この乗車券情報を読み取った日時、自機(自動改札機5)を識別する号機番号、自機の設置駅、利用者の通行方向(駅構内への入場、または駅構内からの出場)等を加えた判定用情報を判定用サーバ1に送信する。通信部57が、この判定用サーバ1との通信を行う。 The automatic ticket gate 5 reads the IC card R/W 52 from the IC card located within the wireless communication area (the IC card held by the user within the wireless communication area) in accordance with the reading instruction command from the determination server 1. Repeatedly poll for a response. When the automatic ticket gate 5 reads the ticket information from the IC card held within the wireless communication area by the IC card R/W 52, it transmits the determination information including the currently read ticket information to the determination server 1 ( s11, s12). In s12, the ticket information read this time includes the date and time when the ticket information was read, the machine number that identifies the own machine (automatic ticket gate 5), the station where the own machine is installed, and the user's direction of travel (toward the station premises). The judgment information including information such as entry or exit from the station premises is sent to the judgment server 1. A communication unit 57 communicates with this determination server 1 .

なお、ICカードから読み取った乗車券情報には、このICカードを識別する識別コード、前回の利用履歴(前回、どの駅で、入場、または出場したかを示す情報)、保有している価値残高、定期券利用区間、定期券有効期限等の情報が含まれている。また、識別コード以外の情報は、暗号化されている。識別コードは、暗号化されていない。 The ticket information read from the IC card includes the identification code that identifies this IC card, the previous usage history (information indicating which station you entered or exited at last time), and the value balance held. , the section where the commuter pass is used, the expiration date of the commuter pass, etc. Further, information other than the identification code is encrypted. The identification code is not encrypted.

自動改札機5は、判定用サーバ1から処理結果を受信するのを待つ(s13)。判定用サーバ1の処理については、後述する。判定用サーバ1は、改札通路における利用者の通行可否の判定結果、およびICカードに書き込む情報(今回の利用日時、利用駅、入出場の種別、価値残高等)を含む処理結果を生成し、生成した処理結果を自動改札機5に送信する。ICカードに書き込む情報は、判定用サーバ1において暗号化されている。 The automatic ticket gate 5 waits to receive the processing result from the determination server 1 (s13). The processing of the determination server 1 will be described later. The judgment server 1 generates a processing result including a judgment result as to whether the user can pass through the ticket gate passage, and information to be written on the IC card (date and time of current use, station used, type of entry/exit, value balance), The generated processing result is transmitted to the automatic ticket gate 5. The information written to the IC card is encrypted in the determination server 1.

自動改札機5は、判定用サーバ1から受信した処理結果が、改札通路における利用者の通行を許可するものであると、今回判定用サーバ1から受信したICカードに書き込む情報をICカードに書き込むとともに、利用者にとっての改札通路の出口側に位置する扉を開する(s14~s16)。s15にかかる処理は、ICカードR/W52によって行われる。s16では、通行制御部51bが扉開閉部55を制御し、利用者にとっての改札通路の出口側に位置する扉を開する。 The automatic ticket gate 5 writes the information to be written in the IC card received from the determination server 1 this time when the processing result received from the determination server 1 is that the user is permitted to pass through the ticket gate passageway. At the same time, the door located on the exit side of the ticket gate passageway for the user is opened (s14 to s16). The process related to s15 is performed by the IC card R/W 52. In s16, the traffic control unit 51b controls the door opening/closing unit 55 to open the door located on the exit side of the ticket gate passageway for the user.

また、自動改札機5は、判定用サーバ1から受信した処理結果が、改札通路における利用者の通行を許可しないものであると、利用者にとっての改札通路の出口側に位置する扉を閉する(s14、s17)。s17では、通行制御部51bが扉開閉部55を制御し、利用者にとっての改札通路の出口側に位置する扉を閉する。 Furthermore, if the processing result received from the determination server 1 does not allow the user to pass through the ticket gate passage, the automatic ticket gate 5 closes the door located on the exit side of the ticket gate passage for the user. (s14, s17). In s17, the traffic control section 51b controls the door opening/closing section 55 to close the door located on the exit side of the ticket passageway for the user.

なお、図5に示す処理は、改札通路を通行する1人の利用者に対する処理であり、自動改札機5は、図5に示す処理を並行して行える。 Note that the process shown in FIG. 5 is a process for one user passing through the ticket gate passage, and the automatic ticket gate 5 can perform the process shown in FIG. 5 in parallel.

次に、自動改札機5の障害発生時モードの動作について説明する。図6は、自動改札機の障害発生時モードの動作を示すフローチャートである。自動改札機5は、ICカードR/W52で無線通信エリア内に位置するICカード(利用者が無線通信エリア内に翳したICカード)に対して応答を要求するポーリングを繰り返し行う。自動改札機5は、障害発生時モードでは、このポーリングを単独で行う。すなわち、この例の自動改札機5は、障害発生時モードでは、判定用サーバ1からの読取指示コマンドが無くても、ICカードR/W52で無線通信エリア内に位置するICカードに対して応答を要求するポーリングを繰り返し行う。 Next, the operation of the automatic ticket gate 5 in the failure mode will be explained. FIG. 6 is a flowchart showing the operation of the automatic ticket gate in the failure mode. The automatic ticket gate 5 repeatedly polls IC cards located within the wireless communication area (IC cards held up within the wireless communication area by the user) using the IC card R/W 52 to request a response. The automatic ticket gate 5 performs this polling independently in the failure mode. That is, in the failure mode, the automatic ticket gate 5 in this example responds to an IC card located within the wireless communication area using the IC card R/W 52 even if there is no read instruction command from the determination server 1. Repeated polling to request.

自動改札機5は、単独でポーリングを行うことによって、ICカードR/W52において無線通信エリア内に翳されたICカードから乗車券情報を読み取ると、今回読み取ったICカードの識別コードを含む未処理通行情報を未処理通行情報記憶部56に記憶する(s21、s22)。未処理通行情報は、今回読み取ったICカードの識別コードに、改札通路の通行日時(識別コードを読み取った日時)、自動改札機5の設置駅、入出場の種別等を対応づけた情報である。 When the automatic ticket gate 5 reads the ticket information from the IC card held within the wireless communication area by the IC card R/W 52 by polling independently, the automatic ticket gate 5 reads the unprocessed ticket information including the identification code of the IC card read this time. The traffic information is stored in the unprocessed traffic information storage section 56 (s21, s22). The unprocessed traffic information is information that associates the identification code of the IC card read this time with the date and time of passage through the ticket gate (the date and time when the identification code was read), the station where the automatic ticket gate 5 is installed, the type of entry and exit, etc. .

自動改札機5は、s22で未処理通行情報を未処理通行情報記憶部56に記憶すると、通行制御部51bが扉開閉部55を制御し、利用者にとっての改札通路の出口側に位置する扉を開する(s23)。すなわち、自動改札機5は、判定用サーバ1との通信が途切れている障害発生時モードでは、利用者が所有するICカードの識別コードを読み取ることによって、その利用者が改札通路を通行するのを許可する。したがって、判定用サーバ1が障害の発生によりダウンしたり、この判定用サーバ1と自動改札機5との通信に使用しているネットワーク3に障害が発生したりしていても、そのことを利用者に気づかせずに、改札通路を通行させることができる。これにより、判定用サーバ1が障害の発生によりダウンしたり、この判定用サーバ1と自動改札機5との通信に使用しているネットワーク3に障害が発生したりしたときに、利用者の利便性を低下させない。 When the automatic ticket gate 5 stores the unprocessed traffic information in the unprocessed traffic information storage unit 56 in s22, the traffic control unit 51b controls the door opening/closing unit 55 to open the door located on the exit side of the ticket passageway for the user. is opened (s23). That is, in the failure mode in which communication with the determination server 1 is interrupted, the automatic ticket gate 5 reads the identification code of the IC card owned by the user to prevent the user from passing through the ticket gate passage. Allow. Therefore, even if the judgment server 1 goes down due to a failure, or if a failure occurs in the network 3 used for communication between the judgment server 1 and the automatic ticket gate 5, the situation can be utilized. It is possible to allow people to pass through the ticket gate without noticing. As a result, when the judgment server 1 goes down due to a failure or a failure occurs in the network 3 used for communication between the judgment server 1 and the automatic ticket gate 5, the user's convenience is improved. Do not reduce sexuality.

なお、図6に示す処理は、改札通路を通行する1人の利用者に対する処理であり、自動改札機5は、図6に示す処理を並行して行える。 Note that the process shown in FIG. 6 is a process for one user passing through the ticket gate passage, and the automatic ticket gate 5 can perform the process shown in FIG. 6 in parallel.

次に、判定用サーバ1の動作について説明する。この例の自動改札機5は、上記したように、s5で未処理通行情報を判定用サーバ1に送信する。この例の判定用サーバ1は、自動改札機5から送信されてきた未処理通行情報を通信ユニット14で受信すると、受信した未処理通行情報を未処理通行情報記憶部13に記憶する。図7は、判定用サーバの動作を示すフローチャートである。 Next, the operation of the determination server 1 will be explained. The automatic ticket gate 5 in this example transmits the unprocessed traffic information to the determination server 1 in s5, as described above. When the communication unit 14 receives the unprocessed traffic information transmitted from the automatic ticket gate 5, the determination server 1 in this example stores the received unprocessed traffic information in the unprocessed traffic information storage section 13. FIG. 7 is a flowchart showing the operation of the determination server.

なお、図7で示す判定用サーバ1の動作は、自動改札機5との通信が途切れていないときの動作である。 Note that the operation of the determination server 1 shown in FIG. 7 is an operation when communication with the automatic ticket gate 5 is not interrupted.

判定用サーバ1は、通信ユニット14で、自動改札機5から送信されてきた判定用情報を受信するのを待つ(s31)。判定用サーバ1は、自動改札機5から送信されてきた判定用情報を受信すると、未処理判定部11bが今回の受信した判定用情報に含まれているICカードの識別コードで未処理通行情報記憶部13に記憶されている未処理通行情報を検索し、該当する未処理通行情報の有無を判定する(s32)。 The determination server 1 waits for the communication unit 14 to receive the determination information transmitted from the automatic ticket gate 5 (s31). When the determination server 1 receives the determination information transmitted from the automatic ticket gate 5, the unprocessed determination unit 11b determines the unprocessed traffic information using the identification code of the IC card included in the currently received determination information. The unprocessed traffic information stored in the storage unit 13 is searched, and the presence or absence of the corresponding unprocessed traffic information is determined (s32).

未処理判定部11bは、今回の受信した判定用情報に含まれているICカードの識別コードを含む未処理通行情報が未処理通行情報記憶部13に記憶されていれば、その未処理通行情報を読み出す(s33)。s33で読み出される未処理通行情報は、1つであるとは限らない。 If the unprocessed traffic information including the identification code of the IC card included in the currently received determination information is stored in the unprocessed traffic information storage unit 13, the unprocessed traffic determination unit 11b stores the unprocessed traffic information. is read out (s33). The number of unprocessed traffic information read in s33 is not necessarily one.

なお、未処理判定部11bは、今回の受信した判定用情報に含まれているICカードの識別コードを含む未処理通行情報が未処理通行情報記憶部13に記憶されていなければ、s33にかかる処理を行わない。 Note that, if the unprocessed traffic information including the identification code of the IC card included in the currently received determination information is not stored in the unprocessed traffic information storage unit 13, the unprocessed determination unit 11b performs s33. No processing is performed.

運賃算出部11aが、今回の処理で運賃を算出する運賃計算が必要であるかどうかを判定する(s34)。s34は、利用者に対して、精算すべき運賃が発生しているかどうかを判定する処理である。また、s34では、未処理判定部11bがs33で未処理通行情報を読み出していれば、それらの未処理通行情報も含めて運賃計算の要否を判定する。 The fare calculation unit 11a determines whether a fare calculation is necessary to calculate the fare in the current process (s34). S34 is a process for determining whether or not there is a fare to be paid for the user. In addition, in s34, if the unprocessed traffic information has been read out in s33, the unprocessed traffic determination unit 11b determines whether or not fare calculation is necessary, including the unprocessed traffic information.

運賃算出部11aは、s34で運賃計算が必要であると判定すると、運賃計算を行う(s35)。s35では、未処理判定部11bがs33で未処理通行情報を読み出していれば、複数の利用区間について運賃を計算することがある。運賃算出部11aは、s34で運賃計算が必要でないと判定すると、s35にかかる処理を行わない。 If the fare calculation unit 11a determines in s34 that fare calculation is necessary, it calculates the fare (s35). In s35, if the unprocessed traffic determination unit 11b has read the unprocessed traffic information in s33, fares may be calculated for a plurality of usage sections. If the fare calculation unit 11a determines in s34 that fare calculation is not necessary, it does not perform the process in s35.

処理結果生成部11cが、s31で受信した判定用情報、およびs35で算出された運賃の金額等を用いて、利用者が改札通路を通行するのを許可するかどうかを判定する(s36)。処理結果生成部11cは、利用者が改札通路を通行するのを許可すると判定すると、その利用者のICカードに書き込む乗車券情報を生成する(s37)。s37では、生成した乗車券情報を暗号化する処理も行う。また、未処理判定部11bがs33で未処理通行情報を読み出していれば、s37で生成される乗車券情報には、今回の利用にかかる乗車券情報だけでなく、s33で読み出した未処理通行情報に応じた乗車券情報も含まれる。処理結果生成部11cは、利用者が改札通路を通行するのを許可しないと判定すると、s37にかかる処理を行わない。 The processing result generation unit 11c uses the determination information received in s31 and the fare amount calculated in s35 to determine whether the user is allowed to pass through the ticket gate (s36). When the processing result generation unit 11c determines that the user is permitted to pass through the ticket gate passage, it generates ticket information to be written in the user's IC card (s37). In s37, the generated ticket information is also encrypted. Furthermore, if the unprocessed traffic information is read out in s33 by the unprocessed determining unit 11b, the ticket information generated in s37 includes not only the ticket information related to the current use but also the unprocessed traffic information read out in s33. Ticket information corresponding to the information is also included. If the processing result generation unit 11c determines that the user is not allowed to pass through the ticket gate passage, it does not perform the processing related to s37.

判定用サーバ1は、今回判定用情報を送信してきた自動改札機5に対して、処理結果生成部11cで生成した処理結果を送信する(s38)。s38で自動改札機5に送信する処理結果には、改札通路における利用者の通行可否の判定結果だけでなく、s37で生成された乗車券情報(この乗車券情報は、暗号化されている。)が含まれている。判定用サーバ1がs38で送信した処理結果を受信した自動改札機5が、上記したs14以降の処理を実行する。 The determination server 1 transmits the processing result generated by the processing result generation unit 11c to the automatic ticket gate 5 that has transmitted the determination information this time (s38). The processing results sent to the automatic ticket gate 5 in s38 include not only the determination result of whether the user can pass through the ticket gate passage, but also the ticket information generated in s37 (this ticket information is encrypted). )It is included. The automatic ticket gate 5, which has received the processing result transmitted by the determination server 1 in s38, executes the processing from s14 described above.

判定用サーバ1は、s38で自動改札機5に送信した処理結果に含まれる乗車券情報に応じて、利用履歴DB12に登録されている、該当するICカードの利用履歴を更新し(s39)、本処理を終了する。また、判定用サーバ1は、未処理通行情報記憶部13に記憶している未処理通行情報であって、今回の処理で、利用履歴DB12に登録し、且つ自動改札機5で利用者のICカードに書き込まれた未処理通行情報については、未処理通行情報記憶部13から削除する。 The determination server 1 updates the usage history of the corresponding IC card registered in the usage history DB 12 according to the ticket information included in the processing result sent to the automatic ticket gate 5 in s38 (s39), This process ends. Further, the judgment server 1 uses the unprocessed traffic information stored in the unprocessed traffic information storage unit 13, and in this process, registers it in the usage history DB 12 and checks the user's IC card at the automatic ticket gate 5. The unprocessed traffic information written on the card is deleted from the unprocessed traffic information storage section 13.

なお、図7に示す処理は、改札通路を通行する1人の利用者について送信されてきた判定用情報に対する処理であり、判定用サーバ1は、図7に示す処理を並行して行える。 Note that the process shown in FIG. 7 is a process for the determination information transmitted about one user passing through the ticket gate passageway, and the determination server 1 can perform the process shown in FIG. 7 in parallel.

このように、この例にかかる改札システムでは、自動改札機5が、障害発生時に(通信不良状態であるときに、)、ICカードの識別コードを読み取るだけで、改札通路の通行を許可した利用者についても、ICカードの利用履歴を適正に取得し、判定用サーバ1で管理できる。 In this way, in the ticket gate system according to this example, when a failure occurs (when there is poor communication), the automatic ticket gate 5 allows the user to pass through the ticket gate passage simply by reading the identification code of the IC card. Also, the usage history of the IC card can be properly acquired and managed by the determination server 1.

<4.変形例>
上記の例では、乗車券情報が、ICカードに記憶されているとしたが、乗車券情報が、ICカードに記憶されていないシステムであっても、本願発明を適用できる。この場合、自動改札機5は、判定用サーバ1に対して、読み取ったICカードの識別コードを送信し、判定用サーバ1は、自動改札機5に対して、改札通路における利用者の通行可否の判定結果を送信すればよい。
<4. Modified example>
In the above example, it is assumed that the ticket information is stored in the IC card, but the present invention can be applied even to a system in which the ticket information is not stored in the IC card. In this case, the automatic ticket gate 5 transmits the identification code of the read IC card to the determination server 1, and the determination server 1 informs the automatic ticket gate 5 whether or not the user can pass through the ticket gate. All you have to do is send the determination result.

この改札システムが、判定用サーバ1の利用履歴DB12でICカードの利用履歴を管理できる。 This ticket gate system can manage the usage history of the IC card in the usage history DB 12 of the determination server 1.

また、判定用サーバ1が、利用履歴DB12を備えていない構成であってもよい。この場合には、上記した例で説明したように、ICカードに利用履歴にかかる乗車券情報を記憶させる構成にすればよい。 Further, the determination server 1 may have a configuration in which the usage history DB 12 is not provided. In this case, as explained in the above example, the IC card may be configured to store ticket information related to usage history.

また、上記の例では、自動改札機5の通信状態検出部51aは、判定用サーバ1からの読取指示コマンドの受信状態によって、通信不良状態であるかどうかを検出するとしたが、例えば、自動改札機5が判定用サーバ1に対して定期的に繰り返し電文を送信し、この電文に対する判定用サーバ1からの応答の有無によって、通信不良状態であるかどうかを検出してもよい。また、自動改札機5は、通信不良状態であるかどうかを、係員等の入力操作によって検出する構成であってもよい。 Further, in the above example, the communication state detection unit 51a of the automatic ticket gate 5 detects whether there is a communication failure state based on the reception state of the reading instruction command from the determination server 1. The device 5 may periodically and repeatedly transmit a message to the determination server 1, and it may be detected whether there is a communication failure state based on the presence or absence of a response from the determination server 1 to this message. Further, the automatic ticket gate 5 may be configured to detect whether or not there is a communication failure through an input operation by an attendant or the like.

また、上記の例では、自動改札機5は、ICカードに記録されている暗号化された乗車券情報を複合化するための複合鍵を記憶していないとしたが、複合鍵を記憶している構成であってもよい。 Furthermore, in the above example, the automatic ticket gate 5 does not store the composite key for decrypting the encrypted ticket information recorded on the IC card, but it does store the composite key. It is also possible to have a configuration in which

なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 It should be noted that the present invention is not limited to the above-described embodiments as they are, but can be embodied by modifying the constituent elements within the scope of the invention at the implementation stage. Moreover, various inventions can be formed by appropriately combining the plurality of components disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiments. Furthermore, components from different embodiments may be combined as appropriate.

さらに、この発明に係る構成と上述した実施形態に係る構成との対応関係は、以下の付記のように記載できる。
<付記>
改札通路を通行する利用者が読取領域に翳した乗車券媒体の識別コードを読み取る媒体処理部(52)と、
前記媒体処理部(52)が読み取った前記乗車券媒体の識別コードを上位サーバ(1)に送信し、当該上位サーバ(1)から前記改札通路における利用者の通行可否の判定結果を含む処理結果を受信する通信部(57)と、
前記通信部(57)で受信した前記処理結果に基づき、前記改札通路における利用者の通行を制限する通行制御部(51b)と、
前記通信部(57)で前記上位サーバ(1)と通信が行えない通信不良状態であるかどうかを検出する通信状態検出部(51a)と、を備え、
前記通行制御部(51b)は、前記通信状態検出部(51a)が前記通信不良状態であることを検出しているとき、前記媒体処理部(52)で読み取った前記乗車券媒体の識別コードを含む未処理通行情報を未処理通行情報記憶部(56)に記憶させ、前記改札通路における利用者の通行を許可し、
前記通信部(57)は、前記通信状態検出部(51a)において前記通信不良状態の解消が検出されると、前記未処理通行情報記憶部(56)に記憶している前記未処理通行情報を前記上位サーバ1に送信する、自動改札機(5)。
Furthermore, the correspondence between the configuration according to the present invention and the configuration according to the above-described embodiments can be described as in the following supplementary notes.
<Additional notes>
a medium processing unit (52) that reads an identification code of a ticket medium held over a reading area by a user passing through the ticket gate passageway;
The identification code of the ticket medium read by the medium processing unit (52) is transmitted to the higher-level server (1), and the higher-level server (1) generates a processing result including a determination result as to whether or not the user can pass through the ticket gate passage. a communication unit (57) that receives the
a traffic control unit (51b) that restricts the passage of users in the ticket gate passageway based on the processing result received by the communication unit (57);
a communication state detection unit (51a) for detecting whether or not the communication unit (57) is in a communication failure state in which communication with the host server (1) is not possible;
When the communication status detection unit (51a) detects the communication failure state, the traffic control unit (51b) reads the identification code of the ticket medium read by the medium processing unit (52). storing the unprocessed traffic information including the unprocessed traffic information in the unprocessed traffic information storage unit (56), and allowing the user to pass through the ticket gate passage;
When the communication state detection unit (51a) detects that the poor communication state has been resolved, the communication unit (57) transmits the unprocessed traffic information stored in the unprocessed traffic information storage unit (56). An automatic ticket gate (5) that transmits information to the upper server 1.

1…判定用サーバ
3…ネットワーク
5…自動改札機
11…制御ユニット
11a…運賃算出部
11b…未処理判定部
11c…処理結果生成部
11d…利用履歴更新部
12…利用履歴データベース(利用履歴DB)
13…未処理通行情報記憶部
14…通信ユニット
51…制御ユニット
51a…通信状態検出部
51b…通行制御部
53…利用者検知部
54…表示部
55…扉開閉部
56…未処理通行情報記憶部
57…通信部
1...Determination server 3...Network 5...Automatic ticket gate 11...Control unit 11a...Fare calculation section 11b...Unprocessed judgment section 11c...Processing result generation section 11d...Usage history update section 12...Usage history database (Usage history DB)
13...Unprocessed traffic information storage section 14...Communication unit 51...Control unit 51a...Communication state detection section 51b...Traffic control section 53...User detection section 54...Display section 55...Door opening/closing section 56...Unprocessed traffic information storage section 57...Communication Department

Claims (9)

改札通路を通行する利用者が読取領域に翳した乗車券媒体の識別コードを読み取る媒体処理部と、
前記媒体処理部が読み取った前記乗車券媒体の識別コードを上位サーバに送信し、当該上位サーバから前記改札通路における利用者の通行可否の判定結果を含む処理結果を受信する通信部と、
前記通信部で受信した前記処理結果に基づき、前記改札通路における利用者の通行を制限する通行制御部と、
前記通信部で前記上位サーバと通信が行えない通信不良状態であるかどうかを検出する通信状態検出部と、を備え、
前記通行制御部は、前記通信状態検出部が前記通信不良状態であることを検出しているとき、前記媒体処理部で読み取った前記乗車券媒体の識別コードを含む未処理通行情報を未処理通行情報記憶部に記憶させ、前記改札通路における利用者の通行を許可し、
前記通信部は、前記通信状態検出部において前記通信不良状態の解消が検出されると、前記未処理通行情報記憶部に記憶している前記未処理通行情報を前記上位サーバに送信し、
前記媒体処理部は、
前記通信状態検出部が前記通信不良状態でないことを検出しているとき、前記上位サーバからの読取指示にしたがって、前記読取領域内に位置する前記乗車券媒体に対して識別コードの読み取りを行い、
前記通信状態検出部が前記通信不良状態であることを検出しているとき、予め定められたタイミングで繰り返し、前記読取領域内に位置する前記乗車券媒体に対して識別コードの読み取りを行う、
自動改札機。
a media processing unit that reads an identification code of a ticket media held over a reading area by a user passing through the ticket gate;
a communication unit that transmits an identification code of the ticket medium read by the medium processing unit to an upper level server, and receives a processing result including a determination result of whether or not a user can pass through the ticket gate passage from the upper level server;
a traffic control unit that restricts the passage of users through the ticket gate passageway based on the processing result received by the communication unit;
a communication state detection unit that detects whether the communication unit is in a poor communication state in which communication with the upper server cannot be performed;
When the communication status detection unit detects that the communication is in the poor communication state, the traffic control unit transmits unprocessed traffic information including the identification code of the ticket medium read by the medium processing unit to unprocessed traffic. storing the information in the information storage unit, and permitting the user to pass through the ticket gate passage;
The communication unit transmits the unprocessed traffic information stored in the unprocessed traffic information storage unit to the upper server when resolution of the communication failure state is detected in the communication state detection unit,
The medium processing unit includes:
When the communication state detection unit detects that the communication is not in the poor communication state, reading an identification code on the ticket medium located within the reading area according to a reading instruction from the host server;
When the communication state detection unit detects the poor communication state, repeatedly reading an identification code on the ticket medium located within the reading area at a predetermined timing;
Automatic ticket gate.
前記通信状態検出部は、前記上位サーバからの前記読取指示が閾値時間を超えて途切れたとき、前記通信不良状態であると検出する、請求項に記載の自動改札機。 The automatic ticket gate according to claim 1 , wherein the communication state detection unit detects the poor communication state when the reading instruction from the host server is interrupted after a threshold time has elapsed. 前記媒体処理部は、前記通信部で前記上位サーバから受信した前記処理結果に含まれている利用情報を前記乗車券媒体に書き込む、請求項1、または2に記載の自動改札機。 3. The automatic ticket gate according to claim 1, wherein the medium processing section writes usage information included in the processing result received from the host server by the communication section into the ticket medium. 前記処理結果に含まれている前記利用情報は、暗号化されており、
前記媒体処理部は、暗号化されている前記利用情報を前記乗車券媒体に書き込む、請求項に記載の自動改札機。
The usage information included in the processing result is encrypted,
The automatic ticket gate according to claim 3 , wherein the medium processing unit writes the encrypted usage information onto the ticket medium.
請求項1~のいずれかに記載の自動改札機とネットワークを介して接続される上位サーバであって、
前記乗車券媒体の識別コードと、その乗車券媒体の利用履歴とを対応付けて記憶する利用履歴記憶部と、
前記自動改札機から送信されてきた前記乗車券媒体の識別コードを受信すると、前記利用履歴記憶部に記憶している該当する前記乗車券媒体の利用履歴を参照して、前記改札通路における利用者の通行可否が判定された前記判定結果を含む前記処理結果を自動改札機に送信する通信部と、
前記通信部が前記自動改札機に送信した前記処理結果に応じて、前記利用履歴記憶部に記憶している該当する前記乗車券媒体の利用履歴を更新する利用履歴更新部と、を備えた上位サーバ。
A host server connected to the automatic ticket gate according to any one of claims 1 to 4 via a network,
a usage history storage unit that stores an identification code of the ticket medium and a usage history of the ticket medium in association with each other;
When the identification code of the ticket medium transmitted from the automatic ticket gate is received, the usage history of the corresponding ticket medium stored in the usage history storage section is referred to, and the user in the ticket gate passage is identified. a communication unit that transmits the processing result including the determination result of whether or not it is possible to pass through to an automatic ticket gate;
a usage history updating unit that updates the usage history of the corresponding ticket medium stored in the usage history storage unit according to the processing result transmitted by the communication unit to the automatic ticket gate; server.
前記利用履歴更新部は、前記通信部で受信した前記未処理通行情報に応じて該当する前記乗車券媒体の利用履歴を更新する、請求項に記載の上位サーバ。 The host server according to claim 5 , wherein the usage history updating unit updates the usage history of the corresponding ticket medium according to the unprocessed traffic information received by the communication unit. 請求項1~のいずれかに記載の自動改札機と、
請求項、またはに記載の上位サーバと、を前記ネットワークを介して接続した改札システム。
The automatic ticket gate according to any one of claims 1 to 4 ,
A ticket gate system that connects the host server according to claim 5 or 6 via the network.
媒体処理部で読み取った、改札通路を通行する利用者が読取領域に翳した乗車券媒体の識別コードを上位サーバに送信し、当該上位サーバから前記改札通路における利用者の通行可否の判定結果を含む処理結果を受信する通信部を備えた自動改札機の制御部が、
前記通信部で受信した前記処理結果に基づき、前記改札通路における利用者の通行を制限する通行制御ステップと、
前記通信部で前記上位サーバと通信が行えない通信不良状態であるかどうかを検出する通信状態検出ステップと、を実行し、
前記通行制御ステップは、前記通信状態検出ステップで前記通信不良状態であることを検出しているとき、前記媒体処理部で読み取った前記乗車券媒体の識別コードを含む未処理通行情報を未処理通行情報記憶部に記憶させ、前記改札通路における利用者の通行を許可するステップであり、
また、前記通信状態検出ステップにおいて前記通信不良状態の解消が検出されると、前記通信部に、前記未処理通行情報記憶部に記憶している前記未処理通行情報を前記上位サーバに送信させ、
さらに、前記媒体処理部に、
前記通信状態検出ステップで前記通信不良状態でないことを検出しているとき、前記上位サーバからの読取指示にしたがって、前記読取領域内に位置する前記乗車券媒体に対して識別コードの読み取りを行わせ、
前記通信状態検出ステップで前記通信不良状態であることを検出しているとき、予め定められたタイミングで繰り返し、前記読取領域内に位置する前記乗車券媒体に対して識別コードの読み取りを行わせる、改札方法。
The identification code of the ticket medium held over the reading area by the user passing through the ticket gate passage, read by the media processing unit, is transmitted to the higher-level server, and the higher-level server receives the determination result of whether or not the user can pass through the ticket gate passage. A control unit of an automatic ticket gate equipped with a communication unit that receives processing results including,
a traffic control step of restricting the passage of users in the ticket gate passage based on the processing result received by the communication unit;
a communication state detection step of detecting whether the communication unit is in a communication failure state in which communication with the higher-level server cannot be performed;
In the traffic control step, when the communication failure state is detected in the communication state detection step, the unprocessed traffic information including the identification code of the ticket medium read by the medium processing unit is transmitted to the unprocessed traffic. a step of storing the information in the information storage unit and allowing the user to pass through the ticket gate passage;
Further, when resolution of the communication failure state is detected in the communication state detection step, the communication unit is configured to transmit the unprocessed traffic information stored in the unprocessed traffic information storage unit to the upper server. ,
Furthermore, in the medium processing section,
When it is detected in the communication state detection step that the communication is not in a poor state, the ticket medium located within the reading area is caused to read an identification code in accordance with a reading instruction from the host server. ,
When the poor communication state is detected in the communication state detection step, reading an identification code is repeatedly performed on the ticket medium located within the reading area at a predetermined timing; Ticket gate method.
媒体処理部で読み取った、改札通路を通行する利用者が読取領域に翳した乗車券媒体の識別コードを上位サーバに送信し、当該上位サーバから前記改札通路における利用者の通行可否の判定結果を含む処理結果を受信する通信部を備えた自動改札機の制御部に、
前記通信部で受信した前記処理結果に基づき、前記改札通路における利用者の通行を制限する通行制御ステップと、
前記通信部で前記上位サーバと通信が行えない通信不良状態であるかどうかを検出する通信状態検出ステップと、を実行させ、
前記通行制御ステップは、前記通信状態検出ステップで前記通信不良状態であることを検出しているとき、前記媒体処理部で読み取った前記乗車券媒体の識別コードを含む未処理通行情報を未処理通行情報記憶部に記憶させ、前記改札通路における利用者の通行を許可するステップであり、
また、前記通信状態検出ステップにおいて前記通信不良状態の解消が検出されると、前記通信部に、前記未処理通行情報記憶部に記憶している前記未処理通行情報を前記上位サーバに送信させ、
さらに、前記媒体処理部に、
前記通信状態検出ステップで前記通信不良状態でないことを検出しているとき、前記上位サーバからの読取指示にしたがって、前記読取領域内に位置する前記乗車券媒体に対して識別コードの読み取りを行わせ、
前記通信状態検出ステップで前記通信不良状態であることを検出しているとき、予め定められたタイミングで繰り返し、前記読取領域内に位置する前記乗車券媒体に対して識別コードの読み取りを行わせる、改札プログラム。
The identification code of the ticket medium held over the reading area by the user passing through the ticket gate passageway, read by the media processing unit, is transmitted to the higher-level server, and the higher-level server receives the determination result of whether or not the user can pass through the ticket gate passageway. A control unit of an automatic ticket gate equipped with a communication unit that receives processing results including
a traffic control step of restricting the passage of users in the ticket gate passageway based on the processing result received by the communication unit;
executing a communication state detection step of detecting whether the communication unit is in a communication failure state in which communication with the higher-level server cannot be performed;
In the traffic control step, when the communication failure state is detected in the communication state detection step, the unprocessed traffic information including the identification code of the ticket medium read by the medium processing unit is transmitted to the unprocessed traffic. a step of storing the information in an information storage unit and allowing the user to pass through the ticket gate passage;
Further, when resolution of the communication failure state is detected in the communication state detection step, the communication unit is configured to transmit the unprocessed traffic information stored in the unprocessed traffic information storage unit to the upper server. ,
Furthermore, in the medium processing section,
When it is detected in the communication state detection step that the communication is not in a poor state, the ticket medium located within the reading area is caused to read an identification code in accordance with a reading instruction from the host server. ,
When the poor communication state is detected in the communication state detection step, reading an identification code is repeatedly performed on the ticket medium located within the reading area at a predetermined timing; ticket gate program.
JP2020041464A 2020-03-11 2020-03-11 Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program Active JP7409170B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020041464A JP7409170B2 (en) 2020-03-11 2020-03-11 Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020041464A JP7409170B2 (en) 2020-03-11 2020-03-11 Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program

Publications (2)

Publication Number Publication Date
JP2021144372A JP2021144372A (en) 2021-09-24
JP7409170B2 true JP7409170B2 (en) 2024-01-09

Family

ID=77766619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020041464A Active JP7409170B2 (en) 2020-03-11 2020-03-11 Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program

Country Status (1)

Country Link
JP (1) JP7409170B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7512127B2 (en) 2020-08-19 2024-07-08 東日本旅客鉄道株式会社 Information processing program, information processing method, and ticket gate device
JP7508309B2 (en) 2020-08-19 2024-07-01 東日本旅客鉄道株式会社 Information processing program, information processing method, and ticket gate device
JP7495296B2 (en) 2020-08-19 2024-06-04 東日本旅客鉄道株式会社 Information processing program, information processing method, ticket issuing device, and ticket gate device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209661A (en) 2005-01-31 2006-08-10 Toshiba Corp Ticket inspection state notification system and ticket inspection state notification method
JP2008210250A (en) 2007-02-27 2008-09-11 Jr East Mechatronics Co Ltd Portable terminal device, program, and center side device
JP2018032162A (en) 2016-08-23 2018-03-01 株式会社東芝 Automatic ticket gate system, railway use management system, and program
JP2019046352A (en) 2017-09-06 2019-03-22 西日本旅客鉄道株式会社 Station service equipment, station service system, and settlement processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209661A (en) 2005-01-31 2006-08-10 Toshiba Corp Ticket inspection state notification system and ticket inspection state notification method
JP2008210250A (en) 2007-02-27 2008-09-11 Jr East Mechatronics Co Ltd Portable terminal device, program, and center side device
JP2018032162A (en) 2016-08-23 2018-03-01 株式会社東芝 Automatic ticket gate system, railway use management system, and program
JP2019046352A (en) 2017-09-06 2019-03-22 西日本旅客鉄道株式会社 Station service equipment, station service system, and settlement processing method

Also Published As

Publication number Publication date
JP2021144372A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
JP7409170B2 (en) Automatic ticket gate, host server, ticket gate system, ticket gate method, and ticket gate program
JP5104133B2 (en) Automatic ticket gate
JP6646532B2 (en) Ticket information processing method and ticket information processing system
JP5292748B2 (en) Automatic ticket gate
US20020121545A1 (en) Service providing method
CN101241607A (en) Ticket processing equipment and station operating system
JP5455464B2 (en) Station service system, issuing machine, management server, bidding machine and automatic ticket gate
JP2006099459A (en) Ticket gate and commuter pass processing system
JP2003196688A (en) Fee settlement system
JP2012113557A (en) Automatic ticket gate machine and information processing system
JP2013050855A (en) Control server and station service system
JP7532169B2 (en) Communication control device, station service system, and data processing method
JP7577984B2 (en) Mobile terminal, automatic ticket gate, station service system, update method, and update program
JP2013061894A (en) Management server and station service system
JP7693590B2 (en) Ticket gates and ticket gate systems
CN108369753A (en) Check managing device and Automatic Verify-checking Tickets System
JP6877981B2 (en) Station affairs system, server, and station affairs terminal
JP7558820B2 (en) Station service system
JP7517116B2 (en) Ticket issuing unit, automatic ticket gate, ticket issuing method, and ticket issuing program
JP7694334B2 (en) Gate device, status notification method, and status notification program
JP7631917B2 (en) Automatic ticket gate, ticket gate method, and ticket gate program
JP7693589B2 (en) Ticket gate and ticket processing program
JP7287190B2 (en) Communication system, server device, communication control method, and program
JP2009075699A (en) Automatic ticket gate
JP4892709B2 (en) Ride medium processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231106

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: 20231121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231204

R150 Certificate of patent or registration of utility model

Ref document number: 7409170

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150