JP5774417B2 - Reading apparatus, control method, and program - Google Patents

Reading apparatus, control method, and program Download PDF

Info

Publication number
JP5774417B2
JP5774417B2 JP2011189470A JP2011189470A JP5774417B2 JP 5774417 B2 JP5774417 B2 JP 5774417B2 JP 2011189470 A JP2011189470 A JP 2011189470A JP 2011189470 A JP2011189470 A JP 2011189470A JP 5774417 B2 JP5774417 B2 JP 5774417B2
Authority
JP
Japan
Prior art keywords
storage medium
identification information
medium
processing
storage
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.)
Expired - Fee Related
Application number
JP2011189470A
Other languages
Japanese (ja)
Other versions
JP2013050910A (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.)
JR East Mechatronics Co Ltd
Original Assignee
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 JR East Mechatronics Co Ltd filed Critical JR East Mechatronics Co Ltd
Priority to JP2011189470A priority Critical patent/JP5774417B2/en
Publication of JP2013050910A publication Critical patent/JP2013050910A/en
Application granted granted Critical
Publication of JP5774417B2 publication Critical patent/JP5774417B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、読書装置、制御方法、及びプログラムに関する。   The present invention relates to a reading device, a control method, and a program.

従来、RWは、非接触ICカードに対する処理(サービス)毎に、利用できない非接触ICカードを識別するサービスIDを含むリスト(ネガ情報など)を保持し、捕捉した非接触ICカードとの相互認証の際に取得した当該非接触ICカードのサービスIDと上記リストとにより、当該非接触ICカードの正当性を判断している。
また、上記リストが上位のサーバに設けられている場合、RWは、相互認証の際に取得した上記サービスIDをサーバに送信し、サーバで非接触ICカードの正当性が判断され、その結果をサーバから取得し、当該非接触ICカードの正当性を判断している。
Conventionally, the RW maintains a list (such as negative information) including a service ID for identifying a contactless IC card that cannot be used for each process (service) for the contactless IC card, and performs mutual authentication with the captured contactless IC card. The legitimacy of the non-contact IC card is determined based on the service ID of the non-contact IC card and the list acquired at the time.
In addition, when the above list is provided in a higher-level server, the RW transmits the service ID acquired at the time of mutual authentication to the server, and the server determines the validity of the contactless IC card. It is obtained from the server and the validity of the contactless IC card is determined.

特開2010−186450号公報JP 2010-186450 A

しかしながら、従来のRWでは、相互認証の後に非接触ICカード(記憶媒体の一例)の正当性が判断され、その結果に基づいて非接触ICカードに対する処理が実行されるので、非接触ICカードに対する処理を完了するまでに多くの時間を要している。   However, in the conventional RW, the validity of the non-contact IC card (an example of a storage medium) is determined after mutual authentication, and the process for the non-contact IC card is executed based on the result. It takes a lot of time to complete the process.

本発明はこのような問題点に鑑みなされたもので、記憶媒体に対する処理をより短時間で完了することを目的とする。   The present invention has been made in view of such a problem, and an object thereof is to complete the processing for a storage medium in a shorter time.

そこで、本発明に係る読書装置は、情報処理装置、及び記憶媒体と通信可能な読書装置であって、前記記憶媒体を捕捉し、前記記憶媒体を識別可能な媒体識別情報を前記記憶媒体から取得すると、前記媒体識別情報を前記情報処理装置に送信する送信手段と、前記記憶媒体との相互認証後に読み出される前記記憶媒体に対する処理を識別可能な処理識別情報を前記記憶媒体から受信し、媒体識別情報と利用可能な処理識別情報とが予め対応付けられた情報をもとに特定される前記送信手段で送信された前記媒体識別情報に対応付けられている処理識別情報を前記情報処理装置から受信する受信手段と、前記記憶媒体から受信した前記処理識別情報と前記情報処理装置から受信した前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行手段と、を有することを特徴とする。   Therefore, a reading apparatus according to the present invention is an information processing apparatus and a reading apparatus that can communicate with a storage medium, and captures the storage medium and acquires medium identification information that can identify the storage medium from the storage medium. Then, the transmission unit that transmits the medium identification information to the information processing apparatus and the process identification information that can identify the process for the storage medium read after mutual authentication with the storage medium are received from the storage medium, and the medium identification The process identification information associated with the medium identification information transmitted by the transmission means specified based on information associated with information and available process identification information in advance is received from the information processing apparatus. To the storage medium according to whether or not the processing identification information received from the storage medium matches the processing identification information received from the information processing apparatus. And having an execution unit for the processing to be executed, the.

また、本発明に係る読書装置は、記憶媒体と通信可能に接続され、前記記憶媒体を識別可能な媒体識別情報と前記記憶媒体に対する処理を識別可能な処理識別情報とが予め対応付けられて記憶された記憶部を有する読書装置であって、前記記憶媒体を捕捉し、前記記憶媒体の前記媒体識別情報を前記記憶媒体から取得する取得手段と、前記記憶媒体と相互認証を行って前記記憶媒体の前記処理識別情報を前記記憶媒体から受信する第1の処理と、前記取得手段で取得された前記媒体識別情報に対応付けられている利用可能な処理識別情報を前記記憶部から読み出す第2の処理とを並行して行う処理手段と、前記第1の処理で受信された前記処理識別情報と前記第2の処理で読み出された前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行手段と、を有することを特徴とする。   The reading apparatus according to the present invention is connected to a storage medium so as to be communicable, and medium identification information capable of identifying the storage medium and process identification information capable of identifying a process for the storage medium are stored in association with each other. A reading apparatus having a storage unit configured to acquire the storage medium and acquire the medium identification information of the storage medium from the storage medium, and perform mutual authentication with the storage medium to perform the storage medium A first process of receiving the process identification information from the storage medium, and a second process of reading available process identification information associated with the medium identification information acquired by the acquisition unit from the storage unit Processing means for performing processing in parallel, and whether or not the processing identification information received in the first processing matches the processing identification information read in the second processing Memory And having an execution unit for executing the processing for the body, the.

なお、本発明は、システム、記録媒体などとしてもよい。   Note that the present invention may be a system, a recording medium, or the like.

本発明によれば、記憶媒体に対する処理をより短時間で完了することができる。   According to the present invention, processing for a storage medium can be completed in a shorter time.

通信システムの構成の一例を示す図である。It is a figure which shows an example of a structure of a communication system. 通信システムのシーケンスの一例を示す図である。It is a figure which shows an example of the sequence of a communication system. 各装置のハードウェアの構成の一例を示す図である。It is a figure which shows an example of a hardware structure of each apparatus. 記憶装置に記憶されるデータの一例を示す図である。It is a figure which shows an example of the data memorize | stored in a memory | storage device. 各装置のモジュールの構成の一例を示す図である。It is a figure which shows an example of a structure of the module of each apparatus. RW実行処理に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on RW execution processing. 不正媒体検出処理に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on an unauthorized medium detection process. RW実行処理に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on RW execution processing. 通信システムのシーケンスの一例を示す図である。It is a figure which shows an example of the sequence of a communication system. RW実行処理に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on RW execution processing.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<第1の実施形態>
図1は、本実施形態に係る通信システムの構成の一例を示す図である。本通信システムは、サーバ100、RW(リーダライタ)200、及び媒体300を含んで構成される。サーバ100は、情報処理装置(コンピュータ)の一例である。RW200は、読書装置(コンピュータ)の一例である。媒体300は、記憶媒体(コンピュータ)の一例であり、接触ICカード、非接触ICカード、お財布機能を有する携帯電話、PDA機能を有する携帯電話、モバイル端末などである。なお、本実施形態では、媒体300としては、非接触ICカードを想定して説明するが、その他の記憶媒体であってもよい。
サーバ100及びRW200は、ネットワーク900を介して通信可能に接続される。なお、通信の形態については、有線、無線、有線および無線の混合など、特定の形態に限定されるものではない。また、RW200及び媒体300では、無線の通信が行われる。例えば、RW200からキャリアが送信されて電磁誘導により媒体300に電力が供給され、キャリアの変調によりRW200と媒体300間で通信が行われる。
<First Embodiment>
FIG. 1 is a diagram illustrating an example of a configuration of a communication system according to the present embodiment. The communication system includes a server 100, an RW (reader / writer) 200, and a medium 300. The server 100 is an example of an information processing apparatus (computer). The RW 200 is an example of a reading device (computer). The medium 300 is an example of a storage medium (computer), and is a contact IC card, a non-contact IC card, a mobile phone having a wallet function, a mobile phone having a PDA function, a mobile terminal, or the like. In the present embodiment, the medium 300 is described assuming a non-contact IC card, but other storage media may be used.
The server 100 and the RW 200 are communicably connected via the network 900. Note that the form of communication is not limited to a specific form such as wired, wireless, or a mixture of wired and wireless. In addition, the RW 200 and the medium 300 perform wireless communication. For example, a carrier is transmitted from the RW 200, power is supplied to the medium 300 by electromagnetic induction, and communication is performed between the RW 200 and the medium 300 by carrier modulation.

