The present invention relates to a memory apparatus, a memory apparatus controlling method, and an information processing system that use an irreversibly writeable memory that allows the security of data stored therein to be improved.
Recently, memory cards of which a flash memory and a control portion therefor are integrated have been practically used as data record mediums. For example, still pictures photographed by a digital camera are recorded to a memory card. A memory card that uses a flash memory allows data to be written a plurality of times. In addition, memory cards have been used as storage mediums that store copyrighted data distributed through an electronic music distribution.
Since a flash memory is an erasable memory, it can be restored to the initial state any time. In addition, since data stored in a flash memory can be relatively easily forged, the security of authentication data, passwords, encryption key data, and so forth stored in a flash memory is weak. Moreover, in a device that uses a conventional memory card, after data is read therefrom, the data is not erased in the memory card. Thus, a copy of data that has been read from the memory card can be made. Thus, there is a problem from a viewpoint of copyright protection.
Thus, it is desirable to provide a memory apparatus that allows the security of data stored therein to be improved and prevents data stored therein from being copied.
To solve the forgoing problems, an aspect of the invention is a memory apparatus attachable to and detachable from a host device, comprising an irreversibly writeable memory, a control circuit that controls operations of writing to and reading from the irreversibly writeable memory, and a data buffer circuit, wherein after data written to the irreversibly writeable memory is read to the data buffer circuit, all previously unchanged one-time writeable data units of a data area on the irreversibly writeable memory from which the data has been read are changed from their initial state so that the data is prohibited from being further read.
Another aspect of the invention is a memory apparatus attachable to and detachable from a host device, comprising an irreversibly writeable memory, a control circuit that controls operations of writing to and reading from the irreversibly writeable memory, a data buffer circuit, and a data area that stores reproduction restriction information disposed in the irreversibly writeable memory or in an irreversibly writeable memory region of the control circuit, wherein when data written to the irreversibly writeable memory is to be read and the reading operation is restricted by the reproduction restriction information, the reading operation is prohibited.
A further aspect of the invention is a memory apparatus attachable to and detachable from a host device, comprising an irreversibly writeable memory, a control circuit that controls operations of writing to and reading from the irreversibly writeable memory, a data buffer circuit, and at least one data area disposed in the irreversibly writeable memory or in an irreversibly writeable memory region of the control circuit, the data area storing a reading operation count value that represents the number of times that associated data has been read from the irreversibly writeable memory, wherein whenever the associated data is read, the state of one of a plurality of one-time writeable data units in the data area is changed, and when the state of all of the one-time writeable data units in the data area have been changed, the reading operation is prohibited.
According to these aspects of the present invention, whenever data is read from the irreversibly writeable memory, an operation is performed so that the read data is then or subsequently prohibited from being read again so that the security of data stored in the irreversible writeable memory is improved. When a reproducing operation for reading data stored in the irreversibly writeable memory is restricted, the reproduction restriction information is written to an irreversible write memory, so that the reproduction restriction information is prevented from being forged.
Next, with reference to the accompanying drawings, an embodiment of the present invention will be described.
The host device generates data to be written to the memory apparatus 1. In addition, the host device reads data from the memory apparatus 1 and performs a variety of data processes using data that has been read from the memory apparatus 1. The host device is, for example, a digital electronic camera. The host device writes a photographed picture to the memory apparatus 1. Moreover, the host device reads a picture from the memory apparatus 1. Another example of the host device is an audio recording/reproducing apparatus. In this case, compressed audio data is written to the memory apparatus 1. In addition, compressed audio data is read from the memory apparatus 1.
The control IC 2 has an interface 4, a register 5, a page buffer 6, and a memory interface 7. The interface 4 interfaces with the host device. Data (write data or read data and command data), a control signal, power, and so forth are exchanged between the host device and the memory apparatus 1 through the interface 4. The register 5 stores addresses. The page buffer 6 temporarily stores write data or read data. The control IC 2 and the memory 3 may be integrated as one IC device. On the other hand, the control IC may not be composed of only one IC. The memory interface 7 is an interface disposed between the control IC 2 and the memory 3. The control IC 2 is provided with a sequencer (controller) composed of a CPU (not shown).
The memory 3 is an irreversibly writeable memory that is a one-time-writeable nonvolatile semiconductor memory. The memory 3 is referred to as OTP (One Time Programmable ROM). In other words, once data is written to the memory 3, the data cannot be erased. Even if the power of the memory 3 is turned off, the stored data is retained. In the memory 3, data is read and written with a predetermined data amount at a time. The memory 3 is provided with a boot area that is read by the host device immediately after the memory is attached thereto. In the boot area, various types of information such as attribute information are pre-recorded.
As was described above, the memory 3 is irreversible with respect to the writing operation. In other words, once the initial state of a portion of the memory 3 is changed, it cannot be restored to the initial state. On the other hand, a portion that has not been changed from the initial state can be changed later.
As shown in
Next, several examples of processes performed with the memory apparatus 1 will be described.
At step S1 shown in
When the determined result represents that there is no address in the particular area, data is read from the designated address of the memory 3. The read data is supplied to the host device (at step S13). Thereafter, the flow advances to step S14. At step S14, the address of the read data, which is stored in the register 5, is written to the particular area. The read address may be appended to other addresses stored in the particular area. In this case, the particular area may have an address map in which data corresponding to a readable address may be changed to the one that is prohibited from being read. At step S12, the map may be referenced.
Thus, in the operation shown in
As was described with reference to the counter area shown in
When the condition of (reproducing operation count value N<reproducing operation permission value), the reproducing operation can be performed. In such a case, the flow advances to step S34. At step S34, data is read from the designated address of the memory 3. The read data is supplied to the host device through the page buffer 6 and the interface 4 (at step S34). Thereafter, the reproducing operation count value in the particular area is changed (at step S35).
The operation shown in
Next, with reference to the flow chart shown in
When the determined result at step S53 represents that the reproducing operation permission value is larger than 0, the flow advances to step S54. At step S54, data is read from the memory 3 and supplied to the host device (at step S54). At step S55, the reproducing operation count value in the particular area is changed. As a result, the reproducing operation permission value is decremented by 1. In the example shown in
The operation shown in
In addition to controlling the reproducing operation and erasing operation for a data file such as a music data file recorded in an irreversibly writeable memory, the forgoing embodiment of the present invention can be applied to key data that decrypts encrypted data so as to erase or restrict the number of times of a reproducing operation for the key data in the forgoing manner.
The present invention is not limited to the forgoing embodiment. In other words, various modifications and applications of the present invention are available without departing from the spirit of the present invention. For example, according to the forgoing embodiment, the number of times of reproducing operation is restricted. Instead, the total time or valid period (from start date to end date) for which data can be reproduced may be recorded in the irreversibly writeable memory. In addition, the present invention can be applied to cash, electronic money, and a prepaid card that records points or the like that permit a reproducing operation. Corresponding to the value that has been used, data is updated. Moreover, the present invention can be applied to a delivery for an initial password. In this case, when the initial password is read, it is erased. As a result, the security of the initial password is protected.
According to the present invention, when data is read, previously unchanged data units in the data that has been read are overwritten so that the data is prohibited from being further read. Thus, even if the memory apparatus is disassembled and the irreversibly writeable memory is removed, it is impossible to read internal data. As a result, high security is assured. When a flash memory is used, by contrast, a special structure that prevents the memory from being illegally accessed should be provided. As a result, the cost of the apparatus adversely rises. Therefore, the cost of the irreversibly writeable memory is lower than the cost of the flash memory. In addition, when the present invention is applied to the irreversibly writeable memory, a special structure that assures the security of data is not required. Thus, the cost of the memory apparatus can be further reduced. In addition, when the reproducing operation is restricted, reproduction restriction information is written to irreversibly writeable memory. As a result, the reproduction restriction information can be prevented from being forged.
Number | Date | Country | Kind |
---|---|---|---|
2000-307200 | Oct 2000 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP01/08794 | 10/5/2001 | WO | 00 | 6/6/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO02/31663 | 4/18/2002 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
3576549 | Hess et al. | Apr 1971 | A |
4691299 | Rivest et al. | Sep 1987 | A |
5202852 | Mizuta | Apr 1993 | A |
5233576 | Curtis et al. | Aug 1993 | A |
5536923 | Foglino | Jul 1996 | A |
5644444 | Braithwaite et al. | Jul 1997 | A |
5826007 | Sakaki et al. | Oct 1998 | A |
6226698 | Yeung et al. | May 2001 | B1 |
6420971 | Leck et al. | Jul 2002 | B1 |
6658438 | Moore et al. | Dec 2003 | B1 |
6715049 | Hayakashi | Mar 2004 | B1 |
20010025343 | Chrisop et al. | Sep 2001 | A1 |
Number | Date | Country |
---|---|---|
0 412 251 | Feb 1991 | EP |
0 671 711 | Sep 1995 | EP |
2 790 854 | Sep 2000 | FR |
62-189601 | Aug 1987 | JP |
63-153633 | Jun 1988 | JP |
06-004996 | Jan 1994 | JP |
7-85342 | Mar 1995 | JP |
10-134160 | May 1998 | JP |
10-269144 | Oct 1998 | JP |
10269144 | Oct 1998 | JP |
2000-48533 | Feb 2000 | JP |
2000-148599 | May 2000 | JP |
Number | Date | Country | |
---|---|---|---|
20030084258 A1 | May 2003 | US |