Erasure Storage Method, System, Device and Medium for a Blu-ray Storage Device
By building disk buffers in Blu-ray storage devices and generating erasure codes, the problem of low disk space occupancy in the existing technology is solved, and more efficient burning performance and optical disk space utilization are achieved.
Patent Information
- Application Number
- CN202510322306.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-03-19
AI Technical Summary
In the existing Blu-ray storage technology, the fixed relationship between slices and discs leads to a complete occupation of the disc space, the burning process fails, and a buffer of 15-20% needs to be left, resulting in wasted space.
Build an independent disk buffer, save object size, upload time and Chunk address information as metadata when uploading the file, and generate an erasure code through the erasure batch task, save it in the disk buffer, and directly read the Chunk generated file content from the buffer during download, avoiding the calculation steps during the burning process.
Improves burning performance, increases disk space utilization, and avoids failures and waste of buffering during burning.
Smart Images

Figure CN119851738B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data storage, and particularly relates to an erasure storage method, system, device and medium for a Blu-ray storage device. Background Art
[0002] A Blu-ray storage device can migrate data that needs to be stored for a long time from online storage (such as a distributed storage system based on disk media) to a read-only and offline optical disc medium and store it for a long time. Therefore, it plays a key role in the modern large-capacity long-term secure data storage system.
[0003] In the existing Blu-ray storage management technology, generally a single-machine storage management server is introduced. The files to be burned onto the optical disc are first cached on the local disk of the storage management server, and then a dynamic "accumulation" algorithm is executed by the storage management program to accumulate several files to be close to the capacity of one optical disc (generally 80-85% of 100GB), and then these files are burned onto the optical disc in sequence.
[0004] When burning files onto the optical disc, it is necessary to calculate the erasure code. The accumulated files are connected end to end in sequence, and then sliced by a fixed size (such as 10MB). The slices on different optical discs form an "erasure stripe", and the erasure slices are calculated according to a preset erasure mode (such as 5+1, 11+1, etc.), and then the erasure slices are also cached on the local disk. After all the data optical discs are burned, all the erasure slices are burned. However, it mixes the calculation process of the erasure code and the burning process, or dynamically calculates the erasure code during the burning process. Due to the burning characteristics of the optical disc, during the burning process, it is possible that the slices burn fail. However, the above accumulation process has fixed the relationship between the slices and the optical disc, that is, a slice must be burned onto a specific optical disc, resulting in the complete occupation of all the space on the optical disc, which will lead to the failure of the entire burning process. Therefore, during the accumulation process, all the space on the optical disc cannot be completely occupied, and a buffer amount for re-burning due to the failure of slice burning must be provided. In the prior art, this buffer amount is 15-20%. This space is basically wasted. Summary of the Invention
[0005] The purpose of the present invention is to address the above deficiencies of the prior art and provide an erasure storage method, system, device and medium for a Blu-ray storage device to solve the problem that in the prior art, the relationship between the slices and the optical disc has been fixed during the accumulation process, that is, a slice must be burned onto a specific optical disc, resulting in the complete occupation of all the space on the optical disc, which will lead to the failure of the entire burning process. Therefore, during the accumulation process, all the space on the optical disc cannot be completely occupied, and a buffer amount for re-burning due to the failure of slice burning must be provided. In the prior art, this buffer amount is 15-20%. This space is basically wasted.
[0006] The present invention specifically provides the following technical solutions:
[0007] An erasure storage method for a Blu-ray storage device, comprising the following steps:
[0008] Construct an independent disk buffer layer;
[0009] When uploading a file, obtain the size of the object to be uploaded from the upload request parameters according to the S3 object storage protocol, and select the corresponding Chunk according to the object size to save the file content; at the same time, save the object size, upload time, and address information in the Chunk as metadata in the object metadata database, and save the Chunk corresponding to the file content to the disk buffer;
[0010] Process the Chunks in the disk buffer using an erasure batch processing task to obtain an erasure code, and save the erasure code in the disk buffer in the form of a parity Chunk;
[0011] When downloading a file, read the metadata from the object metadata database, determine the location of the object, read the Chunk corresponding to the file and the parity Chunk from the disk buffer, generate the file content through the Chunk corresponding to the file and the parity Chunk, and download it to the Blu-ray storage device.
[0012] Preferably, the construction of an independent disk buffer layer includes:
[0013] Select the local file system, NAS space, or distributed file system as the disk buffer.
[0014] Preferably, the step of using an erasure batch processing task to obtain an erasure code for the Chunks in the disk buffer and save the erasure code in the disk buffer in the form of a parity Chunk includes:
[0015] Execute the erasure batch processing task in the form of a scheduled task, batch scan the un-erased Chunks, and perform erasure operations on the un-erased Chunks;
[0016] Based on the erasure operation, select K Chunks to form an EC-Set through a specified erasure mode, calculate M parity Chunks in this EC-Set, and write the calculated parity Chunks back to the disk buffer;
[0017] Among them, the un-erased Chunks are saved in the object metadata database, and the un-erased Chunks only have a key value and no actual data content Value.
[0018] Preferably, before reading the metadata from the object metadata database and determining the location of the object, it further includes:
[0019] The Chunk corresponding to the object has been recorded on the disc, but a copy is stored in the disk buffer. In this case, the Chunk is directly read to generate the file content.
[0020] The Chunk corresponding to the object has been burned on the CD, and there is no copy in the disk buffer. At this time, a failure response is returned to the client in accordance with the S3 object storage protocol, prompting the business system to perform a file migration operation first. After the migration is completed, the Chunk is directly read to generate the file content.
[0021] Preferably, the downloading to a Blu-ray storage device includes:
[0022] The data chunks and check chunks generated by the erasure batch processing task are burned from the disk buffer to the optical disc of the Blu-ray device in the form of files, and the data chunks and check chunks are cleared from the disk buffer.
[0023] The present invention provides an erasure correction storage system for a Blu-ray storage device, comprising:
[0024] Buffer building module, used to build an independent disk buffer layer;
[0025] The file upload module is used to obtain the size of the uploaded object from the upload request parameters according to the S3 object storage protocol when uploading files, and select the corresponding Chunk to save the file content according to the object size; at the same time, the object size, upload time and address information in the Chunk are saved as metadata in the object metadata database, and the Chunk corresponding to the file content is saved to the disk buffer;
[0026] The erasure processing module is used to process the Chunks in the disk buffer using the erasure batch processing task to obtain the erasure code, and save the erasure code in the disk buffer in the form of a check Chunk;
[0027] The file download module is used to read metadata from the object metadata database when downloading files, determine the location of the object, read the chunk and verification chunk corresponding to the file from the disk buffer, generate file content through the chunk and verification chunk corresponding to the file, and download it to the Blu-ray storage device.
[0028] The present invention provides a computer device, comprising a memory and a processor, wherein a program is stored in the memory, and when the program is executed by the processor, the processor executes the steps of the erasure correction storage method of the above-mentioned Blu-ray storage device.
[0029] The present invention provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the erasure storage method of a Blu-ray storage device described above are implemented.
[0030] Compared with the prior art, the present invention has the following remarkable advantages:
[0031] The present invention constructs an independent disk buffer. When a file is written to the disk buffer, the object size, upload time, and address information in the Chunk are saved as metadata in the object metadata database, the Chunk corresponding to the file content is saved to the disk buffer, and an erasure batch processing task is used to process the Chunk in the disk buffer to obtain an erasure code, and the erasure code is saved in the disk buffer in the form of a parity Chunk. That is, during the erasure calculation process and the burning process, only the work of slicing the data and burning the erasure slices onto the optical disc is completed, without other calculation steps, thereby improving both the burning performance and the space utilization rate of the optical disc burning. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is the overall flowchart of the erasure storage of a Blu-ray storage device according to the present invention;
[0033] Figure 2 It is the corresponding relationship diagram of the file and the Chunk according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0034] The following combines the drawings in the present invention to clearly and completely describe the technical solutions of the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0035] As Figure 1 shown, the present invention provides an erasure storage method for a Blu-ray storage device, which specifically includes the following steps:
[0036] Step 1: Construct an independent disk buffer.
[0037] Select a local file system, NAS space, or a distributed file system and object storage as the disk buffer. The disk buffer is used to save the file content, and the Chunk and the parity Chunk are saved in the disk buffer in the form of files.
[0038] Step 2: When uploading a file, obtain the size of the object being uploaded from the upload request parameters according to the S3 object storage protocol, and select the corresponding Chunk based on the object size to save the file content; at the same time, save the object size, upload time, and address information in the Chunk as metadata in the object metadata database, and save the Chunk corresponding to the file content to the disk buffer, using the unique identifier ChunkID of the Chunk as the file name.
[0039] The S3 object storage gateway provides a storage access protocol based on object storage S3 for external business systems. The external business system uploads and downloads files through the S3 object storage gateway in the figure.
[0040] The object metadata database is used to save the four data tables shown in Tables 2 - 5. To ensure high response performance and data consistency of the system, the object metadata database in the present invention is implemented by a Key - Value database that supports distributed transactions. A typical transactional Key - Value database is TIKV. In Tables 2 - 5 later, the first column represents the key Key, and the subsequent columns represent the respective fields in the actual data content Value.
[0041] Step 3: Process the Chunks in the disk buffer using an erasure - coding batch task to obtain an erasure code, and save the erasure code in the disk buffer in the form of a parity Chunk.
[0042] The erasure - coding batch task executes the erasure - coding batch task in the form of a scheduled task, batch - scanning the un - erasure - coded Chunk table, and performing erasure - coding operations on the un - erasure - coded Chunk table. Among them, the un - erasure - coded Chunk table is saved in the object metadata database, and the un - erasure - coded Chunk table only has a key key value and no actual data content Value value. The main part of the Key is the ChunkID.
[0043] Based on the erasure - coding operation, through a specified erasure - coding mode (K + M), select K Chunks to form an EC - Set, and calculate M parity Chunks in this EC - Set, and write the calculated parity Chunks back to the disk buffer.
[0044] Step 4: When downloading a file, read the metadata from the object metadata database, determine the location of the object, read the Chunks and parity Chunks corresponding to the file from the disk buffer, generate the file content through the Chunks and parity Chunks corresponding to the file, and download it to the blue - light storage device.
[0045] When downloading a file, the object metadata is read from the object metadata database, and the chunk on the disc cannot be read directly. This is because reading the chunk on the disc is a slow operation that requires a robot to move the disc, which takes an average of about 5 minutes of delay.
[0046] Read metadata from the object metadata database to determine the location of the object, and also include:
[0047] The Chunk corresponding to the object has been recorded on the CD, but a copy is stored in the disk buffer. At this time, the Chunk is directly read and merged into the file content.
[0048] The chunk corresponding to the object has been burned on the CD, and there is no copy in the disk buffer. At this time, a failure response is returned to the client in accordance with the S3 object storage protocol, prompting the business system to perform the file migration operation first. After the migration is completed, the chunk is directly read and merged into the file content.
[0049] When downloading to a Blu-ray storage device, also includes:
[0050] The data chunks and check chunks generated by the erasure batch processing task are burned from the disk buffer to the optical disc of the Blu-ray device in the form of files, and then the data chunks and check chunks are cleared from the disk buffer.
[0051] Figure 2 This shows how the file contents are stored in Chunks. Figure 2 In the example shown, the upper part shows the logical structure of a subdirectory in the file system. In the tmp subdirectory, there are two subdirectories, dir1 and dir2, and the QQ.exe file. There are also subdirectories and files in dir1 and dir2 respectively. When all the contents in the tmp subdirectory are uploaded to the system described in the present invention, the above tmp subdirectory tree is first converted into the following file list according to the absolute path of each file:
[0052] Table 1 Example file list
[0053]
[0054] Then, the file contents of each file in the above file list are loaded into the Chunk in turn. Chunk (data block) in the present invention refers to the carrier of file content, which has a fixed size (such as 10MB) and a unique coding identifier. The file contents of small files less than 10MB are merged to form a Chunk. Large files exceeding 10MB are cut and loaded into different Chunks.
[0055] exist Figure 2In the example, / tmp / dir1 / a.mov is first placed into Chunk-1, and then / tmp / dir2 / dir3 / bcd.dat is placed into the remaining space of Chunk-1. The / tmp / dir2 / M.dat file is relatively large, so it is split into three segments and placed into Chunk-1, Chunk-2, and Chunk-3 in sequence. Subsequently, / tmp / dir2 / N.dat is split into two segments and placed into the remaining space of Chunk-3 and Chunk-4 in sequence. Finally, / tmp / QQ.exe is placed into the remaining space of Chunk-4.
[0056] The metadata of each file in the above file list is recorded in the metadata table. According to the metadata table, the absolute path of the file can be used to query which Chunk each shard of the file is in, as well as the specific position (offset, length) in the Chunk.
[0057] As shown in Table 2, each row in the metadata table records the metadata of a file. The metadata table uses the absolute path of the file as the Key (the first column in the table), and the remaining columns represent the various fields in the Value. The Value fields include the file size, creation time, and a list of Chunk tuples. The Chunk tuple records (Chunk-ID, the number of offset bytes in the Chunk, length).
[0058] Table 2 Metadata Table
[0059]
[0060] As described above, Figure 1 After the S3 object storage gateway in Figure 1 receives an upload file request, it allocates a corresponding list of Chunks according to the size of the requested file, slices the file content according to the space in the allocated Chunks, and then writes it into each Chunk (write the Chunk file). After that, it updates the metadata information of the file to
[0061] the object metadata database of
[0062] The object metadata database is a transaction-supported Key-Value database. Therefore, multiple Key-Value pair records can be written in a transaction. The writing of these records satisfies the indivisibility of the transaction. That is, if any one of the records fails to be written, the entire transaction fails and rolls back. Through transactionality, the data consistency of the object metadata database can be guaranteed.
[0063] During the file writing process, in addition to updating the metadata table in Table 2, Table 3 also needs to be updated in the same transaction.
[0063] In Table 3, the newly written Chunk marks the status field as NOT_FULL, indicating that the Chunk is not yet full. If all the space in the Chunk has been used up, it is marked as FULL.
[0064] As shown in Table 3, each row in the Chunk information table records the information of a Chunk. The Chunk information table uses the ChunkID as the Key (the first column in the table), and the remaining columns represent the various fields in the Value. The Value fields include the list of file slices contained in the Chunk, the Chunk type, the status, the EC-SetID, and the optical disc address (not shown in the table).
[0065] Table 3 Chunk Information Table
[0066]
[0067] Among these fields, the Chunk type field records the type of the Chunk. A Chunk can be a data Chunk (denoted by D) or a parity Chunk (denoted by P).
[0068] If the erasure coding mode set by the system is K+M, the types of data Chunks are D-1, D-2, D-3, …, D-K. The number after the dash indicates the position of the Chunk on the erasure coding line. Similarly, the types of parity Chunks are P-1, P-2, …, P-M, and the number after the dash indicates the position of the Chunk on the erasure coding line.
[0069] The status field records the status of the Chunk. NOT_FULL means the Chunk can still accept new file content; FULL means the Chunk is full but no erasure calculation has been performed yet. EC means the Chunk has undergone erasure calculation and is incorporated into an EC-Set, and the ID of the EC-Set is recorded in the EC-Set ID field.
[0070] An explanation of erasure coding: Erasure coding is a data protection method. In the present invention, the basic unit of erasure is the Chunk. N Chunks are arranged in order, and M parity Chunks are calculated according to a specific algorithm (such as the Reed-Solomon algorithm) and a pre-set erasure coding mode (K+M). A tuple consisting of K data Chunks and M parity Chunks is called an EC-Set. Inside an EC-Set, any M data Chunks or parity Chunks are allowed to be lost. The lost M Chunks can be recovered from the remaining Chunks through the erasure algorithm.
[0071] Figure 1The erasure batch processing task in it periodically scans Table 3, filters Chunks with the status field being FULL, and according to the erasure mode (K+M) specified by the optical disc logical pool, puts K Chunks with the status of FULL into an EC-set, and calculates M parity Chunks according to the erasure algorithm (such as the Reed-Solomon algorithm) specified by the optical disc logical pool. The calculated parity Chunks are also written into Figure 1 the disk buffer of. Then, in a transaction of a meta-database, the information of the parity Chunks is updated to Table 3, and the information of the newly created EC-set is updated to Table 4. After the transaction ends, the erasure calculation process of an EC-Set ends.
[0072] As shown in Table 4, each row in the EC-Set information table records the information of an EC-Set. The EC-Set information table uses the EC Set ID as the Key (the first column in the table), and the remaining columns represent the various fields in the Value. The Value fields include the list of Chunks contained in the ECSet, and the EC-Group ID. When a new EC-Set is created, it is not assigned to any EC-Group. After that, the blue light migration batch processing task assigns the EC-Set to an EC-Group and then updates the EC-Set information table.
[0073] Table 4 EC-Set Information Table
[0074]
[0075] An EC-Group is a set of N optical discs combined according to the erasure mode N=K+M. An EC-Group is also a set of several EC-Sets, and each Chunk in these EC-Sets is stored on the N optical discs specified by the EC-Group. For example, if the erasure mode is set to N=K+M), then an EC-Set has to store its Chunks on N optical discs.
[0076] As shown in Table 5, each row in the EC-Group information table records the information of an EC-Group. The EC-Group information table uses the EC Group ID as the Key (the first column in the table), and the remaining columns represent the various fields in the Value.
[0077] The Value fields include the list of optical discs assigned to the EC Group, and the list of EC-Sets contained in the Group.
[0078] Table 5 EC-Group Information Table
[0079]
[0080] The blue light migration batch task cyclically scans Table 4 and filters out EC-Sets with an empty EC-Group ID. After scanning these EC-Sets, the K+M Chunks contained in the EC-Set can be burned onto the K+M optical discs specified by the EC-Group in parallel. Since the batch task always burns Chunk files of a fixed length (10MB) onto the optical discs in batches each time and does not calculate the checksum immediately, the K+M optical drives can always burn at a constant speed. In this way, multiple optical drives in the optical disc library can operate in parallel and at a high speed in a uniform manner, so that the optical disc library operates with a performance reaching or approaching the maximum throughput rate.
[0081] The terms used in the present invention are shown in Table 6 and Table 7:
[0082] Table 6 Terms 1 Used in the Present Invention
[0083]
[0084] Table 7 Terms 2 Used in the Present Invention
[0085]
[0086] Based on the above method, the present invention provides an erasure storage system for a blue light storage device, including: a buffer construction module, a file upload module, an erasure processing module, and a file download module.
[0087] Among them, the buffer construction module is used to construct an independent disk buffer; the file upload module is used to obtain the size of the object to be transmitted from the upload request parameters according to the S3 object storage protocol when uploading a file, and select the corresponding Chunk according to the object size to save the file content; at the same time, save the object size, upload time, and address information in the Chunk as metadata in the object metadata database, and save the Chunk corresponding to the file content to the disk buffer; the erasure processing module is used to obtain the erasure code for the Chunks in the disk buffer by using an erasure batch task, and save the erasure code in the disk buffer in the form of a check Chunk; the file download module is used to read the metadata from the object metadata database when downloading a file, determine the location of the object, read the Chunk corresponding to the file and the check Chunk from the disk buffer, generate the file content through the Chunk corresponding to the file and the check Chunk, and download it to the blue light storage device.
[0088] The present invention also provides a computer device, including a memory and a processor. When a program stored in the memory is executed by the processor, the processor executes the steps of an erasure storage method for a blue light storage device.
[0089] According to the disclosed embodiments, a computer device may communicate with one or more external devices (such as a keyboard, a pointing device, Bluetooth communication, etc.), or communicate with any device (such as a router, a demodulator, etc.) that enables the computing device to communicate with one or more other computing devices.
[0090] The present invention also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of an erasure coding storage method for a Blu-ray storage device are implemented.
[0091] According to the disclosed embodiments, the storage medium may be a non-volatile computer-readable storage medium, which may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
[0092] The above content is a further detailed description of the present invention in combination with specific preferred embodiments. For those skilled in the art of the present invention, without departing from the concept of the present invention, several simple deductions or substitutions can be made, which should all be regarded as belonging to the protection scope of the present invention.
Claims
1. An erasure storage method for a blue-ray storage device, characterized in that, The steps include: Build an independent disk buffer layer; When uploading a file, the size of the object to be uploaded is obtained from the upload request parameters according to the S3 object storage protocol, and the corresponding Chunk is selected to save the file content according to the object size; at the same time, the object size, upload time and address information in the Chunk are saved as metadata in the object metadata database, and the Chunk corresponding to the file content is saved to the disk buffer; Use the erasure batch processing task to process the chunks in the disk buffer to obtain the erasure code, and save the erasure code in the disk buffer in the form of verification chunks; When downloading a file, metadata is read from the object metadata database to determine the location of the object, the chunk and check chunk corresponding to the file are read from the disk buffer, the file content is generated through the chunk and check chunk corresponding to the file, and downloaded to the Blu-ray storage device; The erasure batch processing task is used to process the Chunks in the disk buffer to obtain the erasure codes, and the erasure codes are stored in the disk buffer in the form of verification Chunks, including: Execute the erasure batch processing task in the form of a scheduled task, batch scan the un-erased chunks, and perform erasure operations on the un-erased chunks; Based on the erasure operation, K chunks are selected to form an EC-Set through the specified erasure mode, and M check chunks in the EC-Set are calculated, and the calculated check chunks are written back to the disk buffer; Among them, the unerased chunk is stored in the object metadata database, and the unerased chunk only has the key value but no actual data content Value.
2. The erasure storage method of a Blu-ray storage device according to claim 1, wherein The construction of an independent disk buffer layer includes: Select a local file system, NAS space, or distributed file system as the disk buffer.
3. The erasure storage method of a Blu-ray storage device according to claim 1, characterized in that, Before reading metadata from the object metadata database and determining the location of the object, the method further includes: The Chunk corresponding to the object has been recorded on the disc, but a copy is stored in the disk buffer. In this case, the Chunk is directly read to generate the file content. The Chunk corresponding to the object has been burned on the CD, and there is no copy in the disk buffer. At this time, a failure response is returned to the client in accordance with the S3 object storage protocol, prompting the business system to perform a file migration operation first. After the migration is completed, the Chunk is directly read to generate the file content.
4. The erasure storage method of a Blu-ray storage device according to claim 1, characterized in that, The downloading to the Blu-ray storage device includes: The data chunks and check chunks generated by the erasure batch processing task are burned from the disk buffer to the optical disc of the Blu-ray device in the form of files, and the data chunks and check chunks are cleared from the disk buffer.
5. An erasure storage system for a blue-ray storage device, characterized in that, include: Buffer building module, used to build an independent disk buffer layer; A file upload module, which is used to obtain the size of the object being uploaded from the upload request parameters according to the S3 object storage protocol when uploading a file, and select the corresponding Chunk according to the object size to save the file content; at the same time, save the object size, upload time, and address information in the Chunk as metadata in the object metadata database, and save the Chunk corresponding to the file content to the disk buffer; An erasure processing module, which is used to process the Chunks in the disk buffer by using an erasure batch processing task to obtain erasure codes, and save the erasure codes in the disk buffer in the form of verification Chunks; A file download module, which is used to read metadata from the object metadata database when downloading a file, determine the location of the object, read the Chunks corresponding to the file and the verification Chunks from the disk buffer, generate the file content through the Chunks corresponding to the file and the verification Chunks, and download it to the Blu-ray storage device; The step of processing the Chunks in the disk buffer by using an erasure batch processing task to obtain erasure codes, and saving the erasure codes in the disk buffer in the form of verification Chunks includes: Executing the erasure batch processing task in the form of a timed task, batch scanning the un-erased Chunks, and performing erasure operations on the un-erased Chunks; Based on the erasure operation, select K Chunks to form an EC-Set through a specified erasure mode, calculate M verification Chunks in this EC-Set, and write the calculated verification Chunks back to the disk buffer; Among them, the un-erased Chunks are saved in the object metadata database, and the un-erased Chunks only have the key value and no actual data content Value; 6. A computer device, characterized in that, It includes a memory and a processor. When the program stored in the memory is executed by the processor, the processor executes the steps of an erasure storage method of a Blu-ray storage device according to any one of claims 1 to 4.
7. A storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by the processor, it realizes the steps of an erasure storage method of a Blu-ray storage device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Data processing methods, apparatus, electronic devices and storage media
CN114936188A
Method for realizing modification and writing of distributed file system in erasure code mode
CN117827763A