Invention Grant
- Patent Title: Method and device for file storage
-
Application No.: US16337632Application Date: 2017-09-13
-
Publication No.: US10664349B2Publication Date: 2020-05-26
- Inventor: Zhiyong Ding , Qiqian Lin , Wei Chen , Li Cao
- Applicant: Hangzhou Hikvision Digital Technology Co., Ltd.
- Applicant Address: CN Hangzhou, Zhejiang
- Assignee: Hangzhou Hikvision Digital Technology Co., Ltd.
- Current Assignee: Hangzhou Hikvision Digital Technology Co., Ltd.
- Current Assignee Address: CN Hangzhou, Zhejiang
- Agency: Bozicevic, Field & Francis LLP
- Agent Bret E. Field
- Priority: com.zzzhc.datahub.patent.etl.us.BibliographicData$PriorityClaim@3e330287
- International Application: PCT/CN2017/101642 WO 20170913
- International Announcement: WO2018/059239 WO 20180405
- Main IPC: G06F16/10
- IPC: G06F16/10 ; G06F11/14 ; G06F3/06

Abstract:
A file storage method and device are provided. The method includes: receiving a storage request for a to-be-stored file (S101); determining a target key for storing the to-be-stored file (S102); obtaining to-be-stored metadata of the to-be-stored file according to the determined target key (S103), wherein the to-be-stored metadata includes: fixed sub-metadata and variable sub-metadata; and storing the to-be-stored metadata in a metadata database, storing the fixed sub-metadata in a name of the determined target key, storing the variable sub-metadata in a preset storage area corresponding to the determined target key, and storing the to-be-stored file in a value of the determined target key (S104). By applying the file storage and device, the recovery of metadata is effectively ensured, while a storage space of a storage terminal is saved.
Public/Granted literature
- US20200034238A1 Method and Device for File Storage Public/Granted day:2020-01-30
Information query