JP2002203219A - Non-contact ic card, responding method and its program - Google Patents

Non-contact ic card, responding method and its program

Info

Publication number
JP2002203219A
JP2002203219A JP2001307109A JP2001307109A JP2002203219A JP 2002203219 A JP2002203219 A JP 2002203219A JP 2001307109 A JP2001307109 A JP 2001307109A JP 2001307109 A JP2001307109 A JP 2001307109A JP 2002203219 A JP2002203219 A JP 2002203219A
Authority
JP
Japan
Prior art keywords
random number
card
temporary
contact
provisional
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
Application number
JP2001307109A
Other languages
Japanese (ja)
Other versions
JP3901976B2 (en
Inventor
Futoshi Nakabe
中部  太志
Tadakatsu Masaki
忠勝 正木
Shinji Kawano
眞二 川野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001307109A priority Critical patent/JP3901976B2/en
Publication of JP2002203219A publication Critical patent/JP2002203219A/en
Application granted granted Critical
Publication of JP3901976B2 publication Critical patent/JP3901976B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a non-contact IC card, a responding method and its program for minimizing collisions of initial response by providing a high quality random number with a simple configuration. SOLUTION: This non-contact IC card is provided with a dummy random number generating means for generating a dummy random number obtained by a part of arithmetic operations among arithmetic operations used to generate a dummy random number, a dummy random number storing means for storing a dummy random number generated by the dummy random number generating means, and a random number generating means for generating a random number from the dummy random number at the time of receiving a request from a reader/writer. The non-contact IC card, the responding method and the program are provided.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、非接触ICカー
ド、応答方法、及びそのプログラムに関し、詳しくは、
リーダライタより送信されるリクエストに対して乱数に
基づいて算出される値を用いて応答する非接触ICカー
ド、応答方法、及びそのプログラムに関する。
The present invention relates to a contactless IC card, a response method, and a program therefor.
The present invention relates to a contactless IC card that responds to a request transmitted from a reader / writer using a value calculated based on a random number, a response method, and a program therefor.

【0002】[0002]

【従来の技術】従来、電磁誘導方式等を用いてデータの
授受を行なう非接触ICカードと当該非接触ICカード
を認識するリーダライタとの間の通信には、タイムスロ
ット方式が採用されている。これは、複数の非接触IC
カードが同時にリーダライタの通信可能エリア内に存在
し、リーダライタからのポーリングに対して複数の非接
触ICカードが同時に応答した場合、当該応答に用いら
れる各レスポンス信号が衝突して何れの非接触ICカー
ドもリーダライタと正常に通信することができなくなる
ためである。
2. Description of the Related Art Conventionally, a time slot method has been adopted for communication between a non-contact IC card which exchanges data using an electromagnetic induction method or the like and a reader / writer which recognizes the non-contact IC card. . This is a multi-contact IC
If the cards are simultaneously in the communicable area of the reader / writer and a plurality of non-contact IC cards respond to polling from the reader / writer at the same time, the response signals used for the response collide and any This is because the IC card cannot normally communicate with the reader / writer.

【0003】上記タイムスロット方式の通信方法を以下
に説明する。
[0003] The communication method of the time slot method will be described below.

【0004】(1)まずリーダライタは非接触ICカー
ドの存在を確認するために、リクエストとして初期応答
リクエストコマンドを非接触ICカードに送信する。上
記初期応答リクエストコマンドには、非接触ICカード
が行なう初期応答のタイミングの制御に必要な「スロッ
ト数」、又は「スロット数」を計算する為に必要な値が
含まれる。
(1) First, the reader / writer transmits an initial response request command to the contactless IC card as a request in order to confirm the presence of the contactless IC card. The initial response request command includes the “slot number” required for controlling the timing of the initial response performed by the non-contact IC card, or a value required for calculating the “slot number”.

【0005】(2)上記非接触ICカードは、上記初期
応答リクエストコマンドを受信後、特定時間から設けら
れるタイムスロット(1〜「スロット数」)へ上記初期
応答を返す。応答に用いるタイムスロット、即ちタイミ
ングは、非接触ICカード自身が乱数で決定する。
(2) After receiving the initial response request command, the non-contact IC card returns the initial response to a time slot (1 to “number of slots”) provided from a specific time. The time slot used for the response, that is, the timing, is determined by the contactless IC card itself using a random number.

【0006】(3)上記リーダライタは、複数の非接触
ICカードが同一のタイムスロットを選択した際に起こ
る初期応答の衝突を検出した場合、再度上記初期応答リ
クエストを送信する。ここで通常、再度送信された初期
応答リクエストに設けられるタイムスロットの数は、先
に設けられたタイムスロットの数よりも多数である。
(3) When the reader / writer detects a collision of initial responses that occurs when a plurality of non-contact IC cards select the same time slot, the reader / writer transmits the initial response request again. Here, usually, the number of time slots provided in the initial response request transmitted again is larger than the number of time slots provided earlier.

【0007】(4)上記リーダライタは、すべての非接
触ICカードからの初期応答を正常に受信することです
べての非接触ICカードの認識をし、当該カードの識別
のためのシーケンスを完了する。
(4) The reader / writer recognizes all the non-contact IC cards by normally receiving the initial responses from all the non-contact IC cards, and completes the sequence for identifying the cards. .

【0008】このようなシステムとして、無線式識別装
置(特開平9−6934号公報)が開示されている。
As such a system, a wireless identification device (Japanese Patent Laid-Open No. 9-6934) is disclosed.

【0009】尚、上記タイムスロット方式に類似の方法
として、スロットマーカ方式がある。当該スロットマー
カ方式では、リーダライタが上記タイムスロット方式に
おける初期応答リクエストを送信後、さらに当該リーダ
ライタが各スロット開始のタイミング毎にスロットの開
始を示すスロットマーカコマンドを送信する方式であ
る。
As a method similar to the time slot method, there is a slot marker method. In the slot marker method, after the reader / writer transmits an initial response request in the time slot method, the reader / writer further transmits a slot marker command indicating the start of a slot at each slot start timing.

【0010】[0010]

【発明が解決しようとする課題】上記無線式識別装置
(特開平9−6934号公報)では、識別カード(非接
触ICカード)が送受信デコーダ(リーダライタ)より
ポーリングを受けてからレスポンス信号(応答)を送信
するまでの遅延時間を、上述したように乱数で決定する
必要がある。
In the above wireless identification device (Japanese Patent Laid-Open No. 9-6934), a response signal (response signal) is received after an identification card (non-contact IC card) is polled by a transmission / reception decoder (reader / writer). ) Must be determined by a random number as described above.

【0011】ここで、上記乱数に質の悪い乱数、即ち複
数回乱数を発生した際に偏った乱数を発生させるシステ
ムにより生成された乱数、を用いた場合には、複数の非
接触ICカードで同じ乱数を発生させることが多くな
る。このため、上記初期応答の衝突が多発し、リーダラ
イタによるカード識別のシーケンス終了が遅れるばかり
か、最悪、非接触ICカードが同じ乱数を発生し続ける
と、カード識別のシーケンスが終了しないといった問題
を有する。特に電車の改札機等のように、立ち止まるこ
となく利用者が非接触ICカードをリーダライタに認識
させる必要があるシステムにて利用した場合、上記カー
ド識別が遅れることにより当該システムの利用に障害が
生じることになる。
Here, when a random number of poor quality as the above-mentioned random number, that is, a random number generated by a system for generating a random number when a random number is generated a plurality of times, is used, a plurality of non-contact IC cards are used. It often generates the same random number. For this reason, the collision of the initial response frequently occurs, so that not only the termination of the card identification sequence by the reader / writer is delayed, but also, at the worst, if the non-contact IC card continues to generate the same random number, the card identification sequence does not end. Have. In particular, when a user uses a system that requires a reader / writer to recognize a non-contact IC card without stopping, such as a ticket gate of a train, etc., the use of the system may be impaired due to the delay in the card identification described above. Will happen.

【0012】従って、上記質の悪い乱数の使用を避け、
良質の乱数、即ち複数回乱数を発生した際に偏らない乱
数を発生させるシステムにより生成された乱数、を使用
する必要がある。
Therefore, avoiding the use of the above-mentioned poor random numbers,
It is necessary to use good-quality random numbers, that is, random numbers generated by a system that generates random numbers when a random number is generated a plurality of times.

【0013】しかしながら、上記良質の乱数を得る為に
は、上記質の悪い乱数を得るよりも複雑な計算を行なう
必要がある。このため、上記良質の乱数をソフトウェア
にて生成する場合には、高速処理が可能なCPU(Cent
ral Processing Unit)を用いる必要があるが、当該高
速処理が可能なCPUを利用するには大量の電力を必要
とする。ここで、一般的に非接触ICカードのような電
磁誘導方式の給電方式では、CPUで単位時間当りに使
用できる電力は小さく、良質の乱数を生成するための十
分な電力を給電することができない。従って、利用可能
な電力で良質な乱数を得る為の計算を行なうと長時間か
かってしまい、乱数の計算が終了する前にタイムスロッ
トが終了するため初期応答ができないといった問題が起
こる。
However, in order to obtain the above-mentioned good-quality random numbers, it is necessary to perform more complicated calculations than to obtain the above-mentioned poor-quality random numbers. For this reason, when the high-quality random numbers are generated by software, a CPU (Cent
ral processing unit), but a large amount of power is required to use a CPU capable of high-speed processing. Here, in the power supply system of the electromagnetic induction system such as a non-contact IC card, the power that can be used per unit time by the CPU is small, and sufficient power for generating a good random number cannot be supplied. . Therefore, it takes a long time to perform a calculation for obtaining a good random number with available power, and a problem arises in that an initial response cannot be performed because the time slot ends before the calculation of the random number is completed.

【0014】又、上記良質の乱数をハードウェアにて生
成することにより、ソフトウェアにて生成するよりも一
般的に短時間で提供可能であるが、この場合には乱数発
生のためだけに特別な回路を必要とし、装置が複雑化し
てコストが高くなるといった問題が生じる。特に非接触
ICカードはサイズに制限があると共に、ある程度柔軟
性が必要なために、上記ハードウェアでの乱数の提供は
障害が大きいといえる。
Also, by generating the above-mentioned high-quality random numbers by hardware, it is generally possible to provide the random numbers in a shorter time than by software, but in this case, a special There is a problem that a circuit is required, the device becomes complicated, and the cost increases. In particular, since the non-contact IC card is limited in size and needs to have some flexibility, it can be said that the provision of random numbers by the above hardware has a great obstacle.

【0015】本発明は、良質な乱数を簡単な構成にて提
供することにより、初期応答の衝突を最小限にとどめる
非接触ICカード、応答方法、及びそのプログラムを提
供することを目的とする。
An object of the present invention is to provide a contactless IC card, a response method, and a program for minimizing collision of initial responses by providing high-quality random numbers with a simple configuration.

【0016】[0016]

【課題を解決するための手段】本発明は、上記目的を達
成するために以下の手段を採用している。即ち、本発明
はリーダライタより送信されるリクエストに対して乱数
に基づいて算出される値を用いて応答する非接触ICカ
ードを前提としている。ここで、仮乱数生成手段は、乱
数の発生に用いる演算のうち一部の演算によって得られ
る仮乱数を生成する。上記生成された仮乱数は仮乱数記
憶手段に記憶され、リーダライタよりリクエストを受信
した際に、乱数生成手段により上記記憶された仮乱数か
ら乱数が生成される。
The present invention employs the following means to achieve the above object. That is, the present invention is premised on a non-contact IC card that responds to a request transmitted from a reader / writer using a value calculated based on a random number. Here, the provisional random number generation means generates a provisional random number obtained by a part of the calculations used for generating the random number. The generated temporary random number is stored in a temporary random number storage unit, and when a request is received from a reader / writer, a random number is generated from the stored temporary random number by the random number generation unit.

【0017】以上のように、乱数の生成処理を分割し、
リクエストを受信した後に乱数を生成するための演算の
負荷を小さい演算とすることで、タイムスロットの時間
的規定を満たす事が可能である。しかも、乱数の生成に
は、演算量の多大な、即ち良質の乱数を生成可能な処理
を適用することが可能であるため、質の悪い乱数により
生じる問題を解決することが可能となる。
As described above, the process of generating random numbers is divided,
By setting the load of the calculation for generating the random number after receiving the request to be a small calculation, it is possible to satisfy the time specification of the time slot. In addition, since a process that requires a large amount of calculation, that is, a process that can generate high-quality random numbers, can be applied to the generation of random numbers, it is possible to solve problems caused by poor-quality random numbers.

【0018】又、乱数発生用のハードウェアを用いるこ
となく、ソフトウェアにて良質の乱数を得ることが可能
となるため非接触ICカードのコストを下げることが可
能となる。さらにハードウェアを用いることにより生じ
る設計、強度等の問題も発生しない。
Further, since high-quality random numbers can be obtained by software without using hardware for generating random numbers, the cost of a non-contact IC card can be reduced. Further, there is no problem of design, strength, and the like caused by using hardware.

【0019】尚、上記仮乱数の生成ための演算は、上記
リクエストに関連しない演算とし、上記乱数の生成のた
めの演算は、上記リクエストに基づいて決定される演算
とすることができる。
The operation for generating the temporary random number may be an operation not related to the request, and the operation for generating the random number may be an operation determined based on the request.

【0020】さらに、上記構成に加え複数の上記仮乱数
記憶手段を備えると共に、リーダライタからのリクエス
トに対して記憶した複数の仮乱数を順次用いて応答を行
なう構成がある。
Further, there is a configuration in which a plurality of the temporary random number storage means are provided in addition to the above configuration, and a response is made to the request from the reader / writer by sequentially using the stored multiple temporary random numbers.

【0021】この構成では、一度生成した仮乱数を再度
最初から順次使用することが可能となり、リーダライタ
からリクエストが連続してきた場合にも即座に乱数を生
成できるため、常に良質の乱数を用いて初期応答を行な
うことが可能となる。
With this configuration, it is possible to use the once generated temporary random numbers again from the beginning, and to generate the random numbers immediately even when requests are continuously received from the reader / writer. An initial response can be made.

【0022】さらに、自己送信タイミング判定手段が、
自らが応答すべきタイミングまでに所定の時間があるか
否かを判定し、仮乱数生成手段は、自己応答タイミング
判定手段により応答タイミングまでに所定の時間がある
と判定された場合に仮乱数を生成する構成がある。
Further, the self-transmission timing determining means includes:
The temporary random number generation means determines whether or not there is a predetermined time before the timing at which it should respond, and the temporary random number generation means generates a temporary random number when the self-response timing determination means determines that there is a predetermined time before the response timing. There is a configuration to generate.

【0023】この構成では、自らが応答すべきタイミン
グまでに所定の時間があるか否かを判定することで、自
らには関係ない、実質的に待ち時間であるスロットにて
仮乱数を生成することが可能となる。
In this configuration, it is determined whether or not there is a predetermined time before the timing at which the terminal should respond, and a temporary random number is generated in a slot which is not related to the terminal but is substantially a waiting time. It becomes possible.

【0024】さらに上記仮乱数記憶手段を不揮発性と
し、上記仮乱数生成手段は、通信処理終了時に上記仮乱
数を生成して上記不揮発性の仮乱数記憶手段に記憶し、
上記乱数生成手段は、上記リクエストを受信した際に上
記不揮発性の仮乱数記憶手段に記憶された仮乱数から乱
数を生成する構成がある。
Further, the provisional random number storage means is made non-volatile, and the provisional random number generation means generates the provisional random number at the end of the communication processing and stores it in the non-volatile provisional random number storage means.
The random number generation means may be configured to generate a random number from the temporary random number stored in the nonvolatile temporary random number storage means when receiving the request.

【0025】この構成では、非接触ICカードがリーダ
ライタと通信を終了した後であって、上記リーダライタ
との通信可能範囲内にある場合には電力の供給を受ける
ことが可能であるため、予め仮乱数を生成することが可
能となる。また、当該生成された仮乱数は不揮発性の仮
乱数記憶手段に記憶されるため、次にリーダライタとの
通信可能範囲に入った場合には即時良質の乱数を発生す
ることが可能となる。
In this configuration, after the non-contact IC card has completed communication with the reader / writer and is within the communicable range with the reader / writer, power can be supplied. A provisional random number can be generated in advance. In addition, since the generated temporary random number is stored in the nonvolatile temporary random number storage unit, it is possible to immediately generate a high-quality random number when it enters the communication range with the reader / writer.

【0026】さらに仮乱数の生成中に上記リーダライタ
からのリクエストを受信した際に当該仮乱数の生成を中
断することを示す仮乱数中断フラグと、リクエストに対
する応答が終了した後に上記仮乱数の生成を開始すべき
個所を示す仮乱数処理中フラグを備え、上記仮乱数中断
フラグ及び仮乱数処理中フラグに基づいて、仮乱数の生
成の中断・開始を行なう構成がある。
Further, a temporary random number interruption flag indicating that the generation of the temporary random number is interrupted when a request from the reader / writer is received during the generation of the temporary random number, and the generation of the temporary random number after the response to the request is completed. Is provided, and a temporary random number generation flag is provided to indicate a position where the temporary random number processing is to be started, and the temporary random number generation is interrupted / started based on the temporary random number interruption flag and the temporary random number processing ongoing flag.

【0027】この構成では、仮乱数生成中にリーダライ
タからの初期応答リクエストが行なわれた場合でも、仮
乱数の生成を途中で中断することにより、初期応答を行
なうことができ、その後、仮乱数の生成を再開すること
ができる。これにより、例えばプログラム起動時等の処
理を軽減することができる。
In this configuration, even when an initial response request is made from the reader / writer during the generation of the temporary random number, the generation of the temporary random number is interrupted in the middle, so that the initial response can be made. Can be restarted. Thereby, for example, processing at the time of starting the program can be reduced.

【0028】さらに特定スロット番号保持手段が所定の
値を保持し、上記仮乱数の生成中に上記リクエストを受
信した際に当該仮乱数の生成を中断し、上記特定スロッ
ト番号保持手段が保持している値を用いて応答する構成
がある。
Further, the specific slot number holding means holds a predetermined value, and when the request is received during the generation of the temporary random number, the generation of the temporary random number is interrupted. There is a configuration that responds using a value that is present.

【0029】この構成では、仮乱数記憶手段に有効な仮
乱数が記憶されていない場合であってもリクエストに対
して所定の時間内に応答を返すことが可能になる。
With this configuration, it is possible to return a response to a request within a predetermined time even if a valid temporary random number is not stored in the temporary random number storage means.

【0030】上記構成にて上記特定スロット番号保持手
段が保持する値を、1とする構成もある。
In the above configuration, the value held by the specific slot number holding means may be set to 1.

【0031】上記特定スロット番号保持手段に記憶する
値を"1"とすることで、Slot1にて初期応答を行な
うため、残りのスロットを仮乱数の計算に使用すること
が可能となる。このため、初回の初期応答リクエストに
て他の非接触ICカードのレスポンス信号が衝突した場
合であっても、2回目の初期応答リクエストに対して十
分に応答できるだけの仮乱数生成時間を確保することが
可能となる。
By setting the value stored in the specific slot number holding means to "1", an initial response is made in Slot 1, so that the remaining slots can be used for calculation of temporary random numbers. For this reason, even if a response signal of another contactless IC card collides with the initial response request of the first time, it is necessary to secure a temporary random number generation time sufficient to respond to the second initial response request. Becomes possible.

【0032】[0032]

【発明の実施の形態】以下、添付図面を参照して、本発
明の実施の形態につき説明し、本発明の理解に供する。
尚、以下の実施の形態は、本発明を具体化した一例であ
って、本発明の技術的範囲を限定する性格のものではな
い。
Embodiments of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention.
It should be noted that the following embodiments are examples embodying the present invention, and do not limit the technical scope of the present invention.

【0033】まず、図1〜図3を用いて、近接型非接触
ICカードの国際規格ISO/IEC14443に適応
した場合の非接触ICカードの処理について簡単に説明
する。
First, the processing of a non-contact IC card when the proximity non-contact IC card conforms to the international standard ISO / IEC14443 will be briefly described with reference to FIGS.

【0034】ISO/IEC14443は例えば、非接
触テレホンカードなどに適応できる。さらに具体的に、
図1に示すように、公衆電話として機能するリーダライ
タ100にテレホンカードとしての機能を有する非接触
ICカード200、300を同時に差し込んだ(近接さ
せた)場合を想定する。
[0034] ISO / IEC14443 can be applied to, for example, a non-contact telephone card. More specifically,
As shown in FIG. 1, it is assumed that non-contact IC cards 200 and 300 having a function as a telephone card are simultaneously inserted (closed) into a reader / writer 100 functioning as a public telephone.

【0035】ISO/IEC14443の非接触ICカ
ードの認識システムにおいては、以下の手順で非接触I
Cカードの認識が行われる。
In the non-contact IC card recognition system of ISO / IEC14443, the non-contact IC card
The recognition of the C card is performed.

【0036】まず、公衆電話であるリーダライタ100
が初期応答リクエスト(リクエスト)を送信する。当該
初期応答リクエストは、図3に示されるフォーマットに
なっており、初期応答リクエスト301を構成するPA
RAM302内の8bitのうち、bit1〜bit3
の3bit303を用いてタイムスロット数(N)を非
接触ICカードに通知する。尚、APf304は、初期
要求コマンドを示すヘッダであり、AFI305は非接
触ICカードの適応クラスを示す。又、CRC(Cyclic
Redundancy Check)306はAPf〜PARAMまで
のCRCである。
First, a reader / writer 100 which is a public telephone is used.
Sends an initial response request (request). The initial response request has a format shown in FIG.
Of the 8 bits in the RAM 302, bit1 to bit3
The number of time slots (N) is notified to the non-contact IC card by using the three bits 303 of (3). Note that APf 304 is a header indicating an initial request command, and AFI 305 indicates an adaptation class of the contactless IC card. Also, CRC (Cyclic
Redundancy Check) 306 is a CRC from APf to PARAM.

【0037】尚、非接触ICカードは1〜NまでのN個
のスロットで応答するが、今回の説明ではタイムスロッ
ト数(N)を4として説明を行なう。即ち、初期応答リ
クエストに対して非接触ICカード200及び300
は、1〜4までのタイムスロットのうち一つを選択し、
初期応答を行なう。
Although the non-contact IC card responds with N slots 1 to N, the description here will be made on the assumption that the number of time slots (N) is four. That is, the contactless IC cards 200 and 300 respond to the initial response request.
Selects one of the time slots 1-4,
Make an initial response.

【0038】図2で示す一回目のカード識別処理201
において、まずリーダライタ100から初期応答リクエ
ストR1〔REQB〕(202)を送信する。当該初期
応答リクエストR1(202)に対して非接触ICカー
ド200及び300が、乱数としてそれぞれ「1」を生
成したときには、タイムスロット1(204)内の初期
応答〔ATQB〕A21、A31でそれぞれ応答する。
この場合、上記非接触ICカード200、300共同一
のタイミングで初期応答を応答するため、リーダライタ
100は、非接触ICカードの衝突を検出する。したが
って、再度、識別処理を再開する。
The first card identification processing 201 shown in FIG.
First, the reader / writer 100 transmits an initial response request R1 [REQB] (202). When the contactless IC cards 200 and 300 respectively generate “1” as random numbers in response to the initial response request R1 (202), they respond with initial responses [ATQB] A21 and A31 in the time slot 1 (204), respectively. I do.
In this case, the reader / writer 100 detects the collision of the non-contact IC cards since the initial response is returned at the same timing as the non-contact IC cards 200 and 300. Therefore, the identification process is restarted.

【0039】二回目の識別処理207において、リーダ
ライタ100から初期応答リクエストR2(203)を
送信する。初期応答リクエストに対して非接触ICカー
ド200及び300が、乱数として「3」、および
「2」を生成したときには、タイムスロット3(20
5)内のパケットA22、およびタイムスロット2(2
06)内のパケットA32で応答する。この場合、リー
ダライタ100は衝突を検出しないため、すべての非接
触ICカードの識別を行なうことができ、識別処理を完
了する。以上がISO/IEC14443の規定に従っ
た、非接触ICカードのカード識別処理である。尚、I
SO/IEC14443の規定では、初期応答リクエス
トコマンドを受け取ってから、非接触ICカードがタイ
ムスロット1で応答する場合の時間を302μsecと
規定し、また、1つのタイムスロットの期間(時間)は
2266μsecと規定している。リーダライタ100
から初期応答リクエストを受信して、初期応答を送信す
るまでのタイミング(μsec)は、以下の計算式(式
1)により与えられる。
In the second identification process 207, an initial response request R2 (203) is transmitted from the reader / writer 100. When the contactless IC cards 200 and 300 generate “3” and “2” as random numbers in response to the initial response request, the time slot 3 (20
5) and time slot 2 (2
06) and responds with the packet A32. In this case, since the reader / writer 100 does not detect the collision, all the non-contact IC cards can be identified, and the identification process is completed. The above is the card identification processing of the non-contact IC card according to the provisions of ISO / IEC14443. Note that I
According to the specification of SO / IEC14443, the time when the contactless IC card responds in the time slot 1 after receiving the initial response request command is defined as 302 μsec, and the period (time) of one time slot is 2266 μsec. Stipulates. Reader / writer 100
The timing (μsec) from the reception of the initial response request to the transmission of the initial response is given by the following calculation expression (Expression 1).

【0040】 タイミング(μsec)=302μsec+2266μsec×(スロット数 (N)−1) :(式1) (実施の形態1)以下、本発明にかかる実施の形態1に
おけるリーダライタ100及び、複数の非接触ICカー
ド200、300、…よりなる非接触ICカードシステ
ムについて説明する。なお、非接触ICカード200,
300の構成は同一であるため、以下、主に非接触IC
カード200を用いて説明する。
Timing (μsec) = 302 μsec + 2266 μsec × (the number of slots (N) −1): (Equation 1) (Embodiment 1) Hereinafter, the reader / writer 100 according to Embodiment 1 of the present invention and a plurality of non-contacts A non-contact IC card system including the IC cards 200, 300,... Will be described. The non-contact IC card 200,
Since the configuration of the non-contact IC 300 is the same,
This will be described using the card 200.

【0041】図4(a)は、実施の形態1におけるリー
ダライタ100の構成を示す図である。リーダライタ1
00は、アンテナ401、送受信回路402、CPU4
03、リーダライタを制御するためのプログラムが格納
されているROM(Read Only Memory)404、プログ
ラム実行時に例えばワークエリアとして使用されるRA
M(Random Access Memory)405より構成されてい
る。
FIG. 4A is a diagram showing a configuration of the reader / writer 100 according to the first embodiment. Reader / writer 1
00 is an antenna 401, a transmitting / receiving circuit 402, a CPU 4
03, ROM (Read Only Memory) 404 storing a program for controlling the reader / writer, RA used as a work area when the program is executed, for example.
An M (Random Access Memory) 405 is provided.

【0042】又、図4(b)に示すのは非接触ICカー
ド200の構成を示す機能ブロック図である。上記非接
触ICカード200は、アンテナ406、送受信回路4
07、各プログラムを実行するCPU408、リーダラ
イタ100からのコマンドを処理するための制御プログ
ラム等が格納されるROM409、プログラム実行時に
例えばワークエリアとして使用されるRAM410より
構成される。ここで上記非接触ICカード200は、上
記リーダライタ100等の通信可能エリアに入ると、上
記リーダライタ100からの電磁波より誘導される電力
にて動作する。このため、大量の電力の供給を受けるこ
とができないのは上述したとおりである。
FIG. 4B is a functional block diagram showing the configuration of the non-contact IC card 200. As shown in FIG. The non-contact IC card 200 includes an antenna 406, a transmitting / receiving circuit 4
07, a CPU 408 for executing each program, a ROM 409 for storing a control program for processing commands from the reader / writer 100, and a RAM 410 used as a work area when the program is executed. Here, when the non-contact IC card 200 enters a communicable area of the reader / writer 100 or the like, the non-contact IC card 200 operates with electric power induced by electromagnetic waves from the reader / writer 100. For this reason, as described above, a large amount of power cannot be supplied.

【0043】次に、上記図4(b)における非接触IC
カード200を機能ブロック図として示したのが図5で
ある。即ち、上記非接触ICカード200は、アンテナ
手段501、送受信手段502、制御手段503、良質
の乱数を生成するための仮乱数生成手段504、仮乱数
を記憶する仮乱数記憶手段505、受信した初期要求コ
マンドからスロット数を取得するスロット数取得手段5
06、仮乱数記憶手段505に記憶される仮乱数から乱
数を生成する乱数生成手段507を備える。尚、例えば
上記仮乱数生成手段504、スロット数取得手段50
6、乱数生成手段507は、図4(b)に示したROM
409に格納され、必要に応じてCPU408に読み出
されて実行される。
Next, the non-contact IC shown in FIG.
FIG. 5 shows the card 200 as a functional block diagram. That is, the non-contact IC card 200 includes an antenna unit 501, a transmission / reception unit 502, a control unit 503, a temporary random number generation unit 504 for generating high-quality random numbers, a temporary random number storage unit 505 for storing temporary random numbers, Slot number acquiring means 5 for acquiring the number of slots from the request command
06, and a random number generation unit 507 for generating a random number from the temporary random number stored in the temporary random number storage unit 505. Note that, for example, the temporary random number generation unit 504 and the slot number acquisition unit 50
6. The random number generation means 507 is the ROM shown in FIG.
The data is stored in the CPU 409 and read out and executed by the CPU 408 as necessary.

【0044】次に、図6を用いて本実施の形態1に係る
非接触ICカードの処理について説明する。尚、図6は
非接触ICカード200の実行する通信処理のフローチ
ャートである。
Next, processing of the non-contact IC card according to the first embodiment will be described with reference to FIG. FIG. 6 is a flowchart of a communication process executed by the non-contact IC card 200.

【0045】まず、非接触ICカード200を構成する
仮乱数生成手段504は、例えばプログラム起動時等の
所定のタイミングで、良質の乱数を生成する為の仮乱数
(r)を予め生成しておく(図6:S601)。ここで
上記仮乱数とは、乱数の生成に必要な複数ステップの演
算のうち、所定のステップ数の演算にて得られる値を指
す。例えば上記乱数の生成に必要なステップが100ス
テップである場合に、当該必要ステップの前段90ステ
ップにて導き出される値等が仮乱数である。言い換えれ
ば、後述するステップ数(N)(リクエスト)に関連し
ない演算を仮乱数の生成ステップとすることができる。
また、上記プログラム起動時とは、上記リーダライタ1
00等の通信可能エリアに入ることで、上記リーダライ
タ100からの電磁波より電力を誘導した場合等であ
る。
First, the temporary random number generation means 504 constituting the non-contact IC card 200 generates in advance a temporary random number (r) for generating a high-quality random number at a predetermined timing, for example, when starting a program. (FIG. 6: S601). Here, the provisional random number refers to a value obtained by a predetermined number of steps of calculation among a plurality of steps required for generating a random number. For example, when the number of steps required for generating the random number is 100, the value or the like derived in the preceding 90 steps of the necessary step is a temporary random number. In other words, an operation that is not related to the number of steps (N) (request) described later can be used as a temporary random number generation step.
When the program is started, the reader / writer 1
For example, when electric power is induced by electromagnetic waves from the reader / writer 100 by entering a communicable area such as 00.

【0046】尚、上記乱数は充分に良質の乱数とするた
めの方法を用いるのが好ましく、例えば乱数生成方法
(特願平11−177913号公報)等にその具体例が
示されている。但し、良質の乱数発生のためのアルゴリ
ズムは当該発明には直接関係しないため詳細は省略す
る。
It is preferable to use a method for obtaining a sufficiently high quality random number, and a specific example is shown in, for example, a random number generation method (Japanese Patent Application No. 11-177913). However, the algorithm for generating high-quality random numbers is not directly related to the present invention, and thus the details are omitted.

【0047】上記仮乱数生成手段504にて生成された
仮乱数(r)は、例えばRAM410内に設けられた仮
乱数記憶手段505に記憶される(図6:S602)。
The provisional random number (r) generated by the provisional random number generation means 504 is stored, for example, in the provisional random number storage means 505 provided in the RAM 410 (FIG. 6: S602).

【0048】次に、リーダライタ100から初期応答リ
クエスト(リクエスト)が送信されてくるのを待機する
(図6:S603NO)。上記アンテナ手段501が上
記リーダライタ100からの電磁波を受信し、当該電磁
波に上記初期応答リクエストが含まれていた場合、当該
初期応答リクエストは送受信手段502を会して制御手
段503にて受信される。続いて、制御手段503は上
記初期応答リクエストをスロット数取得手段506に送
信し、当該スロット数取得手段506は初期応答リクエ
ストの中からスロット数を取得する(図6:S603Y
ES−S604)。上記スロット数は、図3に示したP
ARAM302のBit1〜Bit3で指定されてお
り、数値2を、このbitに指定される値回数乗じた値
となる。以下にスロット数の計算式(式2)を示す。
Next, it waits for an initial response request (request) to be transmitted from the reader / writer 100 (FIG. 6: NO in S603). When the antenna unit 501 receives the electromagnetic wave from the reader / writer 100 and the electromagnetic wave includes the initial response request, the initial response request meets the transmission / reception unit 502 and is received by the control unit 503. . Subsequently, the control unit 503 transmits the initial response request to the slot number obtaining unit 506, and the slot number obtaining unit 506 obtains the number of slots from the initial response request (FIG. 6: S603Y).
ES-S604). The number of slots is P
It is specified by Bit1 to Bit3 of the ARAM 302, and is a value obtained by multiplying the numerical value 2 by the number of times specified by this bit. A calculation formula (formula 2) for the number of slots is shown below.

【0049】スロット数(N)=2^n:(式2) (nはBit1〜Bit3であらわされる0から4まで
の値) 上記スロット数取得手段506にて取得(計算)された
スロット数(N)は、上記制御手段503に送信され
る。
The number of slots (N) = 2 ^ n: (Equation 2) (n is a value from 0 to 4 represented by Bit 1 to Bit 3) The number of slots acquired (calculated) by the slot number acquisition means 506 ( N) is transmitted to the control means 503.

【0050】続いて上記制御手段503がスロット数
(N)を取得すると、当該スロット数(N)と共に上記
仮乱数記憶手段505に記憶した仮乱数(r)を乱数生
成手段507に送信する。
Subsequently, when the control unit 503 obtains the number of slots (N), the control unit 503 transmits the temporary random number (r) stored in the temporary random number storage unit 505 together with the slot number (N) to the random number generation unit 507.

【0051】上記スロット数(N)、及び仮乱数(r)
を受信した乱数生成手段507は、当該2つの値に基づ
いて乱数(本乱数)(R)を生成する(図6:S60
5)。ここで、仮乱数(r)から乱数を生成する処理
は、上記乱数の生成に必要な複数ステップの演算のう
ち、仮乱数の生成時に処理された所定のステップ以外
の、残りのステップを実行(演算)するのみである。こ
こで、当該残りのステップは、上記スロット数(N)が
わからないと処理できない、即ち上記スロット数(N)
(リクエスト)が関連するステップとすることができ
る。
The number of slots (N) and the provisional random number (r)
Is received, the random number generation means 507 generates a random number (actual random number) (R) based on the two values (FIG. 6: S60).
5). Here, in the process of generating a random number from the temporary random number (r), the remaining steps other than the predetermined step processed at the time of generating the temporary random number are executed among the operations of the plurality of steps required for generating the random number ( Operation). Here, the remaining steps cannot be processed unless the number of slots (N) is known, that is, the number of slots (N)
(Request) can be a related step.

【0052】以下に乱数(R)の計算式の一例(式3)
を示す。
An example of the equation for calculating the random number (R) (Equation 3)
Is shown.

【0053】 乱数(R)=仮乱数(r)%スロット数(N)+1 :(式3) (%は剰余演算) 上記計算式(式3)は、タイムスロットの応答時間の規
定を満たすものであれば他の演算式を用いてもかまわな
い。
Random number (R) = provisional random number (r)% number of slots (N) +1: (expression 3) (% is remainder operation) The above expression (expression 3) satisfies the definition of the response time of the time slot. If so, another arithmetic expression may be used.

【0054】上記乱数生成手段507にて生成された乱
数は、上記制御手段503に送信される。
The random number generated by the random number generation means 507 is transmitted to the control means 503.

【0055】以上により、非接触ICカード200は、
所望の乱数(1〜スロット数(N))を得ることができ
る。以後、上記乱数に基づいたタイミング(スロット)
を利用して、上記リーダライタ100に対して初期応答
を行なう(図6:S606)。上記初期応答完了後、再
度、仮乱数(r)を生成するステップS601へもど
り、一連の初期応答を完了する。
As described above, the non-contact IC card 200
A desired random number (1 to the number of slots (N)) can be obtained. Thereafter, the timing (slot) based on the above random number
Is used to make an initial response to the reader / writer 100 (FIG. 6: S606). After the completion of the initial response, the process returns to step S601 for generating a temporary random number (r), and a series of initial responses is completed.

【0056】以上のように、乱数の生成処理を分割し、
初期応答リクエストを受信した後に乱数(R)を生成す
るための演算の負荷が小さい演算とすることで、ISO
/IEC14443におけるタイムスロットの時間的規
定を満たす事が可能である。しかも、乱数の生成には、
演算量の多大な、即ち良質の乱数を生成可能な処理を適
用することが可能である為、質の悪い乱数により生じる
問題を解決することが可能となる。
As described above, the random number generation process is divided,
By making the calculation load for generating a random number (R) after receiving the initial response request small, the ISO
/ IEC14443 can satisfy the time rule of the time slot. Moreover, to generate random numbers,
Since it is possible to apply a process that requires a large amount of calculation, that is, a process that can generate high-quality random numbers, it is possible to solve a problem caused by poor-quality random numbers.

【0057】又、良質の乱数を生成するための単位時間
当り十分な電力を給電することができない非接触ICカ
ードにおいても、乱数発生用のハードウェアを用いるこ
となく、ソフトウェアにて良質の乱数を得ることが可能
となるため非接触ICカードのコストを下げることが可
能となる。さらにハードウェアを用いることにより生じ
る設計、強度等の問題も発生しない。
Further, even in a non-contact IC card that cannot supply sufficient power per unit time for generating a high-quality random number, a high-quality random number can be generated by software without using hardware for generating a random number. Therefore, the cost of the non-contact IC card can be reduced. Further, there is no problem of design, strength, and the like caused by using hardware.

【0058】尚、本実施の形態1では、乱数の生成にソ
フトウェアを利用しているが、ハードウェアにより良質
の乱数を生成してもよい。ソフトウェアよりも高速に乱
数を生成することが可能であるハードウェアを利用する
為、さらに多大なステップを必要とする、良質の乱数の
生成方法を利用する事が可能になる。この場合、非接触
ICカード200は、仮乱数発生手段にハードウェア回
路を適用した構成となる。
In the first embodiment, software is used to generate random numbers. However, high-quality random numbers may be generated by hardware. Since hardware that can generate random numbers faster than software is used, it is possible to use a high-quality random number generation method that requires more steps. In this case, the non-contact IC card 200 has a configuration in which a hardware circuit is applied to the temporary random number generation unit.

【0059】(実施の形態2)続いて、本発明に係る実
施の形態2について説明する。尚、図7は、請求項2の
非接触ICカード200が実行する通信処理のフローチ
ャートである。
Second Embodiment Next, a second embodiment according to the present invention will be described. FIG. 7 is a flowchart of a communication process executed by the non-contact IC card 200 according to the second embodiment.

【0060】上記実施の形態1における非接触ICカー
ドでは、初期応答リクエストに対する応答が完了してす
ぐに再度リーダライタから初期応答リクエストが送信さ
れた際に、当該非接触ICカードが仮乱数生成中であっ
た場合には、初期応答ができない問題点がある。本実施
の形態2では、この問題を解決するための手段を提供す
る。尚、本実施の形態2における非接触ICカードは、
上記実施の形態1における非接触ICカードとほぼ同様
の構成を有する為、異なる点のみ説明を行なう。
In the non-contact IC card according to the first embodiment, when the initial response request is transmitted again from the reader / writer immediately after the response to the initial response request is completed, the non-contact IC card is generating a temporary random number. In this case, there is a problem that an initial response cannot be made. The second embodiment provides a means for solving this problem. The contactless IC card according to the second embodiment is
Since it has substantially the same configuration as the non-contact IC card in the first embodiment, only different points will be described.

【0061】まず、上記非接触ICカード200を構成
する仮乱数生成手段504は例えばプログラム起動時等
の所定のタイミングで、仮乱数(r(n))を生成する
(図7:S701)。ここで(r(n))は、n番目に
生成された仮乱数を意味し、1から仮乱数生成規定回数
までの値をとる。尚、仮乱数規定回数とは、仮乱数をい
くつ生成するかを決定する値であり、例えばプログラム
的に決定される定数や、RAM410やROM409に
格納される変数等で与えられる。
First, the temporary random number generation means 504 constituting the non-contact IC card 200 generates a temporary random number (r (n)) at a predetermined timing, for example, at the time of starting a program (FIG. 7: S701). Here, (r (n)) means the n-th provisional random number generated, and takes a value from 1 to a prescribed provisional random number generation number. The specified number of provisional random numbers is a value that determines how many provisional random numbers are to be generated, and is given by, for example, a constant determined programmatically, a variable stored in the RAM 410 or the ROM 409, or the like.

【0062】また、仮乱数の生成は、良質の乱数とする
ための方法を用いるのは上記実施の形態1と同様であ
る。
Further, the method of generating the provisional random numbers is the same as that of the first embodiment in that a method for producing high-quality random numbers is used.

【0063】上記仮乱数生成手段504にて生成された
仮乱数(r(n))は、制御手段503を介して仮乱数
記憶手段505に記憶される(図7:S702)。尚、
この際に、本実施の形態2における非接触ICカード2
00は、上記仮乱数記憶手段505を複数備えており、
例えば上記生成された仮乱数(r(n))は仮乱数記憶
手段505(n)に記憶されるものとする。
The provisional random number (r (n)) generated by the provisional random number generation means 504 is stored in the provisional random number storage means 505 via the control means 503 (FIG. 7: S702). still,
At this time, the non-contact IC card 2 according to the second embodiment is used.
00 has a plurality of the temporary random number storage means 505,
For example, the generated temporary random number (r (n)) is assumed to be stored in the temporary random number storage unit 505 (n).

【0064】上記仮乱数記憶手段505(n)に仮乱数
が記憶された後、上記制御手段503は、乱数生成カウ
ンタを用いて仮乱数の生成回数を確認する(図7:S7
03)。ここに乱数生成カウンタは、生成した仮乱数
(r(n))の番号を記憶するための変数で、非接触I
Cカード200のRAM410に実装される。
After the provisional random number is stored in the provisional random number storage means 505 (n), the control means 503 checks the number of times the provisional random number is generated using a random number generation counter (FIG. 7: S7).
03). Here, the random number generation counter is a variable for storing the number of the generated temporary random number (r (n)).
It is mounted on the RAM 410 of the C card 200.

【0065】ここで、仮乱数の生成回数が上記仮乱数生
成規定回数に達しなかった場合、上記仮乱数生成手段5
04は、上記制御手段503からの指示に基づいて再度
仮乱数を生成する(図7:S703NO−S701)。
If the number of times of generation of the provisional random number does not reach the specified number of times of provisional random number generation,
04 generates a temporary random number again based on the instruction from the control means 503 (FIG. 7: S703NO-S701).

【0066】尚、仮乱数の生成回数が上記仮乱数生成規
定回数に達した場合、乱数使用カウンタを1で初期化す
る(図7:S703YES−S704)。ここに乱数使
用カウンタは、次回の乱数生成時に使用する仮乱数(r
(n))の番号を記憶するための変数で、非接触ICカ
ード200のRAM410に実装される。
When the number of times of generation of the provisional random number has reached the prescribed number of times of provisional random number generation, the random number use counter is initialized with 1 (FIG. 7: S703 YES-S704). Here, the random number use counter is a temporary random number (r
(N)) is a variable for storing the number, and is mounted on the RAM 410 of the non-contact IC card 200.

【0067】以上の処理により、複数の仮乱数が生成さ
れ、仮乱数記憶手段505にそれぞれ格納される。
By the above processing, a plurality of temporary random numbers are generated and stored in the temporary random number storage means 505, respectively.

【0068】次に、上記非接触ICカード200は、リ
ーダライタ100から初期応答リクエストが送信されて
くるのを待機する(図7:S705NO)。上記アンテ
ナ手段501が上記リーダライタ100からの電磁波を
受信し、当該電磁波に上記初期応答リクエストが含まれ
ていた場合、当該初期応答リクエストは送受信手段50
2を介して制御手段503にて受信され、制御手段50
3は上記初期応答リクエストをスロット数取得手段50
6に送信し、当該スロット数取得手段506が初期応答
リクエストの中からスロット数を取得するのは上記実施
の形態1と同様である(図7:S705YES−S70
6)。
Next, the non-contact IC card 200 waits for an initial response request to be transmitted from the reader / writer 100 (FIG. 7: NO in S705). When the antenna unit 501 receives an electromagnetic wave from the reader / writer 100 and the electromagnetic wave includes the initial response request, the initial response request is transmitted to the transmission / reception unit 50.
2 is received by the control means 503 via the
3 designates the above-mentioned initial response request as the slot number acquiring means 50.
6 and the slot number acquiring means 506 acquires the slot number from the initial response request in the same manner as in the first embodiment (FIG. 7: S705 YES-S70).
6).

【0069】続いて、上記制御手段503がスロット数
(N)を取得すると、当該スロット数(N)と共に上記
仮乱数記憶手段505に記憶した仮乱数(r(n))を
乱数生成手段に送信する。但し、ここで使用される仮乱
数(r(n))は、上記乱数使用カウンタに基づく仮乱
数であって、ここでは仮乱数(r(1))となる。
Subsequently, when the control unit 503 obtains the number of slots (N), the control unit 503 transmits the temporary number (r (n)) stored in the temporary random number storage unit 505 together with the number of slots (N) to the random number generation unit. I do. However, the temporary random number (r (n)) used here is a temporary random number (r (1)) based on the above-mentioned random number use counter.

【0070】上記スロット数(N)、及び仮乱数(r
(1))を受信した乱数生成手段507は、当該2つの
値に基づいて乱数(本乱数)(R)を生成する(図7:
S708)。
The number of slots (N) and the provisional random number (r
The random number generation unit 507 that has received (1)) generates a random number (actual random number) (R) based on the two values (FIG. 7:
S708).

【0071】以下に乱数(R)の計算式の一例(式4)
を示す。
The following is an example of the formula for calculating the random number (R) (Formula 4)
Is shown.

【0072】 本乱数(R)=仮乱数(r(n))%スロット数(N)+1:(式4) (%は剰余演算、nは仮乱数使用カウンタの値) 上記計算式(式4)は、タイムスロットの応答時間の規
定を満たすものであれば他の演算式を用いてもかまわな
い。
This random number (R) = provisional random number (r (n))% number of slots (N) +1: (Equation 4) (% is remainder calculation, n is the value of a provisional random number use counter) The above formula (Formula 4) ) May use another arithmetic expression as long as it satisfies the definition of the response time of the time slot.

【0073】以上により、非接触ICカード200は、
所望の乱数(1〜スロット数(N))を得ることができ
る。以後、上記乱数に基づいたタイミング(スロット)
を利用して、上記リーダライタ100に対して初期応答
を行なう(図7:S709)。
As described above, the non-contact IC card 200
A desired random number (1 to the number of slots (N)) can be obtained. Thereafter, the timing (slot) based on the above random number
Is used to make an initial response to the reader / writer 100 (FIG. 7: S709).

【0074】上記初期応答の完了後上記制御手段503
は、乱数使用カウンタの値をインクリメント(+1)す
る(図7:S710)。
After the completion of the initial response, the control means 503
Increments (+1) the value of the random number use counter (FIG. 7: S710).

【0075】ここで、上記乱数使用カウンタの値が乱数
生成規定回数に達しない場合、再度リーダライタ100
から初期応答リクエストが送信されてくるのを待機する
(図7:S711NO−S705)。
If the value of the random number use counter does not reach the specified number of random number generations, the reader / writer 100
Waits for an initial response request to be transmitted from (FIG. 7: S711NO-S705).

【0076】尚、上記乱数使用カウンタの値が上記乱数
生成規定回数に達した場合、乱数使用カウンタを1に初
期化し、再度初期応答リクエスト待ちのステップS50
4へ戻る(図7:S711YES−S712−S70
5)。
If the value of the random number use counter has reached the specified random number generation count, the random number use counter is initialized to 1 and the process waits for an initial response request again in step S50.
4 (FIG. 7: S711 YES-S712-S70)
5).

【0077】以上の動作により、一度生成した仮乱数を
再度最初から順次使用することが可能となり、リーダラ
イタ100から初期応答リクエストが連続してきた場合
にも即座に乱数を生成できる為、常に良質の乱数を用い
て初期応答を行なうことが可能となる。
With the above operation, it is possible to use the once generated temporary random numbers again and again from the beginning, and even if the initial response requests from the reader / writer 100 continue, the random numbers can be generated immediately. An initial response can be made using a random number.

【0078】(実施の形態3)続いて、本発明に係る実
施の形態3について説明する。
Third Embodiment Next, a third embodiment according to the present invention will be described.

【0079】図8は、実施の形態3における、非接触I
Cカード200の実行する通信処理のフローチャートで
ある。
FIG. 8 shows a non-contact I according to the third embodiment.
5 is a flowchart of a communication process executed by the C card 200.

【0080】上記実施の形態1における非接触ICカー
ドでは、初期応答リクエストに対する応答が完了してす
ぐに再度リーダライタから初期応答リクエストが送信さ
れた際に、当該非接触ICカードが仮乱数生成中であっ
た場合には、初期応答ができない問題点がある点は既に
述べたとおりである。又、上記実施の形態2では、仮乱
数を複数生成するための処理時間が必要で、初期応答リ
クエストを受けつけるまでの時間がかかるという問題が
ある。本実施の形態3では、この問題を解決するため
に、さらに自己応答タイミング判定手段520を備え
る。尚、本実施の形態3における非接触ICカードは、
上記実施の形態1、2における非接触ICカードとほぼ
同様の構成を有する為、異なる点のみ説明を行なう。
In the non-contact IC card according to the first embodiment, when the initial response request is transmitted again from the reader / writer immediately after the response to the initial response request is completed, the non-contact IC card is generating a temporary random number. As described above, there is a problem that an initial response cannot be made when the above is satisfied. Further, in the second embodiment, there is a problem that a processing time for generating a plurality of temporary random numbers is required, and it takes time to receive an initial response request. In the third embodiment, a self-response timing determination unit 520 is further provided to solve this problem. The contactless IC card according to the third embodiment is
Since it has substantially the same configuration as the non-contact IC card in the first and second embodiments, only different points will be described.

【0081】まず、非接触ICカード200を構成する
仮乱数生成手段504は、例えばプログラム起動時等の
所定のタイミングで、仮乱数(r)を生成する(図8:
S801)。
First, the temporary random number generation means 504 constituting the non-contact IC card 200 generates a temporary random number (r) at a predetermined timing, for example, at the time of starting a program (FIG. 8:
S801).

【0082】上記仮乱数生成手段504において生成さ
れた仮乱数(r)は、仮乱数記憶手段505に記憶され
る(図8:S802)。
The provisional random number (r) generated by the provisional random number generation means 504 is stored in the provisional random number storage means 505 (FIG. 8: S802).

【0083】次に、リーダライタ100から初期応答リ
クエストが送信されてくるのを待機する(図8:S80
3NO)。
Next, it waits for an initial response request to be transmitted from the reader / writer 100 (FIG. 8: S80).
3NO).

【0084】ここで、上記初期応答リクエストを受信し
た場合、スロット数取得手段506にて当該初期応答リ
クエストの中からスロット数を取得する(図8:S80
3YES−S804)。
Here, when the above initial response request is received, the number of slots is obtained from the initial response request by the slot number obtaining means 506 (FIG. 8: S80).
3YES-S804).

【0085】次に、乱数生成手段507は、上記スロッ
ト数(N)と仮乱数記憶手段にて記憶している仮乱数
(r)から乱数(R)を生成する(図8:S805)。
Next, the random number generation means 507 generates a random number (R) from the number of slots (N) and the provisional random number (r) stored in the provisional random number storage means (FIG. 8: S805).

【0086】以上により、非接触ICカード200は、
所望の乱数(1〜スロット数(N))を得ることができ
る。以上の処理は実施の形態1とほぼ同様である。
As described above, the non-contact IC card 200
A desired random number (1 to the number of slots (N)) can be obtained. The above processing is almost the same as in the first embodiment.

【0087】続いて、非接触ICカード200は、自己
応答タイミング判定手段520により応答のタイミング
(スロット)を判定する。即ち上記自己応答タイミング
判定手段520は、当該非接触ICカード200が応答
すべきタイミングを、初期応答リクエストを受信した時
刻と上記生成された乱数(R)とに基づいて算出し、上
記非接触ICカード200が応答すべきタイミングまで
に十分な時間(所定の時間)があるか否かを判定する
(図8:S806)。尚、上記十分な時間とは、上記仮
乱数の生成及び記憶に必要な時間である。
Subsequently, the non-contact IC card 200 determines the response timing (slot) by the self-response timing determination means 520. That is, the self-response timing determination means 520 calculates the timing at which the contactless IC card 200 should respond based on the time at which the initial response request is received and the generated random number (R), and It is determined whether there is a sufficient time (predetermined time) before the timing at which the card 200 should respond (FIG. 8: S806). The sufficient time is a time required for generating and storing the temporary random numbers.

【0088】ここで、上記判定にて十分な時間があると
判定された場合、上記制御手段503は仮乱数生成手段
504に対し仮乱数(r)を生成する指示を出すと共
に、生成された仮乱数を仮乱数記憶手段505に記憶す
る(図8:S806NO−S807−S808)。
Here, if it is determined in the above determination that there is sufficient time, the control means 503 issues an instruction to the temporary random number generation means 504 to generate a temporary random number (r), The random number is stored in the temporary random number storage means 505 (FIG. 8: S806NO-S807-S808).

【0089】尚、上記判定にて十分な時間が無いと判定
された場合、上記制御手段503は上記生成された乱数
(R)に基づくスロットを利用して初期応答を行なう
(図8:S806YES−S809)。
If it is determined that there is not enough time in the above determination, the control means 503 makes an initial response using a slot based on the generated random number (R) (FIG. 8: S806 YES-). S809).

【0090】上記初期応答完了、または仮乱数生成完了
後、上記制御手段503はタイムスロット期間の終了判
定を行なう。ここにタイムスロット期間とは、最初のタ
イムスロットが開始され、最後のタイムスロットが終了
するまでの期間であり、上記リーダライタ100から与
えられたスロット数により決定する期間である。
After the completion of the initial response or the generation of the temporary random number, the control means 503 determines the end of the time slot period. Here, the time slot period is a period from the start of the first time slot to the end of the last time slot, and is a period determined by the number of slots given from the reader / writer 100.

【0091】ここでタイムスロット期間内であれば、上
記自己応答タイミング判定手段520による判定から繰
り返す(図8:S810YES−S806)。
If it is within the time slot period, the determination is repeated from the self-response timing determination means 520 (FIG. 8: S810 YES-S806).

【0092】尚、タイムスロット期間内ではない場合、
初期応答リクエスト待ち処理に戻り初期応答リクエスト
にそなえる(図8:S810NO−S803)。
If the time is not within the time slot period,
The process returns to the initial response request waiting process and prepares for the initial response request (FIG. 8: S810NO-S803).

【0093】以上のように、自らが応答すべきタイミン
グまでに所定の時間があるか否かを判定することで、自
らには関係ない、実質的に待ち時間であるスロットにて
仮乱数を生成することが可能となる。
As described above, by determining whether or not there is a predetermined time before the timing at which the user himself / herself should respond, a temporary random number is generated in a slot which is not related to the user and is substantially a waiting time. It is possible to do.

【0094】又、上記仮乱数記憶手段に不揮発性メモリ
を利用することで、例えば上記プログラム起動時から初
期応答要求リクエストを受信するまでに仮乱数を生成す
る時間的な余裕がない場合であっても、既に仮乱数は準
備されているので良質の乱数を用いて応答することが可
能となる。
Further, by using a non-volatile memory for the temporary random number storage means, for example, when there is not enough time to generate a temporary random number from the start of the program to the reception of the initial response request request. However, since provisional random numbers have already been prepared, it is possible to respond using high-quality random numbers.

【0095】尚、本実施の形態3における技術は、上記
実施の形態2における、複数の仮乱数記憶手段を設けた
場合にも適用できることは言うまでもない。
It is needless to say that the technique according to the third embodiment can also be applied to the case where a plurality of temporary random number storage means according to the second embodiment are provided.

【0096】(実施の形態4)続いて、本発明に係る実
施の形態4について説明する。
(Fourth Embodiment) Next, a fourth embodiment according to the present invention will be described.

【0097】図9は、実施の形態4における、非接触I
Cカード200の実行する通信処理のフローチャートで
ある。
FIG. 9 shows a non-contact type I according to the fourth embodiment.
5 is a flowchart of a communication process executed by the C card 200.

【0098】上記実施の形態1における非接触ICカー
ドでは、初期応答リクエストに対する応答が完了してす
ぐに再度リーダライタから初期応答リクエストが送信さ
れた際に、当該非接触ICカードが仮乱数生成中であっ
た場合には、初期応答ができない問題点がある点は既に
述べたとおりである。又、上記実施の形態2では、仮乱
数を複数生成するための処理時間が必要で、初期応答リ
クエストを受けつけるまでに時間がかかるという問題が
ある。本実施の形態4では、この問題を解決するため
に、不揮発性メモリにより構成される仮乱数記憶手段5
05を備える。尚、本実施の形態4における非接触IC
カードは、上記実施の形態1、2、3における非接触I
Cカードとほぼ同様の構成を有する為、異なる点のみ説
明を行なう。
In the non-contact IC card according to the first embodiment, when the initial response request is transmitted again from the reader / writer immediately after the response to the initial response request is completed, the non-contact IC card is generating the temporary random number. As described above, there is a problem that an initial response cannot be made when the above is satisfied. Further, in the second embodiment, there is a problem that a processing time for generating a plurality of temporary random numbers is required, and it takes time to receive an initial response request. In the fourth embodiment, in order to solve this problem, provisional random number storage means 5 constituted by a nonvolatile memory
05. The non-contact IC according to the fourth embodiment
The card is a non-contact I in the first, second, and third embodiments.
Since it has almost the same configuration as the C card, only different points will be described.

【0099】まず、制御手段503は、乱数使用カウン
タを1に初期化する(図9:S901)。
First, the control means 503 initializes a random number use counter to 1 (FIG. 9: S901).

【0100】次に、初期応答リクエストを受信した場
合、上記スロット番号演算手段508は、当該初期応答
リクエストの中からスロット数を取得する(図9:S9
02YES−S903)。
Next, when an initial response request is received, the slot number calculating means 508 acquires the number of slots from the initial response request (FIG. 9: S9).
02YES-S903).

【0101】続いて上記制御手段503は、不揮発性の
仮乱数記憶手段505に記憶される乱数使用カウンタ番
目の仮乱数(r(n))を取り出し、乱数生成手段50
7が当該仮乱数(r(n))と上記スロット数(N)か
ら乱数(R)を生成する(図9:S904−S90
5)。尚、上記仮乱数(r(n))を格納する手順は後
述する。
Subsequently, the control means 503 extracts the random number (r (n)) of the random number use counter stored in the nonvolatile temporary random number storage means 505, and
7 generates a random number (R) from the temporary random number (r (n)) and the number of slots (N) (FIG. 9: S904 to S90).
5). The procedure for storing the temporary random number (r (n)) will be described later.

【0102】以上により、非接触ICカード200は、
所望の乱数(1〜スロット数(N))を得ることができ
る。以後、上記乱数に基づいたタイミング(スロット)
を利用して上記リーダライタ100に対して初期応答を
行なう(図9:S906)。
As described above, the non-contact IC card 200
A desired random number (1 to the number of slots (N)) can be obtained. Thereafter, the timing (slot) based on the above random number
To make an initial response to the reader / writer 100 (FIG. 9: S906).

【0103】上記初期応答の完了後、上記制御手段50
3は、乱数使用カウンタの値をインクリメント(+1)
する(図9:S907)。
After the completion of the initial response, the control means 50
3 increments the value of the random number use counter (+1)
(FIG. 9: S907).

【0104】ここで、上記乱数使用カウンタの値が乱数
生成規定回数以下の場合、再度初期応答リクエスト受信
の為待機する(図9:S908NO−S902)。
If the value of the random number use counter is equal to or less than the specified number of random number generations, the process waits again for receiving an initial response request (FIG. 9: S908 NO-S902).

【0105】尚、上記乱数使用カウンタの値が乱数生成
規定回数になった場合、乱数使用カウンタを1に初期化
し、再度初期応答リクエスト受信の為待機する(図9:
S908YES−S909−S902)。
When the value of the random number use counter has reached the specified number of random number generations, the random number use counter is initialized to 1 and the system waits again to receive an initial response request (FIG. 9:
S908YES-S909-S902).

【0106】上述した処理は、上記実施の形態2におけ
るS704〜S702の処理と同様である。
The processing described above is the same as the processing in S704 to S702 in the second embodiment.

【0107】さて、上記制御手段503が、乱数使用カ
ウンタを1に初期化した後、初期応答リクエストを受信
しなかった場合、通信終了リクエスト1001を受信し
たかを判定する(図9:S902NO−S910)。こ
こに、通信終了リクエスト1001とは、図10に示さ
れるフォーマットを有し、リーダライタ100と非接触
ICカード200との通信の終了時に上記リーダライタ
100より送信される情報である。上記通信終了リクエ
スト1001は、S−BLOCK1002、CID(カ
ードID)1003、CRC1004の各フィールドを
有し、上記S−BLOCK1002にはシステムコマン
ドの(通信終了)が、CID1003には、当該非接触
ICカード200のカードIDが、CRC1004には
S−BLOCK1002とCID1003のCRCが格
納されている。
If the control means 503 does not receive an initial response request after initializing the random number use counter to 1, it determines whether or not a communication end request 1001 has been received (FIG. 9: S902 NO-S910). ). Here, the communication end request 1001 has the format shown in FIG. 10 and is information transmitted from the reader / writer 100 when the communication between the reader / writer 100 and the non-contact IC card 200 ends. The communication end request 1001 has fields of S-BLOCK 1002, CID (card ID) 1003, and CRC 1004. The S-BLOCK 1002 has a system command (communication end), and the CID 1003 has a contactless IC card. The card ID of 200 and the CRC of the S-BLOCK 1002 and the CID 1003 are stored in the CRC 1004.

【0108】ここで、上記リーダライタ100から上記
通信終了リクエストを受信しなかった場合、初期応答リ
クエスト、(又はその他のリクエスト:図9に示さず)
の受信待ちを行なう(図9:S910NO−S90
2)。
Here, when the communication termination request is not received from the reader / writer 100, an initial response request (or another request: not shown in FIG. 9)
Wait for reception of the message (FIG. 9: S910NO-S90).
2).

【0109】但し、通信終了リクエストを受信した場
合、上記リーダライタ100と非接触ICカード200
との通信が終了したことを示すため、仮乱数生成手段5
04は、上記仮乱数(r(n))を生成する(図9:S
911)。ここで、nはn番目の仮乱数生成回数を示
し、1から仮乱数生成規定回数までの値をとるのは上記
実施の形態2と同様である。上記仮乱数生成手段504
にて生成された仮乱数(r(n))は、不揮発性の仮乱
数記憶手段505に記憶される(図9:S912)。
However, when a communication end request is received, the reader / writer 100 and the non-contact IC card 200
In order to indicate that the communication with the
04 generates the temporary random number (r (n)) (FIG. 9: S
911). Here, n indicates the number of times of generation of the n-th temporary random number, and takes a value from 1 to the specified number of times of provisional random number generation as in the second embodiment. The provisional random number generation means 504
The temporary random number (r (n)) generated by is stored in the nonvolatile temporary random number storage unit 505 (FIG. 9: S912).

【0110】次に、制御手段503は、仮乱数の生成回
数が仮乱数生成規定回数に達しているか否かを判定す
る。
Next, the control means 503 determines whether or not the number of times of provisional random number generation has reached the provisional number of provisional random number generation.

【0111】ここで仮乱数の生成回数が仮乱数生成規定
回数に達していない場合、再度仮乱数生成手段504に
より、仮乱数の生成を行なう(図9:S913NO−S
911)。
If the number of times of generation of the provisional random number has not reached the prescribed number of times of provisional random number generation, provisional random number generation means 504 again generates a provisional random number (FIG. 9: S913 NO-S).
911).

【0112】尚、仮乱数の生成回数が仮乱数生成規定回
数に達した場合、システムの停止を行なう(処理を終了
する)。
When the number of times of generation of the provisional random number has reached the prescribed number of times of provisional random number generation, the system is stopped (the processing is terminated).

【0113】以上のように、非接触ICカードがリーダ
ライタと通信を終了した後であって、上記リーダライタ
との通信可能範囲内にある場合には電力の供給を受ける
ことが可能であるため、予め仮乱数を生成することが可
能となる。また、当該生成された仮乱数は不揮発性記憶
手段に記憶されるため、次にリーダライタとの通信可能
範囲に入った場合には即時良質の乱数を発生することが
可能となる。よって、例えばプログラム起動時等の処理
を軽減することができる。これにより、初期応答リクエ
スト待ちになるまでの時間をさらに短縮することができ
る。
As described above, after the non-contact IC card has completed communication with the reader / writer and is within the communicable range with the reader / writer, power can be supplied. , It is possible to generate a temporary random number in advance. Further, since the generated temporary random number is stored in the non-volatile storage means, it is possible to immediately generate a high-quality random number when it enters the communicable range with the reader / writer next time. Therefore, for example, processing at the time of starting the program can be reduced. As a result, the time required to wait for the initial response request can be further reduced.

【0114】(実施の形態5)続いて、本発明に係る実
施の形態5について説明する。
(Fifth Embodiment) Next, a fifth embodiment according to the present invention will be described.

【0115】ここに、図11(a)は非接触ICカード
200の初期化時の処理、図11(b)は非接触ICカ
ード200の割り込み時の処理、図12は仮乱数生成処
理を示す。
Here, FIG. 11A shows a process at the time of initialization of the non-contact IC card 200, FIG. 11B shows a process at the time of interruption of the non-contact IC card 200, and FIG. .

【0116】実施の形態5に係る非接触ICカードは、
初期応答方法に関しては上記実施の形態1〜4と同様の
処理を行なうが、ここでは、仮乱数生成の中断を可能と
する。言い換えれば、当該実施の形態5に示した技術を
上記実施の形態1〜4と組み合わせることで、仮乱数生
成の中断、開始を自由に行なうことが可能となる。
The non-contact IC card according to the fifth embodiment is
Regarding the initial response method, the same processing as in the above-described first to fourth embodiments is performed, but here, the generation of the temporary random number can be interrupted. In other words, by combining the technique shown in the fifth embodiment with the first to fourth embodiments, it is possible to freely interrupt and start the generation of the temporary random number.

【0117】まず、制御手段503は、例えばプログラ
ム起動時等の所定のタイミングで非接触ICカード20
0の初期化処理を行なう。当該初期化処理とは、仮乱数
処理中Flagに1を設定する処理、及び仮乱数中断F
lagに0を設定する処理である(図11(a):S1
101−S1102)。
First, the control means 503 operates the non-contact IC card 20 at a predetermined timing, for example, when starting a program.
0 initialization processing is performed. The initialization process includes a process of setting Flag to 1 during provisional random number processing and a provisional random number interruption F
lag is set to 0 (FIG. 11A: S1).
101-S1102).

【0118】上記仮乱数処理中Flagとは、仮乱数の
生成中の状態を示す変数で、3段階ある生成演算(生成
演算1、生成演算2、生成演算3)の生成過程の状態を
示している。即ち、仮乱数処理中Flagが1の場合は
生成演算1、仮乱数処理中Flagが2の場合は生成演
算2、仮乱数処理中Flagが3の場合は生成演算3を
行なうことを示す。尚、上記生成演算1〜3とは、仮乱
数(r)の生成に必要な処理を、中断可能な3つの処理
に分割したものであり、ここでは3つとしたが、2以上
であればいくつでもよい。
The flag during the provisional random number processing is a variable indicating a state in which the provisional random number is being generated, and indicates a state of the generation process of the generation operation having three stages (generation operation 1, generation operation 2, generation operation 3). I have. That is, when the flag during the provisional random number processing is 1, generation operation 1 is performed, when the flag during provisional random number processing is 2, generation operation 2 is performed, and when the flag during provisional random number processing is 3, generation operation 3 is performed. Note that the above generation operations 1 to 3 are those in which the processing required to generate the provisional random number (r) is divided into three interruptable processings. Here, three processings are used. May be.

【0119】また、上記仮乱数中断Flagとは、制御
手段503への割り込みにより変更される変数で、0の
場合は、仮乱数の生成を中断する必要がない状態で、0
以外の場合は、仮乱数の生成を中断する必要があること
を示す。上記仮乱数処理中Flag、仮乱数中断Fla
gともに非接触ICカード200のRAM505内に設
けられる。
The temporary random number interruption Flag is a variable that is changed by interruption to the control means 503. If it is 0, the temporary random number generation does not need to be interrupted.
In other cases, it indicates that the generation of the temporary random numbers needs to be interrupted. Flag during temporary random number processing, Temporary random number interruption Fla
Both g are provided in the RAM 505 of the non-contact IC card 200.

【0120】以上が仮乱数の生成処理の中断に必要な準
備である。
The above is the preparation necessary for interrupting the process of generating the temporary random number.

【0121】続いて、上記リーダライタから要求(命
令)が送信された場合、上記制御手段503は当該要求
(命令)の内容を判定する(図11(b):S111
0)。尚、通常、上記要求は随時送信されるため、割込
処理にて処理される。
Subsequently, when a request (command) is transmitted from the reader / writer, the control means 503 determines the content of the request (command) (FIG. 11B: S111).
0). Usually, the request is transmitted at any time, so that the request is processed in the interrupt processing.

【0122】ここで上記要求(命令)が、初期応答リク
エストである場合、上記制御手段503は仮乱数中断F
lagに1を設定する(図11(b):S1110YE
S−S1111)。
If the request (command) is an initial response request, the control means 503 sets the temporary random number interruption F
lag is set to 1 (FIG. 11B: S1110YE)
S-S1111).

【0123】また、上記要求(命令)が、初期応答リク
エストでない場合、仮乱数中断Flagに0を設定する
(図11(b):S1110NO−S1112)。
If the request (command) is not an initial response request, 0 is set in the provisional random number interruption Flag (FIG. 11B: S1110NO-S1112).

【0124】以上が、割り込みがあった際に行なわれる
処理である。
The above is the processing performed when an interrupt occurs.

【0125】続いて、例えば上記実施の形態1〜4での
仮乱数生成手段504による仮乱数の生成時における処
理を説明する。
Next, a description will be given of, for example, processing performed by the temporary random number generation means 504 in the first to fourth embodiments when generating a temporary random number.

【0126】まず、仮乱数生成手段504による仮乱数
の生成時に、当該処理の中断を行なうかを仮乱数中断F
lagにより判定する(図12:S1201)。
First, when the provisional random number is generated by the provisional random number generation means 504, it is determined whether or not to suspend the process.
The determination is made based on lag (FIG. 12: S1201).

【0127】ここで、上記仮乱数中断Flagが1の場
合、初期応答リクエストを受信した後の処理であるため
仮乱数の生成処理を中断する(図12:1201YES
−仮乱数生成終了)。
Here, when the temporary random number interruption Flag is 1, since the process is performed after receiving the initial response request, the temporary random number generation process is interrupted (FIG. 12: 1201 YES).
-Provisional random number generation completed).

【0128】ここで、仮乱数中断Flagが0の場合、
初期応答リクエストを受信しておらず、仮乱数生成手段
504が仮乱数の生成処理を行なう(図12:1201
NO−S1202)。
Here, when the temporary random number interruption Flag is 0,
Since the initial response request has not been received, the provisional random number generation means 504 performs a provisional random number generation process (FIG. 12: 1201).
NO-S1202).

【0129】次に、仮乱数生成処理の演算は3つの演算
に分かれており、上記制御手段503は、仮乱数処理中
Flagに基づいて当該3つの演算のどの演算を行なう
かを判定する(図12:1202)。
Next, the calculation of the provisional random number generation processing is divided into three calculations, and the control means 503 determines which of the three calculations is to be performed based on the flag during the provisional random number processing (FIG. 12: 1202).

【0130】ここで、仮乱数処理中Flagが1の場
合、1番目の仮乱数生成演算1を行ない、演算終了後、
2番目の仮乱数演算を行なうことを記憶するため仮乱数
処理中Flagの値をインクリメント(+1)する(図
12:1202(1)−S1203−S1204)。以
下同様に、仮乱数生成演算2(図12:1202(2)
−S1205−S1206)、仮乱数生成演算3(図1
2:1202(3)−S1207)を行ない、仮乱数生
成演算3終了後、仮乱数処理中Flagの値を初期化、
即ち、仮乱数処理中Flagに1を代入し、仮乱数の生
成を完了する(図12:S1208)。
Here, if Flag during the provisional random number processing is 1, the first provisional random number generation calculation 1 is performed.
In order to store that the second provisional random number calculation is performed, the value of the Flag during the provisional random number processing is incremented (+1) (FIG. 12: 1202 (1) -S1203-S1204). Hereinafter, similarly, the provisional random number generation operation 2 (FIG. 12: 1202 (2)
-S1205-S1206), a temporary random number generation operation 3 (FIG. 1)
2: 1202 (3) -S1207), and after the provisional random number generation operation 3 is completed, the value of the Flag during the provisional random number processing is initialized.
That is, 1 is substituted for Flag during provisional random number processing, and the generation of provisional random numbers is completed (FIG. 12: S1208).

【0131】以上のように、仮乱数生成手段による仮乱
数生成処理を複数の中断可能な演算に分割し、仮乱数中
断Flag及び仮乱数処理中Flagに基づいて上記仮
乱数の生成処理を中断・開始することで、仮乱数生成中
にリーダライタからの初期応答リクエストが行なわれた
場合でも、仮乱数の生成を途中で中断することにより、
初期応答を行なうことができ、その後、仮乱数の生成を
再開することができる。これにより、例えばプログラム
起動時等の処理を軽減することができる。
As described above, the provisional random number generation processing by the provisional random number generation means is divided into a plurality of interruptible operations, and the provisional random number generation processing is interrupted based on the provisional random number interruption Flag and the provisional random number processing Flag. By starting, even if an initial response request is made from the reader / writer during the generation of the temporary random number, the generation of the temporary random number is interrupted halfway,
An initial response can be made and then the generation of the provisional random number can be resumed. Thereby, for example, processing at the time of starting the program can be reduced.

【0132】また、リーダライタから電力を供給されて
おり、且つ他の処理を行なう必要がない即ち待ち時間に
は、常時仮乱数生成処理を行なうことも可能になる。
Further, it is possible to always perform the provisional random number generation processing when the power is supplied from the reader / writer and no other processing needs to be performed, that is, during the waiting time.

【0133】尚、上記実施の形態1〜5に記載した技術
であって、予め仮乱数を生成して不揮発性メモリに記憶
しておくケースでは、当該非接触ICカード200を最
初に使用した場合には、上記仮乱数が無い状態が起こり
うる。また、初期応答リクエストまでに上記仮乱数を生
成する場合であって、リーダライタの通信可能範囲に入
った直後に上記初期応答リクエストを受信する場合もあ
る。このような場合には、最初の初期応答リクエストに
応答することができない。
In the technique described in the first to fifth embodiments, in the case where a temporary random number is generated in advance and stored in a nonvolatile memory, the non-contact IC card 200 is used first. , There may be a situation where the above temporary random numbers are not present. In addition, the case where the provisional random number is generated before the initial response request, and the case where the initial response request is received immediately after entering the communicable range of the reader / writer. In such a case, it is impossible to respond to the first initial response request.

【0134】そこで、以下のような対応が考えられる。
即ち、上述したような場合に対応するために予め上記R
OM409又はRAM410内に、特定スロット番号保
持手段を設け、当該特定スロット番号保持手段内に所定
のスロット番号を記憶しておく。当該スロット番号は、
何ら計算を必要としない値でよい。
Therefore, the following measures are conceivable.
That is, in order to cope with the case described above, the above R
A specific slot number holding unit is provided in the OM 409 or the RAM 410, and a predetermined slot number is stored in the specific slot number holding unit. The slot number is
A value that does not require any calculation may be used.

【0135】次に、上記仮乱数を生成中にリーダライタ
からの初期応答リクエストを受信した場合であって、仮
乱数記憶手段505に有効な仮乱数が何ら記憶されてい
ないと上記制御手段503が判断した場合、当該制御手
段503は、上記特定スロット番号保持手段に格納され
ている値のスロットを用いて応答する。
Next, when an initial response request is received from the reader / writer during the generation of the temporary random number, the control means 503 determines that no valid temporary random number is stored in the temporary random number storage means 505. If it is determined, the control unit 503 responds using the slot of the value stored in the specific slot number holding unit.

【0136】以上により、仮乱数記憶手段に有効な仮乱
数が記憶されていない場合であっても初期応答リクエス
トに対して所定の時間内に応答を返すことが可能にな
る。尚、上記初期応答リクエストを受信した場合に上記
仮乱数生成手段が仮乱数生成の処理を中断できるよう
に、上記仮乱数中断Flag及び仮乱数処理中Flag
を用いて仮乱数生成の処理を中断することが望ましい。
As described above, it is possible to return a response to an initial response request within a predetermined time even when a valid temporary random number is not stored in the temporary random number storage means. The provisional random number interruption flag and the provisional random number processing flag are set so that the provisional random number generation means can interrupt the provisional random number generation process when the initial response request is received.
It is desirable to interrupt the process of generating the provisional random number using.

【0137】またさらに、上記特定スロット番号保持手
段に記憶する値を1とすることで、Slot1にて初期
応答を行なうため、残りのスロット(例えばSlot2
〜4)を仮乱数の計算に使用することが可能となる。こ
のため、初回の初期応答リクエストにて他の非接触IC
カードのレスポンス信号が衝突した場合であっても、2
回目の初期応答リクエストに対して十分に応答できるだ
けの仮乱数生成時間を確保することが可能となる。
Further, by setting the value stored in the specific slot number holding means to 1, an initial response is made in Slot 1, so that the remaining slots (for example, Slot 2
To 4) can be used for calculation of provisional random numbers. For this reason, other non-contact IC
Even if the response signal of the card collides, 2
It is possible to secure a temporary random number generation time that can sufficiently respond to the initial response request of the second time.

【0138】尚、上述した実施の形態1〜5は、タイム
スロット方式を採用した場合を仮定して説明を行った
が、前記スロットマーカ方式に対して適用することも可
能である。
Although the above-described first to fifth embodiments have been described on the assumption that the time slot system is adopted, the present invention can be applied to the slot marker system.

【0139】[0139]

【発明の効果】以上のように、乱数の生成処理を分割
し、リクエストを受信した後に乱数を生成するための演
算の負荷を小さい演算とすることで、タイムスロットの
時間的規定を満たす事が可能である。しかも、乱数の生
成には、演算量の多大な、即ち良質の乱数を生成可能な
処理を適用することが可能であるため、質の悪い乱数に
より生じる問題を解決することが可能となる。
As described above, by dividing the random number generation process and reducing the load of the operation for generating the random number after receiving the request, the time regulation of the time slot can be satisfied. It is possible. In addition, since a process that requires a large amount of calculation, that is, a process that can generate high-quality random numbers, can be applied to the generation of random numbers, it is possible to solve problems caused by poor-quality random numbers.

【0140】又、乱数発生用のハードウェアを用いるこ
となく、ソフトウェアにて良質の乱数を得ることが可能
となるため非接触ICカードのコストを下げることが可
能となる。さらにハードウェアを用いることにより生じ
る設計、強度等の問題も発生しない。
Further, since high-quality random numbers can be obtained by software without using hardware for generating random numbers, the cost of a non-contact IC card can be reduced. Further, there is no problem of design, strength, and the like caused by using hardware.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の非接触ICカードの使用形態例を示す
FIG. 1 is a diagram showing an example of usage of a contactless IC card of the present invention.

【図2】非接触ICカードのリーダライタ及び非接触I
Cカードの通信状態を示すタイムチャート
FIG. 2 shows a reader / writer of a non-contact IC card and a non-contact IC.
Time chart showing the communication status of the C card

【図3】本実施の形態における初期応答リクエストのフ
ォーマット図
FIG. 3 is a format diagram of an initial response request according to the embodiment;

【図4】非接触ICカードの認識システムを構成するリ
ーダライタ及び非接触ICカードの構成を示す図
FIG. 4 is a diagram showing a configuration of a reader / writer and a non-contact IC card which constitute a non-contact IC card recognition system;

【図5】非接触ICカードの構成を示す機能ブロック図FIG. 5 is a functional block diagram showing a configuration of a non-contact IC card.

【図6】実施の形態1における非接触ICカードの実行
する初期応答処理のフローチャート
FIG. 6 is a flowchart of an initial response process executed by the contactless IC card according to the first embodiment.

【図7】実施の形態2における非接触ICカードの実行
する初期応答処理のフローチャート
FIG. 7 is a flowchart of an initial response process executed by the non-contact IC card according to the second embodiment.

【図8】実施の形態3における非接触ICカードの実行
する初期応答処理のフローチャート
FIG. 8 is a flowchart of an initial response process executed by the non-contact IC card according to the third embodiment.

【図9】実施の形態4における非接触ICカードの実行
する初期応答処理のフローチャート
FIG. 9 is a flowchart of an initial response process executed by the non-contact IC card according to the fourth embodiment.

【図10】通信終了リクエストのフォーマット図FIG. 10 is a format diagram of a communication end request.

【図11】実施の形態5における非接触ICカードの初
期化の処理、及び割り込み処理のフローチャート
FIG. 11 is a flowchart of non-contact IC card initialization processing and interrupt processing according to the fifth embodiment.

【図12】実施の形態5における仮乱数生成処理処理の
フローチャート
FIG. 12 is a flowchart of provisional random number generation processing according to the fifth embodiment.

【符号の説明】[Explanation of symbols]

200 非接触ICカード 409 ROM 410 RAM 501 アンテナ手段 502 送受信手段 503 制御手段 504 仮乱数生成手段 505 仮乱数記憶手段 506 スロット数取得手段 507 乱数生成手段 520 自己応答タイミング判定手段 200 Non-contact IC card 409 ROM 410 RAM 501 Antenna unit 502 Transmission / reception unit 503 Control unit 504 Temporary random number generation unit 505 Temporary random number storage unit 506 Slot number acquisition unit 507 Random number generation unit 520 Self-response timing determination unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川野 眞二 東広島市鏡山3丁目10番18号 株式会社松 下電器情報システム広島研究所内 Fターム(参考) 2C005 MA22 MA25 MB05 NA06 SA30 5B035 BB09 CA22 CA23 5B058 CA15 CA23 CA25 5K028 AA11 BB04 CC05 DD01 DD02 EE09 JJ05 LL02 MM13 NN43 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Shinji Kawano 3-10-18 Kagamiyama, Higashihiroshima City Matsushita Electric Information System Hiroshima Laboratory F-term (reference) 2C005 MA22 MA25 MB05 NA06 SA30 5B035 BB09 CA22 CA23 5B058 CA15 CA23 CA25 5K028 AA11 BB04 CC05 DD01 DD02 EE09 JJ05 LL02 MM13 NN43

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 リーダライタより送信されるリクエスト
に対して乱数に基づいて算出される値を用いて応答する
非接触ICカードにおいて、 乱数の発生に用いる演算のうち一部の演算によって得ら
れる仮乱数を生成する仮乱数生成手段と、 上記仮乱数生成手段により生成された仮乱数を記憶する
仮乱数記憶手段と、 上記リーダライタより上記リクエストを受信した際に、
上記記憶された仮乱数から乱数を生成する乱数生成手段
とを備えることを特徴とする非接触ICカード。
1. A contactless IC card which responds to a request transmitted from a reader / writer by using a value calculated based on a random number, wherein a non-contact IC card obtained by performing a partial operation among operations used for generating a random number. Provisional random number generation means for generating a random number, provisional random number storage means for storing a provisional random number generated by the provisional random number generation means, and upon receiving the request from the reader / writer,
A non-contact IC card comprising: a random number generation unit configured to generate a random number from the stored temporary random number.
【請求項2】 上記算出される値が、 上記リクエストに含まれるスロット数と、上記乱数生成
手段により生成された乱数とを用いて算出される応答タ
イミングである請求項1に記載の非接触ICカード。
2. The non-contact IC according to claim 1, wherein the calculated value is a response timing calculated using the number of slots included in the request and a random number generated by the random number generating means. card.
【請求項3】 上記仮乱数の生成ための演算は、上記リ
クエストに関連しない演算であると共に、 上記乱数の生成のための演算は、上記リクエストに基づ
いて決定される演算である請求項1に記載の非接触IC
カード。
3. The method according to claim 1, wherein the operation for generating the temporary random number is an operation not related to the request, and the operation for generating the random number is an operation determined based on the request. Non-contact IC described
card.
【請求項4】 さらに複数の上記仮乱数記憶手段を備
え、 上記リーダライタからのリクエストに対して記憶した複
数の仮乱数を順次用いて上記応答を行なう請求項2に記
載の非接触ICカード。
4. The contactless IC card according to claim 2, further comprising a plurality of said temporary random number storage means, wherein said response is made by sequentially using a plurality of temporary random numbers stored in response to a request from said reader / writer.
【請求項5】 さらに自らが応答すべきタイミングまで
に所定の時間があるか否かを判定する自己送信タイミン
グ判定手段を備え、 上記仮乱数生成手段は、上記自己応答タイミング判定手
段により応答タイミングまでに所定の時間があると判定
された場合に上記仮乱数を生成する請求項2に記載の非
接触ICカード。
5. Self-transmission timing determining means for determining whether or not there is a predetermined time before a timing at which the self-response should be made, wherein the temporary random number generating means determines the response time by the self-response timing determining means. The non-contact IC card according to claim 2, wherein the temporary random number is generated when it is determined that there is a predetermined time.
【請求項6】 さらに不揮発性である上記仮乱数記憶手
段を備え、 上記仮乱数生成手段は、通信処理終了時に上記仮乱数を
生成して上記不揮発性の仮乱数記憶手段に記憶し、 上記乱数生成手段は、上記リクエストを受信した際に上
記不揮発性の仮乱数記憶手段に記憶された仮乱数から乱
数を生成する請求項2に記載の非接触ICカード。
6. The non-volatile temporary random number storage means, wherein the temporary random number generation means generates the temporary random number at the end of communication processing and stores the temporary random number in the non-volatile temporary random number storage means. 3. The non-contact IC card according to claim 2, wherein the generation unit generates a random number from the temporary random number stored in the nonvolatile temporary random number storage unit when receiving the request.
【請求項7】 さらに仮乱数の生成中に上記リーダライ
タからのリクエストを受信した際に当該仮乱数の生成を
中断することを示す仮乱数中断フラグと、 上記リクエストに対する応答が終了した後に上記仮乱数
の生成を開始すべき個所を示す仮乱数処理中フラグを備
え、 上記仮乱数中断フラグ及び仮乱数処理中フラグに基づい
て、仮乱数の生成の中断・開始を行なう請求項2に記載
の非接触ICカード。
7. A provisional random number interruption flag indicating that the generation of the provisional random number is interrupted when a request from the reader / writer is received during the generation of the provisional random number; 3. The method according to claim 2, further comprising a provisional random number processing flag indicating a position where the generation of the random number is to be started, wherein the provisional random number is interrupted / started based on the provisional random number interruption flag and the provisional random number processing flag. Contact IC card.
【請求項8】 さらに所定の値を保持する特定スロット
番号保持手段を備え、 上記仮乱数の生成中に上記リクエストを受信した際に、
当該仮乱数の生成を中断し、上記特定スロット番号保持
手段が保持している値を用いて応答する請求項7に記載
の非接触ICカード。
8. The apparatus further comprises a specific slot number holding means for holding a predetermined value, wherein when the request is received during generation of the provisional random number,
8. The non-contact IC card according to claim 7, wherein the generation of the temporary random number is interrupted, and a response is made using a value held by the specific slot number holding unit.
【請求項9】 上記特定スロット番号保持手段が保持す
る値が、1である請求項8に記載の非接触ICカード。
9. The non-contact IC card according to claim 8, wherein the value held by said specific slot number holding means is 1.
【請求項10】 リーダライタより送信されるリクエス
トに対して乱数に基づいて算出される値を用いて応答す
る非接触ICカードの応答方法であって、 乱数の発生に用いる演算のうち一部の演算によって得ら
れる仮乱数を生成する仮乱数生成ステップと、 上記リーダライタより上記リクエストを受信した際に、
上記仮乱数から乱数を生成する乱数生成ステップとを備
えることを特徴とする非接触ICカードの応答方法。
10. A non-contact IC card response method for responding to a request transmitted from a reader / writer using a value calculated based on a random number, the method comprising: A provisional random number generation step of generating a provisional random number obtained by an operation, and when the request is received from the reader / writer,
A random number generation step of generating a random number from the provisional random number.
【請求項11】 リーダライタより送信されるリクエス
トに対して乱数に基づいて算出される値を用いて応答す
る非接触ICカードに、 乱数の発生に用いる演算のうち一部の演算によって得ら
れる仮乱数を生成する仮乱数生成ステップと、 上記リーダライタより上記リクエストを受信した際に、
上記仮乱数から乱数を生成する乱数生成ステップとを実
行させることを特徴とするプログラム。
11. A non-contact IC card that responds to a request transmitted from a reader / writer by using a value calculated based on a random number, comprising: A temporary random number generating step of generating a random number; and upon receiving the request from the reader / writer,
A random number generation step of generating a random number from the temporary random number.
【請求項12】 リーダライタより送信されるリクエス
トに対して乱数に基づいて算出される値を用いて応答す
る非接触ICカードに、 乱数の発生に用いる演算のうち一部の演算によって得ら
れる仮乱数を生成する仮乱数生成ステップと、 上記リーダライタより上記リクエストを受信した際に、
上記仮乱数から乱数を生成する乱数生成ステップとを実
行させるプログラムを記録したコンピュータ読み取り可
能な記録媒体。
12. A non-contact IC card that responds to a request transmitted from a reader / writer by using a value calculated based on a random number, to provide a non-contact IC card with a temporary obtained by a part of operations used for generating a random number. A temporary random number generating step of generating a random number; and upon receiving the request from the reader / writer,
A computer-readable recording medium recording a program for executing a random number generation step of generating a random number from the temporary random number.
JP2001307109A 2000-10-13 2001-10-03 Non-contact IC card, response method, and program thereof Expired - Lifetime JP3901976B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001307109A JP3901976B2 (en) 2000-10-13 2001-10-03 Non-contact IC card, response method, and program thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000313150 2000-10-13
JP2000-313150 2000-10-13
JP2001307109A JP3901976B2 (en) 2000-10-13 2001-10-03 Non-contact IC card, response method, and program thereof

Publications (2)

Publication Number Publication Date
JP2002203219A true JP2002203219A (en) 2002-07-19
JP3901976B2 JP3901976B2 (en) 2007-04-04

Family

ID=26602030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001307109A Expired - Lifetime JP3901976B2 (en) 2000-10-13 2001-10-03 Non-contact IC card, response method, and program thereof

Country Status (1)

Country Link
JP (1) JP3901976B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005538466A (en) * 2002-09-11 2005-12-15 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Data carrier organization classification method
CN100356382C (en) * 2002-11-19 2007-12-19 松下电器产业株式会社 Non-contact IC card
JP2010061695A (en) * 2009-12-16 2010-03-18 Toshiba Corp Information processor
US8395481B2 (en) 2006-03-23 2013-03-12 Kt Corporation Apparatus for recognizing radio frequency identification (RFID) and method thereof, and data processing method of RFID
JP2013077236A (en) * 2011-09-30 2013-04-25 Toshiba Corp Ic card and ic card processing method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005538466A (en) * 2002-09-11 2005-12-15 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Data carrier organization classification method
JP2007026465A (en) * 2002-09-11 2007-02-01 Koninkl Philips Electronics Nv Method for inventorying data carrier
JP4832757B2 (en) * 2002-09-11 2011-12-07 エヌエックスピー ビー ヴィ Data carrier organization classification method
US8698602B2 (en) 2002-09-11 2014-04-15 Nxp B.V. Method of reading a plurality of non-contact data carriers, including an anti-collision scheme
US8994507B2 (en) 2002-09-11 2015-03-31 Nxp B.V. Non-contact data carriers including an anti-collision scheme
US9875380B2 (en) 2002-09-11 2018-01-23 Nxp B.V. Non-contact data carriers including an anti-collision scheme
CN100356382C (en) * 2002-11-19 2007-12-19 松下电器产业株式会社 Non-contact IC card
US8395481B2 (en) 2006-03-23 2013-03-12 Kt Corporation Apparatus for recognizing radio frequency identification (RFID) and method thereof, and data processing method of RFID
JP2010061695A (en) * 2009-12-16 2010-03-18 Toshiba Corp Information processor
JP2013077236A (en) * 2011-09-30 2013-04-25 Toshiba Corp Ic card and ic card processing method

Also Published As

Publication number Publication date
JP3901976B2 (en) 2007-04-04

Similar Documents

Publication Publication Date Title
EP1197909B1 (en) Contactless ic card, responding method, and program therefor
US6749117B2 (en) Contactless IC card, responding method, and program therefor
JP2004046824A (en) Collision prevention method for non-contact electronic module and non-contact electronic module
US9413427B2 (en) Emulation of multiple devices in an NFC device
EP2230625B1 (en) Binary tree method for multi-tag anti-collision
JP4052674B2 (en) Method for communicating with a plurality of contactless data carriers and contactless data carriers
KR101589526B1 (en) Tag anti-collision method, reader apparatus and system for rfid systems with multi-packet reception capability
WO2008143484A1 (en) Method for determining optimal frame size for tag collision prevention in rfid system
EP1321889A2 (en) IC card reader/writer, identification method
JP2018152130A (en) Communication device and communication system
JP2002203219A (en) Non-contact ic card, responding method and its program
EP1563445B1 (en) Contactless ic card
TW200922165A (en) Mitigating processing latency in RFID exchanges
EP2816501B1 (en) A near field communication listen device emulating multiple NFC B technology tags
JP2000113127A (en) Wireless tag system
KR100562505B1 (en) Integrated circuit card capable of automatically transmitting null byte information without intervention by cpu
KR100858053B1 (en) A Passive RFID Reader and Operation Control Method
JP2003248799A (en) Ic card reader-writer, identification method and its program
JPH03276383A (en) Communication system for ic card
JP2000155813A (en) Non-contact ic card/reader
JP2002366906A (en) Non-contact communication method for portable information processor
JP2543861B2 (en) Data transmission method
JP2003223624A (en) Non-contact ic card, response method, and program for the method
JP2005341471A (en) Noncontact information communications system and noncontact information communications device
JPH04329494A (en) Data transforming method for ic card reader/ writer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060623

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060929

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061128

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20061205

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061227

R150 Certificate of patent or registration of utility model

Ref document number: 3901976

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110112

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 6