JP2021089507A - Ticket examination machine, ticket examination method, and program - Google Patents

Ticket examination machine, ticket examination method, and program Download PDF

Info

Publication number
JP2021089507A
JP2021089507A JP2019218688A JP2019218688A JP2021089507A JP 2021089507 A JP2021089507 A JP 2021089507A JP 2019218688 A JP2019218688 A JP 2019218688A JP 2019218688 A JP2019218688 A JP 2019218688A JP 2021089507 A JP2021089507 A JP 2021089507A
Authority
JP
Japan
Prior art keywords
data
ticket gate
code
camera
ticket
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019218688A
Other languages
Japanese (ja)
Inventor
尭登 山口
Akito Yamaguchi
尭登 山口
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 JP2019218688A priority Critical patent/JP2021089507A/en
Publication of JP2021089507A publication Critical patent/JP2021089507A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide a ticket examination machine, a ticket examination method, and a program that appropriately perform ticket examination processing based on data from a terminal and data obtained by decoding a code.SOLUTION: A ticket examination machine according to an embodiment includes a reader, a camera, and a processor. The reader wirelessly acquires first data related to ticket examination processing. The camera captures a code obtained by encoding second data related to the ticket examination processing. The processor continues reading the code using the camera until the reading of the first data is completed or until a first period elapses, whichever is later, when the acquisition of the first data is started via the reader, performs the ticket examination processing based on the first data and the second data once the code is read using the camera, and performs the ticket examination processing based on the first data when the code cannot be read using the camera until the reading of the first data is completed or until the first period elapses, whichever is later.SELECTED DRAWING: Figure 1

Description

本発明の実施形態は、改札機、改札方法及びプログラムに関する。 Embodiments of the present invention relate to ticket gates, ticket gate methods and programs.

改札機には、端末などからの無線通信を通じて取得したデータとコードをデコードして得られたデータとに基づいて改札処理を行うものがある。そのような改札機は、無線通信でデータを取得するリーダと、コードを撮影するカメラとを同時に動作させ、各データを取得する。 Some ticket gates perform ticket gate processing based on data acquired through wireless communication from a terminal or the like and data obtained by decoding a code. In such a ticket gate, a reader that acquires data by wireless communication and a camera that captures a code are operated at the same time to acquire each data.

ユーザが端末にコードを表示させて改札機に翳した場合、従来、改札機は、コードを読み取る前に無線通信で端末から無線通信でデータを取得すると、当該データで改札処理を行ってしまうおそれがある。 When a user displays a code on a terminal and holds it at a ticket gate, conventionally, if the ticket gate acquires data from the terminal by wireless communication before reading the code, there is a risk that the ticket gate will be processed with the data. There is.

特開2017−45386号公報JP-A-2017-45386

上記の課題を解決するため、端末からのデータとコードをデコードして得られたデータとに基づいて適切に改札処理を行う改札機、改札方法及びプログラムを提供する。 In order to solve the above problems, a ticket gate, a ticket gate method, and a program that appropriately perform ticket gate processing based on the data from the terminal and the data obtained by decoding the code are provided.

実施形態によれば、改札機は、リーダと、カメラと、プロセッサと、を備える。リーダは、無線で改札処理に関する第1のデータを取得する。カメラは、改札処理に関する第2のデータをエンコードして得られたコードを撮影する。プロセッサは、前記リーダを通じて前記第1のデータの取得を開始した場合、前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方まで、前記カメラを用いた前記コードの読取を継続し、前記カメラを用いて前記コードを読み取ると前記第1のデータと前記第2のデータとに基づいて改札処理を行う、前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方までに前記カメラを用いて前記コードを読み取れなかった場合、前記第1のデータに基づいて改札処理を行う。 According to the embodiment, the ticket gate includes a reader, a camera, and a processor. The reader wirelessly acquires the first data regarding the ticket gate processing. The camera captures the code obtained by encoding the second data related to the ticket gate processing. When the processor starts the acquisition of the first data through the reader, the processor uses the camera until the reading of the first data is completed or the first period elapses, whichever is later. When the reading of the code is continued and the code is read using the camera, the ticket gate processing is performed based on the first data and the second data, until the reading of the first data is completed or If the code cannot be read by the camera by the later of the first period, the ticket gate processing is performed based on the first data.

図1は、実施形態に係る改札機の例を示す側面図である。FIG. 1 is a side view showing an example of a ticket gate according to the embodiment. 図2は、実施形態に係る改札機の例を示す上面図である。FIG. 2 is a top view showing an example of the ticket gate according to the embodiment. 図3は、実施形態に係るカメラなどの配置例を示す上面図である。FIG. 3 is a top view showing an arrangement example of a camera or the like according to the embodiment. 図4は、実施形態に係るカメラなどの配置例を示す断面図である。FIG. 4 is a cross-sectional view showing an arrangement example of a camera or the like according to the embodiment. 図5は、実施形態に係る改札機の構成例を示すブロック図である。FIG. 5 is a block diagram showing a configuration example of the ticket gate according to the embodiment. 図6は、実施形態に係る端末の外観を示す図である。FIG. 6 is a diagram showing the appearance of the terminal according to the embodiment. 図7は、実施形態に係る端末の構成例を示すブロック図である。FIG. 7 is a block diagram showing a configuration example of the terminal according to the embodiment. 図8は、実施形態に係る端末の動作例を示すフローチャートである。FIG. 8 is a flowchart showing an operation example of the terminal according to the embodiment. 図9は、実施形態に係る端末の動作例を示すフローチャートである。FIG. 9 is a flowchart showing an operation example of the terminal according to the embodiment.

以下、実施形態について、図面を参照して説明する。
実施形態では、改札機は、改札処理を行う。改札機は、ユーザが所持する端末から無線通信でデータを取得する。たとえば、改札機は、NFC(Near Field Communication)などにより端末からデータを取得する。また、改札機は、端末が表示するコードを読み取ることでデータを取得する。
Hereinafter, embodiments will be described with reference to the drawings.
In the embodiment, the ticket gate performs ticket gate processing. The ticket gate acquires data by wireless communication from a terminal owned by the user. For example, a ticket gate acquires data from a terminal by NFC (Near Field Communication) or the like. In addition, the ticket gate acquires data by reading the code displayed by the terminal.

改札機は、端末から取得した複数のデータに基づいて改札処理を行う。改札機は、駅構内への入出場処理を行う。たとえば、改札機は、在来線から新幹線への乗換口において入出場処理を行う。また、改札機は、所定の鉄道会社の路線から他の鉄道会社の路線への乗換口において入出場処理を行うものであってもよい。改札機が改札処理を行う乗換口又は入出場口は、特定の構成に限定されるものではない。
なお、改札機は、港、空港又はテーマパークなどに設置されるものであってもよい。
The ticket gate performs ticket gate processing based on a plurality of data acquired from the terminal. The ticket gate processes the entrance and exit to the station yard. For example, a ticket gate performs entry / exit processing at a transfer gate from a conventional line to the Shinkansen. Further, the ticket gate may be used to perform entry / exit processing at a transfer gate from a line of a predetermined railway company to a line of another railway company. The transfer gate or entrance / exit gate where the ticket gate processes the ticket gate is not limited to a specific configuration.
The ticket gate may be installed at a port, an airport, a theme park, or the like.

図1は、実施形態に係る改札機1の例を示す側面図である。また、図2は、改札機1の例を示す上面図である。たとえば、改札機1は、改札口において所定の領域に入場するユーザ又は所定の領域から出場するユーザの通行を制御する。また、改札機1は、ユーザが所持する端末2からデータを取得する。 FIG. 1 is a side view showing an example of the ticket gate 1 according to the embodiment. Further, FIG. 2 is a top view showing an example of the ticket gate 1. For example, the ticket gate 1 controls the passage of a user who enters a predetermined area or a user who exits from a predetermined area at the ticket gate. Further, the ticket gate 1 acquires data from the terminal 2 owned by the user.

図1が示すように、改札機1は、ドア12を備える。ドア12は、改札機1を通過するユーザを制御する。ドア12は、改札機1が形成する通行路側に設けられる。ドア12は、後述する制御部11からの信号に基づいて、開閉する。 As shown in FIG. 1, the ticket gate 1 includes a door 12. The door 12 controls a user passing through the ticket gate 1. The door 12 is provided on the passage side formed by the ticket gate 1. The door 12 opens and closes based on a signal from the control unit 11 described later.

ここでは、ドア12は、ドア12a及びドア12bから構成される。
ドア12aは、ユーザが通行する方向において改札機1の一端に設けられる。また、ドア12aは、上下方向において改札機1の中腹に設けられる。ドア12aは、所定の方向(ここでは、図1において右方向)から進入するユーザの進行を制御する。
Here, the door 12 is composed of the door 12a and the door 12b.
The door 12a is provided at one end of the ticket gate 1 in the direction in which the user passes. Further, the door 12a is provided in the middle of the ticket gate 1 in the vertical direction. The door 12a controls the progress of a user entering from a predetermined direction (here, to the right in FIG. 1).

ドア12bは、ユーザが通行する方向においてドア12aに対向する他端に設けられる。ドア12bは、所定の方向(ここでは、図1におい左方向)から進入するユーザの進行を制御する。 The door 12b is provided at the other end facing the door 12a in the direction in which the user passes. The door 12b controls the progress of a user entering from a predetermined direction (here, the left direction in FIG. 1).

また、改札機1の上面には、カメラ13、ライト14、リーダライタ16及び表示部18が設けられる。カメラ13は、上面の一端に設けられる。
図2が示すように、カメラ13及びライト14と重なるようにリーダライタ16が設けられる。
Further, a camera 13, a light 14, a reader / writer 16, and a display unit 18 are provided on the upper surface of the ticket gate 1. The camera 13 is provided at one end of the upper surface.
As shown in FIG. 2, a reader / writer 16 is provided so as to overlap the camera 13 and the light 14.

表示部18は、カメラ13又はリーダライタ16に端末を翳したユーザが視認可能な位置に形成されている。ここでは、表示部18は、ユーザの進行方向(ここでは、図1において右から左方向)においてカメラ13、ライト14及びリーダライタ16よりも前に形成されている。また、表示部18は、所定の角度に形成される。たとえば、表示部18は、通路に進入するユーザに向くように所定の角度に形成される。 The display unit 18 is formed at a position that can be visually recognized by a user holding a terminal on the camera 13 or the reader / writer 16. Here, the display unit 18 is formed before the camera 13, the light 14, and the reader / writer 16 in the traveling direction of the user (here, from right to left in FIG. 1). Further, the display unit 18 is formed at a predetermined angle. For example, the display unit 18 is formed at a predetermined angle so as to face a user entering the passage.

また、改札機1の上面には、後述する磁気券処理部17の投入口17aが設けられる。投入口17aは、上面の一端に設けられる。即ち、投入口17aは、カメラ13よりもユーザの進行方向において手前に設けられる。 Further, on the upper surface of the ticket gate 1, a slot 17a of a magnetic ticket processing unit 17, which will be described later, is provided. The input port 17a is provided at one end of the upper surface. That is, the insertion port 17a is provided in front of the camera 13 in the traveling direction of the user.

また、改札機1の側面には、人感センサ19が形成されている。人感センサ19は、ユーザが進行する方向に延びるように形成されている。 Further, a motion sensor 19 is formed on the side surface of the ticket gate 1. The motion sensor 19 is formed so as to extend in the direction in which the user travels.

図3は、カメラ13などの配置例を示す上面図である。また、図4は、カメラ13などの配置例を示す断面図である。 FIG. 3 is a top view showing an arrangement example of the camera 13 and the like. Further, FIG. 4 is a cross-sectional view showing an arrangement example of the camera 13 and the like.

図3が示すように、カメラ13の周囲には、ライト14が設けられる。ライト14は、リング状に形成される。ライト14は、カメラ13を囲うように設けられる。 As shown in FIG. 3, a light 14 is provided around the camera 13. The light 14 is formed in a ring shape. The light 14 is provided so as to surround the camera 13.

また、カメラ13、ライト14を含む所定の領域には、リーダライタ16が備えるアンテナ16aが設けられる。アンテナ16aは、通信領域30に翳されるICチップなどの通信装置と通信可能な大きさに形成される。 Further, an antenna 16a included in the reader / writer 16 is provided in a predetermined area including the camera 13 and the light 14. The antenna 16a is formed in a size capable of communicating with a communication device such as an IC chip held in the communication area 30.

図4が示すように、カメラ13、ライト14及びアンテナ16aは、所定の角度に形成される。たとえば、カメラ13、ライト14及びアンテナ16aは、通路に進入するユーザに向くように所定の角度に形成される。 As shown in FIG. 4, the camera 13, the light 14, and the antenna 16a are formed at a predetermined angle. For example, the camera 13, the light 14, and the antenna 16a are formed at predetermined angles so as to face the user entering the aisle.

カメラ13及びライト14は、アンテナ16aよりも下部に設けられる。即ち、カメラ13及びライト14は、アンテナ16aよりも改札機1の内部に設けられる。また、アンテナ16aが設けられる領域は、カメラ13が撮影する光又はライト14が照射する光を透過する素材から形成される。 The camera 13 and the light 14 are provided below the antenna 16a. That is, the camera 13 and the light 14 are provided inside the ticket gate 1 rather than the antenna 16a. Further, the region where the antenna 16a is provided is formed of a material that transmits light taken by the camera 13 or light emitted by the light 14.

次に、改札機1の制御系の構成例について説明する。
図5は、改札機1の制御系の構成例を示すブロック図である。図5が示すように、改札機1は、制御部11、ドア12、カメラ13、ライト14、リーダライタ16、磁気券処理部17、表示部18及び人感センサ19などを備える。制御部11と、ドア12、カメラ13、ライト14、リーダライタ16、磁気券処理部17、表示部18及び人感センサ19とは、データバス及び所定のインターフェースなどを通じて互いに接続する。
Next, a configuration example of the control system of the ticket gate 1 will be described.
FIG. 5 is a block diagram showing a configuration example of the control system of the ticket gate 1. As shown in FIG. 5, the ticket gate 1 includes a control unit 11, a door 12, a camera 13, a light 14, a reader / writer 16, a magnetic ticket processing unit 17, a display unit 18, a motion sensor 19, and the like. The control unit 11, the door 12, the camera 13, the light 14, the reader / writer 16, the magnetic ticket processing unit 17, the display unit 18, and the motion sensor 19 are connected to each other through a data bus, a predetermined interface, or the like.

なお、改札機1は、図5が示すような構成の他に必要に応じた構成をさらに具備したり、改札機1から特定の構成が除外されたりしてもよい。 In addition to the configuration shown in FIG. 5, the ticket gate 1 may further include a configuration as required, or a specific configuration may be excluded from the ticket gate 1.

制御部11は、改札機1全体の動作を制御する。たとえば、制御部11は、種々のデータに基づいて改札処理を行う。たとえば、制御部11は、改札処理に関連して入出場処理を行う。制御部11は、ドア12を開閉しユーザの通行を制御する。制御部11は、たとえば、プロセッサ、RAM、ROM及びNVMなどから構成される。また、制御部11は、ASIC(Application Specific Integrated Circuit)などから構成されるものであってもよい。また、制御部11は、FPGA(Field Programmable Gate Array)などから構成されるものであってもよい。 The control unit 11 controls the operation of the entire ticket gate 1. For example, the control unit 11 performs ticket gate processing based on various data. For example, the control unit 11 performs entry / exit processing in connection with ticket gate processing. The control unit 11 opens and closes the door 12 to control the passage of the user. The control unit 11 is composed of, for example, a processor, RAM, ROM, NVM, and the like. Further, the control unit 11 may be composed of an ASIC (Application Specific Integrated Circuit) or the like. Further, the control unit 11 may be composed of an FPGA (Field Programmable Gate Array) or the like.

ドア12については、前述の通りである。 The door 12 is as described above.

カメラ13は、ユーザが翳す端末2が表示するコードを撮影する。
また、カメラ13は、紙、樹脂又はシートなど発光しない媒体のコードを撮影するものであってもよい。
カメラ13は、撮影した画像を制御部11に送信する。
たとえば、カメラ13は、CCD(Charge Coupled Device)カメラなどである。
The camera 13 captures a code displayed by the terminal 2 held by the user.
Further, the camera 13 may capture a code of a medium that does not emit light, such as paper, resin, or a sheet.
The camera 13 transmits the captured image to the control unit 11.
For example, the camera 13 is a CCD (Charge Coupled Device) camera or the like.

コードは、改札処理に関する所定のデータ(改札処理に関する第2のデータ)をエンコードして得られたコードである。たとえば、コードは、第2のデータとして乗車券、特急券、寝台券、企画切符若しくはチケットレスサービスなど交通機関を利用するための乗車券情報、定期券に関する定期券情報又はユーザを特定する特定情報などを所定のアルゴリズムでエンコードして得られるコードである。 The code is a code obtained by encoding predetermined data related to the ticket gate processing (second data related to the ticket gate processing). For example, the code is the second data such as a ticket, a limited express ticket, a sleeper ticket, a special ticket or a ticketless service, or other ticket information for using transportation, a commuter pass information related to a commuter pass, or specific information that identifies a user. It is a code obtained by encoding such as with a predetermined algorithm.

たとえば、コードは、二次元コード(たとえば、QRコード(登録商標))である。なお、コードは、一次元コードであってもよい。コードの構成は、特定の構成に限定されるものではない。 For example, the code is a two-dimensional code (eg, QR code®). The code may be a one-dimensional code. The structure of the code is not limited to a specific structure.

ライト14は、ユーザが翳す媒体(紙媒体など)を照らすためのライトである。たとえば、ライト14は、カメラ13が向く方向と同一の方向に光を照射する。たとえば、ライト14は、LED(Light Emitting Diode)などから構成される。 The light 14 is a light for illuminating a medium (paper medium or the like) held by the user. For example, the light 14 irradiates light in the same direction as the camera 13 faces. For example, the light 14 is composed of an LED (Light Emitting Diode) or the like.

リーダライタ16は、端末2又はICチップなどと非接触でデータを送受信するためのインターフェースである。リーダライタ16は、端末2又はICチップなどから無線で改札処理に関する所定のデータ(改札処理に関する第1のデータ)を読み取る。リーダライタ16は、読み取ったデータを制御部11に送信する。 The reader / writer 16 is an interface for transmitting and receiving data in a non-contact manner with the terminal 2 or an IC chip or the like. The reader / writer 16 wirelessly reads predetermined data related to the ticket gate processing (first data related to the ticket gate processing) from the terminal 2 or the IC chip or the like. The reader / writer 16 transmits the read data to the control unit 11.

たとえば、リーダライタ16は、制御部11からの制御に基づいてコマンドを端末2に送信する。また、リーダライタ16は、端末2からのレスポンスが含むデータを制御部11に送信する。 For example, the reader / writer 16 transmits a command to the terminal 2 based on the control from the control unit 11. Further, the reader / writer 16 transmits the data included in the response from the terminal 2 to the control unit 11.

リーダライタ16は、端末2との無線通信を行うためのアンテナ16a及び通信制御部などにより構成される。 The reader / writer 16 includes an antenna 16a for performing wireless communication with the terminal 2, a communication control unit, and the like.

また、リーダライタ16は、ICチップとデータを送受信するものであってもよい。たとえば、リーダライタ16は、ICチップに対する電源供給、クロック供給、リセット制御及びデータの送受信などを行う。 Further, the reader / writer 16 may transmit / receive data to / from the IC chip. For example, the reader / writer 16 performs power supply, clock supply, reset control, data transmission / reception, and the like to the IC chip.

このような機能によってリーダライタ16は、制御部11による制御に基づいてICチップに対する電源供給、ICチップの活性化(起動)、クロック供給、リセット制御、種々のコマンドの送信及び送信したコマンドに対する応答(レスポンス)の受信などを行なう。 With such a function, the reader / writer 16 supplies power to the IC chip, activates (starts) the IC chip, supplies clocks, reset control, transmits various commands, and responds to the transmitted commands based on the control by the control unit 11. (Response) is received.

たとえば、リーダライタ16は、NFC通信をサポートする。なお、リーダライタ16がサポートする通信規格は、特定の構成に限定されるものではない。 For example, the reader / writer 16 supports NFC communication. The communication standard supported by the reader / writer 16 is not limited to a specific configuration.

磁気券処理部17は、磁気券からデータを読み取り、又は、磁気券にデータを書き込む。たとえば、磁気券処理部17は、磁気定期券又は切符に記録されている磁気情報を読み取り、又は、磁気定期券又は切符に磁気情報を書き込む。磁気券処理部17は、投入口17aから磁気券の投入を受け付ける。 The magnetic ticket processing unit 17 reads data from the magnetic ticket or writes data to the magnetic ticket. For example, the magnetic ticket processing unit 17 reads the magnetic information recorded on the magnetic commuter pass or the ticket, or writes the magnetic information on the magnetic commuter pass or the ticket. The magnetic ticket processing unit 17 accepts the insertion of a magnetic ticket from the insertion slot 17a.

なお、投入口17aは、シャッタなど備えてもよい。磁気券処理部17は、制御部11からの制御に従って投入口17aのシャッタを開閉し、投入口17aへの磁気券の投入を制御する。 The insertion port 17a may be provided with a shutter or the like. The magnetic ticket processing unit 17 opens and closes the shutter of the insertion port 17a according to the control from the control unit 11 to control the insertion of the magnetic ticket into the insertion port 17a.

表示部18は、制御部11からの制御に従って、通路に進入するユーザに情報を表示する。たとえば、表示部18は、液晶モニタから構成される。 The display unit 18 displays information to the user entering the aisle according to the control from the control unit 11. For example, the display unit 18 is composed of a liquid crystal monitor.

人感センサ19は、ユーザが改札機1の通路に存在するか否かを検出するセンサである。人感センサ19は、図1に示されるように、進行方向に沿って改札機1の側面に形成されている。人感センサ19は、通路におけるユーザの位置を検出する。人感センサ19は、検出結果を制御部11に送信する。 The motion sensor 19 is a sensor that detects whether or not the user is present in the passage of the ticket gate 1. As shown in FIG. 1, the motion sensor 19 is formed on the side surface of the ticket gate 1 along the traveling direction. The motion sensor 19 detects the position of the user in the passage. The motion sensor 19 transmits the detection result to the control unit 11.

たとえば、人感センサ19は、複数のセンサから構成される。制御部11は、各センサの検出結果の変化に基づいて、通路を通過する人物の有無及び位置を検出する。 For example, the motion sensor 19 is composed of a plurality of sensors. The control unit 11 detects the presence / absence and position of a person passing through the passage based on the change in the detection result of each sensor.

人感センサ19は、例えば、改札機1の側面から通路に向かって光を出力する例えばLEDなどの投光器と、投光器からの光の反射光を検出するフォトダイオードとを有する反射型のセンサから構成される。 The motion sensor 19 is composed of, for example, a reflection type sensor having a floodlight such as an LED that outputs light from the side surface of the ticket gate 1 toward the passage and a photodiode that detects the reflected light of the light from the floodlight. Will be done.

なお、人感センサ19は、撮像素子と、通路からの光を撮像素子に結像させる光学系と、を備えるカメラを備え、カメラにより取得した画像を解析することにより、通路の利用者が存在する位置を検出する構成であってもよい。 The motion sensor 19 includes a camera including an image sensor and an optical system that forms an image of light from the passage on the image sensor, and the user of the passage exists by analyzing the image acquired by the camera. It may be configured to detect the position to be used.

次に、端末2について説明する。
図6は、端末2の外観を示す。図7は、端末2の制御系の構成例を示すブロック図である。
Next, the terminal 2 will be described.
FIG. 6 shows the appearance of the terminal 2. FIG. 7 is a block diagram showing a configuration example of the control system of the terminal 2.

図6が示すように、端末2は、矩形に形成される。端末2は、一面(表面)に操作部26及び表示部27を備える。また、端末2は、他面(裏面)に無線モジュール28を備える。たとえば、無線モジュール28は、端末2の筐体の内部に形成される。 As shown in FIG. 6, the terminal 2 is formed in a rectangular shape. The terminal 2 includes an operation unit 26 and a display unit 27 on one surface (front surface). Further, the terminal 2 is provided with a wireless module 28 on the other surface (back surface). For example, the wireless module 28 is formed inside the housing of the terminal 2.

図7が示すように、端末2は、プロセッサ21、ROM22、RAM23、NVM24、通信部25、操作部26、表示部27及び無線モジュール28などを備える。 As shown in FIG. 7, the terminal 2 includes a processor 21, a ROM 22, a RAM 23, an NVM 24, a communication unit 25, an operation unit 26, a display unit 27, a wireless module 28, and the like.

プロセッサ21と、ROM22、RAM23、NVM24、通信部25、操作部26、表示部27及び無線モジュール28と、は、データバスなどを介して互いに接続する。 The processor 21, the ROM 22, the RAM 23, the NVM 24, the communication unit 25, the operation unit 26, the display unit 27, and the wireless module 28 are connected to each other via a data bus or the like.

なお、端末2は、図7が示すような構成の他に必要に応じた構成を具備したり、端末2から特定の構成が除外されたりしてもよい。 In addition to the configuration shown in FIG. 7, the terminal 2 may have a configuration as required, or a specific configuration may be excluded from the terminal 2.

