JP2005157609A - Portable information storage medium and program for the same - Google Patents
Portable information storage medium and program for the same Download PDFInfo
- Publication number
- JP2005157609A JP2005157609A JP2003393362A JP2003393362A JP2005157609A JP 2005157609 A JP2005157609 A JP 2005157609A JP 2003393362 A JP2003393362 A JP 2003393362A JP 2003393362 A JP2003393362 A JP 2003393362A JP 2005157609 A JP2005157609 A JP 2005157609A
- Authority
- JP
- Japan
- Prior art keywords
- random number
- data
- storage medium
- information storage
- portable information
- 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
- 238000000034 method Methods 0.000 claims description 17
- 238000013075 data extraction Methods 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000000605 extraction Methods 0.000 abstract description 29
- 238000004891 communication Methods 0.000 abstract description 25
- 230000004044 response Effects 0.000 abstract description 8
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000005674 electromagnetic induction Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000010365 information processing Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004804 winding Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Abstract
Description
本発明は、識別情報を取得する携帯型情報記憶媒体及びそのプログラムに関するものである。 The present invention relates to a portable information storage medium for acquiring identification information and a program thereof.
従来、携帯型情報記憶媒体であるPICC(ISO/IEC14443にて規定されている近接型非接触ICカード;Proximity Card)では、外部端末であるPCD(Proximity Coupling Device;近接型結合装置)から受け取った識別情報読出要求であるREQB(リクエストコマンド;Request Command,TypeB)に対し、302μsec以内にATQB(応答信号;Answer To Request,TypeB)を返さなければならず、この応答には、ICカードの一時的な識別情報としてPUPI(仮固有番号識別子;Pseudo−Unique PICC Identifier)が含まれている。外部端末は、このPUPIで相手となる一のICカードを指定して、ATTRIB(カード選択コマンド;PICC selection command,TypeB)を送信し、通信の衝突を防止し、1対1の通信を確立する。PUPIには、固定値又は一時的に発生された乱数が用いられる(例えば、非特許文献1参照。)。
なお、携帯型情報記憶媒体とは、ICカード、SIMカード、UIMカード、ICタグ、SIMカード又はUIMカードを挿入した携帯電話又は携帯ホルダなど、ICチップと、ICチップ及び外部端末間の通信を媒介する通信部とが搭載され、このICチップの内部のデータにアクセスするために外部端末のCPUなどの外部のCPUによる処理が必要な機密性の高いICチップを備える携帯型の情報処理装置である。
Conventionally, a PICC (proximity non-contact IC card defined by ISO / IEC14443; Proximity Card), which is a portable information storage medium, received from a PCD (Proximity Coupling Device), which is an external terminal In response to REQB (request command; Request Command, Type B), which is an identification information read request, ATQB (response signal; Answer To Request, Type B) must be returned within 302 μsec. PUPI (Temporary Unique Number Identifier; Pseudo-Unique PICC Identifier) is included as unique identification information. The external terminal designates one IC card as a partner by this PUPI, transmits ATTRIB (card selection command; PICC selection command, Type B), prevents communication collision, and establishes one-to-one communication. . A fixed value or a randomly generated random number is used for PUPI (for example, see Non-Patent Document 1).
Note that the portable information storage medium is an IC card, a SIM card, a UIM card, an IC tag, a SIM card, a mobile phone with a UIM card inserted therein, or a portable holder. A portable information processing apparatus equipped with a highly confidential IC chip that requires processing by an external CPU such as a CPU of an external terminal to access data inside the IC chip. is there.
例えば、財布の中に非接触式のICカードとして、クレジット、 プリペイドカード、 鉄道カード、 ポイントカードの4枚が入っており、財布ごと鉄道の自動改札にかざして通過するなど、非接触式で通信を行うICカードの場合には、接触式と異なり、複数枚のICカードが一度に外部端末と通信可能な状態になるときがある。外部端末は、複数枚のICカードが近づけられた場合に、このPUPIで個々のICカードを識別し、目的のICカードを探し出す。従って、同一となる確率は低いが、同じ値とならないようにPUPIを各ICカードで生成する必要がある。
PUPIは4bytes(約43億種)あり、世界中で統一的に各PUPIを各ICカードに割り当て、全てのICカードが異なるPUPIを持つようにしてもよいが、今後のICカードの発展を考慮した場合には、十分な種類数とはいえず、また、現状においては、特にこのような取り決めはなく、ICカードメーカが独自に各メーカのICカードにPUPIを割り振っている。
従って、複数のICカードから外部端末に提供されるPUPIが同一値となる可能性があり、このような場合には、外部端末とICカード間での1対1通信が確立しない。このような場合には、外部端末は、再びREQBを送信し、どちらか一方又は両方のICカードがPUPIの数値を再度選定することによって、最終的に1対1通信が可能になることを期待する仕組みとなっている。
For example, there are four contactless IC cards in the wallet, including credit, prepaid card, railroad card, and point card. In the case of an IC card that performs this, unlike the contact type, a plurality of IC cards may be in a state where they can communicate with an external terminal at a time. When a plurality of IC cards are brought close to each other, the external terminal identifies each IC card with this PUPI and searches for the target IC card. Therefore, although the probability of being the same is low, it is necessary to generate PUPI in each IC card so as not to have the same value.
There are 4 bytes of PUPI (about 4.3 billion types), and each PUPI may be assigned to each IC card in a unified manner all over the world so that all IC cards have different PUPI. However, considering the future development of IC cards In such a case, it cannot be said that the number of types is sufficient, and in the present situation, there is no particular agreement, and the IC card manufacturer uniquely assigns PUPI to each manufacturer's IC card.
Accordingly, there is a possibility that PUPI provided from a plurality of IC cards to the external terminal has the same value. In such a case, one-to-one communication between the external terminal and the IC card is not established. In such a case, the external terminal transmits REQB again, and it is expected that one or both of the IC cards will eventually enable one-to-one communication by selecting the PUPI value again. It is a mechanism to do.
しかし、PUPIが固定値である場合には、このように同一値となったときにPUPIの数値を変更することができず、この状態から永遠に抜け出せない状況となるため、PUPIは、可変値であることが必要とされる。
また、PUPIを乱数値とした場合には、ICカードには、真性乱数生成器(一定の初期値を持たない乱数の生成回路)を持つH/W(ハードウェア)があるが、乱数の精度(米国で定められているFIPS140−2規格は有名。)を一定以上に保つためには、1byteの乱数を生成するにあたり、1/1000秒(1msec)程度の時間が掛かり、現状の技術では、より高速な処理が困難である。従って、PUPIを可変値にした場合には、先記述の302μsec以内に4bytesの乱数データを生成することは、現在の技術では困難であるという問題があった。
When PUPI is a random value, the IC card has an H / W (hardware) having a true random number generator (a random number generation circuit having no fixed initial value). (FIPS 140-2 standard defined in the United States is famous). In order to keep a certain level or more, it takes about 1/1000 second (1 msec) to generate a 1-byte random number. Higher speed processing is difficult. Therefore, when PUPI is set to a variable value, there is a problem that it is difficult to generate 4-byte random number data within the previously described 302 μsec with the current technology.
本発明の課題は、迅速に一時的な識別情報を取得することが可能な携帯型情報記憶媒体及びそのプログラムを提供することである。 An object of the present invention is to provide a portable information storage medium and a program thereof capable of quickly acquiring temporary identification information.
本発明は、以下のような解決手段により、前記課題を解決する。なお、理解を容易にするために、本発明の実施例に対応する符号を付して説明するが、これに限定されるものではない。すなわち、請求項1の発明は、データ列を記憶するデータ列記憶手段(17、16−2)と、外部端末から識別情報読出要求を受信した場合(S110)に、前記データ列記憶手段に記憶されているデータ列から所定の量のデータを取り出すデータ取り出し手段(141、141−2)と、前記データ取り出し手段によって取り出されたデータを識別情報として前記外部端末へ送信する送信手段(11)と、を備える携帯型情報記憶媒体(10、10−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 the Example of this invention is attached | subjected and demonstrated, it is not limited to this. That is, the invention according to claim 1 stores the data string storage means (17, 16-2) for storing the data string and the data string storage means when receiving the identification information read request from the external terminal (S110). Data fetching means (141, 141-2) for fetching a predetermined amount of data from the data string being sent, and sending means (11) for sending the data fetched by the data fetching means to the external terminal as identification information , A portable information storage medium (10, 10-2).
請求項2の発明は、請求項1に記載の携帯型情報記憶媒体において、前記データ列記憶手段は、乱数列を記憶し、前記データ取り出し手段は、前記データ列記憶手段に記憶されている乱数列から所定の長さの乱数を取り出すこと、を特徴とする携帯型情報記憶媒体(10、10−2)である。 According to a second aspect of the present invention, in the portable information storage medium according to the first aspect, the data string storage unit stores a random number sequence, and the data retrieval unit stores the random number stored in the data string storage unit. A portable information storage medium (10, 10-2) is characterized in that a random number having a predetermined length is extracted from a sequence.
請求項3の発明は、請求項1又は請求項2に記載の携帯型情報記憶媒体において、乱数を生成する乱数生成手段(142)を備え、前記データ取り出し手段は、前記乱数生成手段によって生成された乱数に応じた前記データ列の位置からデータを取り出すこと、を特徴とする携帯型情報記憶媒体(10−2)である。 A third aspect of the present invention is the portable information storage medium according to the first or second aspect, further comprising random number generation means (142) for generating a random number, wherein the data extraction means is generated by the random number generation means. A portable information storage medium (10-2) is characterized in that data is extracted from the position of the data string corresponding to the random number.
請求項4の発明は、請求項1から請求項3までのいずれか1項に記載の携帯型情報記憶媒体において、前記データ取り出し手段は、外部端末から繰り返し識別情報読出要求を受信した場合に、取り出し位置を変えてデータを取り出すこと、を特徴とする携帯型情報記憶媒体(10、10−2)である。 According to a fourth aspect of the present invention, in the portable information storage medium according to any one of the first to third aspects, the data extracting means receives the identification information reading request repeatedly from an external terminal. A portable information storage medium (10, 10-2) characterized in that data is taken out by changing the take-out position.
請求項5の発明は、携帯型情報記憶媒体のCPUに実行させる携帯型情報記憶媒体のプログラムであって、外部端末から識別情報読出要求を受信した場合(S110)に、記憶しているデータ列から所定の量のデータを取り出すデータ取り出し手順(S120)と、前記データ取り出し手順において取り出したデータを識別情報として前記外部端末へ送信する送信手順(S130)とを備えること、を特徴とする携帯型情報記憶媒体のプログラムである。 The invention of claim 5 is a program of a portable information storage medium to be executed by a CPU of the portable information storage medium, and stores a data string stored when an identification information read request is received from an external terminal (S110). A data extraction procedure (S120) for extracting a predetermined amount of data from the mobile station, and a transmission procedure (S130) for transmitting the data extracted in the data extraction procedure as identification information to the external terminal. An information storage medium program.
請求項6の発明は、請求項5に記載の携帯型情報記憶媒体のプログラムにおいて、前記データ取り出し手順は、記憶している乱数列から所定の長さの乱数を取り出すこと、を特徴とする携帯型情報記憶媒体のプログラムである。 According to a sixth aspect of the present invention, in the portable information storage medium program according to the fifth aspect of the present invention, the data fetching procedure fetches a random number of a predetermined length from a stored random number sequence. Type information storage medium program.
本発明による携帯型情報記憶媒体又は携帯型情報記憶媒体のプログラムによれば、以下の効果を得ることが可能となる。
(1)記憶しているデータ列からデータを取り出し、識別情報として送信するため、迅速に一時的な識別情報を取得することが可能となる。特に、ISO/IEC14443−3で定められた時間内にPUPIを取得することが可能となる。
(2)記憶している乱数列から乱数を識別情報として取り出すことによって、他の携帯型情報記憶媒体の識別情報と重複する可能性を低減する。
(3)生成された乱数に応じたデータ列の位置からデータを取り出すことによって、他の用途に使用されているデータ列など、種々のデータ列から、他の携帯型情報記憶媒体の識別情報と重複する可能性の低い識別情報を取得することが可能となる。また、外部端末から繰り返し識別情報読出要求があった場合であっても、迅速に異なる識別情報を得ることが可能となる。
(4)取り出し位置を変えてデータを取り出すことによって、複数の種類の識別情報を取得する、つまり、可変値の識別情報を迅速に取得することが可能となる。
According to the portable information storage medium or the program of the portable information storage medium according to the present invention, the following effects can be obtained.
(1) Since data is extracted from the stored data string and transmitted as identification information, temporary identification information can be quickly acquired. In particular, it is possible to acquire PUPI within the time determined by ISO / IEC144443-3.
(2) By taking out a random number as identification information from a stored random number sequence, the possibility of overlapping with identification information of other portable information storage media is reduced.
(3) By extracting data from the position of the data string corresponding to the generated random number, the identification information of other portable information storage media can be obtained from various data strings such as data strings used for other purposes. It is possible to acquire identification information that is unlikely to overlap. Further, even when there is a repeated identification information read request from the external terminal, it is possible to quickly obtain different identification information.
(4) By extracting data by changing the extraction position, it is possible to acquire a plurality of types of identification information, that is, to quickly acquire variable value identification information.
本発明は、迅速に一時的な識別情報を取得する携帯型情報記憶媒体及びそのプログラムを提供するという目的を、データ列を記憶し、外部端末から識別情報読出要求を受信した場合には、このデータ列から所定の量のデータを取り出して識別情報として外部端末へ送信し、繰り返し識別情報読出要求を受信した場合には、取り出し位置を変えてデータを取り出して識別情報として外部端末へ送信する携帯型情報記憶媒体によって実現する。 An object of the present invention is to provide a portable information storage medium and a program thereof for quickly acquiring temporary identification information. When a data string is stored and an identification information read request is received from an external terminal, the present invention A portable device that extracts a predetermined amount of data from the data string and transmits it as identification information to an external terminal, and when it repeatedly receives an identification information read request, changes the extraction position to extract the data and transmits it to the external terminal as identification information Realized by type information storage medium.
図1は、本発明による情報記憶媒体の実施例1における構成を示すブロック図である。実施例1における情報記憶媒体は、ICカード10である。
図1に示すように、ICカード10は、カード基材内にICチップ12と、ICチップ12に接続された通信部11などを備え、リーダライタなどの外部端末20とB型の通信方式による非接触式での通信を行い、外部端末20から受信した指示(コマンド)に応じた処理を行い、結果を応答(レスポンス)として返信する、ISO/IEC14443のパート1〜4に準拠する近接型のICカードである。
通信部11は、アンテナである巻線コイルと、この巻線コイルの両端に接続されている同調用のコンデンサなどを有し、電磁誘導方式に基づいて電磁波及びアナログ信号間の変換を行い、ICチップ12が処理を実行するための電気エネルギーとなる起電力を誘起させるとともに、リーダライタなどの外部端末及びICチップ12間の非接触通信を媒介する。
FIG. 1 is a block diagram showing a configuration of the information storage medium according to the first embodiment of the present invention. The information storage medium in the first embodiment is the
As shown in FIG. 1, an
The
ICチップ12は、CPU14と、CPU14に接続されているI/Oインターフェイス13、RAM15、ROM16及び不揮発性メモリ17などを備えている。ICチップ12は、通信部11を通じて外部端末20から送出される交流電磁波を受信し、電磁誘導によって電力、クロックの供給を受け、通信を行う。
I/Oインターフェイス13は、通信部11及びCPU14間の入出力を媒介する入出力インターフェイスである。
CPU14は、種々の演算及び制御を行う、ICカード10を統括制御する中央処理装置であって、ROM16、不揮発性メモリ17などのメモリに格納されているプログラムを実行することによって、ICカード内部で乱数を取得する乱数取り出し部141などを実現する。乱数取り出し部141の機能の詳細については、図2及び図3を用いて後述する。
The
The I / O interface 13 is an input / output interface that mediates input / output between the
The
RAM15は、揮発性メモリであり、CPU14が処理を行うための作業領域として使用される。ROM16は、不揮発性の読み出し専用メモリであって、アプリケーションを実行させるためのオペレーティングシステム、実行環境などの基本ソフトウェアなどを記憶している。不揮発性メモリ17は、EEPROM、フラッシュメモリ、FRAMなどの随時書き換え可能な不揮発性のメモリであり、通常ユーザのワークエリア、プログラムエリアなどとして使用される。不揮発性メモリ17は、16bytesの乱数列を記憶している。この乱数列は、ICカード10の発行時などに外部の真正乱数生成器を用いて生成され、不揮発性メモリ17に書き込まれたものである。
The
外部端末20は、RF(Radio Frequency)動作磁界を発生し、それによって所定の範囲内(動作空間内)に存在するICカード10へ電力を供給し、それを変調することによって非接触式の通信を行う、駅改札口端末などのリーダライタを備える情報処理装置である。
The
図2は、本発明による携帯型情報記憶媒体の動作及び携帯型情報記憶媒体のプログラムを示すフローチャートであり、複数のICカード10及び外部端末20間の通信の衝突を防止する(1対1の通信を確立する)処理を示している。図3は、乱数取り出し部141の動作を示す説明図である。以下、CPU14の処理を中心に説明する。
図2のステップ100(以下、「ステップ」を「S」という。)及びS200において、外部端末20の動作空間内に複数のICカード10が存在する。
S110及びS210において、複数のICカード10は、外部端末20から電力の供給を受け、REQB(リクエストコマンド)を受信し、処理を開始する。
S120において、乱数取り出し部141は、不揮発性メモリ17に記憶されている乱数列(16bytes)の先頭から4bytesの乱数(データ列1)を取り出し(図3の#10)、この取り出し開始位置を示す取り出し開始位置履歴をRAM15に書き込む。複数のICカード10は、この乱数をPUPIとしたATQB(リクエスト応答信号)を外部端末20へ送信する(S130)。
FIG. 2 is a flowchart showing the operation of the portable information storage medium and the program of the portable information storage medium according to the present invention, and prevents a communication collision between the plurality of
In
In S110 and S210, the plurality of
In S120, the random number extraction unit 141 extracts a 4-byte random number (data sequence 1) from the beginning of the random number sequence (16 bytes) stored in the nonvolatile memory 17 (# 10 in FIG. 3), and indicates the extraction start position. The retrieval start position history is written in the
外部端末20は、複数のICカード10からATQBを受信し(S220)、ATQBに含まれるPUPIが全て異なっているか否か、つまり、各ICカード10が生成したPUPIが唯一であり、ICカード10の識別情報として有効か否かを判定する(S230)。重複している場合には、再びREQBを送信し(S210)、同様の処理を繰り返す(S220,S230)。ICカード10は、このREQBを受信し(S110)、乱数取り出し部141は、RAM15の取り出し開始位置履歴を参照し、S120において取り出した乱数の取り出し位置から1byte分、乱数列の後方へずらして、4byteの乱数(データ列2)を取り出し(S120、図3の#20)、ATQBを外部端末20へ送信する。ICカード10は、再びREQBを外部端末20から受信した場合には、取り出し開始位置履歴に基づいて乱数の取り出し位置を1byteずつずらし、同様の処理を繰り返す(S110からS140まで、図3の#30から#130まで)。なお、乱数取り出し部141は、13回繰り返し同様の処理を行い、乱数列の最後尾の乱数(データ列13)を取り出した場合(図3の#130)には、次回は、先頭に戻って乱数の取り出しを行う。
The
重複がない場合には、外部端末20は、通信相手となる一のICカード10を選択し、そのPUPIを含むATTRIB(カード選択コマンド)を送信する(S250)。ICカード10は、コマンドに含まれるPUPIが自己のPUPIと一致するコマンドを受信した場合に、ATTRIBのレスポンスを送信し(S150,S160)、ACTIVE状態となり、以降、外部端末20と、この一のICカード10との1対1の通信が行われる(S170,S260)。
If there is no overlap, the
このように実施例1によれば、ICカード10は、記憶している乱数列からPUPIとなる乱数を取り出すため、迅速に一時的な識別情報であるPUPIを取得することが可能となった。従って、ISO/IEC14443−3で定められた時間内にPUPIを取得することが可能となった。
また、ICカード10は、外部端末20から繰り返し識別情報読出要求であるREQBを受信した場合には、取り出し位置をずらして乱数を取り出すため、偶然にも同じPUPI(固定値又は可変値)を持つICカードが外部端末20の動作範囲内に存在していた場合であっても、PUPIを変更することによって外部端末20との通信を行うことが可能となった。更に、PUPIを変更する場合であっても、迅速に新たなPUPIを取得することができ、ISO/IEC14443−3で定められた時間内にPUPIを取得することが可能となった。
As described above, according to the first embodiment, since the
Further, when the
図4は、本発明による携帯型情報記憶媒体の実施例2における構成を示すブロック図である。実施例2における携帯型情報記憶媒体は、ICカード10−2である。なお、前述した実施例1と同様の機能を果たす部分には、同一の符号を付して、重複する説明を適宜省略する。
図4に示すように、ICカード10−2は、実施例1のICカード10と乱数の取り出し方(図2のS120)が異なり、乱数取り出し部141−2、乱数を生成する乱数発生器142などを実現するCPU14−2と、ROM16−2などとを備えている。乱数取り出し部141−2の機能の詳細については、図5を用いて後述する。ROM16−2は、実施例1において不揮発性メモリ17が記憶していたように、16bytesの乱数列を記憶している。この乱数列は、ICチップ12−2の製造工程でROM16−2に書き込まれる。
FIG. 4 is a block diagram showing a configuration of the portable information storage medium according to the second embodiment of the present invention. The portable information storage medium in the second embodiment is an IC 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. 4, the IC card 10-2 is different from the
図5は、本発明による携帯型情報記憶媒体の動作及び携帯型情報記憶媒体のプログラムを示す説明図であり、図2のS120における、乱数取り出し部141−2の処理を示している。
図5に示すように、乱数発生器142によって生成された乱数に応じて、ROM16−2に記憶されている乱数列(16bytes)からの乱数(データ列、4bytes)の取り出し開始位置が決定する。取り出し開始位置は、13種類あるため、乱数発生器142は、少なくとも13種類に対応する数の乱数の値を生成することが可能である。この生成された乱数に応じて、乱数取り出し部141−2は、乱数列から4bytesの乱数を取り出す。
FIG. 5 is an explanatory diagram showing the operation of the portable information storage medium and the program of the portable information storage medium according to the present invention, and shows the processing of the random number extraction unit 141-2 in S120 of FIG.
As shown in FIG. 5, in accordance with the random number generated by the random number generator 142, the extraction start position of the random number (data string, 4 bytes) from the random number string (16 bytes) stored in the ROM 16-2 is determined. Since there are 13 types of extraction start positions, the random number generator 142 can generate a random number value corresponding to at least 13 types. In response to the generated random number, the random number extraction unit 141-2 extracts a 4-byte random number from the random number sequence.
このように実施例2によれば、ICカード10−2は、取り出し開始位置の種類に応じた乱数を生成し、この乱数に応じてPUPIとなる乱数の取り出し開始位置を変化させるため、PUPIに必要な4bytesの乱数を生成させる場合と比べて、生成する乱数の量が少なく、実施例1と同様の効果を得ることが可能となった。
また、乱数に応じた取り出し開始位置からPUPIとなる乱数を取り出すため、同一の乱数列を記憶しているICカードがあった場合であっても、PUPIを異ならせることが可能となった。
As described above, according to the second embodiment, the IC card 10-2 generates a random number corresponding to the type of the extraction start position, and changes the extraction start position of the random number that becomes the PUPI according to the random number. Compared with the case of generating the necessary 4-byte random numbers, the amount of random numbers to be generated is small, and the same effect as in the first embodiment can be obtained.
In addition, since a random number serving as a PUPI is extracted from the extraction start position corresponding to the random number, it is possible to make the PUPI different even when there is an IC card storing the same random number sequence.
(変形例)
以上説明した実施例に限定されることなく、種々の変形や変更が可能であって、それらも本発明の均等の範囲内である。例えば、各実施例において、携帯型情報記憶媒体としてICカード10,10−2を記載したが、携帯型情報記憶媒体は、これに限定されず、SIMカード、UIMカード、ICタグ、SIMカード又はUIMカードを挿入した携帯電話又は携帯ホルダなどの他の携帯型情報記憶媒体であってもよい。なお、携帯型情報記憶媒体が携帯電話又は携帯ホルダである場合には、ICチップ12,12−2は、SIMカード(又はUIMカード)に設けられ、アンテナコイルなどを有する通信部11は、携帯電話(又は携帯ホルダ)に設けられる。また、通信部11がSIMカード(又はUIMカード)に設けられている場合には、このSIMカードなどが携帯型情報記憶媒体として機能する。
(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
各実施例において、ISO/IEC14443のパート1〜4に準拠する近接型のICカード10,10−2について記載したが、ICカード10,10−2の準拠する規格はこれに限られず、ICカード10が自己の一時的な識別情報を取得する必要がある場合には、同様の効果を得ることが可能である。従って、通信方法も電磁誘導方式、非接触式に限定されないが、特に、迅速な処理が要求され、複数が同時に外部端末20の通信対象となり得る、1対1の通信を確立するための識別情報を必要とする非接触式の通信を行う携帯型情報記憶媒体については、大きな効果を得ることが可能である。
In each of the embodiments, the proximity
各実施例において、ICカード10,10−2は、乱数列から一時的な識別情報となるPUPIを取り出しているが、PUPIを取り出す元は、これに限られず、例えば、ICカード10,10のROM16,16−2、不揮発性メモリ17などに記憶されている別の用途に用いられているデータ列からPUPIを取り出してもよい。この場合には、取り出すデータは、連続するデータに限られず、1byte置きに4bytesのデータを取り出してPUPIとしてもよい。また、実施例2のように生成した乱数に応じた取り出し位置から乱数を取り出してもよい。種々のデータ列から一時的な識別情報を取得することが可能である。なお、実施例1のように規則的にPUPIを取り出すときには、各ICカード10,10−2で異なる値となるデータ列を用いるか、規則性を各ICカード10,10−2で異ならせることが必要である。
In each embodiment, the
各実施例において、不揮発性メモリ17、ROM16−2に記憶されている乱数列のサイズは、16bytesに限られない。必要分の乱数(本実施例では4bytes)よりも大きく、必要分の乱数を2以上取り出せればよい。
また、規則的な取り出し方も実施例1における方法に限られず、例えば、図6に示すように、乱数取り出し部141は、4bytesずつずらして乱数を取り出してもよい。更に、2又は3bytesずつずらして取り出してもよく、1byteずつ取り出し位置をずらして最後尾に達した場合に、次回は、先頭から2byteずつずらしてもよい。更に、乱数発生器によって乱数を生成し、複数種類の規則的な取り出し方から乱数に応じて一の取り出し方を選択するなど、規則的な取り出し方、及び、無作為な取り出し方を組み合わせてもよい。記憶されている乱数列などのデータ列を母体として必要分のデータ(乱数)を複数種類取り出せればその取り出し方は、限定されず、同様の効果を得ることが可能である。
In each embodiment, the size of the random number sequence stored in the nonvolatile memory 17 and the ROM 16-2 is not limited to 16 bytes. It may be larger than the required random number (4 bytes in this embodiment) and two or more required random numbers can be extracted.
Further, the regular extraction method is not limited to the method in the first embodiment. For example, as illustrated in FIG. 6, the random number extraction unit 141 may extract the random numbers by shifting by 4 bytes. Further, it may be taken out by shifting by 2 or 3 bytes. When the take-out position is shifted by 1 byte and the end is reached, it may be shifted by 2 bytes from the beginning next time. Furthermore, random numbers can be generated by a random number generator, and one method can be selected according to random numbers from multiple types of regular methods. Good. If a plurality of types of necessary data (random numbers) can be extracted using a stored data sequence such as a random number sequence as a base, the extraction method is not limited, and the same effect can be obtained.
各実施例において、ICカード10,10−2は、外部端末20から受信する最初のREQBに対して、乱数をPUPIとしてATQBに含めて応答しているが、最初のATQBには、各ICカードメーカによって割り当てられているカード識別情報をPUPIとして応答し、複数のICカード10,10−2のPUPIが同一である場合に、各実施例のように乱数を読み出してもよい。
In each embodiment, the
実施例1において、ICカード10は、乱数列を不揮発性メモリ17に記憶しているが、実施例2のICカード10−2のように、ROM16に記憶していてもよい。また、同様にICカード10−2が不揮発性メモリ17に乱数列を記憶していてもよい。乱数列を不揮発性メモリ17に記憶した場合には、書き換えることができ、利便性などを向上できる反面、ROM16,16−2に乱数列を記憶した場合に比べて、大きな容量の不揮発性メモリ17が必要となる。
In the first embodiment, the
10,10−2 利用者管理サーバ
11 通信部
12,12−2 ICチップ
13 I/Oインターフェイス
14,14−2 CPU
15 RAM
16 ROM
17 不揮発性メモリ
20 外部端末
141,141−2 乱数取り出し部
142 乱数発生器
10, 10-2
15 RAM
16 ROM
17
Claims (6)
外部端末から識別情報読出要求を受信した場合に、前記データ列記憶手段に記憶されているデータ列から所定の量のデータを取り出すデータ取り出し手段と、
前記データ取り出し手段によって取り出されたデータを識別情報として前記外部端末へ送信する送信手段と、
を備える携帯型情報記憶媒体。 Data string storage means for storing the data string;
A data extraction means for extracting a predetermined amount of data from the data string stored in the data string storage means when an identification information read request is received from an external terminal;
Transmitting means for transmitting the data extracted by the data extracting means to the external terminal as identification information;
A portable information storage medium comprising:
前記データ列記憶手段は、乱数列を記憶し、
前記データ取り出し手段は、前記データ列記憶手段に記憶されている乱数列から所定の長さの乱数を取り出すこと、
を特徴とする携帯型情報記憶媒体。 The portable information storage medium according to claim 1,
The data sequence storage means stores a random number sequence,
The data extraction means extracts a random number of a predetermined length from a random number sequence stored in the data string storage means;
A portable information storage medium characterized by the above.
乱数を生成する乱数生成手段を備え、
前記データ取り出し手段は、前記乱数生成手段によって生成された乱数に応じた前記データ列の位置からデータを取り出すこと、
を特徴とする携帯型情報記憶媒体。 The portable information storage medium according to claim 1 or 2,
A random number generating means for generating a random number;
The data fetching means fetches data from the position of the data string corresponding to the random number generated by the random number generating means;
A portable information storage medium characterized by the above.
前記データ取り出し手段は、外部端末から繰り返し識別情報読出要求を受信した場合に、取り出し位置を変えてデータを取り出すこと、
を特徴とする携帯型情報記憶媒体。 The portable information storage medium according to any one of claims 1 to 3,
The data retrieval means retrieves data by changing the retrieval position when receiving an identification information read request repeatedly from an external terminal;
A portable information storage medium characterized by the above.
外部端末から識別情報読出要求を受信した場合に、記憶しているデータ列から所定の量のデータを取り出すデータ取り出し手順と、
前記データ取り出し手順において取り出したデータを識別情報として前記外部端末へ送信する送信手順とを備えること、
を特徴とする携帯型情報記憶媒体のプログラム。 A portable information storage medium program to be executed by a CPU of a portable information storage medium,
A data extraction procedure for extracting a predetermined amount of data from a stored data string when an identification information read request is received from an external terminal;
A transmission procedure for transmitting the data extracted in the data extraction procedure to the external terminal as identification information;
A portable information storage medium program characterized by the above.
前記データ取り出し手順は、記憶している乱数列から所定の長さの乱数を取り出すこと、
を特徴とする携帯型情報記憶媒体のプログラム。
In the portable information storage medium program according to claim 5,
The data extraction procedure includes extracting a random number of a predetermined length from a stored random number sequence,
A portable information storage medium program characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003393362A JP4698942B2 (en) | 2003-11-25 | 2003-11-25 | Portable information storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003393362A JP4698942B2 (en) | 2003-11-25 | 2003-11-25 | Portable information storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005157609A true JP2005157609A (en) | 2005-06-16 |
JP4698942B2 JP4698942B2 (en) | 2011-06-08 |
Family
ID=34719739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003393362A Expired - Fee Related JP4698942B2 (en) | 2003-11-25 | 2003-11-25 | Portable information storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4698942B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012033385A3 (en) * | 2010-09-10 | 2012-05-03 | Samsung Electronics Co., Ltd. | Non-volatile memory for anti-cloning and authentication method for the same |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11191149A (en) * | 1997-12-26 | 1999-07-13 | Oki Electric Ind Co Ltd | Lsi for ic card and using method therefor |
JP2002032732A (en) * | 2000-07-14 | 2002-01-31 | Dainippon Printing Co Ltd | Pseudo-random number acquiring method of portable information processor |
JP2002172878A (en) * | 2000-12-08 | 2002-06-18 | Toppan Printing Co Ltd | Method for gathering card sending dispatching article and dispatching article as well as apparatus therefor |
JP2003162700A (en) * | 2001-11-27 | 2003-06-06 | Sharp Corp | Operation control method and program of semiconductor device, record medium recording the operation control program of semiconductor device, semiconductor device, and ic card |
-
2003
- 2003-11-25 JP JP2003393362A patent/JP4698942B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11191149A (en) * | 1997-12-26 | 1999-07-13 | Oki Electric Ind Co Ltd | Lsi for ic card and using method therefor |
JP2002032732A (en) * | 2000-07-14 | 2002-01-31 | Dainippon Printing Co Ltd | Pseudo-random number acquiring method of portable information processor |
JP2002172878A (en) * | 2000-12-08 | 2002-06-18 | Toppan Printing Co Ltd | Method for gathering card sending dispatching article and dispatching article as well as apparatus therefor |
JP2003162700A (en) * | 2001-11-27 | 2003-06-06 | Sharp Corp | Operation control method and program of semiconductor device, record medium recording the operation control program of semiconductor device, semiconductor device, and ic card |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012033385A3 (en) * | 2010-09-10 | 2012-05-03 | Samsung Electronics Co., Ltd. | Non-volatile memory for anti-cloning and authentication method for the same |
CN103098063A (en) * | 2010-09-10 | 2013-05-08 | 三星电子株式会社 | Non-volatile memory for anti-cloning and authentication method for the same |
US8549659B2 (en) | 2010-09-10 | 2013-10-01 | Samsung Electronics Co., Ltd. | Non-volatile memory for anti-cloning and authentication method for the same |
US9021603B2 (en) | 2010-09-10 | 2015-04-28 | Samsung Electronics Co., Ltd | Non-volatile memory for anti-cloning and authentication method for the same |
Also Published As
Publication number | Publication date |
---|---|
JP4698942B2 (en) | 2011-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2577554B1 (en) | Method of managing communications with a nfc controller | |
JP2007317170A (en) | Ic module and cellular phone | |
CN103562937A (en) | Smartcard performance enhancement circuits and systems | |
US20110256832A1 (en) | Apparatus and method for controlling smart card comprised of multi sensor | |
JP6516133B2 (en) | Communication device and communication system | |
CN101853351B (en) | Method and device for automatically selecting an application that can be used by said device | |
KR102624022B1 (en) | Communication devices and methods | |
EP2830000B1 (en) | Wireless card reader and method for storing data | |
JP6009883B2 (en) | IC card, portable electronic device, and card reader / writer | |
JP4698942B2 (en) | Portable information storage medium | |
JP4590201B2 (en) | Data carrier and data carrier program | |
JP2014063334A (en) | Ic card, portable electronic device, and card reader writer | |
JP6092342B2 (en) | Non-contact portable electronic device and method for issuing non-contact portable electronic device | |
JP7468486B2 (en) | Contactless communication device, contactless chip and method for processing upper layer messages | |
JP6009854B2 (en) | IC card, portable electronic device, and IC card control program | |
KR20220099342A (en) | Payment terminal and payment means performing payment based on payment token and method of thereof | |
EP2299414B1 (en) | Portable electronic apparatus, control method for portable electronic apparatus, and IC card | |
JP2014063263A (en) | Ic card, portable electronic device, and ic card reader/writer | |
JP5875772B2 (en) | Portable electronic device, control method for portable electronic device, and processing system for portable electronic device | |
JP5684059B2 (en) | IC card and control method of IC card | |
JP2012198676A (en) | Portable electronic device, processor for portable electronic device, and processing system for portable electronic device | |
JP2012018649A (en) | Non-contact ic card, non-contact portable electronic apparatus and communication device | |
JP2010218451A (en) | Processing apparatus for mobile electronic device, mobile electronic device, and processing system for mobile electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060907 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20061117 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090129 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090203 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090406 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091104 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091228 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100810 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101110 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20110106 |
|
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: 20110301 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110302 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4698942 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |