JP4590201B2 - Data carrier and data carrier program - Google Patents
Data carrier and data carrier program Download PDFInfo
- Publication number
- JP4590201B2 JP4590201B2 JP2004109168A JP2004109168A JP4590201B2 JP 4590201 B2 JP4590201 B2 JP 4590201B2 JP 2004109168 A JP2004109168 A JP 2004109168A JP 2004109168 A JP2004109168 A JP 2004109168A JP 4590201 B2 JP4590201 B2 JP 4590201B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- processing request
- data carrier
- contact
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Credit Cards Or The Like (AREA)
- Mobile Radio Communication Systems (AREA)
Description
本発明は、ICカード、SIMカード、ICタグなどのデータキャリア及びこのデータキャリアのCPUに実行させるデータキャリアのプログラムに関するものである。 The present invention relates to a data carrier such as an IC card, a SIM card, and an IC tag, and a data carrier program to be executed by a CPU of the data carrier.
近年、ICカード、SIMカード、ICタグなどのICチップ及び外部との通信手段を備え、キーボードなどのマンマシンインターフェイスが設けられていない(設けられていてもマンマシンインターフェイスから入力可能なデータが制限される)機密性の高い携帯型の情報処理装置であるデータキャリアの発達はめざましく、複数のアプリケーションが搭載されたいわゆるマルチアプリケーションICカード、また、非接触式の通信(以下、「非接触通信」という。)を行うアンテナなどの非接触通信手段及び接触式の通信(以下、「接触通信」という。)を行う接触端子などの接触通信手段の複数のインターフェイスを備えるICカード(ハイブリッドカード)が登場している。 In recent years, IC chips such as IC cards, SIM cards, IC tags, etc. and communication means with the outside have been provided, and no man-machine interface such as a keyboard has been provided. The development of data carriers, which are portable information processing devices with high confidentiality, is remarkable, so-called multi-application IC cards equipped with a plurality of applications, and non-contact communication (hereinafter referred to as “non-contact communication”). IC cards (hybrid cards) equipped with multiple interfaces for contact communication means such as contact terminals for contactless communication means such as antennas and contact type communication (hereinafter referred to as “contact communication”). is doing.
複数のアプリケーションが搭載されているハイブリッドカードでは、例えば、定期券のアプリケーションであれば非接触通信手段、クレジットのアプリケーションであれば接触通信手段など、各アプリケーションは、カードの使用形態、セキュリティなどの観点に基づいて、非接触通信手段又は接触通信手段のいずれかの通信手段を使用するように設定されている。また、ハイブリッドカードは、インターフェイスに対応したオペレーティングシステム(以下、「OS」という。)のプログラムを実行することによって、インターフェイスに対応するアプリケーション(以下、接触通信に対応するアプリケーションを「接触アプリケーション」、非接触通信に対応するアプリケーションを「非接触アプリケーション」という。)を起動し、処理を行う。 In a hybrid card equipped with a plurality of applications, for example, non-contact communication means for commuter pass applications, contact communication means for credit applications, etc., each application has a viewpoint of card usage, security, etc. Is set to use any one of the non-contact communication means or the contact communication means. Further, the hybrid card executes an operating system (hereinafter referred to as “OS”) program corresponding to the interface, thereby executing an application corresponding to the interface (hereinafter referred to as “contact application”, non-contact communication). An application corresponding to contact communication is referred to as a “non-contact application”) to perform processing.
つまり、図10に示すように、ICカードは、外部装置AからアプリケーションA(クレジット)に対するメッセージ(コマンド及び処理対象のデータ)を、通信手段Aが通信方式Aで通信を行うことによって受信する。CPUは、通信方式Aに対応するOSのプログラムを実行し、アプリケーションAを起動し、メッセージに対応するプログラムを実行することによってメッセージ送受信部Aを実現し、メッセージを解釈し、応答メッセージ(レスポンス)を生成する。メッセージ送受信部Aは、受信と同じ通信方式Aで通信手段Aを介して外部装置Aにこの応答メッセージを送信する。また、通信手段Bが通信方式Bでメッセージを受信した場合には、同様に、ICカードは、メッセージ送受信部Bによって処理を行い、通信手段Bを介して応答メッセージを外部装置Bに送信する。 That is, as shown in FIG. 10, the IC card receives a message (command and data to be processed) from the external device A to the application A (credit) when the communication unit A communicates with the communication method A. The CPU executes the OS program corresponding to the communication method A, starts the application A, executes the program corresponding to the message, thereby realizing the message transmission / reception unit A, interprets the message, and sends a response message (response) Is generated. The message transmission / reception unit A transmits this response message to the external device A via the communication means A by the same communication method A as reception. When the communication unit B receives a message using the communication method B, similarly, the IC card performs processing by the message transmission / reception unit B and transmits a response message to the external device B via the communication unit B.
従って、未発行のICカードにアプリケーションの個別データを書き込み、アプリケーションの発行を行う工程においては、先ず、通信方式AでアプリケーションA用の個別データを書き込み、その後、通信方式BでアプリケーションB用の個別データを書き込むように、通信方式を変えて二段階の処理を行わなければならず、処理を行う設備の負担、処理に時間がかかるという問題があった。なお、アプリケーションの個別データとは、このアプリケーションのプログラムの実行において必要なカード個別、カード属性別のデータである。 Accordingly, in the process of writing individual application data to an unissued IC card and issuing an application, first, individual data for application A is written by communication method A, and then individual data for application B by communication method B. In order to write data, the communication method must be changed to perform two-stage processing, and there is a problem in that the load of the equipment for processing and the processing take time. The individual data of the application is data for each card and card attribute necessary for executing the program of the application.
一方、SIMカードが携帯電話機に装着されている電子情報読み取り・書き込み装置がある(例えば、特許文献1参照。)。
SIMカードは、接触通信手段である接触端子を備え、携帯電話機側のアンテナ(非接触通信手段)をこの接触端子に接続することによって、SIMカードが非接触式の通信を行うことが可能となる。しかし、このSIMカードの発行時には、アプリケーションBが搭載されているが、SIMカードが携帯電話機に装着されていないため、非接触通信手段(アンテナ)を介してアプリケーションB用の個別データを書き込むことができない可能性があった。
また、SIMカードの発行時に携帯電話機側に設けられる外部のアンテナの代わりとなるアンテナを個々のSIMカードに設ければ、アプリケーションB用の個別データを書き込むことはできるが、個々のSIMカードにアンテナを設ける負担がかかるという問題があった。
The SIM card includes a contact terminal which is a contact communication unit, and the SIM card can perform non-contact communication by connecting an antenna (non-contact communication unit) on the mobile phone side to the contact terminal. . However, when the SIM card is issued, the application B is installed, but since the SIM card is not attached to the mobile phone, individual data for the application B can be written via the non-contact communication means (antenna). There was a possibility that it could not be done.
In addition, if an individual SIM card is provided with an antenna that replaces the external antenna provided on the mobile phone side when the SIM card is issued, individual data for application B can be written. There was a problem that it took a burden to install.
更に、本出願人は、アンテナホルダーにSIMを装着する「SIMおよびSIMホルダ」の発明について出願(未公開)を行っているが(特願2002−244613)、この「SIMおよびSIMホルダ」についても同様の問題が発生する可能性があった。 Further, the present applicant has filed an application (unpublished) for the invention of “SIM and SIM holder” for mounting the SIM on the antenna holder (Japanese Patent Application No. 2002-244613), but also regarding this “SIM and SIM holder” Similar problems could occur.
本発明の課題は、発行工程における負担を軽減するなど、利便性の向上を図ることが可能なデータキャリア及びデータキャリアのプログラムを提供することである。 An object of the present invention is to provide a data carrier and a data carrier program capable of improving convenience such as reducing a burden in an issuing process.
本発明は、以下のような解決手段により、前記課題を解決する。なお、理解を容易にするために、本発明の実施形態に対応する符号を付して説明するが、これに限定されるものではない。すなわち、請求項1の発明は、異なる通信方式で受信する異なる種類の処理要求について、通信方式に対応したオペレーティングシステムのプログラム及びアプリケーションのプログラムを実行して、それぞれの通信方式に応じて処理を行う複数の処理手段(141,142、141−2,142−2)を備えるデータキャリアであって、一の前記処理手段は、外部から受信される一の処理要求が他の前記処理手段に対応し、受信した通信方式とは異なる種類の処理要求である他の処理要求を含む場合には、前記一の処理要求に対応する前記オペレーティングシステムのプログラムを実行して処理を行うことにより、前記一の処理要求に含まれる識別子に基づいて識別された前記他の処理要求を、前記一の処理要求から抽出し(S130、S340、S430)、前記他の処理手段は、前記一の処理手段によって抽出された前記他の処理要求について処理を行うこと(S160,#60、S370,#140、S460,#160)、を特徴とするデータキャリア(1、1−2)において、共用メモリ(161、162)を備え、前記一の処理手段は、抽出した前記他の処理要求を前記共用メモリに書き込む書込手段(141,S140、141−2,S350、142−2,S440)を有し、前記他の処理手段は、前記書込手段による前記共用メモリへの書き込みにより、前記他の処理要求に対応するアプリケーションのプログラムを起動し、前記書込手段によって前記共用メモリに書き込まれた前記処理要求について、前記他の処理要求に対応するアプリケーションのプログラムを実行して処理を行い、当該処理の結果を前記共用メモリに書き込むこと、を特徴とするデータキャリア(1、1−2)である。
The present invention solves the above problems by the following means. In addition, in order to make an understanding easy, although the code | symbol corresponding to embodiment of this invention is attached | subjected and demonstrated, it is not limited to this. That is, the invention of
請求項2の発明は、請求項1に記載のデータキャリアにおいて、前記複数の処理手段は、接触通信で受信する接触用処理要求について処理を行う接触用処理手段(141、141−2)と、非接触通信で受信する非接触用処理要求について処理を行う非接触用処理手段(142、142−2)とを有すること、を特徴とするデータキャリア(1、1−2)である。
The invention according to claim 2 is the data carrier according to
請求項3の発明は、請求項1又は請求項2に記載のデータキャリアにおいて、前記異なる通信方式に対応する複数のアプリケーションを記憶するアプリ記憶手段(17)を備え、前記複数の処理手段は、前記アプリ記憶手段によって記憶されているアプリケーションに従って処理を行うアプリ処理手段(141,142、141−2,142−2)を有し、前記一の処理手段は、外部から受信される一の処理要求が前記他の処理要求を含む場合には、前記他の処理手段の有するアプリ処理手段に処理を行わせること(S150、S360、S450)、を特徴とするデータキャリア(1、1−2)である。
The invention according to claim 3 includes application storage means (17) for storing a plurality of applications corresponding to the different communication methods in the data carrier according to
請求項4の発明は、請求項3に記載のデータキャリアにおいて、前記処理手段は、前記アプリ記憶手段によって記憶されているアプリケーションの発行についての処理を行うこと、を特徴とするデータキャリア(1、1−2)である。 According to a fourth aspect of the present invention, there is provided the data carrier according to the third aspect, wherein the processing means performs processing for issuing an application stored in the application storage means. 1-2).
請求項5の発明は、請求項1から請求項4までのいずれか1項に記載のデータキャリアにおいて、前記複数の処理手段に対応する複数の通信方式のうちのいずれか少なくとも一の通信方式によって外部との通信を行うことができない状態であって、前記一の処理手段(141)は、外部から受信される一の処理要求に含まれる、前記外部との通信を行うことができない一の通信方式に対応する他の処理要求を抽出すること(S130)、を特徴とするデータキャリア(1)である。 According to a fifth aspect of the present invention, in the data carrier according to any one of the first to fourth aspects, at least one of a plurality of communication methods corresponding to the plurality of processing means is used. The one communication means in which communication with the outside is not possible and the one processing means (141) is unable to perform communication with the outside included in one processing request received from the outside. The data carrier (1) is characterized by extracting another processing request corresponding to the method (S130).
請求項6の発明は、請求項1から請求項5までのいずれか1項に記載のデータキャリアにおいて、前記一の処理手段は、前記他の処理手段による処理結果を前記一の処理要求に対応した応答として生成する応答生成手段(141,S170、141−2,S380、142−2,S470)を有すること、を特徴とするデータキャリア(1、1−2)である。 According to a sixth aspect of the present invention, in the data carrier according to any one of the first to fifth aspects, the one processing unit responds to a processing result of the other processing unit in response to the one processing request. It is a data carrier (1, 1-2) characterized by having response generation means (141, S170, 141-2, S380, 142-2, S470) generated as a response.
請求項7の発明は、異なる通信方式で受信する複数種の処理要求について処理を行わせるためにデータキャリアのCPUに、通信方式に対応したオペレーティングシステムのプログラム及びアプリケーションのプログラムを実行させるデータキャリアのプログラムであって、外部から受信した一の処理要求が受信した通信方式とは異なる種類の処理要求である他の処理要求を含む場合に、前記一の処理要求に対応するオペレーティングシステムのプログラムを実行して処理を行うことにより、前記一の処理要求に含まれる識別子に基づいて識別された前記他の処理要求を、前記一の処理要求から抽出する処理要求抽出手順と(S130、S340、S430)、前記処理要求抽出手順において抽出された処理要求について処理を行う処理手順(S160,#60、S370,#140、S460,#160)と、前記処理要求抽出手順において抽出した前記他の処理要求を共用メモリに書き込む処理要求書込手順(S140、S350、S440)と、前記処理手順は、前記書込手段による前記共用メモリへの書き込みにより、前記他の処理要求に対応するアプリケーションのプログラムを起動し、前記処理要求書込手順において書き込まれた前記他の処理要求を前記共用メモリから読み出し、前記共用メモリに書き込まれた前記処理要求について、前記他の処理要求に対応するアプリケーションのプログラムを実行して処理を行い、当該処理の結果を前記共用メモリに書き込むこと、を特徴とするデータキャリアのプログラムである。 According to the seventh aspect of the present invention, there is provided a data carrier that causes a data carrier CPU to execute an operating system program and an application program corresponding to the communication method in order to perform processing for a plurality of types of processing requests received by different communication methods. A program for an operating system corresponding to the one processing request is executed when the processing request received from the outside includes another processing request that is a processing request of a different type from the received communication method. A process request extraction procedure for extracting the other process request identified based on the identifier included in the one process request from the one process request (S130, S340, S430). A processing procedure for processing the processing request extracted in the processing request extraction procedure S160, # 60, S370, # 140, S460, # 160), a processing request writing procedure (S140, S350, S440) for writing the other processing request extracted in the processing request extraction procedure to a shared memory, The processing procedure starts a program of an application corresponding to the other processing request by writing to the shared memory by the writing means , and uses the other processing request written in the processing request writing procedure. The processing request read from the memory and written to the shared memory is processed by executing an application program corresponding to the other processing request, and the result of the processing is written to the shared memory. A data carrier program.
請求項8の発明は、請求項7に記載のデータキャリアのプログラムにおいて、前記処理要求抽出手順は、外部から接触通信で受信した接触用処理要求が非接触用処理要求を含む場合、又は、外部から非接触通信で受信した非接触用処理要求が接触用処理要求を含む場合に、前記非接触用処理要求又は前記接触用処理要求を抽出すること、を特徴とするデータキャリアのプログラムである。
The invention according to claim 8 is the data carrier program according to
請求項9の発明は、請求項7又は請求項8に記載のデータキャリアのプログラムにおいて、前記データキャリアは、前記異なる通信方式に対応する複数のアプリケーションを記憶し、前記処理要求抽出手順において抽出した前記他の処理要求が対応するアプリケーションを呼び出すアプリ呼び出し手順(S150、S360、S450)を備えること、を特徴とするデータキャリアのプログラムである。
The invention of claim 9 is the data carrier program according to
請求項10の発明は、請求項9に記載のデータキャリアのプログラムにおいて、前記処理手順は、記憶されている前記アプリケーションの発行についての処理を行うこと、を特徴とするデータキャリアのプログラムである。 A tenth aspect of the present invention is the data carrier program according to the ninth aspect , wherein the processing procedure performs a process for issuing the stored application.
請求項11の発明は、請求項7から請求項10までのいずれか1項に記載のデータキャリアのプログラムにおいて、前記処理要求抽出手順は、外部から受信した一の処理要求から、外部との通信を行うことができない通信方式に対応する他の処理要求を抽出すること(S130)、を特徴とするデータキャリアのプログラムである。 According to an eleventh aspect of the present invention, in the data carrier program according to any one of the seventh to the tenth aspects, the processing request extraction procedure is configured to perform communication with an external device from one processing request received from the outside. This is a data carrier program characterized by extracting another processing request corresponding to a communication method that cannot be performed (S130).
請求項12の発明は、請求項7から請求項11までのいずれか1項に記載のデータキャリアのプログラムにおいて、前記処理手順における処理結果を受信した前記一の処理要求に対応した応答として生成する応答生成手順(S170、S380、S470)を備えること、を特徴とするデータキャリアのプログラムである。
The invention of
本発明によるICカードによれば、以下の効果を得ることが可能となった。
(1)受信する一の処理要求に含まれる他の処理要求を抽出し、この他の処理要求について処理を行うことによって、処理要求を対応する通信方式と異なる通信方式で受信し、処理を行うことができ、発行工程における負担を軽減するなど、利便性の向上を図る。また、一の通信方式に対応する一の処理要求が他の通信方式に対応する他の処理要求を含むことによって、特に複雑な処理を行うことなく、簡易な処理によって、上記効果を得ることが可能となった。
(2)特に、アプリケーションに対応する通信方式と異なる通信方式で処理要求を受信した場合であっても、アプリケーションについての処理を行うことを可能とする。
(3)いずれかの通信方式で通信を行うことができない場合であっても、この通信方式に対応する処理要求を一の処理要求から抽出することによって、この通信方式に対応する処理要求について処理を行うことを可能とする。
(4)共用メモリに抽出した他の処理要求を書き込むことによって、異なる通信方式に対応する処理手段(プログラム)間における他の処理要求の受け渡しを可能とする。
(5)処理結果を一の処理要求に対応した応答として生成することによって、より一層容易な処理によって上記効果を得ることが可能となった。
According to the IC card of the present invention, the following effects can be obtained.
(1) By extracting another processing request included in the one processing request to be received and processing the other processing request, the processing request is received and processed by a communication method different from the corresponding communication method. It is possible to improve convenience by reducing the burden on the issuing process. In addition, since one processing request corresponding to one communication method includes another processing request corresponding to another communication method, the above effect can be obtained by simple processing without performing particularly complicated processing. It has become possible.
(2) In particular, even when a processing request is received by a communication method different from the communication method corresponding to the application, it is possible to perform processing for the application.
(3) Even if communication cannot be performed with any of the communication methods, processing requests corresponding to this communication method are processed by extracting processing requests corresponding to this communication method from one processing request. It is possible to perform.
(4) By writing other processing requests extracted in the shared memory, it is possible to pass other processing requests between processing means (programs) corresponding to different communication methods.
(5) By generating the processing result as a response corresponding to one processing request, it is possible to obtain the above-described effect by an even easier processing.
発行工程における負担を軽減するなど、利便性の向上という目的を、外部装置から接触式で受信したコマンドから非接触通信に対応するコマンドを抽出し、共用メモリに書き込み、非接触通信に対応するアプリケーションを呼び出し、このアプリケーションが共有メモリからコマンドを読み出し、コマンドについての処理を行うことによって実現する。 An application that supports non-contact communication by extracting commands corresponding to non-contact communication from commands received from an external device in a contact type for the purpose of improving convenience, such as reducing the burden on the issuing process, and writing to the shared memory This is realized by the application reading the command from the shared memory and processing the command.
図1は、本発明によるデータキャリアの実施例1における構成を示すブロック図である。なお、実施例1におけるデータキャリアは、発行前のSIMカード10である。
図1に示すように、SIMカード発行システム1は、SIMカード10と、発行処理装置20Aとを備え、発行処理装置20A及びSIMカード10が通信を行うことによって、アプリケーションの個別データをSIMカード10に書き込み、SIMカード10に搭載されているアプリケーションの発行などのSIMカード10の発行処理を行うシステムである。
発行処理装置20Aは、SIMカード10との接触通信を媒介するリーダライタ(R/W)を備え、SIMカード10への個別データの書き込みなどの発行処理を行うコンピュータである。
FIG. 1 is a block diagram showing a configuration of a data carrier according to a first embodiment of the present invention. In addition, the data carrier in Example 1 is the
As shown in FIG. 1, the SIM
The
SIMカード10は、ICチップ13と、ICチップ13に接続されている接触端子11及び外部アンテナ接続用端子12などとを備え、発行後に携帯電話などのホルダに装着して利用される。接触端子11は、発行処理装置20Aなどの外部装置との接触通信を媒介する接触式インターフェイスである。外部アンテナ接続用端子12は、ホルダに設けられているアンテナ(外部アンテナ)に接続するための接触端子であって、外部アンテナが接続されることによって、外部装置との非接触通信が可能となる。接触端子11及び外部アンテナ接続用端子12には、ISO7816規格に準拠した接触端子板の8つの端子が用いられ、通常使用されていない2つの端子が外部アンテナ接続用端子12に割り当てられている。
The
ICチップ13は、接触通信及び非接触通信のデュアルインターフェイスを備えるICチップであって、CPU14、CPU14に接続されているRF部15、RAM16、ROM17、不揮発性メモリ18などを備えている。RF部15は、外部アンテナを介して入力するアナログ受信信号から電源電圧、クロック信号を抽出し、ICチップ13の各部へ供給する電源生成部、クロック生成回路、アナログ受信信号をデジタルデータへ変調、復調、またその逆を行う変調、復調回路などを備えるインターフェイスであって、CPU14及び外部装置間の非接触通信を媒介する。
CPU14は、SIMカード10を統括制御する中央処理装置であって、発行処理装置20Aなどの外部装置から処理要求である所定のコマンドを受信した場合に、このコマンドを解釈実行し、その結果からコマンドを受信した通信方式に従って、レスポンスを生成し、外部装置へ送信する。CPU14は、通信方式に応じてメモリ16,17,18に記憶されているプログラム(OS,アプリケーションのプログラム)を実行することによって、外部装置と接触通信を行っている場合には、接触用コマンド制御部141を実現し、非接触通信を行っている場合には、非接触用コマンド制御部142を実現する。接触用コマンド制御部141及び非接触用コマンド制御部142は、コマンドの解釈実行、レスポンスの生成を行う。詳細は、図5を用いて後述する。
The IC chip 13 is an IC chip having a dual interface for contact communication and non-contact communication, and includes a CPU 14, an
When the CPU 14 is a central processing unit that performs overall control of the
RAM16は、CPU14が処理を行うための作業領域として使用する揮発性メモリであり、ROM17は、OS、アプリケーションのプログラムなどのCPU14が処理を行うために必要なプログラムなどを記憶している不揮発性の読み出し専用メモリである。ROM17は、接触アプリケーション、非接触アプリケーションなどの異なる通信方式に対応する複数のアプリケーションのプログラムを記憶している。なお、本実施例においては、ROM17には、説明の簡略化の観点から各アプリケーションが1つずつ記憶されている。不揮発性メモリ18は、EEPROM、フラッシュメモリ、FRAMなどの随時書き換え可能な不揮発性のメモリであって、アプリケーションの制御情報などアプリケーションのデータを格納する領域を確保、管理するためのデータが記憶されている。不揮発性メモリ18には、接触アプリケーションの個別データを格納するための領域、非接触アプリケーションの個別データを格納するための領域が確保されている(後述する図5参照。)。
The
図2は、本発明によるデータキャリア及び外部装置間の通信における伝送用プロトコルを説明する説明図である。図2(a)は接触通信で用いられる接触用伝送プロトコルコマンド(接触用コマンド、接触用レスポンス)の1フレームの構成、図2(b)は非接触通信で用いられる非接触用伝送プロトコルコマンド(非接触用コマンド、非接触用レスポンス)の1フレームの構成、図2(c)は図2(a)及び図2(b)におけるコマンド受信時の情報フィールドの構成、図2(d)は図2(a)及び図2(b)におけるレスポンス送信時の情報フィールドの構成を各々示している。
図2(a)に示すように、接触用伝送プロトコルコマンドの1フレーム(ブロック)は、先頭フィールド、情報フィールド及び最終フィールドから構成される。先頭フィールドのノードアドレス(NAD)は、コマンドブロックの送信元と宛先を示すものである。また、プロトコル制御バイト(PCB)は、データ伝送の制御に必要なプロトコル制御情報が格納されている。レングス(LEN)には、後に続く情報フィールドのデータの長さが格納される。情報フィールドには、コマンド(レスポンス)本体のデータ(INF)が格納され、最終フィールドには、送信されるブロックの誤り検出符号(EDC)が格納される。
FIG. 2 is an explanatory diagram illustrating a transmission protocol in communication between a data carrier and an external device according to the present invention. FIG. 2A shows a configuration of one frame of a contact transmission protocol command (contact command, contact response) used in contact communication. FIG. 2B shows a non-contact transmission protocol command (used in contactless communication). FIG. 2 (c) shows the structure of an information field at the time of command reception in FIG. 2 (a) and FIG. 2 (b), and FIG. The structure of the information field at the time of response transmission in 2 (a) and FIG.
As shown in FIG. 2A, one frame (block) of the contact transmission protocol command is composed of a head field, an information field, and a last field. The node address (NAD) in the first field indicates the source and destination of the command block. The protocol control byte (PCB) stores protocol control information necessary for controlling data transmission. The length (LEN) stores the data length of the information field that follows. The data (INF) of the command (response) body is stored in the information field, and the error detection code (EDC) of the transmitted block is stored in the final field.
非接触用伝送プロトコルコマンドの1フレームは、図2(b)に示すように、先頭フィールド、情報フィールド及び最終フィールドにより構成される。先頭フィールドのプロトコル制御バイト(PCB)は、プロトコル制御情報が格納され、カード識別子(CID)には、ICカードの番号などのICカード識別情報が格納される。
情報フィールドには、コマンド(レスポンス)本体が格納され、最終フィールドには、送信されるブロックの誤り検出符号(EDC)が格納される。
As shown in FIG. 2B, one frame of the non-contact transmission protocol command is composed of a head field, an information field, and a last field. The protocol control byte (PCB) of the first field stores protocol control information, and the card identifier (CID) stores IC card identification information such as an IC card number.
The information field stores the command (response) body, and the final field stores the error detection code (EDC) of the block to be transmitted.
図2(c)に示すように、コマンド受信時の情報フィールドは、コマンド本体のデータ(INF)が格納され、コマンド本体は、見出し部及び本体部から構成される。見出し部は、クラスバイト(CLA)、命令バイト(INS)、パラメタバイト1(P1)及びパラメタバイト2(P2)から構成されるコマンドの種別、動作を指定するパラメータである。本体部は、長さ(Lc)、データフィールドバイト(DATA)及び長さ(Le)から構成され、長さ(Lc)は、データフィールドバイト(DATA)の長さを示し、長さ(Le)は、コマンドに対するレスポンスのデータフィールド内に期待される最大バイト数を示す。データフィールドバイト(DATA)には、更新のコマンドであれば、更新データなど、外部装置からICカードへ提供する処理対象となるデータが格納される。 As shown in FIG. 2C, the information field at the time of command reception stores command body data (INF), and the command body is composed of a heading part and a body part. The heading part is a parameter that specifies the type and operation of a command including a class byte (CLA), an instruction byte (INS), a parameter byte 1 (P1), and a parameter byte 2 (P2). The main body is composed of a length (Lc), a data field byte (DATA), and a length (Le). The length (Lc) indicates the length of the data field byte (DATA), and the length (Le) Indicates the maximum number of bytes expected in the data field of the response to the command. In the data field byte (DATA), in the case of an update command, data to be processed to be provided from an external device to the IC card, such as update data, is stored.
図2(d)に示すように、レスポンス送信時の情報フィールドは、レスポンス本体のデータ(INF)が格納され、レスポンス本体は、本体部及び後続部から構成される。本体部は、データフィールドバイト(DATA)であって、ステータスバイト1(SW1)は、コマンド処理ステータス、ステータスバイト2(SW2)は、コマンド処理修飾子を示している。データフィールドバイト(DATA)には、SIMカードから外部装置へ提供する処理対象となるデータが格納される。
以上のように、接触通信、非接触通信における伝送プロトコルコマンド(接触用コマンド,非接触用コマンド、接触用レスポンス,非接触用レスポンス)のフレーム構成は、異なる。つまり、SIMカード10は、異なる2つの仕様(種類)のコマンド(接触用コマンド及び非接触用コマンド)を、対応する異なる通信方式で受信する。
As shown in FIG. 2D, the information field at the time of response transmission stores response body data (INF), and the response body includes a body portion and a subsequent portion. The main body is a data field byte (DATA), status byte 1 (SW1) indicates a command processing status, and status byte 2 (SW2) indicates a command processing modifier. The data field byte (DATA) stores data to be processed to be provided from the SIM card to the external device.
As described above, the frame configurations of the transmission protocol commands (contact command, non-contact command, contact response, non-contact response) in contact communication and non-contact communication are different. In other words, the
図3は、SIMカード10で利用が可能である非接触アプリアクセス用コマンド及び接触アプリアクセス用コマンドのコマンド受信時(図3(a))及びレスポンス送信時(図3(b))の情報フィールドの構成を示す図である。
非接触アプリアクセス用コマンドは、SIMカード10で利用が可能である接触用コマンドのうちの一のコマンドであり、接触アプリアクセス用コマンドは、非接触用コマンドのうちの一のコマンドである。
図3(a)に示すように、コマンド受信時の接触アプリアクセス用コマンド(非接触アプリアクセス用コマンド)のデータフィールドバイト(DATA)には、非接触用コマンド(接触用コマンド)本体のデータ(図3(a’))が格納される。また、図3(b)に示すように、レスポンス送信時の接触アプリアクセス用コマンド(非接触アプリアクセス用コマンド)のデータフィールドバイト(DATA)には、非接触用レスポンス本体のデータ(図3(b’))が格納される。この接触アプリアクセス用コマンド(非接触アプリアクセス用コマンド)の処理については、図4及び図5を用いて後述する。
FIG. 3 shows information fields at the time of command reception (FIG. 3 (a)) and response transmission (FIG. 3 (b)) of a contactless application access command and a contact application access command that can be used in the
The non-contact application access command is one command among contact commands that can be used in the
As shown in FIG. 3A, in the data field byte (DATA) of the contact application access command (non-contact application access command) at the time of command reception, the data (non-contact command) body data ( FIG. 3 (a ′)) is stored. Also, as shown in FIG. 3B, the data field byte (DATA) of the contact application access command (non-contact application access command) at the time of response transmission contains the data of the non-contact response body (FIG. 3 ( b ′)) is stored. The processing of the contact application access command (non-contact application access command) will be described later with reference to FIGS.
図4及び図5は、本発明によるデータキャリアの動作及びプログラムを示す図であって、図4はROM17に記憶されているOSの動作フローチャート、図5は説明図である。なお、図5の点線で囲まれた部分は、CPU14が実行するプログラムを示している。以下、このCPU14(接触コマンド制御部141)の処理を中心に説明する。
図4に示すように、ステップ100(以下、「ステップ」を「S」という。)において、SIMカード10は、接触端子11を介して発行処理装置20Aに接続され、初期応答(ATR)の送信などの処理を行い、初期化され、コマンドの受信待ちの状態にある。
S110において、SIMカード10は、発行処理装置20Aから接触用コマンド(図2(a)参照。)を受信する。接触通信に対応するOS(接触用OS)は、コマンド識別子に基づいて、このコマンドを識別し、書き込み(Write)などの通常の接触用コマンドであって、非接触アプリアクセス用コマンド(図3(a)参照。)でない場合には、接触用アプリケーションを呼び出して起動するなど、従来と同様の処理を行う(S120,S190、図5の#10,#40)。OSは、処理結果として接触用レスポンスを発行処理装置20Aへ送信し、このコマンドについての処理を終了し(S200)、再びコマンド待ちの状態となる。
4 and 5 are diagrams showing the operation and program of the data carrier according to the present invention. FIG. 4 is an operation flowchart of the OS stored in the
As shown in FIG. 4, in step 100 (hereinafter, “step” is referred to as “S”), the
In S110, the
受信した接触用コマンドが非接触アプリアクセス用コマンドである場合には、OSは、データフィールドバイトから非接触用コマンド(図3(a’)参照。)を抽出し(S120,S130)、RAM16の非接触コマンドレスポンスバッファに書き込み(S140、図5の#20)、非接触アプリケーションを起動する(S150、図5の#30)。制御がOSから非接触アプリケーションに移り、非接触アプリケーションは、この非接触コマンドレスポンスバッファ161からコマンドを読み出して実行し(図5の#50,#60)、その結果(非接触用レスポンス、図3(b’)参照。)を非接触コマンドレスポンスバッファ161に書き込む(図5の#50)。制御がOSに戻り(S160、図5の#30)、OSは、この非接触用レスポンスを読み出す(図5の#20)。OSは、読み出した非接触用レスポンスをデータフィールドバイトに格納した接触用レスポンス(図3(b)参照。)を接触用伝送プロトコルに乗せて外部へ送信し(S170)、このコマンドについての処理を終了し、再びコマンド待ちの状態となる(S180)。なお、非接触コマンドレスポンスバッファ161とは、RAM16に形成される情報の一時的な保存場所であって、接触用OSなどの接触通信側、非接触アプリケーションなどの非接触通信側のいずれからも参照可能な共用メモリである。
このように、発行処理装置20Aは、SIMカード10と接触通信を行い、ファイル選択コマンド、書き込みコマンド、認証コマンドなどの非接触用コマンドを含む非接触アプリアクセス用コマンドをSIMカード10に接触通信で送信することによって、不揮発性メモリ18の非接触アプリケーションに割り当てられているデータ領域に個別データを書き込み、非接触アプリケーションの発行を行う。
When the received contact command is a contactless application access command, the OS extracts the contactless command (see FIG. 3A ′) from the data field byte (S120, S130), and the
In this way, the
以上のように、実施例1によれば、発行処理装置20A及びSIMカード10間で接触通信を行うことによって、非接触アプリケーションの個別データをSIMカード10に書き込み、非接触アプリケーションの発行を行うことが可能となった。つまり、携帯電話機などのSIMカード用のアンテナを備えるホルダや、代用アンテナがなくても非接触アプリケーションの発行を行うことが可能となった。
また、SIMカード10で利用可能な非接触アプリアクセス用コマンドは、接触用コマンドに非接触用コマンドを含めた構成、つまり、従来のコマンドの構成を多重化した階層的な構成を有するため、SIMカード10及び発行処理装置20Aは、特に複雑な処理を行うことなく、簡易な処理によって、上記効果を得ることが可能となった。つまり、SIMカード10、発行処理装置20Aの制御に用いられるOSなどの従来のプログラムを大幅に改変することなく、上記効果を得ることが可能となった。非接触アプリアクセス用コマンドに対応するレスポンスについても、接触用レスポンスが非接触用レスポンスを含むため、一層容易に上記効果を得ることが可能となった。
As described above, according to the first embodiment, by performing contact communication between the
In addition, the contactless application access command that can be used in the
図6は、本発明によるデータキャリアの実施例2における構成を示すブロック図である。実施例2におけるデータキャリアは、SIMカード10−2である。なお、前述した実施例1と同様の機能を果たす部分には、同一の符号を付して、重複する説明を適宜省略する。
図6に示すように、SIMカード発行システム1−2は、SIMカード10−2と、発行処理装置20A,20Bとを備え、発行処理装置20A,20B及びSIMカード10−2が通信を行うことによって、アプリケーションの個別データをSIMカード10−2に書き込むなど、SIMカード10−2の発行処理を行うシステムである。
発行処理装置20Bは、SIMカード10−2との非接触通信を媒介するR/Wを備え、SIMカード10−2への個別データの書き込みなどの発行処理を行うコンピュータである。
FIG. 6 is a block diagram showing a configuration of the data carrier according to the second embodiment of the present invention. The data carrier in Example 2 is a SIM card 10-2. In addition, the same code | symbol is attached | subjected to the part which fulfill | performs the same function as Example 1 mentioned above, and the overlapping description is abbreviate | omitted suitably.
As shown in FIG. 6, the SIM card issuance system 1-2 includes a SIM card 10-2 and
The
SIMカード10−2は、ICチップ13−2と、ICチップ13−2に接続されている接触端子11、アンテナ12−2及び通信方式判定部19などとを備え、発行後に携帯電話などのホルダに装着することによって利用される。アンテナ12−2は、ICチップ13−2のRF部15に接続されている巻線コイル及び巻線コイルの両端に接続されている同調用のコンデンサなどを有し、電磁誘導方式に基づいて電磁波及びアナログ信号間の変換を行い、外部装置及びICチップ13−2間の非接触式での通信を媒介する。通信方式判定部19は、接触端子11、RF部15及びCPU14−2に接続され、通信中のI/Fが接触式であるか非接触式であるか、つまり、接触通信又は非接触通信のいずれの通信方式で外部装置と通信を行っているのかを判定する。通信方式判定部19は、接触端子11のクロック端子、又は、RF部15のクロック出力端子のいずれからクロックが供給されているかをクロック周波数の違いにより判定し、その判定結果をCPU14−2へ出力する。
CPU14−2は、OS、アプリケーションのプログラムを実行することによって、実施例1と同様の機能を備える、接触用コマンド制御部141−2及び非接触用コマンド制御部142−2などを実現する。各部の機能の詳細については、図8を用いて後述する。
The SIM card 10-2 includes an IC chip 13-2, a
The CPU 14-2 implements a contact command control unit 141-2, a non-contact command control unit 142-2, and the like having the same functions as those in the first embodiment by executing the OS and application programs. Details of the function of each part will be described later with reference to FIG.
図7及び図8は、本発明によるデータキャリアの動作及びプログラムを示す図であって、図7はOSの動作フローチャート、図8は説明図である。以下、CPU14(非接触コマンド制御部142−2)の処理を中心に説明する。
S300においてSIMカード10−2は、発行処理装置20A,20Bから送信されるコマンドの受信待ちの状態である。
S310において、SIMカード10−2は、接触端子11又はアンテナ12−2を介して発行処理装置20A,20Bからコマンドを受信する。OSは、通信方式判定部19の出力に基づいて通信方式を判定する(S320)。接触通信である場合には、SIMカード10−2は、実施例1(図4及び図5参照。)と同様の処理を行う(S330からS410まで)。
7 and 8 are diagrams showing data carrier operations and programs according to the present invention. FIG. 7 is an OS operation flowchart, and FIG. 8 is an explanatory diagram. Hereinafter, the processing of the CPU 14 (non-contact command control unit 142-2) will be mainly described.
In S300, the SIM card 10-2 is in a state of waiting for reception of a command transmitted from the
In S310, the SIM card 10-2 receives a command from the
一方、S320において、非接触通信であると判定した場合には、OSは、接触通信の場合と同様の処理を行う。つまり、OSは、受信した非接触用コマンドが接触アプリアクセス用コマンドでない場合には、この非接触用コマンドに応じて従来と同様の処理を行う(S420,S400,S410、図8の#160)。受信した非接触用コマンドが接触アプリアクセス用コマンドである場合には、OSは、この接触アプリアクセス用コマンドのデータフィールドビットから接触用コマンドを抽出し(S430)、接触コマンドレスポンスバッファ162に書き込み(S440、図8の#120)、接触アプリケーションを起動する(S450、図8の#130)。接触アプリケーションによる処理(図8の#150,#160)の終了後に処理結果を接触コマンドレスポンスバッファ162から読み出し、非接触プロトコルに乗せて発行処理装置20Bへ送信し(S460,S470)、このコマンドについての処理を終了し(S480)、再びコマンド待ちの状態となる。
On the other hand, if it is determined in S320 that the communication is non-contact communication, the OS performs the same process as in the case of contact communication. That is, when the received non-contact command is not a contact application access command, the OS performs the same processing as the conventional one according to the non-contact command (S420, S400, S410, # 160 in FIG. 8). . If the received non-contact command is a contact application access command, the OS extracts the contact command from the data field bit of the contact application access command (S430) and writes it to the contact command response buffer 162 (S430). S440, # 120 in FIG. 8), the contact application is activated (S450, # 130 in FIG. 8). After the processing by the contact application (# 150, # 160 in FIG. 8) is completed, the processing result is read from the contact command response buffer 162 and transmitted to the
このように実施例2によれば、実施例1と同様の効果に加え、発行処理装置20B及びSIMカード10−2間で非接触通信を行うことによって、接触アプリケーションの個別データをSIMカード10−2に書き込み、接触アプリケーションの発行を行うことが可能となった。従って、接触アプリケーションの個別データを接触通信(9600bps)に比べて通信速度の速い非接触通信(106Kbps)で行い、アプリケーションの発行処理の迅速化を図ることが可能となった。
Thus, according to the second embodiment, in addition to the same effects as the first embodiment, non-contact communication is performed between the
すなわち、個別データの書き込み処理を行う場合に、アプリケーションが対応する通信方式に依存せずに発行処理装置20A,20B(通信方式)を任意に選択し、処理を行うことが可能となり、発行処理における利便性を向上することが可能となった。また、発行処理装置20A又は発行処理装置20Bのいずれかを用いることによってSIMカード10−2に搭載されている全てのアプリケーションについて個別データの書き込みを行うことができ、通信方式を変える必要がなく、処理を行う設備負担を軽減するとともに、処理の迅速化を図ることが可能となった。
That is, when individual data write processing is performed, it is possible to arbitrarily select the
(変形例)
以上説明した実施例に限定されることなく、種々の変形や変更が可能であって、それらも本発明の均等の範囲内である。例えば、各実施例において、SIMカード10,10−2及び外部装置20A,20Bは、電磁誘導方式による非接触通信を行うが、静電結合方式による非接触通信を行ってもよく、複数の通信方式が可能であって、各通信方式にアプリケーションが対応していれば、通信方法は限定されない。
(Modification)
The present invention is not limited to the embodiments described above, and various modifications and changes are possible, and these are also within the equivalent scope of the present invention. For example, in each embodiment, the
SIMカード10,10−2は、ROM17にアプリケーションプログラムを記憶しているが不揮発性メモリ18に記憶していてもよく、書き換える必要のあるプログラム、データを不揮発性メモリ18に記憶していれば、その他のプログラム、データがROM17又は不揮発性メモリ18のいずれに記憶するかは限定されない。
The
SIMカード10,10−2は、発行処理において発行処理装置20A,20Bから送信されるコマンドに対して処理を行うが、個別データが書き込まれた発行後のSIMカード10,10−2が、外部装置から送信されるコマンドに対して同様に処理を行ってもよい。例えば、外部装置が更新データの書き込みをSIMカード10,10−2に対して行う場合に、通信速度を重視して処理の迅速化を図るとき、接触端子11などの接触通信手段が使用できないときには、非接触通信で書き込みを行い、安定した電源供給など、安定した通信を重視するとき、アンテナ12−2などの接触通信手段が使用できないときには、接触通信で書き込みを行うなど、通信方式の特徴、状況などに応じて通信方式を外部装置側で選択することができ、利便性の向上を図ることが可能となる。
The
SIMカード10,10−2が準拠する伝送プロトコルは、図2、図3に示す接触用伝送プロトコル、接触用伝送プロトコルに限られず、例えば、図9(a)に示すような、情報フィールドに非接触用伝送プロトコルコマンドを格納した接触用伝送プロトコルコマンド、図9(b)に示すような、情報フィールドに接触用伝送プロトコルコマンドを格納した非接触用伝送プロトコルコマンドを利用可能であってもよい。一の通信方式の処理要求に他の通信方式に対応する処理要求を含めることができれば、その通信は限定されない。
The transmission protocol to which the
SIMカード10,10−2は、接触通信及び非接触通信の異なる2つの通信方式で通信を行うが、通信方式はこれに限定されず、搭載している複数のアプリケーション及び複数種の処理要求(コマンド)の仕様が対応する複数の通信方式であればよい。従って、例えば、SIMカード10,10−2は、接触通信が行えず、複数の種類(仕様)の非接触通信のみが可能であってもよい。
The
1,1−2 SIMカード発行システム
10,10−2 SIMカード
11 接触端子
12 外部アンテナ接続用端子
12−2 アンテナ
13,13−2 ICチップ
14,14−2 CPU
15 RF部
16 RAM
17 ROM
18 不揮発性メモリ
19 通信方式判定部
20A,20B 発行処理装置
141 接触用コマンド制御部
142 非接触用コマンド制御部
161,162 バッファ
1, 1-2 SIM
15
17 ROM
18 Nonvolatile Memory 19 Communication
Claims (12)
一の前記処理手段は、外部から受信される一の処理要求が他の前記処理手段に対応し、受信した通信方式とは異なる種類の処理要求である他の処理要求を含む場合には、前記一の処理要求に対応する前記オペレーティングシステムのプログラムを実行して処理を行うことにより、前記一の処理要求に含まれる識別子に基づいて識別された前記他の処理要求を、前記一の処理要求から抽出し、
前記他の処理手段は、前記一の処理手段によって抽出された前記他の処理要求について処理を行い、
共用メモリを備え、
前記一の処理手段は、抽出した前記他の処理要求を前記共用メモリに書き込む書込手段を有し、
前記他の処理手段は、前記書込手段による前記共用メモリへの書き込みにより、前記他の処理要求に対応するアプリケーションのプログラムを起動し、前記共用メモリに書き込まれた前記処理要求について、前記他の処理要求に対応するアプリケーションのプログラムを実行して処理を行い、当該処理の結果を前記共用メモリに書き込むこと、
を特徴とするデータキャリア。 A data carrier comprising a plurality of processing means for executing processing corresponding to each communication method by executing an operating system program and an application program corresponding to the communication method for different types of processing requests received by different communication methods. There,
One said processing unit, when one process requests received from outside corresponds to the other of said processing means, including other processing request is a different type of processing request from the communication scheme received, the By executing the processing of the operating system program corresponding to one processing request, the other processing request identified based on the identifier included in the one processing request is changed from the one processing request. Extract and
The other processing means performs processing on the other processing request extracted by the one processing means,
With shared memory,
The one processing means has a writing means for writing the extracted other processing request into the shared memory,
Said other processing means, by writing to the shared memory by the writing means, to start the application program corresponding to the other processing requirements, the said written to the shared memory processing request, the other Processing by executing an application program corresponding to the processing request, and writing the result of the processing into the shared memory ;
A data carrier characterized by
前記複数の処理手段は、接触通信で受信する接触用処理要求について処理を行う接触用処理手段と、非接触通信で受信する非接触用処理要求について処理を行う非接触用処理手段とを有すること、
を特徴とするデータキャリア。 The data carrier according to claim 1, wherein
The plurality of processing means includes contact processing means for processing a contact processing request received by contact communication, and non-contact processing means for processing a non-contact processing request received by non-contact communication. ,
A data carrier characterized by
前記異なる通信方式に対応する複数のアプリケーションを記憶するアプリ記憶手段を備え、
前記複数の処理手段は、前記アプリ記憶手段によって記憶されているアプリケーションに従って処理を行うアプリ処理手段を有し、
前記一の処理手段は、外部から受信される一の処理要求が前記他の処理要求を含む場合には、前記他の処理手段の有するアプリ処理手段に処理を行わせること、
を特徴とするデータキャリア。 In the data carrier according to claim 1 or 2,
Application storage means for storing a plurality of applications corresponding to the different communication methods;
The plurality of processing means includes application processing means for performing processing according to an application stored in the application storage means,
The one processing unit, when one processing request received from the outside includes the other processing request, causes the application processing unit included in the other processing unit to perform processing;
A data carrier characterized by
前記処理手段は、前記アプリ記憶手段によって記憶されているアプリケーションの発行についての処理を行うこと、
を特徴とするデータキャリア。 The data carrier according to claim 3,
The processing means performs processing for issuing an application stored in the application storage means;
A data carrier characterized by
前記複数の処理手段に対応する複数の通信方式のうちのいずれか少なくとも一の通信方式によって外部との通信を行うことができない状態であって、
前記一の処理手段は、外部から受信される一の処理要求に含まれる、前記外部との通信を行うことができない一の通信方式に対応する他の処理要求を抽出すること、
を特徴とするデータキャリア。 In the data carrier according to any one of claims 1 to 4,
In a state where communication with the outside cannot be performed by at least one of the plurality of communication methods corresponding to the plurality of processing means,
The one processing means extracts another processing request corresponding to one communication method incapable of communicating with the outside, included in the one processing request received from the outside;
A data carrier characterized by
前記一の処理手段は、前記他の処理手段による処理結果を前記一の処理要求に対応した応答として生成する応答生成手段を有すること、
を特徴とするデータキャリア。 In the data carrier according to any one of claims 1 to 5,
The one processing means includes a response generation means for generating a processing result by the other processing means as a response corresponding to the one processing request;
A data carrier characterized by
外部から受信した一の処理要求が受信した通信方式とは異なる種類の処理要求である他の処理要求を含む場合に、前記一の処理要求に対応するオペレーティングシステムのプログラムを実行して処理を行うことにより、前記一の処理要求に含まれる識別子に基づいて識別された前記他の処理要求を、前記一の処理要求から抽出する処理要求抽出手順と、
前記処理要求抽出手順において抽出された処理要求について処理を行う処理手順と、
前記処理要求抽出手順において抽出した前記他の処理要求を共用メモリに書き込む処理要求書込手順と、
前記処理手順は、前記書込手段による前記共用メモリへの書き込みにより、前記他の処理要求に対応するアプリケーションのプログラムを起動し、前記処理要求書込手順において書き込まれた前記他の処理要求を前記共用メモリから読み出し、前記共用メモリに書き込まれた前記処理要求について、前記他の処理要求に対応するアプリケーションのプログラムを実行して処理を行い、当該処理の結果を前記共用メモリに書き込むこと、
を特徴とするデータキャリアのプログラム。 A data carrier program that causes a CPU of a data carrier to execute an operating system program and an application program corresponding to the communication method in order to perform processing for a plurality of types of processing requests received by different communication methods,
When one processing request received from the outside includes another processing request that is a processing request of a different type from the received communication method , processing is executed by executing an operating system program corresponding to the one processing request A process request extraction procedure for extracting from the one process request the other process request identified based on an identifier included in the one process request ;
A processing procedure for processing the processing request extracted in the processing request extraction procedure;
A processing request writing procedure for writing the other processing request extracted in the processing request extraction procedure to a shared memory;
The processing procedure starts a program of an application corresponding to the other processing request by writing to the shared memory by the writing means, and the other processing request written in the processing request writing procedure is The processing request read from the shared memory and written to the shared memory is processed by executing an application program corresponding to the other processing request, and the result of the processing is written to the shared memory .
A data carrier program featuring:
前記処理要求抽出手順は、外部から接触通信で受信した接触用処理要求が非接触用処理要求を含む場合、又は、外部から非接触通信で受信した非接触用処理要求が接触用処理要求を含む場合に、前記非接触用処理要求又は前記接触用処理要求を抽出すること、
を特徴とするデータキャリアのプログラム。 The data carrier program according to claim 7,
In the processing request extraction procedure, when a contact processing request received from outside by contact communication includes a non-contact processing request, or a non-contact processing request received from outside by a non-contact communication includes a contact processing request Extracting the non-contact processing request or the contact processing request,
A data carrier program featuring:
前記データキャリアは、前記異なる通信方式に対応する複数のアプリケーションを記憶し、
前記処理要求抽出手順において抽出した前記他の処理要求が対応するアプリケーションを呼び出すアプリ呼び出し手順を備えること、
を特徴とするデータキャリアのプログラム。 In the data carrier program according to claim 7 or 8,
The data carrier stores a plurality of applications corresponding to the different communication methods,
An application calling procedure for calling an application corresponding to the other processing request extracted in the processing request extraction procedure;
A data carrier program featuring:
前記処理手順は、記憶されている前記アプリケーションの発行についての処理を行うこと、
を特徴とするデータキャリアのプログラム。 The data carrier program according to claim 9,
The processing procedure includes processing for issuing the stored application,
A data carrier program featuring:
前記処理要求抽出手順は、外部から受信した一の処理要求から、外部との通信を行うことができない通信方式に対応する他の処理要求を抽出すること、
を特徴とするデータキャリアのプログラム。 In the data carrier program according to any one of claims 7 to 10,
The processing request extraction procedure extracts, from one processing request received from outside, another processing request corresponding to a communication method that cannot communicate with the outside.
A data carrier program featuring:
前記処理手順における処理結果を受信した前記一の処理要求に対応した応答として生成する応答生成手順を備えること、
を特徴とするデータキャリアのプログラム。 In the data carrier program according to any one of claims 7 to 11,
A response generation procedure for generating a response corresponding to the one processing request that has received the processing result in the processing procedure;
A data carrier program featuring:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004109168A JP4590201B2 (en) | 2004-04-01 | 2004-04-01 | Data carrier and data carrier program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004109168A JP4590201B2 (en) | 2004-04-01 | 2004-04-01 | Data carrier and data carrier program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005293362A JP2005293362A (en) | 2005-10-20 |
JP4590201B2 true JP4590201B2 (en) | 2010-12-01 |
Family
ID=35326204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004109168A Expired - Fee Related JP4590201B2 (en) | 2004-04-01 | 2004-04-01 | Data carrier and data carrier program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4590201B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2073504A1 (en) * | 2007-12-21 | 2009-06-24 | Gemplus | Device and method for automatic insertion in data of hidden information as well as a mechanism allowing its distribution |
JP2009252146A (en) * | 2008-04-10 | 2009-10-29 | Toppan Printing Co Ltd | Information recording medium, semiconductor device, program and initialization method |
JP2010108424A (en) * | 2008-10-31 | 2010-05-13 | Dainippon Printing Co Ltd | Information processing apparatus, information processing method, information processing system, reader/writer, and ic chip |
JP5549854B2 (en) * | 2009-04-14 | 2014-07-16 | ソニー株式会社 | Information processing apparatus and method, and program |
JP6044221B2 (en) * | 2012-09-19 | 2016-12-14 | 大日本印刷株式会社 | Issuing program, portable information terminal and issuing support server |
JP6372548B2 (en) * | 2016-11-17 | 2018-08-15 | 大日本印刷株式会社 | Issue support server and issue support program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002259922A (en) * | 2001-03-02 | 2002-09-13 | Jcb:Kk | Data processor, integrated circuit, ic card, data processing method and data processing program |
JP2003168092A (en) * | 2001-11-29 | 2003-06-13 | Sharp Corp | Combination type ic card, controlling method thereof and system program thereof |
-
2004
- 2004-04-01 JP JP2004109168A patent/JP4590201B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002259922A (en) * | 2001-03-02 | 2002-09-13 | Jcb:Kk | Data processor, integrated circuit, ic card, data processing method and data processing program |
JP2003168092A (en) * | 2001-11-29 | 2003-06-13 | Sharp Corp | Combination type ic card, controlling method thereof and system program thereof |
Also Published As
Publication number | Publication date |
---|---|
JP2005293362A (en) | 2005-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007317170A (en) | Ic module and cellular phone | |
US8931705B2 (en) | IC card, mobile electronic device and data processing method in IC card | |
US9214986B2 (en) | Non-volatile memory for NFC router | |
JP6516133B2 (en) | Communication device and communication system | |
JP4590201B2 (en) | Data carrier and data carrier program | |
CN101187912A (en) | Memory card system and method transmitting host identification information thereof | |
US20100240318A1 (en) | Mobile electronic device and control method of mobile electronic device | |
KR102624022B1 (en) | Communication devices and methods | |
US20120235796A1 (en) | Ic card, portable electronic device, ic card issuing apparatus, and communication method | |
JP5444138B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PORTABLE ELECTRONIC DEVICE | |
JP2006236200A (en) | Card type storage device and host device thereof | |
JP7366765B2 (en) | Control program for IC cards, IC card processing systems, and IC card processing devices | |
JP2011150661A (en) | Portable electronic device and portable electronic device control method | |
JP7005934B2 (en) | Electronic information storage medium, IC card, data transmission method, data writing method, data transmission program and data writing program | |
JP2009123144A (en) | Ic card reader/writer | |
JP6092342B2 (en) | Non-contact portable electronic device and method for issuing non-contact portable electronic device | |
JP7424536B1 (en) | Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program | |
JP7600322B1 (en) | IC Card | |
JP2013164686A (en) | Ic card and portable electronic device | |
JP4533665B2 (en) | Portable electronic device | |
WO2021124846A1 (en) | Ic card and control program for ic card | |
JP4698942B2 (en) | Portable information storage medium | |
US10068168B2 (en) | IC card and IC module | |
JP2017142655A (en) | Electronic information storage medium, information processing method, and information processing program | |
KR100564759B1 (en) | How to Change Response to Reset Signal on Smart Card Systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20061117 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070223 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090825 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091026 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100316 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100514 |
|
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: 20100907 |
|
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: 20100913 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4590201 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: 20130917 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |