Invention Grant
- Patent Title: Data writing and reading method and apparatus, and distributed object storage cluster
-
Application No.: US16304471Application Date: 2016-11-09
-
Publication No.: US11216187B2Publication Date: 2022-01-04
- Inventor: Li Cao
- Applicant: Hangzhou Hikvision Digital Technology Co., Ltd.
- Applicant Address: CN Hangzhou
- Assignee: Hangzhou Hikvision Digital Technology Co., Ltd.
- Current Assignee: Hangzhou Hikvision Digital Technology Co., Ltd.
- Current Assignee Address: CN Hangzhou
- Agency: Clements Bernard Baratta
- Agent Lawrence A. Baratta, Jr.
- Priority: CN201610351615.8 20160525
- International Application: PCT/CN2016/105175 WO 20161109
- International Announcement: WO2017/201977 WO 20171130
- Main IPC: G06F3/06
- IPC: G06F3/06 ; G06F9/50

Abstract:
Embodiments of the present application disclose a data writing and apparatus, a data reading method and apparatus, and a distributed object storage cluster. The data writing method includes: receiving to-be-written data sent by a client in a distributed object storage cluster (S101), and dividing the to-be-written data into a plurality of pieces of sub-data and determining a sequence number of each piece of sub-data (S102); and writing each piece of sub-data into a corresponding network hard disk (S103); for each piece of sub-data, sends a correspondence between the sequence number of the piece of sub-data and identification information of a network hard disk into which the piece of sub-data is written to the metadata server in the distributed object storage cluster (S104). Each of pieces of sub-data into which the to-be-written data is divided is written into a corresponding network hard disk. The storage characteristic of the network hard disk is that the space occupied by the stored data is the same as the size of the data itself. Therefore, the plurality of pieces of sub-data into which the to-be-written data is divided are written into respective network hard disks, which does not occupy redundant space, thereby avoiding the waste of resources. Furthermore, there is no need to wait for merging the data with other data, thereby improving the efficiency of reading and writing data.
Public/Granted literature
- US20190146681A1 DATA WRITING AND READING METHOD AND APPARATUS, AND DISTRIBUTED OBJECT STORAGE CLUSTER Public/Granted day:2019-05-16
Information query