Memory apparatus and memory access restricting method

Information

  • Patent Application
  • 20020040423
  • Publication Number
    20020040423
  • Date Filed
    September 28, 2001
    23 years ago
  • Date Published
    April 04, 2002
    22 years ago
Abstract
When the power of a memory apparatus is turned on, data written to a designated area of a memory of the memory apparatus is loaded to a register. When an initial state detecting portion has detected that data loaded to the register is an initial value, a gate G0 is turned on. As a result, a designated area and a hidden area become accessible. When data that is different from the initial value is written to the designated area, the designated area and the hidden area are access-restricted. When a used state detecting circuit has detected that the used capacity of the memory matches a setup value, the gate G0 is turned on. As a result, the hidden area becomes accessible. Hidden data prewritten to the hidden area is information rewarded to the user or advertisement/commercial information.
Description


BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention


[0002] The present invention relates to a memory apparatus and a memory access restricting method that use a reversibly non-writable memory.


[0003] 2. Description of the Related Art


[0004] A reversibly non-writable memory of which data can be written one time is known. For example, as a semiconductor memory, so-called OTP (One Time Programmable ROM) of which data can be written one time has been proposed. The related art reference is a nonvolatile reversibly non-writable memory. In other words, according to the related art reference, once data is written, it cannot be erased. Thus, even if the power of the memory is turned off, written data is kept retained. The reversibly non-writable memory can be fabricated at a lower cost than the a flash memory.


[0005] Recently, the commercial use of card type flash memories as data record mediums tends to increase. For example, still pictures photographed by a digital camera are recorded to a flash memory. However, the cost of a flash memory is relatively high. In contrast, although the cost of a OTP is relatively low, it cannot be re-used as an adverse problem thereof. Thus, when the cost of an OTP is further decreased, it can be expected that it will be widely used. Generally, it is said that the cost of a device as a record medium is reversely proportional to the quantity placed on the market.



OBJECTS AND SUMMARY OF THE INVENTION

[0006] Therefore, an object of the present invention is to provide a memory apparatus and an access restricting method that allow a reversibly non-writable memory to be more widely used.


[0007] To solve the above-described problem, a first aspect of the present invention is a memory apparatus composed of a reversibly non-writable memory, comprising an initial data area to which initial data is pre-written, a user data area to which data prepared by the user is written, and a setup data area to which a setup state is written, wherein when data that is different from the initial data is written to said initial data area, said user area becomes non-accessible, and wherein when the used state of the memory is in the setup state, said user data area becomes accessible.


[0008] A second aspect of the present invention is a memory apparatus composed of a reversibly non-writable memory, comprising a first designated area to which initial data is pre-written, a user data area to which data prepared by the user is written, and a second designated area, wherein when predetermined data that is different from the initial data is written to said first designated area, said user data area becomes non-accessible, and wherein when data having a predetermined relation with predetermined data is written to said second designated area, said user data area becomes accessible.


[0009] A third aspect of the present invention is an access restricting method for a non-volatile reversibly non-writable memory apparatus, when predetermined data is written to a first designated area of the memory apparatus, the predetermined area being access-restricted, comprising the steps of detecting whether or not the memory apparatus has become access-restricted, causing the memory apparatus to be changed to an access restricted state when the memory apparatus has not been access-restricted, and causing the memory apparatus to be changed to an access permitted state when the memory apparatus has been access-restricted and the used state of the memory apparatus is in a predetermined state.


[0010] A fourth aspect of the present invention is an access restricting method for a non-volatile reversibly non-writable memory apparatus, when predetermined data is written to a first designated area, a predetermined area being access-restricted, comprising the steps of detecting whether or not the memory apparatus has been access-restricted, causing the memory apparatus to be changed to an access restricted state when the memory apparatus has not been access-restricted, and causing the memory apparatus to be changed to an access permitted state when the memory apparatus has been access-restricted and data written to a second designated area of the memory apparatus has a predetermined relation with the predetermined data.


[0011] According to the present invention, when a memory is used a predetermined number of times or when data that has a predetermined relation with particular data is written to a predetermined area of the memory, pre-written data can be accessed. The data may provide the user with a reward. Alternatively, the data may be advertisement/commercial information. Thus, the data will contribute to promote the promotion of the use of the memory apparatus, resulting in reducing the cost thereof.


[0012] These and other objects, features and advantages of the present invention will become more apparent in light of the following detailed description of a best mode embodiment thereof, as illustrated in the accompanying drawings.







BRIEF DESCRIPTION OF THE DRAWINGS

[0013]
FIG. 1 is a block diagram showing an example of a system according to the present invention;


[0014]
FIG. 2 is a block diagram showing the structure of a memory apparatus according to an embodiment of the present invention;


[0015]
FIG. 3 is a flow chart for explaining the operation of the memory apparatus according to the embodiment shown in FIG. 2;


[0016]
FIG. 4 is a block diagram showing the structure of a memory apparatus according to another embodiment of the present invention; and


[0017]
FIG. 5 is a flow chart for explaining the operation of the memory apparatus according to the embodiment shown in FIG. 4.







DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018]
FIG. 1 shows an outline of the structure of a system according to an embodiment of the present invention. Referring to FIG. 1, a host side and a memory apparatus side are connected through a serial interface. A host side data processing device 1 has a data processing portion 2 and a control IC 3. A memory apparatus 10 has a control IC 11 and a memory 12. The memory apparatus 10 has a card-shaped structure attachable and detachable to/from the data processing device 1.


[0019] The data processing portion 2 generates data written to the memory apparatus 10. In addition, the data processing portion 2 reads data from the memory apparatus 10 and performs various data processes for data that is read from the memory apparatus 10. For example, the data processing device 1 is a digital electronic camera. A photographed picture is written to the memory apparatus 10. In addition, a picture is read from the memory apparatus 10. Another example of the data processing device 1 is an audio recording/reproducing device. Compressed audio data is written to the memory apparatus 10. In addition, compressed audio data is read from the memory apparatus 10.


[0020] Each of the control ICs 3 an 11 comprises a parallel-serial converting circuit, a buffer memory (that temporarily stores data), and an interface circuit. A power line VCC, a data line DIO, and a ground line GND are disposed between the control ICs 3 and 11. A command and write data are transferred from the data processing device 1 to the memory apparatus 10 through the data line DIO. Read data is transferred from the memory apparatus 10 to the data processing device 1 through the data line DIO. In addition, signal lines for transferring a clock signal, a control signal, and so forth are disposed (not shown).


[0021]
FIG. 2 shows a detail of the structure of the memory apparatus 10 according to the embodiment. Data in a predetermined unit (for example, a horizontal stripe shaped area shown in FIG. 2) is read and written from/to the memory 12. Predetermined two areas of the memory 12 are boot areas 13a and 13b. Various types of information such as attribute information are prerecorded to the boot areas 13a and 13b. For example, information that represents whether the memory apparatus is a read-only memory, an access restricted memory, or a rewritable memory is pre-recorded to the boot areas 13a and 13b. In an environment of which a plurality of memory apparatuses having different characteristics may be used, characteristics of the memory apparatuses are identified with the attribute information recorded in the boot areas 13a and 13b.


[0022] The boot areas 13a and 13b are areas that are initially read by the data processing device 1 when the memory apparatus 10 is attached thereto. The boot areas 13a and 13b are areas that are always readable. In addition, the memory 12 has a designated area 14 and a hidden area (hatched area) 15. A memory area (user area) other than the boot areas 13a and 13b, the designated area 14, and the hidden area 15 is denoted by reference numeral 16. User data is written to the user area 16.


[0023] The memory 12 that is a reversibly non-writable memory (OTP) is used from the beginning of the user area 16 (the highest area shown in FIG. 2). A setup value is written to an area 16a at the beginning of the user area 16. The setup value is a value representing the ratio of the total memory capacity and the used memory capacity of the memory 12. For example, the setup value is represented in the write data unit of the memory 12. For example, a setup value equivalent to the case that around 80% of memory capacity is used is written to the area 16a. In addition, when data is written to each area, a flag (of for example one bit) that represents that the relevant area has been used is set. The record position of each flag is written to each area of the memory.


[0024] When the memory apparatus 10 is shipped, an initial value is written to the designated area 14. On the other hand, hidden data is recorded to the hidden area 15. After the memory apparatus 10 is shipped, character data, music data, picture data, or a combination thereof as hidden data is recorded by a secondary memory provider for example a content provider or a content distributor. Beside people who sell memories as business activities, a private individual may record hidden data to the memory 12. As will be described later, hidden data is information that provides a reward to a user or advertisement/commercial information.


[0025] An access controlling portion 21 is connected to the data line DIO of the control IC 11. The access controlling portion 21 controls the writing operation and reading operation for data to/from the memory 12. The access controlling portion 21 comprises a buffer memory (that stores data) and a register (that stores a command).


[0026] In addition, a reset signal generating portion 23 is connected to the power line VCC. The reset signal generating portion 23 monitors the voltage fluctuation of the power line VCC, detects the power on state of the memory apparatus 10, and generates a reset signal corresponding to the detection of the power on state. Data written to the designated area 14 is loaded to the register 22 corresponding to the reset signal.


[0027] The access controlling portion 21 is connected to the boot areas 13a and 13b and the user area 16 of the memory 12. Thus, the boot areas 13a and 13b and the user area 16 can be always accessed. In addition, a gate (switch) G0 is disposed between the access controlling portion 21 and the designated area 14 and the hidden area 15 of the memory 12. Once the gate G0 is turned off or on with a control signal, the current state is kept retained until the control signal is supplied.


[0028] An initial state detecting portion 26 is disposed in the control IC 11. The initial state detecting portion 26 detects whether or not data that is read from the designated area 14 to the register 22 corresponding to the reset signal is in the initial state. With a detected output of the initial state detecting portion 26, the on/off state of the gate G0 is controlled.


[0029] In addition, a used state detecting circuit 27 is disposed in the control IC 11. The setup value recorded in the area 16a and a flag that represents whether or not an area other than the area 16a has been used are supplied to the used state detecting circuit 27. The used state detecting circuit 27 detects whether or not the used memory capacity matches the setup value. With a detection signal that is generated corresponding to the detected result, the on/ff state of the gate G0 is controlled.


[0030] Next, the controlling operation for the gate G0 will be described. When the detected result of the initial state detecting portion 26 represents that the data that has been read from the designated area 14 to the register 22 is in the initial state, the gate G0 is turned on. When the detected result represents that the data is not in the initial state, the gate G0 is turned off. When the detected result of the used state detecting circuit 27 represents that the used memory capacity does not match the setup value, the gate G0 is turned off. When the detected result of the used state detecting circuit 27 represents that the used memory capacity matches the setup value, the gate G0 is turned on. When the gate G0 is turned on, both the designated area 14 and the hidden area 15 can be accessed. With both the detection signal for the initial state and the detection signal of the used state detecting circuit 27, the gate G0 is controlled. In the control IC 11 shown in FIG. 2, a sequencer (controller) (not shown) composed of a CPU is disposed.


[0031]
FIG. 3 is a flow chart for explaining the operation of the sequencer of the control IC 11 according to the embodiment of the present invention. At step S1, when the power is turned on, the reset signal generating portion 23 detects that the signal of the power line VCC goes high. As a result, the reset signal generating portion 23 generates the reset signal. With the reset signal, data recorded in the designated area 14 is loaded to the register 22 of the control IC 11 (at step S2).


[0032] At step S3, the initial state detecting portion 26 detects whether or not code loaded to the register 22 is the initial value. In the initial state, data recorded in the designated area 14 is the initial value. The initial value is a value that has been written before the memory apparatus 10 is shipped to the user. The initial value is code of which all bits are for example ones. In the initial state, with an output of the initial state detecting portion 26, the gate G0 is turned on.


[0033] When the gate G0 is turned on, all areas of the memory 12 can be accessed (at step S4). In other words, in addition to the boot areas 13a and 13b and the user area 16 that are always accessible, data can be read from the designated area 14 and the hidden area 15. In addition, data can be written to a blank area.


[0034] In the state that all areas are accessible, the user writes desired information to the hidden area 15. In addition, the user writes a desired setup value to the area 16a. Thereafter, the user records code that is different from the initial value to the area 16a. Thereafter, the user turns off the power of the memory 12. Since the memory 12 is a non-volatile memory, even if the power of the memory 12 is turned off, information written thereto is not erased. Thereafter, when the user turns on the power of the memory 12, data recorded in the designated area 14 is loaded to the register 22. In this state, since the loaded data is different from the initial value, the determined result at step S3 represents that the memory 12 is not in the initial state.


[0035] At step S5, the used state of the memory 12 is read to the used state detecting circuit 27. In addition, the setup value recorded in the area 16a is read to the used state detecting circuit 27. At step S6, the used state detecting circuit 27 detects whether or not the used capacity of the memory 12 matches the setup value. For example, the used state detecting circuit 27 detects whether or not the used capacity of the memory 12 becomes 80% of the setup value.


[0036] When the used capacity does not match the setup value, the gate G0 is turned off. Thus, the designated area 14 and the hidden area 15 are non-accessible (at step S8). When the used capacity of the memory 12 matches the setup value recorded in the record area 16a, with the detection signal of the used state detecting circuit 27, the gate G0 is turned on. As a result, the designated area 14 and the hidden area 15 can be accessed (at step S7). In other words, hidden data recorded in the hidden area 15 can be read by the access controlling portion 21.


[0037] According to the above-described embodiment of the present invention, only when the memory 12 is used in a predetermined state (with a predetermined storage capacity), the hidden area 15 can be accessed. Otherwise, hidden data recorded in the hidden area 15 cannot be accessed. The memory apparatus 10 allows hidden data to be used as win/fail mark or a point for a reward.


[0038] When hidden data is promotion video and/or music data, the memory apparatus 10 can be used as an advertisement/commercial medium. In this case, the sponsor can circulate the memory 12 to a consumer at low cost or free of charge. Alternatively, with hidden data, the user can access a web site or apply for a reward. In this case, the number lots drawn may be increased corresponding to the acquired points. In this case, picture, music, number, or the like that is reproduced with hidden data may server as a password for accessing a secret Internet site. With a benefit acquired by such hidden data, the sales of the memory apparatus can be promoted. In addition to such business uses, the memory 12 is effective for private uses.


[0039]
FIG. 4 shows a detail of the structure of a memory apparatus 10 according to another embodiment (second embodiment) of the present invention. For simplicity, in FIG. 4, similar portions to those of the above-described embodiment (first embodiment) shown in FIG. 2 are denoted by similar reference numerals. Boot areas 13a and 13b and a user area 16 can be always accessed by a data processing device 1. In addition to a designated area 14 in which an initial value has been written upon shipment, a second designated area 16b is formed in the user area 16. In FIG. 4, the designated area 1 represents a first designated area, whereas a designated area 2 represents a second designated area. In addition, a hidden area (hatched area) 15 is formed in a memory 12.


[0040] Gates (switches) G1 and G2 are in parallel disposed between an access controlling portion 21 and the designated area 14 and the hidden area 15 of the memory 12. Once each of the gates G1 and G2 is turned on/off with a control signal, the state is kept retained until the next control signal is supplied.


[0041] An initial state detecting portion 26 detects whether or not data that is read from the designated area 14 to a register 22 is in the initial state. With a detected output of the initial state detecting portion 26, the on/off state of the gate G2 is controlled. Data read to the register 22 is supplied to one input of a comparing circuit 24.


[0042] In addition, a register 25 is disposed in a control IC 11. The register 25 stores data that is read from the second designated area 16b. An output of the register 25 is supplied to another input of the comparing circuit 24. The comparing circuit 24 compares outputs of the registers 22 and 25 and detects whether they match. With an output of the comparing circuit 24, the on/off state of the gate G1 is controlled.


[0043] In the same manner as the gate G0 according to the above-described embodiment, the gate G2 is controlled. In other words, when the data read to the register 22 is in the initial state, the gate G2 is turned on. When the data read to the register 22 is not in the initial state, the gate G2 is turned off. In addition, the comparing circuit 24 compares the data read from the designated area 14 to the register 22 with the data read from the second designated area 16b to the register 25. When the comparing circuit 24 has detected that they match, the gate G1 is turned on. When the gate G1 is turned on, both the designated area 14 and the hidden area 15 are accessible. In contrast, when the comparing circuit 24 has detected that they do not match, the gate GI is turned off. Thus, both the designated area 14 and the hidden area 15 are non-accessible.


[0044]
FIG. 5 is a flow chart for explaining the operation of a sequencer of the control IC 11 according to the second embodiment of the present invention. At step S11, when the power of the memory apparatus 10 is turned on, a reset signal generating portion 23 detects that the signal level of a power line VCC goes high. The reset signal generating portion 23 generates a reset signal. With the reset signal, data recorded in the first designated area 14 of the memory 12 is loaded to the register 22 of the control IC 11 (at step S12).


[0045] At step S13, the initial state detecting portion 26 detects whether or not code loaded to the register 22 is the initial value. In the initial state, data recorded in the designated area 14 is the initial value. The initial value is a value that has been written to the designated area 14 before the memory apparatus 10 is delivered to the user. In the initial state, with an output of the initial state detecting portion 26, the gate G2 is turned on.


[0046] When the gate G2 is turned on, all areas of the memory 12 can be accessed (at step S14). In other words, in addition to the boot areas 13a and 13b and the user area 16 that are always accessible, data can be read from the designated area 14 and the hidden area 15. In addition, data can be written to a blank area.


[0047] In the state that all the areas are accessible, the user (for example, a secondary memory provider) writes desired information to the hidden area 15. Thereafter, the user records particular data that is different from the initial value to the first designated area 14. Thereafter, the user turns off the power of the memory apparatus 10. Since the memory 12 is a non-volatile memory, even if the power thereof is turned off, information written thereto is not erased. Thereafter, when the user turns on the power of the memory apparatus 10, data recorded in the designated area 14 is loaded to the register 22. In this case, since the loaded data (particular data) is different from the initial value, the determined result at step S13 represents that the data recorded in the register 22 is not the initial value.


[0048] At step S15, data recorded in the second designated area 16b of the memory 12 is loaded to the register 25. At step S16, the comparing circuit 24 determines whether or not data recorded in the register 22 matches data recorded in the register 25. When they match, the designated area 14 and the hidden area 15 can be accessed (at step S17). Since the boot areas 13a and 13b and the user area 16 are always accessible, all the areas becomes accessible at step S17.


[0049] When the determined result at step S16 represents the contents of the registers 22 and 25 do not match, since the gate G1 is turned off, the designated area 14 and the hidden area 15 cannot be accessed.


[0050] The memory apparatus according to the second embodiment can be used for a stamp rally. For example, with a one-day train ticket, a one-week free ticket, an excursion ticket, or the like, the user may visit a predetermined number of designated places such as stations or play spots and write predetermined data (designated values) as with stamps obtained at such places to the second designated area 16b. When the user has collected all required data at designated places (for example, when he or she has arrived at for example ten stations), data written to the second designated area 16b matches predetermined data written to the designated area 14. Thus, the gate G1 is turned on. As a result, the hidden area 15 can be accessed. As was described in the first embodiment, data that is pre-written to the hidden area 15 may be a win mark, advertisement/commercial data, a point, or premium data.


[0051] In addition, when date and time at which stamps were marked are checked for each memory apparatus, since date and time at which each user arrived at each place can be obtained, a special prize can be rewarded to a user whose has finished the rally in the shortest time corresponding to the checked result. In addition, using stamp data and date/time data, an Internet web site that only users who finished the rally can-access can be operated. In addition, a service using date/time data can be provided. Whenever each user finishes the rally, he or she may be able to apply for lottery. Alternatively, each user may apply for lottery any time in a predetermined period (drawing period).


[0052] Places at which data is written to the second designated area 16b are not limited to stations and play spots. In other words, whenever the memory apparatus is used for an audio/visual device, a digital device, or the like of the same maker, data may be written to the second designated area 16b. For example, when the memory apparatus is used for a digital camera of a particular maker, designated data is written to the designated area 16b. Next, when the memory apparatus is used for another device such as a note personal computer, designated data is written to the designated area 16b. In such a manner, when the memory apparatus is used for a predetermined number of devices (for example, five devices), data written to the designated area 16b matches the predetermined data written in the designated area 14. As a result, the hidden area 15 can be accessed.


[0053] It should be noted that the present invention is not limited to the above-described embodiments. For example, according to the above-described embodiments, when the power is turned on, the initial state is detected. Alternatively, when the memory apparatus is attached, the initial state may be detected. In addition, when the contents of the registers 22 and 25 match, the hidden area 15 can be accessed. Alternatively, when they satisfy a predetermined condition (namely, there is a difference between the contents), the hidden area 15 may be accessed. In addition, according to the present invention, as the reversibly non-writable memory, besides the nonvolatile semiconductor memory (OTP), a storage medium such as a write once type optical disc may be used. In the case of the storage medium, an area on the innermost periphery side of the disc is equivalent to the boot area.


[0054] According to the present invention, when the used memory capacity matches a predetermined setup value, a hidden area becomes accessible. In addition, according to the present invention, when data that matches predetermined data is written to a designated area, it becomes accessible. With hidden data recorded in a hidden area, a reword can be obtained. In this case, the sales of the memory apparatus can be promoted. In addition, in combination with the memory apparatus, new business models can be established.


[0055] Although the present invention has been shown and described with respect to a best mode embodiment thereof, it should be understood by those skilled in the art that the foregoing and various other changes, omissions, and additions in the form and detail thereof may be made therein without departing from the spirit and scope of the present invention.


Claims
  • 1. A memory apparatus composed of a reversibly non-writable memory, comprising: an initial data area to which initial data is pre-written; a user data area to which data prepared by the user is written; and a setup data area to which a setup state is written, wherein when data that is different from the initial data is written to said initial data area, said user area becomes non-accessible, and wherein when the used state of the memory is in the setup state, said user data area becomes accessible.
  • 2. A memory apparatus composed of a reversibly non-writable memory, comprising: a first designated area to which initial data is pre-written; a user data area to which data prepared by the user is written; and a second designated area, wherein when predetermined data that is different from the initial data is written to said first designated area, said user data area becomes non-accessible, and wherein when data having a predetermined relation with predetermined data is written to said second designated area, said user data area becomes accessible.
  • 3. The memory apparatus as set forth in claim 1, wherein the reversibly non-writable memory is a non-volatile semiconductor memory.
  • 4. The memory apparatus as set forth in claim 1, wherein attribute information is recorded to an area that is always accessible, and wherein information that represents an access restriction is recorded in the attribute information.
  • 5. The memory apparatus as set forth in claim 1, wherein data written to said user data area is data for rewarding the user.
  • 6. The memory apparatus as set forth in claim 1, wherein data written in said user data area is advertisement/commercial information.
  • 7. The memory apparatus as set forth in claim 2, wherein the reversibly non-writable memory is a non-volatile semiconductor memory.
  • 8. The memory apparatus as set forth in claim 2, wherein attribute information is recorded to an area that is always accessible, and wherein information that represents an access restriction is recorded in the attribute information.
  • 9. The memory apparatus as set forth in claim 2, wherein data written to said user data area is data for rewarding the user.
  • 10. The memory apparatus as set forth in claim 2, wherein data written in said user data area is advertisement/commercial information.
  • 11. An access restricting method for a non-volatile reversibly non-writable memory apparatus, when predetermined data is written to a first designated area of the memory apparatus, the predetermined area being access-restricted, comprising the steps of: detecting whether or not the memory apparatus has become access-restricted; causing the memory apparatus to be changed to an access restricted state when the memory apparatus has not been access-restricted; and causing the memory apparatus to be changed to an access permitted state when the memory apparatus has been access-restricted and the used state of the memory apparatus is in a predetermined state.
  • 12. An access restricting method for a nonvolatile reversibly non-writable memory apparatus, when predetermined data is written to a first designated area, a predetermined area being access-restricted, comprising the steps of: detecting whether or not the memory apparatus has been access-restricted; causing the memory apparatus to be changed to an access restricted state when the memory apparatus has not been access-restricted; and causing the memory apparatus to be changed to an access permitted state when the memory apparatus has been access-restricted and data written to a second designated area of the memory apparatus has a predetermined relation with the predetermined data.
Priority Claims (1)
Number Date Country Kind
P2000-300974 Sep 2000 JP