Recording method, information processing device, and video recording system

JPWO2024232168A1Active Publication Date: 2024-11-14PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2025519334
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-09
Filing Date
2024-03-22
Publication Date
2024-11-14
Estimated Expiration
2044-03-22

AI Technical Summary

Technical Problem

In semiconductor memory storage systems with multiple separated recording areas, the uneven distribution of write operations can lead to a situation where a specific area reaches its write limit, preventing further data writing, even if other areas have not exceeded their limits, due to the lack of inter-area wear leveling processes.

Method used

A method is implemented to record frequently accessed video data in a recording area with fewer writes and less frequently accessed data in an area with more writes, using a zone write count management table to manage and balance the write operations across different zones, thereby slowing the increase in writes in high-write areas and increasing it in low-write areas.

Benefits of technology

This approach effectively suppresses the widening difference in write counts between recording areas over time, preventing data write failures by distributing write operations more evenly across the storage system.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

This recording method for video data is for recording in a first storage that can record therein the video data, that is composed of a semiconductor memory, and that includes a plurality of separated recording regions. The plurality of recording regions include a first recording region having a small number of writing times and a second recording region having a large number of writing times. The recording method includes a step for recording video data having high access frequency in the first recording region and a step for recording video data having low access frequency in the second recording region.
Need to check novelty before this filing date? Find Prior Art

Description

Recording method, information processing device, and video recording system

[0001] The present disclosure relates to a recording method for recording video data in a storage device configured by a semiconductor memory, an information processing device, and a video recording system for recording video data in the storage device.

[0002] There is a known system that inputs video data output by a video output device such as a camera and records the video data in a storage device configured with semiconductor memory (e.g., a solid-state drive (SSD)). The video data recorded in this storage device is used, for example, for future playback or video editing.

[0003] In storage devices configured with semiconductor memory, there is an upper limit to the number of times data can be written to a data recording area. If the number of times a recording area is written exceeds the upper limit, data can no longer be written to that recording area. Furthermore, if the number of times a particular recording area is rewritten exceeds the upper limit, data cannot be written to the entire storage device, even if the upper limits have not been exceeded in other recording areas. To prevent this problem from occurring, storage devices configured with semiconductor memory perform a process called "wear leveling" (see, for example, Patent Document 1).

[0004] Wear leveling is a process of moving data recorded in a recording area with a high number of writes (for example, an area that is the unit of data erasure called an "erase block") to a recording area with a low number of writes, and / or conversely, moving data recorded in a recording area with a low number of writes to a recording area with a high number of writes. This process evens out the number of writes across the entire recording area. As a result, it is possible to prevent the entire storage from becoming unable to write data due to the number of writes exceeding a certain area.

[0005] International Publication No. 2013 / 118170

[0006] In storage devices that are configured using semiconductor memory, data recording areas are configured as multiple recording areas that are physically, functionally, and performance-wise separated. Specifically, for each application running on an information processing device connected to the storage device, it is determined in which of the multiple separated recording areas video data is to be recorded. This makes it less likely that the recording and reading of video data by a specific application will be affected by the recording and reading of video data by other applications.

[0007] In conventional storage devices that are configured with the above-described multiple separate recording areas, the wear leveling process is performed for each recording area, but no process corresponding to the wear leveling is performed between the multiple recording areas. As a result, in conventional storage devices, there is a possibility that the number of writes to a specific recording area will reach its upper limit, making it impossible to write video data to the entire storage device.

[0008] The present disclosure aims to prevent a large difference in the number of writes between recording areas in a storage device configured with semiconductor memory and having multiple separated recording areas.

[0009] A video data recording method according to the present disclosure is a method for recording video data to a first storage device that is capable of recording video data, is configured by a semiconductor memory, and includes a plurality of separated recording areas. The plurality of recording areas include a first recording area that has been written to less frequently, and a second recording area that has been written to more frequently. The recording method includes the following steps:

[0010] A step of recording frequently accessed video data in the first recording area and recording less frequently accessed video data in the second recording area.

[0011] In the video data recording method disclosed herein, in a first storage device configured with a semiconductor memory and having multiple separate recording areas, it is determined that frequently accessed video data is recorded in a first recording area with a low write count, and that less frequently accessed video data is recorded in a second recording area with a high write count. This allows the rate of increase in the number of writes in the first recording area with a low write count to be increased, while the rate of increase in the number of writes in the second recording area with a high write count to be decreased. As a result, it is possible to prevent the difference in the number of writes between the multiple recording areas from widening over time.

[0012] FIG. 1 is a diagram showing the configuration of a video recording system. FIG. 2 is a diagram showing the configuration of an information processing device. FIG. 3 is a diagram showing an example of a zone write count management table. FIG. 4 is a diagram showing the configuration of a first storage. FIG. 5 is a flowchart showing the operation of the information processing device in Operation Example 1. FIG. 6 is a diagram showing signal transmission and reception in Operation Example 1. FIG. 7 is a flowchart showing the operation of the information processing device in Operation Example 2. FIG. 8 is a diagram showing signal transmission and reception in Operation Example 2. FIG. 9 is a diagram showing the configuration of a video recording system in Operation Example 3. FIG. 10 is a diagram showing the configuration of an information processing device in Operation Example 3. FIG. 11 is a diagram showing an example of a logical / physical conversion table. FIG. 12 is a flowchart showing the operation of the information processing device in Operation Example 3. FIG. 13 is a diagram showing an example of an updated logical / physical conversion table. FIG. 14 is a diagram showing another example of a video recording system.

[0013] Hereinafter, embodiments will be described in detail with reference to the drawings as appropriate. However, more detailed description than necessary may be omitted. For example, detailed description of already well-known matters or redundant description of substantially identical configurations may be omitted. This is to avoid unnecessary redundancy in the following description and to facilitate understanding by those skilled in the art. Note that the inventors provide the accompanying drawings and the following description to enable those skilled in the art to fully understand the present disclosure, and do not intend for them to limit the subject matter described in the claims.

[0014] In this disclosure, "video data" refers to data including moving image data and audio data, data including only moving image data, and data including still image data.

[0015] [1. Video Recording System] A video recording system 100 according to the present disclosure will be described below with reference to the drawings. The video recording system 100 is a system for recording video data acquired by a video output device 2 (described later) in storage. The video data recorded in the storage is used, for example, for future playback and editing. Editing video data includes, for example, generating new video data by inserting a specific portion of other video data into video data.

[0016] The configuration of the video recording system 100 will be described below with reference to Fig. 1. Fig. 1 is a diagram showing the configuration of the video recording system 100. The video recording system 100 includes an information processing device 1 and a first storage 3.

[0017] The information processing device 1 is connected to a video output device 2. The video output device 2 is a device that acquires video data and outputs it to the outside. The video output device 2 is, for example, a video shooting device that includes a camera that captures a predetermined video, a microphone that captures the audio of the predetermined video, and the like. Alternatively, the video output device 2 may be a media server that records a large number of videos. The video output from the video output device 2 is, for example, high-quality video such as uncompressed 4K video. Note that, although only one video output device 2 is provided in the example shown in FIG. 1 , this is not limiting. The video recording system 100 may include multiple video output devices 2.

[0018] The information processing device 1 executes various information processes related to the video data input from the video output device 2. Specifically, the information processing device 1 can execute a process of converting the video data into data in a compressed format, for example.

[0019] The information processing device 1 is also connected to an operation device 4. The operation device 4 is a device for performing operations to edit video data. The operation device 4 includes, for example, an input device (e.g., a keyboard, a mouse, an operation panel, etc.) for performing operations related to editing the video data, and a display device (e.g., a display) for displaying the video data. The information processing device 1 outputs the video data to the operation device 4 for display, and accepts operations of the operation device 4 to edit the video data. Furthermore, the information processing device 1 analyzes the video data and estimates the access frequency of the video data in the video recording system 100.

[0020] The information processing device 1 is connected to a first storage 3. The information processing device 1 records video data input from the video output device 2, video data converted into a compressed format, edited video data, etc. in the first storage 3. The information processing device 1 also reads specific video data from the first storage 3.

[0021] The first storage 3 reads out designated video data in accordance with a command from the information processing device 1. The first storage 3 also records video data received from the information processing device 1 in accordance with a command from the information processing device 1. The first storage 3 is a solid state drive (SSD) configured with a semiconductor memory (flash memory 33) capable of recording video data.

[0022] 2. Information Processing Device The configuration of the information processing device 1 will be described with reference to Fig. 2. Fig. 2 is a diagram showing the configuration of the information processing device 1. The information processing device 1 has a CPU 11, a RAM 13, a storage unit 15, an interface 17, and a storage interface 19.

[0023] The CPU 11 executes various processes in the information processing device 1. Specifically, the CPU 11 executes information processes such as video data compression, information processing related to video data editing, and video data analysis. The CPU 11 executes the above processes by executing commands indicated in an application AP stored in the storage unit 15. Note that part of the processes in the information processing device 1 may be realized by hardware implemented in the CPU 11. The CPU 11 generates commands for executing various processes.

[0024] The CPU 11 estimates the access frequency of the video data while executing a predetermined application AP (for example, an application AP that edits and records video data) stored in the storage unit 15. Specifically, the CPU 11 analyzes images and / or sounds included in the video data while executing the application AP, and estimates the access frequency based on the analysis results.

[0025] The access frequency of video data is estimated to be high when the content of the video data is important, for example, when the video data includes a climax scene. This is because video data containing important content is likely to be used frequently in editing, etc. On the other hand, when the video data includes unimportant content, the access frequency of the video data is estimated to be low. The CPU 11 executing the application AP can analyze the video data using, for example, image recognition and voice recognition using artificial intelligence.

[0026] The CPU 11 associates the access frequency of the video data with the video data as metadata of the video data. Metadata is data that records various information related to the video data. In addition to the access frequency of the video data, the metadata can also record the importance of the video data and information about the usage process of the video data. The usage process information is, for example, information about the recording, editing, transmission, and / or reuse of the video data.

[0027] The RAM 13 is a storage area that temporarily stores commands, video data, etc. generated by the CPU 11. The storage unit 15 is configured, for example, with a ROM, a hard disk drive (HDD), a solid state drive (SSD), etc. The storage unit 15 stores a plurality of applications AP executed by the CPU 11, a zone write count management table T1, settings related to information processing executed by the information processing device 1, parameters used for the information processing, etc.

[0028] The application AP is a program for executing various processes on video data in the information processing device 1. The application AP is, for example, a program for editing video data, a program for playing video data, or the like.

[0029] The zone write count management table T1 is a table that stores the number of times data has been written to multiple recording areas (zones Z1 to Zn) in the first storage 3. As shown in Fig. 3, the zone write count management table T1 stores zone identification information (for example, a zone identification number) and the number of times data has been written to that zone, in association with each other. Fig. 3 is a diagram showing an example of the zone write count management table T1.

[0030] The interface 17 connects the information processing device 1 to other devices. As shown in Fig. 2, the video output device 2 and the operation device 4 are connected to the interface 17. The interface 17 is an interface for connecting video-related devices such as interfaces conforming to the Serial Digital Interface (SDI) standard.

[0031] The interface 17 may include a network interface such as a Gigabit Ethernet (registered trademark) interface. The video output device 2, the operation device 4, and / or other devices may be connected to the network interface. In this case, communication between the information processing device 1 and other devices may use, for example, transmission according to the ST2110 standard of the SMPTE standardization organization. The network interface may also be capable of directly transmitting and receiving data between the RAM 13 of the information processing device 1 and the RAM of other devices using remote direct memory access (RDMA). This enables high-speed data transmission and reception between the information processing device 1 and other devices.

[0032] The storage interface 19 connects to the first storage 3. The storage interface 19 is, for example, a PCIe interface compliant with the PCI Express standard of the PCI-SIG standard. This allows the information processing device 1 and the first storage 3 to send and receive data at high speed using a protocol dedicated to non-volatile memory (NVMe (Non-Volatile Memory Express)) using a PCI-Express bus. In NVMe, the controller acquires data from the NAND memory using the NAND protocol, converts it to the PCIe protocol, and transfers it to the host side. In contrast, in the case of conventional SATA (Serial-ATA), the DMA controller that transfers data directly to the host side converts and acquires data from the NAND memory to the SATA protocol, and then converts the data to the PCIe protocol and transfers it to the host. In other words, NVMe processing directly converts from the NAND protocol to the PCIe protocol, resulting in fast data transfer processing speeds.

[0033] In the information processing device 1, the CPU 11, the RAM 13, the interface 17, and the storage interface 19 constitute a control unit of the information processing device 1. The storage unit 15 constitutes a storage unit of the information processing device 1.

[0034] [3. Storage] The configuration of the first storage 3 will be described using Fig. 4. Fig. 4 is a diagram showing the configuration of the first storage 3. The first storage 3 has an access port 31, a flash memory 33, and a controller 35. The access port 31 connects the information processing device 1 and the first storage 3.

[0035] The flash memory 33 is composed of multiple NAND flash memory chips capable of recording video data. The flash memory 33 includes multiple separated recording areas (referred to as zones Z1 to Zn). In this embodiment, the flash memory 33 includes n zones Z1 to Zn. Here, "separated" includes separating the recording areas of the flash memory 33 in terms of hardware. Specifically, each of the zones Z1 to Zn can be composed of, for example, one or more NAND flash memory chips, physical addresses of the flash memory 33, or a predetermined number of recording elements within one NAND flash memory chip.

[0036] Furthermore, "separated" does not necessarily mean being separated in terms of hardware, but also includes forming multiple zones with performance separation, and forming multiple zones with functional separation. "Separated in terms of performance" means that each zone has independent performance and does not affect the performance of other zones. "Separated in terms of functionality" means that each zone has independent function and does not affect the functionality of other zones. For example, even if wear leveling or garbage collection occurs in one zone, it does not affect other zones. Also, even if wear leveling or garbage collection occurs in one zone, different wear leveling or garbage collection may occur in other zones. In other words, "separated" means that each zone is independent, and operations performed in one zone do not affect other zones.

[0037] In the video recording system 100, it is preferable that the zones that an application AP executed on the information processing device 1 can access are predetermined for each application AP. This makes it less likely that the recording and reading of video data by a specific application AP will be affected by the recording and reading of video data by other applications AP. However, this is not limiting, and each application AP may be able to access all zones.

[0038] Each of the zones Z1 to Zn includes a plurality of erase blocks. An erase block is a unit of data erasure. In other words, data recorded in the zones Z1 to Zn is erased in units of erase blocks. Each erase block includes a plurality of pages. A page is a unit of data recording. In other words, data is written to the zones Z1 to Zn in units of pages.

[0039] The controller 35 executes control related to the first storage 3. In particular, the controller 35 controls the recording of data to the flash memory 33 and the reading of data from the flash memory 33 in accordance with commands from the information processing device 1. The controller 35 also executes other processes required for the solid state drive, such as garbage collection and wear leveling. Note that the garbage collection and wear leveling processes are executed in units of zones Z1 to Zn.

[0040] The controller 35 executes the above-described processes by executing a program stored in the storage unit 37. The controller 35 may also realize the above-described processes by its own hardware.

[0041] The storage unit 37 is provided as a memory separate from the flash memory 33, or is part of the recording area of ​​the flash memory 33, and stores various parameters and the like related to the control of the first storage 3. The number of times data has been written to each of the zones Z1 to Zn is recorded in the storage unit 37. The number of times data has been written to each of the zones Z1 to Zn may be set, for example, as the maximum number of times data has been written to the erase blocks included in that zone, or may be set as the average number of times data has been written to the erase blocks.

[0042] The memory unit 37 further records the number of times data is written to each erase block included in each zone, a table that associates addresses (logical addresses) specified by an external device with the addresses (physical addresses) of the erase blocks corresponding to the logical addresses, thresholds that indicate the conditions for performing wear leveling, and so on.

[0043] [4. Operation of the Video Recording System] [4-1. Operation Example 1] The following describes the video data recording operation in the video recording system 100. First, operation example 1 of recording video data will be described. In operation example 1, a decision is made as to which zone of the first storage 3 the video data should be recorded in, based on the access frequency of the video data to be recorded in the first storage 3.

[0044] Specific operations in video data recording operation example 1 will be described below with reference to Fig. 5 and Fig. 6. Fig. 5 is a flowchart showing the operations of the information processing device 1 in video data recording operation example 1. Fig. 6 is a diagram showing signal transmission and reception in video data recording operation example 1.

[0045] When the video recording system 100 is started up, the information processing device 1 acquires the current number of times data has been written to each zone in the first storage 3 (step S11 in FIG. 5). In detail, the number of times writing is acquired as follows.

[0046] First, the CPU 11 of the information processing device 1 sends a command (write count transmission request) to the first storage 3 requesting that the first storage 3 transmit the number of data writes for each zone present in the first storage 3 (step S101 in FIG. 6).

[0047] When the first storage 3 receives the write count transmission request, the controller 35 of the first storage 3 transmits the write count of each zone stored in the memory unit 37 of the first storage 3 to the information processing device 1 (step S102 in FIG. 6). When transmitting the write count, the controller 35 transmits the zone identification information and the write count of the zone having the identification information in association with each other.

[0048] When the information processing device 1 receives the number of writes for each zone, the CPU 11 of the information processing device 1 associates the received zone identification information with the number of writes for the zone having the identification information to generate a zone write count management table T1 as shown in Fig. 3 (step S12 of Fig. 5). The CPU 11 stores the generated zone write count management table T1 in the storage unit 15 of the information processing device 1. Note that if the zone write count management table T1 is already stored in the storage unit 15, the CPU 11 updates the zone write count management table T1 stored in the storage unit 15 based on the received zone identification information and the number of writes for the zone having the identification information.

[0049] Thereafter, in the information processing device 1, the application AP stored in the storage unit 15 is executed by the CPU 11, and various information processes related to the video data are performed. For example, the application AP performs editing of the video data acquired from the video output device 2, compression of the video data, playback of the video data, and the like.

[0050] When the application AP currently being executed issues a command to record video data ("Yes" in step S13 of FIG. 5), the CPU 11 executes the video data recording process. When the application AP does not issue a command to record video data ("No" in step S13 of FIG. 5), the CPU 11 waits while executing other information processing as necessary.

[0051] The video data recording process is executed according to the following process: First, while the application AP is running, the CPU 11 analyzes the contents of the video data to be recorded and estimates the access frequency of the video data (step S14 in FIG. 5).

[0052] If the estimated access frequency is high ("High" in step S14 of FIG. 5), the CPU 11 determines to record the video data estimated to be accessed frequently in a zone with a low number of writes (first recording area) (step S15 of FIG. 5). The CPU 11 then refers to the zone write count management table T1 stored in the storage unit 15 to determine whether to record the video data in that zone. For example, the CPU 11 determines to record the video data with a high access frequency in the zone with the smallest number of writes. In the case of the zone write count management table T1 shown in FIG. 3, the CPU 11 determines to record the video data in zone Z2 having identification information "2."

[0053] After determining the zone in which to record the video data, the CPU 11 transmits the video data to be recorded and information about the zone in which the video data will be recorded (e.g., zone identification information, zone address, etc.) to the first storage 3 (step S103 in Figure 6).

[0054] When the first storage 3 receives frequently accessed video data and information about the zone in which the video data is to be recorded (zone identification information "2"), the controller 35 of the first storage 3 records the received frequently accessed video data in the zone with the fewest number of writes (zone Z2) (step S104 in Figure 6).

[0055] On the other hand, if the estimated access frequency is low ("Low" in step S14 of FIG. 5), the CPU 11 of the information processing device 1 determines to record the video data estimated to have a low access frequency in the zone with a high write count (second recording area) (step S16 of FIG. 5). The CPU 11 then refers to the zone write count management table T1 stored in the storage unit 15 to determine in which zone the video data will be recorded. For example, the CPU 11 determines to record the video data with a low access frequency in the zone with the highest write count. In the case of the zone write count management table T1 shown in FIG. 3, the CPU 11 determines to record the video data in zone Z3 having the identification information "3."

[0056] After determining the zone in which to record the video data, the CPU 11 transmits the video data to be recorded and information on the zone in which to record the video data to the first storage 3 (step S105 in FIG. 6).

[0057] When the first storage 3 receives the infrequently accessed video data and information about the zone in which the video data is to be recorded (zone identification information "3"), the controller 35 of the first storage 3 records the received infrequently accessed video data in the zone with the highest (highest) number of writes (zone Z3) (step S106 in Figure 6).

[0058] After the video data is recorded, the CPU 11 of the information processing device 1 notifies the application AP that commanded the recording of the video data of information about the zone where the video data is to be recorded (zone identification information, zone address) (step S17 in FIG. 5). This allows the information processing device 1 to easily determine the recording position of the video data when reading the video data from the first storage 3.

[0059] As described above, by recording frequently accessed video data in a zone with a low write count and recording less frequently accessed video data in a zone with a high write count, the rate of increase in the number of writes in the first recording area with a low write count can be increased, while the rate of increase in the number of writes in the second recording area with a high write count can be decreased. In other words, the rate of increase in the number of writes in the zone with a high write count can be made slower than the rate of increase in the number of writes in the zone with a low write count. This reduces the difference in the number of writes between these zones over time, thereby preventing the difference in the number of writes between multiple zones from widening and becoming larger over time.

[0060] [4-2. Operation Example 2] Next, a video data recording operation example 2 will be described. In operation example 2, video data is first recorded in duplicate in both a zone with a high number of writes and a zone with a low number of writes, and then a decision is made as to which zone the video data recorded in should be erased (i.e., which zone the video data stored in should be maintained) depending on whether the video data has been accessed within a predetermined time (first time) since the video data was recorded.

[0061] Specific operations in the video data recording operation example 2 will be described below with reference to Fig. 7 and Fig. 8. Fig. 7 is a flowchart showing the operation of the information processing device 1 in the video data recording operation example 2. Fig. 8 is a diagram showing signal transmission and reception in the video data recording operation example 2.

[0062] When the video recording system 100 is started, the information processing device 1 obtains the current number of times data has been written to each zone in the first storage 3, and generates a zone write count management table T1 based on the number of times data has been written to each zone (steps S21 to S22 in FIG. 7, steps S201 to S202 in FIG. 8). The operations of steps S21 to S22 and steps S201 to S202 are the same as steps S11 to S12 and steps S101 to S102 described above, respectively, and therefore will not be described here.

[0063] When the currently running application AP issues a command to record video data ("Yes" in step S23 of FIG. 7), the CPU 11 records the video data in both the zone with the most frequent writes and the zone with the least frequent writes (step S24 of FIG. 7). Specifically, the CPU 11 first references the zone write count management table T1 stored in the storage unit 15 and identifies the zone with the most frequent writes and the zone with the least frequent writes. For example, among the zones Z1 to Zn included in the first storage 3, the CPU 11 identifies the zone with the most frequent writes and the zone with the least frequent writes. In the case of the zone write count management table T1 shown in FIG. 3, the CPU 11 can identify zone Z3 with identification information "3" as the zone with the most frequent writes and zone Z2 with identification information "2" as the zone with the least frequent writes.

[0064] After identifying the zone in which the video data is to be recorded, the CPU 11 transmits the video data to be recorded and information about the zone in which the video data is to be recorded to the first storage 3 (step S203 in FIG. 8).

[0065] When the first storage 3 receives the video data and information about the zone in which the video data will be recorded (zone identification information "2" and identification information "3"), the controller 35 of the first storage 3 records the received video data in duplicate in the zone with the most (largest) number of writes (zone Z3) and the zone with the least (smallest) number of writes (steps S204 to S205 in Figure 8).

[0066] After recording the video data, the CPU 11 of the information processing device 1 notifies the application AP that instructed the recording of the video data of information about the zone in which the video data is to be recorded.

[0067] After a first time has elapsed since the video data was recorded, the CPU 11 determines whether the video data has been accessed within the first time since the video data was recorded (step S25). The CPU 11 can determine whether the video data has been accessed within the first time by, for example, an access log or timestamp for the target video data. In more detail, for example, if the difference between the current time and the last access time to the video data exceeds the first time, it can be determined that the video data has not been accessed. On the other hand, if the difference between the current time and the last access time to the video data is equal to or less than the first time, it can be determined that the video data has been accessed.

[0068] The fact that the video data has been accessed within the first time period since it was recorded means that the frequency of access to the video data is high. On the other hand, the fact that the video data has not been accessed within the first time period since it was recorded means that the frequency of access to the video data is low. Therefore, the first time period can be set appropriately based on, for example, a criterion for determining the level of access frequency.

[0069] If the video data is accessed before the first time period has elapsed, i.e., if the video data is accessed frequently ("Yes" in step S25), the CPU 11 determines to erase the video data recorded in the zone with the most writes (e.g., zone Z3 with the most writes) (step S26 in FIG. 7), or to maintain the video data recorded in the zone with the least writes (e.g., zone Z2 with the least writes).

[0070] Thereafter, the CPU 11 transmits to the first storage 3 a command (erase request) to request erasure of the video data recorded in the zone with the highest number of writes (step S206 in FIG. 8).

[0071] When the erase request is received, the controller 35 of the first storage 3 executes a process of erasing the video data recorded in the zone with the most frequent writes (step S207 in FIG. 8 ). The controller 35 can erase the video data recorded in the zone with the most frequent writes, for example, by recording information (for example, “0”) indicating that no data is recorded in the page included in the zone with the most frequent writes.

[0072] The CPU 11 of the information processing device 1 notifies the application AP that has instructed the recording of the video data of information relating to the zone from which the video data has been erased or information relating to the zone from which the video data has been maintained.

[0073] On the other hand, if the video data has not been accessed within the first time period, i.e., if the frequency of access to the video data is low ("No" in step S25), the CPU 11 determines to erase the video data recorded in the zone with the fewest write counts (e.g., zone Z2 with the fewest write counts) (step S27 in FIG. 7), or to maintain the video data recorded in the zone with the most write counts (e.g., zone Z3 with the most write counts).

