JP2005027215A - Ic card remote-control system - Google Patents
Ic card remote-control system Download PDFInfo
- Publication number
- JP2005027215A JP2005027215A JP2003270271A JP2003270271A JP2005027215A JP 2005027215 A JP2005027215 A JP 2005027215A JP 2003270271 A JP2003270271 A JP 2003270271A JP 2003270271 A JP2003270271 A JP 2003270271A JP 2005027215 A JP2005027215 A JP 2005027215A
- Authority
- JP
- Japan
- Prior art keywords
- command
- card
- communication
- control unit
- response
- 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
- Communication Control (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
本発明は、ICカード遠隔制御システムに関し、特に、携帯電話やPDA機器などに装着されたICカードに対して、通信網を介して離れた地点から遠隔操作で制御するためのシステムに関する。 The present invention relates to an IC card remote control system, and more particularly to a system for remotely controlling an IC card mounted on a mobile phone, a PDA device, or the like from a remote location via a communication network.
CPUを内蔵したICカードは、様々なデータを記録する記録媒体として機能するとともに、様々な処理を実行する情報処理装置としても機能し、今後もその利用分野は益々広がってゆくものと期待されている。特に、内蔵CPUによる照合処理を行うことにより、高度なセキュリティを確保することができる点は、信頼度が要求される商取引などに利用する上で、大きなメリットになっている。 An IC card with a built-in CPU functions as a recording medium for recording various data, and also functions as an information processing device for executing various processes, and its field of use is expected to expand further in the future. Yes. In particular, the fact that a high level of security can be ensured by performing a collation process by the built-in CPU is a great advantage in using for commercial transactions and the like that require reliability.
通常、ICカードに対する直接的なアクセスは、リーダライタ装置を介して行われる。ユーザがICカードをリーダライタ装置に挿入すると、両者間で電気信号のやりとりが行われる。リーダライタ装置は、ネットワーク端末装置やパソコンなどの処理装置に接続して用いられ、この処理装置からの指示に基づいて、ICカードに対するアクセスを行うことになる。CPUを内蔵したICカードに対するアクセスは、コマンドの送信/レスポンスの受信という操作の繰り返しによって行われる。すなわち、外部の処理装置が、リーダライタ装置を介して、ICカードにコマンドを送信すると、ICカードに内蔵されたCPUが、このコマンドを所定の内蔵プログラムに基づいて実行し、その結果をレスポンスという形式で返送することになる。外部の処理装置は、このレスポンスをリーダライタ装置を介して受信した上で、次のコマンドをICカードに対して送信する処理を行う。このように、ICカードと外部の処理装置との間で、コマンドとレスポンスとをキャッチボールのようにやりとりすることにより、ICカードに対する種々の制御が可能になる。 Normally, direct access to the IC card is performed via a reader / writer device. When the user inserts the IC card into the reader / writer device, electrical signals are exchanged between the two. The reader / writer device is used by being connected to a processing device such as a network terminal device or a personal computer, and accesses the IC card based on an instruction from the processing device. Access to an IC card with a built-in CPU is performed by repeating operations such as command transmission and response reception. That is, when an external processing device transmits a command to the IC card via the reader / writer device, the CPU built in the IC card executes this command based on a predetermined built-in program, and the result is called a response. It will be returned in the form. The external processing device receives this response via the reader / writer device, and then performs processing for transmitting the next command to the IC card. As described above, various commands can be controlled on the IC card by exchanging commands and responses like a catch ball between the IC card and the external processing device.
最近では、携帯電話やPDA機器など、小型携帯情報端末に装着可能なICカードも普及し始めている。たとえば、いわゆる第三世代の携帯電話には、ICカードが装着されるようになっており、このICカードを利用した様々なサービスも提供されるようになっている。このように、携帯電話に装着されたICカードに対しては、通信網を介した遠隔制御が可能である。すなわち、携帯電話は、もともと通信網を介して任意の地点からアクセス可能な通信装置であるので、この携帯電話の通信機能を利用すれば、原理的には、地球上の任意の地点から、別な任意の地点にある携帯電話に搭載されているICカードにアクセスすることが可能であり、コマンド/レスポンスのやりとりを行うことにより遠隔制御を行うことが可能である。したがって、携帯電話を通信網を介して任意のサーバ装置に接続すれば、この携帯電話に内蔵されているICカードに対して、サーバ装置から、アプリケーションプログラムや種々のデータをダウンロードするような制御も可能になる。
前述したとおり、ICカードに対して、外部の処理装置からアクセスを行うには、リーダライタ装置を介して、コマンドおよびレスポンスのやりとりを行う必要がある。したがって、通信網を介してICカードを遠隔制御するには、通信網を介してコマンドおよびレスポンスのやりとりを繰り返し実行することになる。これは、通信網の利用効率の観点からは好ましくない。 As described above, in order to access the IC card from an external processing device, it is necessary to exchange commands and responses via the reader / writer device. Therefore, in order to remotely control the IC card via the communication network, exchange of commands and responses is repeatedly executed via the communication network. This is not preferable from the viewpoint of communication network utilization efficiency.
一般に、リーダライタ装置を介したICカードに対する通信は、数バイト〜数百バイトの単位で行われる。これは、ICカードの標準規格(ISO7816)によって、1回のコマンド/レスポンスにおけるデータの転送最大量が所定値に制限されているためである。したがって、たとえば、パケット通信網を介して、サーバ装置から携帯電話内のICカードに、アプリケーションプログラムをダウンロードするような場合、ダウンロードの対象となるプログラムを、たかだか数百バイト程度の長さの部分に分割し、個々の分割部分を、それぞれコマンド/レスポンスの繰り返し処理を行う形式でICカード内に送り込む必要がある。パケット通信網を介して、このような小さな単位の通信を繰り返すと、パケットの利用率が下がり、パケットヘッダなどのいわゆるオーバーヘッド部の比率が相対的に大きくなるため、通信網の利用効率は極めて低下してしまう。 In general, communication with an IC card via a reader / writer device is performed in units of several bytes to several hundred bytes. This is because the maximum data transfer amount per command / response is limited to a predetermined value by the IC card standard (ISO7816). Therefore, for example, when an application program is downloaded from a server device to an IC card in a mobile phone via a packet communication network, the program to be downloaded is placed in a portion having a length of about several hundred bytes. It is necessary to divide and send each divided portion into the IC card in a format in which each command / response is repeatedly processed. When such small units of communication are repeated through the packet communication network, the utilization rate of the communication network is extremely reduced because the packet utilization rate decreases and the ratio of so-called overhead parts such as packet headers becomes relatively large. Resulting in.
そこで本発明は、通信網を介してICカードを遠隔制御する際に、当該通信網の利用効率を改善することが可能なICカード遠隔制御システムを提供することを目的とする。 Accordingly, an object of the present invention is to provide an IC card remote control system capable of improving the utilization efficiency of the communication network when the IC card is remotely controlled via the communication network.
(1) 本発明の第1の態様は、第1の地点にあるICカードを、第2の地点から遠隔制御するためのICカード遠隔制御システムにおいて、
第1の地点に設置された第1の処理システムと、第2の地点に設定された第2の処理システムと、を設け、
第1の処理システムには、ICカードに対してコマンド送信とレスポンス受信とを行うリーダライタ装置と、このリーダライタ装置を制御する第1の制御部と、この第1の制御部と外部との間の通信を行う第1の通信部と、を設け、
第2の処理システムには、遠隔制御による指示を与える第2の制御部と、この第2の制御部と外部との間の通信を行う第2の通信部と、を設け、
第1の通信部と第2の通信部とは所定の通信網を介して互いに通信を行う機能を有するようにし、
第2の制御部は、所定の順序で並べられた複数のコマンドと、これら各コマンドのそれぞれに対して期待されるべき期待レスポンスと、を含んだコマンドスクリプトを、第2の通信部を介して通信網へ送信する機能を有するようにし、
第1の制御部は、通信網から第1の通信部を介してコマンドスクリプトを受信する機能を有するようにし、
第1の制御部は、更に、コマンドスクリプトから決められた順序に従って1つのコマンドを抽出し、この抽出したコマンドをリーダライタ装置を介してICカードに送信し、この送信したコマンドに対してICカードから返信されてきたレスポンスをリーダライタ装置を介して受信し、この受信したレスポンスがコマンドスクリプトに含まれている期待レスポンスに一致するか否かを判定する一巡交信処理を、一致を示す判定結果が得られる限り繰り返し実行し、その実行結果を第1の通信部を介して通信網へ送信する機能を有するようにし、
第2の制御部は、更に、通信網から第2の通信部を介して実行結果を受信する機能を有するようにしたものである。
(1) A first aspect of the present invention is an IC card remote control system for remotely controlling an IC card at a first point from a second point.
A first processing system installed at a first point and a second processing system set at a second point;
The first processing system includes a reader / writer device that transmits a command and receives a response to an IC card, a first control unit that controls the reader / writer device, and the first control unit and the outside. A first communication unit for performing communication between,
The second processing system includes a second control unit that gives an instruction by remote control, and a second communication unit that performs communication between the second control unit and the outside,
The first communication unit and the second communication unit have a function of communicating with each other via a predetermined communication network,
The second control unit sends a command script including a plurality of commands arranged in a predetermined order and an expected response to be expected for each of the commands via the second communication unit. Have a function to transmit to the communication network,
The first control unit has a function of receiving a command script from the communication network via the first communication unit,
The first control unit further extracts one command according to the order determined from the command script, transmits the extracted command to the IC card via the reader / writer device, and in response to the transmitted command, the IC card The response returned from is received via the reader / writer device, and the one-round communication process for determining whether or not the received response matches the expected response included in the command script is performed. Repeat as much as possible, and have the function of transmitting the execution result to the communication network via the first communication unit,
The second control unit further has a function of receiving an execution result from the communication network via the second communication unit.
(2) 本発明の第2の態様は、上述の第1の態様に係るICカード遠隔制御システムにおいて、
第1の制御部が、コマンドスクリプトに含まれていたすべてのコマンドに関する一巡交信処理において一致を示す判定結果が得られた場合には、成功を示す実行結果を送信し、いずれかのコマンドに関する一巡交信処理において不一致を示す判定結果が得られた場合には、失敗を示す実行結果を送信するようにしたものである。
(2) According to a second aspect of the present invention, in the IC card remote control system according to the first aspect described above,
When the first control unit obtains a determination result indicating a match in the one-round communication process for all commands included in the command script, the first control unit transmits an execution result indicating success and makes a round for one of the commands. When a determination result indicating inconsistency is obtained in the communication process, an execution result indicating failure is transmitted.
(3) 本発明の第3の態様は、上述の第1または第2の態様に係るICカード遠隔制御システムにおいて、
第1の制御部が、コマンドスクリプトに含まれていたすべてのコマンドに関する一巡交信処理が完了するまで、もしくは、いずれかのコマンドに関する一巡交信処理において不一致を示す判定結果が得られるまで、実行結果の送信を行わないようにしたものである。
(3) A third aspect of the present invention is the IC card remote control system according to the first or second aspect described above,
Until the first control unit completes the one-round communication process for all commands included in the command script, or until a determination result indicating inconsistency is obtained in the one-round communication process for any command, The transmission is not performed.
(4) 本発明の第4の態様は、上述の第1〜第3の態様に係るICカード遠隔制御システムにおいて、
第1の制御部が、一巡交信処理を繰り返し実行している間、ICカードから返信されてきたレスポンスに含まれている情報を蓄積し、この蓄積された情報を実行結果としてまとめて送信する機能を有するようにしたものである。
(4) According to a fourth aspect of the present invention, in the IC card remote control system according to the first to third aspects described above,
A function in which the first control unit accumulates information included in a response returned from the IC card and repeatedly transmits the accumulated information as an execution result while repeatedly executing the one-round communication process. It is made to have.
(5) 本発明の第5の態様は、上述の第1〜第4の態様に係るICカード遠隔制御システムにおいて、
第2の制御部が、複数のコマンドスクリプトを順番に送信する機能を有し、1つのコマンドスクリプトに関する実行結果を受信してから、次のコマンドスクリプトの送信を行うようにしたものである。
(5) According to a fifth aspect of the present invention, in the IC card remote control system according to the first to fourth aspects described above,
The second control unit has a function of transmitting a plurality of command scripts in order, and receives the execution result relating to one command script and then transmits the next command script.
(6) 本発明の第6の態様は、上述の第1〜第5の態様に係るICカード遠隔制御システムにおいて、
第2の制御部が、期待されるべきレスポンスが予測不能な特定のコマンドに対しては、「不明」を示す期待レスポンスを対応づけたコマンドスクリプトを送信する機能を有し、
第1の制御部が、「不明」を示す期待レスポンスに関しては常に一致を示す判定結果が得られたものとする処理を行うようにしたものである。
(6) According to a sixth aspect of the present invention, in the IC card remote control system according to the first to fifth aspects described above,
The second control unit has a function of transmitting a command script in which an expected response indicating “unknown” is associated with a specific command for which an expected response is unpredictable,
The first control unit performs processing assuming that a determination result indicating a match is always obtained for an expected response indicating “unknown”.
(7) 本発明の第7の態様は、上述の第1〜第6の態様に係るICカード遠隔制御システムにおいて、
第1の通信部および第2の通信部が、それぞれデータを圧縮/伸張する機能を有し、両者間の通信がデータ圧縮された状態で行われるようにしたものである。
(7) According to a seventh aspect of the present invention, in the IC card remote control system according to the first to sixth aspects described above,
The first communication unit and the second communication unit each have a function of compressing / decompressing data, and communication between them is performed in a compressed state.
(8) 本発明の第8の態様は、上述の第1〜第7の態様に係るICカード遠隔制御システムにおいて、
第1の通信部および第2の通信部が、それぞれデータを暗号化/復号化する機能を有し、両者間の通信が暗号化された状態で行われるようにしたものである。
(8) An eighth aspect of the present invention is the IC card remote control system according to the first to seventh aspects described above.
The first communication unit and the second communication unit each have a function of encrypting / decrypting data, and communication between the two is performed in an encrypted state.
(9) 本発明の第9の態様は、上述の第1〜第6の態様に係るICカード遠隔制御システムにおける第1の制御部もしくは第2の制御部としてコンピュータを機能させるためのプログラムを用意し、このプログラムをコンピュータ読み取り可能な記録媒体に記録して配付できるようにしたものである。 (9) A ninth aspect of the present invention provides a program for causing a computer to function as the first control section or the second control section in the IC card remote control system according to the first to sixth aspects described above. The program can be recorded on a computer-readable recording medium and distributed.
本発明に係るICカード遠隔制御システムによれば、通信網を介してICカードを遠隔制御する際に、当該通信網の利用効率を改善することが可能になる。 According to the IC card remote control system according to the present invention, when the IC card is remotely controlled via the communication network, the utilization efficiency of the communication network can be improved.
以下、本発明を図示する実施形態に基づいて説明する。図1は、本発明の一実施形態に係るICカード遠隔制御システムの基本構成を示すブロック図である。このシステムは、第1の地点にあるICカード10を、第2の地点から遠隔制御するためのシステムであり、図示のとおり、第1の地点に設置された第1の処理システム100と、第2の地点に設定された第2の処理システム200と、によって構成されている。両システム100,200は、通信網300を介して接続することが可能である。通信網300は、両システムを接続することができる通信網であれば、どのような通信網であってもかまわない。具体的には、たとえば、電話回線網やインターネットなどを通信網300として利用することができる。
Hereinafter, the present invention will be described based on the illustrated embodiments. FIG. 1 is a block diagram showing a basic configuration of an IC card remote control system according to an embodiment of the present invention. This system is a system for remotely controlling the
図示のとおり、第1の処理システム100は、ICカード10に対してコマンド送信とレスポンス受信とを行うリーダライタ装置110と、このリーダライタ装置110を制御する第1の制御部120と、この第1の制御部120と外部との間の通信を行う第1の通信部130と、を有しており、第2の処理システム200は、外部との間の通信を行う第2の通信部210と、遠隔制御による指示を与える第2の制御部220と、を有している。
As illustrated, the first processing system 100 includes a reader /
第1の通信部130と第2の通信部210とは通信網300を介して互いに通信を行う機能を有している。たとえば、通信網300が電話回線網であれば、第1の通信部130および第2の通信部210は、この電話回線網に接続する機能をもった通信装置によって構成され、通信網300がインターネットであれば、第1の通信部130および第2の通信部210は、IPプロトコルに従ったパケット通信機能をもった通信装置によって構成されることになる。
The
第2の制御部220は、ICカード10に対する制御を統括するための構成要素であり、後述するように、所定のコマンドスクリプトを用意し、これを第2の通信部210を介して通信網300へと送り出す処理を行う。ここで、コマンドスクリプトとは、所定の順序で並べられた複数のコマンドと、これら各コマンドのそれぞれに対して期待されるべき期待レスポンスと、によって構成されるコード群である。図2は、このコマンドスクリプトCSの一例を示す概念図である。
The
図示の例は、5つのコマンドと、この5つのコマンドのそれぞれに対応する期待レスポンスと、によってコマンドスクリプトCSを構成した例である。具体的には、CMD1〜CMD5までの5つのコマンドが順序づけられており、EXP1〜EXP5までの5つのレスポンスが対応づけられている。たとえば、コマンドCMD1には、期待レスポンスEXP1が対応づけられているが、これは、ICカード10に対して、コマンドCMD1を与えた場合に、ICカード10からは、EXP1なるレスポンスが返ってくることが期待されることを意味している。なお、図2のNo.の欄の数字は、コマンドの順番を示すために便宜的に記述したものであり、実際には、このような順番を示すコードは、必ずしも含ませる必要はない。
The illustrated example is an example in which the command script CS is configured by five commands and expected responses corresponding to the five commands. Specifically, five commands from CMD1 to CMD5 are ordered, and five responses from EXP1 to EXP5 are associated with each other. For example, the expected response EXP1 is associated with the command CMD1, but this is because when the command CMD1 is given to the
ここで、各期待レスポンスEXP1〜EXP5は、コマンドがCMD1〜CMD5の順に与えられるという点を考慮した上で、ICカード10側から返信されるであろうと期待されるレスポンスになっている。たとえば、コマンドCMD1が、ICカード10の内部メモリの所定アドレスADD1に所定のデータを書き込む命令であり、コマンドCMD2が、当該アドレスADD1に書き込まれているデータを読み出してレスポンスとして返す命令であった場合、期待レスポンスEXP2は、コマンドCMD1によって書き込まれるデータに依存することになるので、直前にコマンドCMD1が実行されることを考慮した上で、期待レスポンスEXP2の内容が定義されることになる。
Here, each expected response EXP1 to EXP5 is a response that is expected to be returned from the
ICカード10内に組み込まれているプログラムの内容がわかっていれば、このICカード10に対して、5つのコマンドCMD1〜CMD5を、この順番で与えた場合、それぞれに対してどのようなレスポンスが返ってくるかを予測することができるので、予測されるレスポンスを期待レスポンスEXP1〜EXP5として予め用意しておくことができる。したがって、5つのコマンドCMD1〜CMD5が決まれば、たとえば、コンピュータ上でのシミュレーションを行うことにより、期待レスポンスEXP1〜EXP5を自動的に生成することが可能である。なお、ICカード10内に書き込まれている未知のデータに基づいて、レスポンスの内容が変化するようなコマンドの場合は、得られるレスポンスを予測することはできないが、そのようなコマンドの場合には、期待レスポンスとして「不明」を示すコードを入れておけばよい。
If the contents of the program incorporated in the
第2の制御部220内に用意されたコマンドスクリプトCSは、第2の通信部210を介して、第1の通信部130宛てに通信網300へと送信される。第1の通信部130は、このコマンドスクリプトCSを受信し、これを第1の制御部120へ与える。
The command script CS prepared in the
こうして、第1の通信部130を介してコマンドスクリプトCSを受信した第1の制御部120は、これを順に実行する処理を行う。すなわち、第1の制御部120は、コマンドスクリプトCSから決められた順序に従って1つのコマンドを抽出し、この抽出したコマンドをリーダライタ装置110を介してICカード10に送信し、この送信したコマンドに対してICカード10から返信されてきたレスポンスをリーダライタ装置110を介して受信し、この受信したレスポンスがコマンドスクリプトCSに含まれている期待レスポンスに一致するか否かを判定する処理を行う。ここでは、このような処理を、「一巡交信処理」と呼ぶことにする。要するに、この一巡交信処理は、ICカード10との間で、1コマンドを送信し、1レスポンスを受信し、これを期待レスポンスと照合する処理ということができる。
Thus, the
第1の制御部120は、このような一巡交信処理を、一致を示す判定結果が得られる限り繰り返し実行し、その実行結果を第1の通信部130を介して、第2の通信部210宛てに通信網300へと送信する。第2の通信部210は、こうして送信されてきた実行結果を受信し、第2の制御部220へ与える。結局、第2の制御部220は、図2に示すようなコマンドスクリプトCSを送信し、これに対する実行結果を受信することになる。
The
図3は、第1の制御部120の上述した処理手順を示す流れ図である。まず、ステップS1で、コマンドスクリプトCSを受信し、ステップS2で、所定の順序に従い、1つのコマンドを抽出し、ステップS3で、抽出したコマンドをリーダライタ装置110を介してICカード10へ送信する処理を行う。ICカード10は、与えられたコマンドを、内蔵するプログラムに基づいて実行し、所定のレスポンスを返す処理を行う。そこで、第1の制御部120は、ステップS4で、ICカード10からのレスポンスを受信した上で、ステップS5で、この受信したレスポンスが期待レスポンスに一致するか否かを判定する。もし一致していれば、ステップS5からステップS6へと進み、コマンドスクリプトCS内にまだ抽出していないコマンドの残りがあれば、ステップS2へと戻ることになる。結局、ステップS2〜S6までの一連の処理が、上述した一巡交信処理に相当する。
FIG. 3 is a flowchart showing the above-described processing procedure of the
こうして、ICカード10からのレスポンスが、期待レスポンスに一致している限り、ステップS6からステップS2へと戻り、一巡交信処理が繰り返し実行されることになる。そして、コマンドスクリプトCS内のすべてのコマンドを抽出し終えたら、ステップS6からステップS7へと進み、第2の処理システム200に対して、成功を示す実行結果を送信する。一方、ステップS5において、不一致なる判定結果が得られたら、ステップS5からステップS8へと進み、第2の処理システム200に対して、失敗を示す実行結果が送信される。
Thus, as long as the response from the
たとえば、ステップS1において、図2に示すコマンドスクリプトCSが受信された場合、まず、ステップS2で、コマンドCMD1が抽出され、ステップS3で、このコマンドCMD1がICカード10へと送信されることになる。そして、ステップS4で、ICカード10から返信されてきたレスポンスが受信され、ステップS5において、受信されたレスポンスが期待レスポンスEXP1に一致するか否かが判定される。一致していれば、今度は、ステップS2で、コマンドCMD2が抽出され、同様の処理が実行される。このコマンドCMD2に対するレスポンスが、期待レスポンスEXP2と一致していれば、続いてコマンドCMD3が抽出され、ICカード10へと与えられる。こうして、一連のコマンドCMD1〜CMD5のすべてについて、それぞれ期待レスポンスEXP1〜EXP5と一致するレスポンスが得られたら、ステップS7において、成功を示す実行結果が第2の処理システム200宛に送信される。しかし、いずれかのコマンドに対するレスポンスが、期待レスポンスと一致しなかったら、その時点で処理は中止され、ステップS8において、失敗を示す実行結果が第2の処理システム200宛に送信される。こうして、成功もしくは失敗を示す実行結果の送信が完了したら、再びステップS1へと戻り、次に与えられるコマンドスクリプトを受信し、同様の処理を繰り返すことになる。
For example, when the command script CS shown in FIG. 2 is received in step S1, first, the command CMD1 is extracted in step S2, and this command CMD1 is transmitted to the
結局、第1の制御部120は、コマンドスクリプトCSに含まれていたすべてのコマンドに関する一巡交信処理において一致を示す判定結果が得られた場合には、成功を示す実行結果を送信し、いずれかのコマンドに関する一巡交信処理において不一致を示す判定結果が得られた場合には、失敗を示す実行結果を送信することになる。しかも、第1の制御部120は、コマンドスクリプトCSに含まれていたすべてのコマンドに関する一巡交信処理が完了するまで、もしくは、いずれかのコマンドに関する一巡交信処理において不一致を示す判定結果が得られるまで、実行結果の送信を行うことはない。
Eventually, when the determination result indicating the coincidence is obtained in the one-round communication process regarding all the commands included in the command script CS, the
第1の制御部120が、このような処理を行えば、第2の制御部220は、用意したコマンドスクリプトCSが、第1の処理システム100側で支障なく実行されたか否かを認識することができる。すなわち、第1の処理システム100側から成功を示す実行結果が送信されてくれば、コマンドスクリプトCS内のすべてのコマンドの実行に対して、期待したレスポンスが得られたことを認識でき、すべてのコマンドが予定どおり実行されたことを認識できる。逆に、失敗を示す実行結果が送信されてくれば、コマンドスクリプトCS内のいずれかのコマンドの実行に対して、期待したレスポンスが得られず、そこで処理が中止されたことを認識できる。
When the
第2の制御部220に、複数のコマンドスクリプトを用意しておいた場合には、これを第1の処理システム100側に順番に送信するようにし、1つのコマンドスクリプトに関する実行結果を受信してから、次のコマンドスクリプトの送信を行うようにすればよい。たとえば、n個のコマンドスクリプトCS1,CS2,…,CSnが用意されていた場合、まず、コマンドスクリプトCS1を送信し、これに対して成功を示す実行結果が得られたら、次にコマンドスクリプトCS2を送信し、以下同様に順次送信を行うようにすればよい。また、失敗を示す実行結果が得られたら、第2の制御部220で、必要な回復処理をとるようにすればよい。
When a plurality of command scripts are prepared in the
本発明に係るICカード遠隔制御システムの特徴は、一巡交信処理が、ICカード10と第1の処理システム100との間でのみ(別言すれば、第1の地点においてのみ)実行される点にある。要するに、コマンドおよびレスポンスのキャッチボール式のやりとりが、第1の地点においてのみ実行されることになり、通信網300を介してのコマンドおよびレスポンスのキャッチボール式のやりとりは不要になるのである。コマンドスクリプトCSとして、ある程度まとまった数のコマンドおよび期待レスポンスを用意しておけば、通信網300の利用効率を向上させることができる。
The IC card remote control system according to the present invention is characterized in that the one-round communication process is executed only between the
なお、実用上は、第1の通信部130および第2の通信部210には、それぞれデータを圧縮/伸張する機能を付加しておき、通信網300を介して行われる両者間の通信が、データ圧縮された状態で行われるようにしておくのが好ましい。このデータ圧縮により、通信網300の利用効率を更に向上させることができる。
In practice, a function for compressing / decompressing data is added to the
また、第1の通信部130および第2の通信部210には、それぞれデータを暗号化/復号化する機能を付加しておき、通信網300を介して行われる両者間の通信が、暗号化された状態で行われるようにしておくのが好ましい。そうすれば、通信網300を介した通信における安全性の確保も可能になる。
In addition, the
ところで、ICカード10から返信されるレスポンスには、最終的に、第2の制御部220側へ伝達すべき情報が含まれている場合がある。たとえば、ICカード10内の所定アドレスからデータを読み出すコマンドを与えた場合、読み出されたデータを含むレスポンスが返されることになる。そこで、実用上は、第1の制御部120に、一巡交信処理を繰り返し実行している間、ICカード10から返信されてきたレスポンスに含まれている情報を蓄積し、この蓄積された情報を、成功を示す実行結果としてまとめて送信する機能を設けておくのが好ましい。
Incidentally, the response returned from the
なお、前述したとおり、期待されるべきレスポンスが予測不能な特定のコマンドに対しては、「不明」を示す期待レスポンスを対応づけたコマンドスクリプトを用意しておくことができるが、このような「不明」を示す期待レスポンスを利用する場合、第1の制御部120が、「不明」を示す期待レスポンスに関しては常に一致を示す判定結果が得られたものとする処理を行うようにしておけばよい。
As described above, for a specific command for which an expected response is unpredictable, a command script that associates an expected response indicating “unknown” can be prepared. When using an expected response indicating “unknown”, the
たとえば、ICカード10内の所定アドレスからデータを読み出すコマンドの場合、期待されるレスポンスは、正常に読み出しが完了したことを示す正常読出コードに続いて、読み出されたデータが羅列された形式になるのが一般的である。この場合、正常読出コードについては既知であるが、それに後続するデータの羅列の内容は未知である。このような場合は、データの羅列部分に関しては「不明」を示す期待レスポンスを用意しておくようにし、一致判定の際には、正常読出コードの部分のみの一致判定を行い、データの羅列部分に関しては、常に一致を示す判定結果が得られたものとする処理を行うようにしておけばよい。
For example, in the case of a command for reading data from a predetermined address in the
最後に、より具体的な処理に本発明を適用した例を述べておく。図4は、10個のデータD1〜D10を、ICカード10内の所定のアドレスに書き込むための一連のコマンド群と、これに応じてICカードから返信されてくるレスポンス群の対応を示すテーブルである。ここで、1番目に示す「Read ID」なるコマンドは、ICカード10自身に付与された所定の識別コード(ICカード10内のメモリの所定箇所に格納されている)をレスポンスとして返すことを指示するコマンドであり、この例では、「12345」なる識別コードが、レスポンスとして返された例が示されている。
Finally, an example in which the present invention is applied to more specific processing will be described. FIG. 4 is a table showing a correspondence between a series of command groups for writing 10 pieces of data D1 to D10 to a predetermined address in the
2番目の「Write D1」なるコマンドは、ICカード10内の所定のメモリ場所に、D1なるデータを書き込むことを指示するコマンドである。実際には、このような書き込みコマンドには、書き込みを行うメモリアドレスあるいはレコードを特定するコードが含まれるのが一般的であるが、ここでは便宜上、このような単純なコマンドを例にとって説明する。図示の例では、このような書き込みコマンドに対して、「OK」なるレスポンスが返された例が示されている。このレスポンスは、指示どおりの書き込み処理が正常に終了したことを示すものであり、書き込みが正常に行われなかった場合には、たとえば、「ERROR」のような別なレスポンスが返されることになる。3番目〜11番目のコマンドも、同じ書き込みコマンドであり、それぞれデータD2〜D10の書き込みを指示しており、「OK」なるレスポンスが得られた例が示されている。
The second command “Write D1” is a command for instructing to write data D1 in a predetermined memory location in the
この例では、データD1〜D10のように、細かく分割したデータを複数のコマンドに分けて書き込むようにしているが、一般的なICカードでは、このような形式で書き込みが行われることが少なくない。これは、既に述べたとおり、ICカードの標準規格(ISO7816)によって、1回のコマンド/レスポンスにおけるデータの転送最大量が所定値に制限されているためである。その結果、合計11回の連続したコマンド/レスポンスのやりとりが必要になり、もし、このコマンド/レスポンスのやりとりを、従来どおり、通信網を介して遠隔操作で行ったとすると、通信網を利用した往復通信回数は合計11回になる。 In this example, finely divided data such as data D1 to D10 is written in a plurality of commands. However, in general IC cards, writing is often performed in such a format. . This is because, as already described, the maximum data transfer amount in one command / response is limited to a predetermined value by the IC card standard (ISO7816). As a result, a total of eleven consecutive command / response exchanges are required. If this command / response exchange is performed by remote operation through the communication network as before, the round trip using the communication network is performed. The total number of communication is 11 times.
本発明に係るICカード遠隔制御システムを利用すれば、同じ処理を実行する場合でも、通信網を利用した往復通信回数を2回に減らすことが可能になる。図5は、図4に示すコマンド群を用いた処理を、本発明に係るICカード遠隔制御システムを用いて実行する際に用意するコマンドスクリプトを示すテーブルである。図示の例では、2つのコマンドスクリプトCS1,CS2が用意されている。 If the IC card remote control system according to the present invention is used, the number of round-trip communications using the communication network can be reduced to two even when the same processing is executed. FIG. 5 is a table showing a command script prepared when the process using the command group shown in FIG. 4 is executed using the IC card remote control system according to the present invention. In the illustrated example, two command scripts CS1 and CS2 are prepared.
第1のコマンドスクリプトCS1は、「Read ID」なるコマンドと、その期待レスポンス「φ」とによって構成されている。ここで、期待レスポンス「φ」は、前述した「不明」を示すものであり、「Read ID」なるコマンドによって返されるレスポンスが予測できないものであることを示す。上述したように、「Read ID」なるコマンドは、ICカード10自身に付与された所定の識別コードをレスポンスとして返すことを指示するコマンドであるため、個々のICカードごとにレスポンス内容は異なり、期待レスポンスを予測することはできない。そこで「不明」を示す「φ」なるコードが期待レスポンスとして定義されている。
The first command script CS1 includes a command “Read ID” and an expected response “φ”. Here, the expected response “φ” indicates “unknown” as described above, and indicates that the response returned by the command “Read ID” cannot be predicted. As described above, the command “Read ID” is a command for instructing to return a predetermined identification code assigned to the
一方、第2のコマンドスクリプトCS2は、「Write D1」〜「Write D10」なる10個のコマンドと、それぞれについての期待レスポンス「OK」によって構成されている。ここで、期待レスポンス「OK」は、書き込み処理が正常に終了した場合に返されるレスポンスであり、何らかの支障がなければ、この「OK」なるレスポンスが返されることが期待される。 On the other hand, the second command script CS2 is composed of 10 commands “Write D1” to “Write D10” and an expected response “OK” for each of them. Here, the expected response “OK” is a response that is returned when the writing process is normally completed. If there is no problem, it is expected that the response “OK” is returned.
本発明に係るICカード遠隔制御システムの場合、この図5に示す2つのコマンドスクリプトCS1,CS2を第2の処理システム200側に用意しておき、まず、第1のコマンドスクリプトCS1を第1の処理システム100側に送信し、これに対して成功を示す実行結果が返信されてきたら、次に、第2のコマンドスクリプトCS2を送信し、これに対する実行結果を受信すればよい。したがって、通信網300を利用した往復通信回数を2回に抑えることができ、通信網の利用効率を大幅に改善することができる。
In the case of the IC card remote control system according to the present invention, the two command scripts CS1 and CS2 shown in FIG. 5 are prepared on the second processing system 200 side. First, the first command script CS1 is the first command script CS1. When an execution result indicating success is sent back to the processing system 100 side, the second command script CS2 may be transmitted next, and the execution result corresponding thereto may be received. Therefore, the number of round-trip communications using the
この図5に示すようなコマンドスクリプトCS1,CS2を受信したときの第1の制御部120の処理は、次のとおりである。まず、図3の流れ図におけるステップS1において、コマンドスクリプトCS1を受信し、ステップS2で、「Read ID」なるコマンドを抽出し、ステップS3で、これをICカード10へと送信する。すると、ICカード10からは、たとえば、「12345」なる識別コードがレスポンスとして返されるので、ステップS4でこれを受信し、ステップS5で一致判定が行われる。このとき、コマンドスクリプトCS1内の期待レスポンスは、「φ」(不明)となっているので、一致したとする判定がなされ、ステップS6へ進む。コマンドスクリプトCS1には、もうコマンドは残っていないので、更にステップS7へと進み、成功を示す実行結果が第2の処理システム200側へと送信されることになる。このとき、この成功を示す実行結果に、レスポンスに含まれていた「12345」なる識別コードを組み込むようにすれば、「Read ID」なるコマンドの実行結果を、第2の処理システム200側へと伝えることができる。
The processing of the
第2の制御部220は、この実行結果を受信して、ICカード10の識別コード「12345」を認識する。ここで、必要があれば、当該識別コードが正当な権限を与えられたICカードの識別コードであるか否か等の判断処理が行われ、問題がなければ、今度は、第2のコマンドスクリプトCS2が、第1の処理システム100側に送信されることになる。
The
第1の制御部120では、再び、ステップS1において、コマンドスクリプトCS2の受信が行われる。そして、ステップS2で、「Write D1」なる最初のコマンドを抽出し、ステップS3で、これをICカード10へと送信する。すると、ICカード10内では、データD1を所定のメモリ場所に書き込む処理が行われ、書込処理が正常に実行されれば、「OK」なるレスポンスが返される。このレスポンスは、ステップS4で受信され、ステップS5で一致判定が行われる。コマンドスクリプトCS2内のコマンド「Write D1」に対応する期待レスポンスは、「OK」であるので、期待どおりのレスポンスが得られたことになり、一致判定がなされ、ステップS6を経て、ステップS2へ進む。そして、2番目のコマンド「Write D2」が抽出され、ステップS3で、ICカード10へと送信される。
In the
こうして、ICカード10側から、「OK」なるレスポンスが返信される限り、ステップS2〜S6の一巡交信処理が繰り返し実行され、「Write D1」〜「Write D10」なるコマンドが順次、ICカード10内で実行される。こうして、最後の「Write D10」なるコマンドの実行が完了すると、コマンドスクリプトCS2には、もうコマンドは残っていないので、ステップS7へと進み、成功を示す実行結果が第2の処理システム200側へと送信されることになる。第2の制御部220は、この実行結果を受信することにより、ICカード10側において、データD1〜D10の書込処理が、支障なく完了したことを認識することができる。
In this way, as long as the response “OK” is returned from the
一方、書込処理に何らかの支障が生じた場合には、第2の制御部220に対して、失敗を示す実行結果が送信されることになる。たとえば、ICカード10側で、4番目のコマンド「Write D4」を実行しようとしたときに、所定のメモリ場所の空き領域が不足しており、正常な書込処理が完了できなかったとすると、この「Write D4」なるコマンドに対しては、たとえば、「ERROR」というような書込失敗を示すレスポンスが返されることになる。すると、第1の制御部120では、期待レスポンス「OK」との不一致が確認されるので、ステップS5からステップS8へと移行し、第2のコマンドスクリプトCS2の実行はそこで中止され、失敗を示す実行結果が第2の処理システム200側へと送信されることになる。したがって、第2の制御部220は、コマンドスクリプトCS2の実行が正常に終了しなかったことを認識できる。
On the other hand, when some trouble occurs in the writing process, an execution result indicating failure is transmitted to the
なお、第1の制御部120が、失敗を示す実行結果として、4番目のコマンド「Write D4」に対して、「ERROR」なるレスポンスが得られたために不一致が生じたことを示す情報を送信するようにしておけば、第2の制御部220は、第2のコマンドスクリプトCS2内の3番目のコマンド「Write D3」までは正常に実行され、ICカード10内には、データD1〜D3までが正常に書き込まれている状態になっていることを認識することができ、4番目のコマンド「Write D4」に対しては「ERROR」なるレスポンスが得られたことも認識することができる。
Note that the
この図5に示すコマンドスクリプトCS1,CS2は、たとえば、携帯電話に装着されたICカードに対して、サーバ装置からアプリケーションプログラムをダウンロードするような処理に利用することができる。この場合、第1の処理システム100は携帯電話ということになり、ICカード10はこの携帯電話内に装着されたICカードということになる。また、第2の処理システム200は、アプリケーションプログラムを提供する機能をもったサーバ装置ということになる。そして、第1のコマンドスクリプトCS1の実行により、当該ICカードが正規のダウンロード権限をもったICカードであることを確認した上で、第2のコマンドスクリプトCS2の実行により、データD1〜D10なる10個の部分に分割されたアプリケーションプログラムがICカード10側にダウンロードされる。
The command scripts CS1 and CS2 shown in FIG. 5 can be used, for example, for processing such as downloading an application program from a server device to an IC card attached to a mobile phone. In this case, the first processing system 100 is a mobile phone, and the
もちろん、データD1〜D10はプログラムのデータである必要はなく、画像データ、音楽データ、その他、任意のデータでかまわない。したがって、図5に示すコマンドスクリプトCS1,CS2は、たとえば、ICカード内に格納されているユーザの顔写真を通信網300を介して更新するような処理にも利用することができる。一般に、顔写真のような画像データは、比較的データ量が大きく、ICカードへの書込処理を行うには、複数回の書込コマンドを与える必要がある。図5に示すコマンドスクリプトCS2を利用すれば、ユーザの顔写真の画像データをデータD1〜D10に分割して書き込むことができ、コマンドスクリプトCS1により、事前に、ICカードの識別コードの確認が行われることになるので、セキュリティの確保も配慮されることになる。
Of course, the data D1 to D10 do not need to be program data, and may be image data, music data, or other arbitrary data. Therefore, the command scripts CS1 and CS2 shown in FIG. 5 can be used for processing for updating the user's face photograph stored in the IC card via the
図5では、ICカードに対するデータの書込処理の例を示したが、もちろん、本発明は、ICカードからのデータの読出処理にも利用可能である。この場合、ICカードに対する連続したデータ読出コマンドからなるコマンドスクリプトCSを用意しておけばよい。通常、読み出されたデータは、レスポンスの一部として返信されることになるので、期待レスポンスとしては、読出処理が正常に終了したことを示すコードの部分のみ用意しておき、読み出されたデータの部分については「φ」(不明)を示すコードにしておくようにする。そうすれば、正常な読み出しが行われている限り、連続して読出処理が実行されることになる。第1の制御部120は、個々の読出コマンドのレスポンスに含まれていたデータ(読み出されたデータ)を蓄積しておき、最後に、これら蓄積データを、成功を示す実行結果として、第2の処理システム200側に送信する処理を実行すればよい。
Although FIG. 5 shows an example of data writing processing to the IC card, the present invention can of course be used for data reading processing from the IC card. In this case, a command script CS composed of continuous data read commands for the IC card may be prepared. Normally, the read data will be returned as a part of the response. Therefore, as the expected response, only the code part indicating that the reading process has been completed normally is prepared and read. The data portion has a code indicating “φ” (unknown). Then, as long as normal reading is performed, the reading process is continuously executed. The
以上、本発明を図示する実施形態に基づいて説明したが、本発明はこの実施形態に限定されることはなく、この他にも種々の形態で実施可能である。特に、第1の処理システム100や第2の処理システム200は、上述した実施形態のような携帯電話とサーバ装置に限定されるものではなく、通信機能と情報処理機能とを備えた装置であれば、どのような装置を用いてもかまわない。また、第1の制御部120や第2の制御部220の機能は、実際には、携帯電話内に組み込まれたCPU(小型コンピュータ)や、サーバ装置を構成するコンピュータに、専用の処理プログラムを組み込むことにより実現されるものであり、このような専用の処理プログラムは、光ディスクなどのコンピュータ読み取り可能な記録媒体に記録して配付することが可能である。
As mentioned above, although this invention was demonstrated based on embodiment illustrated, this invention is not limited to this embodiment, In addition, it can implement with a various form. In particular, the first processing system 100 and the second processing system 200 are not limited to the mobile phone and the server device as in the above-described embodiment, and may be devices having a communication function and an information processing function. Any device may be used. In addition, the functions of the
また、本発明にいう「ICカード」とは、一般市場において、いわゆる「ICカード」と称されて取引されているものに限定されるわけではなく、外部装置からのコマンド送信に基づいて所定の処理を実行し、その結果をレスポンスとして返信する機能をもった小型情報処理装置を広く意味するものである。同様に、本発明にいう「リーダライタ装置」とは、このような広義の「ICカード」に対して、コマンド送信を行うとともに、レスポンス受信を行う機能をもった装置を広く意味するものである。最近では、PDAやデジカメなどで利用するSDカードやMMCなどのメモリカードに、従来の一般的な「ICカード」の機能を組み込んだ商品(たとえば、MOPASSカード)なども提案されている。このMOPASSカードのようなICカード機能付きのメモリカードも、本発明にいう「ICカード」の範疇に入るものであり、この場合、MOPASSカードに対応したメモリカードスロットは、本発明にいう「リーダライタ装置」の範疇に入るものである。 The “IC card” referred to in the present invention is not limited to what is called an “IC card” in the general market and is traded. It is determined based on a command transmission from an external device. This broadly means a small information processing apparatus having a function of executing processing and returning the result as a response. Similarly, the “reader / writer device” referred to in the present invention broadly means a device having a function of transmitting a command and receiving a response to such a broad “IC card”. . Recently, a product (for example, a MOPASS card) in which a function of a conventional general “IC card” is incorporated in a memory card such as an SD card or an MMC used for a PDA or a digital camera has been proposed. A memory card with an IC card function such as this MOPASS card is also in the category of “IC card” in the present invention. In this case, the memory card slot corresponding to the MOPASS card is a “reader” in the present invention. It falls under the category of “writer device”.
10…ICカード
100…第1の処理システム
110…リーダライタ装置
120…第1の制御部
130…第1の通信部
200…第2の処理システム
210…第2の通信部
220…第2の制御部
300…通信網
CS,CS1,CS2…コマンドスクリプト
S1〜S8…流れ図の各ステップ
DESCRIPTION OF
Claims (9)
第1の地点に設置された第1の処理システムと、第2の地点に設定された第2の処理システムと、を備え、
前記第1の処理システムは、ICカードに対してコマンド送信とレスポンス受信とを行うリーダライタ装置と、このリーダライタ装置を制御する第1の制御部と、この第1の制御部と外部との間の通信を行う第1の通信部と、を有し、
前記第2の処理システムは、遠隔制御による指示を与える第2の制御部と、この第2の制御部と外部との間の通信を行う第2の通信部と、を有し、
前記第1の通信部と前記第2の通信部とは所定の通信網を介して互いに通信を行う機能を有しており、
前記第2の制御部は、所定の順序で並べられた複数のコマンドと、これら各コマンドのそれぞれに対して期待されるべき期待レスポンスと、を含んだコマンドスクリプトを、前記第2の通信部を介して前記通信網へ送信する機能を有し、
前記第1の制御部は、前記通信網から前記第1の通信部を介して前記コマンドスクリプトを受信する機能を有し、
前記第1の制御部は、更に、前記コマンドスクリプトから前記順序に従って1つのコマンドを抽出し、この抽出したコマンドを前記リーダライタ装置を介して前記ICカードに送信し、この送信したコマンドに対して前記ICカードから返信されてきたレスポンスを前記リーダライタ装置を介して受信し、この受信したレスポンスが前記コマンドスクリプトに含まれている期待レスポンスに一致するか否かを判定する一巡交信処理を、一致を示す判定結果が得られる限り繰り返し実行し、その実行結果を前記第1の通信部を介して前記通信網へ送信する機能を有し、
前記第2の制御部は、更に、前記通信網から前記第2の通信部を介して前記実行結果を受信する機能を有することを特徴とするICカード遠隔制御システム。 A system for remotely controlling an IC card at a first point from a second point,
A first processing system installed at a first point; and a second processing system set at a second point;
The first processing system includes a reader / writer device that performs command transmission and response reception to an IC card, a first control unit that controls the reader / writer device, and the first control unit and an external device. A first communication unit that performs communication between
The second processing system includes a second control unit that gives an instruction by remote control, and a second communication unit that performs communication between the second control unit and the outside,
The first communication unit and the second communication unit have a function of communicating with each other via a predetermined communication network,
The second control unit sends a command script including a plurality of commands arranged in a predetermined order and an expected response to be expected for each of the commands to the second communication unit. Having a function of transmitting to the communication network via
The first control unit has a function of receiving the command script from the communication network via the first communication unit;
The first control unit further extracts one command from the command script according to the order, transmits the extracted command to the IC card via the reader / writer device, and responds to the transmitted command. The response returned from the IC card is received via the reader / writer device, and the one-round communication process for determining whether or not the received response matches the expected response included in the command script is a match. Repeatedly as long as a determination result indicating is obtained, and having the function of transmitting the execution result to the communication network via the first communication unit,
The second control unit further has a function of receiving the execution result from the communication network via the second communication unit.
第1の制御部が、コマンドスクリプトに含まれていたすべてのコマンドに関する一巡交信処理において一致を示す判定結果が得られた場合には、成功を示す実行結果を送信し、いずれかのコマンドに関する一巡交信処理において不一致を示す判定結果が得られた場合には、失敗を示す実行結果を送信することを特徴とするICカード遠隔制御システム。 The remote control system according to claim 1, wherein
When the first control unit obtains a determination result indicating a match in the one-round communication process for all commands included in the command script, the first control unit transmits an execution result indicating success and makes a round for one of the commands. An IC card remote control system that transmits an execution result indicating failure when a determination result indicating inconsistency is obtained in the communication process.
第1の制御部が、コマンドスクリプトに含まれていたすべてのコマンドに関する一巡交信処理が完了するまで、もしくは、いずれかのコマンドに関する一巡交信処理において不一致を示す判定結果が得られるまで、実行結果の送信を行わないことを特徴とするICカード遠隔制御システム。 The remote control system according to claim 1 or 2,
Until the first control unit completes the one-round communication process for all commands included in the command script, or until a determination result indicating inconsistency is obtained in the one-round communication process for any command, An IC card remote control system characterized by not performing transmission.
第1の制御部が、一巡交信処理を繰り返し実行している間、ICカードから返信されてきたレスポンスに含まれている情報を蓄積し、この蓄積された情報を実行結果としてまとめて送信する機能を有することを特徴とするICカード遠隔制御システム。 The remote control system according to any one of claims 1 to 3,
A function in which the first control unit accumulates information included in a response returned from the IC card and repeatedly transmits the accumulated information as an execution result while repeatedly executing the one-round communication process. An IC card remote control system comprising:
第2の制御部が、複数のコマンドスクリプトを順番に送信する機能を有し、1つのコマンドスクリプトに関する実行結果を受信してから、次のコマンドスクリプトの送信を行うことを特徴とするICカード遠隔制御システム。 In the remote control system in any one of Claims 1-4,
The second control unit has a function of transmitting a plurality of command scripts in order, and receives an execution result relating to one command script, and then transmits the next command script. Control system.
第2の制御部が、期待されるべきレスポンスが予測不能な特定のコマンドに対しては、「不明」を示す期待レスポンスを対応づけたコマンドスクリプトを送信する機能を有し、
第1の制御部が、「不明」を示す期待レスポンスに関しては常に一致を示す判定結果が得られたものとする処理を行うことを特徴とするICカード遠隔制御システム。 In the remote control system according to any one of claims 1 to 5,
The second control unit has a function of transmitting a command script in which an expected response indicating “unknown” is associated with a specific command for which an expected response is unpredictable,
An IC card remote control system characterized in that the first control unit performs a process in which a determination result indicating a match is always obtained for an expected response indicating "unknown".
第1の通信部および第2の通信部が、それぞれデータを圧縮/伸張する機能を有し、両者間の通信がデータ圧縮された状態で行われるようにしたことを特徴とするICカード遠隔制御システム。 The remote control system according to any one of claims 1 to 6,
The IC card remote control characterized in that each of the first communication unit and the second communication unit has a function of compressing / decompressing data, and communication between the two is performed in a compressed state. system.
第1の通信部および第2の通信部が、それぞれデータを暗号化/復号化する機能を有し、両者間の通信が暗号化された状態で行われるようにしたことを特徴とするICカード遠隔制御システム。 In the remote control system in any one of Claims 1-7,
An IC card characterized in that each of the first communication unit and the second communication unit has a function of encrypting / decrypting data, and communication between the two is performed in an encrypted state. Remote control system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003270271A JP4283611B2 (en) | 2003-07-02 | 2003-07-02 | IC card remote control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003270271A JP4283611B2 (en) | 2003-07-02 | 2003-07-02 | IC card remote control system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005027215A true JP2005027215A (en) | 2005-01-27 |
JP4283611B2 JP4283611B2 (en) | 2009-06-24 |
Family
ID=34190272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003270271A Expired - Fee Related JP4283611B2 (en) | 2003-07-02 | 2003-07-02 | IC card remote control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4283611B2 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006293749A (en) * | 2005-04-12 | 2006-10-26 | Nippon Telegraph & Telephone East Corp | Management server and management method |
JP2006338306A (en) * | 2005-06-01 | 2006-12-14 | Fuji Electric Holdings Co Ltd | Mass data transfer system by using non-contact ic chip and method |
JP2007049554A (en) * | 2005-08-11 | 2007-02-22 | Nec Corp | Rfid reader management system, and program |
JP2007065957A (en) * | 2005-08-31 | 2007-03-15 | Felica Networks Inc | Information processing system, client, server, program and information processing method |
JP2008035481A (en) * | 2006-06-27 | 2008-02-14 | Matsushita Electric Ind Co Ltd | Communication method and communication device |
JP2010282312A (en) * | 2009-06-03 | 2010-12-16 | Atari Inc | E-mail communication system |
JP2012118949A (en) * | 2010-12-03 | 2012-06-21 | Ntt Data Corp | Command transmission device, command transmission program, command transmission method, command communication system, response transmission device, response transmission program, and response transmission method |
JP2017085332A (en) * | 2015-10-27 | 2017-05-18 | 大日本印刷株式会社 | Data converter |
JP2017530574A (en) * | 2014-07-10 | 2017-10-12 | テレフオンアクチーボラゲット エルエム エリクソン(パブル) | Method and device for signaling in a communication network |
JP2021052402A (en) * | 2020-11-18 | 2021-04-01 | テレフオンアクチーボラゲット エルエム エリクソン(パブル) | Method and device for signaling in communication network |
CN115524957A (en) * | 2022-08-12 | 2022-12-27 | 北京临近空间飞行器系统工程研究所 | Intelligent wireless launch control system and method applied to rocket wireless launch test |
-
2003
- 2003-07-02 JP JP2003270271A patent/JP4283611B2/en not_active Expired - Fee Related
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006293749A (en) * | 2005-04-12 | 2006-10-26 | Nippon Telegraph & Telephone East Corp | Management server and management method |
JP2006338306A (en) * | 2005-06-01 | 2006-12-14 | Fuji Electric Holdings Co Ltd | Mass data transfer system by using non-contact ic chip and method |
JP2007049554A (en) * | 2005-08-11 | 2007-02-22 | Nec Corp | Rfid reader management system, and program |
JP2007065957A (en) * | 2005-08-31 | 2007-03-15 | Felica Networks Inc | Information processing system, client, server, program and information processing method |
US8561908B2 (en) | 2005-08-31 | 2013-10-22 | Felica Networks, Inc. | Information processing system, clients, server, programs and information processing method |
US9729674B2 (en) | 2005-08-31 | 2017-08-08 | Felica Networks, Inc. | Information processing system, clients, server, programs and information processing method |
JP2008035481A (en) * | 2006-06-27 | 2008-02-14 | Matsushita Electric Ind Co Ltd | Communication method and communication device |
JP2010282312A (en) * | 2009-06-03 | 2010-12-16 | Atari Inc | E-mail communication system |
JP2012118949A (en) * | 2010-12-03 | 2012-06-21 | Ntt Data Corp | Command transmission device, command transmission program, command transmission method, command communication system, response transmission device, response transmission program, and response transmission method |
US11218564B2 (en) | 2014-07-10 | 2022-01-04 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods and devices for signalling in a communication network |
JP2017530574A (en) * | 2014-07-10 | 2017-10-12 | テレフオンアクチーボラゲット エルエム エリクソン(パブル) | Method and device for signaling in a communication network |
US10419579B2 (en) | 2014-07-10 | 2019-09-17 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods and devices for signalling in a communication network |
JP2017085332A (en) * | 2015-10-27 | 2017-05-18 | 大日本印刷株式会社 | Data converter |
JP2021052402A (en) * | 2020-11-18 | 2021-04-01 | テレフオンアクチーボラゲット エルエム エリクソン(パブル) | Method and device for signaling in communication network |
JP7074826B2 (en) | 2020-11-18 | 2022-05-24 | テレフオンアクチーボラゲット エルエム エリクソン(パブル) | Methods and devices for signaling in communication networks |
CN115524957A (en) * | 2022-08-12 | 2022-12-27 | 北京临近空间飞行器系统工程研究所 | Intelligent wireless launch control system and method applied to rocket wireless launch test |
Also Published As
Publication number | Publication date |
---|---|
JP4283611B2 (en) | 2009-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7873767B2 (en) | Wireless IC memory, accessing apparatus for use of wireless IC memory, accessing control method for use of wireless IC memory, and wireless IC memory system | |
US7428992B2 (en) | Secure device and system for issuing IC cards | |
USRE44442E1 (en) | Information processing apparatus and information processing method | |
JP3028815B2 (en) | Transmission method of portable electronic device and portable electronic device | |
US20070223696A1 (en) | Secure Device and Relay Terminal | |
JP4283611B2 (en) | IC card remote control system | |
CN113301568B (en) | Network distribution method and device and intelligent household equipment | |
KR20100029092A (en) | Method for processing application commands from physical channels using a portable electronic device and corresponding device and system | |
JP6516133B2 (en) | Communication device and communication system | |
KR100782113B1 (en) | Memory card system and method transmitting host identification information thereof | |
WO2010016332A1 (en) | Communication device, communication method, and program | |
CN112653668A (en) | Data interaction method and device, computer equipment and storage medium | |
CN101266656B (en) | Electronic tag data writing method and read/write apparatus | |
JP5500332B2 (en) | IC chip, information processing apparatus, software module control method, information processing system and method, and program | |
CN101197959A (en) | Terminal control method, system and equipment | |
JP2008107991A (en) | Information processing medium, program therefor, error processing method for information processing medium, and information processing system | |
JP2001282467A (en) | Method for reading/writing data from/in sd card certification area and data communication device | |
US6607138B2 (en) | Communication method of IC card reader/writer | |
JP5690927B2 (en) | Method and system for processing a plurality of wireless communication streams by an integrated circuit card | |
JP4620418B2 (en) | Real-time command processing method, IC card, and embedded terminal | |
JP6948021B2 (en) | Electronic information storage media, information processing methods, and information processing programs | |
CN116170794B (en) | Online idle issuing system and method for smart card | |
JP2005084926A (en) | Ic card and ic card issuing device | |
JP2016095877A (en) | IC card | |
JP5437163B2 (en) | Information processing method, information processing apparatus, and information processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081002 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081014 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081215 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090113 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090227 |
|
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: 20090317 |
|
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: 20090319 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4283611 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120327 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130327 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130327 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140327 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |