IC card and data processing method therefor
First Claim
1. An IC card comprising:
- a memory having a data storage area for storing data to be held, a buffer area for storing write data during a writing process, and an address management area for storing address data for correlating logical addresses and physical addresses associated with said data storage area and said buffer area; and
memory control means for storing in said buffer area, during a data writing process for said memory, write data that are transmitted with a command, and for rewriting, in said address management area, address data that correspond to said buffer area and address data that correspond to said data storage area designated by said command, so that said address management area can be updated.
3 Assignments
0 Petitions
Accused Products
Abstract
Provided in a nonvolatile memory mounted in an IC card are a data block area 201, for storing data to be held; a reserve block area 202, for storing target data during a writing or reading process; and an address management area 203, for storing address data that correlate logical addresses and physical addresses associated with the data block area 201 and the reserve block area 202. In the writing process, data to be written is stored in the reserve block area 202, and for updating, address data that correspond to the reserve block area 202 in the address management area 203 and address data that corresponds to the data block area 201 designated by a command are rewritten.
23 Citations
25 Claims
-
1. An IC card comprising:
-
a memory having a data storage area for storing data to be held, a buffer area for storing write data during a writing process, and an address management area for storing address data for correlating logical addresses and physical addresses associated with said data storage area and said buffer area; and
memory control means for storing in said buffer area, during a data writing process for said memory, write data that are transmitted with a command, and for rewriting, in said address management area, address data that correspond to said buffer area and address data that correspond to said data storage area designated by said command, so that said address management area can be updated. - View Dependent Claims (2, 3, 4, 5, 6, 13)
-
-
7. An IC card comprising:
-
a memory having a data storage area for storing data to be held, a buffer area for storing write data during a writing process, and an address management area for storing address data that correlates logical addresses and physical addresses associated with said data storage area and said buffer area; and
memory control means for rewriting, in said address management area during a data reading process performed for said memory, address data that correspond to said buffer area and address data that correspond to said data storage area designated by a command for said address management area, and updating said address management area, for reading read data stored in said buffer area that has been updated, and for returning said address management area to the original state. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
14. A data processing method for an IC card comprising the steps of:
-
during a process for writing data to a memory of an IC card, storing write data received with a command in a buffer area of said memory; and
rewriting, in an address management area for storing address data for said memory, address data that correspond to said buffer area and address data that correspond to said data storage area designated by a command, thereby updating said address management area. - View Dependent Claims (15)
-
-
16. A data processing method for an IC card comprising the steps of:
-
during a process for reading data from a memory of an IC card, updating an address management area by rewriting address data that correspond to a buffer area and address data that correspond to a data storage area designated by a command, said address management area being provided in a memory for storing address data; and
reading read data from said buffer area that has been updated, and returning said address management area to the original state. - View Dependent Claims (17)
-
-
18. An IC card comprising:
-
a memory having a plurality of data storage areas for storing data to be held, a plurality of buffer areas for storing write data during a writing process, and a plurality of address management areas for storing address data for correlating logical addresses and physical addresses associated with said plurality of data storage areas and said buffer areas; and
memory control means for storing in said plurality of buffer areas, during a data writing process for said memory, write data that are transmitted with a command, and for rewriting, in said plurality of address management areas, address data and that correspond to said plurality of buffer areas and address data that correspond to said plurality of data storage areas designated by said command, so that said plurality of address management areas can be updated. - View Dependent Claims (19, 20)
-
-
21. An IC card comprising:
-
a memory having a plurality of data storage areas for storing data to be held, a plurality of buffer areas for storing write data during a writing process, and a plurality of address management areas for storing address data that correlates logical addresses and physical addresses associated with said plurality of data storage areas and said plurality of buffer areas; and
memory control means for rewriting, in said plurality of address management areas during a data reading process performed for said memory, address data that correspond to said plurality of buffer areas and address data that correspond to said plurality of data storage areas designated by a command, and updating said plurality of address management area, for reading read data stored in said plurality of buffer areas that have been updated, and for returning said plurality of address management areas to the original state. - View Dependent Claims (22, 23)
-
-
24. A data processing method for an IC card comprising the steps of:
-
during a process for writing data to a memory of an IC card, storing write data received with a command in buffer areas of said memory;
employing a logical address designated by said command to select, from among a plurality of storage areas and a plurality of buffer areas, a target storage area and a target buffer area to which data are to be written, and storing validity data designating said plurality of target areas in a buffer determination flag area;
temporarily storing, in address holding areas, physical addresses that correspond to said plurality of buffer areas and physical addresses and that correspond to logical addresses for said data storage areas designated by said command in address management areas for storing address data for said memory;
setting writing-in-progress information indicating that a writing process is currently being performed;
rewriting physical addresses, based on validity data in said buffer determination flag area, that correspond to said plurality of buffer areas and physical addresses that correspond to said plurality of data storage areas in said address management area, for said valid target areas, thereby updating said address management area; and
restoring said writing-in-progress information after the updating has been completed.
-
-
25. A data processing method for an IC card comprising the steps of:
-
during a process for reading data from a memory of an IC card, employing a logical address designated by a command to select, from among a plurality of data storage areas and a plurality of buffer areas, a target data storage area and a target buffer area from which data are to be read, and storing in a buffer determination flag area validity data designating said target areas;
temporarily storing, in address holding areas, physical addresses that are stored in address management areas of said memory for storing address data and that correspond to said target buffer areas;
setting reading-in-progress information indicating that a reading process is currently being performed;
based on said validity data in said buffer determination flag area, updating said address management area for said valid target areas by rewriting physical addresses that correspond to said plurality of buffer areas with physical addresses that are stored in said address management area and that correspond to logical addresses in said plurality of data storage areas designated by said command;
performing a restoring process , after read data have been obtained from said buffer areas that have been updated, with said physical addresses that were held and that correspond to said plurality of buffer areas; and
returning said reading-in-progress information to the original state after the restoring has been completed.
-
Specification