Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for storing object files

An object file and object storage technology, applied in the storage field, can solve the problems of wasting storage space, occupying storage space, etc., and achieve the effect of saving storage space

Active Publication Date: 2022-12-02
HANGZHOU HIKVISION SYST TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, for the old version object files corresponding to the file identifier, the storage space occupied by these old version object files cannot be released in time, resulting in a waste of storage space

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
  • Method and device for storing object files
  • Method and device for storing object files
  • Method and device for storing object files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0073] see figure 1 , the embodiment of the present application provides a cloud distributed object storage system, including

[0074] M groups of storage nodes and management devices, each group of storage nodes includes two storage nodes that back up each other, and M is an integer greater than 1. For each group of storage nodes in the M groups of storage nodes, two storage nodes 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 present application relates to a method and device for storing object files, belonging to the field of storage. The method includes: the first storage node receives a first upload request, the first upload request includes a first object file, the first storage node includes a first bitmap, a plurality of bits in the first bitmap and a plurality of hashes Values ​​are in one-to-one correspondence, and for the bit included in the first bitmap and the hash value corresponding to the bit, the bit is used to indicate whether the object file corresponding to the hash value is stored in the first storage node. Based on the first bitmap and the first hash value, determine whether the first storage node stores the second object file, the first hash value is obtained based on the file identifier of the first object file, the file identifier of the second object file and the second object file The file identifiers of the two object files are the same. When the second object file is saved, the second object file is replaced with the first object file, and when the second object file is not saved, the first object file is saved. This application can save storage space.

Description

technical field [0001] The present application relates to the field of storage, in particular to a method and device for storing object files. Background technique [0002] Cloud distributed object storage system includes multiple storage nodes, servers and centralized database. For any client, the client can store object files in the cloud distributed object storage system. For example, assuming that the client includes a first object file, the client stores the first object file as follows. [0003] The client sends the first object file and version information of the first object file to the server. The server saves the first object file to a storage node, obtains the storage location of the first object file, and saves the first metadata in the centralized database. The first metadata includes the file identifier, version information and storage location of the first object file. [0004] When the client modifies the first object file to obtain the second object file,...

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/06
CPCG06F3/0604G06F3/0614G06F3/067
Inventor 丁光凯夏伟强
Owner HANGZHOU HIKVISION SYST TECH