Storage system and information processing system
The described storage system addresses the challenge of limited capacity by managing data across different memory tiers based on importance and redundancy, ensuring critical life data is retained efficiently.
Patent Information
- Application Number
- JP2023046891
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The limited storage capacity of storage systems poses a challenge in retaining life data acquired by devices over an extended period, as the total data volume can exceed the system's capacity, making it difficult to store all life data long-term.
A storage system comprising non-volatile memories with a controller that manages storage periods and moves data between different memory tiers (short-term, medium-term, and long-term) based on importance and redundancy, using SLC and MLC modes to optimize storage efficiency.
The system effectively manages storage capacity by prioritizing important data for long-term retention, reducing redundancy, and optimizing the use of storage resources, ensuring that critical life data is preserved over time.
Smart Images

Figure 2024135961000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a storage system and an information processing system. [Background technology]
[0002] In recent years, information processing systems have been developed that record life data about a user to assist the user's memory. The life data includes data about the user's life, such as information the user has seen or heard, or the user's status. The information processing system includes, for example, a device that acquires the life data and a storage system that stores the acquired life data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] U.S. Pat. No. 8,014,573 [Patent Document 2] U.S. Pat. No. 10,133,917 [Patent Document 3] US Patent Application Publication No. 2021 / 0174971 Summary of the Invention [Problem to be solved by the invention]
[0004] The storage capacity of a storage system is limited. Therefore, when all of the life data acquired by a device is stored in the storage system and the total amount of stored data reaches the storage capacity of the storage system, the storage system cannot record new life data. Therefore, it is difficult to store all of the life data acquired by a device in the storage system for a long period of time.
[0005] The importance of collected life data may vary depending on the content. Therefore, a new function that can store important data for a long period of time is required.
[0006] An object of the present invention is to provide a storage system and an information processing system capable of storing important data for a long period of time. [Means for solving the problem]
[0007] According to an embodiment, a storage system includes one or more non-volatile memories and a controller. The one or more non-volatile memories include a plurality of blocks, each of which is a unit of an erase operation. When one or more data portions are stored in one or more first blocks of the plurality of blocks, the controller manages one or more possible storage periods for the one or more data portions to be stored in the one or more first blocks corresponding thereto. When a first possible storage period corresponding to a first data portion of the one or more data portions among the one or more possible storage periods is equal to or greater than a first threshold, the controller writes the first data portion to a second block different from the one or more first blocks of the plurality of blocks, and invalidates the first data portion stored in the one or more first blocks. When the first possible storage period is shorter than the first threshold and the period during which the first data portion is stored in the one or more first blocks reaches the first possible storage period, the controller invalidates the first data portion stored in the one or more first blocks. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing an example of the configuration of an information processing system including a storage system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of the configuration of (a) a second storage and (b) a third storage included in the storage system according to the embodiment. [Diagram 3]FIG. 2 is a block diagram showing an example of a plurality of storage areas in which each content is stored in a stepwise manner in the storage system according to the embodiment. [Figure 4] FIG. 2 is a diagram showing an example of the configuration of content stored in a storage system according to the embodiment. [Diagram 5] FIG. 2 is a block diagram showing an example of a configuration for analyzing content stored in a first storage in a storage system according to an embodiment. [Figure 6] FIG. 4 is a diagram showing an example in which contents stored in a first storage are compared in the storage system according to the embodiment. [Figure 7] 11 is a flowchart showing an example of a procedure for a short-term storage content deletion process executed in the storage system according to the embodiment. [Figure 8] 4 is a diagram showing an example of the configuration of content stored in blocks in a second storage in the storage system according to the embodiment. [Figure 9] 6 is a time chart showing an example of a storage period for content stored in a second storage in the storage system according to the embodiment. [Figure 10] FIG. 4 is a diagram showing an example of the configuration of a storage management table used in the storage system according to the embodiment. [Figure 11] 11 is a flowchart showing an example of the procedure of a medium-term stored content transfer process executed in the storage system according to the embodiment. [Figure 12] FIG. 11 is a diagram showing an example in which content is moved from a second storage to a third storage in the storage system according to the embodiment. [Figure 13] 1A and 1B are diagrams showing an example of content for which a new relationship is not added to the relationship graph, and an example of content for which a new relationship is added to the relationship graph, in a storage system according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Each embodiment will be described below with reference to the drawings.
[0010] FIG. 1 is a block diagram showing an example of the configuration of an information processing system 1 including a storage system 3 according to an embodiment.
[0011] The information processing system 1 is a system for continuously recording life data related to a user. The life data is data related to the user's life, experiences, etc. The life data includes, for example, information seen and heard by the user, information related to the user's condition, information related to the environment in which the user is placed, and information based on operations by the user. The recorded life data is used, for example, to assist the user's memory. The life data is also called a life log. The information processing system 1 includes a first external device 2 and a storage system 3.
[0012] The first external device 2 and the storage system 3 can be connected via a first bus 5. The first bus 5 is, for example, a USB TM (Universal Serial Bus TM ) standard, Bluetooth TM The first bus 5 is a bus that performs wired or wireless communication.
[0013] The first external device 2 is an information processing device that generates life data. The first external device 2 is a device that can be worn or carried by a user. The first external device 2 is realized, for example, as a wearable device including smart glasses and a smart watch, a smartphone, and an in-vehicle device including a drive recorder. The first external device 2 acquires information about the surroundings of the first external device 2, and generates life data based on the acquired information. The life data includes at least one of image data, audio data, and metadata. The first external device 2 transmits the generated life data to the storage system 3. Hereinafter, a case will be described in which the life data includes image data, audio data, and metadata, but the life data may be composed of some of the image data, audio data, and metadata.
[0014] The storage system 3 is a storage device including one or more non-volatile memories, and stores the life data received from the first external device 2.
[0015] Here, the case where the first external device 2 is one information processing device has been described, but the entire information processing system 1 may be realized as one information processing device, and the first external device 2 may be realized as a component incorporated in the information processing device. In other words, the information processing system 1 including the first external device 2 may be realized as a device for recording one piece of life data.
[0016] The storage system 3 can also be connected to a second external device 7 via a second bus 6. The second bus 6 can be, for example, a USB TM (Universal Serial Bus TM ) standard, Bluetooth TM The second bus 6 connects the storage system 3 and a second external device 7. The second bus 6 is a bus that performs communication in a wired or wireless manner.
[0017] The second external device 7 is an information processing device. The second external device 7 is, for example, a computing device operated by a user. The second external device 7 transmits setting information designated by the user to the storage system 3. The setting information is information for controlling the operation of the storage system 3. The setting information includes, for example, parameters used to control the period during which the life data should be stored in the storage system 3 (hereinafter also referred to as a storable period), teacher data used by the first content processing unit 431 described later, and information for identifying the range of the position indicated by the position information included in the metadata. The second external device 7 may also have a function of reading out the life data from the storage system 3. The second external device 7 may provide the life data to the user using, for example, a display or a speaker provided in the second external device 7.
[0018] 1 illustrates a case where the second external device 7 is an external device of the information processing system 1, but the information processing system 1 may be realized as an information processing device including the second external device 7. In this case, the information processing system 1 (information processing device) is realized as a smartphone including, for example, sensors such as a microphone and a camera (first external device 2), a touch screen display (second external device 7), and a memory (storage system 3).
[0019] Next, the configuration of the first external device 2 will be described.
[0020] The first external device 2 includes an image input unit 21, an audio input unit 22, and a metadata input unit 23. The life data generated by the first external device 2 is composed of data acquired by each unit of the first external device 2. In FIG. 1, the first external device 2 is realized as one device including the image input unit 21, the audio input unit 22, and the metadata input unit 23, but the first external device 2 may be realized by multiple devices each including at least one of the units. In that case, each of the multiple devices is connected to the storage system 3 via the first bus 5. As a result, the storage system 3 receives data from each of the multiple devices. In addition, the first external device 2 or a device including at least one of the components of the first external device 2 may be worn or carried by a user. In the following, it is assumed that the first external device 2 including the image input unit 21, the audio input unit 22, and the metadata input unit 23 is realized as one wearable device, and the user wears the first external device 2.
[0021] The image input unit 21 acquires image data. The image input unit 21 is a device equipped with an imaging element, for example, a camera. The image input unit 21 captures an image of the periphery of the first external device 2. The data captured by the image input unit 21 may be video data including one or more image data. The image input unit 21 associates the acquired image data with a timestamp indicating the time when the image data was acquired. The image input unit 21 captures, for example, a view seen by a user wearing the first external device 2.
[0022] The audio input unit 22 acquires audio data. The audio input unit 22 is a device equipped with a sound collector, for example, a microphone. The audio input unit 22 collects sounds around the first external device 2. The audio input unit 22 associates audio data based on the collected sounds with a timestamp indicating the time when the audio data was acquired. The audio input unit 22 collects, for example, sounds heard by a user wearing the first external device 2.
[0023] The metadata input unit 23 is a device that acquires metadata. The metadata is data including information on the image data acquired by the image input unit 21 and the audio data acquired by the audio input unit 22. The metadata includes, for example, position information of the first external device 2, biometric information of the user wearing the wearable device, environmental information around the first external device 2, time, and information based on an operation by the user. The metadata input unit 23 associates the acquired metadata with a timestamp indicating the time when the metadata was acquired.
[0024] Next, the internal configuration of the storage system 3 will be described.
[0025] The storage system 3 includes, for example, a controller 4, a Random Access Memory (RAM) 31, a first storage 32, a second storage 33, and a third storage 34. The controller 4, the RAM 31, the first storage 32, the second storage 33, and the third storage 34 are interconnected via an internal bus 30.
[0026] The controller 4 is a memory controller, which is an example of a control circuit. The controller 4 is, for example, a semiconductor device such as a System-on-a-Chip (SoC). The controller 4 writes data to the RAM 31, the first storage 32, the second storage 33, and the third storage 34. The controller 4 reads data from the RAM 31, the first storage 32, the second storage 33, and the third storage 34. The controller 4 also communicates with the first external device 2 via the first bus 5. The controller 4 communicates with the second external device 7 via the second bus 6. The controller 4 receives life data from the first external device 2 via the first bus 5.
[0027] The RAM 31 is a volatile memory. The RAM 31 is realized by, for example, a static RAM (SRAM) or a dynamic RAM (DRAM). The RAM 31 stores, for example, information used for managing the storage system 3.
[0028] The first storage 32 is a volatile semiconductor memory. The first storage 32 is, for example, a dynamic random access memory (DRAM). The first storage 32 temporarily stores the life data received by the controller 4. The life data received by the controller 4 is packed for each unit period. The life data packed for one unit period becomes one data portion. The first storage 32 stores one or more data portions. The data portions are hereinafter referred to as contents. Each of the image data, audio data, and metadata included in one content corresponds to one unit period. More specifically, each of the image data, audio data, and metadata included in one content is associated with, for example, a timestamp indicating the time included in the same unit period. In addition, the content stored in the first storage 32 is also referred to as a short-term memory content because it is a content that is temporarily stored until it is moved to the second storage 33 or deleted.
[0029] 1, the RAM 31 and the first storage 32 are illustrated as being realized as different components, but may be realized as a single volatile memory (e.g., DRAM). In this case, a part of the storage area of the DRAM is allocated as an area for storing information used to manage the storage system 3, and another part of the storage area of the DRAM is allocated as an area for temporarily storing life data.
[0030] The second storage 33 is a non-volatile semiconductor memory. The second storage 33 is, for example, a storage device or memory device including a NAND flash memory. The NAND flash memory is, for example, a flash memory including a plurality of memory cells having a two-dimensional structure or a three-dimensional structure. The NAND flash memory includes a plurality of blocks. A block is the minimum unit of erasing data stored in the NAND flash memory. Each block included in the NAND flash memory included in the second storage 33 is also referred to as a first block. Of the contents stored in the first storage 32, contents that satisfy a condition are written to the second storage 33. The contents written to the second storage 33 may include feature data that is information indicating the features of the contents. In addition, the contents stored in the second storage 33 are also referred to as medium-term storage contents because they are temporarily stored from the first storage 32 until they are moved to the third storage 34 or deleted.
[0031] The third storage 34 is a non-volatile semiconductor memory. The third storage 34 is, for example, a storage device or a memory device including a NAND type flash memory. Each block of the NAND type flash memory included in the third storage 34 is also referred to as a second block. The third storage 34 stores content that satisfies a condition among the content stored in the second storage 33. In addition, the content stored in the third storage 34 is also referred to as a long-term storage content because it is content that has been moved from the second storage 33.
[0032] Here, the storage system 3 is, for example, a solid state drive (SSD). The second storage 33 and the third storage 34 may be different chips or packages in the storage system 3, or different chips in the same package. Also, the second storage 33 and the third storage 34 may be different SSDs each including one or more NAND flash memories.
[0033] Alternatively, the second storage 33 and the third storage 34 may each be included in the storage area of one NAND flash memory. In this case, one NAND flash memory includes one or more first blocks constituting the second storage 33 and one or more second blocks constituting the third storage 34.
[0034] In the following, we will explain the case where the first storage 32 is realized by DRAM, the second storage 33 is realized by a NAND type flash memory having memory cells to which data is written in single level cell (SLC) mode, and the third storage 34 is realized by a NAND type flash memory having memory cells to which data is written in multi-level cell (MLC) mode.
[0035] The SLC mode is used when writing data to memory cells included in a block of the second storage 33. In the SLC mode, one bit of data is written per memory cell.
[0036] The MLC mode is used when writing data to memory cells included in a block of the third storage 34. In the MLC mode, two or more bits of data are written per memory cell. For example, a mode in which two bits of data are controlled to be written per memory cell is called the MLC mode, a mode in which three bits of data are controlled to be written per memory cell is called the triple level cell (TLC) mode, and a mode in which four bits of data are controlled to be written per memory cell is called the quad level cell (QLC) mode. That is, the TLC mode or the QLC mode may be used when writing data to memory cells included in a block of the third storage 34.
[0037] The number of bits of data written per memory cell of the third storage 34 is greater than the number of bits of data written per memory cell of the second storage 33. For example, assume that N bits of data are written per memory cell to the second storage 33, and M bits of data are written per memory cell to the third storage 34. In this case, N is an integer equal to or greater than 1, and M is an integer greater than N.
[0038] Next, there will be described an example of the internal configuration of the controller 4. The controller 4 includes a first interface (I / F) 41, a second interface (I / F) 42, and a Central Processing Unit (CPU) 43.
[0039] The first I / F 41 is an interface circuit configured of hardware. The first I / F 41 executes communication with the first external device 2 via the first bus 5. The first I / F 41 receives at least one of image data, audio data, and metadata from the first external device 2. The data received by the first I / F 41 may be life data including at least one of image data, audio data, and metadata.
[0040] The second I / F 42 is an interface circuit configured by hardware. The second I / F 42 executes communication with the second external device 7 via the second bus 6. The second I / F 42 receives setting information designated by the user from the second external device 7.
[0041] The CPU 43 is a processor. The CPU 43 controls the first I / F 41 and the second I / F 42. The CPU 43 also controls writing of data to the RAM 31, the first storage 32, the second storage 33, and the third storage 34. The CPU 43 loads a control program (firmware) from a ROM or a non-volatile memory (not shown) to the RAM 31. The CPU 43 executes various processes by executing the control program. For example, the CPU 43 manages data stored in the first storage 32, the second storage 33, and the third storage 34, and manages blocks included in the second storage 33 and the third storage 34.
[0042] Next, a description will be given of an example of the functional configuration of the CPU 43. The CPU 43 functions as a first content processing unit 431, a first content moving unit 432, a second content processing unit 433, a second content moving unit 434, and a third content processing unit 435, for example, by executing the above-mentioned control program.
[0043] The first content processing unit 431 executes processing related to the content stored in the first storage 32. Specifically, the first content processing unit 431 analyzes each content stored in the first storage 32, and generates feature data of each content based on the analysis result. The feature data includes, for example, an object image, image clustering information, a voiceprint, voice clustering information, and text data. The object image is image data of an object generated by processing image data included in the corresponding content. The image clustering information includes, for example, a label that is character information indicating the name of a person or thing extracted as an object from image data included in the corresponding content. The image clustering information may be generated based on not only an object image but also image data, or a temporal change in the image data or object image. In addition, the person or thing extracted as an object may have various visual features, such as an event, a phenomenon, a color, or complexity. The voiceprint is information indicating the features of the voice data included in the corresponding content. The voiceprint may be information indicating the features of sounds other than the voices of people and animals. The voice clustering information includes a label that is character information indicating the name of a person or thing identified based on the features (voiceprint) of the voice data included in the corresponding content. The voice clustering information may be extracted not only from voiceprints, but also from voice data or a combination of voice data and voiceprints. Also, the person or object to be identified may be various sound characteristics such as an event, phenomenon, tone, sound quality, type, or song. The text data includes voice text, which is character information representing spoken words or sounds in the voice data. The processing executed by the first content processing unit 431 is also referred to as short-term memory content processing.
[0044] First content processing section 431 includes an object processing section 4311 , an image clustering section 4312 , a voiceprint analysis section 4313 , an audio clustering section 4314 , and a text conversion section 4315 .
[0045] The object processing unit 4311 generates an object image. The object processing unit 4311 generates one or more object images based on image data included in the content. The object processing unit 4311 generates an object image, for example, by extracting an image of a person or object from the image data. The object processing unit 4311 associates the generated object image with the content.
[0046] The image clustering unit 4312 classifies the generated object images. The image clustering unit 4312 generates image clustering information including a corresponding label for each person or object extracted in the object image. The image clustering unit 4312 associates the generated image clustering information with the corresponding object image. The image clustering unit 4312 may generate the image clustering information based on teacher data acquired from the second external device 7 via the second I / F 42. The image clustering unit 4312 associates the generated image clustering information with the content.
[0047] The voiceprint analyzer 4313 analyzes the voice data to extract a voiceprint, which is a characteristic of the voice data. A voiceprint is a characteristic that can be used to identify the person who uttered the voice or the object that uttered the sound.
[0048] The voice clustering unit 4314 identifies the person who uttered the voice based on the voice characteristics obtained from the voice data. Alternatively, the voice clustering unit 4314 identifies the object that uttered the sound based on the characteristics obtained from the voice data. For example, the voice clustering unit 4314 uses the voiceprint extracted by the voiceprint analysis unit 4313. The voice clustering unit 4314 identifies the person or object based on, for example, teacher data acquired from the second external device 7 via the second I / F 42. The voice clustering unit 4314 generates voice clustering information including a label corresponding to the identified person or object. The voice clustering unit 4314 associates the generated voice clustering information with the content.
[0049] The text conversion unit 4315 analyzes the voice data and generates text data corresponding to sounds occurring in the voice data. When the voice data contains a voice uttered by a person, the text conversion unit 4315 generates text data indicating the contents of the speech in the voice data. When the voice data contains a sound uttered by an object, the text conversion unit 4315 generates text data indicating the sound being uttered (for example, an onomatopoeia, etc.). The text conversion unit 4315 associates the generated text data with the content.
[0050] The first content moving unit 432 executes a process of moving the content stored in the first storage 32 to the second storage 33. Specifically, when the oldest content among the contents stored in the first storage 32 is not similar to the second oldest content, the first content moving unit 432 moves the oldest content to the second storage 33. The oldest content is the content stored in the first storage 32 that has the earliest time indicated by the time information included in the metadata. The second oldest content is the content stored in the first storage 32 that has the second earliest time indicated by the time information included in the metadata. The operation of moving the target content to the second storage 33 is an operation of deleting the target content stored in the first storage 32 after writing the target content read from the first storage 32 to the second storage 33. When the oldest content is similar to the second oldest content, the first content moving unit 432 deletes the oldest content. Note that instead of deleting the oldest content, the first content moving unit 432 may delete or compress a part of the components included in the oldest content. For example, first content moving section 432 can individually delete or compress image data, audio data, and the like included in the oldest content.
[0051] The second content processing unit 433 manages the storage period corresponding to each of the contents stored in the second storage 33. Hereinafter, the time that has elapsed since the contents were stored in the second storage 33 is referred to as the storage period. The period during which the contents should be stored in the second storage 33 (the period during which the contents can be stored in the second storage 33) is referred to as the storage period. If the storage period of any of the contents stored in the second storage 33 has reached the storage period, the second content processing unit 433 invalidates this content. The invalidated content is content that will not be read out from the second storage 33. The storage period corresponding to each of the contents is set to an initial value based on the setting information 312 received via the second I / F 42. If the first content stored in the second storage 33 satisfies at least one of the one or more extension conditions, the second content processing unit 433 adds the extension period corresponding to the satisfied extension condition to the storage period corresponding to the first content. The extension period corresponding to the extension condition is set based on the setting information 312 received via the second I / F 42.
[0052] The second content moving unit 434 executes a process of moving the content stored in the second storage 33 to the third storage 34 (medium-term stored content moving process). Specifically, if the content stored in the second storage 33 includes content whose storage period has reached the first threshold value, the second content moving unit 434 moves this content to the third storage 34. The operation of moving the target content to the third storage 34 is an operation of invalidating the target content stored in the second storage 33 after the target content read from the second storage 33 is written to the third storage 34.
[0053] Furthermore, the second content moving unit 434 may move the content stored in the second storage 33 to the third storage 34 in response to an index indicating the free storage area of the second storage 33 in which data can be newly stored becoming equal to or less than a threshold. Specifically, the second content moving unit 434 writes all the content that is stored in the block in the second storage 33 in which the time when data writing started was the oldest and that has not been invalidated to the third storage 34. Then, the second content moving unit 434 invalidates all the content stored in this oldest block in the second storage 33. As a result, this oldest block becomes a block in which no valid content is stored (a free block).
[0054] The third content processing unit 435 generates the association graph 317 based on the content stored in the third storage 34. Furthermore, the third content processing unit 435 updates the association graph 317 in response to, for example, content being newly stored in the third storage 34. The association graph 317 indicates the association between the contents stored in the third storage 34. Furthermore, the third content processing unit 435 may generate the association graph 317 based on the contents stored in the second storage 33 and the third storage 34. The association between the contents is, for example, information based on object images and text data included in each content.
[0055] Next, a description will be given of the information stored in the RAM 31. The information stored in the RAM 31 includes a storage management table 311, setting information 312, an SLC active block (AB) list 313, an SLC free block (FB) list 314, an MLC active block (AB) list 315, an MLC free block (FB) list 316, and an association graph 317.
[0056] The storage management table 311 is information for managing the possible storage period, storage expiration date, and status of each piece of content stored in the second storage 33. The storage expiration date indicates the period during which the corresponding content can be stored in the second storage 33. For example, the storage expiration date is calculated as the sum of the time when the content is stored in the second storage 33 and the possible storage period.
[0057] The setting information 312 is information for controlling the operation of the storage system 3. The setting information 312 is used by the CPU 43. The setting information 312 is information designated based on, for example, an operation by a user on the second external device 7. The setting information 312 includes, for example, teacher data used by the first content processing unit 431 and parameters used by the second content processing unit 433. The setting information 312 is received from the second external device 7 via, for example, the second I / F 42. The setting information 312 may be stored in advance as an initial value of the storage system 3.
[0058] The SLC AB list 313 is a list of blocks in which at least one valid content is stored, among one or more blocks included in the second storage 33. A valid content is a content that may be read from the second storage 33.
[0059] The SLC FB list 314 is a list of one or more blocks included in the second storage 33 that do not store valid content.
[0060] The MLC AB list 315 is a list of one or more blocks included in the third storage 34, in which at least one valid content is stored.
[0061] The MLC FB list 316 is a list of one or more blocks included in the third storage 34 that do not store valid content.
[0062] The association graph 317 is information indicating an association between the contents stored in the third storage 34. Note that the association graph 317 may be information indicating an association between the contents stored in the third storage 34 and the second storage 33.
[0063] Next, a description will be given of a configuration example of the second storage 33 and the third storage 34. Fig. 2 is a block diagram showing a configuration example of (a) the second storage 33 and (b) the third storage 34 included in the storage system 3 according to the embodiment.
[0064] As shown in FIG. 2(a), the second storage 33 includes a plurality of (here, x number of) SLC blocks SBLK0 to SBLKx-1, each of which is a block capable of storing data in the SLC mode. A block is also referred to as a physical block, an erase block, a flash block, or a memory block. Each of the SLC blocks SBLK0 to SBLKx-1 includes a plurality of (here, y number of) SLC pages SP0 to SPy-1. Each of the SLC pages SP0 to SPy-1 is the minimum unit of a data write operation and a data read operation for each of the SLC blocks SBLK0 to SBLKx-1 included in the second storage 33. A data write operation is an operation for writing data. A data read operation is an operation for reading data. Each of the SLC pages SP0 to SPy-1 includes a plurality of memory cells connected to the same word line. The number of bits of data written to each of the plurality of memory cells included in the SLC pages SP0 to SPy-1 is 1.
[0065] 2(b), the third storage 34 includes a plurality (here, x number) of MLC blocks MBLK0 to MBLKx-1, each of which is a block capable of storing data in the MLC mode. Each of the MLC blocks MBLK0 to MBLKx-1 includes a plurality (here, y number) of MLC pages MP0 to MPy-1. Each of the MLC pages MP0 to MPy-1 includes a plurality of memory cells connected to the same word line. The number of bits of data written to each of the plurality of memory cells included in the MLC pages MP0 to MPy-1 is 2 or more.
[0066] For example, when the number of bits of data written per memory cell in the third storage 34 is 4 (in the case of QLC mode), the amount of data that can be written to one MLC block is about four times the amount of data that can be written to one SLC block. For this reason, even if the second storage 33 and the third storage 34 include the same number of blocks, the third storage 34 can store more data.
[0067] In SLC blocks, the time required for data write and read operations is shorter than that for MLC blocks. Therefore, data can be written and read in a shorter time for content stored in SLC blocks than for content stored in MLC blocks. Also, the number of erase operations required for SLC blocks to operate is greater than the number of erase operations required for MLC blocks to operate. In other words, SLC blocks are more suitable for operations in which data is rewritten more frequently than MLC blocks.
[0068] Next, a description will be given of the movement of content in the storage system 3. Fig. 3 is a block diagram showing an example of a plurality of storage areas in the storage system 3 that store each piece of content in stages.
[0069] The controller 4 temporarily stores the content received from the first external device 2 in the first storage 32. Then, the controller 4 moves the content that satisfies the conditions among the contents stored in the first storage 32 to the second storage 33. Furthermore, the controller 4 moves the content that satisfies the conditions among the contents stored in the second storage 33 to the third storage 34.
[0070] A specific operation will be described with reference to FIG. 3. First, the first I / F 41 of the controller 4 receives life data from the first external device 2. The controller 4 generates one piece of content by packing the received life data for each unit period. The controller 4 stores the generated content in the first storage 32. The unit period is, for example, 30 seconds. For example, the first I / F 41 may receive content that has already been packed as life data, or may receive each of the image data, audio data, and metadata that constitute the life data separately. When each of the image data, audio data, and metadata is received separately, the controller 4 generates the content by packing each piece of data acquired in one unit period with reference to the timestamp associated with each piece of data.
[0071] Specifically, for example, one piece of content is generated by packing life data acquired in a first unit period. Next, one subsequent piece of content is generated by packing life data acquired in a second unit period following the first unit period. That is, one piece of content is newly stored in the first storage 32 for each unit period (for example, every 30 seconds). Therefore, in order to be able to store new content for each unit period, it is necessary for the first storage 32 to have a free memory area available for newly storing data. Therefore, the content stored in the first storage 32 needs to be deleted periodically. Hereafter, the deletion of the content stored in the first storage 32 includes erasing the content or invalidating the content.
[0072] The first content processing unit 431 analyzes the content stored in the first storage 32 .
[0073] Based on the content analysis result by the first content processing unit 431, the first content moving unit 432 executes a process of moving the oldest content (target content) among the contents stored in the first storage 32 to the second storage 33 or deleting it without writing it to the second storage 33 (short-term memory content deleting process). Specifically, the first content moving unit 432 judges whether the target content should be moved to the second storage 33 or not. If it is judged that the target content should not be moved to the second storage 33, the first content moving unit 432 deletes the target content. If it is judged that the target content should be moved to the second storage 33, the first content moving unit 432 writes the target content to the write destination SLC block of the second storage 33. Then, when the writing of the target content is completed, the first content moving unit 432 deletes the target content stored in the first storage 32.
[0074] The first content moving unit 432 executes the short-term storage content deletion process, for example, periodically. Since the content is generated by packing the life data for each unit period, the frequency at which one content is stored in the first storage 32 is constant. That is, the free storage area of the first storage 32 in which new data can be stored is periodically consumed. Therefore, the first content moving unit 432 executes the short-term storage content deletion process periodically. Alternatively, the first content moving unit 432 may execute the short-term storage content deletion process in response to an index indicating the free storage area of the first storage 32 becoming equal to or smaller than a threshold value. The index indicating the free storage area of the first storage 32 is, for example, the size of the free storage area in the first storage 32 in which new data can be stored, or the ratio of the size of the free storage area in which new data can be stored to the storage capacity of the first storage 32.
[0075] When the write destination SLC block of the second storage 33 becomes full, the CPU 43 releases the allocation of the full SLC block to the write destination SLC block. The full SLC block is an SLC active block that has no storage area to which new data can be written. The CPU 43 then selects an arbitrary block from among the SLC free blocks registered in the SLC FB list 314. At this time, the CPU 43 may preferentially select an SLC free block that has been erased less frequently among the SLC free blocks registered in the SLC FB list 314, taking wear leveling into consideration. After executing a data erase operation on the selected SLC free block, the CPU 43 allocates the selected SLC free block to a new write destination SLC block. The CPU 43 then registers the SLC block allocated to the write destination SLC block in the SLC AB list 313.
[0076] The second content processing unit 433 manages the storage period corresponding to each piece of content stored in the second storage 33. The second content processing unit 433 determines whether or not at least one of a plurality of extension conditions is satisfied for each piece of content stored in the second storage 33. When a piece of content satisfies at least one of the plurality of extension conditions, the CPU 43 adds the extension period corresponding to the satisfied extension condition to the storage period corresponding to the piece of content.
[0077] When the storage period corresponding to any of the contents stored in the second storage 33 reaches the first threshold, the second content moving unit 434 writes the content to the write destination MLC block of the third storage 34. Then, the second content moving unit 434 invalidates the content stored in the second storage 33.
[0078] Furthermore, when the storage period of the content stored in the second storage 33 reaches the storage period corresponding to the content, the second content moving unit 434 invalidates the content stored in the second storage 33.
[0079] If an SLC block that does not store valid content is generated among the SLC blocks registered in the SLC AB list 313 excluding the write destination SLC block, the CPU 43 registers the SLC block in the SLC FB list 314.
[0080] When writing the content stored in the second storage 33 to the write destination MLC block of the third storage 34, if the write destination MLC block becomes full, the CPU 43 releases the allocation of the full MLC block to the write destination MLC block. Then, the CPU 43 selects an arbitrary block from the MLC free blocks of the third storage 34 registered in the MLC FB list 316. At this time, the CPU 43 may preferentially select an MLC free block that has been erased less frequently among the MLC free blocks registered in the MLC FB list 316, taking wear leveling into consideration. After executing the data erase operation on the selected MLC free block, the CPU 43 allocates the selected MLC free block to a new write destination MLC block. Then, the CPU 43 registers the MLC block allocated to the write destination MLC block in the MLC AB list 315.
[0081] Next, the configuration of the content will be described with reference to Fig. 4. The configuration of the content stored in the storage system 3 is shown in Fig. 4.
[0082] A content includes one or more image data, audio data, and metadata. Each piece of data included in the content is data acquired within a specific period (unit period). An identifier (ID) is assigned to the content. The identifier is information capable of identifying a corresponding piece of content.
[0083] The one or more image data are image data obtained by photographing the surroundings of the first external device 2. Each of the one or more image data is acquired by the image input unit .
[0084] The voice data is voice data collected from voices around the first external device 2. The voice data is acquired by the voice input unit 22.
[0085] The metadata includes location information of the first external device 2, time information, biometric information of the user wearing the first external device 2, environmental information around the first external device 2, information on whether the corresponding life data is important, and read count information. Each piece of information included in the metadata is acquired by, for example, the metadata input unit 23.
[0086] The location information is, for example, information indicating the location of the first external device 2 when the content is acquired. Note that the time when the content is acquired means the time when any data included in the content is acquired by the first external device 2. The location information is based on, for example, a Global Positioning System (GPS) signal received by the first external device 2. The location information is expressed, for example, by latitude and longitude.
[0087] The time information is, for example, information indicating the time when the acquisition of the content is started. Instead of the time when the acquisition of the content is started, the time information may be information indicating an arbitrary time within a unit period when the content is acquired.
[0088] The user's biological information is, for example, information indicating at least one of the user's body temperature, heart rate, dryness, and electric potential. The user's biological information may indicate an average value, a minimum value, or a maximum value within a unit period in which the content is acquired, or may indicate a value at any time within the unit period.
[0089] The environmental information around the first external device 2 is, for example, information indicating at least one of the temperature, humidity, and odor in the environment in which the user is located. The environmental information around the first external device 2 may indicate an average value, a minimum value, or a maximum value within a unit period in which the content is acquired, or may indicate a value at any time within the unit period.
[0090] Furthermore, information regarding whether or not the life data is important may be determined based on, for example, the mode of the first external device 2. Information indicating that the life data is important is attached to the life data acquired while the first external device 2 is in the first mode. The information indicating that the life data is important is, for example, an important flag set to 1. On the other hand, information indicating that the life data is not important is attached to the life data acquired while the first external device 2 is in the second mode. The information indicating that the life data is not important is, for example, an important flag set to 0. The first mode and the second mode of the first external device 2 may be switched by, for example, pressing a button (not shown) provided on the first external device 2. The button is, for example, operated by a user wearing the wearable device.
[0091] The read count information indicates the number of times the content has been read from the storage system 3. The content is read from the storage system 3, for example, by the second external device 7. The second external device 7 reads, for example, the content to be played from the storage system 3. In other words, content that has been read many times is considered to be important content that is required to be played.
[0092] Metadata is generated by the metadata input unit 23 based on at least one of these acquired data.
[0093] 4 shows an example of content given IDxxxx10. Hereinafter, the content given IDxxxx10 will be referred to as content xxxx10.
[0094] That is, the content xxxx10 includes one or more image data, audio data, and metadata. The metadata of the content xxxx10 includes location information, time information, temperature information, humidity information, body temperature information, important flag information, and read count information.
[0095] The location information indicates the location of the first external device 2 when the content xxxx10 (more specifically, the data packed as the content xxxx10) was acquired. In the example shown in Fig. 4, it is indicated that the location of the first external device 2 when the content xxxx10 was acquired is A degrees north latitude and B degrees east longitude.
[0096] The time information indicates the time when acquisition of the content xxxx10 started. In the example shown in Fig. 4, it is shown that the time when acquisition of the content xxxx10 started is 9:15:00 on Dec. 19, 2022. For example, when the unit period is 30 seconds, the content xxxx10 is a content in which life data acquired between 9:15:00 on Dec. 19, 2022 and 9:15:30 on Dec. 19, 2022 is packed.
[0097] The temperature information indicates the temperature around the first external device 2 when the content xxxx10 was acquired. This temperature is, for example, the average temperature in the unit period when the content xxxx10 was acquired. In the example shown in Fig. 4, it is indicated that the temperature around the first external device 2 when the content xxxx10 was acquired was 6.5°C.
[0098] The humidity information indicates the humidity around the first external device 2 when the content xxxx10 was acquired. This humidity is, for example, the average humidity during the unit period when the content xxxx10 was acquired. In the example shown in Fig. 4, it is indicated that the humidity around the first external device 2 when the content xxxx10 was acquired was 40%.
[0099] The body temperature information indicates the body temperature of the user wearing or carrying the first external device 2 when the content xxxx10 was acquired. This body temperature is, for example, the average body temperature of the user during the unit period when the content xxxx10 was acquired. In the example shown in Fig. 4, it is indicated that the body temperature of the user when the content xxxx10 was acquired was 35.9°C.
[0100] The importance flag information is information indicating whether the content xxxx10 is important or not. For example, the importance flag of the content acquired while the first external device 2 is in the first mode is set to "1" indicating that it is important. Also, the importance flag of the content acquired while the first external device 2 is in the second mode is set to "0" indicating that it is not important. The example shown in FIG. 4 indicates that the content xxxx10 is important (i.e., 1).
[0101] The read count information indicates the number of times that the content xxxx10 has been read from the storage system 3. The content xxxx10 is read from the storage system 3 by, for example, the second external device 7. In the example shown in Fig. 4, it is indicated that the number of times that the content xxxx10 has been read from the storage system 3 is 0. In other words, the content xxxx10 has never been read from the storage system 3.
[0102] Next, a process for acquiring feature data of a content (short-term memory content process) will be described. Fig. 5 is a block diagram showing an example of a configuration for analyzing content stored in the first storage 32. As shown in Figs.
[0103] The feature data includes, for example, an object image and image clustering information generated from the image data, a voiceprint generated from the voice data, and text data. The image clustering information includes a label generated based on the image data. The voice clustering information includes a label generated based on the voice data. The text data includes a voice text generated based on the voice data. The generated feature data may be added to the corresponding content. The object image is partial image data representing a specific person or object from the image data. The object image is, for example, an image obtained by cutting out only an area in which a specific person is shown from a captured image, and an image obtained by cutting out only an area in which a specific object is shown from a captured image. The label included in the image clustering information is, for example, text representing the name of a person or object shown in the object image. The label included in the voice clustering information is, for example, text representing the name of a person or object corresponding to the voiceprint. Moreover, the voice text, which is data generated based on the voice data, is text data representing words pronounced or sounds uttered in the voice data. The voice text may include text representing environmental sounds as onomatopoeia in addition to words pronounced by people. Environmental sounds include, for example, the sound of rain, the sound of cars, the voices and sounds made by living things, and the like.
[0104] Here, it is assumed that short-term memory content processing is executed on content xxxx10. In this case, the first content processing unit 431 acquires feature data of content xxxx10.
[0105] First, the process of acquiring a part of the characteristic data of the content xxxx10 from the image data included in the content xxxx10 will be described.
[0106] The object processing unit 4311 generates an object image from each of one or more image data included in the content xxxx10. The object processing unit 4311 generates an object image by extracting an area including an object from the image data. The object processing unit 4311 associates the generated object image with the content xxxx10. The object is, for example, a person or an object. The object processing unit 4311 can generate one or more object images from one image data.
[0107] Next, the image clustering unit 4312 classifies the generated object images based on the objects included in the object images. For example, two or more object images including the same person or object are classified as object images of the same group. At this time, the image clustering unit 4312 may classify the object images based on the teacher data received by the second I / F 42 or content analyzed in the past. In addition, the image clustering unit 4312 may classify the object images using the setting information 312 that the storage system 3 stores independently. The image clustering unit 4312 associates the labels corresponding to the classified object images with the content xxxx10 as image clustering information. For example, a label indicating the name of a person or thing indicated by an object included in the classified object image is associated with the classified object image. Since the object image is an image including a person or thing, one or more labels may be associated with one object image. Note that the image clustering unit 4312 may generate image clustering information based on not only the object images but also the image data included in the content xxxx10. Furthermore, the image clustering unit 4312 may generate image clustering information based on the image data included in the content xxxx10 or the change over time of the associated object image.
[0108] Next, a process for acquiring another part of the feature data of content xxxx10 from the audio data included in content xxxx10 will be described.
[0109] The voiceprint analysis unit 4313 and the voice clustering unit 4314 identify clustering targets from the voice data included in the content xxxx10. The voiceprint analysis unit 4313 generates a voiceprint indicating a characteristic voice from the voice data. The voiceprint analysis unit 4313 associates the generated voiceprint with the content xxxx10. The voice clustering unit 4314, for example, distinguishes a person's voice from the voiceprint and identifies the person who is making the voice. The voice clustering unit 4314 also identifies an object that is making the sound, such as an animal's voice or sound, an environmental sound, or an object's sound, from the voiceprint. At this time, the voiceprint analysis unit 4313 and the voice clustering unit 4314 identify the person who made the voice or the object that made the sound based on the teacher data received by the second I / F 42 or the content that has been analyzed in the past. The voice clustering unit 4314 may also identify the person who made the voice or the object that made the sound from the voiceprint using the setting information 312 that the storage system 3 uniquely stores. The voice clustering unit 4314 may, for example, identify a name from a person's voice, a bird's name from a bird's song, the sound of waves from environmental sounds, or a car model from a car engine sound. For example, if the person who made the voice or the object who made the sound can be identified, the voice clustering unit 4314 associates a label indicating the name of the identified person with the content xxxx10 as voice clustering information. On the other hand, if the person who made the voice or the object who made the sound cannot be identified, the voiceprint analysis unit 4313 and the voice clustering unit 4314 may record the person who made the voice or the object who made the sound in this voice data as a new person or object. In addition, the voice clustering unit 4314 may generate multiple pieces of voice clustering information from one voiceprint. For example, the voice clustering unit 4314 may generate voice clustering information indicating the car model and voice clustering information indicating the engine operating status from a voiceprint extracted from the engine sound of a car. Furthermore, the voice clustering unit 4314 may generate voice clustering information based on voice data included in the content xxxx10, in addition to the voiceprint.
[0110] Further, the text conversion unit 4315 generates a voice text based on the voice data. The text conversion unit 4315 analyzes the spoken words and sounds in the voice data and converts them into sentences. That is, the text conversion unit 4315 converts human voices, environmental sounds, and the like into sentences. The text conversion unit 4315 associates the voice text indicating the converted sentences with the content xxxx10 as text data.
[0111] The object image, voiceprint, image clustering information, audio clustering information, and text data generated in the short-term memory content processing may be added to the content xxxx10 when the content xxxx10 is moved from the first storage 32 to the second storage 33. Alternatively, the object image, voiceprint, image clustering information, audio clustering information, and text data may be stored in the first storage 32 together with the content xxxx10.
[0112] Next, the short-term memory content deletion process by the first content moving unit 432 will be described. As described above, the short-term memory content deletion process is a process of moving the oldest content among the contents stored in the first storage 32 to the second storage 33 or deleting it without writing it to the second storage 33 based on the content analysis result by the first content processing unit 431. The first content moving unit 432 starts the short-term memory content deletion process, for example, in response to the size of the free storage area of the first storage 32 becoming equal to or smaller than a threshold. In the short-term memory content deletion process, the first content moving unit 432 compares chronologically consecutive contents stored in the first storage 32.
[0113] The first content moving unit 432 selects the oldest content as the first target content among the contents stored in the first storage 32. The first content moving unit 432 determines whether the first target content and the second oldest content after the first target content are similar to each other.
[0114] The first content moving unit 432 uses the feature data when determining whether or not two contents are similar. For example, the first content moving unit 432 determines whether or not there is feature data that is not common to the feature data included in each of the two contents. For example, when one content has feature data that the other does not have, the first content moving unit 432 determines that these two contents are not similar.
[0115] When the first target content and the second oldest content are similar to each other, the first content moving unit 432 deletes the first target content from the first storage 32.
[0116] When the first target content and the second oldest content are not similar to each other, the first content moving unit 432 writes the first target content to the second storage 33. Then, in response to writing the first target content to the second storage 33, the first content moving unit 432 deletes the first target content from the first storage 32.
[0117] That is, regardless of whether the first target content and the next oldest content are similar to each other, the first target content is deleted from the first storage 32. Therefore, the first content moving unit 432 can increase the size of the free storage area of the first storage 32 by executing the short-term stored content deletion process.
[0118] A more specific description will be given using the example shown in Fig. 6. Fig. 6 is a diagram showing an example in which contents stored in the first storage 32 are compared. First, the first content moving unit 432 selects the content xxxx10 from the contents stored in the first storage 32 as the first target content. The content xxxx10 is the oldest content among the contents stored in the first storage 32. The first content moving unit 432 selects the content whose metadata indicates the oldest time among the contents stored in the first storage 32 as the first target content.
[0119] Then, the first content moving unit 432 determines whether the content xxxx11, which is the second oldest content among the contents stored in the first storage 32, is similar to the content xxxx10. The content xxxx10 is a content packed with life data acquired between 9:15:00 on December 19, 2022 and 9:15:30 on December 19, 2022, and the content xxxx11 is a content packed with life data acquired between 9:15:30 on December 19, 2022 and 9:16:00 on December 19, 2022. Therefore, the content xxxx10 and the content xxxx11 are contents that are consecutive in time.
[0120] When the content xxxx10 and the content xxxx11 are similar to each other, the first content moving unit 432 determines that the redundancy of the content xxxx10 is high. In this case, the first content moving unit 432 deletes the content xxxx10 from the first storage 32.
[0121] Furthermore, if the content xxxx10 and the content xxxx11 are not similar, the first content moving unit 432 determines that the redundancy of the content xxxx10 is low. In this case, the first content moving unit 432 writes the content xxxx10 to the second storage 33. Then, the first content moving unit 432 deletes the content xxxx10 stored in the first storage 32.
[0122] When the contents are compared after the first target content xxxx10 is deleted, the first content moving unit 432 selects the oldest content xxxx11 from among the contents stored in the first storage 32 as a new first target content. Then, the above-mentioned process is executed in the same manner. As a result, when two or more pieces of content that are chronologically consecutive and similar are stored in the first storage 32, the first content moving unit 432 writes only the oldest content from among the two or more pieces of content to the second storage 33. The first content moving unit 432 repeatedly executes the short-term memory content deletion process while the size of the free storage area of the first storage 32 is equal to or smaller than the threshold value.
[0123] Next, the procedure of the short-term memory content deletion process will be described. Fig. 7 is a flowchart showing an example of the procedure of the short-term memory content deletion process executed in the storage system 3. The short-term memory content deletion process is a process of moving the content stored in the first storage 32 to the second storage 33, or deleting the content without writing it to the second storage 33. The first content moving unit 432 executes the short-term memory content deletion process when the size of the free storage area in the first storage 32 that can newly store data is equal to or smaller than a threshold value.
[0124] First, the first content moving unit 432 selects the oldest content among the contents stored in the first storage 32 as the first target content (S101). The first content moving unit 432 selects, for example, a content having metadata including time information indicating the oldest time as the first target content.
[0125] The first content moving unit 432 determines whether the first target content selected in S101 has been analyzed (S102). For example, in a case where a short-term memory content deletion process has been executed for a content older than the first target content, the feature data associated with the first target content has already been acquired because the first target content has been analyzed in the executed short-term memory content deletion process. Also, for example, in a case where a short-term memory content deletion process is executed for the first time, the first target content has not been analyzed, and the feature data associated with the first target content has not been acquired.
[0126] If the first target content has not been analyzed yet (No in S102), the first content processing unit 431 analyzes the first target content (S103). Specifically, the first content processing unit 431 executes a short-term memory content process, which is a process for acquiring feature data of the first target content. As a result, the first content processing unit 431 generates feature data including an object image, a voiceprint, text data, image clustering information, and voice clustering information corresponding to the first target content, and associates the generated feature data with the first target content.
[0127] If the first target content has been analyzed (Yes in S102), or after the analysis in S103 is completed, the first content processing unit 431 analyzes the next oldest content (hereinafter referred to as the comparison content) after the first target content among the contents stored in the first storage 32 (S104). Specifically, the first content processing unit 431 executes a short-term memory content process, which is a process of acquiring feature data of the comparison content. As a result, the first content processing unit 431 generates feature data including an object image, a voiceprint, text data, image clustering information, and voice clustering information corresponding to the comparison content, and associates the generated feature data with the comparison content.
[0128] The first content moving unit 432 determines whether the first target content and the comparison content are similar to each other (S105). For example, the first content moving unit 432 determines whether the first target content and the comparison content are similar to each other by comparing the feature data associated with the first target content with the feature data associated with the comparison content analyzed in S104.
[0129] If the first target content and the comparison content are similar (Yes in S105), the first content moving unit 432 deletes the first target content selected in S101 from the first storage 32 (S106), and ends the short-term storage content deletion process.
[0130] If the first target content and the comparison content are not similar (No in S105), the first content moving unit 432 stores the first target content in the write destination SLC block of the second storage 33 (S107). Then, the first content moving unit 432 deletes the first target content selected in S101 from the first storage 32 (S106), and ends the short-term storage content deletion process.
[0131] In this way, the first content moving unit 432 can select the content stored in the storage system 3 by determining whether or not to move each of one or more contents stored in the first storage 32 to the second storage 33. Specifically, if the contents that are consecutive in time are similar, the old content is deleted without being written to the second storage 33. If the contents that are consecutive in time are not similar, the old content is written to the second storage 33 and deleted. Therefore, among a group of contents that are consecutive in time and similar, the content written to the second storage 33 is the oldest content. Furthermore, the content of the first storage 32 is not written to the third storage 34. As a result, in the storage system 3 of this embodiment, it is possible to avoid storing redundant content in the second storage 33 and the third storage 34 compared to a case where all contents are unconditionally stored in a non-volatile memory device. Therefore, the storage areas of the second storage 33 and the third storage 34 can be effectively used.
[0132] Next, the storage of contents in the second storage 33 will be described. Fig. 8 is a diagram showing an example of the configuration of contents stored in blocks in the second storage 33. Here, a case is illustrated in which a plurality of contents are stored in the SLC block SBLK0 in the second storage 33. Note that the other SLC blocks in the second storage 33 may also store a plurality of contents in a similar manner.
[0133] The contents (ID: xxxx10, xxxx20, xxxx30, ...) stored in the SLC block SBLK0 include feature data generated in the short-term memory content processing in addition to the life data (i.e., image data, audio data, and metadata) received from the first I / F 31. The feature data includes at least one of an object image, a voiceprint, image clustering information, audio clustering information, and text data. The text data includes, for example, audio text.
[0134] The content stored in an SLC block may have a fixed data size.
[0135] Next, a description will be given of the movement of content from an SLC block in the second storage 33 to an MLC block in the third storage 34. The second content processing unit 433 and the second content moving unit 434 perform (1) a process of moving content based on a storage period, and (2) a process of moving content based on an index indicating the free storage space in the second storage 33.
[0136] First, with reference to Fig. 9 to Fig. 11, (1) the process of moving content based on the storage allowable period for the content stored in the second storage 33 shown in Fig. 8 will be described. Fig. 9 is a time chart showing an example of the storage allowable period for the content stored in the second storage 33.
[0137] A storage period t_keep_total is set for each content stored in the SLC block. The initial value of the storage period t_keep_total is the standard storage period t_keep. The standard storage period t_keep is determined, for example, based on the setting information 312. The second content processing unit 433 acquires the storage period T_limit by adding the storage period t_keep_total to the storage time T_event of the content. The storage time T_event is the time when the corresponding content is stored in the second storage 33. The storage period T_limit is the time indicating the period during which the corresponding content can be stored in the second storage 33. That is, the content may be stored in the second storage 33 until the current time T_current reaches the storage period T_limit corresponding to the content. The second content processing unit 433 compares the acquired storage period T_limit with the current time T_current. When the current time T_current reaches the storage limit T_limit, the second content processing section 433 determines that the storage period t_keep_total has expired, and invalidates the corresponding content in the second storage 33.
[0138] In addition, the second content processing unit 433 judges whether each of the contents stored in the SLC block satisfies at least one of the one or more extension conditions. If a certain content satisfies at least one of the one or more extension conditions, the second content processing unit 433 adds the extension period t_postpone corresponding to the at least one satisfied extension condition to the storable period t_keep_total corresponding to the content.
[0139] The one or more extension conditions include, for example, that information specified in the setting information 312 (e.g., a person, an object, a location, etc.) is included in the metadata of the content, that the number of reads included in the metadata of the content exceeds a threshold, that the value of the importance flag included in the metadata of the content is set to 1, that the metadata of the content is different from normal, and that the metadata includes the same text data as the text data included in the content newly written to the second storage 33. The extension period t_postpone differs for each extension condition, for example. Note that the extension period t_postpone may be the same for some or all of the extension conditions. Specifically, for example, when any of the parameters included in the metadata is an outlier of 3σ or more, the second content processing unit 433 determines that the metadata is different from normal, and determines that the content including this metadata satisfies the extension condition. σ is the standard deviation in the normal distribution of any parameter included in the metadata. Furthermore, if a certain content satisfies two or more extension conditions, the second content processing unit 433 adds two or more extension periods t_postpone corresponding to the two or more satisfied extension conditions, respectively, to the storable period t_keep_total of that content.
[0140] The second content moving unit 434 judges whether the updated storage period t_keep_total has reached a threshold value t_long, which is a first threshold value. The threshold value t_long is a threshold value for judging whether the content is to be moved to an MLC block in the third storage 34. The threshold value t_long is, for example, longer than the standard storage period t_keep. The threshold value t_long is determined, for example, based on the setting information 312.
[0141] When the updated storage period t_keep_total reaches the threshold value t_long, the second content moving unit 434 moves the corresponding content to the third storage 34. Specifically, the second content moving unit 434 writes this content to the third storage 34 and then invalidates this content in the second storage 33.
[0142] If the updated storage period t_keep_total has not reached the threshold value t_long and the storage period t_keep_total has not expired, the second content moving unit 434 keeps the corresponding content stored in the SLC block in the second storage 33.
[0143] 9 illustrates the passage of time until each of the contents xxxx10, xxxx20, and xxxx30 stored in the SLC block is invalidated. Here, the save time T_event of the content xxxx10 is time T11. The save time T_event of the content xxxx20 is time T12. The save time T_event of the content xxxx30 is time T13.
[0144] For example, in response to the content xxxx10 being stored in the SLC block (second storage 33), the second content processing unit 433 sets the standard storage period t_keep as the storage period t_keep_total of the content xxxx10. In the example shown in FIG. 9, the content xxxx10 does not satisfy any of the extension conditions, so the second content processing unit 433 does not extend the storage period t_keep_total of the content xxxx10. Also, in the example shown in FIG. 9, the storage period t_keep_total corresponding to the content xxxx10 is shorter than the threshold value t_long, so the second content processing unit 433 does not move the content xxxx10 to the MLC block (third storage 34). The second content processing unit 433 judges whether the current time T_current has reached the storage period T_limit of the content xxxx10. The storage limit T_limit of the content xxxx10 is time T14 obtained by adding the storage time T_event (=time T11) of the content xxxx10 to the storage limit t_keep_total (here, the standard storage limit t_keep). Then, the second content processing unit 433 invalidates the content xxxx10 stored in the SLC block in response to the current time T_current reaching time T14, which is the storage limit T_limit of the content xxxx10.
[0145] Also, for example, when the content xxxx20 is stored in an SLC block, the second content processing unit 433 sets the standard storage period t_keep as the storage period t_keep_total of the content xxxx20. When the content xxxx20 satisfies one of the extension conditions, the second content processing unit 433 adds the extension period t_postpone corresponding to the extension condition to the storage period t_keep_total. As a result, the storage period t_keep_total corresponding to the content xxxx20 becomes the sum of the standard storage period t_keep and the extension period t_postpone corresponding to the extension condition. In the example shown in FIG. 9, since the storage period t_keep_total corresponding to the content xxxx20 is shorter than the threshold value t_long, the second content processing unit 433 does not move the content xxxx20 to the MLC block. Also, the second content processing unit 433 judges whether the current time T_current has reached the storage period T_limit of the content xxxx20. The storage limit T_limit of the content xxxx20 is time T16 obtained by adding the storage time T_event (=T12) of the content xxxx20 and the storage period t_keep_total (here, the standard storage period t_keep+extension period t_postpone). The second content processing unit 433 invalidates the content xxxx20 stored in the SLC block in response to the current time T_current reaching time T16, which is the storage limit T_limit of the content xxxx20.
[0146] Furthermore, the second content processing unit 433 sets the standard storage period t_keep as the storage period t_total of the content xxxx30 in response to the content xxxx30 being stored in an SLC block, for example. In response to the content xxxx30 satisfying two extension conditions, the second content processing unit 433 updates the storage period t_keep_total by adding the two extension periods t_postpone corresponding to the two extension conditions, respectively, to the storage period t_keep_total. Here, it is assumed that the two extension periods t_postpone corresponding to the two extension conditions, respectively, have the same value. In this case, the storage period t_keep_total corresponding to the content xxxx30 is the sum of the standard storage period t_keep and the period obtained by doubling the extension period t_postpone. As a result, the storage period T_limit of the content xxxx30 becomes the time T17. The second content moving unit 434 judges whether the updated storage period t_keep_total of the content xxxx30 reaches the threshold value t_long in response to the update of the storage period t_keep_total of the content xxxx30. In the example shown in Fig. 9, the second content moving unit 434 writes the content xxxx30 to the MLC block at the time T15 when it is judged that the storage period t_keep_total of the content xxxx30 reaches the threshold value t_long (for example, the time when the storage period t_keep_total is updated). Then, the second content moving unit 434 invalidates the content xxxx30 stored in the SLC block.
[0147] The second content movement unit 434 manages the storage of content in the second storage 33, for example, by using the storage management table 311. FIG.
[0148] The storage management table 311 includes a plurality of entries corresponding to a plurality of contents respectively. Each of the plurality of entries is generated, for example, in response to the corresponding content being stored in an SLC block (second storage 33), and added to the storage management table 311. Also, each of the plurality of entries is deleted from the storage management table 311 in response, for example, to the corresponding content being invalidated in the SLC block. Each of the plurality of entries includes an identifier (ID) field, a storage period field, a storage expiration field, and a status field.
[0149] The identifier (ID) field indicates the ID of the corresponding content.
[0150] The storage period field indicates the storage period t_keep_total of the corresponding content. The second content moving unit 434 refers to the storage period field and determines whether the storage period t_keep_total of the corresponding content is equal to or greater than the threshold t_long for writing the content to the MLC block.
[0151] The storage limit field indicates the storage limit T_limit (=storage time T_event+storable period t_keep_total) of the corresponding content. The second content moving unit 434 refers to the storage limit field to determine whether the current time T_current has reached the storage limit T_limit.
[0152] The status field indicates the state of the corresponding content. If the corresponding content's storage period t_keep_total is less than the threshold t_long and the current time T_current has reached the storage period T_limit, the status field is set to, for example, "invalid", which indicates that the content is invalidated in the SLC block. If the corresponding content's storage period t_keep_total is less than the threshold t_long and the current time T_current has not reached the storage period T_limit, the status field is set to, for example, "keep alive", which indicates that the content is maintained in the SLC block. If the corresponding content's storage period t_keep_total is equal to or greater than the threshold t_long and the current time T_current has not reached the storage period T_limit, the status field is set to, for example, "move", which indicates that the content is moved from the SLC block to the MLC block.
[0153] FIG. 10 illustrates an example of the state of the storage management table 311 at time T15 when managing the storage of the contents xxxx10, xxxx20, and xxxx30 described above with reference to FIG.
[0154] First, the entry corresponding to the content xxxx10 will be described.
[0155] In the entry corresponding to the content xxxx10, the ID field indicates the ID of the content xxxx10.
[0156] The storage period field indicates the storage period t_keep_total_10 of the content xxxx 10. The second content moving unit 434 determines that the storage period t_keep_total_10 is less than the threshold value t_long. This is because the storage period t_keep_total_10 of the content xxxx 10 has not been extended and is equal to the standard storage period t_keep.
[0157] The storage limit field indicates the storage limit T_limit_10 of the content xxxx 10. The second content moving unit 434 determines that the current time T_current (here, time T15) has reached the storage limit T_limit_10.
[0158] The status field indicates invalid because the content xxxx10 stored in the SLC block was invalidated at time T14, which is prior to time T15.
[0159] Note that, here, we have described a case where the information of the entry corresponding to content xxxx10 remains in the storage management table 311 at time T15, but the entry corresponding to content xxxx10 may be erased from the storage management table 311 after invalidation is set in the status field, or after content xxxx10 is invalidated in the SLC block.
[0160] Next, the entry corresponding to the content xxxx20 will be described.
[0161] In the entry corresponding to the content xxxx20, the ID field indicates the ID of the content xxxx20.
[0162] The storage period field indicates the storage period t_keep_total_20 of the content xxxx 20. The second content moving unit 434 determines that the storage period t_keep_total_20 is less than the threshold value t_long. This is because the storage period t_keep_total of the content xxxx 20 has been extended once, but has not yet reached the threshold value t_long.
[0163] The storage limit field indicates the storage limit T_limit_20 of the content xxxx 20. The second content moving unit 434 determines that the current time T_current (here, time T15) has not reached the storage limit T_limit_20.
[0164] The status field indicates persistence, which indicates that at time T15, the content xxxx20 remains in a valid state in which it can be read from the SLC block.
[0165] Next, the entry corresponding to the content xxxx30 will be described.
[0166] In the entry corresponding to the content xxxx30, the ID field indicates the ID of the content xxxx30.
[0167] The storage period field indicates the storage period t_keep_total_30 of the content xxxx 30. The second content moving unit 434 determines that the storage period t_keep_total_30 is equal to or greater than the threshold t_long. This is because the content xxxx 30 has satisfied the two extension conditions, and thus the storage period t_keep_total of the content xxxx 30 has been extended and reached the threshold t_long.
[0168] The storage limit field indicates the storage limit T_limit_30. The second content moving section 434 determines that the current time T_current (here, time T15) has not reached the storage limit T_limit_30.
[0169] The status field indicates moving, because at time T15, it was determined that the content xxxx30 is the content that should be moved from the SLC block to the MLC block.
[0170] Note that, here, we have described a case where the information of the entry corresponding to content xxxx30 remains in the storage management table 311 at time T15, but the entry corresponding to content xxxx30 may be erased from the storage management table 311 after content xxxx30 is moved from the SLC block to the MLC block.
[0171] Next, the procedure of the medium-term stored content transfer process will be described. Fig. 11 is a flowchart showing an example of the procedure of the medium-term stored content transfer process executed in the storage system 3. The medium-term stored content transfer process is a process for transferring content stored in the second storage 33 to the third storage 34. The second content processing unit 433 and the second content transfer unit 434 execute the medium-term stored content transfer process, for example, in response to new content being written to the second storage 33. Alternatively, the second content processing unit 433 and the second content transfer unit 434 may periodically circulate the content stored in the second storage 33 and execute the medium-term stored content transfer process.
[0172] First, the second content processing unit 433 selects the content newly written in the SLC block in the second storage 33 as the second target content (S201). Alternatively, the second content processing unit 433 may select the second target content from the content newly stored in the second storage 33 after the previous medium-term storage content transfer process.
[0173] The second content processing unit 433 sets the storable period t_keep_total and the storage limit T_limit of the second target content based on the standard storable period t_keep included in the setting information 312 and the time T_event when the second target content is stored in the second storage 33 (S202). Specifically, the second content processing unit 433 sets the standard storable period t_keep as the storable period t_keep_total of the second target content. Then, the second content processing unit 433 sets the storage limit T_limit of the second target content to the time T_event when the second target content is stored in the second storage 33 plus the storable period t_keep_total of the second target content. The storage time T_event corresponding to each content may be, for example, the time when the content is selected as the second target content for the first time, or may be recorded in the storage management table 311 when the content is stored in the second storage 33.
[0174] The second content processing unit 433 determines whether or not there is an extension condition that has not been applied to the second target content (S203). That is, the second content processing unit 433 determines whether or not the second target content newly satisfies at least one extension condition among the one or more extension conditions.
[0175] If there is an extension condition that has not been applied to the second target content (Yes in S203), the second content processing unit 433 adds the extension period t_postpone corresponding to the unapplied extension condition to each of the possible storage period t_keep_total and the storage limit T_limit of the second target content (S204). That is, the second content processing unit 433 adds the extension period t_postpone corresponding to the unapplied extension condition to the possible storage period t_keep_total of the second target content. Also, the second content processing unit 433 adds the extension period t_postpone corresponding to the unapplied extension condition to the storage limit T_limit of the second target content.
[0176] Then, the second content movement unit 434 judges whether or not the storable period t_keep_total updated in S204 is less than the threshold value t_long (S205).
[0177] If the storable period t_keep_total is equal to or greater than the threshold value t_long (No in S205), the second content moving unit 434 writes the second target content to the write destination MLC block of the third storage 34 (S206). At this time, the second content moving unit 434 updates, for example, the information set in the status field in the entry of the storage management table 311 corresponding to the second target content to "moved."
[0178] Next, the second content moving unit 434 invalidates the second target content stored in the SLC block (S207). At this time, the second content moving unit 434 updates, for example, the information set in the status field in the entry of the storage management table 311 corresponding to the second target content to invalid.
[0179] Furthermore, if the storage period t_keep_total is less than the threshold value t_long (Yes in S205), the second content processing unit 433 again determines whether or not there is an extension condition that has not yet been applied to the second target content (S203). Note that, if the medium-term stored content transfer process is executed periodically, the second content processing unit 433 may end the medium-term stored content transfer process if the storage period t_keep_total is less than the threshold value t_long (Yes in S205).
[0180] If there is no unapplied extension condition for the second target content (No in S203), the second content processing unit 433 determines whether the current time T_current is earlier than the storage limit T_limit of the second target content (S208).
[0181] If the current time T_current is earlier than the storage limit T_limit (Yes in S208), the second content processing unit 433 again determines whether or not there is an extension condition that has not been applied to the second target content (S203). Note that, if the medium-term stored content transfer process is executed periodically, the second content processing unit 433 may end the medium-term stored content transfer process if the current time T_current is earlier than the storage limit T_limit (Yes in S208).
[0182] If the current time T_current is a time on or after the storage limit T_limit (No in S208), the second content processing unit 433 invalidates the second target content stored in the SLC block (S207). At that time, the second content processing unit 433 updates, for example, the information set in the status field in the entry of the storage management table 311 corresponding to the second target content to invalid.
[0183] By the above-described medium-term storage content transfer process, the second content processing section 433 and the second content transfer section 434 can transfer the content from the second storage 33 (SLC block) to the third storage 34 (MLC block) based on the storage period.
[0184] Next, a description will be given of (2) the process of moving content based on an index indicating the free storage area of the second storage 33. Fig. 12 is a diagram showing an example in which content is moved from the second storage 33 to the third storage .
[0185] The second content moving unit 434 selects a block (SLC block) from among the active blocks of the second storage 33, which has the oldest data writing start time, in response to the index indicating the free storage area in which data can be newly stored in the second storage 33 becoming equal to or less than the second threshold value. This block is called, for example, a third block. The index indicating the free storage area in which data can be newly stored in the second storage 33 is, for example, the size of the free storage area in the second storage 33 in which data can be newly stored, or the number of free blocks registered in the SLC FB list 314. The second content moving unit 434 writes all of the non-invalidated content stored in the third block to the third storage 34. That is, the second content moving unit 434 selects only valid content from among the content stored in the third block and writes it to the third storage 34. In response to the completion of writing all of the valid content in the third block to the third storage 34, the second content moving unit 434 invalidates all of the valid content in the third block. As a result, the third block becomes a free block that does not include valid content. The second content moving unit 434 registers the third block in the SLC FB list 314 .
[0186] 12 shows an example in which the second storage 33 includes a plurality of SLC blocks 0, 1, 2, ..., n, and data writing is started in the order of SLC block 0, SLC block 1, SLC block 2, .... Also, it is assumed that the write destination MLC block in the third storage 34 is MLC block 0.
[0187] When the number of free blocks registered in the SLC FB list 314 becomes equal to or less than the second threshold, the second content moving unit 434 selects the block (here, SLC block 0) from SLC blocks 0, 1, 2, ... n contained in the second storage 33 in which data writing began the oldest.
[0188] Second content mover 434 writes contents 11, 15, 17, and 22 stored in the selected SLC block 0 to destination MLC block 0. Contents 11, 15, 17, and 22 are valid contents (i.e., contents that have not been invalidated) stored in SLC block 0. Contents that have been invalidated after being stored in SLC block 0 are not shown in FIG. 12. The invalidated contents in SLC block 0 are not read from SLC block 0, and therefore are not written to MLC block 0.
[0189] When the operation of writing all valid content stored in SLC block 0 to MLC block 0 is completed, second content moving unit 434 invalidates all valid content stored in SLC block 0. As a result, SLC block 0 becomes a free block that does not store valid content. Therefore, CPU 43 cancels the registration of SLC block 0 from SLC AB list 313. Then, CPU 43 registers SLC block 0 in SLC FB list 314.
[0190] Therefore, the second content moving unit 434 can increase the number of free blocks registered in the SLC FB list 314 by the process of moving the content based on the index indicating the free memory area of the second storage 33. In other words, the second content moving unit 434 can increase the size of the free memory area in the second storage 33 that can newly store data.
[0191] Next, a case where the association graph 317 is generated by the third content processing unit 435 will be described. The association graph 317 indicates an association between contents stored in the third storage 34. When the association graph 317 is used as one of the conditions for extending the storable period t_keep_total by the second content processing unit 433, the third content processing unit 435 generates the association graph 317. When the content stored in the second storage 33 is a content that adds a new association to the association graph 317, the second content processing unit 433 extends the storable period t_keep_total of the content. FIG. 13 is a diagram showing an example of (a) a content that does not add a new association to the association graph 317 and (b) a content that adds a new association to the association graph 317 in the storage system 3.
[0192] The association graph 317 manages the association between object images and text data included in each piece of content stored in the third storage 34. The association in the association graph 317 includes, for example, an association between an object image and text data, and an association between two object images. For example, if one piece of content stored in the third storage 34 includes an object image OBJ1 and text 1, information indicating that the object image OBJ1 and text 1 are associated with each other is stored in the association graph 317.
[0193] 13(a) and 13(b), object image OBJ1 is associated with text 1, text 2, text 3, text 4, text 6, object image OBJ2, and object image OBJ3. Object image OBJ2 is associated with text 2, text 5, text 6, text 7, and object image OBJ1. Object image OBJ3 is associated with text 6, text 7, text 8, text 9, and object image OBJ1.
[0194] The content xxxx35 shown in (a) of FIG. 13 includes an object image OBJ1, an object image OBJ2, text 2, and text 6. The content xxxx35 is a content that does not add a new relationship to the relationship graph 317. Specifically, the relationship between the object image OBJ1 and the object image OBJ2, the relationship between the object image OBJ1 and the text 2, the relationship between the object image OBJ1 and the text 6, the relationship between the object image OBJ2 and the text 2, and the relationship between the object image OBJ2 and the text 6 are all already included in the relationship graph 317. Therefore, the content xxxx35 is a content that does not add any relationship to the relationship graph 317. In other words, even if the content xxxx35 is moved from the SLC block of the second storage 33 to the MLC block of the third storage 34, no new relationship is added to the relationship graph 317.
[0195] 13B includes an object image OBJ3, text 8, and text 10. The content xxxx40 is a content that adds a new relationship to the relationship graph 317. Specifically, the relationship between the object image OBJ3 and the text 8 is already included in the relationship graph 317, but the relationship between the object image OBJ3 and the text 10 is not yet included in the relationship graph 317. Therefore, the content xxxx40 is a content that adds a new relationship between the object image OBJ3 and the text 10 to the relationship graph 317. In other words, when the content xxxx40 is moved from the SLC block of the second storage 33 to the third storage 34, the relationship between the object image OBJ3 and the text 10 is newly added to the relationship graph 317.
[0196] The second content processing unit 433 uses, as an extension condition for the association graph 317, that the content stored in the second storage 33 is content that adds a new association to the association graph 317. In the example shown in Fig. 13, the second content processing unit 433 adds the extension period t_postpone corresponding to the extension condition to the storable period t_keep_total of the content xxxx40 that satisfies the extension condition for the association graph 317. On the other hand, the second content processing unit 433 does not add the extension period t_postpone corresponding to this extension condition to the storable period t_keep_total of the content xxxx35 that does not satisfy the extension condition for the association graph 317.
[0197] In this way, for example, the association graph 317 generated by the third content processing section 435 can be used as an extension condition for extending the storage period t_keep_total.
[0198] As described above, according to the embodiment, the controller 4 manages each of the possible storage periods t_keep_total corresponding to each of the contents stored in the second storage 33. When the current time T_current reaches the storage period T_limit corresponding to one of the contents, the controller 4 invalidates the content. When a certain content stored in the second storage 33 satisfies at least one of the one or more extension conditions, the controller 4 adds the extension period t_postpone corresponding to the satisfied extension condition to the possible storage period t_keep_total corresponding to the content. When the possible storage period t_keep_total is equal to or greater than the first threshold t_long, the controller 4 writes the content corresponding to the possible storage period t_keep_total to the third storage 34.
[0199] The controller 4 extends the storage period t_keep_total of the content that satisfies the set extension condition. Then, the content whose storage period t_keep_total has been updated to be equal to or greater than the first threshold t_long can be moved to the third storage 34. Therefore, the controller 4 can preferentially extend the storage period t_keep_total of important content by setting an extension condition that is satisfied by important content. This allows the controller 4 to preferentially move important content to the third storage 34.
[0200] Furthermore, the controller 4 can set an extension condition so that the storage period t_keep_total of unnecessary content is unlikely to be extended. This allows the controller 4 to prevent unnecessary content from using the storage areas of the second storage 33 and the third storage 34 for a long period of time.
[0201] In addition, the controller 4 selects the oldest content among the contents stored in the first storage 32 as a first target content, and determines whether the first target content is similar to a comparison content that is the next oldest content after the first target content among the contents stored in the first storage 32. If the first target content is similar to the comparison content, the controller 4 erases the first target content. If the first target content is not similar to the comparison content, the controller 4 writes the first target content to the second storage 33.
[0202] In other words, the controller 4 determines that a group of chronologically consecutive and similar contents is a group of contents with high redundancy, and erases the contents other than the most recent content.
[0203] This allows the controller 4 to prevent the storage areas of the second storage 33 and the third storage 34 of the storage system 3 from being used by highly redundant contents. In other words, it is possible to effectively utilize the storage area of the storage system 3, which has limited resources.
[0204] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims.
[0205] (Additional Note) [1] The conditions include the first condition and the second condition, the first condition corresponds to a first time period; the second condition corresponds to a second time period; The controller is If the first data portion satisfies the first condition, add the first period to the first storage period; When the first data portion satisfies the second condition, the second period is added to the first storable period. Storage system. [2] further comprising a first interface configured to receive at least one of image data, audio data, and metadata from the at least one device; Storage system. [Explanation of symbols]
[0206] 1...information processing system, 2...first external device, 3...storage system, 4...controller, 5...first bus, 6...second bus, 7...second external device, 21...image input section, 22...audio input section, 23...metadata input section, 30...internal bus, 31...RAM, 32...first storage, 33...second storage, 34...third storage, 41...first interface, 42...second interface, 43...CPU, 311...storage management table, 312...setting information, 313...SLC AB list, 314...SLC FB list, 315...MLC AB list, 316...MLC FB list, 317...association graph, 431...first content processing unit, 432...first content movement unit, 433...second content processing unit, 434...second content movement unit, 435...third content processing unit, 4311...object processing unit, 4312...image clustering unit, 4313...voiceprint analysis unit, 4314...audio clustering unit, 4315...text conversion unit.
Claims
1. 1. A storage system comprising: one or more non-volatile memories including a plurality of blocks each of which is a unit of an erase operation; a controller for managing one or more storage periods during which the one or more data portions should be stored in the one or more first blocks corresponding to the one or more data portions when the one or more data portions are stored in the one or more first blocks among the plurality of blocks; The controller: When a first storable period corresponding to a first data portion of the one or more data portions among the one or more storable periods is equal to or greater than a first threshold value, writing the first data portion to a second block different from the one or more first blocks among the plurality of blocks, and invalidating the first data portion stored in the one or more first blocks; when the first storage period is shorter than the first threshold and a period during which the first data portion is stored in the one or more first blocks reaches the first storage period, the first data portion stored in the one or more first blocks is invalidated. Storage system.
2. The controller: if the first storage period is less than the first threshold value and the first data portion satisfies at least one of the one or more conditions before the period during which the first data portion is stored in the one or more first blocks reaches the first storage period, adding a first period corresponding to the at least one condition that has been satisfied to the first storage period; When the first storage period plus the first period reaches the first threshold, writing the first data portion to the second block and invalidating the first data portion stored in the one or more first blocks; when the first storage period plus the first period does not reach the first threshold and a period during which the first data portion is stored in the one or more first blocks reaches the first storage period, the first data portion stored in the one or more first blocks is invalidated. The storage system according to claim 1 .
3. The controller: In response to an index indicating a free storage area in which data can be newly stored in the one or more first blocks becoming equal to or less than a second threshold value, writing all data portions that are stored in a third block in which data is written the oldest among the one or more first blocks and that are not invalidated, into the second block; configured to invalidate all of the data portions stored in the third block; The storage system according to claim 1 .
4. The storage system includes: Further comprising a volatile memory for temporarily storing the plurality of data portions; The controller: determining whether or not a second data section, which is the oldest, and a third data section, which is the second oldest, among the plurality of data sections stored in the volatile memory, are similar based on first information indicating a characteristic of the second data section and second information indicating a characteristic of the third data section; if the second data portion and the third data portion are not similar, storing the second data portion in any one of the one or more first blocks and deleting the second data portion from the volatile memory; configured to delete the second data portion from the volatile memory if the second data portion and the third data portion are similar. The storage system according to claim 1 .
5. each of the one or more data portions includes at least one of image data, audio data, and metadata; The storage system according to claim 1 .
6. A second interface is further provided for receiving the setting information from an external device; The setting information includes an initial value of the one or more storage periods or the first threshold value. The storage system according to claim 1 .
7. The one or more non-volatile memories include a first non-volatile memory including the one or more first blocks, and a second non-volatile memory including the one or more second blocks, Alternatively, the one or more first blocks and the one or more second blocks may be included in a single non-volatile memory. The storage system according to claim 1 .
8. The controller: writing N bits of data per memory cell into a plurality of memory cells included in the one or more first blocks; configured to write M bits of data per memory cell to a plurality of memory cells included in the one or more second blocks; The N is 1 or more, said M being greater than said N; The storage system according to claim 1 .
9. A storage system according to any one of claims 1 to 8, a device coupled to the storage system and configured to retrieve data associated with the one or more data portions. Information processing system.
Citation Information
Patent Citations
US10,133,917
Activity tracking and classification for diabetes management system, apparatus, and method
US20210174971A1
Digital life recording and playback
US8014573B2
