Contactless IC card, responding method, and program therefor
First Claim
Patent Images
1. A contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the contactless IC card comprising:
- a provisional random number generating unit operable to generate a plurality of provisional random numbers according to a part of calculations to be used for generating a random number;
a provisional random number storage unit operable to store the plurality of provisional random numbers generated by the provisional random number generating unit;
a random number generating unit operable to generate a random number on the basis of one of the stored provisional random numbers selected in sequential order at the time of receiving the request from the reader/writer; and
a self-response timing judging unit operable to judge if there is time needed for generating and storing the plurality of provisional random numbers until timing to respond by the card itself,wherein the provisional random number generating unit generates the provisional random number if the self-response timing judging unit judges that there is the time needed for generating and storing the plurality of provisional random numbers until the response timing, andwherein the self-response timing judging unit judges if there is the time needed for generating and storing the plurality of provisional random numbers between receiving the request from the reader/writer and the response to the request.
1 Assignment
0 Petitions
Accused Products
Abstract
A contactless integrated circuit (IC) card for providing a high-grade random number with a simple configuration. A plurality of provisional random numbers are generated according to a part of calculations to be used for generation of a random number. The plurality of provisional random numbers generated are stored. A random number is generated on the basis of one of the provisional random numbers selected in sequential order.
-
Citations
10 Claims
-
1. A contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the contactless IC card comprising:
-
a provisional random number generating unit operable to generate a plurality of provisional random numbers according to a part of calculations to be used for generating a random number; a provisional random number storage unit operable to store the plurality of provisional random numbers generated by the provisional random number generating unit; a random number generating unit operable to generate a random number on the basis of one of the stored provisional random numbers selected in sequential order at the time of receiving the request from the reader/writer; and a self-response timing judging unit operable to judge if there is time needed for generating and storing the plurality of provisional random numbers until timing to respond by the card itself, wherein the provisional random number generating unit generates the provisional random number if the self-response timing judging unit judges that there is the time needed for generating and storing the plurality of provisional random numbers until the response timing, and wherein the self-response timing judging unit judges if there is the time needed for generating and storing the plurality of provisional random numbers between receiving the request from the reader/writer and the response to the request. - View Dependent Claims (2)
-
-
3. A contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the contactless IC card comprising:
-
a provisional random number generating unit operable to generate a provisional random number according to a part of operations to be used for generating a random number; a provisional random number storage unit operable to store the provisional random number generated by the provisional random number generating unit; a random number generating unit operable to generate a random number on the basis of the stored provisional random number at the time of receiving the request from the reader/writer; an interruption flag representing that the processing for generating provisional random numbers should be interrupted when the request from the reader/writer is received in the middle of the provisional random number generation; a processing flag representing a position from which the provisional random number generation should be restarted after the end of the response to the request; and a specific slot number storing unit operable to store a specific value, wherein the provisional random number generation should be interrupted or restarted on the basis of the interruption flag and the processing flag, and wherein the provisional random number generating unit interrupts the processing for generating provisional random numbers when the request from the reader/writer is received in the middle of the provisional random number generation and then makes a response to that request based on the specific value stored in the specific slot number storing unit. - View Dependent Claims (4)
-
-
5. A responding method of contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the method comprising the steps of:
-
generating a plurality of provisional random numbers according to a part of calculations to be used for generating a random number; storing the plurality of provisional random numbers generated by the provisional random number generating step; generating a random number on the basis of one of the stored provisional random numbers selected in sequential order at the time of receiving the request from the reader/writer; and judging if there is time needed for generating and storing the plurality of provisional random numbers until timing to respond by the card itself, wherein the provisional random number generating step generates the provisional random number if the judging step judges that there is the time needed for generating and storing the plurality of provisional random numbers until the response timing, and wherein the judging step judges if there is the time needed for generating and storing the plurality of provisional random numbers between receiving the request from the reader/writer and the response to the request.
-
-
6. A computer program product having a program executed by a contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the program, when executed, causing the contactless IC card to perform the steps of:
-
generating a plurality of provisional random numbers according to a part of calculations to be used for generating a random number; storing the plurality of provisional random numbers generated by the provisional random number generating step; generating a random number on the basis of one of the stored provisional random numbers selected in sequential order at the time of receiving the request from the reader/writer; and judging if there is time needed for generating and storing the plurality of provisional random numbers until timing to respond by the card itself, wherein the provisional random number generating step generates the provisional random number if the judging step judges that there is the time needed for generating and storing the plurality of provisional random numbers until the response timing, and wherein the judging step judges if there is the time needed for generating and storing the plurality of provisional random numbers between receiving the request from the reader/writer and the response to the request.
-
-
7. A computer readable medium for storing a program executed by a contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the program, when executed, causing the contactless IC card to perform the steps of:
-
generating a plurality of provisional random numbers according to a part of calculations to be used for generating a random number; storing the plurality of provisional random numbers generated by the provisional random number generating step; generating a random number on the basis of one of the stored provisional random numbers selected in sequential order at the time of receiving the request from the reader/writer; and judging if there is time needed for generating and storing the plurality of provisional random numbers until timing to respond by the card itself, wherein the provisional random number generating step generates the provisional random number if the judging step judges that there is the time needed for generating and storing the plurality of provisional random numbers until the response timing, and wherein the judging step judges if there is the time needed for generating and storing the plurality of provisional random numbers between receiving the request from the reader/writer and the response to the request.
-
-
8. A responding method of contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the method comprising the steps of:
-
generating a provisional random number according to a part of operations to be used for generating a random number; storing the provisional random number generated by the provisional random number generating step; generating a random number on the basis of the stored provisional random number at the time of receiving the request from the reader/writer; setting an interruption flag representing that the processing for generating provisional random numbers should be interrupted when the request from the reader/writer is received in the middle of the provisional random number generation; setting a processing flag representing a position from which the provisional random number generation should be restarted after the end of the response to the request; and storing a specific value in a specific slot number storing unit; wherein the provisional random number generation should be interrupted or restarted on the basis of the interruption flag and the processing flag, and wherein the provisional random number generating step interrupts the processing for generating provisional random numbers when the request from the reader/writer is received in the middle of the provisional random number generation and then makes a response to that request based on the specific value stored in the specific slot number storing unit.
-
-
9. A computer program product having a program executed by a contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the program, when executed, causing the contactless IC card to perform the steps of:
-
generating a provisional random number according to a part of operations to be used for generating a random number; storing the provisional random number generated by the provisional random number generating step; generating a random number on the basis of the stored provisional random number at the time of receiving the request from the reader/writer; setting an interruption flag representing that the processing for generating provisional random numbers should be interrupted when the request from the reader/writer is received in the middle of the provisional random number generation; setting a processing flag representing a position from which the provisional random number generation should be restarted after the end of the response to the request; and storing a specific value in a specific slot number storing unit; wherein the provisional random number generation should be interrupted or restarted on the basis of the interruption flag and the processing flag, and wherein the provisional random number generating step interrupts the processing for generating provisional random numbers when the request from the reader/writer is received in the middle of the provisional random number generation and then makes a response to that request based on the specific value stored in the specific slot number storing unit.
-
-
10. A computer readable medium for storing a program executed by a contactless integrated circuit (IC) card responding to a request sent from a reader/writer by using a response timing calculated on the basis of slot numbers included in the request and a random number, the program, when executed, causing the contactless IC card to perform the steps of:
-
generating a provisional random number according to a part of operations to be used for generating a random number; storing the provisional random number generated by the provisional random number generating step; generating a random number on the basis of the stored provisional random number at the time of receiving the request from the reader/writer; setting an interruption flag representing that the processing for generating provisional random numbers should be interrupted when the request from the reader/writer is received in the middle of the provisional random number generation; setting a processing flag representing a position from which the provisional random number generation should be restarted after the end of the response to the request; and storing a specific value in a specific slot number storing unit; wherein the provisional random number generation should be interrupted or restarted on the basis of the interruption flag and the processing flag, and wherein the provisional random number generating step interrupts the processing for generating provisional random numbers when the request from the reader/writer is received in the middle of the provisional random number generation and then makes a response to that request based on the specific value stored in the specific slot number storing unit.
-
Specification