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

File storage method and apparatus

A file storage and file technology, applied in the storage field, can solve the problems of unsatisfactory load balancing effect and inability to store files evenly, and achieve the desired effect.

Active Publication Date: 2016-01-06
ZHEJIANG UNIVIEW TECH CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the monitoring device uses the hash algorithm to determine the CDV node to store the file, it cannot store the file on average on each CDV node among the multiple CDV nodes, and the load balancing effect is not ideal

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
  • File storage method and apparatus
  • File storage method and apparatus
  • File storage method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Aiming at the problems existing in the prior art, a method for storing files (such as video files, etc.) is proposed in the embodiment of the present invention. by figure 1It is a schematic diagram of an application scenario of an embodiment of the present invention, and the method can be applied to a system including a monitoring device, a CDM server, and multiple CDV nodes. Wherein, the system refers to a system combining a video surveillance system and a cloud storage system, the above-mentioned surveillance equipment is located in the video surveillance system, and the above-mentioned CDM server and multiple CDV nodes are all located in the cloud storage system.

[0038] Wherein, the monitoring device can be a front-end camera and a rear-end hard disk video recorder, etc. In practical applications, the number of monitoring devices is multiple, figure 1 A monitoring device is taken as an example for illustration. The CDV node may be an actual physical device, or a ...

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 invention provides a file storage method and apparatus. The method comprises: as for each file storage process of monitoring equipment, a CDM server determining whether the file storage process has unselected CDV nodes or not when receiving a storage request from the monitoring equipment; if yes, the CDM server selecting a CDV node from the unselected CDV nodes, marking the current selected CDV node as a selected node, sending information of a directory space, allocated to the monitoring equipment by the current selected CDV node, to the monitoring equipment to enable the monitoring equipment to use the directory space information to store a file with a specified size in the directory space of the current selected CDV node, and re-sending a storage request to the CDM server. According to the technical scheme provided by the present invention, files can be stored evenly to each CDV node, and the load balancing effect is relatively ideal.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a method and device for file storage. Background technique [0002] When the video surveillance system is combined with the cloud storage system, the monitoring equipment in the video surveillance system (such as front-end cameras and back-end hard disk video recorders, etc.) will store the generated files (such as video files, etc.) in the CDV ( CloudDirectVirtual, cloud direct storage virtual) on the node. [0003] A cloud storage system usually includes multiple CDV nodes, and the monitoring device needs to store multiple generated files on multiple CDV nodes in a balanced manner. In order to achieve load balancing of file storage, the monitoring device uses a hash algorithm to determine the CDV node storing the file, and stores the file on the CDV node. [0004] When the monitoring device uses the hash algorithm to determine the CDV node for storing files, it canno...

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 Applications(China)
IPC IPC(8): G06F3/06G06F9/50
Inventor 吕志明
Owner ZHEJIANG UNIVIEW TECH CO LTD