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
JP7569192B2 - Information processing device, information processing method, program, and information processing system - Google Patents
[go: Go Back, main page]

JP7569192B2 - Information processing device, information processing method, program, and information processing system - Google Patents

Information processing device, information processing method, program, and information processing system Download PDF

Info

Publication number
JP7569192B2
JP7569192B2 JP2020169725A JP2020169725A JP7569192B2 JP 7569192 B2 JP7569192 B2 JP 7569192B2 JP 2020169725 A JP2020169725 A JP 2020169725A JP 2020169725 A JP2020169725 A JP 2020169725A JP 7569192 B2 JP7569192 B2 JP 7569192B2
Authority
JP
Japan
Prior art keywords
request
information processing
transaction
processing device
terminal device
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
JP2020169725A
Other languages
Japanese (ja)
Other versions
JP2022061661A (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.)
East Japan Railway Co
JR East Mechatronics Co Ltd
Original Assignee
East Japan Railway Co
JR East Mechatronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by East Japan Railway Co, JR East Mechatronics Co Ltd filed Critical East Japan Railway Co
Priority to JP2020169725A priority Critical patent/JP7569192B2/en
Publication of JP2022061661A publication Critical patent/JP2022061661A/en
Application granted granted Critical
Publication of JP7569192B2 publication Critical patent/JP7569192B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

情報処理装置、情報処理方法、プログラム、及び情報処理システムに関する。 Related to information processing devices, information processing methods, programs, and information processing systems.

複数の駅務機器(例えば、自動改札機等)におけるICカードの判定処理をサーバ装置(すなわち、情報処理装置)で一元管理するシンクライアント型駅務システムが知られている。例えば、特許文献1には、シンクライアント型駅務システムの一例が開示されている。 A thin-client station service system is known in which a server device (i.e., an information processing device) centrally manages the IC card determination process in multiple station service devices (e.g., automatic ticket gates, etc.). For example, Patent Document 1 discloses an example of a thin-client station service system.

特開2015-18476号公報JP 2015-18476 A

上述したシンクライアント型駅務システムのように、駅務機器等の端末装置側での処理の実行に際し、サーバ装置との間で通信が発生するシステムの中には、極めて短い期間での当該処理の完了が求められるものがある。具体的な一例として、端末装置として自動改札機が適用される場合には、ICカードからの情報の読み取り結果に応じて自動改札機とサーバ装置との間で通信が発生し、その通信の結果に応じて自動改札機の扉の開閉等が制御される。自動改札機の運用シーンを想定した場合には、特に、利用者の多い駅においては、上述した一連の処理を、1秒にも満たない期間で完了させることが要求される場合もある。そのため、このようなシステムにおいては、ネットワークの輻輳の影響をより低減可能とする技術の実現が求められている。 Some systems, such as the thin-client station service system described above, require that communication between a server device and a terminal device, such as station service equipment, is performed when processing is performed on that device, and that processing must be completed in an extremely short period of time. As a specific example, when an automatic ticket gate is used as the terminal device, communication occurs between the automatic ticket gate and a server device depending on the results of reading information from an IC card, and the opening and closing of the automatic ticket gate doors is controlled depending on the results of that communication. When considering an operation scenario for an automatic ticket gate, it may be required to complete the above-mentioned series of processes in less than one second, particularly at stations with a large number of users. Therefore, in such systems, there is a demand for technology that can further reduce the impact of network congestion.

本発明は、上記問題を鑑みてなされたものであり、ネットワークやサーバで輻輳が発生した場合でも、トランザクションを確実に実行させることを目的とする。 The present invention was made in consideration of the above problems, and aims to ensure that transactions are executed reliably even when congestion occurs in the network or server.

本発明の情報処理装置は、1以上の駅務機器それぞれからネットワークを介して、コネクションレス型のプロトコルを使用して送信されるリクエストを取得する取得部と、前記駅務機器で実行されるトランザクションに関する前記リクエストのうち、より優先して処理の対象とする前記リクエストを、前記トランザクションの進行度に応じて決定する決定部と、を備え、前記トランザクションは、順次実行される複数の処理を含み、前記決定部は、前記複数の処理のうち所定の処理が完了しているか否かに応じて、処理の対象とする前記リクエストを決定し、前記所定の処理は、当該処理以降の他の処理でのエラーの発生に伴う再実行の起点となる処理である The information processing device of the present invention comprises an acquisition unit that acquires requests transmitted from each of one or more station service equipment via a network using a connectionless protocol , and a determination unit that determines which of the requests related to a transaction executed by the station service equipment is to be given priority for processing depending on the progress of the transaction, wherein the transaction includes a number of processes that are executed sequentially, and the determination unit determines the request to be processed depending on whether a specific process among the multiple processes has been completed, and the specific process is a process that serves as the starting point for re-execution when an error occurs in other processes following the specific process .

また、本発明の情報処理システムは、1以上の端末装置と、情報処理装置と、を含み、前記情報処理装置は、1以上の前記端末装置それぞれからネットワークを介してリクエストを取得する取得部と、前記端末装置で実行されるトランザクションに関する前記リクエストのうち、より優先して処理の対象とする前記リクエストを、前記トランザクションの進行度に応じて決定する決定部と、を備える。 The information processing system of the present invention includes one or more terminal devices and an information processing device, and the information processing device includes an acquisition unit that acquires requests from each of the one or more terminal devices via a network, and a determination unit that determines, among the requests related to a transaction executed on the terminal device, which request is to be given priority for processing in accordance with the progress of the transaction.

本発明に依れば、ネットワークやサーバで輻輳が発生した場合でも、トランザクションを確実に実行させることが可能となる。 The present invention makes it possible to ensure that transactions are executed even when congestion occurs on the network or server.

情報処理システムのシステム構成の一例を示した図である。FIG. 1 illustrates an example of a system configuration of an information processing system. 情報処理装置のハードウェア構成の一例を示した図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of an information processing device. 端末装置のハードウェア構成の一例を示した図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a terminal device. 運賃の精算に係る一連の処理の一例について示した図である。FIG. 11 is a diagram showing an example of a series of processes related to fare settlement. 情報処理システムの機能の概要について説明するための説明図である。FIG. 2 is an explanatory diagram for explaining an overview of functions of the information processing system. 情報処理システムの機能構成の一例について示したブロック図である。FIG. 2 is a block diagram illustrating an example of a functional configuration of an information processing system. 情報処理システムの処理の一例について示したシーケンス図である。FIG. 2 is a sequence diagram illustrating an example of processing of the information processing system.

以下に添付図面を参照しながら、本開示の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 A preferred embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings. Note that in this specification and drawings, components having substantially the same functional configuration are designated by the same reference numerals to avoid redundant description.

<システム構成>
まず、図1を参照して、本実施形態に係る情報処理システム1のシステム構成の一例について説明する。
本実施形態に係る情報処理システム1は、情報処理装置100と、複数の端末装置200とを含む。端末装置200は、例えば、券売機、精算機、窓口処理機、または自動改札機等のような駅務機器として構成され得る。なお、本実施形態では、便宜上、端末装置200は、自動改札機として構成されるものとする。また、図1に示す例では、便宜上、情報処理システム1は、端末装置200a~200dを含むものとするが、必ずしも端末装置200の数を限定するものではない。また、情報処理装置100の設置単位についても限定されない。具体的な一例として、情報処理装置100は、複数の駅の端末装置200(ひいては、すべての駅の端末装置200)を一元管理する装置(例えば、サーバ装置)であってもよい。また、他の一例として、情報処理装置100は、駅ごとに設置され、当該駅ごとに設置された端末装置200を管理する装置であってもよい。
<System Configuration>
First, an example of a system configuration of an information processing system 1 according to the present embodiment will be described with reference to FIG.
The information processing system 1 according to the present embodiment includes an information processing device 100 and a plurality of terminal devices 200. The terminal device 200 may be configured as station service equipment such as a ticket vending machine, a fare adjustment machine, a counter processing machine, or an automatic ticket gate. In the present embodiment, for convenience, the terminal device 200 is configured as an automatic ticket gate. In the example shown in FIG. 1, the information processing system 1 includes the terminal devices 200a to 200d for convenience, but the number of the terminal devices 200 is not necessarily limited. The installation unit of the information processing device 100 is also not limited. As a specific example, the information processing device 100 may be a device (for example, a server device) that centrally manages the terminal devices 200 at a plurality of stations (and thus the terminal devices 200 at all stations). As another example, the information processing device 100 may be a device that is installed at each station and manages the terminal devices 200 installed at each station.

情報処理装置100と、複数の端末装置200のそれぞれと、の間は、ネットワークN1を介して互いに情報を送受信可能に接続されている。なお、ネットワークN1の種別は特に限定されない。具体的な一例として、ネットワークN1は、インターネット、専用線、LAN(Local Area Network)、または、WAN(Wide Area Network)等により構成されていてもよい。また、ネットワークN1は、有線のネットワークにより構成されていてもよいし、LTE(Long Term Evolution)やWi-Fi(登録商標)等の規格に基づくネットワークのような無線のネットワークにより構成されていてもよい。また、ネットワークN1は、複数のネットワークを含んでもよく、一部のネットワークとして、他のネットワークと異なる種別のネットワークが適用されてもよい。また、情報処理装置100と端末装置200との間の通信が論理的に確立されていればよく、物理的には情報処理装置100と端末装置200との間が他の通信装置等により中継されてもよい。 The information processing device 100 and each of the multiple terminal devices 200 are connected via a network N1 so that they can transmit and receive information to each other. The type of the network N1 is not particularly limited. As a specific example, the network N1 may be configured with the Internet, a dedicated line, a LAN (Local Area Network), or a WAN (Wide Area Network). The network N1 may be configured with a wired network, or may be configured with a wireless network such as a network based on a standard such as LTE (Long Term Evolution) or Wi-Fi (registered trademark). The network N1 may include multiple networks, and a network of a different type from the other networks may be applied as a part of the network. It is sufficient that communication between the information processing device 100 and the terminal device 200 is logically established, and the information processing device 100 and the terminal device 200 may be physically relayed by another communication device or the like.

情報処理装置100は、複数の端末装置200のうち少なくとも1以上の端末装置200それぞれからのリクエストを受け付け、当該リクエストに応じた処理を実行する。例えば、情報処理装置100は、各端末装置200がトランザクションとして関連付けられた一連の処理を順次実行する際に、当該端末装置200から当該処理の実行に際して送信されるリクエストに応じた処理を実行する。また、情報処理装置100は、端末装置200からのリクエストを受けて実行した処理の結果に応じたレスポンスを、当該リクエストの送信元である端末装置200に返送する。
また、本実施形態に係る情報処理装置100は、複数の端末装置200のそれぞれからリクエストを受信した場合に、いずれのリクエストを優先して処理の対象とするかを、所定の条件に基づき決定する。なお、同処理の一例については、本実施形態に係る情報処理システム1の機能の説明とあわせて詳細を別途後述する。
The information processing device 100 accepts requests from at least one or more of the multiple terminal devices 200, and executes processing in response to the requests. For example, when each terminal device 200 sequentially executes a series of processes associated as a transaction, the information processing device 100 executes processing in response to a request transmitted from the terminal device 200 when the terminal device 200 executes the process. The information processing device 100 also returns a response corresponding to the result of the processing executed upon receiving the request from the terminal device 200 to the terminal device 200 that is the sender of the request.
Furthermore, when the information processing device 100 according to this embodiment receives requests from each of the multiple terminal devices 200, it determines which request should be given priority for processing based on a predetermined condition. An example of this process will be described in detail later together with an explanation of the functions of the information processing system 1 according to this embodiment.

端末装置200は、各種処理の実行に際し、必要に応じて情報処理装置100に所望の処理を実行させるためにリクエストを送信する。また、端末装置200は、当該リクエストに対するレスポンスとして、情報処理装置100から当該処理の実行結果に応じた情報を取得する。 When executing various processes, the terminal device 200 transmits a request to the information processing device 100 to execute the desired process as necessary. In response to the request, the terminal device 200 also obtains information corresponding to the execution result of the process from the information processing device 100.

具体的な一例として、端末装置200は、ユーザ(旅客等)が所有するICカードに記録された情報を読み取り、当該情報の読み取り結果に応じたリクエストを情報処理装置100に送信する。端末装置200は、送信したリクエストに対して情報処理装置100が実行した処理の結果に応じたレスポンスを受信し、受信した当該レスポンスに基づいて、ICカードからの情報の読み取りや、当該ICカードへの情報の書き込み等を行う。なお、端末装置200が実行する処理の一例については、本実施形態に係る情報処理システム1の機能の説明とあわせて詳細を別途後述する。
また、端末装置200は、ユーザに対する接客処理を行う。本実施形態において接客処理とは、例えば、端末装置200が自動改札機の場合には、自動改札機に進入する人を検知してドアの開閉をしたり、音声案内をしたり、画面表示案内をしたり、ランプの点灯又は消灯をしたりする等の処理に相当する。このように、接客処理とは、端末装置200がユーザに対してサービスを提供するための処理に相当する。なお、端末装置200の種別に応じて、当該端末装置200により実行される接客処理の内容が適宜変更されてもよい。
As a specific example, the terminal device 200 reads information recorded on an IC card owned by a user (such as a passenger), and transmits a request corresponding to the result of reading the information to the information processing device 100. The terminal device 200 receives a response corresponding to the result of the processing executed by the information processing device 100 in response to the transmitted request, and performs operations such as reading information from the IC card and writing information to the IC card based on the received response. An example of the processing executed by the terminal device 200 will be described in detail later together with an explanation of the functions of the information processing system 1 according to this embodiment.
Furthermore, the terminal device 200 performs a customer service process for the user. In this embodiment, the customer service process corresponds to, for example, when the terminal device 200 is an automatic ticket gate, a process of detecting a person entering the automatic ticket gate and opening and closing the door, providing voice guidance, displaying guidance on a screen, turning on and off a lamp, and the like. In this way, the customer service process corresponds to a process by which the terminal device 200 provides a service to the user. Note that the content of the customer service process performed by the terminal device 200 may be changed as appropriate depending on the type of the terminal device 200.

<情報処理装置のハードウェア構成>
続いて、図2を参照して情報処理装置100のハードウェア構成の一例について説明する。情報処理装置100は、CPU(Central Processing Unit)101と、インターフェース装置102と、HD(Hard Disk)103と、ROM(Read Only Memory)108と、RAM(Random Access Memory)109とを備える。また、情報処理装置100は、入力装置104と、出力装置105と、のうちの少なくともいずれかを備えてもよい。また、情報処理装置100は、記録媒体ドライブ装置106を備えてもよい。
<Hardware configuration of information processing device>
Next, an example of a hardware configuration of the information processing device 100 will be described with reference to Fig. 2. The information processing device 100 includes a CPU (Central Processing Unit) 101, an interface device 102, a HD (Hard Disk) 103, a ROM (Read Only Memory) 108, and a RAM (Random Access Memory) 109. The information processing device 100 may also include at least one of an input device 104 and an output device 105. The information processing device 100 may also include a recording medium drive device 106.

CPU101は、情報処理装置100の各種動作を制御する。ROM108は、CPU101で実行可能な制御プログラムやブートプログラム等を記憶する。RAM109は、CPU101の主記憶メモリであり、ワークエリアまたは各種プログラムを展開するための一時記憶領域として用いられる。HD103は、各種データや各種プログラムを記憶する。
CPU101は、HD103に記憶されているプログラムを読み出してRAM109に展開し、当該プログラムを実行する。これにより、図5及び図6を参照して後述する各機能や、図7を参照して後述する処理が実現される。
なお、HD103に替えて、またはHD103とともに、SSD(Solid State Drive)に代表される不揮発性メモリ等のような、HD103以外の他の記憶装置が利用されてもよい。
The CPU 101 controls various operations of the information processing device 100. The ROM 108 stores control programs, boot programs, and the like that can be executed by the CPU 101. The RAM 109 is the main memory of the CPU 101, and is used as a work area or a temporary storage area for loading various programs. The HD 103 stores various data and various programs.
The CPU 101 reads out a program stored in the HD 103, loads it into the RAM 109, and executes the program, thereby realizing various functions to be described later with reference to Figs. 5 and 6 and processes to be described later with reference to Fig. 7.
Instead of the HD 103 or together with the HD 103, a storage device other than the HD 103, such as a non-volatile memory typified by an SSD (Solid State Drive), may be used.

インターフェース装置102は、情報処理装置100をネットワークN1等のような各種ネットワークに接続するインターフェースである。インターフェース装置102として適用されるデバイスは、ネットワークN1の種別や適用される通信方式に応じて適宜変更されてもよい。具体的な一例として、ネットワークN1が有線のネットワークの場合には、インターフェース装置102は、伝送路として利用されるケーブルを接続するコネクタ、当該ケーブルを介したデータの受信に係るデバイス、及び当該ケーブルを介したデータの送信に係るデバイス等を含み得る。また、他の一例として、ネットワークN1が無線のネットワークの場合には、インターフェース装置102は、アンテナ装置やRF回路等のような無線通信を実現するための各種デバイスを含み得る。 The interface device 102 is an interface that connects the information processing device 100 to various networks such as the network N1. The device applied as the interface device 102 may be changed as appropriate depending on the type of network N1 and the communication method applied. As a specific example, if the network N1 is a wired network, the interface device 102 may include a connector that connects a cable used as a transmission path, a device involved in receiving data via the cable, and a device involved in transmitting data via the cable. As another example, if the network N1 is a wireless network, the interface device 102 may include various devices for achieving wireless communication such as an antenna device and an RF circuit.

入力装置104は、情報処理装置100の管理者からの指示を受け付けるための装置である。入力装置104は、例えば、マウス、キーボード、タッチパネル、ボタン、スイッチ、レバー、及びペダル等の操作デバイスにより実現され得る。また、入力装置104として適用されるデバイスは、情報処理装置100に対して管理者が指示を行う方法(換言すると、情報処理装置100の操作方法)に応じて適宜変更されてもよい。例えば、情報処理装置100が、音声入力により管理者からの指示を受け付ける場合には、入力装置104は、マイクロフォン等のような音声の入力を受け付ける集音デバイスにより実現され得る。 The input device 104 is a device for receiving instructions from an administrator of the information processing device 100. The input device 104 may be realized by, for example, an operating device such as a mouse, a keyboard, a touch panel, a button, a switch, a lever, or a pedal. Furthermore, the device applied as the input device 104 may be changed as appropriate depending on the method by which the administrator gives instructions to the information processing device 100 (in other words, the method of operating the information processing device 100). For example, when the information processing device 100 receives instructions from the administrator by voice input, the input device 104 may be realized by a sound collection device that receives voice input, such as a microphone.

出力装置105は、情報処理装置100の管理者に対して各種情報を提示するための装置である。出力装置105は、例えば、ディスプレイ等のように、各種表示情報や画面等を表示することでユーザに情報を提示する表示デバイスにより実現され得る。また、出力装置105として適用されるデバイスは、管理者に対して情報を提示する方法に応じて適宜変更されてもよい。例えば、音声や電子音等の音響により管理者に対する情報の提示が行われる場合には、出力装置105は、スピーカ等のような音響を出力する音響出力デバイスにより実現され得る。 The output device 105 is a device for presenting various information to the administrator of the information processing device 100. The output device 105 may be realized, for example, by a display device such as a display that presents information to a user by displaying various display information, screens, etc. Furthermore, the device applied as the output device 105 may be changed as appropriate depending on the method of presenting information to the administrator. For example, when information is presented to the administrator by sound such as voice or electronic sound, the output device 105 may be realized by an audio output device that outputs sound such as a speaker.

情報処理装置100のプログラムは、例えば、CD-ROM等の記録媒体107によって情報処理装置100に提供されるか、またはネットワーク等を通じてダウンロードされる。記録媒体107は、記録媒体ドライブ装置106にセットされ、プログラムが記録媒体107から記録媒体ドライブ装置106を介してHD103にインストールされる。 The program for the information processing device 100 is provided to the information processing device 100 by a recording medium 107 such as a CD-ROM, or is downloaded via a network, etc. The recording medium 107 is set in the recording medium drive device 106, and the program is installed from the recording medium 107 to the HD 103 via the recording medium drive device 106.

<端末装置のハードウェア構成>
続いて、図3を参照して、端末装置200のハードウェア構成の一例について、特に、端末装置200を自動改札機として構成した場合に着目して説明する。なお、自動改札機は、ユーザの進入を検知してドアを開閉したり、ドアの開閉に関する音声案内をしたり、ユーザのICカードの情報の一部を表示したりする駅務機器の一例である。
<Hardware configuration of terminal device>
Next, an example of the hardware configuration of the terminal device 200 will be described with reference to Fig. 3, focusing in particular on the case where the terminal device 200 is configured as an automatic ticket gate. Note that the automatic ticket gate is an example of station service equipment that detects the entrance of a user and opens and closes doors, provides audio guidance regarding the opening and closing of doors, and displays part of the information on the user's IC card.

端末装置200は、CPU(Central Processingu Unit)201と、インターフェース装置202と、HD(Hard Disk)203と、ROM(Read Only Memory)204と、RAM(Random Access Memory)205とを備える。また、端末装置200は、案内装置206と、乗車券処理装置207と、人間検知装置208と、ドア開閉装置209と、のうち少なくともいずれかを含んでもよい。 The terminal device 200 includes a CPU (Central Processing Unit) 201, an interface device 202, a HD (Hard Disk) 203, a ROM (Read Only Memory) 204, and a RAM (Random Access Memory) 205. The terminal device 200 may also include at least one of a guidance device 206, a ticket processing device 207, a human detection device 208, and a door opening/closing device 209.

CPU201は、端末装置200の各種動作を制御する。ROM204は、CPU201で実行可能な制御プログラムやブートプログラム等を記憶する。RAM205は、CPU201の主記憶メモリであり、ワークエリアまたは各種プログラムを展開するための一時記憶領域として用いられる。HD203は、各種データや各種プログラムを記憶する。
CPU201は、HD203に記憶されているプログラムを読み出してRAM205に展開し、当該プログラムを実行する。これにより、図5及び図6を参照して後述する各機能や、図7を参照して後述する処理が実現される。
なお、HD203に替えて、またはHD203とともに、SSD(Solid State Drive)に代表される不揮発性メモリなどのような、HDD103以外の他の記憶装置が利用されてもよい。
The CPU 201 controls various operations of the terminal device 200. The ROM 204 stores control programs, boot programs, and the like that can be executed by the CPU 201. The RAM 205 is the main memory of the CPU 201, and is used as a work area or a temporary storage area for loading various programs. The HD 203 stores various data and programs.
The CPU 201 reads out a program stored in the HD 203, loads it into the RAM 205, and executes the program, thereby realizing various functions to be described later with reference to Figs. 5 and 6 and processes to be described later with reference to Fig. 7.
Instead of the HD 203 or together with the HD 203, a storage device other than the HDD 103, such as a non-volatile memory typified by an SSD (Solid State Drive), may be used.

インターフェース装置202は、端末装置200をネットワークN1等のような各種ネットワークに接続するインターフェースである。インターフェース装置202として適用されるデバイスは、ネットワークN1の種別や通信方法に応じて適宜変更されてもよい。具体的な一例として、ネットワークN1が無線のネットワークの場合には、インターフェース装置202は、アンテナ装置やRF回路等のような無線通信を実現するための各種デバイスを含み得る。 The interface device 202 is an interface that connects the terminal device 200 to various networks such as the network N1. The device applied as the interface device 202 may be changed as appropriate depending on the type of network N1 and the communication method. As a specific example, when the network N1 is a wireless network, the interface device 202 may include various devices for realizing wireless communication such as an antenna device, an RF circuit, etc.

案内装置206は、自動改札機を利用するユーザに対して、利用金額、残額、入場処理結果、出場処理結果、及び自動改札機の動作状況等に関する情報を案内する。なお、案内装置206は、上記案内を画面表示にて行う表示装置、音声案内にて行う音響出力装置、及びランプの点灯にて行う点灯装置等を有する。 The guidance device 206 provides information to users using the automated ticket gates, such as the amount used, the remaining amount, the results of the entry process, the results of the exit process, and the operating status of the automated ticket gates. The guidance device 206 includes a display device that displays the above guidance on a screen, an audio output device that provides voice guidance, and a lighting device that lights up a lamp.

乗車券処理装置207は、乗車媒体に対して読み取りや、書き込み等の処理を行う。なお、乗車券処理装置207は、ICカード等の記録媒体に対して読み取りや、書き込み等の処理を行うことが可能なICタッチ部を有するICリーダライタ等を有していてもよい。ここで、CPU201は、情報処理装置100から受信した指示に基づき、ICカードのタッチ受付が可能であることを示すように乗車券処理装置207のICカードタッチ部を点灯させることが可能である。同様に、CPU201は、情報処理装置100から受信した指示に基づき、ICカードのタッチ受付が不可能であることを示すように消灯させたりすることが可能である。 The ticket processing device 207 performs processes such as reading and writing on the boarding medium. The ticket processing device 207 may also have an IC reader/writer with an IC touch unit capable of performing processes such as reading and writing on recording media such as IC cards. Here, the CPU 201 can turn on the IC card touch unit of the ticket processing device 207 based on instructions received from the information processing device 100 to indicate that touch acceptance of an IC card is possible. Similarly, the CPU 201 can turn off the light based on instructions received from the information processing device 100 to indicate that touch acceptance of an IC card is not possible.

例えば、駅係員が自動改札機をリセットしたとする。その場合には、CPU201は、乗車券処理装置207を制御することにより切符投入口を閉じるとともに、リセット操作を検知した旨を情報処理装置100に送信する。そして、情報処理装置100は、自動改札機にICタッチ部を消灯させる旨の指示を送信する。また、CPU201は、リセット処理の終了を検知すると、乗車券処理装置207を制御することにより切符投入口を開くとともに、リセット処理が終了した旨を情報処理装置100に送信する。そして、情報処理装置100は、自動改札機にICタッチ部を点灯させる旨の指示を送信する。ここでは、駅係員が自動改札機をリセットする場合を例に説明したが、これに限る必要はない。例えば、保守員が自動改札機のパラメータの変更操作をする際にパラメータの変更が反映されるまでICカードのタッチが無効となる場合や、ユーザが切符投入口に切符を投入したためICカードのタッチが無効となる場合等があげられる。 For example, suppose that a station attendant resets the automatic ticket gate. In that case, the CPU 201 closes the ticket slot by controlling the passenger ticket processing device 207, and transmits to the information processing device 100 a notice that the reset operation has been detected. The information processing device 100 then transmits an instruction to the automatic ticket gate to turn off the IC touch section. Furthermore, when the CPU 201 detects the end of the reset process, it controls the passenger ticket processing device 207 to open the ticket slot, and transmits to the information processing device 100 a notice that the reset process has been completed. The information processing device 100 then transmits an instruction to the automatic ticket gate to turn on the IC touch section. Here, the example is a case where a station attendant resets an automatic ticket gate, but this is not the only possible case. For example, when a maintenance worker changes the parameters of the automatic ticket gate, touching of an IC card becomes invalid until the parameter change is reflected, or when a user inserts a ticket into the ticket slot, touching of an IC card becomes invalid.

人間検知装置208は、自動改札機に進入するユーザを検知する。
ドア開閉装置209は、自動改札機のドアの開閉を行う。
The human detection device 208 detects a user entering the automated ticket gate.
The door opening/closing device 209 opens and closes the doors of the automatic ticket gate.

<機能概要>
続いて、本実施形態に係る情報処理システム1の機能の概要について説明する。本項では、本実施形態に係る情報処理システム1の特徴をより分かりやすくするために、まず、図4を参照して、自動改札機等の駅務機器を含む情報処理システム1の技術的課題について説明する。図4は、自動改札機として構成された端末装置200が、ユーザが所有するICカードに記録された情報を読み取り、当該情報の読み取り結果に応じて運賃の精算を行ったうえで、当該精算の結果をICカードに書き込むといった一連の処理の一例を示している。なお、以降の説明では、図4に示す例を、便宜上「比較例」とも称する。
<Function Overview>
Next, an overview of the functions of the information processing system 1 according to this embodiment will be described. In this section, in order to make the features of the information processing system 1 according to this embodiment easier to understand, first, with reference to FIG. 4, a technical problem of the information processing system 1 including station service equipment such as an automatic ticket gate will be described. FIG. 4 shows an example of a series of processes in which a terminal device 200 configured as an automatic ticket gate reads information recorded on an IC card owned by a user, settles the fare according to the result of reading the information, and then writes the result of the settlement on the IC card. In the following description, the example shown in FIG. 4 will also be referred to as a "comparative example" for convenience.

端末装置200は、ICカードからの情報の読み取り、運賃の精算、及びICカードへの書き込みに係る一連の処理を、接客に係る1つのトランザクションとして実行する。具体的な一例として、端末装置200は、当該トランザクションとして、ポーリング(Polling)処理S101、相互認証処理S102、読み取り(Read)処理S103、及び書き込み(Write)処理S104をこの順序で順次実行する。 The terminal device 200 executes a series of processes related to reading information from the IC card, settling the fare, and writing to the IC card as one transaction related to customer service. As a specific example, the terminal device 200 executes a polling process S101, a mutual authentication process S102, a read process S103, and a write process S104 in this order as the transaction.

ポーリング処理S101は、他の端末装置200とのリクエストの送信に係る競合を回避するために、情報処理装置100に対してリクエストの送信が可能か否かを問い合わせる処理である。なお、詳細は後述するが、本実施形態に係る情報処理システム1では、トランザクションとして実行される一連の処理を、より短い期間(例えば、0.2秒以下)で実行可能とすることが求められている。このような背景から、当該情報処理システム1では、情報処理装置100と端末装置200との間の通信に、UDP(User Datagram Protocol)等のような輻輳制御を伴わない所謂コネクションレス型のプロトコルが利用される。そのため、端末装置200は、情報処理装置100に対してポーリングを行うことで、情報処理装置100に対してリクエストを送信可能か否かについて確認を行い、当該確認の結果に応じて情報処理装置100にリクエストを送信する。
相互認証処理S102は、当該相互認証処理S102よりも後の他の処理(すなわち、読み取り処理S103及び書き込み処理S104)を端末装置200が実行するために、端末装置200と情報処理装置100との間で行われる認証処理である。
読み取り処理S103は、ICカードからの所定の情報の読み取りに係る処理である。例えば、読み取り処理S103で読み取られた情報が、運賃の精算に利用される。
書き込み処理S104は、ICカードへの情報の書き込みに係る処理である。例えば、運賃の精算結果に応じた情報が、書き込み処理S104によりICカードに書き込まれる。
The polling process S101 is a process for inquiring of the information processing device 100 as to whether or not a request can be transmitted in order to avoid a conflict in the transmission of a request with another terminal device 200. Although details will be described later, in the information processing system 1 according to the present embodiment, it is required that a series of processes executed as a transaction can be executed in a shorter period (for example, 0.2 seconds or less). In this background, in the information processing system 1, a so-called connectionless protocol that does not involve congestion control, such as UDP (User Datagram Protocol), is used for communication between the information processing device 100 and the terminal device 200. Therefore, the terminal device 200 polls the information processing device 100 to check whether or not a request can be transmitted to the information processing device 100, and transmits a request to the information processing device 100 according to the result of the check.
The mutual authentication process S102 is an authentication process performed between the terminal device 200 and the information processing device 100 in order for the terminal device 200 to execute other processes (i.e., the read process S103 and the write process S104) subsequent to the mutual authentication process S102.
The reading process S103 is a process for reading predetermined information from the IC card. For example, the information read in the reading process S103 is used for fare adjustment.
The write process S104 is a process related to writing information to the IC card. For example, information according to the result of the fare settlement is written to the IC card by the write process S104.

端末装置200は、処理S101~S104の一連の処理の実行に際し、各処理において必要に応じて情報処理装置100に対してリクエストを送信する。この場合には、端末装置200は、当該リクエストに対するレスポンスを確認した後に、次の処理の実行に遷移する。
一方で、端末装置200は、情報処理装置100にリクエストを送信してから所定の期間が経過した後もレスポンスが返送されない場合(すなわち、通信がタイムアウトした場合)には、当該リクエストに対応する処理においてエラーが発生したものとみなす。この場合には、端末装置200は、エラーとなった処理に応じて、トランザクションとして実行される一連の処理S101~S104を、基準となる処理から再度実行する。
具体的には、端末装置200は、相互認証処理S102よりも前のポーリング処理S101においてエラーが発生した場合には、一連の処理S101~S104をポーリング処理S101から再度実行する。一方で、端末装置200は、相互認証処理S102以降の処理においてエラーが発生した場合には、一連の処理S101~S104のうち少なくとも相互認証処理S102以降の処理を再度実行する。すなわち、この場合には、端末装置200は、一連の処理S101~S104の実行を、相互認証処理S102までロールバックさせることとなる。
When executing a series of processes from S101 to S104, the terminal device 200 transmits a request to the information processing device 100 as necessary in each process. In this case, the terminal device 200 transitions to execution of the next process after confirming a response to the request.
On the other hand, if the terminal device 200 does not receive a response even after a predetermined period of time has elapsed since sending a request to the information processing device 100 (i.e., the communication times out), it assumes that an error has occurred in the process corresponding to the request. In this case, the terminal device 200 re-executes the series of processes S101 to S104 executed as a transaction, starting from the reference process, according to the process that has caused the error.
Specifically, if an error occurs in the polling process S101 prior to the mutual authentication process S102, the terminal device 200 executes the series of processes S101 to S104 again, starting from the polling process S101. On the other hand, if an error occurs in the processes after the mutual authentication process S102, the terminal device 200 executes at least the processes after the mutual authentication process S102 out of the series of processes S101 to S104 again. That is, in this case, the terminal device 200 rolls back the execution of the series of processes S101 to S104 to the mutual authentication process S102.

情報処理装置100は、端末装置200からリクエストを受信すると、当該リクエストに応じた処理を実行し、当該処理の実行結果に応じたレスポンスを当該端末装置200に返送する。 When the information processing device 100 receives a request from the terminal device 200, it executes processing according to the request and returns a response according to the execution result of the processing to the terminal device 200.

比較例に係る情報処理装置100は、複数の端末装置200のそれぞれからリクエストを受信した場合には、受信した順に各リクエストを処理の対象とする。例えば、図4に示す例では、情報処理装置100は、各端末装置200から受信したリクエストをキュー(受信キュー)に関連付けて管理し、当該キューに関連付けられた順に各リクエストを処理の対象としている。このような特性から、複数の端末装置200のそれぞれからのリクエストのうち、少なくとも一部のリクエストに対応する処理の実行が遅延し、当該リクエストに対するレスポンスの返送がタイムアウトする場合がある。このようなタイムアウトが生じると、通信のタイムアウトが生じたトランザクションが再度実行されることとなるため、当該トランザクションが滞留することとなる。そして、このようなトランザクションの滞留が重なることで、情報処理装置100と複数の端末装置200それぞれとの間の通信に輻輳が生じる場合がある。 When the information processing device 100 according to the comparative example receives requests from each of the multiple terminal devices 200, it processes each request in the order in which it was received. For example, in the example shown in FIG. 4, the information processing device 100 manages the requests received from each of the terminal devices 200 by associating them with a queue (received queue), and processes each request in the order in which it is associated with the queue. Due to such characteristics, the execution of processing corresponding to at least some of the requests from each of the multiple terminal devices 200 may be delayed, and the return of a response to the request may time out. When such a timeout occurs, the transaction in which the communication timeout occurred is executed again, causing the transaction to stagnate. Then, when such transaction stagnation occurs at the same time, congestion may occur in the communication between the information processing device 100 and each of the multiple terminal devices 200.

具体的な一例として、図4に示す例では、端末装置200aが、ポーリング処理S101の実行に際し、情報処理装置100に対してリクエストS111aを送信している。また、端末装置200aがリクエストS111aを情報処理装置100に送信した後に、端末装置200bが、書き込み処理S104の実行に際し、情報処理装置100に対してリクエストS117bを送信している。この場合には、比較例に係る情報処理装置100は、リクエストS111aに応じた処理を実行し、当該処理の実行結果に応じたレスポンスS112aを端末装置200aに返送した後に、リクエストS117bに応じた処理を実行することとなる。
この際に、リクエストS111aに応じた処理の実行に伴い、リクエストS117bに応じた処理の実行タイミングが遅延し、この遅延がより大きくなることで、リクエストS117bに対するレスポンスS118bの返送がタイムアウトする場合がある。この場合には、端末装置200bは、接客に係るトランザクションのうち書き込み処理S104がエラーとなったものとみなし、一連の処理S101~S104のうち認証処理S102から、当該認証処理S102以降の各処理を再度実行することとなる。
4, the terminal device 200a transmits a request S111a to the information processing device 100 when performing the polling process S101. After the terminal device 200a transmits the request S111a to the information processing device 100, the terminal device 200b transmits a request S117b to the information processing device 100 when performing the writing process S104. In this case, the information processing device 100 according to the comparative example executes a process in response to the request S111a, returns a response S112a in response to the execution result of the process to the terminal device 200a, and then executes a process in response to the request S117b.
At this time, the execution timing of the process in response to the request S111a is delayed due to the execution of the process in response to the request S117b, and as this delay becomes greater, the return of the response S118b to the request S117b may time out. In this case, the terminal device 200b considers that the writing process S104 in the transaction related to customer service has resulted in an error, and re-executes each process from the authentication process S102 onwards in the series of processes S101 to S104.

以上のように、上記通信のタイムアウトに伴い端末装置200において一連の処理S101~S104が再度実行されることで、当該端末装置200でのトランザクションが完了せずに滞留することとなる。また、既に発生したトランザクションが滞留している状況下においても、他の端末装置200において新たなトランザクションが発生する場合がある。これにより、各端末装置200で実行中のトランザクションの数が増大し、各端末装置200から情報処理装置100に送信されるリクエストの数も比例して増大することとなる。このような状況下では、各端末装置200からのリクエストの処理に伴う情報処理装置100の負荷がより増大することとなるため、状況が改善できないどころか、さらに状況が悪化する場合もある。 As described above, when the communication times out, the series of processes S101 to S104 are executed again in the terminal device 200, causing the transaction in that terminal device 200 to remain stalled and not completed. Furthermore, even when a transaction that has already occurred is stalled, a new transaction may occur in another terminal device 200. This increases the number of transactions being executed in each terminal device 200, and the number of requests sent from each terminal device 200 to the information processing device 100 also increases proportionately. In such a situation, the load on the information processing device 100 associated with processing requests from each terminal device 200 increases further, so that rather than failing to improve the situation, the situation may even worsen.

以上のような状況を鑑み、本実施形態に係る情報処理システム1では、情報処理装置100と複数の端末装置200それぞれとの間の通信における輻輳が発生した場合でも、トランザクションを確実に実行可能とする技術を提案する。 In consideration of the above situation, the information processing system 1 according to this embodiment proposes a technology that ensures that transactions can be executed even if congestion occurs in communication between the information processing device 100 and each of the multiple terminal devices 200.

例えば、図5は、本実施形態に係る情報処理システム1の機能の概要について説明するための説明図である。本実施形態に係る情報処理システム1では、情報処理装置100は、各端末装置200から送信されるリクエストに対して所定の条件に基づき優先度を設定し、より高い優先度が設定されたリクエストを、より優先して処理の対象とする。 For example, FIG. 5 is an explanatory diagram for explaining an overview of the functions of the information processing system 1 according to this embodiment. In the information processing system 1 according to this embodiment, the information processing device 100 sets priorities based on predetermined conditions for requests sent from each terminal device 200, and requests with higher priorities set are given higher priority for processing.

具体的には、図5に示す例では、端末装置200aが、ポーリング処理S101の実行に際し、情報処理装置100に対してリクエストS211aを送信している。また、端末装置200aがリクエストS211aを情報処理装置100に送信した後に、端末装置200bが、書き込み処理S104の実行に際し、情報処理装置100に対してリクエストS217bを送信している。
情報処理装置100は、リクエストS211a及びS217bのうち、より優先して処理の対象とするリクエストを、端末装置200a及び200bそれぞれにおけるトランザクション(すなわち、一連の処理S101~S104)の進行度に応じて決定する。
5, the terminal device 200a transmits a request S211a to the information processing device 100 when performing the polling process S101. After the terminal device 200a transmits the request S211a to the information processing device 100, the terminal device 200b transmits a request S217b to the information processing device 100 when performing the writing process S104.
The information processing device 100 determines which of the requests S211a and S217b is to be given higher priority for processing, depending on the progress of the transactions (that is, the series of processes S101 to S104) in the terminal devices 200a and 200b, respectively.

例えば、図5に示す例では、端末装置200aは、一連の処理S101~S104のうち、より前の段階に位置するポーリング処理S101を実行している。また、端末装置200bは、一連の処理S101~S104のうち、より後の段階に位置する書き込み処理S104を実行している。
図5に示す例の場合には、端末装置200aは、実行中のポーリング処理S101がエラーとなった場合には、再度ポーリング処理S101を行えばよい。これに対して、端末装置200bは、実行中の書き込み処理S104がエラーとなった場合には、トランザクションとして実行される一連の処理を相互認証処理S102までロールバックさせ、相互認証処理S102から一連の処理を再度実行することとなる。そのため、端末装置200aで実行される処理S101がエラーとなる場合に比べて、端末装置200bで実行される処理S104がエラーとなる場合の方が、トランザクションの再実行に伴い増大する処理負荷がより大きくなる。すなわち、端末装置200aで実行される処理S101がエラーとなる場合に比べて、端末装置200bで実行される処理S104がエラーとなる場合の方が、システム全体として未了に伴い滞留するトランザクションの数がより増加しやすい傾向にある。
5, the terminal device 200a is executing a polling process S101, which is an earlier step in the series of processes S101 to S104, while the terminal device 200b is executing a writing process S104, which is a later step in the series of processes S101 to S104.
In the example shown in Fig. 5, when the polling process S101 being executed causes an error, the terminal device 200a may perform the polling process S101 again. On the other hand, when the writing process S104 being executed causes an error, the terminal device 200b rolls back the series of processes executed as a transaction to the mutual authentication process S102 and executes the series of processes again from the mutual authentication process S102. Therefore, the processing load that increases with the reexecution of the transaction is larger when the process S104 executed by the terminal device 200b causes an error than when the process S101 executed by the terminal device 200a causes an error. In other words, the number of transactions that are left uncompleted in the entire system tends to increase more easily when the process S104 executed by the terminal device 200b causes an error than when the process S101 executed by the terminal device 200a causes an error.

このような背景から、本実施形態に係る情報処理装置100は、各端末装置200で実行されるトランザクションの進行度に応じて、いずれの端末装置200からのリクエストをより優先して処理するかを決定する。具体的な一例として、情報処理装置100は、一連の処理S101~S104のうち、エラーが発生した場合に再実行の起点となる相互認証処理S102よりも後の処理を実行中の端末装置200からのリクエストを、より優先して処理の対象とする。また、情報処理装置100は、トランザクションの進行度がより進んでいる端末装置200からのリクエストを、より優先して処理の対象としてもよい。
すなわち、図5に示す例では、情報処理装置100は、端末装置200aからのポーリング処理S101の実行に伴うリクエストS211aよりも、端末装置200bからの書き込み処理S104の実行に伴うリクエストS217bをより優先して処理の対象とする。
このような管理を実現するための構成として、例えば、図5に示す例では、情報処理装置100は、受信した通常のリクエストを関連付ける受信キューに加えて、より優先して処理の対象とするリクエストを関連付ける受信キューを別途設けている。これにより、情報処理装置100は、通常のリクエストを関連付ける受信キューにリクエストが残存しているか否かに関わらず、トランザクションの進行度がより進んでいる端末装置200からのリクエストを、より優先して処理の対象とすることが可能となる。
そして、情報処理装置100は、リクエストS217bに応じた処理を実行し、当該処理の実行結果に応じたレスポンスS218bを端末装置200bに返送する。その後、情報処理装置100は、リクエスト211aに応じた処理を実行し、当該処理の実行結果に応じたレスポンス212aを端末装置200aに返送する。
In light of this background, the information processing device 100 according to this embodiment determines which of the terminal devices 200 should be given higher priority in processing a request from, depending on the progress of the transaction being executed in each terminal device 200. As a specific example, the information processing device 100 gives higher priority to processing a request from a terminal device 200 that is executing a process subsequent to the mutual authentication process S102 that is the starting point for re-execution in the event of an error, among the series of processes S101 to S104. The information processing device 100 may also give higher priority to processing a request from a terminal device 200 that is further along in the transaction.
That is, in the example shown in FIG. 5, the information processing device 100 prioritizes processing of a request S217b accompanying the execution of a write process S104 from the terminal device 200b over a request S211a accompanying the execution of a polling process S101 from the terminal device 200a.
5, the information processing device 100 has a receiving queue to which received normal requests are associated, and a separate receiving queue to which requests to be given higher priority for processing are associated. This allows the information processing device 100 to give higher priority to requests from terminal devices 200 that are further along in their transactions, regardless of whether or not there are requests remaining in the receiving queue to which normal requests are associated.
The information processing device 100 then executes processing in response to the request S217b and returns a response S218b in response to the execution result of the processing to the terminal device 200b. After that, the information processing device 100 executes processing in response to the request 211a and returns a response 212a in response to the execution result of the processing to the terminal device 200a.

以上のような制御が適用されることで、複数の端末装置200のそれぞれで実行されるトランザクションのうち、より完了に近いトランザクションに対応するリクエストがより優先して処理される。すなわち、より完了に近いトランザクションが、リクエストに対するレスポンスの返送のタイムアウトに伴うエラーにより再実行される頻度がより低減される。これにより、未了による滞留するトランザクションの数をより低減することが可能となり、その時々でトランザクションの実行に伴い端末装置200から情報処理装置100に送信されるリクエストの数を低減させることが可能となる。そのため、情報処理装置100と複数の端末装置200それぞれとの間の通信における輻輳が発生した場合でも、トランザクションを確実に実行することが可能となる。 By applying the above control, requests corresponding to transactions that are closer to completion among the transactions executed by each of the multiple terminal devices 200 are given priority for processing. In other words, the frequency with which transactions closer to completion are re-executed due to errors resulting from a timeout in the return of a response to a request is further reduced. This makes it possible to further reduce the number of incomplete transactions that remain pending, and to reduce the number of requests sent from the terminal device 200 to the information processing device 100 in conjunction with the execution of each transaction. Therefore, even if congestion occurs in the communication between the information processing device 100 and each of the multiple terminal devices 200, it is possible to reliably execute transactions.

<機能構成>
続いて、図6を参照して、本実施形態に係る情報処理システム1の機能構成の一例について説明する。なお、図6では、説明をより分かりやすくするために、情報処理装置100に対して、1つの端末装置200がネットワークN1を介して接続されている場合の一例について示している。一方で、前述したように、情報処理装置100には、ネットワークN1を介して複数の端末装置200が接続され得る。この場合には、各端末装置200は、図6に示す端末装置200と実質的に同様の機能構成を有し得る。
<Functional configuration>
Next, an example of the functional configuration of the information processing system 1 according to the present embodiment will be described with reference to Fig. 6. In Fig. 6, in order to make the description easier to understand, an example is shown in which one terminal device 200 is connected to the information processing device 100 via the network N1. On the other hand, as described above, a plurality of terminal devices 200 may be connected to the information processing device 100 via the network N1. In this case, each terminal device 200 may have substantially the same functional configuration as the terminal device 200 shown in Fig. 6.

(端末装置200)
まず、端末装置200の機能構成の一例について説明する。端末装置200は、読み書き処理部221と、通信部222と、検知部223と、ドア開閉部224と、案内部225と、処理実行部226とを含む。詳細を後述する端末装置200の各機能は、CPU201が、HD203に記憶されたプログラムをRAM205に展開して実行することで実現される。
(Terminal device 200)
First, an example of the functional configuration of the terminal device 200 will be described. The terminal device 200 includes a read/write processing unit 221, a communication unit 222, a detection unit 223, a door opening/closing unit 224, a guidance unit 225, and a process execution unit 226. Each function of the terminal device 200, which will be described in detail later, is realized by the CPU 201 expanding a program stored in the HD 203 into the RAM 205 and executing it.

読み書き処理部221は、乗車券処理装置207の動作を制御することで、ユーザが所有するICカード等の記録媒体から所定の情報の読み取り、読み取った当該情報を処理実行部226に出力する。
記録媒体から読み取られる情報としては、当該記録媒体の識別情報、自動改札機における入出場処理等に関する乗車情報、記録媒体にチャージされた金額に関する情報、定期券での利用が許可されている区間に関する情報等が挙げられる。また、端末装置200と情報処理装置100との間の認証に鍵情報を使用する場合には、当該鍵情報が記録媒体に記憶されていてもよく、当該鍵情報が当該記録媒体から読み取られてもよい。なお、以降の説明では、便宜上、端末装置200と情報処理装置100との間の認証(すなわち、図5に示す相互認証処理S102)には、記録媒体に記憶された識別情報及び鍵情報が使用されるものとする。
また、読み書き処理部221は、処理実行部226からの指示に応じて、ICカード等の記録媒体に対する情報の書き込みを行う。ICカード等の記録媒体に書き込まれる情報の一例としては、記録媒体にチャージされた金額から乗車料金を減額した後の金額に関する情報や、自動改札機における入出場処理の結果に応じた乗車情報等が挙げられる。
The read/write processing unit 221 controls the operation of the ticket processing device 207 to read specific information from a recording medium such as an IC card owned by the user, and outputs the read information to the processing execution unit 226.
The information read from the recording medium includes identification information of the recording medium, boarding information related to the entry/exit process at the automatic ticket gate, information related to the amount charged to the recording medium, information related to the section in which the use of the commuter pass is permitted, etc. Furthermore, when key information is used for authentication between the terminal device 200 and the information processing device 100, the key information may be stored in the recording medium, or the key information may be read from the recording medium. For convenience, in the following description, it is assumed that the identification information and key information stored in the recording medium are used for authentication between the terminal device 200 and the information processing device 100 (i.e., the mutual authentication process S102 shown in FIG. 5).
Furthermore, the read/write processing unit 221 writes information to a recording medium such as an IC card in response to an instruction from the process execution unit 226. Examples of information written to a recording medium such as an IC card include information on the amount remaining after deducting the fare from the amount charged to the recording medium, and boarding information according to the result of the entry/exit process at an automatic ticket gate.

通信部222は、端末装置200内の各部が、端末装置200とは異なる他の装置(例えば、情報処理装置100)と、ネットワークN1を介して情報を送受信するためのインターフェースである。通信部222は、例えば、インターフェース装置202により実現される通信機能に相当する。なお、以降の説明では、端末装置200内の各部が、他の装置との間で情報の送受信を行う場合には、特に説明がない限りは、通信部222を介して当該情報の送受信が行われるものとする。 The communication unit 222 is an interface that enables each unit in the terminal device 200 to transmit and receive information to and from other devices (e.g., the information processing device 100) different from the terminal device 200 via the network N1. The communication unit 222 corresponds to a communication function realized by the interface device 202, for example. In the following explanation, when each unit in the terminal device 200 transmits and receives information to and from other devices, it is assumed that the information is transmitted and received via the communication unit 222 unless otherwise specified.

検知部223は、人間検知装置208の動作を制御することで、ユーザによる自動改札機への進入や、自動改札機の通過を検知する。
ドア開閉部224は、ドア開閉装置209の動作を制御することで、自動改札機のドアの開閉を行う。
案内部225は、案内装置206の動作を制御することで、ユーザに対して各種情報を提示することで案内を行う。例えば、案内部225は、案内装置206が有する表示装置に案内に係る情報が提示された画面を表示させることで案内を行ってもよい。また、案内部225は、案内装置206が有する音響出力装置に案内に係る音声を出力させることで案内を行ってもよい。また、案内部225は、案内装置206が有する点灯装置にランプを点灯または消灯させることで案内を行ってもよい。
The detection unit 223 controls the operation of the human detection device 208 to detect a user entering an automatic ticket gate or passing through the automatic ticket gate.
The door opening/closing unit 224 controls the operation of the door opening/closing device 209 to open and close the doors of the automatic ticket gate.
The guidance unit 225 provides guidance by presenting various information to the user through controlling the operation of the guidance device 206. For example, the guidance unit 225 may provide guidance by causing a display device of the guidance device 206 to display a screen on which information related to the guidance is presented. The guidance unit 225 may also provide guidance by causing an audio output device of the guidance device 206 to output audio related to the guidance. The guidance unit 225 may also provide guidance by causing a lighting device of the guidance device 206 to turn on or off a lamp.

処理実行部226は、端末装置200が提供する機能を実現するための各種処理を実行する。
例えば、処理実行部226は、図5を参照して説明したように、接客に係る1つのトランザクションとして、一連の処理S101~S104のそれぞれをこの順序で逐次実行する。また、処理実行部226は、一連の処理S101~S104それぞれの実行に際し、必要に応じて情報処理装置100にリクエストを送信することで、情報処理装置100に対して所望の処理の実行を依頼する。
The process execution unit 226 executes various processes to realize the functions provided by the terminal device 200 .
For example, the process execution unit 226 executes a series of processes S101 to S104 in this order as one transaction related to customer service, as described with reference to Fig. 5. When executing each of the series of processes S101 to S104, the process execution unit 226 requests the information processing device 100 to execute a desired process by transmitting a request to the information processing device 100 as necessary.

具体的な一例として、処理実行部226は、読み書き処理部221により記録媒体が認識され、当該記録媒体から読み取られた情報を読み書き処理部221から取得すると、接客に係るトランザクションとして、一連の処理S101~S104の実行を開始する。 As a specific example, when the read/write processing unit 221 recognizes a recording medium and obtains information read from the recording medium from the read/write processing unit 221, the process execution unit 226 starts executing a series of processes S101 to S104 as a transaction related to customer service.

まず、処理実行部226は、ポーリング処理S101として、情報処理装置100に対してポーリングに係るリクエストを送信することで、情報処理装置100に対して以降の処理S102~S104に係るリクエストの送信が可能か否かを確認する。 First, as a polling process S101, the process execution unit 226 sends a polling request to the information processing device 100 to check whether it is possible to send requests to the information processing device 100 for the subsequent processes S102 to S104.

処理実行部226は、ポーリング処理S101において情報処理装置100から返送されるレスポンスに基づき、情報処理装置100の通信が可能であることを認識すると、相互認証処理S102を実行する。具体的には、処理実行部226は、記録媒体から読み取られた情報のうち、識別情報や鍵情報等の認証に使用される情報に基づきリクエストを生成し、当該リクエストを情報処理装置100に送信する。そして、処理実行部226は、情報処理装置100から返送されるレスポンスに基づき、認証が成功したか否かを確認する。また、処理実行部226は、情報処理装置100から識別情報や鍵情報を取得して、これらの情報に基づき、通信の相手である情報処理装置100の正当性の確認を行ってもよい。 When the process execution unit 226 recognizes that communication with the information processing device 100 is possible based on the response returned from the information processing device 100 in the polling process S101, it executes the mutual authentication process S102. Specifically, the process execution unit 226 generates a request based on information used for authentication, such as identification information and key information, among the information read from the recording medium, and transmits the request to the information processing device 100. Then, the process execution unit 226 checks whether the authentication has been successful based on the response returned from the information processing device 100. The process execution unit 226 may also obtain identification information and key information from the information processing device 100 and check the legitimacy of the information processing device 100, which is the other party of the communication, based on this information.

処理実行部226は、情報処理装置100との認証に成功すると、読み取り処理S103を実行する。具体的には、処理実行部226は、記録媒体にチャージされた金額に関する情報や、入退場が行われた駅に関する情報(例えば、乗車情報)等の、運賃の精算に使用される情報に基づきリクエストを生成し、当該リクエストを情報処理装置100に送信する。
そして、処理実行部226は、情報処理装置100から上記リクエストに対するレスポンスの返送を受けると、当該レスポンスに基づき書き込み処理S104を実行する。具体的には、処理実行部226は、返送されたレスポンスに基づき、運賃の精算結果に応じた情報(例えば、チャージ金額の残高)の記録媒体への書き込みを、読み書き処理部221に指示する。また、この際に処理実行部226は、自動改札機を介して入退場が行われた駅に関する情報の記録媒体への書き込みを、読み書き処理部221に指示してもよい。
また、処理実行部226は、書き込み処理S104の結果を情報処理装置100に通知してもよい。これにより、情報処理装置100は、端末装置200において記録媒体への情報の書き込みが正常に完了したか否かを認識することが可能となる。
When the process execution unit 226 succeeds in authenticating the information processing device 100, the process execution unit 226 executes a reading process S103. Specifically, the process execution unit 226 generates a request based on information used for fare settlement, such as information on the amount charged to the recording medium and information on the station where entry and exit were performed (e.g., boarding information), and transmits the request to the information processing device 100.
Then, when the process execution unit 226 receives a response to the request from the information processing device 100, it executes the write process S104 based on the response. Specifically, the process execution unit 226 instructs the read/write processing unit 221 to write information corresponding to the fare settlement result (e.g., the remaining charge amount) to the recording medium based on the returned response. At this time, the process execution unit 226 may also instruct the read/write processing unit 221 to write information related to the station where the user entered or left the station via the automatic ticket gate to the recording medium.
Furthermore, the process execution unit 226 may notify the information processing device 100 of the result of the writing process S104. This enables the information processing device 100 to recognize whether or not the writing of information to the recording medium in the terminal device 200 has been completed normally.

なお、上記は運賃の精算が行われる場合の処理の一例について説明したが、定期券の有効区間における利用の場合のように、運賃の精算後のチャージ金額の演算等が行われない場合もある。このような場合には、読み取り処理S103及び書き込み処理S104において端末装置200と情報処理装置100との間で送受信される情報が、利用シーンに応じて適宜変更されてもよい。 Note that, although the above describes an example of the process when the fare is settled, there are cases where the charge amount is not calculated after the fare is settled, such as when using a commuter pass within the valid area. In such cases, the information transmitted and received between the terminal device 200 and the information processing device 100 in the reading process S103 and the writing process S104 may be changed as appropriate depending on the usage scene.

また、処理実行部226は、情報処理装置100へのリクエストの送信後から所定の期間が経過した後も、当該リクエストに対するレスポンスが当該情報処理装置100から返送されない場合には、当該リクエストに対応する処理をエラーとする。この場合には、処理実行部226は、当該処理を含むトランザクションの再実行を試みる。なお、トランザクションの再実行については、図5を参照して説明したとおりである。すなわち、処理実行部226は、相互認証処理S102よりも前の処理でエラーが発生した場合には、トランザクションとして実行される一連の処理S101~S104を、ポーリング処理S101から再度実行する。また、処理実行部226は、相互認証処理S102以降の処理でエラーが発生した場合には、トランザクションとして実行される一連の処理S101~S104を、相互認証処理S102から再度実行する。 Furthermore, if a response to a request is not returned from the information processing device 100 even after a predetermined period of time has elapsed since the request was sent to the information processing device 100, the process execution unit 226 determines that the process corresponding to the request is an error. In this case, the process execution unit 226 attempts to re-execute the transaction including the request. Note that re-execution of a transaction is as described with reference to FIG. 5. That is, if an error occurs in a process prior to the mutual authentication process S102, the process execution unit 226 re-executes the series of processes S101 to S104 executed as a transaction, starting from the polling process S101. Furthermore, if an error occurs in a process after the mutual authentication process S102, the process execution unit 226 re-executes the series of processes S101 to S104 executed as a transaction, starting from the mutual authentication process S102.

また、処理実行部226は、検知部223から検知結果に応じた情報を取得することで、ユーザによる自動改札機への進入や、自動改札機の通過を認識し、当該認識の結果に応じて各種処理を実行してもよい。具体的な一例として、処理実行部226は、読み書き処理部221により記録媒体が検出されていないにも関わらず、自動改札機へのユーザの進入が検知された場合には、ドア開閉部224にドアを閉じさせてもよい。また、この際に、処理実行部226は、案内部225に、記録媒体が認識されていない旨を示す報知情報を報知させてもよい。 The processing execution unit 226 may also recognize a user's entry into or passage through an automated ticket barrier by acquiring information according to the detection result from the detection unit 223, and may execute various processes according to the result of the recognition. As a specific example, when the processing execution unit 226 detects a user's entry into an automated ticket barrier even though the read/write processing unit 221 has not detected a recording medium, the processing execution unit 226 may cause the door opening/closing unit 224 to close the door. At this time, the processing execution unit 226 may also cause the guidance unit 225 to notify the user of notification information indicating that a recording medium has not been recognized.

(情報処理装置100)
続いて、情報処理装置100の機能構成の一例について説明する。情報処理装置100は、通信部121と、リクエスト処理部122と、処理実行部123とを含む。また、情報処理装置100は、記憶部124を含んでもよい。詳細を後述する情報処理装置100の各機能は、CPU101がHD103に記憶されたプログラムをRAM109に展開して実行することで実現される。
(Information processing device 100)
Next, an example of the functional configuration of the information processing device 100 will be described. The information processing device 100 includes a communication unit 121, a request processing unit 122, and a process execution unit 123. The information processing device 100 may also include a storage unit 124. Each function of the information processing device 100, which will be described in detail later, is realized by the CPU 101 expanding a program stored in the HD 103 into the RAM 109 and executing it.

通信部121は、情報処理装置100内の各部が、情報処理装置100とは異なる他の装置(例えば、端末装置200)と、ネットワークN1を介して情報を送受信するためのインターフェースである。通信部121は、例えば、インターフェース装置102により実現される通信機能に相当する。なお、以降の説明では、情報処理装置100内の各部が、他の装置との間で情報の送受信を行う場合には、特に説明がない限りは、通信部121を介して当該情報の送受信が行われるものとする。 The communication unit 121 is an interface that enables each unit in the information processing device 100 to transmit and receive information to and from other devices (e.g., the terminal device 200) different from the information processing device 100 via the network N1. The communication unit 121 corresponds to a communication function realized by the interface device 102, for example. In the following explanation, when each unit in the information processing device 100 transmits and receives information to and from other devices, it is assumed that the information is transmitted and received via the communication unit 121 unless otherwise specified.

記憶部124は、情報処理装置100内の各部が処理を実行するためのデータやプログラムを記憶する記憶領域である。また、記憶部124には、各端末装置200に関する情報や、各ユーザが保持する記憶媒体に関する情報等が記憶されていてもよい。
なお、記憶部124は、例えば、情報処理装置100に内蔵された記憶装置により実現されてもよい。また、他の一例として、記憶部124は、情報処理装置100とは異なる外部の記憶装置により実現されてもよい。具体的には、記憶部124は、情報処理装置100に対して外付けされた記憶装置により実現されてもよいし、情報処理装置100とネットワークを介して接続された記憶装置により実現されてもよい。
The storage unit 124 is a storage area that stores data and programs for each unit in the information processing device 100 to execute processing. The storage unit 124 may also store information about each terminal device 200, information about storage media held by each user, and the like.
The storage unit 124 may be realized, for example, by a storage device built into the information processing device 100. As another example, the storage unit 124 may be realized by an external storage device different from the information processing device 100. Specifically, the storage unit 124 may be realized by a storage device external to the information processing device 100, or may be realized by a storage device connected to the information processing device 100 via a network.

リクエスト処理部122は、端末装置200からポーリング処理S101に対応するリクエストを受け付けると、当該端末装置200に対して当該リクエストに対するレスポンスを送信する。この際に、リクエスト処理部122は、上記端末装置200からの各種処理に関するリクエストを受け付けることが可能か否かを確認し、当該確認の結果に応じて当該端末装置200にレスポンスを返送してもよい。 When the request processing unit 122 receives a request corresponding to the polling process S101 from the terminal device 200, it transmits a response to the request to the terminal device 200. At this time, the request processing unit 122 may check whether it is possible to receive requests related to various processes from the terminal device 200, and may return a response to the terminal device 200 depending on the result of the check.

また、リクエスト処理部122は、各端末装置200から送信される各種処理(例えば、相互認証処理S102及び読み取り処理S103に関する処理)の実行に関するリクエストを受け付け、当該リクエストにより要求される処理を処理実行部123に実行させる。この際に、リクエスト処理部122は、図5を参照して説明したように、リクエストを受け付けた各端末装置200で実行されるトランザクションの進行度に応じて、いずれの端末装置200からのリクエストをより優先して処理の対象とするかを決定する。
なお、リクエスト処理部122が、各端末装置200で実行されるトランザクションの進行度を認識することが可能であれば、その方法は特に限定されない。具体的な一例として、リクエスト処理部122は、端末装置200から送信されるリクエストの種別(例えば、処理S101~S103のいずれで送信されるリクエストか)に応じて、当該端末装置200で実行されるトランザクションの進行度を認識してもよい。また、他の一例として、リクエスト処理部122は、端末装置200から送信されるリクエストに含まれる情報に応じて、当該端末装置200で実行されるトランザクションの進行度を認識してもよい。また、他の一例として、リクエスト処理部122は、端末装置200から送信されるリクエストにより依頼された処理に応じて、当該端末装置200で実行されるトランザクションの進行度を認識してもよい。
Furthermore, the request processing unit 122 accepts requests for the execution of various processes (e.g., processes related to the mutual authentication process S102 and the reading process S103) transmitted from each terminal device 200, and causes the process execution unit 123 to execute the process requested by the request. At this time, as described with reference to Fig. 5, the request processing unit 122 determines which of the terminal devices 200 should be given higher priority for processing the request, depending on the progress of the transaction being executed in each terminal device 200 that accepted the request.
As long as the request processing unit 122 can recognize the progress of a transaction executed in each terminal device 200, the method is not particularly limited. As a specific example, the request processing unit 122 may recognize the progress of a transaction executed in the terminal device 200 according to the type of a request transmitted from the terminal device 200 (e.g., in which of the processes S101 to S103 the request is transmitted). As another example, the request processing unit 122 may recognize the progress of a transaction executed in the terminal device 200 according to information included in the request transmitted from the terminal device 200. As another example, the request processing unit 122 may recognize the progress of a transaction executed in the terminal device 200 according to processing requested by a request transmitted from the terminal device 200.

また、リクエスト処理部122は、端末装置200からのリクエストに応じて処理実行部123に依頼した処理の結果を当該処理実行部123から取得すると、当該処理の結果に応じたレスポンスを当該端末装置200に返送する。 In addition, when the request processing unit 122 obtains the results of the processing requested to the processing execution unit 123 in response to a request from the terminal device 200 from the processing execution unit 123, the request processing unit 122 returns a response corresponding to the results of the processing to the terminal device 200.

処理実行部123は、リクエスト処理部122からの指示に応じて各種処理を実行し、当該処理の実行結果をリクエスト処理部122に通知する。 The process execution unit 123 executes various processes according to instructions from the request processing unit 122 and notifies the request processing unit 122 of the results of the processes.

具体的な一例として、処理実行部123は、端末装置200からのリクエストに応じて、当該端末装置200から送信される識別情報や鍵情報に基づき、当該端末装置200において情報が読み取られた記録媒体について認証に係る処理を実行してもよい。なお、処理実行部123が当該認証に係る処理の実行時に照合する情報については、当該処理実行部123が参照可能な記憶領域(例えば、記憶部124)に記憶させておけばよい。 As a specific example, the process execution unit 123 may, in response to a request from the terminal device 200, execute authentication processing for a recording medium from which information has been read by the terminal device 200, based on identification information and key information transmitted from the terminal device 200. Note that the information that the process execution unit 123 checks when executing the authentication processing may be stored in a storage area (e.g., storage unit 124) that can be referenced by the process execution unit 123.

また、他の一例として、処理実行部123は、端末装置200からのリクエストに応じて、当該端末装置200から送信されるチャージ金額の残高に関する情報や、入退場が行われた駅に関する情報等に基づき、運賃の精算に係る処理を実行してもよい。また、処理実行部123は、チャージ金額の残高等のような各記録媒体に関する情報を、データベース等を利用して管理してもよい。この場合には、処理実行部123は、運賃の精算結果に応じて、データベースで管理している情報(すなわち、運賃の精算が行われた記録媒体に関する情報)を更新してもよい。なお、当該データベースを実現するためのプログラムや、当該データベースに記録されるデータについては、処理実行部123が参照可能な記憶領域(例えば、記憶部124)に記憶させておけばよい。 As another example, the process execution unit 123 may execute a process related to the settlement of the fare in response to a request from the terminal device 200, based on information on the remaining charge amount transmitted from the terminal device 200, information on the station where entry and exit were performed, and the like. The process execution unit 123 may also manage information on each recording medium, such as the remaining charge amount, using a database or the like. In this case, the process execution unit 123 may update the information managed in the database (i.e., information on the recording medium for which the fare was settled) in accordance with the result of the fare settlement. Note that the program for realizing the database and the data recorded in the database may be stored in a memory area (e.g., the memory unit 124) that can be referenced by the process execution unit 123.

なお、上記はあくまで一例であり、処理実行部123により実行される処理を限定するものではない。具体的な一例として、リクエストの送信元となる端末装置200の種別や、端末装置200で実行されるトランザクションの種別に応じて、端末装置200から要求される処理の内容が異なる場合もある。すなわち、処理実行部123は、端末装置200から要求され得る処理を適宜実行することが可能である。また、処理実行部123が各種処理を実行するためのプログラムやデータについては、処理実行部123が参照可能な記憶領域(例えば、記憶部124)にあらかじめ記憶させておけばよい。 Note that the above is merely an example and does not limit the processing executed by the processing execution unit 123. As a specific example, the content of the processing requested by the terminal device 200 may differ depending on the type of terminal device 200 that is the sender of the request and the type of transaction executed by the terminal device 200. In other words, the processing execution unit 123 can appropriately execute processing that may be requested by the terminal device 200. Furthermore, programs and data for the processing execution unit 123 to execute various processes may be stored in advance in a memory area (e.g., the memory unit 124) that can be referenced by the processing execution unit 123.

<処理>
続いて、図7を参照して、本実施形態に係る情報処理システム1の処理の一例について、特に、端末装置200と情報処理装置100との間での情報の送受信に着目して説明する。具体的には、図7は、図5に示すポーリング処理S101、相互認証処理S102、及び読み取り処理S103のそれぞれにおいて実行される、端末装置200と情報処理装置100との間で実行される情報の送受信に係る処理の流れの一例を示している。
<Processing>
Next, with reference to Fig. 7, an example of the processing of the information processing system 1 according to this embodiment will be described, focusing in particular on the transmission and reception of information between the terminal device 200 and the information processing device 100. Specifically, Fig. 7 shows an example of the flow of processing related to the transmission and reception of information executed between the terminal device 200 and the information processing device 100, which is executed in each of the polling process S101, the mutual authentication process S102, and the reading process S103 shown in Fig. 5.

S101において、端末装置200の処理実行部226は、情報処理装置100へのリクエストの送信に際し、必要に応じて所定の前処理を実行する。
具体的な一例として、処理実行部226は、相互認証処理S102の実行時には、前処理S201として、記録媒体に記録された識別情報や鍵情報等のような認証に使用される情報の取得を行う。
また、他の一例として、処理実行部226は、読み取り処理S103の実行時には、前処理S201として、記録媒体に記録されたチャージ金額の残高に関する情報や、入退場が行われた駅に関する情報等のような、運賃の精算に使用される情報の取得を行う。
そして、S202において、処理実行部226は、S201の前処理の実行結果に基づき、情報処理装置100に対してリクエストの送信を行う。
なお、処理実行部226は、リクエストの送信に際し事前に実行を要する処理が存在しない場合には、S201に示す前処理の実行をスキップしてもよい。
In S<b>101 , the process execution unit 226 of the terminal device 200 executes a predetermined pre-processing as necessary when transmitting a request to the information processing device 100 .
As a specific example, when executing the mutual authentication process S102, the process execution unit 226 performs preprocessing S201 to acquire information used for authentication, such as identification information and key information recorded on a recording medium.
As another example, when executing the reading process S103, the processing execution unit 226 acquires, as a pre-processing S201, information used for settling the fare, such as information regarding the remaining charge amount recorded on the recording medium and information regarding the station where entry and exit were performed.
Then, in S202, the process execution unit 226 transmits a request to the information processing device 100 based on the execution result of the pre-processing in S201.
If there is no process that needs to be executed before transmitting the request, the process execution unit 226 may skip the execution of the pre-processing shown in S201.

S203において、情報処理装置100のリクエスト処理部122は、各端末装置200からリクエストを受け付けると、各端末装置200で実行されるトランザクションの進行度に応じて、優先して処理の対象とするリクエストを決定する。
S204において、リクエスト処理部122は、優先して処理の対象とすることを決定したリクエストで要求された処理の実行を処理実行部123に指示し、当該処理の結果に応じた情報を処理実行部123から取得する。
そして、S205において、リクエスト処理部122は、処理実行部123から取得した処理の結果に応じた情報に基づくレスポンスを、対応するリクエストの送信元である端末装置200に返送する。
In S203, when the request processing unit 122 of the information processing device 100 receives requests from each terminal device 200, the request processing unit 122 determines which request is to be given priority for processing depending on the progress of the transaction being executed in each terminal device 200.
In S204, the request processing unit 122 instructs the processing execution unit 123 to execute the processing requested in the request that has been determined to be the subject of processing priority, and obtains information corresponding to the results of the processing from the processing execution unit 123.
Then, in S205, the request processing unit 122 returns a response based on information corresponding to the result of the processing acquired from the processing execution unit 123 to the terminal device 200 that is the sender of the corresponding request.

S206において、端末装置200の処理実行部226は、S202で送信したリクエストに対するレスポンスの返送を情報処理装置100から受けると、当該レスポンスに応じて後処理を実行する。
具体的な一例として、処理実行部226は、読み取り処理S103の実行に伴い情報処理装置100に送信したリクエストに対して、当該情報処理装置100からレスポンスの返送を受けた場合には、S206において書き込み処理S104を後処理として実行する。
なお、処理実行部226は、レスポンスの受信後に実行を要する処理が存在しない場合には、S206に示す後処理の実行をスキップしてもよい。
In S206, when the process execution unit 226 of the terminal device 200 receives a response to the request sent in S202 from the information processing device 100, the process execution unit 226 executes post-processing in accordance with the response.
As a specific example, when the processing execution unit 226 receives a response from the information processing device 100 in response to a request sent to the information processing device 100 in conjunction with the execution of the reading process S103, the processing execution unit 226 executes the writing process S104 as post-processing in S206.
If there is no process that needs to be executed after receiving the response, the process execution unit 226 may skip the execution of the post-processing shown in S206.

このように、処理実行部226は、1つのトランザクションとして一連の処理S101~S104を順次実行する際に、各処理において情報処理装置100に対してリクエストを送信し、当該リクエストに対するレスポンスの返送を受けて、次の処理に遷移する。
一方で、処理実行部226は、S202において情報処理装置100にリクエストを送信してから許容される応答期間Tが経過しても情報処理装置100からのレスポンスの返送がない場合には、当該リクエストに対応する処理がエラーとなったものと認識する。この場合には、処理実行部226は、図5を参照して説明したように、トランザクションとして実行される一連の処理S101~S104を、エラーとなった処理に応じてロールバックさせたうえで、当該一連の処理を再度実行する。
In this way, when the process execution unit 226 sequentially executes the series of processes S101 to S104 as one transaction, it transmits a request to the information processing device 100 for each process, receives a response to the request, and transitions to the next process.
On the other hand, if the process execution unit 226 does not receive a response from the information processing device 100 even after the permissible response period T has elapsed since the request was sent to the information processing device 100 in S202, the process execution unit 226 recognizes that an error has occurred in the process corresponding to the request. In this case, as described with reference to Fig. 5, the process execution unit 226 rolls back the series of processes S101 to S104 executed as a transaction in accordance with the process that has resulted in the error, and then executes the series of processes again.

<変形例>
続いて、本実施形態に係る情報処理システム1の変形例について説明する。本変形例では、情報処理装置100(リクエスト処理部122)が、各端末装置200から送信されるリクエストのうち、いずれを優先して処理の対象とするかを決定するための条件の一例について説明する。
<Modification>
Next, a modified example of the information processing system 1 according to the present embodiment will be described. In this modified example, an example of a condition for the information processing device 100 (request processing unit 122) to determine which of the requests transmitted from each terminal device 200 should be given priority for processing will be described.

(再実行された処理か否か)
リクエスト処理部122は、タイムアウト等のエラーに伴いトランザクション実行される一連の処理のうち少なくとも一部の処理の再実行に応じて端末装置200から送信されたリクエストについては、他のリクエストよりも優先して処理の対象としてもよい。このような制御が適用されることで、一部の端末装置200からのリクエストが処理されない状態が継続し、当該端末装置200においていつまでも処理が完了しないような事態の発生を防止することが可能となる。
(Whether the process was re-executed or not)
The request processing unit 122 may prioritize processing of requests sent from the terminal devices 200 in response to re-execution of at least a part of a series of processes executed in a transaction due to an error such as a timeout over other requests. By applying such control, it is possible to prevent the occurrence of a situation in which requests from some terminal devices 200 remain unprocessed and the processing in the terminal devices 200 never completes.

(トランザクションの種別)
リクエスト処理部122は、端末装置200において実行されるトランザクションの種別に応じて、当該端末装置200から送信されるリクエストの優先度を決定してもよい。
(Transaction type)
The request processing unit 122 may determine the priority of a request sent from a terminal device 200 depending on the type of transaction executed in the terminal device 200 .

例えば、運賃の精算が発生する場合と、定期券が使用された場合等のように運賃の精算が発生しない場合と、では、それぞれで要求される処理の内容が異なるため、端末装置200が実行するトランザクションの種別が異なる。また、記録媒体の種別としても、ICカードや磁気カード等のように情報の記録方式が異なるものがあり、記録方式に応じて要求される処理が異なるため、端末装置200が実行するトランザクションの種別が異なる。このような特性を鑑み、リクエスト処理部122は、端末装置200側で実行されるトランザクションの種別の違いに応じて、システム全体としてより効率的にリクエストが処理されるように、より優先して処理の対象とするリクエストを決定してもよい。 For example, the type of transaction executed by the terminal device 200 differs between cases where fare settlement is required and cases where fare settlement is not required, such as when a commuter pass is used, because the processing required differs for each case. In addition, there are types of recording media, such as IC cards and magnetic cards, which have different information recording methods, and the processing required differs depending on the recording method, so that the type of transaction executed by the terminal device 200 differs. In consideration of these characteristics, the request processing unit 122 may determine which requests to give priority to processing depending on the types of transactions executed on the terminal device 200 side, so that requests are processed more efficiently as a whole system.

