Embodiments described herein relate generally to a memory device equipped with a short-range radio communication chip, a memory controller, and a control method of the memory device.
Memory cards are equipped with a nonvolatile memory such as a flush memory. When memory card is loaded into a card slot of a host device, the nonvolatile memory in the memory card can be accessed from the host device.
On the other hand, attention has been paid to NFC tugs including the antenna and the chip having the NFC (Near Field Communication) function. When the NFC tug is put close to the host device having the NFC function, information can be transmitted and received between the NFC tug and the host device.
In general, according to the present embodiment, a memory device includes a nonvolatile first memory, a nonvolatile second memory having a larger capacity than the first memory, a first controller, and a second controller. The first controller registers, to the first memory, access restriction information received over a short-range radio communication by using the power generated in the short-range radio communication. At the startup of the memory device, the second controller reads access restriction information registered in the first memory and performs an access restriction to a file stored in the second memory based on the read access restriction information.
Exemplary embodiments of a memory device, a memory controller, and a control method of the memory device will be described below in detail with reference to the accompanying drawings. The present invention is not limited to the following embodiments.
The memory card 100 includes a NAND-type flash memory (hereafter, referred to as “NAND”) 10 as the nonvolatile memory, a NAND controller 20 configured to control the NAND 10, an antenna 30 supporting the NFC, an NFC controller (NFCC) 40, and a nonvolatile temporary memory 50 such as an EEPROM (Electrically Erasable Programmable Read-Only Memory).
When the memory card 100 is loaded into the host device 2, the user data designated by the host device 2 is stored in the NAND 10. The NAND 10 includes one or a plurality of memory chips. Each of the memory chips has a plurality of memory cells array in a matrix. Each of the memory cells is able to store multiple values. Each memory chip is configured by arranging a plurality of physical blocks being units of data erasing. Each of the physical blocks includes a plurality of physical pages. In the NAND 10, data write and data read are performed for each physical page.
The NAND controller 20 executes the command processing corresponding to each command received from the host device 2 when the memory card 100 is loaded into the host device 2. This command processing includes the process of reading data from the NAND 10, the process of writing data to the NAND 10, and so on. The NAND controller 20 controls the NAND 10 by using management information such as logical-physical translation information indicating the mapping of the logic address used in the host device 2 with the physical address of the NAND 10 used in the memory card 100. The NAND controller 20 executes the internal process to the NAND 10, such as the garbage collection process, the ware-leveling process, and the like in addition to the above.
The antenna 30 is an antenna for the NFC-communication, and performs transmission and reception of information with the antenna of the NFC-supported host device 1 that is put close to the memory card 100. The NFC controller 40 and the EEPROM 50 are able to operate even under the situation where the memory card 100 is not supplied with the power source. That is, in response to the action where the NFC-supported host device 1 is put close to the antenna 30 or the antenna 30 is put close to the host device 1, a magnetic field is generated from the host device 1 and the magnetic field causes an induced electromotive force to occur at the antenna 30. The induced electromotive force is utilized to operate the NFC controller 40 and the EEPROM 50.
The EEPROM 50 is a writable nonvolatile memory and is able to be accessed by the NFC controller 40 and the NAND controller 20. The data written in the EEPROM 50 can be recognized, through the NFC-communication, by the NFC-supported host device 1. Even when the memory card 100 is loaded into the card slot of the host device 2, however, the data written in the EEPROM 50 cannot be recognized by the non-NFC-supported host device 2. Any memory other than the EEPROM may be employed for a temporary memory 50 as long as it has a smaller capacity than the NAND 10, consumes less power, and is capable of the high speed access. In the EEPROM 50, the access restriction information to a file within the NAND 10 from the host device 1 is registered via the NFC controller 40.
The NFC controller 40 performs NFC-communication with the host device 1 via the antenna 30. The NFC communication allows the application installed in the host device 1 to write the data to the EEPROM 50 via the NFC controller 40 and read the data from the EEPROM 50. The reading/writing of the data from the application of the host device 1 to the EEPROM 50 is possible even when the memory card 100 is not inserted in the card slot and is not supplied with the power source, as described above.
In
In the entry of the user number 1, the user management information 30c for the first user is registered. The user management information 30c includes a mapping of a user name, a password, and one or a plurality of folder names within the NAND 10 which is accessible from the first user. In the entry of the user number 2, the user management information 30d for the second user is registered. The user management information 30d includes a mapping of a user name, a password, and one or a plurality of folder names within the NAND 10 which is accessible from the second user. In the entry of the user number 3, the user management information 30e for the third user is registered. The user management information 30e includes a mapping of a user name, a password, and one or a plurality of folder names within the NAND 10 which is accessible from the third user.
Upon starting up of the application, a massage suggesting putting the host device 1 close to the SD card is displayed as illustrated in
In
In order to enable the user management information of the first user “user1”, the user enters the user name “user1” and the password “password1” as illustrated in
Upon the completion of the initialization process, the NAND controller 20 determines whether or not there is access restriction information written in the EEPROM 50 (step S120) and, if not, terminates the startup process performed at the startup. When having detected access restriction information in the EEPROM 50, the NAND controller 20 acquires the effective user number 30a within the access restriction information from the EEPROM 50 (step S130). Furthermore, the NAND controller 20 acquires, from the EEPROM 50, the folder name registered in the entry of the user management information corresponding to the acquired effective user number 30a (step S140). Then, when there is an access to the folder of the NAND 10 from the host device 2, a part of the folders which corresponds only to the folder name acquired at step S140 is displayed, and only the part of the folders is made accessible (step S150).
As described above, in the first embodiment, the host device 1 having the NFC-communication function is used to set the folders to be made accessible within the memory card 100 on a user basis. Upon starting up of the card, the access restriction is performed according to the settings in the NFC communication. Therefore, in the first embodiment, the access restriction to the different folders is enabled for each user of the memory card, which allows the user to implement the convenient and specific access restriction. Further, by using the NFC-communication, the access restriction information can be set in a simple manner to the memory card installed in the electronic equipment that has no input device such as a photographing device, a voice recorder, and the like. Further, the NFC-communication allows the access restriction information of the file to be set in the memory card even under the situation where no card slot is provided.
It is noted that, while the folder which is allowed to be accessed is set on a user basis in the above-described embodiment, the folder which is not allowed to be accessed may be set on a user basis. Further, while the folder which is allowed to be accessed is set on a user basis in the above-described embodiment, the file which is allowed to be accessed or the file which is not allowed to be accessed may be set on a user basis. Further, while the access restriction is set for the predetermined folder “/NFC_ACCESS” in the above-described embodiment, the access restriction may be set for all the folders within the NAND 10.
In a second embodiment, the restricted is the extension indicating the type of the file to be made accessible within a NAND 10. In the second embodiment, the extension is used as the metadata and thus an access restriction is set on an extension basis.
The user management information 31c for the first user includes a mapping of a user name, a password, and one or a plurality of extension names within the NAND 10 that is accessible from the first user. The user management information 31d for the second user includes a mapping of a user name, a password, and one or a plurality of extension names within the NAND 10 that is accessible from the second user. The user management information 31e for the third user includes a mapping of a user name, a password, and one or a plurality of extension names within the NAND 10 that is accessible from the third user.
As illustrated in
Upon completion of the initialization process, the NAND controller 20 determines whether or not there is access restriction information written in an EEPROM 50 (step S220) and, if not, terminates the startup process performed at the startup. When having detected access restriction information in the EEPROM 50, the NAND controller 20 acquires the effective user number 31a within the access restriction information from the EEPROM 50 (step S230). Furthermore, the NAND controller 20 acquires, from the EEPROM 50, the extension name registered in the entry of the user management information corresponding to the acquired effective user number 31a (step S240). Then, when there is an access to the NAND 10 from the host device 2, only a part of the files having the same extension name as the extension name acquired at step S240 is displayed and only the part of the files is made accessible (step S250).
As described above, in the second embodiment, the host device 1 having the NFC-communication function is used to set the extension of the files to be made accessible within the memory card on a user basis. Upon starting up of the card, the access restriction is performed according to the settings in the NFC communication. Therefore, in the second embodiment, the access restriction to the files having the different extensions is enabled for each user of the memory card, which allows the user to implement the convenient and specific access restriction.
It is noted that, while the extension which is allowed to be accessed is set on a user basis in the above-described second embodiment, the extension which is not allowed to be accessed may be set on a user basis.
In a third embodiment, a timestamp of files to be made accessible within a NAND 10 is restricted. That is, if the timestamp (update time) of a file is within a permissible period that is set on a user basis, that file is made accessible. If the timestamp of a file is out of a permissible period, that file is not made accessible. In the third embodiment, the timestamp is used as metadata and thus an access restriction is performed on the timestamp.
The user management information 32c for the first user includes a mapping of a user name, a password, and multiple pieces of permissible period information for selecting the file to be made accessible within the NAND 10. The user management information 32d for the second user includes a mapping of a user name, a password, and multiple pieces of permissible period information for selecting the file to be made accessible within the NAND 10. The user management information 32e for the third user includes a mapping of a user name, a password, and multiple pieces of permissible period information for selecting the file to be made accessible within the NAND 10.
In the permissible period information of each user management information 32c to 32e, multiple pieces of date information and multiple pieces of period information can be set. In the period information, a start date and an end date of the period are set. The registration process of such access restriction information is performed similarly to the process illustrated in
Upon completion of the initialization process, the NAND controller 20 determines whether or not there is access restriction information written in an EEPROM 50 (step S320) and, if not, terminates the startup process performed at the startup. When having detected access restriction information in the EEPROM 50, the NAND controller 20 acquires the effective user number 32a within the access restriction information from the EEPROM 50 (step S330). Furthermore, the NAND controller 20 acquires, from the EEPROM 50, the permissible period information registered in the entry of the user management information corresponding to the acquired effective user number 32a (step S340). Then, when there is an access to the NAND 10 from the host device 2, only a part of the files having the timestamp within the range of the permissible period acquired at step S340 is displayed and only the part of the files is made accessible (step S350). When multiple periods are set as the permissible period information, the file whose timestamp is included in any of the set multiple periods is selected as the accessible file.
As described above, in the third embodiment, the host device 1 having the NFC-communication function is used to set the permissible range of the timestamp of the files to be made accessible within the memory card on a user basis. Upon starting up of the card, the access restriction is applied according to the settings in the NFC communication. Therefore, in the third embodiment, the access restriction to the files having the different timestamp is enabled for each user of the memory card, which allows the user to implement the convenient and specific access restriction.
It is noted that the above-described embodiments may be applied to memory devices other than the memory card, such as a solid state drive (SSD), a hard disk drive (HDD), and so on. Further, other than the folder, the file name, the extension, and the timestamp, other metadata such as the file size and the like may be employed as the metadata for identifying the file to be subjected to the access restriction.
While certain embodiments have been described herein, these embodiments have been presented by way of example only, and are not intended to limit the scope of the present invention. Indeed, the novel embodiments described herein may be embodied in a variety of other embodiments; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the invention. The accompanying claims and their equivalents are intended to cover such embodiments or modifications as would fall within the scope and spirit of the invention.
This application is based upon and claims the benefit of priority from U.S. Provisional Patent Application No. 62/013,867, filed on Jun. 18, 2014, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62013867 | Jun 2014 | US |