Data storage method, data reading method, data storage equipment and data reading equipment

A data storage and data technology, applied in the information field, can solve the problems of large system resources, consumption, complex operation process of multiple requests, etc.

Active Publication Date: 2010-07-07
CHENGDU HUAWEI TECH +1
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of storing and reading data in the above system, the operation process of multiple requests is complicated and consumes relatively large system 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
  • Data storage method, data reading method, data storage equipment and data reading equipment
  • Data storage method, data reading method, data storage equipment and data reading equipment
  • Data storage method, data reading method, data storage equipment and data reading equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] A data storage method, and the method of this embodiment can be applied to a data processing system, when the server receives a write request from a client, the data storage method, the flow chart is as follows figure 1 shown, including:

[0045] Step 101, the first thread pool unit divides the file requested to be stored in the first write request into object data;

[0046] Step 102, the first thread pool unit divides the file requested to be stored in the second write request into object data, and at the same time, the second thread pool unit stores the object data corresponding to the first write request.

[0047] In this embodiment, the process of dividing the file into object data, that is, the object sub-process, and the process of storing object data are executed in different thread pool units, and different central processing units (CPUs) are used to execute respective processes simultaneously. step.

[0048] Moreover, the above-mentioned first write request a...

Embodiment 2

[0051] A data storage method, and the method of this embodiment can be applied to a data processing system, when the server receives a write request from a client, the data storage method, the flow chart is as follows figure 2 shown, including:

[0052] Step 201, the first thread pool unit divides the file requested to be stored in the first write request into object data, and divides the file requested to be stored in the second write request into object data;

[0053] When the first thread pool unit divides the file requested to be stored into object data in the second write request, the second thread pool unit stores the object data corresponding to the first write request;

[0054] In this embodiment, the second thread pool unit stores the object data corresponding to the first write request through the following steps, mainly through the first subunit and the second subunit:

[0055] Step 202, the first subunit calculates the first data content identifier of the object ...

Embodiment 3

[0078] A data storage method, the flow chart is as follows Figure 5 shown, including:

[0079] Step 301, dividing the file requested to be stored in the write request into object data;

[0080] Step 302, dividing the object data into two or more fragment data;

[0081] It can be understood that when dividing object data into fragment data, the object data corresponding to a write request can be divided into two or more pieces of fragment data on average according to the data size. Specifically, several pieces can be preset in the system; Other preset rules to divide fragment data;

[0082] Step 303. Simultaneously calculate the content identifiers of the fragment data corresponding to the two or more pieces of fragment data;

[0083] Different CPUs can be used to synchronously calculate the content identifiers of two or more pieces of segment data.

[0084] Step 304, splicing the fragment data content identifiers corresponding to the two or more pieces of fragment data in...

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 embodiment of the invention discloses a data storage method, a data reading method, data storage equipment and data reading equipment, which are applied in the technical field of information management. The data storage method in the embodiment of the invention comprises the following steps: splitting a file requested to be stored in a first writing request into object data; and splitting the file requested to be stored in a second writing request into the object data and simultaneously storing the object data corresponding to the first writing request. In the prior art, only after the data requested to be stored in one writing request is stored, the data requested to be stored in another writing request can be processed. Compared with the prior art, the data storage method of the embodiment has the advantages of simultaneously processing different writing requests, reducing the resource consumption of a system and improving data storage rate so as to optimize the performance of the system.

Description

technical field [0001] The invention relates to the field of information technology, in particular to data storage and reading methods and equipment. Background technique [0002] In today's massive data information, more than 75% of the information belongs to fixed content (FixedContent) data, and based on content-aware storage (Content Aware Storage, CAS) technology is proposed in recent years and is suitable for fixed content storage. Storage technology, which is more and more integrated into various existing application systems and network storage systems. [0003] A typical CAS system includes a client and a server. The client accesses the data in the server as a file through a network storage transfer protocol, such as Network File System (NFS), Common Network File System (CIFS), etc. In the process of carrying out practice and research in the above-mentioned prior art, the inventor of the present invention found that: when the client sends a write request to the serv...

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 Applications(China)
IPC IPC(8): G06F17/30H04L29/08
Inventor 王奇张巍吕先红曹振奇刘川意鞠大鹏汪东升
Owner CHENGDU HUAWEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products