具体的な一例として、定期券が使用された場合等のように運賃の精算が発生しない場合には、当該運賃の発生に伴う残額の演算を実行する必要がなく、記録媒体へ書き込まれる情報も少ないため、当該演算を伴う場合に比べて発生する処理負荷が小さい。そのため、リクエスト処理部122は、運賃の精算が発生しない条件で端末装置200から送信されるリクエストを、他のリクエストよりも優先して処理の対象としてもよい。これにより、単位時間あたりにより多くのリクエストを処理することが可能となるため、未了により滞留するトランザクションの数がより少なくなるように制御することが可能となる。 As a specific example, when no fare settlement occurs, such as when a commuter pass is used, there is no need to perform calculations of the remaining amount associated with the occurrence of the fare, and less information is written to the recording medium, resulting in a smaller processing load than when such calculations are involved. Therefore, the request processing unit 122 may prioritize processing of requests sent from the terminal device 200 under conditions in which no fare settlement occurs over other requests. This makes it possible to process more requests per unit time, thereby enabling control to reduce the number of transactions that are left pending due to incomplete.

また、他の一例として、記録媒体かICカードと磁気カードとのいずれかに応じて情報の記録方式が異なり、1つのトランザクションとして実行される処理が異なる場合がある。このような場合には、リクエスト処理部122は、記録媒体がICカードと磁気カードとのいずれかに応じて、優先して処理するトランザクションを決定してもよい。
より具体的な一例として、リクエスト処理部122は、より利用者数の多い記録媒体に対応したリクエストを、より優先して処理の対象としてもよい。
また、他の一例として、リクエスト処理部122は、記録媒体の種別の違いに応じて各処理を完了させるまでの期間が異なる場合には、当該期間がより短い記録媒体に対応したリクエストを、より優先して処理の対象としてもよい。
また、他の一例として、リクエスト処理部122は、記録媒体の種別の違いに応じてタイムアウトとして認識されるまでの期間の長さが異なる場合には、当該期間がより短い記録媒体に対応したリクエストを、より優先して処理の対象としてもよい。
また、他の一例として、リクエスト処理部122は、記録媒体の種別の違いに応じて通信の回数が異なる場合には、当該回数がより少ない記録媒体に対応したリクエストを、より優先して処理の対象としてもよい。
As another example, the information recording method may differ depending on whether the recording medium is a recording medium, an IC card, or a magnetic card, and the processing executed as one transaction may differ. In such a case, the request processing unit 122 may determine the transaction to be preferentially processed depending on whether the recording medium is an IC card or a magnetic card.
As a more specific example, the request processor 122 may give priority to processing requests corresponding to recording media with a larger number of users.
As another example, when the time required to complete each process differs depending on the type of recording medium, the request processing unit 122 may give priority to processing a request corresponding to a recording medium with a shorter time required.
As another example, when the length of time until a timeout is recognized varies depending on the type of recording medium, the request processing unit 122 may give priority to processing a request corresponding to a recording medium with a shorter period.
As another example, when the number of communications varies depending on the type of recording medium, the request processing unit 122 may give priority to processing requests corresponding to recording media with fewer such communications.

また、前述したように、駅務機器の中には、自動改札機のみに限らず、券売機、精算機、及び窓口処理機等が存在し、実行される処理の内容も異なる。特に、券売機、精算機、及び窓口処理機等で実行されるトランザクションについては、自動改札機で実行されるトランザクションに比べて、一連の処理が完了するまでの期間に関して要求される条件が厳しくない場合がある。このような特性から、リクエスト処理部122は、自動改札機で実行されるトランザクションに対応したリクエストを、他の駅務機器で実行されるトランザクションに対応したリクエストよりも優先して処理の対象としてもよい。 As mentioned above, station service equipment is not limited to automated ticket gates; it also includes ticket vending machines, fare adjustment machines, and counter processing machines, and the content of the processing performed differs. In particular, transactions performed by ticket vending machines, fare adjustment machines, and counter processing machines may not have stricter requirements regarding the time required for a series of processes to be completed than transactions performed by automated ticket gates. Due to these characteristics, the request processing unit 122 may prioritize requests corresponding to transactions performed by automated ticket gates over requests corresponding to transactions performed by other station service equipment.

(判定の結果)
リクエスト処理部122は、端末装置200からのリクエストに応じて実行される各種判定の結果に応じて、優先して処理の対象とするリクエスト(換言すると、優先してレスポンスを返送するリクエスト)を決定してもよい。
具体的な一例として、記録媒体へのチャージ金額が不足している場合には、結果として端末装置200(自動改札機)はエラーとして扉を閉じる処理を実行することとなる。このような場合には、例えば、タイムアウトにより端末装置200がエラーと認識したとしても、結果として同様に扉が閉じられることとなる。そのため、リクエスト処理部122は、端末装置200側においてタイムアウトが発生した場合と同様の処理が当該端末装置200において実行される結果が得られた場合には、対応するリクエストの優先度を、他のリクエストよりも低く設定してもよい。
(Results of the Judgment)
The request processing unit 122 may determine which requests should be given priority for processing (in other words, which requests should have a response returned with priority) depending on the results of various judgments performed in response to requests from the terminal device 200.
As a specific example, if the charge amount to the recording medium is insufficient, the terminal device 200 (automated ticket gate) will end up treating this as an error and closing the door. In such a case, even if the terminal device 200 recognizes this as an error due to a timeout, the door will still end up being closed. Therefore, if the request processing unit 122 obtains a result in which the same process as that in the case where a timeout occurs on the terminal device 200 side is executed on the terminal device 200, the priority of the corresponding request may be set lower than other requests.

(端末装置の種別)
リクエスト処理部122は、端末装置200の種別に応じて、優先して処理の対象とするリクエストを決定してもよい。
例えば、リクエスト処理部122は、各端末装置200のトランザクションの処理に係る性能に応じて、優先して処理の対象とするリクエストを決定してもよい。より具体的な一例として、トランザクションの処理に係る性能がより高い端末装置200からのリクエストが優先して処理されることで、その時々で未了により滞留するトランザクションの数がより少なくなるように制御することが可能である。
また、他の一例として、リクエスト処理部122は、各端末装置200がタイムアウトとして認識するまでの期間の違いに応じて、優先して処理の対象とするリクエストを決定してもよい。より具体的な一例として、タイムアウトまでの期間がより短い端末装置200からのリクエストがより優先して処理されることで、タイムアウトが発生する機会が減少するため、当該タイムアウトに伴いトランザクションが再実行される機会も比例して減少する。これにより、未了により滞留するトランザクションの数がより少なくなるように制御することが可能となる。
(Type of terminal device)
The request processing unit 122 may determine which requests are to be given priority for processing depending on the type of the terminal device 200 .
For example, the request processing unit 122 may determine which requests are to be given priority for processing depending on the transaction processing performance of each terminal device 200. As a more specific example, by giving priority to requests from terminal devices 200 with higher transaction processing performance, it is possible to control the number of pending transactions to be reduced at any given time.
As another example, the request processing unit 122 may determine which requests are to be given priority for processing depending on the difference in the period until each terminal device 200 recognizes a timeout. As a more specific example, by giving priority to processing requests from terminal devices 200 with a shorter period until the timeout, the number of opportunities for timeouts to occur decreases, and the number of opportunities for transactions to be re-executed due to the timeout also decreases proportionately. This makes it possible to control the number of transactions that are left uncompleted to be reduced.

(端末装置との間の通信の速度)
リクエスト処理部122は、端末装置200との間の通信の速度(すなわち、リクエストの伝送に係る通信の速度)に応じて、優先して処理の対象とするリクエストを決定してもよい。
具体的な一例として、通信の速度がより速い端末装置200からのリクエストが優先して処理されることで、その時々で未了により滞留するトランザクションの数がより少なくなるように制御することが可能である。
(Speed of communication between terminal devices)
The request processing unit 122 may determine which requests are to be given priority for processing depending on the speed of communication with the terminal device 200 (i.e., the speed of communication related to the transmission of the requests).
As a specific example, it is possible to control the number of pending transactions to be reduced by giving priority to requests from terminal devices 200 with faster communication speeds.

(端末装置の設置位置)
リクエスト処理部122は、端末装置200の設置位置(例えば、端末装置200の設置地域)に応じて、優先して処理の対象とするリクエストを決定してもよい。
具体的な一例として、利用者のより多い地域に設置された端末装置200からのリクエストが優先して処理されることで、その地域に設置された端末装置200について、タイムアウトに伴いトランザクションが再実行される頻度をより低減することが可能となる。これにより、情報処理装置100と上記地域に設置された端末装置200との間のネットワーク(伝送路)で送受信される情報の量の増加を抑制することが可能となり、ネットワークの輻輳が発生した場合でも、トランザクションを確実に実行させることが可能となる。
(Location of terminal equipment)
The request processing unit 122 may determine which requests are to be given priority for processing depending on the installation location of the terminal device 200 (for example, the area in which the terminal device 200 is installed).
As a specific example, by giving priority to processing requests from terminal devices 200 installed in areas with more users, it becomes possible to reduce the frequency with which transactions are re-executed due to timeouts for terminal devices 200 installed in those areas. This makes it possible to suppress an increase in the amount of information transmitted and received over the network (transmission path) between the information processing device 100 and the terminal devices 200 installed in the above-mentioned areas, and makes it possible to reliably execute transactions even when network congestion occurs.

(補足)
なお、上記はあくまで一例であり、必ずしも本実施形態に係る情報処理システム1の構成や処理を限定するものではない。例えば、どのような条件を適用すればより効率的にリクエストを処理可能となるかについては、ユースケースに応じて異なる場合がある。そのため、優先して処理するリクエストの決定に際し、どのような条件を適用するかについては、ユースケースに応じて適宜変更されてもよい。
具体的には、実施形態として上述したトランザクションの進行度に関する条件と、変形例として上記に例示した各条件のうちの1以上の条件と、の組み合わせに基づき、優先して処理するリクエストが決定されてもよい。また、実施形態として上述したトランザクションの進行度に関する条件に替えて、変形例として上記に例示した各条件のうちの1以上の条件が、優先して処理するリクエストの決定に適用されてもよい。また、優先して処理するリクエストの決定に際し、複数の条件が適用される場合には、いずれの条件をより優先するかについても適宜変更されてもよい。
(supplement)
Note that the above is merely an example, and does not necessarily limit the configuration or processing of the information processing system 1 according to the present embodiment. For example, what conditions should be applied to enable more efficient processing of requests may differ depending on the use case. Therefore, what conditions should be applied when determining which requests are to be preferentially processed may be changed as appropriate depending on the use case.
Specifically, a request to be preferentially processed may be determined based on a combination of the condition related to the transaction progress described above as an embodiment and one or more of the conditions exemplified above as a modified example. Also, instead of the condition related to the transaction progress described above as an embodiment, one or more of the conditions exemplified above as a modified example may be applied to determine a request to be preferentially processed. Also, when multiple conditions are applied when determining a request to be preferentially processed, the condition to be given priority may be appropriately changed.

<むすび>
以上説明したように、本実施形態に係る情報処理システムにおいて、情報処理装置100は、1以上の端末装置200それぞれからネットワークを介してリクエストを取得する。情報処理装置100は、上記端末装置200で実行されるトランザクションに関する上記リクエストのうち、より優先して処理の対象とするリクエストを、上記トランザクションの進行度に応じて決定する。
以上のような構成により、システム全体として、未了に伴い滞留するトランザクションの数をより低減することが可能となるため、当該トランザクションの実行に伴い送信されるリクエストの数もトランザクションの数に比例して低減することが可能となる。そのため、本実施形態に係る情報処理システム1に依れば、ネットワークの輻輳が発生した場合でも、トランザクションを確実に実行させる効果を期待することが可能となる。
<Conclusion>
As described above, in the information processing system according to this embodiment, the information processing device 100 acquires requests via the network from one or more terminal devices 200. The information processing device 100 determines which request is to be given higher priority for processing among the requests related to a transaction executed by the terminal device 200, depending on the progress of the transaction.
With the above configuration, it is possible to reduce the number of pending transactions in the system as a whole, and therefore the number of requests sent in association with the execution of those transactions can be reduced in proportion to the number of transactions. Therefore, with the information processing system 1 according to this embodiment, it is possible to expect the effect of ensuring that transactions are executed even when network congestion occurs.

なお、上述では、本開示に係る技術を、主に、端末装置として駅務機器を含む情報処理システム1(すなわち、駅務機器システム)に適用する場合の一例に着目して説明した。一方で、各端末装置で実行されるトランザクションの進行度の概念があるシステム(換言すると、1つのトランザクションとして時系列に沿って所定の処理が順次実行されるシステム)であれば、本開示に係る技術を適用することが可能である。特に、本開示に係る技術は、認証等のような各処理の起点となる処理(例えば、再実行に時に起点となる処理)が含まれる一連の処理が1つのトランザクションとして実行されるようなシステムとの親和性が高い。
また、本開示に係る技術は、上述したように未了に伴い滞留するトランザクションの数をより低減することで、当該トランザクションの実行に伴い送信されるリクエストの数をより低減する。このような特性から、本開示に係る技術は、特に、装置間の通信にUDP等のような輻輳制御を伴わないコネクションレス型のプロトコルを適用しているシステムとの親和性が高い。もちろん、コネクションレス型のプロトコルに限らず、他のプロトコルが使用される場合についても、本開示に係る技術を適用することで、トランザクションの実行に伴い送信されるリクエストの数をより低減する作用効果を奏することも可能である。
In the above, the technology according to the present disclosure has been described focusing mainly on an example of application to an information processing system 1 (i.e., a station service equipment system) including station service equipment as a terminal device. On the other hand, the technology according to the present disclosure can be applied to a system that has a concept of the progress of a transaction executed by each terminal device (in other words, a system in which predetermined processes are executed sequentially in a time series as one transaction). In particular, the technology according to the present disclosure has a high affinity with a system in which a series of processes including processes that are the starting point of each process such as authentication (for example, a process that is the starting point when re-executing) are executed as one transaction.
Furthermore, as described above, the technology disclosed herein reduces the number of pending transactions, thereby reducing the number of requests sent with the execution of the transactions. Due to these characteristics, the technology disclosed herein is particularly compatible with systems that use connectionless protocols that do not involve congestion control, such as UDP, for communication between devices. Of course, the technology disclosed herein can be applied to other protocols, not just connectionless protocols, and can also provide the effect of reducing the number of requests sent with the execution of transactions.

1 情報処理システム、100 情報処理装置、121 通信部、122 リクエスト処理部、123 処理実行部、124 記憶部、200 端末装置、221 読み書き処理部、222 通信部、223 検知部、224 ドア開閉部、225 案内部、226 処理実行部 1 Information processing system, 100 Information processing device, 121 Communication unit, 122 Request processing unit, 123 Processing execution unit, 124 Storage unit, 200 Terminal device, 221 Read/write processing unit, 222 Communication unit, 223 Detection unit, 224 Door opening/closing unit, 225 Guidance unit, 226 Processing execution unit

Claims (13)

1以上の駅務機器それぞれからネットワークを介して、コネクションレス型のプロトコルを使用して送信されるリクエストを取得する取得部と、
前記駅務機器で実行されるトランザクションに関する前記リクエストのうち、より優先して処理の対象とする前記リクエストを、前記トランザクションの進行度に応じて決定する決定部と、
を備え
前記トランザクションは、順次実行される複数の処理を含み、
前記決定部は、前記複数の処理のうち所定の処理が完了しているか否かに応じて、処理の対象とする前記リクエストを決定し、
前記所定の処理は、当該処理以降の他の処理でのエラーの発生に伴う再実行の起点となる処理である、
情報処理装置。
an acquisition unit that acquires requests transmitted from each of one or more station service devices via a network using a connectionless protocol ;
a determination unit that determines, among the requests related to the transaction executed by the station service equipment , a request to be processed with higher priority in accordance with a progress of the transaction;
Equipped with
The transaction includes a plurality of operations that are executed sequentially,
the determination unit determines the request to be processed depending on whether a predetermined process among the plurality of processes has been completed;
The predetermined process is a process that is a starting point for re-execution in response to an error occurring in another process subsequent to the predetermined process.
Information processing device.
前記決定部は、前記所定の処理が完了している前記トランザクションに関する前記リクエストの処理がより優先されるように、処理の対象とする前記リクエストを決定する、請求項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the determination unit determines the request to be processed such that processing of the request related to the transaction for which the predetermined processing has been completed is given a higher priority. 前記所定の処理は、当該処理よりも後の他の処理を実行するための認証に係る処理である、請求項1または2に記載の情報処理装置。 The information processing apparatus according to claim 1 , wherein the predetermined process is a process related to authentication for executing another process subsequent to the predetermined process. 前記決定部は、前記進行度がより進んでいる前記トランザクションに関する前記リクエストの処理がより優先されるように、処理の対象とする前記リクエストを決定する、請求項1~のいずれか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the determination unit determines the request to be processed such that processing of the request related to the transaction whose progress is more advanced is given higher priority. 前記決定部は、エラーに伴い少なくとも一部の処理が再実行された前記トランザクションに関する前記リクエストの処理がより優先されるように、処理の対象とする前記リクエストを決定する、請求項1~のいずれか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the determination unit determines the request to be processed such that processing of the request related to the transaction in which at least a portion of processing has been re-executed due to an error is given higher priority. 前記決定部は、前記トランザクションの種別に応じて、処理の対象とする前記リクエストを決定する、請求項1~のいずれか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the determination unit determines the request to be processed according to a type of the transaction. 前記決定部は、前記駅務機器の種別に応じて、処理の対象とする前記リクエストを決定する、請求項1~のいずれか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the determination unit determines the request to be processed according to a type of the station service equipment . 前記決定部は、前記リクエストの伝送に係る通信の速度に応じて、処理の対象とする前記リクエストを決定する、請求項1~のいずれか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the determination unit determines the request to be processed in accordance with a communication speed related to transmission of the request. 前記決定部は、前記駅務機器の設置位置に応じて、処理の対象とする前記リクエストを決定する、請求項1~のいずれか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the determination unit determines the request to be processed according to an installation position of the station service equipment . 前記駅務機器は、自動改札機であり、
前記トランザクションは、前記自動改札機の接客処理に係るトランザクションである、
請求項1~9のいずれか一項に記載の情報処理装置。
The station service equipment is an automatic ticket gate,
The transaction is a transaction related to a customer service process of the automated ticket gate.
The information processing device according to any one of claims 1 to 9 .
コンピュータが、
1以上の駅務機器それぞれからネットワークを介して、コネクションレス型のプロトコルを使用して送信されるリクエストを取得することと、
前記駅務機器で実行されるトランザクションに関する前記リクエストのうち、より優先して処理の対象とする前記リクエストを、前記トランザクションの進行度に応じて決定することと、
を含み、
前記トランザクションは、順次実行される複数の処理を含み、
前記複数の処理のうち所定の処理が完了しているか否かに応じて、処理の対象とする前記リクエストが決定され、
前記所定の処理は、当該処理以降の他の処理でのエラーの発生に伴う再実行の起点となる処理である、
情報処理方法。
The computer
receiving a request transmitted from each of one or more station equipment via a network using a connectionless protocol ;
determining a request to be processed with higher priority among the requests related to a transaction executed by the station service equipment in accordance with a progress of the transaction;
Including,
The transaction includes a plurality of operations that are executed sequentially,
determining the request to be processed depending on whether a predetermined process among the plurality of processes has been completed;
The predetermined process is a process that is a starting point for re-execution in response to an error occurring in another process subsequent to the predetermined process.
Information processing methods.
コンピュータに、
1以上の駅務機器それぞれからネットワークを介して、コネクションレス型のプロトコルを使用して送信されるリクエストを取得することと、
前記駅務機器で実行されるトランザクションに関する前記リクエストのうち、より優先して処理の対象とする前記リクエストを、前記トランザクションの進行度に応じて決定することと、
を実行させ
前記トランザクションは、順次実行される複数の処理を含み、
前記複数の処理のうち所定の処理が完了しているか否かに応じて、処理の対象とする前記リクエストが決定され、
前記所定の処理は、当該処理以降の他の処理でのエラーの発生に伴う再実行の起点となる処理である、
プログラム。
On the computer,
receiving a request transmitted from each of one or more station equipment via a network using a connectionless protocol ;
determining a request to be processed with higher priority among the requests related to a transaction executed by the station service equipment in accordance with a progress of the transaction;
Run the command ,
The transaction includes a plurality of operations that are executed sequentially,
determining the request to be processed depending on whether a predetermined process among the plurality of processes has been completed;
The predetermined process is a process that is a starting point for re-execution in response to an error occurring in another process subsequent to the predetermined process.
program.
1以上の駅務機器と、
情報処理装置と、
を含み、
前記情報処理装置は、
1以上の前記駅務機器それぞれからネットワークを介して、コネクションレス型のプロトコルを使用して送信されるリクエストを取得する取得部と、
前記駅務機器で実行されるトランザクションに関する前記リクエストのうち、より優先して処理の対象とする前記リクエストを、前記トランザクションの進行度に応じて決定する決定部と、
を備え
前記トランザクションは、順次実行される複数の処理を含み、
前記決定部は、前記複数の処理のうち所定の処理が完了しているか否かに応じて、処理の対象とする前記リクエストを決定し、
前記所定の処理は、当該処理以降の他の処理でのエラーの発生に伴う再実行の起点となる処理である、
情報処理システム。
One or more station service devices ;
An information processing device;
Including,
The information processing device includes:
an acquisition unit that acquires requests transmitted from each of the one or more station service devices via a network using a connectionless protocol ;
a determination unit that determines, among the requests related to the transaction executed by the station service equipment , a request to be processed with higher priority in accordance with a progress of the transaction;
Equipped with
The transaction includes a plurality of operations that are executed sequentially,
the determination unit determines the request to be processed depending on whether a predetermined process among the plurality of processes has been completed;
The predetermined process is a process that is a starting point for re-execution in response to an error occurring in another process subsequent to the predetermined process.
Information processing system.
JP2020169725A 2020-10-07 2020-10-07 Information processing device, information processing method, program, and information processing system Active JP7569192B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020169725A JP7569192B2 (en) 2020-10-07 2020-10-07 Information processing device, information processing method, program, and information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020169725A JP7569192B2 (en) 2020-10-07 2020-10-07 Information processing device, information processing method, program, and information processing system

Publications (2)

Publication Number Publication Date
JP2022061661A JP2022061661A (en) 2022-04-19
JP7569192B2 true JP7569192B2 (en) 2024-10-17

Family

ID=81210592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020169725A Active JP7569192B2 (en) 2020-10-07 2020-10-07 Information processing device, information processing method, program, and information processing system

Country Status (1)

Country Link
JP (1) JP7569192B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023151829A (en) 2022-04-01 2023-10-16 セイコーエプソン株式会社 recording device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005326913A (en) 2004-05-12 2005-11-24 Fujitsu Ltd Information processing system and optimization recovery method
JP2007233559A (en) 2006-02-28 2007-09-13 Nippon Telegr & Teleph Corp <Ntt> Execution control apparatus and method
JP2015018501A (en) 2013-07-12 2015-01-29 Jr東日本メカトロニクス株式会社 System, information processing method
JP2015118431A (en) 2013-12-17 2015-06-25 日本電気株式会社 Transaction processing system
JP2018046404A (en) 2016-09-14 2018-03-22 株式会社東芝 Relay device, relay system, relay program, and relay method
JP2018045442A (en) 2016-09-14 2018-03-22 株式会社東芝 Relay device, relay system, relay program, and relay method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2933005B2 (en) * 1996-04-05 1999-08-09 日本電気株式会社 Management information storage device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005326913A (en) 2004-05-12 2005-11-24 Fujitsu Ltd Information processing system and optimization recovery method
JP2007233559A (en) 2006-02-28 2007-09-13 Nippon Telegr & Teleph Corp <Ntt> Execution control apparatus and method
JP2015018501A (en) 2013-07-12 2015-01-29 Jr東日本メカトロニクス株式会社 System, information processing method
JP2015118431A (en) 2013-12-17 2015-06-25 日本電気株式会社 Transaction processing system
JP2018046404A (en) 2016-09-14 2018-03-22 株式会社東芝 Relay device, relay system, relay program, and relay method
JP2018045442A (en) 2016-09-14 2018-03-22 株式会社東芝 Relay device, relay system, relay program, and relay method

Also Published As

Publication number Publication date
JP2022061661A (en) 2022-04-19

Similar Documents

Publication Publication Date Title
US9280365B2 (en) Systems and methods for managing configuration data at disconnected remote devices
US20130041945A1 (en) Method and apparatus for managing an interactive network session
KR102340474B1 (en) System, method and computer program for data scrapping using script engine
US10635488B2 (en) System, method and computer program for data scraping using script engine
JP2026050378A (en) Verification device, verification system, and verification method
CN111191925A (en) Data processing method, device, equipment and storage medium
WO2014067425A1 (en) Processing method for failing to read data from non-contact ic card and device for implementing the method
JP7569192B2 (en) Information processing device, information processing method, program, and information processing system
US6865592B1 (en) Automatic transaction system
CN111582878A (en) A transaction risk prediction method, device and system
CN112261647A (en) ETC bidirectional encryption communication system and method based on Netty
RU2677384C1 (en) Way of automatic calculation of the included money in case of failures
US11500989B2 (en) Method of managing priority in the context of a secure element domain with multiple interfaces, electronic device and communication system
US20180298690A1 (en) Rotary gate
CN1286114C (en) Secure real time writing for volatile storage
TW202141397A (en) Caring trust system based on blockchain and method thereof
CN113556349A (en) A gateway authentication method and device, and electronic equipment
JP7556338B2 (en) Admission management device, admission management method, and computer program
EP4411618A1 (en) Off-line distributed transaction validation method
CN115543837B (en) Software testing method and device, electronic equipment and storage medium
EP4386536A1 (en) Data processing method and apparatus
US20150066604A1 (en) Fare payment method and apparatus thereof
JP7297533B2 (en) Station service equipment and control method for station service equipment
JP2026011342A (en) Automatic ticket gate system, automatic ticket gate, judgment server, automatic ticket gate method, and automatic ticket gate program
JP7582499B2 (en) Reception processing system, reception processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240709

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240904

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241004

R150 Certificate of patent or registration of utility model

Ref document number: 7569192

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150