プロセッサ21は、端末2全体の動作を制御する機能を有する。プロセッサ21は、内部キャッシュ及び各種のインターフェースなどを備えてもよい。プロセッサ21は、内部メモリ、ROM22又はNVM24が予め記憶するプログラムを実行することにより種々の処理を実現する。 The processor 21 has a function of controlling the operation of the entire terminal 2. The processor 21 may include an internal cache, various interfaces, and the like. The processor 21 realizes various processes by executing a program stored in advance in the internal memory, ROM 22 or NVM 24.

なお、プロセッサ21がプログラムを実行することにより実現する各種の機能のうちの一部は、ハードウエア回路により実現されるものであってもよい。この場合、プロセッサ21は、ハードウエア回路により実行される機能を制御する。 It should be noted that some of the various functions realized by the processor 21 executing the program may be realized by the hardware circuit. In this case, the processor 21 controls the functions performed by the hardware circuits.

ROM22は、制御プログラム及び制御データなどが予め記憶された不揮発性のメモリである。ROM22に記憶される制御プログラム及び制御データは、端末2の仕様に応じて予め組み込まれる。 The ROM 22 is a non-volatile memory in which a control program, control data, and the like are stored in advance. The control program and control data stored in the ROM 22 are incorporated in advance according to the specifications of the terminal 2.

RAM23は、揮発性のメモリである。RAM23は、プロセッサ21の処理中のデータなどを一時的に格納する。RAM23は、プロセッサ21からの命令に基づき種々のアプリケーションプログラムを格納する。また、RAM23は、アプリケーションプログラムの実行に必要なデータ及びアプリケーションプログラムの実行結果などを格納してもよい。 The RAM 23 is a volatile memory. The RAM 23 temporarily stores data and the like being processed by the processor 21. The RAM 23 stores various application programs based on instructions from the processor 21. Further, the RAM 23 may store data necessary for executing the application program, an execution result of the application program, and the like.

NVM24は、データの書き込み及び書き換えが可能な不揮発性のメモリである。NVM24は、たとえば、HDD(Hard Disk Drive)、SSD(Solid State Drive)又はフラッシュメモリなどから構成される。NVM24は、端末2の運用用途に応じて制御プログラム、アプリケーション及び種々のデータなどを格納する。 The NVM 24 is a non-volatile memory capable of writing and rewriting data. The NVM 24 is composed of, for example, an HDD (Hard Disk Drive), an SSD (Solid State Drive), a flash memory, or the like. The NVM 24 stores a control program, an application, various data, and the like according to the operational use of the terminal 2.

通信部25は、ネットワークに接続するためのインターフェースである。たとえば、通信部25は、セルラーネットワークに接続するためのインターフェースである。また、通信部25は、LAN(Local Area Network)接続をサポートするものであってもよい。 The communication unit 25 is an interface for connecting to a network. For example, the communication unit 25 is an interface for connecting to a cellular network. Further, the communication unit 25 may support a LAN (Local Area Network) connection.

操作部26は、オペレータから種々の操作の入力を受け付ける。操作部26は、入力された操作を示す信号をプロセッサ21へ送信する。ここでは、操作部26は、タッチパネルから構成される。 The operation unit 26 receives inputs for various operations from the operator. The operation unit 26 transmits a signal indicating the input operation to the processor 21. Here, the operation unit 26 is composed of a touch panel.

表示部27は、プロセッサ21からの画像データを表示する。たとえば、表示部27は、液晶モニタから構成される。ここでは、表示部27は、操作部26と一体的に形成される。 The display unit 27 displays the image data from the processor 21. For example, the display unit 27 is composed of a liquid crystal monitor. Here, the display unit 27 is integrally formed with the operation unit 26.

無線モジュール28は、改札機1のリーダライタ16とデータを送受信するためのインターフェースである。無線モジュール28は、リーダライタ16からのデータをプロセッサ21に送信する。また、無線モジュール28は、プロセッサ21からの制御に従って所定のデータをリーダライタ16に送信する。 The wireless module 28 is an interface for transmitting and receiving data to and from the reader / writer 16 of the ticket gate 1. The wireless module 28 transmits data from the reader / writer 16 to the processor 21. Further, the wireless module 28 transmits predetermined data to the reader / writer 16 according to the control from the processor 21.

たとえば、無線モジュール28は、リーダライタ16からのコマンドをプロセッサ21に送信する。また、無線モジュール28は、プロセッサ21からの制御に従ってレスポンスをリーダライタに送信する。 For example, the wireless module 28 transmits a command from the reader / writer 16 to the processor 21. Further, the wireless module 28 transmits a response to the reader / writer according to the control from the processor 21.

たとえば、無線モジュール28は、アンテナ及び通信制御部などにより構成される。アンテナは、リーダライタ16からの電波を受信する。通信制御部は、アンテナで受信した電波の信号を復調しプロセッサ21へ送信する。また、通信制御部は、プロセッサ21からの信号を変調しアンテナへ供給する。 For example, the wireless module 28 includes an antenna, a communication control unit, and the like. The antenna receives radio waves from the reader / writer 16. The communication control unit demodulates the signal of the radio wave received by the antenna and transmits it to the processor 21. Further, the communication control unit modulates the signal from the processor 21 and supplies it to the antenna.

たとえば、無線モジュール28は、NFC通信をサポートする。なお、無線モジュール28がサポートする通信規格は、特定の構成に限定されるものではない。 For example, the wireless module 28 supports NFC communication. The communication standard supported by the wireless module 28 is not limited to a specific configuration.

たとえば、端末2は、スマートフォン、ノートPC、タブレットPC又はウェアラブル端末などである。端末2の構成は、特定の構成に限定されるものではない。 For example, the terminal 2 is a smartphone, a notebook PC, a tablet PC, a wearable terminal, or the like. The configuration of the terminal 2 is not limited to a specific configuration.

次に、端末2が実現する機能について説明する。端末2が実現する機能は、プロセッサ21がROM22又はNVM24などに格納されるプログラムを実行することで実現される。 Next, the functions realized by the terminal 2 will be described. The function realized by the terminal 2 is realized by the processor 21 executing a program stored in the ROM 22 or the NVM 24 or the like.

まず、プロセッサ21は、無線モジュール28を通じて、無線通信で改札機1に第1のデータを送信する機能を有する。即ち、プロセッサ21は、無線モジュール28を用いた無線通信によるデータ送信によって、第1のデータを改札機1に送信する。 First, the processor 21 has a function of transmitting the first data to the ticket gate 1 by wireless communication through the wireless module 28. That is, the processor 21 transmits the first data to the ticket gate 1 by transmitting data by wireless communication using the wireless module 28.

たとえば、NVM24は、予め改札機1に送信する第1のデータを格納する。たとえば、NVM24は、乗車券、特急券、寝台券、企画切符若しくはチケットレスサービスなど交通機関を利用するための乗車券情報、チャージされた金額を示すストアードフェア情報、定期券に関する定期券情報又はユーザを特定する特定情報などを第1のデータとして格納する。なお、改札機1に送信する第1のデータは、特定の構成に限定されるものではない。また、改札機1に送信する第1のデータは、適宜更新されるものであってもよい。 For example, the NVM 24 stores the first data to be transmitted to the ticket gate 1 in advance. For example, NVM24 is a ticket information for using transportation such as a ticket, a limited express ticket, a sleeper ticket, a planning ticket or a ticketless service, a stored fair information indicating the charged amount, a commuter pass information related to a commuter pass, or a user. Specific information for specifying the above is stored as the first data. The first data transmitted to the ticket gate 1 is not limited to a specific configuration. Further, the first data transmitted to the ticket gate 1 may be updated as appropriate.

プロセッサ21は、無線モジュール28に対して電力を供給し無線モジュール28を活性化する。無線モジュール28を活性化すると、プロセッサ21は、無線モジュール28を通じて、改札機1からポーリング信号を受信したか判定する。 The processor 21 supplies electric power to the wireless module 28 to activate the wireless module 28. When the wireless module 28 is activated, the processor 21 determines whether or not a polling signal has been received from the ticket gate 1 through the wireless module 28.

ポーリング信号を受信したと判定すると、プロセッサ21は、無線モジュール28を通じて、ポーリング信号に対するレスポンスを改札機1に送信する。レスポンスを改札機1に送信すると、プロセッサ21は、無線モジュール28を通じて、第1のデータを取得するためコマンドを改札機1から受信する。 When it is determined that the polling signal has been received, the processor 21 transmits a response to the polling signal to the ticket gate 1 through the wireless module 28. When the response is transmitted to the ticket gate 1, the processor 21 receives a command from the ticket gate 1 in order to acquire the first data through the wireless module 28.

