Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for dynamically calculating md5 value in a storage device

A storage device and dynamic technology, applied in the field of network storage, can solve the problems of CPU resource waste and high CPU consumption, and achieve the effects of reducing CPU consumption, avoiding CPU resource waste, and improving CPU utilization.

Active Publication Date: 2022-04-05
CHINA ZHESHANG BANK +1
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to address the deficiencies in the prior art, and provide a method for dynamically calculating MD5 values ​​in a storage device, so as to solve the problem of high CPU consumption in the prior art calculation of MD5 values ​​in storage devices that communicate with the S3 protocol and the NAS protocol, especially in The frequent modification of the scene by the object causes a waste of CPU resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for dynamically calculating md5 value in a storage device
  • Method for dynamically calculating md5 value in a storage device
  • Method for dynamically calculating md5 value in a storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0027] In the following description, a lot of specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, and those skilled in the art can do it without departing from the meaning of the present invention. By analogy, the present invention is therefore not limited to the specific examples disclosed below.

[0028] The present application proposes a method for dynamically calculating the MD5 value in a storage device, the method comprising:

[0029] like figure 1 As shown, in a storage device that communicates with the S3 protocol and the NAS protocol, objects can be read and modified through both NAS and S3;

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for dynamically calculating an MD5 value in a storage device, which is applied to a storage device interoperable with an object storage S3 protocol and a file storage NAS protocol to realize dynamic calculation of the MD5 value. When uploading an object through the NAS protocol, the MD5 value is calculated online in real time; when the object is modified by modifying or appending, the MD5 value is modified to a temporary state, and a calculation task is created to calculate the MD5 value asynchronously and set the priority of the calculation task; background The thread periodically enumerates computing tasks for computing. Set the count in the scene where the object is frequently modified. When modifying the object, if the calculation task created before is not executed, the count will be increased to avoid double counting. To reduce the CPU consumption of frequent modification, set the validity period. If the object is modified within the validity period, then Only modify the MD5 value to a temporary state without calculation. If the user needs to verify the MD5 value within the validity period, create an asynchronous calculation task and increase the priority of the calculation task.

Description

technical field [0001] The invention relates to the technical field of network storage, in particular to a method for dynamically calculating MD5 values ​​in a storage device. Background technique [0002] Network storage technology is a data storage technology and a data storage method based on the network. Through various network media, storage devices and servers are connected to provide shared, highly scalable, and easy-to-manage data storage for application systems. [0003] Unstructured data is data whose data structure is irregular or incomplete, without a predefined data model. File storage NAS (Network Attached Storage, Network Attached Storage) and object storage are currently mainstream unstructured data storage methods. NAS stores unstructured data in an organized manner through a hierarchical system of directories and folders. S3 (SimpleStorage Service, simple Storage Service) and other object storage stores attributes such as file names and creation dates of ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/182G06F9/50
CPCG06F16/1827G06F9/505G06F2209/5021
Inventor 周文举赵鸿博富浩
Owner CHINA ZHESHANG BANK