Search International and National Patent Collections

1. (WO2018108158) METHOD AND DEVICE FOR STORING DATA BASED ON MAJORITY, AND STORAGE MEDIUM AND APPARATUS

Pub. No.:    WO/2018/108158    International Application No.:    PCT/CN2017/116513
Publication Date: Fri Jun 22 01:59:59 CEST 2018 International Filing Date: Sat Dec 16 00:59:59 CET 2017
IPC: H04L 29/08
G06F 3/06
Applicants: GUIZHOU BAISHANCLOUD TECHNOLOGY CO., LTD.
贵州白山云科技有限公司
Inventors: WU, Yipu
吴义谱
ZHANG, Yanpo
张炎泼
Title: METHOD AND DEVICE FOR STORING DATA BASED ON MAJORITY, AND STORAGE MEDIUM AND APPARATUS
Abstract:
Disclosed are a method and device for storing data based on the majority, and a storage medium and an apparatus. The method comprises: a front-end server being capable of selecting, according to a received file upload request, a file group from file groups, the number thereof being a first pre-set value; respectively uploading received data in a file to storage units, the number thereof being a second pre-set value, corresponding to the selected file group; and when it is determined that the uploading of the data in the file is completed, and physical file information returned by storage units, the number thereof being greater than or equal to a third pre-set value, is received, data writing succeeds, then updating metadata information in the file to a database, and at this moment, the return of the file upload request succeeds. By writing a file using a majority success method, a single point problem cannot occur, and data loss cannot be caused, even if a fault occurs on any minority replicate apparatus. Besides this, a server uses a streaming proxy to transmit a file content to each replicate, so that the IO occupation of a disk can be reduced.