コマンドを受信すると、プロセッサ21は、無線モジュール28を通じて、第1のデータを含むレスポンスを改札機1に送信する。たとえば、プロセッサ21は、コマンドに従って、乗車券情報、ストアードフェア情報、定期券情報又は特定情報などを第1のデータとして含むレスポンスを改札機1に送信する。 Upon receiving the command, the processor 21 transmits a response including the first data to the ticket gate 1 through the wireless module 28. For example, the processor 21 transmits a response including the ticket information, the stored fair information, the commuter pass information, the specific information, and the like as the first data to the ticket gate 1 according to the command.

また、プロセッサ21は、第2のデータをエンコードして得られたコードを表示部27に表示する機能を有する。 Further, the processor 21 has a function of displaying the code obtained by encoding the second data on the display unit 27.

プロセッサ21は、予め第2のデータを取得する。たとえば、ユーザは、端末2を通じて所定のサイト又はアプリなどで乗車券を購入する。プロセッサ21は、ユーザが購入した乗車券を示す乗車券情報を第2のデータとして取得する。 The processor 21 acquires the second data in advance. For example, the user purchases a ticket at a predetermined site or application through the terminal 2. The processor 21 acquires the ticket information indicating the ticket purchased by the user as the second data.

また、プロセッサ21は、ユーザから操作部26などを通じて入力された定期券情報を第2のデータとして取得してもよい。
また、プロセッサ21は、ユーザから操作部26などを通じて入力された特定情報を第2のデータとして取得してもよい。
なお、第2のデータは、特定の構成に限定されるものではない。
Further, the processor 21 may acquire the commuter pass information input from the user through the operation unit 26 or the like as the second data.
Further, the processor 21 may acquire the specific information input from the user through the operation unit 26 or the like as the second data.
The second data is not limited to a specific configuration.

プロセッサ21は、ユーザから操作部26などを通じて、コードを表示する操作の入力を受け付ける。当該操作を受け付けると、プロセッサ21は、第2のデータを所定のアルゴリズムに従ってエンコードしコードを生成する。コードを取得すると、プロセッサ21は、コードを表示部27に表示する。 The processor 21 receives an input of an operation for displaying a code from a user through an operation unit 26 or the like. Upon accepting the operation, the processor 21 encodes the second data according to a predetermined algorithm to generate a code. When the code is acquired, the processor 21 displays the code on the display unit 27.

なお、プロセッサ21は、当該操作の入力前にコードを生成してもよい。また、プロセッサ21は、外部サーバなどからコードを取得するものであってもよい。 The processor 21 may generate a code before inputting the operation. Further, the processor 21 may acquire a code from an external server or the like.

次に、制御部11が実現する機能について説明する。制御部11が実現する機能は、プロセッサが内部メモリなどに格納されるプログラムを実行することで実現される。
まず、制御部11は、カメラ13を用いて端末2からコードを読み取る機能を有する。
Next, the functions realized by the control unit 11 will be described. The function realized by the control unit 11 is realized by the processor executing a program stored in an internal memory or the like.
First, the control unit 11 has a function of reading a code from the terminal 2 using the camera 13.

たとえば、制御部11は、カメラ13を用いて、ユーザが翳す端末2が表示するコードを含む画像を撮影する。制御部11は、画像からコードを特定する。制御部11は、特定したコードをデコードする。制御部11は、コードをデコードすることで第2のデータを取得する。 For example, the control unit 11 uses the camera 13 to take an image including a code displayed by the terminal 2 held by the user. The control unit 11 identifies the code from the image. The control unit 11 decodes the specified code. The control unit 11 acquires the second data by decoding the code.

制御部11は、コードをデコードすることで、第2のデータとして乗車券情報、定期券情報又は特定情報などを取得する。
また、制御部11は、紙媒体などに印刷されたコードを読み取るものであってもよい。
By decoding the code, the control unit 11 acquires ticket information, commuter pass information, specific information, and the like as second data.
Further, the control unit 11 may read a code printed on a paper medium or the like.

また、制御部11は、コードを読み取る際にライト14を点灯させてもよい。 Further, the control unit 11 may turn on the light 14 when reading the code.

また、制御部11は、リーダライタ16を通じて無線通信で端末2から第1のデータを取得する機能を有する。 Further, the control unit 11 has a function of acquiring the first data from the terminal 2 by wireless communication through the reader / writer 16.

たとえば、制御部11は、リーダライタ16を通じてポーリング信号を送信する。制御部11は、リーダライタ16を通じてポーリング信号に対するレスポンスを取得すると、端末2を認識する。制御部11は、リーダライタ16を通じて、端末2に対して、第1のデータを取得するためのコマンドを送信する。制御部11は、リーダライタ16を通じて、端末2から第1のデータを含むレスポンスを受信する。 For example, the control unit 11 transmits a polling signal through the reader / writer 16. When the control unit 11 acquires a response to the polling signal through the reader / writer 16, it recognizes the terminal 2. The control unit 11 transmits a command for acquiring the first data to the terminal 2 through the reader / writer 16. The control unit 11 receives a response including the first data from the terminal 2 through the reader / writer 16.

制御部11は、端末2から、第1のデータとして乗車券情報、ストアードフェア情報、定期券情報又は特定情報などを取得する。 The control unit 11 acquires ticket information, stored fair information, commuter pass information, specific information, and the like as first data from the terminal 2.

なお、制御部11は、リーダライタ16を通じてICカードなどのICチップからデータを読み取るものであってもよい。 The control unit 11 may read data from an IC chip such as an IC card through a reader / writer 16.

また、制御部11は、先にリーダライタ16を通じて端末2などから第1のデータを取得した場合、カメラ13を用いたコードの読取を所定の期間(第1の期間)、継続する機能を有する。 Further, the control unit 11 has a function of continuing reading of the code using the camera 13 for a predetermined period (first period) when the first data is first acquired from the terminal 2 or the like through the reader / writer 16. ..

制御部11は、リーダライタ16を通じた第1のデータの取得を開始しても、コードの読取を継続する。また、制御部11は、磁気券処理部17を通じた磁気券の取得も継続してもよい。また、制御部11は、リーダライタ16を通じた第1のデータの取得を開始した場合、コード読取タイマを開始する。 The control unit 11 continues reading the code even when the acquisition of the first data through the reader / writer 16 is started. Further, the control unit 11 may continue to acquire the magnetic ticket through the magnetic ticket processing unit 17. Further, when the control unit 11 starts acquiring the first data through the reader / writer 16, the control unit 11 starts the code reading timer.

制御部11は、リーダライタ16を通じた第1のデータの読取が完了し、かつ、コード読取タイマが計時する値が所定の閾値(コード読取タイムアウト時間)を超える(タイムアウトする)と、コードの読取を停止する。即ち、制御部11は、第1のデータの読取の完了、又は、タイムアウトの何れか遅い時期までコードの読取を継続する。 When the reading of the first data through the reader / writer 16 is completed and the value measured by the code reading timer exceeds a predetermined threshold value (code reading timeout time) (timeout), the control unit 11 reads the code. To stop. That is, the control unit 11 continues reading the code until the completion of reading the first data or the timeout, whichever is later.

たとえば、制御部11は、カメラ13がコードを撮影してもコードをデコードしない。また、制御部11は、カメラ13をオフにしてもよい。
たとえば、コード読取タイムアウト時間は、0.1秒から1秒程度である。
For example, the control unit 11 does not decode the code even if the camera 13 captures the code. Further, the control unit 11 may turn off the camera 13.
For example, the code reading timeout time is about 0.1 second to 1 second.

また、制御部11は、先にカメラ13を用いてコードを読み取った場合、リーダライタ16を用いた第1のデータの取得を所定の期間(第2の期間)、継続する機能を有する。 Further, the control unit 11 has a function of continuing the acquisition of the first data using the reader / writer 16 for a predetermined period (second period) when the code is first read by the camera 13.

制御部11は、カメラ13を用いてコードを読み取っても、リーダライタ16を通じた第1のデータの取得、磁気券処理部17を用いた磁気券の取得及びカメラ13を用いたコードの読取を継続する。 Even if the control unit 11 reads the code using the camera 13, the control unit 11 can acquire the first data through the reader / writer 16, acquire the magnetic ticket using the magnetic ticket processing unit 17, and read the code using the camera 13. continue.

制御部11は、カメラ13を用いてコードを読み取った場合、券読取タイマを開始する。制御部11は、券読取タイマが計時する値が所定の閾値(券読取タイムアウト時間)を超える(タイムアウトする)と、リーダライタ16を通じた第1のデータの取得及び磁気券処理部17を用いた磁気券の取得を停止する。たとえば、制御部11は、リーダライタ16が第1のデータを取得しても無視する。また、制御部11は、リーダライタ16をオフにしてもよい。また、制御部11は、投入口17aを閉鎖する。
たとえば、券読取タイムアウト時間は、数十秒(たとえば、30秒)程度である。
When the code is read by the camera 13, the control unit 11 starts the ticket reading timer. When the value measured by the ticket reading timer exceeds a predetermined threshold value (ticket reading timeout time) (time-out), the control unit 11 acquires the first data through the reader / writer 16 and uses the magnetic ticket processing unit 17. Stop acquiring magnetic tickets. For example, the control unit 11 ignores even if the reader / writer 16 acquires the first data. Further, the control unit 11 may turn off the reader / writer 16. Further, the control unit 11 closes the input port 17a.
For example, the ticket reading timeout time is about several tens of seconds (for example, 30 seconds).

また、制御部11は、タイムアウト前に、リーダライタ16を通じて第1のデータを取得した場合、磁気券処理部17を用いて磁気券を取得した場合、又は、カメラ13を用いてコードを読み取った場合、券読取タイマをリセットする。 Further, the control unit 11 has acquired the first data through the reader / writer 16 before the time-out, acquired the magnetic ticket using the magnetic ticket processing unit 17, or read the code using the camera 13. If so, reset the ticket reading timer.

制御部11は、改札処理に必要なデータが揃ったか判定する機能を有する。 The control unit 11 has a function of determining whether or not the data required for ticket gate processing is available.

制御部11は、他のデータ(たとえば、リーダライタ16を通じた第1のデータ、磁気券から読み取ったデータ又は他のコードをデコードして得られた第2のデータ)を取得した場合、改札処理に必要なデータが揃ったか判定する。 When the control unit 11 acquires other data (for example, the first data through the reader / writer 16, the data read from the magnetic ticket, or the second data obtained by decoding another code), the ticket gate processing Determine if the necessary data is available.

制御部11は、カメラ13を用いて先に取得したコードをデコードして得られた第2のデータ及び取得した他のデータなどに基づいて改札処理に必要なデータが揃ったか判定する。 The control unit 11 determines whether or not the data necessary for the ticket gate processing is prepared based on the second data obtained by decoding the previously acquired code using the camera 13 and other acquired data.

たとえば、制御部11は、ユーザが乗車した駅から改札機1が設置されている駅までの乗車券、及び、改札機1が設置されている駅から降車駅までの乗車券が揃っているか判定する。また、改札機1が新幹線の入出場口に設置されている場合、制御部11は、乗車券と特急券とが揃っているか判定する。 For example, the control unit 11 determines whether the ticket from the station where the user boarded to the station where the ticket gate 1 is installed and the ticket from the station where the ticket gate 1 is installed to the station where the ticket gate 1 is installed are available. To do. Further, when the ticket gate 1 is installed at the entrance / exit of the Shinkansen, the control unit 11 determines whether the ticket and the limited express ticket are available.

制御部11が改札処理に必要なデータが揃ったか判定する方法は、特定の方法に限定されるものではない。 The method by which the control unit 11 determines whether or not the data necessary for the ticket gate processing is prepared is not limited to a specific method.

改札処理に必要なデータが揃っていないと判定すると、制御部11は、改札処理に必要なデータが揃っていないことを示す情報を表示部18に表示する。たとえば、制御部11は、不足するデータを示す情報を表示部18に表示する。 If it is determined that the data required for the ticket gate processing is not available, the control unit 11 displays information indicating that the data required for the ticket gate process is not available on the display unit 18. For example, the control unit 11 displays information indicating insufficient data on the display unit 18.

また、制御部11は、取得した情報に基づいて改札処理を行う機能を有する。
即ち、制御部11は、取得した情報に基づいてユーザの通行の可否を判定する。
Further, the control unit 11 has a function of performing ticket gate processing based on the acquired information.
That is, the control unit 11 determines whether or not the user can pass based on the acquired information.

たとえば、制御部11は、先にリーダライタ16を通じて第1のデータを取得しコード読取タイマがタイムアウトした場合、当該データに基づいて改札処理を行う。制御部11は、必要に応じて、リーダライタ16を通じて所定のデータ(ストアードフェア情報など)を端末2に送信してもよい。 For example, when the control unit 11 first acquires the first data through the reader / writer 16 and the code reading timer times out, the control unit 11 performs ticket gate processing based on the data. If necessary, the control unit 11 may transmit predetermined data (stored fair information, etc.) to the terminal 2 through the reader / writer 16.

また、制御部11は、先にリーダライタ16を通じて第1のデータを取得しコード読取タイマがタイムアウトする前にコードを読み取った場合、取得した第1のデータとコードをデコードして得られた第2のデータとに基づいて改札処理を行う。 Further, when the control unit 11 first acquires the first data through the reader / writer 16 and reads the code before the code reading timer times out, the control unit 11 decodes the acquired first data and the code to obtain the first data. The ticket gate processing is performed based on the data of 2.

また、制御部11は、先にコードを読み取り必要なデータが揃うと、コードをデコードして得られた第2のデータと取得した他のデータとに基づいて改札処理を行う。 Further, when the code is read first and the necessary data is prepared, the control unit 11 performs ticket gate processing based on the second data obtained by decoding the code and the acquired other data.

なお、制御部11は、券読取タイマがタイムアウトすると、ユーザの通行を不可と判定する。この場合、制御部11は、タイムアウトしたことを示す情報を表示部18に表示してもよい。 When the ticket reading timer times out, the control unit 11 determines that the user cannot pass. In this case, the control unit 11 may display information indicating that the time-out has occurred on the display unit 18.

次に、改札機1の動作例について説明する。
図8及び図9は、改札機1の動作例について説明するためのフローチャートである。
Next, an operation example of the ticket gate 1 will be described.
8 and 9 are flowcharts for explaining an operation example of the ticket gate 1.

ここでは、制御部11は、リーダライタ16を通じた第1のデータの取得、カメラ13を用いたコードの読取及び磁気券処理部17を用いた磁気券の取得を行うものとする。 Here, the control unit 11 shall acquire the first data through the reader / writer 16, read the code using the camera 13, and acquire the magnetic ticket using the magnetic ticket processing unit 17.

まず、改札機1の制御部11は、リーダライタ16を通じた第1のデータの取得を開始したか判定する(S11)。リーダライタ16を通じた第1のデータの取得を開始したと判定すると(S11、YES)、制御部11は、コード読取タイマを開始する(S12)。 First, the control unit 11 of the ticket gate 1 determines whether or not the acquisition of the first data through the reader / writer 16 has started (S11). When it is determined that the acquisition of the first data through the reader / writer 16 has started (S11, YES), the control unit 11 starts the code reading timer (S12).

コード読取タイマを開始すると、制御部11は、カメラ13を用いてコードを読み取ったか判定する(S13)。カメラ13を用いてコードを読み取っていないと判定すると(S13、NO)、制御部11は、リーダライタ16を通じた第1のデータの取得が完了したか判定する(S14)。 When the code reading timer is started, the control unit 11 determines whether or not the code has been read by using the camera 13 (S13). When it is determined that the code is not read by using the camera 13 (S13, NO), the control unit 11 determines whether the acquisition of the first data through the reader / writer 16 is completed (S14).

リーダライタ16を通じた第1のデータの取得が完了していないと判定すると(S14、NO)、制御部11は、S13に戻る。 When it is determined that the acquisition of the first data through the reader / writer 16 is not completed (S14, NO), the control unit 11 returns to S13.

リーダライタ16を通じた第1のデータの取得が完了したと判定すると(S14、YES)、制御部11は、コード読取タイマが計時する値がコード読取タイムアウト時間を超えたか判定する(S15)。 When it is determined that the acquisition of the first data through the reader / writer 16 is completed (S14, YES), the control unit 11 determines whether the value measured by the code reading timer exceeds the code reading timeout time (S15).

コード読取タイマが計時する値がコード読取タイムアウト時間を超えていないと判定すると(S15、NO)、制御部11は、S13に戻る。 When it is determined that the value measured by the code reading timer does not exceed the code reading timeout time (S15, NO), the control unit 11 returns to S13.

カメラ13を用いてコードを読み取ったと判定すると(S13、YES)、制御部11は、コード読取タイマを停止する(S16)。コード読取タイマを停止すると、制御部11は、リーダライタ16を通じて取得した第1のデータ及びコードをデコードして得られた第2のデータに基づいて改札処理を行う(S17)。 When it is determined that the code has been read by using the camera 13 (S13, YES), the control unit 11 stops the code reading timer (S16). When the code reading timer is stopped, the control unit 11 performs ticket gate processing based on the first data acquired through the reader / writer 16 and the second data obtained by decoding the code (S17).

コード読取タイマが計時する値がコード読取タイムアウト時間を超えたと判定すると(S15、NO)、制御部11は、コードの読み取りを停止する(S18)。コードの読み取りを停止すると、制御部11は、リーダライタ16を通じて取得した第1のデータに基づいて改札処理を行う(S19)。 When it is determined that the value measured by the code reading timer exceeds the code reading timeout time (S15, NO), the control unit 11 stops reading the code (S18). When the reading of the code is stopped, the control unit 11 performs ticket gate processing based on the first data acquired through the reader / writer 16 (S19).

リーダライタ16を通じた第1のデータの取得を開始していないと判定すると(S11、NO)、制御部11は、カメラ13を用いてコードを読み取ったか判定する(S20)。コードを読み取っていないと判定すると(S20、NO)、制御部11は、S11に戻る。 When it is determined that the acquisition of the first data through the reader / writer 16 has not started (S11, NO), the control unit 11 determines whether the code has been read by using the camera 13 (S20). If it is determined that the code has not been read (S20, NO), the control unit 11 returns to S11.

コードを読み取ったと判定すると(S20、YES)、制御部11は、券読取タイマを開始する(S21)。券読取タイマを開始すると、制御部11は、他のデータを取得したか判定する(S22)。 When it is determined that the code has been read (S20, YES), the control unit 11 starts the ticket reading timer (S21). When the ticket reading timer is started, the control unit 11 determines whether or not other data has been acquired (S22).

他のデータを取得していないと判定すると(S22、NO)、制御部11は、コード読取タイマが計時する値が券読取タイムアウト時間を超えたか判定する(S23)。コード読取タイマが計時する値が券読取タイムアウト時間を超えていないと判定すると(S23、NO)、制御部11は、人感センサ19を用いてユーザが通路に進入したか判定する(S24)。たとえば、制御部11は、人感センサ19を用いてユーザが所定の位置まで進入したか判定する。 If it is determined that no other data has been acquired (S22, NO), the control unit 11 determines whether the value measured by the code reading timer exceeds the ticket reading timeout time (S23). When it is determined that the value measured by the code reading timer does not exceed the ticket reading timeout time (S23, NO), the control unit 11 determines whether or not the user has entered the aisle using the motion sensor 19 (S24). For example, the control unit 11 uses the motion sensor 19 to determine whether the user has entered a predetermined position.

人感センサ19を用いてユーザが通路に進入していないと判定すると(S24、NO)、制御部11は、S22に戻る。 When it is determined by using the motion sensor 19 that the user has not entered the passage (S24, NO), the control unit 11 returns to S22.

他のデータを取得したと判定すると(S22、YES)、制御部11は、券読取タイマをリセットする(S25)。券読取タイマをリセットすると、制御部11は、改札処理に必要なデータが揃ったか判定する(S26)。 When it is determined that other data has been acquired (S22, YES), the control unit 11 resets the ticket reading timer (S25). When the ticket reading timer is reset, the control unit 11 determines whether or not the data required for the ticket gate processing is available (S26).

改札処理に必要なデータが揃っていないと判定すると(S26、NO)、制御部11は、改札処理に必要なデータが揃っていないことを示す情報を表示部18に表示する(S27)。 When it is determined that the data required for the ticket gate processing is not available (S26, NO), the control unit 11 displays information indicating that the data required for the ticket gate process is not available on the display unit 18 (S27).

改札処理に必要なデータが揃っていないことを示す情報を表示部18に表示すると、制御部11は、S22に戻る。 When the information indicating that the data required for the ticket gate processing is not prepared is displayed on the display unit 18, the control unit 11 returns to S22.

改札処理に必要なデータが揃ったと判定すると(S26、YES)、制御部11は、券読取タイマを停止する(S28)。券読取タイマを停止すると、制御部11は、S20で読み取ったコードをデコードして得られた第2のデータとS22で取得した他のデータとに基づいて改札処理を行う(S29)。 When it is determined that the data required for the ticket gate processing is available (S26, YES), the control unit 11 stops the ticket reading timer (S28). When the ticket reading timer is stopped, the control unit 11 performs ticket gate processing based on the second data obtained by decoding the code read in S20 and the other data acquired in S22 (S29).

改札処理(S17、S19及びS29)によってユーザの通行を可と判定すると(S30、YES)、制御部11は、ドア12を開放する(S31)。 When it is determined by the ticket gate processing (S17, S19 and S29) that the user can pass through (S30, YES), the control unit 11 opens the door 12 (S31).

コード読取タイマが計時する値が券読取タイムアウト時間を超えたと判定した場合(S23、YES)、人感センサ19を用いてユーザが通路に進入したと判定した場合(S24、YES)、又は、改札処理(S17、S19及びS29)によってユーザの通行を不可と判定した場合(S30、NO)、制御部11は、エラーを出力する(S32)。たとえば、制御部11は、ドア12を閉鎖する。また、制御部11は、エラーメッセージを表示部18に表示してもよい。 When it is determined that the value measured by the code reading timer exceeds the ticket reading timeout time (S23, YES), when it is determined that the user has entered the aisle using the motion sensor 19 (S24, YES), or the ticket gate. When it is determined by the process (S17, S19 and S29) that the user cannot pass through (S30, NO), the control unit 11 outputs an error (S32). For example, the control unit 11 closes the door 12. Further, the control unit 11 may display an error message on the display unit 18.

ドア12を開放した場合(S31)、又は、エラーを出力した場合(S32)、制御部11は、動作を終了する。 When the door 12 is opened (S31) or an error is output (S32), the control unit 11 ends the operation.

なお、制御部11は、S23、NOの後に、コードを読み取って(S20、YES)から経過した時間が所定の閾値を超えたか判定してもよい。経過した時間が所定の閾値を超えていないと判定した場合、制御部11は、S24に進む。経過した時間が所定の閾値を超えたと判定した場合、制御部11は、S32に進む。 The control unit 11 may read the code after S23 and NO to determine whether the time elapsed from (S20, YES) exceeds a predetermined threshold value. If it is determined that the elapsed time does not exceed a predetermined threshold value, the control unit 11 proceeds to S24. When it is determined that the elapsed time exceeds a predetermined threshold value, the control unit 11 proceeds to S32.

また、制御部11は、S20、YESの後に、改札処理に必要なデータが揃ったか判定してもよい。改札処理に必要なデータが揃ったと判定した場合、制御部11は、S29に進む。改札処理に必要なデータが揃っていないと判定した場合、制御部11は、S21に進む。 Further, the control unit 11 may determine whether or not the data necessary for the ticket gate processing is prepared after S20 and YES. When it is determined that the data required for the ticket gate processing is complete, the control unit 11 proceeds to S29. If it is determined that the data required for the ticket gate processing is not available, the control unit 11 proceeds to S21.

また、制御部11は、S25を実行する度に、券読取タイムアウト時間を段階的に短くしてもよい。 Further, the control unit 11 may gradually shorten the ticket reading timeout time each time S25 is executed.

以上のように構成された改札機は、リーダライタを用いて無線でデータを取得した場合であってもコードの読取を継続する。そのため、改札機は、リーダライタを通じた第1のデータとコードをデコードして得られた第2のデータとに基づいて改札処理を行うことができる。 The ticket gate configured as described above continues to read the code even when the data is acquired wirelessly using the reader / writer. Therefore, the ticket gate can perform the ticket gate processing based on the first data through the reader / writer and the second data obtained by decoding the code.

また、改札機は、コードを読み取った場合であっても、他のデータの取得を継続する。そのため、改札機は、コードをデコードして得られた第2のデータと他のデータとに基づいて改札処理を行うことができる。 In addition, the ticket gate continues to acquire other data even when the code is read. Therefore, the ticket gate can perform the ticket gate processing based on the second data obtained by decoding the code and other data.

よって、改札機は、端末から無線通信で取得した第1のデータとコードをデコードして得られた第2のデータとに基づいて適切に改札処理を行うことができる。 Therefore, the ticket gate can appropriately perform ticket gate processing based on the first data acquired by wireless communication from the terminal and the second data obtained by decoding the code.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 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 novel embodiments can be implemented in various other embodiments, 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, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.

1…改札機、2…端末、11…制御部、12…ドア、12a…ドア、12b…ドア、13…カメラ、14…ライト、16…リーダライタ、16a…アンテナ、17…磁気券処理部、17a…投入口、18…表示部、19…人感センサ、21…プロセッサ、22…ROM、23…RAM、24…NVM、25…通信部、26…操作部、27…表示部、28…無線モジュール、30…通信領域。 1 ... ticket gate, 2 ... terminal, 11 ... control unit, 12 ... door, 12a ... door, 12b ... door, 13 ... camera, 14 ... light, 16 ... reader / writer, 16a ... antenna, 17 ... magnetic ticket processing unit, 17a ... Input port, 18 ... Display unit, 19 ... Human sensor, 21 ... Processor, 22 ... ROM, 23 ... RAM, 24 ... NVM, 25 ... Communication unit, 26 ... Operation unit, 27 ... Display unit, 28 ... Wireless Module, 30 ... Communication area.

Claims (8)

無線で改札処理に関する第1のデータを取得するリーダと、
改札処理に関する第2のデータをエンコードして得られたコードを撮影するカメラと、
前記リーダを通じて前記第1のデータの取得を開始した場合、前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方まで、前記カメラを用いた前記コードの読取を継続し、
前記カメラを用いて前記コードを読み取ると前記第1のデータと前記第2のデータとに基づいて改札処理を行う、
前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方までに前記カメラを用いて前記コードを読み取れなかった場合、前記第1のデータに基づいて改札処理を行う、
プロセッサと、
を備える改札機。
A reader that wirelessly acquires the first data related to ticket gate processing,
A camera that captures the code obtained by encoding the second data related to the ticket gate processing,
When the acquisition of the first data is started through the reader, the code of the code using the camera is used until the reading of the first data is completed or the first period elapses, whichever is later. Continue reading,
When the code is read using the camera, the ticket gate processing is performed based on the first data and the second data.
If the code cannot be read using the camera by the later of the time when the reading of the first data is completed or the time when the first period elapses, the ticket gate processing is performed based on the first data. I do,
With the processor
Ticket gate equipped with.
前記プロセッサは、前記カメラを用いて前記コードを読み取った場合、他のデータの取得を第2の期間、継続し、
前記第2の期間が継続するまでに前記のデータを取得できない場合、エラーを出力する、
請求項1に記載の改札機。
When the processor reads the code with the camera, it continues to acquire other data for a second period.
If the data cannot be obtained by the time the second period continues, an error is output.
The ticket gate according to claim 1.
前記プロセッサは、前記第2の期間が経過する前に前記他のデータを取得すると、前記第2のデータと前記他のデータとに基づいて改札処理を行う、
請求項2に記載の改札機。
When the processor acquires the other data before the second period elapses, the processor performs ticket gate processing based on the second data and the other data.
The ticket gate according to claim 2.
前記プロセッサは、
前記第2の期間が経過する前に前記他のデータを取得し、かつ、改札処理に必要なデータが揃った場合、前記第2のデータと前記他のデータとに基づいて改札処理を行う、
請求項3に記載の改札機。
The processor
If the other data is acquired before the second period elapses and the data necessary for the ticket gate processing is available, the ticket gate processing is performed based on the second data and the other data.
The ticket gate according to claim 3.
前記リーダは、NFC通信で前記第1のデータを取得する、
請求項1乃至4の何れか1項に記載の改札機。
The reader acquires the first data by NFC communication.
The ticket gate according to any one of claims 1 to 4.
前記コードは、二次元コードである、
請求項1乃至5の何れか1項に記載の改札機。
The code is a two-dimensional code,
The ticket gate according to any one of claims 1 to 5.
無線でデータを取得するリーダを通じて改札処理に関する第1のデータの取得を開始した場合、前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方まで、カメラを用いた、改札処理に関する第2のデータをエンコードして得られたコードの読取を継続し、
前記カメラを用いて前記コードを読み取ると前記第1のデータと前記第2のデータとに基づいて改札処理を行い、
前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方までに前記カメラを用いて前記コードを読み取れなかった場合、前記第1のデータに基づいて改札処理を行う、
改札方法。
When the acquisition of the first data related to the ticket gate processing is started through the reader that acquires the data wirelessly, the camera is used until the reading of the first data is completed or the first period elapses, whichever is later. Continue reading the code obtained by encoding the second data related to the ticket gate processing using
When the code is read using the camera, the ticket gate processing is performed based on the first data and the second data.
If the code cannot be read using the camera by the later of the time when the reading of the first data is completed or the time when the first period elapses, the ticket gate processing is performed based on the first data. I do,
Ticket gate method.
プロセッサに、
無線でデータを取得するリーダを通じて改札処理に関する第1のデータの取得を開始した場合、前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方まで、カメラを用いた、改札処理に関する第2のデータをエンコードして得られたコードの読取を継続する機能と、
前記カメラを用いて前記コードを読み取ると前記第1のデータと前記第2のデータとに基づいて改札処理を行う機能と、
前記第1のデータの読取が完了するまで又は第1の期間が経過するまでの何れか遅い方までに前記カメラを用いて前記コードを読み取れなかった場合、前記第1のデータに基づいて改札処理を行う機能と、
を実現されるプログラム。
To the processor
When the acquisition of the first data related to the ticket gate processing is started through the reader that acquires the data wirelessly, the camera is used until the reading of the first data is completed or the first period elapses, whichever is later. The function to continue reading the code obtained by encoding the second data related to the ticket gate processing using
When the code is read using the camera, a function of performing ticket gate processing based on the first data and the second data, and
If the code cannot be read using the camera by the later of the time when the reading of the first data is completed or the time when the first period elapses, the ticket gate processing is performed based on the first data. And the ability to do
A program that can be realized.
JP2019218688A 2019-12-03 2019-12-03 Ticket examination machine, ticket examination method, and program Pending JP2021089507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019218688A JP2021089507A (en) 2019-12-03 2019-12-03 Ticket examination machine, ticket examination method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019218688A JP2021089507A (en) 2019-12-03 2019-12-03 Ticket examination machine, ticket examination method, and program

Publications (1)

Publication Number Publication Date
JP2021089507A true JP2021089507A (en) 2021-06-10

Family

ID=76220655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019218688A Pending JP2021089507A (en) 2019-12-03 2019-12-03 Ticket examination machine, ticket examination method, and program

Country Status (1)

Country Link
JP (1) JP2021089507A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113470199A (en) * 2021-08-10 2021-10-01 成都智元汇信息技术股份有限公司 Mutual exclusion method, device and system for ticket card transaction and gate control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015176259A (en) * 2014-03-13 2015-10-05 株式会社東芝 Entrance/exit gate device
JP2018022450A (en) * 2016-08-05 2018-02-08 株式会社東芝 Automatic ticket examination machine and automatic ticket examination machine control program
JP2018055193A (en) * 2016-09-26 2018-04-05 株式会社東芝 Automatic ticket examination device and station service system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015176259A (en) * 2014-03-13 2015-10-05 株式会社東芝 Entrance/exit gate device
JP2018022450A (en) * 2016-08-05 2018-02-08 株式会社東芝 Automatic ticket examination machine and automatic ticket examination machine control program
JP2018055193A (en) * 2016-09-26 2018-04-05 株式会社東芝 Automatic ticket examination device and station service system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113470199A (en) * 2021-08-10 2021-10-01 成都智元汇信息技术股份有限公司 Mutual exclusion method, device and system for ticket card transaction and gate control method

Similar Documents

Publication Publication Date Title
US9165174B2 (en) Indicia reader
US20150133047A1 (en) System for configuring indicia readers using nfc technology
CN210324274U (en) Warehouse personnel and tool management system
CA2953503C (en) Security control system for granting access and security control method thereof
US20100044435A1 (en) Handheld scanning device with triple data acquisition functionality
CN104217228A (en) A new conference monitoring and managing system and monitoring and managing method
WO2015159833A1 (en) Identification system
JP2021089507A (en) Ticket examination machine, ticket examination method, and program
US8923627B2 (en) Method for locating an electronic apparatus
CN103559503A (en) Online bank payment system based on face recognition
ES2867967T3 (en) Discovery of a transactional device
US9552505B2 (en) Barcode reader and barcode reading system having an age verification capability
CN112464206B (en) Data feedback system and method and information identification method and system
CN210691496U (en) Separated collection probe and device
JP7204553B2 (en) Payment device and reader
KR20180049470A (en) Emergency transport control smart system using NFC tag identification band and beacon
JP2021135570A (en) Terminal control method, terminal, and program
JP6794242B2 (en) Wireless communication device and ticket gate
CA3055031C (en) Short range wireless translation methods and systems for hands-free fare validation
JP6776053B2 (en) Automatic ticket gate
JPWO2019097680A1 (en) Person display control device, person display control system, and person display control method
JP2017054235A (en) Use ticket processing device
JP6776948B2 (en) Payment system
JP5247351B2 (en) Communication system with sensor
CN206672180U (en) A kind of ticket real name verification equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220901

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20230105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20231114