A data writing and reading method, device and distributed object storage cluster

An object storage and distributed technology, applied in the field of cloud storage, can solve the problem of low efficiency of writing data

Active Publication Date: 2019-12-20
HANGZHOU HIKVISION DIGITAL TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But using this method, when writing a 10M file into a 30M sub-storage space, you need to wait for other files that can be merged. If there are no other files to be written, or the data size of other files to be written is not suitable, write The efficiency of entering data will be very low

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
  • A data writing and reading method, device and distributed object storage cluster
  • A data writing and reading method, device and distributed object storage cluster
  • A data writing and reading method, device and distributed object storage cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0088] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0089] In order to solve the above-mentioned technical problems, embodiments of the present invention provide a method and device for writing and reading data, and a distributed object storage cluster. It should be noted that the data writing and reading methods and devices provided by the embodiments of the present invention are preferably applicable to storage servers in a distributed object storage cluster, and the distributed object storage cluster may also incl...

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 present invention discloses a data writing and reading method, a device and a distributed object storage cluster. The data writing method includes: a storage server receives data to be written sent by a client, and divides the to-be-written data into multiple sub-systems. data; write each sub-data into the corresponding network hard disk, and for each sub-data, send the corresponding relationship between the serial number of the sub-data and the identification information of the network hard disk written by the sub-data to the distributed object storage Metadata server in the cluster. Using the embodiment shown in the present invention, each sub-data divided by the data to be written is written into the corresponding network hard disk. The storage characteristics of the network hard disk are that the space occupied by the stored data is the same as the size of the data itself. Multiple sub-data divided into input data are written to multiple network hard disks correspondingly, which does not occupy extra space, avoids wasting resources, and does not need to wait for merging with other data, which improves the efficiency of reading and writing data.

Description

technical field [0001] The present invention relates to the technical field of cloud storage, in particular to a method and device for writing and reading data, and a distributed object storage cluster. Background technique [0002] Usually, the storage space in the storage device is pre-divided into multiple sub-storage spaces of a specific size, for example, the 100M storage space is divided into 30M, 30M and 40M sub-storage spaces. In this case, the data is written to When stored in a storage device, the data can be written into a certain storage space of the storage device, for example, 10M of data is written into a 30M sub-storage space of the storage device. However, during the writing process, the 10M data will occupy the 30M storage space, and other data cannot be written again, resulting in a waste of resources. [0003] In view of the above defects, when writing data currently, multiple data are usually combined into a larger data before writing, for example, thre...

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): G06F3/06H04L29/08
CPCG06F3/0638G06F3/067G06F3/068H04L67/1097G06F3/064G06F3/0608G06F3/0619G06F3/0605G06F3/0604G06F9/5016
Inventor 曹力
Owner HANGZHOU HIKVISION DIGITAL 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