次に、本通信システムにおける通信制御について図2を用いて説明する。図2は、本通信システムのシーケンスの一例を示す図である。なお、図2では、上段に従来の通信システムの例を示し、下段に本通信システムの例を示す。
従来の通信システムでは、例えば、媒体915が価値を保持する形式の電子マネーで決済が行われる際、媒体915が利用可能な媒体であるかを判定するために、利用ができない媒体のリスト(利用ができない媒体に係るサービスに個別のサービスIDのリストであり、いわゆるネガ情報)が用いられて、媒体915が利用可能な媒体であることが確認されている(不正媒体検出処理)。
このネガ情報は、大量の情報であるので、RW910でネガ情報を保管する場合、大容量の記憶装置が必要となり、RW910の価格を高くする一因となる。
また、RW910で保持できるネガ情報の量には限度があるので、ある一定の期間使用されていない媒体は受け付けない等の仕組みが必要となる。このような仕組みでは、例えば、ある一定の期間使用されていない媒体については利用できなくなるので、物品の販売の機会の損失につながるおそれがある。
Next, communication control in this communication system will be described with reference to FIG. FIG. 2 is a diagram illustrating an example of a sequence of the communication system. In FIG. 2, an example of a conventional communication system is shown in the upper part, and an example of the communication system is shown in the lower part.
In a conventional communication system, for example, when payment is made with electronic money in a format in which the medium 915 holds value, a list of media that cannot be used (use of the medium 915 to determine whether the medium 915 can be used) It is a list of individual service IDs for services related to a medium that cannot be used, so-called negative information), and it is confirmed that the medium 915 is a usable medium (unauthorized medium detection processing).
Since this negative information is a large amount of information, when storing the negative information in the RW 910, a large-capacity storage device is required, which contributes to an increase in the price of the RW 910.
In addition, since there is a limit to the amount of negative information that can be held by the RW 910, a mechanism that does not accept media that has not been used for a certain period of time is required. In such a mechanism, for example, a medium that has not been used for a certain period of time cannot be used, which may lead to a loss of an opportunity to sell goods.

これらのことは、サーバ905にネガ情報を配置し、サーバ905で不正媒体検出処理を行うことで解決できる。より具体的には、従来の通信システムでは、媒体915から取得したサービスIDをサーバ905に照会し、オンラインで媒体915がネガ情報に該当しないことを確認し、決済が許可されている。
しかしながら、サーバ905との通信が発生する上、サービスIDについては媒体915との相互認証が終了するまで取得することができないので、決済の完了までの時間が長くなり、電子マネーの利便性が損なわれる問題がある。
These can be solved by placing negative information in the server 905 and performing an unauthorized medium detection process in the server 905. More specifically, in the conventional communication system, the service ID acquired from the medium 915 is referred to the server 905, and it is confirmed that the medium 915 does not correspond to the negative information online, and payment is permitted.
However, since communication with the server 905 occurs and the service ID cannot be acquired until the mutual authentication with the medium 915 is completed, the time until settlement is completed is increased, and the convenience of electronic money is impaired. There is a problem.

そこで、本実施形態では、不正媒体検出処理をサーバ100で行う構成(オンラインの環境)において、決済等のサービスの完了までの時間をより短縮する構成について説明する。
また、本実施形態の概要について説明すると、図2に示すように、従来の通信システムでは、シーケンシャルに処理が行われていたが、本通信システムでは、相互認証等の処理(SQ15)と不正媒体検出処理(SQ21)とが並行して行われる。即ち、本通信システムは、SQ15及びSQ21の処理を平行して行うことにより、決済等のサービスの完了までにT時間の短縮が可能となる。
Therefore, in the present embodiment, a description will be given of a configuration that further shortens the time until completion of services such as payment in a configuration (online environment) in which the unauthorized medium detection process is performed by the server 100.
Further, the outline of the present embodiment will be described. As shown in FIG. 2, in the conventional communication system, processing is performed sequentially, but in this communication system, processing such as mutual authentication (SQ15) and unauthorized media are performed. The detection process (SQ21) is performed in parallel. That is, this communication system can shorten the T time until the completion of services such as settlement by performing the processes of SQ15 and SQ21 in parallel.

より具体的には、まず、RW200は、媒体300を捕捉し、媒体300を識別可能なID(A)を媒体300に要求する(SQ5)。ID(A)は、媒体識別情報の一例であり、媒体300との通信の一連のシーケンスにおいて初期の段階で得られる媒体300に固有の識別子であり、製造番号などである。続いて、媒体300は、要求を受け取ると、ID(A)をRW200に送信する(SQ10)。
続いて、RW200は、ID(A)を受信すると、サーバ100にID(A)を送信すると共に、媒体300との相互認証等の処理を開始する(SQ15)。
また、サーバ100は、ID(A)を受信すると、不正媒体検出処理を行い、その結果をRW200に送信する(SQ21)。なお、不正媒体検出処理の詳細については後述する。
More specifically, first, the RW 200 captures the medium 300 and requests the medium 300 for an ID (A) that can identify the medium 300 (SQ5). ID (A) is an example of medium identification information, and is an identifier unique to the medium 300 obtained at an initial stage in a series of communication sequences with the medium 300, and is a manufacturing number or the like. Subsequently, when the medium 300 receives the request, the medium 300 transmits ID (A) to the RW 200 (SQ10).
Subsequently, when receiving the ID (A), the RW 200 transmits the ID (A) to the server 100 and starts processing such as mutual authentication with the medium 300 (SQ15).
In addition, when receiving the ID (A), the server 100 performs an unauthorized medium detection process and transmits the result to the RW 200 (SQ21). Details of the unauthorized medium detection process will be described later.

また、RW200は、媒体300に対する処理(サービス)を識別可能なID(B)を媒体300から受信し、不正媒体検出処理の結果をサーバ100から受信すると、受信した情報を用いて媒体300が利用できるかを確認する(SQ22)。ID(B)は、処理識別情報の一例であり、媒体300に係るサービスに個別の識別子であり、媒体300の鍵が秘密である環境においては偽装ができない識別子である。なお、ID(B)は、上述したサービスID(媒体300を識別可能であり、かつ媒体300に係るサービスを識別可能である識別子)に対応するものであってもよい。
即ち、RW200は、偽装され得るID(A)が用いられて不正媒体検出処理が行われる場合でも、偽装ができないID(B)を確認することにより、媒体300の正当性について正確に判断できる。
Further, when the RW 200 receives the ID (B) that can identify the process (service) for the medium 300 from the medium 300 and receives the result of the unauthorized medium detection process from the server 100, the medium 300 uses the received information. It is confirmed whether it is possible (SQ22). ID (B) is an example of processing identification information, is an individual identifier for the service related to the medium 300, and is an identifier that cannot be impersonated in an environment where the key of the medium 300 is secret. Note that the ID (B) may correspond to the above-described service ID (identifier that can identify the medium 300 and can identify the service related to the medium 300).
That is, the RW 200 can accurately determine the legitimacy of the medium 300 by confirming the ID (B) that cannot be camouflaged even when the ID (A) that can be camouflaged is used and the unauthorized medium detection process is performed.

また、RW200は、媒体300が利用できると判断した場合、媒体300に対する処理に必要となる情報(残高を示す金額情報など)の読み込み要求(カードコマンド)を生成し、読み込み要求を媒体300に送信する(SQ35)。媒体300は、読み込み要求を受信すると、指定された情報を規定の記憶領域から読み込み(読み出し)、読み込んだ情報をRW200に送信する(SQ40)。
また、RW200は、読み込まれた情報を受信すると、読み込まれた情報をもとに書き込み要求(カードコマンド)を生成し、書き込み要求を媒体300に送信する(SQ45)。媒体300は、書き込み要求を受信すると、指定された情報を規定の記憶領域に書き込み、その結果をRW200に送信する(SQ50)。
そして、RW200は、決済処理を完了(決済終了)する(SQ55)。なお、相互認証の方法については、公知の方法を用いることができるので、その詳細な説明については省略する。また、媒体300における読込処理、書込処理については、公知の技術を用いて行うことができるので、その詳細な説明については省略する。
When the RW 200 determines that the medium 300 can be used, the RW 200 generates a read request (card command) for information (such as money amount information indicating a balance) necessary for processing on the medium 300 and transmits the read request to the medium 300. (SQ35). Upon receiving the read request, the medium 300 reads (reads) the designated information from the specified storage area, and transmits the read information to the RW 200 (SQ40).
Further, when the RW 200 receives the read information, the RW 200 generates a write request (card command) based on the read information, and transmits the write request to the medium 300 (SQ45). When the medium 300 receives the write request, the medium 300 writes the specified information in the prescribed storage area and transmits the result to the RW 200 (SQ50).
Then, the RW 200 completes the payment process (payment ends) (SQ55). As a mutual authentication method, a publicly known method can be used, and a detailed description thereof will be omitted. In addition, the reading process and the writing process in the medium 300 can be performed using a known technique, and thus detailed description thereof is omitted.

次に、各装置のハードウェアの構成について図3を用いて説明する。図3は、各装置のハードウェアの構成の一例を示す図である。
図3(A)は、サーバ100のハードウェアの構成の一例を示す図である。サーバ100は、CPU(Central Processing Unit)110、ROM(Read Only Memory)120、RAM(Random Access Memory)130、HDD(Hard disk drive)140、入出力デバイス150、及びI/F(interface)160を含んで構成される。
Next, the hardware configuration of each apparatus will be described with reference to FIG. FIG. 3 is a diagram illustrating an example of a hardware configuration of each apparatus.
FIG. 3A is a diagram illustrating an example of a hardware configuration of the server 100. The server 100 includes a central processing unit (CPU) 110, a read only memory (ROM) 120, a random access memory (RAM) 130, a hard disk drive (HDD) 140, an input / output device 150, and an interface (I / F) 160. Consists of including.

CPU110は、サーバ100全体の制御を司る。例えば、CPU110は、ROM120に記憶されている各種のプログラム等を実行し、後述するサーバ100の機能、フローチャートに係る処理を実現する。
ROM120は、各種のプログラム、各種の処理の際に使用するデータ等の各種のデータを記憶する。なお、ROM120は、各種のデータを記憶する記憶装置の一例である。RAM130は、CPU110の主メモリ、ワークエリア等として機能する。なお、RAM130は、各種のデータを一時的に記憶する一時記憶装置の一例である。
HDD140は、大容量の記憶領域を有する外部記憶装置の一例である。入出力デバイス150は、ディスプレイ、マウス、キーボードなどを含んで構成され、例えばマウス、キーボードなどのユーザによる操作(ユーザ操作)に応答して、データを入力或いは出力する。I/F160は、有線又は無線の通信を行うための通信インタフェースであり、例えば、LANケーブル等の各種のケーブルを介してネットワーク900に接続する。
The CPU 110 controls the entire server 100. For example, the CPU 110 executes various programs stored in the ROM 120, and realizes the functions of the server 100, which will be described later, and processing according to a flowchart.
The ROM 120 stores various data such as various programs and data used in various processes. The ROM 120 is an example of a storage device that stores various data. The RAM 130 functions as a main memory and work area for the CPU 110. The RAM 130 is an example of a temporary storage device that temporarily stores various data.
The HDD 140 is an example of an external storage device having a large capacity storage area. The input / output device 150 includes a display, a mouse, a keyboard, and the like, and inputs or outputs data in response to an operation (user operation) by a user such as a mouse or a keyboard. The I / F 160 is a communication interface for performing wired or wireless communication, and is connected to the network 900 via various cables such as a LAN cable, for example.

図3(B)は、RW200のハードウェアの構成の一例を示す図である。RW200は、CPU210、ROM220、RAM230、RF(Radio Frequency)回路240、ANT(antenna)250、及びI/F260を含んで構成される。
CPU210は、RW200全体の制御を司る。例えば、CPU210は、ROM220に記憶されている各種のプログラム等を実行し、後述するRW200の機能、フローチャートに係る処理を実現する。
FIG. 3B is a diagram illustrating an example of a hardware configuration of the RW 200. The RW 200 includes a CPU 210, a ROM 220, a RAM 230, an RF (Radio Frequency) circuit 240, an ANT (antenna) 250, and an I / F 260.
The CPU 210 controls the entire RW 200. For example, the CPU 210 executes various programs stored in the ROM 220 and realizes the functions and flowcharts of the RW 200 described later.

ROM220は、各種のプログラム、各種の処理の際に使用するデータ等の各種のデータを記憶する。ROM220は、電気的にデータの書き込み、データの消去が可能なメモリであり、EEPROM(Electrically Erasable and Programmable Read Only Memory)などである。なお、ROM220は、各種のデータを記憶する記憶装置の一例である。RAM230は、CPU210の主メモリ、ワークエリア等として機能する。なお、RAM230は、各種のデータを一時的に記憶する一時記憶装置の一例である。
RF回路240は、ANT250と高周波信号のやりとりを行うと共に、電力の供給と、データの変調および復調とを行う。ANT250は、高周波信号(高周波エネルギー)を電波(電磁波)として空間に放射(送信)する。また、ANT250は、空間の電波(電磁波)を高周波信号(高周波エネルギー)に変換(受信)する。I/F260は、有線又は無線の通信を行うための通信インタフェースであり、例えば、各種のケーブルを介してネットワーク900に接続する。
本実施形態は、上述の構成に限られるものではない。例えば、RW200は、各種の情報を入出力可能なタッチパネル式のディスプレイ等を有していてもよい。また、例えば、RW200は、上記タッチパネル形式のディスプレイとI/F260を介して通信可能に接続されていてもよい。
The ROM 220 stores various data such as various programs and data used in various processes. The ROM 220 is a memory in which data can be electrically written and erased, such as an EEPROM (Electrically Erasable and Programmable Read Only Memory). The ROM 220 is an example of a storage device that stores various data. The RAM 230 functions as a main memory and work area for the CPU 210. The RAM 230 is an example of a temporary storage device that temporarily stores various data.
The RF circuit 240 exchanges high-frequency signals with the ANT 250, supplies power, and modulates and demodulates data. The ANT 250 radiates (transmits) a high-frequency signal (high-frequency energy) to space as a radio wave (electromagnetic wave). The ANT 250 converts (receives) a radio wave (electromagnetic wave) in space into a high frequency signal (high frequency energy). The I / F 260 is a communication interface for performing wired or wireless communication. For example, the I / F 260 is connected to the network 900 via various cables.
The present embodiment is not limited to the above-described configuration. For example, the RW 200 may include a touch panel display that can input and output various types of information. Further, for example, the RW 200 may be connected to the touch panel type display via the I / F 260 so as to be communicable.

図3(C)は、媒体300のハードウェアの構成の一例を示す図である。媒体300は、CPU310、ROM320、RAM330、RF回路340、及びANT350を含んで構成される。
CPU210は、媒体300全体の制御を司る。例えば、CPU310は、ROM320に記憶されている各種のプログラム等を実行し、後述する媒体300の機能を実現する。
FIG. 3C is a diagram illustrating an example of a hardware configuration of the medium 300. The medium 300 includes a CPU 310, a ROM 320, a RAM 330, an RF circuit 340, and an ANT 350.
The CPU 210 controls the entire medium 300. For example, the CPU 310 executes various programs stored in the ROM 320 and realizes the functions of the medium 300 described later.

ROM320は、各種のプログラム、各種の処理の際に使用するデータ等の各種のデータを記憶する。なお、ROM320は、各種のデータを記憶する記憶装置の一例である。RAM330は、CPU310の主メモリ、ワークエリア等として機能する。なお、RAM330は、各種のデータを一時的に記憶する一時記憶装置の一例である。
RF回路340は、ANT350と高周波信号のやりとりを行うと共に、電力の供給と、データの変調および復調とを行う。ANT350は、高周波信号(高周波エネルギー)を電波(電磁波)として空間に放射(送信)する。また、ANT350は、空間の電波(電磁波)を高周波信号(高周波エネルギー)に変換(受信)する。
The ROM 320 stores various data such as various programs and data used in various processes. The ROM 320 is an example of a storage device that stores various data. The RAM 330 functions as a main memory and work area for the CPU 310. The RAM 330 is an example of a temporary storage device that temporarily stores various data.
The RF circuit 340 exchanges high-frequency signals with the ANT 350, supplies power, and modulates and demodulates data. The ANT 350 emits (transmits) a high-frequency signal (high-frequency energy) to space as a radio wave (electromagnetic wave). The ANT 350 converts (receives) a radio wave (electromagnetic wave) in space into a high frequency signal (high frequency energy).

次に、サーバ100に記憶されるデータについて説明する。図4は、HDD140に記憶されるデータ(テーブル)の一例を示す図である。不正媒体検出処理では、図4(A)に示すテーブル410、或いは図4(B)及び図4(C)に示すテーブル420、430が用いられる。なお、不正媒体検出処理におけるテーブルの使用例については後述する。
テーブル410には、ID(A)とID(B)とID(B)が利用可能であるか否かを示す情報とが対応付けられて記憶されている。また、テーブル420には、利用不可のID(A)が記憶されている。なお、テーブル420は、上述したネガ情報に対応するものである。また、テーブル430には、ID(A)と利用可能なID(B)とが対応付けられて記憶されている。
Next, data stored in the server 100 will be described. FIG. 4 is a diagram illustrating an example of data (table) stored in the HDD 140. In the unauthorized medium detection process, the table 410 shown in FIG. 4A or the tables 420 and 430 shown in FIGS. 4B and 4C are used. An example of using the table in the unauthorized medium detection process will be described later.
In table 410, ID (A), ID (B), and information indicating whether ID (B) is available are stored in association with each other. The table 420 stores an unusable ID (A). The table 420 corresponds to the negative information described above. In the table 430, ID (A) and usable ID (B) are stored in association with each other.

次に、各装置のモジュールの構成について図5を用いて説明する。図5は、各装置のモジュールの構成の一例を示す図である。各モジュールの機能は、各装置の各CPUにより各プログラムが実行されることにより実現される。ただし、各モジュールの機能の一部又は全部については、専用のハードウェアにより実現されてもよい。
図5(A)は、サーバ100のモジュールの構成の一例を示す図である。サーバ100は、制御部170、記憶部180、及び通信部190を有する。
制御部170は、記憶部180、及び通信部190を制御し、サーバ100全体を制御する。記憶部180は、制御部170からの指示に基づいてRAM130、HDD140等の記憶装置のデータ、例えばHDD140に設けられている各種のテーブルのデータについての読み出し、書き込み等を行う。通信部190は、制御部170からの指示に基づいてI/F160を介してRW200と通信を行う。例えば、通信部190は、制御部170の制御のもと各種のコマンドをI/F160を介してRW200に送信する。
Next, the module configuration of each apparatus will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of a module configuration of each apparatus. The function of each module is realized by each program being executed by each CPU of each device. However, some or all of the functions of each module may be realized by dedicated hardware.
FIG. 5A is a diagram illustrating an example of a module configuration of the server 100. The server 100 includes a control unit 170, a storage unit 180, and a communication unit 190.
The control unit 170 controls the storage unit 180 and the communication unit 190 to control the entire server 100. Based on an instruction from the control unit 170, the storage unit 180 reads and writes data of storage devices such as the RAM 130 and the HDD 140, for example, data of various tables provided in the HDD 140. The communication unit 190 communicates with the RW 200 via the I / F 160 based on an instruction from the control unit 170. For example, the communication unit 190 transmits various commands to the RW 200 via the I / F 160 under the control of the control unit 170.

図5(B)は、RW200のモジュールの構成の一例を示す図である。RW200は、制御部270、記憶部280、及び通信部290を有する。
制御部270は、記憶部280及び通信部290を制御し、RW200全体を制御する。記憶部280は、制御部270からの指示に基づいてROM220、RAM230等の記憶装置のデータについての読み出し、書き込み等を行う。例えば、記憶部280は、制御部270の制御のもとROM220内のデータを取得する。
通信部290は、制御部270からの指示に基づいてI/F260を介してサーバ100と通信を行う。例えば、通信部290は、I/F260を介して、サーバ100からの各種のコマンドを受信し、制御部270に通知する。また、通信部290は、制御部270からの指示に基づいてRF回路240及びANT250を介して媒体300と通信を行う。例えば、通信部290は、RF回路240及びANT250を介して、制御部270の制御のもとカードコマンドを媒体300に送信する。
FIG. 5B is a diagram illustrating an example of a module configuration of the RW 200. The RW 200 includes a control unit 270, a storage unit 280, and a communication unit 290.
The control unit 270 controls the storage unit 280 and the communication unit 290 to control the RW 200 as a whole. The storage unit 280 reads, writes, and the like with respect to data in a storage device such as the ROM 220 and the RAM 230 based on an instruction from the control unit 270. For example, the storage unit 280 acquires data in the ROM 220 under the control of the control unit 270.
The communication unit 290 communicates with the server 100 via the I / F 260 based on an instruction from the control unit 270. For example, the communication unit 290 receives various commands from the server 100 via the I / F 260 and notifies the control unit 270 of the various commands. Further, the communication unit 290 communicates with the medium 300 via the RF circuit 240 and the ANT 250 based on an instruction from the control unit 270. For example, the communication unit 290 transmits a card command to the medium 300 under the control of the control unit 270 via the RF circuit 240 and the ANT 250.

図5(C)は、媒体300のモジュールの構成の一例を示す図である。媒体300は、制御部370、記憶部380、及び通信部390を有する。
制御部370は、記憶部380及び通信部390を制御し、媒体300全体を制御する。記憶部380は、制御部370からの指示に基づいてROM320、RAM330等の記憶装置のデータについての読み出し、書き込み等を行う。
通信部390は、制御部370からの指示に基づいてRF回路340及びANT350を介してRW200と通信を行う。例えば、通信部390は、制御部370の制御のもとカードコマンドに対する処理を行い、処理の結果など(カードコマンドへの応答)を、RF回路340及びANT350を介してRW200に送信する。
FIG. 5C is a diagram illustrating an example of the module configuration of the medium 300. The medium 300 includes a control unit 370, a storage unit 380, and a communication unit 390.
The control unit 370 controls the storage unit 380 and the communication unit 390, and controls the entire medium 300. The storage unit 380 performs reading, writing, and the like of data in storage devices such as the ROM 320 and the RAM 330 based on instructions from the control unit 370.
The communication unit 390 communicates with the RW 200 via the RF circuit 340 and the ANT 350 based on an instruction from the control unit 370. For example, the communication unit 390 performs processing on the card command under the control of the control unit 370, and transmits the processing result (response to the card command) to the RW 200 via the RF circuit 340 and the ANT 350.

次に、RW200が実行する処理(RW実行処理)について図6を用いて説明する。図6は、RW実行処理に係るフローチャートの一例を示す図である。
まず、制御部270は、媒体300を捕捉し(S5)、媒体300からID(A)を取得する。続いて、制御部270は、取得したID(A)をサーバ100に送信する(S10)。続いて、制御部270は、媒体300との相互認証を行う(S15)。なお、相互認証が行われると、媒体300は、RW200にID(B)を送信し、RW200は、ID(B)を受信する。
続いて、制御部270は、不正媒体検出処理の結果をサーバ100から受信したか否かを判断する(S20)。このとき、制御部270は、受信したと判断した場合、S25に処理を移し、他方、受信していないと判断した場合、S20に処理を移す。
Next, processing (RW execution processing) executed by the RW 200 will be described with reference to FIG. FIG. 6 is a diagram illustrating an example of a flowchart according to the RW execution process.
First, the control unit 270 captures the medium 300 (S5) and acquires the ID (A) from the medium 300. Subsequently, the control unit 270 transmits the acquired ID (A) to the server 100 (S10). Subsequently, the control unit 270 performs mutual authentication with the medium 300 (S15). When mutual authentication is performed, the medium 300 transmits the ID (B) to the RW 200, and the RW 200 receives the ID (B).
Subsequently, the control unit 270 determines whether or not the result of the unauthorized medium detection process has been received from the server 100 (S20). At this time, if the control unit 270 determines that it has been received, it moves the process to S25, and if it determines that it has not been received, it moves the process to S20.

S25では、サーバ100から送信された不正媒体検出処理の結果に媒体300から送信されたID(B)が含まれているか否か、より具体的にはサーバ100から送信されたID(B)と媒体300から送信されたID(B)とが等しいか否か(一致するか否か)を判断する。このとき、等しいと判断した場合、S30に処理を移し、他方、等しくないと判断した場合、処理を終了する。
S30では、制御部270は、媒体300に対する読込(SQ35)、書込(SQ45)などの媒体処理を行い、処理を終了する。
In S25, whether or not the ID (B) transmitted from the medium 300 is included in the result of the unauthorized medium detection process transmitted from the server 100, more specifically, the ID (B) transmitted from the server 100 and It is determined whether or not the ID (B) transmitted from the medium 300 is equal (whether or not they match). At this time, if it is determined that they are equal, the process proceeds to S30. On the other hand, if it is determined that they are not equal, the process ends.
In S30, the control unit 270 performs medium processing such as reading (SQ35) and writing (SQ45) on the medium 300, and ends the processing.

次に、サーバ100が実行する不正媒体検出処理について図7を用いて説明する。図7は、不正媒体検出処理に係るフローチャートの一例を示す図である。
まず、制御部170は、ID(A)をRW200から受信したか否かを判断する(S105)。このとき、制御部170は、ID(A)を受信したと判断した場合、S110に処理を移し、他方、ID(A)を受信していないと判断した場合、S105に処理を移す。
S110では、制御部170は、利用可能なID(B)をHDD140から読み出す。より具体的には、制御部170は、ID(A)に対応付けられている利用可能なID(B)をテーブル410から読み出す。なお、制御部170は、ID(B)が利用可能であるか否かは、当該ID(A)及びID(B)に対応付けられている有効/無効を示す情報により判断する。
Next, the unauthorized medium detection process executed by the server 100 will be described with reference to FIG. FIG. 7 is a diagram illustrating an example of a flowchart relating to the unauthorized medium detection process.
First, the control unit 170 determines whether or not the ID (A) is received from the RW 200 (S105). At this time, when it is determined that the ID (A) has been received, the control unit 170 proceeds to S110, and when it is determined that the ID (A) has not been received, the control unit 170 proceeds to S105.
In S <b> 110, the control unit 170 reads an available ID (B) from the HDD 140. More specifically, the control unit 170 reads an available ID (B) associated with the ID (A) from the table 410. Note that the control unit 170 determines whether or not the ID (B) is usable from information indicating validity / invalidity associated with the ID (A) and the ID (B).

ここで、本実施形態は、上述の構成に限られるものではない。例えば、テーブル420及びテーブル430を用いて利用可能なID(B)を読み出す構成を採用してもよい。
より詳細に説明すると、制御部170は、まず、ID(A)がテーブル420に格納されているか否かを判断する。ここで、テーブル420は、ネガ情報に対応するものであるので、ID(A)がテーブル420に格納されているということは、媒体300が不正な媒体である(利用が制限されている)ことを意味し、他方、ID(A)がテーブル420に格納されていないということは、媒体300が不正な媒体でない(利用が許可されている)ことを意味する。
また、制御部170は、ID(A)がテーブル420に格納されていないと判断した場合、ID(A)に対応付けられているID(B)をテーブル430から読み出す。この構成でも、利用可能なID(B)を読み出すことができる。
Here, the present embodiment is not limited to the above-described configuration. For example, a configuration of reading available ID (B) using the table 420 and the table 430 may be adopted.
More specifically, the controller 170 first determines whether or not the ID (A) is stored in the table 420. Here, since the table 420 corresponds to negative information, the fact that the ID (A) is stored in the table 420 means that the medium 300 is an unauthorized medium (use is restricted). On the other hand, the fact that the ID (A) is not stored in the table 420 means that the medium 300 is not an unauthorized medium (use is permitted).
Further, when the control unit 170 determines that the ID (A) is not stored in the table 420, the control unit 170 reads the ID (B) associated with the ID (A) from the table 430. Even in this configuration, the available ID (B) can be read.

また、例えば、テーブル430のみを用いて利用可能なID(B)を読み出す構成を採用してもよい。なお、テーブル430では、ID(A)と利用可能なID(B)とが対応付けられているので、テーブル430は、いわゆるポジ情報に対応するものである。
より詳細に説明すると、制御部170は、まず、RW200より受信したID(A)がテーブル430に格納されているか否かを判断する。ここで、ID(A)がテーブル430に格納されているということは、媒体300が不正な媒体でないことを意味し、他方、ID(A)がテーブル430に格納されていないということは、媒体300が不正な媒体であることを意味する。
そして、制御部170は、ID(A)がテーブル430に格納されていると判断した場合、ID(A)に対応付けられているID(B)をテーブル430から読み出す。この構成でも、利用可能なID(B)を読み出すことができる。
In addition, for example, a configuration of reading available ID (B) using only the table 430 may be employed. In the table 430, the ID (A) and the available ID (B) are associated with each other, so the table 430 corresponds to so-called positive information.
More specifically, the control unit 170 first determines whether or not the ID (A) received from the RW 200 is stored in the table 430. Here, the fact that ID (A) is stored in the table 430 means that the medium 300 is not an unauthorized medium, while the fact that ID (A) is not stored in the table 430 means that the medium is not a medium. 300 means an unauthorized medium.
If the control unit 170 determines that the ID (A) is stored in the table 430, the control unit 170 reads the ID (B) associated with the ID (A) from the table 430. Even in this configuration, the available ID (B) can be read.

また、例えば、制御部170は、ID(A)とID(B)とが対応付けられたテーブルから、RW200から送信されたID(A)に対応するID(B)を読み出し、読み出したID(B)が、利用不可であるID(B)のみを記憶したテーブルに存在するか否かを確認する構成を採用してもよい。この構成でも、利用可能なID(B)を読み出すことができる。
付言するならば、上述した構成以外の構成を排除するものではない。
Further, for example, the control unit 170 reads the ID (B) corresponding to the ID (A) transmitted from the RW 200 from the table in which the ID (A) and the ID (B) are associated with each other, and reads the ID ( A configuration may be adopted in which it is confirmed whether or not B) exists in a table storing only ID (B) that cannot be used. Even in this configuration, the available ID (B) can be read.
In other words, configurations other than those described above are not excluded.

続いて、制御部170は、利用可能なID(B)を読み出すことができたか否かを判断する(S115)。このとき、制御部170は、読み出すことができたと判断した場合、S120に処理を移し、他方、読み出すことができなかったと判断した場合、S125に処理を移す。
S120では、制御部170は、不正媒体検出処理の結果として、読み出したID(B)をRW200に送信する。S125では、制御部170は、不正媒体検出処理の結果として、エラーをRW200に送信する。
Subsequently, the control unit 170 determines whether or not an available ID (B) has been read (S115). At this time, if the controller 170 determines that the data could be read, the process proceeds to S120. If the controller 170 determines that the data could not be read, the process proceeds to S125.
In S120, the control unit 170 transmits the read ID (B) to the RW 200 as a result of the unauthorized medium detection process. In S125, the control unit 170 transmits an error to the RW 200 as a result of the unauthorized medium detection process.

また、本実施形態は、上述した構成に限られるものではない。例えば、RW200は、媒体300との相互認証後にID(B)を取得すると、取得したID(B)をサーバ100に送信し、サーバ100は、受信したID(B)と読み出したID(B)とから媒体300が不正な媒体であるか否かを判断し、その判断の結果をRW200に送信する構成としてもよい。
このように、本実施形態によれば、RW200及び媒体300の相互認証と不正媒体検出処理とが並行して実行されるので、決済等のサービスに要する時間を短縮することができる。
また、不正媒体検出処理で用いる大量の情報をRW200で保持する必要がないので、安価なRW200を提供することができる。また、不正媒体検出処理で用いる大量の情報をリソースが豊富なサーバ100に設けることで、媒体300の利用期間の制限を撤廃できる。
Further, the present embodiment is not limited to the configuration described above. For example, when the RW 200 acquires the ID (B) after mutual authentication with the medium 300, the RW 200 transmits the acquired ID (B) to the server 100, and the server 100 reads the received ID (B) and the read ID (B). From this, it may be determined whether the medium 300 is an unauthorized medium and the result of the determination is transmitted to the RW 200.
As described above, according to the present embodiment, the mutual authentication of the RW 200 and the medium 300 and the unauthorized medium detection process are executed in parallel, so that the time required for services such as settlement can be reduced.
Further, since it is not necessary to store a large amount of information used in the unauthorized medium detection process in the RW 200, it is possible to provide an inexpensive RW 200. In addition, by providing a large amount of information used in the unauthorized medium detection processing in the server 100 with abundant resources, it is possible to remove the restriction on the usage period of the medium 300.

<第2の実施形態>
本実施形態では、第1の実施形態に比して、決済等のサービスに要する時間をより短縮する構成について図8を用いて説明する。なお、本実施形態では、第1の実施形態の構成と同一の構成については同一の符号を用いて、その説明を適宜省略する。
図8は、RW実行処理に係るフローチャートの一例を示す図である。ここでは、S150、S155の処理について主に説明する。
制御部270は、S15において相互認証を行うと、続いてS150においてカードコマンドを生成する。より具体的には、制御部270は、媒体300から受信したID(B)を用いて、決済に係る情報を媒体300から読み込み、決済結果を書き込むためのカードコマンド(ライトコマンド)を生成する。即ち、制御部270は、サーバ100からの不正媒体検出処理による結果を受け取るまでの時間に、書込処理を指示する直前までの処理(媒体300からの残高の読み込み等)を行っている。
<Second Embodiment>
In the present embodiment, a configuration for further shortening the time required for services such as settlement will be described with reference to FIG. 8 as compared to the first embodiment. In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted as appropriate.
FIG. 8 is a diagram illustrating an example of a flowchart according to the RW execution process. Here, the processes of S150 and S155 will be mainly described.
When the mutual authentication is performed in S15, the control unit 270 subsequently generates a card command in S150. More specifically, the control unit 270 uses the ID (B) received from the medium 300 to read information related to payment from the medium 300 and generate a card command (write command) for writing the payment result. That is, the control unit 270 performs processing (reading of a balance from the medium 300, etc.) until just before the write processing is instructed during the time until the result of the unauthorized medium detection processing from the server 100 is received.

また、制御部270は、S25においてサーバ100からのID(B)と媒体300からのID(B)とが等しいと判断した場合、S155の処理を行う。S155では、制御部270は、生成したカードコマンドを媒体300に送信する。
本実施形態によれば、媒体処理のうちライトコマンドを送信する処理以外の処理が不正媒体検出処理の結果を待っている間に行われるので、決済等のサービスに要する時間を更に短縮することができる。
If the control unit 270 determines in step S25 that the ID (B) from the server 100 is equal to the ID (B) from the medium 300, the control unit 270 performs the process in step S155. In S155, the control unit 270 transmits the generated card command to the medium 300.
According to the present embodiment, since processing other than the processing for transmitting a write command in the media processing is performed while waiting for the result of the unauthorized media detection processing, the time required for services such as settlement can be further reduced. it can.

<第3の実施形態>
本実施形態では、不正媒体検出処理をRW200で行う構成について図9及び図10を用いて説明する。なお、本実施形態では、第1の実施形態の構成と同一の構成については同一の符号を用いて、その説明を適宜省略する。
まず、図9を用いて本実施形態に係る通信システムのシーケンスについて説明する。図9は、本通信システムのシーケンスの一例を示す図である。なお、図9では、上段に従来の例を示し、下段に本通信システムの例を示す。
図9に示すように、従来の通信システムでは、シーケンシャルに処理が行われていたが、本通信システムでは、相互認証等の処理(SQ15)と不正媒体検出処理(SQ21)とが並行して行われる。即ち、本通信システムは、これらの処理を平行して行うことにより、決済等のサービスの完了までにU時間の短縮が可能となる。
<Third Embodiment>
In the present embodiment, a configuration for performing unauthorized medium detection processing by the RW 200 will be described with reference to FIGS. 9 and 10. In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted as appropriate.
First, the sequence of the communication system according to the present embodiment will be described with reference to FIG. FIG. 9 is a diagram illustrating an example of a sequence of the communication system. In FIG. 9, a conventional example is shown in the upper part, and an example of the communication system is shown in the lower part.
As shown in FIG. 9, in the conventional communication system, processing is performed sequentially, but in this communication system, processing such as mutual authentication (SQ15) and unauthorized medium detection processing (SQ21) are performed in parallel. Is called. That is, this communication system performs these processes in parallel, so that it is possible to reduce U time until completion of services such as payment.

次に、RW200が実行する処理(RW実行処理)について図10を用いて説明する。図10は、RW実行処理に係るフローチャートの一例を示す図である。
まず、制御部270は、媒体300を捕捉し(S205)、媒体300からID(A)を取得する。続いて、制御部270は、第1のスレッド(第1の処理の一例)にて媒体300との相互認証を行う(S210)。
また、この際、制御部270は、第1のスレッドとは異なる第2のスレッド(第2の処理の一例)にID(A)を送信(通知)し、第2のスレッドにて利用可能なID(B)をテーブル410から読み出す。ここで、テーブル410は、RW200のROM220に記憶されている。なお、利用可能なID(B)の読み出し方法については、第1の実施形態と同様であるので、その詳細については説明を省略する。
Next, processing (RW execution processing) executed by the RW 200 will be described with reference to FIG. FIG. 10 is a diagram illustrating an example of a flowchart according to the RW execution process.
First, the control unit 270 captures the medium 300 (S205) and acquires the ID (A) from the medium 300. Subsequently, the control unit 270 performs mutual authentication with the medium 300 using the first thread (an example of the first process) (S210).
At this time, the control unit 270 transmits (notifies) the ID (A) to a second thread (an example of second processing) different from the first thread, and can be used by the second thread. ID (B) is read from the table 410. Here, the table 410 is stored in the ROM 220 of the RW 200. Note that the usable ID (B) reading method is the same as that in the first embodiment, and therefore, detailed description thereof is omitted.

続いて、制御部270は、利用可能なID(B)を読み出すことができたか否かを判断する(S220)。このとき、制御部270は、読み出すことができたと判断した場合、S225に処理を移し、他方、読み出すことができなかったと判断した場合、S245に処理を移す。
S225では、制御部270は、不正媒体検出処理の結果として、読み出したID(B)を第1のスレッドに送信(通知)する。また、S245では、制御部270は、不正媒体検出処理の結果として、エラーを第1のスレッドに送信する。
続いて、制御部270は、不正媒体検出処理の結果を受信したか否かを判断する(S230)。このとき、制御部270は、受信したと判断した場合、S235に処理を移し、他方、受信していないと判断した場合、S230に処理を移す。
S235では、制御部270は、読み出したID(B)と媒体300から受信したID(B)とが等しいか否かを判断する。このとき、等しいと判断した場合、S240に処理を移し、他方、等しくないと判断した場合、処理を終了する。
S240では、制御部270は、媒体処理を行い、処理を終了する。
Subsequently, the control unit 270 determines whether or not an available ID (B) has been read (S220). At this time, if the control unit 270 determines that the data could be read, the process proceeds to S225. If the control unit 270 determines that the data could not be read, the control unit 270 proceeds to S245.
In S225, the control unit 270 transmits (notifies) the read ID (B) to the first thread as a result of the unauthorized medium detection process. In S245, the control unit 270 transmits an error to the first thread as a result of the unauthorized medium detection process.
Subsequently, the control unit 270 determines whether or not the result of the unauthorized medium detection process has been received (S230). At this time, if the control unit 270 determines that it has been received, it moves the process to S235, and if it determines that it has not been received, it moves the process to S230.
In S <b> 235, the control unit 270 determines whether the read ID (B) is equal to the ID (B) received from the medium 300. At this time, when it is determined that they are equal, the process proceeds to S240, and when it is determined that they are not equal, the process is terminated.
In S240, the control unit 270 performs medium processing and ends the processing.

本実施形態によれば、不正媒体検出処理をRW200で行う構成(オフラインの環境)において、RW200及び媒体300の相互認証と不正媒体検出処理とが並行して実行されるので、決済等のサービスに要する時間をより短縮することができる。
なお、本実施形態は、上述の構成に限られるものではない。例えば、相互認証と不正媒体検出処理とを並行して実行する構成として、2つのスレッドを用いる構成を示したが、他の公知の構成を採用してもよい。
According to the present embodiment, in the configuration (offline environment) in which the unauthorized medium detection process is performed by the RW 200, the mutual authentication of the RW 200 and the medium 300 and the unauthorized medium detection process are executed in parallel. The time required can be further shortened.
Note that the present embodiment is not limited to the above-described configuration. For example, although a configuration using two threads has been shown as a configuration for executing mutual authentication and unauthorized medium detection processing in parallel, other known configurations may be adopted.

<その他の実施形態>
また、本実施形態は、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は記録媒体(CD−ROM、DVD−ROM、ハードディスク、フレキシブルディスク、光ディスク等)を介してシステム或いは装置に供給し、システム或いは装置の制御装置(CPU、MPU等)がプログラムを読み出して実行する構成であってもよい。
また、上述した各実施形態の構成は、適宜組み合わせて採用することができる。
以上、上述した構成によれば、記憶媒体に対する処理をより短時間で完了することができるようになる。
<Other embodiments>
In the present embodiment, software (program) for realizing the functions of the above-described embodiments is transferred to a system or apparatus via a network or a recording medium (CD-ROM, DVD-ROM, hard disk, flexible disk, optical disk, etc.). The system may be configured such that the system or apparatus control device (CPU, MPU, etc.) reads and executes the program.
In addition, the configurations of the above-described embodiments can be appropriately combined and employed.
As described above, according to the configuration described above, the processing for the storage medium can be completed in a shorter time.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

100 サーバ
200 RW
300 媒体
100 server 200 RW
300 medium

Claims (7)

情報処理装置、及び記憶媒体と通信可能な読書装置であって、
前記記憶媒体を捕捉し、前記記憶媒体を識別可能な媒体識別情報を前記記憶媒体から取得すると、前記媒体識別情報を前記情報処理装置に送信する送信手段と、
前記記憶媒体との相互認証後に読み出される前記記憶媒体に対する処理を識別可能な処理識別情報を前記記憶媒体から受信し、媒体識別情報と利用可能な処理識別情報とが予め対応付けられた情報をもとに特定される前記送信手段で送信された前記媒体識別情報に対応付けられている処理識別情報を前記情報処理装置から受信する受信手段と、
前記記憶媒体から受信した前記処理識別情報と前記情報処理装置から受信した前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行手段と、を有することを特徴とする読書装置。
An information processing device and a reading device capable of communicating with a storage medium,
A transmission unit that captures the storage medium and acquires the medium identification information capable of identifying the storage medium from the storage medium;
Process identification information that can identify the process for the storage medium that is read after mutual authentication with the storage medium is received from the storage medium, and the medium identification information and the usable process identification information are associated with each other in advance. Receiving means for receiving, from the information processing apparatus, processing identification information associated with the medium identification information transmitted by the transmitting means specified by:
Execution means for executing processing on the storage medium according to whether or not the processing identification information received from the storage medium and the processing identification information received from the information processing apparatus match. Reading device.
前記実行手段は、前記記憶媒体との相互認証後に、前記記憶媒体に対する処理のうちの前記記憶媒体に対する書き込み処理以外の処理を行い、前記一致すると判断した場合、前記記憶媒体に対する処理のうちの前記書き込み処理を実行することを特徴とする請求項1記載の読書装置。   After executing mutual authentication with the storage medium, the execution means performs a process other than the write process for the storage medium among the processes for the storage medium. The reading apparatus according to claim 1, wherein a writing process is performed. 記憶媒体と通信可能に接続され、前記記憶媒体を識別可能な媒体識別情報と前記記憶媒体に対する処理を識別可能な処理識別情報とが予め対応付けられて記憶された記憶部を有する読書装置であって、
前記記憶媒体を捕捉し、前記記憶媒体の前記媒体識別情報を前記記憶媒体から取得する取得手段と、
前記記憶媒体と相互認証を行って前記記憶媒体の前記処理識別情報を前記記憶媒体から受信する第1の処理と、前記取得手段で取得された前記媒体識別情報に対応付けられている利用可能な処理識別情報を前記記憶部から読み出す第2の処理とを並行して行う処理手段と、
前記第1の処理で受信された前記処理識別情報と前記第2の処理で読み出された前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行手段と、を有することを特徴とする読書装置。
A reading apparatus having a storage unit that is communicably connected to a storage medium and in which medium identification information that can identify the storage medium and process identification information that can identify a process for the storage medium are stored in association with each other. And
Acquisition means for capturing the storage medium and acquiring the medium identification information of the storage medium from the storage medium;
A first process of performing mutual authentication with the storage medium and receiving the process identification information of the storage medium from the storage medium, and usable in association with the medium identification information acquired by the acquisition unit Processing means for performing in parallel with a second process of reading process identification information from the storage unit;
Execution means for executing processing on the storage medium according to whether the processing identification information received in the first processing matches the processing identification information read in the second processing; A reading apparatus comprising:
情報処理装置、及び記憶媒体と通信可能な読書装置における制御方法であって、
前記記憶媒体を捕捉し、前記記憶媒体を識別可能な媒体識別情報を前記記憶媒体から取得すると、前記媒体識別情報を前記情報処理装置に送信する送信工程と、
前記記憶媒体との相互認証後に読み出される前記記憶媒体に対する処理を識別可能な処理識別情報を前記記憶媒体から受信し、媒体識別情報と利用可能な処理識別情報とが予め対応付けられた情報をもとに特定される前記送信工程で送信された前記媒体識別情報に対応付けられている処理識別情報を前記情報処理装置から受信する受信工程と、
前記記憶媒体から受信した前記処理識別情報と前記情報処理装置から受信した前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行工程と、を有することを特徴とする制御方法。
A control method in an information processing device and a reading device capable of communicating with a storage medium,
A step of transmitting the medium identification information to the information processing apparatus when capturing the storage medium and acquiring medium identification information capable of identifying the storage medium from the storage medium;
Process identification information that can identify the process for the storage medium that is read after mutual authentication with the storage medium is received from the storage medium, and the medium identification information and the usable process identification information are associated with each other in advance. Receiving from the information processing apparatus processing identification information associated with the medium identification information transmitted in the transmission step specified in
An execution step of executing a process on the storage medium according to whether or not the process identification information received from the storage medium and the process identification information received from the information processing apparatus match. Control method to do.
記憶媒体と通信可能に接続され、前記記憶媒体を識別可能な媒体識別情報と前記記憶媒体に対する処理を識別可能な処理識別情報とが予め対応付けられて記憶された記憶部を有する読書装置における制御方法であって、
前記記憶媒体を捕捉し、前記記憶媒体の前記媒体識別情報を前記記憶媒体から取得する取得工程と、
前記記憶媒体と相互認証を行って前記記憶媒体の前記処理識別情報を前記記憶媒体から受信する第1の処理と、前記取得工程で取得された前記媒体識別情報に対応付けられている利用可能な処理識別情報を前記記憶部から読み出す第2の処理とを並行して行う処理工程と、
前記第1の処理で受信された前記処理識別情報と前記第2の処理で読み出された前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行工程と、を有することを特徴とする制御方法。
Control in a reading apparatus having a storage unit that is connected so as to be communicable with a storage medium and in which medium identification information that can identify the storage medium and process identification information that can identify a process for the storage medium are stored in association with each other A method,
An acquisition step of capturing the storage medium and acquiring the medium identification information of the storage medium from the storage medium;
A first process of performing mutual authentication with the storage medium and receiving the process identification information of the storage medium from the storage medium, and usable in association with the medium identification information acquired in the acquisition step A processing step of performing a second process of reading process identification information from the storage unit in parallel;
An execution step of executing a process on the storage medium according to whether or not the process identification information received in the first process and the process identification information read in the second process match; A control method characterized by comprising:
情報処理装置、及び記憶媒体と通信可能なコンピュータを、
前記記憶媒体を捕捉し、前記記憶媒体を識別可能な媒体識別情報を前記記憶媒体から取得すると、前記媒体識別情報を前記情報処理装置に送信する送信手段と、
前記記憶媒体との相互認証後に読み出される前記記憶媒体に対する処理を識別可能な処理識別情報を前記記憶媒体から受信し、媒体識別情報と利用可能な処理識別情報とが予め対応付けられた情報をもとに特定される前記送信手段で送信された前記媒体識別情報に対応付けられている処理識別情報を前記情報処理装置から受信する受信手段と、
前記記憶媒体から受信した前記処理識別情報と前記情報処理装置から受信した前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行手段として機能させるプログラム。
A computer capable of communicating with an information processing apparatus and a storage medium;
A transmission unit that captures the storage medium and acquires the medium identification information capable of identifying the storage medium from the storage medium;
Process identification information that can identify the process for the storage medium that is read after mutual authentication with the storage medium is received from the storage medium, and the medium identification information and the usable process identification information are associated with each other in advance. Receiving means for receiving, from the information processing apparatus, processing identification information associated with the medium identification information transmitted by the transmitting means specified by:
A program that functions as an execution unit that executes a process on the storage medium depending on whether the process identification information received from the storage medium matches the process identification information received from the information processing apparatus.
記憶媒体と通信可能に接続され、前記記憶媒体を識別可能な媒体識別情報と前記記憶媒体に対する処理を識別可能な処理識別情報とが予め対応付けられて記憶された記憶部を有するコンピュータを、
前記記憶媒体を捕捉し、前記記憶媒体の前記媒体識別情報を前記記憶媒体から取得する取得手段と、
前記記憶媒体と相互認証を行って前記記憶媒体の前記処理識別情報を前記記憶媒体から受信する第1の処理と、前記取得手段で取得された前記媒体識別情報に対応付けられている利用可能な処理識別情報を前記記憶部から読み出す第2の処理とを並行して行う処理手段と、
前記第1の処理で受信された前記処理識別情報と前記第2の処理で読み出された前記処理識別情報とが一致するか否かに応じて前記記憶媒体に対する処理を実行する実行手段として機能させるプログラム。
A computer having a storage unit that is communicably connected to a storage medium and that stores medium identification information that can identify the storage medium and process identification information that can identify a process for the storage medium in association with each other.
Acquisition means for capturing the storage medium and acquiring the medium identification information of the storage medium from the storage medium;
A first process of performing mutual authentication with the storage medium and receiving the process identification information of the storage medium from the storage medium, and usable in association with the medium identification information acquired by the acquisition unit Processing means for performing in parallel with a second process of reading process identification information from the storage unit;
Function as execution means for executing processing on the storage medium according to whether or not the processing identification information received in the first processing matches the processing identification information read out in the second processing Program to make.
JP2011189470A 2011-08-31 2011-08-31 Reading apparatus, control method, and program Expired - Fee Related JP5774417B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011189470A JP5774417B2 (en) 2011-08-31 2011-08-31 Reading apparatus, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011189470A JP5774417B2 (en) 2011-08-31 2011-08-31 Reading apparatus, control method, and program

Publications (2)

Publication Number Publication Date
JP2013050910A JP2013050910A (en) 2013-03-14
JP5774417B2 true JP5774417B2 (en) 2015-09-09

Family

ID=48012885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011189470A Expired - Fee Related JP5774417B2 (en) 2011-08-31 2011-08-31 Reading apparatus, control method, and program

Country Status (1)

Country Link
JP (1) JP5774417B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5979952B2 (en) * 2012-04-13 2016-08-31 Jr東日本メカトロニクス株式会社 System, information processing apparatus, reading apparatus, information processing method, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001216458A (en) * 2000-02-02 2001-08-10 Sony Corp System and device for processing information
JP2001222765A (en) * 2000-02-09 2001-08-17 Sony Corp Electronic money terminal device
JP2001222739A (en) * 2000-02-09 2001-08-17 Sony Corp Electronic money system and electronic money terminal device
US7032047B2 (en) * 2001-03-12 2006-04-18 Motorola, Inc. Method of regulating usage and/or concession eligibility via distributed list management in a smart card system
JP2005293357A (en) * 2004-04-01 2005-10-20 Toshiba Corp Log-in system and method
JP2006301903A (en) * 2005-04-20 2006-11-02 Hitachi Omron Terminal Solutions Corp Automatic teller machine

Also Published As

Publication number Publication date
JP2013050910A (en) 2013-03-14

Similar Documents

Publication Publication Date Title
US11088724B2 (en) Communication device, control method, program and front end
US8621126B2 (en) Communication device, communication scheme determination method, and program
CN101149782B (en) Information processing apparatus and method for mediating applications
US20140256430A1 (en) Information processing apparatus, information processing system, information processing method and recording medium
US8670711B2 (en) Method of detecting a NFC device emulating several contactless cards which may use a plurality of protocols
US9703995B2 (en) Portable terminal, imaging apparatus, communication system, communication method of portable terminal, communication method of imaging apparatus, and computer readable storage device
CN103687061A (en) Method and terminal for establishing connection
US20110256832A1 (en) Apparatus and method for controlling smart card comprised of multi sensor
CN105868615A (en) Storage device, information processing system and authentication method for the storage device
CN101853351B (en) Method and device for automatically selecting an application that can be used by said device
US9978056B2 (en) Smart card having multiple payment instruments
CN105745947A (en) Systems and methods for reporting a user interface status
JP5774417B2 (en) Reading apparatus, control method, and program
US20100153642A1 (en) Method and system for authenticating storage device connected through intermediate converter
WO2011120315A1 (en) Software upgrading method and device for card reader and card reader
US10028140B2 (en) Authentication system, recording medium having recorded therein computer program controlling authentication system, and reader for use in authentication system
CN108944542B (en) Method for performing charging station identification for electric vehicle charging
CN103561478A (en) Method and device for automatically achieving wireless connection between devices
JP6248521B2 (en) Vending machine setting system
US11671834B2 (en) Electronic device for transmitting/receiving data and method thereof
KR102061013B1 (en) Data transceivng method using near field communication of terminal equipment, apparatus thereof, and medium stroing program source thereof
JP5979952B2 (en) System, information processing apparatus, reading apparatus, information processing method, and program
US8704636B2 (en) Information processing apparatus, communication apparatus, and program
US11316557B2 (en) Electronic device and method for identifying product based on near field communication
KR101415698B1 (en) Certificate System and Method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150527

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150701

R150 Certificate of patent or registration of utility model

Ref document number: 5774417

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees