Management device, information processing device, and management method
First Claim
1. A management device that manages a nonvolatile memory,the nonvolatile memory including a plurality of first areas,each of the plurality of first areas including a plurality of second areas,each of the plurality of second areas being a unit of rewriting data to the nonvolatile memory by a processing circuit,the management device comprising:
- a memory; and
a hardware processor, whereinthe memory is configured to store therein a counter value for each of the plurality of first areas, andthe memory is configured to store therein a first management table capable of storing first management information about each of a predetermined number of first areas; and
the hardware processor is configured to update the counter value and the first management table and perform wear leveling control on the nonvolatile memory on the basis of the counter value for each of the plurality of first areas, whereinthe first management information indicates whether each of a plurality of second areas included in a corresponding first area has data written therein, andin response to writing of first data into the nonvolatile memory, the hardware processor is configured to;
when a state of a target second area indicated in the first management information about a target first area is an unwritten state, change the state of the target second area to a written state, the target first area being the first area into which the first data is to be written, the target second area being the second area into which the first data is to be written, andwhen the state of the target second area indicated in the first management information is the written state, set all of the second areas other than the target second area indicated in the management information to the unwritten state, and update the counter value for the target first area.
1 Assignment
0 Petitions
Accused Products
Abstract
According to an embodiment, a management device includes a counter storage unit, a first management information storage unit, and an update unit. The first management information storage unit stores a first management table capable of storing first management information about each of a predetermined number of first areas. The first management information indicates whether each second area included in a corresponding first area has data written therein. In response to writing of first data into the nonvolatile memory, when a state of a target second area indicated in the first management information about a target first area is an unwritten state, the update unit changes the state of the target second area to a written state; while when the state of the target second area indicated in the first management information is the written state, the update unit updates the counter value for the target first area.
-
Citations
15 Claims
-
1. A management device that manages a nonvolatile memory,
the nonvolatile memory including a plurality of first areas, each of the plurality of first areas including a plurality of second areas, each of the plurality of second areas being a unit of rewriting data to the nonvolatile memory by a processing circuit, the management device comprising: -
a memory; and a hardware processor, wherein the memory is configured to store therein a counter value for each of the plurality of first areas, and the memory is configured to store therein a first management table capable of storing first management information about each of a predetermined number of first areas; and the hardware processor is configured to update the counter value and the first management table and perform wear leveling control on the nonvolatile memory on the basis of the counter value for each of the plurality of first areas, wherein the first management information indicates whether each of a plurality of second areas included in a corresponding first area has data written therein, and in response to writing of first data into the nonvolatile memory, the hardware processor is configured to; when a state of a target second area indicated in the first management information about a target first area is an unwritten state, change the state of the target second area to a written state, the target first area being the first area into which the first data is to be written, the target second area being the second area into which the first data is to be written, and when the state of the target second area indicated in the first management information is the written state, set all of the second areas other than the target second area indicated in the management information to the unwritten state, and update the counter value for the target first area. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15)
-
-
13. An information processing device comprising:
-
a processing circuit; a nonvolatile memory; and a management device configured to manage the nonvolatile memory, the nonvolatile memory including a plurality of first areas, each of the plurality of first areas including a plurality of second areas, each of the plurality of second areas being a unit of rewriting data to the nonvolatile memory by a processing circuit, the management device including; a memory; and a hardware processor, wherein the memory is configured to store therein a counter value for each of the plurality of first areas, and the memory is configured to store therein a first management table capable of storing first management information about each of a predetermined number of first areas; and the hardware processor is configured to update the counter value and the first management table and perform wear leveling control on the nonvolatile memory on the basis of the counter value for each of the plurality of first areas, wherein the first management information indicates whether each of a plurality of second areas included in a corresponding first area has data written therein, and in response to writing of first data into the nonvolatile memory, the hardware processor is configured to; when a state of a target second area indicated in the first management information about a target first area is an unwritten state, change the state of the target second area to a written state, the target first area being the first area into which the first data is to be written, the target second area being the second area into which the first data is to be written, and when the state of the target second area indicated in the first management information is the written state, set all of the second areas other than the target second area indicated in the management information to the unwritten state, and update the counter value for the target first area.
-
-
14. A management method performed in a management device that manages a nonvolatile memory,
the nonvolatile memory including a plurality of first areas, each of the plurality of first areas including a plurality of second areas, each of the plurality of second areas being a unit of rewriting data to the nonvolatile memory by a processing circuit, the management device including: -
a memory, wherein the memory is configured to store therein a counter value for each of the plurality of first areas, and the memory is configured to store therein a first management table capable of storing first management information about each of a predetermined number of first areas, the first management information indicating whether each of a plurality of second areas included in a corresponding first area has data written therein, the method comprising; updating the counter value and the first management table and performing wear leveling control on the nonvolatile memory on the basis of the counter value for each of the plurality of first areas, according to writing of first data to the nonvolatile memory, changing, when a state of a target second area indicated in the first management information about a target first area is an unwritten state, the state of the target second area to a written state, the target first area being the first area into which the first data is to be written, the target second area being the second area into which the first data is to be written, and when the state of the target second area indicated in the first management information is the written state, setting all of the second areas other than the target second area indicated in the management information to the unwritten state, and updating the counter value for the target first area.
-
Specification