[0074] Thereafter, the CPU 11 of the information processing device 1 transmits an erasure request to erase the video data recorded in the less frequently written zone to the first storage 3. The controller 35 of the first storage 3 receives this erasure request and executes a process to erase the video data recorded in the less frequently written zone.

[0075] The CPU 11 of the information processing device 1 notifies the application AP that has instructed the recording of the video data of information relating to the zone from which the video data has been erased or information relating to the zone from which the video data has been maintained.

[0076] In the above example of a recording operation, video data is recorded in both a zone with a high write count and a zone with a low write count, and then, after a first time has elapsed, the access frequency of the video data is determined. This makes it possible to determine the actual access frequency of the video data. In the above example of a recording operation, video data with a high actual access frequency is recorded (maintained) in a zone with a low write count, and video data with a low actual access frequency is recorded (maintained) in a zone with a high write count. In this way, by recording video data in a zone determined based on the actual access frequency of the video data, it is possible to more reliably prevent the difference in the number of writes between multiple zones from widening and becoming larger over time.

[0077] [4-3. Operation Example 3] Next, a video data recording operation example 3 will be described. In Operation Example 3, after video data is recorded in the first storage 3, a decision is made as to whether the video data is to be maintained in the first storage 3 or whether the video data is to be moved from the first storage 3 to another storage (second storage 5) with lower performance, depending on whether the video data is accessed within a predetermined time (second time) after the video data is recorded in the first storage 3.

[0078] In Operation Example 3, the video recording system further includes a second storage 5 as shown in Fig. 9. Fig. 9 is a diagram showing the configuration of a video recording system 200 in Operation Example 3. Note that, as shown in Fig. 10, the second storage 5 is connected to the interface 17 of the information processing device 1. The second storage 5 can be connected to, for example, an S-ATA interface. Fig. 10 is a diagram showing the configuration of the information processing device 1 in Operation Example 3.

[0079] The second storage 5 is a storage with lower performance than the first storage 3. The second storage 5 is a storage with slower recording and reading speeds than the first storage 3 configured with flash memory 33. The second storage 5 is, for example, a hard disk drive (HDD), an optical disk drive that writes data to an optical disk and reads data from an optical disk, or a magnetic tape drive that writes data to a magnetic tape and reads data from a magnetic tape.

[0080] Furthermore, in operation example 3, the information processing device 1 stores a logical / physical conversion table T2 in the storage unit 15. The logical / physical conversion table T2 is a table that stores logical zones in association with the physical zones corresponding to the logical zones (zones Z1 to Zn of the first storage 3 or the second storage 5). Specifically, as shown in Fig. 11, the logical / physical conversion table T2 is a table that stores logical zones in association with the physical zones corresponding to the logical zones (for example, identification information for zones Z1 to Zn of the first storage 3 or identification information for the second storage 5), and the last access time to the corresponding physical zone. Fig. 11 is a diagram showing an example of the logical / physical conversion table T2.

[0081] When accessing zones Z1 to Zn of the first storage 3 or the second storage 5, the application AP uses a logical zone. In other words, the "zone" in the zone write count management table T1 described with reference to FIG. 3 is a logical zone. The CPU 11 then refers to the logical / physical conversion table T2 and converts the logical zone into identification information for the actual zones Z1 to Zn or identification information for the second storage 5. The CPU 11 can access the corresponding zones Z1 to Zn of the first storage 3 or the second storage 5 using the converted identification information.

[0082] A specific operation in the third example of the video data recording operation will be described below with reference to Fig. 12. Fig. 12 is a flowchart showing the operation of the information processing device 1 in the third example of the video data recording operation.

[0083] When the video recording system 200 is started and an instruction to record video data is issued by the application AP running on the information processing device 1, the CPU 11 records the video data in the first storage 3 (step S31). In step S31, the video data is recorded in accordance with the above-described operation example 1 and / or operation example 2. Therefore, a description of the video data recording operation in step S31 will be omitted here.

[0084] However, as explained above, the application AP uses logical zones to access zones Z1 to Zn in the first storage 3. Therefore, in operation example 3, when the CPU 11 executing the application AP identifies a zone in which to record video data and records the video data in the identified zones Z1 to Zn, the CPU 11 identifies the zone in which to record the video data as a logical zone, and then refers to the logical / physical conversion table T2 to identify the physical zone (identification information of zones Z1 to Zn in the first storage 3) that corresponds to the identified logical zone. Based on the identified physical zone, the CPU 11 determines in which of zones Z1 to Zn in the first storage 3 the video data will be recorded.

[0085] After a second time has elapsed since the video data was recorded in the first storage 3, the CPU 11 determines whether the video data has been accessed within the second time since the video data was recorded (step S32). The CPU 11 can determine whether the video data has been accessed within the second time by, for example, the last access time stored in the logical / physical conversion table T2, the access log for the target video data, a timestamp, etc. In detail, for example, if the difference between the current time and the last access time to the video data exceeds the second time, it can be determined that the video data has not been accessed. On the other hand, if the difference between the current time and the last access time to the video data is equal to or less than the second time, it can be determined that the video data has been accessed.

[0086] The fact that the video data has been accessed within the second time period since it was recorded means that the video data has been used to some extent. On the other hand, the fact that the video data has not been accessed within the second time period since it was recorded means that the video data has hardly been used at all. Therefore, the second time period can be set appropriately based on, for example, criteria for determining when to store (archive) the video data for a long period of time. Furthermore, the second time period may be longer than or approximately the same as the first time period in the above-described operation example 2.

[0087] If the video data is accessed before the second time has elapsed, i.e., if there is a possibility that the video data has been used to some extent ("Yes" in step S32), the CPU 11 decides to keep the video data recorded in the first storage 3 as it is (step S33).

[0088] On the other hand, if the video data has not been accessed by the second time elapses, i.e., if there is a possibility that the video data has hardly been used ("No" in step S32), the CPU 11 decides to move the video data recorded in the first storage 3 to the second storage 5 (step S34).

[0089] Thereafter, the CPU 11 reads the video data to be moved from zones Z1 to Zn in which the video data to be moved is recorded in the first storage 3, and copies the video data to the second storage 5. Thereafter, the video data to be moved that is recorded in zones Z1 to Zn in the first storage 3 is erased. As a result, the video data to be moved is moved from the first storage 3 to the second storage 5.

[0090] After transferring the video data, the CPU 11 updates the logical / physical conversion table T2 (step S35). Specifically, the CPU 11 rewrites the content of the physical zone in the logical / physical conversion table T2 from the zone identification information of the first storage 3, which is the transfer source, to the identification information of the second storage 5, which is the transfer destination. For example, if the zone (zone Z2) with identification information "2" was the transfer source of the video data, the CPU 11 rewrites the physical zone identification information "2" in the logical / physical conversion table T2 to the identification information "storage1" of the second storage 5, as shown in FIG. 13. FIG. 13 is a diagram showing an example of the logical / physical conversion table T2 after the update.

[0091] By using the logical zone to enable access to zones Z1 to Zn of the first storage 3 or the second storage 5, and by changing the contents of the physical zone in the logical / physical conversion table T2 when video data is moved, even when the video data is moved from the first storage 3 to the second storage 5, the second storage 5 can be accessed by using the logical zone that was used to access the first storage 3 before the video data was moved.

[0092] In the above recording operation example, when video data recorded in the first storage 3 is not used for a long period of time (second time), the video data is moved from the first storage 3 to the second storage 5. After the video data is moved, the video data is recorded in zones Z1 to Zn based on the above operation example 1 and / or operation example 2. This makes it possible to prevent the number of writes from increasing in zones Z1 to Zn in which video data that has not been used for a long period of time has been recorded, and therefore makes it possible to prevent the difference in the number of writes between multiple zones from widening and becoming large over time.

[0093] [5. Other Embodiments] Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications are possible without departing from the spirit of the invention. In particular, the multiple embodiments and modifications described in this specification can be combined as needed.

[0094] (A) The order of each process in the flowchart described above and the content of each process can be changed as appropriate without departing from the spirit of the present invention. In addition, the entities that execute each process (information processing device 1, first storage 3) can also be changed as appropriate without departing from the spirit of the present invention.

[0095] (B) The above-described operation examples 1 to 3 may be incorporated in whole or in part into the information processing device 1. Furthermore, the video recording system may be configured to execute any one of the above-described operation examples 1 to 3 and not execute the rest, through user operation.

[0096] (C) As shown in Fig. 14, the video recording system may further include a storage control device 7 in addition to the video recording system 100 described above. Fig. 14 is a diagram showing the configuration of a video recording system 300. The storage control device 7 is connected to the information processing device 1 and the first storage 3, and controls the recording of video data in the first storage 3 in accordance with commands from the information processing device 1. In the video recording system 300 shown in Fig. 14, the information processing device 1 may perform information processing on the video data and estimate access frequency, and the storage control device 7 may record the video data based on the above operation examples 1 to 3.

[0097] The storage control device 7 can grasp the access frequency of the video data, for example, by extracting the metadata attached to the video data by the information processing device 1.

[0098] [6. Features of the Present Disclosure] (1) A video data recording method of the present disclosure is a method for recording video data to a first storage device capable of recording video data, configured by a semiconductor memory, and including a plurality of separated recording areas. The plurality of recording areas include a first recording area that has been written to less frequently and a second recording area that has been written to more frequently. The recording method includes the following steps:

[0099] A step of recording frequently accessed video data in the first recording area and recording less frequently accessed video data in the second recording area.

[0100] In the recording method disclosed herein, in a first storage device configured with a semiconductor memory and having multiple separated recording areas, it is determined that frequently accessed video data is recorded in a first recording area with a low write count, and that less frequently accessed video data is recorded in a second recording area with a high write count. This allows the rate of increase in the number of writes in the first recording area with a low write count to be increased, while the rate of increase in the number of writes in the second recording area with a high write count to be decreased. As a result, it is possible to prevent the difference in the number of writes between the multiple recording areas from widening over time.

[0101] (2) In the recording method of (1) above, the recording step may include the following steps.

[0102] Recording video data in the first recording area and the second recording area.

[0103] a step of erasing the video data recorded in the second recording area when the video data recorded in the first recording area and the second recording area in an overlapping manner is accessed within a first time period after recording.

[0104] a step of erasing the video data recorded in the first recording area if the video data recorded in the first recording area and the second recording area in an overlapping manner has not been accessed within a first time period since recording.

[0105] This allows video data to be recorded in a recording area determined based on the actual access frequency of the video data, making it possible to more reliably prevent the difference in the number of writes between multiple recording areas from widening and becoming larger over time.

[0106] (3) In the recording method of (1) or (2) above, the recording step may include a step of moving, from among the video data recorded in the first storage, video data that has not been accessed within a second time period since recording, to a second storage having lower performance than the first storage.

[0107] This prevents the number of writes from increasing in a recording area where video data that has not been used for a long period of time has been recorded, thereby preventing the difference in the number of writes between multiple recording areas from widening and becoming larger over time.

[0108] (4) The recording method of (3) above may further include a step of storing a logical / physical conversion table. The logical / physical conversion table is a table that associates logical zones for accessing the first storage or the second storage with corresponding zones of the first storage or the second storage. This allows, for example, even if video data is moved from the first storage to the second storage, the second storage can be accessed using the same logical zone that was used to access the first storage before the video data was moved.

[0109] (5) An information processing device according to the present disclosure includes an interface and a control unit. The interface communicates with a first storage configured with a semiconductor memory capable of recording video data. The control unit controls the recording of the video data. The first storage includes a plurality of separated recording areas, and the plurality of recording areas include a first recording area with a low number of writes and a second recording area with a high number of writes. In this case, the control unit records frequently accessed video data in the first recording area and records less frequently accessed video data in the second recording area.

[0110] In the information processing device, in a first storage device configured with a semiconductor memory and having multiple separated storage areas, it is determined that frequently accessed video data is recorded in a first storage area with a low write count, and that less frequently accessed video data is recorded in a second storage area with a high write count. This allows the rate of increase in the number of writes in the first storage area with a low write count to be increased, while the rate of increase in the number of writes in the second storage area with a high write count to be decreased. As a result, it is possible to prevent the difference in the number of writes between the multiple storage areas from widening over time.

[0111] (6) A video recording system according to the present disclosure includes an information processing device and a first storage. The information processing device executes processing related to video data. The first storage is configured with a semiconductor memory capable of recording video data. The first storage includes a plurality of separated recording areas, each of which includes a first recording area that is less frequently written to and a second recording area that is more frequently written to. The information processing device records frequently accessed video data in the first recording area and less frequently accessed video data in the second recording area.

[0112] In the video recording system, a first storage device is configured with a semiconductor memory and has multiple separate storage areas. The system determines that frequently accessed video data is recorded in a first storage area with a low write count, and that less frequently accessed video data is recorded in a second storage area with a high write count. This increases the rate of increase in the number of writes in the first storage area with a low write count, while decreasing the rate of increase in the number of writes in the second storage area with a high write count. This prevents the difference in the number of writes between the multiple storage areas from widening over time.

[0113] The present disclosure can be widely applied to a video recording system that records video data in a storage device configured by a semiconductor memory, an information processing device, and a recording method that records video data in the storage device.

[0114] 100, 200, 300: Video recording system 1: Information processing device 11: CPU 13: RAM 15: Storage unit 17: Interface 19: Storage interface 2: Video output device 3: First storage 31: Access port 33: Flash memory 35: Controller 37: Storage unit 4: Operation device 5: Second storage 7: Storage control device AP: Application T1: Zone write count management table T2: Logical / physical conversion table Z1 to Zn: Zone

Claims

1. A method for recording video data into a first storage capable of recording video data, the first storage being made up of a semiconductor memory and including a plurality of separated recording areas, the plurality of recording areas including a first recording area which is written to less frequently and a second recording area which is written to more frequently, the method comprising the steps of recording frequently accessed video data into the first recording area and recording less frequently accessed video data into the second recording area.

2. The recording method according to claim 1, wherein the recording step includes the steps of: recording video data in an overlapping manner in the first recording area and the second recording area; erasing the video data recorded in the second recording area if the video data recorded in an overlapping manner in the first recording area and the second recording area is accessed within a first time period after recording; and erasing the video data recorded in the first recording area if the video data recorded in an overlapping manner in the first recording area and the second recording area is not accessed within a first time period after recording.

3. A recording method as described in claim 1, wherein the recording step includes a step of moving video data recorded in the first storage that has not been accessed within a second time period since recording to a second storage having lower performance than the first storage.

4. A recording method as described in claim 3, further comprising a step of storing a logical / physical conversion table associating a logical zone for accessing the first storage or the second storage with a corresponding zone of the first storage or the second storage.

5. An information processing device comprising: an interface for communicating with a first storage constituted by a semiconductor memory capable of recording video data; and a control unit for controlling the recording of the video data, wherein the first storage includes a plurality of separated recording areas, the plurality of recording areas including a first recording area which is written to less frequently, and a second recording area which is written to more frequently, and the control unit records frequently accessed video data in the first recording area, and records less frequently accessed video data in the second recording area.

6. A video recording system comprising: an information processing device that executes processing related to video data; and a first storage constituted by a semiconductor memory capable of recording video data, wherein the first storage includes a plurality of separated recording areas, the plurality of recording areas including a first recording area which is written to less frequently, and a second recording area which is written to more frequently, and the information processing device records frequently accessed video data in the first recording area, and records less frequently accessed video data in the second recording area.

Citation Information

Patent Citations

  • Hybrid non-volatile solid-state memory system

    JP2010512569A

  • Data recording / reproducing device

    JP2013084160A

  • Storage system

    JP2023040677A

  • Storage system and cache control method

    WO2014118822A1

  • Storage apparatus having nonvolatile memory device, and nonvolatile memory device

    WO2016067328A1