JP2007034600A - Communication system, information processor and information processing method, information terminal equipment, information processing method and program - Google Patents
Communication system, information processor and information processing method, information terminal equipment, information processing method and program Download PDFInfo
- Publication number
- JP2007034600A JP2007034600A JP2005215905A JP2005215905A JP2007034600A JP 2007034600 A JP2007034600 A JP 2007034600A JP 2005215905 A JP2005215905 A JP 2005215905A JP 2005215905 A JP2005215905 A JP 2005215905A JP 2007034600 A JP2007034600 A JP 2007034600A
- Authority
- JP
- Japan
- Prior art keywords
- file system
- command
- transmission
- response
- card
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
本発明は、通信システム、情報処理装置および情報処理方法、情報端末装置および情報処理方法、並びにプログラムに関し、特に、情報端末装置に格納された複数のファイルシステム間のデータの授受を、より安全かつ効率的に行うことができるようにした通信システム、情報処理装置および情報処理方法、情報端末装置および情報処理方法、並びにプログラムに関する。 The present invention relates to a communication system, an information processing device, an information processing method, an information terminal device, an information processing method, and a program, and more particularly, it is safer to exchange data between a plurality of file systems stored in the information terminal device. The present invention relates to a communication system, an information processing apparatus, an information processing method, an information terminal apparatus, an information processing method, and a program that can be efficiently performed.
従来、IC(Integrated Circuit)カードに関する様々な技術が開発されている。 Conventionally, various technologies related to IC (Integrated Circuit) cards have been developed.
例えば、特許文献1には、ICカードと通信するリーダライタが、ICカードに格納されている複数のアプリケーションを連続して実行させる連続実行コマンドをICカードに送信することで、ICカードに格納された特定のアプリケーションに対して、機能を追加する技術が開示されている。 For example, in Patent Document 1, a reader / writer that communicates with an IC card transmits a continuous execution command that continuously executes a plurality of applications stored in the IC card to the IC card, thereby storing the IC card. A technique for adding a function to a specific application is disclosed.
また、例えば、特許文献2には、ICカードと通信するリーダライタが、複数のアプリケーションプログラムに対応するICカードに格納されているデータを用いて、コマンドをICカードに送信する技術が開示されている。 For example, Patent Document 2 discloses a technique in which a reader / writer that communicates with an IC card transmits a command to the IC card using data stored in the IC card corresponding to a plurality of application programs. Yes.
さらに、例えば、ICカードの内部に複数のファイルシステム(またはOS(Operating System))を格納しておき、ICカードに格納されている複数のファイルシステムによる処理を実行させる場合には、一旦、リーダライタにその処理結果を返信するようにすることで、ICカードに格納されている複数のファイルシステムによる処理の安全性を高めるようにする技術も開発されている。
しかしながら、ICカードの内部に格納されている複数のファイルシステムによる処理を実行させる場合、一旦、リーダライタにその処理結果を返信するようにすると、リーダライタとICカードとの間の通信は、通信オーバーヘッドや速度の限界があるため、効率的ではない。 However, when processing by a plurality of file systems stored in the IC card is executed, once the processing result is returned to the reader / writer, the communication between the reader / writer and the IC card is performed by communication. Inefficient due to overhead and speed limitations.
本発明は、このような状況に鑑みてなされたものであり、ICカードに格納された複数のファイルシステム間のデータの授受を、より安全かつ効率的に行うことができるようにするものである。 The present invention has been made in view of such a situation, and enables data to be exchanged between a plurality of file systems stored in an IC card more safely and efficiently. .
本発明の第1の側面の通信システムは、情報処理装置と、複数のファイルシステムを有する情報端末装置とが通信を行う通信システムであって、前記情報処理装置は、前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を送信する第1の送信手段と、前記第1の送信手段により送信した前記指令に対する前記情報端末装置からの応答を受信する第1の受信手段とを備え、前記情報端末装置は、前記第1の送信手段により送信されてきた前記指令を受信する第2の受信手段と、前記第2の受信手段により受信された前記指令を記憶する受信記憶手段と、複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段により記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行する実行手段と、前記実行手段により実行された処理の結果である実行結果を、前記情報端末装置に送信するために記憶するとともに、前記実行結果を、前記受信記憶手段に供給する送信記憶手段と、前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する第2の送信手段とを備え、前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め、前記送信記憶手段は、前記実行手段により実行された処理の結果である前記実行結果を記憶するとともに、前記実行結果を前記受信記憶手段に供給し、前記第2の送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し、前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し、前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する。 A communication system according to a first aspect of the present invention is a communication system in which an information processing device and an information terminal device having a plurality of file systems communicate with each other, and the information processing device includes a plurality of information terminal devices. A first transmission unit that transmits a command including a file system ID that identifies one file system as a transmission destination, and the information terminal device that responds to the command transmitted by the first transmission unit. First receiving means for receiving a response, wherein the information terminal device receives the command transmitted by the first transmitting means, and receives the command by the second receiving means. A reception storage means for storing the received command and a file system corresponding to one of a plurality of file systems, and the reception storage means If the file system ID included in the acquired command matches the file system ID that identifies the file system corresponding to itself, the processing corresponding to the command is performed. Execution means for executing, and a transmission storage means for storing an execution result, which is a result of the process executed by the execution means, for transmission to the information terminal device, and supplying the execution result to the reception storage means And a second transmission means for transmitting the execution result stored in the transmission storage means to the information terminal device, the execution means executing the process corresponding to the command, the information terminal When there is processing executed by another file system among a plurality of file systems included in the apparatus, the execution result includes the transmission destination The transmission storage means stores the execution result that is the result of the process executed by the execution means, and supplies the execution result to the reception storage means, including another file system ID that identifies the file system. The second transmission unit transmits the execution result stored in the transmission storage unit as a response to the information processing apparatus, and the reception storage unit receives the execution result supplied from the transmission storage unit. The execution unit acquires the execution result stored in the reception storage unit, and the file system ID of the transmission destination included in the acquired execution result is the file system corresponding to itself. If the file system ID to be identified matches, the process corresponding to the execution result is further executed.
前記情報処理装置は、前記第1の送信手段により送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定する待機時間設定手段をさらに備え、前記待機時間設定手段は、前記第1の受信手段により受信された前記情報端末装置からの前記応答が自分自身への応答でない場合、前記待機時間を延長する。 The information processing apparatus further includes standby time setting means for setting a standby time until a response corresponding to the command transmitted by the first transmission means is transmitted, wherein the standby time setting means includes the first If the response from the information terminal device received by one receiving means is not a response to itself, the waiting time is extended.
本発明の第1の側面においては、情報処理装置で、ファイルシステムを特定するファイルシステムIDを含む指令が送信され、送信された前記指令に対する前記情報端末装置からの応答が受信される。また、情報端末装置で、前記指令が受信されるとともに受信記憶手段に記憶され、複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記指令に含まれる前記ファイルシステムIDが、自分自身に対応するファイルシステムIDと一致する場合に、前記指令に対応する処理が実行され、処理の結果である実行結果が、前記情報端末装置に送信するために送信記憶手段に記憶されるとともに、前記実行結果が前記受信記憶手段に供給され、前記送信記憶手段に記憶された前記実行結果が、前記情報端末装置に送信される。さらに、前記指令に対応する処理が実行された結果、他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先の他のファイルシステムIDが含められる。 In the first aspect of the present invention, the information processing device transmits a command including a file system ID for specifying a file system, and receives a response from the information terminal device to the transmitted command. Further, the information terminal device receives the command and stores it in the reception storage means, corresponds to one file system of a plurality of file systems, and the file system ID included in the command is itself When the file system ID corresponding to is matched with the file system ID, the process corresponding to the command is executed, and the execution result, which is the result of the process, is stored in the transmission storage means for transmission to the information terminal device, and An execution result is supplied to the reception storage unit, and the execution result stored in the transmission storage unit is transmitted to the information terminal device. Further, when there is a process executed by another file system as a result of executing the process corresponding to the command, the other file system ID of the transmission destination is included in the execution result.
本発明の第2の側面の情報処理装置は、複数のファイルシステムを有する情報端末装置と通信を行う情報処理装置であって、前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を送信する送信手段と、前記送信手段により送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定する待機時間設定手段と、前記第1の送信手段により送信した前記指令に対する前記情報端末装置からの応答を受信する第1の受信手段とを備え、前記待機時間設定手段は、前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間を延長する。 An information processing device according to a second aspect of the present invention is an information processing device that communicates with an information terminal device having a plurality of file systems, and among the plurality of file systems that the information terminal device has, 1 as a transmission destination A transmission unit that transmits a command including a file system ID that identifies one file system; a standby time setting unit that sets a standby time until a response corresponding to the command transmitted by the transmission unit is transmitted; First receiving means for receiving a response from the information terminal apparatus to the command transmitted by the first transmitting means, wherein the waiting time setting means is a message from the information terminal apparatus received by the receiving means. If the response is not a response to itself, the waiting time is extended.
前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記応答には、前記待機時間を延長するための延長時間がさらに含まれ、前記待機時間設定手段は、前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記応答に含まれる前記延長時間に基づいて、前記待機時間を延長する。 If the response from the information terminal device received by the receiving means is not a response to itself, the response further includes an extension time for extending the waiting time, and the waiting time setting means Extends the waiting time based on the extension time included in the response when the response from the information terminal device received by the receiving means is not a response to itself.
本発明の第2の側面の情報処理方法(またはプログラム)は、情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を送信し、送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定し、送信した前記指令に対する前記情報端末装置からの応答を受信し、受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間を延長するステップを含む情報処理方法(またはステップを含む処理をコンピュータに実行させるプログラム)。 The information processing method (or program) according to the second aspect of the present invention transmits and transmits a command including a file system ID that identifies one file system as a transmission destination among a plurality of file systems of an information terminal device. A waiting time until a response corresponding to the received command is transmitted, a response from the information terminal device to the transmitted command is received, and the received response from the information terminal device is If it is not a response to itself, an information processing method including a step of extending the waiting time (or a program for causing a computer to execute a process including the step).
本発明の第2の側面においては、ファイルシステムIDを含む指令が送信され、送信された前記指令に対応する応答が送信されてくるまでの待機時間が設定され、前記指令に対する前記情報端末装置からの応答が受信され、受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間が延長される。 In the second aspect of the present invention, a command including a file system ID is transmitted, a waiting time until a response corresponding to the transmitted command is transmitted is set, and the information terminal device for the command If the response from the information terminal device received is not a response to itself, the waiting time is extended.
本発明の第3の側面の情報端末装置は、複数のファイルシステムを有し、情報処理装置と通信を行う情報端末装置であって、前記情報処理装置から送信されてきた指令であって、自分自身が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を受信する受信手段と、前記受信手段により受信された前記指令を記憶する受信記憶手段と、複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段により記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行する実行手段と、前記実行手段により実行された処理の結果である実行結果を、前記情報端末装置に送信するために記憶するとともに、前記実行結果を、前記受信記憶手段に供給する送信記憶手段と、前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する送信手段とを備え、前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め、前記送信記憶手段は、前記実行手段により実行された処理の結果である前記実行結果を記憶するとともに、前記実行結果を前記受信記憶手段に供給し、前記送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し、前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し、前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する。 An information terminal device according to a third aspect of the present invention is an information terminal device that has a plurality of file systems and communicates with an information processing device, and is an instruction transmitted from the information processing device, A receiving unit that receives a command including a file system ID that identifies one file system as a transmission destination among a plurality of file systems that the device itself has; a reception storage unit that stores the command received by the receiving unit; The file corresponding to one file system of a plurality of file systems, acquiring the command stored by the reception storage means, and the file system ID included in the acquired command corresponding to itself Execution means for executing processing corresponding to the instruction when the file system ID matches the system A transmission storage means for storing an execution result, which is a result of the process executed by the execution means, for transmission to the information terminal device, and supplying the execution result to the reception storage means; and the transmission storage Transmission means for transmitting the execution result stored in the means to the information terminal device, and the execution means executes a process corresponding to the command, and as a result, the information terminal device includes a plurality of file systems. If there is a process executed by another file system, the execution result includes another file system ID that identifies the other file system as a transmission destination, and the transmission storage means is executed by the execution means. The execution result which is the result of the processed processing is stored, and the execution result is supplied to the reception storage unit. The execution result stored in the transmission storage means is transmitted as a response to the information processing apparatus, the reception storage means further stores the execution result supplied from the transmission storage means, and the execution means When the execution result stored in the reception storage means is acquired, and the file system ID of the transmission destination included in the acquired execution result matches the file system ID that identifies the file system corresponding to itself, A process corresponding to the execution result is further executed.
前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDとともに、前記情報処理装置に前記指令に対する応答を送信するまでの待機時間を延長するための延長時間をさらに含め、前記送信記憶手段は、前記実行結果を記憶するとともに、前記実行結果を前記受信記憶手段に供給し、前記送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し、前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し、前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する。 As a result of executing the process corresponding to the command, when the execution unit includes a process executed by another file system of the plurality of file systems included in the information terminal device, the execution result includes a transmission destination The transmission storage means further includes an extension time for extending a waiting time until a response to the command is transmitted to the information processing apparatus together with another file system ID for specifying the other file system. The result is stored and the execution result is supplied to the reception storage unit, and the transmission unit transmits the execution result stored in the transmission storage unit as a response to the information processing apparatus, and the reception storage unit Further stores the execution result supplied from the transmission storage means, and the execution means stores in the reception storage means If the file system ID of the transmission destination included in the acquired execution result matches the file system ID that identifies the file system corresponding to itself, it corresponds to the execution result. Further processing is performed.
本発明の第3の側面の情報処理方法(またはプログラム)は、前記情報処理装置から送信されてきた指令であって、自分自身が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を受信し、受信された前記指令を受信記憶手段に記憶させ、複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段に記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行し、その結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め、実行された処理の結果である実行結果を、前記情報端末装置に送信するために送信記憶手段に記憶させるとともに、前記実行結果を、前記受信記憶手段に供給し、前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信するステップを含む情報処理方法(またはステップを含む処理をコンピュータに実行させるプログラム)。 An information processing method (or program) according to a third aspect of the present invention is a command transmitted from the information processing apparatus, and includes one file system as a transmission destination among a plurality of file systems owned by itself. A command including a file system ID to be identified is received, the received command is stored in a reception storage unit, and corresponds to one file system of a plurality of file systems, and the command stored in the reception storage unit A command is acquired, and when the file system ID included in the acquired command matches a file system ID that identifies the file system corresponding to itself, a process corresponding to the command is executed, and the result And executed by another file system among a plurality of file systems of the information terminal device. In order to send an execution result, which is a result of the executed process, to the information terminal device, including another file system ID that identifies the other file system as a transmission destination in the execution result when there is a process An information processing method (or step) comprising: storing the execution result in the transmission storage unit, supplying the execution result to the reception storage unit, and transmitting the execution result stored in the transmission storage unit to the information terminal device A program for causing a computer to execute a process including:
本発明の第3の側面においては、情報処理装置から送信されてきた指令であって、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令が受信され、受信された前記指令が受信記憶手段に記憶される。また、前記受信記憶手段に記憶された前記指令が取得され、前記指令に含まれる前記ファイルシステムIDが、自分自身に対応するファイルシステムIDと一致する場合に、前記指令に対応する処理が実行され、その結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、処理の結果である前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDが含められる。 In the third aspect of the present invention, a command transmitted from the information processing apparatus, including a command including a file system ID specifying one file system as a transmission destination, is received. Stored in the storage means. In addition, when the command stored in the reception storage unit is acquired and the file system ID included in the command matches a file system ID corresponding to itself, processing corresponding to the command is executed. As a result, when there is a process executed by another file system among a plurality of file systems of the information terminal device, the other file system is specified as a transmission destination in the execution result which is a result of the process. Other file system IDs to be included are included.
本発明の一側面によれば、複数のファイルシステムの処理を、情報端末装置に実行させることができる。特に、本発明の一側面によれば、複数のファイルシステムの処理を、安全かつ効率的に行うことができる。 According to one aspect of the present invention, it is possible to cause an information terminal device to execute processing of a plurality of file systems. In particular, according to one aspect of the present invention, processing of a plurality of file systems can be performed safely and efficiently.
以下に本発明の実施の形態を説明するが、本発明の構成要件と、発明の詳細な説明に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、発明の詳細な説明に記載されていることを確認するためのものである。従って、発明の詳細な説明中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 Embodiments of the present invention will be described below. Correspondences between the configuration requirements of the present invention and the embodiments described in the detailed description of the present invention are exemplified as follows. This description is to confirm that the embodiments supporting the present invention are described in the detailed description of the invention. Accordingly, although there are embodiments that are described in the detailed description of the invention but are not described here as embodiments corresponding to the constituent elements of the present invention, It does not mean that the embodiment does not correspond to the configuration requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.
本発明の第1の側面の通信システム(例えば、図1の通信システム11)は、情報処理装置(例えば、図3のリーダライタ22)と、複数のファイルシステム(例えば、図2のファイルシステム51とファイルシステム52)を有する情報端末装置(例えば、図2の非接触ICカード21)とが通信を行う通信システムであって、前記情報処理装置は、前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムID(例えば、図2のファイルシステムID#1)を含む指令(例えば、図4のコマンド120)を送信する第1の送信手段(例えば、図3の送信部91)と、前記第1の送信手段により送信した前記指令に対する前記情報端末装置からの応答を受信する第1の受信手段(例えば、図3の受信部92)とを備え、前記情報端末装置は、前記第1の送信手段により送信されてきた前記指令を受信する第2の受信手段(例えば、図2の受信部62)と、前記第2の受信手段により受信された前記指令を記憶する受信記憶手段(例えば、図2の受信バッファ44)と、複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段により記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行する実行手段(例えば、図2のICカードOS45またはICカードOS46)と、前記実行手段により実行された処理の結果である実行結果を、前記情報端末装置に送信するために記憶するとともに、前記実行結果を、前記受信記憶手段に供給する送信記憶手段(例えば、図2の送信バッファ47)と、前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する第2の送信手段(例えば、図2の送信部61)とを備え、前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め(例えば、図9のステップS256または図10のステップS306)、前記送信記憶手段は、前記実行手段により実行された処理の結果である前記実行結果を記憶するとともに(例えば、図8のステップS202)、前記実行結果を前記受信記憶手段に供給し(例えば、図8のステップS203)、前記第2の送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し(例えば、図8のステップS204)、前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し(例えば、図7のステップS152)、前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する(例えば、図9のステップS254または図10のステップS304)。
The communication system (for example, the communication system 11 in FIG. 1) of the first aspect of the present invention includes an information processing apparatus (for example, the reader /
この通信システムの前記情報処理装置は、前記第1の送信手段により送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定する待機時間設定手段(例えば、図3のタイマ95)をさらに備え、前記待機時間設定手段は、前記第1の受信手段により受信された前記情報端末装置からの前記応答が自分自身への応答でない場合、前記待機時間を延長する(例えば、図6のステップS119)。
The information processing apparatus of this communication system is configured to set a waiting time until a response corresponding to the command transmitted by the first transmitting unit is transmitted (for example, a
本発明の第2の側面の情報処理装置(例えば、図3のリーダライタ22)は、複数のファイルシステム(例えば、図2のファイルシステム51とファイルシステム52)を有する情報端末装置(例えば、図2の非接触ICカード21)と通信を行う情報処理装置であって、前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムID(例えば、図2のファイルシステムID#1)を含む指令(例えば、図4のコマンド120)を送信する送信手段(例えば、図3の送信部91)と、前記送信手段により送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定する待機時間設定手段(例えば、図3のタイマ95)と、前記第1の送信手段により送信した前記指令に対する前記情報端末装置からの応答を受信する第1の受信手段(例えば、図3の受信部92)とを備え、前記待機時間設定手段は、前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間を延長する(例えば、図6のステップS119)。
An information processing apparatus (for example, the reader /
この情報処置装置の前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記応答には、前記待機時間を延長するための延長時間がさらに含まれ、前記待機時間設定手段は、前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記応答に含まれる前記延長時間に基づいて、前記待機時間を延長する(例えば、図6のステップS119)。 If the response from the information terminal device received by the receiving means of the information processing device is not a response to itself, the response further includes an extension time for extending the waiting time, The waiting time setting means extends the waiting time based on the extension time included in the response when the response from the information terminal device received by the receiving means is not a response to itself. (For example, step S119 in FIG. 6).
本発明の第2の側面の情報処理方法またはプログラムは、前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムID(例えば、図2のファイルシステムID#1)を含む指令(例えば、図4のコマンド120)を送信し(例えば、図6のステップS111)、送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定し(例えば、図6のステップS112)、送信した前記指令に対する前記情報端末装置からの応答を受信し(例えば、図6のステップS116)、受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間を延長する(例えば、図6のステップS119)。 An information processing method or program according to a second aspect of the present invention provides a file system ID that identifies one file system as a transmission destination among a plurality of file systems of the information terminal device (for example, the file system ID of FIG. 2). # 1) (for example, command 120 in FIG. 4) is transmitted (for example, step S111 in FIG. 6), and a waiting time until a response corresponding to the transmitted command is transmitted is set (for example, 6 (step S112 in FIG. 6), receives a response from the information terminal device to the transmitted command (for example, step S116 in FIG. 6), and receives the response from the information terminal device to itself. If it is not a response, the waiting time is extended (for example, step S119 in FIG. 6).
本発明の第3の側面の情報端末装置(例えば、図2の非接触ICカード21)は、複数のファイルシステムを有し、情報処理装置と通信を行う情報端末装置であって、前記情報処理装置から送信されてきた指令(例えば、図4のコマンド120)であって、自分自身が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムID(例えば、図2のファイルシステムID#1)を含む指令を受信する受信手段(例えば、図2の受信部62)と、前記受信手段により受信された前記指令を記憶する受信記憶手段(例えば、図2の受信バッファ44)と、複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段により記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行する実行手段(例えば、図2のICカードOS45またはICカードOS46)と、前記実行手段により実行された処理の結果である実行結果を、前記情報端末装置に送信するために記憶するとともに、前記実行結果を、前記受信記憶手段に供給する送信記憶手段と、前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する送信手段(例えば、図2の送信バッファ47)とを備え、前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め(例えば、図9のステップS256または図10のステップS306)、前記送信記憶手段は、前記実行手段により実行された処理の結果である前記実行結果を記憶するとともに(例えば、図8のステップS202)、前記実行結果を前記受信記憶手段に供給し(例えば、図8のステップS203)、前記送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し(例えば、図8のステップS204)、前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し(例えば、図7のステップS152)、前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する(例えば、図9のステップS254または図10のステップS304)。
An information terminal device according to the third aspect of the present invention (for example, the
この情報端末装置の前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムID(例えば、図2のファイルシステムID#2)とともに(例えば、図9のステップS256または図10のステップS306)、前記情報処理装置に前記指令に対する応答を送信するまでの待機時間を延長するための延長時間をさらに含め(例えば、図9のステップS257または図10のステップS307)、前記送信記憶手段は、前記実行結果を記憶するとともに(例えば、図8のステップS202)、前記実行結果を前記受信記憶手段に供給し(例えば、図8のステップS203)、前記送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し、前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し(例えば、図7のステップS152)、前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する(例えば、図9のステップS254または図10のステップS304)。 The execution means of the information terminal device executes the process corresponding to the command, and as a result, when there is a process executed by another file system among a plurality of file systems of the information terminal apparatus, the execution result In addition to the other file system ID (for example, file system ID # 2 in FIG. 2) that identifies the other file system as a transmission destination (for example, step S256 in FIG. 9 or step S306 in FIG. 10), the information processing Further including an extended time for extending a waiting time until the response to the command is transmitted to the apparatus (for example, step S257 in FIG. 9 or step S307 in FIG. 10), the transmission storage means stores the execution result. (For example, step S202 in FIG. 8), the execution result is supplied to the reception storage means. (For example, step S203 in FIG. 8), the transmission unit transmits the execution result stored in the transmission storage unit as a response to the information processing apparatus, and the reception storage unit is supplied from the transmission storage unit. The execution result is further stored (for example, step S152 in FIG. 7), the execution means acquires the execution result stored in the reception storage means, and the transmission destination included in the acquired execution result If the file system ID matches the file system ID that identifies the file system corresponding to itself, the process corresponding to the execution result is further executed (for example, step S254 in FIG. 9 or step S304 in FIG. 10). ).
本発明の第3の側面の情報処理方法またはプログラムは、前記情報処理装置から送信されてきた指令(例えば、図4のコマンド120)であって、自分自身が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムID(例えば、図2のファイルシステムID#1)を含む指令を受信し(例えば、図2の受信部62が実行する処理)、受信された前記指令を受信記憶手段(例えば、図2の受信バッファ44)に記憶させ(例えば、図7のステップS152)、複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段に記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行し(例えば、図9のステップS254または図10のステップS304)、その結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め(例えば、図9のステップS256または図10のステップS306)、実行された処理の結果である実行結果を、前記情報端末装置に送信するために送信記憶手段(例えば、図2の送信バッファ47)に記憶させるとともに(例えば、図8のステップS202)、前記実行結果を、前記受信記憶手段に供給し(例えば、図8のステップS203)、前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する。
An information processing method or program according to a third aspect of the present invention is a command (for example, command 120 in FIG. 4) transmitted from the information processing apparatus, and is transmitted among a plurality of file systems owned by itself. A command including a file system ID (for example, the file system ID # 1 in FIG. 2) specifying one file system is received (for example, processing executed by the receiving
以下、図を参照して、本発明を適用した一実施の形態について説明する。 Hereinafter, an embodiment to which the present invention is applied will be described with reference to the drawings.
図1は、本発明を適用した通信システム11の一実施の形態の構成例を示している。 FIG. 1 shows a configuration example of an embodiment of a communication system 11 to which the present invention is applied.
図1において、通信システム11は、非接触ICカード(情報端末装置)21、リーダライタ(非接触リーダライタ)22、および非接触ICカード(情報端末装置)23により構成されている。 In FIG. 1, the communication system 11 includes a non-contact IC card (information terminal device) 21, a reader / writer (non-contact reader / writer) 22, and a non-contact IC card (information terminal device) 23.
非接触ICカード21および非接触ICカード23は、耐タンパ性を備えたセキュアなメモリ(後述する受信バッファと送信バッファ)を内部に有している。リーダライタ22は、耐タンパ性を備えており、非接触ICカード21または非接触ICカード23に対してコマンドを送信したり、非接触ICカード21または非接触ICカード23からのレスポンスを受信する。
The
非接触ICカード21、リーダライタ22、および非接触ICカード23のそれぞれは、無線通信を行う機能を有するものとし、複数の通信プロトコルには、NFC(Near Field Communication)が含まれるものとする。
Each of the
NFCは、他の機器との間で、単一の周波数の搬送波を使用した、電磁誘導による近接通信の通信プロトコルで、搬送波の周波数としては、例えば、ISM(Industrial Scientific Medical)バンドの13.56MHzなどが採用される。 NFC is a communication protocol for proximity communication using electromagnetic induction with other devices using a single frequency carrier wave, such as 13.56 MHz in the ISM (Industrial Scientific Medical) band, for example. Is adopted.
ここで、近接通信とは、通信する装置同士の距離が、数10cm以内となって可能となる通信を意味し、通信する装置同士(の筐体)が接触して行う通信も含まれる。 Here, the proximity communication means communication that enables a distance between communicating devices within several tens of centimeters, and includes communication performed by contacting (communicating with) the communicating devices.
また、非接触ICカード21(非接触ICカード23)は、例えば、ISO/IEC (International Organization for Standardization / International Electrotechnical Commission)15693の規格に準拠した非接触の通信をリーダライタ22との間で行う。すなわち、非接触ICカード21(非接触ICカード23)は、リーダライタ22が発する電磁波(電波)から所定以上の電力を検出した(所定以上の電力が得られた)場合に動作可能となり、非接触ICカード23(非接触ICカード21)またはリーダライタ22と、電磁波により通信する。
Further, the non-contact IC card 21 (non-contact IC card 23) performs non-contact communication with the reader /
図2は、図1の非接触ICカード21の構成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of the
非接触ICカード21には、アンテナ41、送受信部42、A/D(アナログ/デジタル)変換・デモジュレーション部43、受信バッファ44、ICカードOS45、ICカードOS46、送信バッファ47、およびD/A(デジタル/アナログ)変換・モジュレーション部48が設けられている。
The
アンテナ41は、閉ループのコイルを構成しており、このコイルに流れる電流が変化することで、電磁波を出力する。また、アンテナ41としてのコイルを通る磁束が変化することで、アンテナ41に電流が流れる。
The
送受信部42は、アンテナ41を介して、他の装置(例えば、リーダライタ22や非接触ICカード23)から送信されてきたデータを受信したり、D/A変換・モジュレーション部48から供給されてきたデータを、アンテナ41を介して他の装置(例えば、リーダライタ22や非接触ICカード23)に送信する処理を実行する。
The transmission /
具体的には、送受信部42には、送信部61と受信部62とが設けられている。送信部61は、D/A変換・モジュレーション部48から供給された、送信するデータに対する搬送波(所定の単一の周波数の搬送波を放射させるための電流としての搬送波)を変調した電磁波を、アンテナ41に送信する。これにより、アンテナ41からは、送信するデータに従って搬送波が変調された電磁波が放射される。受信部62は、アンテナ41に流れる電流を受信し、同調と検波を行い、これをA/D変換・デモジュレーション部43に供給する。
Specifically, the transmission /
A/D変換・デモジュレーション部43は、受信部62からのデータをA/D変換した後、復調(デモジュレーション)し、これを、受信バッファ44に供給する。
The A / D conversion /
受信バッファ44は、A/D変換・デモジュレーション部43から供給されてきたデータを一時格納(バッファリング)する。
The
ICカードOS45とICカードOS46は、受信バッファ44にデータが格納された場合、そのデータを取得し、取得したデータに対応する処理を実行する。具体的には、ICカードOS45とICカードOS46は、それぞれファイルシステムを識別するファイルシステムIDが付されたファイルシステムを有しており、各ICカードOS(ICカードOS45またはICカードOS46)は、取得したコマンド(データ)に、自分自身が対応するファイルシステムを識別するファイルシステムIDが指定されている場合に、そのコマンドに対応する処理を実行する。なお、ICカードOS45とICカードOS46との間(すなわち、各ファイルシステム間)は、ファイアウォールにより保護されている。
When data is stored in the
具体的には、ICカードOS45には、ファイルシステムID#1のファイルシステム51が格納されており、ICカードOS45は、そのファイルシステムID#1のファイルシステム51に対応する処理を実行する。例えば、受信バッファ44から取得したデータが、ファイルシステムID#1のファイルシステム51に対するコマンドである場合(すなわち、コマンドの送信先がファイルシステムID#1である場合)、ICカードOS45は、ファイルシステムID#1のファイルシステム51に基づいて、そのコマンドに対応する処理を実行する。ICカードOS45は、コマンドに対応して実行した結果(以下、処理結果と称する)を、送信バッファ47に供給する。
Specifically, the
また、ICカードOS46には、ファイルシステムID#2のファイルシステム52が格納されており、ICカードOS46は、そのファイルシステムID#2のファイルシステム52に対応する処理を実行する。例えば、受信バッファ44から取得したデータが、ファイルシステムID#2のファイルシステム52に対するコマンドである場合(すなわち、コマンドの送信先がファイルシステムID#2である場合)、ICカードOS46は、ファイルシステムID#2のファイルシステム52に基づいて、そのコマンドに対応する処理を実行する。ICカードOS46は、コマンドに対応して実行した結果(以下、処理結果と称する)を、送信バッファ47に供給する。
The
すなわち、ICカードOS45は、受信バッファ44から取得したデータが、ファイルシステムID#1のファイルシステム51に対するコマンドではなく、ファイルシステムID#2のファイルシステム52に対するコマンドである場合、そのコマンドに対応する処理は実行しない。また、ICカードOS46は、受信バッファ44から取得したデータが、ファイルシステムID#2のファイルシステム52に対するコマンドではなく、ファイルシステムID#1のファイルシステム51に対するコマンドである場合、そのコマンドに対応する処理は実行しない。換言すれば、ICカードOS45とICカードOS46は、自分自身が有するファイルシステムのファイルシステムID以外のファイルシステムIDを指定するコマンドが受信バッファ44から供給されてきた場合には、そのコマンドに対応する処理を実行しない。
That is, if the data acquired from the
送信バッファ47は、ICカードOS45またはICカードOS46から供給されてきた処理結果を一時格納(バッファリング)するとともに、それを、受信バッファ44にも供給する。このとき、送信バッファ47と受信バッファ44には、同一のデータ(処理結果)が格納される。このようにすることで、送信バッファ47から受信バッファ44に供給された処理結果が、あたかも、リーダライタ22などから受信されたものとみなすことができる。
The
D/A変換・モジュレーション部48は、送信バッファ47にデータ(例えば、処理結果)が格納された場合、そのデータを取得し、これを変調(モジュレーション)した後、D/A変換し、これを、送受信部42の送信部61に供給する。
When data (for example, a processing result) is stored in the
送信部61は、上述したように、D/A変換・モジュレーション部48から供給された、送信するデータに対する搬送波(所定の単一の周波数の搬送波を放射させるための電流としての搬送波)を変調した電磁波を、アンテナ41に送信することで、他の装置に対してデータを送信する。
As described above, the
このように、ICカードOS45またはICカードOS46による処理結果は、まず、送信バッファ47に格納される。次に、送信バッファ47は、この処理結果を、リーダライタ22などの外部の機器に送信させるとともに、受信バッファ44に供給する。受信バッファ44に格納された処理結果は、再び、ICカードOS45とICカードOS46とに取得され、送信先のファイルシステムIDが一致する場合に、そのICカードOSにおいて処理が実行されるので、非接触ICカード21内で、リーダライタ22からコマンドを受けなくても、処理の実行を続けることができる構成とされている。
As described above, the processing result by the
なお、図1の非接触ICカード23の構成は、上述した図2の非接触ICカード21と同様に構成されるため、その説明は省略する。
The configuration of the
次に、図3を参照して図1のリーダライタ22の構成例を説明する。
Next, a configuration example of the reader /
リーダライタ22には、アンテナ81、送受信部82、A/D変換・デモジュレーション部83、制御部84、およびD/A変換・モジュレーション部85が設けられている。
The reader /
アンテナ81は、閉ループのコイルを構成しており、このコイルに流れる電流が変化することで、電磁波を出力する。また、アンテナ81としてのコイルを通る磁束が変化することで、アンテナ81に電流が流れる。
The
送受信部82は、アンテナ81を介して、他の装置(例えば、非接触ICカード21や非接触ICカード23)から送信されてきたデータを受信したり、D/A変換・モジュレーション部85から供給されてきたデータを、アンテナ81を介して他の装置(例えば、非接触ICカード21や非接触ICカード23)に送信する処理を実行する。
The transmission /
具体的には、送受信部82には、送信部91と受信部92とが設けられている。送信部91は、D/A変換・モジュレーション部85から供給された、送信するデータに対する搬送波(所定の単一の周波数の搬送波を放射させるための電流としての搬送波)を変調した電磁波を、アンテナ81に送信する。これにより、アンテナ81からは、送信するデータに従って搬送波が変調された電磁波が放射される。受信部92は、アンテナ81に流れる電流を受信し、同調と検波を行い、これをA/D変換・デモジュレーション部83に供給する。
Specifically, the transmission /
A/D変換・デモジュレーション部83は、受信部92からのデータをA/D変換した後、復調(デモジュレーション)し、これを、制御部84に供給する。
The A / D conversion /
制御部84は、A/D変換・デモジュレーション部83から供給されてきたデータに基づく処理を実行したり、送信するデータを、D/A変換・モジュレーション部85に対して供給したりする。
The
具体的には、制御部84には、制御処理部93、判定部94、およびタイマ95が設けられており、制御部84の内部では、それぞれデータの授受が可能である。制御処理部93は、非接触ICカード21や非接触ICカード23に対するコマンドを生成したり、非接触ICカード21や非接触ICカード23から供給されてきたレスポンスに対応する処理を実行する。
Specifically, the
判定部94は、非接触ICカード21や非接触ICカード23から供給されてきたレスポンス(データ)が、自分自身(すなわち、リーダライタ22)に対するレスポンスであるか否かを判定する。例えば、非接触ICカード21や非接触ICカード23から供給されてきたレスポンス(データ)の送信先に、自分自身(リーダライタ22)が指定されている場合には、自分自身に対するレスポンスであると判定し、他の装置のID(例えば、他のファイルシステムID)が指定されている場合には、自分自身に対するレスポンスでないと判定する。
The
タイマ95は、制御処理部93により生成されたコマンドが送信された後、そのコマンドに対応するレスポンスが送信されてくるまでの待機時間を設定する。例えば、タイマ95は、制御処理部93が生成したコマンドが、D/A変換・モジュレーション部85、送受信部82の送信部91、およびアンテナ81を介して、非接触ICカード21(または非接触ICカード23)に送信された場合、このコマンドに対するレスポンスが送信されてくるまでの待機時間T1を設定する。
The
次に、図4を参照して、図3の制御処理部93が生成するコマンドのパケット構造を説明する。すなわち、図4は、リーダライタ22から非接触ICカード21や非接触ICカード23に対して送信されるコマンド120のパケット構造の例である。
Next, a packet structure of a command generated by the
図4に示されるように、コマンド120には、Command data(コマンドデータ)121、File System ID(ファイルシステムID)122、Data(データ)123、およびCRC(Cyclic Redundancy Check)124が含まれている。
As shown in FIG. 4, the command 120 includes
コマンドデータ121は、そのコマンド120の送信先の装置に実行させるための指令(命令)である。ファイルシステムID122は、そのコマンドを実行させるファイルシステムを特定するためのファイルシステムIDである。例えば、非接触ICカード21のICカードOS45に実行させるコマンドを送信する場合、ファイルシステムIDはファイルシステムID#1となる。すなわち、送信先のファイルシステムIDが、コマンド120のファイルシステムID122に記述される。データ123は、コマンドデータ121の指令を実行するときに用いられるデータである。例えば、100円を課金するコマンドを送信する場合、コマンドデータ121は、「課金処理」の指令とされ、データ123は、「100円」とされる。CRC124は、巡回冗長検査のためのデータであり、受信側でそのデータが正しく受信できたか否かを検査するために用いられる。
The
なお、このCRC124を用いた検査は、図2の非接触ICカード21のA/D変換・デモジュレーション部43によって実行されるが、本発明とは直接関係がないので、その詳細は省略する。
The inspection using the
このように、コマンド120には、そのコマンドに対する処理を実行させるファイルシステムを特定するファイルシステムIDが含まれる。なお、送信元を特定するデータを含める場合、例えば、コマンドデータ121に格納されるようにしてもよいし、送信元を特定するデータを格納する領域を、別途設けるようにしてもよい。
As described above, the command 120 includes a file system ID for specifying a file system for executing processing for the command. When data specifying the transmission source is included, for example, it may be stored in the
図5は、リーダライタ22と非接触ICカード21の各部とにおいて実行されるデータの送受信処理を説明するフローチャートである。なお、図5は、リーダライタ22、非接触ICカード21の受信バッファ44、送信バッファ47、ICカードOS45、およびICカードOS46の各部において実行される処理をフローチャートにしているものである。また、この処理は、例えば、リーダライタ22に対して、非接触ICカード21にコマンドを送信するようユーザから指令され、非接触ICカード21が近接された場合などに開始される。さらに、図中、実線は、送信されるデータに含まれる送信先と、送信される側が一致することを示し(すなわち、送信されるデータが有効に用いられることを示し)、波線は、送信されるデータに含まれる送信先と、送信される側が一致しないことを示している。
FIG. 5 is a flowchart for explaining data transmission / reception processing executed by the reader /
ステップS11において、リーダライタ22は、ファイルシステムID#1を含むコマンドを送信する。具体的には、リーダライタ22は、図4のファイルシステムID122を、「ファイルシステムID#1」とするコマンド120を、非接触ICカード21に対して送信する。このとき、リーダライタ22は、コマンド120に対応するレスポンスの待ち時間(ウエイト時間)を、待ち時間T1と設定する(図中、R/Wウエイト時間と記述している)。なお、以下において、ステップS11の処理で生成された、図4のコマンド120のファイルシステムID122が「ファイルシステムID#1」とされたコマンド120を、コマンド120−1と称する。コマンド120−1は、図中、「ID#1付きコマンド」に対応する。
In step S11, the reader /
これに対して、非接触ICカード21の受信バッファ44は、ステップS31において、リーダライタ22から供給されてきたコマンド120−1を受信し、一時格納する。具体的には、受信バッファ44は、リーダライタ22から供給されてきたコマンド120−1を、アンテナ41、受信部62、およびA/D変換・デモジュレーション部43を介して受信し、一時格納する。
On the other hand, the
受信バッファ44にコマンド120−1が格納されると、ICカードOS45とICカードOS46とからそのコマンド120−1(データ)の読み出しが要求されるので、ステップS32において、受信バッファ44は、格納しているコマンド120−1を、ファイルシステムID#1のファイルシステム51を有するICカードOS45と、ファイルシステムID#2のファイルシステム52を有するICカードOS46とに供給する。
When the command 120-1 is stored in the
これに対して、ICカードOS45は、ステップS71において、受信バッファ44に格納されたコマンド120−1の供給を受け付け(取得し)、そのコマンド120−1に含まれる送信先のファイルシステムIDと、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、コマンド120−1は、ファイルシステムID#1を送信先としているので(図4のファイルシステムID122がファイルシステムID#1であるので)、ICカードOS45は、一致すると判定する。
On the other hand, in step S71, the
そして、ICカードOS45は、そのコマンド120−1に含まれるコマンドデータ121に対する処理を、データ123に基づいて実行し、ステップS72において、その処理結果を送信バッファ47に供給する。なお、このとき、ICカードOS45が実行した処理の結果、ファイルシステムID#2に実行させるための処理があると判定されたため、この処理結果は、送信先のファイルシステムIDを、「ファイルシステムID#2」としたコマンド120(図4のファイルシステムID122がファイルシステムID#2であるコマンド120)となる。なお、以下において、ICカードOS45によるコマンド120−1に対する処理を実行した結果である、図4のコマンド120のファイルシステムID122が「ファイルシステムID#2」とされたコマンド120を、コマンド120−2と称する。コマンド120−2は、図中、「ID#2付きコマンド」に対応する。
Then, the
一方、受信バッファ44によりステップS32において供給されたコマンド120−1は、ICカードOS46にも供給されるので、ICカードOS46は、ステップS91において、これを受け付け(取得し)、そのコマンド120−1に含まれる送信先のファイルシステムIDと、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、コマンド120−1は、ファイルシステムID#1を送信先としているので(図4のファイルシステムID122がファイルシステムID#1であるので)、ICカードOS46は、一致しないと判定し、そのまま待機する。
On the other hand, since the command 120-1 supplied in step S32 by the
また、送信バッファ47は、ステップS51において、ICカードOS45によりステップS72の処理で送信バッファ47に供給された処理結果、すなわち、ファイルシステムID#2を含むコマンド120−2を受け付け、これを格納するとともに、受信バッファ44に供給する。受信バッファ44は、ステップS33において、送信バッファ47から供給されたコマンド120−2(ファイルシステムID#2を含むコマンド120−2)を格納する。また、送信バッファ47にデータ(コマンド120−2)が格納されると、ステップS52において、D/A変換・モジュレーション部48によりそのデータが読み出され、送信部61、およびアンテナ41を介して、リーダライタ22に送信される。
Further, the
リーダライタ22は、ステップS12において、送信バッファ47に格納され、送信されたコマンド120−2(ファイルシステムID#2を含むコマンド120−2)を受信する。リーダライタ22は、このコマンド120−2のファイルシステムIDをみて、自分自身への応答でないことを確認すると、ステップS11の処理で設定した待ち時間T1をさらに延長し、時間T2とする(図中、R/W延長ウエイト時間と記述している)。
In step S12, the reader /
一方、ステップS33の処理で受信バッファ44にデータ(ファイルシステムID#2を含むコマンド120−2)が格納されると、ICカードOS45とICカードOS46からそのデータの読み出しが要求されるので、受信バッファ44は、ステップS34において、格納しているコマンド120−2を、ファイルシステムID#1のファイルシステム51を有するICカードOS45と、ファイルシステムID#2のファイルシステム52を有するICカードOS46とに供給する。
On the other hand, when data (command 120-2 including the file system ID # 2) is stored in the
これに対して、ICカードOS45は、ステップS73において、受信バッファ44に格納されたコマンド120−2の供給を受け付け(取得し)、そのコマンド120−2に含まれる送信先のファイルシステムIDと、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、コマンド120−2は、ファイルシステムID#2を送信先としているので(図4のファイルシステムID122がファイルシステムID#2であるので)、ICカードOS45は、一致しないと判定し、そのまま待機する。
On the other hand, the
一方、受信バッファ44によりステップS34において供給されたコマンド120−2は、ICカードOS46にも供給されるので、ICカードOS46は、ステップS92において、これを受け付け(取得し)、そのコマンド120に含まれる送信先のファイルシステムIDと、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、コマンド120−2は、ファイルシステムID#2を送信先としているので(図4のファイルシステムID122がファイルシステムID#2であるので)、ICカードOS46は、一致すると判定する。
On the other hand, since the command 120-2 supplied in step S34 by the
そして、ICカードOS46は、そのコマンド120−2に含まれるコマンドデータ121に対する処理を、データ123に基づいて実行し、ステップS93において、その処理結果を送信バッファ47に供給する。なお、このとき、ICカードOS46が実行した処理の結果は、ファイルシステムID#2のファイルシステム52を実行するICカードOS46から、ファイルシステムID#1のファイルシステム51を実行するICカードOS45へのレスポンスとなるので、この処理結果は、送信元のファイルシステムIDを「ファイルシステムID#2」とし、送信先のファイルシステムIDを「ファイルシステムID#1」としたレスポンスとなる。すなわち、ファイルシステムID#1のファイルシステム51を備えるICカードOS45から送信されてきたコマンド120−2に対応する処理を、ファイルシステムID#2のファイルシステム52のICカードOS46が実行した結果、そのレスポンスは、ファイルシステムID#1のファイルシステム51に戻される。なお、レスポンスのパケット構造は、図4のコマンドパケット構造と基本的に同様であり、コマンドデータ121が「レスポンスデータ」とされる。また、このレスポンスは、図中、「ID#2→ID#1へのレスポンス」に対応する。
Then, the
また、送信バッファ47は、ステップS53において、ICカードOS46によりステップS93の処理で送信バッファ47に供給された処理結果、すなわち、ファイルシステムID#2のファイルシステム52を送信元とし、ファイルシステムID#1のファイルシステム51を送信先とするレスポンス(ID#2→ID#1へのレスポンス)を受け付け、これを格納するとともに、受信バッファ44に供給する。受信バッファ44は、ステップS35において、送信バッファ47から供給されたレスポンス(ファイルシステムID#2を送信元とし、ファイルシステムID#1を送信先とするレスポンス)を格納する。また、送信バッファ47にデータ(レスポンス)が格納されると、ステップS54において、D/A変換・モジュレーション部48によりそのデータが読み出され、送信部61、およびアンテナ41を介して、リーダライタ22に送信される。
Also, the
リーダライタ22は、ステップS13において、送信バッファ47に格納され、送信されたレスポンス(ファイルシステムID#2を送信元とし、ファイルシステムID#1を送信先とするレスポンス)を受信する。リーダライタ22は、このレスポンスの送信先のファイルシステムIDをみて、自分自身への応答でないことを確認すると、ステップS12の処理で延長しておいた待ち時間T2をさらに延長し、時間T3とする(図中、R/W再延長ウエイト時間と記述している)。
In step S13, the reader /
一方、ステップS35の処理で受信バッファ44にデータ(送信元がファイルシステムID#2であり、送信先がファイルシステムID#1であるレスポンス)が格納されると、ICカードOS45とICカードOS46からそのデータの読み出しが要求されるので、受信バッファ44は、ステップS36において、格納しているレスポンスを、ファイルシステムID#1のファイルシステム51を有するICカードOS45と、ファイルシステムID#2のファイルシステム52を有するICカードOS46とに供給する。
On the other hand, when data (response that the transmission source is the file system ID # 2 and the transmission destination is the file system ID # 1) is stored in the
これに対して、ICカードOS45は、ステップS74において、受信バッファ44に格納されたレスポンス(送信元がファイルシステムID#2であり、送信先がファイルシステムID#1であるレスポンス)の供給を受け付け(取得し)、そのレスポンスに含まれる送信先のファイルシステムIDと、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、レスポンスは、送信元をファイルシステムID#2とし、送信先をファイルシステムID#1としているので、ICカードOS45は、一致すると判定する。
In response to this, in step S74, the
そして、ICカードOS45は、そのレスポンスに含まれるレスポンスデータ(図4のコマンドデータ121に対応するレスポンスデータ)に対する処理を実行し、ステップS75において、その処理結果を送信バッファ47に供給する。なお、このとき、ICカードOS45が実行した処理の結果は、リーダライタ22へのレスポンスであるとされるので、この処理結果は、送信元をファイルシステムID#1とし、送信先をリーダライタ22とするレスポンスとなる。例えば、このレスポンスには、送信元をファイルシステムID#1とし、送信先を、リーダライタ22を特定するIDなどとするデータが含まれる。このレスポンスは、図中、「ID#1からのレスポンス」に対応する。
Then, the
一方、受信バッファ44によりステップS36において供給されたレスポンス(送信元がファイルシステムID#2であり、送信先がファイルシステムID#1であるレスポンス)は、ICカードOS46にも供給されるので、ICカードOS46は、ステップS94において、これを受け付け(取得し)、そのレスポンスに含まれる送信先のファイルシステムIDと、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、レスポンスは、送信元とファイルシステムID#2とし、送信先をファイルシステムID#1としているので、ICカードOS46は、一致しないと判定し、そのまま待機する。
On the other hand, the response (the response whose transmission source is the file system ID # 2 and the transmission destination is the file system ID # 1) supplied by the
また、送信バッファ47は、ステップS55において、ICカードOS45によりステップS75の処理で送信バッファ47に供給されたレスポンス、すなわち、送信元をファイルシステムID#1とし、送信先をリーダライタ22とするレスポンスを受け付け、これを格納するとともに、受信バッファ44に供給する。受信バッファ44は、ステップS37において、送信バッファ47から供給されたレスポンス(送信元をファイルシステムID#1とし、送信先をリーダライタ22とするレスポンス)を格納する。また、送信バッファ47にデータ(レスポンス)が格納されると、ステップS56において、D/A変換・モジュレーション部48によりそのデータが読み出され、送信部61、およびアンテナ41を介して、リーダライタ22に送信される。
In addition, the
リーダライタ22は、ステップS14において、送信バッファ47に格納され、送信されたレスポンス(送信元をファイルシステムID#1とし、送信先をリーダライタ22とするレスポンス)を受信する。リーダライタ22は、このレスポンスをみて、自分自身への応答であることを確認すると、そのレスポンスに対応する所定の処理を実行し、処理を終了する。これにより、リーダライタ22は、ICカードOS45に設けられているファイルシステムID#1のファイルシステム51に送信したコマンド(コマンド120−1)に対応するレスポンスを、受信することができる。
In step S <b> 14, the reader /
一方、ステップS37の処理で受信バッファ44にデータ(送信元をファイルシステムID#1とし、送信先をリーダライタ22とするレスポンス)が格納されると、ICカードOS45とICカードOS46からそのデータの読み出しが要求されるので、受信バッファ44は、ステップS38において、格納しているレスポンスを、ファイルシステムID#1のファイルシステム51を有するICカードOS45と、ファイルシステムID#2のファイルシステム52を有するICカードOS46とに供給する。
On the other hand, when data (response with the transmission source as the file system ID # 1 and the transmission destination as the reader / writer 22) is stored in the
これに対して、ICカードOS45は、ステップS76において、受信バッファ44に格納されたレスポンスの供給を受け付け(取得し)、そのレスポンスに含まれる送信先(のID)と、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、レスポンスは、リーダライタ22を特定するIDなどを送信先としているので、ICカードOS45は、一致しないと判定し、そのまま待機する。そして、処理は終了される。
On the other hand, in step S76, the
一方、受信バッファ44によりステップS38において供給されたレスポンスは、ICカードOS46にも供給されるので、ICカードOS46は、ステップS95において、これを受け付け(取得し)、そのレスポンスに含まれる送信先(のID)と、自分自身に備えられているファイルシステムに対応するファイルシステムIDとが一致するか否かを判定する。この例の場合、レスポンスは、リーダライタ22を特定するIDなどを送信先としているので、ICカードOS46は、一致しないと判定し、そのまま待機する。そして、処理は終了される。
On the other hand, since the response supplied in step S38 by the
図5の処理により、リーダライタ22は、ファイルシステムID#1のファイルシステム51を有するICカードOS45に対するコマンドを送信するだけで、ファイルシステム51のICカードOS45とファイルシステム52のICカードOS46とで実行された処理結果をレスポンスとして受け取ることができる。また、リーダライタ22は、送信バッファ47に格納され、送信されてくるデータ(例えば、ステップS52の処理で送信されてくる、送信先をファイルシステムID#2とするコマンドや、ステップS54の処理で送信されてくる、送信先をファイルシステムID#1とするレスポンス)に基づいて、ファイルシステムID#1のファイルシステム51を有するICカードOS45に対するコマンドの待ち時間を延長するようにすることができ、エラーを防ぐことができる。
With the processing in FIG. 5, the reader /
さらに、ファイルシステムID#1のファイルシステム51を有するICカードOS45とファイルシステムID#2のファイルシステム52を有するICカードOS46との間で、一方が処理を実行した結果、他方のファイルシステムに実行させる処理があった場合に、一方のファイルシステムを有するICカードOSが、他方のファイルシステムを送信先とするデータを、送信バッファ47に一旦格納させるようにし、送信バッファ47に格納されたデータを、受信バッファ44にさらに格納させるようにすることで、受信バッファ44には、あたかも受信したとさせるデータが格納されることになり、直接ファイルシステムを有するICカードOS同士がアクセスすることを防ぐので、異なるファイルシステム間のやりとりを、安全に行うことができる。
Further, as a result of one of the processes executed between the
また、異なるファイルシステムを有するICカードOSが、一旦処理結果をリーダライタ22に戻さなくとも、非接触ICカード21の内部において、リーダライタ22に対するレスポンスを生成することができるので、リーダライタ22からのコマンドの受信回数を減らすことができ、もって、通信オーバーヘッドや速度の制限を減らすことができる。
Further, the IC card OS having a different file system can generate a response to the reader /
次に、図5の処理をより詳細に説明するために、図3のリーダライタ22における処理の詳細を、図6のフローチャートを参照して説明する。なお、この処理は、例えば、リーダライタ22に対して、非接触ICカード21にコマンドを送信するようユーザから指令され、非接触ICカード21が近接された場合などに開始される。
Next, in order to describe the processing of FIG. 5 in more detail, the details of the processing in the reader /
ステップS111において、リーダライタ22は、送信先のファイルシステムIDを含むコマンドを、非接触ICカード21に送信する。具体的には、図3の制御部84の制御処理部93は、近接された非接触ICカード21が有する複数のファイルシステムの中から、コマンドを送信するファイルシステムのファイルシステムIDを含めるよう、コマンドを生成し、これを送信するよう制御する。例えば、制御処理部93は、図4のファイルシステムID122を、「ファイルシステムID#1」とするコマンド120−1を生成し、これをD/A変換・モジュレーション部85に供給する。D/A変換・モジュレーション部85は、このコマンド120−1を変調した後、D/A変換し、これを、送受信部82の送信部91に供給する。送信部91は、この送信するデータに対する搬送波を変調した電磁波を、アンテナ81に送信することで、非接触ICカード21に対してコマンド120−1を送信する。なお、この処理は、基本的に、図5のステップS11に対応する処理である。
In step S <b> 111, the reader /
ステップS112において、タイマ95は、コマンド120−1に対応するレスポンスの待ち時間(ウエイト時間)を、待ち時間T1を設定する。すなわち、タイマ95は、送信したコマンド120−1に対応するレスポンス(応答)が送信されてくるまでの待機時間T1を設定する。なお、ステップS111とステップS112の処理は、基本的に、図5のステップS11に対応する処理である。
In step S112, the
ステップS113において、タイマ95は、設定されている待ち時間が経過したか否かを判定する。1回目のステップS113の処理では、ステップS111の処理でコマンド120−1を送信してから、ステップS112の処理で設定した待ち時間T1が経過したか否かを判定する。待ち時間T1が経過したと判定された場合、処理はステップS114に進み、制御処理部93は、エラー処理を実行し、処理を終了する。例えば、制御処理部93は、コマンドを送信してからそれに対応する応答が送信されてこなかったものと認識し、処理を終了する。
In step S113, the
ステップS113において、まだ待ち時間が経過していないと判定された場合、処理はステップS115に進み、送受信部82の受信部92は、非接触ICカード21からのレスポンスが送信されてきたか否かを判定する。例えば、図5のステップS52,ステップS54,またはステップS56の処理により、非接触ICカード21の送信バッファ47から各部を介してデータが送信されてくる場合に、受信部92は、非接触ICカード21からレスポンスが送信されてきたと判定する。
If it is determined in step S113 that the waiting time has not yet elapsed, the process proceeds to step S115, and the
ステップS115において、非接触ICカード21からのレスポンスが送信されてきたと判定された場合、ステップS116において、受信部92は、非接触ICカード21からのレスポンスを受信する。受信部92は、受信したレスポンスを、A/D変換・デモジュレーション部83に供給する。A/D変換・デモジュレーション部83は、このデータをA/D変換した後、復調し、これを制御部84に供給する。
If it is determined in step S115 that a response from the
ステップS117において、判定部94は、受信したレスポンスの送信先が自分自身であるか否かを判定する。すなわち、判定部94は、受信したレスポンスが、ステップS111の処理で非接触ICカード21に送信したコマンド120−1に対するレスポンスであるか否かを判定する。図5の例の場合、ステップS52とステップS54の処理で非接触ICカード21の送信バッファ47に格納され、送信されてきたレスポンスは、リーダライタ22に対するレスポンスではないので、NOと判定され、ステップS56の処理で非接触ICカード21の送信バッファ47に格納され、送信されてきたレスポンスは、リーダライタ22に対するレスポンスであるのでYESと判定される。なお、この処理では、送信先のアドレスが自分であるか否かに基づいて、そのレスポンスが正当であるか否かを判定しているが、送信元のアドレスが、ステップS111の処理でコマンドを送信したファイルシステムのファイルシステムIDであるか否かも、重ねて確認するようにしてもよい。
In step S117, the
ステップS117において、受信したレスポンスの送信先が自分自身でないと判定された場合、すなわち、受信したレスポンスが、他のファイルシステムIDのファイルシステムに対するレスポンス(またはコマンド)である場合、処理はステップS118に進む。 If it is determined in step S117 that the destination of the received response is not itself, that is, if the received response is a response (or command) to a file system with another file system ID, the process proceeds to step S118. move on.
ステップS118において、制御処理部93は、そのレスポンス(またはコマンド)に含まれる延長時間を取得する。具体的には、受信したレスポンス(またはコマンド)が、自分自身へのレスポンスではない場合、そのレスポンス(またはコマンド)には、待ち時間を延長するための延長時間が格納されている。そこで、制御処理部93は、そのレスポンスに含まれる延長時間を取得する。例えば、制御処理部93は、レスポンスに含まれる延長時間T11を取得する。
In step S118, the
ステップS119において、タイマ95は、延長時間に基づいて、待ち時間を延長する。1回目のステップS119の例の場合、ステップS112の処理で設定された待ち時間T1に、さらに延長時間T11を加算した、時間(T1+T11)を、新たな待ち時間T2に設定する。これにより、延長時間T11に基づいて、待ち時間T1が延長される。なお、以下において、時間(T1+T11)=T2とする。また、この処理は、図5のステップS12に対応する処理である。
In step S119, the
ステップS115において、非接触ICカード21からレスポンスが送信されてきていないと判定された場合、または、ステップS119の処理の後、処理はステップS113に戻り、それ以降の処理が繰り返される。例えば、2回目以降のステップS113の処理では、そのとき設定されている待ち時間(例えば、1回目のステップS119の処理で設定された待ち時間T2)が経過したか(コマンドを送信してから、時間T2が経過したか)否かが判定され、待ち時間内に、非接触ICカード21からレスポンスが送信されてきた場合、2回目のステップS117で、そのレスポンスの送信先が自分自身であるか否かが判定され、自分自身でないと判定された場合、2回目のステップS119において、延長時間に基づいて待ち時間がさらに延長され、時間T3とされる(図5のステップS13に対応する処理)。そして、その後のステップS113の処理では、コマンドを送信してから(ステップS111の後から)、待ち時間T3が経過したか否かが判定される。
If it is determined in step S115 that a response has not been transmitted from the
このように、リーダライタ22は、自分自身へのレスポンスが受信されるまで、待ち時間を延長することができる。
Thus, the reader /
そして、ステップS117において、受信したレスポンスの送信先が自分自身であると判定された場合、すなわち、ステップS111の処理で送信した非接触ICカード21へのコマンドに対するレスポンスを受信したと判定された場合、処理はステップS120に進み、制御処理部93は、そのレスポンスに対応する処理を実行する。その後、処理は終了される。なお、この処理は、図5のステップS14に対応する処理である。
If it is determined in step S117 that the destination of the received response is itself, that is, if it is determined that a response to the command to the
図6の処理により、レスポンスが自分自身へのレスポンスでない場合に、延長時間に基づいて、レスポンスが送信されてくるまでの待ち時間を延長するようにしたので、タイムアウトを防ぐことができる。また、リーダライタ22は、コマンドを1回送信するだけで、複数のファイルシステムにより実行された結果のレスポンスを受信することができる。
According to the processing of FIG. 6, when the response is not a response to itself, the waiting time until the response is transmitted is extended based on the extended time, so that a timeout can be prevented. Further, the reader /
次に、図5の処理をより詳細に説明するために、図2の受信バッファ44における処理の詳細を、図7のフローチャートを参照して説明する。
Next, in order to describe the process of FIG. 5 in more detail, the details of the process in the
ステップS151において、受信バッファ44は、データが供給されてきたか否かを判定し、供給されてくるまで待機する。具体的には、受信バッファ44は、A/D変換・デモジュレーション部43または送信バッファ47からデータが供給されてきたか否かを判定し、データが供給されてくるまで待機する。
In step S151, the
ステップS151において、データが供給されてきたと判定された場合、ステップS152において、受信バッファ44は、供給されてきたデータを格納(バッファリング)する。この処理は、図5の例においては、ステップS31,ステップS33,ステップS35,およびステップS37の処理に対応する処理である。
If it is determined in step S151 that data has been supplied, the
ステップS153において、受信バッファ44は、格納したデータは、自分自身が管理するファイルシステムのファイルシステムIDを含むか否かを判定する。具体的には、受信バッファ44は、格納したデータの送信先が、自分自身が管理するファイルシステムのファイルシステムIDであるか否かを判定する。図2の例の場合、受信バッファ44は、格納したデータの送信先が、ファイルシステムID#1またはファイルシステムID#2であるか否かを判定する。
In step S153, the
ステップS153において、格納したデータが、自分自身が管理するファイルシステムのファイルシステムIDを含まないと判定された場合、このデータは、非接触ICカード21に対して送信されたものではないので、ステップS154において、受信バッファ44は、格納したデータを破棄し、処理はステップS151に戻る。
If it is determined in step S153 that the stored data does not include the file system ID of the file system managed by itself, this data is not transmitted to the
一方、ステップS153において、格納したデータが、自分自身が管理するファイルシステムのファイルシステムIDを含むと判定された場合、このデータは、非接触ICカード21に対して送信されてきたものであるので、処理をステップS155に進める。例えば、格納したデータの送信先に、ファイルシステムID#1が記述されている場合や、ファイルシステムID#2が記述されている場合に、処理をステップS155に進める。
On the other hand, if it is determined in step S153 that the stored data includes the file system ID of the file system managed by itself, this data has been transmitted to the
ステップS155において、受信バッファ44は、ICカードOSからデータが要求されたか否かを判定する。図2の例の場合、ICカードOSは2つ(ICカードOS45とICカードOS46の2つ)あるので、受信バッファ44は、これらの2つのICカードOSからデータが要求される。
In step S155, the
ステップS155において、ICカードOSからデータが要求されたと判定された場合、処理はステップS156において、受信バッファ44は、ICカードOSに、要求されたデータを供給する。図2の例の場合、受信バッファ44は、ICカードOS45とICカードOS46とに、ステップS152の処理で格納したデータを供給する。なお、この処理は、図5の例の場合、ステップS32,ステップS35,ステップS36,およびステップS38の処理に対応する。
If it is determined in step S155 that data has been requested from the IC card OS, the process supplies the requested data to the IC card OS in step S156. In the case of the example in FIG. 2, the
ステップS155において、ICカードOSからデータが要求されていないと判定された場合、またはステップS156の処理の後、処理はステップS157に進み、受信バッファ44は、処理を終了するか否かを判定する。
If it is determined in step S155 that no data is requested from the IC card OS, or after the process of step S156, the process proceeds to step S157, and the
ステップS151においてデータが供給されてこないと判定された場合、ステップS154の処理の後、または、ステップS157において処理を終了しないと判定された場合、処理はステップS151に戻り、それ以降の処理が繰り返される。ステップS157において、処理を終了すると判定された場合、処理は終了される。 If it is determined in step S151 that no data is supplied, or after step S154, or if it is determined not to end the process in step S157, the process returns to step S151, and the subsequent processes are repeated. It is. If it is determined in step S157 that the process is to be terminated, the process is terminated.
図7の処理によれば、受信バッファ44は、供給されてきたデータを格納するとともに、ICカードOSからデータの読み出しが要求された場合に、要求されたデータを供給することができる。
According to the processing of FIG. 7, the
次に、図5の処理をより詳細に説明するために、図2の送信バッファ47における処理の詳細を、図8のフローチャートを参照して説明する。
Next, in order to describe the process of FIG. 5 in more detail, the details of the process in the
ステップS201において、送信バッファ47は、データが供給されてきたか否かを判定し、供給されてくるまで待機する。具体的には、送信バッファ47は、ICカードOS45またはICカードOS46からデータが供給されてきたか否かを判定し、データが供給されてくるまで待機する。
In step S201, the
ステップS201において、データが供給されてきたと判定された場合、ステップS202において、送信バッファ47は、供給されてきたデータを格納(バッファリング)する。この処理は、図5の例においては、ステップS51,ステップS53,およびステップS55の処理に対応する処理である。
If it is determined in step S201 that data has been supplied, the
ステップS203において、送信バッファ47は、供給されてきたデータを受信バッファ44に供給する。すなわち、ステップS201の処理で供給されてきたと判定されたデータが、受信バッファ44にも供給される。
In step S <b> 203, the
すなわち、ステップS202とステップS203の処理で、送信バッファ47にデータが供給されてきた場合、データが送信バッファ47に格納されるとともに、受信バッファ44にそのデータが供給される。
That is, when data is supplied to the
ステップS204において、送信バッファ47は、ステップS202の処理で格納したデータを、リーダライタ22に送信する。具体的には、送信バッファ47にデータが格納されると、D/A変換・モジュレーション部48から、そのデータが要求されるので、送信バッファ47は、D/A変換・モジュレーション部48に、格納したデータを供給する。D/A変換・モジュレーション部48は、そのデータを変調した後、D/A変換し、これを、送信部61に供給する。送信部は、送信するデータに対する搬送波を変調した電磁波を、アンテナ41に送信することで、リーダライタ22に対してデータを送信する。これにより、送信バッファ47に格納されたデータが、リーダライタ22に送信される。
In step S204, the
ステップS205において、送信バッファ47は、処理を終了するか否かを判定する。ステップS205において処理を終了しないと判定された場合、処理はステップS201に戻り、それ以降の処理が繰り返される。また、ステップS205において、処理を終了すると判定された場合、処理は終了される。
In step S205, the
図8の処理によれば、送信バッファ47は、供給されてきたデータを、格納するとともに、受信バッファ44に供給することができる。
According to the processing of FIG. 8, the
次に、図5の処理をより詳細に説明するために、図2のICカードOS45における処理の詳細を、図9のフローチャートを参照して説明する。すなわち、この処理は、ファイルシステムID#1のファイルシステム51を有するICカードOS45が実行する処理である。なお、この処理は、後述する図10の処理(ICカードOS46が実行する処理)と基本的に同様であるが、図5の処理に対応するICカードOS45が実行する処理として、説明していく。
Next, in order to describe the process of FIG. 5 in more detail, the details of the process in the
ステップS251において、ICカードOS45は、受信バッファ44にデータが格納されたか否かを判定し、データが格納されるまで待機する。例えば、図7のステップS153の処理で自分自身が管理するファイルシステムIDを含むと判定された場合(すなわち、ステップS153でYESと判定され、格納されたデータが破棄されなかった場合)に、ICカードOS45は、受信バッファ44にデータが格納されたと判定する。すなわち、ICカードOS45は、受信バッファ44に格納されたデータを取得できると確認したとき(破棄されないと確認したとき)、受信バッファ44にデータが格納されたと判定する。
In step S251, the
ステップS251において、受信バッファ44にデータが格納されたと判定された場合、処理はステップS252に進み、ICカードOS45は、受信バッファ44に格納されたデータを取得する。すなわち、ICカードOS45は、受信バッファ44に格納されたデータの読み出しを要求し、そのデータを読み出す。
If it is determined in step S251 that data has been stored in the
ステップS253において、ICカードOS45は、取得したデータの送信先のファイルシステムIDが、ファイルシステムID#1であるか否かを判定する。すなわち、ICカードOS45は、自分自身が有するファイルシステム51のファイルシステムID#1が、そのデータの送信先として指定されているか否かを判定する。このことは、取得したデータが、自分宛に送信されたものであるか否かを判定することと等価である。
In step S253, the
なお、このとき判定されるデータは、図5の例の場合、ステップS71,ステップS73,ステップS74,およびステップS76の処理で取得されるコマンドやレスポンスである。より具体的には、図5のステップS71の処理で取得されるデータは、送信先がファイルシステムID#1であるコマンド120−1であるので、ステップS253の処理では、YESと判定される。また、図5のステップS73の処理で取得されるデータは、送信先がファイルシステムID#2であるコマンド120−2であるので、ステップS253の処理ではNOと判定される。さらに、図5のステップS74の処理で取得されるデータは、送信先がファイルシステムID#1であるレスポンスであるので、ステップS253の処理ではYESと判定される。また、図5のステップS76の処理で取得されるデータは、送信先がリーダライタ22を特定するIDであるレスポンスであるので、ステップS253の処理ではNOと判定される。
In the case of the example of FIG. 5, the data determined at this time is a command or a response acquired in the processing of step S71, step S73, step S74, and step S76. More specifically, since the data acquired in the process of step S71 in FIG. 5 is the command 120-1 whose transmission destination is the file system ID # 1, it is determined YES in the process of step S253. Further, since the data acquired in the process of step S73 in FIG. 5 is the command 120-2 whose transmission destination is the file system ID # 2, it is determined NO in the process of step S253. Furthermore, since the data acquired in the process of step S74 in FIG. 5 is a response whose transmission destination is the file system ID # 1, it is determined YES in the process of step S253. Further, since the data acquired in the process of step S76 in FIG. 5 is a response whose transmission destination is an ID for specifying the reader /
ステップS253において、取得したデータの送信先のファイルシステムIDがファイルシステムID#1と判定された場合、すなわち、取得したデータの送信先が自分自身であると判定された場合、処理はステップS254に進む。図5の例の場合、ステップS71またはステップS74の処理に対応する。 If it is determined in step S253 that the file system ID of the acquired data transmission destination is file system ID # 1, that is, if it is determined that the acquired data transmission destination is itself, the process proceeds to step S254. move on. In the case of the example in FIG. 5, this corresponds to the processing in step S71 or step S74.
ステップS254において、ICカードOS45は、ステップS252の処理で取得したデータに対応する処理を実行する。この処理が図5のステップS71に対応する場合、取得されたデータは、コマンド120−1であるので、ICカードOS45は、コマンド120−1に含まれるコマンドデータ121(図4)と、データ123とに基づく処理を実行する。また、この処理が、図5のステップS74に対応する場合、取得されたデータは、レスポンスであるので、ICカードOS45は、レスポンスに含まれるデータに基づく処理を実行する。
In step S254, the
ステップS255において、ICカードOS45は、ステップS254の処理による処理結果を、他のファイルシステムのICカードOSに送信するか否かを判定する。具体的には、ICカードOS45は、処理を実行した結果を、非接触ICカード21の内部に設けられている他のファイルシステム(図2の例の場合、ファイルシステム51とは異なるファイルシステム52)のICカードOSに送信するか、リーダライタ22に送信するか否かを判定する。すなわち、ICカードOS45は、処理を実行した結果が、他のファイルシステムのICカードOSに送信するものであるか、リーダライタ22に送信するものであるか否かを判定する。例えば、この処理が、図5のステップS71の処理に対応する処理である場合、処理結果を、他のファイルシステムのICカードOS46に送信すると判定される。
In step S255, the
ステップS255において、処理結果を、他のファイルシステムのICカードOSに送信すると判定された場合、ステップS256において、ICカードOS45は、処理結果に、送信先のファイルシステムIDを含める。例えば、この処理が、図5のステップS71の処理に対応する処理である場合、ICカードOS45は、処理結果であるコマンド120(図4)の送信先であるファイルシステムID122を、「ファイルシステムID#2」とすることで、処理結果に送信先のファイルシステムIDを含める。
When it is determined in step S255 that the processing result is transmitted to the IC card OS of another file system, in step S256, the
ステップS257において、ICカードOS45は、処理結果に延長時間を含める。延長時間とは、リーダライタ22により図6のステップS112の処理で設定された待ち時間を延長するための時間であり、図6のステップS119の処理で、待ち時間を延長するのに用いられる。すなわち、ICカードOS45は、処理結果を、他のファイルシステムのICカードOSに送信する場合、リーダライタ22にレスポンスが送信されてくるまでの待ち時間を延長して貰うために、処理結果に延長時間を含める。例えば、処理結果がコマンド120である場合、図4のデータ123の部分に延長時間(例えば、時間T11)を含める。
In step S257, the
ステップS255において、処理結果を他のファイルシステムのICカードOSに送信しない(この例の場合、処理結果をリーダライタ22に送信する)と判定された場合、またはステップS257の処理の後、処理はステップS258に進む。 If it is determined in step S255 that the processing result is not transmitted to the IC card OS of another file system (in this example, the processing result is transmitted to the reader / writer 22), or after the processing in step S257, the processing is performed. The process proceeds to step S258.
なお、処理結果がリーダライタ22に送信されるものである場合には、その処理結果の送信先は、リーダライタ22を特定するIDとされている。
When the processing result is transmitted to the reader /
ステップS258において、ICカードOS45は、処理結果を送信バッファ47に供給する。これにより、処理結果がリーダライタ22に送信するものである場合には、処理結果がリーダライタ22と受信バッファ44に送信されるとともに、処理結果が他のファイルシステムのICカードOSに送信するものである場合には、処理結果に延長時間が含められて、リーダライタ22と受信バッファ44に送信される。
In step S <b> 258, the
ステップS253において、取得したデータの送信先のファイルシステムIDがファイルシステムID#1でない(この例の場合、取得したデータの送信先のファイルシステムIDがファイルシステムID#2である)と判定された場合、または、ステップS258の処理の後、処理はステップS259に進む。 In step S253, it is determined that the file system ID of the acquired data transmission destination is not the file system ID # 1 (in this example, the file system ID of the acquired data transmission destination is the file system ID # 2). If, or after the process of step S258, the process proceeds to step S259.
ステップS259において、ICカードOS45は、処理を終了するか否かを判定し、処理を終了しないと判定された場合、処理はステップS251に戻り、それ以降の処理が繰り返される。ステップS259において、処理を終了すると判定された場合、処理は終了される。
In step S259, the
図9の処理によれば、ICカードOS45は、取得したデータが自分自身に対するものである場合(送信先のファイルシステムIDが、自分自身が実行するファイルシステム51のファイルシステムID#1と一致する場合)、取得したデータに対応する処理を実行し、自分自身に対するものでない場合、処理を実行しない。
According to the processing of FIG. 9, the
また、ICカードOS45は、処理を実行した結果、処理結果を、他のファイルシステムのICカードOSに送信する場合には、処理結果に送信先のファイルシステムIDを含めるとともに、リーダライタ22に通知するための延長時間を含めるようにしたので、リーダライタ22側で、待ち時間を延長することができる。
Further, when the processing result is transmitted to the IC card OS of another file system as a result of executing the processing, the
次に、図5の処理をより詳細に説明するために、図2のICカードOS46における処理の詳細を、図10のフローチャートを参照して説明する。すなわち、この処理は、ファイルシステムID#2のファイルシステム52を有するICカードOS46が実行する処理である。なお、この処理は、上述した図9の処理(ICカードOS45が実行する処理)と基本的に同様であるが、図5の処理に対応するICカードOS46が実行する処理として、説明していく。
Next, in order to describe the process of FIG. 5 in more detail, the details of the process in the
ステップS301において、ICカードOS46は、受信バッファ44にデータが格納されたか否かを判定し、データが格納されるまで待機する。例えば、図7のステップS153の処理で自分自身が管理するファイルシステムIDを含むと判定された場合(すなわち、ステップS153でYESと判定され、格納されたデータが破棄されなかった場合)に、ICカードOS46は、受信バッファ44にデータが格納されたと判定する。すなわち、ICカードOS46は、受信バッファ44に格納されたデータを取得できると確認したとき(破棄されないと確認したとき)、受信バッファ44にデータが格納されたと判定する。
In step S301, the
ステップS301において、受信バッファ44にデータが格納されたと判定された場合、処理はステップS302に進み、ICカードOS46は、受信バッファ44に格納されたデータを取得する。すなわち、ICカードOS46は、受信バッファ44に格納されたデータの読み出しを要求し、そのデータを読み出す。
If it is determined in step S301 that data has been stored in the
このように、ICカードOS46が受信バッファ44からデータを取得するタイミングは、ICカードOS45が受信バッファ44からデータを取得するタイミング(図9のステップS252)と同様であり、受信バッファ44にデータが格納された場合には、ICカードOS45とICカードOS46とにより、データが取得される。
As described above, the timing at which the
ステップS303において、ICカードOS46は、取得したデータの送信先のファイルシステムIDが、ファイルシステムID#2であるか否かを判定する。すなわち、ICカードOS46は、自分自身が有するファイルシステム52のファイルシステムID#2が、そのデータの送信先として指定されているか否かを判定する。このことは、取得したデータが、自分宛に送信されたものであるか否かを判定することと等価である。
In step S303, the
なお、このとき判定されるデータは、図5の例の場合、ステップS91,ステップS92,ステップS94,およびステップS95の処理で取得されるコマンドやレスポンスである。より具体的には、図5のステップS91の処理で取得されるデータは、送信先がファイルシステムID#1であるコマンド120−1であるので、ステップS303の処理では、NOと判定される。また、図5のステップS92の処理で取得されるデータは、送信先がファイルシステムID#2であるコマンド120−2であるので、ステップS303の処理ではYESと判定される。さらに、図5のステップS94の処理で取得されるデータは、送信先がファイルシステムID#1であるレスポンスであるので、ステップS303の処理ではNOと判定される。また、図5のステップS95の処理で取得されるデータは、送信先がリーダライタ22を特定するIDであるレスポンスであるので、ステップS303の処理ではNOと判定される。
In the case of the example of FIG. 5, the data determined at this time is a command or a response acquired in the processes of step S91, step S92, step S94, and step S95. More specifically, since the data acquired in the process of step S91 in FIG. 5 is the command 120-1 whose transmission destination is the file system ID # 1, it is determined NO in the process of step S303. Further, since the data acquired in the process of step S92 of FIG. 5 is the command 120-2 whose transmission destination is the file system ID # 2, it is determined YES in the process of step S303. Furthermore, since the data acquired in the process of step S94 in FIG. 5 is a response whose transmission destination is the file system ID # 1, it is determined NO in the process of step S303. Further, since the data acquired in the process of step S95 in FIG. 5 is a response whose transmission destination is an ID for identifying the reader /
ステップS303において、取得したデータの送信先のファイルシステムIDがファイルシステムID#2と判定された場合、すなわち、取得したデータの送信先が自分自身であると判定された場合、処理はステップS304に進む。図5の例の場合、ステップS92の処理に対応する。 If it is determined in step S303 that the file system ID of the acquired data transmission destination is file system ID # 2, that is, if it is determined that the acquired data transmission destination is itself, the process proceeds to step S304. move on. In the case of the example in FIG. 5, this corresponds to the processing in step S92.
ステップS304において、ICカードOS46は、ステップS302の処理で取得したデータに対応する処理を実行する。この処理が図5のステップS92に対応する場合、取得されたデータは、コマンド120−2であるので、ICカードOS46は、コマンド120−2に含まれるコマンドデータ121(図4)と、データ123とに基づく処理を実行する。
In step S304, the
このように、受信バッファ44に格納されたデータは、ICカードOS45とICカードOS46とに取得され(図9のステップS252と図10のステップS302)、送信先の対応するICカードOSのみが、そのデータに対応する処理を実行する。
As described above, the data stored in the
ステップS305において、ICカードOS46は、ステップS304の処理による処理結果を、他のファイルシステムのICカードOSに送信するか否かを判定する。具体的には、ICカードOS46は、処理を実行した結果を、非接触ICカード21の内部に設けられている他のファイルシステム(図2の例の場合、ファイルシステム52とは異なるファイルシステム51)のICカードOSに送信するか、リーダライタ22に送信するか否かを判定する。すなわち、ICカードOS46は、処理を実行した結果が、他のファイルシステムのICカードOSに送信するものであるか、リーダライタ22に送信するものであるか否かを判定する。このとき、ICカードOS46が、他のファイルシステムを有するICカードOS(例えば、ICカードOS45)からのコマンドに対応する処理を実行した場合(例えば、図5のステップS92の処理を実行した場合)、そのレスポンスは、ICカードOS45に送信する必要があるので、処理結果を、他のファイルシステムのICカードOSに送信すると判定する。
In step S305, the
ステップS305において、処理結果を、他のファイルシステムのICカードOSに送信すると判定された場合、ステップS306において、ICカードOS46は、処理結果に、送信先のファイルシステムIDを含める。例えば、この処理が、図5のステップS92の処理に対応する処理である場合、ICカードOS46は、処理結果であるレスポンスの送信先であるファイルシステムIDを、「ファイルシステムID#1」とすることで、処理結果に送信先のファイルシステムIDを含める。なお、このとき、送信元のファイルシステムIDは、ファイルシステムID#2とされて、レスポンスに含められている(例えば、ICカードOS46が処理を実行したときにその結果に、送信元のファイルシステムID#2が含められている)。
When it is determined in step S305 that the processing result is transmitted to the IC card OS of another file system, in step S306, the
ステップS307において、ICカードOS46は、処理結果に延長時間を含める。延長時間とは、リーダライタ22により図6のステップS112の処理で設定された待ち時間を延長するための時間であり、図6のステップS119の処理で、待ち時間を延長するのに用いられる。すなわち、ICカードOS46は、処理結果を、他のファイルシステムのICカードOSに送信する場合、リーダライタ22にレスポンスが送信されてくるまでの待ち時間を延長して貰うために、処理結果に延長時間を含める。
In step S307, the
ステップS305において、処理結果を他のファイルシステムのICカードOSに送信しない(この例の場合、処理結果をリーダライタ22に送信する)と判定された場合、またはステップS307の処理の後、処理はステップS308に進む。 In step S305, when it is determined that the processing result is not transmitted to the IC card OS of another file system (in this example, the processing result is transmitted to the reader / writer 22), or after the processing of step S307, the processing is performed. Proceed to step S308.
なお、処理結果がリーダライタ22に送信されるものである場合には、その処理結果の送信先は、リーダライタ22を特定するIDとされている。
When the processing result is transmitted to the reader /
ステップS308において、ICカードOS46は、処理結果を送信バッファ47に供給する。これにより、処理結果がリーダライタ22に送信するものである場合には、処理結果がリーダライタ22と受信バッファ44に送信されるとともに、処理結果が他のファイルシステムのICカードOSに送信するものである場合には、処理結果に延長時間が含められて、リーダライタ22と受信バッファ44に送信される。
In step S <b> 308, the
ステップS303において、取得したデータの送信先のファイルシステムIDがファイルシステムID#2でない(この例の場合、取得したデータの送信先のファイルシステムIDがファイルシステムID#1である)と判定された場合、または、ステップS308の処理の後、処理はステップS309に進む。 In step S303, it is determined that the file system ID of the acquired data transmission destination is not the file system ID # 2 (in this example, the file system ID of the acquired data transmission destination is the file system ID # 1). If, or after the process of step S308, the process proceeds to step S309.
ステップS309において、ICカードOS46は、処理を終了するか否かを判定し、処理を終了しないと判定された場合、処理はステップS301に戻り、それ以降の処理が繰り返される。ステップS309において、処理を終了すると判定された場合、処理は終了される。
In step S309, the
図9の処理によれば、ICカードOS46は、取得したデータが自分自身に対するものである場合(送信先のファイルシステムIDが、自分自身が実行するファイルシステム52のファイルシステムID#2と一致する場合)、取得したデータに対応する処理を実行し、自分自身に対するものでない場合、処理を実行しない。
According to the processing of FIG. 9, the
また、ICカードOS46は、処理を実行した結果、処理結果を、他のファイルシステムのICカードOSに送信する場合には、処理結果に送信先のファイルシステムIDを含めるとともに、リーダライタ22に通知するための延長時間を含めるようにしたので、リーダライタ22側で、待ち時間を延長することができる。
In addition, when the processing result is transmitted to the IC card OS of another file system as a result of executing the processing, the
以上により、非接触ICカード21が、複数のファイルシステムを有する場合、送信バッファに格納されたデータを受信バッファにも供給するように構成するとともに、各ファイルシステムで実行された結果を他のファイルシステムにも供給する構成としたので、非接触ICカード21の中で、セキュリティを保ちつつ、複数のファイルシステムによる処理を実行させることができる。
As described above, when the
すなわち、非接触ICカード21内に複数のファイルシステムが設けられている状態で、外部のリーダライタ22により送信された、ひとつのファイルシステムを指定したコマンドに基づいて処理を実行する場合、非接触ICカード21の指定されたファイルシステムにおいて処理が実行された後、他のファイルシステムに処理を実行させる場合(例えば、図9のステップS255でYESの場合)、そのコマンドを、あたかも非接触ICカード21が受信したものと見なすように、受信バッファ44に格納するとともにリーダライタ22にも送信するようにした(例えば、図9のステップS258、図8のステップS203)ので、複数のファイルシステムにおける処理を連携させることができる。
That is, in the case where a plurality of file systems are provided in the
また、リーダライタ22は、非接触ICカード21の複数のファイルシステムの中の1つのファイルシステムを特定するデータ(ID)を付加したコマンドを送信するだけで、複数のファイルシステムにより実行された結果を、最終的なレスポンスとして受け取ることができる(例えば、図5のステップS14の処理)。
Further, the reader /
例えば、リーダライタ22にファイルシステムID#1のファイルシステム51に対する処理しかあらかじめ登録されていない場合、一般的には、そのファイルシステムID#1のファイルシステム51のICカードOS45の処理結果しか受け取ることができないが、本発明によれば、リーダライタ22にファイルシステムID#1のファイルシステム51に対する処理しかあらかじめ登録されていない場合であっても、非接触ICカード21の中で、複数のファイルシステムに渡って処理を実行し、その結果を、ICカードOS45からのレスポンスとして送信するようにした(例えば、図5のステップS56)ので、リーダライタ22に前もって登録されているコマンドに対する処理以外の処理であっても、実行させることができる。
For example, when only processing for the
すなわち、リーダライタ22の有するコマンドに制限されず、非接触ICカード21のみが有するコマンドを用いてファイルシステム間通信を行うことができ、処理の柔軟性や安全性を向上させることができる。
That is, it is not limited to the commands that the reader /
また、非接触ICカード21内において、リーダライタ22から1つコマンドを受信するだけで(例えば、図5のステップS31の処理でコマンドを受信するだけで)、複数のファイルシステムにおける処理を実行することができるので、リーダライタ22からのコマンドを受ける回数を減らすことができ、通信オーバーヘッドなども少なくなり、もって、最終的なレスポンスを送信するまでの時間を短くすることができる。
Further, in the
さらに、ファイルシステム間のファイアウォールを壊すことなく、外部のリーダライタ22からの通信と同様に、非接触ICカード21内の処理を実行することができるので、セキュリティの脆弱性の発生を抑えつつ、非接触ICカード21内が有する複数のファイルシステム間の連携を可能とすることができる。
Furthermore, the processing in the
また、非接触ICカード21の1つのファイルシステムにより実行された結果を、他のファイルシステムに送信する場合に、同様のデータをリーダライタ22にも送信するようにしたので、リーダライタ22は、処理の途中経過を知ることができ、待ち時間を調整することができる。
In addition, when the result executed by one file system of the
さらに、非接触ICカード21の1つのファイルシステムにより実行された結果を、他のファイルシステムに送信する場合に、その処理結果に、延長時間を含めるようにしたので、リーダライタ22は、待ち時間を延長することができ、タイムアウトになるのを防ぐことができる。
Furthermore, when the result executed by one file system of the
なお、以上の例では、ICカードOSが処理を実行した結果、他のファイルシステムのICカードOSに処理をさせる場合に、処理結果に延長時間を含めるようにしたが、延長時間を含めないようにしてもよい。この場合、リーダライタ22が、処理結果が自分自身宛のレスポンスでないと判断した場合に、あらかじめ決められた所定の時間だけ延長するようにすればよい。
In the above example, when the IC card OS executes processing as a result of processing performed by the IC card OS of another file system, the extended time is included in the processing result, but the extended time is not included. It may be. In this case, when the reader /
また、以上の例では、非接触ICカード21に2つのファイルシステム51,52を設けるようにしたが、この個数は2つに限らず、2つ以上の複数のファイルシステムを設ける構成としてもよい。
In the above example, the two
さらに、以上の例(図2の例)では、ICカードOSがそれぞれ、ファイルシステムIDで特定されるファイルシステムを有する構成としたが、1つのICカードOSが、ファイルシステムIDで特定される複数のファイルシステムを読み出して、それに対する処理を実行する構成としてもよい。この場合の非接触ICカード201構成例を、図11に示す。なお、図中、図2と対応する部分については、同一の符号を付してあり、その説明は繰り返しになるので省略する。
Furthermore, in the above example (example of FIG. 2), each IC card OS has a file system specified by the file system ID. However, a plurality of IC card OSs are specified by the file system ID. It is good also as a structure which reads the file system of this and performs the process with respect to it. A configuration example of the
図11において、非接触ICカード201には、アンテナ41、送受信部42、A/D(アナログ/デジタル)変換・デモジュレーション部43、受信バッファ44、送信バッファ47、D/A(デジタル/アナログ)変換・モジュレーション部48、ファイルシステムID#1のファイルシステム51、および、ファイルシステムID#2のファイルシステム52の他、ICカードOS221がさらに設けられている。
11, a
アンテナ41、送受信部42、A/D変換・デモジュレーション部43、受信バッファ44、送信バッファ47、およびD/A変換・モジュレーション部48の構成は、上述した図2の各部と同様である。
The configurations of the
ICカードOS221は、非接触ICカード21に設けられている複数のファイルシステムに基づく処理をそれぞれ実行する。すなわち、ICカードOS221は、ファイルシステムID#1のファイルシステム51に基づいて、コマンドやレスポンスに対応する処理を実行したり、ファイルシステムID#2のファイルシステム52に基づいて、コマンドやレスポンスに対応する処理を実行する。
The
すなわち、ICカードOS221は、図2のICカードOS45やICカードOS46とように、内部にファイルシステムを有する構成ではなく、別途設けられている複数のファイルシステムのそれぞれに従って、対応する処理を実行する。
That is, the
このように、ICカードOS221そのものにファイルシステムが格納されていなくても、ICカードOS221が、非接触ICカード21に設けられている複数のファイルシステム(ファイルシステム51とファイルシステム52)とを別々に(独立させて)実行するようにすることで、上述した処理と同様の処理を実行することができ、本発明を適用することができる。
As described above, even if the file system is not stored in the
具体的には、図5や図9の「ICカードOS45」の処理は、図11のファイルシステムID#1のファイルシステム51に基づく処理を実行するICカードOS221が実行するものとし、図5や図10の「ICカードOS46」の処理は、図11のファイルシステムID#2のファイルシステム52に基づく処理を実行するICカードOS221が実行するものとすればよい。
Specifically, the processing of “
なお、上述した処理では、非接触ICカード21、リーダライタ22、および非接触ICカード23間の通信を、ISO/IEC15693に準拠した規格により行うものとしたが、非接触ICカード21、リーダライタ22、および非接触ICカード23間の通信は、IEEE(The Institute of Electrical and Electronic Engineers)802.11a,802.11b、および802.11gなどの無線LAN(Local Area Network)、またはBluetooth等様々な非接触による通信(無線通信)や、ISO/IEC 7816で規定されている接触式通信、さらには、Ethernet(登録商標)やUSB(Universal Serial Bus)等様々な有線通信であってもよい。
In the above-described processing, communication between the
上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウエアにより実行させることもできる。この場合、上述した処理は、図12に示されるようなパーソナルコンピュータにより実行される。 The series of processes described above can be executed by hardware or can be executed by software. In this case, the processing described above is executed by a personal computer as shown in FIG.
図12において、CPU(Central Processing Unit)501は、ROM(Read Only Memory)502、または記憶部508に記憶されているプログラムに従って各種の処理を実行する。RAM(Random Access Memory)503には、CPU501が実行するプログラムやデータなどが適宜記憶される。これらのCPU501、ROM502、およびRAM503は、バス504により相互に接続されている。
In FIG. 12, a CPU (Central Processing Unit) 501 executes various processes according to a program stored in a ROM (Read Only Memory) 502 or a
CPU501にはまた、バス504を介して入出力インターフェース505が接続されている。入出力インターフェース505には、キーボード、マウス、マイクロホンなどよりなる入力部506、ディスプレイ、スピーカなどよりなる出力部507が接続されている。CPU501は、入力部506から入力される指令に対応して各種の処理を実行する。そして、CPU501は、処理の結果を出力部507に出力する。
An input /
入出力インターフェース505に接続されている記憶部508は、例えばハードディスクからなり、CPU501が実行するプログラムや各種のデータを記憶する。通信部509は、インターネットやローカルエリアネットワークなどのネットワークを介して外部の装置と通信する。
A
また、通信部509を介してプログラムを取得し、記憶部508に記憶してもよい。
A program may be acquired via the
入出力インターフェース505に接続されているドライブ510は、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア521が装着されたとき、それらを駆動し、そこに記録されているプログラムやデータなどを取得する。取得されたプログラムやデータは、必要に応じて記憶部508に転送され、記憶される。
A
一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム格納媒体からインストールされる。 When a series of processing is executed by software, a program constituting the software executes various functions by installing a computer incorporated in dedicated hardware or various programs. For example, the program is installed in a general-purpose personal computer from the program storage medium.
コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを格納するプログラム格納媒体は、図12に示すように、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory),DVD(Digital Versatile Disc)を含む)、光磁気ディスク(MD(Mini-Disc)を含む)、もしくは半導体メモリなどよりなるパッケージメディアであるリムーバブルメディア521、または、プログラムが一時的もしくは永続的に格納されるROM502や、記憶部508を構成するハードディスクなどにより構成される。プログラム格納媒体へのプログラムの格納は、必要に応じてルータ、モデムなどのインターフェースである通信部509を介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の通信媒体を利用して行われる。
As shown in FIG. 12, a program storage medium for storing a program that is installed in a computer and is ready to be executed by the computer is a magnetic disk (including a flexible disk), an optical disk (CD-ROM (Compact Disc-Read Only). Memory), DVD (including Digital Versatile Disc)), magneto-optical disk (including MD (Mini-Disc)), or
なお、本明細書において、プログラム格納媒体に格納されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 In the present specification, the step of describing the program stored in the program storage medium is not limited to the processing performed in time series according to the described order, but is not necessarily performed in time series. Or the process performed separately is also included.
11 通信システム, 21 非接触ICカード, 22 リーダライタ, 23 非接触ICカード, 44 受信バッファ, 45 ICカードOS, 46 ICカードOS, 47 送信バッファ, 51 ファイルシステムID#1のファイルシステム, 52 ファイルシステムID#2のファイルシステム, 61 送信部, 62 受信部, 91 送信部, 92 受信部, 93 制御処理部, 94 判定部, 95 タイマ, 120 コマンド, 121 コマンドデータ, 122 ファイルシステムID, 123 データ, 124 CRC, 221 ICカードOS
DESCRIPTION OF SYMBOLS 11 Communication system, 21 Non-contact IC card, 22 Reader / writer, 23 Non-contact IC card, 44 Reception buffer, 45 IC card OS, 46 IC card OS, 47 Transmission buffer, 51 File system ID # 1 file system, 52 files File system of
Claims (10)
前記情報処理装置は、
前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を送信する第1の送信手段と、
前記第1の送信手段により送信した前記指令に対する前記情報端末装置からの応答を受信する第1の受信手段と
を備え、
前記情報端末装置は、
前記第1の送信手段により送信されてきた前記指令を受信する第2の受信手段と、
前記第2の受信手段により受信された前記指令を記憶する受信記憶手段と、
複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段により記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行する実行手段と、
前記実行手段により実行された処理の結果である実行結果を、前記情報端末装置に送信するために記憶するとともに、前記実行結果を、前記受信記憶手段に供給する送信記憶手段と、
前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する第2の送信手段と
を備え、
前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め、
前記送信記憶手段は、前記実行手段により実行された処理の結果である前記実行結果を記憶するとともに、前記実行結果を前記受信記憶手段に供給し、
前記第2の送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し、
前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し、
前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する
通信システム。 In a communication system in which an information processing device communicates with an information terminal device having a plurality of file systems,
The information processing apparatus includes:
A first transmission means for transmitting a command including a file system ID for specifying one file system as a transmission destination among a plurality of file systems included in the information terminal device;
First receiving means for receiving a response from the information terminal device to the command transmitted by the first transmitting means;
The information terminal device
Second receiving means for receiving the command transmitted by the first transmitting means;
Receiving storage means for storing the command received by the second receiving means;
The file corresponding to one file system of a plurality of file systems, acquiring the command stored by the reception storage means, and the file system ID included in the acquired command corresponding to itself An execution means for executing a process corresponding to the command when the file system ID matches the system;
A transmission storage means for storing an execution result, which is a result of the process executed by the execution means, for transmission to the information terminal device, and supplying the execution result to the reception storage means;
Second execution means for transmitting the execution result stored in the transmission storage means to the information terminal device;
As a result of executing the process corresponding to the command, when the execution unit includes a process executed by another file system of the plurality of file systems included in the information terminal device, the execution result includes a transmission destination Including another file system ID identifying the other file system,
The transmission storage means stores the execution result that is a result of the process executed by the execution means, and supplies the execution result to the reception storage means,
The second transmission unit transmits the execution result stored in the transmission storage unit as a response to the information processing apparatus,
The reception storage means further stores the execution result supplied from the transmission storage means,
The execution unit acquires the execution result stored in the reception storage unit, and the file system ID of the transmission destination included in the acquired execution result specifies the file system corresponding to itself. A communication system that further executes a process corresponding to the execution result when it matches.
前記第1の送信手段により送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定する待機時間設定手段をさらに備え、
前記待機時間設定手段は、前記第1の受信手段により受信された前記情報端末装置からの前記応答が自分自身への応答でない場合、前記待機時間を延長する
請求項1に記載の通信システム。 The information processing apparatus includes:
A standby time setting unit for setting a standby time until a response corresponding to the command transmitted by the first transmission unit is transmitted;
The communication system according to claim 1, wherein the standby time setting unit extends the standby time when the response from the information terminal device received by the first reception unit is not a response to itself.
前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を送信する送信手段と、
前記送信手段により送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定する待機時間設定手段と、
前記第1の送信手段により送信した前記指令に対する前記情報端末装置からの応答を受信する第1の受信手段と
を備え、
前記待機時間設定手段は、前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間を延長する
情報処理装置。 In an information processing apparatus that communicates with an information terminal apparatus having a plurality of file systems,
Transmitting means for transmitting a command including a file system ID for specifying one file system as a transmission destination among a plurality of file systems of the information terminal device;
A waiting time setting means for setting a waiting time until a response corresponding to the command transmitted by the transmitting means is transmitted;
First receiving means for receiving a response from the information terminal device to the command transmitted by the first transmitting means;
The waiting time setting means extends the waiting time when the response from the information terminal device received by the receiving means is not a response to itself.
前記待機時間設定手段は、前記受信手段により受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記応答に含まれる前記延長時間に基づいて、前記待機時間を延長する
請求項3に記載の情報処理装置。 If the response from the information terminal device received by the receiving means is not a response to itself, the response further includes an extension time for extending the waiting time,
The waiting time setting means extends the waiting time based on the extension time included in the response when the response from the information terminal apparatus received by the receiving means is not a response to itself. The information processing apparatus according to claim 3.
前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を送信し、
送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定し、
送信した前記指令に対する前記情報端末装置からの応答を受信し、
受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間を延長する
ステップを含む情報処理方法。 In an information processing method of an information processing apparatus that communicates with an information terminal apparatus having a plurality of file systems,
Among the plurality of file systems that the information terminal device has, a command including a file system ID that identifies one file system as a transmission destination is transmitted,
Set the waiting time until a response corresponding to the transmitted command is sent,
Receiving a response from the information terminal device to the transmitted command,
An information processing method including a step of extending the waiting time when the received response from the information terminal device is not a response to itself.
前記情報端末装置が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を送信し、
送信した前記指令に対応する応答が送信されてくるまでの待機時間を設定し、
送信した前記指令に対する前記情報端末装置からの応答を受信し、
受信された前記情報端末装置からの前記応答が、自分自身への応答でない場合、前記待機時間を延長する
ステップを含む処理をコンピュータに実行させるプログラム。 A program for communicating with an information terminal device having a plurality of file systems and executing processing,
Among the plurality of file systems that the information terminal device has, a command including a file system ID that identifies one file system as a transmission destination is transmitted,
Set the waiting time until a response corresponding to the transmitted command is sent,
Receiving a response from the information terminal device to the transmitted command,
A program for causing a computer to execute a process including a step of extending the waiting time when the received response from the information terminal device is not a response to itself.
前記情報処理装置から送信されてきた指令であって、自分自身が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を受信する受信手段と、
前記受信手段により受信された前記指令を記憶する受信記憶手段と、
複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段により記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行する実行手段と、
前記実行手段により実行された処理の結果である実行結果を、前記情報端末装置に送信するために記憶するとともに、前記実行結果を、前記受信記憶手段に供給する送信記憶手段と、
前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する送信手段と
を備え、
前記実行手段は、前記指令に対応する処理を実行した結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め、
前記送信記憶手段は、前記実行手段により実行された処理の結果である前記実行結果を記憶するとともに、前記実行結果を前記受信記憶手段に供給し、
前記送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し、
前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し、
前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する
情報端末装置。 In an information terminal device having a plurality of file systems and communicating with an information processing device,
A receiving unit that receives a command including a file system ID that identifies one file system as a transmission destination among a plurality of file systems that the command is transmitted from the information processing apparatus;
Receiving storage means for storing the command received by the receiving means;
The file corresponding to one file system of a plurality of file systems, acquiring the command stored by the reception storage means, and the file system ID included in the acquired command corresponding to itself An execution means for executing a process corresponding to the command when the file system ID matches the system;
A transmission storage means for storing an execution result, which is a result of the process executed by the execution means, for transmission to the information terminal device, and supplying the execution result to the reception storage means;
Transmission means for transmitting the execution result stored in the transmission storage means to the information terminal device,
As a result of executing the process corresponding to the command, when the execution unit includes a process executed by another file system of the plurality of file systems included in the information terminal device, the execution result includes a transmission destination Including another file system ID identifying the other file system,
The transmission storage means stores the execution result that is a result of the process executed by the execution means, and supplies the execution result to the reception storage means,
The transmission means transmits the execution result stored in the transmission storage means as a response to the information processing apparatus,
The reception storage means further stores the execution result supplied from the transmission storage means,
The execution unit acquires the execution result stored in the reception storage unit, and the file system ID of the transmission destination included in the acquired execution result specifies the file system corresponding to itself. Information terminal apparatus that further executes a process corresponding to the execution result when it matches.
前記送信記憶手段は、前記実行結果を記憶するとともに、前記実行結果を前記受信記憶手段に供給し、
前記送信手段は、前記送信記憶手段に記憶された前記実行結果を、前記情報処理装置に対する応答として送信し、
前記受信記憶手段は、前記送信記憶手段から供給された前記実行結果をさらに記憶し、
前記実行手段は、前記受信記憶手段に記憶された前記実行結果を取得し、取得した前記実行結果に含まれる送信先のファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記実行結果に対応する処理をさらに実行する
請求項7に記載の情報端末装置。 As a result of executing the process corresponding to the command, when the execution unit includes a process executed by another file system of the plurality of file systems included in the information terminal device, the execution result includes a transmission destination Along with another file system ID that identifies the other file system, further includes an extension time for extending a waiting time until a response to the command is transmitted to the information processing apparatus,
The transmission storage means stores the execution result and supplies the execution result to the reception storage means.
The transmission means transmits the execution result stored in the transmission storage means as a response to the information processing apparatus,
The reception storage means further stores the execution result supplied from the transmission storage means,
The execution unit acquires the execution result stored in the reception storage unit, and the file system ID of the transmission destination included in the acquired execution result specifies the file system corresponding to itself. The information terminal device according to claim 7, further executing a process corresponding to the execution result in the case where it matches.
前記情報処理装置から送信されてきた指令であって、自分自身が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を受信し、
受信された前記指令を受信記憶手段に記憶させ、
複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段に記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行し、その結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め、
実行された処理の結果である実行結果を、前記情報端末装置に送信するために送信記憶手段に記憶させるとともに、前記実行結果を、前記受信記憶手段に供給し、
前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する
ステップを含む情報処理方法。 In an information processing method of an information terminal device having a plurality of file systems and communicating with an information processing device,
A command transmitted from the information processing apparatus, and receives a command including a file system ID that identifies one file system as a transmission destination among a plurality of file systems that the device itself has,
The received command is stored in the reception storage means,
The file corresponding to one file system of a plurality of file systems, acquiring the command stored in the reception storage means, and the file system ID included in the acquired command corresponding to itself If the file system ID matches the system, the process corresponding to the command is executed. As a result, there is a process executed by another file system among the plurality of file systems of the information terminal device. In the case, the execution result includes another file system ID that identifies the other file system as a transmission destination,
An execution result that is a result of the executed process is stored in a transmission storage unit for transmission to the information terminal device, and the execution result is supplied to the reception storage unit,
An information processing method including a step of transmitting the execution result stored in the transmission storage means to the information terminal device.
前記情報処理装置から送信されてきた指令であって、自分自身が有する複数のファイルシステムのうち、送信先として1つのファイルシステムを特定するファイルシステムIDを含む指令を受信し、
受信された前記指令を受信記憶手段に記憶させ、
複数のファイルシステムのうちの1つのファイルシステムに対応するとともに、前記受信記憶手段に記憶された前記指令を取得し、取得した前記指令に含まれる前記ファイルシステムIDが、自分自身に対応する前記ファイルシステムを特定するファイルシステムIDと一致する場合に、前記指令に対応する処理を実行し、その結果、前記情報端末装置が有する複数のファイルシステムのうちの他のファイルシステムにより実行される処理がある場合、前記実行結果に、送信先として前記他のファイルシステムを特定する他のファイルシステムIDを含め、
実行された処理の結果である実行結果を、前記情報端末装置に送信するために送信記憶手段に記憶させるとともに、前記実行結果を、前記受信記憶手段に供給し、
前記送信記憶手段に記憶された前記実行結果を、前記情報端末装置に送信する
ステップを含む処理をコンピュータに実行させるプログラム。 A program that has a plurality of file systems, communicates with an information processing apparatus, and executes processing,
A command transmitted from the information processing apparatus, and receives a command including a file system ID that identifies one file system as a transmission destination among a plurality of file systems that the device itself has,
The received command is stored in the reception storage means,
The file corresponding to one file system of a plurality of file systems, acquiring the command stored in the reception storage means, and the file system ID included in the acquired command corresponding to itself If the file system ID matches the system, the process corresponding to the command is executed. As a result, there is a process executed by another file system among the plurality of file systems of the information terminal device. In the case, the execution result includes another file system ID that identifies the other file system as a transmission destination,
An execution result that is a result of the executed process is stored in a transmission storage unit for transmission to the information terminal device, and the execution result is supplied to the reception storage unit,
A program for causing a computer to execute a process including a step of transmitting the execution result stored in the transmission storage means to the information terminal device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005215905A JP4784189B2 (en) | 2005-07-26 | 2005-07-26 | COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND INFORMATION PROCESSING METHOD, INFORMATION TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005215905A JP4784189B2 (en) | 2005-07-26 | 2005-07-26 | COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND INFORMATION PROCESSING METHOD, INFORMATION TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007034600A true JP2007034600A (en) | 2007-02-08 |
JP4784189B2 JP4784189B2 (en) | 2011-10-05 |
Family
ID=37793800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005215905A Expired - Fee Related JP4784189B2 (en) | 2005-07-26 | 2005-07-26 | COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND INFORMATION PROCESSING METHOD, INFORMATION TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4784189B2 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010016332A1 (en) * | 2008-08-07 | 2010-02-11 | ソニー株式会社 | Communication device, communication method, and program |
US9342325B2 (en) | 2012-05-17 | 2016-05-17 | Google Technology Holdings LLC | Synchronizing launch-configuration information between first and second application environments that are operable on a multi-modal device |
US9354900B2 (en) | 2011-04-28 | 2016-05-31 | Google Technology Holdings LLC | Method and apparatus for presenting a window in a system having two operating system environments |
US9367331B2 (en) | 2009-07-20 | 2016-06-14 | Google Technology Holdings LLC | Multi-environment operating system |
US9372711B2 (en) | 2009-07-20 | 2016-06-21 | Google Technology Holdings LLC | System and method for initiating a multi-environment operating system |
US9389877B2 (en) | 2009-07-20 | 2016-07-12 | Google Technology Holdings LLC | Multi-environment operating system |
US9417753B2 (en) | 2012-05-02 | 2016-08-16 | Google Technology Holdings LLC | Method and apparatus for providing contextual information between operating system environments |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002259138A (en) * | 2001-03-02 | 2002-09-13 | Jcb:Kk | Integrated circuit and ic card |
JP2002269528A (en) * | 2001-03-09 | 2002-09-20 | Tamura Electric Works Ltd | Ic card |
JP2003196612A (en) * | 2001-12-26 | 2003-07-11 | Denso Wave Inc | Ic card system, card reader, ic card, and communication control method for ic card system |
JP2003345451A (en) * | 2002-05-22 | 2003-12-05 | Seiko Epson Corp | Module management system, module management terminal, data structure of program for terminal and module with use restrictions, and module management method |
-
2005
- 2005-07-26 JP JP2005215905A patent/JP4784189B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002259138A (en) * | 2001-03-02 | 2002-09-13 | Jcb:Kk | Integrated circuit and ic card |
JP2002269528A (en) * | 2001-03-09 | 2002-09-20 | Tamura Electric Works Ltd | Ic card |
JP2003196612A (en) * | 2001-12-26 | 2003-07-11 | Denso Wave Inc | Ic card system, card reader, ic card, and communication control method for ic card system |
JP2003345451A (en) * | 2002-05-22 | 2003-12-05 | Seiko Epson Corp | Module management system, module management terminal, data structure of program for terminal and module with use restrictions, and module management method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010016332A1 (en) * | 2008-08-07 | 2010-02-11 | ソニー株式会社 | Communication device, communication method, and program |
JP2010039913A (en) * | 2008-08-07 | 2010-02-18 | Sony Corp | Communication device, communication method and program |
CN102112992A (en) * | 2008-08-07 | 2011-06-29 | 索尼公司 | Communication device, communication method, and program |
US9367331B2 (en) | 2009-07-20 | 2016-06-14 | Google Technology Holdings LLC | Multi-environment operating system |
US9372711B2 (en) | 2009-07-20 | 2016-06-21 | Google Technology Holdings LLC | System and method for initiating a multi-environment operating system |
US9389877B2 (en) | 2009-07-20 | 2016-07-12 | Google Technology Holdings LLC | Multi-environment operating system |
US9354900B2 (en) | 2011-04-28 | 2016-05-31 | Google Technology Holdings LLC | Method and apparatus for presenting a window in a system having two operating system environments |
US9417753B2 (en) | 2012-05-02 | 2016-08-16 | Google Technology Holdings LLC | Method and apparatus for providing contextual information between operating system environments |
US9342325B2 (en) | 2012-05-17 | 2016-05-17 | Google Technology Holdings LLC | Synchronizing launch-configuration information between first and second application environments that are operable on a multi-modal device |
Also Published As
Publication number | Publication date |
---|---|
JP4784189B2 (en) | 2011-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7352613B2 (en) | Power receiving device, method, and program | |
JP4784189B2 (en) | COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND INFORMATION PROCESSING METHOD, INFORMATION TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM | |
EP3829221B1 (en) | Communication device and computer program | |
JP4092692B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
KR100725932B1 (en) | Method of operating wireless usb apparatus and wireless usb apparatus using the same | |
US8621126B2 (en) | Communication device, communication scheme determination method, and program | |
CN103503323B (en) | Radio frequency communication method, device, and terminal equipment for near field communication | |
US11017622B2 (en) | Communications system and communications apparatus | |
JP4706702B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP2007066042A (en) | Application provision system, mobile terminal device, server apparatus, application provision method and computer program | |
JP2009272874A (en) | Communication apparatus, communicating method, program, and communicating system | |
JP2013041349A (en) | Communication device, control method, and program | |
EP2996256B1 (en) | Method, device and system for controlling nfc radio frequency communication | |
JP2007043644A (en) | Wireless connection system and wireless connection method | |
US8259946B2 (en) | Communication apparatus, reader/writer, communication system, and communication method | |
JP2009251916A (en) | Communication terminal, communication program, and communication method | |
JP2011154691A (en) | Communication terminal, server device, communication method and program | |
JP6447625B2 (en) | COMMUNICATION CIRCUIT, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM | |
JP2009284029A (en) | Communication apparatus, communication system, communication method and program | |
JP5211826B2 (en) | Information processing apparatus, information processing system, information processing method, and computer program | |
JP2006157392A (en) | Information processing apparatus and method, recording medium and communication control program | |
JP5151737B2 (en) | Wireless communication system, wireless communication apparatus, wireless communication method, and program | |
JP4517739B2 (en) | Wireless communication system, wireless communication apparatus, wireless communication method, and computer program | |
JP4313223B2 (en) | Signal generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080722 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110309 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110317 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110516 |
|
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: 20110614 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110627 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140722 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |