JP3862609B2 - Issuing command generation method and system for issuing cards - Google Patents

Issuing command generation method and system for issuing cards Download PDF

Info

Publication number
JP3862609B2
JP3862609B2 JP2002156962A JP2002156962A JP3862609B2 JP 3862609 B2 JP3862609 B2 JP 3862609B2 JP 2002156962 A JP2002156962 A JP 2002156962A JP 2002156962 A JP2002156962 A JP 2002156962A JP 3862609 B2 JP3862609 B2 JP 3862609B2
Authority
JP
Japan
Prior art keywords
data
card
command
issuing
issuance
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 - Lifetime
Application number
JP2002156962A
Other languages
Japanese (ja)
Other versions
JP2003346088A (en
Inventor
秀樹 赤鹿
義毅 和田
順子 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2002156962A priority Critical patent/JP3862609B2/en
Publication of JP2003346088A publication Critical patent/JP2003346088A/en
Application granted granted Critical
Publication of JP3862609B2 publication Critical patent/JP3862609B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ICカードの発行に際し、カード発行装置に与えるカード発行用の発行コマンド生成方法及びシステムに関するものである。
【0002】
【従来の技術】
ICカードは、セキュリティ上安全で大きな記憶容量を有するため、磁気カードに代わる新しい情報記録媒体として、公共、金融、通信、交通、医療の分野、そしてインターネット上の電子商取引等において近年普及しつつある。また、最近ではICカードに複数のアプリケーションを搭載し、複数のサービスを利用できるようにしたマルチアプリケーションICカードシステムも出現している。マルチアプリケーションICカードシステムでは、カード発行者がカード発行者・サービス提供者・利用者の要求に応じて、多数のアプリケーションの中から適切なアプリケーションを初期搭載してICカードを発行する必要がある。また、異なるハードウェアや異なるカード管理システムを持つ、多様なICカードを管理するマルチカード対応のICカードシステムも出現している。
【0003】
従来、耐タンパ性のICカードの発行処理を行う場合には、その発行するICカード固有のAPDU(application protocol data unit)コマンドを作成し、これらのAPDUコマンドをICカード固有のシーケンスに従ってICカードに送信する必要があった。これらのAPDUコマンドの形式及びコマンドシーケンスは、ICカード固有のものであるため、ICカード毎に、適切なAPDUコマンドを適切なシーケンスで生成するための発行コマンド生成プログラムが必要であった。
【0004】
また、ICカードの発行処理においては、ICカードの識別番号や個人情報など、ICカード一枚毎に異なる情報をAPDUコマンドに埋め込んで発行を行う必要があり、この際、ICカードの識別番号や、個人情報は、ファイルやDB(データベース)などにデータとして格納されているため、発行コマンド生成プログラムでは、これらのデータを読み取ってデータを埋め込んだAPDUコマンドを生成していた。この場合におけるデータの埋め込み方法は、それぞれのAPDUの形式に依存しており、各ICカード固有の埋め込み方法を、発行コマンド生成プログラムに記述していた。
【0005】
このように、従来の方法では、ICカード毎にカスタマイズされた発行コマンド生成プログラムが必要であった。しかし、複数の種類のICカードを管理するマルチカード対応のICカードシステムでは、さまざまな種類のICカードを発行する必要があるため、それらのICカード毎に発行コマンド生成プログラムを作成しなければならず、手間・コストがかかっていた。
【0006】
また、従来の方法では、ICカード発行処理において、予め決まったアプリケーションをICカードに搭載する場合があった。しかし、この場合にも、予め搭載されるアプリケーションを固定として、搭載されるアプリケーションの数や搭載するAPDUコマンドシーケンスなどを全て発行コマンド生成プログラムに記述していた。
【0007】
さらに、マルチアプリケーションICカードシステムにおいては、どのアプリケーションをICカードに搭載するかと云う選択は、個人情報のように、ICカード一枚毎に異なる場合が考えられるが、従来の方法では、このように柔軟に搭載するアプリケーションを選択する仕組みは存在していなかった。
【0008】
【発明が解決しようとする課題】
本発明は、ICカードの種類によらずに、様々なバリエーションの発行コマンドの生成に対応できるカード発行用の発行コマンド生成方法及びシステムを提供することを目的とする。
【0009】
【課題を解決するための手段】
本願発明は、ICカードを発行するために必要なAPDUコマンドが予約語を含む形態で記述されたファイルであるメタテンプレートと、カード発行用データが格納されたデータベースと、メタテンプレート解釈部とデータ変換部とを有する発行コマンド生成装置により、ICカード発行用の発行コマンドを生成し、該発行コマンドをカード発行装置へ出力する場合における、前記発行コマンド生成方法であって、メタテンプレート解釈部が、前記メタテンプレートからAPDUコマンドを読み込APDUコマンドに含まれる予約語を解釈することにより、16進数、バイナリ及び文字のうちのいずれの形式でカード発行用データを発行用コマンドに埋め込むかの形式指定をすると共に、発行コマンドにおける埋め込み箇所を指定する予約語に対して埋め込み箇所判別を行うステップと、データ変換部が、前記データベースからカード発行用データを読み込み、該発行用データの形式を前記形式指定に従って変換し、該変換したデータを前記埋め込み箇所判別に従って埋め込むステップを有することを特徴とするカード発行用の発行コマンド生成方法にある。
【0010】
本発明はさらに、ICカードを発行するために必要なAPDUコマンドが予約語を含む形態で記述されたファイルであるメタテンプレートと、カード発行用データが格納されたデータベースと、メタテンプレート解釈部とデータ変換部とを有する発行コマンド生成装置により、ICカード発行用の発行コマンドを生成し、該発行コマンドをカード発行装置へ出力する発行コマンド生成システムにおいて、メタテンプレート解釈部は、前記メタテンプレートからAPDUコマンドを読み込み、該APDUコマンドに含まれる予約語を解釈することにより、16進数、バイナリ及び文字のうちのいずれの形式でカード発行用データを発行用コマンドに埋め込むかの形式指定をすると共に、発行コマンドにおける埋め込み箇所を指定する予約語に対して埋め込み箇所判を行い、データ変換部が、前記データベースからカード発行用データを読み込み、該発行用データの形式を前記形式指定に従って変換し、該変換したデータを前記埋め込み箇所判別に従って埋め込むことにより、発行コマンドを生成することを特徴とするカード発行用の発行コマンド生成システムにある。
【0012】
本発明の他の好適例では、前記予約語が、埋め込み対象となるカード発行用データの長さを直接指定するもの、対象となるカード発行用データ及び該カード発行用データのデータ長を記述する方式を指定するもの、対象となるカード発行用データ及び該カード発行用データの一部のデータ長を記述する方式を指定するものを含むAPDU記述規則が記述されているようにする。
【0013】
本発明の他の好適例では、前記予約語が、埋め込み対象となるカード発行用データを指定し、該カード発行用データのデータ長が指定値を越えた場合に、APDUコマンドを複数に分割するように指定するコマンド分割規則が記述されているようにする。
【0016】
〔発明の実施の形態〕
本発明をより詳細に説述するために、添付の図面に従ってこれを説明する。なお、図面中、同じ機能を示すものには同じ参照番号を付して示してある。
【0017】
図1は本発明によるカード発行用の発行コマンド生成システムを適用するカード発行システムの全体の構成を示す概略図である。ここに、1はカード発行用のデータを格納してあるデータベース、2はデータベース1へ発行用データを格納したり、該データベースからカード発行に必要なデータを取り出したりする発行データ管理部、3はカード・アプリケーションデータ用のメタテンプレート、4はメタテンプレート3の解釈を行と共に、所定の変換規則に従ってデータ変換を適宜行って、カード発行用の発行コマンドを作成する本発明による発行コマンド生成システム、5は発行コマンド生成システム4にて作成した発行コマンドにてカードを発行する装置である。
【0018】
データベース1には、鍵などのセキュリティデータ、個人情報である利用者の名前や、カードID、搭載するアプリケーションの識別名などが格納される。メタテンプレート3には、カード発行に必要な複数のAPDUコマンドが予約語を含む形態で定義されている。なお、予約語については後に詳細に説明する。
【0019】
図2は本発明によるカード発行用の発行コマンド生成システム4の骨子を示す構成図である。この発行コマンド生成システム4は、メタテンプレート3からAPDUコマンドを読み込んで、これらのAPDUコマンドに埋め込まれている予約語を解析するメタテンプレート解釈部6と、データベース1からカード発行枚数分のデータを取得し、これらのデータをメタテンプレート解釈部6にて解析したAPDUコマンドの発行用データ項目名と対応付けるデータ取得部7と、メタテンプレート3に記述されている予約語によって規定された所定の変換規則8に従って前記予約語が指定する箇所へ該予約語が指定するデータの変換を適宜行ってデータを埋め込んだり、APDUコマンドの形式を整えるためにデータ長の埋め込みなどを行うデータ変換部9と、これにてデータ変換した後のデータによってカード発行用のコマンドを作成する発行用コマンド作成部10とを具えている。
【0020】
本発明では、データ変換部9にて変換するデータにタグが埋められていた場合には、そのタグに対応する発行用データを書き込み、また、発行用コマンドが長くて、一度に送れるコマンドの最大長を越える場合には、自動的にコマンドを分割して発行コマンドを生成し、さらに、発行データの種類(数値・バイナリ・文字など)によって、発行データへの変換方法を変えるように、データの属性を指定することにより、発行用データを16進数、バイナリ、文字のいずれの形式で発行用コマンドに埋め込むかを前記予約語にて指定することにより、当該予約語に従って同一のデータでも様々な形式で発行用コマンドへ埋め込みを行えるようにし、また、発行用コマンドのデータ長が均一でない場合には、パディングを行うように指定することにより、さまざまな長さのデータのデータ長を揃えて、発行用コマンドへ埋め込むように、発行データ埋め込み規則に相当する予約語を規定するのである。
【0021】
本発明の前提は、ICカードの種類によらずに、種々なバリエーションの発行コマンドの生成に対応できるように、ICカードに書込む情報を変更可能な作りの設計にすることにある。そこで、本発明では、APDUメタテンプレート内3の予約語(予約記号)を解釈して、発行情報のタグからデータを取得してAPDUコマンドを生成したり、処理演算結果をセットしてAPDUコマンドを生成するのであり、つまり、図2のメタテンプレート3は、カード発行時に実行するAPDUコマンドを作成するための雛形が、コマンド実行順に記述されているファイルであり、カード発行を行う場合には、このメタテンプレート3に記述されているカード発行APDU予約語をメタテンプレート解釈部6にて解釈して、発行用データ取得部7が取得した発行用データを予約語で指定された形式に従ってデータ変換部9にて適宜データ変換行ってAPDUコマンドを生成するのである。
【0022】
メタテンプレート3には、発行に必要な複数のAPDUコマンドを、予約語を含む形態でシーケンシャルに定義するのであって、 予約語は下記の3つに分類できる。
▲1▼ 発行データ埋め込み規則
これは発行用データをAPDUコマンドに生め込む規則を記述する。
▲2▼ APDUコマンド記述規則
APDUコマンドを記述するためにはいろいろな規則があり(例えば、TLV形式では、L部はV部のデータ長を記述しなければならないなど)、そのため▲1▼による発行データの埋め込みにより、APDUコマンドの他の部分の変更が必要となる場合がある。このような、▲1▼の影響を受けて変更されるAPDUコマンドの他の部分の規則を記述する。
▲3▼ コマンド分割規則
これは対象となるデータを指定し、該データのデータ長が指定値を越えた場合に、APDUコマンドを複数に分割するように指定する規則を記述する。
【0023】
前記▲1▼の発行データ埋め込み規則に相当する予約語は、以下のものである。
・ 発行用データ項目名を指定し、対応する発行用データを埋め込むよう指定する予約語(例:$[],%[])。
・ 発行用データ項目名及びパディング方法などを指定し、対応する発行用データをパディングして埋め込むよう指定する予約語(例:$n)。
・ 発行用データ項目名を指定し、対応する発行用データが示すファイル内のデータを埋め込むよう指定する予約語(例:¥[])。
・ 発行用データ項目名及び使用するデータの範囲を指定し、対応する発行用データの一部を埋め込むよう指定する予約語(例:*SnBm。Nバイト目からMバイトを埋め込む)。
・ データ変換部が保持する変数名を指定し、対応する変数を埋め込むよう指定する予約語(例:!。E=0,1はデータ変換部によって変更される)。
【0024】
前記▲2▼のAPDU記述規則に相当する予約語は、以下のものである。(APDUではTLV構造やLc,Leなどデータの長さを代入するL部が多く存在する。発行用データの代入に従い、データ長を表すL部の変更が必須となり、▲2▼は殆どこの部分の変更規則である)。
・ データ長を直接指定する予約語(例:#Le,(I))。
・ 対象となるデータと、そのデータのデータ長を記述する方式を指定する予約語(Lの記述方式には簡易TLV方式、BerTLV方式、ISOにて定義されたLc,Leの記述方式など、数値データの記述方法には、リトルエンディアン、ビッグエンディアンなど、方法が幾つかあるため、それを指定する)(例:^,@Len,@ILc,@BLen,#Len,#ILc,#BLen)。
・ 対象となるデータと、そのデータの一部のデータ長を記述する方式を指定する予約語(例:#SignLen。署名付きデータの署名対象データ部分のみのデータ長など)。
【0025】
前記▲3▼のコマンド分割規則に相当する予約語は、以下のものである。
・ 対象となるデータを指定し、そのデータのデータ長が指定値を超えた場合に、APDUコマンドを複数に分割するように指定する予約語(例:#239c,#BlockNo)。
【0026】
メタテンプレート3にて使用する予約語の例を下記の表1に示す。
【表1】

Figure 0003862609
Figure 0003862609
Figure 0003862609
Figure 0003862609
Figure 0003862609
【0027】
【発明の効果】
本発明によれば、ICカードの種類によらずに、一度メタテンプレートを作成することにより、様々なバリエーションの発行コマンドの生成に対して対応することができる。
【0028】
コマンドの自動生成時に、様々な発行用コマンドの確認を行うため、発行コマンドの記述ミスなどを事前に防ぐことができる。
【図面の簡単な説明】
【図1】 本発明による発行コマンド生成システムを適用するカード発行システムの概略構成図である。
【図2】 本発明による発行コマンド生成システムの骨子を示す構成図である。
【符号の説明】
1 発行用データ格納データベース
2 発行データ管理部
3 メタテンプレート
4 発行コマンド生成システム
6 テンプレート解釈部
7 発行用データ取得部
8 変換規則
7 データ変換部
8 発行用コマンド作成部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an issuance command generation method and system for issuing a card to be given to a card issuing apparatus when an IC card is issued.
[0002]
[Prior art]
IC cards are widely used in recent years in the fields of public, finance, communication, transportation, medical care, electronic commerce on the Internet, etc. as new information recording media to replace magnetic cards because IC cards are safe and have a large storage capacity. . Recently, a multi-application IC card system in which a plurality of applications are mounted on an IC card and a plurality of services can be used has appeared. In the multi-application IC card system, it is necessary for a card issuer to issue an IC card by initially mounting an appropriate application among many applications in response to requests from the card issuer, service provider, and user. In addition, multi-card compatible IC card systems that manage various IC cards having different hardware and different card management systems have also appeared.
[0003]
Conventionally, when issuing a tamper-resistant IC card, an APDU (application protocol data unit) command specific to the IC card to be issued is created, and these APDU commands are applied to the IC card according to a sequence unique to the IC card. There was a need to send. Since the format and command sequence of these APDU commands are unique to the IC card, an issue command generation program for generating an appropriate APDU command in an appropriate sequence is required for each IC card.
[0004]
In the IC card issuance process, it is necessary to embed information that differs for each IC card, such as an IC card identification number and personal information, in an APDU command. Since personal information is stored as data in a file, DB (database), or the like, the issued command generation program reads these data and generates an APDU command embedded with the data. The data embedding method in this case depends on the format of each APDU, and the embedding method unique to each IC card is described in the issued command generation program.
[0005]
Thus, in the conventional method, an issue command generation program customized for each IC card is required. However, in a multi-card compatible IC card system that manages a plurality of types of IC cards, it is necessary to issue various types of IC cards. Therefore, an issue command generation program must be created for each IC card. It was troublesome and costly.
[0006]
In the conventional method, a predetermined application may be mounted on the IC card in the IC card issuing process. However, in this case as well, the number of applications to be installed and the APDU command sequence to be installed are all described in the issued command generation program, with the applications installed in advance being fixed.
[0007]
Furthermore, in a multi-application IC card system, the choice of which application is to be mounted on the IC card may be different for each IC card, such as personal information, but in the conventional method, There was no mechanism for selecting applications to be installed flexibly.
[0008]
[Problems to be solved by the invention]
SUMMARY OF THE INVENTION An object of the present invention is to provide an issuance command generation method and system for card issuance that can cope with generation of various variations of issuance commands regardless of the type of IC card.
[0009]
[Means for Solving the Problems]
The present invention relates to a meta template which is a file in which an APDU command necessary for issuing an IC card is described in a form including a reserved word, a database storing card issuing data, a meta template interpreter, and data conversion by issuing the command generating device having a part to generate an issuance command for issuing the IC card, in the case of outputting the issued command to the card issuing apparatus, a said issued command generation method, meta template interpreting unit, wherein it reads the APDU command from the meta template, said by interpreting the reserved word contained in the APDU command, hexadecimal, Kano format of embedding binary and card issuing data in any form of characters issued commands with the designation, designates the embedding location in issuing commands Wherein the step of performing a fit included locations discrimination embedded in to about words, the data conversion unit, the database reads the card issuance data from the format of the issued data converted according to the format specification, the data the conversion in issuing command generation method of card issuance, characterized by chromatic steps of embedding the embedding position determination.
[0010]
The present invention further includes a meta template which is a file in which an APDU command necessary for issuing an IC card is described in a form including a reserved word, a database storing card issuing data, a meta template interpreter, and data In an issue command generation system for generating an issue command for issuing an IC card by an issue command generation device having a conversion unit and outputting the issue command to the card issue device, the meta template interpretation unit is configured to execute an APDU command from the meta template. reading, by interpreting the reserved word included in the APDU command, hexadecimal, with the Kano format specification for embedding card issuing data in any form of binary and text issued commands, command issue For reserved words that specify the embedding location in It was performed because inclusive箇plants Determination embedding, the data conversion unit, the database reads the card issuance data from the format of the issued data converted according to the format specification, the embedded portions determine the data the conversion by embedding accordingly in issuing command generation system for card issuing, wherein the benzalkonium generates an issue command.
[0012]
In another preferred embodiment of the present invention, the reserved word directly specifies the length of the card issuing data to be embedded, the target card issuing data, and the data length of the card issuing data. An APDU description rule including a specification method, a target card issuing data, and a specification method for specifying a part of the data length of the card issuing data is described.
[0013]
In another preferred embodiment of the present invention, when the reserved word specifies card issuing data to be embedded, and the data length of the card issuing data exceeds a specified value, the APDU command is divided into a plurality of parts. The command division rule to be specified is described.
[0016]
[Embodiment of the Invention]
In order to describe the present invention in more detail, it will be described with reference to the accompanying drawings. In the drawings, the same reference numerals are assigned to the same functions.
[0017]
FIG. 1 is a schematic diagram showing the overall configuration of a card issuing system to which an issuing command generating system for issuing cards according to the present invention is applied. Here, 1 is a database that stores data for issuing cards, 2 is an issuance data management unit that stores issuance data in database 1, and takes out data necessary for card issuance from the database. An issuance command generation system according to the present invention that generates a card issuance command by appropriately performing data conversion according to a predetermined conversion rule together with interpretation of the metatemplate 3 and a meta template for card application data 4 Is a device that issues a card with an issue command created by the issue command generation system 4.
[0018]
The database 1 stores security data such as keys, names of users as personal information, card IDs, identification names of installed applications, and the like. In the meta template 3, a plurality of APDU commands necessary for card issuance are defined in a form including reserved words. The reserved words will be described in detail later.
[0019]
FIG. 2 is a block diagram showing the outline of the issuing command generation system 4 for issuing cards according to the present invention. This issuance command generation system 4 reads APDU commands from the metatemplate 3 and obtains data corresponding to the number of issued cards from the metatemplate interpretation unit 6 that analyzes reserved words embedded in these APDU commands. The data acquisition unit 7 that associates these data with the data item name for issuing the APDU command obtained by analyzing the meta template interpretation unit 6, and the predetermined conversion rule 8 defined by the reserved word described in the meta template 3 The data conversion unit 9 embeds data by appropriately converting the data specified by the reserved word into the location specified by the reserved word in accordance with the above, and embeds the data length in order to adjust the format of the APDU command, and Create a command to issue a card with the data after data conversion And it includes the issue for the command generating unit 10.
[0020]
In the present invention, when a tag is embedded in data to be converted by the data converter 9, the issuing data corresponding to the tag is written, and the maximum command that can be sent at one time is long because the issuing command is long. If the length is exceeded, the command is automatically divided to generate an issuance command, and the conversion method to the issuance data is changed according to the type of issuance data (numerical value, binary, character, etc.). By specifying the attribute to specify whether the issue data is embedded in the issue command in hexadecimal, binary, or character format using the reserved word, the same data can be in various formats according to the reserved word. Can be embedded in the issuing command, and if the data length of the issuing command is not uniform, specify padding. More, align the data length of data of different lengths, so as to fill the issuing commands, it is to define a reserved word corresponding to issuance data embedding rule.
[0021]
The premise of the present invention is to make the design so that the information to be written on the IC card can be changed so as to correspond to the generation of various variations of issue commands regardless of the type of IC card. Therefore, in the present invention, the reserved word (reserved symbol) in the APDU meta template is interpreted and data is acquired from the tag of the issuance information to generate an APDU command, or the processing operation result is set and the APDU command is set. In other words, the meta template 3 in FIG. 2 is a file in which a template for creating an APDU command to be executed at the time of issuing a card is described in the command execution order. The card conversion APDU reserved word described in the meta template 3 is interpreted by the meta template interpreting unit 6, and the issuing data acquired by the issuing data acquiring unit 7 is converted into a data converting unit 9 according to the format specified by the reserved word. The APDU command is generated by performing data conversion as needed.
[0022]
In the meta template 3, a plurality of APDU commands necessary for issuance are sequentially defined in a form including a reserved word, and the reserved word can be classified into the following three.
(1) Issuing data embedding rule This describes a rule for embedding issuing data in an APDU command.
(2) APDU command description rules There are various rules for describing APDU commands (for example, in the TLV format, the L part must describe the data length of the V part). Due to the data embedding, other parts of the APDU command may need to be changed. A rule for the other part of the APDU command that is changed under the influence of (1) is described.
{Circle around (3)} Command division rule This specifies a target data, and describes a rule for designating that an APDU command is divided into a plurality when the data length of the data exceeds a specified value.
[0023]
The reserved words corresponding to the issuance data embedding rule (1) are as follows.
A reserved word that specifies the issuance data item name and embeds the corresponding issuance data (for example, $ [],% []).
A reserved word that specifies the issue data item name, padding method, etc., and specifies that the corresponding issue data is padded and embedded (eg $ n).
A reserved word (for example, \ []) that specifies the issue data item name and embeds the data in the file indicated by the corresponding issue data.
A reserved word that specifies the name of the data item to be issued and the range of data to be used, and specifies that a part of the corresponding data to be issued is to be embedded (example: * SnBm. M bytes are embedded from the Nth byte)
A reserved word that specifies the variable name held by the data converter and embeds the corresponding variable (eg !! E = 0,1 is changed by the data converter).
[0024]
The reserved words corresponding to the APDU description rule of (2) are as follows. (In APDU, there are many L parts for substituting the data length such as TLV structure, Lc, and Le. According to the assignment of the data for issue, the L part representing the data length must be changed. Change rules).
• Reserved words that directly specify the data length (eg, #Le, (I)).
-Reserved words that specify the target data and the method to describe the data length of the data (L description methods such as simple TLV method, BerTLV method, ISO-defined Lc and Le description methods, etc.) There are several methods for describing data, such as little endian and big endian, so specify them. (Example: ^, @Len, @ILc, @BLen, #Len, #ILc, #BLen).
A reserved word that specifies the method of describing the target data and the data length of a part of the data (eg: #SignLen, the data length of only the data to be signed in the signed data, etc.).
[0025]
The reserved words corresponding to the command division rule of (3) are as follows.
A reserved word (for example, # 239c, #BlockNo) that specifies the target data and specifies that the APDU command is divided into a plurality of parts when the data length of the data exceeds the specified value.
[0026]
Examples of reserved words used in the meta template 3 are shown in Table 1 below.
[Table 1]
Figure 0003862609
Figure 0003862609
Figure 0003862609
Figure 0003862609
Figure 0003862609
[0027]
【The invention's effect】
According to the present invention, it is possible to cope with generation of various variations of issuing commands by creating a meta template once regardless of the type of IC card.
[0028]
Since various commands for issuing are checked at the time of automatic command generation, it is possible to prevent a description error of the issued command in advance.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a card issuing system to which an issuing command generation system according to the present invention is applied.
FIG. 2 is a block diagram showing the essence of the issued command generation system according to the present invention.
[Explanation of symbols]
1 issuance data storage database 2 issuance data management section 3 meta template 4 issuance command generation system 6 template interpretation section 7 issuance data acquisition section 8 conversion rule 7 data conversion section 8 issuance command creation section

Claims (6)

ICカードを発行するために必要なAPDUコマンドが予約語を含む形態で記述されたファイルであるメタテンプレートと、カード発行用データが格納されたデータベースと、メタテンプレート解釈部とデータ変換部とを有する発行コマンド生成装置により、ICカード発行用の発行コマンドを生成し、該発行コマンドをカード発行装置へ出力する場合における、前記発行コマンド生成方法であって、
メタテンプレート解釈部が、前記メタテンプレートからAPDUコマンドを読み込APDUコマンドに含まれる予約語を解釈することにより、16進数、バイナリ及び文字のうちのいずれの形式でカード発行用データを発行用コマンドに埋め込むかの形式指定をすると共に、発行コマンドにおける埋め込み箇所を指定する予約語に対して埋め込み箇所判別を行うステップと、
データ変換部が、前記データベースからカード発行用データを読み込み、該発行用データの形式を前記形式指定に従って変換し、該変換したデータを前記埋め込み箇所判別に従って埋め込むステップとを有することを特徴とするカード発行用の発行コマンド生成方法。
A meta template which is a file in which an APDU command necessary for issuing an IC card is described in a form including a reserved word, a database storing card issuing data, a meta template interpreting unit, and a data converting unit When the issuance command generation device generates an issuance command for issuing an IC card and outputs the issuance command to the card issuance device, the issuance command generation method includes:
Issued meta template interpreting unit, it reads the APDU command from the meta template, by interpreting the reserved word included in the APDU command, hexadecimal, data for issuing cards with any form of binary and text with the Kano format specification embedded in use command, performing a fit included locations determined embedding in respect reserved word that specifies the embedded positions in issuing commands,
Data conversion section, the database reads the card issuance data from the format of the issued data converted according to the format specification, characterized by chromatic and a step of embedding in accordance with the embedded portion determine the data the conversion Issuing command generation method for issuing cards.
前記予約語は、埋め込み対象となるカード発行用データの長さを直接指定するもの、対象となるカード発行用データ及び該カード発行用データのデータ長を記述する方式を指定するもの、対象となるカード発行用データ及び該カード発行用データの一部のデータ長を記述する方式を指定するものを含むAPDU記述規則が記述されており、該予約語の解釈により発行コマンドを生成することを特徴とする請求項1に記載のカード発行用の発行コマンド生成方法。  The reserved word directly specifies the length of the card issuing data to be embedded, specifies the target card issuing data, and the method for describing the data length of the card issuing data, and is the target An APDU description rule including a card issuing data and a specification method for specifying a method for describing a part of the data length of the card issuing data is described, and an issuing command is generated by interpreting the reserved word. The issuance command generation method for card issuance according to claim 1. 前記予約語は、埋め込み対象となるカード発行用データを指定し、該カード発行用データのデータ長が指定値を越えた場合に、APDUコマンドを複数に分割するように指定するコマンド分割規則が記述されており、該予約語の解釈により発行コマンドを生成することを特徴とする請求項1に記載のカード発行用の発行コマンド生成方法。  The reserved word specifies the card issuing data to be embedded, and describes a command division rule that specifies that the APDU command is divided into a plurality when the data length of the card issuing data exceeds a specified value. The issuance command generation method for card issuance according to claim 1, wherein the issuance command is generated by interpreting the reserved word. ICカードを発行するために必要なAPDUコマンドが予約語を含む形態で記述されたファイルであるメタテンプレートと、カード発行用データが格納されたデータベースと、メタテンプレート解釈部とデータ変換部とを有する発行コマンド生成装置により、ICカード発行用の発行コマンドを生成し、該発行コマンドをカード発行装置へ出力する発行コマンド生成システムにおいて、
メタテンプレート解釈部は、前記メタテンプレートからAPDUコマンドを読み込み、該APDUコマンドに含まれる予約語を解釈することにより、16進数、バイナリ及び文字のうちのいずれの形式でカード発行用データを発行用コマンドに埋め込むかの形式指定をすると共に、発行コマンドにおける埋め込み箇所を指定する予約語に対して埋め込み箇所判を行い、
データ変換部が、前記データベースからカード発行用データを読み込み、該発行用データの形式を前記形式指定に従って変換し、該変換したデータを前記埋め込み箇所判別に従って埋め込むことにより、発行コマンドを生成することを特徴とするカード発行用の発行コマンド生成システム。
A meta template which is a file in which an APDU command necessary for issuing an IC card is described in a form including a reserved word, a database storing card issuing data, a meta template interpreting unit, and a data converting unit In the issue command generation system for generating an issue command for issuing an IC card by an issue command generation device and outputting the issue command to the card issue device,
Meta template interpreting unit reads the APDU command from the meta template, the APDU by interpreting the reserved word contained in the command, hexadecimal, command for issuing the card issuing data in any form of binary and text embedded along with the Kano format specified, performs the order included箇plants Determination horse for the reserved word to specify the embedded point in issuing commands to,
Data conversion section, the database reads the card issuance data from the format of the issued data converted according to the format specified by embedding according to the embedding location determination the data the conversion, that generates an issue command issue the command generating system for the card-issuing characterized a call.
前記予約語は、埋め込み対象となるカード発行用データの長さを直接指定するもの、対象となるカード発行用データ及び該カード発行用データのデータ長を記述する方式を指定するもの、対象となるカード発行用データ及び該カード発行用データの一部のデータ長を記述する方式を指定するものを含むAPDU記述規則が記述されていることを特徴とする請求項に記載のカード発行用の発行コマンド生成システム。The reserved word directly specifies the length of the card issuing data to be embedded, specifies the target card issuing data, and the method for describing the data length of the card issuing data, and is the target The card issuing card according to claim 4 , wherein the card issuing data includes an APDU description rule including a card specifying data and a method for specifying a method for describing a data length of a part of the card issuing data. Command generation system. 前記予約語は、埋め込み対象となるカード発行用データを指定し、該カード発行用データのデータ長が指定値を越えた場合に、APDUコマンドを複数に分割するように指定するコマンド分割規則が記述されていることを特徴とする請求項に記載のカード発行用の発行コマンド生成システム。The reserved word specifies the card issuing data to be embedded, and describes a command division rule that specifies that the APDU command is divided into a plurality when the data length of the card issuing data exceeds a specified value. The issuance command generation system for card issuance according to claim 4 , wherein:
JP2002156962A 2002-05-30 2002-05-30 Issuing command generation method and system for issuing cards Expired - Lifetime JP3862609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002156962A JP3862609B2 (en) 2002-05-30 2002-05-30 Issuing command generation method and system for issuing cards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002156962A JP3862609B2 (en) 2002-05-30 2002-05-30 Issuing command generation method and system for issuing cards

Publications (2)

Publication Number Publication Date
JP2003346088A JP2003346088A (en) 2003-12-05
JP3862609B2 true JP3862609B2 (en) 2006-12-27

Family

ID=29773010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002156962A Expired - Lifetime JP3862609B2 (en) 2002-05-30 2002-05-30 Issuing command generation method and system for issuing cards

Country Status (1)

Country Link
JP (1) JP3862609B2 (en)

Also Published As

Publication number Publication date
JP2003346088A (en) 2003-12-05

Similar Documents

Publication Publication Date Title
KR100308596B1 (en) Method for simplifying communication with chip cards
US5684742A (en) Device and method for the simplified generation of tools for the initialization and personalization of and communication with a chip card
KR100329063B1 (en) Using a high level programming language with a microcontroller
CN109657215A (en) Document structure tree method, equipment, storage medium and device based on template
JP4496771B2 (en) IC card system and application loading method
US6195700B1 (en) Application protocol data unit management facility
JP2006235840A (en) Database access system and database access method
CN109086433A (en) A kind of file management method and server based on big data analysis
US8918356B2 (en) Method, apparatus and machine-readable medium for transforming, converting and processing messages between multiple systems
US7093195B2 (en) Standards-based formatting of flat files into markup language representations
CN107679937A (en) Customize method, system, storage medium and the equipment of service function
CN115168166A (en) Method, device and equipment for recording business data change and storage medium
CN107798459A (en) Parameter values computational methods, device, storage medium and computer equipment
CN112306473B (en) Program interface parameter transmission method, system and related equipment
KR100374526B1 (en) Simplified use of smart cards
KR101624387B1 (en) Method for software asset management based on software birthmark and apparatus thereof
JP3862609B2 (en) Issuing command generation method and system for issuing cards
KR100617904B1 (en) Smart card management system for installing and managing multiple card identification information in smart card and method therefor
US7769896B2 (en) Method, apparatus and system for dispatching messages within a system
US20080104098A1 (en) Methods And Systems For Managing Data Stored On A Contactless Flash Memory Device
CN100580721C (en) Method and device for installing file system in data support
CN106776510A (en) Word embeds form generation method and device
JP3545045B2 (en) Creating a pattern file for IC card access
JP2004280668A (en) Application personalization method and system for issuing of multi-application card
CN116401218B (en) File export method and terminal equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060116

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060613

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060731

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060810

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060818

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060926

R151 Written notification of patent or utility model registration

Ref document number: 3862609

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101006

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111006

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131006

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term